@genesislcap/ai-assistant 15.64.0 → 15.64.1-alpha-ddbd4ead05.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +375 -375
- package/package.json +17 -17
|
@@ -14282,209 +14282,129 @@
|
|
|
14282
14282
|
},
|
|
14283
14283
|
{
|
|
14284
14284
|
"kind": "javascript-module",
|
|
14285
|
-
"path": "src/components/agent-
|
|
14286
|
-
"declarations": [
|
|
14287
|
-
{
|
|
14288
|
-
"kind": "variable",
|
|
14289
|
-
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14290
|
-
"type": {
|
|
14291
|
-
"text": "string"
|
|
14292
|
-
},
|
|
14293
|
-
"default": "'__auto__'",
|
|
14294
|
-
"description": "Sentinel value representing \"Auto\" where a menu row needs a string value."
|
|
14295
|
-
},
|
|
14296
|
-
{
|
|
14297
|
-
"kind": "variable",
|
|
14298
|
-
"name": "DEFAULT_ORCHESTRATION_LABEL",
|
|
14299
|
-
"type": {
|
|
14300
|
-
"text": "string"
|
|
14301
|
-
},
|
|
14302
|
-
"default": "'Orchestration'",
|
|
14303
|
-
"description": "The picker's default name for orchestration: the assistant routes each message to the agent it\nsuits, as opposed to a pinned agent. Not \"Auto\", which other tools use for picking a model tier;\n\"Orchestration\" says that several agents stand behind it."
|
|
14304
|
-
},
|
|
14305
|
-
{
|
|
14306
|
-
"kind": "variable",
|
|
14307
|
-
"name": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14308
|
-
"type": {
|
|
14309
|
-
"text": "string"
|
|
14310
|
-
},
|
|
14311
|
-
"default": "'Orchestration'",
|
|
14312
|
-
"description": "The same choice as the picker menu's first row. The same word by default; separate so a host can say more there."
|
|
14313
|
-
},
|
|
14314
|
-
{
|
|
14315
|
-
"kind": "variable",
|
|
14316
|
-
"name": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14317
|
-
"type": {
|
|
14318
|
-
"text": "string"
|
|
14319
|
-
},
|
|
14320
|
-
"default": "'Each message goes to the specialist it suits.'",
|
|
14321
|
-
"description": "What orchestration does, as the menu row's hint and the pill's tooltip."
|
|
14322
|
-
}
|
|
14323
|
-
],
|
|
14324
|
-
"exports": [
|
|
14325
|
-
{
|
|
14326
|
-
"kind": "js",
|
|
14327
|
-
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14328
|
-
"declaration": {
|
|
14329
|
-
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14330
|
-
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14331
|
-
}
|
|
14332
|
-
},
|
|
14333
|
-
{
|
|
14334
|
-
"kind": "js",
|
|
14335
|
-
"name": "DEFAULT_ORCHESTRATION_LABEL",
|
|
14336
|
-
"declaration": {
|
|
14337
|
-
"name": "DEFAULT_ORCHESTRATION_LABEL",
|
|
14338
|
-
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14339
|
-
}
|
|
14340
|
-
},
|
|
14341
|
-
{
|
|
14342
|
-
"kind": "js",
|
|
14343
|
-
"name": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14344
|
-
"declaration": {
|
|
14345
|
-
"name": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14346
|
-
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14347
|
-
}
|
|
14348
|
-
},
|
|
14349
|
-
{
|
|
14350
|
-
"kind": "js",
|
|
14351
|
-
"name": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14352
|
-
"declaration": {
|
|
14353
|
-
"name": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14354
|
-
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14355
|
-
}
|
|
14356
|
-
}
|
|
14357
|
-
]
|
|
14358
|
-
},
|
|
14359
|
-
{
|
|
14360
|
-
"kind": "javascript-module",
|
|
14361
|
-
"path": "src/components/agent-picker/agent-picker.styles.ts",
|
|
14362
|
-
"declarations": [
|
|
14363
|
-
{
|
|
14364
|
-
"kind": "variable",
|
|
14365
|
-
"name": "styles",
|
|
14366
|
-
"default": "css`\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n /* The picker owns the ROWS only. The panel around them — surface, border,\n shadow, position, open/close animation — is the assistant's, so the agent\n menu and the session menu are the same object with different contents.\n See the composer-menu rules in main.styles.ts. */\n .menu {\n display: flex;\n flex-direction: column;\n gap: 1px;\n }\n\n ${menuItemStyles}\n`"
|
|
14367
|
-
}
|
|
14368
|
-
],
|
|
14369
|
-
"exports": [
|
|
14370
|
-
{
|
|
14371
|
-
"kind": "js",
|
|
14372
|
-
"name": "styles",
|
|
14373
|
-
"declaration": {
|
|
14374
|
-
"name": "styles",
|
|
14375
|
-
"module": "src/components/agent-picker/agent-picker.styles.ts"
|
|
14376
|
-
}
|
|
14377
|
-
}
|
|
14378
|
-
]
|
|
14379
|
-
},
|
|
14380
|
-
{
|
|
14381
|
-
"kind": "javascript-module",
|
|
14382
|
-
"path": "src/components/agent-picker/agent-picker.template.ts",
|
|
14383
|
-
"declarations": [],
|
|
14384
|
-
"exports": []
|
|
14385
|
-
},
|
|
14386
|
-
{
|
|
14387
|
-
"kind": "javascript-module",
|
|
14388
|
-
"path": "src/components/agent-picker/agent-picker.ts",
|
|
14285
|
+
"path": "src/components/agent-session/agent-session.ts",
|
|
14389
14286
|
"declarations": [
|
|
14390
14287
|
{
|
|
14391
14288
|
"kind": "class",
|
|
14392
|
-
"description": "The agent
|
|
14393
|
-
"name": "
|
|
14289
|
+
"description": "The stateful-agent contract: which agent is active, whether a flow or a user pin holds routing,\nand the `onActivate` / `onDeactivate` lifecycle around a swap. Either driver can own one.\n\nKnows nothing about routing, tool surfaces or transcripts — whether an agent is terminal, the\ncontinuation tool, the handoff marker in history all stay with the orchestrator, which is the\nonly thing with agents to route between.",
|
|
14290
|
+
"name": "AgentSession",
|
|
14394
14291
|
"members": [
|
|
14395
14292
|
{
|
|
14396
14293
|
"kind": "field",
|
|
14397
|
-
"name": "
|
|
14398
|
-
"
|
|
14399
|
-
|
|
14400
|
-
|
|
14401
|
-
"
|
|
14402
|
-
"description": "Picker variant, sourced from the assistant's `chatConfig.picker.mode`.\n`'disabled'` hides the picker; every other value renders the same menu —\n`'select'` and `'segmented-control'` are retained so existing configuration\nstays valid, but no longer select between two layouts."
|
|
14294
|
+
"name": "lifecycleAbortController",
|
|
14295
|
+
"privacy": "private",
|
|
14296
|
+
"readonly": true,
|
|
14297
|
+
"default": "new AbortController()",
|
|
14298
|
+
"description": "Aborted on disposal. Threaded into `AgentLifecycleContext.signal` so long-running\n`onActivate` work can bail if the session disconnects."
|
|
14403
14299
|
},
|
|
14404
14300
|
{
|
|
14405
14301
|
"kind": "field",
|
|
14406
|
-
"name": "
|
|
14302
|
+
"name": "active",
|
|
14407
14303
|
"type": {
|
|
14408
|
-
"text": "AgentConfig
|
|
14304
|
+
"text": "AgentConfig | undefined"
|
|
14409
14305
|
},
|
|
14410
|
-
"
|
|
14411
|
-
"description": "Top-level agents passed to the assistant."
|
|
14306
|
+
"privacy": "private"
|
|
14412
14307
|
},
|
|
14413
14308
|
{
|
|
14414
14309
|
"kind": "field",
|
|
14415
|
-
"name": "
|
|
14310
|
+
"name": "pinned",
|
|
14416
14311
|
"type": {
|
|
14417
14312
|
"text": "string | null"
|
|
14418
14313
|
},
|
|
14314
|
+
"privacy": "private",
|
|
14419
14315
|
"default": "null",
|
|
14420
|
-
"description": "
|
|
14316
|
+
"description": "Sticky user pick from the picker (or the host's `setAgent` API). Only changes on explicit\nuser action. Survives flow completion: when a stateful agent releases, the user-pin stays put\nand routing falls back to it on the next turn."
|
|
14421
14317
|
},
|
|
14422
14318
|
{
|
|
14423
14319
|
"kind": "field",
|
|
14424
|
-
"name": "
|
|
14320
|
+
"name": "flowOwner",
|
|
14425
14321
|
"type": {
|
|
14426
|
-
"text": "
|
|
14322
|
+
"text": "string | null"
|
|
14427
14323
|
},
|
|
14428
|
-
"
|
|
14429
|
-
"
|
|
14324
|
+
"privacy": "private",
|
|
14325
|
+
"default": "null",
|
|
14326
|
+
"description": "Transient flow lock — set when a stateful agent activates, cleared on release. While\nnon-null, routing precedence goes to this agent and the picker is locked. Independent of\nthe user pin so completing a flow doesn't wipe the user's sticky choice."
|
|
14430
14327
|
},
|
|
14431
14328
|
{
|
|
14432
14329
|
"kind": "field",
|
|
14433
|
-
"name": "
|
|
14330
|
+
"name": "restoredStates",
|
|
14434
14331
|
"type": {
|
|
14435
|
-
"text": "string"
|
|
14332
|
+
"text": "Record<string, unknown>"
|
|
14436
14333
|
},
|
|
14437
|
-
"
|
|
14438
|
-
"
|
|
14334
|
+
"privacy": "private",
|
|
14335
|
+
"default": "{}",
|
|
14336
|
+
"description": "Per-agent restored state for a rehydrated session, keyed by agent name. Primed by the host on\nrestore; each entry is passed to that agent's `onActivate` as `ctx.restored` on its next\nactivation, then deleted so a later re-activation starts fresh."
|
|
14439
14337
|
},
|
|
14440
14338
|
{
|
|
14441
14339
|
"kind": "field",
|
|
14442
|
-
"name": "
|
|
14340
|
+
"name": "activation",
|
|
14443
14341
|
"type": {
|
|
14444
|
-
"text": "
|
|
14342
|
+
"text": "Promise<unknown>"
|
|
14445
14343
|
},
|
|
14446
|
-
"
|
|
14447
|
-
"description": "The
|
|
14344
|
+
"privacy": "private",
|
|
14345
|
+
"description": "The tail of the activation queue — see AgentSession.activate."
|
|
14448
14346
|
},
|
|
14449
14347
|
{
|
|
14450
|
-
"kind": "
|
|
14451
|
-
"name": "
|
|
14452
|
-
"
|
|
14453
|
-
"
|
|
14348
|
+
"kind": "method",
|
|
14349
|
+
"name": "getActive",
|
|
14350
|
+
"return": {
|
|
14351
|
+
"type": {
|
|
14352
|
+
"text": "AgentConfig | undefined"
|
|
14353
|
+
}
|
|
14454
14354
|
},
|
|
14455
|
-
"description": "
|
|
14456
|
-
"readonly": true
|
|
14355
|
+
"description": "The active agent, or `undefined` before the first activation and after a release."
|
|
14457
14356
|
},
|
|
14458
14357
|
{
|
|
14459
|
-
"kind": "
|
|
14460
|
-
"name": "
|
|
14461
|
-
"
|
|
14462
|
-
"
|
|
14358
|
+
"kind": "method",
|
|
14359
|
+
"name": "getPinned",
|
|
14360
|
+
"return": {
|
|
14361
|
+
"type": {
|
|
14362
|
+
"text": "string | null"
|
|
14363
|
+
}
|
|
14463
14364
|
},
|
|
14464
|
-
"description": "
|
|
14465
|
-
"readonly": true
|
|
14365
|
+
"description": "The sticky user pin, or `null` for automatic routing."
|
|
14466
14366
|
},
|
|
14467
14367
|
{
|
|
14468
14368
|
"kind": "method",
|
|
14469
|
-
"name": "
|
|
14369
|
+
"name": "getFlowOwner",
|
|
14470
14370
|
"return": {
|
|
14471
14371
|
"type": {
|
|
14472
|
-
"text": "string"
|
|
14372
|
+
"text": "string | null"
|
|
14373
|
+
}
|
|
14374
|
+
},
|
|
14375
|
+
"description": "The transient flow lock, or `null` when no flow holds routing."
|
|
14376
|
+
},
|
|
14377
|
+
{
|
|
14378
|
+
"kind": "method",
|
|
14379
|
+
"name": "getLockedName",
|
|
14380
|
+
"return": {
|
|
14381
|
+
"type": {
|
|
14382
|
+
"text": "string | null"
|
|
14383
|
+
}
|
|
14384
|
+
},
|
|
14385
|
+
"description": "The name routing is locked to, flow lock first. A flow in progress outranks the user's\nsticky pick for the duration of the flow; neither being set means automatic routing."
|
|
14386
|
+
},
|
|
14387
|
+
{
|
|
14388
|
+
"kind": "method",
|
|
14389
|
+
"name": "setPinned",
|
|
14390
|
+
"return": {
|
|
14391
|
+
"type": {
|
|
14392
|
+
"text": "void"
|
|
14473
14393
|
}
|
|
14474
14394
|
},
|
|
14475
14395
|
"parameters": [
|
|
14476
14396
|
{
|
|
14477
|
-
"name": "
|
|
14397
|
+
"name": "name",
|
|
14478
14398
|
"type": {
|
|
14479
|
-
"text": "
|
|
14399
|
+
"text": "string | null"
|
|
14480
14400
|
}
|
|
14481
14401
|
}
|
|
14482
14402
|
],
|
|
14483
|
-
"description": "
|
|
14403
|
+
"description": "Set the sticky user pin. `null` returns to automatic routing."
|
|
14484
14404
|
},
|
|
14485
14405
|
{
|
|
14486
14406
|
"kind": "method",
|
|
14487
|
-
"name": "
|
|
14407
|
+
"name": "setFlowOwner",
|
|
14488
14408
|
"return": {
|
|
14489
14409
|
"type": {
|
|
14490
14410
|
"text": "void"
|
|
@@ -14497,11 +14417,12 @@
|
|
|
14497
14417
|
"text": "string | null"
|
|
14498
14418
|
}
|
|
14499
14419
|
}
|
|
14500
|
-
]
|
|
14420
|
+
],
|
|
14421
|
+
"description": "Set the flow-owner lock directly — used to restore state on driver reconstruction\n(agents-array changes, pop-in/pop-out), not to steer routing. Writes without firing hooks or\nreporting a transition, because the flow it names is already running."
|
|
14501
14422
|
},
|
|
14502
14423
|
{
|
|
14503
14424
|
"kind": "method",
|
|
14504
|
-
"name": "
|
|
14425
|
+
"name": "primeRestoredStates",
|
|
14505
14426
|
"return": {
|
|
14506
14427
|
"type": {
|
|
14507
14428
|
"text": "void"
|
|
@@ -14509,36 +14430,200 @@
|
|
|
14509
14430
|
},
|
|
14510
14431
|
"parameters": [
|
|
14511
14432
|
{
|
|
14512
|
-
"name": "
|
|
14433
|
+
"name": "snapshots",
|
|
14434
|
+
"type": {
|
|
14435
|
+
"text": "Record<string, unknown>"
|
|
14436
|
+
}
|
|
14437
|
+
}
|
|
14438
|
+
],
|
|
14439
|
+
"description": "Prime per-agent restored state for a rehydrated session. Replaces any pending entries."
|
|
14440
|
+
},
|
|
14441
|
+
{
|
|
14442
|
+
"kind": "method",
|
|
14443
|
+
"name": "hasRestoredState",
|
|
14444
|
+
"return": {
|
|
14445
|
+
"type": {
|
|
14446
|
+
"text": "boolean"
|
|
14447
|
+
}
|
|
14448
|
+
},
|
|
14449
|
+
"parameters": [
|
|
14450
|
+
{
|
|
14451
|
+
"name": "agentName",
|
|
14513
14452
|
"type": {
|
|
14514
14453
|
"text": "string"
|
|
14515
14454
|
}
|
|
14516
14455
|
}
|
|
14517
14456
|
],
|
|
14518
|
-
"description": "
|
|
14457
|
+
"description": "Whether a restored snapshot is waiting for this agent's next activation."
|
|
14519
14458
|
},
|
|
14520
14459
|
{
|
|
14521
|
-
"kind": "
|
|
14522
|
-
"name": "
|
|
14523
|
-
"
|
|
14524
|
-
"
|
|
14460
|
+
"kind": "method",
|
|
14461
|
+
"name": "activate",
|
|
14462
|
+
"return": {
|
|
14463
|
+
"type": {
|
|
14464
|
+
"text": "Promise<AgentTransition>"
|
|
14465
|
+
}
|
|
14525
14466
|
},
|
|
14526
|
-
"
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14467
|
+
"parameters": [
|
|
14468
|
+
{
|
|
14469
|
+
"name": "agent",
|
|
14470
|
+
"type": {
|
|
14471
|
+
"text": "AgentConfig"
|
|
14472
|
+
}
|
|
14473
|
+
}
|
|
14474
|
+
],
|
|
14475
|
+
"description": "Make `agent` active, firing the lifecycle hooks around the swap: outgoing `onDeactivate`\nfirst, then incoming `onActivate`. Both are awaited so heavy activation work (a machine\nrestore, say) completes before the agent's first turn runs, and a throw from either is logged\nrather than propagated — an agent whose hook fails still activates.\n\nRe-activating the same agent by name is not a switch: no hooks fire, no lock moves, and no\nhandoff is recorded. That guard matters because a per-turn re-resolve calls through here.\n\nSingle-flight (GENC-1662): calls run one after another, never interleaved. `active` is only\nset once the hooks have finished, so two overlapping calls for the same agent would otherwise\nboth see a switch and run `onActivate` twice — and a restored `init` would be overwritten by a\nfresh one that finished later. That overlap became possible when a restore started activating\nthe flow owner outside a turn, where a send can land mid-activation."
|
|
14476
|
+
},
|
|
14531
14477
|
{
|
|
14532
|
-
"
|
|
14533
|
-
"name": "
|
|
14478
|
+
"kind": "method",
|
|
14479
|
+
"name": "activateNow",
|
|
14480
|
+
"privacy": "private",
|
|
14481
|
+
"return": {
|
|
14482
|
+
"type": {
|
|
14483
|
+
"text": "Promise<AgentTransition>"
|
|
14484
|
+
}
|
|
14485
|
+
},
|
|
14486
|
+
"parameters": [
|
|
14487
|
+
{
|
|
14488
|
+
"name": "agent",
|
|
14489
|
+
"type": {
|
|
14490
|
+
"text": "AgentConfig"
|
|
14491
|
+
}
|
|
14492
|
+
}
|
|
14493
|
+
]
|
|
14494
|
+
},
|
|
14495
|
+
{
|
|
14496
|
+
"kind": "method",
|
|
14497
|
+
"name": "release",
|
|
14498
|
+
"return": {
|
|
14499
|
+
"type": {
|
|
14500
|
+
"text": "Promise<AgentTransition | undefined>"
|
|
14501
|
+
}
|
|
14502
|
+
},
|
|
14503
|
+
"description": "Release the active agent: fire `onDeactivate` and drop the flow lock.\n\nThe user pin is intentionally **not** cleared — someone who explicitly picked this agent\nshould stay on it after the flow ends, so the next message starts a fresh flow on the same\nagent rather than routing through the classifier.\n\nReturns `undefined` when there was no active agent, so a caller can skip its events."
|
|
14504
|
+
},
|
|
14505
|
+
{
|
|
14506
|
+
"kind": "method",
|
|
14507
|
+
"name": "reportTransition",
|
|
14508
|
+
"privacy": "private",
|
|
14509
|
+
"return": {
|
|
14510
|
+
"type": {
|
|
14511
|
+
"text": "void"
|
|
14512
|
+
}
|
|
14513
|
+
},
|
|
14514
|
+
"parameters": [
|
|
14515
|
+
{
|
|
14516
|
+
"name": "transition",
|
|
14517
|
+
"type": {
|
|
14518
|
+
"text": "AgentTransition"
|
|
14519
|
+
}
|
|
14520
|
+
}
|
|
14521
|
+
],
|
|
14522
|
+
"description": "Hand a transition to the owner. A throwing listener is logged rather than propagated, for the\nsame reason a throwing hook is: the transition has already happened, and failing the caller\nwould leave it believing it had not."
|
|
14523
|
+
},
|
|
14524
|
+
{
|
|
14525
|
+
"kind": "method",
|
|
14526
|
+
"name": "dispose",
|
|
14527
|
+
"return": {
|
|
14528
|
+
"type": {
|
|
14529
|
+
"text": "Promise<void>"
|
|
14530
|
+
}
|
|
14531
|
+
},
|
|
14532
|
+
"description": "Fire `onDeactivate` on the active agent and abort pending lifecycle work, for session\nteardown, so machines release resources cleanly. The session is not reusable afterwards: the\nabort signal stays aborted, so a later `activate` would hand its hook a dead signal.\n\n`onDeactivate` runs **before** the abort, deliberately: teardown that needs to flush state\nwould otherwise be handed an already-aborted signal and have to skip its own work. The cost is\nthat an `onActivate` still in flight keeps running until `onDeactivate` finishes — both hold\nthe same signal. Acceptable because the two are sequenced by `activate`, so overlap only\nhappens if a hook resolves before the work it started; a hook that must stop immediately\nshould own its own cancellation."
|
|
14533
|
+
},
|
|
14534
|
+
{
|
|
14535
|
+
"kind": "method",
|
|
14536
|
+
"name": "fireDeactivate",
|
|
14537
|
+
"privacy": "private",
|
|
14538
|
+
"return": {
|
|
14539
|
+
"type": {
|
|
14540
|
+
"text": "Promise<void>"
|
|
14541
|
+
}
|
|
14542
|
+
},
|
|
14543
|
+
"parameters": [
|
|
14544
|
+
{
|
|
14545
|
+
"name": "agent",
|
|
14546
|
+
"type": {
|
|
14547
|
+
"text": "AgentConfig"
|
|
14548
|
+
}
|
|
14549
|
+
},
|
|
14550
|
+
{
|
|
14551
|
+
"name": "reason",
|
|
14552
|
+
"type": {
|
|
14553
|
+
"text": "'switch' | 'release' | 'dispose'"
|
|
14554
|
+
}
|
|
14555
|
+
}
|
|
14556
|
+
],
|
|
14557
|
+
"description": "The one place `onDeactivate` is invoked. `reason` only reaches the warning text, which is what\ntells a log reader which path fired."
|
|
14534
14558
|
}
|
|
14535
|
-
]
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14559
|
+
]
|
|
14560
|
+
}
|
|
14561
|
+
],
|
|
14562
|
+
"exports": [
|
|
14563
|
+
{
|
|
14564
|
+
"kind": "js",
|
|
14565
|
+
"name": "AgentSession",
|
|
14566
|
+
"declaration": {
|
|
14567
|
+
"name": "AgentSession",
|
|
14568
|
+
"module": "src/components/agent-session/agent-session.ts"
|
|
14569
|
+
}
|
|
14570
|
+
}
|
|
14571
|
+
]
|
|
14572
|
+
},
|
|
14573
|
+
{
|
|
14574
|
+
"kind": "javascript-module",
|
|
14575
|
+
"path": "src/components/agent-session/index.ts",
|
|
14576
|
+
"declarations": [],
|
|
14577
|
+
"exports": [
|
|
14578
|
+
{
|
|
14579
|
+
"kind": "js",
|
|
14580
|
+
"name": "*",
|
|
14581
|
+
"declaration": {
|
|
14582
|
+
"name": "*",
|
|
14583
|
+
"package": "./agent-session"
|
|
14584
|
+
}
|
|
14585
|
+
}
|
|
14586
|
+
]
|
|
14587
|
+
},
|
|
14588
|
+
{
|
|
14589
|
+
"kind": "javascript-module",
|
|
14590
|
+
"path": "src/components/agent-picker/agent-picker.constants.ts",
|
|
14591
|
+
"declarations": [
|
|
14592
|
+
{
|
|
14593
|
+
"kind": "variable",
|
|
14594
|
+
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14595
|
+
"type": {
|
|
14596
|
+
"text": "string"
|
|
14539
14597
|
},
|
|
14540
|
-
"
|
|
14541
|
-
"
|
|
14598
|
+
"default": "'__auto__'",
|
|
14599
|
+
"description": "Sentinel value representing \"Auto\" where a menu row needs a string value."
|
|
14600
|
+
},
|
|
14601
|
+
{
|
|
14602
|
+
"kind": "variable",
|
|
14603
|
+
"name": "DEFAULT_ORCHESTRATION_LABEL",
|
|
14604
|
+
"type": {
|
|
14605
|
+
"text": "string"
|
|
14606
|
+
},
|
|
14607
|
+
"default": "'Orchestration'",
|
|
14608
|
+
"description": "The picker's default name for orchestration: the assistant routes each message to the agent it\nsuits, as opposed to a pinned agent. Not \"Auto\", which other tools use for picking a model tier;\n\"Orchestration\" says that several agents stand behind it."
|
|
14609
|
+
},
|
|
14610
|
+
{
|
|
14611
|
+
"kind": "variable",
|
|
14612
|
+
"name": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14613
|
+
"type": {
|
|
14614
|
+
"text": "string"
|
|
14615
|
+
},
|
|
14616
|
+
"default": "'Orchestration'",
|
|
14617
|
+
"description": "The same choice as the picker menu's first row. The same word by default; separate so a host can say more there."
|
|
14618
|
+
},
|
|
14619
|
+
{
|
|
14620
|
+
"kind": "variable",
|
|
14621
|
+
"name": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14622
|
+
"type": {
|
|
14623
|
+
"text": "string"
|
|
14624
|
+
},
|
|
14625
|
+
"default": "'Each message goes to the specialist it suits.'",
|
|
14626
|
+
"description": "What orchestration does, as the menu row's hint and the pill's tooltip."
|
|
14542
14627
|
}
|
|
14543
14628
|
],
|
|
14544
14629
|
"exports": [
|
|
@@ -14547,167 +14632,164 @@
|
|
|
14547
14632
|
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14548
14633
|
"declaration": {
|
|
14549
14634
|
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14550
|
-
"module": "src/components/agent-picker/agent-picker.ts"
|
|
14635
|
+
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14551
14636
|
}
|
|
14552
14637
|
},
|
|
14553
14638
|
{
|
|
14554
14639
|
"kind": "js",
|
|
14555
|
-
"name": "
|
|
14640
|
+
"name": "DEFAULT_ORCHESTRATION_LABEL",
|
|
14556
14641
|
"declaration": {
|
|
14557
|
-
"name": "
|
|
14558
|
-
"module": "src/components/agent-picker/agent-picker.ts"
|
|
14642
|
+
"name": "DEFAULT_ORCHESTRATION_LABEL",
|
|
14643
|
+
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14559
14644
|
}
|
|
14560
14645
|
},
|
|
14561
14646
|
{
|
|
14562
|
-
"kind": "
|
|
14563
|
-
"name": "
|
|
14647
|
+
"kind": "js",
|
|
14648
|
+
"name": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14564
14649
|
"declaration": {
|
|
14565
|
-
"name": "
|
|
14566
|
-
"module": "src/components/agent-picker/agent-picker.ts"
|
|
14650
|
+
"name": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14651
|
+
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14652
|
+
}
|
|
14653
|
+
},
|
|
14654
|
+
{
|
|
14655
|
+
"kind": "js",
|
|
14656
|
+
"name": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14657
|
+
"declaration": {
|
|
14658
|
+
"name": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14659
|
+
"module": "src/components/agent-picker/agent-picker.constants.ts"
|
|
14567
14660
|
}
|
|
14568
14661
|
}
|
|
14569
14662
|
]
|
|
14570
14663
|
},
|
|
14571
14664
|
{
|
|
14572
14665
|
"kind": "javascript-module",
|
|
14573
|
-
"path": "src/components/agent-picker/
|
|
14574
|
-
"declarations": [
|
|
14666
|
+
"path": "src/components/agent-picker/agent-picker.styles.ts",
|
|
14667
|
+
"declarations": [
|
|
14668
|
+
{
|
|
14669
|
+
"kind": "variable",
|
|
14670
|
+
"name": "styles",
|
|
14671
|
+
"default": "css`\n :host {\n display: block;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n /* The picker owns the ROWS only. The panel around them — surface, border,\n shadow, position, open/close animation — is the assistant's, so the agent\n menu and the session menu are the same object with different contents.\n See the composer-menu rules in main.styles.ts. */\n .menu {\n display: flex;\n flex-direction: column;\n gap: 1px;\n }\n\n ${menuItemStyles}\n`"
|
|
14672
|
+
}
|
|
14673
|
+
],
|
|
14575
14674
|
"exports": [
|
|
14576
14675
|
{
|
|
14577
14676
|
"kind": "js",
|
|
14578
|
-
"name": "
|
|
14677
|
+
"name": "styles",
|
|
14579
14678
|
"declaration": {
|
|
14580
|
-
"name": "
|
|
14581
|
-
"
|
|
14679
|
+
"name": "styles",
|
|
14680
|
+
"module": "src/components/agent-picker/agent-picker.styles.ts"
|
|
14582
14681
|
}
|
|
14583
14682
|
}
|
|
14584
14683
|
]
|
|
14585
14684
|
},
|
|
14586
14685
|
{
|
|
14587
14686
|
"kind": "javascript-module",
|
|
14588
|
-
"path": "src/components/agent-
|
|
14687
|
+
"path": "src/components/agent-picker/agent-picker.template.ts",
|
|
14688
|
+
"declarations": [],
|
|
14689
|
+
"exports": []
|
|
14690
|
+
},
|
|
14691
|
+
{
|
|
14692
|
+
"kind": "javascript-module",
|
|
14693
|
+
"path": "src/components/agent-picker/agent-picker.ts",
|
|
14589
14694
|
"declarations": [
|
|
14590
14695
|
{
|
|
14591
14696
|
"kind": "class",
|
|
14592
|
-
"description": "The
|
|
14593
|
-
"name": "
|
|
14697
|
+
"description": "The agent menu shown from the composer's agent button.\n\nRenders `Auto` plus each top-level agent with `manualSelection.enabled`, one\nrow apiece, tinted with the same pin colour the composer button shows once\nthat agent is pinned. Sub-agents and non-selectable specialists are excluded.\nHidden when fewer than two agents are configured or none are manually\nselectable.\n\nThe rows are all this element owns. The panel around them — surface, border,\nposition, open/close animation — belongs to the assistant, which renders this\nmenu and the session (⋮) menu into the same container so the two match.",
|
|
14698
|
+
"name": "AgentPicker",
|
|
14594
14699
|
"members": [
|
|
14595
14700
|
{
|
|
14596
14701
|
"kind": "field",
|
|
14597
|
-
"name": "
|
|
14598
|
-
"privacy": "private",
|
|
14599
|
-
"readonly": true,
|
|
14600
|
-
"default": "new AbortController()",
|
|
14601
|
-
"description": "Aborted on disposal. Threaded into `AgentLifecycleContext.signal` so long-running\n`onActivate` work can bail if the session disconnects."
|
|
14602
|
-
},
|
|
14603
|
-
{
|
|
14604
|
-
"kind": "field",
|
|
14605
|
-
"name": "active",
|
|
14702
|
+
"name": "mode",
|
|
14606
14703
|
"type": {
|
|
14607
|
-
"text": "
|
|
14704
|
+
"text": "AgentPickerMode"
|
|
14608
14705
|
},
|
|
14609
|
-
"
|
|
14706
|
+
"default": "'disabled'",
|
|
14707
|
+
"description": "Picker variant, sourced from the assistant's `chatConfig.picker.mode`.\n`'disabled'` hides the picker; every other value renders the same menu —\n`'select'` and `'segmented-control'` are retained so existing configuration\nstays valid, but no longer select between two layouts."
|
|
14610
14708
|
},
|
|
14611
14709
|
{
|
|
14612
14710
|
"kind": "field",
|
|
14613
|
-
"name": "
|
|
14711
|
+
"name": "agents",
|
|
14614
14712
|
"type": {
|
|
14615
|
-
"text": "
|
|
14713
|
+
"text": "AgentConfig[]"
|
|
14616
14714
|
},
|
|
14617
|
-
"
|
|
14618
|
-
"
|
|
14619
|
-
"description": "Sticky user pick from the picker (or the host's `setAgent` API). Only changes on explicit\nuser action. Survives flow completion: when a stateful agent releases, the user-pin stays put\nand routing falls back to it on the next turn."
|
|
14715
|
+
"default": "[]",
|
|
14716
|
+
"description": "Top-level agents passed to the assistant."
|
|
14620
14717
|
},
|
|
14621
14718
|
{
|
|
14622
14719
|
"kind": "field",
|
|
14623
|
-
"name": "
|
|
14720
|
+
"name": "pinnedAgentName",
|
|
14624
14721
|
"type": {
|
|
14625
14722
|
"text": "string | null"
|
|
14626
14723
|
},
|
|
14627
|
-
"privacy": "private",
|
|
14628
14724
|
"default": "null",
|
|
14629
|
-
"description": "
|
|
14725
|
+
"description": "Currently pinned agent name, or `null` for Auto."
|
|
14630
14726
|
},
|
|
14631
14727
|
{
|
|
14632
14728
|
"kind": "field",
|
|
14633
|
-
"name": "
|
|
14729
|
+
"name": "disablePinColours",
|
|
14634
14730
|
"type": {
|
|
14635
|
-
"text": "
|
|
14731
|
+
"text": "boolean"
|
|
14636
14732
|
},
|
|
14637
|
-
"
|
|
14638
|
-
"
|
|
14639
|
-
"description": "Per-agent restored state for a rehydrated session, keyed by agent name. Primed by the host on\nrestore; each entry is passed to that agent's `onActivate` as `ctx.restored` on its next\nactivation, then deleted so a later re-activation starts fresh."
|
|
14733
|
+
"default": "false",
|
|
14734
|
+
"description": "When true, rows show a neutral dot instead of the per-agent brand tint."
|
|
14640
14735
|
},
|
|
14641
14736
|
{
|
|
14642
14737
|
"kind": "field",
|
|
14643
|
-
"name": "
|
|
14738
|
+
"name": "orchestrationLabel",
|
|
14644
14739
|
"type": {
|
|
14645
|
-
"text": "
|
|
14646
|
-
},
|
|
14647
|
-
"privacy": "private",
|
|
14648
|
-
"description": "The tail of the activation queue — see AgentSession.activate."
|
|
14649
|
-
},
|
|
14650
|
-
{
|
|
14651
|
-
"kind": "method",
|
|
14652
|
-
"name": "getActive",
|
|
14653
|
-
"return": {
|
|
14654
|
-
"type": {
|
|
14655
|
-
"text": "AgentConfig | undefined"
|
|
14656
|
-
}
|
|
14740
|
+
"text": "string"
|
|
14657
14741
|
},
|
|
14658
|
-
"
|
|
14742
|
+
"default": "DEFAULT_ORCHESTRATION_MENU_LABEL",
|
|
14743
|
+
"description": "The orchestration row's name, from `chatConfig.picker.orchestrationMenuLabel` (resolved by the host)."
|
|
14659
14744
|
},
|
|
14660
14745
|
{
|
|
14661
|
-
"kind": "
|
|
14662
|
-
"name": "
|
|
14663
|
-
"
|
|
14664
|
-
"
|
|
14665
|
-
"text": "string | null"
|
|
14666
|
-
}
|
|
14746
|
+
"kind": "field",
|
|
14747
|
+
"name": "orchestrationDescription",
|
|
14748
|
+
"type": {
|
|
14749
|
+
"text": "string"
|
|
14667
14750
|
},
|
|
14668
|
-
"
|
|
14751
|
+
"default": "DEFAULT_ORCHESTRATION_DESCRIPTION",
|
|
14752
|
+
"description": "The orchestration row's hint, from `chatConfig.picker.orchestrationDescription` (resolved by the host)."
|
|
14669
14753
|
},
|
|
14670
14754
|
{
|
|
14671
|
-
"kind": "
|
|
14672
|
-
"name": "
|
|
14673
|
-
"
|
|
14674
|
-
"
|
|
14675
|
-
"text": "string | null"
|
|
14676
|
-
}
|
|
14755
|
+
"kind": "field",
|
|
14756
|
+
"name": "selectableAgents",
|
|
14757
|
+
"type": {
|
|
14758
|
+
"text": "AgentConfig[]"
|
|
14677
14759
|
},
|
|
14678
|
-
"description": "
|
|
14760
|
+
"description": "Top-level agents that opted in to manual selection.",
|
|
14761
|
+
"readonly": true
|
|
14679
14762
|
},
|
|
14680
14763
|
{
|
|
14681
|
-
"kind": "
|
|
14682
|
-
"name": "
|
|
14683
|
-
"
|
|
14684
|
-
"
|
|
14685
|
-
"text": "string | null"
|
|
14686
|
-
}
|
|
14764
|
+
"kind": "field",
|
|
14765
|
+
"name": "visible",
|
|
14766
|
+
"type": {
|
|
14767
|
+
"text": "boolean"
|
|
14687
14768
|
},
|
|
14688
|
-
"description": "
|
|
14769
|
+
"description": "Whether the picker should render at all.",
|
|
14770
|
+
"readonly": true
|
|
14689
14771
|
},
|
|
14690
14772
|
{
|
|
14691
14773
|
"kind": "method",
|
|
14692
|
-
"name": "
|
|
14774
|
+
"name": "markStyleFor",
|
|
14693
14775
|
"return": {
|
|
14694
14776
|
"type": {
|
|
14695
|
-
"text": "
|
|
14777
|
+
"text": "string"
|
|
14696
14778
|
}
|
|
14697
14779
|
},
|
|
14698
14780
|
"parameters": [
|
|
14699
14781
|
{
|
|
14700
|
-
"name": "
|
|
14782
|
+
"name": "agent",
|
|
14701
14783
|
"type": {
|
|
14702
|
-
"text": "
|
|
14784
|
+
"text": "AgentConfig"
|
|
14703
14785
|
}
|
|
14704
14786
|
}
|
|
14705
14787
|
],
|
|
14706
|
-
"description": "
|
|
14788
|
+
"description": "Inline `--menu-item-mark` for one row, or `''` to leave the dot neutral.\n\nIndexed against the FULL agents array rather than `selectableAgents` so a\nrow's tint matches what the composer button shows when that agent is\npinned — the assistant resolves its pin colour the same way, and the two\ndisagreeing is exactly the bug this shares `pinColourAt` to avoid."
|
|
14707
14789
|
},
|
|
14708
14790
|
{
|
|
14709
14791
|
"kind": "method",
|
|
14710
|
-
"name": "
|
|
14792
|
+
"name": "selectAgent",
|
|
14711
14793
|
"return": {
|
|
14712
14794
|
"type": {
|
|
14713
14795
|
"text": "void"
|
|
@@ -14720,95 +14802,11 @@
|
|
|
14720
14802
|
"text": "string | null"
|
|
14721
14803
|
}
|
|
14722
14804
|
}
|
|
14723
|
-
],
|
|
14724
|
-
"description": "Set the flow-owner lock directly — used to restore state on driver reconstruction\n(agents-array changes, pop-in/pop-out), not to steer routing. Writes without firing hooks or\nreporting a transition, because the flow it names is already running."
|
|
14725
|
-
},
|
|
14726
|
-
{
|
|
14727
|
-
"kind": "method",
|
|
14728
|
-
"name": "primeRestoredStates",
|
|
14729
|
-
"return": {
|
|
14730
|
-
"type": {
|
|
14731
|
-
"text": "void"
|
|
14732
|
-
}
|
|
14733
|
-
},
|
|
14734
|
-
"parameters": [
|
|
14735
|
-
{
|
|
14736
|
-
"name": "snapshots",
|
|
14737
|
-
"type": {
|
|
14738
|
-
"text": "Record<string, unknown>"
|
|
14739
|
-
}
|
|
14740
|
-
}
|
|
14741
|
-
],
|
|
14742
|
-
"description": "Prime per-agent restored state for a rehydrated session. Replaces any pending entries."
|
|
14743
|
-
},
|
|
14744
|
-
{
|
|
14745
|
-
"kind": "method",
|
|
14746
|
-
"name": "hasRestoredState",
|
|
14747
|
-
"return": {
|
|
14748
|
-
"type": {
|
|
14749
|
-
"text": "boolean"
|
|
14750
|
-
}
|
|
14751
|
-
},
|
|
14752
|
-
"parameters": [
|
|
14753
|
-
{
|
|
14754
|
-
"name": "agentName",
|
|
14755
|
-
"type": {
|
|
14756
|
-
"text": "string"
|
|
14757
|
-
}
|
|
14758
|
-
}
|
|
14759
|
-
],
|
|
14760
|
-
"description": "Whether a restored snapshot is waiting for this agent's next activation."
|
|
14761
|
-
},
|
|
14762
|
-
{
|
|
14763
|
-
"kind": "method",
|
|
14764
|
-
"name": "activate",
|
|
14765
|
-
"return": {
|
|
14766
|
-
"type": {
|
|
14767
|
-
"text": "Promise<AgentTransition>"
|
|
14768
|
-
}
|
|
14769
|
-
},
|
|
14770
|
-
"parameters": [
|
|
14771
|
-
{
|
|
14772
|
-
"name": "agent",
|
|
14773
|
-
"type": {
|
|
14774
|
-
"text": "AgentConfig"
|
|
14775
|
-
}
|
|
14776
|
-
}
|
|
14777
|
-
],
|
|
14778
|
-
"description": "Make `agent` active, firing the lifecycle hooks around the swap: outgoing `onDeactivate`\nfirst, then incoming `onActivate`. Both are awaited so heavy activation work (a machine\nrestore, say) completes before the agent's first turn runs, and a throw from either is logged\nrather than propagated — an agent whose hook fails still activates.\n\nRe-activating the same agent by name is not a switch: no hooks fire, no lock moves, and no\nhandoff is recorded. That guard matters because a per-turn re-resolve calls through here.\n\nSingle-flight (GENC-1662): calls run one after another, never interleaved. `active` is only\nset once the hooks have finished, so two overlapping calls for the same agent would otherwise\nboth see a switch and run `onActivate` twice — and a restored `init` would be overwritten by a\nfresh one that finished later. That overlap became possible when a restore started activating\nthe flow owner outside a turn, where a send can land mid-activation."
|
|
14779
|
-
},
|
|
14780
|
-
{
|
|
14781
|
-
"kind": "method",
|
|
14782
|
-
"name": "activateNow",
|
|
14783
|
-
"privacy": "private",
|
|
14784
|
-
"return": {
|
|
14785
|
-
"type": {
|
|
14786
|
-
"text": "Promise<AgentTransition>"
|
|
14787
|
-
}
|
|
14788
|
-
},
|
|
14789
|
-
"parameters": [
|
|
14790
|
-
{
|
|
14791
|
-
"name": "agent",
|
|
14792
|
-
"type": {
|
|
14793
|
-
"text": "AgentConfig"
|
|
14794
|
-
}
|
|
14795
|
-
}
|
|
14796
14805
|
]
|
|
14797
14806
|
},
|
|
14798
14807
|
{
|
|
14799
14808
|
"kind": "method",
|
|
14800
|
-
"name": "
|
|
14801
|
-
"return": {
|
|
14802
|
-
"type": {
|
|
14803
|
-
"text": "Promise<AgentTransition | undefined>"
|
|
14804
|
-
}
|
|
14805
|
-
},
|
|
14806
|
-
"description": "Release the active agent: fire `onDeactivate` and drop the flow lock.\n\nThe user pin is intentionally **not** cleared — someone who explicitly picked this agent\nshould stay on it after the flow ends, so the next message starts a fresh flow on the same\nagent rather than routing through the classifier.\n\nReturns `undefined` when there was no active agent, so a caller can skip its events."
|
|
14807
|
-
},
|
|
14808
|
-
{
|
|
14809
|
-
"kind": "method",
|
|
14810
|
-
"name": "reportTransition",
|
|
14811
|
-
"privacy": "private",
|
|
14809
|
+
"name": "selectByValue",
|
|
14812
14810
|
"return": {
|
|
14813
14811
|
"type": {
|
|
14814
14812
|
"text": "void"
|
|
@@ -14816,66 +14814,68 @@
|
|
|
14816
14814
|
},
|
|
14817
14815
|
"parameters": [
|
|
14818
14816
|
{
|
|
14819
|
-
"name": "
|
|
14817
|
+
"name": "value",
|
|
14820
14818
|
"type": {
|
|
14821
|
-
"text": "
|
|
14819
|
+
"text": "string"
|
|
14822
14820
|
}
|
|
14823
14821
|
}
|
|
14824
14822
|
],
|
|
14825
|
-
"description": "
|
|
14823
|
+
"description": "Maps a value using AGENT_PICKER_AUTO_VALUE for Auto back to the\n`string | null` form AgentPicker.selectAgent expects. Retained for\nhosts driving the picker from a value rather than a name."
|
|
14826
14824
|
},
|
|
14827
14825
|
{
|
|
14828
|
-
"kind": "
|
|
14829
|
-
"name": "
|
|
14830
|
-
"
|
|
14831
|
-
"
|
|
14832
|
-
"text": "Promise<void>"
|
|
14833
|
-
}
|
|
14826
|
+
"kind": "field",
|
|
14827
|
+
"name": "currentValue",
|
|
14828
|
+
"type": {
|
|
14829
|
+
"text": "string"
|
|
14834
14830
|
},
|
|
14835
|
-
"description": "
|
|
14836
|
-
|
|
14831
|
+
"description": "Current pinned agent name as a bindable value.",
|
|
14832
|
+
"readonly": true
|
|
14833
|
+
}
|
|
14834
|
+
],
|
|
14835
|
+
"events": [
|
|
14837
14836
|
{
|
|
14838
|
-
"
|
|
14839
|
-
"name": "
|
|
14840
|
-
"privacy": "private",
|
|
14841
|
-
"return": {
|
|
14842
|
-
"type": {
|
|
14843
|
-
"text": "Promise<void>"
|
|
14844
|
-
}
|
|
14845
|
-
},
|
|
14846
|
-
"parameters": [
|
|
14847
|
-
{
|
|
14848
|
-
"name": "agent",
|
|
14849
|
-
"type": {
|
|
14850
|
-
"text": "AgentConfig"
|
|
14851
|
-
}
|
|
14852
|
-
},
|
|
14853
|
-
{
|
|
14854
|
-
"name": "reason",
|
|
14855
|
-
"type": {
|
|
14856
|
-
"text": "'switch' | 'release' | 'dispose'"
|
|
14857
|
-
}
|
|
14858
|
-
}
|
|
14859
|
-
],
|
|
14860
|
-
"description": "The one place `onDeactivate` is invoked. `reason` only reaches the warning text, which is what\ntells a log reader which path fired."
|
|
14837
|
+
"description": "Fired when the user changes selection with the agent name or `null` for Auto. detail: `string | null`",
|
|
14838
|
+
"name": "agent-pinned"
|
|
14861
14839
|
}
|
|
14862
|
-
]
|
|
14840
|
+
],
|
|
14841
|
+
"superclass": {
|
|
14842
|
+
"name": "GenesisElement",
|
|
14843
|
+
"package": "@genesislcap/web-core"
|
|
14844
|
+
},
|
|
14845
|
+
"tagName": "foundation-ai-agent-picker",
|
|
14846
|
+
"customElement": true
|
|
14863
14847
|
}
|
|
14864
14848
|
],
|
|
14865
14849
|
"exports": [
|
|
14866
14850
|
{
|
|
14867
14851
|
"kind": "js",
|
|
14868
|
-
"name": "
|
|
14852
|
+
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14869
14853
|
"declaration": {
|
|
14870
|
-
"name": "
|
|
14871
|
-
"module": "src/components/agent-
|
|
14854
|
+
"name": "AGENT_PICKER_AUTO_VALUE",
|
|
14855
|
+
"module": "src/components/agent-picker/agent-picker.ts"
|
|
14856
|
+
}
|
|
14857
|
+
},
|
|
14858
|
+
{
|
|
14859
|
+
"kind": "js",
|
|
14860
|
+
"name": "AgentPicker",
|
|
14861
|
+
"declaration": {
|
|
14862
|
+
"name": "AgentPicker",
|
|
14863
|
+
"module": "src/components/agent-picker/agent-picker.ts"
|
|
14864
|
+
}
|
|
14865
|
+
},
|
|
14866
|
+
{
|
|
14867
|
+
"kind": "custom-element-definition",
|
|
14868
|
+
"name": "foundation-ai-agent-picker",
|
|
14869
|
+
"declaration": {
|
|
14870
|
+
"name": "AgentPicker",
|
|
14871
|
+
"module": "src/components/agent-picker/agent-picker.ts"
|
|
14872
14872
|
}
|
|
14873
14873
|
}
|
|
14874
14874
|
]
|
|
14875
14875
|
},
|
|
14876
14876
|
{
|
|
14877
14877
|
"kind": "javascript-module",
|
|
14878
|
-
"path": "src/components/agent-
|
|
14878
|
+
"path": "src/components/agent-picker/index.ts",
|
|
14879
14879
|
"declarations": [],
|
|
14880
14880
|
"exports": [
|
|
14881
14881
|
{
|
|
@@ -14883,7 +14883,7 @@
|
|
|
14883
14883
|
"name": "*",
|
|
14884
14884
|
"declaration": {
|
|
14885
14885
|
"name": "*",
|
|
14886
|
-
"package": "./agent-
|
|
14886
|
+
"package": "./agent-picker"
|
|
14887
14887
|
}
|
|
14888
14888
|
}
|
|
14889
14889
|
]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ai-assistant",
|
|
3
3
|
"description": "Genesis AI Assistant micro-frontend",
|
|
4
|
-
"version": "15.64.0",
|
|
4
|
+
"version": "15.64.1-alpha-ddbd4ead05.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/ai-assistant.d.ts",
|
|
@@ -92,31 +92,31 @@
|
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.64.0",
|
|
96
|
-
"@genesislcap/foundation-testing": "15.64.0",
|
|
97
|
-
"@genesislcap/genx": "15.64.0",
|
|
98
|
-
"@genesislcap/ts-builder": "15.64.0",
|
|
99
|
-
"@genesislcap/uvu-playwright-builder": "15.64.0",
|
|
100
|
-
"@genesislcap/vite-builder": "15.64.0",
|
|
101
|
-
"@genesislcap/webpack-builder": "15.64.0",
|
|
95
|
+
"@genesislcap/foundation-comms": "15.64.1-alpha-ddbd4ead05.0",
|
|
96
|
+
"@genesislcap/foundation-testing": "15.64.1-alpha-ddbd4ead05.0",
|
|
97
|
+
"@genesislcap/genx": "15.64.1-alpha-ddbd4ead05.0",
|
|
98
|
+
"@genesislcap/ts-builder": "15.64.1-alpha-ddbd4ead05.0",
|
|
99
|
+
"@genesislcap/uvu-playwright-builder": "15.64.1-alpha-ddbd4ead05.0",
|
|
100
|
+
"@genesislcap/vite-builder": "15.64.1-alpha-ddbd4ead05.0",
|
|
101
|
+
"@genesislcap/webpack-builder": "15.64.1-alpha-ddbd4ead05.0",
|
|
102
102
|
"@types/dompurify": "^3.0.5",
|
|
103
103
|
"@types/marked": "^5.0.2",
|
|
104
104
|
"esbuild": "0.25.12"
|
|
105
105
|
},
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@genesislcap/foundation-ai": "15.64.0",
|
|
108
|
-
"@genesislcap/foundation-logger": "15.64.0",
|
|
109
|
-
"@genesislcap/foundation-notifications": "15.64.0",
|
|
110
|
-
"@genesislcap/foundation-redux": "15.64.0",
|
|
111
|
-
"@genesislcap/foundation-ui": "15.64.0",
|
|
112
|
-
"@genesislcap/foundation-utils": "15.64.0",
|
|
113
|
-
"@genesislcap/rapid-design-system": "15.64.0",
|
|
114
|
-
"@genesislcap/web-core": "15.64.0",
|
|
107
|
+
"@genesislcap/foundation-ai": "15.64.1-alpha-ddbd4ead05.0",
|
|
108
|
+
"@genesislcap/foundation-logger": "15.64.1-alpha-ddbd4ead05.0",
|
|
109
|
+
"@genesislcap/foundation-notifications": "15.64.1-alpha-ddbd4ead05.0",
|
|
110
|
+
"@genesislcap/foundation-redux": "15.64.1-alpha-ddbd4ead05.0",
|
|
111
|
+
"@genesislcap/foundation-ui": "15.64.1-alpha-ddbd4ead05.0",
|
|
112
|
+
"@genesislcap/foundation-utils": "15.64.1-alpha-ddbd4ead05.0",
|
|
113
|
+
"@genesislcap/rapid-design-system": "15.64.1-alpha-ddbd4ead05.0",
|
|
114
|
+
"@genesislcap/web-core": "15.64.1-alpha-ddbd4ead05.0",
|
|
115
115
|
"dompurify": "^3.3.1",
|
|
116
116
|
"marked": "^17.0.3"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@genesislcap/foundation-comms": "^15.64.0"
|
|
119
|
+
"@genesislcap/foundation-comms": "^15.64.1-alpha-ddbd4ead05.0"
|
|
120
120
|
},
|
|
121
121
|
"peerDependenciesMeta": {
|
|
122
122
|
"@genesislcap/foundation-comms": {
|