agentfootprint 9.1.0 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +15 -0
  2. package/dist/core/Agent.js +344 -18
  3. package/dist/core/Agent.js.map +1 -1
  4. package/dist/core/LLMCall.js +17 -0
  5. package/dist/core/LLMCall.js.map +1 -1
  6. package/dist/core/RunnerBase.js +22 -6
  7. package/dist/core/RunnerBase.js.map +1 -1
  8. package/dist/core/agent/AgentBuilder.js +20 -0
  9. package/dist/core/agent/AgentBuilder.js.map +1 -1
  10. package/dist/core/conversation.js +139 -0
  11. package/dist/core/conversation.js.map +1 -0
  12. package/dist/core/runCheckpoint.js +60 -2
  13. package/dist/core/runCheckpoint.js.map +1 -1
  14. package/dist/esm/core/Agent.d.ts +218 -3
  15. package/dist/esm/core/Agent.js +345 -19
  16. package/dist/esm/core/Agent.js.map +1 -1
  17. package/dist/esm/core/LLMCall.d.ts +9 -0
  18. package/dist/esm/core/LLMCall.js +17 -0
  19. package/dist/esm/core/LLMCall.js.map +1 -1
  20. package/dist/esm/core/RunnerBase.d.ts +22 -6
  21. package/dist/esm/core/RunnerBase.js +22 -6
  22. package/dist/esm/core/RunnerBase.js.map +1 -1
  23. package/dist/esm/core/agent/AgentBuilder.d.ts +5 -0
  24. package/dist/esm/core/agent/AgentBuilder.js +20 -0
  25. package/dist/esm/core/agent/AgentBuilder.js.map +1 -1
  26. package/dist/esm/core/agent/types.d.ts +45 -3
  27. package/dist/esm/core/conversation.d.ts +96 -0
  28. package/dist/esm/core/conversation.js +133 -0
  29. package/dist/esm/core/conversation.js.map +1 -0
  30. package/dist/esm/core/runCheckpoint.d.ts +85 -1
  31. package/dist/esm/core/runCheckpoint.js +57 -1
  32. package/dist/esm/core/runCheckpoint.js.map +1 -1
  33. package/dist/esm/hosting/standingAgent.d.ts +6 -2
  34. package/dist/esm/hosting/standingAgent.js +36 -27
  35. package/dist/esm/hosting/standingAgent.js.map +1 -1
  36. package/dist/esm/index.d.ts +2 -1
  37. package/dist/esm/index.js +5 -1
  38. package/dist/esm/index.js.map +1 -1
  39. package/dist/hosting/standingAgent.js +36 -27
  40. package/dist/hosting/standingAgent.js.map +1 -1
  41. package/dist/index.js +9 -1
  42. package/dist/index.js.map +1 -1
  43. package/dist/types/core/Agent.d.ts +218 -3
  44. package/dist/types/core/Agent.d.ts.map +1 -1
  45. package/dist/types/core/LLMCall.d.ts +9 -0
  46. package/dist/types/core/LLMCall.d.ts.map +1 -1
  47. package/dist/types/core/RunnerBase.d.ts +22 -6
  48. package/dist/types/core/RunnerBase.d.ts.map +1 -1
  49. package/dist/types/core/agent/AgentBuilder.d.ts +5 -0
  50. package/dist/types/core/agent/AgentBuilder.d.ts.map +1 -1
  51. package/dist/types/core/agent/types.d.ts +45 -3
  52. package/dist/types/core/agent/types.d.ts.map +1 -1
  53. package/dist/types/core/conversation.d.ts +97 -0
  54. package/dist/types/core/conversation.d.ts.map +1 -0
  55. package/dist/types/core/runCheckpoint.d.ts +85 -1
  56. package/dist/types/core/runCheckpoint.d.ts.map +1 -1
  57. package/dist/types/hosting/standingAgent.d.ts +6 -2
  58. package/dist/types/hosting/standingAgent.d.ts.map +1 -1
  59. package/dist/types/index.d.ts +2 -1
  60. package/dist/types/index.d.ts.map +1 -1
  61. package/package.json +1 -1
