agentfootprint 14.6.0-rc.1 → 14.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/CAPABILITIES.md +5 -4
  2. package/dist/core/Agent.js +3 -3
  3. package/dist/core/RunnerBase.js +3 -3
  4. package/dist/core/agent/receipt/receipt.js +5 -5
  5. package/dist/core/servableSnapshot.js +4 -4
  6. package/dist/esm/core/Agent.d.ts +3 -3
  7. package/dist/esm/core/Agent.js +3 -3
  8. package/dist/esm/core/RunnerBase.d.ts +3 -3
  9. package/dist/esm/core/RunnerBase.js +3 -3
  10. package/dist/esm/core/agent/receipt/receipt.d.ts +5 -5
  11. package/dist/esm/core/agent/receipt/receipt.js +5 -5
  12. package/dist/esm/core/flowchartAsTool.d.ts +6 -6
  13. package/dist/esm/core/servableSnapshot.d.ts +4 -4
  14. package/dist/esm/core/servableSnapshot.js +4 -4
  15. package/dist/esm/time-travel/servedView/assembly.js +1 -1
  16. package/dist/esm/time-travel/servedView/assembly.js.map +1 -1
  17. package/dist/esm/time-travel/servedView/gaps.d.ts +2 -2
  18. package/dist/esm/time-travel/servedView/gaps.js +30 -5
  19. package/dist/esm/time-travel/servedView/gaps.js.map +1 -1
  20. package/dist/esm/time-travel/servedView/recordReads.js +4 -4
  21. package/dist/esm/time-travel/servedView.d.ts +1 -1
  22. package/dist/esm/time-travel/servedView.js.map +1 -1
  23. package/dist/time-travel/servedView/assembly.js +1 -1
  24. package/dist/time-travel/servedView/assembly.js.map +1 -1
  25. package/dist/time-travel/servedView/gaps.js +30 -5
  26. package/dist/time-travel/servedView/gaps.js.map +1 -1
  27. package/dist/time-travel/servedView/recordReads.js +4 -4
  28. package/dist/time-travel/servedView.js.map +1 -1
  29. package/dist/types/core/Agent.d.ts +3 -3
  30. package/dist/types/core/RunnerBase.d.ts +3 -3
  31. package/dist/types/core/agent/receipt/receipt.d.ts +5 -5
  32. package/dist/types/core/flowchartAsTool.d.ts +6 -6
  33. package/dist/types/core/servableSnapshot.d.ts +4 -4
  34. package/dist/types/time-travel/servedView/gaps.d.ts +2 -2
  35. package/dist/types/time-travel/servedView/gaps.d.ts.map +1 -1
  36. package/dist/types/time-travel/servedView.d.ts +1 -1
  37. package/dist/types/time-travel/servedView.d.ts.map +1 -1
  38. package/package.json +2 -2
