agentfootprint 9.90.0 → 9.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +90 -0
- package/dist/core/LLMCall.js +62 -7
- package/dist/core/LLMCall.js.map +1 -1
- package/dist/core/agent/buildAgentMessageApiChart.js +26 -3
- package/dist/core/agent/buildAgentMessageApiChart.js.map +1 -1
- package/dist/core/agent/buildMessageApiChart.js +26 -3
- package/dist/core/agent/buildMessageApiChart.js.map +1 -1
- package/dist/core/agent/messageApiReceipt.js +77 -0
- package/dist/core/agent/messageApiReceipt.js.map +1 -0
- package/dist/core/agent/stages/callLLM.js +1 -5
- package/dist/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/core/LLMCall.d.ts +18 -0
- package/dist/esm/core/LLMCall.js +63 -8
- package/dist/esm/core/LLMCall.js.map +1 -1
- package/dist/esm/core/agent/buildAgentMessageApiChart.d.ts +22 -0
- package/dist/esm/core/agent/buildAgentMessageApiChart.js +27 -4
- package/dist/esm/core/agent/buildAgentMessageApiChart.js.map +1 -1
- package/dist/esm/core/agent/buildMessageApiChart.d.ts +32 -0
- package/dist/esm/core/agent/buildMessageApiChart.js +27 -4
- package/dist/esm/core/agent/buildMessageApiChart.js.map +1 -1
- package/dist/esm/core/agent/messageApiReceipt.d.ts +82 -0
- package/dist/esm/core/agent/messageApiReceipt.js +73 -0
- package/dist/esm/core/agent/messageApiReceipt.js.map +1 -0
- package/dist/esm/core/agent/stages/callLLM.js +3 -7
- package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/lib/time-travel/receipt.d.ts +45 -13
- package/dist/esm/lib/time-travel/receipt.js +41 -10
- package/dist/esm/lib/time-travel/receipt.js.map +1 -1
- package/dist/esm/lib/time-travel/servedView.d.ts +36 -35
- package/dist/esm/lib/time-travel/servedView.js +64 -43
- package/dist/esm/lib/time-travel/servedView.js.map +1 -1
- package/dist/lib/time-travel/receipt.js +43 -11
- package/dist/lib/time-travel/receipt.js.map +1 -1
- package/dist/lib/time-travel/servedView.js +64 -43
- package/dist/lib/time-travel/servedView.js.map +1 -1
- package/dist/types/core/LLMCall.d.ts +18 -0
- package/dist/types/core/LLMCall.d.ts.map +1 -1
- package/dist/types/core/agent/buildAgentMessageApiChart.d.ts +22 -0
- package/dist/types/core/agent/buildAgentMessageApiChart.d.ts.map +1 -1
- package/dist/types/core/agent/buildMessageApiChart.d.ts +32 -0
- package/dist/types/core/agent/buildMessageApiChart.d.ts.map +1 -1
- package/dist/types/core/agent/messageApiReceipt.d.ts +83 -0
- package/dist/types/core/agent/messageApiReceipt.d.ts.map +1 -0
- package/dist/types/core/agent/stages/callLLM.d.ts.map +1 -1
- package/dist/types/lib/time-travel/receipt.d.ts +45 -13
- package/dist/types/lib/time-travel/receipt.d.ts.map +1 -1
- package/dist/types/lib/time-travel/servedView.d.ts +36 -35
- package/dist/types/lib/time-travel/servedView.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* messageApiReceipt — the one mint the two message-API charts share, and the
|
|
3
|
+
* one place that says when a chart may not mint at all.
|
|
4
|
+
*
|
|
5
|
+
* Role: Lens. One pure function over what a `call-llm` stage already holds.
|
|
6
|
+
* It reads no scope, emits nothing and commits nothing — the caller
|
|
7
|
+
* commits what it returns, under `receipt.ts` · `RECEIPT_KEY`.
|
|
8
|
+
* Reads: its arguments.
|
|
9
|
+
* Emits: N/A.
|
|
10
|
+
*
|
|
11
|
+
* WHY THIS FILE EXISTS. `buildMessageApiChart` and `buildAgentMessageApiChart`
|
|
12
|
+
* are deliberate twins — the second is the first plus tools, a router and a
|
|
13
|
+
* loop — and a mint written out in both is two chances to disagree about what
|
|
14
|
+
* the model was handed on charts whose whole job is to be the same shape. The
|
|
15
|
+
* arguments differ per chart (one has tools, one does not); the RULE does not,
|
|
16
|
+
* and the rule is what lives here.
|
|
17
|
+
*
|
|
18
|
+
* THE RULE: NO RUN ID, NO RECEIPT. Every hash a receipt carries is salted with
|
|
19
|
+
* the run id (`receipt.ts`, the third law) so a short system prompt or a
|
|
20
|
+
* two-word turn cannot be fingerprinted across runs, and a receipt is committed
|
|
21
|
+
* state that travels inside recordings. These two charts are exported BUILDERS
|
|
22
|
+
* handed to an executor the caller owns — nothing in a stage's scope carries
|
|
23
|
+
* that executor's run id — so the salt has to be supplied, and when it is not
|
|
24
|
+
* this returns `undefined` rather than minting with an empty one. `servedAt`
|
|
25
|
+
* then declares the absence (`no-receipt-on-chart`, cause
|
|
26
|
+
* `'no-receipt-committed'`) and rebuilds the view exactly as it always did: a
|
|
27
|
+
* Lens may omit, never deny.
|
|
28
|
+
*/
|
|
29
|
+
import type { LLMMessage, LLMRequest, LLMToolSchema } from '../../adapters/types.js';
|
|
30
|
+
import { type Receipt, type SystemPieceRecord } from '../../lib/time-travel/receipt.js';
|
|
31
|
+
/** What a message-API chart's `call-llm` stage hands the mint. */
|
|
32
|
+
export interface MessageApiReceiptInput {
|
|
33
|
+
/** The run this call belongs to, from the chart's `getRunId` dep. Absent or
|
|
34
|
+
* empty ⇒ no receipt — see the rule in this file's header. */
|
|
35
|
+
readonly runId: string | undefined;
|
|
36
|
+
/** The committed `iteration` at this call. */
|
|
37
|
+
readonly epoch: number;
|
|
38
|
+
readonly model: string;
|
|
39
|
+
/** `LLMProvider.name` — the port the request went out through. */
|
|
40
|
+
readonly provider: string;
|
|
41
|
+
/** The joined system string, exactly as sent. */
|
|
42
|
+
readonly systemText: string;
|
|
43
|
+
/** The injection records it was joined from, in slot order. */
|
|
44
|
+
readonly systemPieces: readonly SystemPieceRecord[];
|
|
45
|
+
/** The conversation as sent, post-strip. */
|
|
46
|
+
readonly messages: readonly LLMMessage[];
|
|
47
|
+
/** The tool list as sent. Empty on a chart that serves none. */
|
|
48
|
+
readonly tools: readonly LLMToolSchema[];
|
|
49
|
+
/**
|
|
50
|
+
* The request object the provider port is handed — the SAME object, not a
|
|
51
|
+
* second literal built to describe it.
|
|
52
|
+
*
|
|
53
|
+
* It stands for both halves of the cache comparison because neither chart
|
|
54
|
+
* runs a cache strategy: nothing rewrote the request between assembly and
|
|
55
|
+
* the port, so `cache.transform` records `'unchanged'`. That is the verdict
|
|
56
|
+
* an agent running a pass-through strategy records today, and it is true
|
|
57
|
+
* here for the same reason — the request that went out is the request that
|
|
58
|
+
* was assembled.
|
|
59
|
+
*/
|
|
60
|
+
readonly request: LLMRequest;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Mint one message-API chart's receipt, or `undefined` when the chart was
|
|
64
|
+
* given no run id to salt it with.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const receipt = messageApiReceipt({
|
|
69
|
+
* runId: deps.getRunId?.(),
|
|
70
|
+
* epoch: 1,
|
|
71
|
+
* model,
|
|
72
|
+
* provider: provider.name,
|
|
73
|
+
* systemText: system,
|
|
74
|
+
* systemPieces: scope.systemPromptInjections ?? [],
|
|
75
|
+
* messages,
|
|
76
|
+
* tools: [],
|
|
77
|
+
* request,
|
|
78
|
+
* });
|
|
79
|
+
* if (receipt !== undefined) scope[RECEIPT_KEY] = receipt;
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
export declare function messageApiReceipt(input: MessageApiReceiptInput): Receipt | undefined;
|
|
83
|
+
//# sourceMappingURL=messageApiReceipt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messageApiReceipt.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/messageApiReceipt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,iBAAiB,EACvB,MAAM,kCAAkC,CAAC;AAE1C,kEAAkE;AAClE,MA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
3
|
* was handed it.
|
|
4
4
|
*
|
|
5
5
|
* Role: Fold. This module owns the receipt's SHAPE and the one function that
|
|
6
|
-
* mints one (`buildReceipt`);
|
|
7
|
-
* commits the result under the scope key `receipt`, so the record
|
|
8
|
-
* in the call-llm bundle that already exists. Nothing here
|
|
9
|
-
* reads scope, or emits.
|
|
6
|
+
* mints one (`buildReceipt`); every chart's request assembly calls it
|
|
7
|
+
* and commits the result under the scope key `receipt`, so the record
|
|
8
|
+
* lands in the call-llm bundle that already exists. Nothing here
|
|
9
|
+
* executes, reads scope, or emits.
|
|
10
10
|
* Reads: its arguments.
|
|
11
11
|
* Emits: N/A.
|
|
12
12
|
*
|
|
@@ -26,9 +26,10 @@
|
|
|
26
26
|
* did it not know that?" needs to see it. Even there the summaries are hashed,
|
|
27
27
|
* never quoted, for the same reason everything else on a receipt is.
|
|
28
28
|
*
|
|
29
|
-
* Measured on 9.88.0
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* Measured on 9.88.0 and re-measured on 9.91.0 across all four minting charts,
|
|
30
|
+
* NO chart shape supplies it: a slot writes its drops to `slotCompositions`
|
|
31
|
+
* inside its own subflow and no boundary bubbles that record out, so a chart's
|
|
32
|
+
* request assembly has nothing to pass. The field is on the
|
|
32
33
|
* shape because `buildReceipt` is a pure exported mint a caller can hand the
|
|
33
34
|
* fact to, and because the law it obeys is worth stating once rather than the
|
|
34
35
|
* day the record starts crossing. What is NOT done is go looking for it: a
|
|
@@ -82,6 +83,13 @@
|
|
|
82
83
|
*/
|
|
83
84
|
import type { LLMMessage, LLMToolSchema } from '../../adapters/types.js';
|
|
84
85
|
import type { ContextRole, ContextSlot, ContextSource } from '../../events/types.js';
|
|
86
|
+
/** What {@link receiptPieces} needs from one committed injection record — the
|
|
87
|
+
* three fields a receipt keeps of a system piece, and none of the rest. */
|
|
88
|
+
export interface SystemPieceRecord {
|
|
89
|
+
readonly rawContent?: string;
|
|
90
|
+
readonly slot: ContextSlot;
|
|
91
|
+
readonly source: ContextSource;
|
|
92
|
+
}
|
|
85
93
|
/**
|
|
86
94
|
* What a digest input records in place of a value JSON cannot express — a
|
|
87
95
|
* cycle, a `BigInt`, anything `stableJson` refuses. It is a MARK, not an empty
|
|
@@ -101,9 +109,11 @@ export declare const UNSERIALIZABLE = "\u001F<unserializable>";
|
|
|
101
109
|
* screen is rarely the person who read the source. Print it beside the record.
|
|
102
110
|
*
|
|
103
111
|
* ── THE MECHANISM, WHICH THE PRINTED SENTENCE NO LONGER NAMES (9.88.0) ─────
|
|
104
|
-
* `buildReceipt` is called
|
|
105
|
-
*
|
|
106
|
-
*
|
|
112
|
+
* `buildReceipt` is called with the request about to be passed to
|
|
113
|
+
* `LLMProvider.complete` — the PORT, this library's last sight of it. Four
|
|
114
|
+
* stages call it since 9.91.0: the agent charts' (`stages/callLLM.ts`),
|
|
115
|
+
* `LLMCall.ts` · `callLLM`, and the two message-API charts' through
|
|
116
|
+
* `messageApiReceipt.ts`. Three things sit downstream of that call and none of them is on the
|
|
107
117
|
* record: a provider decorated by the consumer (`complete()` wrapping
|
|
108
118
|
* `complete()`), a vendor adapter's own serializer, and the vendor's
|
|
109
119
|
* server-side defaults. `test/lib/time-travel/receipt-conformance.test.ts`
|
|
@@ -299,9 +309,10 @@ export interface Receipt {
|
|
|
299
309
|
/** The sampling knobs the call went out with — see {@link ReceiptParams}. */
|
|
300
310
|
readonly params: ReceiptParams;
|
|
301
311
|
/**
|
|
302
|
-
* Absent when no slot reported a drop — which, measured on 9.88.0
|
|
303
|
-
*
|
|
304
|
-
* slot subflow that writes it, so request
|
|
312
|
+
* Absent when no slot reported a drop — which, measured on 9.88.0 and again
|
|
313
|
+
* on 9.91.0 across every chart that mints, is EVERY run: no boundary bubbles
|
|
314
|
+
* `slotCompositions` out of the slot subflow that writes it, so request
|
|
315
|
+
* assembly has nothing to pass. It is
|
|
305
316
|
* a key of `servedView.ts` · `UNGAPPED_FIELDS` for that reason: its absence
|
|
306
317
|
* is universal and says nothing about any particular recording. Absent means
|
|
307
318
|
* nobody recorded a drop, never that nothing was dropped.
|
|
@@ -480,6 +491,27 @@ export interface BuildReceiptInput {
|
|
|
480
491
|
readonly summaries: readonly string[];
|
|
481
492
|
};
|
|
482
493
|
}
|
|
494
|
+
/**
|
|
495
|
+
* The system pieces a receipt records, off the injection records a slot
|
|
496
|
+
* committed — the SURVIVORS of the join, in the order they were joined.
|
|
497
|
+
*
|
|
498
|
+
* ONE OWNER, because there are now four mints (9.91.0): the agent's `call-llm`
|
|
499
|
+
* stage, `LLMCall`'s, and the two message-API charts'. Written out at each of
|
|
500
|
+
* them, this five-line map is four chances to disagree about which record was
|
|
501
|
+
* piece 2 — and `servedAt` proves piece 2 against the receipt's piece 2, so a
|
|
502
|
+
* disagreement here reads as a defect in the record.
|
|
503
|
+
*
|
|
504
|
+
* It calls `contributingPieces`, which is also what the join itself calls, so
|
|
505
|
+
* an empty record cannot be a piece on the receipt and a blank line in the
|
|
506
|
+
* string, or the other way round.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* ```ts
|
|
510
|
+
* receiptPieces([{ rawContent: 'You are a bot.', slot: 'systemPrompt', source: 'static' }]);
|
|
511
|
+
* // [{ text: 'You are a bot.', slot: 'systemPrompt', source: 'static' }]
|
|
512
|
+
* ```
|
|
513
|
+
*/
|
|
514
|
+
export declare function receiptPieces(records: readonly SystemPieceRecord[]): BuildReceiptInput['systemPieces'];
|
|
483
515
|
/**
|
|
484
516
|
* Mint the receipt for one composed request.
|
|
485
517
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../src/lib/time-travel/receipt.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"receipt.d.ts","sourceRoot":"","sources":["../../../../src/lib/time-travel/receipt.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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OAQG;IACH,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC;IAClC;wDACoD;IACpD,QAAQ,CAAC,cAAc,CAAC,EAAE,SAAS;QACjC,QAAQ,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;QAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;QAC/B,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC;KAChC,EAAE,CAAC;IACJ,8DAA8D;IAC9D,QAAQ,CAAC,mBAAmB,CAAC,EAAE;QAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC;CAClG;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,SAAS,iBAAiB,EAAE,GACpC,iBAAiB,CAAC,cAAc,CAAC,CAMnC;AAiCD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CA0E9D"}
|
|
@@ -54,39 +54,39 @@
|
|
|
54
54
|
* unproved, in wording a renderer prints verbatim, and leaves the rest
|
|
55
55
|
* standing.
|
|
56
56
|
*
|
|
57
|
-
* ──
|
|
58
|
-
* `buildReceipt`
|
|
59
|
-
* stage (`stages/callLLM.ts`)
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
57
|
+
* ── EVERY CHART THAT SERVES A MODEL MINTS, EXCEPT WHERE IT CANNOT SALT ─────
|
|
58
|
+
* Until 9.91.0 `buildReceipt` was called from exactly one place — the agent
|
|
59
|
+
* charts' `call-llm` stage (`stages/callLLM.ts`) — and the three other charts
|
|
60
|
+
* that hand a model a request (`LLMCall.ts` · `callLLM`,
|
|
61
|
+
* `buildMessageApiChart`, `buildAgentMessageApiChart`) left
|
|
62
|
+
* `no-receipt-on-chart` on every view they produced. Two reasons were recorded
|
|
63
|
+
* for that at the time. NEITHER survived.
|
|
64
|
+
*
|
|
65
|
+
* The first was the cache verdict: `Receipt.cache.transform` was said to have
|
|
66
|
+
* no honest value on a chart that runs no cache strategy, because
|
|
67
|
+
* `'unchanged'` would claim a strategy returned what it was given when none
|
|
68
|
+
* ran. But an `Agent` running a pass-through strategy records exactly that
|
|
69
|
+
* today — `buildReceipt` compares the request it was handed against itself —
|
|
70
|
+
* and `receipt-conformance.test.ts` asserts it and calls it correct. No fourth
|
|
71
|
+
* enum value was needed, and none was added.
|
|
72
|
+
*
|
|
73
|
+
* The second was the SALT, and it survives on exactly two of the three charts
|
|
74
|
+
* and not for the reason first written down. `LLMCall` owns its executor and
|
|
75
|
+
* mints a run id per run exactly as `Agent` does (a paragraph here said
|
|
76
|
+
* otherwise until 9.88.0, in a sentence a renderer printed verbatim), so it
|
|
77
|
+
* mints. The message-API charts are exported chart BUILDERS handed to an
|
|
78
|
+
* executor the CALLER owns, and nothing in a stage's scope carries that
|
|
79
|
+
* executor's run id — so their deps take one (`getRunId`), and they mint when
|
|
80
|
+
* they are given one. Given none they mint NOTHING rather than salting every
|
|
81
|
+
* hash with an empty string, because the salt is what makes shipping
|
|
82
|
+
* fingerprints in a recording safe (`receipt.ts`, the third law).
|
|
83
|
+
*
|
|
84
|
+
* So a receipt-less view is still a shape this library produces — a chart
|
|
85
|
+
* builder run without a run id, a run that declined with `recordReceipt:
|
|
86
|
+
* false`, a consumer's own `call-llm` stage, a recording made before 9.88.0 —
|
|
87
|
+
* and the absence is DECLARED: `no-receipt-on-chart` names the fields only a
|
|
87
88
|
* receipt carries and says what follows for them. The rebuild never needed the
|
|
88
|
-
* receipt to work
|
|
89
|
-
* because the view it returns declares what it has and what it has not.
|
|
89
|
+
* receipt to work; what it loses is the WITNESS.
|
|
90
90
|
*
|
|
91
91
|
* ── AND THE CAUSE IS A VALUE, NOT A LIST INSIDE A SENTENCE ────────────────
|
|
92
92
|
* That gap's sentence used to end with the causes that produce it. That is
|
|
@@ -463,9 +463,10 @@ export interface ServedView {
|
|
|
463
463
|
* named entry in `gaps`, never as a missing view and never as a confident
|
|
464
464
|
* empty one.
|
|
465
465
|
*
|
|
466
|
-
* @param source a runner (`Agent`, `LLMCall`) or a snapshot.
|
|
467
|
-
*
|
|
468
|
-
*
|
|
466
|
+
* @param source a runner (`Agent`, `LLMCall`) or a snapshot. Where no receipt
|
|
467
|
+
* was minted — a message-API chart handed no run id, a run that declined with
|
|
468
|
+
* `recordReceipt: false`, a chart of the caller's own — the rebuild is
|
|
469
|
+
* complete but UNCHECKED: `basis` is absent and `gaps` carries
|
|
469
470
|
* `no-receipt-on-chart` saying so.
|
|
470
471
|
* @param epoch the iteration number, 1-based — the run's own count.
|
|
471
472
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"servedView.d.ts","sourceRoot":"","sources":["../../../../src/lib/time-travel/servedView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE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C;KACpD,CAAC;IACF,QAAQ,CAAC,KAAK,EAAE;QACd,mEAAmE;QACnE,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;QAClC;4EACoE;QACpE,QAAQ,CAAC,OAAO,EAAE,SAAS,aAAa,EAAE,CAAC;QAC3C,uDAAuD;QACvD,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QACzB,iEAAiE;QACjE,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;KAC/B,CAAC;IACF;2DACuD;IACvD,QAAQ,CAAC,IAAI,EAAE,SAAS,SAAS,EAAE,CAAC;CACrC;AA0PD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAG/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,EAAE,CAEzD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAG7E"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentfootprint",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.91.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",
|