stitchkit 0.137.0 → 0.137.1

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/application/watch-hub-core.d.ts +4 -4
  3. package/dist/application/watch-hub-core.d.ts.map +1 -1
  4. package/dist/application/watch-hub-source.d.ts +11 -6
  5. package/dist/application/watch-hub-source.d.ts.map +1 -1
  6. package/dist/entrypoints/agent-runtime/harness.js +7 -7
  7. package/dist/entrypoints/agent-runtime/postgres.js +4 -4
  8. package/dist/entrypoints/agent-runtime/sqlite/bun.js +5 -5
  9. package/dist/entrypoints/agent-runtime/sqlite/node.js +5 -5
  10. package/dist/entrypoints/agent-runtime/testing.js +4 -4
  11. package/dist/entrypoints/agent-runtime.js +10 -10
  12. package/dist/entrypoints/application.js +43 -24
  13. package/dist/entrypoints/cli/publish.js +1 -1
  14. package/dist/entrypoints/cli.js +6 -6
  15. package/dist/entrypoints/contract.js +1 -1
  16. package/dist/entrypoints/device-relay.js +1 -1
  17. package/dist/entrypoints/files.js +1 -1
  18. package/dist/entrypoints/http.js +2 -2
  19. package/dist/entrypoints/index.js +3 -3
  20. package/dist/entrypoints/live.js +3 -3
  21. package/dist/entrypoints/node.js +1 -1
  22. package/dist/entrypoints/observability.js +1 -1
  23. package/dist/entrypoints/primitives.js +1 -1
  24. package/dist/entrypoints/server.js +1 -1
  25. package/dist/entrypoints/service-host/macos.js +3 -3
  26. package/dist/entrypoints/service-host/work.js +2 -2
  27. package/dist/entrypoints/service-host.js +5 -5
  28. package/dist/entrypoints/sync/postgres.js +1 -1
  29. package/dist/entrypoints/telegram/screens.js +2 -2
  30. package/dist/entrypoints/telegram.js +1 -1
  31. package/dist/entrypoints/testing.js +5 -5
  32. package/dist/entrypoints/tools/agent.js +3 -3
  33. package/dist/entrypoints/tools/connections.js +2 -2
  34. package/dist/entrypoints/tools/invoker.js +2 -2
  35. package/dist/entrypoints/tools/mcp.js +4 -4
  36. package/dist/entrypoints/tools/toolkit.js +7 -7
  37. package/dist/entrypoints/tools.js +6 -6
  38. package/dist/{index-rzc40z6e.js → index-0hg9qn4k.js} +1 -1
  39. package/dist/index-1q3g9tm7.js +42 -0
  40. package/dist/{index-1cfacbe2.js → index-2m40m971.js} +1 -1
  41. package/dist/{index-n74rb1dq.js → index-2x17xa52.js} +1 -1
  42. package/dist/{index-2j0pqxkn.js → index-3es8zyj7.js} +1 -1
  43. package/dist/{index-v64bvwjr.js → index-4ae1ahw7.js} +1 -1
  44. package/dist/{index-1bjwfnnj.js → index-5syxb9dh.js} +2 -2
  45. package/dist/{index-r1qt6zgj.js → index-7qhe3pta.js} +1 -1
  46. package/dist/{index-dp8j2e77.js → index-7tgda0jh.js} +2 -2
  47. package/dist/{index-z72agxdn.js → index-9ky1bh2k.js} +1 -1
  48. package/dist/{index-x2r0ma9t.js → index-9xpmj6rr.js} +1 -1
  49. package/dist/{index-scpcps66.js → index-ancgrcrq.js} +1 -1
  50. package/dist/{index-egpf9dv0.js → index-aw751yg0.js} +2 -2
  51. package/dist/{index-xvydbxmk.js → index-bnv8z91r.js} +2 -2
  52. package/dist/{index-tyyvbarf.js → index-by9bdgsg.js} +114 -39
  53. package/dist/{index-brhhaygm.js → index-e0e6m982.js} +1 -1
  54. package/dist/{index-pyazb8q4.js → index-h0vxzxfs.js} +2 -2
  55. package/dist/{index-frsd2a94.js → index-k9hdafzy.js} +1 -1
  56. package/dist/{index-77w5vx0g.js → index-m5npwse4.js} +1 -1
  57. package/dist/{index-2e4hdh32.js → index-rh6fg0fj.js} +1 -1
  58. package/dist/{index-ezgvsj9w.js → index-s5yrh7ej.js} +1 -1
  59. package/dist/{index-9nax7tkn.js → index-tm0sehb1.js} +3 -3
  60. package/dist/{index-3dq8466w.js → index-tvgwnxdk.js} +7 -4
  61. package/dist/{index-3f79t32b.js → index-vhgaazx9.js} +1 -1
  62. package/dist/{index-kaq9nb7h.js → index-vr5eknjs.js} +1 -1
  63. package/dist/{index-g0gvfzrx.js → index-w2yqhn8d.js} +5 -5
  64. package/dist/{index-8rkdkefj.js → index-xbkcky5q.js} +5 -5
  65. package/dist/{index-z6hq9j8j.js → index-zgkxc19c.js} +1 -1
  66. package/dist/{index-t7efje30.js → index-zpxf4zy7.js} +1 -1
  67. package/dist/internal/canonical-json.d.ts +5 -1
  68. package/dist/internal/canonical-json.d.ts.map +1 -1
  69. package/dist/internal/stable-digest.d.ts +8 -0
  70. package/dist/internal/stable-digest.d.ts.map +1 -1
  71. package/dist/live/watch-delta.d.ts.map +1 -1
  72. package/package.json +1 -1
  73. package/dist/index-fmzg39a8.js +0 -31
