@genesislcap/ai-assistant 14.436.0 → 14.437.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.
@@ -2430,8 +2430,8 @@
2430
2430
  },
2431
2431
  {
2432
2432
  "kind": "Reference",
2433
- "text": "ChatToolHandlers",
2434
- "canonicalReference": "@genesislcap/foundation-ai!ChatToolHandlers:type"
2433
+ "text": "ToolHandlersInput",
2434
+ "canonicalReference": "@genesislcap/ai-assistant!ToolHandlersInput:type"
2435
2435
  },
2436
2436
  {
2437
2437
  "kind": "Content",
@@ -3100,7 +3100,7 @@
3100
3100
  {
3101
3101
  "kind": "Method",
3102
3102
  "canonicalReference": "@genesislcap/ai-assistant!ChatDriver#requestInteraction:member(1)",
3103
- "docComment": "/**\n * Request a custom UI interaction. Emits a new message with the interaction. Tool handlers can call this to pause execution until the user completes the UI interaction.\n *\n * If a host requester is wired (sub-agent case), the call delegates upward so the interaction lives on the parent — the main UI is only listening to the root driver. Only one interaction may be in flight at any time on a given root: concurrent calls (e.g. two parallel sub-agents both spawning a widget) throw. Parallel sub-agents are for parallel work, not for user interaction, which is inherently sequential.\n *\n * @param componentName - The custom element name to render.\n *\n * @param data - Data to pass to the component.\n */\n",
3103
+ "docComment": "/**\n * Request a custom UI interaction. Emits a new message with the interaction. Tool handlers can call this to pause execution until the user completes the UI interaction.\n *\n * If a host requester is wired (sub-agent case), the call delegates upward so the interaction lives on the parent — the main UI is only listening to the root driver. Only one interaction may be in flight at any time on a given root: concurrent calls (e.g. two parallel sub-agents both spawning a widget) throw. Parallel sub-agents are for parallel work, not for user interaction, which is inherently sequential.\n *\n * @param componentName - The custom element name to render.\n *\n * @param data - Data to pass to the component.\n *\n * @param options - Optional per-call overrides, including `chatInputDuringExecution` to hide or disable the main chat input while the widget is awaiting user input. Reverts when the interaction resolves.\n */\n",
3104
3104
  "excerptTokens": [
3105
3105
  {
3106
3106
  "kind": "Content",
@@ -3118,6 +3118,15 @@
3118
3118
  "kind": "Content",
3119
3119
  "text": "any"
3120
3120
  },
3121
+ {
3122
+ "kind": "Content",
3123
+ "text": ", options?: "
3124
+ },
3125
+ {
3126
+ "kind": "Reference",
3127
+ "text": "InteractionRequestOptions",
3128
+ "canonicalReference": "@genesislcap/foundation-ai!InteractionRequestOptions:interface"
3129
+ },
3121
3130
  {
3122
3131
  "kind": "Content",
3123
3132
  "text": "): "
@@ -3151,8 +3160,8 @@
3151
3160
  ],
3152
3161
  "isStatic": false,
3153
3162
  "returnTypeTokenRange": {
3154
- "startIndex": 5,
3155
- "endIndex": 7
3163
+ "startIndex": 7,
3164
+ "endIndex": 9
3156
3165
  },
3157
3166
  "releaseTag": "Beta",
3158
3167
  "isProtected": false,
@@ -3173,6 +3182,14 @@
3173
3182
  "endIndex": 4
3174
3183
  },
3175
3184
  "isOptional": false
3185
+ },
3186
+ {
3187
+ "parameterName": "options",
3188
+ "parameterTypeTokenRange": {
3189
+ "startIndex": 5,
3190
+ "endIndex": 6
3191
+ },
3192
+ "isOptional": true
3176
3193
  }
3177
3194
  ],
3178
3195
  "isOptional": false,
@@ -3337,7 +3354,16 @@
3337
3354
  },
3338
3355
  {
3339
3356
  "kind": "Content",
3340
- "text": "<T>(componentName: string, data: any) => "
3357
+ "text": "<T>(componentName: string, data: any, options?: "
3358
+ },
3359
+ {
3360
+ "kind": "Reference",
3361
+ "text": "InteractionRequestOptions",
3362
+ "canonicalReference": "@genesislcap/foundation-ai!InteractionRequestOptions:interface"
3363
+ },
3364
+ {
3365
+ "kind": "Content",
3366
+ "text": ") => "
3341
3367
  },
