agentfootprint 7.27.0 → 7.28.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.
Files changed (42) hide show
  1. package/README.md +2 -2
  2. package/dist/adapters/hosting/agentcore.js +124 -23
  3. package/dist/adapters/hosting/agentcore.js.map +1 -1
  4. package/dist/esm/adapters/hosting/agentcore.d.ts +14 -5
  5. package/dist/esm/adapters/hosting/agentcore.js +124 -23
  6. package/dist/esm/adapters/hosting/agentcore.js.map +1 -1
  7. package/dist/esm/hosting/index.d.ts +9 -0
  8. package/dist/esm/hosting/index.js +8 -0
  9. package/dist/esm/hosting/index.js.map +1 -1
  10. package/dist/esm/hosting/memorySessions.d.ts +3 -0
  11. package/dist/esm/hosting/memorySessions.js +3 -0
  12. package/dist/esm/hosting/memorySessions.js.map +1 -1
  13. package/dist/esm/hosting/sqliteSessions.d.ts +211 -0
  14. package/dist/esm/hosting/sqliteSessions.js +370 -0
  15. package/dist/esm/hosting/sqliteSessions.js.map +1 -0
  16. package/dist/esm/memory/define.js.map +1 -1
  17. package/dist/esm/memory/define.types.d.ts +15 -3
  18. package/dist/esm/memory/define.types.js.map +1 -1
  19. package/dist/esm/memory/index.d.ts +11 -1
  20. package/dist/esm/memory/index.js.map +1 -1
  21. package/dist/hosting/index.js +12 -1
  22. package/dist/hosting/index.js.map +1 -1
  23. package/dist/hosting/memorySessions.js +3 -0
  24. package/dist/hosting/memorySessions.js.map +1 -1
  25. package/dist/hosting/sqliteSessions.js +376 -0
  26. package/dist/hosting/sqliteSessions.js.map +1 -0
  27. package/dist/memory/define.js.map +1 -1
  28. package/dist/memory/define.types.js.map +1 -1
  29. package/dist/memory/index.js.map +1 -1
  30. package/dist/types/adapters/hosting/agentcore.d.ts +14 -5
  31. package/dist/types/adapters/hosting/agentcore.d.ts.map +1 -1
  32. package/dist/types/hosting/index.d.ts +9 -0
  33. package/dist/types/hosting/index.d.ts.map +1 -1
  34. package/dist/types/hosting/memorySessions.d.ts +3 -0
  35. package/dist/types/hosting/memorySessions.d.ts.map +1 -1
  36. package/dist/types/hosting/sqliteSessions.d.ts +212 -0
  37. package/dist/types/hosting/sqliteSessions.d.ts.map +1 -0
  38. package/dist/types/memory/define.types.d.ts +15 -3
  39. package/dist/types/memory/define.types.d.ts.map +1 -1
  40. package/dist/types/memory/index.d.ts +11 -1
  41. package/dist/types/memory/index.d.ts.map +1 -1
  42. package/package.json +1 -1
@@ -105,8 +105,20 @@ export declare const SNAPSHOT_PROJECTIONS: {
105
105
  readonly FULL: "full";
106
106
  };
107
107
  export type SnapshotProjection = (typeof SNAPSHOT_PROJECTIONS)[keyof typeof SNAPSHOT_PROJECTIONS];