package/CHANGELOG.md CHANGED
@@ -15,6 +15,13 @@ additive**; the first breaking change landed in 0.10.0. Grep the file for
15
15
 
16
16
  ## [Unreleased]
17
17
 
18
+ ## [0.137.1] - 2026-12-04
19
+
20
+ ### Fixed
21
+
22
+ - `stitchkit/application`, `stitchkit/live` — `createWatchHub` now reuses each read's canonical JSON signature for both equality comparison and wire frame fingerprinting instead of serializing values 3–4 times per read, skips canonical serialization via `Object.is` on unchanged references and on custom `same` unchanged checks, memoizes per-revision diff frames across subscribers in one publish, and `watchDiff` skips `Object.is`-identical subtrees, primitive leaves, and array prefixes/suffixes while memoizing shared middle-slice subtrees per diff.
23
+ **Affects:** `stitchkit/application` createWatchHub; `stitchkit/live` watchDiff
24
+
18
25
  ## [0.137.0] - 2026-12-04
19
26
 
20
27
  ### ⚠️ Breaking changes
@@ -4,7 +4,7 @@
4
4
  * against what it holds — and the release of a source nobody watches.
5
5
  */
6
6
  import { ABANDONED_PASS } from '../internal/coalesced-task.js';
7
- import { type WatchKey, type WatchStateFrame } from '../live/watch-contract.js';
7
+ import { type WatchKey, type WatchStateFrame, type WatchValueFrame } from '../live/watch-contract.js';
8
8
  import type { AttachedWatcher, WatchAdmissionScope, WatchHubConfig, WatchOperation, WatchSubscriber } from './watch-hub.js';
9
9
  import { type Source } from './watch-hub-source.js';
10
10
  /**
@@ -19,7 +19,7 @@ export declare class WatchHubCore {
19
19
  readonly maxWatches: number;
20
20
  readonly holdMs: number;
21
21
  readonly deltaMemoryBytes: number;
22
- readonly same: NonNullable<WatchHubConfig['same']>;
22
+ readonly customSame?: WatchHubConfig['same'];
23
23
  reads: number;
24
24
  closed: boolean;
25
25
  periodic?: ReturnType<typeof setInterval>;
@@ -36,8 +36,8 @@ export declare class WatchHubCore {
36
36
  */
37
37
  tell(key: WatchKey, send: () => void): boolean;
38
38
  announceState(source: Source, state: WatchStateFrame): void;
39
- deliver(source: Source, subscriber: WatchSubscriber): boolean;
40
- publish(source: Source, value: unknown, fingerprint: string): void;
39
+ deliver(source: Source, subscriber: WatchSubscriber, frameCache?: Map<number, WatchValueFrame>, cachedFull?: WatchValueFrame): boolean;
40
+ publish(source: Source, value: unknown, fingerprint: string, signature?: string): void;
41
41
  readSource(source: Source): Promise<typeof ABANDONED_PASS | undefined>;
42
42
  readFailed(source: Source, error: unknown): void;
43
43
  acquire(operation: WatchOperation, routed: WatchKey, args: unknown, scope?: string): Source;