3342
3368
  {
3343
3369
  "kind": "Reference",
@@ -3363,8 +3389,8 @@
3363
3389
  ],
3364
3390
  "isStatic": false,
3365
3391
  "returnTypeTokenRange": {
3366
- "startIndex": 5,
3367
- "endIndex": 6
3392
+ "startIndex": 7,
3393
+ "endIndex": 8
3368
3394
  },
3369
3395
  "releaseTag": "Beta",
3370
3396
  "isProtected": false,
@@ -3374,7 +3400,7 @@
3374
3400
  "parameterName": "fn",
3375
3401
  "parameterTypeTokenRange": {
3376
3402
  "startIndex": 1,
3377
- "endIndex": 4
3403
+ "endIndex": 6
3378
3404
  },
3379
3405
  "isOptional": false
3380
3406
  }
@@ -4563,7 +4589,7 @@
4563
4589
  {
4564
4590
  "kind": "Property",
4565
4591
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#effectiveChatInputDuringExecution:member",
4566
- "docComment": "/**\n * Resolves the effective chat-input behaviour while the assistant is executing. Sub-agent overrides take precedence over the agent-level config; among overrides the most restrictive wins (`'hidden'` > `'disabled'`). Falls back to the active agent's config, then `'disabled'`.\n */\n",
4592
+ "docComment": "/**\n * Resolves the effective chat-input behaviour while the assistant is executing. Per-call overrides take precedence over the agent-level config; among overrides the most restrictive wins (`'hidden'` > `'disabled'`). Falls back to the active agent's config, then `'disabled'`.\n */\n",
4567
4593
  "excerptTokens": [
4568
4594
  {
4569
4595
  "kind": "Content",
@@ -4685,16 +4711,25 @@
4685
4711
  },
4686
4712
  {
4687
4713
  "kind": "Content",
4688
- "text": "[];\n meta: {\n timestamp: string;\n host: string;\n agentSummary: ({\n toolDefinitions: string | import(\"../utils/tool-fold\")."
4714
+ "text": "[];\n meta: {\n timestamp: string;\n host: string;\n agentSummary: ({\n toolDefinitions: string | import(\"@genesislcap/foundation-ai\")."
4689
4715
  },
4690
4716
  {
4691
4717
  "kind": "Reference",
4692
- "text": "ToolTreeNode",
4693
- "canonicalReference": "@genesislcap/ai-assistant!ToolTreeNode:interface"
4718
+ "text": "ChatToolDefinition",
4719
+ "canonicalReference": "@genesislcap/foundation-ai!ChatToolDefinition:interface"
4694
4720
  },
4695
4721
  {
4696
4722
  "kind": "Content",
4697
- "text": "[];\n toolHandlers: any;\n onActivate: any;\n onDeactivate: any;\n getDebugSnapshot: any;\n description: string;\n fallback?: never;\n excludeFromClassifier?: boolean;\n name: string;\n systemPrompt?: import(\"../config/config\")."
4723
+ "text": "[];\n toolHandlers: any;\n onActivate: any;\n onDeactivate: any;\n getDebugSnapshot: any;\n description: string;\n fallback?: never;\n excludeFromClassifier?: boolean;\n name: string;\n displayName?: import(\"../config/config\")."
4724
+ },
4725
+ {
4726
+ "kind": "Reference",
4727
+ "text": "SystemPromptInput",
4728
+ "canonicalReference": "@genesislcap/ai-assistant!SystemPromptInput:type"
4729
+ },
4730
+ {
4731
+ "kind": "Content",
4732
+ "text": ";\n systemPrompt?: import(\"../config/config\")."
4698
4733
  },
4699
4734
  {
4700
4735
  "kind": "Reference",
@@ -4739,16 +4774,25 @@
4739
4774
  },
4740
4775
  {
4741
4776
  "kind": "Content",
4742
- "text": ";\n } | {\n toolDefinitions: string | import(\"../utils/tool-fold\")."
4777
+ "text": ";\n } | {\n toolDefinitions: string | import(\"@genesislcap/foundation-ai\")."
4743
4778
  },
4744
4779
  {
4745
4780
  "kind": "Reference",
4746
- "text": "ToolTreeNode",
4747
- "canonicalReference": "@genesislcap/ai-assistant!ToolTreeNode:interface"
4781
+ "text": "ChatToolDefinition",
4782
+ "canonicalReference": "@genesislcap/foundation-ai!ChatToolDefinition:interface"
4748
4783
  },
4749
4784
  {
4750
4785
  "kind": "Content",
4751
- "text": "[];\n toolHandlers: any;\n onActivate: any;\n onDeactivate: any;\n getDebugSnapshot: any;\n fallback: true;\n description?: never;\n name: string;\n systemPrompt?: import(\"../config/config\")."
4786
+ "text": "[];\n toolHandlers: any;\n onActivate: any;\n onDeactivate: any;\n getDebugSnapshot: any;\n fallback: true;\n description?: never;\n name: string;\n displayName?: import(\"../config/config\")."
4787
+ },
4788
+ {
4789
+ "kind": "Reference",
4790
+ "text": "SystemPromptInput",
4791
+ "canonicalReference": "@genesislcap/ai-assistant!SystemPromptInput:type"
4792
+ },
4793
+ {
4794
+ "kind": "Content",
4795
+ "text": ";\n systemPrompt?: import(\"../config/config\")."
4752
4796
  },
4753
4797
  {
4754
4798
  "kind": "Reference",
@@ -4821,7 +4865,7 @@
4821
4865
  "isStatic": false,
4822
4866
  "returnTypeTokenRange": {
4823
4867
  "startIndex": 1,
4824
- "endIndex": 32
4868
+ "endIndex": 36
4825
4869
  },
4826
4870
  "releaseTag": "Beta",
4827
4871
  "isProtected": false,
@@ -5129,6 +5173,45 @@
5129
5173
  "isProtected": false,
5130
5174
  "isAbstract": false
5131
5175
  },
5176
+ {
5177
+ "kind": "Property",
5178
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#inputOverrides:member",
5179
+ "docComment": "/**\n * In-flight per-call chat-input overrides pushed by `requestSubAgent` or `requestInteraction` calls. Empty means no override is active.\n */\n",
5180
+ "excerptTokens": [
5181
+ {
5182
+ "kind": "Content",
5183
+ "text": "get inputOverrides(): "
5184
+ },
5185
+ {
5186
+ "kind": "Content",
5187
+ "text": "import(\"../state/ai-assistant-slice\")."
5188
+ },
5189
+ {
5190
+ "kind": "Reference",
5191
+ "text": "InputOverride",
5192
+ "canonicalReference": "@genesislcap/ai-assistant!~InputOverride:interface"
5193
+ },
5194
+ {
5195
+ "kind": "Content",
5196
+ "text": "[]"
5197
+ },
5198
+ {
5199
+ "kind": "Content",
5200
+ "text": ";"
5201
+ }
5202
+ ],
5203
+ "isReadonly": true,
5204
+ "isOptional": false,
5205
+ "releaseTag": "Beta",
5206
+ "name": "inputOverrides",
5207
+ "propertyTypeTokenRange": {
5208
+ "startIndex": 1,
5209
+ "endIndex": 4
5210
+ },
5211
+ "isStatic": false,
5212
+ "isProtected": false,
5213
+ "isAbstract": false
5214
+ },
5132
5215
  {
5133
5216
  "kind": "Property",
5134
5217
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#inputValue:member",
@@ -6125,45 +6208,6 @@
6125
6208
  "isProtected": false,
6126
6209
  "isAbstract": false
6127
6210
  },
6128
- {
6129
- "kind": "Property",
6130
- "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#subAgentInputOverrides:member",
6131
- "docComment": "/**\n * In-flight per-call chat-input overrides pushed by `requestSubAgent` invocations. Empty means no override is active.\n */\n",
6132
- "excerptTokens": [
6133
- {
6134
- "kind": "Content",
6135
- "text": "get subAgentInputOverrides(): "
6136
- },
6137
- {
6138
- "kind": "Content",
6139
- "text": "import(\"../state/ai-assistant-slice\")."
6140
- },
6141
- {
6142
- "kind": "Reference",
6143
- "text": "SubAgentInputOverride",
6144
- "canonicalReference": "@genesislcap/ai-assistant!~SubAgentInputOverride:interface"
6145
- },
6146
- {
6147
- "kind": "Content",
6148
- "text": "[]"
6149
- },
6150
- {
6151
- "kind": "Content",
6152
- "text": ";"
6153
- }
6154
- ],
6155
- "isReadonly": true,
6156
- "isOptional": false,
6157
- "releaseTag": "Beta",
6158
- "name": "subAgentInputOverrides",
6159
- "propertyTypeTokenRange": {
6160
- "startIndex": 1,
6161
- "endIndex": 4
6162
- },
6163
- "isStatic": false,
6164
- "isProtected": false,
6165
- "isAbstract": false
6166
- },
6167
6211
  {
6168
6212
  "kind": "Property",
6169
6213
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#suggestionsState:member",
@@ -7723,6 +7767,50 @@
7723
7767
  }
7724
7768
  ]
7725
7769
  },
