Added a model catalog bundled with the package for OpenAI, Anthropic and OpenRouter (aikit modelgen --baseline regenerates it; vp run baseline in packages/aikit). It is read when no catalog has been generated yet, so a first run works offline. A generated catalog replaces each provider it lists.
Added downloadCatalog and catalogURL to @codeworksh/aikit/modelgen, which download the published catalog (see the harness entry). The catalog is published to an R2 bucket (infra/catalog) by a scheduled GitHub Action, which refuses a catalog that fails its schema check, misses a required model or drops more than a fifth of a provider’s models.
Added gpt-6.1-sol (500k context), gpt-6-sol and gpt-6-astra to OpenAI Codex.
Added compat.supportsTemperature; a model with it set to false is called without temperature.
Changed
OpenAI Codex entries are built from the generated OpenAI entries, so their prices and long-context tiers come from models.dev, and a Codex model models.dev does not list is left out. gpt-5.4 and gpt-5.4-mini are no longer listed for Codex, because the Codex backend rejects them for ChatGPT accounts, and neither is gpt-5.5, which OpenAI retired from Codex on October 14, 2026.
OpenAI reasoning levels come from models.dev’s reasoning_options, and OpenRouter models are listed from OpenRouter’s own /models, which gives the reasoning efforts each one accepts. :batch variants are left out. Proxied GPT models keep xhigh.
Prices take models.dev’s long-context tiers for every provider, and OpenAI service-tier multipliers come from models.dev’s modes (for example ultrafast 6x on GPT-6.1 Sol). Direct OpenAI requests to the GPT-5.4+ and GPT-6 models default to the 272k short-context window; settings can raise contextWindow.
The generator drops the models.dev alias gpt-5.6, which OpenAI’s API rejects. Claude Opus 4.7+, Opus 5.x, Sonnet 5.5 and Haiku 5.5 are called without temperature, which their API rejects.
Upgraded the AI SDK packages to their latest releases, including @ai-sdk/xai 5, which drops the Chat Completions API: xAI models run on Responses only, as the catalog already set, and XaiOptions takes only Responses options. All providers now share one @ai-sdk/provider version.
Breaking Changes
Renamed OPENCODE_MODELS_URL and OPENCODE_MODELS_DEV_FILE to CODEWORK_MODELS_DEV_URL and CODEWORK_MODELS_DEV_FILE.
A missing model catalog is no longer an error: ModelCatalogLoadError has no missing reason, and the bundled catalog is read instead.
Added a standalone codework binary for macOS (Apple silicon) and Linux (arm64, x64; glibc) that needs no Node.js. Install it with curl -fsSL https://codework.sh/install | sh, with --dev for the newest development build or --version <version> for a given release. The script checks the download against the release’s SHA256SUMS, installs to ~/.codework/bin and adds it to PATH. On first run the binary unpacks its assets to a per-user cache in the temp directory. Plugins installed from npm, git or a path run in it as they do under Node, and the virtual shell’s sqlite3 and its zstd and xz compression work. just-bash’s python and js-exec, which CodeWork does not enable, are not included. Each GitHub Release carries cli-<os>-<arch>.tar.gz and SHA256SUMS: cli-v<version> for a release, and devel for the newest dev build.
Added OpenTelemetry export. Set OTEL_EXPORTER_OTLP_ENDPOINT and every command sends its traces and metrics over OTLP/HTTP, as protobuf by default or JSON with OTEL_EXPORTER_OTLP_PROTOCOL=http/json. The standard OTEL_* variables configure it (headers, per-signal endpoints, OTEL_SDK_DISABLED, OTEL_SERVICE_NAME, OTEL_RESOURCE_ATTRIBUTES); there is no settings key. Without an endpoint nothing is exported, and a bad configuration never stops a command. Only the high-level spans are exported (command, agent loop, model and tool calls, sandbox create and wake); set CODEWORK_TRACE_LEVEL=debug to export every span, including database queries.
Fixed
Fixed codework run exiting 1 with statement has been finalized after printing the response when it created its own sandbox (--sandbox-driver memory, daytona or vercel). The sandbox was stopped after the database had closed, so the stop failed and a Daytona or Vercel sandbox was left running. It is now stopped before the database closes, and the run exits 0.
codework run now writes logs to stderr, so stdout carries only the response.
Internal
The codework tui E2E artifact now records the CLI version as <version>, so it no longer goes stale on every version bump.
Tests load provider and sandbox credentials from the root .env.local instead of one file per package.
Added a live E2E test that runs codework run on a memory, Daytona and Vercel sandbox and checks the sandbox is stopped on exit.
Added an E2E test that runs the standalone binary with no Node on PATH: it unpacks its assets, runs a plugin through its own effect, runs sqlite3, zstd and xz in the virtual shell against live models, and, with CODEWORK_PLUGIN_LIVE=1, installs and runs plugins from npm and git.
Removed Intel Mac support. No darwin-x64 binary is built, @codeworksh/tui-darwin-x64 is deprecated on npm, and on an Intel Mac codework tui reports that no prebuilt TUI is published for the platform.
Spans for model requests, tool calls and agent runs carry the OpenTelemetry GenAI attributes (provider, model, session, response id, finish reason, token counts, time to first token), and a failed model request ends its span with an error. Metrics: codework.llm.duration, codework.llm.ttft, codework.llm.tokens (by type: input, output, cache_read, cache_write, reasoning), codework.llm.cost, codework.agent.duration, codework.tool.duration (by tool), codework.sandbox.provision.duration, codework.sandbox.exec.duration and codework.sandbox.active (by driver), plus Effect’s fiber runtime metrics (child_fibers_*). Prompts, file contents and model output are never exported.
A host bundled into one file, such as the standalone binary, shares its own effect and @codeworksh/plugin with plugins through Plugin.share. A plugin can import any of their public modules and gets the host’s instances, each loaded on first import. Importing an internal path such as effect/internal/... fails with is not shared with plugins.
Fixed
Fixed Daytona sandboxes logging a warning, with the full HTTP error, for every instruction file (AGENTS.md, CLAUDE.md, …) a directory does not have. A missing path on Daytona now reads as not found, as on the other sandboxes, which also gives the read tool its usual not-found error there.
Internal
Instruction-file discovery probes candidates with exists and only stats the files that exist, so a missing AGENTS.md or CLAUDE.md no longer records a failed span in debug traces.
The live runner-cycle test now interrupts a reply long enough that it cannot finish first, so the interrupt no longer races the model.
Fixed tools whose parameters are Schema.Struct({}) being rejected by OpenAI and Anthropic. Their JSON Schema is now { "type": "object", "properties": {} } instead of { "not": { "type": "null" } }.