@agent-native/core 0.84.39 → 0.84.41

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 (31) hide show
  1. package/corpus/README.md +1 -1
  2. package/corpus/core/CHANGELOG.md +12 -0
  3. package/corpus/core/package.json +1 -1
  4. package/corpus/core/src/agent/action-continuation-guidance.ts +38 -0
  5. package/corpus/core/src/agent/production-agent.ts +344 -34
  6. package/corpus/core/src/agent/run-loop-with-resume.ts +128 -16
  7. package/corpus/core/src/agent/types.ts +8 -0
  8. package/corpus/core/src/client/agent-chat-adapter.ts +2 -40
  9. package/dist/agent/action-continuation-guidance.d.ts +3 -0
  10. package/dist/agent/action-continuation-guidance.d.ts.map +1 -0
  11. package/dist/agent/action-continuation-guidance.js +38 -0
  12. package/dist/agent/action-continuation-guidance.js.map +1 -0
  13. package/dist/agent/production-agent.d.ts +8 -5
  14. package/dist/agent/production-agent.d.ts.map +1 -1
  15. package/dist/agent/production-agent.js +267 -32
  16. package/dist/agent/production-agent.js.map +1 -1
  17. package/dist/agent/run-loop-with-resume.d.ts.map +1 -1
  18. package/dist/agent/run-loop-with-resume.js +69 -18
  19. package/dist/agent/run-loop-with-resume.js.map +1 -1
  20. package/dist/agent/types.d.ts +2 -0
  21. package/dist/agent/types.d.ts.map +1 -1
  22. package/dist/agent/types.js.map +1 -1
  23. package/dist/client/agent-chat-adapter.d.ts.map +1 -1
  24. package/dist/client/agent-chat-adapter.js +2 -39
  25. package/dist/client/agent-chat-adapter.js.map +1 -1
  26. package/dist/collab/routes.d.ts +1 -1
  27. package/dist/file-upload/actions/upload-image.d.ts +2 -2
  28. package/dist/observability/routes.d.ts +5 -5
  29. package/dist/progress/routes.d.ts +1 -1
  30. package/dist/resources/handlers.d.ts +1 -1
  31. package/package.json +1 -1
@@ -27,6 +27,8 @@ import {
27
27
  appendAgentLoopContinuation,
28
28
  isResumableEngineError,
29
29
  continuationReasonForResumableError,
30
+ lastUnfinishedPreparingActionToolFromEvents,
31
+ type AgentLoopContinuationReason,
30
32
  } from "./production-agent.js";
31
33
  import { resolveRunSoftTimeoutMs } from "./run-manager.js";
32
34
  import type { ResolveRunSoftTimeoutOptions } from "./run-manager.js";
@@ -35,6 +37,35 @@ import {
35
37
  classifyToolCallJournal,
36
38
  buildResumeJournalNote,
37
39
  } from "./tool-call-journal.js";
40
+ import type { AgentChatEvent } from "./types.js";
41
+
42
+ async function readCurrentTurnEventsForResume(
43
+ threadId: string | undefined,
44
+ localEvents: readonly AgentChatEvent[] = [],
45
+ ): Promise<AgentChatEvent[]> {
46
+ let persistedEvents: AgentChatEvent[] = [];
47
+ try {
48
+ persistedEvents = threadId
49
+ ? await getCurrentTurnEventsForThread(threadId)
50
+ : [];
51
+ } catch {
52
+ persistedEvents = [];
53
+ }
54
+ if (localEvents.length === 0) return persistedEvents;
55
+ const seen = new Set(persistedEvents.map((event) => JSON.stringify(event)));
56
+ return [
57
+ ...persistedEvents,
58
+ ...localEvents.filter((event) => !seen.has(JSON.stringify(event))),
59
+ ];
60
+ }
61
+
62
+ function actionPreparationContinuationOptions(
63
+ events: readonly AgentChatEvent[],
64
+ ): { actionPreparationTool?: string } {
65
+ const actionPreparationTool =
66
+ lastUnfinishedPreparingActionToolFromEvents(events);
67
+ return actionPreparationTool ? { actionPreparationTool } : {};
68
+ }
38
69
 