7770
+ {
7771
+ "kind": "TypeAlias",
7772
+ "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentContext:type",
7773
+ "docComment": "/**\n * Context passed to per-turn resolvers on a stateful agent — the standard {@link SystemPromptContext} plus the live `state` value. Used by `systemPrompt`, `displayName`, and the function form of `toolDefinitions`.\n *\n * Exported so consumers can lift resolvers into separate files without re-deriving the shape.\n *\n * @beta\n */\n",
7774
+ "excerptTokens": [
7775
+ {
7776
+ "kind": "Content",
7777
+ "text": "export type StatefulAgentContext<S> = "
7778
+ },
7779
+ {
7780
+ "kind": "Reference",
7781
+ "text": "SystemPromptContext",
7782
+ "canonicalReference": "@genesislcap/ai-assistant!SystemPromptContext:interface"
7783
+ },
7784
+ {
7785
+ "kind": "Content",
7786
+ "text": " & {\n state: S;\n}"
7787
+ },
7788
+ {
7789
+ "kind": "Content",
7790
+ "text": ";"
7791
+ }
7792
+ ],
7793
+ "fileUrlPath": "src/config/define-stateful-agent.ts",
7794
+ "releaseTag": "Beta",
7795
+ "name": "StatefulAgentContext",
7796
+ "typeParameters": [
7797
+ {
7798
+ "typeParameterName": "S",
7799
+ "constraintTokenRange": {
7800
+ "startIndex": 0,
7801
+ "endIndex": 0
7802
+ },
7803
+ "defaultTypeTokenRange": {
7804
+ "startIndex": 0,
7805
+ "endIndex": 0
7806
+ }
7807
+ }
7808
+ ],
7809
+ "typeTokenRange": {
7810
+ "startIndex": 1,
7811
+ "endIndex": 3
7812
+ }
7813
+ },
7726
7814
  {
7727
7815
  "kind": "Interface",
7728
7816
  "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit:interface",
@@ -7806,6 +7894,51 @@
7806
7894
  "endIndex": 2
7807
7895
  }