@@ -0,0 +1,97 @@
1
+ /**
2
+ * conversation — the refusals that guard a runner's per-instance state.
3
+ *
4
+ * Pattern: teaching refusal at a boundary (the shape `runInput` uses for a
5
+ * caller's message, applied to a caller's TIMING).
6
+ * Role: core/ layer. An `Agent` keeps the last run's executor, run context,
7
+ * answer and pause on ITSELF — that is what makes `checkpoint()`,
8
+ * `getLastSnapshot()` and `followUp()` possible at all. Those fields
9
+ * have exactly one owner at a time, and until 9.2.0 nothing said so.
10
+ * Emits: N/A — these fire before a run starts.
11
+ *
12
+ * ## Why these are refusals and not warnings
13
+ *
14
+ * Both shapes below used to SUCCEED, which is the entire problem. Two `run()`
15
+ * calls overlapping on one Agent both resolved with plausible answers, and the
16
+ * per-instance state afterwards belonged to whichever finished last: the
17
+ * conversation `checkpoint()` handed back was the other run's, the snapshot
18
+ * `getLastSnapshot()` served was the other run's, and every event carried the
19
+ * other run's meta. That is not concurrency, it is corruption — and nothing in
20
+ * the recording said so, because each run's own trace looked perfect.
21
+ *
22
+ * A message sent while a person still owes the agent an answer used to start a
23
+ * fresh run and silently abandon the pending question. A consent gate that can
24
+ * be walked around by sending another message is not a consent gate.
25
+ *
26
+ * Neither refusal is new policy. `standingAgent` has refused both since it
27
+ * existed (it serializes runs globally and calls that "a correctness
28
+ * requirement rather than a tuning choice", and answers a message that arrives
29
+ * mid-question with `AwaitingDecisionError`), and `recordedChat.send` refuses
30
+ * an overlapping turn in the same words. 9.2.0 moves the guarantee from the
31
+ * compositions down to the primitive, so it holds however you drive it.
32
+ *
33
+ * The names are deliberately NOT the hosting ones. `hosting/errors.ts` already
34
+ * owns `ConcurrentRunError` and `AwaitingDecisionError`, both of which carry a
35
+ * `sessionId` and speak about a session; core has no sessions, and two classes
36
+ * sharing one name across two doors is the duplicate-type hazard this codebase
37
+ * has fixed before.
38
+ */
39
+ /**
40
+ * Thrown when `run()` / `resume()` is called on a runner that is already
41
+ * running.
42
+ *
43
+ * One instance answers one turn at a time. To run two turns at once, build two
44
+ * agents — a chart is built once per instance and instances are cheap — or put
45
+ * the turns behind `standingAgent({ onConcurrentInvoke: 'enqueue' })`, which
46
+ * queues them.
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * // Refused: both would write the same instance's last-run state.
51
+ * await Promise.all([agent.run({ message: 'a' }), agent.run({ message: 'b' })]);
52
+ *
53
+ * // Fine: two instances, two sets of state.
54
+ * await Promise.all([agentA.run({ message: 'a' }), agentB.run({ message: 'b' })]);
55
+ * ```
56
+ */
57
+ export declare class RunInFlightError extends Error {
58
+ readonly code: "ERR_RUN_IN_FLIGHT";
59
+ /** The runner that is busy, by its configured id. */
60
+ readonly agentId: string;
61
+ /** The run already in flight, so a log line can be joined to its trace. */
62
+ readonly activeRunId: string;
63
+ constructor(door: string, agentId: string, activeRunId: string);
64
+ }
65
+ /**
66
+ * Thrown when a new message is sent to an agent whose last run PAUSED to ask a
67
+ * person something, and that question has not been answered.
68
+ *
69
+ * The pause is not a failure and not a stale flag — it is unfinished work with
70
+ * a person on the other end. Answer it with `resume(checkpoint, decision)`, or
71
+ * say plainly that it is being dropped with `abandonPause()`; both are visible
72
+ * in the record, and silently starting a fresh run was not.
73
+ */
74
+ export declare class PendingQuestionError extends Error {
75
+ readonly code: "ERR_PENDING_QUESTION";
76
+ /** The tool that asked, when the pause named one. */
77
+ readonly toolName?: string;
78
+ /** The id of the tool call that asked, for joining back to the trace. */
79
+ readonly toolCallId?: string;
80
+ constructor(door: string, pending: {
81
+ toolName?: string;
82
+ toolCallId?: string;
83
+ question?: string;
84
+ });
85
+ }
86
+ /**
87
+ * Thrown by `followUp()` when there is no conversation to follow up on.
88
+ *
89
+ * `followUp()` continues THIS agent's own last completed run. Before the first
90
+ * one there is nothing to continue, and a "follow-up" that quietly became a
91
+ * first turn would be the very confusion the door exists to remove.
92
+ */
93
+ export declare class NoConversationError extends Error {
94
+ readonly code: "ERR_NO_CONVERSATION";
95
+ constructor(door: string, reason: 'never-run' | 'last-run-unfinished');
96
+ }
97
+ //# sourceMappingURL=conversation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../src/core/conversation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,QAAQ,CAAC,IAAI,sBAAgC;IAC7C,qDAAqD;IACrD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,2EAA2E;IAC3E,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;gBAEjB,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;CAe/D;AAED;;;;;;;;GAQG;AACH,qBAAa,oBAAqB,SAAQ,KAAK;IAC7C,QAAQ,CAAC,IAAI,yBAAmC;IAChD,qDAAqD;IACrD,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,yEAAyE;IACzE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;gBAG3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE;QAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE;CAmBzE;AAED;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,IAAI,wBAAkC;gBAEnC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,qBAAqB;CAetE"}
@@ -54,6 +54,7 @@
54
54
  * DFS stage).