package/CAPABILITIES.md CHANGED
@@ -40,14 +40,15 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
40
40
  | calling an MCP server somebody deployed TO AWS Bedrock AgentCore Runtime (`--protocol MCP`) — through `InvokeAgentRuntime` with SigV4, or a bearer token over the documented HTTPS endpoint (the SDK has no bearer scheme); a fresh runtime session per call by default (`'per-call'` carries no session id, so one client can serve every user) or one per client (`'reuse'` keys each client's connection — its `runtimeSessionId` and the server's `Mcp-Session-Id` — by a handle the transport issues); what the MCP client reads of a failure rewritten from fixed sentences and safe ids (status, a plain error type, a JSON-RPC code), never the service's text (which can quote the signed request); a bearer token vended as a machine token only; the runtime's "Session operation in progress" refusal (JSON-RPC -32005 inside an HTTP 200, which MCP clients never retry; or the API's 409 `RetryableConflictException`) retried with bounded backoff by the SAME loop as the 429 retry, one small decision function — and nothing else re-sent: the SDK client's own retry is off, so a 5xx or a dropped connection is never replayed | `agentCoreRuntimeMcpTransport` + `agentCoreRuntimeUrl` + `AGENTCORE_RUNTIME_SESSION_HEADER` (`agentfootprint/providers`) | `src/adapters/mcp/agentcoreRuntime/` | 10.4.0 |
41
41
  | bundling an app that speaks MCP (esbuild, webpack, a Lambda zip without `node_modules`) — the MCP and AWS SDKs load through a lazy `require` a bundler cannot follow, so the caller hands over the modules it imported statically | `mcpClient({ sdk: { Client, StreamableHTTPClientTransport } })` · `agentCoreRuntimeMcpTransport({ sdk })` (SigV4 only; `_sdk` = the older name, both-different refused, `sdk` beside `{ bearer }` refused); a missing or wrong SDK is refused when the client/transport is BUILT, in words naming `sdk`, never at the first tool call. Docs: mcp-client "Bundling (esbuild, webpack)". Fenced by `test/mcp/bundling.test.ts` | `src/mcp/` | 10.5.0 |
42
42
  | serving agents to AG-UI frontends (CopilotKit, the AG-UI Dojo, an `@ag-ui/client` app) from any framework with no glue code — POST a `RunAgentInput`, stream AG-UI events back; the request is untrusted browser input: only the newest user message is conversation (the page's copy is never read), a system/developer message refused, an answer taken only for the pause the server keeps, frontend tools only by the app's name allow-list with its own contract (they run in the page, no server privilege), `state`/`context` only through the app's validators, no identity/credential/redaction from a request; a fresh runner per request, the thread bound to the caller the app authenticates, the conversation and paused runs kept server-side, one turn per thread, door guard, body ceiling, SSE keep-alive | `streamHandler` + `ProtocolAdapter` + `verifiedThreads` (`agentfootprint/hosting`) + `agUi` (`agentfootprint/ag-ui`) | `src/hosting/streamHandler.ts` | 10.4.0 |
43
- | restoring application context from retained source metadata during an admitted turn, without rows, scalar values or a fabricated tool call; fresh preparation admission, current producer and native permission checks, bounded paging, cancellation and a capability revoked before execution | `RunTurn.sourceEvidence.recent` + `SourceEvidencePreparation` / `SourceEvidencePreparationContext` / `SourceEvidenceMetadata` / `SourceEvidenceRecentArgs` / `SourceEvidenceRecentResult`; opt in with `sourceEvidence({ preparation: { admit } })` | `src/core/agent/sourceEvidence/preparation.ts` | unreleased |
44
- | serving AG-UI beside an existing JSON wire through one standing conversation owner, with a bounded per-session agent pool, shared identity/admission/lane/checkpoints, request-local served-event translation, explicit host-authorized terminal/custom delivery and bounded output; per-request frontend tools are explicitly unsupported in pooled mode | `protocolRoute` + `HttpProtocolRoute` + `ProtocolRouteOptions` (`agentfootprint/hosting`), `httpHost({ protocols })`; optional `agUi({ toolArguments, toolResults })` served-value projections | `src/hosting/protocolRoute.ts` | unreleased |
43
+ | restoring application context from retained source metadata during an admitted turn, without rows, scalar values or a fabricated tool call; fresh preparation admission, current producer and native permission checks, bounded paging, cancellation and a capability revoked before execution | `RunTurn.sourceEvidence.recent` + `SourceEvidencePreparation` / `SourceEvidencePreparationContext` / `SourceEvidenceMetadata` / `SourceEvidenceRecentArgs` / `SourceEvidenceRecentResult`; opt in with `sourceEvidence({ preparation: { admit } })` | `src/core/agent/sourceEvidence/preparation.ts` | 14.6.0 |
44
+ | serving AG-UI beside an existing JSON wire through one standing conversation owner, with a bounded per-session agent pool, shared identity/admission/lane/checkpoints, request-local served-event translation, explicit host-authorized terminal/custom delivery and bounded output; per-request frontend tools are explicitly unsupported in pooled mode | `protocolRoute` + `HttpProtocolRoute` + `ProtocolRouteOptions` (`agentfootprint/hosting`), `httpHost({ protocols })`; optional `agUi({ toolArguments, toolResults })` served-value projections | `src/hosting/protocolRoute.ts` | 14.6.0 |
45
45
  | serving an agent behind a GATEWAY that speaks AG-UI in its own request body and its own output envelope (`{"eventType":"…Event","event":{…,"eventSequence":n}}`) — `agUi()` as three replaceable strategies: a reader (the gateway's body → the turn), the translation (AG-UI vocabulary, unchanged) and the framing (the envelope; each frame's number in its own stream handed in by the host, never a shared counter); every untrusted-input rule stays in the core whichever reader ran (shape and ids, no system/developer message, frontend tools by allow-list, state/context by validators, answers only for the kept pause; each value read once) | `agUi({ reader, translation, framing })` + `AgUiRequestReader` / `AgUiTurnRequest` / `AgUiTranslationStrategy` (`agentfootprint/ag-ui`), `SseFraming.frame(event, { sequence })` + `SseFramePosition` (`agentfootprint/observe`) | `src/ag-ui/adapter.ts` | 10.5.0 |
46
46
  | checking forced tool choice per model without changing the existing boolean wire declaration; explicit requests refuse before transport, classifiers keep their strict parse alternative, wrappers preserve and fallback pairs intersect | `LLMProvider.supportsForcedToolChoice` + `forcedToolChoiceFor` + `UnsupportedToolChoiceError` (`agentfootprint/providers`) | `src/provider-contract/forcedToolChoice.ts` | 10.1.0 |
47
47
  | a typed answer constrained by the PROVIDER'S OWN structured output instead of asked for in prose — the schema sent as Anthropic's `output_config.format`, the agent keeping its tools; one function builds the API-compatible wire copy (objects closed, unsupported constraints moved into the description, recursion / external `$ref` / complex enums / open values / open-keyed maps refused at build by node), the parser still judges; explicit-native per-model capability with unknown ids read as the newest generation, refused by name at run start and before transport; a `'refusal'` / `'max_tokens'` stop fails the attempt by name even when it parses; `_findings` allowed on the format when the ledger is armed | `.outputSchema(parser, { strategy: 'native', jsonSchema })` + `LLMProvider.carriesNativeOutputSchema` / `supportsNativeOutputSchema` + `nativeOutputSchemaFor` + `UnsupportedNativeOutputError` (`agentfootprint/providers`) + `answerGuarantee: 'native'` + `OutputAttempt.stopReason` | `src/provider-contract/nativeOutputSchema.ts` | 10.3.0 |
48
48
  | choosing native structured output automatically only for positively known supported models (`supportsAutoNativeOutputSchema`) when a safely lowered JSON Schema is available; otherwise keeping instruction plus local validation, with an accurate format guarantee; accepting exactly one whole-answer JSON or unlabelled code fence before the unchanged JSON/schema parser | `.outputSchema(parser, { strategy: 'auto', jsonSchema? })` (default) + `agent.parseOutput` / `runTyped` | `src/core/agent/AgentBuilder.ts` | 11.0.0 |
49
49
  | replaying Anthropic thinking in its original content order; refusing known unsafe active-tool replay, observing each permitted completed-turn omission before sending, and retaining that decision across checkpoints | `LLMMessage.replay` + `UnsafeThinkingReplayError` + `LLMCallHooks.onReplayPrepared` + `agentfootprint.agent.thinking_omitted` | `src/adapters/llm/anthropicThinkingReplay.ts` | 10.1.0 |
50
50
  | keeping personal data and hidden human argument answers across repeated/kept pauses out of an agent's saved records — snapshot, narrative, every event, recordings, bug reports, answer accounts, the exporters — while the model, the tools and the caller keep the real values; the library's own list of the names the conversation travels under (proven per feature), joined with the fields your tools name; it reaches compositions (members' policies adopted) and runs a tool starts (`ctx.redact`), and readers of the record say "kept out", never "not recorded" or "no tool ran" | `Agent.create({ redact })` (a footprintjs `RedactionPolicy`) + `conversationRedaction` + `ToolExecutionContext.redact` | `src/redaction/` | 9.140.0 |
51
+ | distinguishing privacy-withheld saved request values from an actually missing replay base — a positive policy marker carries conditional uncertainty even when the native engine retains a safe base, while public values and receipt hashes stay unchanged | `servedAt` / `servedViews` + `ServedGapKind` (`privacy-policy`) | `src/time-travel/servedView/gaps.ts` | 14.6.1 |
51
52
  | prompt caching that keeps hitting behind `withRetry`, `withFallback` or your own provider wrapper — the cache strategy chosen from what the adapter DECLARES (explicit breakpoints / automatic / none), never from its name, plus a moving breakpoint on the conversation tail so each call reads back what the last one sent | `LLMProvider.promptCaching` (`PromptCaching`) + `cacheStrategyFor` + `BreakpointCacheStrategy` / `AutomaticCacheStrategy` / `NoOpCacheStrategy` | `src/cache/cacheStrategyFor.ts` | 9.138.0 |
52
53
  | findings with stable tool contracts and immutable instructions, bounded late DATA outside cached history, unchanged citation admission, and call-scoped saved/resumed layout evidence | `.findings({ maxContextBytes })` + `findingsContext` + `servedAt` / `findings-layout` | `src/core/agent/findings/context.ts` | 10.10.0 |
53
54
  | Bedrock Converse prompt caching for exact verified models and geography profiles, field/TTL restrictions and four-checkpoint limit; cache read/write counts on both transports; model-aware capabilities through resilience decorators; one build warning and fixed run metadata when requested caching is unavailable; the meter accepts real engine events from `.watch()` | `bedrock` + `BedrockProvider` | `src/adapters/llm/BedrockProvider.ts` | 10.8.0 |
@@ -93,7 +94,7 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
93
94
  | naming your own branches and nodes — which prefix is reserved, and telling framework plumbing from consumer structure in a trace | `RESERVED_SUBFLOW_PREFIX` + `isReservedSubflowSegment` | `src/lib/conventions.ts` | 9.49.0 |
94
95
  | keeping a large tool result out of the model's context | `artifacts` (bare store, or `{ store, placement: { maxInlineChars }, recordings }` — `placement` omitted ⇒ never placed; `recordings: true` / `{ label }`, default off) + `wants` + `placement` | `src/artifacts/` | 9.21.0 |
95
96
  | opening selected JSON from a host-admitted artifact without loading its whole payload into model context | `artifactDetailTool` + `ArtifactDetailError` — fresh host admission per call, small values, paginated child actions, whole-scalar omission and bounded context; no automatic store access, source read or claim authorization | `src/tools/artifactDetailTool.ts` | 10.7.0 |
96
- | retaining an exact historical source association across native continuation or window trimming, then finding and reading bounded permitted values under fresh host admission | `withSourceEvidence` + `AgentBuilder.sourceEvidence` + native `find_source_evidence` / `read_source_evidence`; explicit producer scope/fields, existing scoped artifacts, bounded reference-only checkpoint carrier, preserved status/coverage and current capability checks; no refresh or answer-completeness guarantee | `src/` | unreleased |
97
+ | retaining an exact historical source association across native continuation or window trimming, then finding and reading bounded permitted values under fresh host admission | `withSourceEvidence` + `AgentBuilder.sourceEvidence` + native `find_source_evidence` / `read_source_evidence`; explicit producer scope/fields, existing scoped artifacts, bounded reference-only checkpoint carrier, preserved status/coverage and current capability checks; no refresh or answer-completeness guarantee | `src/` | 14.6.0 |
97
98
  | the ticket placement just minted being REFUSED by your own `wants` argument as a kind mismatch — because the mint says `tool-result/<toolName>` and your consumer says `dataset/rows` | `Tool.resultKind` + `placedResultKind(toolName, declared?)` (the mint speaks the consumer's vocabulary; the exact-match matcher is untouched) | `src/artifacts/placement.ts` | 9.70.0 |
98
99
  | a viewer guessing which column of a dataset is time (epoch seconds under `ts`, wall-clock strings, a `bucket` column) and opening a series as a table | `timeAxis` on `PutArtifactInput` / `ArtifactMeta` (column · `'iso'`/`'epoch-s'`/`'epoch-ms'` · zone · interval · aggregate) + `readTimeAxis` + `describeTimeAxis` + `timeAxisIssues` (judged at mint, never repaired) | `src/time/axis.ts` | 9.128.0 |
99
100
  | a chart or check comparing a dataset's time values as spellings — epoch seconds beside ISO strings, `+02:00` beside `Z`, a wall-clock string with no offset silently read as UTC, two `01:30` rows in the hour the clocks go back; a READ-SIDE view (the stored rows are never rewritten): UTC instants at one precision, sorted, each with its row; an offset-less value under a zone-less axis is counted (`status: 'naive-values'`) or refused (`naive: 'refuse'`), never read as UTC; a fall-back wall time placed by row order and noted, else counted `dstAmbiguous`; a skipped one `dstGap` (the axis is re-exported from `src/artifacts/`) | `normaliseInstants` + `NormalisedAxis` | `src/time/axis.ts` | 9.129.0 |
@@ -166,7 +167,7 @@ not in this table, search `src/index.ts` for the nearest noun before writing cod
166
167
  | signing people in through the company's identity provider in the browser (OIDC authorization code + PKCE) — PENDING INDEPENDENT REVIEW: a sealed per-attempt transaction cookie (nothing on the server), `returnTo` pinned to the public origin, the person read from an ACCESS token by the strategy's own verify (one id for browser and bearer), private-key or secret client authentication, AD FS `resource`, 303 with no-referrer, end-session | `oidcSignIn` + `signInDoor({ redirect })` + `safeReturnTo` + `IDENTITY_CLIENT_ID` / `IDENTITY_CLIENT_KEY_FILE` / `IDENTITY_PKCE` (`identityFromConfig` → mode `redirect`) | `src/adapters/identity/oidcSignIn.ts` | 9.117.0 |
167
168
  | signing people in with their Windows password against plain Active Directory (no federation server) — LDAPS only, the empty password refused before the bind, RFC 4532 Who-am-I then exactly one entry (the rename collision closed), the id = objectGUID, a nested required group, one answer for every wrong credential, limits from AD's lockout threshold (a third per ACCOUNT via `PasswordChecker.budgetKey`, reset from the LAST failure; threshold 1–2 refused unless overridden), the MFA bypass stated — PENDING INDEPENDENT REVIEW | `directoryPasswords` + `ldapDirectory` + `IDENTITY_STRATEGY=directory-password` (`IDENTITY_LDAP_*`) | `src/adapters/identity/directory/` | 9.117.0 |
168
169
  | labelling a password sign-in form for the password it takes — "Windows username" for the company directory, "Username" for a local list — from the door's own answer, not a guess: `GET /auth/config` adds `passwordKind` (`'directory'` or `'local'`) beside `mode: 'password'`, the checker's declared `kind` (`directoryPasswords` declares `'directory'`, `localPasswords` `'local'`); a fact, the words stay the page's; no key when the checker declares none | `PasswordKind` + `PasswordChecker` (its `kind`) | `src/hosting/signin/door.ts` | 9.118.0 |
169
- | admitting a directory user through any one of several access groups with one bind and one escaped membership search; empty group lists refuse construction | `directoryPasswords` | `src/adapters/identity/directory/` | unreleased |
170
+ | admitting a directory user through any one of several access groups with one bind and one escaped membership search; empty group lists refuse construction | `directoryPasswords` | `src/adapters/identity/directory/` | 14.6.0 |
170
171
  | an audit trail of every sign-in — who tried, from which address, when, and why it was refused (AD's bind sub-code and its name on `directory-password`), success included; one JSON log line per outcome with no code, a typed sink for your own store; never a password, cookie or token | `signInDoor({ onAudit, log })` + `SignInAuditRecord` + `PasswordChecker.check`'s `note` + `adSubCodeName` + `identityFromConfig(…, { onSignInAudit, signInLog })` | `src/hosting/signin/audit.ts` | 9.135.0 |
171
172
  | trusting a DC certificate a PUBLIC CA issued, from Node's own store instead of a CA file (explicit, never unset-means-system), and refusing — not only delaying — a client address after N failed sign-ins, opt-in | `systemCa` + `IDENTITY_LDAP_CA_FILE=system` + `refuseAddressAfter` + `IDENTITY_SIGN_IN_ADDRESS_REFUSE_AFTER` | `src/adapters/identity/directory/ldapDirectory.ts` | 9.135.0 |
172
173
  | trusting a company login proxy (oauth2-proxy, mod_auth_openidc, Pomerium) only as far as the signed ACCESS token it forwards — verified with a literal issuer and a JWKS URL (no discovery, no redirects), the person test and the proxy's client check; an ID token refused; the door guard required because the proxy's cookie rides along on forged requests | `proxyTokenChoice` + `IDENTITY_PROXY_TOKEN` + `IDENTITY_PROXY_HEADER` (strategy `proxy-token` of `identityFromConfig`, mode `proxy`) | `src/adapters/identity/strategies/proxyChoice.ts` | 9.117.0 |
@@ -119,9 +119,9 @@ class Agent extends RunnerBase_js_1.RunnerBase {
119
119
  *
120
120
  * **Under `redact` it is the SERVED snapshot** — footprintjs's redacted view
121
121
  * (`RunnerBase.getLastSnapshot`): the placeholder wherever the policy
122
- * selected a value, and no `initialState`. The agent's own logic never reads
123
- * this getter; `checkpoint()`, `followUp()` and the crash checkpoint read the
124
- * live run, so redaction never changes what the agent continues from.
122
+ * selected a value. Older engines omit `initialState`; newer engines retain
123
+ * its policy-filtered base. The agent's logic reads the live run for
124
+ * `checkpoint()`, `followUp()` and crash recovery, so continuation stays raw.
125
125
  */
126
126
  getLastSnapshot() {
127
127
  return super.getLastSnapshot();
@@ -70,9 +70,9 @@ class RunnerBase {
70
70
  * handed down), this is footprintjs's REDACTED view —
71
71
  * `getSnapshot({ redact: true })`, through `servableSnapshot`, the one owner
72
72
  * of what a run may show: `sharedState` and every subflow's state from the
73
- * redacted mirror, the commit log as scrubbed at write time, and no
74
- * `initialState` (the raw pre-run base never passed the policy, so a fold of
75
- * it reports `basis: 'log-only'`). Private argument selectors use the same
73
+ * redacted mirror, the scrubbed commit log, and the native engine's fold-base
74
+ * contract: older views omit it; newer engines serve its safe projection.
75
+ * Private argument selectors use the same
76
76
  * native view; without either arm the snapshot is unchanged. The library's own logic never reads this
77
77
  * getter — what it computes on is the live run (`liveSnapshot`).
78
78
  */
@@ -84,11 +84,11 @@
84
84
  * (`time-travel/servedView.ts` never prints a placeholder as if the request had carried
85
85
  * it), so the view's hash no longer matches this receipt's (the receipt hashed
86
86
  * what the model was served). The same holds for `flowchartAsTool({ redact })` /
87
- * `runbookAsTool({ redact })` on an inner run. A snapshot taken with
88
- * `redact: true` also omits `initialState`, so folding it reports
89
- * `basis: 'log-only'` and `time-travel/servedView.ts` raises `no-fold-base` rather than
90
- * rebuilding a short view in silence. Treat an unredacted recording as the
91
- * plaintext it is; the salt protects the fingerprints, and only the
87
+ * `runbookAsTool({ redact })` on an inner run. Older engines omit `initialState`;
88
+ * newer engines retain its policy-filtered base. Only an absent base yields
89
+ * `basis: 'log-only'` and `no-fold-base`; `privacy-policy` independently warns
90
+ * that values may be withheld. Treat an unredacted recording as the plaintext
91
+ * it is; the salt protects the fingerprints, and only the
92
92
  * fingerprints.
93
93
  *
94
94
  * ── THE FOURTH LAW: THE RECEIPT IS MINTED AT THE PROVIDER PORT ─────────────
@@ -50,10 +50,10 @@
50
50
  *
51
51
  * WHAT IT CANNOT DO. The resume checkpoint (`err.checkpoint` on a paused run)
52
52
  * is not a served view: resumption must replay against real values, and it is
53
- * handed to the agent loop, never to a model. And the redacted view OMITS the
54
- * run's `initialState` (footprintjs `ExecutionRuntime.getSnapshot`: the raw
55
- * pre-run seed never passed a policy, so it is dropped rather than served), so
56
- * a fold of a kept record reports `basis: 'log-only'`; a subflow's
53
+ * handed to the agent loop, never to a model. Older native redacted views omit
54
+ * `initialState`; newer engines serve its safe projection. The installed native
55
+ * contract is forwarded unchanged; missing bases and policy-withheld values
56
+ * remain separate limitations of an offline rebuild. A subflow's
57
57
  * `treeContext.initialState` travels as footprintjs serves it (9.20.0 keeps
58
58
  * it — the nested runtime's base BEFORE its seed, which is a commit of its
59
59
  * own, `history[0]`).
@@ -129,9 +129,9 @@ export declare class Agent extends RunnerBase<AgentInput, AgentOutput, AgentRunV
129
129
  *
130
130
  * **Under `redact` it is the SERVED snapshot** — footprintjs's redacted view
131
131
  * (`RunnerBase.getLastSnapshot`): the placeholder wherever the policy
132
- * selected a value, and no `initialState`. The agent's own logic never reads
133
- * this getter; `checkpoint()`, `followUp()` and the crash checkpoint read the
134
- * live run, so redaction never changes what the agent continues from.
132
+ * selected a value. Older engines omit `initialState`; newer engines retain
133
+ * its policy-filtered base. The agent's logic reads the live run for
134
+ * `checkpoint()`, `followUp()` and crash recovery, so continuation stays raw.
135
135
  */
136
136
  getLastSnapshot(): RuntimeSnapshot | undefined;
137
137
  /**
@@ -93,9 +93,9 @@ export class Agent extends RunnerBase {
93
93
  *
94
94
  * **Under `redact` it is the SERVED snapshot** — footprintjs's redacted view
95
95
  * (`RunnerBase.getLastSnapshot`): the placeholder wherever the policy
96
- * selected a value, and no `initialState`. The agent's own logic never reads
97
- * this getter; `checkpoint()`, `followUp()` and the crash checkpoint read the
98
- * live run, so redaction never changes what the agent continues from.
96
+ * selected a value. Older engines omit `initialState`; newer engines retain
97
+ * its policy-filtered base. The agent's logic reads the live run for
98
+ * `checkpoint()`, `followUp()` and crash recovery, so continuation stays raw.
99
99
  */
100
100
  getLastSnapshot() {
101
101
  return super.getLastSnapshot();
@@ -51,9 +51,9 @@ export declare abstract class RunnerBase<TIn = unknown, TOut = unknown, TValues
51
51
  * handed down), this is footprintjs's REDACTED view —
52
52
  * `getSnapshot({ redact: true })`, through `servableSnapshot`, the one owner
53
53
  * of what a run may show: `sharedState` and every subflow's state from the
54
- * redacted mirror, the commit log as scrubbed at write time, and no
55
- * `initialState` (the raw pre-run base never passed the policy, so a fold of
56
- * it reports `basis: 'log-only'`). Private argument selectors use the same
54
+ * redacted mirror, the scrubbed commit log, and the native engine's fold-base
55
+ * contract: older views omit it; newer engines serve its safe projection.
56
+ * Private argument selectors use the same
57
57
  * native view; without either arm the snapshot is unchanged. The library's own logic never reads this
58
58
  * getter — what it computes on is the live run (`liveSnapshot`).
59
59
  */
@@ -67,9 +67,9 @@ export class RunnerBase {
67
67
  * handed down), this is footprintjs's REDACTED view —
68
68
  * `getSnapshot({ redact: true })`, through `servableSnapshot`, the one owner
69
69
  * of what a run may show: `sharedState` and every subflow's state from the
70
- * redacted mirror, the commit log as scrubbed at write time, and no
71
- * `initialState` (the raw pre-run base never passed the policy, so a fold of
72
- * it reports `basis: 'log-only'`). Private argument selectors use the same
70
+ * redacted mirror, the scrubbed commit log, and the native engine's fold-base
71
+ * contract: older views omit it; newer engines serve its safe projection.
72
+ * Private argument selectors use the same
73
73
  * native view; without either arm the snapshot is unchanged. The library's own logic never reads this
74
74
  * getter — what it computes on is the live run (`liveSnapshot`).
75
75
  */
@@ -83,11 +83,11 @@
83
83
  * (`time-travel/servedView.ts` never prints a placeholder as if the request had carried
84
84
  * it), so the view's hash no longer matches this receipt's (the receipt hashed
85
85
  * what the model was served). The same holds for `flowchartAsTool({ redact })` /
86
- * `runbookAsTool({ redact })` on an inner run. A snapshot taken with
87
- * `redact: true` also omits `initialState`, so folding it reports
88
- * `basis: 'log-only'` and `time-travel/servedView.ts` raises `no-fold-base` rather than
89
- * rebuilding a short view in silence. Treat an unredacted recording as the
90
- * plaintext it is; the salt protects the fingerprints, and only the
86
+ * `runbookAsTool({ redact })` on an inner run. Older engines omit `initialState`;
87
+ * newer engines retain its policy-filtered base. Only an absent base yields
88
+ * `basis: 'log-only'` and `no-fold-base`; `privacy-policy` independently warns
89
+ * that values may be withheld. Treat an unredacted recording as the plaintext
90
+ * it is; the salt protects the fingerprints, and only the
91
91
  * fingerprints.
92
92
  *
93
93
  * ── THE FOURTH LAW: THE RECEIPT IS MINTED AT THE PROVIDER PORT ─────────────
@@ -83,11 +83,11 @@
83
83
  * (`time-travel/servedView.ts` never prints a placeholder as if the request had carried
84
84
  * it), so the view's hash no longer matches this receipt's (the receipt hashed
85
85
  * what the model was served). The same holds for `flowchartAsTool({ redact })` /
86
- * `runbookAsTool({ redact })` on an inner run. A snapshot taken with
87
- * `redact: true` also omits `initialState`, so folding it reports
88
- * `basis: 'log-only'` and `time-travel/servedView.ts` raises `no-fold-base` rather than
89
- * rebuilding a short view in silence. Treat an unredacted recording as the
90
- * plaintext it is; the salt protects the fingerprints, and only the
86
+ * `runbookAsTool({ redact })` on an inner run. Older engines omit `initialState`;
87
+ * newer engines retain its policy-filtered base. Only an absent base yields
88
+ * `basis: 'log-only'` and `no-fold-base`; `privacy-policy` independently warns
89
+ * that values may be withheld. Treat an unredacted recording as the plaintext
90
+ * it is; the salt protects the fingerprints, and only the
91
91
  * fingerprints.
92
92
  *
93
93
  * ── THE FOURTH LAW: THE RECEIPT IS MINTED AT THE PROVIDER PORT ─────────────
@@ -281,13 +281,13 @@ export interface FlowchartAsToolOptions {
281
281
  * Either alone is enough to keep a name out; neither can remove one the
282
282
  * other selects. With neither, the tool behaves exactly as before.
283
283
  *
284
- * WHAT IT DOES NOT GOVERN — said here so nobody has to rediscover it:
284
+ * NATIVE CONTRACTS AND BOUNDARIES — said here so nobody has to rediscover it:
285
285
  *
286
- * 1. The run's fold base. The redacted view OMITS `initialState`
287
- * (footprintjs `ExecutionRuntime.getSnapshot`: the raw pre-run seed
288
- * never passed a policy, so it is dropped rather than served). A fold of
289
- * a kept record therefore reports `basis: 'log-only'` — partial, and
290
- * saying so. A subflow's `treeContext.initialState` travels as
286
+ * 1. The engine's fold-base contract. Older engines omit `initialState`;
287
+ * newer engines retain its policy-filtered base. Only an absent base
288
+ * yields `basis: 'log-only'` and `no-fold-base`. The independent
289
+ * `privacy-policy` caveat warns that values may be withheld. A
290
+ * subflow's `treeContext.initialState` travels as
291
291
  * footprintjs serves it: its seed is a commit of its own (`history[0]`),
292
292
  * so that base is the nested runtime's pre-seed state.
293
293
  * 2. The resume checkpoint. A paused run throws with `err.checkpoint`,
@@ -49,10 +49,10 @@
49
49
  *
50
50
  * WHAT IT CANNOT DO. The resume checkpoint (`err.checkpoint` on a paused run)
51
51
  * is not a served view: resumption must replay against real values, and it is
52
- * handed to the agent loop, never to a model. And the redacted view OMITS the
53
- * run's `initialState` (footprintjs `ExecutionRuntime.getSnapshot`: the raw
54
- * pre-run seed never passed a policy, so it is dropped rather than served), so
55
- * a fold of a kept record reports `basis: 'log-only'`; a subflow's
52
+ * handed to the agent loop, never to a model. Older native redacted views omit
53
+ * `initialState`; newer engines serve its safe projection. The installed native
54
+ * contract is forwarded unchanged; missing bases and policy-withheld values
55
+ * remain separate limitations of an offline rebuild. A subflow's
56
56
  * `treeContext.initialState` travels as footprintjs serves it (9.20.0 keeps
57
57
  * it — the nested runtime's base BEFORE its seed, which is a commit of its
58
58
  * own, `history[0]`).
@@ -49,10 +49,10 @@
49
49
  *
50
50
  * WHAT IT CANNOT DO. The resume checkpoint (`err.checkpoint` on a paused run)
51
51
  * is not a served view: resumption must replay against real values, and it is
52
- * handed to the agent loop, never to a model. And the redacted view OMITS the
53
- * run's `initialState` (footprintjs `ExecutionRuntime.getSnapshot`: the raw
54
- * pre-run seed never passed a policy, so it is dropped rather than served), so
55
- * a fold of a kept record reports `basis: 'log-only'`; a subflow's
52
+ * handed to the agent loop, never to a model. Older native redacted views omit
53
+ * `initialState`; newer engines serve its safe projection. The installed native
54
+ * contract is forwarded unchanged; missing bases and policy-withheld values
55
+ * remain separate limitations of an offline rebuild. A subflow's
56
56
  * `treeContext.initialState` travels as footprintjs serves it (9.20.0 keeps
57
57
  * it — the nested runtime's base BEFORE its seed, which is a commit of its
58
58
  * own, `history[0]`).
@@ -19,7 +19,7 @@ export function viewOf(location, served) {
19
19
  const [composedPieces, pieces] = systemPieces(injections, recovery, ontology, findings);
20
20
  const [registered, withheld, forced] = toolsAt(location, served);
21
21
  const [requestOnly, layoutUnknown] = requestOnlyAt(location, served, asSent, registered, withheld, iteration, committed, lateLayout, recordedBound, initialLayoutUnknown);
22
- const gaps = gapsOf(location, layoutUnknown, conversation, read, forced);
22
+ const gaps = gapsOf(location, layoutUnknown, conversation, read, forced, served);
23
23
  return frozenView({
24
24
  epoch: location.epoch,
25
25
  callRuntimeStageId: location.callRuntimeStageId,
@@ -1 +1 @@
1
- {"version":3,"file":"assembly.js","sourceRoot":"","sources":["../../../../src/time-travel/servedView/assembly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAGtE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEtD,gFAAgF;AAChF,MAAM,UAAU,MAAM,CAAC,QAAuB,EAAE,MAAe;IAC7D,MAAM,IAAI,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;IAC7B,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,QAAQ,CAAC,GAAG,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IACzE,MAAM,CAAC,YAAY,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,cAAc,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC5E,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,oBAAoB,CAAC,GAAG,UAAU,CACpF,QA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,MAAM,EAAE;QAC1D,QAAQ,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE;QACvD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACpF,OAAO,EAAE,YAAY,CAAC,UAAU,CAAC;YACjC,GAAG,CAAC,MAAM,KAAK,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;YACvC,GAAG,CAAC,QAAQ,KAAK,IAAI,IAAI,EAAE,QAAQ,EAAE,CAAC;SACvC;QACD,IAAI;KACL,CAAC,CAAC;AACL,CAAC"}
@@ -67,10 +67,10 @@ export declare const SERVED_GAPS: Readonly<Record<ServedGapKind, Omit<ServedGap,
67
67
  *
68
68
  * // Why does nothing explain `callRuntimeStageId`? Because nothing has to.
69
69
  * UNGAPPED_FIELDS['callRuntimeStageId'];
70
- * Object.keys(SERVED_GAPS).length; // 7 gap kinds
70
+ * Object.keys(SERVED_GAPS).length; // the current catalogue's gap count
71
71
  * ```
72
72
  */
73
73
  export declare const UNGAPPED_FIELDS: Readonly<Record<string, string>>;
74
74
  /** Project every gap in its original priority order, without additional record reads. */
75
- export declare function gapsOf(location: EpochLocation, layoutUnknown: boolean, conversation: readonly LLMMessage[] | undefined, read: GapRead, forced: string | undefined): ServedGap[];
75
+ export declare function gapsOf(location: EpochLocation, layoutUnknown: boolean, conversation: readonly LLMMessage[] | undefined, read: GapRead, forced: string | undefined, served: boolean): ServedGap[];
76
76
  export {};
@@ -121,11 +121,34 @@ export const SERVED_GAPS = Object.freeze({
121
121
  'without one. ' +
122
122
  RECEIPT_BOUNDARY,
123
123
  }),
124
+ 'privacy-policy': Object.freeze({
125
+ // The recording's positive policy marker, not a placeholder-looking value,
126
+ // is the authority. This caveat is independent of whether the native engine
127
+ // retained a safe fold base. It states a possibility, not that any particular
128
+ // value was omitted: a policy can leave every value this view reads public.
129
+ // These fields compare the rebuild with the request; stored receipt hashes
130
+ // and basis facts are neither erased nor reclassified as missing.
131
+ fields: Object.freeze([
132
+ 'system.hash',
133
+ 'system.chars',
134
+ 'system.pieces',
135
+ 'messages.count',
136
+ 'messages.entries',
137
+ 'messages.requestOnly',
138
+ 'tools.schemaHashes',
139
+ 'tools.names',
140
+ 'tools.forced',
141
+ 'tools.withheld',
142
+ 'epoch',
143
+ ]),
144
+ why: 'Privacy rules may withhold values from this view. Empty values and counts do not ' +
145
+ 'establish that the request contained nothing.',
146
+ }),
124
147
  'no-fold-base': Object.freeze({
125
148
  // MECHANISM (not printed). Raised when `location.basis` or
126
149
  // `location.runBasis` is `'log-only'` — the recording travelled without the
127
- // `initialState` the fold folds against (`getSnapshot({ redact: true })`
128
- // hands back exactly that shape: the log travels, the base does not), so
150
+ // `initialState` the fold folds against (older redacted snapshots also
151
+ // had that shape: the log travelled, the base did not), so
129
152
  // every read can see only what the log itself wrote. A rebuild that
130
153
  // recovered one turn of three reports one; a system prompt it could not
131
154
  // read at all is 0 characters rather than unknown; and `EpochLocation.epoch`
@@ -400,7 +423,7 @@ export const SERVED_GAPS = Object.freeze({
400
423
  *
401
424
  * // Why does nothing explain `callRuntimeStageId`? Because nothing has to.
402
425
  * UNGAPPED_FIELDS['callRuntimeStageId'];
403
- * Object.keys(SERVED_GAPS).length; // 7 gap kinds
426
+ * Object.keys(SERVED_GAPS).length; // the current catalogue's gap count
404
427
  * ```
405
428
  */
406
429
  export const UNGAPPED_FIELDS = Object.freeze({
@@ -422,10 +445,10 @@ function gapOf(kind, cause) {
422
445
  return { gap: kind, ...SERVED_GAPS[kind], ...(cause !== undefined && { cause }) };
423
446
  }
424
447
  /** Project every gap in its original priority order, without additional record reads. */
425
- export function gapsOf(location, layoutUnknown, conversation, read, forced) {
448
+ export function gapsOf(location, layoutUnknown, conversation, read, forced, served) {
426
449
  const receipt = read.receipt;
427
450
  // ── what this view cannot prove ────────────────────────────────────────
428
- // Order is deliberate: the two that make the WHOLE view suspect come first,
451
+ // Order is deliberate: limits on the whole reconstructed view come first,
429
452
  // so a renderer that shows one gap shows the one that matters most.
430
453
  const gaps = [];
431
454
  if (layoutUnknown)
@@ -441,6 +464,8 @@ export function gapsOf(location, layoutUnknown, conversation, read, forced) {
441
464
  if (location.basis === 'log-only' || location.runBasis === 'log-only') {
442
465
  gaps.push(gapOf('no-fold-base'));
443
466
  }
467
+ if (served)
468
+ gaps.push(gapOf('privacy-policy'));
444
469
  if (conversation === undefined)
445
470
  gaps.push(gapOf('no-conversation-on-record'));
446
471
  if (!location.hasRunLog)
@@ -1 +1 @@
1
- {"version":3,"file":"gaps.js","sourceRoot":"","sources":["../../../../src/time-travel/servedView/gaps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAsB,MAAM,qCAAqC,CAAC;AAY3F;;;;GAIG;AACH,MAAM,CAAC,MAAM,WAAW,GAA4D,MAAM,CAAC,MAAM,CAAC;IAChG,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC/B,sEAAsE;QACtE,wEAAwE;QACxE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACjE,GAAG,EAAE,qKAAqK;KAC3K,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC/B,uEAAuE;QACvE,2EAA2E;QAC3E,2EAA2E;QAC3E,sEAAsE;QACtE,yEAAyE;QACzE,gDAAgD;QAChD,EAAE;QACF,2EAA2E;QAC3E,wEAAwE;QACxE,sEAAsE;QACtE,wEAAwE;QACxE,sEAAsE;QACtE,wEAAwE;QACxE,wEAAwE;QACxE,yEAAyE;QACzE,wEAAwE;QACxE,uDAAuD;QACvD,EAAE;QACF,wEAAwE;QACxE,wEAAwE;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To this rebuild it is NO
6
6
  * value: never a system piece, a tool list or a tool name the view could print
7
7
  * as if the request had carried it. Read as absent, which is what the record
8
- * can show. The view states the cost through the gap a redacted snapshot always
9
- * carries: it travels without its fold base (footprintjs omits `initialState`
10
- * from the served view), so `no-fold-base` — "unproven and may be SHORT … reads
11
- * as empty rather than as unknown" — is on every view of it.
8
+ * can show. The view states this uncertainty through `privacy-policy`, raised
9
+ * from the record's positive policy marker. A safe native fold base does not
10
+ * recover values the policy withheld; `no-fold-base` separately describes only
11
+ * a base that did not travel with the log.
12
12
  *
13
13
  * Read so only when the record says a policy covered the run — the snapshot's
14
14
  * marker (`redaction/marker.ts` · `servedUnderPolicy`), asked once per call of
@@ -171,7 +171,7 @@ export interface ServedRequestOnly {
171
171
  readonly reason: string;
172
172
  }
173
173
  /** The kinds of thing this view cannot prove. */
174
- export type ServedGapKind = 'findings-layout' | 'cache-transform' | 'thinking-replay' | 'forced-tool-schema' | 'provider-defaults' | 'no-fold-base' | 'no-conversation-on-record' | 'no-run-log' | 'no-receipt-on-chart';
174
+ export type ServedGapKind = 'findings-layout' | 'cache-transform' | 'thinking-replay' | 'forced-tool-schema' | 'provider-defaults' | 'privacy-policy' | 'no-fold-base' | 'no-conversation-on-record' | 'no-run-log' | 'no-receipt-on-chart';
175
175
  /**
176
176
  * WHAT STOOD IN THE WAY, as far as the record shows — computed at the read that
177
177
  * failed, so it is a value and not a sentence.
@@ -1 +1 @@
1
- {"version":3,"file":"servedView.js","sourceRoot":"","sources":["../../../src/time-travel/servedView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AAKH,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;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AC,CAAC,QAAQ,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AAC/E,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,UAAU,SAAS,CAAC,MAAe,EAAE,KAAa;IACtD,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACxC,OAAO,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC;AAC5E,CAAC"}
@@ -22,7 +22,7 @@ function viewOf(location, served) {
22
22
  const [composedPieces, pieces] = (0, system_js_1.systemPieces)(injections, recovery, ontology, findings);
23
23
  const [registered, withheld, forced] = (0, tools_js_1.toolsAt)(location, served);
24
24
  const [requestOnly, layoutUnknown] = (0, requestOnly_js_1.requestOnlyAt)(location, served, asSent, registered, withheld, iteration, committed, lateLayout, recordedBound, initialLayoutUnknown);
25
- const gaps = (0, gaps_js_1.gapsOf)(location, layoutUnknown, conversation, read, forced);
25
+ const gaps = (0, gaps_js_1.gapsOf)(location, layoutUnknown, conversation, read, forced, served);
26
26
  return (0, value_js_1.frozenView)({
27
27
  epoch: location.epoch,
28
28
  callRuntimeStageId: location.callRuntimeStageId,
@@ -1 +1 @@
1
- {"version":3,"file":"assembly.js","sourceRoot":"","sources":["../../../src/time-travel/servedView/assembly.ts"],"names":[],"mappings":";;;AAAA,0EAAsE;AAGtE,2CAAyD;AACzD,uDAAmD;AACnD,+CAA2C;AAC3C,+CAA2C;AAC3C,yCAAqC;AACrC,qDAAiD;AACjD,uCAAmC;AACnC,qDAA+C;AAC/C,yCAAsD;AAEtD,gFAAgF;AAChF,SAAgB,MAAM,CAAC,QAAuB,EAAE,MAAe;IAC7D,MAAM,IAAI,GAAG,IAAA,4BAAW,EAAC,QAAQ,CAAC,CAAC;IACnC,MAAM,OAAO,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AAQ;gBAChC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,KAAK;aAC3B;SACF,CAAC;QACF,MAAM,EAAE,EAAE,IAAI,EAAE,IAAA,oCAAgB,EAAC,cAAc,CAAC,EAAE,MAAM,EAAE;QAC1D,QAAQ,EAAE,EAAE,MAAM,EAAE,IAAA,uBAAY,EAAC,MAAM,CAAC,EAAE,WAAW,EAAE;QACvD,KAAK,EAAE;YACL,KAAK,EAAE,CAAC,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;YACpF,OAAO,EAAE,IAAA,uBAAY,EAAC,UAAU,CAAC;YACjC,GAAG,CAAC,MAAM,KAAK,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;YACvC,GAAG,CAAC,QAAQ,KAAK,IAAI,IAAI,EAAE,QAAQ,EAAE,CAAC;SACvC;QACD,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAhDD,wBAgDC"}
@@ -124,11 +124,34 @@ exports.SERVED_GAPS = Object.freeze({
124
124
  'without one. ' +
125
125
  receipt_js_1.RECEIPT_BOUNDARY,
126
126
  }),
127
+ 'privacy-policy': Object.freeze({
128
+ // The recording's positive policy marker, not a placeholder-looking value,
129
+ // is the authority. This caveat is independent of whether the native engine
130
+ // retained a safe fold base. It states a possibility, not that any particular
131
+ // value was omitted: a policy can leave every value this view reads public.
132
+ // These fields compare the rebuild with the request; stored receipt hashes
133
+ // and basis facts are neither erased nor reclassified as missing.
134
+ fields: Object.freeze([
135
+ 'system.hash',
136
+ 'system.chars',
137
+ 'system.pieces',
138
+ 'messages.count',
139
+ 'messages.entries',
140
+ 'messages.requestOnly',
141
+ 'tools.schemaHashes',
142
+ 'tools.names',
143
+ 'tools.forced',
144
+ 'tools.withheld',
145
+ 'epoch',
146
+ ]),
147
+ why: 'Privacy rules may withhold values from this view. Empty values and counts do not ' +
148
+ 'establish that the request contained nothing.',
149
+ }),
127
150
  'no-fold-base': Object.freeze({
128
151
  // MECHANISM (not printed). Raised when `location.basis` or
129
152
  // `location.runBasis` is `'log-only'` — the recording travelled without the
130
- // `initialState` the fold folds against (`getSnapshot({ redact: true })`
131
- // hands back exactly that shape: the log travels, the base does not), so
153
+ // `initialState` the fold folds against (older redacted snapshots also
154
+ // had that shape: the log travelled, the base did not), so
132
155
  // every read can see only what the log itself wrote. A rebuild that
133
156
  // recovered one turn of three reports one; a system prompt it could not
134
157
  // read at all is 0 characters rather than unknown; and `EpochLocation.epoch`
@@ -403,7 +426,7 @@ exports.SERVED_GAPS = Object.freeze({
403
426
  *
404
427
  * // Why does nothing explain `callRuntimeStageId`? Because nothing has to.
405
428
  * UNGAPPED_FIELDS['callRuntimeStageId'];
406
- * Object.keys(SERVED_GAPS).length; // 7 gap kinds
429
+ * Object.keys(SERVED_GAPS).length; // the current catalogue's gap count
407
430
  * ```
408
431
  */
409
432
  exports.UNGAPPED_FIELDS = Object.freeze({
@@ -425,10 +448,10 @@ function gapOf(kind, cause) {
425
448
  return { gap: kind, ...exports.SERVED_GAPS[kind], ...(cause !== undefined && { cause }) };
426
449
  }
427
450
  /** Project every gap in its original priority order, without additional record reads. */
428
- function gapsOf(location, layoutUnknown, conversation, read, forced) {
451
+ function gapsOf(location, layoutUnknown, conversation, read, forced, served) {
429
452
  const receipt = read.receipt;
430
453
  // ── what this view cannot prove ────────────────────────────────────────
431
- // Order is deliberate: the two that make the WHOLE view suspect come first,
454
+ // Order is deliberate: limits on the whole reconstructed view come first,
432
455
  // so a renderer that shows one gap shows the one that matters most.
433
456
  const gaps = [];
434
457
  if (layoutUnknown)
@@ -444,6 +467,8 @@ function gapsOf(location, layoutUnknown, conversation, read, forced) {
444
467
  if (location.basis === 'log-only' || location.runBasis === 'log-only') {
445
468
  gaps.push(gapOf('no-fold-base'));
446
469
  }
470
+ if (served)
471
+ gaps.push(gapOf('privacy-policy'));
447
472
  if (conversation === undefined)
448
473
  gaps.push(gapOf('no-conversation-on-record'));
449
474
  if (!location.hasRunLog)
@@ -1 +1 @@
1
- {"version":3,"file":"gaps.js","sourceRoot":"","sources":["../../../src/time-travel/servedView/gaps.ts"],"names":[],"mappings":";;;AAAA,oEAA2F;AAY3F;;;;GAIG;AACU,QAAA,WAAW,GAA4D,MAAM,CAAC,MAAM,CAAC;IAChG,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC/B,sEAAsE;QACtE,wEAAwE;QACxE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACjE,GAAG,EAAE,qKAAqK;KAC3K,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC;QAC/B,uEAAuE;QACvE,2EAA2E;QAC3E,2EAA2E;QAC3E,sEAAsE;QACtE,yEAAyE;QACzE,gDAAgD;QAChD,EAAE;QACF,2EAA2E;QAC3E,wEAAwE;QACxE,sEAAsE;QACtE,wEAAwE;QACxE,sEAAsE;QACtE,wEAAwE;QACxE,wEAAwE;QACxE,yEAAyE;QACzE,wEAAwE;QACxE,uDAAuD;QACvD,EAAE;QACF,wEAAwE;QACxE,wEAAwE;QACxE,uEAAuE;QACvE,yEAAyE;QACzE,yEAAyE;QACzE,uEAAuE;QACvE,wEAAwE;QACxE,2EAA2E;QAC3E,oEAAoE;QACpE,yEAAyE;QACzE,yBAAyB;QACzB,EAAE;QACF,0EAA0E;QAC1E,wEAAwE;QACxE,8DAA8D;QAC9D,uEAAuE;QACvE,wEAAwE;QACxE,oEAAoE;QACpE,wEAAwE;QACxE,wEAAwE;QACxE,qEAAqE;QACrE,EAAE;QACF,2EAA2E;QAC3E,yEAAyE;QACzE,0EAA0E;QAC1E,sDAAsD;QACtD,EAAE;QACF,kEAAkE;QAClE,qEAAqE;QACrE,wEAAwE;QACxE,2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,KAAK,CAAC,qBAAqB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACpF,yEAAyE;IACzE,yEAAyE;IACzE,uEAAuE;IACvE,0EAA0E;IAC1E,qEAAqE;IACrE,2EAA2E;IAC3E,oEAAoE;IACpE,kEAAkE;IAClE,IAAI,OAAO,EAAE,KAAK,EAAE,QAAQ,KAAK,IAAI,EAAE,CAAC;QACtC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtC,CAAC;IACD,IAAI,OAAO,KAAK,SAAS;QAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACjE,IAAI,OAAO,EAAE,kBAAkB,KAAK,SAAS;QAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACnF,IAAI,MAAM,KAAK,SAAS;QAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC;IACjE,OAAO,IAAI,CAAC;AACd,CAAC;AAnDD,wBAmDC"}
@@ -8,10 +8,10 @@ const conventions_js_1 = require("../../lib/conventions.js");
8
8
  * policy selected a key — `Agent.create({ redact })`). To this rebuild it is NO
9
9
  * value: never a system piece, a tool list or a tool name the view could print
10
10
  * as if the request had carried it. Read as absent, which is what the record
11
- * can show. The view states the cost through the gap a redacted snapshot always
12
- * carries: it travels without its fold base (footprintjs omits `initialState`
13
- * from the served view), so `no-fold-base` — "unproven and may be SHORT … reads
14
- * as empty rather than as unknown" — is on every view of it.
11
+ * can show. The view states this uncertainty through `privacy-policy`, raised
12
+ * from the record's positive policy marker. A safe native fold base does not
13
+ * recover values the policy withheld; `no-fold-base` separately describes only
14
+ * a base that did not travel with the log.
15
15
  *
16
16
  * Read so only when the record says a policy covered the run — the snapshot's
17
17
  * marker (`redaction/marker.ts` · `servedUnderPolicy`), asked once per call of
@@ -1 +1 @@
1
- {"version":3,"file":"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AA,0BAAc,EAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAA,oBAAM,EAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AAC/E,CAAC;AAJD,kCAIC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,SAAS,CAAC,MAAe,EAAE,KAAa;IACtD,MAAM,QAAQ,GAAG,IAAA,mBAAO,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACxC,OAAO,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,4BAAW,EAAC,QAAQ,CAAC,CAAC,OAAO,CAAC;AAC5E,CAAC;AAHD,8BAGC"}
@@ -129,9 +129,9 @@ export declare class Agent extends RunnerBase<AgentInput, AgentOutput, AgentRunV
129
129
  *
130
130
  * **Under `redact` it is the SERVED snapshot** — footprintjs's redacted view
131
131
  * (`RunnerBase.getLastSnapshot`): the placeholder wherever the policy
132
- * selected a value, and no `initialState`. The agent's own logic never reads
133
- * this getter; `checkpoint()`, `followUp()` and the crash checkpoint read the
134
- * live run, so redaction never changes what the agent continues from.
132
+ * selected a value. Older engines omit `initialState`; newer engines retain
133
+ * its policy-filtered base. The agent's logic reads the live run for
134
+ * `checkpoint()`, `followUp()` and crash recovery, so continuation stays raw.
135
135
  */
136
136
  getLastSnapshot(): RuntimeSnapshot | undefined;
137
137
  /**
@@ -51,9 +51,9 @@ export declare abstract class RunnerBase<TIn = unknown, TOut = unknown, TValues
51
51
  * handed down), this is footprintjs's REDACTED view —
52
52
  * `getSnapshot({ redact: true })`, through `servableSnapshot`, the one owner
53
53
  * of what a run may show: `sharedState` and every subflow's state from the
54
- * redacted mirror, the commit log as scrubbed at write time, and no
55
- * `initialState` (the raw pre-run base never passed the policy, so a fold of
56
- * it reports `basis: 'log-only'`). Private argument selectors use the same
54
+ * redacted mirror, the scrubbed commit log, and the native engine's fold-base
55
+ * contract: older views omit it; newer engines serve its safe projection.
56
+ * Private argument selectors use the same
57
57
  * native view; without either arm the snapshot is unchanged. The library's own logic never reads this
58
58
  * getter — what it computes on is the live run (`liveSnapshot`).
59
59
  */
@@ -83,11 +83,11 @@
83
83
  * (`time-travel/servedView.ts` never prints a placeholder as if the request had carried
84
84
  * it), so the view's hash no longer matches this receipt's (the receipt hashed
85
85
  * what the model was served). The same holds for `flowchartAsTool({ redact })` /
86
- * `runbookAsTool({ redact })` on an inner run. A snapshot taken with
87
- * `redact: true` also omits `initialState`, so folding it reports
88
- * `basis: 'log-only'` and `time-travel/servedView.ts` raises `no-fold-base` rather than
89
- * rebuilding a short view in silence. Treat an unredacted recording as the
90
- * plaintext it is; the salt protects the fingerprints, and only the
86
+ * `runbookAsTool({ redact })` on an inner run. Older engines omit `initialState`;
87
+ * newer engines retain its policy-filtered base. Only an absent base yields
88
+ * `basis: 'log-only'` and `no-fold-base`; `privacy-policy` independently warns
89
+ * that values may be withheld. Treat an unredacted recording as the plaintext
90
+ * it is; the salt protects the fingerprints, and only the
91
91
  * fingerprints.
92
92
  *
93
93
  * ── THE FOURTH LAW: THE RECEIPT IS MINTED AT THE PROVIDER PORT ─────────────
@@ -281,13 +281,13 @@ export interface FlowchartAsToolOptions {
281
281
  * Either alone is enough to keep a name out; neither can remove one the
282
282
  * other selects. With neither, the tool behaves exactly as before.
283
283
  *
284
- * WHAT IT DOES NOT GOVERN — said here so nobody has to rediscover it:
284
+ * NATIVE CONTRACTS AND BOUNDARIES — said here so nobody has to rediscover it:
285
285
  *
286
- * 1. The run's fold base. The redacted view OMITS `initialState`
287
- * (footprintjs `ExecutionRuntime.getSnapshot`: the raw pre-run seed
288
- * never passed a policy, so it is dropped rather than served). A fold of
289
- * a kept record therefore reports `basis: 'log-only'` — partial, and
290
- * saying so. A subflow's `treeContext.initialState` travels as
286
+ * 1. The engine's fold-base contract. Older engines omit `initialState`;
287
+ * newer engines retain its policy-filtered base. Only an absent base
288
+ * yields `basis: 'log-only'` and `no-fold-base`. The independent
289
+ * `privacy-policy` caveat warns that values may be withheld. A
290
+ * subflow's `treeContext.initialState` travels as
291
291
  * footprintjs serves it: its seed is a commit of its own (`history[0]`),
292
292
  * so that base is the nested runtime's pre-seed state.
293
293
  * 2. The resume checkpoint. A paused run throws with `err.checkpoint`,
@@ -49,10 +49,10 @@
49
49
  *
50
50
  * WHAT IT CANNOT DO. The resume checkpoint (`err.checkpoint` on a paused run)
51
51
  * is not a served view: resumption must replay against real values, and it is
52
- * handed to the agent loop, never to a model. And the redacted view OMITS the
53
- * run's `initialState` (footprintjs `ExecutionRuntime.getSnapshot`: the raw
54
- * pre-run seed never passed a policy, so it is dropped rather than served), so
55
- * a fold of a kept record reports `basis: 'log-only'`; a subflow's
52
+ * handed to the agent loop, never to a model. Older native redacted views omit
53
+ * `initialState`; newer engines serve its safe projection. The installed native
54
+ * contract is forwarded unchanged; missing bases and policy-withheld values
55
+ * remain separate limitations of an offline rebuild. A subflow's
56
56
  * `treeContext.initialState` travels as footprintjs serves it (9.20.0 keeps
57
57
  * it — the nested runtime's base BEFORE its seed, which is a commit of its
58
58
  * own, `history[0]`).
@@ -67,11 +67,11 @@ export declare const SERVED_GAPS: Readonly<Record<ServedGapKind, Omit<ServedGap,
67
67
  *
68
68
  * // Why does nothing explain `callRuntimeStageId`? Because nothing has to.
69
69
  * UNGAPPED_FIELDS['callRuntimeStageId'];
70
- * Object.keys(SERVED_GAPS).length; // 7 gap kinds
70
+ * Object.keys(SERVED_GAPS).length; // the current catalogue's gap count
71
71
  * ```
72
72
  */
73
73
  export declare const UNGAPPED_FIELDS: Readonly<Record<string, string>>;
74
74
  /** Project every gap in its original priority order, without additional record reads. */
75
- export declare function gapsOf(location: EpochLocation, layoutUnknown: boolean, conversation: readonly LLMMessage[] | undefined, read: GapRead, forced: string | undefined): ServedGap[];
75
+ export declare function gapsOf(location: EpochLocation, layoutUnknown: boolean, conversation: readonly LLMMessage[] | undefined, read: GapRead, forced: string | undefined, served: boolean): ServedGap[];
76
76
  export {};
77
77
  //# sourceMappingURL=gaps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gaps.d.ts","sourceRoot":"","sources":["../../../../src/time-travel/servedView/gaps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,KAAK,OAAO,GACR;IACE,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,oBAAoB,CAAC,CAAC;IACtE,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;CAC5B,GACD;IAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;CAAE,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CA8V9E,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAa3D,CAAC;AAQH,yFAAyF;AACzF,wBAAgB,MAAM,CACpB,QAAQ,EAAE,aAAa,EACvB,aAAa,EAAE,OAAO,EACtB,YAAY,EAAE,SAAS,UAAU,EAAE,GAAG,SAAS,EAC/C,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,MAAM,GAAG,SAAS,GACzB,SAAS,EAAE,CA2Cb"}
1
+ {"version":3,"file":"gaps.d.ts","sourceRoot":"","sources":["../../../../src/time-travel/servedView/gaps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,KAAK,OAAO,GACR;IACE,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,GAAG,oBAAoB,CAAC,CAAC;IACtE,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;CAC5B,GACD;IAAE,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAA;CAAE,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAsX9E,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAa3D,CAAC;AAQH,yFAAyF;AACzF,wBAAgB,MAAM,CACpB,QAAQ,EAAE,aAAa,EACvB,aAAa,EAAE,OAAO,EACtB,YAAY,EAAE,SAAS,UAAU,EAAE,GAAG,SAAS,EAC/C,IAAI,EAAE,OAAO,EACb,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,OAAO,GACd,SAAS,EAAE,CA4Cb"}
@@ -171,7 +171,7 @@ export interface ServedRequestOnly {
171
171
  readonly reason: string;
172
172
  }
173
173
  /** The kinds of thing this view cannot prove. */
174
- export type ServedGapKind = 'findings-layout' | 'cache-transform' | 'thinking-replay' | 'forced-tool-schema' | 'provider-defaults' | 'no-fold-base' | 'no-conversation-on-record' | 'no-run-log' | 'no-receipt-on-chart';
174
+ export type ServedGapKind = 'findings-layout' | 'cache-transform' | 'thinking-replay' | 'forced-tool-schema' | 'provider-defaults' | 'privacy-policy' | 'no-fold-base' | 'no-conversation-on-record' | 'no-run-log' | 'no-receipt-on-chart';
175
175
  /**
176
176
  * WHAT STOOD IN THE WAY, as far as the record shows — computed at the read that
177
177
  * failed, so it is a value and not a sentence.
@@ -1 +1 @@
1
- {"version":3,"file":"servedView.d.ts","sourceRoot":"","sources":["../../../src/time-travel/servedView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwJG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAKtE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,CAAC;AAExC,8DAA8D;AAC9D,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;CAChC;AAED,wDAAwD;AACxD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC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,GAAG,mBAAmB,CAAC;KACrD,CAAC;IACF;2DACuD;IACvD,QAAQ,CAAC,IAAI,EAAE,SAAS,SAAS,EAAE,CAAC;CACrC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAI/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,EAAE,CAIzD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAGnF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agentfootprint",
3
- "version": "14.6.0-rc.1",
4
- "description": "The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.",
3
+ "version": "14.6.1",
4
+ "description": "The explainable agent framework \u2014 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",
7
7
  "author": "Sanjay Krishna Anbalagan",