7808
7896
  },
7897
+ {
7898
+ "kind": "PropertySignature",
7899
+ "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit#displayName:member",
7900
+ "docComment": "/**\n * Per-turn display label, e.g. \"Guided Booking (Counterparties)\". Resolved each tool-loop iteration and stamped onto outgoing messages and the debug-log timeline — display only. The agent's `name` stays as the canonical identity used for routing/history filtering.\n */\n",
7901
+ "excerptTokens": [
7902
+ {
7903
+ "kind": "Content",
7904
+ "text": "displayName?: "
7905
+ },
7906
+ {
7907
+ "kind": "Content",
7908
+ "text": "(ctx: "
7909
+ },
7910
+ {
7911
+ "kind": "Reference",
7912
+ "text": "StatefulAgentContext",
7913
+ "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentContext:type"
7914
+ },
7915
+ {
7916
+ "kind": "Content",
7917
+ "text": "<S>) => string | "
7918
+ },
7919
+ {
7920
+ "kind": "Reference",
7921
+ "text": "Promise",
7922
+ "canonicalReference": "!Promise:interface"
7923
+ },
7924
+ {
7925
+ "kind": "Content",
7926
+ "text": "<string>"
7927
+ },
7928
+ {
7929
+ "kind": "Content",
7930
+ "text": ";"
7931
+ }
7932
+ ],
7933
+ "isReadonly": false,
7934
+ "isOptional": true,
7935
+ "releaseTag": "Beta",
7936
+ "name": "displayName",
7937
+ "propertyTypeTokenRange": {
7938
+ "startIndex": 1,
7939
+ "endIndex": 6
7940
+ }
7941
+ },
7809
7942
  {
7810
7943
  "kind": "PropertySignature",
7811
7944
  "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit#dispose:member",
@@ -8084,12 +8217,12 @@
8084
8217
  },
