TypeScript SDK
npx @buildinternet/releases get temporal-typescript-sdknpx @buildinternet/releases get temporal-typescript-sdkExperimental: StorageDriverStoreContext and StorageDriverSelectContext now have an optional namespace field holding the namespace of the client or worker performing the operation.
Experimental: Added Nexus completion notification bindings in @temporalio/nexus/notifications.
Add LocalActivityOptions.includeArgumentsInMarker to optionally record serialized local Activity arguments in Workflow history. Defaults to false.
Add opt-in WorkerOptions.codecHeaders to decode incoming Workflow and Activity headers and encode headers emitted by Workflows, including tracing headers. User-provided Payload headers supplied through client APIs are not automatically encoded.
Both OpenTelemetry plugins can opt into encoding their own client tracing headers with encodeClientHeaders: true, using the configured client codecs without encoding other user-supplied headers.
Workers that don't configure poller behavior now auto-enroll in poller autoscaling when the server enables it (frontend.pollerAutoscalingAutoEnroll); otherwise they keep using a fixed 5-poller maximum.
@temporalio/envconfig adds experimental client config extensions: loadClientConnectConfig accepts extensions that read their own config from profile.<profile>.ext.<name> TOML tables (never rejected by strict mode) and env vars, and contribute plugins to connectionOptions.plugins.
Experimental: @temporalio/core-bridge can be built from source with --fips or TEMPORALIO_FIPS=1 to use FIPS-approved TLS algorithms from AWS-LC's FIPS module. See the package README.
Nexus operation handlers now propagate their NexusSerializationContext to the Workflows and standalone Activities they start, which encode their results and failures (and a standalone Activity's heartbeat details) with it because these are returned to the Nexus caller. Clients decode them with the context the server returns, including handles obtained by ID and standalone Nexus operation handles. Requires a server that propagates the context.
Added ActivityInfo.nexusSerializationContext. To complete a Nexus-started standalone Activity asynchronously, pass it as the serializationContext option of the task-token complete, fail, reportCancellation and heartbeat calls.
Worker plugins can report a version in worker heartbeats, with the new optional version property on WorkerPlugin or the version option of SimplePlugin.
Added NativeConnectionOptions.keepAlive to configure the HTTP/2 keepalive interval and response timeout, or disable keepalive with false. Defaults remain a 30-second interval and a 15-second timeout.
Core: A local activity's ActivityTask.Start has workflow_task (field 21), with the started event id, attempt and start time of the workflow task in which Core dispatched it. workflow_task also has previous_started_event_id, previous_attempt and previous_started_time, which name the run's last completed workflow task, and failed_tasks, the started event ids of the run's last 100 failed or timed out workflow tasks. Retries that Core runs locally keep the value. Core leaves it unset for other activities.
Core: Client environment config profiles include the raw TOML tables under profile.<name>.ext, keyed by extension name, for SDK envconfig extensions. Strict mode accepts any content under ext. The C bridge's profile JSON includes them as an ext object, with TOML datetimes as strings.
Added support for an optional synchronous flush() hook on worker runtime loggers through the public FlushableLogger interface. The SDK flushes these loggers without closing them and isolates synchronous logger failures, with a stderr fallback for WARN/ERROR messages and flush-failure diagnostics.
@temporalio/testing adds DevServerConfig.startupTimeout and TimeSkippingServerConfig.startupTimeout
to configure how long to wait for dev and time-skipping test servers to become ready.
Nexus operation handlers now propagate their NexusSerializationContext to the Workflow Updates they send, which encode their result, failure and rejection with it. Update handles decode them with the context the server returns. Requires a server that propagates the context.
Workers that set no poller options and aren't auto-enrolled now default to a 5-poller maximum instead of min(10, maxConcurrent*Executions), matching the other SDKs.
Experimental: The S3 and GCS storage drivers now key payloads stored without a target under v0/ns/{namespace}/d/sha256/..., using the namespace of the storing client or worker (or the string "null" when it is unknown). Previously these payloads used v0/d/sha256/....
@temporalio/worker now loads the Workflow bundler, including webpack, only when Workflow code is first bundled. Workers using a prebuilt workflowBundle no longer load the bundler on import (#1718).
Core: Poller pools now report their poller target to the server on each poll and in the worker heartbeat: the current target for autoscaling pools, the configured maximum for fixed-size pools. (We'll use this count on the server side for now for load balancing pollers between workers, and for creating a per-worker poller count metric.)
Document TypeScript 5.7 as the minimum supported consumer compiler
Runtime.logger and Runtime.options.logger now return an SDK wrapper around the logger passed to Runtime.install() rather than that logger itself. The SDK no longer calls a close() method on runtime loggers at shutdown, and isFlushableLogger() is no longer exported from @temporalio/worker/lib/logger.
Core: Core now rejects activation responses with a nondeterminism error if the activation contained only updates and the response rejects every update but also includes another workflow command. SDKs must return only update rejections when all validators reject an update-only activation.
Experimental: A Temporal operation handler can now send only one signal per invocation through TemporalNexusClient.signalWithStartWorkflow and TemporalNexusClient.getWorkflowHandle().signal; a second one throws a BAD_REQUEST handler error unless the first failed. Use TemporalNexusClient.client for additional signals, which are not deduplicated.
@temporalio/nyc-test-coverage now declares ts-loader as an optional peer dependency instead of installing it automatically. Coverage users running tests with ts-node must install a version of ts-loader compatible with their Node.js and TypeScript versions.
MockActivityEnvironment.run now accepts one generic type parameter for the Activity function instead of three; callers supplying explicit type arguments must update their calls.
defaultGrpcRetryOptions now respects a custom maxIntervalMs callback instead of always using the default 5-second maximum backoff interval.
Fix OpenTelemetryPlugin (@temporalio/interceptors-opentelemetry-v2) dropping OpenTelemetry baggage across the client-to-Workflow and Workflow-to-Activity boundaries: the Workflow sandbox's propagator was hardcoded to trace-context-only, silently discarding the baggage header the client already sent. Trace ID and span parenting were unaffected.
Make native Temporal.Now date/time methods use deterministic Workflow time and reject unsupported clock methods.
Experimental: Signals sent through TemporalNexusClient.signalWithStartWorkflow and TemporalNexusClient.getWorkflowHandle().signal in a Temporal operation handler now reuse the operation's request ID, so a retried Nexus task no longer delivers the same signal twice.
Loading a Workflow bundle no longer makes source-map-support retain the bundle's source map in the main thread's heap, which raised memory use and slowed Worker.create() when source-map-support/register was loaded.
Cancel the Activity when storing heartbeat details in external storage fails, allowing it to report the failure instead of hanging.
@temporalio/envconfig now converts every underscore in gRPC metadata keys to a hyphen, so keys such as TEMPORAL_GRPC_META_X_MY_HEADER map to x-my-header instead of x-my_header.
Core: Preserve queued queries across workflow eviction so requests for the same run are answered instead of silently dropped.
Core: Rejection-only update tasks no longer dispatch local activities resumed from replay before validation, allowing those tasks to remain unrecorded in workflow history.
Core: Preparing a legacy query now remains in replay mode, preventing unrecorded local activity attempts that could execute twice or leave the workflow stuck.
Fix Workflow Streams incorrectly treating application objects with empty metadata as prebuilt payloads.
Workflow stack traces no longer percent-encode source paths that contain spaces or non-ASCII characters. source-map 0.7.5 and later encode the paths they return, so the Worker now escapes % in source names and decodes what comes back.
Core: A workflow task failure reported with the cause WORKFLOW_TASK_FAILED_CAUSE_EXTERNAL_STORAGE_FAILURE is now counted on workflow_task_execution_failed with failure_reason="ExternalStorageError", matching activity failures with the storage cause. It was previously counted as WorkflowError.
Core: Ephemeral dev and test servers now complete the automatic port reservation handshake on Linux and macOS before starting, preventing intermittent address-in-use errors during TCP teardown.
Core: Downloading an ephemeral dev or test server binary now retries transient HTTP failures, such as a 503 returned while a release is rolling out, with backoff instead of failing on the first attempt.
Core: Resource-based worker tuners now read CPU usage and quotas from standard cgroup v1 mounts. Workers on cgroup v1 systems no longer fall back to host CPU usage and admit work based on understated container load.
Preserve the primary error that terminated Worker.run() when shutdown finalization fails, logging the cleanup error instead of masking the root cause with IllegalStateError.
@temporalio/core-bridge now loads its prebuilt native module through a literal path for each supported platform, so bundlers that embed native modules (such as bun build --compile) include it, and a compiled worker no longer fails at startup with PrebuildError: No prebuilt module found at /$bunfs/....
Preserve and append Activity and Nexus client interceptors when SimplePlugin merges client or worker client configuration.
Fix a regression introduced in 1.24.0 where Workflow payload codecs received empty protobuf defaults instead of undefined for absent payload data, while preserving explicitly empty byte arrays.
Fix return type inference for MockActivityEnvironment.run.
rustls in the core bridge to 0.23.46 to address GHSA-2mjx-qc3c-rqvc, GHSA-c8m5-c952-6cm4, GHSA-h2v8-394m-p7vv, and GHSA-w44r-93j7-qv28.Link.Callback are converted to and from their Nexus wire form, so they are carried through Nexus requests and responses instead of being dropped.@temporalio/interceptors-opentelemetry and @temporalio/interceptors-opentelemetry-v2 now expose Workflow-only /workflow entrypoints. Existing root exports and lib/* imports remain available.@temporalio/common: ExternalStorageDriverError, ExternalStorageUnregisteredDriverError, and ExternalStorageReferenceError, all extending the new ExternalStorageError base type.WorkflowClient.getHandle, ActivityClient.getHandleWithOptions, and NexusClient.getHandle can infer detached handle result types and read output TypeInfo from supplied Workflow, Activity, and Nexus Operation definitions. Explicit output TypeInfo is checked against the declared handle result type.ExternalStorage now accepts cooperative concurrency limits: maxDriverOperations caps operations across its registered drivers, and maxOperationsPerMessage caps operations per top-level input or output. Drivers must acquire permits through context.limiter; the bundled S3 and GCS drivers use it.ChildWorkflowOptions.versioningOverride can pin, auto-upgrade, or one-time route a Child Workflow independently of its parent. One-time routing is also available for client-started Workflows through { oneTimeTo: WorkerDeploymentVersion }. Both require Temporal Server 1.32.0 or later. Invalid child overrides reject with InvalidVersioningOverrideError.list and fetchHistory interception to WorkflowClientInterceptor. list interception spans one lazy iterable consumption across pagination and early termination.NexusSerializationContext is now passed to payload converters, payload codecs, and failure converters for Nexus operation payloads, identifying the operation's endpoint, service, and operation name. Callers use it for inputs, summaries, results, and failures; handlers use it for inputs, synchronous results, and failures. A standalone handle obtained from NexusClient.getHandle has none of that information and therefore decodes without Nexus context, so contextual encodings must be self-describing and decoders must keep accepting payloads encoded without context. GetNexusOperationResultInput now carries the operation's endpoint, service, and operation when known.URLPattern, both as a global and from the url module, when the Worker runs on Node.js 23.8 or later. On older Node.js versions, URLPattern remains undefined inside Workflows.SearchAttributeKey is now exported from the @temporalio/common package root.PayloadCache, such as InMemoryPayloadCache, as the payloadCache option of a Client or Worker to cache External Storage payloads.signalWithStartWorkflow.startSystemNexusOperation or specifically with signalWithStartWorkflow.atob and btoa.createEventGroup(...) now takes the Event Group's ID as its first and only required argument; user-provided IDs are used verbatim and should not contain sensitive information. The optional label is a codec-encoded Payload on the second argument, the type is now EventGroup (previously EventGroupMarker), and direct Event Group attachment is supported on more APIs.RetryPolicy.maximumAttempts accepts 0 as another way to specify unlimited attempts, alongside Infinity.unionfs from 4.5.1 to 4.6.0, @grpc/grpc-js from 1.12.4 to 1.12.7, smol-toml from 1.6.1 to 1.7.1, and tar from 7.5.11 to 7.5.21.ms, adding month units and fixing duration type declarations under modern Node.js module resolution.@temporalio/create checks for updates in the background and displays cached notifications on subsequent interactive runs.@temporalio/ai-sdk and @temporalio/google-adk-agents remain as compatibility wrappers forwarding their public entrypoints to @temporalio/vercel-ai-sdk and @temporalio/google-adk. Existing import paths can be retained; new applications should use the standalone names. @temporalio/langsmith, @temporalio/openai-agents, and @temporalio/strands-agents retain their package names. The integrations' implementations, tests, and API documentation are no longer built in this repository; the two wrappers have separate forwarding tests.@temporalio/*/lib/* are deprecated. Where present, the wildcard remains temporarily as a compatibility fallback. @temporalio/common explicitly supports @temporalio/common/encoding, @temporalio/common/protobufs, @temporalio/common/proto-utils, and @temporalio/common/timewaitForStage to be explicitly set to ACCEPTED.@temporalio/google-adk-agents compatibility wrapper now requires Node.js 22.12.0 or later and Google ADK 2.0, matching @temporalio/google-adk. The wrapper preserves import paths, but the ADK upgrade and renamed workflow random stream still require draining affected in-flight Workflows or using separate task queues for the cutover.protobufjs (^8.7.1) and long (^5.3.2) as peer dependencies rather than relying on separately installed copies. Package managers that do not automatically install peers require applications to add these dependencies explicitly. @temporalio/proto retains its regular runtime dependencies.[TMPRL1101] deadlock diagnostic (#2426).catchupWindow documentation to state that omitted values use the Temporal Server's configured default.ActivityClient, rather than through TemporalNexusClient.startActivity()'s guarded call, now inherits the handler's Nexus request ID and inbound links.WorkflowExecutionAlreadyStartedError now exposes the runId of the already-running Workflow Execution when the server provides it in the error details (#1838).historyFromJSON failing with type must be a Type when npm installs separate protobufjs copies alongside a dependency on an older protobufjs major (#2514).PayloadsTooLarge failures and history fetch failures were re-reported on every attempt.workflow_task_execution_failed metric is now recorded for every failed workflow task attempt, including attempts whose failure was not sent to the server.JsonPayloadConverter no longer produces a payload with undefined data for values with no JSON representation, such as functions, symbols, and objects whose toJSON returns undefined. The default payload converter now throws a ValueError for these values, including symbols, which previously caused a TypeError while building the error message.@temporalio/create now supports comments and trailing commas in tsconfig.json files when creating projects.node --watch by ignoring unrecognized messages from Workflow Worker threads.rustls-webpki to 0.103.16 (RUSTSEC-2026-0382).@temporalio/openai-agents now requires @openai/agents-core and @openai/agents-openai ~0.14.3. A project
pinned to 0.13.x or earlier hits a peer dependency conflict until it upgrades.StorageDriverSelector now receives a
StorageDriverSelectContext instead of a StorageDriverStoreContext. Update the parameter
type; the new type carries the same abortSignal and target fields.ActivityHandle: pause, unpause, updateOptions and restoreOriginalOptions.ActivityHandle.describe now accepts options that can be used to include additional data associated
with activity execution, such as input and result.@temporalio/openai-agents can run OpenAI Agents SandboxAgents as Temporal Workflows. SandboxAgent
operations are Activities; hosted tool credentials and sandbox environment values that reference allowlisted Worker
environment variables are resolved on Worker so their values are not recorded in Workflow history.rawValueTypeInfo, which allows RawValue inputs and results to be preserved across
serialization boundaries when explicitly configured on TypeInfo-aware APIs.ActivityClient now passes serialization context to data converter when interacting with standalone activities.common.v1.Link.Workflow now serializes to temporal:///namespaces/{ns}/workflows/{wid}/{rid}
with the optional reason as a query param, matching the other SDKs; previously it reused the
workflow event path and dropped reason. Inbound Workflow links are now parsed as well.ApplicationFailure now preserve native Error.cause chains in serialized failures.INTERNAL Handler Errors, preventing retries when ID reuse or conflict
policies reject duplicate execution IDs.maxCachedWorkflows). Sticky pollers could consume every Workflow-cache permit and starve the
non-sticky poller, so a Worker could stop accepting new Workflows until a poll timed out (up to
~60s). (Core fix: temporalio/sdk-rust#1534.)Major upgrade of protobufjs to v8 and protobufjs-cli to v2.
Temporal's protobuf messages types generated by protobufjs are exposed as part of our public
API surface (mostly through @temporalio/proto and Client's raw gRPC interfaces). This
upgrade introduces some minor changes in the protobuf types that are generated for them. The
large majority of applications either don't reference those types directly or do not use those
types in way that would be affected by these changes.
You may however want to consider the following user-facing and potentially breaking changes:
Applications that use the Protobuf Payload Converters with their own .proto files will need
to upgrade their own protobufjs dependency to v8. A root built with v7 still works for binary
payloads, but JSON-encoded payloads will fail at runtime with TypeError: type must be a Type.
The constructor on generated message types is no longer publicly accessible, which means that
new SomeMessage() no longer compiles. Use SomeMessage.create({ ... }) instead. Use of the
constructor was never officially supported, and would have previously resulted in a runtime error.
The getTypeUrl method on generated message types is no longer declared.
A field holding its default value is no longer materialized as an own property on decoded
messages. This applies both to JSON-encoded payloads, which are now spec-compliant and omit
such fields rather than writing them out, and to binary ones, since protobufjs v8 no longer
sets them when decoding. Reading the field still yields its default (msg.someEnum is still
0), but it no longer shows up in Object.keys, object spreads, or a deep equality comparison
against a message built with create({ someEnum: 0 }). Unknown fields are still ignored when
parsing JSON.
protobufjs renamed the generated "properties" interfaces from IFoo to Foo.$Properties,
and added a companion Foo.$Shape that narrows oneof fields. We still expose IFoo as an
alias of Foo.$Properties preserving backward compatibility with type definitions that rely
on the legacy spelling. Note that we may choose to deprecate the legacy spelling at some point
in the future to encourage adoption of protobufjs' roadmap.
createPayloadValidationError in @temporalio/common creates a non-retryable
ApplicationFailure with structured Payload validation details when provided. Passing null or
undefined produces a failure without details.TypeInfo for Workflow callers and operation handlers.
Workflow-backed asynchronous handlers must configure matching TypeInfo on the backing Workflow.TypeInfo, including output conversion on detached
operation handles.TypeInfo to convert inputs and results, including
Local Activities, retained and detached Client handles, and asynchronous completion.telemetryOptions.logging.console.format.TypeInfo to encode Workflow inputs and decode Workflow results.TypeInfo for converting Query
arguments and results.TypeInfo to convert Update arguments and
results.@temporalio/google-adk-agents package for running Google ADK agents as durable Temporal Workflows,
requiring @google/adk@>=1.5.0 <1.6.0 as a peer dependency.
ADK's OpenTelemetry agent-loop spans can be exported replay-safely from the Workflow sandbox by composing with
OpenTelemetryPlugin from @temporalio/interceptors-opentelemetry; see the package README's telemetry section.TemporalOperationHandler can now use Standalone Activities as asynchronous
Nexus Operation backing executions through TemporalNexusClient.startActivity and
typedActivity.TypeInfo for converting Signal arguments on Client and
Workflow callers and in Workflow handlers.TypeInfo for Child Workflow inputs and results and continue-as-new inputs.TypeInfo through explicit options on Client and
Workflow handles and in signal-with-start requests.WorkflowRunOperationHandler.@temporalio/ai-sdk now requires ai@>=7.0.59 as a peer dependency, up from 7.0.0, since
earlier releases threw a TypeError on import in runtimes without a global fetch.ApplicationFailure of type PayloadValidationError now results in a BAD_REQUEST
Nexus Handler Error instead of INTERNAL, so the caller is not retried on invalid input. The
original ApplicationFailure is retained as the Handler Error's cause. Any other failure from the
data converter is unchanged.SimplePlugin no longer appends its workerInterceptors.workflowModules to worker options when
the worker uses a prebuilt workflowBundle, as module paths cannot be resolved in that case;
they are instead applied at bundling time, through the plugin's configureBundler method.default activity when the requested type is not
registered, matching non-local Activity dispatch. Previously the Workflow Task failed immediately
with ReferenceError even if default was registered.hash_algorithm and hash_value instead of
hashAlgorithm and hashValue in their claims. The GCS driver additionally uses object_name instead of
object. Retrieval still accepts the old key names.msOptionalToTs() was incorrectly converting durations of 0 to undefined, resulting in incorrect behaviors
in various places that takes optional durations where 0 is a legitimate value, e.g. ApplicationFailure.nextRetryDelay(). Durations of 0 are now properly preserved.TypeInfo and TransferTypeConverter to @temporalio/common for converting
application values to and from serialization-friendly transfer types and supplying converter-specific hints.maxEagerActivityReservationsPerWorkflowTask. Setting it to zero disables
eager activity execution.TemporalNexusClient.getWorkflowHandle(...).update(...), in addition to a Workflow run.
The Update request carries the Nexus request ID (for deduplication), the request links, and a
completion callback bearing the operation token, so the Update's completion is delivered back to the
Nexus caller. Only asynchronous, ACCEPTED-stage updates are supported (a callback URL is
required); an update that has already completed is returned synchronously, and a completed-with-error
update (e.g. a validation rejection) surfaces as a failed Nexus operation. Cancellation is
customizable via the cancelWorkflowUpdate handler option; the default rejects with a
NOT_IMPLEMENTED handler error.@temporalio/ai-sdk: listToolsActivity/callToolActivity now reuse a single MCP client connection
across repeated invocations for the same server instead of creating and closing one on every call.
Configure the idle window via the new mcpConnectionIdleTimeout option on createActivities and
AiSdkPluginOptions (defaults to 5 minutes); pass mcpConnectionIdleTimeout: 0 to opt out and restore
the original behavior for MCP servers/transports that don't tolerate a reused or concurrent session.65b25ada (temporal-core 0.6.0)zod as a peer dependency.callTool or listTools activity.WorkflowStream.onPoll no longer serves a stale log index for a poll that
was parked across a truncate() call, which could silently skip events.makeTestFunction to manage their test environment.quinn-proto in @temporalio/core-bridge's Cargo.lock from 0.11.14 to
0.11.15, clearing GHSA-4w2j-m93h-cj5j / RUSTSEC-2026-0185 (unbounded out-of-order stream
reassembly DoS) for downstream image scanners.@aws-sdk/client-s3 to the workflow bundler ignore list, fixing bundler errors when
using the S3-backed context-offloader vended plugin. The package is dynamically imported
worker-side and is never reached from workflow code.Prerelease, Experimental: You can now configure external storage on your DataConverter via the new
externalStorage option to offload large payloads out of Temporal Server. When set, payloads larger
than the configured payloadSizeThreshold are stored via your StorageDriver(s) and retrieved
transparently, keeping large arguments, return values, and heartbeat details out of the Temporal Server
database. ExternalStorage and the StorageDriver types are exported from @temporalio/common.
Prerelease, Experimental: AWS S3 external storage driver: This release introduces a package which can be used with external storage to offload large payloads to S3 buckets in AWS instead of inlining them into workflow history.
Prerelease, Experimental: GCP GCS external storage driver: This release introduces a package which can be used with external storage to offload large payloads to GCS buckets in GCP instead of inlining them into workflow history.
ResourceBasedController can now be shared by resource-based tuners across multiple Workers in the same process.
Experimental New @temporalio/strands-agents package for building workflows with Strand Agents.
Experimental: @temporalio/openai-agents now supports streaming model events from Workflows.
Added opt-in envconfig support to the test workflow environment. This enables testing against arbitrary
Temporal server environments (i.e. local, staging, prod)
[TMPRL1103] at WARN) but still sent, while a task completion over the error limit is failed
retryably ([TMPRL1103] at ERROR) instead of sent. Previously these reached the server, which
terminated the workflow or failed the activity non-retryably; failing retryably instead lets a
corrected workflow or activity be redeployed and recover. Tune warn thresholds via
NativeConnectionOptions.payloadLimits. If you use a proxy between the worker and server that
alters the size of payloads (e.g. compression, encryption, external storage), it is advised that
you disable size enforcement by setting disablePayloadErrorLimit: true on the worker.@temporalio/ai-sdk now targets Vercel AI SDK v7, requiring Node 22.12.0+.nexus.HandlerError values thrown by payload codecs and converters.temporal_worker_task_slots_used no longer counts reserved but unused task slots as in use.strands: add @aws-sdk/client-s3 to the workflow bundler ignore list, fixing bundler errors when
using the S3-backed context-offloader vended plugin. The package is dynamically imported
worker-side and is never reached from workflow code.
TEMPORAL_TLS existing behavior when enabled was to disable TLS configuration. This has been corrected,
setting TEMPORAL_TLS now enables TLS configuration
__webpack_module_cache__ replacement logic, addressing regressions introduced by the fix in 1.20.1.__webpack_module_cache__ logic introduced by webpack 5.108.0, resulting in breaking workflow context isolation (fix #2170).@temporalio/langsmith package for tracing Temporal apps to LangSmith.
It hooks the client, Workflow, and Activity interceptors so a Workflow and the Activities it runs show up
as a single LangSmith run tree.