@genesislcap/ai-assistant 15.98.4 → 15.99.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.
@@ -24,7 +24,7 @@ export * from './config/config';
24
24
  export * from './config/define-stateful-agent';
25
25
  export * from './config/fallback-agents';
26
26
  export * from './headless';
27
- export { AnthropicProvider, AnthropicTransport, GeminiProvider, GeminiTransport, OpenAIProvider, OpenAITransport, MutableAIProviderRegistry, SUPPORTED_ANTHROPIC_MODEL_IDS, SUPPORTED_GEMINI_MODEL_IDS, SUPPORTED_OPENAI_MODEL_IDS, DEFAULT_PROVIDER_REFUSED_MESSAGE, PROVIDER_REFUSED_CODE, ProviderRefusedError, AI_SERVICE_ACCESS_REFUSALS, AI_SERVICE_ERROR_CODES, AIServiceError, aiServiceAccessRefusalOf, aiServiceErrorCodeOf, DEFAULT_AI_SERVICE_ERROR_MESSAGES, isTerminalAIServiceRefusal, isObservableAIProviderRegistry, ANTHROPIC_CACHE_READ_MULTIPLIER, ANTHROPIC_CACHE_WRITE_1H_MULTIPLIER, ANTHROPIC_CACHE_WRITE_5M_MULTIPLIER, anthropicRatesFor, anthropicTokenCost, GEMINI_CACHED_INPUT_MULTIPLIER, GEMINI_LONG_CONTEXT_THRESHOLD, geminiRatesFor, geminiTokenCost, OPENAI_CACHE_WRITE_12H_MULTIPLIER, OPENAI_CACHE_WRITE_30M_MULTIPLIER, OPENAI_LONG_CONTEXT_THRESHOLD, openaiRatesFor, openaiTokenCost, vendorOfModel, AI_TIER_IDS, AI_TIER_VENDORS, DEFAULT_AI_TIERS, resolveAITiers, } from '@genesislcap/foundation-ai';
27
+ export { AnthropicProvider, AnthropicTransport, GeminiProvider, GeminiTransport, OpenAIProvider, OpenAITransport, MutableAIProviderRegistry, SUPPORTED_ANTHROPIC_MODEL_IDS, SUPPORTED_GEMINI_MODEL_IDS, SUPPORTED_OPENAI_MODEL_IDS, DEFAULT_PROVIDER_REFUSED_MESSAGE, PROVIDER_REFUSED_CODE, ProviderRefusedError, AI_SERVICE_ACCESS_REFUSALS, AI_SERVICE_ERROR_CODES, AIServiceError, aiServiceAccessRefusalOf, aiServiceErrorCodeOf, DEFAULT_AI_SERVICE_ERROR_MESSAGES, isTerminalAIServiceRefusal, isObservableAIProviderRegistry, ANTHROPIC_CACHE_READ_MULTIPLIER, ANTHROPIC_CACHE_WRITE_1H_MULTIPLIER, ANTHROPIC_CACHE_WRITE_5M_MULTIPLIER, anthropicCacheReadMultiplierFor, ANTHROPIC_LONG_CONTEXT_THRESHOLD, anthropicRatesFor, anthropicTokenCost, GEMINI_CACHED_INPUT_MULTIPLIER, GEMINI_LONG_CONTEXT_THRESHOLD, geminiRatesFor, geminiTokenCost, OPENAI_CACHE_WRITE_12H_MULTIPLIER, OPENAI_CACHE_WRITE_30M_MULTIPLIER, OPENAI_LONG_CONTEXT_THRESHOLD, openaiRatesFor, openaiTokenCost, vendorOfModel, AI_TIER_IDS, AI_TIER_VENDORS, DEFAULT_AI_TIERS, resolveAITiers, } from '@genesislcap/foundation-ai';
28
28
  export type { AggregateUsage, AIProvider, AIProviderRegistry, AIServiceAccessRefusal, AIServiceErrorCode, AIServiceRefusal, AnthropicModelId, CachePolicy, ChatAttachment, ChatFallback, ChatImageAttachment, ChatMessage, ChatRequestOptions, ChatTextAttachment, ChatThinkingPolicy, ChatToolChoice, ChatToolDefinition, ChatToolHandlers, ChatToolResult, GeminiModelId, OpenAIModelId, AITierId, AITierOverrides, AITiers, AITierVendor, AnthropicTierConfig, GeminiTierConfig, AnthropicUsageRecord, GeminiUsageRecord, OpenAIUsageRecord, TokenCost, TokenCostBreakdown, TokenRates, } from '@genesislcap/foundation-ai';
29
29
  export { addUsage, emptyUsage, messageUsage, sumUsage, totalTokens } from './utils/sum-usage';
30
30
  export { usageRows } from './utils/usage-rows';
@@ -1 +1 @@
1
- {"version":3,"file":"chat-driver-node.d.ts","sourceRoot":"","sources":["../../src/chat-driver-node.ts"],"names":[],"mappings":"AA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CAA4C,CAAC;AAClF,YAAY,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAKnF,OAAO,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAG1F,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAClG,YAAY,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC"}
@@ -37,6 +37,31 @@ export declare const MAX_SETUP_TRANSPORT_RETRIES = 3;
37
37
  * completion tool before the sub-agent fails. Counted per turn; the iteration cap bounds it too.
38
38
  */
39
39
  export declare const MAX_SUB_AGENT_COMPLETION_NUDGES = 2;
40
+ /**
41
+ * How many times one parent-agent turn is held open by the driver's forced-tool nudge (GENC-1665).
42
+ * A model that rejects a forced `tool_choice` (Claude Opus 5.5, Sonnet 5.5) is sent the forced turn
43
+ * as `auto` plus an instruction, and may still answer in prose, which a forced turn could never do
44
+ * before. So that `'required'` and `{ tool }` keep meaning "a tool call ends this turn" for every
45
+ * agent, the driver asks for the call this many times before letting the prose stand. The agent's
46
+ * own `finishGuard` answers first; an explicit `'end'` from it is respected. A pinned `{ tool }`
47
+ * turn answered with other tools is refused against the same cap (see {@link pinnedToolRefusal}).
48
+ * Counted in a row: a forced call that comes back with the call it asked for starts it again (on
49
+ * a sub-agent, the completion nudge's count too), so one early miss in a long turn does not use it
50
+ * up for the rest of the turn.
51
+ */
52
+ export declare const MAX_FORCED_TOOL_NUDGES = 2;
53
+ /**
54
+ * The note the forced-tool nudge stores (see {@link MAX_FORCED_TOOL_NUDGES}). Names the tool when
55
+ * the turn was pinned to one (`{ tool }`); a `'required'` turn accepts any tool, so it names none.
56
+ */
57
+ export declare function forcedToolNudge(pinnedTool?: string): string;
58
+ /**
59
+ * The tool result given, instead of running it, to each call in a reply that a `{ tool }` pin asked
60
+ * to be a call to `pinnedTool` and that called only other tools. On a model that honours forcing
61
+ * that reply cannot happen; on one that rejects it (Claude Opus 5.5, Sonnet 5.5) the pin goes out
62
+ * as an instruction, and the model may call, say, `ask_user` or a read tool instead.
63
+ */
64
+ export declare function pinnedToolRefusal(pinnedTool: string, calledTool: string): string;
40
65
  /**
41
66
  * The note the completion nudge stores (see {@link MAX_SUB_AGENT_COMPLETION_NUDGES}). Names no tool:
42
67
  * the driver cannot tell which of a sub-agent's tools calls `completeSubAgent`.
@@ -1 +1 @@
1
- {"version":3,"file":"chat-driver.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/chat-driver/chat-driver.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,2FAA2F;AAE3F,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAS7C,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAKhD,eAAO,MAAM,oBAAoB,QAAqC,CAAC;AAIvE,eAAO,MAAM,qBAAqB,IAAI,CAAC;AACvC,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,6IAC2G,CAAC;AAE7I;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,6SACsQ,CAAC;AAGxS,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,IAAI,CAAC;AAEjD;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,yPACiN,CAAC;AAEzP;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,EAAE,WAAW,CAAC,aAAa,CAQ/D,CAAC"}
1
+ {"version":3,"file":"chat-driver.constants.d.ts","sourceRoot":"","sources":["../../../../src/components/chat-driver/chat-driver.constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,2FAA2F;AAE3F,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAC9C,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAS7C,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAC9C,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAKhD,eAAO,MAAM,oBAAoB,QAAqC,CAAC;AAIvE,eAAO,MAAM,qBAAqB,IAAI,CAAC;AACvC,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,6IAC2G,CAAC;AAE7I;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,6SACsQ,CAAC;AAGxS,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,IAAI,CAAC;AAEjD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAI3D;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAEhF;AAED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,yPACiN,CAAC;AAEzP;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,EAAE,WAAW,CAAC,aAAa,CAQ/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"chat-driver.d.ts","sourceRoot":"","sources":["../../../../src/components/chat-driver/chat-driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EAEd,cAAc,EACd,gBAAgB,EAIhB,WAAW,EAQX,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,yBAAyB,EACzB,iBAAiB,EACjB,qBAAqB,EAGrB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,cAAc,EACd,oBAAoB,EAS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,CAAC,aAAa,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS;IAInF,uDAAuD;IAChD,yBAAyB,IAAI,SAAS,8BAA8B,EAAE;IAI7E,2DAA2D;IACpD,6BAA6B,CAAC,KAAK,EAAE,SAAS,8BAA8B,EAAE,GAAG,IAAI;IAI5F;;;;OAIG;IACI,wBAAwB,IAAI,8BAA8B,GAAG,SAAS;IAI7E;;;;OAIG;IACI,4BAA4B,CAAC,KAAK,EAAE,8BAA8B,GAAG,SAAS,GAAG,IAAI;IAI5F;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAU/B;;;OAGG;IACI,WAAW,CAAC,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAI;IAK3C,WAAW,CACf,SAAS,EAAE,MAAM,EACjB,WAAW,CAAC,EAAE,cAAc,EAAE,EAC9B,OAAO,CAAC,EAAE,kBAAkB,GAC3B,OAAO,CAAC,gBAAgB,CAAC;IAoF5B;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,OAAO,CAAC,mBAAmB;IA0K3B;;;;;OAKG;YACW,cAAc;IAkV5B;;;;;;;OAOG;IACG,mBAAmB,CACvB,eAAe,CAAC,EAAE,WAAW,EAAE,EAC/B,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,gBAAgB,CAAC;YA0Ed,WAAW;IAyuCzB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,kBAAkB;IAI1B,OAAO,CAAC,eAAe;IAiBvB,gDAAgD;IAChD,OAAO,CAAC,oBAAoB;CAO7B"}
@@ -384,6 +384,15 @@ export type FinishGuardVerdict = {
384
384
  * answers nothing (or there is no hook) the driver holds the turn itself with a completion nudge,
385
385
  * asking for the completion call (`driverNote: 'completion-nudge'`), up to twice per turn.
386
386
  *
387
+ * On a parent agent whose turn forced a tool call (`toolChoice: 'required'` or `{ tool }`) but was
388
+ * sent as `auto` because the model rejects forcing (`responseMeta.toolChoiceDowngraded`), the same
389
+ * applies: when the hook answers nothing (or there is no hook) the driver asks for the call
390
+ * (`driverNote: 'forced-tool-nudge'`, naming the tool when the turn was `{ tool }`), up to twice in a
391
+ * row (a forced call that comes back with its call starts the count again). An explicit `'end'` lets the prose stand. A downgraded `{ tool }` turn that calls only other
392
+ * tools is not a prose reply, so this hook is not consulted: the driver answers each of those calls
393
+ * with a refusal naming the pinned tool instead of running it, against the same cap (the completion
394
+ * nudge's cap on a sub-agent).
395
+ *
387
396
  * @beta
388
397
  */
