.github/workflows/publish-model-catalog.yml | 9 + package-lock.json | 1191 ++++++++++++++++++-- package.json | 1 + packages/agent/CHANGELOG.md | 2 + packages/ai/CHANGELOG.md | 8 + packages/ai/src/api/google-shared.ts | 2 +- packages/ai/src/api/openai-completions.ts | 2 +- packages/ai/src/api/openai-responses-shared.ts | 2 +- packages/ai/src/providers/compat-schema.ts | 7 +- packages/ai/src/providers/model-schema.ts | 7 +- packages/ai/src/utils/retry.ts | 8 + packages/ai/test/abort.test.ts | 8 +- ...thropic-empty-thinking-signature-compat.test.ts | 4 +- packages/ai/test/context-overflow.test.ts | 16 +- packages/ai/test/cross-provider-handoff.test.ts | 8 +- packages/ai/test/empty.test.ts | 8 +- ...google-shared-image-tool-result-routing.test.ts | 17 + packages/ai/test/image-tool-result.test.ts | 16 +- .../ai/test/openai-completions-tool-choice.test.ts | 6 +- .../openai-completions-tool-result-images.test.ts | 76 +- .../openai-responses-empty-tool-result.test.ts | 64 +- packages/ai/test/overflow.test.ts | 2 +- packages/ai/test/retry.test.ts | 18 + packages/ai/test/stream.test.ts | 12 +- packages/ai/test/tokens.test.ts | 8 +- packages/ai/test/tool-call-without-result.test.ts | 8 +- packages/ai/test/total-tokens.test.ts | 16 +- packages/ai/test/unicode-surrogate.test.ts | 8 +- packages/ai/test/xiaomi-models.test.ts | 2 +- ...lan-ams-anthropic-empty-signature-smoke.test.ts | 2 +- packages/ai/test/zai-coding-plan-models.test.ts | 2 +- packages/chord/CHANGELOG.md | 7 + packages/chord/README.md | 3 + packages/chord/package.json | 15 + packages/chord/src/output.ts | 39 +- packages/chord/src/sqlite/cloudflare.ts | 180 +++ packages/chord/src/sqlite/database.ts | 38 + packages/chord/src/sqlite/index.ts | 3 + packages/chord/src/sqlite/migrations.ts | 43 + packages/chord/src/sqlite/node.ts | 201 ++++ packages/chord/src/sqlite/schema.ts | 9 + packages/chord/test/output.test.ts | 45 + packages/chord/test/sqlite/cloudflare.test.ts | 116 ++ packages/chord/test/sqlite/helpers.ts | 65 ++ packages/chord/test/sqlite/migrations.test.ts | 102 ++ packages/chord/test/sqlite/node.test.ts | 169 +++ packages/codemode/CHANGELOG.md | 2 + packages/coding-agent/CHANGELOG.md | 19 + packages/coding-agent/docs/compaction.md | 6 +- packages/coding-agent/docs/custom-provider.md | 54 +- packages/coding-agent/docs/docs.json | 4 + packages/coding-agent/docs/extensions.md | 126 ++- packages/coding-agent/docs/models-configuration.md | 187 +++ packages/coding-agent/docs/models.md | 14 +- packages/coding-agent/docs/settings.md | 2 +- packages/coding-agent/docs/tui.md | 70 ++ packages/coding-agent/package.json | 1 + packages/coding-agent/schemas/models.schema.json | 91 +- .../coding-agent/scripts/generate-references.ts | 177 +++ .../src/core/compaction/branch-summarization.ts | 4 +- .../coding-agent/src/core/compaction/compaction.ts | 40 +- packages/coding-agent/src/core/model-config.ts | 108 +- packages/coding-agent/src/core/model-resolver.ts | 12 +- .../coding-agent/test/branch-summarization.test.ts | 21 - .../test/compaction-summary-reasoning.test.ts | 27 +- packages/coding-agent/test/references.test.ts | 17 + ...gent-session-compaction-model-overrides.test.ts | 39 +- .../coding-agent/test/suite/virtual-models.test.ts | 8 +- packages/durable/CHANGELOG.md | 37 + packages/durable/README.md | 94 +- packages/durable/docs/spec.md | 392 +++++-- packages/durable/package.json | 4 +- packages/durable/src/codemode/codemode.ts | 10 +- packages/durable/src/harness/agent.ts | 51 +- packages/durable/src/harness/compaction.ts | 22 +- packages/durable/src/harness/generation.ts | 95 +- packages/durable/src/harness/harness.ts | 67 +- packages/durable/src/harness/inbox.ts | 6 +- packages/durable/src/harness/prompt.ts | 4 +- packages/durable/src/harness/scheduler.ts | 617 ++++++++-- packages/durable/src/harness/task-graph.ts | 85 +- packages/durable/src/harness/tool.ts | 48 +- packages/durable/src/harness/types.ts | 110 +- packages/durable/src/harness/util.ts | 5 + packages/durable/src/index.ts | 10 + packages/durable/src/session/session.ts | 72 +- packages/durable/src/storage/memory.ts | 2 +- packages/durable/src/storage/sqlite/cloudflare.ts | 181 +-- packages/durable/src/storage/sqlite/database.ts | 39 +- packages/durable/src/storage/sqlite/index.ts | 2 +- packages/durable/src/storage/sqlite/migrations.ts | 68 +- packages/durable/src/storage/sqlite/node.ts | 208 +--- packages/durable/src/storage/sqlite/schema.ts | 14 +- packages/durable/src/storage/sqlite/storage.ts | 2 +- .../durable/src/testing/storage-conformance.ts | 19 + packages/durable/src/timers.ts | 79 ++ packages/durable/src/types.ts | 123 +- packages/durable/test-workers/cloudflare.d.ts | 42 + packages/durable/test-workers/storage.test.ts | 54 + packages/durable/test-workers/vitest.config.ts | 24 + packages/durable/test-workers/wake.test.ts | 106 ++ packages/durable/test-workers/worker.ts | 155 +++ packages/durable/test-workers/wrangler.jsonc | 10 + packages/durable/test/codemode.test.ts | 41 +- packages/durable/test/examples/13-recovery.ts | 23 +- packages/durable/test/examples/24-child-tasks.ts | 11 +- packages/durable/test/harness-blocked.test.ts | 505 +++++++++ packages/durable/test/harness-compaction.test.ts | 69 +- .../durable/test/harness-failed-run-inbox.test.ts | 82 ++ .../test/harness-generation-recovery.test.ts | 68 +- packages/durable/test/harness-generation.test.ts | 4 + packages/durable/test/harness-host-inputs.test.ts | 124 ++ packages/durable/test/harness-registry.test.ts | 6 +- packages/durable/test/harness-reports.test.ts | 225 ++++ packages/durable/test/harness-sleep.test.ts | 449 ++++++++ .../durable/test/harness-tasks-recovery.test.ts | 12 +- packages/durable/test/harness-tasks.test.ts | 86 +- packages/durable/test/harness-tools.test.ts | 17 + .../test/provider-session-cache-e2e.test.ts | 2 +- packages/durable/test/sqlite-cloudflare.test.ts | 182 +-- packages/durable/test/sqlite-facade.test.ts | 158 +-- packages/durable/test/sqlite-migrations.test.ts | 93 +- packages/durable/test/task-support.ts | 29 +- packages/durable/vitest.config.ts | 4 +- packages/env/CHANGELOG.md | 2 + packages/env/test/differential.test.ts | 9 +- packages/mcp/CHANGELOG.md | 2 + packages/telemetry/CHANGELOG.md | 2 + packages/tui/CHANGELOG.md | 2 + scripts/check-model-catalog-compat.mjs | 142 +++ scripts/model-catalog-minimum-version.mjs | 9 + scripts/publish-model-catalog.mjs | 6 +- tsconfig.json | 5 +- 133 files changed, 7205 insertions(+), 1625 deletions(-)