# @t3tools/shared

> T3 Code · channel `nightly` · v0.1.14-nightly.20261205.5772 @ [`c0eed7328db2`](https://github.com/pingdotgg/t3code/tree/c0eed7328db2609e5a535be704e90638aef1c111) · 2026-12-05 · generated by Everdoc from source (no LLM).

| Property | Value |
| --- | --- |
| Path | `packages/shared` |
| Role | library |
| Runtimes | node |
| Version |  |
| Manifest | [packages/shared/package.json](https://github.com/pingdotgg/t3code/blob/c0eed7328db2609e5a535be704e90638aef1c111/packages/shared/package.json) |
| Entrypoints |  |

## Dependencies

- Workspaces: [@t3tools/contracts](t3tools-contracts.md)
- Used by: @t3tools/client-runtime, @t3tools/desktop, @t3tools/evals, @t3tools/mobile, @t3tools/mobile-nitro, @t3tools/provider-acp, @t3tools/provider-acp-registry, @t3tools/provider-core, @t3tools/provider-cursor, @t3tools/provider-fx, @t3tools/provider-kiro, @t3tools/provider-muse, @t3tools/provider-opencode, @t3tools/provider-pi, @t3tools/provider-testing, @t3tools/scripts, @t3tools/secret-provider-onepassword, @t3tools/source-control-azure-devops, @t3tools/source-control-bitbucket, @t3tools/source-control-core, @t3tools/source-control-cursor-origin, @t3tools/source-control-forgejo, @t3tools/source-control-gitcafe, @t3tools/source-control-github, @t3tools/source-control-gitlab, @t3tools/source-control-tanstack-source, @t3tools/source-control-testing, @t3tools/ssh, @t3tools/tailscale, @t3tools/web, t3, t3code-relay
- External (27): `@noble/curves`, `@noble/hashes`, `effect`, `ffi-rs`, `get-east-asian-width`, `gt-i18n`, `hast`, `hast-util-sanitize`, `mdast`, `mdast-util-directive`, `mdast-util-to-hast`, `micromark-extension-directive`, `micromark-util-character`, `micromark-util-decode-string`, `micromark-util-types`, `property-information`, `rehype-raw`, `rehype-sanitize`, `remark-breaks`, `remark-cjk-friendly`, `remark-cjk-friendly-gfm-strikethrough`, `remark-gfm`, `remark-math`, `remark-parse`, `remark-rehype`, `unified`, `yaml`

## Modules

| Module | Files |
| --- | --- |
| `src` | 181 |
| `src/testing` | 5 |

### Module imports

| From | To | Imports |
| --- | --- | --- |
| src/testing | src | 2 |

## Defined here

- **Env vars** (5): [`OTEL_RESOURCE_ATTRIBUTES`](../reference/env.md#env-var-otel_resource_attributes), [`T3CODE_TEST_KEEP_PROVIDER_ENV`](../reference/env.md#env-var-t3code_test_keep_provider_env), [`github_app_client_id`](../reference/env.md#env-var-github_app_client_id), [`secret_providers`](../reference/env.md#env-var-secret_providers), [`tanstack_source`](../reference/env.md#env-var-tanstack_source)
- **Schemas** (42): [`ClerkPublishableKeyDecodeError`](../reference/schemas/shared.md#schema-clerkpublishablekeydecodeerror), [`ClerkPublishableKeyFrontendApiError`](../reference/schemas/shared.md#schema-clerkpublishablekeyfrontendapierror), [`CodexArtifactTemplateMarkdownSegment`](../reference/schemas/shared.md#schema-codexartifacttemplatemarkdownsegment), [`CodexAuthCallbackError`](../reference/schemas/shared.md#schema-codexauthcallbackerror), [`CodexAuthHandoff`](../reference/schemas/shared.md#schema-codexauthhandoff), [`ComposerInlineToken`](../reference/schemas/shared.md#schema-composerinlinetoken), [`DpopPublicJwk`](../reference/schemas/shared.md#schema-dpoppublicjwk), [`DpopVerificationFailureCode`](../reference/schemas/shared.md#schema-dpopverificationfailurecode), [`DpopVerificationResult`](../reference/schemas/shared.md#schema-dpopverificationresult), [`DynamicToolTitle`](../reference/schemas/shared.md#schema-dynamictooltitle), [`HostnameLookupError`](../reference/schemas/shared.md#schema-hostnamelookuperror), [`ManagedPolicyFileError`](../reference/schemas/shared.md#schema-managedpolicyfileerror), [`MarkdownImageSource`](../reference/schemas/shared.md#schema-markdownimagesource), [`NetError`](../reference/schemas/shared.md#schema-neterror), [`NetListenError`](../reference/schemas/shared.md#schema-netlistenerror), [`NewThreadLink`](../reference/schemas/shared.md#schema-newthreadlink), [`NodeRuntimeUnavailableError`](../reference/schemas/shared.md#schema-noderuntimeunavailableerror), [`OAuthScopeEncodingError`](../reference/schemas/shared.md#schema-oauthscopeencodingerror), [`OtlpHeadersFromString`](../reference/schemas/shared.md#schema-otlpheadersfromstring), [`OtlpProtocol`](../reference/schemas/shared.md#schema-otlpprotocol), [`PreviewUrlNormalizationError`](../reference/schemas/shared.md#schema-previewurlnormalizationerror), [`PromptLinkResult`](../reference/schemas/shared.md#schema-promptlinkresult), [`PtySpawnError`](../reference/schemas/shared.md#schema-ptyspawnerror), [`PullRequestAnchor`](../reference/schemas/shared.md#schema-pullrequestanchor), [`PullRequestCompletion`](../reference/schemas/shared.md#schema-pullrequestcompletion), [`RegistryValue`](../reference/schemas/shared.md#schema-registryvalue), [`RelayClientInstallError`](../reference/schemas/shared.md#schema-relayclientinstallerror), [`RelayClientStatus`](../reference/schemas/shared.md#schema-relayclientstatus), [`RelayJwtError`](../reference/schemas/shared.md#schema-relayjwterror), [`RemoteBackendUrlInvalidError`](../reference/schemas/shared.md#schema-remotebackendurlinvaliderror), [`RemoteBackendUrlMissingError`](../reference/schemas/shared.md#schema-remotebackendurlmissingerror), [`RemotePairingCodeMissingError`](../reference/schemas/shared.md#schema-remotepairingcodemissingerror), [`RemotePairingTargetError`](../reference/schemas/shared.md#schema-remotepairingtargeterror), [`RemotePairingTokenMissingError`](../reference/schemas/shared.md#schema-remotepairingtokenmissingerror), [`RemotePairingUrlInvalidError`](../reference/schemas/shared.md#schema-remotepairingurlinvaliderror), [`ResetCountdown`](../reference/schemas/shared.md#schema-resetcountdown), [`RotatingFileSinkConfigurationError`](../reference/schemas/shared.md#schema-rotatingfilesinkconfigurationerror), [`RotatingFileSinkError`](../reference/schemas/shared.md#schema-rotatingfilesinkerror), [`UnsupportedNodeSqliteOperationError`](../reference/schemas/shared.md#schema-unsupportednodesqliteoperationerror), [`UnsupportedNodeSqliteVersionError`](../reference/schemas/shared.md#schema-unsupportednodesqliteversionerror), [`WindowsRegistryError`](../reference/schemas/shared.md#schema-windowsregistryerror), [`isPreviewUrlNormalizationError`](../reference/schemas/shared.md#schema-ispreviewurlnormalizationerror)
- **Processes** (2): [`env`](../reference/processes.md#external-process-env), [`xcrun`](../reference/processes.md#external-process-xcrun)