389
398
  export type FinishGuardInput = (ctx: FinishGuardContext) => FinishGuardVerdict | undefined | Promise<FinishGuardVerdict | undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,YAAY,EACZ,4BAA4B,EAC5B,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,YAAY,EACV,WAAW,EACX,YAAY,EACZ,4BAA4B,EAC5B,kBAAkB,EAClB,cAAc,GACf,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,wCAAwC;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,UAAU,EAAE,MAAM,CAAC;IACnB,+FAA+F;IAC/F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yDAAyD;IACzD,MAAM,EAAE,WAAW,CAAC;IACpB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,kBAAkB,GAC1B,WAAW,GACX,UAAU,GACV,SAAS,GACT,eAAe,GACf,oBAAoB,GACpB,YAAY,CAAC;AAEjB;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,kBAAkB,CA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AAK,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,GAAG,qBAAqB,GAAG,mBAAmB,CAAC;AAEtE;;;;;;;;;;;;;;GAcG;AAEH,wBAAgB,WAAW,CAAC,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAErE"}
@@ -112,6 +112,15 @@ export declare const ChatSuggestions: React.ForwardRefExoticComponent<
112
112
  >;
113
113
  export type ChatSuggestionsRef = ChatSuggestionsWC;
114
114
 
115
+ export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
116
+ React.PropsWithChildren<
117
+ Omit<PublicOf<AutopilotHandBackWC>, 'children' | 'style'> &
118
+ HTMLWCProps & {
119
+ }
120
+ > & React.RefAttributes<AutopilotHandBackWC>
121
+ >;
122
+ export type AutopilotHandBackRef = AutopilotHandBackWC;
123
+
115
124
  export declare const AiActivityHalo: React.ForwardRefExoticComponent<
116
125
  React.PropsWithChildren<
117
126
  Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
@@ -198,13 +207,4 @@ export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
198
207
  >;
199
208
  export type GenesisWriteReviewRef = GenesisWriteReviewWC;
200
209
 
201
- export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
202
- React.PropsWithChildren<
203
- Omit<PublicOf<AutopilotHandBackWC>, 'children' | 'style'> &
204
- HTMLWCProps & {
205
- }
206
- > & React.RefAttributes<AutopilotHandBackWC>
207
- >;
208
- export type AutopilotHandBackRef = AutopilotHandBackWC;
209
-
210
210
  export {};
@@ -66,7 +66,7 @@ AI_SERVICE_ACCESS_REFUSALS, AI_SERVICE_ERROR_CODES, AIServiceError, aiServiceAcc
66
66
  // module docs. They are for the path where nothing stamped a cost (a proxied or
67
67
  // server-side call holding a usage block); when a message already carries `cost`, use
68
68
  // it, because it was computed with the per-TTL cache split the message no longer has.
69
- ANTHROPIC_CACHE_READ_MULTIPLIER, ANTHROPIC_CACHE_WRITE_1H_MULTIPLIER, ANTHROPIC_CACHE_WRITE_5M_MULTIPLIER, anthropicRatesFor, anthropicTokenCost, GEMINI_CACHED_INPUT_MULTIPLIER, GEMINI_LONG_CONTEXT_THRESHOLD, geminiRatesFor, geminiTokenCost, OPENAI_CACHE_WRITE_12H_MULTIPLIER, OPENAI_CACHE_WRITE_30M_MULTIPLIER, OPENAI_LONG_CONTEXT_THRESHOLD, openaiRatesFor, openaiTokenCost,
69
+ ANTHROPIC_CACHE_READ_MULTIPLIER, ANTHROPIC_CACHE_WRITE_1H_MULTIPLIER, ANTHROPIC_CACHE_WRITE_5M_MULTIPLIER, anthropicCacheReadMultiplierFor, ANTHROPIC_LONG_CONTEXT_THRESHOLD, anthropicRatesFor, anthropicTokenCost, GEMINI_CACHED_INPUT_MULTIPLIER, GEMINI_LONG_CONTEXT_THRESHOLD, geminiRatesFor, geminiTokenCost, OPENAI_CACHE_WRITE_12H_MULTIPLIER, OPENAI_CACHE_WRITE_30M_MULTIPLIER, OPENAI_LONG_CONTEXT_THRESHOLD, openaiRatesFor, openaiTokenCost,
70
70
  // Resolves a model id to its vendor, so a caller holding only `message.model` can pick
71
71
  // between the two cost functions above without maintaining its own model→vendor map.
72
72
  vendorOfModel,
@@ -53,6 +53,37 @@ export const MAX_SETUP_TRANSPORT_RETRIES = 3;
53
53
  * completion tool before the sub-agent fails. Counted per turn; the iteration cap bounds it too.
54
54
  */
55
55
  export const MAX_SUB_AGENT_COMPLETION_NUDGES = 2;