8085
8218
  {
8086
8219
  "kind": "Reference",
8087
- "text": "SystemPromptContext",
8088
- "canonicalReference": "@genesislcap/ai-assistant!SystemPromptContext:interface"
8220
+ "text": "StatefulAgentContext",
8221
+ "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentContext:type"
8089
8222
  },
8090
8223
  {
8091
8224
  "kind": "Content",
8092
- "text": " & {\n state: S;\n }) => string | "
8225
+ "text": "<S>) => string | "
8093
8226
  },
8094
8227
  {
8095
8228
  "kind": "Reference",
@@ -8134,12 +8267,12 @@
8134
8267
  },
8135
8268
  {
8136
8269
  "kind": "Reference",
8137
- "text": "SystemPromptContext",
8138
- "canonicalReference": "@genesislcap/ai-assistant!SystemPromptContext:interface"
8270
+ "text": "StatefulAgentContext",
8271
+ "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentContext:type"
8139
8272
  },
8140
8273
  {
8141
8274
  "kind": "Content",
8142
- "text": " & {\n state: S;\n }) => "
8275
+ "text": "<S>) => "
8143
8276
  },
8144
8277
  {
8145
8278
  "kind": "Reference",
@@ -8185,7 +8318,7 @@
8185
8318
  {
8186
8319
  "kind": "PropertySignature",
8187
8320
  "canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit#toolHandlers:member",
8188
- "docComment": "/**\n * Factory returning the tool handler map. Called with the live `state` at `onActivate` time; the handlers it returns are cached for the lifetime of this activation. Each handler closes over `state` and any other deps you captured.\n *\n * The handler set returned must be the **union** of every tool name your agent might advertise across all states`toolDefinitions` filters which are visible to the LLM per turn, but every name still needs an entry here.\n */\n",
8321
+ "docComment": "/**\n * Factory returning the handler map for the **current state**. Called each tool-loop iteration with the live `state` value, so the handler set the driver dispatches against matches what `toolDefinitions` exposes to the LLM that turn. Return only the handlers valid right now no need to advertise every handler the agent might ever expose, and no defensive `if (!machine.matches(...))` guards inside each handler.\n *\n * Pair with the function form of `toolDefinitions` so the visible tools and the dispatchable handlers stay in lockstep.\n *\n * **Constraint:** resolved handlers must not include fold facades. Folds and state-machine-driven tool filtering both try to control the LLM's tool view pick one. Helper samples once on activation (init state) and throws if a fold-tagged handler is detected; subsequent resolves also validate, so misuse on a non-init state surfaces when that state is reached.\n */\n",
8189
8322
  "excerptTokens": [
8190
8323
  {
8191
8324
  "kind": "Content",
@@ -8200,6 +8333,28 @@
8200
8333
  "text": "ChatToolHandlers",
8201
8334
  "canonicalReference": "@genesislcap/foundation-ai!ChatToolHandlers:type"
8202
8335
  },
8336
+ {
8337
+ "kind": "Content",
8338
+ "text": " | "
8339
+ },
8340
+ {
8341
+ "kind": "Reference",
8342
+ "text": "Promise",
8343
+ "canonicalReference": "!Promise:interface"
8344
+ },
8345
+ {
8346
+ "kind": "Content",
8347
+ "text": "<"
8348
+ },
8349
+ {
8350
+ "kind": "Reference",
8351
+ "text": "ChatToolHandlers",
8352
+ "canonicalReference": "@genesislcap/foundation-ai!ChatToolHandlers:type"
8353
+ },
8354
+ {
8355
+ "kind": "Content",
8356
+ "text": ">"
8357
+ },
8203
8358
  {
8204
8359
  "kind": "Content",
8205
8360
  "text": ";"
@@ -8211,7 +8366,7 @@
8211
8366
  "name": "toolHandlers",
8212
8367
  "propertyTypeTokenRange": {
8213
8368
  "startIndex": 1,
8214
- "endIndex": 3
8369
+ "endIndex": 8
8215
8370
  }
8216
8371
  }
8217
8372
  ],
@@ -8593,6 +8748,73 @@
8593
8748
  ],
8594
8749
  "extendsTokenRanges": []
8595
8750
  },
