The Temporal TypeScript SDK is divided into several specialized packages depending on the component being implemented:
@temporalio/worker: Used to run Workflows and Activities.@temporalio/workflow: The runtime library for defining Workflow logic.@temporalio/activity: Provides access to the current Activity's context.@temporalio/client: Used to send commands and interact with the Temporal Server.@temporalio/nexus: Used to implement and invoke Nexus Operations.@temporalio/testing: The dedicated test framework for Temporal applications.@temporalio/common: Shared library used across Client, Worker, and Workflow components.@temporalio/proto: Contains the compiled protobuf definitions.@temporalio/interceptors-opentelemetry: Provides interceptors for adding OpenTelemetry tracing.