56
+ /**
57
+ * How many times one parent-agent turn is held open by the driver's forced-tool nudge (GENC-1665).
58
+ * A model that rejects a forced `tool_choice` (Claude Opus 5.5, Sonnet 5.5) is sent the forced turn
59
+ * as `auto` plus an instruction, and may still answer in prose, which a forced turn could never do
60
+ * before. So that `'required'` and `{ tool }` keep meaning "a tool call ends this turn" for every
61
+ * agent, the driver asks for the call this many times before letting the prose stand. The agent's
62
+ * own `finishGuard` answers first; an explicit `'end'` from it is respected. A pinned `{ tool }`
63
+ * turn answered with other tools is refused against the same cap (see {@link pinnedToolRefusal}).
64
+ * Counted in a row: a forced call that comes back with the call it asked for starts it again (on
65
+ * a sub-agent, the completion nudge's count too), so one early miss in a long turn does not use it
66
+ * up for the rest of the turn.
67
+ */
68
+ export const MAX_FORCED_TOOL_NUDGES = 2;
69
+ /**
70
+ * The note the forced-tool nudge stores (see {@link MAX_FORCED_TOOL_NUDGES}). Names the tool when
71
+ * the turn was pinned to one (`{ tool }`); a `'required'` turn accepts any tool, so it names none.
72
+ */
73
+ export function forcedToolNudge(pinnedTool) {
74
+ return pinnedTool
75
+ ? `Your last reply did not call a tool, but this step must end in a call to \`${pinnedTool}\`. Call \`${pinnedTool}\` now; do not reply in prose.`
76
+ : 'Your last reply did not call a tool, but this step must end in a tool call. Call the tool the step asks for now; do not reply in prose.';
77
+ }
78
+ /**
79
+ * The tool result given, instead of running it, to each call in a reply that a `{ tool }` pin asked
80
+ * to be a call to `pinnedTool` and that called only other tools. On a model that honours forcing
81
+ * that reply cannot happen; on one that rejects it (Claude Opus 5.5, Sonnet 5.5) the pin goes out
82
+ * as an instruction, and the model may call, say, `ask_user` or a read tool instead.
83
+ */
84
+ export function pinnedToolRefusal(pinnedTool, calledTool) {
85
+ return `\`${calledTool}\` was not run: this step must end in a call to \`${pinnedTool}\`. Call \`${pinnedTool}\` now.`;
86
+ }
56
87
  /**
57
88
  * The note the completion nudge stores (see {@link MAX_SUB_AGENT_COMPLETION_NUDGES}). Names no tool:
58
89
  * the driver cannot tell which of a sub-agent's tools calls `completeSubAgent`.
@@ -14,7 +14,7 @@ import { freshUserMessages } from '../../utils/preserved-user-messages';
14
14
  import { resolveTurnInput } from '../../utils/resolve-turn-input';
15
15
  import { messageUsage, sumUsage } from '../../utils/sum-usage';
16
16
  import { AgentSession } from '../agent-session/agent-session';
17
- import { DEFAULT_MAX_FOLD_OPERATIONS, DEFAULT_MAX_TOOL_ITERATIONS, DEFAULT_MAX_TURN_SNAPSHOTS, DEFAULT_MAX_UNKNOWN_TOOL_CALLS, EMPTY_RESPONSE_NUDGE, HARVESTED_SUBAGENT_EVENTS, MALFORMED_CALL_NUDGE, MAX_EMPTY_RESPONSE_RETRIES, MAX_MALFORMED_RETRIES, MAX_SETUP_TRANSPORT_RETRIES, MAX_STALE_TOOL_CALLS, MAX_SUB_AGENT_COMPLETION_NUDGES, SUB_AGENT_COMPLETION_NUDGE, } from './chat-driver.constants';
17
+ import { DEFAULT_MAX_FOLD_OPERATIONS, DEFAULT_MAX_TOOL_ITERATIONS, DEFAULT_MAX_TURN_SNAPSHOTS, DEFAULT_MAX_UNKNOWN_TOOL_CALLS, EMPTY_RESPONSE_NUDGE, HARVESTED_SUBAGENT_EVENTS, MALFORMED_CALL_NUDGE, MAX_EMPTY_RESPONSE_RETRIES, MAX_MALFORMED_RETRIES, MAX_SETUP_TRANSPORT_RETRIES, MAX_STALE_TOOL_CALLS, MAX_SUB_AGENT_COMPLETION_NUDGES, SUB_AGENT_COMPLETION_NUDGE, MAX_FORCED_TOOL_NUDGES, forcedToolNudge, pinnedToolRefusal, } from './chat-driver.constants';
18
18
  import { FoldController } from './fold-controller';
19
19
  import { IdleClock, isIdleLimit } from './idle-clock';
20
20
  import { InteractionController, } from './interaction-controller';
@@ -2677,7 +2677,7 @@ export class ChatDriver extends EventTarget {
2677
2677
  // oxlint-disable-next-line complexity, max-lines-per-function
2678
2678
  runToolLoop(userInput, attachments, transientPrimer, tailNote) {
2679
2679
  return __awaiter(this, void 0, void 0, function* () {
2680
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
2680
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
2681
2681
  if (!this.systemPrompt) {
2682
2682
  logger.warn('ChatDriver: no systemPrompt set. The assistant will have no instructions — provide a systemPrompt via agents config or the foundation-ai-assistant property.');
2683
2683
  }
@@ -2716,6 +2716,7 @@ export class ChatDriver extends EventTarget {
2716
2716
  // a sub-agent are counted apart, so they never eat into the hook's cap.
2717
2717
  let finishGuardContinuations = 0;
2718
2718
  let completionNudges = 0;
2719
+ let forcedToolNudges = 0;
2719
2720
  // Set when the finish guard released the agent, so the loop ending on its last iteration is not
2720
2721
  // reported as the iteration cap: the guard said the flow finished cleanly.
2721
2722
  let releasedByFinishGuard = false;
@@ -2888,6 +2889,9 @@ export class ChatDriver extends EventTarget {
2888
2889
  const effectiveToolChoice = closing
2889
2890
  ? 'none'
2890
2891
  : (resolvedToolChoice !== null && resolvedToolChoice !== void 0 ? resolvedToolChoice : (this.isSubAgent ? 'required' : undefined));
2892
+ // The tool this call is pinned to, if any: named in the forced-tool nudge, and the only tool a
2893
+ // downgraded pin's reply may call (see `refusePinnedMiss`).
2894
+ const pinnedTool = typeof effectiveToolChoice === 'object' ? effectiveToolChoice.tool : undefined;
2891
2895
  const turnSnapshot = this.turnRecorder.record({
2892
2896
  agentName: this.activeAgentName,
2893
2897
  agentLabel: this.activeAgentLabel,
@@ -3372,12 +3376,77 @@ export class ChatDriver extends EventTarget {
3372
3376
  this.appendToHistory(finishGuardNoteMessage(SUB_AGENT_COMPLETION_NUDGE, 'completion-nudge'));
3373
3377
  continue;
3374
3378
  }
3379
+ // A parent agent's forced turn that the transport had to send as `auto` (the model rejects
3380
+ // forcing) and that came back in prose: hold it open and ask for the call, so a forced turn
3381
+ // means the same on every model. Only with no verdict from the agent's own guard.
3382
+ if (!this.isSubAgent &&
3383
+ verdict === undefined &&
3384
+ canContinue &&
3385
+ ((_r = response.responseMeta) === null || _r === void 0 ? void 0 : _r.toolChoiceDowngraded) &&
3386
+ forcedToolNudges < MAX_FORCED_TOOL_NUDGES) {
3387
+ forcedToolNudges += 1;
3388
+ recordMetaEvent(this.sessionKey, 'turn.finish-guard', {
3389
+ action: 'continue',
3390
+ source: 'forced-tool-nudge',
3391
+ agent: this.activeAgentName,
3392
+ nudge: forcedToolNudges,
3393
+ maxNudges: MAX_FORCED_TOOL_NUDGES,
3394
+ });
3395
+ this.appendToHistory(finishGuardNoteMessage(forcedToolNudge(pinnedTool), 'forced-tool-nudge'));
3396
+ continue;
3397
+ }
3375
3398
  if ((verdict === null || verdict === void 0 ? void 0 : verdict.action) === 'end' && verdict.release) {
3376
3399
  releasedByFinishGuard = this.requestReleaseFromFinishGuard();
3377
3400
  }
3378
3401
  break;
3379
3402
  }
3380
3403
  const toolCalls = response.toolCalls;
3404
+ // A downgraded `{ tool: X }` pin (the model rejects forcing, so the pin went out as an
3405
+ // instruction) answered with calls to other tools only. On a forcing model that reply cannot
3406
+ // happen, and none of the prose nudges above sees it, so without this the pin means nothing:
3407
+ // a gate that also advertises `ask_user` gets `ask_user`, and a sub-agent's last-window pin on
3408
+ // its completion tool lets it keep reading until `max_iterations`. Each call is answered with a
3409
+ // refusal naming X instead of being run, against the same cap as the matching prose nudge.
3410
+ // Only when X is advertised directly: a pin on a tool behind a fold is reached by opening it.
3411
+ let refusePinnedMiss = false;
3412
+ if (pinnedTool &&
3413
+ ((_s = response.responseMeta) === null || _s === void 0 ? void 0 : _s.toolChoiceDowngraded) &&
3414
+ toolCalls.length > 0 &&
3415
+ this.toolHandlers[pinnedTool] &&
3416
+ !toolCalls.some((tc) => tc.name === pinnedTool)) {
3417
+ if (this.isSubAgent && completionNudges < MAX_SUB_AGENT_COMPLETION_NUDGES) {
3418
+ completionNudges += 1;
3419
+ refusePinnedMiss = true;
3420
+ }
3421
+ else if (!this.isSubAgent && forcedToolNudges < MAX_FORCED_TOOL_NUDGES) {
3422
+ forcedToolNudges += 1;
3423
+ refusePinnedMiss = true;
3424
+ }
3425
+ if (refusePinnedMiss) {
3426
+ recordMetaEvent(this.sessionKey, 'tool.unresolved', {
3427
+ kind: 'pinned-elsewhere',
3428
+ agent: this.activeAgentName,
3429
+ pinned: pinnedTool,
3430
+ tools: toolCalls.map((tc) => tc.name),
3431
+ nudge: this.isSubAgent ? completionNudges : forcedToolNudges,
3432
+ maxNudges: this.isSubAgent ? MAX_SUB_AGENT_COMPLETION_NUDGES : MAX_FORCED_TOOL_NUDGES,
3433
+ });
3434
+ }
3435
+ }
3436
+ // A downgraded forced turn that came back with the call it asked for (any call for
3437
+ // `'required'`, the pinned one for `{ tool }`) starts the count of misses again, as the other
3438
+ // budgets in this loop reset on a productive response. So the cap means misses in a row: a
3439
+ // model that keeps ignoring the instruction still runs out, but one stray miss early in a long
3440
+ // turn (the UI Builder's `generating` turn runs many forced iterations) does not switch the
3441
+ // nudges and refusals off for the rest of it.
3442
+ if (((_t = response.responseMeta) === null || _t === void 0 ? void 0 : _t.toolChoiceDowngraded) &&
3443
+ toolCalls.length > 0 &&
3444
+ (!pinnedTool || toolCalls.some((tc) => tc.name === pinnedTool))) {
3445
+ if (this.isSubAgent)
3446
+ completionNudges = 0;
3447
+ else
3448
+ forcedToolNudges = 0;
3449
+ }
3381
3450
  const executedById = new Map();
3382
3451
  const unknownToolIds = new Set();
3383
3452
  // Subset of unknownToolIds that were stale (previously available) rather
@@ -3388,6 +3457,13 @@ export class ChatDriver extends EventTarget {
3388
3457
  if (toolCalls.length > 0) {
3389
3458
  // oxlint-disable-next-line no-await-in-loop -- Promise.all is correct parallelism, not sequential loop awaiting
3390
3459
  yield Promise.all(toolCalls.map((tc) => __awaiter(this, void 0, void 0, function* () {
3460
+ if (refusePinnedMiss && pinnedTool) {
3461
+ executedById.set(tc.id, {
3462
+ toolCallId: tc.id,
3463
+ content: pinnedToolRefusal(pinnedTool, tc.name),
3464
+ });
3465
+ return;
3466
+ }
3391
3467
  // Check for fold facade
3392
3468
  const fold = this.folds.foldFor(tc.name);
3393
3469
  if (fold) {
@@ -3591,7 +3667,7 @@ export class ChatDriver extends EventTarget {
3591
3667
  // The response was appended before execution — find it and annotate.
3592
3668
  let tcMsgIdx = -1;
3593
3669
  for (let i = this.history.length - 1; i >= 0; i -= 1) {
3594
- if (this.history[i].role === 'assistant' && ((_r = this.history[i].toolCalls) === null || _r === void 0 ? void 0 : _r.length)) {
3670
+ if (this.history[i].role === 'assistant' && ((_u = this.history[i].toolCalls) === null || _u === void 0 ? void 0 : _u.length)) {
3595
3671
  tcMsgIdx = i;
3596
3672
  break;
3597
3673
  }
@@ -3629,7 +3705,7 @@ export class ChatDriver extends EventTarget {
3629
3705
  const unknownTools = [
3630
3706
  ...new Set([
3631
3707
  ...this.recentUnknownToolNames,
3632
- ...((_s = response.toolCalls) !== null && _s !== void 0 ? _s : [])
3708
+ ...((_v = response.toolCalls) !== null && _v !== void 0 ? _v : [])
3633
3709
  .filter((tc) => unknownToolIds.has(tc.id))
3634
3710
  .map((tc) => tc.name),
3635
3711
  ]),
@@ -3641,7 +3717,7 @@ export class ChatDriver extends EventTarget {
3641
3717
  const staleTools = [
3642
3718
  ...new Set([
3643
3719
  ...this.recentStaleToolNames,
3644
- ...((_t = response.toolCalls) !== null && _t !== void 0 ? _t : [])
3720
+ ...((_w = response.toolCalls) !== null && _w !== void 0 ? _w : [])
3645
3721
  .filter((tc) => staleToolIds.has(tc.id))
3646
3722
  .map((tc) => tc.name),
3647
3723
  ]),
@@ -262,7 +262,7 @@ export const DEBUG_LOG_README = [
262
262
  'Timestamps are millisecond-resolution; entries that share the same millisecond are ordered by a fixed kind rank (event, then turn, then message), which is a heuristic and may not reflect exact causal order within that millisecond — e.g. a user message and the turn it triggered, or a final assistant message and its turn.end event, can appear in either order depending on whether they landed in the same millisecond. Read the logical structure of a turn rather than over-interpreting the micro-ordering of co-timestamped entries of different kinds.',
263
263
  "kind:'message' — the conversation. `role` is user/assistant/tool/system-event/synthetic-user; `agentName` says which agent produced it; `toolCalls`/`toolResult`/`interaction` carry tool and widget activity; `inputTokens`/`outputTokens`/`cost` are per-message LLM usage, where `inputTokens` is the WHOLE prompt for that request and `cacheReadTokens`/`cacheWriteTokens` BREAK IT DOWN rather than add to it — uncached input is `inputTokens` minus those two, and adding the cache fields to `inputTokens` counts the prompt twice. The cache fields are absent on providers that report no cache split (Gemini reports reads only, since implicit caching bills no write) and on messages persisted before they existed, so read them as 0 when missing. Each bucket bills at a different rate — cache reads a fraction of uncached input, cache writes a premium, output highest — so a large token count at a small cost means the prompt was mostly cache hits. `externalCostUsd` is any non-LLM cost a widget reported for its own external service calls (folded into the session cost total alongside `cost`). On model-produced assistant messages, `model` is the concrete model id that generated it (e.g. 'gemini-2.5-flash-lite') and `providerName` is the registry slot it resolved under (e.g. a tier name like 'high'/'low', or the default); together they attribute the message — and any tool calls it carries — to an exact model even across a mid-session vendor/tier switch, where one slot name can map to different models before and after the switch. Both are undefined on any entry that is NOT an LLM response: non-assistant roles (user/tool/system-event) and 'synthetic-user' echoes; assistant interaction/widget entries (empty content carrying an `interaction` — a rendered widget, not a model turn); driver-authored assistant fallbacks (the timeout, repeated-malformed-call, and empty-response apology messages); and messages restored from a session persisted before these fields existed. One partial case: on a genuine model turn whose provider exposes no `getStatus` (or reports no model), `providerName` is still set but `model` alone is undefined. A 'synthetic-user' message is a display-only echo of an interaction outcome (e.g. the answer a widget reported): it renders on the user's side of the chat and `agentName` is the agent that created it, but it is never sent to the LLM — so it has no matching 'turn' and the model learns the outcome only from the corresponding tool result. An echo of an answer an interceptor (such as an autopilot) gave is NOT synthetic-user: see the delegated-messages paragraph.",
264
264
  'The autopilot (GENC-1660) runs on a driver of its own, and everything it did is harvested into this log: entries with delegate: autopilot and an agentName ending in › Autopilot are its turns (the decision message it was sent is the user message of its turn, so what it was shown is there verbatim; its systemPrompt is its grounding, such as the brief), its tool calls (widget_read, widget_act, hand_back, any read-only tools of its own, and its widget tools — reads with parameters that a widget type declares, routed to the interaction of that type being decided and refused with a reason when none is, offered on every decision so its tool list never changes; while one is open its tail starts with a line naming them) and their results (a read, view or widget tool, is capped at about 20,000 characters, cut with a note asking for less, and leaves its history at the end of the decision as a one-line note), and its own events. Its cost is already in the session total: it is booked as externalCostUsd on the interaction each decision answered, or, for a written question it answered, on the user message it sent on the user behalf (delegate: autopilot), so do not add its turns to that total. Spend that reached no message is recorded as autopilot.cost-dropped instead.',
265
- "Delegated messages (GENC-1660): a message with a `delegate` field was written or sent ON THE USER'S BEHALF by a driver decorator, and `delegate` names it (e.g. autopilot). The platform stamps it; nothing else can. It renders as the assistant whatever its role. A delegated `user` message was NOT typed by the user: it is an answer given on their behalf, and the model read it with `delegateFraming` in brackets in front of the content (the stored `content` is the bare text). A delegated `assistant` message is display-only (`excludeFromProvider`): the decorator's narration note, or, when its answer carried no note, the widget's own echo of the answer (its `userMessage`), shown as the assistant and never as the person. A widget answer a decorator gave with a note is not echoed at all: the note already says what was chosen. To tell what the person decided from what was decided for them, read `interaction.answeredBy` and these fields, never the role alone. Driver notes: a `user` message with a `driverNote` field was written by the driver for the model, never by the user, and is hidden from the transcript; `driverNote: 'finish-guard'` is the agent's finishGuard holding the turn open after a prose reply, its content the guard's note in a `<system-reminder>`, and it follows a turn.finish-guard event; `driverNote: 'completion-nudge'` is the driver asking a sub-agent that replied in prose to call its completion tool.",
265
+ "Delegated messages (GENC-1660): a message with a `delegate` field was written or sent ON THE USER'S BEHALF by a driver decorator, and `delegate` names it (e.g. autopilot). The platform stamps it; nothing else can. It renders as the assistant whatever its role. A delegated `user` message was NOT typed by the user: it is an answer given on their behalf, and the model read it with `delegateFraming` in brackets in front of the content (the stored `content` is the bare text). A delegated `assistant` message is display-only (`excludeFromProvider`): the decorator's narration note, or, when its answer carried no note, the widget's own echo of the answer (its `userMessage`), shown as the assistant and never as the person. A widget answer a decorator gave with a note is not echoed at all: the note already says what was chosen. To tell what the person decided from what was decided for them, read `interaction.answeredBy` and these fields, never the role alone. Driver notes: a `user` message with a `driverNote` field was written by the driver for the model, never by the user, and is hidden from the transcript; `driverNote: 'finish-guard'` is the agent's finishGuard holding the turn open after a prose reply, its content the guard's note in a `<system-reminder>`, and it follows a turn.finish-guard event; `driverNote: 'completion-nudge'` is the driver asking a sub-agent that replied in prose to call its completion tool; `driverNote: 'forced-tool-nudge'` is the driver asking a parent agent for the tool call its forced turn required, after a model that rejects forcing (responseMeta.toolChoiceDowngraded) replied in prose.",
266
266
  "Sub-agent messages appear inline. When a tool delegates to a sub-agent (via `requestSubAgent`), the sub-agent's whole conversation — its own assistant/tool messages, each with their own `content`/`thinking`/`toolCalls`/`toolResult` and per-message `model`/`providerName`/`inputTokens`/`outputTokens`/`cacheReadTokens`/`cacheWriteTokens`/`cost` — is hoisted into the timeline as ordinary kind:'message' entries, interleaved by timestamp right after the tool call that spawned them (so you read the delegation top-to-bottom). A hoisted entry is marked: `subAgentDepth` is its delegation depth (1 for a sub-agent, 2 for a sub-agent's sub-agent, …), `subAgentOf` is the id of the parent tool call that spawned it (correlates it back even when two sub-agents run in one parent turn), `subAgentName` is the sub-agent's own name, and `agentName` is rewritten to a `\"<parent> › <sub-agent>\"` breadcrumb (composing when nested, e.g. `\"UI Builder › Planner › Grounding\"`). The sub-agent's per-LLM-call snapshots also surface as kind:'turn' entries with an N-M `turnIndex`, and subagent.started/completed (or subagent.failed) events bracket the run. Per-message `cost` on hoisted entries is already part of the session total (it is summed from the un-flattened history), so summing the top-level timeline does NOT double-count.",
267
267
  "kind:'turn' — one LLM call. `turnIndex` is a string: a top-level turn is the bare counter ('0', '1', …); a sub-agent's turns are numbered under the parent turn that activated them ('3-1', '3-2', …, and a nested sub-agent contributes '3-2-1', …), and `agentName` names the agent that ran the turn. `systemPrompt` and `toolNames` are what the model saw. A systemPrompt of '<repeated — identical to turn N>' was byte-identical to turn N and de-duplicated; the full prompt is shown whenever it changes (often because a stateful agent advanced), so prompt evolution is visible.",
268
268
  "kind:'turn'.`model`/`providerName`/`provider` — which model ran that call: the concrete model id, the registry slot it resolved under (a tier name like 'high'/'low', or the default), and the vendor. Recorded per CALL, so an agent whose `provider` selector varies by state — a flow that plans on a high tier and executes on a low one — has every step attributed, including calls that produced no message. `model` is the SERVING model where the provider reports one, so a turn answered by a server-side fallback names the model that answered rather than the one requested; it always matches the `model` on the message that call produced. Absent when the provider exposes no `getStatus` and the transport stamped nothing.",
@@ -270,7 +270,7 @@ export const DEBUG_LOG_README = [
270
270
  "kind:'turn'.`agentSnapshot` — the active agent's own view of its internal state, captured at that turn. An agent opts into this by exposing a `getDebugSnapshot()` that returns JSON-serializable per-state info; stateful/flow agents wire it automatically, so you can watch a flow advance turn-by-turn (e.g. current step, cursor, collected fields, pending changes). Absent for agents that don't expose one.",
271
271
  "kind:'event' — a meta/lifecycle event. `type` names it (see below); `detail` carries structured data. `detail.placement` is the emitting UI instance: 'bubble' (collapsed), 'panel' (popped-out), or 'standalone'.",
272
272
  "Each 'event' also has an `importance`: 'high' (failures/limits — turn.error, tool.failed, subagent.failed, file.read-failed, suggestions.failed, context.threshold-crossed), 'normal' (session flow — connects, turns, retries, handoffs, agent/provider changes, interactions, sub-agent start/complete), or 'low' (skippable UI/bookkeeping noise — panel.toggled, attachment.added, driver.wired/unwired, context.updated, context.condensed). To skim, ignore importance:'low'; to triage a failure, filter to importance:'high' then read the nearby messages and turns. A 'high' turn.error is often preceded by one or more 'normal' turn.retry events for the same reason — read them together to see how many attempts were made before bailing. 'message' and 'turn' entries carry no importance — they are the substance, always read them.",
273
- "Event types: assistant.connected/disconnected (mount + placement + whether the session was created or restored), assistant.popout/popin (window placement), driver.created/wired/unwired (which driver is live and why it stops/starts responding across a popout), state.changed (idle↔loading), turn.start/turn.end (turn boundary; turn.end carries durationMs), turn.retry (a recoverable in-turn retry — detail.reason plus attempt/maxAttempts; for malformed calls also finishMessage; for empty responses also the provider finishReason + thoughtsTokens + parts breakdown), turn.finish-guard (the model replied with no tool call and the agent's finishGuard hook answered — detail.action is continue (the turn was held open: detail.continuation counts the holds this turn and detail.note is the note stored as a hidden user message with driverNote finish-guard, the next message in the log; detail.source: 'completion-nudge' is instead the driver holding a SUB-AGENT's turn open because it replied in prose without calling its completion tool — detail.nudge of detail.maxNudges, the note stored with driverNote completion-nudge — and a sub-agent that still answers in prose after the last nudge fails as before) or end with detail.release: true (the agent was released on a prose answer); a plain end records nothing), turn.error (a turn failed or hit a guardrail — detail.reason is one of exception/malformed-function-call/empty-response/unknown-tool-limit/max-iterations/response-truncated/refusal/budget-exhausted/provider-refused/context-exhausted/ai-service-error, plus reason-specific diagnostics: attempts (for empty-response also finishReason + thoughtsTokens + a parts breakdown, distinguishing a thinking-only STOP from a truly empty turn), finishMessage, for response-truncated the model + maxTokens + outputTokens + tools, unknownTools (split into staleTools — real earlier this activation but retired by the current state or hidden behind an open exclusive fold — and hallucinatedTools — never advertised) + availableTools, iterations + limit, for budget-exhausted the budgetUsd + spentUsd figures reported by the proxy plus the resolved vendor, for provider-refused the kind (spend|auth) plus the upstream status and error type — the vendor refusing the ACCOUNT rather than us refusing to spend, so the remedy is a top-up or a key rotation rather than a raised cap, and the kind is the only place that distinction survives because the user-facing copy is deliberately cause-free, for context-exhausted the estimated contextTokens against the guard that stopped the turn plus the iterations reached — the driver ending a runaway tool loop at the edge of the context window rather than issuing a request the provider would reject, so the transcript survives intact and can still be compacted, for ai-service-error the code (one of AI_SERVICE_ERROR_CODES, e.g. NO_API_KEY) and the status the AI service answered with — its own text goes to the browser console only, or name + message for exceptions), tool.failed (a tool threw), tool.unresolved (the model called a tool that could not be dispatched — detail.kind is folded/fold-hidden/stale/unknown, plus tool + agent and, for the counted kinds, the consecutive streak; the recurring lead-up to an unknown-tool-limit turn.error), subagent.started/completed/failed (the lifecycle of a `requestSubAgent` delegation — detail.agent names the sub-agent; these bracket the sub-agent turns that appear as kind:turn entries with an N-M `turnIndex`; subagent.failed also carries detail.reason, one of max_iterations/malformed_tool_call/empty_response/unknown_tool_limit/timeout/response_truncated/refusal/budget_exhausted/provider_refused/context_exhausted/ai_service_error, and for timeout detail.cause: 'idle' when it was the sub-agent making no progress for `idleTimeoutMs` rather than the overall `timeoutMs` (absent for the latter); budget_exhausted and provider_refused are terminal for the PARENT turn too, and so is ai_service_error when the refusal is about the service rather than the request and came from the vendor the parent calls — the parent stops rather than calling the model again into the same wall; after context_exhausted the parent goes on, but its own next call is likely to stop on the same guard), agent.handoff (routing; from=null is the initial activation), agent.pinned/unpinned (forced routing), routing.decided (ONE PER ROUTING DECISION — see its own paragraph below), provider.selected (the resolved provider for the upcoming turns — detail.provider is the registry SLOT/tier name, detail.model the concrete model behind it and detail.vendor its vendor; emitted only when the slot CHANGES, so read the per-turn `model` for the model of any given call rather than assuming the nearest event still applies), interaction.requested/resolved (blocking user widgets — explain quiet gaps; note that when a sub-agent opens a widget, detail.agent — and the agentName on the interaction message — is the HOST agent that owns the widget, NOT the sub-agent that asked, because widgets render and resolve on the host driver; detail.ownerPath names the agents that actually asked, outermost first, the last being the one whose tool requested it, and detail.heldBy says who held it when it opened: user, or the id of the interceptor that claimed it, such as autopilot; on interaction.resolved, detail.answeredBy is who answered — the claimant id when it settled through its own hold, user for any other answer (a click counts as the person even on a widget a claimant held) — absent when it closed unanswered (a timeout or a stop), and absent too when it settled by itself other than through the hold of a claimant — a widget registered resolvesItself (one that does its work and settles on its own, asking the person nothing, such as a generation run), or one outcome its controller said settled itself (ctx.resolve with resolvedItself, such as a generation phase that failed outright before its review gate ever asked anything) — which then carries detail.resolvedItself: true instead, as the interaction message does — nobody answered it, and the platform cannot tell it finishing from the person interrupting it (a Skip), so only the result of the widget itself can say which; the same value is stamped on the interaction message as answeredBy and on the result the asking tool handler receives (absent there in the same cases), and when it is not user the tool result that interaction returned carries a decidedOnUsersBehalf record, so the model was told the choice was not made by the person; detail.edits, present only when non-zero, counts the editing actions a claimant ran on the widget before it was settled, whoever settled it, and those edits are stamped on the interaction message as edits, each with by, action, choice and args when it had some, in the order they ran, while a decidedOnUsersBehalf record carries their choice texts as edits, and when the person settled it after such edits the tool result carries an editedOnUsersBehalf record instead — the framing and those choice texts — so the model knows the widget was changed on the user behalf before the user answered, and that the user then confirmed it by finishing it), interaction.held (a claimant moved a pending interaction to the person or back to itself — detail.heldBy is the new holder, detail.claimant the interceptor; detail.late: true is an interceptor that declined it when it opened claiming it afterwards, such as the autopilot resumed while it was open; a widget held by anything but user was not answered by the person), interaction.claim-refused (a claim on a userOnly interaction, which stays with the person — detail.claimant + reason), autopilot.* (the autopilot, a decorator that answers interactions on behalf of the user — autopilot.claimed / autopilot.declined say whether it took each interaction and, for a decline, detail.reason: paused, other-flow, no-autopilot, unavailable, userOnly, policy or no-controller; one declined as paused that is still open when the person resumes the autopilot is looked at again, and the autopilot.claimed or autopilot.declined recorded for it then carries detail.onResume: true (a decline then can also be claimed-elsewhere, another interceptor having claimed it first); a restored mode looks at nothing; autopilot.decision-sent is what it was sent (detail.chars; detail.nothingEnabled: true when every action on the widget was unavailable — a gate whose controller said it was asking, such as a failed build the autopilot may not cancel — so it could only hand it back, which it may then do even after the person asked it to decide it itself; a widget whose controller says it is working (ctx.setWorking) is never sent a decision until it says it is asking, even when an action is enabled or the person resumes the autopilot); autopilot.acted is what it did (detail.action, detail.note, detail.finished); autopilot.handed-back is a decision it gave to the person (detail.reason and detail.trigger: model, no-decision or error); autopilot.paused / autopilot.resumed are mode changes (detail.scope, detail.trigger, detail.decideYourself when the person resumed during a hand-back; detail.trigger is restored when the mode came back with the session after a reload, applied once its flow re-activated, which starts nothing by itself); autopilot.carried is the mode, running or paused, going with the task to the agent that took it over, rather than ending with the flow as on any other change of flow owner: to the target of a hand-off, or back to its caller on the hand-back (detail.from, detail.to, detail.mode); a pause the person chose goes with it, and Stop and Clear still end it; a mode restored for the target of a hand-off applies to its caller when the reload hands back; autopilot.error is the wrapper itself failing; autopilot.refinement counts a refining action against its step — a written answer (reply) or a widget action declared refines, such as a regenerate with instructions, counted together (detail.action, detail.stepKey, detail.count, detail.limitReached, after which every refining action is withdrawn for that step: not listed, and refused; the decision and every relisting of its actions say how many are left at the step, as a line Refinements left at this step: N, wherever the widget has a refining action); autopilot.handback-presented is the turn-level hand-back, shown when a working turn ended needing the person with no widget to hand over (detail.why: max-iterations, context-exhausted, failure or question; detail.options; detail.choice once answered); autopilot.catch-up is the autopilot being given the whole visible transcript at once (detail.why: first, for its first decision in a flow or after a reload; size, when its own history passed its budget and was rebuilt short — detail.ownChars; or compacted, when a compaction removed the last message it had seen, so it reads the summary and everything since, short; in each, what it had sent on the user behalf is included and labelled as its own, since its own history does not hold it); autopilot.cost-dropped is autopilot spend that no message carries, so it is NOT in the session total (detail.costUsd and detail.why: handed-back, aborted or stale for a written question it answered that no reply was sent for — stale when a pause, a resume, a new turn or the end of its flow came before the answer landed, which then went nowhere — or no-recorder when the driver had no way to book a decision to its interaction); a hand-back trigger can also be budget (the decision passed its spend cap), watchdog (its work went quiet: no ready surface and no heartbeat, or its own decision stalled with no model call landing, which stops that decision) or detached (the autopilot was removed while it held the interaction, which went to the person with no reason shown). To debug one autopilot decision, follow its interactionId: interaction.requested (heldBy), autopilot.claimed, autopilot.decision-sent, autopilot.acted or autopilot.handed-back, interaction.invoked, interaction.resolved (answeredBy), then the next turn of the working agent), interaction.invoked (a claimant ran one of the actions the widget itself exposes, through its hold, the same code the button runs — detail.claimant, detail.action (an option id, select or reply) and detail.finished, whether that settled the interaction, and when it did not, the run is recorded as an edit; the choice and narration it recorded reach the result of the tool that asked as decidedOnUsersBehalf; the person's own programmatic action, from a host with no DOM to click, carries detail.by: user in place of detail.claimant, and is not recorded as an edit nor as a decision on their behalf, so what it settles is answered by user), interaction.step (a long action run as named steps through runSteps, which survive a reload — detail.step and detail.outcome: started, done, skipped when the step was already done before a reload, or resumed when it started before a reload and runs again with what it saved part-way, such as a job id it re-attaches to), interaction.checkpoint (the checkpoints a conversation keeps for its long actions: the one in flight, and each one a reload cut, held apart until a request of its own widget type takes it over, so a resumed flow that opens other long widgets first, which save their own, loses nothing — detail.action: resumed when a reload cut the work and a request of the same widget type that the registration sameWork agrees is the same work took it over, refused when sameWork said a new request is different work (detail.saved is the identity it kept; detail.kept: true, since it stays for a later request of that type, and is offered to every one until one agrees) or when runSteps found the handed-over checkpoint malformed and started fresh (detail.reason, detail.saved), or cleared when its flow ended, once per checkpoint, with detail.cut: true for one a reload cut that nothing took over), context.updated/threshold-crossed (token + cost), headless.attached (a HeadlessSession attached, for a host that drives the assistant with no screen — detail.label, what the host called itself, when it gave one) and headless.raw-resolved (that host settled an interaction raw, bypassing the widget's own actions: detail.interactionId and detail.component; the result went to the tool as given, so check what the widget would have enforced), context.condensed (a stale tool payload was collapsed out of the model-bound history by a `condenseWhen` declaration on the tool — detail.tool + toolCallId, target args|response, trigger (superseded:<key> or age:<n>), stubLen, and an estimated tokensSaved; stored history and this log keep the FULL payload, so the model-visible slice at any point is the full history minus the condensations recorded up to then), panel.toggled, attachment.added, file.read-failed, suggestions.failed.",
273
+ "Event types: assistant.connected/disconnected (mount + placement + whether the session was created or restored), assistant.popout/popin (window placement), driver.created/wired/unwired (which driver is live and why it stops/starts responding across a popout), state.changed (idle↔loading), turn.start/turn.end (turn boundary; turn.end carries durationMs), turn.retry (a recoverable in-turn retry — detail.reason plus attempt/maxAttempts; for malformed calls also finishMessage; for empty responses also the provider finishReason + thoughtsTokens + parts breakdown), turn.finish-guard (the model replied with no tool call and the agent's finishGuard hook answered — detail.action is continue (the turn was held open: detail.continuation counts the holds this turn and detail.note is the note stored as a hidden user message with driverNote finish-guard, the next message in the log; detail.source: 'completion-nudge' is instead the driver holding a SUB-AGENT's turn open because it replied in prose without calling its completion tool — detail.nudge of detail.maxNudges, the note stored with driverNote completion-nudge — and a sub-agent that still answers in prose after the last nudge fails as before; detail.source: 'forced-tool-nudge' is the driver holding a PARENT agent's forced turn open after a model that rejects forcing answered in prose, the note stored with driverNote forced-tool-nudge, naming the tool when the turn was pinned to one) or end with detail.release: true (the agent was released on a prose answer); a plain end records nothing), turn.error (a turn failed or hit a guardrail — detail.reason is one of exception/malformed-function-call/empty-response/unknown-tool-limit/max-iterations/response-truncated/refusal/budget-exhausted/provider-refused/context-exhausted/ai-service-error, plus reason-specific diagnostics: attempts (for empty-response also finishReason + thoughtsTokens + a parts breakdown, distinguishing a thinking-only STOP from a truly empty turn), finishMessage, for response-truncated the model + maxTokens + outputTokens + tools, unknownTools (split into staleTools — real earlier this activation but retired by the current state or hidden behind an open exclusive fold — and hallucinatedTools — never advertised) + availableTools, iterations + limit, for budget-exhausted the budgetUsd + spentUsd figures reported by the proxy plus the resolved vendor, for provider-refused the kind (spend|auth) plus the upstream status and error type — the vendor refusing the ACCOUNT rather than us refusing to spend, so the remedy is a top-up or a key rotation rather than a raised cap, and the kind is the only place that distinction survives because the user-facing copy is deliberately cause-free, for context-exhausted the estimated contextTokens against the guard that stopped the turn plus the iterations reached — the driver ending a runaway tool loop at the edge of the context window rather than issuing a request the provider would reject, so the transcript survives intact and can still be compacted, for ai-service-error the code (one of AI_SERVICE_ERROR_CODES, e.g. NO_API_KEY) and the status the AI service answered with — its own text goes to the browser console only, or name + message for exceptions), tool.failed (a tool threw), tool.unresolved (the model called a tool that could not be dispatched — detail.kind is folded/fold-hidden/stale/unknown, plus tool + agent and, for the counted kinds, the consecutive streak; or kind pinned-elsewhere, a turn pinned to detail.pinned (toolChoice { tool }) that went out unforced because the model rejects forcing, and whose reply called only detail.tools: none of them was run, each was answered with a refusal naming the pinned tool, detail.nudge of detail.maxNudges, counted against the forced-tool nudge on a parent agent and the completion nudge on a sub-agent; the recurring lead-up to an unknown-tool-limit turn.error), subagent.started/completed/failed (the lifecycle of a `requestSubAgent` delegation — detail.agent names the sub-agent; these bracket the sub-agent turns that appear as kind:turn entries with an N-M `turnIndex`; subagent.failed also carries detail.reason, one of max_iterations/malformed_tool_call/empty_response/unknown_tool_limit/timeout/response_truncated/refusal/budget_exhausted/provider_refused/context_exhausted/ai_service_error, and for timeout detail.cause: 'idle' when it was the sub-agent making no progress for `idleTimeoutMs` rather than the overall `timeoutMs` (absent for the latter); budget_exhausted and provider_refused are terminal for the PARENT turn too, and so is ai_service_error when the refusal is about the service rather than the request and came from the vendor the parent calls — the parent stops rather than calling the model again into the same wall; after context_exhausted the parent goes on, but its own next call is likely to stop on the same guard), agent.handoff (routing; from=null is the initial activation), agent.pinned/unpinned (forced routing), routing.decided (ONE PER ROUTING DECISION — see its own paragraph below), provider.selected (the resolved provider for the upcoming turns — detail.provider is the registry SLOT/tier name, detail.model the concrete model behind it and detail.vendor its vendor; emitted only when the slot CHANGES, so read the per-turn `model` for the model of any given call rather than assuming the nearest event still applies), interaction.requested/resolved (blocking user widgets — explain quiet gaps; note that when a sub-agent opens a widget, detail.agent — and the agentName on the interaction message — is the HOST agent that owns the widget, NOT the sub-agent that asked, because widgets render and resolve on the host driver; detail.ownerPath names the agents that actually asked, outermost first, the last being the one whose tool requested it, and detail.heldBy says who held it when it opened: user, or the id of the interceptor that claimed it, such as autopilot; on interaction.resolved, detail.answeredBy is who answered — the claimant id when it settled through its own hold, user for any other answer (a click counts as the person even on a widget a claimant held) — absent when it closed unanswered (a timeout or a stop), and absent too when it settled by itself other than through the hold of a claimant — a widget registered resolvesItself (one that does its work and settles on its own, asking the person nothing, such as a generation run), or one outcome its controller said settled itself (ctx.resolve with resolvedItself, such as a generation phase that failed outright before its review gate ever asked anything) — which then carries detail.resolvedItself: true instead, as the interaction message does — nobody answered it, and the platform cannot tell it finishing from the person interrupting it (a Skip), so only the result of the widget itself can say which; the same value is stamped on the interaction message as answeredBy and on the result the asking tool handler receives (absent there in the same cases), and when it is not user the tool result that interaction returned carries a decidedOnUsersBehalf record, so the model was told the choice was not made by the person; detail.edits, present only when non-zero, counts the editing actions a claimant ran on the widget before it was settled, whoever settled it, and those edits are stamped on the interaction message as edits, each with by, action, choice and args when it had some, in the order they ran, while a decidedOnUsersBehalf record carries their choice texts as edits, and when the person settled it after such edits the tool result carries an editedOnUsersBehalf record instead — the framing and those choice texts — so the model knows the widget was changed on the user behalf before the user answered, and that the user then confirmed it by finishing it), interaction.held (a claimant moved a pending interaction to the person or back to itself — detail.heldBy is the new holder, detail.claimant the interceptor; detail.late: true is an interceptor that declined it when it opened claiming it afterwards, such as the autopilot resumed while it was open; a widget held by anything but user was not answered by the person), interaction.claim-refused (a claim on a userOnly interaction, which stays with the person — detail.claimant + reason), autopilot.* (the autopilot, a decorator that answers interactions on behalf of the user — autopilot.claimed / autopilot.declined say whether it took each interaction and, for a decline, detail.reason: paused, other-flow, no-autopilot, unavailable, userOnly, policy or no-controller; one declined as paused that is still open when the person resumes the autopilot is looked at again, and the autopilot.claimed or autopilot.declined recorded for it then carries detail.onResume: true (a decline then can also be claimed-elsewhere, another interceptor having claimed it first); a restored mode looks at nothing; autopilot.decision-sent is what it was sent (detail.chars; detail.nothingEnabled: true when every action on the widget was unavailable — a gate whose controller said it was asking, such as a failed build the autopilot may not cancel — so it could only hand it back, which it may then do even after the person asked it to decide it itself; a widget whose controller says it is working (ctx.setWorking) is never sent a decision until it says it is asking, even when an action is enabled or the person resumes the autopilot); autopilot.acted is what it did (detail.action, detail.note, detail.finished); autopilot.handed-back is a decision it gave to the person (detail.reason and detail.trigger: model, no-decision or error); autopilot.paused / autopilot.resumed are mode changes (detail.scope, detail.trigger, detail.decideYourself when the person resumed during a hand-back; detail.trigger is restored when the mode came back with the session after a reload, applied once its flow re-activated, which starts nothing by itself); autopilot.carried is the mode, running or paused, going with the task to the agent that took it over, rather than ending with the flow as on any other change of flow owner: to the target of a hand-off, or back to its caller on the hand-back (detail.from, detail.to, detail.mode); a pause the person chose goes with it, and Stop and Clear still end it; a mode restored for the target of a hand-off applies to its caller when the reload hands back; autopilot.error is the wrapper itself failing; autopilot.refinement counts a refining action against its step — a written answer (reply) or a widget action declared refines, such as a regenerate with instructions, counted together (detail.action, detail.stepKey, detail.count, detail.limitReached, after which every refining action is withdrawn for that step: not listed, and refused; the decision and every relisting of its actions say how many are left at the step, as a line Refinements left at this step: N, wherever the widget has a refining action); autopilot.handback-presented is the turn-level hand-back, shown when a working turn ended needing the person with no widget to hand over (detail.why: max-iterations, context-exhausted, failure or question; detail.options; detail.choice once answered); autopilot.catch-up is the autopilot being given the whole visible transcript at once (detail.why: first, for its first decision in a flow or after a reload; size, when its own history passed its budget and was rebuilt short — detail.ownChars; or compacted, when a compaction removed the last message it had seen, so it reads the summary and everything since, short; in each, what it had sent on the user behalf is included and labelled as its own, since its own history does not hold it); autopilot.cost-dropped is autopilot spend that no message carries, so it is NOT in the session total (detail.costUsd and detail.why: handed-back, aborted or stale for a written question it answered that no reply was sent for — stale when a pause, a resume, a new turn or the end of its flow came before the answer landed, which then went nowhere — or no-recorder when the driver had no way to book a decision to its interaction); a hand-back trigger can also be budget (the decision passed its spend cap), watchdog (its work went quiet: no ready surface and no heartbeat, or its own decision stalled with no model call landing, which stops that decision) or detached (the autopilot was removed while it held the interaction, which went to the person with no reason shown). To debug one autopilot decision, follow its interactionId: interaction.requested (heldBy), autopilot.claimed, autopilot.decision-sent, autopilot.acted or autopilot.handed-back, interaction.invoked, interaction.resolved (answeredBy), then the next turn of the working agent), interaction.invoked (a claimant ran one of the actions the widget itself exposes, through its hold, the same code the button runs — detail.claimant, detail.action (an option id, select or reply) and detail.finished, whether that settled the interaction, and when it did not, the run is recorded as an edit; the choice and narration it recorded reach the result of the tool that asked as decidedOnUsersBehalf; the person's own programmatic action, from a host with no DOM to click, carries detail.by: user in place of detail.claimant, and is not recorded as an edit nor as a decision on their behalf, so what it settles is answered by user), interaction.step (a long action run as named steps through runSteps, which survive a reload — detail.step and detail.outcome: started, done, skipped when the step was already done before a reload, or resumed when it started before a reload and runs again with what it saved part-way, such as a job id it re-attaches to), interaction.checkpoint (the checkpoints a conversation keeps for its long actions: the one in flight, and each one a reload cut, held apart until a request of its own widget type takes it over, so a resumed flow that opens other long widgets first, which save their own, loses nothing — detail.action: resumed when a reload cut the work and a request of the same widget type that the registration sameWork agrees is the same work took it over, refused when sameWork said a new request is different work (detail.saved is the identity it kept; detail.kept: true, since it stays for a later request of that type, and is offered to every one until one agrees) or when runSteps found the handed-over checkpoint malformed and started fresh (detail.reason, detail.saved), or cleared when its flow ended, once per checkpoint, with detail.cut: true for one a reload cut that nothing took over), context.updated/threshold-crossed (token + cost), headless.attached (a HeadlessSession attached, for a host that drives the assistant with no screen — detail.label, what the host called itself, when it gave one) and headless.raw-resolved (that host settled an interaction raw, bypassing the widget's own actions: detail.interactionId and detail.component; the result went to the tool as given, so check what the widget would have enforced), context.condensed (a stale tool payload was collapsed out of the model-bound history by a `condenseWhen` declaration on the tool — detail.tool + toolCallId, target args|response, trigger (superseded:<key> or age:<n>), stubLen, and an estimated tokensSaved; stored history and this log keep the FULL payload, so the model-visible slice at any point is the full history minus the condensations recorded up to then), panel.toggled, attachment.added, file.read-failed, suggestions.failed.",
274
274
  'Sub-agent meta events: a sub-agent\'s own turn.retry/turn.error/tool.failed/tool.unresolved/turn.finish-guard events are merged into this same timeline, tagged with `detail.subAgent` — a `"<parent> › <sub-agent>"` breadcrumb that composes when nested (e.g. `"UI Builder › Planner › Grounding"`) — and interleaved by their original timestamps within the subagent.started→completed/failed bracket. These are the per-attempt/per-failure signals that do NOT appear among the sub-agent\'s (hoisted) messages: a malformed/empty attempt that gets retried produces no message, and the stale-vs-hallucinated split and streak counts live only on the event. A sub-agent\'s high-volume, message-derivable events (turn.start/turn.end, provider.selected, context.updated) are intentionally NOT merged — read its hoisted messages for model/tokens/cost and turn-by-turn activity, and the bracketing subagent.* events for the run\'s span.',
275
275
  "`meta` holds context captured at export time: agentSummary (full agent configs), context (active model, contextTokens/contextLimit/contextUsagePercent for the last call, and the session totals — sessionCostUsd, sessionTokensConsumed, and the four-bucket sessionUsage lifted to the top of this log), activeDebugSnapshot (the active agent's `getDebugSnapshot()` taken fresh at export — reflects state NOW, which may have advanced beyond the last turn's agentSnapshot), debug (optional host-supplied debug state), host, and the export timestamp.",
276
276
  'Note the two different scopes in `meta.context`: `contextTokens` is the prompt size of the LAST call (against `contextLimit`, the model context window), while `sessionUsage`/`sessionTokensConsumed` are cumulative BILLED throughput. Every turn resends the conversation, so the cumulative figure counts each turn’s prompt again in the next turn’s and is expected to dwarf the context size — that is not double-counting.',
package/dist/react.cjs CHANGED
@@ -104,6 +104,11 @@ const ChatSuggestions = React.forwardRef(function ChatSuggestions(props, ref) {
104
104
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
105
105
  });
106
106
 
107
+ const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
108
+ const { children, ...rest } = props;
109
+ return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
110
+ });
111
+
107
112
  const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
108
113
  const { children, ...rest } = props;
109
114
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -195,11 +200,6 @@ const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, r
195
200
  return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
196
201
  });
197
202
 
198
- const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
199
- const { children, ...rest } = props;
200
- return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
201
- });
202
-
203
203
  module.exports = {
204
204
  AiFlowingWavesIndicator,
205
205
  AiHaloOverlay,
@@ -207,6 +207,7 @@ module.exports = {
207
207
  AiWavesIndicator,
208
208
  FoundationAiAssistant,
209
209
  ChatSuggestions,
210
+ AutopilotHandBack,
210
211
  AiActivityHalo,
211
212
  AgentPicker,
212
213
  AiChatBubble,
@@ -216,5 +217,4 @@ module.exports = {
216
217
  AiNotificationLevel,
217
218
  FoundationAiPopoutManager,
218
219
  GenesisWriteReview,
219
- AutopilotHandBack,
220
220
  };
package/dist/react.mjs CHANGED
@@ -102,6 +102,11 @@ export const ChatSuggestions = React.forwardRef(function ChatSuggestions(props,
102
102
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
103
103
  });
104
104
 
105
+ export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
106
+ const { children, ...rest } = props;
107
+ return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
108
+ });
109
+
105
110
  export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
106
111
  const { children, ...rest } = props;
107
112
  return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
@@ -192,8 +197,3 @@ export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(p
192
197
  }, []);
193
198
  return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
194
199
  });
195
-
196
- export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
197
- const { children, ...rest } = props;
198
- return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
199
- });