@@ -1 +1 @@
1
- {"version":3,"file":"watch-hub-core.d.ts","sourceRoot":"","sources":["../../src/application/watch-hub-core.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,EAAE,cAAc,EAAuB,MAAM,4BAA4B,CAAC;AAEjF,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,eAAe,EAAkB,MAAM,wBAAwB,CAAC;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,eAAe,EAChB,MAAM,aAAa,CAAC;AACrB,OAAO,EAKL,KAAK,MAAM,EAEZ,MAAM,oBAAoB,CAAC;AAI5B;;;;GAIG;AACH,qBAAa,YAAY;IAWX,QAAQ,CAAC,MAAM,EAAE,cAAc;IAV3C,QAAQ,CAAC,OAAO,sBAA6B;IAC7C,QAAQ,CAAC,IAAI,4CAAmD;IAChE,QAAQ,CAAC,UAAU,EAAE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AAC,EACzC,UAAU,CAAC,EAAE,eAAe,GAC3B,OAAO,CAQT;IAED,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAqBrF;IAEK,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,cAAc,GAAG,SAAS,CAAC,CAmC3E;IAED,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAgB/C;IAED,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CA0C1F;IAED,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAkC5B;IAED;;;OAGG;IACH,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAQxE;IAED,MAAM,CAAC,UAAU,EAAE,eAAe,EAAE,KAAK,CAAC,EAAE,mBAAmB,GAAG,eAAe,CAkHhF;IAED,KAAK,IAAI,IAAI,CA0CZ;CACF"}
@@ -1,8 +1,3 @@
1
- /**
2
- * What a watch source remembers about its value — the current revision, the
3
- * superseded ones still worth a difference, and what each subscriber holds —
4
- * and the frame each subscriber is sent from it.
5
- */
6
1
  import type { CoalescedTask } from '../internal/coalesced-task.js';
7
2
  import type { WatchHave, WatchKey, WatchStateFrame, WatchValueFrame } from '../live/watch-contract.js';
8
3
  import type { WatchOperation, WatchSubscriber } from './watch-hub.js';
@@ -21,6 +16,7 @@ export interface Source {
21
16
  readonly routes: Map<WatchSubscriber, Map<string, WatchKey>>;
22
17
  readonly unsubscribes: (() => void)[];
23
18
  revision: number;
19
+ hasValue: boolean;
24
20
  value?: unknown;
25
21
  signature?: string;
26
22
  fingerprint?: string;
@@ -73,7 +69,7 @@ export declare function remember(source: Source, deltaMemoryBytes: number, revis
73
69
  * is the behaviour this replaces.
74
70
  */
75
71
  export declare function fullFrame(source: Source): WatchValueFrame;
76
- export declare function frameFor(source: Source, subscriber: WatchSubscriber): WatchValueFrame;
72
+ export declare function frameFor(source: Source, subscriber: WatchSubscriber, frameCache?: Map<number, WatchValueFrame>, cachedFull?: WatchValueFrame): WatchValueFrame;
77
73
  /**
78
74
  * Believe a reconnecting subscriber about what it holds, as far as the
79
75
  * fingerprint goes.
@@ -89,6 +85,15 @@ export declare function frameFor(source: Source, subscriber: WatchSubscriber): W
89
85
  * reconstruct.
90
86
  */
91
87
  export declare function adoptBaseline(source: Source, subscriber: WatchSubscriber, have: WatchHave): void;
88
+ /**
89
+ * The identity of a value from its already-computed canonical JSON text.
90
+ *
91
+ * Matches `argumentsDigest({ value })` byte for byte: `serializeCanonicalJson`
92
+ * yields `'undefined'` if and only if the value is omitted in an object
93
+ * (`undefined`, a plain function, or a symbol), whereas the string `'undefined'`
94
+ * serialises to `'"undefined"'`.
95
+ */
96
+ export declare function valueFingerprintFromCanonical(canonical: string): string;
92
97
  /**
93
98
  * The identity of a value, order-independent and synchronous.
94
99
  *
@@ -1 +1 @@
1
- {"version":3,"file":"watch-hub-source.d.ts","sourceRoot":"","sources":["../../src/application/watch-hub-source.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,KAAK,EACV,SAAS,EACT,QAAQ,EACR,eAAe,EACf,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnE,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,GAAG,EAAE,QAAQ,CA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BAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEvD"}
@@ -5,21 +5,21 @@ import"../../index-ks4rhtcc.js";
5
5
  import"../../index-px9r6wv1.js";
6
6
  import"../../index-gvv7y0s4.js";
7
7
  import"../../index-4q9tmzea.js";
8
- import"../../index-kaq9nb7h.js";
8
+ import"../../index-vr5eknjs.js";
9
9
  import {
10
10
  createAgentRuntime2,
11
11
  composeAgentPrompt2
12
- } from "../../index-g0gvfzrx.js";
12
+ } from "../../index-w2yqhn8d.js";
13
13
  import"../../index-dsa676h8.js";
14
14
  import"../../index-ha1tv70k.js";
15
15
  import"../../index-d1pdv8qc.js";
16
16
  import"../../index-hgf1tbgz.js";
17
- import"../../index-scpcps66.js";
17
+ import"../../index-ancgrcrq.js";
18
18
  import"../../index-werjqesf.js";
19
19
  import"../../index-m38ej7e5.js";
20
20
  import"../../index-yt1gg11x.js";
21
21
  import"../../index-kw0segzt.js";
22
- import"../../index-brhhaygm.js";
22
+ import"../../index-e0e6m982.js";
23
23
  import"../../index-snef22zr.js";
24
24
  import"../../index-xrsryvd2.js";
25
25
  import {
@@ -36,12 +36,12 @@ import {
36
36
  } from "../../index-p9cab61p.js";
37
37
  import"../../index-1ckh9qx1.js";
38
38
  import"../../index-knqye3gv.js";
39
- import"../../index-ezgvsj9w.js";
39
+ import"../../index-s5yrh7ej.js";
40
40
  import"../../index-s5axtd56.js";
41
41
  import"../../index-hxawqrb6.js";
42
- import"../../index-pyazb8q4.js";
42
+ import"../../index-h0vxzxfs.js";
43
43
  import"../../index-xrgn784x.js";
44
- import"../../index-rzc40z6e.js";
44
+ import"../../index-0hg9qn4k.js";
45
45
  import {
46
46
  defineRuntimeTool2
47
47
  } from "../../index-ze94h4ph.js";
@@ -12,9 +12,9 @@ import {
12
12
  setPostgresTransactionIsolation,
13
13
  runPostgresTransaction,
14
14
  createAgentRuntimeStore2
15
- } from "../../index-v64bvwjr.js";
16
- import"../../index-kaq9nb7h.js";
17
- import"../../index-brhhaygm.js";
15
+ } from "../../index-4ae1ahw7.js";
16
+ import"../../index-vr5eknjs.js";
17
+ import"../../index-e0e6m982.js";
18
18
  import"../../index-d13rw31w.js";
19
19
  import {
20
20
  createCompanionHost,
@@ -27,7 +27,7 @@ import {
27
27
  scanSqlRecoverable,
28
28
  listSqlConversations,
29
29
  pageSqlConversationMessages
30
- } from "../../index-1bjwfnnj.js";
30
+ } from "../../index-5syxb9dh.js";
31
31
  import"../../index-v92djygb.js";
32
32
  import"../../index-werjqesf.js";
33
33
  import"../../index-6kec3b14.js";
@@ -3,16 +3,16 @@ import"../../../index-jy907kcs.js";
3
3
  import"../../../index-ks4rhtcc.js";
4
4
  import"../../../index-px9r6wv1.js";
5
5
  import"../../../index-gvv7y0s4.js";
6
- import"../../../index-v64bvwjr.js";
7
- import"../../../index-kaq9nb7h.js";
8
- import"../../../index-brhhaygm.js";
6
+ import"../../../index-4ae1ahw7.js";
7
+ import"../../../index-vr5eknjs.js";
8
+ import"../../../index-e0e6m982.js";
9
9
  import"../../../index-d13rw31w.js";
10
- import"../../../index-1bjwfnnj.js";
10
+ import"../../../index-5syxb9dh.js";
11
11
  import"../../../index-v92djygb.js";
12
12
  import {
13
13
  initializeAgentRuntimeSqlite2,
14
14
  createSqliteAgentRuntimeStore2
15
- } from "../../../index-9nax7tkn.js";
15
+ } from "../../../index-tm0sehb1.js";
16
16
  import"../../../index-werjqesf.js";
17
17
  import"../../../index-6kec3b14.js";
18
18
  import"../../../index-tgehj4bp.js";
@@ -3,16 +3,16 @@ import"../../../index-jy907kcs.js";
3
3
  import"../../../index-ks4rhtcc.js";
4
4
  import"../../../index-px9r6wv1.js";
5
5
  import"../../../index-gvv7y0s4.js";
6
- import"../../../index-v64bvwjr.js";
7
- import"../../../index-kaq9nb7h.js";
8
- import"../../../index-brhhaygm.js";
6
+ import"../../../index-4ae1ahw7.js";
7
+ import"../../../index-vr5eknjs.js";
8
+ import"../../../index-e0e6m982.js";
9
9
  import"../../../index-d13rw31w.js";
10
- import"../../../index-1bjwfnnj.js";
10
+ import"../../../index-5syxb9dh.js";
11
11
  import"../../../index-v92djygb.js";
12
12
  import {
13
13
  initializeAgentRuntimeSqlite2,
14
14
  createSqliteAgentRuntimeStore2
15
- } from "../../../index-9nax7tkn.js";
15
+ } from "../../../index-tm0sehb1.js";
16
16
  import"../../../index-werjqesf.js";
17
17
  import"../../../index-6kec3b14.js";
18
18
  import"../../../index-tgehj4bp.js";
@@ -8,16 +8,16 @@ import {
8
8
  AgentRunSchema2,
9
9
  AgentSnapshotSchema2
10
10
  } from "../../index-gvv7y0s4.js";
11
- import"../../index-brhhaygm.js";
11
+ import"../../index-e0e6m982.js";
12
12
  import {
13
13
  canonicalAgentJson2,
14
14
  encodeAgentConversationArchive2,
15
15
  decodeAgentConversationArchive2
16
- } from "../../index-kaq9nb7h.js";
16
+ } from "../../index-vr5eknjs.js";
17
17
  import {
18
18
  AgentConversationBranchRefusedError2,
19
19
  AgentStoreUnsupportedCapabilityError2
20
- } from "../../index-v64bvwjr.js";
20
+ } from "../../index-4ae1ahw7.js";
21
21
  import"../../index-d13rw31w.js";
22
22
  import"../../index-werjqesf.js";
23
23
  import"../../index-6kec3b14.js";
@@ -26,7 +26,7 @@ import"../../index-wq71v08n.js";
26
26
  import"../../index-snef22zr.js";
27
27
  import {
28
28
  createMemoryAgentRuntimeStore2
29
- } from "../../index-dp8j2e77.js";
29
+ } from "../../index-7tgda0jh.js";
30
30
  import {
31
31
  createToolChronology,
32
32
  advanceToolChronology
@@ -124,14 +124,14 @@ import {
124
124
  AgentSeedReceiptSchema2,
125
125
  AgentHistoryMutationSchema2,
126
126
  ACTIVE_AGENT_RUN_STATES2
127
- } from "../index-kaq9nb7h.js";
127
+ } from "../index-vr5eknjs.js";
128
128
  import"../index-ha1tv70k.js";
129
129
  import"../index-d1pdv8qc.js";
130
130
  import"../index-dsa676h8.js";
131
131
  import"../index-hgf1tbgz.js";
132
132
  import {
133
133
  resolveToolAccess
134
- } from "../index-scpcps66.js";
134
+ } from "../index-ancgrcrq.js";
135
135
  import"../index-yt1gg11x.js";
136
136
  import"../index-kw0segzt.js";
137
137
  import"../index-werjqesf.js";
@@ -170,7 +170,7 @@ import {
170
170
  createAgentEventSearchTools2,
171
171
  AgentStoreUnsupportedCapabilityError2,
172
172
  createAgentRuntimeStore2
173
- } from "../index-v64bvwjr.js";
173
+ } from "../index-4ae1ahw7.js";
174
174
  import {
175
175
  AgentContextOverflowError2,
176
176
  unknownUsage,
@@ -216,7 +216,7 @@ import {
216
216
  AgentTokenCountSchema2,
217
217
  selectAgentHistory2,
218
218
  composeAgentPrompt2
219
- } from "../index-g0gvfzrx.js";
219
+ } from "../index-w2yqhn8d.js";
220
220
  import"../index-m38ej7e5.js";
221
221
  import {
222
222
  DURABILITY_STEP_EVENT_KIND2,
@@ -227,7 +227,7 @@ import {
227
227
  ParkAbortedError2
228
228
  } from "../index-snef22zr.js";
229
229
  import"../index-xrsryvd2.js";
230
- import"../index-brhhaygm.js";
230
+ import"../index-e0e6m982.js";
231
231
  import {
232
232
  AgentModelCapabilitySchema2,
233
233
  AgentModelDescriptorSchema2,
@@ -263,7 +263,7 @@ import"../index-tgehj4bp.js";
263
263
  import"../index-wq71v08n.js";
264
264
  import {
265
265
  createMemoryAgentRuntimeStore2
266
- } from "../index-dp8j2e77.js";
266
+ } from "../index-7tgda0jh.js";
267
267
  import {
268
268
  AgentRuntimeConflictError2,
269
269
  AgentRunUnsettledError2,
@@ -292,8 +292,8 @@ import {
292
292
  } from "../index-knqye3gv.js";
293
293
  import {
294
294
  buildToolManifest2
295
- } from "../index-r1qt6zgj.js";
296
- import"../index-ezgvsj9w.js";
295
+ } from "../index-7qhe3pta.js";
296
+ import"../index-s5yrh7ej.js";
297
297
  import"../index-s5axtd56.js";
298
298
  import"../index-hxawqrb6.js";
299
299
  import {
@@ -302,10 +302,10 @@ import {
302
302
  import {
303
303
  zodToAgentInputJsonSchema,
304
304
  mountAgentTools2
305
- } from "../index-pyazb8q4.js";
305
+ } from "../index-h0vxzxfs.js";
306
306
  import"../index-rjs94dny.js";
307
307
  import"../index-xrgn784x.js";
308
- import"../index-rzc40z6e.js";
308
+ import"../index-0hg9qn4k.js";
309
309
  import {
310
310
  defineRuntimeTool2,
311
311
  executableAgentRuntimeTools
@@ -84,7 +84,7 @@ import {
84
84
  diff,
85
85
  deltaWins,
86
86
  watchKeyString2
87
- } from "../index-tyyvbarf.js";
87
+ } from "../index-by9bdgsg.js";
88
88
  import {
89
89
  rollbackSqliteFailure,
90
90
  rollbackSqliteFailureAsync
@@ -107,11 +107,12 @@ import {
107
107
  AppError2
108
108
  } from "../index-3pb4ccj2.js";
109
109
  import {
110
- argumentsDigest
111
- } from "../index-3dq8466w.js";
110
+ argumentsDigest,
111
+ digestCanonicalText
112
+ } from "../index-tvgwnxdk.js";
112
113
  import {
113
114
  serializeCanonicalJson
114
- } from "../index-fmzg39a8.js";
115
+ } from "../index-1q3g9tm7.js";
115
116
  import {
116
117
  assertTimerMs,
117
118
  withDeadline
@@ -2816,9 +2817,9 @@ function fullFrame(source) {
2816
2817
  value
2817
2818
  };
2818
2819
  }
2819
- function frameFor(source, subscriber) {
2820
+ function frameFor(source, subscriber, frameCache, cachedFull) {
2820
2821
  const value = source.value;
2821
- const full = fullFrame(source);
2822
+ const full = cachedFull ?? fullFrame(source);
2822
2823
  const fingerprint = full.fingerprint;
2823
2824
  const base = source.baselines.get(subscriber);
2824
2825
  if (base === undefined)
@@ -2826,13 +2827,14 @@ function frameFor(source, subscriber) {
2826
2827
  if (base === source.revision) {
2827
2828
  return { kind: "unchanged", key: source.key, revision: source.revision, fingerprint };
2828
2829
  }
2830
+ const memoized = frameCache?.get(base);
2831
+ if (memoized)
2832
+ return memoized;
2829
2833
  const held = source.history.get(base);
2830
2834
  if (!held)
2831
2835
  return full;
2832
2836
  const delta = diff(held.value, value);
2833
- if (delta === undefined || !deltaWins(delta, value))
2834
- return full;
2835
- return {
2837
+ const frame = delta === undefined || !deltaWins(delta, value) ? full : {
2836
2838
  kind: "delta",
2837
2839
  key: source.key,
2838
2840
  revision: source.revision,
@@ -2840,6 +2842,8 @@ function frameFor(source, subscriber) {
2840
2842
  base,
2841
2843
  delta
2842
2844
  };
2845
+ frameCache?.set(base, frame);
2846
+ return frame;
2843
2847
  }
2844
2848
  function adoptBaseline(source, subscriber, have) {
2845
2849
  if (source.fingerprint === have.fingerprint) {
@@ -2858,8 +2862,11 @@ function adoptBaseline(source, subscriber, have) {
2858
2862
  return;
2859
2863
  }
2860
2864
  }
2865
+ function valueFingerprintFromCanonical(canonical) {
2866
+ return digestCanonicalText(canonical === "undefined" ? "{}" : `{"value":${canonical}}`);
2867
+ }
2861
2868
  function valueFingerprint(value) {
2862
- return argumentsDigest({ value });
2869
+ return valueFingerprintFromCanonical(serializeCanonicalJson(value));
2863
2870
  }
2864
2871
 
2865
2872
  // src/application/watch-hub-core.ts
@@ -2872,7 +2879,7 @@ class WatchHubCore {
2872
2879
  maxWatches;
2873
2880
  holdMs;
2874
2881
  deltaMemoryBytes;
2875
- same;
2882
+ customSame;
2876
2883
  reads = 0;
2877
2884
  closed = false;
2878
2885
  periodic;
@@ -2897,7 +2904,7 @@ class WatchHubCore {
2897
2904
  }
2898
2905
  this.holdMs = config.holdMs ?? 0;
2899
2906
  this.deltaMemoryBytes = config.deltaMemoryBytes ?? 262144;
2900
- this.same = config.same ?? ((previous, next) => serializeCanonicalJson(previous) === serializeCanonicalJson(next));
2907
+ this.customSame = config.same;
2901
2908
  }
2902
2909
  tell(key, send) {
2903
2910
  try {
@@ -2919,8 +2926,8 @@ class WatchHubCore {
2919
2926
  }
2920
2927
  }
2921
2928
  }
2922
- deliver(source, subscriber) {
2923
- const frame = frameFor(source, subscriber);
2929
+ deliver(source, subscriber, frameCache, cachedFull) {
2930
+ const frame = frameFor(source, subscriber, frameCache, cachedFull);
2924
2931
  let delivered = true;
2925
2932
  for (const key of source.routes.get(subscriber)?.values() ?? []) {
2926
2933
  delivered = this.tell(key, () => subscriber.value({ ...frame, key })) && delivered;
@@ -2929,15 +2936,21 @@ class WatchHubCore {
2929
2936
  source.baselines.set(subscriber, source.revision);
2930
2937
  return delivered;
2931
2938
  }
2932
- publish(source, value, fingerprint) {
2933
- if (source.fingerprint !== undefined) {
2939
+ publish(source, value, fingerprint, signature) {
2940
+ if (source.hasValue && source.fingerprint !== undefined) {
2934
2941
  remember(source, this.deltaMemoryBytes, source.revision, source.value, source.fingerprint);
2935
2942
  }
2936
2943
  source.revision += 1;
2944
+ source.hasValue = true;
2937
2945
  source.value = value;
2938
2946
  source.fingerprint = fingerprint;
2947
+ source.signature = signature;
2948
+ if (source.subscribers.size === 0)
2949
+ return;
2950
+ const full = fullFrame(source);
2951
+ const frameCache = source.subscribers.size > 1 ? new Map : undefined;
2939
2952
  for (const subscriber of source.subscribers)
2940
- this.deliver(source, subscriber);
2953
+ this.deliver(source, subscriber, frameCache, full);
2941
2954
  }
2942
2955
  async readSource(source) {
2943
2956
  this.reads += 1;
@@ -2963,11 +2976,16 @@ class WatchHubCore {
2963
2976
  }
2964
2977
  if (this.closed || this.sources.get(source.id) !== source)
2965
2978
  return;
2966
- const signature = serializeCanonicalJson(value);
2967
- const unchanged = source.signature !== undefined && this.same(source.value, value);
2968
- source.signature = signature;
2969
- if (!unchanged)
2970
- this.publish(source, value, valueFingerprint(value));
2979
+ if (this.customSame) {
2980
+ const unchanged = source.hasValue && this.customSame(source.value, value);
2981
+ if (!unchanged)
2982
+ this.publish(source, value, valueFingerprint(value));
2983
+ } else if (!source.hasValue || !Object.is(source.value, value)) {
2984
+ const signature = serializeCanonicalJson(value);
2985
+ if (!source.hasValue || source.signature !== signature) {
2986
+ this.publish(source, value, valueFingerprintFromCanonical(signature), signature);
2987
+ }
2988
+ }
2971
2989
  if (source.state.phase !== "live")
2972
2990
  this.announceState(source, { key: source.key, phase: "live" });
2973
2991
  }
@@ -3002,6 +3020,7 @@ class WatchHubCore {
3002
3020
  routes: new Map,
3003
3021
  unsubscribes: [],
3004
3022
  revision: 0,
3023
+ hasValue: false,
3005
3024
  history: new Map,
3006
3025
  historyBytes: 0,
3007
3026
  baselines: new Map,
@@ -3113,7 +3132,7 @@ class WatchHubCore {
3113
3132
  if (have)
3114
3133
  adoptBaseline(source, subscriber, have);
3115
3134
  try {
3116
- if (source.signature !== undefined) {
3135
+ if (source.hasValue) {
3117
3136
  const frame = alreadyRouted && !have ? fullFrame(source) : frameFor(source, subscriber);
3118
3137
  subscriber.value({ ...frame, key });
3119
3138
  source.baselines.set(subscriber, source.revision);
@@ -3127,7 +3146,7 @@ class WatchHubCore {
3127
3146
  reason: error instanceof Error ? error.message : String(error)
3128
3147
  };
3129
3148
  }
3130
- if (!source.task.running && (source.signature === undefined || source.state.phase !== "live" || source.task.pending))
3149
+ if (!source.task.running && (!source.hasValue || source.state.phase !== "live" || source.task.pending))
3131
3150
  source.task.trigger();
3132
3151
  return { accepted: true };
3133
3152
  },
@@ -14,7 +14,7 @@ import {
14
14
  gzipCliAsset,
15
15
  decodeCliAsset,
16
16
  compareCliVersions2
17
- } from "../../index-1cfacbe2.js";
17
+ } from "../../index-2m40m971.js";
18
18
  import {
19
19
  RegularFileError2,
20
20
  readRegularFile2,
@@ -18,13 +18,13 @@ import {
18
18
  scanCliArgv,
19
19
  answersBeforeArguments,
20
20
  scanCliInvocation2
21
- } from "../index-egpf9dv0.js";
21
+ } from "../index-aw751yg0.js";
22
22
  import"../index-yt1gg11x.js";
23
23
  import"../index-kw0segzt.js";
24
24
  import {
25
25
  applyToolErrorMapping,
26
26
  toolErrorFromResult
27
- } from "../index-scpcps66.js";
27
+ } from "../index-ancgrcrq.js";
28
28
  import"../index-werjqesf.js";
29
29
  import"../index-8k3y9nd4.js";
30
30
  import"../index-6kec3b14.js";
@@ -35,7 +35,7 @@ import {
35
35
  extractCliGlobalOptions2,
36
36
  pollUntilDone2,
37
37
  createCli2
38
- } from "../index-xvydbxmk.js";
38
+ } from "../index-bnv8z91r.js";
39
39
  import"../index-h34c510q.js";
40
40
  import {
41
41
  createHttpClient2
@@ -62,7 +62,7 @@ import {
62
62
  checkCliUpdate2,
63
63
  applyCliUpdate2,
64
64
  rollbackCliUpdate2
65
- } from "../index-1cfacbe2.js";
65
+ } from "../index-2m40m971.js";
66
66
  import {
67
67
  RegularFileError2,
68
68
  decodeUtf8Strict,
@@ -82,7 +82,7 @@ import"../index-xrgn784x.js";
82
82
  import {
83
83
  stringifyJsonSafe
84
84
  } from "../index-gzqy81tw.js";
85
- import"../index-rzc40z6e.js";
85
+ import"../index-0hg9qn4k.js";
86
86
  import"../index-ze94h4ph.js";
87
87
  import {
88
88
  safeJsonParse
@@ -95,7 +95,7 @@ import {
95
95
  } from "../index-3pb4ccj2.js";
96
96
  import {
97
97
  argumentsDigest
98
- } from "../index-3dq8466w.js";
98
+ } from "../index-tvgwnxdk.js";
99
99
  import {
100
100
  setOwnMember
101
101
  } from "../index-3tb82xr7.js";
@@ -20,7 +20,7 @@ import {
20
20
  ContractFingerprintSchema2,
21
21
  contractFingerprint2,
22
22
  contractIdentityContract2
23
- } from "../index-t7efje30.js";
23
+ } from "../index-zpxf4zy7.js";
24
24
  import {
25
25
  defineContract2
26
26
  } from "../index-8ef1bfea.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "../index-0zw0hcyg.js";
16
16
  import {
17
17
  serializeCanonicalJson
18
- } from "../index-fmzg39a8.js";
18
+ } from "../index-1q3g9tm7.js";
19
19
  import {
20
20
  utf8ByteLength
21
21
  } from "../index-er1tp8de.js";
@@ -20,7 +20,7 @@ import {
20
20
  MAX_POLLED_JSON_PATHS2,
21
21
  PolledJsonFiles2,
22
22
  PolledJsonFile2
23
- } from "../index-77w5vx0g.js";
23
+ } from "../index-m5npwse4.js";
24
24
  import {
25
25
  ManagedFileError2,
26
26
  createManagedFileBoundary2
@@ -31,14 +31,14 @@ import {
31
31
  createUrlBuilders2,
32
32
  createScopedUrlBuilders2
33
33
  } from "../index-m5t4dr7h.js";
34
- import"../index-t7efje30.js";
34
+ import"../index-zpxf4zy7.js";
35
35
  import"../index-yt1gg11x.js";
36
36
  import"../index-kw0segzt.js";
37
37
  import"../index-werjqesf.js";
38
38
  import {
39
39
  uploadInChunks2,
40
40
  readContractIdentity2
41
- } from "../index-n74rb1dq.js";
41
+ } from "../index-2x17xa52.js";
42
42
  import {
43
43
  StreamLineLimitError2,
44
44
  StreamTruncatedLineError2
@@ -26,7 +26,7 @@ import {
26
26
  ContractFingerprintSchema2,
27
27
  contractFingerprint2,
28
28
  contractIdentityContract2
29
- } from "../index-t7efje30.js";
29
+ } from "../index-zpxf4zy7.js";
30
30
  import {
31
31
  ALL_TRANSPORTS2,
32
32
  TOOL_TRANSPORTS2
@@ -83,7 +83,7 @@ import {
83
83
  DEFAULT_REPEAT_WINDOW_MS2,
84
84
  DEFAULT_REPEAT_MAX_KINDS2,
85
85
  repeatLimited2
86
- } from "../index-3f79t32b.js";
86
+ } from "../index-vhgaazx9.js";
87
87
  import {
88
88
  createMutationQueue
89
89
  } from "../index-sykb5ag7.js";
@@ -93,7 +93,7 @@ import {
93
93
  import {
94
94
  uploadInChunks2,
95
95
  readContractIdentity2
96
- } from "../index-n74rb1dq.js";
96
+ } from "../index-2x17xa52.js";
97
97
  import {
98
98
  StreamLineLimitError2,
99
99
  StreamTruncatedLineError2
@@ -16,13 +16,13 @@ import {
16
16
  WATCH_STATE2,
17
17
  watchContract2,
18
18
  watchKeyString2
19
- } from "../index-tyyvbarf.js";
19
+ } from "../index-by9bdgsg.js";
20
20
  import {
21
21
  argumentsDigest
22
- } from "../index-3dq8466w.js";
22
+ } from "../index-tvgwnxdk.js";
23
23
  import {
24
24
  serializeCanonicalJson
25
- } from "../index-fmzg39a8.js";
25
+ } from "../index-1q3g9tm7.js";
26
26
  import {
27
27
  assertTimerMs
28
28
  } from "../index-e1y74yra.js";