55
55
  */
56
56
  import type { LLMMessage } from '../adapters/types.js';
57
+ import type { MemoryIdentity } from '../memory/identity/types.js';
57
58
  import type { FoldedSpan } from './agent/window/types.js';
58
59
  /**
59
60
  * JSON-serializable checkpoint of an in-progress agent run. Persist
@@ -109,6 +110,50 @@ export interface AgentRunCheckpoint {
109
110
  * the opposite of what the version field is for.
110
111
  */
111
112
  readonly folded?: readonly FoldedSpan[];
113
+ /**
114
+ * WHO this conversation belongs to — the `identity` the stored run was
115
+ * given, carried so that continuing it lands in the same namespace it
116
+ * started in (9.2.0).
117
+ *
118
+ * Before this field, continuing a conversation re-seeded identity from the
119
+ * resuming run's own id: every continued turn wrote its memory under a
120
+ * FRESH `conversationId`, so turn two's facts were stored somewhere turn
121
+ * three could not read them. Nothing threw, and the only symptom was an
122
+ * agent that kept forgetting — the same class of failure as a store that
123
+ * silently forgot everything looking exactly like a new user.
124
+ *
125
+ * Absent on a conversation stored before 9.2.0, and absent when the run
126
+ * never got an explicit identity (the default is derived from a runId, and
127
+ * carrying THAT forward would pin a whole conversation to one run's id).
128
+ * An explicit `identity` on the continuing call always wins.
129
+ *
130
+ * **Version 1 still**, on the same reasoning as {@link folded}: an optional
131
+ * field is not a format change, and a runtime that has never heard of it
132
+ * continues the conversation correctly.
133
+ */
134
+ readonly identity?: MemoryIdentity;
135
+ /**
136
+ * WHICH agent recorded this conversation — present only when that agent was
137
+ * given an explicit `Agent.create({ id })` (9.2.0).
138
+ *
139
+ * A conversation is a transcript, and a transcript can be replayed on any
140
+ * agent. Usually that is the point: a deploy that adds a tool or edits a
141
+ * prompt must still be able to continue yesterday's conversations, so the
142
+ * runtime cannot refuse on "the agent changed". But replaying the BILLING
143
+ * agent's conversation on the SUPPORT agent is a different mistake, and it
144
+ * used to be accepted in silence.
145
+ *
146
+ * The rule is the one the embedder fingerprint already uses: **ids decide
147
+ * only when BOTH sides named themselves.** A default id (`'agent'`) is not
148
+ * naming yourself, so the majority of callers — who never pass one — are
149
+ * never refused. Two sides that both chose a name and chose different ones
150
+ * are refused, by name.
151
+ *
152
+ * Version 1 still, for the same reason as the two fields above.
153
+ */
154
+ readonly agent?: {
155
+ readonly id: string;
156
+ };
112
157
  /** Where the failure happened. Diagnostic — surfaces in oncall
113
158
  * triage so you can tell "LLM 500 mid-iteration" from "tool
114
159
  * threw" from "validation kept failing". */
