stitchkit 0.131.0 → 0.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/dist/agent-executor/claude/limits.d.ts.map +1 -1
- package/dist/agent-executor/claude/session.d.ts.map +1 -1
- package/dist/agent-executor/claude/transcript.d.ts +1 -1
- package/dist/agent-executor/claude/transcript.d.ts.map +1 -1
- package/dist/agent-executor/claude-sdk/session.d.ts.map +1 -1
- package/dist/agent-executor/codex/limits.d.ts.map +1 -1
- package/dist/agent-executor/profile.d.ts +2 -1
- package/dist/agent-executor/profile.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/acp.js +2 -2
- package/dist/entrypoints/agent-executor/claude-sdk.js +11 -10
- package/dist/entrypoints/agent-executor/claude.js +9 -8
- package/dist/entrypoints/agent-executor/codex.js +60 -62
- package/dist/entrypoints/agent-executor/testing.js +3 -3
- package/dist/entrypoints/agent-executor.js +2 -2
- package/dist/entrypoints/sync.js +8 -4
- package/dist/{index-32vaajec.js → index-athc412x.js} +1 -1
- package/dist/{index-g2d9kws8.js → index-f9p62ean.js} +20 -4
- package/dist/{index-gm9yz82v.js → index-jcrj0b8z.js} +1 -1
- package/dist/{index-64e9p079.js → index-z114ax5e.js} +7 -7
- package/dist/sync/session-machine.d.ts.map +1 -1
- package/dist/sync/session.d.ts +3 -3
- package/llms/agent-executor-claude.txt +1 -1
- package/llms/agent-executor-codex.txt +1 -1
- package/llms/agent-executor.txt +7 -1
- package/llms/stitchkit.txt +74 -74
- package/llms/sync.txt +1 -1
- package/llms/{upgrading-0.128.0-0.131.0.txt → upgrading-0.128.0-0.132.0.txt} +23 -3
- package/llms/upgrading.txt +1 -1
- package/llms-full.txt +104 -78
- package/llms.txt +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-machine.d.ts","sourceRoot":"","sources":["../../src/sync/session-machine.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,aAAa,EAAqC,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"session-machine.d.ts","sourceRoot":"","sources":["../../src/sync/session-machine.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EAAE,KAAK,aAAa,EAAqC,MAAM,qBAAqB,CAAC;AAG5F,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,KAAK,EACV,UAAU,EAEV,sBAAsB,EACtB,gBAAgB,EAEjB,MAAM,WAAW,CAAC;AAUnB,uFAAuF;AACvF,eAAO,MAAM,kBAAkB,EAAE,aAIhC,CAAC;AAEF,qBAAa,kBAAkB,CAAC,IAAI,SAAS,cAAc;IAoC7C,OAAO,CAAC,QAAQ,CAAC,KAAK;IAnClC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAe;IACnC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAe;IACrC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAmD;IAC5E,OAAO,CAAC,IAAI,CAAuC;IAEnD,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,kBAAkB,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAM;IACvB,OAAO,CAAC,SAAS,CAAM;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,WAAW,CAA2B;IAG9C,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,WAAW,CAA4B;IAG/C,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,YAAY,CAAK;IAGzB,OAAO,CAAC,MAAM,CAAmC;IAKjD,OAAO,CAAC,YAAY,CAAuB;IAC3C,0FAA0F;IAC1F,OAAO,CAAC,QAAQ,CAAuB;IAEvC,YAA6B,KAAK,EAAE,gBAAgB,CAAC,IAAI,CAAC,EAOzD;IAED,OAAO,CAAC,KAAK;IAIb,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,KAAK;IASb,OAAO,CAAC,UAAU;IAKlB,OAAO,CAAC,QAAQ;IAIhB,iGAAiG;IACjG,OAAO,CAAC,cAAc;IAQtB;;;;OAIG;IACH,KAAK,IAAI,IAAI,CAkBZ;IAED,OAAO,CAAC,SAAS;IAUjB,OAAO,CAAC,OAAO;IAiCf,OAAO,CAAC,QAAQ;IAsBhB,OAAO,CAAC,WAAW;IAWnB,WAAW,IAAI,UAAU,CAAC,IAAI,CAAC,CAyC9B;IAED,2FAA2F;IAC3F,OAAO,CAAC,gBAAgB;IAWxB,OAAO,CAAC,aAAa;IA4BrB,eAAe,IAAI,UAAU,CAAC,IAAI,CAAC,CAGlC;IAED,OAAO,CAAC,OAAO;IASf,WAAW,IAAI,UAAU,CAAC,IAAI,CAAC,CAG9B;IAED,4FAA4F;IAC5F,OAAO,CAAC,SAAS;IAcjB,uFAAuF;IACvF,OAAO,CAAC,aAAa;IAKrB,0FAA0F;IAC1F,OAAO,CAAC,UAAU;IAiClB,4EAA4E;IAC5E,OAAO,CAAC,YAAY;IA2BpB,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,CA+C3C;IAED,WAAW,CAAC,OAAO,EAAE;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,UAAU,CAAC,IAAI,CAAC,CAoBnB;IAED,WAAW,IAAI,sBAAsB,CAQpC;IAED,IAAI,IAAI,IAAI,CAGX;CACF"}
|
package/dist/sync/session.d.ts
CHANGED
|
@@ -48,9 +48,9 @@ export interface SyncSessionPorts<PAGE extends SyncPageHeader> {
|
|
|
48
48
|
/** The transport is connected; without it no session starts. */
|
|
49
49
|
isConnected(): boolean;
|
|
50
50
|
/**
|
|
51
|
-
* What `saveCursor` or `saveProgress` saved last.
|
|
52
|
-
*
|
|
53
|
-
* `SyncSnapshotResume` continues the interrupted full snapshot where it stands.
|
|
51
|
+
* What `saveCursor` or `saveProgress` saved last. Return null for an uninitialized store.
|
|
52
|
+
* A nonnegative integer, including zero, requests changes after that version.
|
|
53
|
+
* A `SyncSnapshotResume` continues the interrupted full snapshot where it stands.
|
|
54
54
|
*/
|
|
55
55
|
readCursor(): Eventually<number | SyncSnapshotResume | null>;
|
|
56
56
|
/**
|
|
@@ -24,6 +24,6 @@ Evolving.
|
|
|
24
24
|
| `createClaudeCliDriver` / `ClaudeCliDriverConfig` | function / _type_ | the driver; `permissionMode` defaults to `default`, so the server decides every tool the profile does not already allow; optional `resolveFile` and `maxImageBytes` (default 5 MiB) enable ordered turn-input image attachments |
|
|
25
25
|
| `claudeFakeScenarios` | constant | the conformance scenarios in this dialect, for a scripted engine |
|
|
26
26
|
| `claudeTranscriptPath` / `claudeTranscriptHasUuid` / `findTranscriptInput` | functions | offline Claude transcript path resolution (resolving `realpath` of `cwd` or its nearest existing ancestor) and bounded streaming UUID lookup / reconciliation without instantiating a driver |
|
|
27
|
-
| `claudePlanWindows` / `claudeUsagePlanLimits` | functions | Claude's `rate_limit_event` windows and open-bucket usage / `/api/oauth/usage` `PlanLimits` mapping
|
|
27
|
+
| `claudePlanWindows` / `claudeUsagePlanLimits` | functions | Claude's `rate_limit_event` windows and open-bucket usage / `/api/oauth/usage` `PlanLimits` mapping preserving `plan` and the reported model name as `scope` and `label` on model-scoped windows |
|
|
28
28
|
|
|
29
29
|
---
|
|
@@ -33,6 +33,6 @@ WebSocket-over-Unix-socket (`unix-listen` / `unix-connect`). Evolving.
|
|
|
33
33
|
| `CodexTurn` / `CodexTurnInput` / `CodexTurnInputPart` / `CodexLocalImageInputSchema` / `CodexLocalImageInput` / `CodexSkillInputSchema` / `CodexSkillInput` / `CodexSteerTurnInput` / `CodexForkThreadOptions` / `CodexForkedThread` | schemas / _types_ | `CodexTurn` (`nativeTurnId` from `turn/start`), per-turn `startTurn` overrides (`cwd`, `model`, fail-closed `modelProvider`, `reasoningEffort`, `collaborationMode`, `approvalPolicy`, `sandboxPolicy`, `runtimeWorkspaceRoots`), ordered text / image / `localImage` (`{ type: 'localImage', path }`) / `skill` (`{ type: 'skill', name, path }`) turn and steer inputs, and `forkThread` options/result (including `deferGoalContinuation`) |
|
|
34
34
|
| `CodexUnixSocketError` / `CodexUnixSocketErrorKind` | class / _type_ | typed Unix-socket refusal/transport error distinguishing `endpoint-absent`, `endpoint-not-listening`, `target-refused`, `upgrade-refused`, and `connection-lost` |
|
|
35
35
|
| `codexFakeScenarios` | constant | the conformance scenarios in this dialect, for a scripted app-server |
|
|
36
|
-
| `codexPlanWindows` / `codexPlanLimits` | functions | unfolds Codex's `account/rateLimits/read` envelope (camelCase or snake_case rollout `token_count`, seconds/ms/ISO `resetsAt`, `plan_type`) into `PlanWindow[]` or full `PlanLimits
|
|
36
|
+
| `codexPlanWindows` / `codexPlanLimits` | functions | unfolds Codex's `account/rateLimits/read` envelope (camelCase or snake_case rollout `token_count`, seconds/ms/ISO `resetsAt`, `plan_type`) or a flat snapshot with a sibling per-model map into `PlanWindow[]` or full `PlanLimits`, retaining account and scoped measurements |
|
|
37
37
|
|
|
38
38
|
---
|
package/llms/agent-executor.txt
CHANGED
|
@@ -32,10 +32,16 @@ leaves of their own; this entrypoint knows no vendor. Evolving.
|
|
|
32
32
|
| `dispatchTurn` / `DispatchOutcome` | function / _type_ | send a turn's input at most once through `LocalStepDurability.effect`: `sent`, `delivered` after a reconcile, or `unknown_after_restart` — never resent |
|
|
33
33
|
| `spawnEngineProcess` / `EngineProcess` | function / _type_ | an engine process talked to by lines over `stitchkit/process`: declared environment, owner-loss termination, optional leader `pid` / `pidReady`, `stdoutMode` (`'lines'` default or `'drain'` for socket-serving engines), bounded lines (`maxLineBytes`), stderr, queued stdin (`maxPendingStdinBytes`) and stdin written over the connection's life (`maxStdinBytes`, a refused `send()` that leaves the engine running); every option checked before the spawn |
|
|
34
34
|
| `createExecutorLeases` / `memoryExecutorLeaseStore` / `ExecutorLeaseStateStore` / `ExecutorLeaseState` / `ExecutorLeaseStateSchema` / `ExecutorLeaseRefusal` | functions / _types_ / class | the server's thread leases and turn receipts over one atomically updated value, bounded by threads: each thread keeps the receipts of its last `retainedTurns` turns (default 64, at most 1024) and the highest `turnOrdinal` it let go, a report of a turn at or below it is `not-retained`, and `resume(resumable)` answers a hello the same way; a `StateStore` of `stitchkit/application` fits; a refusal is an `ExecutorLeaseRefusal` — an `AppError` with status 409 and a code of `EXECUTOR_ERRORS` — so an operation returning the service's promise answers `409 { error: { code } }` |
|
|
35
|
-
| `ExecutorProfileConfigSchema` / `ExecutorProfileConfig` / `EXECUTOR_ENV_KEY_PATTERN` / `sanitizeProfileEnv` / `engineEnvironment` / `ownCredentials` / `helloProfile` / `CREDENTIAL_VARIABLES` | schema / _type_ / constants / functions | a profile on the executor's machine, profile env-key filtering (`EXECUTOR_ENV_KEY_PATTERN`, `sanitizeProfileEnv`), the engine's allowlisted environment with
|
|
35
|
+
| `ExecutorProfileConfigSchema` / `ExecutorProfileConfig` / `EXECUTOR_ENV_KEY_PATTERN` / `sanitizeProfileEnv` / `engineEnvironment` / `ownCredentials` / `helloProfile` / `CREDENTIAL_VARIABLES` | schema / _type_ / constants / functions | a profile on the executor's machine, profile env-key filtering (`EXECUTOR_ENV_KEY_PATTERN`, `sanitizeProfileEnv`), the engine's allowlisted environment with an explicit profile's `home` as `CLAUDE_CONFIG_DIR`, `CODEX_HOME` or (ACP) `HOME` plus explicit `profile.env` pass-through for host-specific overrides (such as `TMPDIR`, `SSH_CONNECTION`, or agent-specific `AGY_*` variables), and `helloProfile({ profile, status, ambient })` carrying no path and no value; a driver refuses a profile whose `engine` is not its own with a `TypeError`, before it reads a file or starts the engine |
|
|
36
36
|
| `mergeRateLimitEvent` / `planLimitsReadFailed` / `planLimitsDue` / `planWindowExpired` / `planWindowDurationMins` | functions | plan limits kept as three answers (`mergeRateLimitEvent` preserving `plan`, `planLimitsReadFailed`, `planLimitsDue` treating clean `no-plan-limit`/`unpublished` as not due, `planWindowExpired`, and `planWindowDurationMins` deriving durations in minutes) |
|
|
37
37
|
| `canAdvanceTurnPhase` / `isTerminalTurnPhase` | functions | the turn phase machine: a terminal phase is never left |
|
|
38
38
|
| `advanceExecutorConnection` / `canAcceptTurn` / `INITIAL_EXECUTOR_CONNECTION` / `ExecutorConnectionState` / `ExecutorConnectionEvent` | functions / constant / _types_ | the executor's connection as a pure machine with generations: an answer of an earlier connection never acts on a later one |
|
|
39
39
|
| `createJsonRpcPeer` / `JsonRpcPeer` / `JsonRpcPeerConfig` / `JsonRpcHeader` / `JsonRpcValue` / `JsonRpcValueSchema` / `JsonRpcRecordSchema` / `JsonRpcError` / `JSON_RPC_METHOD_NOT_FOUND` / `JSON_RPC_LOCAL_TIMEOUT` | function / _types_ / schemas / class / constants | a bidirectional JSON-RPC peer over lines supporting per-call `timeoutMs` and `signal` (`AbortSignal`), Zod schemas `JsonRpcValueSchema` / `JsonRpcRecordSchema`, with the dialect's header or without it; an unhandled request is answered `-32601` at once and local request timeouts fail with `-32099` (`JSON_RPC_LOCAL_TIMEOUT`) |
|
|
40
40
|
|
|
41
41
|
---
|
|
42
|
+
|
|
43
|
+
For a Claude CLI or SDK profile that should use the user's native sign-in, pass
|
|
44
|
+
`{ profileId: 'personal', engine: 'claude-sdk', home: join(homedir(), '.claude'), claudeConfigDir: 'default' }`.
|
|
45
|
+
The child uses its native configuration and the executor still reads transcripts from `home`.
|
|
46
|
+
The directory must match `.claude` under the child's home. Leave `CLAUDE_CONFIG_DIR` out of
|
|
47
|
+
`profile.env`. Omitting `claudeConfigDir` selects the configured directory explicitly, even for that same path.
|
package/llms/stitchkit.txt
CHANGED
|
@@ -56,81 +56,81 @@ own, recorded as an ADR.
|
|
|
56
56
|
|
|
57
57
|
| Import | Use in | Maturity | Holds |
|
|
58
58
|
|--------|--------|----------|-------|
|
|
59
|
-
| `stitchkit` | browser **and** server | stable<br>_redefined in 5 of the
|
|
60
|
-
| `stitchkit/http` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 2 of the
|
|
61
|
-
| `stitchkit/realtime` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 1 of the
|
|
62
|
-
| `stitchkit/contract` | browser **and** server | stable<br>_redefined in 5 of the
|
|
63
|
-
| `stitchkit/live` | browser **and** server | evolving<br>_redefined in 2 of the
|
|
64
|
-
| `stitchkit/primitives` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
65
|
-
| `stitchkit/handler` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the
|
|
66
|
-
| `stitchkit/server` | server (Bun) | stable<br>_redefined in 5 of the
|
|
67
|
-
| `stitchkit/node` | server (Node ≥ 22.3) | stable<br>_redefined in 2 of the
|
|
68
|
-
| `stitchkit/tools` | server | stable<br>_redefined in 10 of the
|
|
69
|
-
| `stitchkit/tools/mcp` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
70
|
-
| `stitchkit/tools/agent` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
71
|
-
| `stitchkit/tools/toolkit` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
72
|
-
| `stitchkit/tools/contract` | browser + server | evolving<br>_redefined in 2 of the
|
|
73
|
-
| `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the
|
|
74
|
-
| `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
75
|
-
| `stitchkit/cli` | server | stable<br>_redefined in 12 of the
|
|
76
|
-
| `stitchkit/cli/publish` | build and release tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the
|
|
77
|
-
| `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the
|
|
78
|
-
| `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 3 of the
|
|
79
|
-
| `stitchkit/process/owner-loss` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the
|
|
80
|
-
| `stitchkit/files/packaging` | build time (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
81
|
-
| `stitchkit/files` | server (Bun or Node) | stable<br>_redefined in 4 of the
|
|
82
|
-
| `stitchkit/spend` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
83
|
-
| `stitchkit/spend/testing` | tests on Bun or Node | evolving<br>_redefined in 0 of the
|
|
84
|
-
| `stitchkit/service-host` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
85
|
-
| `stitchkit/service-host/macos` | server (Bun or Node, macOS) | evolving<br>_redefined in 0 of the
|
|
86
|
-
| `stitchkit/telegram` | server (Bun or Node) | evolving<br>_redefined in 8 of the
|
|
87
|
-
| `stitchkit/telegram/grammy` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
88
|
-
| `stitchkit/telegram/html` | browser and server | evolving<br>_redefined in 1 of the
|
|
89
|
-
| `stitchkit/telegram/voice` | browser and server | evolving<br>_redefined in 0 of the
|
|
90
|
-
| `stitchkit/telegram/screens` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
91
|
-
| `stitchkit/tracking` | browser **and** server | evolving<br>_redefined in 3 of the
|
|
92
|
-
| `stitchkit/tracking/contract` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
93
|
-
| `stitchkit/tracking/performance` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
94
|
-
| `stitchkit/tracking/server` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
95
|
-
| `stitchkit/release` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
96
|
-
| `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
97
|
-
| `stitchkit/sync` | browser **and** server | evolving<br>_redefined in
|
|
98
|
-
| `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
99
|
-
| `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
100
|
-
| `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
101
|
-
| `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
102
|
-
| `stitchkit/oauth` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
103
|
-
| `stitchkit/google` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
104
|
-
| `stitchkit/observability` | server | stable<br>_redefined in 1 of the
|
|
105
|
-
| `stitchkit/testing` | tests on Bun or Node | stable<br>_redefined in 3 of the
|
|
106
|
-
| `stitchkit/declaration` | browser + build and deployment tooling (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
107
|
-
| `stitchkit/react` | browser + server rendering | stable<br>_redefined in 2 of the
|
|
108
|
-
| `stitchkit/react/keyboard` | browser | evolving<br>_redefined in 1 of the
|
|
109
|
-
| `stitchkit/react/keyboard/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
110
|
-
| `stitchkit/agent-runtime` | server | evolving<br>_redefined in 9 of the
|
|
111
|
-
| `stitchkit/agent-runtime/sandbox` | server | evolving<br>_redefined in 0 of the
|
|
112
|
-
| `stitchkit/agent-runtime/testing` | tests on Bun or Node | evolving<br>_redefined in 2 of the
|
|
113
|
-
| `stitchkit/agent-runtime/harness` | server | evolving<br>_redefined in 0 of the
|
|
114
|
-
| `stitchkit/agent-runtime/coding-tools` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
115
|
-
| `stitchkit/agent-runtime/openrouter` | server | evolving<br>_redefined in 1 of the
|
|
116
|
-
| `stitchkit/agent-runtime/browser` | browser + server | evolving<br>_redefined in 2 of the
|
|
117
|
-
| `stitchkit/agent-runtime/react` | browser + server | evolving<br>_redefined in 0 of the
|
|
118
|
-
| `stitchkit/agent-runtime/realtime` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
119
|
-
| `stitchkit/agent-executor` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
120
|
-
| `stitchkit/agent-executor/claude` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
121
|
-
| `stitchkit/agent-executor/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
122
|
-
| `stitchkit/agent-executor/acp` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
123
|
-
| `stitchkit/agent-executor/codex` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
124
|
-
| `stitchkit/agent-executor/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
125
|
-
| `stitchkit/agent-runtime/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
126
|
-
| `stitchkit/agent-runtime/sqlite/bun` | server (Bun) | evolving<br>_redefined in 1 of the
|
|
127
|
-
| `stitchkit/agent-runtime/sqlite/node` | server (Node ≥ 22.5) | evolving<br>_redefined in 1 of the
|
|
59
|
+
| `stitchkit` | browser **and** server | stable<br>_redefined in 5 of the 39 minors since 0.94.0, most recently 0.127.0_ | `defineContract`, `createClient`, `createHttpClient`, `createSocketIOClient`, `parseSSE`, the error model |
|
|
60
|
+
| `stitchkit/http` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | typed HTTP client factories and `ApiError`, without optional realtime peers |
|
|
61
|
+
| `stitchkit/realtime` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | typed realtime clients, binding to an existing socket and retained topics with a required explicit Socket.IO peer loader |
|
|
62
|
+
| `stitchkit/contract` | browser **and** server | stable<br>_redefined in 5 of the 39 minors since 0.94.0, most recently 0.127.0_ | the contract layer alone — `defineContract`, errors, pagination |
|
|
63
|
+
| `stitchkit/live` | browser **and** server | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | `defineEvents` — topic declarations beside the operation contract — and watched reads: `createWatchClient`, the value/difference frame and its reassembly |
|
|
64
|
+
| `stitchkit/primitives` | browser **and** server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | generic values and declarations for lifecycle, access, audit, delivery and exports, exact money and rounding tables |
|
|
65
|
+
| `stitchkit/handler` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | portable `createHandler`, `implement`, errors and `serveBridge` over a string `postMessage` port, with no Node built-ins |
|
|
66
|
+
| `stitchkit/server` | server (Bun) | stable<br>_redefined in 5 of the 39 minors since 0.94.0, most recently 0.127.0_ | `createServer`, `implement`, hooks, auth, Socket.IO server, server primitives |
|
|
67
|
+
| `stitchkit/node` | server (Node ≥ 22.3) | stable<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | `serveNode` + the runtime-agnostic core — the Node mirror of `/server` |
|
|
68
|
+
| `stitchkit/tools` | server | stable<br>_redefined in 10 of the 39 minors since 0.94.0, most recently 0.127.0_ | the transport-neutral tool layer — registry, tool names and manifest, runtime tools, native tools, the OAuth provider, the durability engine; loads no optional peer at runtime |
|
|
69
|
+
| `stitchkit/tools/mcp` | server (Bun or Node) | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | the canonical MCP HTTP/stdio server, schemas and typed MCP presenters; only Zod and the MCP server SDK peers |
|
|
70
|
+
| `stitchkit/tools/agent` | server (Bun or Node) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | `mountAgent` — a contract's operations as AI SDK tools; only Zod and the `ai` peer |
|
|
71
|
+
| `stitchkit/tools/toolkit` | server (Bun or Node) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | `createToolkit` — one tool set served over MCP and to an AI SDK agent; the MCP server SDK and `ai` peers |
|
|
72
|
+
| `stitchkit/tools/contract` | browser + server | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.124.0_ | the shapes a tool surface speaks — async-operation contract, snapshot and cancel schemas, view-file input/output — without the runtime that serves them |
|
|
73
|
+
| `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | peer-free `createToolInvoker` over the canonical contract tool runner |
|
|
74
|
+
| `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | consume external MCP servers and a bounded OpenAPI subset — typed reauthorization, a per-request host fence and per-call credentials |
|
|
75
|
+
| `stitchkit/cli` | server | stable<br>_redefined in 12 of the 39 minors since 0.94.0, most recently 0.128.0_ | `createCli` / `createCliInvoker` — runtime and strict NodeNext declarations without MCP SDK / `ai` |
|
|
76
|
+
| `stitchkit/cli/publish` | build and release tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | `publishCli` — commit a verified CLI distribution and move its public manifest last; see [CLI guide](cli.md#publishing-a-complete-version) |
|
|
77
|
+
| `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.104.0_ | peer-free `implementRemote` for thin HTTP proxy processes |
|
|
78
|
+
| `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | finite native commands, byte sinks, bounded capture, process-group cancellation and opt-in Linux/Darwin owner-loss cleanup; contract operations executed in one-call child processes |
|
|
79
|
+
| `stitchkit/process/owner-loss` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | narrow bootstrap that keeps the process runner lazy while carrying its owner-loss guard in a single-file bundle |
|
|
80
|
+
| `stitchkit/files/packaging` | build time (Bun or Node) | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.108.0_ | installed native asset graph, integrity, Bun packaging plugin and the artifact loader check; a client bundled into one self-contained, hashed and verified file; no runtime install policy |
|
|
81
|
+
| `stitchkit/files` | server (Bun or Node) | stable<br>_redefined in 4 of the 39 minors since 0.94.0, most recently 0.127.0_ | peer-free managed local-file boundary |
|
|
82
|
+
| `stitchkit/spend` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | peer-free spend gateway for paid model APIs: the attempt recorded before the call and closed on every outcome, credentials only for the provider's origin, a spooled ledger, rank-merged receipts and a reconciler |
|
|
83
|
+
| `stitchkit/spend/testing` | tests on Bun or Node | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | the coverage guard: red on a model SDK import, a provider key or a provider host outside the gateway files |
|
|
84
|
+
| `stitchkit/service-host` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | peer-free host service supervision — verified versioned artifact activation, Linux `systemd` and macOS `launchd` units (`plutil`, `bootout`/`bootstrap`, rollback), live process/Unix-socket identity verification, and an in-process config-watched reloader |
|
|
85
|
+
| `stitchkit/service-host/macos` | server (Bun or Node, macOS) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | peer-free macOS daemon bundle toolkit — fail-closed Developer ID `codesign`, strict C11 launcher `.app` bundles with atomic `RENAME_SWAP` install/rollback, Apple 824×824 squircle `AppIcon.icns`, streaming `lsregister` maintenance, and TCC responsibility inspection |
|
|
86
|
+
| `stitchkit/telegram` | server (Bun or Node) | evolving<br>_redefined in 8 of the 39 minors since 0.94.0, most recently 0.127.0_ | peer-free Telegram platform primitives — Mini App `initData` verification, widget limits and the `widget_query` and widget message schemas, send-failure classification, one outbound budget per bot token with weighted albums and per-chat 429 pauses, resumable broadcasts, the operator channel with dedupe, a Bot API transport that separates a request that never left from an unknown outcome, local Bot API files, the waveform of a voice message read from its PCM, webhook ownership and durable webhook update intake |
|
|
87
|
+
| `stitchkit/telegram/grammy` | server (Bun or Node) | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the token's outbound budget as one grammY client transformer — a 429 that comes back as a response pauses its chat, and a cancelled wait is a request that never left; the widget methods over the same client |
|
|
88
|
+
| `stitchkit/telegram/html` | browser and server | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | Telegram's HTML as a tree — compile GFM Markdown to Telegram HTML with fence-aware splitting, clean any markup to what Telegram accepts, cut long text into valid parts by what the reader sees, check markup before it is sent |
|
|
89
|
+
| `stitchkit/telegram/voice` | browser and server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the waveform of a voice message as one format — packed for `sendVoice` the way Telegram Desktop scales it, unpacked to draw it, a `getMe` read of whether the server takes it |
|
|
90
|
+
| `stitchkit/telegram/screens` | server (Bun or Node) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | a bot's menus as declared screens over grammY — typed paths, actions and input, message reconciliation, state in any `StorageAdapter`, a test chat |
|
|
91
|
+
| `stitchkit/tracking` | browser **and** server | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | visitor-tracking mechanics — `createTrackingClient`, the tab-shared outbox, the page-leave beacon, attribution, the contract factory; no event vocabulary, no React |
|
|
92
|
+
| `stitchkit/tracking/contract` | browser **and** server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the wire shapes — the contract factory, event and visit schemas, the performance sample and its trust threshold; brings `zod` |
|
|
93
|
+
| `stitchkit/tracking/performance` | browser **and** server | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | Web Vitals from real visitors, collected after load through the optional peer `web-vitals`; no `zod` |
|
|
94
|
+
| `stitchkit/tracking/server` | server (Bun or Node) | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the decisions a tracking backend makes — dispositions, visit lease over an application-owned store, active intervals, presence; no database |
|
|
95
|
+
| `stitchkit/release` | browser **and** server | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | a page follows the release it was built for — `createReleaseMarker` on the server, `createReleaseWatcher` in the browser, the `X-Build-Id` header and a socket event between them |
|
|
96
|
+
| `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the mechanics of a live voice reply — `SentenceCutter`, `speakableText`, a `SpeechQueue` that synthesises ahead and stops on interruption, the conversation phases |
|
|
97
|
+
| `stitchkit/sync` | browser **and** server | evolving<br>_redefined in 1 of the 6 minors since 0.127.0, most recently 0.132.0_ | the client half of an offline-first sync — which outbox rows leave next, pending edits on top of remote rows, deletes that win until acknowledged, the cursor session, the push and page wire with an open outcome vocabulary; no driver, runs in Hermes |
|
|
98
|
+
| `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | the server half — versions that commit in order, a ledger that runs each change once, a feed of what changed, inside the app's own transaction; a memory store and `checkSyncStore` |
|
|
99
|
+
| `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | managed GeoIP reader generations, last-known-good reload and the optional MaxMind adapter |
|
|
100
|
+
| `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the place snapshot schema, for a shared contract that stores or sends `GeoAttribution`; brings `zod` |
|
|
101
|
+
| `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | a workbook from rows and typed columns, with no dependency; text never runs as a formula |
|
|
102
|
+
| `stitchkit/oauth` | browser **and** server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | provider-neutral Authorization Code + PKCE request and one-shot callback transaction mechanics |
|
|
103
|
+
| `stitchkit/google` | server (Bun or Node) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | optional Google code exchange and verified OIDC identity adapter |
|
|
104
|
+
| `stitchkit/observability` | server | stable<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | request/tool event projections — `createObservability`, trace context, sanitisation |
|
|
105
|
+
| `stitchkit/testing` | tests on Bun or Node | stable<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | in-process generated clients over a real Fetch handler, the managed-resource conformance kit and manual time for schedules and retries |
|
|
106
|
+
| `stitchkit/declaration` | browser + build and deployment tooling (Bun or Node) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.128.0_ | `ProjectDeclarationSchema` — the one machine-readable statement a repository makes about itself |
|
|
107
|
+
| `stitchkit/react` | browser + server rendering | stable<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | `createCursorQuery`, `createCacheBridge`, QueryClient and `ApiError` retry policy |
|
|
108
|
+
| `stitchkit/react/keyboard` | browser | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.115.0_ | which part of a screen gets a key — ordered layers, one Escape per level, list zones with real focus; see [keyboard guide](keyboard.md) |
|
|
109
|
+
| `stitchkit/react/keyboard/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the keyboard layers and zones without a DOM — fakes for the window, elements and key events beside the two engines, to test the order of layers, `scope`/`inert` and the edges of a zone in milliseconds |
|
|
110
|
+
| `stitchkit/agent-runtime` | server | evolving<br>_redefined in 9 of the 39 minors since 0.94.0, most recently 0.128.0_ | optional durable conversation/run loop, history, models, prompts, fencing and events |
|
|
111
|
+
| `stitchkit/agent-runtime/sandbox` | server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | optional Linux Bubblewrap sessions, host sandbox capability probes, durable workspaces and a host HTTP credential gateway; see [sandbox guide](sandbox.md) |
|
|
112
|
+
| `stitchkit/agent-runtime/testing` | tests on Bun or Node | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | credential-free replay, scripted provider faults, deterministic race controls and the agent-store conformance kit |
|
|
113
|
+
| `stitchkit/agent-runtime/harness` | server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | resource-aware process-local facade over the canonical Agent runtime; supervision stays outside |
|
|
114
|
+
| `stitchkit/agent-runtime/coding-tools` | server (Bun or Node) | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | bounded host-authorized direct file and shell tools; a root boundary, not an OS sandbox |
|
|
115
|
+
| `stitchkit/agent-runtime/openrouter` | server | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | isolated OpenRouter language-model adapter |
|
|
116
|
+
| `stitchkit/agent-runtime/browser` | browser + server | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | canonical agent records, events, reconnect cursor and optional conversation controller |
|
|
117
|
+
| `stitchkit/agent-runtime/react` | browser + server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | React subscription to an application-owned agent controller |
|
|
118
|
+
| `stitchkit/agent-runtime/realtime` | server (Bun or Node) | evolving<br>_redefined in 2 of the 39 minors since 0.94.0, most recently 0.127.0_ | authorized agent control over the existing Socket.IO server |
|
|
119
|
+
| `stitchkit/agent-executor` | server (Bun or Node) | evolving<br>_redefined in 3 of the 6 minors since 0.127.0, most recently 0.131.0_ | the executor ↔ server contract for external coding agents (Claude Code, Codex, ACP): delta vocabulary over the shared message parts, thread leases with a fence, turn phases and their reports |
|
|
120
|
+
| `stitchkit/agent-executor/claude` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | the Claude Code driver: the unmodified CLI over `stream-json`, permission requests answered by the host, reconcile by the input's id in the profile's transcript |
|
|
121
|
+
| `stitchkit/agent-executor/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 1 of the 6 minors since 0.127.0, most recently 0.131.0_ | Claude through the Agent SDK: the application's `query` (optional peer `@anthropic-ai/claude-agent-sdk`), the CLI's classifier, `canUseTool` asked of the host |
|
|
122
|
+
| `stitchkit/agent-executor/acp` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | an Agent Client Protocol v1 agent over stdio: settings by category, images, MCP servers, `session/resume`/`load`/`list`, `session/cancel`; no reconcile |
|
|
123
|
+
| `stitchkit/agent-executor/codex` | server (Bun or Node) | evolving<br>_redefined in 2 of the 6 minors since 0.127.0, most recently 0.131.0_ | the Codex driver: `codex app-server` over stdio or Unix-socket WebSocket (`unix-listen` / `unix-connect`), thread policy and live controls, approval and input requests answered by the host, unknown server requests refused, reconcile by the client id in `thread/turns/list` |
|
|
124
|
+
| `stitchkit/agent-executor/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | the engine conformance kit, deterministic replay driver, portable fake Codex app-server, multi-turn fake Claude SDK query harness, fail-loud consumer stub factories, and schema-validated test fixtures |
|
|
125
|
+
| `stitchkit/agent-runtime/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 6 minors since 0.127.0_ | the agent store, conversation reader and companion host on Postgres, over the application's own client (Bun SQL, Prisma, `pg`) |
|
|
126
|
+
| `stitchkit/agent-runtime/sqlite/bun` | server (Bun) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | durable built-in SQLite store for the agent runtime |
|
|
127
|
+
| `stitchkit/agent-runtime/sqlite/node` | server (Node ≥ 22.5) | evolving<br>_redefined in 1 of the 39 minors since 0.94.0, most recently 0.127.0_ | durable built-in SQLite store for the agent runtime |
|
|
128
128
|
| `stitchkit-tui` | terminal (Bun) | evolving | optional official OpenTUI host over a caller-composed headless runtime |
|
|
129
|
-
| `stitchkit/application` | browser + server | evolving<br>_redefined in 9 of the
|
|
130
|
-
| `stitchkit/application/grammy` | server | evolving<br>_redefined in 0 of the
|
|
131
|
-
| `stitchkit/application/opentelemetry` | server | evolving<br>_redefined in 0 of the
|
|
132
|
-
| `stitchkit/application/diagnostic-journal` | server | evolving<br>_redefined in 3 of the
|
|
133
|
-
| `stitchkit/application/directory-inbox` | server | evolving<br>_redefined in 0 of the
|
|
129
|
+
| `stitchkit/application` | browser + server | evolving<br>_redefined in 9 of the 39 minors since 0.94.0, most recently 0.127.0_ | managed resource graph, readiness, admission, schedules, subtree restart and bounded shutdown |
|
|
130
|
+
| `stitchkit/application/grammy` | server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | a grammY bot as application resources — configuration, then polling with updates admitted by batch — and the webhook adapter |
|
|
131
|
+
| `stitchkit/application/opentelemetry` | server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | maps application snapshots onto an injected OpenTelemetry `Meter` |
|
|
132
|
+
| `stitchkit/application/diagnostic-journal` | server | evolving<br>_redefined in 3 of the 39 minors since 0.94.0, most recently 0.127.0_ | the local diagnostic journal — an exclusive bounded writer and snapshot reader with explicit anomalies |
|
|
133
|
+
| `stitchkit/application/directory-inbox` | server | evolving<br>_redefined in 0 of the 39 minors since 0.94.0_ | the directory inbox — entries another program drops into a directory, delivered to the application at least once |
|
|
134
134
|
|
|
135
135
|
Rule of thumb: browser code imports `stitchkit` and `stitchkit/react`; server
|
|
136
136
|
code adds `stitchkit/server` (or `stitchkit/node` on Node) and opts into
|
package/llms/sync.txt
CHANGED
|
@@ -141,7 +141,7 @@ import { createSyncSession } from 'stitchkit/sync';
|
|
|
141
141
|
|
|
142
142
|
const session = createSyncSession({
|
|
143
143
|
isConnected: () => socket.connected,
|
|
144
|
-
readCursor: () => db.cursor(), //
|
|
144
|
+
readCursor: () => db.cursor(), // null starts a snapshot; a saved version, including 0, starts the feed
|
|
145
145
|
beginFullSync: () => db.resetCursor(), // keeps the projection; nothing is deleted yet
|
|
146
146
|
send: (request) => socket.emit('sync_request', toWire(request)),
|
|
147
147
|
apply: (page, context) => db.applyPage(page, context), // { current, snapshot }: see above
|
|
@@ -1,14 +1,34 @@
|
|
|
1
|
-
# Upgrading 0.128.0 → 0.
|
|
1
|
+
# Upgrading 0.128.0 → 0.132.0 — stitchkit docs slice
|
|
2
2
|
|
|
3
3
|
> Generated from the `docs/` tree by `bun run gen:llms`. The index of all slices is
|
|
4
4
|
> `llms.txt` in this package.
|
|
5
5
|
|
|
6
|
-
Contains: Guide: Upgrading, 0.128.0 → 0.
|
|
6
|
+
Contains: Guide: Upgrading, 0.128.0 → 0.132.0 (docs/guide/upgrading.md)
|
|
7
7
|
|
|
8
8
|
==============================================================================
|
|
9
|
-
# Guide: Upgrading, 0.128.0 → 0.
|
|
9
|
+
# Guide: Upgrading, 0.128.0 → 0.132.0 (docs/guide/upgrading.md)
|
|
10
10
|
==============================================================================
|
|
11
11
|
|
|
12
|
+
## Released migration: 0.132.0
|
|
13
|
+
|
|
14
|
+
### saved-sync-cursor-zero
|
|
15
|
+
|
|
16
|
+
**Who must act:** users of `stitchkit/sync` whose cursor reader returns zero for an uninitialized replica.
|
|
17
|
+
|
|
18
|
+
Return `null` until the first snapshot completes. A saved `0` requests the incremental feed after version zero.
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
// Before: a missing row and a completed snapshot at zero shared the same marker.
|
|
22
|
+
readCursor: () => row?.version ?? 0
|
|
23
|
+
// After: preserve every published server version.
|
|
24
|
+
readCursor: () => row?.version ?? null
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
If an old store persisted zero for both states and has no completion marker, perform one full
|
|
28
|
+
snapshot for those ambiguous rows. Preserve pending operations and active snapshot resume tokens.
|
|
29
|
+
Adapters that added one to wire versions can now pass them directly. If the offset was applied
|
|
30
|
+
only at the port boundary, remove the translation there and keep the stored server versions.
|
|
31
|
+
|
|
12
32
|
## Released migration: 0.131.0
|
|
13
33
|
|
|
14
34
|
### codex-typed-control-dtos
|
package/llms/upgrading.txt
CHANGED
|
@@ -11,7 +11,7 @@ Contains: Guide: Upgrading, general (docs/guide/upgrading.md)
|
|
|
11
11
|
|
|
12
12
|
Load this slice, then every range slice between your installed version and the target:
|
|
13
13
|
|
|
14
|
-
- 0.128.0 → 0.
|
|
14
|
+
- 0.128.0 → 0.132.0: `llms/upgrading-0.128.0-0.132.0.txt`
|
|
15
15
|
- 0.127.0 → 0.127.0: `llms/upgrading-0.127.0.txt`
|
|
16
16
|
- 0.106.0 → 0.126.0: `llms/upgrading-0.106.0-0.126.0.txt`
|
|
17
17
|
- 0.96.0 → 0.105.0: `llms/upgrading-0.96.0-0.105.0.txt`
|