agentfootprint 9.29.0 → 9.30.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/dist/adapters/google/aiPlatform.js +23 -1
- package/dist/adapters/google/aiPlatform.js.map +1 -1
- package/dist/adapters/hosting/googleAgentEngine.js +163 -58
- package/dist/adapters/hosting/googleAgentEngine.js.map +1 -1
- package/dist/adapters/identity/google.js +18 -4
- package/dist/adapters/identity/google.js.map +1 -1
- package/dist/adapters/llm/GeminiProvider.js +8 -3
- package/dist/adapters/llm/GeminiProvider.js.map +1 -1
- package/dist/adapters/memory/memoryBank.js +234 -14
- package/dist/adapters/memory/memoryBank.js.map +1 -1
- package/dist/esm/adapters/google/aiPlatform.d.ts +44 -0
- package/dist/esm/adapters/google/aiPlatform.js +23 -1
- package/dist/esm/adapters/google/aiPlatform.js.map +1 -1
- package/dist/esm/adapters/hosting/googleAgentEngine.d.ts +87 -15
- package/dist/esm/adapters/hosting/googleAgentEngine.js +162 -57
- package/dist/esm/adapters/hosting/googleAgentEngine.js.map +1 -1
- package/dist/esm/adapters/identity/google.d.ts +18 -4
- package/dist/esm/adapters/identity/google.js +18 -4
- package/dist/esm/adapters/identity/google.js.map +1 -1
- package/dist/esm/adapters/llm/GeminiProvider.d.ts +8 -3
- package/dist/esm/adapters/llm/GeminiProvider.js +8 -3
- package/dist/esm/adapters/llm/GeminiProvider.js.map +1 -1
- package/dist/esm/adapters/memory/memoryBank.d.ts +25 -10
- package/dist/esm/adapters/memory/memoryBank.js +233 -13
- package/dist/esm/adapters/memory/memoryBank.js.map +1 -1
- package/dist/esm/hosting-providers.d.ts +4 -2
- package/dist/esm/hosting-providers.js +4 -2
- package/dist/esm/hosting-providers.js.map +1 -1
- package/dist/esm/memory-providers.d.ts +1 -1
- package/dist/esm/memory-providers.js +4 -2
- package/dist/esm/memory-providers.js.map +1 -1
- package/dist/hosting-providers.js +5 -2
- package/dist/hosting-providers.js.map +1 -1
- package/dist/memory-providers.js +5 -2
- package/dist/memory-providers.js.map +1 -1
- package/dist/types/adapters/google/aiPlatform.d.ts +44 -0
- package/dist/types/adapters/google/aiPlatform.d.ts.map +1 -1
- package/dist/types/adapters/hosting/googleAgentEngine.d.ts +87 -15
- package/dist/types/adapters/hosting/googleAgentEngine.d.ts.map +1 -1
- package/dist/types/adapters/identity/google.d.ts +18 -4
- package/dist/types/adapters/identity/google.d.ts.map +1 -1
- package/dist/types/adapters/llm/GeminiProvider.d.ts +8 -3
- package/dist/types/adapters/llm/GeminiProvider.d.ts.map +1 -1
- package/dist/types/adapters/memory/memoryBank.d.ts +25 -10
- package/dist/types/adapters/memory/memoryBank.d.ts.map +1 -1
- package/dist/types/hosting-providers.d.ts +4 -2
- package/dist/types/hosting-providers.d.ts.map +1 -1
- package/dist/types/memory-providers.d.ts +1 -1
- package/dist/types/memory-providers.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosting-providers.js","sourceRoot":"","sources":["../src/hosting-providers.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"hosting-providers.js","sourceRoot":"","sources":["../src/hosting-providers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;;;AAEH,gEAMyC;AALvC,oHAAA,oBAAoB,OAAA;AACpB,oHAAA,oBAAoB,OAAA;AACpB,yHAAA,yBAAyB,OAAA;AACzB,iHAAA,iBAAiB,OAAA;AACjB,4HAAA,4BAA4B,OAAA;AAG9B,gFAKiD;AAJ/C,2HAAA,mBAAmB,OAAA;AACnB,uHAAA,eAAe,OAAA;AACf,yHAAA,iBAAiB,OAAA;AACjB,4HAAA,oBAAoB,OAAA"}
|
package/dist/memory-providers.js
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
* symbols, one door. Import from the door.
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.BedrockAgentMemory = exports.s3VectorsStore = exports.PgVectorSchemaError = exports.pgVectorStore = exports.EmbedderMismatchError = exports.SqliteUnavailableError = exports.UnreadableIndexFileError = exports.sqliteVectorStore = exports.scoreFromDistance = exports.MAX_PAGE_SIZE = exports.MemoryBankStore = exports.memoryBankStore = exports.UnreadableMemoryEntryError = exports.AgentCoreStore = exports.RedisStore = void 0;
|
|
25
|
+
exports.BedrockAgentMemory = exports.s3VectorsStore = exports.PgVectorSchemaError = exports.pgVectorStore = exports.EmbedderMismatchError = exports.SqliteUnavailableError = exports.UnreadableIndexFileError = exports.sqliteVectorStore = exports.scoreFromDistance = exports.MAX_CARRIED_JSON = exports.MAX_PAGE_SIZE = exports.MemoryBankStore = exports.memoryBankStore = exports.UnreadableMemoryEntryError = exports.AgentCoreStore = exports.RedisStore = void 0;
|
|
26
26
|
// Lazy-required peer-dep stores. Both adapters defer their vendor SDK
|
|
27
27
|
// `require()` to constructor time; importing this barrel doesn't load
|
|
28
28
|
// `ioredis` or `@aws-sdk/client-bedrock-agent-runtime`.
|
|
@@ -36,11 +36,14 @@ Object.defineProperty(exports, "UnreadableMemoryEntryError", { enumerable: true,
|
|
|
36
36
|
// so the corpus builders refuse it by name, and it converts the service's
|
|
37
37
|
// DISTANCE (smaller is closer) rather than forwarding it as a similarity
|
|
38
38
|
// (higher is closer). Read the module header before the first write: `scope` is
|
|
39
|
-
// immutable, so the convention cannot be changed afterwards.
|
|
39
|
+
// immutable, so the convention cannot be changed afterwards. An entry's
|
|
40
|
+
// `source`, caller `metadata` and `decayPolicy` are CARRIED (9.30.0) — a field
|
|
41
|
+
// trial caught 9.29.0 accepting and silently dropping them.
|
|
40
42
|
var memoryBank_js_1 = require("./adapters/memory/memoryBank.js");
|
|
41
43
|
Object.defineProperty(exports, "memoryBankStore", { enumerable: true, get: function () { return memoryBank_js_1.memoryBankStore; } });
|
|
42
44
|
Object.defineProperty(exports, "MemoryBankStore", { enumerable: true, get: function () { return memoryBank_js_1.MemoryBankStore; } });
|
|
43
45
|
Object.defineProperty(exports, "MAX_PAGE_SIZE", { enumerable: true, get: function () { return memoryBank_js_1.MAX_PAGE_SIZE; } });
|
|
46
|
+
Object.defineProperty(exports, "MAX_CARRIED_JSON", { enumerable: true, get: function () { return memoryBank_js_1.MAX_CARRIED_JSON; } });
|
|
44
47
|
Object.defineProperty(exports, "scoreFromDistance", { enumerable: true, get: function () { return memoryBank_js_1.scoreFromDistance; } });
|
|
45
48
|
// A durable vector index in one SQLite file — zero dependencies (node:sqlite is
|
|
46
49
|
// inside Node), exact search, and the corpus embedded once rather than on every
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-providers.js","sourceRoot":"","sources":["../src/memory-providers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAEH,sEAAsE;AACtE,sEAAsE;AACtE,wDAAwD;AACxD,uDAKoC;AAJlC,sGAAA,UAAU,OAAA;AAMZ,+DAOwC;AANtC,8GAAA,cAAc,OAAA;AACd,0HAAA,0BAA0B,OAAA;AAO5B,0EAA0E;AAC1E,gFAAgF;AAChF,0EAA0E;AAC1E,yEAAyE;AACzE,gFAAgF;AAChF,
|
|
1
|
+
{"version":3,"file":"memory-providers.js","sourceRoot":"","sources":["../src/memory-providers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAEH,sEAAsE;AACtE,sEAAsE;AACtE,wDAAwD;AACxD,uDAKoC;AAJlC,sGAAA,UAAU,OAAA;AAMZ,+DAOwC;AANtC,8GAAA,cAAc,OAAA;AACd,0HAAA,0BAA0B,OAAA;AAO5B,0EAA0E;AAC1E,gFAAgF;AAChF,0EAA0E;AAC1E,yEAAyE;AACzE,gFAAgF;AAChF,wEAAwE;AACxE,+EAA+E;AAC/E,4DAA4D;AAC5D,iEAQyC;AAPvC,gHAAA,eAAe,OAAA;AACf,gHAAA,eAAe,OAAA;AACf,8GAAA,aAAa,OAAA;AACb,iHAAA,gBAAgB,OAAA;AAChB,kHAAA,iBAAiB,OAAA;AAKnB,gFAAgF;AAChF,gFAAgF;AAChF,8EAA8E;AAC9E,mDAAmD;AACnD,qEAQ2C;AAPzC,oHAAA,iBAAiB,OAAA;AACjB,2HAAA,wBAAwB,OAAA;AAQ1B,6EAA6E;AAC7E,8EAA8E;AAC9E,mEAAoE;AAA3D,8HAAA,sBAAsB,OAAA;AAE/B,6EAA6E;AAC7E,2EAA2E;AAC3E,+EAA+E;AAC/E,2EAA2E;AAC3E,sDAAsD;AACtD,iEAAkE;AAAzD,4HAAA,qBAAqB,OAAA;AAE9B,gFAAgF;AAChF,+EAA+E;AAC/E,+DAA+D;AAC/D,6DASuC;AARrC,4GAAA,aAAa,OAAA;AACb,kHAAA,mBAAmB,OAAA;AASrB,gFAAgF;AAChF,gEAAgE;AAChE,iDAAiD;AACjD,+DAMwC;AALtC,8GAAA,cAAc,OAAA;AAOhB,8EAA8E;AAC9E,yEAAyE;AACzE,iFAKiD;AAJ/C,2HAAA,kBAAkB,OAAA"}
|
|
@@ -90,6 +90,35 @@ export interface VertexSession {
|
|
|
90
90
|
readonly expireTime?: string | null;
|
|
91
91
|
readonly ttl?: string | null;
|
|
92
92
|
}
|
|
93
|
+
/**
|
|
94
|
+
* One appended session event — **the only way session STATE may be changed.**
|
|
95
|
+
*
|
|
96
|
+
* A live field trial established this against the real service (2026-08-14):
|
|
97
|
+
* `sessions.patch` with `updateMask: 'sessionState'` is refused with HTTP 400
|
|
98
|
+
* and the service's own words, recovered through a raw diagnostic that carried
|
|
99
|
+
* no conversation state:
|
|
100
|
+
*
|
|
101
|
+
* "Can't update the session state for session …, you can only update it by
|
|
102
|
+
* appending an event."
|
|
103
|
+
*
|
|
104
|
+
* The same trial then sent `appendEvent` with `actions.stateDelta` and the
|
|
105
|
+
* following `GET` returned the new state. So the fields below are not the whole
|
|
106
|
+
* `SessionEvent` message — they are the four this column writes: the three the
|
|
107
|
+
* message marks Required (`author`, `invocationId`, `timestamp`) plus the
|
|
108
|
+
* `actions.stateDelta` that carries the change.
|
|
109
|
+
*/
|
|
110
|
+
export interface VertexSessionEvent {
|
|
111
|
+
/** Required by the message: who sent it. */
|
|
112
|
+
readonly author?: string | null;
|
|
113
|
+
/** Required by the message: which invocation it belongs to. */
|
|
114
|
+
readonly invocationId?: string | null;
|
|
115
|
+
/** Required by the message: RFC 3339, client-side. */
|
|
116
|
+
readonly timestamp?: string | null;
|
|
117
|
+
/** What the event DOES. `stateDelta` is the half this column uses. */
|
|
118
|
+
readonly actions?: {
|
|
119
|
+
readonly stateDelta?: Record<string, unknown> | null;
|
|
120
|
+
} | null;
|
|
121
|
+
}
|
|
93
122
|
/** The `sessions` collection. Every method here is pinned. */
|
|
94
123
|
export interface SessionsApi {
|
|
95
124
|
create(params: {
|
|
@@ -100,6 +129,21 @@ export interface SessionsApi {
|
|
|
100
129
|
get(params: {
|
|
101
130
|
name: string;
|
|
102
131
|
}): Promise<RestResponse<VertexSession> | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Append one event — and, through `actions.stateDelta`, the only supported
|
|
134
|
+
* way to change `sessionState` after creation. Synchronous: it answers a
|
|
135
|
+
* response, not a long-running operation.
|
|
136
|
+
*/
|
|
137
|
+
appendEvent(params: {
|
|
138
|
+
name: string;
|
|
139
|
+
requestBody: VertexSessionEvent;
|
|
140
|
+
}): Promise<RestResponse<Record<string, unknown>> | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* **Not for `sessionState`.** See {@link VertexSessionEvent}: the live
|
|
143
|
+
* service refuses a state patch by name. Pinned because the method exists and
|
|
144
|
+
* the surface pin asserts what this column can reach; no adapter here sends a
|
|
145
|
+
* `sessionState` mask through it.
|
|
146
|
+
*/
|
|
103
147
|
patch(params: {
|
|
104
148
|
name: string;
|
|
105
149
|
updateMask?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiPlatform.d.ts","s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H,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAQ3D;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAI5D;AAID;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,KAAK,CAWxF;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAY7D;AAED,gDAAgD;AAChD,wBAAgB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAEhD;AAED,wDAAwD;AACxD,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAErD;AAID,kFAAkF;AAClF,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,QAAsC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,SAAyB,GAAG,MAAM,CAqBhF;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CASjD"}
|
|
@@ -14,23 +14,53 @@
|
|
|
14
14
|
* was designed under; where the product name and the API disagree, the API is
|
|
15
15
|
* the one that has not moved.
|
|
16
16
|
*
|
|
17
|
-
* ── The fit, and
|
|
17
|
+
* ── The fit, and the one thing it cost ──────────────────────────────────────
|
|
18
18
|
* `Session.sessionState` is an arbitrary JSON `Struct`. A `CheckpointEnvelope`
|
|
19
19
|
* is arbitrary JSON. So the envelope goes in whole, under one key, and comes
|
|
20
|
-
* back whole — no event log to fold, no blob encoding to get wrong
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* event blob comes back as somebody else's `toString()`.
|
|
20
|
+
* back whole — no event log to fold, no blob encoding to get wrong. What it
|
|
21
|
+
* cost is the WRITE VERB, and that took a field trial to learn: state goes in
|
|
22
|
+
* through an appended EVENT, never through a patch. See fact 2b below.
|
|
24
23
|
*
|
|
25
|
-
* ── The
|
|
24
|
+
* ── The five facts that shaped the code ─────────────────────────────────────
|
|
26
25
|
* 1. **`sessions.create` takes a caller-supplied `sessionId`.** So our session
|
|
27
26
|
* id IS the resource id and `hydrate` is one `get` by name. No mapping
|
|
28
27
|
* table, no listing to find a conversation.
|
|
29
28
|
* 2. **`create` and `delete` answer a long-running Operation; `get` and
|
|
30
|
-
* `
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
29
|
+
* `appendEvent` answer directly.** Every operation-shaped write here waits
|
|
30
|
+
* for `done` before it returns — a `persist` that returned early would make
|
|
31
|
+
* the very next `hydrate` a race whose failure mode is "no conversation",
|
|
32
|
+
* which nobody can tell from a new user.
|
|
33
|
+
*
|
|
34
|
+
* 2b. **`sessionState` CANNOT be patched. This one is field truth, and it cost
|
|
35
|
+
* a release.** 9.29.0 wrote the steady state as
|
|
36
|
+
* `sessions.patch({ updateMask: 'sessionState,ttl' })`, which every
|
|
37
|
+
* injected-client test accepted because a double will patch anything. An
|
|
38
|
+
* independent field trial ran it against the live service (2026-08-14) and
|
|
39
|
+
* found that turn one stored and **every later turn failed**:
|
|
40
|
+
*
|
|
41
|
+
* HTTP 400 — "Can't update the session state for session …, you can only
|
|
42
|
+
* update it by appending an event."
|
|
43
|
+
*
|
|
44
|
+
* A store that keeps the first turn of a conversation and refuses the
|
|
45
|
+
* second is not a session store, so the verb changed rather than the
|
|
46
|
+
* documentation: `persist` now appends a `SessionEvent` whose
|
|
47
|
+
* `actions.stateDelta` carries the envelope, which the same trial verified
|
|
48
|
+
* end to end (append accepted, `GET` returned the new state).
|
|
49
|
+
*
|
|
50
|
+
* Two consequences worth saying out loud, because they are the difference
|
|
51
|
+
* between this fix and a plausible-looking one:
|
|
52
|
+
*
|
|
53
|
+
* • **A state delta MERGES by top-level key.** This store writes exactly
|
|
54
|
+
* one key — {@link SESSION_STATE_KEY} — so "merge the delta" and
|
|
55
|
+
* "replace our key" are the same outcome for us, and another guest's
|
|
56
|
+
* keys under the same session are left alone either way.
|
|
57
|
+
* • **A conversation now has an event log behind it**, one event per
|
|
58
|
+
* persisted turn, because that is the only writing surface the service
|
|
59
|
+
* offers. Nothing here READS that log — `hydrate` still reads the one
|
|
60
|
+
* envelope out of `sessionState` — so the log is the service's audit
|
|
61
|
+
* trail of our writes and never a second copy of the truth. Sessions
|
|
62
|
+
* are per-conversation and events are small; if that growth matters to
|
|
63
|
+
* you, `forget()` deletes the session and its events together.
|
|
34
64
|
* 3. **`Session.userId` is required and immutable.** Our port's
|
|
35
65
|
* `persist(sessionId, envelope)` carries no user, so one has to be
|
|
36
66
|
* resolved — see {@link AgentEngineSessionsOptions.userId}. Immutable
|
|
@@ -52,8 +82,15 @@
|
|
|
52
82
|
* before handing a session id down here. This adapter is a STORE. Nothing
|
|
53
83
|
* that only stores can tell an impostor from an owner.
|
|
54
84
|
* 4. **`ttl` is input-only with a 24-hour floor**, and `expireTime` always
|
|
55
|
-
* comes back.
|
|
56
|
-
*
|
|
85
|
+
* comes back. An hour-long TTL is not available at any price.
|
|
86
|
+
*
|
|
87
|
+
* **Sliding expiry is NOT claimed here**, and that changed with fact 2b. A
|
|
88
|
+
* `ttl` is sent on `create`, where the service takes it; later turns append
|
|
89
|
+
* an event, and whether an appended event renews the expiry is a service
|
|
90
|
+
* behaviour nothing in this repository has measured. Rather than send an
|
|
91
|
+
* unverified second call per turn to "refresh" it — a write whose only
|
|
92
|
+
* evidence would be that it did not error — the adapter sends the ttl once
|
|
93
|
+
* and says so. See {@link AgentEngineSessionsOptions.ttl}.
|
|
57
94
|
*
|
|
58
95
|
* ── The laws it inherits rather than re-implements ──────────────────────────
|
|
59
96
|
* `checkEnvelope` runs on the way OUT and on the way IN, so an envelope whose
|
|
@@ -108,8 +145,23 @@ export interface AgentEngineSessionsOptions extends AiPlatformConnection {
|
|
|
108
145
|
*
|
|
109
146
|
* Omit and no `ttl` is sent, which leaves the service's own default
|
|
110
147
|
* expiry in charge.
|
|
148
|
+
*
|
|
149
|
+
* **Sent on CREATE only.** Later turns append an event (see the module
|
|
150
|
+
* header, fact 2b), and whether an appended event renews the expiry is not
|
|
151
|
+
* something this repository has measured — so a long conversation may still
|
|
152
|
+
* expire on the clock started by its first turn. If you need a conversation
|
|
153
|
+
* to outlive that, set a `ttl` long enough at creation.
|
|
111
154
|
*/
|
|
112
155
|
readonly ttl?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The `author` recorded on every event this store appends. Default
|
|
158
|
+
* {@link SESSION_EVENT_AUTHOR}.
|
|
159
|
+
*
|
|
160
|
+
* The service requires one and treats it as free text; it is who the console
|
|
161
|
+
* shows as having written the turn. This is not the conversation's owner —
|
|
162
|
+
* that is `userId`, which is pinned at create and immutable.
|
|
163
|
+
*/
|
|
164
|
+
readonly eventAuthor?: string;
|
|
113
165
|
/**
|
|
114
166
|
* How long a write waits for its long-running operation before refusing.
|
|
115
167
|
* Default {@link DEFAULT_OPERATION_TIMEOUT_MS} (30s).
|
|
@@ -122,6 +174,15 @@ export interface AgentEngineSessionsOptions extends AiPlatformConnection {
|
|
|
122
174
|
}
|
|
123
175
|
/** What a conversation that named nobody is stored under. */
|
|
124
176
|
export declare const DEFAULT_USER_ID = "agentfootprint-anonymous";
|
|
177
|
+
/**
|
|
178
|
+
* The `author` on every event this store appends, unless
|
|
179
|
+
* {@link AgentEngineSessionsOptions.eventAuthor} names another.
|
|
180
|
+
*
|
|
181
|
+
* The service requires the field and treats it as free text. This name says
|
|
182
|
+
* which library wrote the turn, which is the useful thing to see in the console
|
|
183
|
+
* beside somebody else's agent writing to the same engine.
|
|
184
|
+
*/
|
|
185
|
+
export declare const SESSION_EVENT_AUTHOR = "agentfootprint";
|
|
125
186
|
/**
|
|
126
187
|
* A session store in Vertex AI's session service.
|
|
127
188
|
*
|
|
@@ -149,9 +210,20 @@ export interface AgentEngineSessions extends SessionLifecycle {
|
|
|
149
210
|
* Conversations in Vertex AI's session service — the store that survives a
|
|
150
211
|
* fleet, not just a restart.
|
|
151
212
|
*
|
|
152
|
-
* **Status:
|
|
153
|
-
*
|
|
154
|
-
*
|
|
213
|
+
* **Status: field-validated except the write verb, which is field-CORRECTED.**
|
|
214
|
+
* An independent trial ran this adapter against a live Agent Runtime engine
|
|
215
|
+
* (2026-08-14) and everything below answered a real request from Google:
|
|
216
|
+
* creating first-turn sessions from real envelopes, hydrating them through a
|
|
217
|
+
* fresh instance, owners preserved, paged `listByUser` filtering, `ownerOf`,
|
|
218
|
+
* an unknown envelope format refused before storage, and idempotent `forget`.
|
|
219
|
+
*
|
|
220
|
+
* The one thing that FAILED was the second write to an existing session — the
|
|
221
|
+
* core job — because 9.29.0 patched `sessionState` and the service refuses
|
|
222
|
+
* that. The trial recovered the service's own words and verified the repair
|
|
223
|
+
* path (`appendEvent` with `actions.stateDelta`, then a `GET` showing the new
|
|
224
|
+
* state) with a raw diagnostic. This adapter now uses that verb; the repair is
|
|
225
|
+
* built on measured service behaviour and tested here, but the corrected write
|
|
226
|
+
* has not itself been re-run through this adapter in a live project.
|
|
155
227
|
*
|
|
156
228
|
* @example A standing agent whose conversations are shared across instances
|
|
157
229
|
* import { standingAgent, nodeHost } from 'agentfootprint/hosting';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"googleAgentEngine.d.ts","sourceRoot":"","sources":["../../../../src/adapters/hosting/googleAgentEngine.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"googleAgentEngine.d.ts","sourceRoot":"","sources":["../../../../src/adapters/hosting/googleAgentEngine.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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atever credential this environment has.
|
|
153
153
|
*
|
|
154
|
-
* **Status:
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
154
|
+
* **Status: field-validated for machine identity; refresh bounded.** An
|
|
155
|
+
* independent trial ran this adapter on live Google Cloud (2026-08-14):
|
|
156
|
+
* `googleIdentity({ services: ['aiplatform'] })` vended a real bearer
|
|
157
|
+
* credential from Application Default Credentials, and that credential
|
|
158
|
+
* authorized a Vertex AI request with HTTP 200. The same run proved the
|
|
159
|
+
* `bearer` kind, an expiry about 3,599 seconds out, a second vend without
|
|
160
|
+
* reconstruction, `mode: 'user'` failing CLOSED rather than quietly handing
|
|
161
|
+
* back machine access, a disallowed service failing closed, and
|
|
162
|
+
* `JSON.stringify(credential)` yielding `{"kind":"bearer"}` — no token, no
|
|
163
|
+
* Authorization header.
|
|
164
|
+
*
|
|
165
|
+
* **What is NOT proven:** an expiry-triggered refresh. The trial called the
|
|
166
|
+
* provider twice minutes apart and checked a future expiry; it did not wait an
|
|
167
|
+
* hour. Google's own auth client is what refreshes (this adapter caches the
|
|
168
|
+
* CLIENT, never a token — see {@link CachedGoogleClient}), and that refresh was
|
|
169
|
+
* field-proved on a different door (`gemini({ googleAuthOptions })`). A soak or
|
|
170
|
+
* a controlled expiring-credential double is still owed before anyone claims
|
|
171
|
+
* long-duration production proof for THIS provider.
|
|
158
172
|
*
|
|
159
173
|
* @throws when `mode: 'user'` is requested — Google's per-user token vault has
|
|
160
174
|
* no Node surface, and a machine token returned in its place would be a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google.d.ts","sourceRoot":"","sources":["../../../../src/adapters/identity/google.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AAIH,OAAO,KAAK,EACV,kBAAkB,EAGnB,MAAM,yBAAyB,CAAC;AAIjC,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,mDAAmD,CA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C,YAAY,CAAC,EAAE,KAAK,OAAO,EAAE;QACpC,YAAY,EAAE,oBAAoB,CAAC;QACnC,eAAe,EAAE,MAAM,CAAC;QACxB,YAAY,EAAE,MAAM,EAAE,CAAC;QACvB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,KAAK,oBAAoB,CAAC;CAC5B;AAED,8EAA8E;AAC9E,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,mFAAmF;IACnF,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,0CAA0C;AAC1C,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAC3C;;;;;;;;;;;;;OAaG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,wDAAwD;IACxD,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,oBAAoB,CAAC;IACxC,+EAA+E;IAC/E,QAAQ,CAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;CACrC;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B,GAAG,kBAAkB,CA4GtF"}
|
|
@@ -40,9 +40,14 @@
|
|
|
40
40
|
* 429 for AI Studio prepayment, which is billing SEPARATE from the Google
|
|
41
41
|
* Cloud account's credit. What that door does with a funded key is
|
|
42
42
|
* untested here, which is why it has no default model.
|
|
43
|
-
* • **Tool calling on a 3.x model
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* • **Tool calling on a 3.x model: field-validated.** The signature round trip
|
|
44
|
+
* below was built from the trial's captured 400, and the same independent
|
|
45
|
+
* trial then re-ran it on live Vertex against the published fix
|
|
46
|
+
* (2026-08-14): `gemini-3.1-flash-lite` called a tool, the tool answered,
|
|
47
|
+
* the signature went back byte for byte, and the second model call
|
|
48
|
+
* completed with the right answer — two LLM calls, one tool execution, real
|
|
49
|
+
* token counts. What it does NOT cover is a signature attached to a TEXT
|
|
50
|
+
* part with no function call beside it; see below.
|
|
46
51
|
*
|
|
47
52
|
* ─── Why native, and not `openai({ baseURL })` ──────────────────────
|
|
48
53
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GeminiProvider.d.ts","sourceRoot":"","sources":["../../../../src/adapters/llm/GeminiProvider.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"GeminiProvider.d.ts","sourceRoot":"","sources":["../../../../src/adapters/llm/GeminiProvider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuHG;AAEH,OAAO,KAAK,EACV,YAAY,EACZ,QAAQ,EAER,WAAW,EACX,UAAU,EACV,WAAW,EAEX,QAAQ,EACT,MAAM,aAAa,CAAC;AAErB,OAAO,EAIL,KAAK,4BAA4B,EAClC,MAAM,kBAAkB,CAAC;AAS1B,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;;;;OAOG;IACH,QAAQ,CAAC,gBAAgB,CAAC,E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,CAAC,sBAAsB,CAAC,CAAC,CAAC;CACnD;AAED,qEAAqE;AACrE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;CACnC;AAID,MAAM,WAAW,qBAAsB,SAAQ,4BAA4B;IACzE;;;;;;;;;;;;;;;;OAgBG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAC/B,2EAA2E;IAC3E,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IACnC,6EAA6E;IAC7E,QAAQ,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC;CACrC;AA8CD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,MAAM,CAAC,OAAO,GAAE,qBAA0B,GAAG,WAAW,CAuIvE;AAmCD;;;GAGG;AACH,qBAAa,cAAe,YAAW,WAAW;IAChD,QAAQ,CAAC,IAAI,YAAY;IACzB,QAAQ,CAAC,iBAAiB,sBAAuB;IACjD,QAAQ,CAAC,uBAAuB,QAAQ;IACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAc;gBAExB,OAAO,GAAE,qBAA0B;IAK/C,QAAQ,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,WAAW,CAAC;IAIrE,MAAM,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,CAAC,EAAE,YAAY,GAAG,aAAa,CAAC,QAAQ,CAAC;CAMvE"}
|
|
@@ -106,6 +106,16 @@ import type { MemoryEntry } from '../../memory/entry/index.js';
|
|
|
106
106
|
import type { MemoryIdentity } from '../../memory/identity/index.js';
|
|
107
107
|
import type { ListOptions, ListResult, MemoryStore, PutIfVersionResult, ScoredEntry, SearchOptions } from '../../memory/store/types.js';
|
|
108
108
|
import { type AiPlatformConnection } from '../google/aiPlatform.js';
|
|
109
|
+
/**
|
|
110
|
+
* The most JSON one carried field may be, in characters.
|
|
111
|
+
*
|
|
112
|
+
* Memory Bank metadata values are typed scalars and this column has NOT
|
|
113
|
+
* measured the service's own ceiling on a string one, so the bound is this
|
|
114
|
+
* adapter's own and says so where it refuses. It is a refusal rather than a
|
|
115
|
+
* truncation on purpose: provenance that came back shortened would be
|
|
116
|
+
* provenance nobody could tell was shortened.
|
|
117
|
+
*/
|
|
118
|
+
export declare const MAX_CARRIED_JSON = 8192;
|
|
109
119
|
/** The scope map an identity resolves to. Keys and values are both strings. */
|
|
110
120
|
export type MemoryScope = Readonly<Record<string, string>>;
|
|
111
121
|
/** Options for {@link memoryBankStore}. */
|
|
@@ -177,17 +187,22 @@ export declare const MAX_PAGE_SIZE = 100;
|
|
|
177
187
|
/**
|
|
178
188
|
* A `MemoryStore` over Vertex AI Memory Bank.
|
|
179
189
|
*
|
|
180
|
-
* **Status:
|
|
181
|
-
*
|
|
182
|
-
*
|
|
190
|
+
* **Status: field-validated on the data plane (2026-08-14).** An independent
|
|
191
|
+
* trial ran THIS class against a real Memory Bank and every one of these
|
|
192
|
+
* answered a live request: the honest `supportsVectorSearch: false` /
|
|
193
|
+
* `ranksBy: 'server-text'` declarations; cross-conversation recall under a
|
|
194
|
+
* widened `scopeFor`; two identities using the SAME entry id without collision
|
|
195
|
+
* or disclosure; string and structured values; opaque pagination cursors; tier
|
|
196
|
+
* filtering; text similarity that found the right marker, excluded the other
|
|
197
|
+
* identity, returned finite distances and converted them to correctly ORDERED
|
|
198
|
+
* scores; overwrite advancing value and version; a scoped delete leaving the
|
|
199
|
+
* other identity intact; `forget()` erasing across the widened scope; and the
|
|
200
|
+
* five unsupported operations refusing by name rather than pretending.
|
|
183
201
|
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
* header on retrieved names, and `search`'s distance conversion). It is not
|
|
189
|
-
* evidence about this class, which did not exist when the trial ran, so the
|
|
190
|
-
* status stays where it is until a run of THIS code answers a real request.
|
|
202
|
+
* The same trial found the one thing that was NOT faithful — `source` and
|
|
203
|
+
* caller `metadata` were accepted and silently dropped — which 9.30.0 fixes by
|
|
204
|
+
* carrying them (see `toMemory`). That fix is tested here and has not itself
|
|
205
|
+
* been re-run in a live project.
|
|
191
206
|
*/
|
|
192
207
|
export declare class MemoryBankStore implements MemoryStore {
|
|
193
208
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memoryBank.d.ts","sourceRoot":"","sources":["../../../../src/adapters/memory/memoryBank.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,aAAa,EACd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAWL,KAAK,oBAAoB,EAM1B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"memoryBank.d.ts","sourceRoot":"","sources":["../../../../src/adapters/memory/memoryBank.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,aAAa,EACd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAWL,KAAK,oBAAoB,EAM1B,MAAM,yB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AC,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAcpE,uFAAuF;IACvF,eAAe,CAAC,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5E,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAYnF,+EAA+E;IAC/E,WAAW,CACT,SAAS,EAAE,cAAc,EACzB,EAAE,EAAE,MAAM,GACT,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAarD;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAOtB,uEAAuE;IACvE,OAAO,CAAC,MAAM;IAId,sEAAsE;YACxD,KAAK;IASnB;;;;;;;;;OASG;YACW,SAAS;IAgCvB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,IAAI;IAUZ,iEAAiE;IACjE,OAAO,CAAC,SAAS;IAKjB,mFAAmF;IACnF,OAAO,CAAC,YAAY;CAiBrB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,eAAe,CAEhF;AAmED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAG7E"}
|
|
@@ -33,7 +33,9 @@
|
|
|
33
33
|
* `SessionLifecycle` in Vertex AI's own session service, for the row above
|
|
34
34
|
* `sqliteSessions`: many containers sharing one conversation. The whole
|
|
35
35
|
* `CheckpointEnvelope` rides in `Session.sessionState`, which is an
|
|
36
|
-
* arbitrary JSON Struct, so there is no blob encoding to get wrong
|
|
36
|
+
* arbitrary JSON Struct, so there is no blob encoding to get wrong — and it
|
|
37
|
+
* is written by APPENDING AN EVENT, because the service refuses a state
|
|
38
|
+
* patch (a field trial found that the expensive way; see the adapter).
|
|
37
39
|
*
|
|
38
40
|
* ── How much of this is verified ─────────────────────────────────────────────
|
|
39
41
|
* `agentCoreRuntimeHost` is plain HTTP with no SDK on its path, and it passes
|
|
@@ -61,7 +63,7 @@
|
|
|
61
63
|
* symbols, one door. Import from the door.
|
|
62
64
|
*/
|
|
63
65
|
export { agentCoreRuntimeHost, agentCoreRuntimeWire, readAgentCoreConversation, agentCoreSessions, DEFAULT_SESSION_STORAGE_PATH, } from './adapters/hosting/agentcore.js';
|
|
64
|
-
export { agentEngineSessions, DEFAULT_USER_ID, SESSION_STATE_KEY, } from './adapters/hosting/googleAgentEngine.js';
|
|
66
|
+
export { agentEngineSessions, DEFAULT_USER_ID, SESSION_STATE_KEY, SESSION_EVENT_AUTHOR, } from './adapters/hosting/googleAgentEngine.js';
|
|
65
67
|
export type { AgentEngineSessions, AgentEngineSessionsOptions, } from './adapters/hosting/googleAgentEngine.js';
|
|
66
68
|
export type { AgentCoreRuntimeHostOptions, AgentCoreSessionsOptions, AgentCoreSessionStore, AgentCoreFileSessionsOptions, AgentCoreMemorySessionsOptions, AgentCoreSessionClientLike, AgentCoreSessionEvent, BedrockAgentCoreSessionSdkModule, } from './adapters/hosting/agentcore.js';
|
|
67
69
|
//# sourceMappingURL=hosting-providers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hosting-providers.d.ts","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"hosting-providers.d.ts","sourceRoot":"","sources":["../../src/hosting-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AAEH,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,iBAAiB,EACjB,4BAA4B,GAC7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AAEjD,YAAY,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,iCAAiC,CAAC"}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
export { RedisStore, type RedisStoreOptions, type RedisLikeClient, type RedisLikePipeline, } from './adapters/memory/redis.js';
|
|
24
24
|
export { AgentCoreStore, UnreadableMemoryEntryError, type AgentCoreStoreOptions, type AgentCoreLikeClient, type AgentCoreEvent, type AgentCoreMemoryRecord, } from './adapters/memory/agentcore.js';
|
|
25
|
-
export { memoryBankStore, MemoryBankStore, MAX_PAGE_SIZE, scoreFromDistance, type MemoryBankStoreOptions, type MemoryScope, } from './adapters/memory/memoryBank.js';
|
|
25
|
+
export { memoryBankStore, MemoryBankStore, MAX_PAGE_SIZE, MAX_CARRIED_JSON, scoreFromDistance, type MemoryBankStoreOptions, type MemoryScope, } from './adapters/memory/memoryBank.js';
|
|
26
26
|
export { sqliteVectorStore, UnreadableIndexFileError, type SqliteVectorStore, type SqliteVectorStoreOptions, type SqliteVectorDatabaseLike, type SqliteVectorStatementLike, type SqliteVectorModuleLike, } from './adapters/memory/sqliteVector.js';
|
|
27
27
|
export { SqliteUnavailableError } from './lib/sqliteUnavailable.js';
|
|
28
28
|
export { EmbedderMismatchError } from './lib/embedderMismatch.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory-providers.d.ts","sourceRoot":"","sources":["../../src/memory-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"memory-providers.d.ts","sourceRoot":"","sources":["../../src/memory-providers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH,OAAO,EACL,UAAU,EACV,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,iBAAiB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,cAAc,EACnB,KAAK,qBAAqB,GAC3B,MAAM,gCAAgC,CAAC;AAUxC,OAAO,EACL,eAAe,EACf,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,WAAW,GACjB,MAAM,iCAAiC,CAAC;AAMzC,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,sBAAsB,GAC5B,MAAM,mCAAmC,CAAC;AAI3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAOpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAKlE,OAAO,EACL,aAAa,EACb,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,GACjB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EACL,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,gCAAgC,CAAC;AAIxC,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,GACzB,MAAM,yCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.30.0",
|
|
4
4
|
"description": "The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|