@@ -166,6 +211,35 @@ export declare class RunCheckpointError extends Error {
166
211
  readonly checkpoint: AgentRunCheckpoint;
167
212
  constructor(cause: Error, checkpoint: AgentRunCheckpoint);
168
213
  }
214
+ /**
215
+ * Thrown when a stored conversation is handed to an agent that is provably
216
+ * not the one that recorded it (9.2.0).
217
+ *
218
+ * Raised only when BOTH sides named themselves with an explicit
219
+ * `Agent.create({ id })` and the two names differ — see
220
+ * {@link AgentRunCheckpoint.agent} for why that is the whole of the rule.
221
+ * An agent that gained a tool, changed its prompt or moved to a new model
222
+ * since the conversation was stored is NOT this error; continuing across a
223
+ * deploy is the ordinary case and must keep working.
224
+ */
225
+ export declare class ConversationMismatchError extends Error {
226
+ readonly code: "ERR_CONVERSATION_MISMATCH";
227
+ /** The id stamped on the stored conversation. */
228
+ readonly storedAgentId: string;
229
+ /** The id of the agent it was handed to. */
230
+ readonly agentId: string;
231
+ constructor(door: string, storedAgentId: string, agentId: string);
232
+ }
233
+ /**
234
+ * Refuse a stored conversation that provably belongs to a different agent.
235
+ *
236
+ * Both-sides-named-themselves, or nothing happens. `storedId` is absent on
237
+ * every conversation written before 9.2.0 and on every agent that never chose
238
+ * an id; `agentId` is undefined for the same reason on the reading side.
239
+ *
240
+ * @internal
241
+ */
242
+ export declare function assertContinuable(checkpoint: AgentRunCheckpoint, agentId: string | undefined, door: string): void;
169
243
  /**
170
244
  * Mutable state the Agent maintains during a run for checkpoint
171
245
  * capture. Keyed by `runId` so multiple in-flight runs don't
@@ -215,7 +289,17 @@ export declare function buildCheckpoint(tracker: RunCheckpointTracker, failurePo
215
289
  * and a fold's span is committed state — and because the same reader then
216
290
  * serves both checkpoint carriers, so neither can lose what the other keeps.
217
291
  */