39
70
  /**
40
71
  * Derive the per-turn tool-call journal from the durable run-event ledger and,
@@ -57,13 +88,11 @@ import {
57
88
  * complete write tool (returning the journaled result instead). See
58
89
  * `tool-call-journal.ts` (`findCompletedJournalEntry`) for the keying used.
59
90
  */
60
- async function appendToolCallJournalNote(
91
+ function appendToolCallJournalNote(
61
92
  messages: EngineMessage[],
62
- threadId: string | undefined,
63
- ): Promise<void> {
64
- if (!threadId) return;
93
+ events: readonly AgentChatEvent[],
94
+ ): void {
65
95
  try {
66
- const events = await getCurrentTurnEventsForThread(threadId);
67
96
  if (events.length === 0) return;
68
97
  const journal = classifyToolCallJournal(events);
69
98
  const note = buildResumeJournalNote(journal);
@@ -79,12 +108,27 @@ async function appendToolCallJournalNote(
79
108
  }
80
109
  }
81
110
 
111
+ async function appendContinuationAndJournal(
112
+ messages: EngineMessage[],
113
+ reason: AgentLoopContinuationReason,
114
+ threadId: string | undefined,
115
+ localEvents: readonly AgentChatEvent[] = [],
116
+ ): Promise<void> {
117
+ const events = await readCurrentTurnEventsForResume(threadId, localEvents);
118
+ appendAgentLoopContinuation(
119
+ messages,
120
+ reason,
121
+ actionPreparationContinuationOptions(events),
122
+ );
123
+ appendToolCallJournalNote(messages, events);
124
+ }
125
+
82
126
  async function hasCompletedSideEffectToolCallInCurrentTurn(
83
127
  threadId: string | undefined,
128
+ localEvents: readonly AgentChatEvent[] = [],
84
129
  ): Promise<boolean> {
85
- if (!threadId) return false;
86
130
  try {
87
- const events = await getCurrentTurnEventsForThread(threadId);
131
+ const events = await readCurrentTurnEventsForResume(threadId, localEvents);
88
132
  if (events.length === 0) return false;
89
133
  return events.some(
90
134
  (event) =>
@@ -97,6 +141,24 @@ async function hasCompletedSideEffectToolCallInCurrentTurn(
97
141
  }
98
142
  }
99
143
 
144
+ function internalContinuationReasonForAttempt(
145
+ events: readonly AgentChatEvent[],
146
+ ): AgentLoopContinuationReason | undefined {
147
+ const last = events.at(-1);
148
+ if (last?.type !== "auto_continue") return undefined;
149
+ if (
150
+ last.reason === "run_timeout" ||
151
+ last.reason === "loop_limit" ||
152
+ last.reason === "no_progress" ||
153
+ last.reason === "stream_ended" ||
154
+ last.reason === "gateway_timeout" ||
155
+ last.reason === "network_interrupted"
156
+ ) {
157
+ return last.reason;
158
+ }
159
+ return undefined;
160
+ }
161
+
100
162
  /**
101
163
  * Cap on continuation iterations inside a single
102
164
  * `runAgentLoopDirectWithSoftTimeout` invocation. The host's hard function
@@ -161,6 +223,7 @@ export async function runAgentLoopDirectWithSoftTimeout(
161
223
  usage.model = next.model;
162
224
  };
163
225
 
226
+ const localTurnEvents: AgentChatEvent[] = [];
164
227
  let attempts = 0;
165
228
  // Tracks whether the most recent attempt ended by scheduling another
166
229
  // continuation (soft-timeout or resumable error → `continue`) rather than
@@ -189,16 +252,49 @@ export async function runAgentLoopDirectWithSoftTimeout(
189
252
  controller.abort();
190
253
  }, timeoutMs);
191
254
 
255
+ const attemptStartIndex = localTurnEvents.length;
256
+ const send = (event: AgentChatEvent) => {
257
+ localTurnEvents.push(event);
258
+ opts.send(event);
259
+ };
260
+
192
261
  try {
193
262
  const nextUsage = await runAgentLoop({
194
263
  ...opts,
264
+ send,
195
265
  signal: controller.signal,
196
266
  });
197
267
  addUsage(nextUsage);
268
+ const attemptEvents = localTurnEvents.slice(attemptStartIndex);
269
+ const internalContinuationReason =
270
+ internalContinuationReasonForAttempt(attemptEvents);
271
+ if (internalContinuationReason && !upstreamSignal.aborted) {
272
+ lastAttemptWasUnfinishedContinuation = true;
273
+ const continuationEvents = [...localTurnEvents];
274
+ if (
275
+ !(await hasCompletedSideEffectToolCallInCurrentTurn(
276
+ opts.threadId,
277
+ continuationEvents,
278
+ ))
279
+ ) {
280
+ opts.send({ type: "clear" });
281
+ }
282
+ await appendContinuationAndJournal(
283
+ opts.messages,
284
+ internalContinuationReason,
285
+ opts.threadId,
286
+ continuationEvents,
287
+ );
288
+ continue;
289
+ }
198
290
  if (softTimedOut && !upstreamSignal.aborted) {
199
291
  lastAttemptWasUnfinishedContinuation = true;
200
- appendAgentLoopContinuation(opts.messages, "run_timeout");
201
- await appendToolCallJournalNote(opts.messages, opts.threadId);
292
+ await appendContinuationAndJournal(
293
+ opts.messages,
294
+ "run_timeout",
295
+ opts.threadId,
296
+ localTurnEvents,
297
+ );
202
298
  continue;
203
299
  }
204
300
  return usage;
@@ -208,12 +304,19 @@ export async function runAgentLoopDirectWithSoftTimeout(
208
304
  // resumed model doesn't re-emit it and produce duplicated output.
209
305
  lastAttemptWasUnfinishedContinuation = true;
210
306
  if (
211
- !(await hasCompletedSideEffectToolCallInCurrentTurn(opts.threadId))
307
+ !(await hasCompletedSideEffectToolCallInCurrentTurn(
308
+ opts.threadId,
309
+ localTurnEvents,
310
+ ))
212
311
  ) {
213
312
  opts.send({ type: "clear" });
214
313
  }
215
- appendAgentLoopContinuation(opts.messages, "run_timeout");
216
- await appendToolCallJournalNote(opts.messages, opts.threadId);
314
+ await appendContinuationAndJournal(
315
+ opts.messages,
316
+ "run_timeout",
317
+ opts.threadId,
318
+ localTurnEvents,
319
+ );
217
320
  continue;
218
321
  }
219
322
  // Resumable transport / gateway interruptions: the LLM call was cut off
@@ -232,15 +335,19 @@ export async function runAgentLoopDirectWithSoftTimeout(
232
335
  if (!upstreamSignal.aborted && isResumableEngineError(err)) {
233
336
  lastAttemptWasUnfinishedContinuation = true;
234
337
  if (
235
- !(await hasCompletedSideEffectToolCallInCurrentTurn(opts.threadId))
338
+ !(await hasCompletedSideEffectToolCallInCurrentTurn(
339
+ opts.threadId,
340
+ localTurnEvents,
341
+ ))
236
342
  ) {
237
343
  opts.send({ type: "clear" });
238
344
  }
239
- appendAgentLoopContinuation(
345
+ await appendContinuationAndJournal(
240
346
  opts.messages,
241
347
  continuationReasonForResumableError(err),
348
+ opts.threadId,
349
+ localTurnEvents,
242
350
  );
243
- await appendToolCallJournalNote(opts.messages, opts.threadId);
244
351
  continue;
245
352
  }
246
353
  throw err;
@@ -262,7 +369,12 @@ export async function runAgentLoopDirectWithSoftTimeout(
262
369
  // the terminal message stands alone instead of trailing a half sentence.
263
370
  // Preserve completed tool cards: they are the user's only durable proof
264
371
  // that a side effect landed before the final assistant note timed out.
265
- if (!(await hasCompletedSideEffectToolCallInCurrentTurn(opts.threadId))) {
372
+ if (
373
+ !(await hasCompletedSideEffectToolCallInCurrentTurn(
374
+ opts.threadId,
375
+ localTurnEvents,
376
+ ))
377
+ ) {
266
378
  opts.send({ type: "clear" });
267
379
  }
268
380
  opts.send({
@@ -163,6 +163,14 @@ export interface AgentChatRequest {
163
163
  __backgroundRun?: {
164
164
  runId: string;
165
165
  turnId?: string;
166
+ continuationReason?:
167
+ | "run_timeout"
168
+ | "loop_limit"
169
+ | "no_progress"
170
+ | "stream_ended"
171
+ | "gateway_timeout"
172
+ | "network_interrupted";
173
+ actionPreparationTool?: string;
166
174
  /**
167
175
  * Number of server-driven background→background continuations already
168
176
  * chained into this logical turn (0 on the first chunk). The worker
@@ -1,5 +1,6 @@
1
1
  import type { ChatModelAdapter, ChatModelRunResult } from "@assistant-ui/react";
2
2
 
3
+ import { actionPreparationContinuationNote } from "../agent/action-continuation-guidance.js";
3
4
  import type {
4
5
  AgentChatStructuredContentPart,
5
6
  AgentChatStructuredMessage,
@@ -927,42 +928,6 @@ function contentAfterContinuationPrefix(
927
928
  return [...delta, ...content.slice(contentIndex)];
928
929
  }
929
930
 
930
- // Concrete "ship a compact first version, then refine incrementally" guidance
931
- // keyed by the large-payload action the model was cut off while preparing. A run
932
- // cut off mid-stream while streaming one big tool input (extension HTML, a full
933
- // design file set, an entire dashboard config) re-streams the SAME oversized
934
- // payload on every continuation and never finishes inside the soft-timeout
935
- // window — the classic thrash loop. Pointing the resumed model at the
936
- // incremental-edit path for that specific action is what breaks the loop.
937
- // Returns undefined for tools with no known incremental counterpart so the
938
- // caller falls back to generic compact-first advice.
939
- function incrementalActionGuidance(tool: string): string | undefined {
940
- switch (tool) {
941
- case "create-extension":
942
- case "update-extension":
943
- return "create a compact working v1 with `create-extension`, then use focused `update-extension` edits for refinements";
944
- case "generate-design":
945
- case "update-design":
946
- return 'if an existing design file or snapshot is already in history, especially after a Design variant pick, stop retrying `generate-design`: call `get-design-snapshot` for the selected file, then call `edit-design` once on that same `fileId` (`mode: "replace-file"` for a compact full-file replacement, or search/replace for smaller edits). Use `generate-design` only for a brand-new compact first file when no target file exists yet';
947
- case "edit-design":
948
- return "retry with a smaller `edit-design` payload: prefer a handful of exact search/replace edits against the already-snapshotted file, and avoid `replacementContent` for a huge full-file rewrite. If a selected variant needs expansion, upgrade the highest-value visible sections first, save once, and summarize any remaining refinements";
949
- case "present-design-variants":
950
- return 'call `present-design-variants` with concise labels, descriptions, accent colors, and feature bullets; omit large `content` HTML when needed so the action can render compact representative screens. After the user picks a direction, delete unchosen screens, snapshot the selected `fileId`, and refine that same file with `edit-design` (`mode: "replace-file"` for placeholder expansion). Do not call `generate-design` after the variant pick';
951
- case "create-visual-plan":
952
- case "create-ui-plan":
953
- case "create-plan-design":
954
- case "create-prototype-plan":
955
- return "create the plan with its core sections or first screen, then expand it with `update-visual-plan`/`patch-visual-plan-source` follow-up edits";
956
- case "update-visual-plan":
957
- case "patch-visual-plan-source":
958
- return "apply smaller, targeted `patch-visual-plan-source` edits rather than rewriting the whole plan in one call";
959
- case "update-dashboard":
960
- return "save a small dashboard first, then add panels one at a time with `update-dashboard` incremental `ops` edits instead of authoring the whole config in one call";
961
- default:
962
- return undefined;
963
- }
964
- }
965
-
966
931
  function autoContinueMessage(signal: AgentAutoContinueSignal): string {
967
932
  const tool = lastActivityTool(signal.activityTrail);
968
933
  const reason =
@@ -987,10 +952,7 @@ function autoContinueMessage(signal: AgentAutoContinueSignal): string {
987
952
  signal.reason === "no_progress";
988
953
  let actionInputNote = "";
989
954
  if (cutoffPreparingAction && tool) {
990
- const guidance = incrementalActionGuidance(tool);
991
- actionInputNote = guidance
992
- ? `\n\nThe previous run was cut off while preparing the \`${tool}\` action input before the action could finish. Avoid spending another whole run assembling one large tool payload — ${guidance}.`
993
- : `\n\nThe previous run was cut off while preparing the \`${tool}\` action input before the action could finish. Avoid re-assembling one large tool payload: produce a compact first result you can finish in a single run, then refine it with smaller follow-up edits.`;
955
+ actionInputNote = actionPreparationContinuationNote(tool);
994
956
  }
995
957
  return `${AUTO_CONTINUE_PROMPT}\n\n${AUTO_CONTINUE_COMPLETION_GUARD}\n\nInternal note: ${reason}${actionInputNote}`;
996
958
  }
@@ -0,0 +1,3 @@
1
+ export declare function incrementalActionGuidance(tool: string): string | undefined;
2
+ export declare function actionPreparationContinuationNote(tool: string): string;
3
+ //# sourceMappingURL=action-continuation-guidance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-continuation-guidance.d.ts","sourceRoot":"","sources":["../../src/agent/action-continuation-guidance.ts"],"names":[],"mappings":"AAKA,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAyB1E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKtE"}
@@ -0,0 +1,38 @@
1
+ // Concrete "ship a compact first version, then refine incrementally" guidance
2
+ // keyed by the large-payload action the model was cut off while preparing.
3
+ // A run cut off before the tool starts tends to reassemble the same oversized
4
+ // payload on every continuation; pointing the model at the incremental path is
5
+ // what breaks that loop.
6
+ export function incrementalActionGuidance(tool) {
7
+ switch (tool) {
8
+ case "create-extension":
9
+ case "update-extension":
10
+ return "create a compact working v1 with `create-extension`, then use focused `update-extension` edits for refinements";
11
+ case "generate-design":
12
+ case "update-design":
13
+ return 'if an existing design file or snapshot is already in history, especially after a Design variant pick, stop retrying `generate-design`: call `get-design-snapshot` for the selected file, then call `edit-design` once on that same `fileId` (`mode: "replace-file"` for a compact full-file replacement, or search/replace for smaller edits). Use `generate-design` only for a brand-new compact first file when no target file exists yet';
14
+ case "edit-design":
15
+ return "retry with a smaller `edit-design` payload: prefer a handful of exact search/replace edits against the already-snapshotted file, and avoid `replacementContent` for a huge full-file rewrite. If a selected variant needs expansion, upgrade the highest-value visible sections first, save once, and summarize any remaining refinements";
16
+ case "present-design-variants":
17
+ return 'call `present-design-variants` with concise labels, descriptions, accent colors, and feature bullets; omit large `content` HTML when needed so the action can render compact representative screens. After the user picks a direction, delete unchosen screens, snapshot the selected `fileId`, and refine that same file with `edit-design` (`mode: "replace-file"` for placeholder expansion). Do not call `generate-design` after the variant pick';
18
+ case "create-visual-plan":
19
+ case "create-ui-plan":
20
+ case "create-plan-design":
21
+ case "create-prototype-plan":
22
+ return "create the plan with its core sections or first screen, then expand it with `update-visual-plan`/`patch-visual-plan-source` follow-up edits";
23
+ case "update-visual-plan":
24
+ case "patch-visual-plan-source":
25
+ return "apply smaller, targeted `patch-visual-plan-source` edits rather than rewriting the whole plan in one call";
26
+ case "update-dashboard":
27
+ return "save a small dashboard first, then add panels one at a time with `update-dashboard` incremental `ops` edits instead of authoring the whole config in one call";
28
+ default:
29
+ return undefined;
30
+ }
31
+ }
32
+ export function actionPreparationContinuationNote(tool) {
33
+ const guidance = incrementalActionGuidance(tool);
34
+ return guidance
35
+ ? `\n\nThe previous run was cut off while preparing the \`${tool}\` action input before the action could finish. Avoid spending another whole run assembling one large tool payload - ${guidance}.`
36
+ : `\n\nThe previous run was cut off while preparing the \`${tool}\` action input before the action could finish. Avoid re-assembling one large tool payload: produce a compact first result you can finish in a single run, then refine it with smaller follow-up edits.`;
37
+ }
38
+ //# sourceMappingURL=action-continuation-guidance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-continuation-guidance.js","sourceRoot":"","sources":["../../src/agent/action-continuation-guidance.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,2EAA2E;AAC3E,8EAA8E;AAC9E,+EAA+E;AAC/E,yBAAyB;AACzB,MAAM,UAAU,yBAAyB,CAAC,IAAY;IACpD,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,kBAAkB,CAAC;QACxB,KAAK,kBAAkB;YACrB,OAAO,gHAAgH,CAAC;QAC1H,KAAK,iBAAiB,CAAC;QACvB,KAAK,eAAe;YAClB,OAAO,6aAA6a,CAAC;QACvb,KAAK,aAAa;YAChB,OAAO,2UAA2U,CAAC;QACrV,KAAK,yBAAyB;YAC5B,OAAO,ubAAub,CAAC;QACjc,KAAK,oBAAoB,CAAC;QAC1B,KAAK,gBAAgB,CAAC;QACtB,KAAK,oBAAoB,CAAC;QAC1B,KAAK,uBAAuB;YAC1B,OAAO,6IAA6I,CAAC;QACvJ,KAAK,oBAAoB,CAAC;QAC1B,KAAK,0BAA0B;YAC7B,OAAO,2GAA2G,CAAC;QACrH,KAAK,kBAAkB;YACrB,OAAO,+JAA+J,CAAC;QACzK;YACE,OAAO,SAAS,CAAC;IACrB,CAAC;AACH,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,IAAY;IAC5D,MAAM,QAAQ,GAAG,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACjD,OAAO,QAAQ;QACb,CAAC,CAAC,0DAA0D,IAAI,wHAAwH,QAAQ,GAAG;QACnM,CAAC,CAAC,0DAA0D,IAAI,yMAAyM,CAAC;AAC9Q,CAAC","sourcesContent":["// Concrete \"ship a compact first version, then refine incrementally\" guidance\n// keyed by the large-payload action the model was cut off while preparing.\n// A run cut off before the tool starts tends to reassemble the same oversized\n// payload on every continuation; pointing the model at the incremental path is\n// what breaks that loop.\nexport function incrementalActionGuidance(tool: string): string | undefined {\n switch (tool) {\n case \"create-extension\":\n case \"update-extension\":\n return \"create a compact working v1 with `create-extension`, then use focused `update-extension` edits for refinements\";\n case \"generate-design\":\n case \"update-design\":\n return 'if an existing design file or snapshot is already in history, especially after a Design variant pick, stop retrying `generate-design`: call `get-design-snapshot` for the selected file, then call `edit-design` once on that same `fileId` (`mode: \"replace-file\"` for a compact full-file replacement, or search/replace for smaller edits). Use `generate-design` only for a brand-new compact first file when no target file exists yet';\n case \"edit-design\":\n return \"retry with a smaller `edit-design` payload: prefer a handful of exact search/replace edits against the already-snapshotted file, and avoid `replacementContent` for a huge full-file rewrite. If a selected variant needs expansion, upgrade the highest-value visible sections first, save once, and summarize any remaining refinements\";\n case \"present-design-variants\":\n return 'call `present-design-variants` with concise labels, descriptions, accent colors, and feature bullets; omit large `content` HTML when needed so the action can render compact representative screens. After the user picks a direction, delete unchosen screens, snapshot the selected `fileId`, and refine that same file with `edit-design` (`mode: \"replace-file\"` for placeholder expansion). Do not call `generate-design` after the variant pick';\n case \"create-visual-plan\":\n case \"create-ui-plan\":\n case \"create-plan-design\":\n case \"create-prototype-plan\":\n return \"create the plan with its core sections or first screen, then expand it with `update-visual-plan`/`patch-visual-plan-source` follow-up edits\";\n case \"update-visual-plan\":\n case \"patch-visual-plan-source\":\n return \"apply smaller, targeted `patch-visual-plan-source` edits rather than rewriting the whole plan in one call\";\n case \"update-dashboard\":\n return \"save a small dashboard first, then add panels one at a time with `update-dashboard` incremental `ops` edits instead of authoring the whole config in one call\";\n default:\n return undefined;\n }\n}\n\nexport function actionPreparationContinuationNote(tool: string): string {\n const guidance = incrementalActionGuidance(tool);\n return guidance\n ? `\\n\\nThe previous run was cut off while preparing the \\`${tool}\\` action input before the action could finish. Avoid spending another whole run assembling one large tool payload - ${guidance}.`\n : `\\n\\nThe previous run was cut off while preparing the \\`${tool}\\` action input before the action could finish. Avoid re-assembling one large tool payload: produce a compact first result you can finish in a single run, then refine it with smaller follow-up edits.`;\n}\n"]}
@@ -358,8 +358,10 @@ export type AgentLoopFinalResponseGuardResult = string | {
358
358
  };
359
359
  export type AgentLoopFinalResponseGuard = (context: AgentLoopFinalResponseGuardContext) => AgentLoopFinalResponseGuardResult | null | undefined | Promise<AgentLoopFinalResponseGuardResult | null | undefined>;
360
360
  export declare const AGENT_INTERNAL_CONTINUE_PROMPT = "Continue from where you left off and finish the user's original request. Do not repeat completed work, do not mention internal reconnects, time limits, or step limits, and continue as if this is the same uninterrupted run.";
361
- export type AgentLoopContinuationReason = "run_timeout" | "loop_limit" | "max_tokens" | "stream_ended" | "gateway_timeout" | "network_interrupted";
362
- export declare function appendAgentLoopContinuation(messages: EngineMessage[], reason: AgentLoopContinuationReason): void;
361
+ export type AgentLoopContinuationReason = "run_timeout" | "loop_limit" | "max_tokens" | "stream_ended" | "gateway_timeout" | "network_interrupted" | "no_progress";
362
+ export declare function appendAgentLoopContinuation(messages: EngineMessage[], reason: AgentLoopContinuationReason, options?: {
363
+ actionPreparationTool?: string;
364
+ }): void;
363
365
  /**
364
366
  * True when an error thrown by `runAgentLoop` is a recoverable transport- or
365
367
  * gateway-level interruption that the agent can resume from rather than a
@@ -458,6 +460,8 @@ export declare function runAgentLoop(opts: {
458
460
  */
459
461
  processors?: Processor[];
460
462
  }): Promise<AgentLoopUsage>;
463
+ export declare function lastUnfinishedPreparingActionToolFromEvents(events: readonly AgentChatEvent[]): string | undefined;
464
+ export declare function backgroundContinuationReasonForRun(run: ActiveRun): AgentLoopContinuationReason;
461
465
  /**
462
466
  * Hard cap on server-driven background→background continuation chunks for a
463
467
  * single logical turn. A `backgroundFunction` run gets a ~13-min soft timeout,
@@ -469,9 +473,8 @@ export declare const MAX_BACKGROUND_RUN_CONTINUATIONS = 20;
469
473
  /**
470
474
  * Whether the background worker should self-fire the next server-driven
471
475
  * continuation chunk. True only when this is a background worker run that ended
472
- * at a recoverable soft-timeout boundary (not aborted/stopped) and the chain is
473
- * still under its budget. Extracted so the decision is unit testable without
474
- * booting the whole handler.
476
+ * at a recoverable unfinished boundary (not aborted/stopped) and the chain is
477
+ * still under its budget. Aborted / user-stopped runs do NOT chain.
475
478
  */
476
479
  export declare function shouldChainBackgroundContinuation(opts: {
477
480
  isBackgroundWorker: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"production-agent.d.ts","sourceRoot":"","sources":["../../src/agent/production-agent.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,IAAI,CAAC;AAkCzD,OAAO,EAGL,KAAK,eAAe,EACrB,MAAM,+BAA+B,CAAC;AA6BvC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAMhE,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,aAAa,EACb,iBAAiB,EAGlB,MAAM,mBAAmB,CAAC;AAgB3B,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,cAAc,EACd,qBAAqB,EACrB,0BAA0B,EAC1B,MAAM,EACN,QAAQ,EAET,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAKL,SAAS,EACT,kBAAkB,EA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