108
- /** Window — keep the last `size` entries. Pure rule, no LLM, no embedder. */
109
- export interface WindowStrategy {
108
+ /**
109
+ * Window — keep the last `size` entries. Pure rule, no LLM, no embedder.
110
+ *
111
+ * NAMING (7.27.1): its siblings below are `BudgetStrategy`, `TopKStrategy`
112
+ * and so on, unprefixed. This one carries the `Memory` prefix because
113
+ * `WindowStrategy` is already taken, at the package root, by something else
114
+ * entirely: the conversation-window seam (`{ name, plan(input) }`,
115
+ * core/agent/window/strategy.ts, public since 7.17.0). Two exported types of
116
+ * the same name and incompatible shapes, reachable from two entry points, is
117
+ * a trap for anyone importing from the wrong one — so the memory config
118
+ * record took the prefix. `agentfootprint/memory` still exports the old name
119
+ * as a deprecated alias, so no import breaks.
120
+ */
121
+ export interface MemoryWindowStrategy {
110
122
  readonly kind: typeof MEMORY_STRATEGIES.WINDOW;
111
123
  readonly size: number;
112
124
  }
@@ -183,7 +195,7 @@ export interface HybridStrategy {
183
195
  readonly strategies: ReadonlyArray<Exclude<Strategy, HybridStrategy>>;
184
196
  }
185
197
  /** The full strategy union — discriminated by `kind`. */
186
- export type Strategy = WindowStrategy | BudgetStrategy | SummarizeStrategy | TopKStrategy | ExtractStrategy | DecayStrategy | HybridStrategy;
198
+ export type Strategy = MemoryWindowStrategy | BudgetStrategy | SummarizeStrategy | TopKStrategy | ExtractStrategy | DecayStrategy | HybridStrategy;
187
199
  /**
188
200
  * Reserved API surface for content redaction before memory writes.
189
201
  * Impl is deferred; the field exists now so adding redaction later
@@ -1 +1 @@
1
- {"version":3,"file":"define.types.js","sourceRoot":"","sources":["../../../src/memory/define.types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAMH,uEAAuE;AAEvE;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;CACR,CAAC;AAGX;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,eAAe,EAAE,iBAAiB;IAClC,UAAU,EAAE,YAAY;CAChB,CAAC;AAGX;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;CACJ,CAAC;AAqNX,uEAAuE;AAEvE,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,OAAQ,MAAM,CAAC,MAAM,CAAC,YAAY,CAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAAa;IAChD,OAAQ,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAc,CAAC,QAAQ,CAAC,KAA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IAClC,UAAU,EAAE,YAAY;CAChB,CAAC;AAGX;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;CACJ,CAAC;AAiOX,uEAAuE;AAEvE,MAAM,UAAU,YAAY,CAAC,KAAa;IACxC,OAAQ,MAAM,CAAC,MAAM,CAAC,YAAY,CAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAAa;IAChD,OAAQ,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,KAAa;IAC1C,OAAQ,MAAM,CAAC,MAAM,CAAC,aAAa,CAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,KAAa;IAChD,OAAQ,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAc,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAC3E,CAAC;AAED,uEAAuE;AAEvE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,kBAA2B,CAAC;AAEvE,MAAM,UAAU,kBAAkB,CAAC,EAAU;IAC3C,OAAO,GAAG,2BAA2B,GAAG,EAAE,EAAE,CAAC;AAC/C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,GAAW;IAC9C,OAAO,GAAG,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAAC;AACrD,CAAC"}
@@ -15,5 +15,15 @@ export * from './pipeline/index.js';
15
15
  export * from './stages/index.js';
16
16
  export * from './store/index.js';
17
17
  export * from './wire/index.js';
18
- export { MEMORY_TYPES, MEMORY_STRATEGIES, MEMORY_TIMING, SNAPSHOT_PROJECTIONS, MEMORY_INJECTION_KEY_PREFIX, isMemoryType, isMemoryStrategyKind, isMemoryTiming, isSnapshotProjection, memoryInjectionKey, isMemoryInjectionKey, type MemoryType, type MemoryStrategyKind, type MemoryTiming, type SnapshotProjection, type Strategy, type WindowStrategy, type BudgetStrategy, type SummarizeStrategy, type TopKStrategy, type ExtractStrategy, type DecayStrategy, type HybridStrategy, type MemoryDefinition, type DefineMemoryOptions, type DefineEpisodicOptions, type DefineSemanticOptions, type DefineNarrativeOptions, type DefineCausalOptions, type MemoryRedactionPolicy, } from './define.types.js';
18
+ export { MEMORY_TYPES, MEMORY_STRATEGIES, MEMORY_TIMING, SNAPSHOT_PROJECTIONS, MEMORY_INJECTION_KEY_PREFIX, isMemoryType, isMemoryStrategyKind, isMemoryTiming, isSnapshotProjection, memoryInjectionKey, isMemoryInjectionKey, type MemoryType, type MemoryStrategyKind, type MemoryTiming, type SnapshotProjection, type Strategy, type MemoryWindowStrategy, type BudgetStrategy, type SummarizeStrategy, type TopKStrategy, type ExtractStrategy, type DecayStrategy, type HybridStrategy, type MemoryDefinition, type DefineMemoryOptions, type DefineEpisodicOptions, type DefineSemanticOptions, type DefineNarrativeOptions, type DefineCausalOptions, type MemoryRedactionPolicy, } from './define.types.js';
19
+ /**
20
+ * @deprecated Since 7.27.1 — use `MemoryWindowStrategy`.
21
+ *
22
+ * `WindowStrategy` is the name of the CONVERSATION-window seam exported from
23
+ * the package root (`{ name, plan(input) }`). This one is the memory
24
+ * subsystem's window CONFIG (`{ kind: 'window', size }`). Same name, two
25
+ * entry points, incompatible shapes — so the memory one was renamed and this
26
+ * alias kept so that nothing importing it breaks.
27
+ */
28
+ export type { MemoryWindowStrategy as WindowStrategy } from './define.types.js';
19
29
  export { defineMemory } from './define.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/memory/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAEhC,oEAAoE;AACpE,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,GAoBrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/memory/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAEhC,oEAAoE;AACpE,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,2BAA2B,EAC3B,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,kBAAkB,EAClB,oBAAoB,GAoBrB,MAAM,mBAAmB,CAAC;AAY3B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC"}
@@ -51,6 +51,13 @@
51
51
  * purpose: hiding a cap inside auto-chunking decides a protocol question
52
52
  * for every consumer at once.
53
53
  * • `memorySessions()` — conversations in a Map, for tests and local dev.
54
+ * • `sqliteSessions({ file })` — the same port, in a file, so a restart is not
55
+ * an amnesia event. Conversations AND runs paused waiting on a person, in
56
+ * one table, on Node's built-in `node:sqlite` — nothing to install and no
57
+ * peer dependency. One machine, one file, one writer at a time is the
58
+ * stated ceiling; it is not a distributed store. Refuses BY NAME on a Node
59
+ * without `node:sqlite` rather than falling back to memory, because a store
60
+ * that silently forgot everything looks exactly like a new user.
54
61
  * • `standingAgent({ agent, sessions, host, durability? })` — the composer.
55
62
  * • `toEnvelope` / `readEnvelope` — pack a conversation, and refuse by name to
56
63
  * unpack a format this runtime does not know.
@@ -75,7 +82,7 @@
75
82
  * process.on('SIGTERM', () => void handle.close());
76
83
  */
77
84
  Object.defineProperty(exports, "__esModule", { value: true });
78
- exports.FrameTooLargeError = exports.ConversationClosedError = exports.UnreadableEnvelopeError = exports.NoPendingAskError = exports.AwaitingDecisionError = exports.PauseNotCarriedError = exports.ConcurrentRunError = exports.HostClosedError = exports.requireCapability = exports.standingAgent = exports.checkEnvelope = exports.readPausedRun = exports.readEnvelope = exports.toPausedEnvelope = exports.toEnvelope = exports.memorySessions = exports.headerValue = exports.httpHost = exports.jsonWire = exports.nodeHost = void 0;
85
+ exports.FrameTooLargeError = exports.ConversationClosedError = exports.UnreadableEnvelopeError = exports.NoPendingAskError = exports.AwaitingDecisionError = exports.PauseNotCarriedError = exports.ConcurrentRunError = exports.HostClosedError = exports.requireCapability = exports.standingAgent = exports.checkEnvelope = exports.readPausedRun = exports.readEnvelope = exports.toPausedEnvelope = exports.toEnvelope = exports.UnreadableSessionFileError = exports.SqliteUnavailableError = exports.sqliteSessions = exports.memorySessions = exports.headerValue = exports.httpHost = exports.jsonWire = exports.nodeHost = void 0;
79
86
  var nodeHost_js_1 = require("./nodeHost.js");
80
87
  Object.defineProperty(exports, "nodeHost", { enumerable: true, get: function () { return nodeHost_js_1.nodeHost; } });
81
88
  Object.defineProperty(exports, "jsonWire", { enumerable: true, get: function () { return nodeHost_js_1.jsonWire; } });
@@ -84,6 +91,10 @@ Object.defineProperty(exports, "httpHost", { enumerable: true, get: function ()
84
91
  Object.defineProperty(exports, "headerValue", { enumerable: true, get: function () { return httpHost_js_1.headerValue; } });
85
92
  var memorySessions_js_1 = require("./memorySessions.js");
86
93
  Object.defineProperty(exports, "memorySessions", { enumerable: true, get: function () { return memorySessions_js_1.memorySessions; } });
94
+ var sqliteSessions_js_1 = require("./sqliteSessions.js");
95
+ Object.defineProperty(exports, "sqliteSessions", { enumerable: true, get: function () { return sqliteSessions_js_1.sqliteSessions; } });
96
+ Object.defineProperty(exports, "SqliteUnavailableError", { enumerable: true, get: function () { return sqliteSessions_js_1.SqliteUnavailableError; } });
97
+ Object.defineProperty(exports, "UnreadableSessionFileError", { enumerable: true, get: function () { return sqliteSessions_js_1.UnreadableSessionFileError; } });
87
98
  var envelope_js_1 = require("./envelope.js");
88
99
  Object.defineProperty(exports, "toEnvelope", { enumerable: true, get: function () { return envelope_js_1.toEnvelope; } });
89
100
  Object.defineProperty(exports, "toPausedEnvelope", { enumerable: true, get: function () { return envelope_js_1.toPausedEnvelope; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hosting/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;;;AAEH,6CAAmD;AAA1C,uGAAA,QAAQ,OAAA;AAAE,uGAAA,QAAQ,OAAA;AAG3B,6CAAsD;AAA7C,uGAAA,QAAQ,OAAA;AAAE,0GAAA,WAAW,OAAA;AAW9B,yDAAqD;AAA5C,mHAAA,cAAc,OAAA;AACvB,6CAMuB;AALrB,yGAAA,UAAU,OAAA;AACV,+GAAA,gBAAgB,OAAA;AAChB,2GAAA,YAAY,OAAA;AACZ,4GAAA,aAAa,OAAA;AACb,4GAAA,aAAa,OAAA;AAEf,uDAAmD;AAA1C,iHAAA,aAAa,OAAA;AAEtB,yCAUqB;AATnB,8GAAA,iBAAiB,OAAA;AACjB,4GAAA,eAAe,OAAA;AACf,+GAAA,kBAAkB,OAAA;AAClB,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,8GAAA,iBAAiB,OAAA;AACjB,oHAAA,uBAAuB,OAAA;AACvB,oHAAA,uBAAuB,OAAA;AACvB,+GAAA,kBAAkB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hosting/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;;;AAEH,6CAAmD;AAA1C,uGAAA,QAAQ,OAAA;AAAE,uGAAA,QAAQ,OAAA;AAG3B,6CAAsD;AAA7C,uGAAA,QAAQ,OAAA;AAAE,0GAAA,WAAW,OAAA;AAW9B,yDAAqD;AAA5C,mHAAA,cAAc,OAAA;AACvB,yDAI6B;AAH3B,mHAAA,cAAc,OAAA;AACd,2HAAA,sBAAsB,OAAA;AACtB,+HAAA,0BAA0B,OAAA;AAM5B,6CAMuB;AALrB,yGAAA,UAAU,OAAA;AACV,+GAAA,gBAAgB,OAAA;AAChB,2GAAA,YAAY,OAAA;AACZ,4GAAA,aAAa,OAAA;AACb,4GAAA,aAAa,OAAA;AAEf,uDAAmD;AAA1C,iHAAA,aAAa,OAAA;AAEtB,yCAUqB;AATnB,8GAAA,iBAAiB,OAAA;AACjB,4GAAA,eAAe,OAAA;AACf,+GAAA,kBAAkB,OAAA;AAClB,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,8GAAA,iBAAiB,OAAA;AACjB,oHAAA,uBAAuB,OAAA;AACvB,oHAAA,uBAAuB,OAAA;AACvB,+GAAA,kBAAkB,OAAA"}
@@ -11,6 +11,9 @@
11
11
  * — which is also how the "a crashed process resumes the conversation" test is
12
12
  * written: keep the store, throw away everything else, and watch the
13
13
  * conversation come back through the envelope alone.
14
+ *
15
+ * The next step up ships beside this one: `sqliteSessions({ file })` is the same
16
+ * port in a file, with nothing to install.
14
17
  */
15
18
  Object.defineProperty(exports, "__esModule", { value: true });
16
19
  exports.memorySessions = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"memorySessions.js","sourceRoot":"","sources":["../../src/hosting/memorySessions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAIH;;;;;;GAMG;AACH,SAAgB,cAAc;IAC5B,MAAM,MAAM,GAAG,IAAI,GAAG,EAA8B,CAAC;IACrD,OAAO;QACL,OAAO,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC9D,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE;YAC/B,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;YAChC,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;QAC3B,CAAC;KACF,CAAC;AACJ,CAAC;AATD,wCASC"}
1
+ {"version":3,"file":"memorySessions.js","sourceRoot":"","sources":["../../src/hosting/memorySessions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAIH;;;;;;GAMG;AACH,SAAgB,cAAc;IAC5B,MAAM,MAAM,GAAG,IAAI,GAAG,EAA8B,CAAC;IACrD,OAAO;QACL,OAAO,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAC9D,OAAO,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE;YAC/B,MAAM,CAAC,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;YAChC,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;QAC3B,CAAC;KACF,CAAC;AACJ,CAAC;AATD,wCASC"}
@@ -0,0 +1,376 @@
1
+ "use strict";
2
+ /**
3
+ * hosting/sqliteSessions — conversations in a file, so a restart is not an
4
+ * amnesia event.
5
+ *
6
+ * `memorySessions()` keeps conversations in a `Map` and says what that costs in
7
+ * its own docstring: restart the process and every conversation is gone. Until
8
+ * now the next step up was "bring a Redis", and the step between those two —
9
+ * *one machine, one file, nothing to install* — was a store every consumer had
10
+ * to write for themselves. This is that store.
11
+ *
12
+ * A paused run was in the same position from the other direction. `agent.run()`
13
+ * hands back a checkpoint that is documented as JSON you can keep anywhere, and
14
+ * "anywhere" was the whole of the offer: the library named a shape and left the
15
+ * keeping to you. Both halves land in the same table here, because
16
+ * {@link CheckpointEnvelope} was already a union of the two and a session store
17
+ * has no business caring which one it is holding.
18
+ *
19
+ * ── What this is, said plainly ──────────────────────────────────────────────
20
+ * **One process on one machine, writing one file.** That is the whole claim,
21
+ * and it is worth stating as a ceiling rather than leaving it to be discovered:
22
+ *
23
+ * • It survives a restart, a crash, a deploy — anything that ends the process
24
+ * and leaves the disk alone.
25
+ * • It is NOT a distributed store. Two machines do not share a session by
26
+ * both opening this file over a network filesystem, and nothing here tries
27
+ * to make that work.
28
+ * • WAL lets readers and one writer run at once, and **one writer at a time
29
+ * is the ceiling** — a second writer waits for the lock up to
30
+ * `busyTimeoutMs` and then fails loudly rather than queueing forever.
31
+ * Several processes on one box is fine at that scale; a fleet is not what
32
+ * this is.
33
+ *
34
+ * When you outgrow it you swap the one argument to `standingAgent`, which is
35
+ * the entire point of the port.
36
+ *
37
+ * ── Zero dependencies, and the version floor that buys ──────────────────────
38
+ * SQLite is *inside Node* — `node:sqlite`, no install, no native build, no
39
+ * peer dependency. The price is a version floor this package does not otherwise
40
+ * have: the module ships with Node 22.5 and newer. Rather than raise `engines`
41
+ * for one optional adapter and break every consumer on Node 20, the module is
42
+ * loaded when you actually construct a store, and its absence is refused by
43
+ * name with the version you are on and what to do about it — see
44
+ * {@link SqliteUnavailableError}. There is deliberately **no fallback to
45
+ * memory**: a store that silently forgot everything on restart is
46
+ * indistinguishable, from the outside, from a brand-new user.
47
+ *
48
+ * ── The two laws it inherits rather than re-implements ──────────────────────
49
+ * `checkEnvelope` is called on the way out AND on the way in, so an envelope
50
+ * whose `format` this runtime does not know is refused by name, and a stored
51
+ * session that is PRESENT but unreadable is refused by name too. Only a session
52
+ * that was never written hydrates as `undefined`. Validating on the way in as
53
+ * well is the cheap half of that promise: a row this store could not read back
54
+ * never gets written in the first place.
55
+ */
56
+ Object.defineProperty(exports, "__esModule", { value: true });
57
+ exports.sqliteSessions = exports.UnreadableSessionFileError = exports.SqliteUnavailableError = void 0;
58
+ const envelope_js_1 = require("./envelope.js");
59
+ const errors_js_1 = require("./errors.js");
60
+ const lazyRequire_js_1 = require("../lib/lazyRequire.js");
61
+ // ─── The refusals ────────────────────────────────────────────────────
62
+ /**
63
+ * Raised when `node:sqlite` is not available in the running Node.
64
+ *
65
+ * Node 20 does not have the module at all; Node 22.5 through 22.12 have it
66
+ * behind `--experimental-sqlite`; Node 22.13+ and 23.4+ have it as-is (still
67
+ * marked experimental by Node, which is why it prints a warning on first use).
68
+ *
69
+ * The refusal names the version you are on and the three ways out, because
70
+ * "cannot find module 'node:sqlite'" out of a library's guts tells you what
71
+ * broke and nothing about what to do.
72
+ */
73
+ class SqliteUnavailableError extends Error {
74
+ code = 'ERR_SQLITE_UNAVAILABLE';
75
+ /** The Node version this process is running. */
76
+ nodeVersion;
77
+ constructor(nodeVersion, reason) {
78
+ super(`[hosting] sqliteSessions() needs Node's built-in 'node:sqlite' module, and this ` +
79
+ `process (Node ${nodeVersion}) does not have it (${reason}). ` +
80
+ `That module ships with Node 22.5 and newer: on Node 22.13+ (and 23.4+) it is ` +
81
+ `available as-is, and on Node 22.5–22.12 it is behind --experimental-sqlite. ` +
82
+ `So: upgrade Node, add that flag, or use memorySessions() — which keeps ` +
83
+ `conversations in a Map and loses them on restart, and says so in its name. ` +
84
+ `This refuses rather than falling back to memory on your behalf: a store that ` +
85
+ `silently forgot every conversation on restart looks, from the outside, exactly ` +
86
+ `like a brand-new user.`);
87
+ this.name = 'SqliteUnavailableError';
88
+ this.nodeVersion = nodeVersion;
89
+ }
90
+ }
91
+ exports.SqliteUnavailableError = SqliteUnavailableError;
92
+ /**
93
+ * Raised when the file exists but this runtime cannot use it as a session
94
+ * store.
95
+ *
96
+ * The same law {@link UnreadableEnvelopeError} states for one stored value,
97
+ * one level up: **an unreadable store and an empty one are different facts, and
98
+ * only one of them is safe to answer with a fresh start.** A store that opened
99
+ * a corrupt file as an empty database would hand every returning user a blank
100
+ * slate and log nothing.
101
+ *
102
+ * `problem` is the fact to branch on — the three cases need different actions:
103
+ *
104
+ * - `'cannot-open'` — not a SQLite database, or not readable (permissions, a
105
+ * directory, a truncated file).
106
+ * - `'not-our-schema'` — a database whose `agent_sessions` table is somebody
107
+ * else's table of that name. Point the store at its own file.
108
+ * - `'newer-schema'` — written by a newer agentfootprint than this one. Same
109
+ * answer the envelope `format` field gives: refuse, never half-read.
110
+ */
111
+ class UnreadableSessionFileError extends Error {
112
+ code = 'ERR_UNREADABLE_SESSION_FILE';
113
+ /** The file that was refused. */
114
+ file;
115
+ /** Which of the three cases this is. */
116
+ problem;
117
+ constructor(file, problem, detail) {
118
+ super(`[hosting] the session store at '${file}' cannot be used: ${detail} ` +
119
+ `An unreadable store and an empty one are different facts, and only one of them ` +
120
+ `is safe to answer with a fresh start — so this refuses rather than quietly ` +
121
+ `beginning every conversation again on top of a file that already exists. ` +
122
+ (problem === 'newer-schema'
123
+ ? `A store written by a newer agentfootprint needs a runtime that knows that ` +
124
+ `schema; roll forward, or point this one at its own file.`
125
+ : problem === 'not-our-schema'
126
+ ? `Give the store a file of its own rather than sharing one with tables of ` +
127
+ `the same name.`
128
+ : `Check the path and its permissions, or move the file aside to start a ` + `new one.`));
129
+ this.name = 'UnreadableSessionFileError';
130
+ this.file = file;
131
+ this.problem = problem;
132
+ }
133
+ }
134
+ exports.UnreadableSessionFileError = UnreadableSessionFileError;
135
+ // ─── The schema ──────────────────────────────────────────────────────
136
+ /**
137
+ * What this runtime writes. Bumped only for a change an older reader could not
138
+ * survive — and an older reader meeting a newer number refuses by name rather
139
+ * than reading what it half-understands, which is the same rule the envelope's
140
+ * `format` field follows.
141
+ */
142
+ const SCHEMA_VERSION = 1;
143
+ const SESSIONS_TABLE = 'agent_sessions';
144
+ const META_TABLE = 'agent_store_meta';
145
+ /**
146
+ * `format` and `saved_at` are COLUMNS as well as fields inside the JSON, and
147
+ * that redundancy is deliberate: it makes the file answer "which sessions are
148
+ * waiting on a person, and since when?" from the `sqlite3` command line during
149
+ * an incident, without a JSON parser and without this library. A store you
150
+ * cannot inspect with the tools already on the box is a store you debug by
151
+ * guessing.
152
+ */
153
+ const SESSIONS_COLUMNS = ['session_id', 'format', 'saved_at', 'envelope'];
154
+ // ─── The store ───────────────────────────────────────────────────────
155
+ /**
156
+ * A session store in one SQLite file — the battery-included place to keep a
157
+ * conversation, or a run that stopped to ask a person something, so that a
158
+ * restart does not lose it.
159
+ *
160
+ * @throws SqliteUnavailableError when the running Node has no `node:sqlite`.
161
+ * @throws UnreadableSessionFileError when the file exists but cannot be used —
162
+ * never answered with an empty store.
163
+ *
164
+ * @example A standing agent whose conversations survive a restart
165
+ * import { standingAgent, nodeHost, sqliteSessions } from 'agentfootprint/hosting';
166
+ *
167
+ * const handle = await standingAgent({
168
+ * agent,
169
+ * sessions: sqliteSessions({ file: './sessions.db' }),
170
+ * host: nodeHost({ port: 8080 }),
171
+ * });
172
+ *
173
+ * @example Keeping a paused run yourself, without the composer
174
+ * const sessions = sqliteSessions({ file: './sessions.db' });
175
+ * const out = await agent.run({ message });
176
+ * if (isPaused(out)) {
177
+ * await sessions.persist(sessionId, toPausedEnvelope({
178
+ * checkpoint: out.checkpoint,
179
+ * conversation: agent.checkpoint()!,
180
+ * pending: { pauseData: out.pauseData },
181
+ * }));
182
+ * }
183
+ * // …a deploy later, in a new process:
184
+ * const paused = readPausedRun(await sessions.hydrate(sessionId));
185
+ * const answer = await agent.resume(paused.checkpoint, decision);
186
+ */
187
+ function sqliteSessions(options) {
188
+ const { file, busyTimeoutMs = 5000 } = options;
189
+ if (file === ':memory:' || file.trim() === '') {
190
+ throw new TypeError(`[hosting] sqliteSessions({ file: '${file}' }) is not a durable store. ` +
191
+ `':memory:' looks like a file and keeps nothing across a restart, which is the ` +
192
+ `one thing this adapter exists to do. Use memorySessions() when an in-process ` +
193
+ `store is what you want — it says so in its name — or give this one a real path.`);
194
+ }
195
+ const DatabaseSync = options._sqlite ?? loadSqlite();
196
+ ensureParentDirectory(file);
197
+ let db;
198
+ try {
199
+ db = new DatabaseSync(file);
200
+ }
201
+ catch (err) {
202
+ throw new UnreadableSessionFileError(file, 'cannot-open', `${describe(err)}.`);
203
+ }
204
+ let journalMode;
205
+ try {
206
+ journalMode = applyPragmas(db, busyTimeoutMs);
207
+ ensureSchema(db, file);
208
+ }
209
+ catch (err) {
210
+ db.close();
211
+ if (err instanceof UnreadableSessionFileError)
212
+ throw err;
213
+ throw new UnreadableSessionFileError(file, 'cannot-open', `${describe(err)}.`);
214
+ }
215
+ const insert = db.prepare(`INSERT INTO ${SESSIONS_TABLE} (session_id, format, saved_at, envelope) VALUES (?, ?, ?, ?) ` +
216
+ `ON CONFLICT(session_id) DO UPDATE SET format = excluded.format, ` +
217
+ `saved_at = excluded.saved_at, envelope = excluded.envelope`);
218
+ const select = db.prepare(`SELECT envelope FROM ${SESSIONS_TABLE} WHERE session_id = ?`);
219
+ const remove = db.prepare(`DELETE FROM ${SESSIONS_TABLE} WHERE session_id = ?`);
220
+ let closed = false;
221
+ const open = (verb) => {
222
+ if (closed) {
223
+ throw new Error(`[hosting] the sqliteSessions store at '${file}' is closed, so it cannot ${verb}. ` +
224
+ `close() is final by design — reopening the file behind you would hide a ` +
225
+ `shutdown-ordering bug rather than surface it. Build a new store if you need ` +
226
+ `one after closing this.`);
227
+ }
228
+ };
229
+ // The three port methods are `async` so that every refusal in them arrives
230
+ // as a REJECTION. A method that returns a promise on the happy path and
231
+ // throws synchronously on the sad one is a method whose callers need two
232
+ // error handlers, and the one they forget is the one that fires at 3am.
233
+ return {
234
+ journalMode,
235
+ // eslint-disable-next-line @typescript-eslint/require-await
236
+ async hydrate(sessionId) {
237
+ open('hydrate a session');
238
+ const row = select.get(sessionId);
239
+ if (row === undefined)
240
+ return undefined;
241
+ const stored = row.envelope;
242
+ if (typeof stored !== 'string') {
243
+ // A row exists and its payload is not even text. Present, unreadable —
244
+ // and specifically NOT `undefined`.
245
+ throw new errors_js_1.UnreadableEnvelopeError(stored, sessionId);
246
+ }
247
+ let parsed;
248
+ try {
249
+ parsed = JSON.parse(stored);
250
+ }
251
+ catch {
252
+ // Bytes written by something that was not this store. Same fact, same
253
+ // refusal: a conversation EXISTS here and this runtime cannot see it.
254
+ throw new errors_js_1.UnreadableEnvelopeError(stored, sessionId);
255
+ }
256
+ // Validate HERE as well as in the composer, so the refusal points at the
257
+ // store that produced the bytes rather than at whoever read them next.
258
+ return (0, envelope_js_1.checkEnvelope)(parsed, sessionId);
259
+ },
260
+ // eslint-disable-next-line @typescript-eslint/require-await
261
+ async persist(sessionId, envelope) {
262
+ open('persist a session');
263
+ // Checked on the way IN as well as out: a row this store could not read
264
+ // back is a row it has no business writing.
265
+ const checked = (0, envelope_js_1.checkEnvelope)(envelope, sessionId);
266
+ insert.run(sessionId, checked.format, checked.savedAt, JSON.stringify(checked));
267
+ },
268
+ // eslint-disable-next-line @typescript-eslint/require-await
269
+ async forget(sessionId) {
270
+ open('forget a session');
271
+ remove.run(sessionId);
272
+ },
273
+ close() {
274
+ if (closed)
275
+ return;
276
+ closed = true;
277
+ db.close();
278
+ },
279
+ };
280
+ }
281
+ exports.sqliteSessions = sqliteSessions;
282
+ // ─── Internals ───────────────────────────────────────────────────────
283
+ /**
284
+ * Load `node:sqlite`, or refuse by name.
285
+ *
286
+ * `lazyRequire` keeps the specifier away from bundler static analysis, so
287
+ * importing `agentfootprint/hosting` costs nothing for the consumers — the vast
288
+ * majority — who never construct one of these.
289
+ */
290
+ function loadSqlite() {
291
+ try {
292
+ const mod = (0, lazyRequire_js_1.lazyRequire)('node:sqlite');
293
+ if (typeof mod?.DatabaseSync !== 'function') {
294
+ throw new Error('the module loaded but has no DatabaseSync');
295
+ }
296
+ return mod.DatabaseSync;
297
+ }
298
+ catch (err) {
299
+ throw new SqliteUnavailableError(nodeVersion(), describe(err));
300
+ }
301
+ }
302
+ /** The version string, without assuming `process` exists. */
303
+ function nodeVersion() {
304
+ return typeof process !== 'undefined' && typeof process.version === 'string'
305
+ ? process.version
306
+ : 'unknown';
307
+ }
308
+ /**
309
+ * Create the file's directory if it is missing — "no infrastructure" should not
310
+ * mean "except for one `mkdir`". A failure here is left to the open call, which
311
+ * reports it with the path in the same words as every other open failure.
312
+ */
313
+ function ensureParentDirectory(file) {
314
+ try {
315
+ const { mkdirSync } = (0, lazyRequire_js_1.lazyRequire)('node:fs');
316
+ const { dirname } = (0, lazyRequire_js_1.lazyRequire)('node:path');
317
+ mkdirSync(dirname(file), { recursive: true });
318
+ }
319
+ catch {
320
+ /* Reported by the open below, with the path and the real reason. */
321
+ }
322
+ }
323
+ /**
324
+ * Set the file up for concurrent use and report what it actually got.
325
+ *
326
+ * `journal_mode` is the first statement executed on purpose: it is the point at
327
+ * which SQLite reads the file header, so "this is not a database" surfaces here,
328
+ * at construction, where the caller can still do something about it — rather
329
+ * than on the first request of the night.
330
+ */
331
+ function applyPragmas(db, busyTimeoutMs) {
332
+ const row = db.prepare('PRAGMA journal_mode = WAL').get();
333
+ // A pragma takes a literal, not a bound parameter, so the number is coerced
334
+ // to one before it reaches the statement rather than trusted to be one.
335
+ const waitMs = Number.isFinite(busyTimeoutMs) ? Math.max(0, Math.floor(busyTimeoutMs)) : 5000;
336
+ db.exec(`PRAGMA busy_timeout = ${waitMs}`);
337
+ // NORMAL, not FULL: with WAL that is durable across a process crash — which
338
+ // is what this store promises — and it does not pay a disk sync per turn.
339
+ // A power cut can still cost the most recent commits; a fleet-grade store is
340
+ // the answer to that, not a pragma.
341
+ db.exec('PRAGMA synchronous = NORMAL');
342
+ return typeof row?.journal_mode === 'string' ? row.journal_mode : 'unknown';
343
+ }
344
+ /** Create the two tables if they are missing, and refuse a file that is not ours. */
345
+ function ensureSchema(db, file) {
346
+ db.exec(`CREATE TABLE IF NOT EXISTS ${SESSIONS_TABLE} (` +
347
+ `session_id TEXT PRIMARY KEY, format TEXT NOT NULL, ` +
348
+ `saved_at INTEGER NOT NULL, envelope TEXT NOT NULL) STRICT`);
349
+ db.exec(`CREATE TABLE IF NOT EXISTS ${META_TABLE} (key TEXT PRIMARY KEY, value TEXT NOT NULL) STRICT`);
350
+ // `CREATE TABLE IF NOT EXISTS` succeeds against somebody else's table of the
351
+ // same name, and the failure would otherwise arrive as a confusing constraint
352
+ // error on the first write.
353
+ const columns = db.prepare(`PRAGMA table_info('${SESSIONS_TABLE}')`).all().map((c) => String(c.name));
354
+ const missing = SESSIONS_COLUMNS.filter((name) => !columns.includes(name));
355
+ if (missing.length > 0) {
356
+ throw new UnreadableSessionFileError(file, 'not-our-schema', `it has a '${SESSIONS_TABLE}' table that is not this store's ` +
357
+ `(missing ${missing.join(', ')}; found ${columns.join(', ') || 'nothing'}).`);
358
+ }
359
+ const stored = db
360
+ .prepare(`SELECT value FROM ${META_TABLE} WHERE key = 'schema_version'`)
361
+ .get();
362
+ if (stored === undefined) {
363
+ db.prepare(`INSERT INTO ${META_TABLE} (key, value) VALUES ('schema_version', ?)`).run(String(SCHEMA_VERSION));
364
+ return;
365
+ }
366
+ const found = Number(stored.value);
367
+ if (!Number.isFinite(found) || found > SCHEMA_VERSION) {
368
+ throw new UnreadableSessionFileError(file, 'newer-schema', `it was written with schema version ${String(stored.value)} and this runtime ` +
369
+ `reads version ${SCHEMA_VERSION}.`);
370
+ }
371
+ }
372
+ /** One sentence about a thrown thing, for a message that has to stay readable. */
373
+ function describe(err) {
374
+ return err instanceof Error ? err.message : String(err);
375
+ }
376
+ //# sourceMappingURL=sqliteSessions.js.map
@@ -0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;AAEvE;;;;;GAKG;AACU,QAAA,2BAA2B,GAAG,kBAA2B,CAAC;AAEvE,SAAgB,kBAAkB,CAAC,EAAU;IAC3C,OAAO,GAAG,mCAA2B,GAAG,EAAE,EAAE,CAAC;AAC/C,CAAC;AAFD,gDAEC;AAED,SAAgB,oBAAoB,CAAC,GAAW;IAC9C,OAAO,GAAG,CAAC,UAAU,CAAC,mCAA2B,CAAC,CAAC;AACrD,CAAC;AAFD,oDAEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/memory/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,oDAAkC;AAClC,uDAAqC;AACrC,mDAAiC;AACjC,mDAAiC;AACjC,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,mDAAiC;AACjC,kDAAgC;AAEhC,oEAAoE;AACpE,qDA+B2B;AA9BzB,+GAAA,YAAY,OAAA;AACZ,oHAAA,iBAAiB,OAAA;AACjB,gHAAA,aAAa,OAAA;AACb,uHAAA,oBAAoB,OAAA;AACpB,8HAAA,2BAA2B,OAAA;AAC3B,+GAAA,YAAY,OAAA;AACZ,uHAAA,oBAAoB,OAAA;AACpB,iHAAA,cAAc,OAAA;AACd,uHAAA,oBAAoB,OAAA;AACpB,qHAAA,kBAAkB,OAAA;AAClB,uHAAA,oBAAoB,OAAA;AAqBtB,yCAA2C;AAAlC,yGAAA,YAAY,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/memory/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,mDAAiC;AACjC,oDAAkC;AAClC,uDAAqC;AACrC,mDAAiC;AACjC,mDAAiC;AACjC,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,mDAAiC;AACjC,kDAAgC;AAEhC,oEAAoE;AACpE,qDA+B2B;AA9BzB,+GAAA,YAAY,OAAA;AACZ,oHAAA,iBAAiB,OAAA;AACjB,gHAAA,aAAa,OAAA;AACb,uHAAA,oBAAoB,OAAA;AACpB,8HAAA,2BAA2B,OAAA;AAC3B,+GAAA,YAAY,OAAA;AACZ,uHAAA,oBAAoB,OAAA;AACpB,iHAAA,cAAc,OAAA;AACd,uHAAA,oBAAoB,OAAA;AACpB,qHAAA,kBAAkB,OAAA;AAClB,uHAAA,oBAAoB,OAAA;AAgCtB,yCAA2C;AAAlC,yGAAA,YAAY,OAAA"}
@@ -174,11 +174,20 @@ export declare function agentCoreRuntimeWire(busy?: () => boolean): HttpWire;
174
174
  * A bearer token offered as a subprotocol is this runtime's spelling of
175
175
  * `Authorization`, and a port field spelled the way one vendor spells it is how
176
176
  * a port stops being one. So it lands in `headers.authorization` as
177
- * `Bearer <token>` — the vocabulary every other transport already uses — and
178
- * the raw `sec-websocket-protocol` header is left in place, so an application
179
- * that reads the offer itself still can. **Nothing here authenticates
180
- * anything**: the port never proves who is calling, and a token that arrived is
181
- * a claim, exactly like the session id beside it.
177
+ * `Bearer <token>` — the vocabulary every other transport already uses, with
178
+ * the vendor's base64url wrapper already undone — and the raw
179
+ * `sec-websocket-protocol` header is left in place, so an application that
180
+ * reads the offer itself still can. **Nothing here authenticates anything**:
181
+ * the port never proves who is calling, and a token that arrived is a claim,
182
+ * exactly like the session id beside it.
183
+ *
184
+ * ── When it refuses ──────────────────────────────────────────────────────────
185
+ * Two shapes throw rather than degrade, and both throws end this one upgrade
186
+ * with a message naming the reason: a dotted value that is not valid base64url
187
+ * (see {@link BEARER_SUBPROTOCOL}), and a dotted value offered without the
188
+ * sentinel beside it. The alternative — mapping a credential nobody can read,
189
+ * or echoing the token back to the client — is the failure shape this adapter
190
+ * is built to refuse.
182
191
  *
183
192
  * Exported by name so the mapping is inspectable and testable without binding a
184
193
  * socket, the same way the body shapes are.
@@ -1 +1 @@
1
- {"version":3,"file":"agentcore.d.ts","sourceRoot":"","sources":["../../../../src/adapters/hosting/agentcore.ts"],"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