218
- folded?: readonly FoldedSpan[]): AgentRunCheckpoint;
292
+ folded?: readonly FoldedSpan[],
293
+ /**
294
+ * Who the run was for and which agent ran it — the two fields that make a
295
+ * stored conversation continuable rather than merely readable (9.2.0).
296
+ * Both are absent unless the caller chose them explicitly; see
297
+ * {@link AgentRunCheckpoint.identity} and {@link AgentRunCheckpoint.agent}.
298
+ */
299
+ owner?: {
300
+ readonly identity?: MemoryIdentity;
301
+ readonly agentId?: string;
302
+ }): AgentRunCheckpoint;
219
303
  /**
220
304
  * Validate a checkpoint at deserialization time. Catches forward-
221
305
  * incompatible payloads (someone tries to resume a v3 checkpoint on
@@ -1 +1 @@
1
- {"version":3,"file":"runCheckpoint.d.ts","sourceRoot":"","sources":["../../../src/core/runCheckpoint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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EAAE,SAAS,UAAU,EAAE;AAC9B;;;;;GAKG;AACH,KAAK,CAAC,EAAE;IAAE,QAAQ,CAAC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GACxE,kBAAkB,CAapB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,kBAAkB,CAqDrE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,KAAK,GAAG,WAAW,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAmBzF"}
@@ -31,8 +31,12 @@
31
31
  * involved while a user's conversation quietly stops existing.
32
32
  *
33
33
  * ── Resuming a CONVERSATION is a REPLAY, and that has a cost ─────────────────
34
- * A stored conversation is restored through `agent.resumeOnError(...)`, and this
35
- * is its caveat, stated here in the words the Agent states it in, because a
34
+ * A stored conversation is restored through `agent.run({ message, continueFrom })`
35
+ * — the public conversation door since 9.2.0. This composer used to assemble the
36
+ * continuation by hand (append the turn, rewrite `originalInput`, hand the result
37
+ * to `resumeOnError`); that hand-assembly IS the door now, so a server and a
38
+ * script continue a conversation the same way and the identity travels with it.
39
+ * The caveat below is stated here in the words the Agent states it in, because a
36
40
  * composition that hides the caveat of the thing it composes is worse than no
37
41
  * composition at all:
38
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"standingAgent.d.ts","sourceRoot":"","sources":["../../../src/hosting/standingAgent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AAaH,OAAO,KAAK,EACV,UAAU,EAKV,oBAAoB,EAErB,MAAM,YAAY,CAAC;AAGpB;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,aAAa,CAAC,EAAE,SAAS,UAAU,EACvD,OAAO,EAAE,oBAAoB,CAAC,EAAE,CAAC,GAChC,OAAO,CAAC,EAAE,CAAC,CA8Qb"}
1
+ {"version":3,"file":"standingAgent.d.ts","sourceRoot":"","sources":["../../../src/hosting/standingAgent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AAaH,OAAO,KAAK,EACV,UAAU,EAKV,oBAAoB,EAErB,MAAM,YAAY,CAAC;AAGpB;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,aAAa,CAAC,EAAE,SAAS,UAAU,EACvD,OAAO,EAAE,oBAAoB,CAAC,EAAE,CAAC,GAChC,OAAO,CAAC,EAAE,CAAC,CAiSb"}
@@ -42,7 +42,8 @@ export { OutputSchemaError, applyOutputSchema, type OutputSchemaParser, type Out
42
42
  export { InvalidRunInputError } from './core/runInput.js';
43
43
  export { SCHEMA_CHECK_FRAME_PREFIX, SCHEMA_TOOL_NAME, isSchemaCheckMessage, type OutputAttempt, } from './core/agent/outputEnforcement.js';
44
44
  export { type OutputFallbackOptions, type OutputFallbackFn } from './core/outputFallback.js';
45
- export { RunCheckpointError, type AgentRunCheckpoint } from './core/runCheckpoint.js';
45
+ export { ConversationMismatchError, RunCheckpointError, type AgentRunCheckpoint, } from './core/runCheckpoint.js';
46
+ export { NoConversationError, PendingQuestionError, RunInFlightError, } from './core/conversation.js';
46
47
  export { flowchartAsTool, type FlowchartAsToolOptions, type FlowchartResultMapper, type FlowchartToolSnapshot, } from './core/flowchartAsTool.js';
47
48
  export type { Tool, ToolExecutionContext, ToolRegistryEntry, DefineToolOptions, } from './core/tools.js';
48
49
  export { defineTool, assertValidToolName, warnIfInvalidToolName } from './core/tools.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,OAAO,8CAA8C,CAAC;AACtD,OAAO,2CAA2C,CAAC;AACnD,OAAO,4C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AAkC,CAAC;AAS1C,cAAc,qBAAqB,CAAC;AAWpC,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,gBAAgB,EACrB,cAAc,EACd,KAAK,qBAAqB,EAC1B,KAAK,WAAW,GACjB,MAAM,oBAAoB,CAAC;AAM5B,OAAO,EACL,IAAI,EACJ,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,GAC3B,MAAM,6BAA6B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentfootprint",
3
- "version": "9.1.0",
3
+ "version": "9.2.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",