8751
+ {
8752
+ "kind": "TypeAlias",
8753
+ "canonicalReference": "@genesislcap/ai-assistant!ToolHandlersInput:type",
8754
+ "docComment": "/**\n * Tool handlers for an agent. Either a static map (the conventional shape) or a function resolved each tool-loop iteration. The function form lets the agent narrow the dispatchable handler set per turn — pair it with the function form of `toolDefinitions` so the LLM-visible tools and the dispatchable handlers stay in lockstep, and handlers don't have to defend themselves against being dispatched in states where their tool isn't advertised.\n *\n * @beta\n */\n",
8755
+ "excerptTokens": [
8756
+ {
8757
+ "kind": "Content",
8758
+ "text": "export type ToolHandlersInput = "
8759
+ },
8760
+ {
8761
+ "kind": "Reference",
8762
+ "text": "ChatToolHandlers",
8763
+ "canonicalReference": "@genesislcap/foundation-ai!ChatToolHandlers:type"
8764
+ },
8765
+ {
8766
+ "kind": "Content",
8767
+ "text": " | ((ctx: "
8768
+ },
8769
+ {
8770
+ "kind": "Reference",
8771
+ "text": "SystemPromptContext",
8772
+ "canonicalReference": "@genesislcap/ai-assistant!SystemPromptContext:interface"
8773
+ },
8774
+ {
8775
+ "kind": "Content",
8776
+ "text": ") => "
8777
+ },
8778
+ {
8779
+ "kind": "Reference",
8780
+ "text": "ChatToolHandlers",
8781
+ "canonicalReference": "@genesislcap/foundation-ai!ChatToolHandlers:type"
8782
+ },
8783
+ {
8784
+ "kind": "Content",
8785
+ "text": " | "
8786
+ },
8787
+ {
8788
+ "kind": "Reference",
8789
+ "text": "Promise",
8790
+ "canonicalReference": "!Promise:interface"
8791
+ },
8792
+ {
8793
+ "kind": "Content",
8794
+ "text": "<"
8795
+ },
8796
+ {
8797
+ "kind": "Reference",
8798
+ "text": "ChatToolHandlers",
8799
+ "canonicalReference": "@genesislcap/foundation-ai!ChatToolHandlers:type"
8800
+ },
8801
+ {
8802
+ "kind": "Content",
8803
+ "text": ">)"
8804
+ },
8805
+ {
8806
+ "kind": "Content",
8807
+ "text": ";"
8808
+ }
8809
+ ],
8810
+ "fileUrlPath": "src/config/config.ts",
8811
+ "releaseTag": "Beta",
8812
+ "name": "ToolHandlersInput",
8813
+ "typeTokenRange": {
8814
+ "startIndex": 1,
8815
+ "endIndex": 11
8816
+ }
8817
+ },
8596
8818
  {
8597
8819
  "kind": "Interface",
8598
8820
  "canonicalReference": "@genesislcap/ai-assistant!ToolTreeNode:interface",
@@ -8672,6 +8894,33 @@
8672
8894
  "name": "TurnSnapshot",
8673
8895
  "preserveMemberOrder": false,
8674
8896
  "members": [
8897
+ {
8898
+ "kind": "PropertySignature",
8899
+ "canonicalReference": "@genesislcap/ai-assistant!TurnSnapshot#agentLabel:member",
8900
+ "docComment": "/**\n * Per-turn display label resolved from the agent's `displayName`, e.g. \"Guided Booking (Counterparties)\". `agentName` stays as the canonical identity used for routing/filtering.\n */\n",
8901
+ "excerptTokens": [
8902
+ {
8903
+ "kind": "Content",
8904
+ "text": "agentLabel?: "
8905
+ },
8906
+ {
8907
+ "kind": "Content",
8908
+ "text": "string"
8909
+ },
8910
+ {
8911
+ "kind": "Content",
8912
+ "text": ";"
8913
+ }
8914
+ ],
8915
+ "isReadonly": false,
8916
+ "isOptional": true,
8917
+ "releaseTag": "Beta",
8918
+ "name": "agentLabel",
8919
+ "propertyTypeTokenRange": {
8920
+ "startIndex": 1,
8921
+ "endIndex": 2
8922
+ }
8923
+ },
8675
8924
  {
8676
8925
  "kind": "PropertySignature",
8677
8926
  "canonicalReference": "@genesislcap/ai-assistant!TurnSnapshot#agentName:member",