@genesislcap/ai-assistant 14.455.0 → 14.455.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.
- package/dist/ai-assistant.api.json +336 -3
- package/dist/ai-assistant.d.ts +100 -0
- package/dist/dts/components/chat-driver/chat-driver.d.ts +30 -1
- package/dist/dts/components/chat-driver/chat-driver.d.ts.map +1 -1
- package/dist/dts/components/chat-driver/chat-driver.test.d.ts.map +1 -1
- package/dist/dts/config/config.d.ts +45 -2
- package/dist/dts/config/config.d.ts.map +1 -1
- package/dist/dts/config/define-stateful-agent.d.ts +16 -1
- package/dist/dts/config/define-stateful-agent.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +7 -0
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/esm/components/chat-driver/chat-driver.js +40 -19
- package/dist/esm/components/chat-driver/chat-driver.test.js +86 -0
- package/dist/esm/config/define-stateful-agent.js +20 -0
- package/dist/esm/main/main.js +5 -3
- package/dist/esm/state/debug-event-log.js +1 -1
- package/package.json +16 -16
- package/src/components/chat-driver/chat-driver.test.ts +114 -2
- package/src/components/chat-driver/chat-driver.ts +76 -7
- package/src/config/config.ts +49 -1
- package/src/config/define-stateful-agent.ts +58 -1
- package/src/main/main.ts +7 -1
- package/src/state/debug-event-log.ts +1 -1
|
@@ -5183,7 +5183,16 @@
|
|
|
5183
5183
|
},
|
|
5184
5184
|
{
|
|
5185
5185
|
"kind": "Content",
|
|
5186
|
-
"text": "{\n readme: readonly string[];\n timeline: ({\n systemPrompt: string;\n turnIndex: string;\n timestamp: string;\n agentName?: string;\n toolNames: string[];\n
|
|
5186
|
+
"text": "{\n readme: readonly string[];\n timeline: ({\n systemPrompt: string;\n turnIndex: string;\n timestamp: string;\n agentName?: string;\n toolNames: string[];\n temperature?: number;\n toolChoice?: import(\"@genesislcap/foundation-ai\")."
|
|
5187
|
+
},
|
|
5188
|
+
{
|
|
5189
|
+
"kind": "Reference",
|
|
5190
|
+
"text": "ChatToolChoice",
|
|
5191
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
5192
|
+
},
|
|
5193
|
+
{
|
|
5194
|
+
"kind": "Content",
|
|
5195
|
+
"text": ";\n agentLabel?: string;\n agentSnapshot?: unknown;\n kind: \"turn\";\n } | {\n role: import(\"@genesislcap/foundation-ai\")."
|
|
5187
5196
|
},
|
|
5188
5197
|
{
|
|
5189
5198
|
"kind": "Reference",
|
|
@@ -5228,7 +5237,16 @@
|
|
|
5228
5237
|
},
|
|
5229
5238
|
{
|
|
5230
5239
|
"kind": "Content",
|
|
5231
|
-
"text": ";\n thinking?: boolean;\n agentName?: string;\n agentLabel?: string;\n inputTokens?: number;\n outputTokens?: number;\n cost?: number;\n
|
|
5240
|
+
"text": ";\n thinking?: boolean;\n agentName?: string;\n agentLabel?: string;\n inputTokens?: number;\n outputTokens?: number;\n cost?: number;\n responseMeta?: import(\"@genesislcap/foundation-ai\")."
|
|
5241
|
+
},
|
|
5242
|
+
{
|
|
5243
|
+
"kind": "Reference",
|
|
5244
|
+
"text": "ChatResponseMeta",
|
|
5245
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatResponseMeta:interface"
|
|
5246
|
+
},
|
|
5247
|
+
{
|
|
5248
|
+
"kind": "Content",
|
|
5249
|
+
"text": ";\n kind: \"message\";\n } | {\n index: number;\n timestamp: string;\n type: "
|
|
5232
5250
|
},
|
|
5233
5251
|
{
|
|
5234
5252
|
"kind": "Reference",
|
|
@@ -5289,6 +5307,24 @@
|
|
|
5289
5307
|
"text": "ProviderInput",
|
|
5290
5308
|
"canonicalReference": "@genesislcap/ai-assistant!ProviderInput:type"
|
|
5291
5309
|
},
|
|
5310
|
+
{
|
|
5311
|
+
"kind": "Content",
|
|
5312
|
+
"text": ";\n temperature?: import(\"../config/config\")."
|
|
5313
|
+
},
|
|
5314
|
+
{
|
|
5315
|
+
"kind": "Reference",
|
|
5316
|
+
"text": "TemperatureInput",
|
|
5317
|
+
"canonicalReference": "@genesislcap/ai-assistant!TemperatureInput:type"
|
|
5318
|
+
},
|
|
5319
|
+
{
|
|
5320
|
+
"kind": "Content",
|
|
5321
|
+
"text": ";\n toolChoice?: import(\"../config/config\")."
|
|
5322
|
+
},
|
|
5323
|
+
{
|
|
5324
|
+
"kind": "Reference",
|
|
5325
|
+
"text": "ToolChoiceInput",
|
|
5326
|
+
"canonicalReference": "@genesislcap/ai-assistant!ToolChoiceInput:type"
|
|
5327
|
+
},
|
|
5292
5328
|
{
|
|
5293
5329
|
"kind": "Content",
|
|
5294
5330
|
"text": ";\n primerHistory?: "
|
|
@@ -5361,6 +5397,24 @@
|
|
|
5361
5397
|
"text": "ProviderInput",
|
|
5362
5398
|
"canonicalReference": "@genesislcap/ai-assistant!ProviderInput:type"
|
|
5363
5399
|
},
|
|
5400
|
+
{
|
|
5401
|
+
"kind": "Content",
|
|
5402
|
+
"text": ";\n temperature?: import(\"../config/config\")."
|
|
5403
|
+
},
|
|
5404
|
+
{
|
|
5405
|
+
"kind": "Reference",
|
|
5406
|
+
"text": "TemperatureInput",
|
|
5407
|
+
"canonicalReference": "@genesislcap/ai-assistant!TemperatureInput:type"
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"kind": "Content",
|
|
5411
|
+
"text": ";\n toolChoice?: import(\"../config/config\")."
|
|
5412
|
+
},
|
|
5413
|
+
{
|
|
5414
|
+
"kind": "Reference",
|
|
5415
|
+
"text": "ToolChoiceInput",
|
|
5416
|
+
"canonicalReference": "@genesislcap/ai-assistant!ToolChoiceInput:type"
|
|
5417
|
+
},
|
|
5364
5418
|
{
|
|
5365
5419
|
"kind": "Content",
|
|
5366
5420
|
"text": ";\n primerHistory?: "
|
|
@@ -5418,7 +5472,7 @@
|
|
|
5418
5472
|
"isStatic": false,
|
|
5419
5473
|
"returnTypeTokenRange": {
|
|
5420
5474
|
"startIndex": 1,
|
|
5421
|
-
"endIndex":
|
|
5475
|
+
"endIndex": 64
|
|
5422
5476
|
},
|
|
5423
5477
|
"releaseTag": "Beta",
|
|
5424
5478
|
"isProtected": false,
|
|
@@ -9206,6 +9260,119 @@
|
|
|
9206
9260
|
"endIndex": 6
|
|
9207
9261
|
}
|
|
9208
9262
|
},
|
|
9263
|
+
{
|
|
9264
|
+
"kind": "PropertySignature",
|
|
9265
|
+
"canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit#temperature:member",
|
|
9266
|
+
"docComment": "/**\n * Sampling temperature, normalized to `0`–`1`. Either a static number or a function resolved each tool-loop iteration with the current `state` — pick the function form to vary it per machine state (e.g. low for a precise extraction step, higher for free-form drafting). Omit for the default.\n */\n",
|
|
9267
|
+
"excerptTokens": [
|
|
9268
|
+
{
|
|
9269
|
+
"kind": "Content",
|
|
9270
|
+
"text": "temperature?: "
|
|
9271
|
+
},
|
|
9272
|
+
{
|
|
9273
|
+
"kind": "Content",
|
|
9274
|
+
"text": "number | ((ctx: "
|
|
9275
|
+
},
|
|
9276
|
+
{
|
|
9277
|
+
"kind": "Reference",
|
|
9278
|
+
"text": "StatefulAgentContext",
|
|
9279
|
+
"canonicalReference": "@genesislcap/ai-assistant!StatefulAgentContext:type"
|
|
9280
|
+
},
|
|
9281
|
+
{
|
|
9282
|
+
"kind": "Content",
|
|
9283
|
+
"text": "<S>) => number | "
|
|
9284
|
+
},
|
|
9285
|
+
{
|
|
9286
|
+
"kind": "Reference",
|
|
9287
|
+
"text": "Promise",
|
|
9288
|
+
"canonicalReference": "!Promise:interface"
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"kind": "Content",
|
|
9292
|
+
"text": "<number>)"
|
|
9293
|
+
},
|
|
9294
|
+
{
|
|
9295
|
+
"kind": "Content",
|
|
9296
|
+
"text": ";"
|
|
9297
|
+
}
|
|
9298
|
+
],
|
|
9299
|
+
"isReadonly": false,
|
|
9300
|
+
"isOptional": true,
|
|
9301
|
+
"releaseTag": "Beta",
|
|
9302
|
+
"name": "temperature",
|
|
9303
|
+
"propertyTypeTokenRange": {
|
|
9304
|
+
"startIndex": 1,
|
|
9305
|
+
"endIndex": 6
|
|
9306
|
+
}
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
"kind": "PropertySignature",
|
|
9310
|
+
"canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit#toolChoice:member",
|
|
9311
|
+
"docComment": "/**\n * Tool-call mode. Either a static `ChatToolChoice` or a function resolved each tool-loop iteration with the current `state` — pick the function form to force a specific tool in one state (e.g. a classifier in intake) and leave `'auto'` in states where multi-step work happens. Omit for the default.\n */\n",
|
|
9312
|
+
"excerptTokens": [
|
|
9313
|
+
{
|
|
9314
|
+
"kind": "Content",
|
|
9315
|
+
"text": "toolChoice?: "
|
|
9316
|
+
},
|
|
9317
|
+
{
|
|
9318
|
+
"kind": "Reference",
|
|
9319
|
+
"text": "ChatToolChoice",
|
|
9320
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
9321
|
+
},
|
|
9322
|
+
{
|
|
9323
|
+
"kind": "Content",
|
|
9324
|
+
"text": " | ((ctx: "
|
|
9325
|
+
},
|
|
9326
|
+
{
|
|
9327
|
+
"kind": "Reference",
|
|
9328
|
+
"text": "StatefulAgentContext",
|
|
9329
|
+
"canonicalReference": "@genesislcap/ai-assistant!StatefulAgentContext:type"
|
|
9330
|
+
},
|
|
9331
|
+
{
|
|
9332
|
+
"kind": "Content",
|
|
9333
|
+
"text": "<S>) => "
|
|
9334
|
+
},
|
|
9335
|
+
{
|
|
9336
|
+
"kind": "Reference",
|
|
9337
|
+
"text": "ChatToolChoice",
|
|
9338
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
9339
|
+
},
|
|
9340
|
+
{
|
|
9341
|
+
"kind": "Content",
|
|
9342
|
+
"text": " | "
|
|
9343
|
+
},
|
|
9344
|
+
{
|
|
9345
|
+
"kind": "Reference",
|
|
9346
|
+
"text": "Promise",
|
|
9347
|
+
"canonicalReference": "!Promise:interface"
|
|
9348
|
+
},
|
|
9349
|
+
{
|
|
9350
|
+
"kind": "Content",
|
|
9351
|
+
"text": "<"
|
|
9352
|
+
},
|
|
9353
|
+
{
|
|
9354
|
+
"kind": "Reference",
|
|
9355
|
+
"text": "ChatToolChoice",
|
|
9356
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
9357
|
+
},
|
|
9358
|
+
{
|
|
9359
|
+
"kind": "Content",
|
|
9360
|
+
"text": ">)"
|
|
9361
|
+
},
|
|
9362
|
+
{
|
|
9363
|
+
"kind": "Content",
|
|
9364
|
+
"text": ";"
|
|
9365
|
+
}
|
|
9366
|
+
],
|
|
9367
|
+
"isReadonly": false,
|
|
9368
|
+
"isOptional": true,
|
|
9369
|
+
"releaseTag": "Beta",
|
|
9370
|
+
"name": "toolChoice",
|
|
9371
|
+
"propertyTypeTokenRange": {
|
|
9372
|
+
"startIndex": 1,
|
|
9373
|
+
"endIndex": 11
|
|
9374
|
+
}
|
|
9375
|
+
},
|
|
9209
9376
|
{
|
|
9210
9377
|
"kind": "PropertySignature",
|
|
9211
9378
|
"canonicalReference": "@genesislcap/ai-assistant!StatefulAgentInit#toolDefinitions:member",
|
|
@@ -9638,6 +9805,117 @@
|
|
|
9638
9805
|
"endIndex": 6
|
|
9639
9806
|
}
|
|
9640
9807
|
},
|
|
9808
|
+
{
|
|
9809
|
+
"kind": "TypeAlias",
|
|
9810
|
+
"canonicalReference": "@genesislcap/ai-assistant!TemperatureInput:type",
|
|
9811
|
+
"docComment": "/**\n * Sampling temperature for an agent, normalized to `0`–`1` (`0` = deterministic, `1` = the most random the active provider allows). Either a static number (resolved once) or a function resolved each tool-loop iteration — pick the function form to vary it by current state (e.g. a lower temperature for a precise extraction step, higher for brainstorming). Each transport translates the normalized value into its own native range. Omit to use the provider/model default. See `ChatRequestOptions.temperature`.\n *\n * @beta\n */\n",
|
|
9812
|
+
"excerptTokens": [
|
|
9813
|
+
{
|
|
9814
|
+
"kind": "Content",
|
|
9815
|
+
"text": "export type TemperatureInput = "
|
|
9816
|
+
},
|
|
9817
|
+
{
|
|
9818
|
+
"kind": "Content",
|
|
9819
|
+
"text": "number | ((ctx: "
|
|
9820
|
+
},
|
|
9821
|
+
{
|
|
9822
|
+
"kind": "Reference",
|
|
9823
|
+
"text": "SystemPromptContext",
|
|
9824
|
+
"canonicalReference": "@genesislcap/ai-assistant!SystemPromptContext:interface"
|
|
9825
|
+
},
|
|
9826
|
+
{
|
|
9827
|
+
"kind": "Content",
|
|
9828
|
+
"text": ") => number | "
|
|
9829
|
+
},
|
|
9830
|
+
{
|
|
9831
|
+
"kind": "Reference",
|
|
9832
|
+
"text": "Promise",
|
|
9833
|
+
"canonicalReference": "!Promise:interface"
|
|
9834
|
+
},
|
|
9835
|
+
{
|
|
9836
|
+
"kind": "Content",
|
|
9837
|
+
"text": "<number>)"
|
|
9838
|
+
},
|
|
9839
|
+
{
|
|
9840
|
+
"kind": "Content",
|
|
9841
|
+
"text": ";"
|
|
9842
|
+
}
|
|
9843
|
+
],
|
|
9844
|
+
"fileUrlPath": "src/config/config.ts",
|
|
9845
|
+
"releaseTag": "Beta",
|
|
9846
|
+
"name": "TemperatureInput",
|
|
9847
|
+
"typeTokenRange": {
|
|
9848
|
+
"startIndex": 1,
|
|
9849
|
+
"endIndex": 6
|
|
9850
|
+
}
|
|
9851
|
+
},
|
|
9852
|
+
{
|
|
9853
|
+
"kind": "TypeAlias",
|
|
9854
|
+
"canonicalReference": "@genesislcap/ai-assistant!ToolChoiceInput:type",
|
|
9855
|
+
"docComment": "/**\n * Tool-call mode for an agent. Either a static `ChatToolChoice` (resolved once) or a function resolved each tool-loop iteration — pick the function form to vary it by current state (e.g. force a classifier tool in an intake step, then `'auto'` everywhere multi-step work happens). Omit to use the default (`'auto'`, except sub-agent turns which force `'required'`).\n *\n * @beta\n */\n",
|
|
9856
|
+
"excerptTokens": [
|
|
9857
|
+
{
|
|
9858
|
+
"kind": "Content",
|
|
9859
|
+
"text": "export type ToolChoiceInput = "
|
|
9860
|
+
},
|
|
9861
|
+
{
|
|
9862
|
+
"kind": "Reference",
|
|
9863
|
+
"text": "ChatToolChoice",
|
|
9864
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
9865
|
+
},
|
|
9866
|
+
{
|
|
9867
|
+
"kind": "Content",
|
|
9868
|
+
"text": " | ((ctx: "
|
|
9869
|
+
},
|
|
9870
|
+
{
|
|
9871
|
+
"kind": "Reference",
|
|
9872
|
+
"text": "SystemPromptContext",
|
|
9873
|
+
"canonicalReference": "@genesislcap/ai-assistant!SystemPromptContext:interface"
|
|
9874
|
+
},
|
|
9875
|
+
{
|
|
9876
|
+
"kind": "Content",
|
|
9877
|
+
"text": ") => "
|
|
9878
|
+
},
|
|
9879
|
+
{
|
|
9880
|
+
"kind": "Reference",
|
|
9881
|
+
"text": "ChatToolChoice",
|
|
9882
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
9883
|
+
},
|
|
9884
|
+
{
|
|
9885
|
+
"kind": "Content",
|
|
9886
|
+
"text": " | "
|
|
9887
|
+
},
|
|
9888
|
+
{
|
|
9889
|
+
"kind": "Reference",
|
|
9890
|
+
"text": "Promise",
|
|
9891
|
+
"canonicalReference": "!Promise:interface"
|
|
9892
|
+
},
|
|
9893
|
+
{
|
|
9894
|
+
"kind": "Content",
|
|
9895
|
+
"text": "<"
|
|
9896
|
+
},
|
|
9897
|
+
{
|
|
9898
|
+
"kind": "Reference",
|
|
9899
|
+
"text": "ChatToolChoice",
|
|
9900
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
9901
|
+
},
|
|
9902
|
+
{
|
|
9903
|
+
"kind": "Content",
|
|
9904
|
+
"text": ">)"
|
|
9905
|
+
},
|
|
9906
|
+
{
|
|
9907
|
+
"kind": "Content",
|
|
9908
|
+
"text": ";"
|
|
9909
|
+
}
|
|
9910
|
+
],
|
|
9911
|
+
"fileUrlPath": "src/config/config.ts",
|
|
9912
|
+
"releaseTag": "Beta",
|
|
9913
|
+
"name": "ToolChoiceInput",
|
|
9914
|
+
"typeTokenRange": {
|
|
9915
|
+
"startIndex": 1,
|
|
9916
|
+
"endIndex": 11
|
|
9917
|
+
}
|
|
9918
|
+
},
|
|
9641
9919
|
{
|
|
9642
9920
|
"kind": "TypeAlias",
|
|
9643
9921
|
"canonicalReference": "@genesislcap/ai-assistant!ToolDefinitionsInput:type",
|
|
@@ -10033,6 +10311,33 @@
|
|
|
10033
10311
|
"endIndex": 2
|
|
10034
10312
|
}
|
|
10035
10313
|
},
|
|
10314
|
+
{
|
|
10315
|
+
"kind": "PropertySignature",
|
|
10316
|
+
"canonicalReference": "@genesislcap/ai-assistant!TurnSnapshot#temperature:member",
|
|
10317
|
+
"docComment": "/**\n * Normalized `0`–`1` sampling temperature in effect for this call, if the agent (or its current state) configured one. Undefined → provider/model default. Mirrors the value resolved from `BaseAgentConfig.temperature`.\n */\n",
|
|
10318
|
+
"excerptTokens": [
|
|
10319
|
+
{
|
|
10320
|
+
"kind": "Content",
|
|
10321
|
+
"text": "temperature?: "
|
|
10322
|
+
},
|
|
10323
|
+
{
|
|
10324
|
+
"kind": "Content",
|
|
10325
|
+
"text": "number"
|
|
10326
|
+
},
|
|
10327
|
+
{
|
|
10328
|
+
"kind": "Content",
|
|
10329
|
+
"text": ";"
|
|
10330
|
+
}
|
|
10331
|
+
],
|
|
10332
|
+
"isReadonly": false,
|
|
10333
|
+
"isOptional": true,
|
|
10334
|
+
"releaseTag": "Beta",
|
|
10335
|
+
"name": "temperature",
|
|
10336
|
+
"propertyTypeTokenRange": {
|
|
10337
|
+
"startIndex": 1,
|
|
10338
|
+
"endIndex": 2
|
|
10339
|
+
}
|
|
10340
|
+
},
|
|
10036
10341
|
{
|
|
10037
10342
|
"kind": "PropertySignature",
|
|
10038
10343
|
"canonicalReference": "@genesislcap/ai-assistant!TurnSnapshot#timestamp:member",
|
|
@@ -10060,6 +10365,34 @@
|
|
|
10060
10365
|
"endIndex": 2
|
|
10061
10366
|
}
|
|
10062
10367
|
},
|
|
10368
|
+
{
|
|
10369
|
+
"kind": "PropertySignature",
|
|
10370
|
+
"canonicalReference": "@genesislcap/ai-assistant!TurnSnapshot#toolChoice:member",
|
|
10371
|
+
"docComment": "/**\n * Tool-call mode actually sent to the provider this call — the effective value, including the sub-agent `'required'` default. Undefined → `'auto'`. Mirrors the value resolved from `BaseAgentConfig.toolChoice`.\n */\n",
|
|
10372
|
+
"excerptTokens": [
|
|
10373
|
+
{
|
|
10374
|
+
"kind": "Content",
|
|
10375
|
+
"text": "toolChoice?: "
|
|
10376
|
+
},
|
|
10377
|
+
{
|
|
10378
|
+
"kind": "Reference",
|
|
10379
|
+
"text": "ChatToolChoice",
|
|
10380
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatToolChoice:type"
|
|
10381
|
+
},
|
|
10382
|
+
{
|
|
10383
|
+
"kind": "Content",
|
|
10384
|
+
"text": ";"
|
|
10385
|
+
}
|
|
10386
|
+
],
|
|
10387
|
+
"isReadonly": false,
|
|
10388
|
+
"isOptional": true,
|
|
10389
|
+
"releaseTag": "Beta",
|
|
10390
|
+
"name": "toolChoice",
|
|
10391
|
+
"propertyTypeTokenRange": {
|
|
10392
|
+
"startIndex": 1,
|
|
10393
|
+
"endIndex": 2
|
|
10394
|
+
}
|
|
10395
|
+
},
|
|
10063
10396
|
{
|
|
10064
10397
|
"kind": "PropertySignature",
|
|
10065
10398
|
"canonicalReference": "@genesislcap/ai-assistant!TurnSnapshot#toolNames:member",
|
package/dist/ai-assistant.d.ts
CHANGED
|
@@ -7,8 +7,10 @@ import type { ChatDriverResult } from '@genesislcap/foundation-ai';
|
|
|
7
7
|
import type { ChatInputDuringExecutionMode } from '@genesislcap/foundation-ai';
|
|
8
8
|
import { ChatInteraction } from '@genesislcap/foundation-ai';
|
|
9
9
|
import type { ChatMessage } from '@genesislcap/foundation-ai';
|
|
10
|
+
import { ChatResponseMeta } from '@genesislcap/foundation-ai';
|
|
10
11
|
import { ChatRole } from '@genesislcap/foundation-ai';
|
|
11
12
|
import { ChatToolCall } from '@genesislcap/foundation-ai';
|
|
13
|
+
import { ChatToolChoice } from '@genesislcap/foundation-ai';
|
|
12
14
|
import { ChatToolDefinition } from '@genesislcap/foundation-ai';
|
|
13
15
|
import type { ChatToolHandlers } from '@genesislcap/foundation-ai';
|
|
14
16
|
import { ChatToolResult } from '@genesislcap/foundation-ai';
|
|
@@ -510,6 +512,27 @@ declare interface BaseAgentConfig {
|
|
|
510
512
|
* @beta
|
|
511
513
|
*/
|
|
512
514
|
provider?: ProviderInput;
|
|
515
|
+
/**
|
|
516
|
+
* Sampling temperature for this agent, normalized to `0`–`1`. Either a static
|
|
517
|
+
* number or a function resolved each tool-loop iteration — pick the function
|
|
518
|
+
* form to vary it by current state. Omit to use the provider/model default.
|
|
519
|
+
* Resolved and applied the same way as {@link BaseAgentConfig.provider}.
|
|
520
|
+
* See {@link TemperatureInput}.
|
|
521
|
+
*
|
|
522
|
+
* @beta
|
|
523
|
+
*/
|
|
524
|
+
temperature?: TemperatureInput;
|
|
525
|
+
/**
|
|
526
|
+
* Tool-call mode for this agent — whether the model may, must, or must not
|
|
527
|
+
* call a tool this turn (and optionally which one). Either a static value or
|
|
528
|
+
* a function resolved each tool-loop iteration — pick the function form to
|
|
529
|
+
* vary it by current state (e.g. force a single tool at a known juncture).
|
|
530
|
+
* Omit to use the default (`'auto'`, except sub-agent turns which force
|
|
531
|
+
* `'required'`). See {@link ToolChoiceInput}.
|
|
532
|
+
*
|
|
533
|
+
* @beta
|
|
534
|
+
*/
|
|
535
|
+
toolChoice?: ToolChoiceInput;
|
|
513
536
|
/**
|
|
514
537
|
* Optional primer history prepended to every call (not visible to the user).
|
|
515
538
|
* Used to establish agent identity and behavioural rules.
|
|
@@ -734,6 +757,17 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
734
757
|
* `undefined` means "use the registry default".
|
|
735
758
|
*/
|
|
736
759
|
private activeProviderInput?;
|
|
760
|
+
/**
|
|
761
|
+
* Active agent's temperature selector (static number or per-turn resolver),
|
|
762
|
+
* normalized to `0`–`1`. `undefined` means "use the provider/model default".
|
|
763
|
+
*/
|
|
764
|
+
private activeTemperatureInput?;
|
|
765
|
+
/**
|
|
766
|
+
* Active agent's tool-call mode selector (static value or per-turn resolver).
|
|
767
|
+
* `undefined` falls back to the per-turn default (sub-agents force a tool
|
|
768
|
+
* call; top-level turns are `'auto'`).
|
|
769
|
+
*/
|
|
770
|
+
private activeToolChoiceInput?;
|
|
737
771
|
/**
|
|
738
772
|
* Caches validated provider lookups per name within the current agent. Cleared
|
|
739
773
|
* by `applyAgent` so each new agent's static/function-resolved names are
|
|
@@ -798,6 +832,12 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
798
832
|
* differs from the last dispatched value.
|
|
799
833
|
*/
|
|
800
834
|
private resolveProviderForTurn;
|
|
835
|
+
/**
|
|
836
|
+
* Resolve a per-turn config input that is either a static value or a function
|
|
837
|
+
* of the turn context — the value-or-resolver shape shared by `provider`,
|
|
838
|
+
* `temperature`, and `toolChoice`. Returns undefined when the input is unset.
|
|
839
|
+
*/
|
|
840
|
+
private resolveTurnInput;
|
|
801
841
|
/**
|
|
802
842
|
* Returns the early-stop result set by `completeSubAgent`, if any.
|
|
803
843
|
* Called by a parent `ChatDriver` after running this instance as a sub-agent.
|
|
@@ -972,6 +1012,8 @@ export declare type ChatHistoryUpdatedEvent = CustomEvent<ReadonlyArray<ChatMess
|
|
|
972
1012
|
|
|
973
1013
|
export { ChatInputDuringExecutionMode }
|
|
974
1014
|
|
|
1015
|
+
export { ChatToolChoice }
|
|
1016
|
+
|
|
975
1017
|
/**
|
|
976
1018
|
* Creates a tool fold — a facade that hides a group of related tools behind a single
|
|
977
1019
|
* named entry, revealing them progressively when the model invokes the facade.
|
|
@@ -1475,6 +1517,8 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
1475
1517
|
timestamp: string;
|
|
1476
1518
|
agentName?: string;
|
|
1477
1519
|
toolNames: string[];
|
|
1520
|
+
temperature?: number;
|
|
1521
|
+
toolChoice?: ChatToolChoice;
|
|
1478
1522
|
agentLabel?: string;
|
|
1479
1523
|
agentSnapshot?: unknown;
|
|
1480
1524
|
kind: "turn";
|
|
@@ -1492,6 +1536,7 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
1492
1536
|
inputTokens?: number;
|
|
1493
1537
|
outputTokens?: number;
|
|
1494
1538
|
cost?: number;
|
|
1539
|
+
responseMeta?: ChatResponseMeta;
|
|
1495
1540
|
kind: "message";
|
|
1496
1541
|
} | {
|
|
1497
1542
|
index: number;
|
|
@@ -1517,6 +1562,8 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
1517
1562
|
displayName?: SystemPromptInput;
|
|
1518
1563
|
systemPrompt?: SystemPromptInput;
|
|
1519
1564
|
provider?: ProviderInput;
|
|
1565
|
+
temperature?: TemperatureInput;
|
|
1566
|
+
toolChoice?: ToolChoiceInput;
|
|
1520
1567
|
primerHistory?: ChatMessage[];
|
|
1521
1568
|
subAgents?: AgentConfig[];
|
|
1522
1569
|
chatInputDuringExecution?: ChatInputDuringExecutionMode;
|
|
@@ -1533,6 +1580,8 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
1533
1580
|
displayName?: SystemPromptInput;
|
|
1534
1581
|
systemPrompt?: SystemPromptInput;
|
|
1535
1582
|
provider?: ProviderInput;
|
|
1583
|
+
temperature?: TemperatureInput;
|
|
1584
|
+
toolChoice?: ToolChoiceInput;
|
|
1536
1585
|
primerHistory?: ChatMessage[];
|
|
1537
1586
|
subAgents?: AgentConfig[];
|
|
1538
1587
|
chatInputDuringExecution?: ChatInputDuringExecutionMode;
|
|
@@ -2020,6 +2069,21 @@ export declare interface StatefulAgentInit<S> {
|
|
|
2020
2069
|
* Omit to use the registry's default provider. Unknown names hard-error.
|
|
2021
2070
|
*/
|
|
2022
2071
|
provider?: string | ((ctx: StatefulAgentContext<S>) => string | Promise<string>);
|
|
2072
|
+
/**
|
|
2073
|
+
* Sampling temperature, normalized to `0`–`1`. Either a static number or a
|
|
2074
|
+
* function resolved each tool-loop iteration with the current `state` — pick
|
|
2075
|
+
* the function form to vary it per machine state (e.g. low for a precise
|
|
2076
|
+
* extraction step, higher for free-form drafting). Omit for the default.
|
|
2077
|
+
*/
|
|
2078
|
+
temperature?: number | ((ctx: StatefulAgentContext<S>) => number | Promise<number>);
|
|
2079
|
+
/**
|
|
2080
|
+
* Tool-call mode. Either a static `ChatToolChoice` or a function
|
|
2081
|
+
* resolved each tool-loop iteration with the current `state` — pick the
|
|
2082
|
+
* function form to force a specific tool in one state (e.g. a classifier in
|
|
2083
|
+
* intake) and leave `'auto'` in states where multi-step work happens. Omit
|
|
2084
|
+
* for the default.
|
|
2085
|
+
*/
|
|
2086
|
+
toolChoice?: ChatToolChoice | ((ctx: StatefulAgentContext<S>) => ChatToolChoice | Promise<ChatToolChoice>);
|
|
2023
2087
|
/**
|
|
2024
2088
|
* Optional getter for the debug-log snapshot. Defaults to auto-snapshotting
|
|
2025
2089
|
* any property on `state` that looks like a foundation-state-machine
|
|
@@ -2098,6 +2162,19 @@ export declare interface SystemPromptContext {
|
|
|
2098
2162
|
*/
|
|
2099
2163
|
export declare type SystemPromptInput = string | ((ctx: SystemPromptContext) => string | Promise<string>);
|
|
2100
2164
|
|
|
2165
|
+
/**
|
|
2166
|
+
* Sampling temperature for an agent, normalized to `0`–`1` (`0` = deterministic,
|
|
2167
|
+
* `1` = the most random the active provider allows). Either a static number
|
|
2168
|
+
* (resolved once) or a function resolved each tool-loop iteration — pick the
|
|
2169
|
+
* function form to vary it by current state (e.g. a lower temperature for a
|
|
2170
|
+
* precise extraction step, higher for brainstorming). Each transport translates
|
|
2171
|
+
* the normalized value into its own native range. Omit to use the
|
|
2172
|
+
* provider/model default. See `ChatRequestOptions.temperature`.
|
|
2173
|
+
*
|
|
2174
|
+
* @beta
|
|
2175
|
+
*/
|
|
2176
|
+
export declare type TemperatureInput = number | ((ctx: SystemPromptContext) => number | Promise<number>);
|
|
2177
|
+
|
|
2101
2178
|
/**
|
|
2102
2179
|
* Symbol used to attach ToolFold metadata to a facade handler function.
|
|
2103
2180
|
* The ChatDriver inspects this to detect fold facades at runtime.
|
|
@@ -2106,6 +2183,17 @@ export declare type SystemPromptInput = string | ((ctx: SystemPromptContext) =>
|
|
|
2106
2183
|
*/
|
|
2107
2184
|
export declare const TOOL_FOLD_SYMBOL: unique symbol;
|
|
2108
2185
|
|
|
2186
|
+
/**
|
|
2187
|
+
* Tool-call mode for an agent. Either a static `ChatToolChoice` (resolved
|
|
2188
|
+
* once) or a function resolved each tool-loop iteration — pick the function form
|
|
2189
|
+
* to vary it by current state (e.g. force a classifier tool in an intake step,
|
|
2190
|
+
* then `'auto'` everywhere multi-step work happens). Omit to use the default
|
|
2191
|
+
* (`'auto'`, except sub-agent turns which force `'required'`).
|
|
2192
|
+
*
|
|
2193
|
+
* @beta
|
|
2194
|
+
*/
|
|
2195
|
+
export declare type ToolChoiceInput = ChatToolChoice | ((ctx: SystemPromptContext) => ChatToolChoice | Promise<ChatToolChoice>);
|
|
2196
|
+
|
|
2109
2197
|
/**
|
|
2110
2198
|
* Tool definitions for an agent. Either a static array (the conventional shape) or
|
|
2111
2199
|
* a function resolved each tool-loop iteration. The function form lets the agent
|
|
@@ -2211,6 +2299,18 @@ export declare interface TurnSnapshot {
|
|
|
2211
2299
|
systemPrompt?: string;
|
|
2212
2300
|
/** Tool names sent to the LLM, in order — definitions are static per name so names alone suffice. */
|
|
2213
2301
|
toolNames: string[];
|
|
2302
|
+
/**
|
|
2303
|
+
* Normalized `0`–`1` sampling temperature in effect for this call, if the
|
|
2304
|
+
* agent (or its current state) configured one. Undefined → provider/model
|
|
2305
|
+
* default. Mirrors the value resolved from `BaseAgentConfig.temperature`.
|
|
2306
|
+
*/
|
|
2307
|
+
temperature?: number;
|
|
2308
|
+
/**
|
|
2309
|
+
* Tool-call mode actually sent to the provider this call — the effective
|
|
2310
|
+
* value, including the sub-agent `'required'` default. Undefined → `'auto'`.
|
|
2311
|
+
* Mirrors the value resolved from `BaseAgentConfig.toolChoice`.
|
|
2312
|
+
*/
|
|
2313
|
+
toolChoice?: ChatToolChoice;
|
|
2214
2314
|
/**
|
|
2215
2315
|
* Per-turn display label resolved from the agent's `displayName`, e.g.
|
|
2216
2316
|
* "Guided Booking (Counterparties)". `agentName` stays as the canonical
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AIProviderRegistry, ChatAttachment, ChatDriverResult, ChatMessage, InteractionRequestOptions, SubAgentFailureReason } from '@genesislcap/foundation-ai';
|
|
1
|
+
import type { AIProviderRegistry, ChatAttachment, ChatDriverResult, ChatMessage, ChatToolChoice, InteractionRequestOptions, SubAgentFailureReason } from '@genesislcap/foundation-ai';
|
|
2
2
|
import type { AgentConfig, SystemPromptInput, ToolDefinitionsInput, ToolHandlersInput } from '../../config/config';
|
|
3
3
|
import type { AiDriver, AllAgentSummary } from '../ai-driver/ai-driver';
|
|
4
4
|
/** Name reserved for the cross-agent handoff tool — injected by OrchestratingDriver. */
|
|
@@ -37,6 +37,18 @@ export interface TurnSnapshot {
|
|
|
37
37
|
systemPrompt?: string;
|
|
38
38
|
/** Tool names sent to the LLM, in order — definitions are static per name so names alone suffice. */
|
|
39
39
|
toolNames: string[];
|
|
40
|
+
/**
|
|
41
|
+
* Normalized `0`–`1` sampling temperature in effect for this call, if the
|
|
42
|
+
* agent (or its current state) configured one. Undefined → provider/model
|
|
43
|
+
* default. Mirrors the value resolved from `BaseAgentConfig.temperature`.
|
|
44
|
+
*/
|
|
45
|
+
temperature?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Tool-call mode actually sent to the provider this call — the effective
|
|
48
|
+
* value, including the sub-agent `'required'` default. Undefined → `'auto'`.
|
|
49
|
+
* Mirrors the value resolved from `BaseAgentConfig.toolChoice`.
|
|
50
|
+
*/
|
|
51
|
+
toolChoice?: ChatToolChoice;
|
|
40
52
|
/**
|
|
41
53
|
* Per-turn display label resolved from the agent's `displayName`, e.g.
|
|
42
54
|
* "Guided Booking (Counterparties)". `agentName` stays as the canonical
|
|
@@ -214,6 +226,17 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
214
226
|
* `undefined` means "use the registry default".
|
|
215
227
|
*/
|
|
216
228
|
private activeProviderInput?;
|
|
229
|
+
/**
|
|
230
|
+
* Active agent's temperature selector (static number or per-turn resolver),
|
|
231
|
+
* normalized to `0`–`1`. `undefined` means "use the provider/model default".
|
|
232
|
+
*/
|
|
233
|
+
private activeTemperatureInput?;
|
|
234
|
+
/**
|
|
235
|
+
* Active agent's tool-call mode selector (static value or per-turn resolver).
|
|
236
|
+
* `undefined` falls back to the per-turn default (sub-agents force a tool
|
|
237
|
+
* call; top-level turns are `'auto'`).
|
|
238
|
+
*/
|
|
239
|
+
private activeToolChoiceInput?;
|
|
217
240
|
/**
|
|
218
241
|
* Caches validated provider lookups per name within the current agent. Cleared
|
|
219
242
|
* by `applyAgent` so each new agent's static/function-resolved names are
|
|
@@ -278,6 +301,12 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
278
301
|
* differs from the last dispatched value.
|
|
279
302
|
*/
|
|
280
303
|
private resolveProviderForTurn;
|
|
304
|
+
/**
|
|
305
|
+
* Resolve a per-turn config input that is either a static value or a function
|
|
306
|
+
* of the turn context — the value-or-resolver shape shared by `provider`,
|
|
307
|
+
* `temperature`, and `toolChoice`. Returns undefined when the input is unset.
|
|
308
|
+
*/
|
|
309
|
+
private resolveTurnInput;
|
|
281
310
|
/**
|
|
282
311
|
* Returns the early-stop result set by `completeSubAgent`, if any.
|
|
283
312
|
* Called by a parent `ChatDriver` after running this instance as a sub-agent.
|
|
@@ -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,EACd,gBAAgB,EAChB,WAAW,
|
|
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,EACd,gBAAgB,EAChB,WAAW,EAGX,cAAc,EAGd,yBAAyB,EACzB,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EACV,WAAW,EAGX,iBAAiB,EAGjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AA6BxE,wFAAwF;AACxF,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAMhE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;AAE9E;;;;;;;;;GASG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;OAOG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qGAAqG;IACrG,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gGAAgG;IAChG,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAQD;;;;;;;;;GASG;AACH,qBAAa,UAAW,SAAQ,WAAY,YAAW,QAAQ;IAuM3D,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAKjC,OAAO,C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