@genesislcap/ai-assistant 15.83.0 → 15.84.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.
|
@@ -16260,588 +16260,792 @@
|
|
|
16260
16260
|
},
|
|
16261
16261
|
{
|
|
16262
16262
|
"kind": "javascript-module",
|
|
16263
|
-
"path": "src/components/
|
|
16263
|
+
"path": "src/components/chat-bubble/chat-bubble.styles.ts",
|
|
16264
16264
|
"declarations": [
|
|
16265
16265
|
{
|
|
16266
16266
|
"kind": "variable",
|
|
16267
|
-
"name": "
|
|
16268
|
-
"
|
|
16267
|
+
"name": "styles",
|
|
16268
|
+
"default": "css`\n :host {\n position: fixed;\n inset: 0;\n pointer-events: none;\n z-index: 9999;\n overflow: visible;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .bubble {\n position: absolute;\n width: 62px;\n height: 62px;\n border-radius: 50%;\n cursor: grab;\n pointer-events: all;\n overflow: visible;\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n transition:\n transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),\n box-shadow 0.25s ease;\n background: linear-gradient(135deg, #0e1628 0%, #192340 100%);\n box-shadow: 0 4px 20px rgb(0 0 0 / 45%);\n border: 2px solid rgb(255 255 255 / 15%);\n color: white;\n }\n\n .bubble img {\n width: 62px;\n height: 62px;\n border-radius: 50%;\n object-fit: cover;\n pointer-events: none;\n box-shadow: 0 4px 20px rgb(0 0 0 / 45%);\n border: 2px solid rgb(255 255 255 / 15%);\n }\n\n .bubble svg {\n pointer-events: none;\n }\n\n .bubble:hover,\n .bubble.hovered {\n transform: scale(1.18);\n }\n\n .bubble:hover img,\n .bubble.hovered img {\n box-shadow:\n 0 6px 32px rgb(0 100 255 / 55%),\n 0 0 0 3px rgb(0 120 255 / 35%);\n }\n\n .bubble:active {\n cursor: grabbing;\n }\n\n .tooltip {\n position: absolute;\n bottom: calc(100% + 10px);\n background: linear-gradient(135deg, #0078ff 0%, #0050d0 100%);\n color: #fff;\n font-size: 0.78em;\n font-weight: 600;\n letter-spacing: 0.03em;\n white-space: nowrap;\n padding: 5px 10px;\n border-radius: 8px;\n box-shadow: 0 4px 14px rgb(0 120 255 / 45%);\n pointer-events: none;\n opacity: 0%;\n translate: 0 4px;\n transition:\n opacity 0.18s ease,\n translate 0.18s ease;\n }\n\n .tooltip::after {\n content: '';\n position: absolute;\n top: 100%;\n left: var(--arrow-left, 50%);\n transform: translateX(-50%);\n border: 5px solid transparent;\n border-top-color: #0050d0;\n }\n\n .bubble:hover .tooltip,\n .bubble.hovered .tooltip {\n opacity: 100%;\n translate: 0 0;\n }\n\n /* The autopilot waits on the person (GENC-1660): a dot on the orb, which opening the chat answers. */\n .needs-you-badge {\n position: absolute;\n top: 2px;\n right: 2px;\n width: 14px;\n height: 14px;\n border: 2px solid var(--neutral-layer-1, #fff);\n border-radius: 50%;\n background: var(--accent-fill-rest, rgb(0 120 255));\n pointer-events: none;\n }\n\n /* The badge's live region: out of paint and flow, kept in the accessibility tree. */\n .visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n }\n\n .pulse-ring {\n position: absolute;\n width: 62px;\n height: 62px;\n border-radius: 50%;\n border: 2px solid rgb(0 120 255 / 50%);\n animation: pulse 2.5s ease-out infinite;\n pointer-events: none;\n }\n\n @keyframes pulse {\n 0% {\n transform: scale(1);\n opacity: 70%;\n }\n\n 70% {\n transform: scale(1.5);\n opacity: 0%;\n }\n\n 100% {\n transform: scale(1.5);\n opacity: 0%;\n }\n }\n\n .dialog {\n position: absolute;\n box-sizing: border-box;\n width: 400px;\n height: 520px;\n min-width: 300px;\n min-height: 300px;\n max-width: 50vw;\n max-height: calc(100vh - 40px);\n background: var(--neutral-layer-1);\n border-radius: 14px;\n box-shadow:\n 0 12px 50px rgb(0 0 0 / 55%),\n 0 0 0 1px rgb(255 255 255 / 6%);\n pointer-events: all;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n resize: both;\n border: 1px solid var(--neutral-stroke-rest);\n animation: dialog-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);\n }\n\n @keyframes dialog-in {\n from {\n opacity: 0%;\n transform: scale(0.85) translateY(12px);\n }\n\n to {\n opacity: 100%;\n transform: scale(1) translateY(0);\n }\n }\n\n @keyframes dialog-out {\n from {\n opacity: 100%;\n transform: scale(1) translateY(0);\n }\n\n to {\n opacity: 0%;\n transform: scale(0.85) translateY(12px);\n }\n }\n\n .dialog.closing {\n animation: dialog-out 0.2s cubic-bezier(0.4, 0, 0.6, 1) forwards;\n }\n\n .dialog-content {\n flex: 1;\n overflow: hidden;\n display: flex;\n min-height: 0;\n }\n\n .dialog-content ::slotted(*) {\n display: flex;\n flex: 1;\n width: 100%;\n min-height: 0;\n }\n`"
|
|
16269
16269
|
}
|
|
16270
16270
|
],
|
|
16271
16271
|
"exports": [
|
|
16272
16272
|
{
|
|
16273
16273
|
"kind": "js",
|
|
16274
|
-
"name": "
|
|
16274
|
+
"name": "styles",
|
|
16275
16275
|
"declaration": {
|
|
16276
|
-
"name": "
|
|
16277
|
-
"module": "src/components/
|
|
16276
|
+
"name": "styles",
|
|
16277
|
+
"module": "src/components/chat-bubble/chat-bubble.styles.ts"
|
|
16278
16278
|
}
|
|
16279
16279
|
}
|
|
16280
16280
|
]
|
|
16281
16281
|
},
|
|
16282
16282
|
{
|
|
16283
16283
|
"kind": "javascript-module",
|
|
16284
|
-
"path": "src/components/
|
|
16284
|
+
"path": "src/components/chat-bubble/chat-bubble.template.ts",
|
|
16285
|
+
"declarations": [
|
|
16286
|
+
{
|
|
16287
|
+
"kind": "function",
|
|
16288
|
+
"name": "AiChatBubbleTemplate",
|
|
16289
|
+
"return": {
|
|
16290
|
+
"type": {
|
|
16291
|
+
"text": "ViewTemplate<AiChatBubble>"
|
|
16292
|
+
}
|
|
16293
|
+
}
|
|
16294
|
+
}
|
|
16295
|
+
],
|
|
16296
|
+
"exports": [
|
|
16297
|
+
{
|
|
16298
|
+
"kind": "js",
|
|
16299
|
+
"name": "AiChatBubbleTemplate",
|
|
16300
|
+
"declaration": {
|
|
16301
|
+
"name": "AiChatBubbleTemplate",
|
|
16302
|
+
"module": "src/components/chat-bubble/chat-bubble.template.ts"
|
|
16303
|
+
}
|
|
16304
|
+
}
|
|
16305
|
+
]
|
|
16306
|
+
},
|
|
16307
|
+
{
|
|
16308
|
+
"kind": "javascript-module",
|
|
16309
|
+
"path": "src/components/chat-bubble/chat-bubble.ts",
|
|
16285
16310
|
"declarations": [
|
|
16286
16311
|
{
|
|
16287
16312
|
"kind": "class",
|
|
16288
|
-
"description": "
|
|
16289
|
-
"name": "
|
|
16313
|
+
"description": "Floating chat bubble component that provides a draggable orb and dialog panel\nfor embedding an AI assistant without a full-page layout.",
|
|
16314
|
+
"name": "AiChatBubble",
|
|
16290
16315
|
"members": [
|
|
16291
16316
|
{
|
|
16292
16317
|
"kind": "field",
|
|
16293
|
-
"name": "
|
|
16318
|
+
"name": "title",
|
|
16294
16319
|
"type": {
|
|
16295
|
-
"text": "
|
|
16320
|
+
"text": "string"
|
|
16296
16321
|
},
|
|
16297
|
-
"
|
|
16298
|
-
"readonly": true,
|
|
16299
|
-
"default": "[]",
|
|
16300
|
-
"description": "Undoes this layer's hold on its inner driver; see BaseDriverDecorator.detach."
|
|
16322
|
+
"default": "'AI Assistant'"
|
|
16301
16323
|
},
|
|
16302
16324
|
{
|
|
16303
|
-
"kind": "
|
|
16304
|
-
"name": "
|
|
16305
|
-
"
|
|
16306
|
-
"
|
|
16307
|
-
|
|
16308
|
-
}
|
|
16309
|
-
},
|
|
16310
|
-
"description": "Let go of the inner driver WITHOUT disposing it: stop forwarding its events, and undo whatever\na subclass registered through BaseDriverDecorator.onDetach (its interceptors, its\ncapabilities, its own listeners). For dropping or replacing a decorator while the driver it\nwrapped lives on — otherwise the old layer keeps re-dispatching every event and is never\ncollected. Idempotent. `dispose()` detaches too."
|
|
16325
|
+
"kind": "field",
|
|
16326
|
+
"name": "imageSrc",
|
|
16327
|
+
"type": {
|
|
16328
|
+
"text": "string | undefined"
|
|
16329
|
+
}
|
|
16311
16330
|
},
|
|
16312
16331
|
{
|
|
16313
|
-
"kind": "
|
|
16314
|
-
"name": "
|
|
16315
|
-
"
|
|
16316
|
-
|
|
16317
|
-
"type": {
|
|
16318
|
-
"text": "void"
|
|
16319
|
-
}
|
|
16332
|
+
"kind": "field",
|
|
16333
|
+
"name": "designSystemPrefix",
|
|
16334
|
+
"type": {
|
|
16335
|
+
"text": "string"
|
|
16320
16336
|
},
|
|
16321
|
-
"
|
|
16322
|
-
{
|
|
16323
|
-
"name": "undo",
|
|
16324
|
-
"type": {
|
|
16325
|
-
"text": "() => void"
|
|
16326
|
-
}
|
|
16327
|
-
}
|
|
16328
|
-
],
|
|
16329
|
-
"description": "Register something BaseDriverDecorator.detach must undo."
|
|
16337
|
+
"default": "'rapid'"
|
|
16330
16338
|
},
|
|
16331
16339
|
{
|
|
16332
|
-
"kind": "
|
|
16333
|
-
"name": "
|
|
16334
|
-
"
|
|
16335
|
-
"
|
|
16336
|
-
"text": "Promise<ChatDriverResult>"
|
|
16337
|
-
}
|
|
16340
|
+
"kind": "field",
|
|
16341
|
+
"name": "needsInputLabel",
|
|
16342
|
+
"type": {
|
|
16343
|
+
"text": "string"
|
|
16338
16344
|
},
|
|
16339
|
-
"
|
|
16340
|
-
|
|
16341
|
-
"name": "input",
|
|
16342
|
-
"type": {
|
|
16343
|
-
"text": "string"
|
|
16344
|
-
}
|
|
16345
|
-
},
|
|
16346
|
-
{
|
|
16347
|
-
"name": "attachments",
|
|
16348
|
-
"optional": true,
|
|
16349
|
-
"type": {
|
|
16350
|
-
"text": "ChatAttachment[]"
|
|
16351
|
-
}
|
|
16352
|
-
},
|
|
16353
|
-
{
|
|
16354
|
-
"name": "options",
|
|
16355
|
-
"optional": true,
|
|
16356
|
-
"type": {
|
|
16357
|
-
"text": "SendMessageOptions"
|
|
16358
|
-
}
|
|
16359
|
-
}
|
|
16360
|
-
]
|
|
16345
|
+
"default": "'The assistant needs your input'",
|
|
16346
|
+
"description": "What the \"needs you\" badge on the orb says — its tooltip, and what a screen reader announces\nwhen it appears (GENC-1660 §4.10). The bubble cannot read the autopilot's own wording, so a host\nthat renames or localises the autopilot sets this too."
|
|
16361
16347
|
},
|
|
16362
16348
|
{
|
|
16363
|
-
"kind": "
|
|
16364
|
-
"name": "
|
|
16365
|
-
"
|
|
16366
|
-
"
|
|
16367
|
-
"text": "Promise<ChatDriverResult>"
|
|
16368
|
-
}
|
|
16349
|
+
"kind": "field",
|
|
16350
|
+
"name": "bubbleLeft",
|
|
16351
|
+
"type": {
|
|
16352
|
+
"text": "number"
|
|
16369
16353
|
},
|
|
16370
|
-
"
|
|
16371
|
-
|
|
16372
|
-
"name": "transientPrimer",
|
|
16373
|
-
"optional": true,
|
|
16374
|
-
"type": {
|
|
16375
|
-
"text": "ChatMessage[]"
|
|
16376
|
-
}
|
|
16377
|
-
},
|
|
16378
|
-
{
|
|
16379
|
-
"name": "options",
|
|
16380
|
-
"optional": true,
|
|
16381
|
-
"type": {
|
|
16382
|
-
"text": "ContinueFromHistoryOptions"
|
|
16383
|
-
}
|
|
16384
|
-
}
|
|
16385
|
-
]
|
|
16354
|
+
"default": "0",
|
|
16355
|
+
"description": "Current left position of the bubble orb (px from viewport left). @internal"
|
|
16386
16356
|
},
|
|
16387
16357
|
{
|
|
16388
|
-
"kind": "
|
|
16389
|
-
"name": "
|
|
16390
|
-
"
|
|
16391
|
-
"
|
|
16392
|
-
"text": "void"
|
|
16393
|
-
}
|
|
16358
|
+
"kind": "field",
|
|
16359
|
+
"name": "bubbleTop",
|
|
16360
|
+
"type": {
|
|
16361
|
+
"text": "number"
|
|
16394
16362
|
},
|
|
16395
|
-
"
|
|
16396
|
-
|
|
16397
|
-
"name": "interactionId",
|
|
16398
|
-
"type": {
|
|
16399
|
-
"text": "string"
|
|
16400
|
-
}
|
|
16401
|
-
},
|
|
16402
|
-
{
|
|
16403
|
-
"name": "result",
|
|
16404
|
-
"type": {
|
|
16405
|
-
"text": "unknown"
|
|
16406
|
-
}
|
|
16407
|
-
}
|
|
16408
|
-
]
|
|
16363
|
+
"default": "0",
|
|
16364
|
+
"description": "Current top position of the bubble orb (px from viewport top). @internal"
|
|
16409
16365
|
},
|
|
16410
16366
|
{
|
|
16411
|
-
"kind": "
|
|
16412
|
-
"name": "
|
|
16413
|
-
"
|
|
16414
|
-
"
|
|
16415
|
-
"text": "boolean"
|
|
16416
|
-
}
|
|
16367
|
+
"kind": "field",
|
|
16368
|
+
"name": "dialogLeft",
|
|
16369
|
+
"type": {
|
|
16370
|
+
"text": "number"
|
|
16417
16371
|
},
|
|
16418
|
-
"
|
|
16419
|
-
|
|
16420
|
-
"name": "interactionId",
|
|
16421
|
-
"type": {
|
|
16422
|
-
"text": "string"
|
|
16423
|
-
}
|
|
16424
|
-
},
|
|
16425
|
-
{
|
|
16426
|
-
"name": "costUsd",
|
|
16427
|
-
"type": {
|
|
16428
|
-
"text": "number"
|
|
16429
|
-
}
|
|
16430
|
-
}
|
|
16431
|
-
]
|
|
16372
|
+
"default": "0",
|
|
16373
|
+
"description": "Current left position of the dialog panel (px from viewport left). @internal"
|
|
16432
16374
|
},
|
|
16433
16375
|
{
|
|
16434
|
-
"kind": "
|
|
16435
|
-
"name": "
|
|
16436
|
-
"
|
|
16437
|
-
"
|
|
16438
|
-
"text": "InteractionContext | undefined"
|
|
16439
|
-
}
|
|
16376
|
+
"kind": "field",
|
|
16377
|
+
"name": "dialogTop",
|
|
16378
|
+
"type": {
|
|
16379
|
+
"text": "number"
|
|
16440
16380
|
},
|
|
16441
|
-
"
|
|
16442
|
-
|
|
16443
|
-
"name": "interactionId",
|
|
16444
|
-
"type": {
|
|
16445
|
-
"text": "string"
|
|
16446
|
-
}
|
|
16447
|
-
}
|
|
16448
|
-
]
|
|
16381
|
+
"default": "0",
|
|
16382
|
+
"description": "Current top position of the dialog panel (px from viewport top). @internal"
|
|
16449
16383
|
},
|
|
16450
16384
|
{
|
|
16451
|
-
"kind": "
|
|
16452
|
-
"name": "
|
|
16453
|
-
"
|
|
16454
|
-
"
|
|
16455
|
-
"text": "void"
|
|
16456
|
-
}
|
|
16385
|
+
"kind": "field",
|
|
16386
|
+
"name": "dialogWidth",
|
|
16387
|
+
"type": {
|
|
16388
|
+
"text": "number"
|
|
16457
16389
|
},
|
|
16458
|
-
"
|
|
16459
|
-
|
|
16460
|
-
"name": "messages",
|
|
16461
|
-
"type": {
|
|
16462
|
-
"text": "ChatMessage[]"
|
|
16463
|
-
}
|
|
16464
|
-
}
|
|
16465
|
-
]
|
|
16390
|
+
"default": "400",
|
|
16391
|
+
"description": "Current rendered width of the dialog panel (px). @internal"
|
|
16466
16392
|
},
|
|
16467
16393
|
{
|
|
16468
|
-
"kind": "
|
|
16469
|
-
"name": "
|
|
16470
|
-
"
|
|
16471
|
-
"
|
|
16472
|
-
"text": "void"
|
|
16473
|
-
}
|
|
16394
|
+
"kind": "field",
|
|
16395
|
+
"name": "dialogHeight",
|
|
16396
|
+
"type": {
|
|
16397
|
+
"text": "number"
|
|
16474
16398
|
},
|
|
16475
|
-
"
|
|
16476
|
-
|
|
16477
|
-
"name": "snapshots",
|
|
16478
|
-
"type": {
|
|
16479
|
-
"text": "Record<string, unknown>"
|
|
16480
|
-
}
|
|
16481
|
-
}
|
|
16482
|
-
]
|
|
16399
|
+
"default": "520",
|
|
16400
|
+
"description": "Current rendered height of the dialog panel (px). @internal"
|
|
16483
16401
|
},
|
|
16484
16402
|
{
|
|
16485
|
-
"kind": "
|
|
16486
|
-
"name": "
|
|
16487
|
-
"
|
|
16488
|
-
"
|
|
16489
|
-
"text": "boolean"
|
|
16490
|
-
}
|
|
16403
|
+
"kind": "field",
|
|
16404
|
+
"name": "dialogOpen",
|
|
16405
|
+
"type": {
|
|
16406
|
+
"text": "boolean"
|
|
16491
16407
|
},
|
|
16492
|
-
"
|
|
16493
|
-
|
|
16494
|
-
"name": "agentName",
|
|
16495
|
-
"type": {
|
|
16496
|
-
"text": "string"
|
|
16497
|
-
}
|
|
16498
|
-
}
|
|
16499
|
-
]
|
|
16408
|
+
"default": "false",
|
|
16409
|
+
"description": "Whether the dialog panel is currently open. @internal"
|
|
16500
16410
|
},
|
|
16501
16411
|
{
|
|
16502
|
-
"kind": "
|
|
16503
|
-
"name": "
|
|
16504
|
-
"
|
|
16505
|
-
"
|
|
16506
|
-
"text": "boolean"
|
|
16507
|
-
}
|
|
16412
|
+
"kind": "field",
|
|
16413
|
+
"name": "hovered",
|
|
16414
|
+
"type": {
|
|
16415
|
+
"text": "boolean"
|
|
16508
16416
|
},
|
|
16509
|
-
"
|
|
16510
|
-
|
|
16511
|
-
"name": "agentName",
|
|
16512
|
-
"type": {
|
|
16513
|
-
"text": "string"
|
|
16514
|
-
}
|
|
16515
|
-
}
|
|
16516
|
-
]
|
|
16417
|
+
"default": "false",
|
|
16418
|
+
"description": "Whether the bubble orb is currently hovered. @internal"
|
|
16517
16419
|
},
|
|
16518
16420
|
{
|
|
16519
|
-
"kind": "
|
|
16520
|
-
"name": "
|
|
16521
|
-
"
|
|
16522
|
-
"
|
|
16523
|
-
|
|
16524
|
-
|
|
16421
|
+
"kind": "field",
|
|
16422
|
+
"name": "needsUser",
|
|
16423
|
+
"type": {
|
|
16424
|
+
"text": "boolean"
|
|
16425
|
+
},
|
|
16426
|
+
"default": "false",
|
|
16427
|
+
"description": "Whether the autopilot waits on the person (GENC-1660 §4.10): a hand-back the closed chat would\notherwise hide. Shown as a badge on the orb; opening the chat shows what it waits on. @internal"
|
|
16428
|
+
},
|
|
16429
|
+
{
|
|
16430
|
+
"kind": "field",
|
|
16431
|
+
"name": "unsubBus",
|
|
16432
|
+
"type": {
|
|
16433
|
+
"text": "() => void | undefined"
|
|
16434
|
+
},
|
|
16435
|
+
"privacy": "private"
|
|
16436
|
+
},
|
|
16437
|
+
{
|
|
16438
|
+
"kind": "field",
|
|
16439
|
+
"name": "injectedCloseBtn",
|
|
16440
|
+
"type": {
|
|
16441
|
+
"text": "Element | undefined"
|
|
16442
|
+
},
|
|
16443
|
+
"privacy": "private"
|
|
16444
|
+
},
|
|
16445
|
+
{
|
|
16446
|
+
"kind": "field",
|
|
16447
|
+
"name": "resizeObserver",
|
|
16448
|
+
"type": {
|
|
16449
|
+
"text": "ResizeObserver | undefined"
|
|
16450
|
+
},
|
|
16451
|
+
"privacy": "private"
|
|
16452
|
+
},
|
|
16453
|
+
{
|
|
16454
|
+
"kind": "field",
|
|
16455
|
+
"name": "dragging",
|
|
16456
|
+
"type": {
|
|
16457
|
+
"text": "boolean"
|
|
16458
|
+
},
|
|
16459
|
+
"privacy": "private",
|
|
16460
|
+
"default": "false"
|
|
16461
|
+
},
|
|
16462
|
+
{
|
|
16463
|
+
"kind": "field",
|
|
16464
|
+
"name": "dragTarget",
|
|
16465
|
+
"type": {
|
|
16466
|
+
"text": "'bubble' | 'dialog' | null"
|
|
16467
|
+
},
|
|
16468
|
+
"privacy": "private",
|
|
16469
|
+
"default": "null"
|
|
16470
|
+
},
|
|
16471
|
+
{
|
|
16472
|
+
"kind": "field",
|
|
16473
|
+
"name": "startMouseX",
|
|
16474
|
+
"type": {
|
|
16475
|
+
"text": "number"
|
|
16476
|
+
},
|
|
16477
|
+
"privacy": "private",
|
|
16478
|
+
"default": "0"
|
|
16479
|
+
},
|
|
16480
|
+
{
|
|
16481
|
+
"kind": "field",
|
|
16482
|
+
"name": "startMouseY",
|
|
16483
|
+
"type": {
|
|
16484
|
+
"text": "number"
|
|
16485
|
+
},
|
|
16486
|
+
"privacy": "private",
|
|
16487
|
+
"default": "0"
|
|
16488
|
+
},
|
|
16489
|
+
{
|
|
16490
|
+
"kind": "field",
|
|
16491
|
+
"name": "startElemLeft",
|
|
16492
|
+
"type": {
|
|
16493
|
+
"text": "number"
|
|
16494
|
+
},
|
|
16495
|
+
"privacy": "private",
|
|
16496
|
+
"default": "0"
|
|
16497
|
+
},
|
|
16498
|
+
{
|
|
16499
|
+
"kind": "field",
|
|
16500
|
+
"name": "startElemTop",
|
|
16501
|
+
"type": {
|
|
16502
|
+
"text": "number"
|
|
16503
|
+
},
|
|
16504
|
+
"privacy": "private",
|
|
16505
|
+
"default": "0"
|
|
16506
|
+
},
|
|
16507
|
+
{
|
|
16508
|
+
"kind": "field",
|
|
16509
|
+
"name": "hasDragged",
|
|
16510
|
+
"type": {
|
|
16511
|
+
"text": "boolean"
|
|
16512
|
+
},
|
|
16513
|
+
"privacy": "private",
|
|
16514
|
+
"default": "false"
|
|
16515
|
+
},
|
|
16516
|
+
{
|
|
16517
|
+
"kind": "field",
|
|
16518
|
+
"name": "latestMouseX",
|
|
16519
|
+
"type": {
|
|
16520
|
+
"text": "number"
|
|
16521
|
+
},
|
|
16522
|
+
"privacy": "private",
|
|
16523
|
+
"default": "0"
|
|
16524
|
+
},
|
|
16525
|
+
{
|
|
16526
|
+
"kind": "field",
|
|
16527
|
+
"name": "latestMouseY",
|
|
16528
|
+
"type": {
|
|
16529
|
+
"text": "number"
|
|
16530
|
+
},
|
|
16531
|
+
"privacy": "private",
|
|
16532
|
+
"default": "0"
|
|
16533
|
+
},
|
|
16534
|
+
{
|
|
16535
|
+
"kind": "field",
|
|
16536
|
+
"name": "rafHandle",
|
|
16537
|
+
"type": {
|
|
16538
|
+
"text": "number | undefined"
|
|
16539
|
+
},
|
|
16540
|
+
"privacy": "private"
|
|
16541
|
+
},
|
|
16542
|
+
{
|
|
16543
|
+
"kind": "field",
|
|
16544
|
+
"name": "closeAbort",
|
|
16545
|
+
"type": {
|
|
16546
|
+
"text": "AbortController | undefined"
|
|
16525
16547
|
},
|
|
16548
|
+
"privacy": "private"
|
|
16549
|
+
},
|
|
16550
|
+
{
|
|
16551
|
+
"kind": "method",
|
|
16552
|
+
"name": "onBubbleMouseEnter"
|
|
16553
|
+
},
|
|
16554
|
+
{
|
|
16555
|
+
"kind": "method",
|
|
16556
|
+
"name": "onBubbleMouseLeave"
|
|
16557
|
+
},
|
|
16558
|
+
{
|
|
16559
|
+
"kind": "method",
|
|
16560
|
+
"name": "dialogOpenChanged",
|
|
16526
16561
|
"parameters": [
|
|
16527
16562
|
{
|
|
16528
|
-
"name": "
|
|
16529
|
-
"optional": true,
|
|
16563
|
+
"name": "_",
|
|
16530
16564
|
"type": {
|
|
16531
|
-
"text": "
|
|
16565
|
+
"text": "boolean"
|
|
16532
16566
|
}
|
|
16533
16567
|
},
|
|
16534
16568
|
{
|
|
16535
|
-
"name": "
|
|
16536
|
-
"optional": true,
|
|
16569
|
+
"name": "next",
|
|
16537
16570
|
"type": {
|
|
16538
|
-
"text": "
|
|
16571
|
+
"text": "boolean"
|
|
16539
16572
|
}
|
|
16540
16573
|
}
|
|
16541
16574
|
]
|
|
16542
16575
|
},
|
|
16543
16576
|
{
|
|
16544
16577
|
"kind": "method",
|
|
16545
|
-
"name": "
|
|
16578
|
+
"name": "assistantSessionKey",
|
|
16579
|
+
"privacy": "private",
|
|
16546
16580
|
"return": {
|
|
16547
16581
|
"type": {
|
|
16548
|
-
"text": "
|
|
16582
|
+
"text": "string | undefined"
|
|
16549
16583
|
}
|
|
16550
|
-
}
|
|
16584
|
+
},
|
|
16585
|
+
"description": "The session of the assistant this bubble holds, when it can tell: the key the assistant\npublishes under, read from the assistant in the bubble's light DOM — whether or not the dialog\n(and with it the slot) is rendered, since the badge shows while it is not."
|
|
16551
16586
|
},
|
|
16552
16587
|
{
|
|
16553
16588
|
"kind": "method",
|
|
16554
|
-
"name": "
|
|
16589
|
+
"name": "openDialog",
|
|
16590
|
+
"privacy": "private",
|
|
16555
16591
|
"return": {
|
|
16556
16592
|
"type": {
|
|
16557
|
-
"text": "
|
|
16593
|
+
"text": "void"
|
|
16558
16594
|
}
|
|
16559
|
-
}
|
|
16595
|
+
},
|
|
16596
|
+
"description": "Open the dialog beside the orb."
|
|
16560
16597
|
},
|
|
16561
16598
|
{
|
|
16562
16599
|
"kind": "method",
|
|
16563
|
-
"name": "
|
|
16600
|
+
"name": "showWaitingIfBadged",
|
|
16601
|
+
"privacy": "private",
|
|
16564
16602
|
"return": {
|
|
16565
16603
|
"type": {
|
|
16566
|
-
"text": "
|
|
16604
|
+
"text": "void"
|
|
16605
|
+
}
|
|
16606
|
+
},
|
|
16607
|
+
"description": "Opened from the badge: take the person to what is waiting on them (GENC-1660)."
|
|
16608
|
+
},
|
|
16609
|
+
{
|
|
16610
|
+
"kind": "method",
|
|
16611
|
+
"name": "refreshNeedsUser",
|
|
16612
|
+
"privacy": "private",
|
|
16613
|
+
"return": {
|
|
16614
|
+
"type": {
|
|
16615
|
+
"text": "void"
|
|
16567
16616
|
}
|
|
16568
16617
|
},
|
|
16618
|
+
"description": "Badge only for this bubble's own assistant (GENC-1660)."
|
|
16619
|
+
},
|
|
16620
|
+
{
|
|
16621
|
+
"kind": "method",
|
|
16622
|
+
"name": "dialogContentChanged",
|
|
16569
16623
|
"parameters": [
|
|
16570
16624
|
{
|
|
16571
|
-
"name": "
|
|
16625
|
+
"name": "_",
|
|
16572
16626
|
"type": {
|
|
16573
|
-
"text": "
|
|
16627
|
+
"text": "HTMLElement[]"
|
|
16628
|
+
}
|
|
16629
|
+
},
|
|
16630
|
+
{
|
|
16631
|
+
"name": "next",
|
|
16632
|
+
"type": {
|
|
16633
|
+
"text": "HTMLElement[]"
|
|
16574
16634
|
}
|
|
16575
16635
|
}
|
|
16576
16636
|
]
|
|
16577
16637
|
},
|
|
16578
16638
|
{
|
|
16579
16639
|
"kind": "method",
|
|
16580
|
-
"name": "
|
|
16640
|
+
"name": "findAssistant",
|
|
16641
|
+
"privacy": "private",
|
|
16581
16642
|
"return": {
|
|
16582
16643
|
"type": {
|
|
16583
|
-
"text": "
|
|
16644
|
+
"text": "Element | null"
|
|
16584
16645
|
}
|
|
16585
16646
|
},
|
|
16586
16647
|
"parameters": [
|
|
16587
16648
|
{
|
|
16588
|
-
"name": "
|
|
16649
|
+
"name": "nodes",
|
|
16650
|
+
"optional": true,
|
|
16589
16651
|
"type": {
|
|
16590
|
-
"text": "
|
|
16652
|
+
"text": "HTMLElement[]"
|
|
16591
16653
|
}
|
|
16592
16654
|
}
|
|
16593
16655
|
]
|
|
16594
16656
|
},
|
|
16595
16657
|
{
|
|
16596
16658
|
"kind": "method",
|
|
16597
|
-
"name": "
|
|
16598
|
-
"
|
|
16599
|
-
|
|
16600
|
-
|
|
16659
|
+
"name": "injectCloseButton",
|
|
16660
|
+
"privacy": "private",
|
|
16661
|
+
"parameters": [
|
|
16662
|
+
{
|
|
16663
|
+
"name": "assistant",
|
|
16664
|
+
"type": {
|
|
16665
|
+
"text": "Element"
|
|
16666
|
+
}
|
|
16601
16667
|
}
|
|
16602
|
-
|
|
16668
|
+
]
|
|
16603
16669
|
},
|
|
16604
16670
|
{
|
|
16605
16671
|
"kind": "method",
|
|
16606
|
-
"name": "
|
|
16607
|
-
"
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16672
|
+
"name": "removeCloseButton",
|
|
16673
|
+
"privacy": "private"
|
|
16674
|
+
},
|
|
16675
|
+
{
|
|
16676
|
+
"kind": "method",
|
|
16677
|
+
"name": "onBubbleMouseDown",
|
|
16612
16678
|
"parameters": [
|
|
16613
16679
|
{
|
|
16614
|
-
"name": "
|
|
16680
|
+
"name": "e",
|
|
16615
16681
|
"type": {
|
|
16616
|
-
"text": "
|
|
16682
|
+
"text": "MouseEvent"
|
|
16617
16683
|
}
|
|
16618
16684
|
}
|
|
16619
16685
|
]
|
|
16620
16686
|
},
|
|
16621
16687
|
{
|
|
16622
16688
|
"kind": "method",
|
|
16623
|
-
"name": "
|
|
16624
|
-
"return": {
|
|
16625
|
-
"type": {
|
|
16626
|
-
"text": "void"
|
|
16627
|
-
}
|
|
16628
|
-
},
|
|
16689
|
+
"name": "onDialogHeaderMouseDown",
|
|
16629
16690
|
"parameters": [
|
|
16630
16691
|
{
|
|
16631
|
-
"name": "
|
|
16692
|
+
"name": "e",
|
|
16632
16693
|
"type": {
|
|
16633
|
-
"text": "
|
|
16694
|
+
"text": "CustomEvent<{ clientX: number; clientY: number }>"
|
|
16634
16695
|
}
|
|
16635
16696
|
}
|
|
16636
16697
|
]
|
|
16637
16698
|
},
|
|
16699
|
+
{
|
|
16700
|
+
"kind": "field",
|
|
16701
|
+
"name": "onCloseBtnClick",
|
|
16702
|
+
"privacy": "private",
|
|
16703
|
+
"readonly": true
|
|
16704
|
+
},
|
|
16638
16705
|
{
|
|
16639
16706
|
"kind": "method",
|
|
16640
|
-
"name": "
|
|
16641
|
-
"
|
|
16642
|
-
"type": {
|
|
16643
|
-
"text": "string | null"
|
|
16644
|
-
}
|
|
16645
|
-
}
|
|
16707
|
+
"name": "cancelClose",
|
|
16708
|
+
"privacy": "private"
|
|
16646
16709
|
},
|
|
16647
16710
|
{
|
|
16648
16711
|
"kind": "method",
|
|
16649
|
-
"name": "
|
|
16650
|
-
"
|
|
16651
|
-
|
|
16652
|
-
|
|
16653
|
-
|
|
16654
|
-
|
|
16712
|
+
"name": "startCloseDialog",
|
|
16713
|
+
"privacy": "private"
|
|
16714
|
+
},
|
|
16715
|
+
{
|
|
16716
|
+
"kind": "field",
|
|
16717
|
+
"name": "onDocMouseMove",
|
|
16718
|
+
"privacy": "private"
|
|
16719
|
+
},
|
|
16720
|
+
{
|
|
16721
|
+
"kind": "field",
|
|
16722
|
+
"name": "applyDragFrame",
|
|
16723
|
+
"privacy": "private"
|
|
16724
|
+
},
|
|
16725
|
+
{
|
|
16726
|
+
"kind": "field",
|
|
16727
|
+
"name": "onDocMouseUp",
|
|
16728
|
+
"privacy": "private"
|
|
16655
16729
|
},
|
|
16656
16730
|
{
|
|
16657
16731
|
"kind": "method",
|
|
16658
|
-
"name": "
|
|
16659
|
-
"return": {
|
|
16660
|
-
"type": {
|
|
16661
|
-
"text": "void"
|
|
16662
|
-
}
|
|
16663
|
-
},
|
|
16664
|
-
"parameters": [
|
|
16665
|
-
{
|
|
16666
|
-
"name": "saved",
|
|
16667
|
-
"type": {
|
|
16668
|
-
"text": "readonly PersistedInteractionCheckpoint[]"
|
|
16669
|
-
}
|
|
16670
|
-
}
|
|
16671
|
-
]
|
|
16732
|
+
"name": "onPopout"
|
|
16672
16733
|
},
|
|
16673
16734
|
{
|
|
16674
16735
|
"kind": "method",
|
|
16675
|
-
"name": "
|
|
16676
|
-
|
|
16677
|
-
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
|
|
16736
|
+
"name": "onCloseDialog"
|
|
16737
|
+
},
|
|
16738
|
+
{
|
|
16739
|
+
"kind": "field",
|
|
16740
|
+
"name": "tooltipStyle",
|
|
16741
|
+
"type": {
|
|
16742
|
+
"text": "string"
|
|
16743
|
+
},
|
|
16744
|
+
"readonly": true
|
|
16745
|
+
}
|
|
16746
|
+
],
|
|
16747
|
+
"attributes": [
|
|
16748
|
+
{
|
|
16749
|
+
"name": "title",
|
|
16750
|
+
"type": {
|
|
16751
|
+
"text": "string"
|
|
16752
|
+
},
|
|
16753
|
+
"default": "'AI Assistant'",
|
|
16754
|
+
"fieldName": "title"
|
|
16755
|
+
},
|
|
16756
|
+
{
|
|
16757
|
+
"name": "image-src",
|
|
16758
|
+
"type": {
|
|
16759
|
+
"text": "string | undefined"
|
|
16760
|
+
},
|
|
16761
|
+
"fieldName": "imageSrc"
|
|
16762
|
+
},
|
|
16763
|
+
{
|
|
16764
|
+
"name": "design-system-prefix",
|
|
16765
|
+
"type": {
|
|
16766
|
+
"text": "string"
|
|
16767
|
+
},
|
|
16768
|
+
"default": "'rapid'",
|
|
16769
|
+
"fieldName": "designSystemPrefix"
|
|
16770
|
+
},
|
|
16771
|
+
{
|
|
16772
|
+
"name": "needs-input-label",
|
|
16773
|
+
"type": {
|
|
16774
|
+
"text": "string"
|
|
16775
|
+
},
|
|
16776
|
+
"default": "'The assistant needs your input'",
|
|
16777
|
+
"description": "What the \"needs you\" badge on the orb says — its tooltip, and what a screen reader announces\nwhen it appears (GENC-1660 §4.10). The bubble cannot read the autopilot's own wording, so a host\nthat renames or localises the autopilot sets this too.",
|
|
16778
|
+
"fieldName": "needsInputLabel"
|
|
16779
|
+
}
|
|
16780
|
+
],
|
|
16781
|
+
"superclass": {
|
|
16782
|
+
"name": "GenesisElement",
|
|
16783
|
+
"package": "@genesislcap/web-core"
|
|
16784
|
+
},
|
|
16785
|
+
"tagName": "foundation-ai-chat-bubble",
|
|
16786
|
+
"customElement": true
|
|
16787
|
+
}
|
|
16788
|
+
],
|
|
16789
|
+
"exports": [
|
|
16790
|
+
{
|
|
16791
|
+
"kind": "js",
|
|
16792
|
+
"name": "AiChatBubble",
|
|
16793
|
+
"declaration": {
|
|
16794
|
+
"name": "AiChatBubble",
|
|
16795
|
+
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
16796
|
+
}
|
|
16797
|
+
},
|
|
16798
|
+
{
|
|
16799
|
+
"kind": "custom-element-definition",
|
|
16800
|
+
"name": "foundation-ai-chat-bubble",
|
|
16801
|
+
"declaration": {
|
|
16802
|
+
"name": "AiChatBubble",
|
|
16803
|
+
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
16804
|
+
}
|
|
16805
|
+
}
|
|
16806
|
+
]
|
|
16807
|
+
},
|
|
16808
|
+
{
|
|
16809
|
+
"kind": "javascript-module",
|
|
16810
|
+
"path": "src/components/chat-bubble/index.ts",
|
|
16811
|
+
"declarations": [],
|
|
16812
|
+
"exports": [
|
|
16813
|
+
{
|
|
16814
|
+
"kind": "js",
|
|
16815
|
+
"name": "*",
|
|
16816
|
+
"declaration": {
|
|
16817
|
+
"name": "*",
|
|
16818
|
+
"package": "./chat-bubble"
|
|
16819
|
+
}
|
|
16820
|
+
}
|
|
16821
|
+
]
|
|
16822
|
+
},
|
|
16823
|
+
{
|
|
16824
|
+
"kind": "javascript-module",
|
|
16825
|
+
"path": "src/components/ai-driver/ai-driver.ts",
|
|
16826
|
+
"declarations": [
|
|
16827
|
+
{
|
|
16828
|
+
"kind": "variable",
|
|
16829
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
16830
|
+
"description": "The event types in AiDriverEventMap, as a runtime list. Built from a record keyed by the\nmap, so adding an event to the map without adding it here is a compile error."
|
|
16831
|
+
}
|
|
16832
|
+
],
|
|
16833
|
+
"exports": [
|
|
16834
|
+
{
|
|
16835
|
+
"kind": "js",
|
|
16836
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
16837
|
+
"declaration": {
|
|
16838
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
16839
|
+
"module": "src/components/ai-driver/ai-driver.ts"
|
|
16840
|
+
}
|
|
16841
|
+
}
|
|
16842
|
+
]
|
|
16843
|
+
},
|
|
16844
|
+
{
|
|
16845
|
+
"kind": "javascript-module",
|
|
16846
|
+
"path": "src/components/ai-driver/base-driver-decorator.ts",
|
|
16847
|
+
"declarations": [
|
|
16848
|
+
{
|
|
16849
|
+
"kind": "class",
|
|
16850
|
+
"description": "The base of every driver decorator (GENC-1660): an AiDriver that wraps another and\npasses every member, and every event in AiDriverEventMap, through to it.\n\nA decorator extends this and overrides only what it changes, so decorators stack in any order\nand a member or event added to `AiDriver` reaches the host through every layer by default.\n`OrchestratingDriver` is one; it used to forward by hand, and twice a member it did not forward\nsilently did nothing for every multi-agent host (`recordExternalCost`, then\n`getHistoryForPersistence`).\n\nAbstract with no abstract members, so it cannot be constructed on its own: a decorator that\nchanges nothing is not one.\n\nOptional `AiDriver` members are implemented here unconditionally, as a forward that falls back\nto the \"not supported\" answer when the inner driver lacks them. A host that feature-detects with\n`?.` therefore always finds them, and gets the same answer it would from the inner driver.",
|
|
16851
|
+
"name": "BaseDriverDecorator",
|
|
16852
|
+
"members": [
|
|
16853
|
+
{
|
|
16854
|
+
"kind": "field",
|
|
16855
|
+
"name": "detachers",
|
|
16856
|
+
"type": {
|
|
16857
|
+
"text": "Array<() => void>"
|
|
16858
|
+
},
|
|
16859
|
+
"privacy": "private",
|
|
16860
|
+
"readonly": true,
|
|
16861
|
+
"default": "[]",
|
|
16862
|
+
"description": "Undoes this layer's hold on its inner driver; see BaseDriverDecorator.detach."
|
|
16681
16863
|
},
|
|
16682
16864
|
{
|
|
16683
16865
|
"kind": "method",
|
|
16684
|
-
"name": "
|
|
16866
|
+
"name": "detach",
|
|
16685
16867
|
"return": {
|
|
16686
16868
|
"type": {
|
|
16687
16869
|
"text": "void"
|
|
16688
16870
|
}
|
|
16689
16871
|
},
|
|
16690
|
-
"
|
|
16691
|
-
{
|
|
16692
|
-
"name": "saved",
|
|
16693
|
-
"type": {
|
|
16694
|
-
"text": "PersistedInteractionCheckpoint | undefined"
|
|
16695
|
-
}
|
|
16696
|
-
}
|
|
16697
|
-
]
|
|
16872
|
+
"description": "Let go of the inner driver WITHOUT disposing it: stop forwarding its events, and undo whatever\na subclass registered through BaseDriverDecorator.onDetach (its interceptors, its\ncapabilities, its own listeners). For dropping or replacing a decorator while the driver it\nwrapped lives on — otherwise the old layer keeps re-dispatching every event and is never\ncollected. Idempotent. `dispose()` detaches too."
|
|
16698
16873
|
},
|
|
16699
16874
|
{
|
|
16700
16875
|
"kind": "method",
|
|
16701
|
-
"name": "
|
|
16876
|
+
"name": "onDetach",
|
|
16877
|
+
"privacy": "protected",
|
|
16702
16878
|
"return": {
|
|
16703
16879
|
"type": {
|
|
16704
|
-
"text": "
|
|
16880
|
+
"text": "void"
|
|
16705
16881
|
}
|
|
16706
16882
|
},
|
|
16707
16883
|
"parameters": [
|
|
16708
16884
|
{
|
|
16709
|
-
"name": "
|
|
16885
|
+
"name": "undo",
|
|
16710
16886
|
"type": {
|
|
16711
|
-
"text": "
|
|
16887
|
+
"text": "() => void"
|
|
16712
16888
|
}
|
|
16713
16889
|
}
|
|
16714
16890
|
],
|
|
16715
|
-
"description": "
|
|
16891
|
+
"description": "Register something BaseDriverDecorator.detach must undo."
|
|
16716
16892
|
},
|
|
16717
16893
|
{
|
|
16718
16894
|
"kind": "method",
|
|
16719
|
-
"name": "
|
|
16895
|
+
"name": "sendMessage",
|
|
16720
16896
|
"return": {
|
|
16721
16897
|
"type": {
|
|
16722
|
-
"text": "Promise<
|
|
16898
|
+
"text": "Promise<ChatDriverResult>"
|
|
16723
16899
|
}
|
|
16724
16900
|
},
|
|
16725
16901
|
"parameters": [
|
|
16726
16902
|
{
|
|
16727
|
-
"name": "
|
|
16903
|
+
"name": "input",
|
|
16728
16904
|
"type": {
|
|
16729
16905
|
"text": "string"
|
|
16730
16906
|
}
|
|
16731
16907
|
},
|
|
16732
16908
|
{
|
|
16733
|
-
"name": "
|
|
16734
|
-
"
|
|
16735
|
-
|
|
16909
|
+
"name": "attachments",
|
|
16910
|
+
"optional": true,
|
|
16911
|
+
"type": {
|
|
16912
|
+
"text": "ChatAttachment[]"
|
|
16736
16913
|
}
|
|
16737
16914
|
},
|
|
16738
16915
|
{
|
|
16739
16916
|
"name": "options",
|
|
16740
16917
|
"optional": true,
|
|
16741
16918
|
"type": {
|
|
16742
|
-
"text": "
|
|
16919
|
+
"text": "SendMessageOptions"
|
|
16743
16920
|
}
|
|
16744
16921
|
}
|
|
16745
16922
|
]
|
|
16746
16923
|
},
|
|
16747
16924
|
{
|
|
16748
16925
|
"kind": "method",
|
|
16749
|
-
"name": "
|
|
16926
|
+
"name": "continueFromHistory",
|
|
16750
16927
|
"return": {
|
|
16751
16928
|
"type": {
|
|
16752
|
-
"text": "
|
|
16929
|
+
"text": "Promise<ChatDriverResult>"
|
|
16753
16930
|
}
|
|
16754
16931
|
},
|
|
16755
16932
|
"parameters": [
|
|
16756
16933
|
{
|
|
16757
|
-
"name": "
|
|
16934
|
+
"name": "transientPrimer",
|
|
16935
|
+
"optional": true,
|
|
16758
16936
|
"type": {
|
|
16759
|
-
"text": "
|
|
16937
|
+
"text": "ChatMessage[]"
|
|
16760
16938
|
}
|
|
16761
16939
|
},
|
|
16762
16940
|
{
|
|
16763
|
-
"name": "
|
|
16941
|
+
"name": "options",
|
|
16942
|
+
"optional": true,
|
|
16764
16943
|
"type": {
|
|
16765
|
-
"text": "
|
|
16944
|
+
"text": "ContinueFromHistoryOptions"
|
|
16766
16945
|
}
|
|
16767
16946
|
}
|
|
16768
16947
|
]
|
|
16769
16948
|
},
|
|
16770
16949
|
{
|
|
16771
16950
|
"kind": "method",
|
|
16772
|
-
"name": "
|
|
16951
|
+
"name": "resolveInteraction",
|
|
16773
16952
|
"return": {
|
|
16774
16953
|
"type": {
|
|
16775
|
-
"text": "
|
|
16954
|
+
"text": "void"
|
|
16776
16955
|
}
|
|
16777
|
-
}
|
|
16956
|
+
},
|
|
16957
|
+
"parameters": [
|
|
16958
|
+
{
|
|
16959
|
+
"name": "interactionId",
|
|
16960
|
+
"type": {
|
|
16961
|
+
"text": "string"
|
|
16962
|
+
}
|
|
16963
|
+
},
|
|
16964
|
+
{
|
|
16965
|
+
"name": "result",
|
|
16966
|
+
"type": {
|
|
16967
|
+
"text": "unknown"
|
|
16968
|
+
}
|
|
16969
|
+
}
|
|
16970
|
+
]
|
|
16778
16971
|
},
|
|
16779
16972
|
{
|
|
16780
16973
|
"kind": "method",
|
|
16781
|
-
"name": "
|
|
16974
|
+
"name": "recordExternalCost",
|
|
16782
16975
|
"return": {
|
|
16783
16976
|
"type": {
|
|
16784
|
-
"text": "
|
|
16977
|
+
"text": "boolean"
|
|
16785
16978
|
}
|
|
16786
|
-
}
|
|
16979
|
+
},
|
|
16980
|
+
"parameters": [
|
|
16981
|
+
{
|
|
16982
|
+
"name": "interactionId",
|
|
16983
|
+
"type": {
|
|
16984
|
+
"text": "string"
|
|
16985
|
+
}
|
|
16986
|
+
},
|
|
16987
|
+
{
|
|
16988
|
+
"name": "costUsd",
|
|
16989
|
+
"type": {
|
|
16990
|
+
"text": "number"
|
|
16991
|
+
}
|
|
16992
|
+
}
|
|
16993
|
+
]
|
|
16787
16994
|
},
|
|
16788
16995
|
{
|
|
16789
16996
|
"kind": "method",
|
|
16790
|
-
"name": "
|
|
16997
|
+
"name": "getInteractionContext",
|
|
16791
16998
|
"return": {
|
|
16792
16999
|
"type": {
|
|
16793
|
-
"text": "
|
|
17000
|
+
"text": "InteractionContext | undefined"
|
|
16794
17001
|
}
|
|
16795
17002
|
},
|
|
16796
17003
|
"parameters": [
|
|
16797
17004
|
{
|
|
16798
|
-
"name": "
|
|
16799
|
-
"optional": true,
|
|
17005
|
+
"name": "interactionId",
|
|
16800
17006
|
"type": {
|
|
16801
|
-
"text": "
|
|
17007
|
+
"text": "string"
|
|
16802
17008
|
}
|
|
16803
17009
|
}
|
|
16804
17010
|
]
|
|
16805
17011
|
},
|
|
16806
17012
|
{
|
|
16807
17013
|
"kind": "method",
|
|
16808
|
-
"name": "
|
|
17014
|
+
"name": "loadHistory",
|
|
16809
17015
|
"return": {
|
|
16810
17016
|
"type": {
|
|
16811
|
-
"text": "
|
|
17017
|
+
"text": "void"
|
|
16812
17018
|
}
|
|
16813
17019
|
},
|
|
16814
17020
|
"parameters": [
|
|
16815
17021
|
{
|
|
16816
|
-
"name": "
|
|
16817
|
-
"optional": true,
|
|
17022
|
+
"name": "messages",
|
|
16818
17023
|
"type": {
|
|
16819
|
-
"text": "
|
|
17024
|
+
"text": "ChatMessage[]"
|
|
16820
17025
|
}
|
|
16821
17026
|
}
|
|
16822
17027
|
]
|
|
16823
17028
|
},
|
|
16824
17029
|
{
|
|
16825
17030
|
"kind": "method",
|
|
16826
|
-
"name": "
|
|
17031
|
+
"name": "primeRestoredAgentState",
|
|
16827
17032
|
"return": {
|
|
16828
17033
|
"type": {
|
|
16829
|
-
"text": "
|
|
17034
|
+
"text": "void"
|
|
16830
17035
|
}
|
|
16831
17036
|
},
|
|
16832
17037
|
"parameters": [
|
|
16833
17038
|
{
|
|
16834
|
-
"name": "
|
|
16835
|
-
"optional": true,
|
|
17039
|
+
"name": "snapshots",
|
|
16836
17040
|
"type": {
|
|
16837
|
-
"text": "
|
|
17041
|
+
"text": "Record<string, unknown>"
|
|
16838
17042
|
}
|
|
16839
17043
|
}
|
|
16840
17044
|
]
|
|
16841
17045
|
},
|
|
16842
17046
|
{
|
|
16843
17047
|
"kind": "method",
|
|
16844
|
-
"name": "
|
|
17048
|
+
"name": "canRestoreFlowOwner",
|
|
16845
17049
|
"return": {
|
|
16846
17050
|
"type": {
|
|
16847
17051
|
"text": "boolean"
|
|
@@ -16849,730 +17053,526 @@
|
|
|
16849
17053
|
},
|
|
16850
17054
|
"parameters": [
|
|
16851
17055
|
{
|
|
16852
|
-
"name": "
|
|
16853
|
-
"optional": true,
|
|
17056
|
+
"name": "agentName",
|
|
16854
17057
|
"type": {
|
|
16855
|
-
"text": "
|
|
17058
|
+
"text": "string"
|
|
16856
17059
|
}
|
|
16857
17060
|
}
|
|
16858
17061
|
]
|
|
16859
17062
|
},
|
|
16860
17063
|
{
|
|
16861
17064
|
"kind": "method",
|
|
16862
|
-
"name": "
|
|
17065
|
+
"name": "canResumeRestoredFlow",
|
|
16863
17066
|
"return": {
|
|
16864
17067
|
"type": {
|
|
16865
17068
|
"text": "boolean"
|
|
16866
17069
|
}
|
|
16867
|
-
}
|
|
17070
|
+
},
|
|
17071
|
+
"parameters": [
|
|
17072
|
+
{
|
|
17073
|
+
"name": "agentName",
|
|
17074
|
+
"type": {
|
|
17075
|
+
"text": "string"
|
|
17076
|
+
}
|
|
17077
|
+
}
|
|
17078
|
+
]
|
|
16868
17079
|
},
|
|
16869
17080
|
{
|
|
16870
17081
|
"kind": "method",
|
|
16871
|
-
"name": "
|
|
17082
|
+
"name": "resumeRestoredFlow",
|
|
16872
17083
|
"return": {
|
|
16873
17084
|
"type": {
|
|
16874
|
-
"text": "Promise<
|
|
17085
|
+
"text": "Promise<ChatDriverResult | undefined>"
|
|
16875
17086
|
}
|
|
16876
17087
|
},
|
|
16877
17088
|
"parameters": [
|
|
16878
17089
|
{
|
|
16879
|
-
"name": "
|
|
16880
|
-
"
|
|
16881
|
-
"text": "ChatMessage[]"
|
|
16882
|
-
}
|
|
16883
|
-
},
|
|
16884
|
-
{
|
|
16885
|
-
"name": "prompt",
|
|
17090
|
+
"name": "resumeNote",
|
|
17091
|
+
"optional": true,
|
|
16886
17092
|
"type": {
|
|
16887
17093
|
"text": "string"
|
|
16888
17094
|
}
|
|
16889
17095
|
},
|
|
16890
17096
|
{
|
|
16891
|
-
"name": "
|
|
16892
|
-
"type": {
|
|
16893
|
-
"text": "number"
|
|
16894
|
-
}
|
|
16895
|
-
},
|
|
16896
|
-
{
|
|
16897
|
-
"name": "allAgentInfo",
|
|
17097
|
+
"name": "agent",
|
|
16898
17098
|
"optional": true,
|
|
16899
17099
|
"type": {
|
|
16900
|
-
"text": "
|
|
17100
|
+
"text": "AgentConfig"
|
|
16901
17101
|
}
|
|
16902
17102
|
}
|
|
16903
17103
|
]
|
|
16904
17104
|
},
|
|
16905
17105
|
{
|
|
16906
17106
|
"kind": "method",
|
|
16907
|
-
"name": "
|
|
16908
|
-
"return": {
|
|
16909
|
-
"type": {
|
|
16910
|
-
"text": "ReadonlyArray<TurnSnapshot>"
|
|
16911
|
-
}
|
|
16912
|
-
}
|
|
16913
|
-
},
|
|
16914
|
-
{
|
|
16915
|
-
"kind": "method",
|
|
16916
|
-
"name": "getExternalDiagnostics",
|
|
16917
|
-
"return": {
|
|
16918
|
-
"type": {
|
|
16919
|
-
"text": "ReadonlyArray<DiagnosticEntry>"
|
|
16920
|
-
}
|
|
16921
|
-
},
|
|
16922
|
-
"description": "The inner driver's entries. Diagnostics compose down the stack: a decorator with entries of\nits own overrides this and appends them to `super.getExternalDiagnostics()`."
|
|
16923
|
-
},
|
|
16924
|
-
{
|
|
16925
|
-
"kind": "method",
|
|
16926
|
-
"name": "getActiveProviderName",
|
|
16927
|
-
"return": {
|
|
16928
|
-
"type": {
|
|
16929
|
-
"text": "string"
|
|
16930
|
-
}
|
|
16931
|
-
}
|
|
16932
|
-
},
|
|
16933
|
-
{
|
|
16934
|
-
"kind": "method",
|
|
16935
|
-
"name": "dispose",
|
|
17107
|
+
"name": "getRawHistory",
|
|
16936
17108
|
"return": {
|
|
16937
17109
|
"type": {
|
|
16938
|
-
"text": "
|
|
17110
|
+
"text": "readonly ChatMessage[]"
|
|
16939
17111
|
}
|
|
16940
17112
|
}
|
|
16941
17113
|
},
|
|
16942
17114
|
{
|
|
16943
17115
|
"kind": "method",
|
|
16944
|
-
"name": "
|
|
17116
|
+
"name": "getHistoryForPersistence",
|
|
16945
17117
|
"return": {
|
|
16946
|
-
"type": {
|
|
16947
|
-
"text": "
|
|
16948
|
-
}
|
|
16949
|
-
}
|
|
16950
|
-
}
|
|
16951
|
-
],
|
|
16952
|
-
"superclass": {
|
|
16953
|
-
"name": "EventTarget",
|
|
16954
|
-
"module": "src/components/ai-driver/base-driver-decorator.ts"
|
|
16955
|
-
}
|
|
16956
|
-
}
|
|
16957
|
-
],
|
|
16958
|
-
"exports": [
|
|
16959
|
-
{
|
|
16960
|
-
"kind": "js",
|
|
16961
|
-
"name": "BaseDriverDecorator",
|
|
16962
|
-
"declaration": {
|
|
16963
|
-
"name": "BaseDriverDecorator",
|
|
16964
|
-
"module": "src/components/ai-driver/base-driver-decorator.ts"
|
|
16965
|
-
}
|
|
16966
|
-
}
|
|
16967
|
-
]
|
|
16968
|
-
},
|
|
16969
|
-
{
|
|
16970
|
-
"kind": "javascript-module",
|
|
16971
|
-
"path": "src/components/ai-driver/index.ts",
|
|
16972
|
-
"declarations": [],
|
|
16973
|
-
"exports": [
|
|
16974
|
-
{
|
|
16975
|
-
"kind": "js",
|
|
16976
|
-
"name": "AiDriver",
|
|
16977
|
-
"declaration": {
|
|
16978
|
-
"name": "AiDriver",
|
|
16979
|
-
"module": "./ai-driver"
|
|
16980
|
-
}
|
|
16981
|
-
},
|
|
16982
|
-
{
|
|
16983
|
-
"kind": "js",
|
|
16984
|
-
"name": "AiDriverEventMap",
|
|
16985
|
-
"declaration": {
|
|
16986
|
-
"name": "AiDriverEventMap",
|
|
16987
|
-
"module": "./ai-driver"
|
|
16988
|
-
}
|
|
16989
|
-
},
|
|
16990
|
-
{
|
|
16991
|
-
"kind": "js",
|
|
16992
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
16993
|
-
"declaration": {
|
|
16994
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
16995
|
-
"module": "./ai-driver"
|
|
16996
|
-
}
|
|
16997
|
-
},
|
|
16998
|
-
{
|
|
16999
|
-
"kind": "js",
|
|
17000
|
-
"name": "BaseDriverDecorator",
|
|
17001
|
-
"declaration": {
|
|
17002
|
-
"name": "BaseDriverDecorator",
|
|
17003
|
-
"module": "./base-driver-decorator"
|
|
17004
|
-
}
|
|
17005
|
-
}
|
|
17006
|
-
]
|
|
17007
|
-
},
|
|
17008
|
-
{
|
|
17009
|
-
"kind": "javascript-module",
|
|
17010
|
-
"path": "src/components/ai-driver/stub-driver.ts",
|
|
17011
|
-
"declarations": [],
|
|
17012
|
-
"exports": []
|
|
17013
|
-
},
|
|
17014
|
-
{
|
|
17015
|
-
"kind": "javascript-module",
|
|
17016
|
-
"path": "src/components/chat-bubble/chat-bubble.styles.ts",
|
|
17017
|
-
"declarations": [
|
|
17018
|
-
{
|
|
17019
|
-
"kind": "variable",
|
|
17020
|
-
"name": "styles",
|
|
17021
|
-
"default": "css`\n :host {\n position: fixed;\n inset: 0;\n pointer-events: none;\n z-index: 9999;\n overflow: visible;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .bubble {\n position: absolute;\n width: 62px;\n height: 62px;\n border-radius: 50%;\n cursor: grab;\n pointer-events: all;\n overflow: visible;\n display: flex;\n align-items: center;\n justify-content: center;\n user-select: none;\n transition:\n transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),\n box-shadow 0.25s ease;\n background: linear-gradient(135deg, #0e1628 0%, #192340 100%);\n box-shadow: 0 4px 20px rgb(0 0 0 / 45%);\n border: 2px solid rgb(255 255 255 / 15%);\n color: white;\n }\n\n .bubble img {\n width: 62px;\n height: 62px;\n border-radius: 50%;\n object-fit: cover;\n pointer-events: none;\n box-shadow: 0 4px 20px rgb(0 0 0 / 45%);\n border: 2px solid rgb(255 255 255 / 15%);\n }\n\n .bubble svg {\n pointer-events: none;\n }\n\n .bubble:hover,\n .bubble.hovered {\n transform: scale(1.18);\n }\n\n .bubble:hover img,\n .bubble.hovered img {\n box-shadow:\n 0 6px 32px rgb(0 100 255 / 55%),\n 0 0 0 3px rgb(0 120 255 / 35%);\n }\n\n .bubble:active {\n cursor: grabbing;\n }\n\n .tooltip {\n position: absolute;\n bottom: calc(100% + 10px);\n background: linear-gradient(135deg, #0078ff 0%, #0050d0 100%);\n color: #fff;\n font-size: 0.78em;\n font-weight: 600;\n letter-spacing: 0.03em;\n white-space: nowrap;\n padding: 5px 10px;\n border-radius: 8px;\n box-shadow: 0 4px 14px rgb(0 120 255 / 45%);\n pointer-events: none;\n opacity: 0%;\n translate: 0 4px;\n transition:\n opacity 0.18s ease,\n translate 0.18s ease;\n }\n\n .tooltip::after {\n content: '';\n position: absolute;\n top: 100%;\n left: var(--arrow-left, 50%);\n transform: translateX(-50%);\n border: 5px solid transparent;\n border-top-color: #0050d0;\n }\n\n .bubble:hover .tooltip,\n .bubble.hovered .tooltip {\n opacity: 100%;\n translate: 0 0;\n }\n\n /* The autopilot waits on the person (GENC-1660): a dot on the orb, which opening the chat answers. */\n .needs-you-badge {\n position: absolute;\n top: 2px;\n right: 2px;\n width: 14px;\n height: 14px;\n border: 2px solid var(--neutral-layer-1, #fff);\n border-radius: 50%;\n background: var(--accent-fill-rest, rgb(0 120 255));\n pointer-events: none;\n }\n\n /* The badge's live region: out of paint and flow, kept in the accessibility tree. */\n .visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border: 0;\n }\n\n .pulse-ring {\n position: absolute;\n width: 62px;\n height: 62px;\n border-radius: 50%;\n border: 2px solid rgb(0 120 255 / 50%);\n animation: pulse 2.5s ease-out infinite;\n pointer-events: none;\n }\n\n @keyframes pulse {\n 0% {\n transform: scale(1);\n opacity: 70%;\n }\n\n 70% {\n transform: scale(1.5);\n opacity: 0%;\n }\n\n 100% {\n transform: scale(1.5);\n opacity: 0%;\n }\n }\n\n .dialog {\n position: absolute;\n box-sizing: border-box;\n width: 400px;\n height: 520px;\n min-width: 300px;\n min-height: 300px;\n max-width: 50vw;\n max-height: calc(100vh - 40px);\n background: var(--neutral-layer-1);\n border-radius: 14px;\n box-shadow:\n 0 12px 50px rgb(0 0 0 / 55%),\n 0 0 0 1px rgb(255 255 255 / 6%);\n pointer-events: all;\n display: flex;\n flex-direction: column;\n overflow: hidden;\n resize: both;\n border: 1px solid var(--neutral-stroke-rest);\n animation: dialog-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);\n }\n\n @keyframes dialog-in {\n from {\n opacity: 0%;\n transform: scale(0.85) translateY(12px);\n }\n\n to {\n opacity: 100%;\n transform: scale(1) translateY(0);\n }\n }\n\n @keyframes dialog-out {\n from {\n opacity: 100%;\n transform: scale(1) translateY(0);\n }\n\n to {\n opacity: 0%;\n transform: scale(0.85) translateY(12px);\n }\n }\n\n .dialog.closing {\n animation: dialog-out 0.2s cubic-bezier(0.4, 0, 0.6, 1) forwards;\n }\n\n .dialog-content {\n flex: 1;\n overflow: hidden;\n display: flex;\n min-height: 0;\n }\n\n .dialog-content ::slotted(*) {\n display: flex;\n flex: 1;\n width: 100%;\n min-height: 0;\n }\n`"
|
|
17022
|
-
}
|
|
17023
|
-
],
|
|
17024
|
-
"exports": [
|
|
17025
|
-
{
|
|
17026
|
-
"kind": "js",
|
|
17027
|
-
"name": "styles",
|
|
17028
|
-
"declaration": {
|
|
17029
|
-
"name": "styles",
|
|
17030
|
-
"module": "src/components/chat-bubble/chat-bubble.styles.ts"
|
|
17031
|
-
}
|
|
17032
|
-
}
|
|
17033
|
-
]
|
|
17034
|
-
},
|
|
17035
|
-
{
|
|
17036
|
-
"kind": "javascript-module",
|
|
17037
|
-
"path": "src/components/chat-bubble/chat-bubble.template.ts",
|
|
17038
|
-
"declarations": [
|
|
17039
|
-
{
|
|
17040
|
-
"kind": "function",
|
|
17041
|
-
"name": "AiChatBubbleTemplate",
|
|
17042
|
-
"return": {
|
|
17043
|
-
"type": {
|
|
17044
|
-
"text": "ViewTemplate<AiChatBubble>"
|
|
17045
|
-
}
|
|
17046
|
-
}
|
|
17047
|
-
}
|
|
17048
|
-
],
|
|
17049
|
-
"exports": [
|
|
17050
|
-
{
|
|
17051
|
-
"kind": "js",
|
|
17052
|
-
"name": "AiChatBubbleTemplate",
|
|
17053
|
-
"declaration": {
|
|
17054
|
-
"name": "AiChatBubbleTemplate",
|
|
17055
|
-
"module": "src/components/chat-bubble/chat-bubble.template.ts"
|
|
17056
|
-
}
|
|
17057
|
-
}
|
|
17058
|
-
]
|
|
17059
|
-
},
|
|
17060
|
-
{
|
|
17061
|
-
"kind": "javascript-module",
|
|
17062
|
-
"path": "src/components/chat-bubble/chat-bubble.ts",
|
|
17063
|
-
"declarations": [
|
|
17064
|
-
{
|
|
17065
|
-
"kind": "class",
|
|
17066
|
-
"description": "Floating chat bubble component that provides a draggable orb and dialog panel\nfor embedding an AI assistant without a full-page layout.",
|
|
17067
|
-
"name": "AiChatBubble",
|
|
17068
|
-
"members": [
|
|
17069
|
-
{
|
|
17070
|
-
"kind": "field",
|
|
17071
|
-
"name": "title",
|
|
17072
|
-
"type": {
|
|
17073
|
-
"text": "string"
|
|
17074
|
-
},
|
|
17075
|
-
"default": "'AI Assistant'"
|
|
17076
|
-
},
|
|
17077
|
-
{
|
|
17078
|
-
"kind": "field",
|
|
17079
|
-
"name": "imageSrc",
|
|
17080
|
-
"type": {
|
|
17081
|
-
"text": "string | undefined"
|
|
17082
|
-
}
|
|
17083
|
-
},
|
|
17084
|
-
{
|
|
17085
|
-
"kind": "field",
|
|
17086
|
-
"name": "designSystemPrefix",
|
|
17087
|
-
"type": {
|
|
17088
|
-
"text": "string"
|
|
17089
|
-
},
|
|
17090
|
-
"default": "'rapid'"
|
|
17091
|
-
},
|
|
17092
|
-
{
|
|
17093
|
-
"kind": "field",
|
|
17094
|
-
"name": "needsInputLabel",
|
|
17095
|
-
"type": {
|
|
17096
|
-
"text": "string"
|
|
17097
|
-
},
|
|
17098
|
-
"default": "'The assistant needs your input'",
|
|
17099
|
-
"description": "What the \"needs you\" badge on the orb says — its tooltip, and what a screen reader announces\nwhen it appears (GENC-1660 §4.10). The bubble cannot read the autopilot's own wording, so a host\nthat renames or localises the autopilot sets this too."
|
|
17100
|
-
},
|
|
17101
|
-
{
|
|
17102
|
-
"kind": "field",
|
|
17103
|
-
"name": "bubbleLeft",
|
|
17104
|
-
"type": {
|
|
17105
|
-
"text": "number"
|
|
17106
|
-
},
|
|
17107
|
-
"default": "0",
|
|
17108
|
-
"description": "Current left position of the bubble orb (px from viewport left). @internal"
|
|
17109
|
-
},
|
|
17110
|
-
{
|
|
17111
|
-
"kind": "field",
|
|
17112
|
-
"name": "bubbleTop",
|
|
17113
|
-
"type": {
|
|
17114
|
-
"text": "number"
|
|
17115
|
-
},
|
|
17116
|
-
"default": "0",
|
|
17117
|
-
"description": "Current top position of the bubble orb (px from viewport top). @internal"
|
|
17118
|
-
},
|
|
17119
|
-
{
|
|
17120
|
-
"kind": "field",
|
|
17121
|
-
"name": "dialogLeft",
|
|
17122
|
-
"type": {
|
|
17123
|
-
"text": "number"
|
|
17124
|
-
},
|
|
17125
|
-
"default": "0",
|
|
17126
|
-
"description": "Current left position of the dialog panel (px from viewport left). @internal"
|
|
17127
|
-
},
|
|
17128
|
-
{
|
|
17129
|
-
"kind": "field",
|
|
17130
|
-
"name": "dialogTop",
|
|
17131
|
-
"type": {
|
|
17132
|
-
"text": "number"
|
|
17133
|
-
},
|
|
17134
|
-
"default": "0",
|
|
17135
|
-
"description": "Current top position of the dialog panel (px from viewport top). @internal"
|
|
17136
|
-
},
|
|
17137
|
-
{
|
|
17138
|
-
"kind": "field",
|
|
17139
|
-
"name": "dialogWidth",
|
|
17140
|
-
"type": {
|
|
17141
|
-
"text": "number"
|
|
17142
|
-
},
|
|
17143
|
-
"default": "400",
|
|
17144
|
-
"description": "Current rendered width of the dialog panel (px). @internal"
|
|
17145
|
-
},
|
|
17146
|
-
{
|
|
17147
|
-
"kind": "field",
|
|
17148
|
-
"name": "dialogHeight",
|
|
17149
|
-
"type": {
|
|
17150
|
-
"text": "number"
|
|
17151
|
-
},
|
|
17152
|
-
"default": "520",
|
|
17153
|
-
"description": "Current rendered height of the dialog panel (px). @internal"
|
|
17154
|
-
},
|
|
17155
|
-
{
|
|
17156
|
-
"kind": "field",
|
|
17157
|
-
"name": "dialogOpen",
|
|
17158
|
-
"type": {
|
|
17159
|
-
"text": "boolean"
|
|
17160
|
-
},
|
|
17161
|
-
"default": "false",
|
|
17162
|
-
"description": "Whether the dialog panel is currently open. @internal"
|
|
17163
|
-
},
|
|
17164
|
-
{
|
|
17165
|
-
"kind": "field",
|
|
17166
|
-
"name": "hovered",
|
|
17167
|
-
"type": {
|
|
17168
|
-
"text": "boolean"
|
|
17169
|
-
},
|
|
17170
|
-
"default": "false",
|
|
17171
|
-
"description": "Whether the bubble orb is currently hovered. @internal"
|
|
17172
|
-
},
|
|
17173
|
-
{
|
|
17174
|
-
"kind": "field",
|
|
17175
|
-
"name": "needsUser",
|
|
17176
|
-
"type": {
|
|
17177
|
-
"text": "boolean"
|
|
17178
|
-
},
|
|
17179
|
-
"default": "false",
|
|
17180
|
-
"description": "Whether the autopilot waits on the person (GENC-1660 §4.10): a hand-back the closed chat would\notherwise hide. Shown as a badge on the orb; opening the chat shows what it waits on. @internal"
|
|
17181
|
-
},
|
|
17182
|
-
{
|
|
17183
|
-
"kind": "field",
|
|
17184
|
-
"name": "unsubBus",
|
|
17185
|
-
"type": {
|
|
17186
|
-
"text": "() => void | undefined"
|
|
17187
|
-
},
|
|
17188
|
-
"privacy": "private"
|
|
17189
|
-
},
|
|
17190
|
-
{
|
|
17191
|
-
"kind": "field",
|
|
17192
|
-
"name": "injectedCloseBtn",
|
|
17193
|
-
"type": {
|
|
17194
|
-
"text": "Element | undefined"
|
|
17195
|
-
},
|
|
17196
|
-
"privacy": "private"
|
|
17197
|
-
},
|
|
17198
|
-
{
|
|
17199
|
-
"kind": "field",
|
|
17200
|
-
"name": "resizeObserver",
|
|
17201
|
-
"type": {
|
|
17202
|
-
"text": "ResizeObserver | undefined"
|
|
17203
|
-
},
|
|
17204
|
-
"privacy": "private"
|
|
17205
|
-
},
|
|
17206
|
-
{
|
|
17207
|
-
"kind": "field",
|
|
17208
|
-
"name": "dragging",
|
|
17209
|
-
"type": {
|
|
17210
|
-
"text": "boolean"
|
|
17211
|
-
},
|
|
17212
|
-
"privacy": "private",
|
|
17213
|
-
"default": "false"
|
|
17118
|
+
"type": {
|
|
17119
|
+
"text": "ChatMessage[]"
|
|
17120
|
+
}
|
|
17121
|
+
}
|
|
17214
17122
|
},
|
|
17215
17123
|
{
|
|
17216
|
-
"kind": "
|
|
17217
|
-
"name": "
|
|
17218
|
-
"
|
|
17219
|
-
"
|
|
17124
|
+
"kind": "method",
|
|
17125
|
+
"name": "getCondensePoliciesForPersistence",
|
|
17126
|
+
"return": {
|
|
17127
|
+
"type": {
|
|
17128
|
+
"text": "PersistedCondensePolicy[]"
|
|
17129
|
+
}
|
|
17220
17130
|
},
|
|
17221
|
-
"
|
|
17222
|
-
|
|
17131
|
+
"parameters": [
|
|
17132
|
+
{
|
|
17133
|
+
"name": "messages",
|
|
17134
|
+
"type": {
|
|
17135
|
+
"text": "readonly ChatMessage[]"
|
|
17136
|
+
}
|
|
17137
|
+
}
|
|
17138
|
+
]
|
|
17223
17139
|
},
|
|
17224
17140
|
{
|
|
17225
|
-
"kind": "
|
|
17226
|
-
"name": "
|
|
17227
|
-
"
|
|
17228
|
-
"
|
|
17141
|
+
"kind": "method",
|
|
17142
|
+
"name": "restoreCondensePolicies",
|
|
17143
|
+
"return": {
|
|
17144
|
+
"type": {
|
|
17145
|
+
"text": "{\n restored: number;\n awaitingReactivation: number;\n }"
|
|
17146
|
+
}
|
|
17229
17147
|
},
|
|
17230
|
-
"
|
|
17231
|
-
|
|
17148
|
+
"parameters": [
|
|
17149
|
+
{
|
|
17150
|
+
"name": "entries",
|
|
17151
|
+
"type": {
|
|
17152
|
+
"text": "readonly unknown[] | undefined"
|
|
17153
|
+
}
|
|
17154
|
+
}
|
|
17155
|
+
]
|
|
17232
17156
|
},
|
|
17233
17157
|
{
|
|
17234
|
-
"kind": "
|
|
17235
|
-
"name": "
|
|
17236
|
-
"
|
|
17237
|
-
"
|
|
17238
|
-
|
|
17239
|
-
|
|
17240
|
-
|
|
17158
|
+
"kind": "method",
|
|
17159
|
+
"name": "getActiveAgent",
|
|
17160
|
+
"return": {
|
|
17161
|
+
"type": {
|
|
17162
|
+
"text": "AgentConfig | undefined"
|
|
17163
|
+
}
|
|
17164
|
+
}
|
|
17241
17165
|
},
|
|
17242
17166
|
{
|
|
17243
|
-
"kind": "
|
|
17244
|
-
"name": "
|
|
17245
|
-
"
|
|
17246
|
-
"
|
|
17167
|
+
"kind": "method",
|
|
17168
|
+
"name": "setPinnedAgent",
|
|
17169
|
+
"return": {
|
|
17170
|
+
"type": {
|
|
17171
|
+
"text": "void"
|
|
17172
|
+
}
|
|
17247
17173
|
},
|
|
17248
|
-
"
|
|
17249
|
-
|
|
17174
|
+
"parameters": [
|
|
17175
|
+
{
|
|
17176
|
+
"name": "name",
|
|
17177
|
+
"type": {
|
|
17178
|
+
"text": "string | null"
|
|
17179
|
+
}
|
|
17180
|
+
}
|
|
17181
|
+
]
|
|
17250
17182
|
},
|
|
17251
17183
|
{
|
|
17252
|
-
"kind": "
|
|
17253
|
-
"name": "
|
|
17254
|
-
"
|
|
17255
|
-
"
|
|
17184
|
+
"kind": "method",
|
|
17185
|
+
"name": "setFlowOwner",
|
|
17186
|
+
"return": {
|
|
17187
|
+
"type": {
|
|
17188
|
+
"text": "void"
|
|
17189
|
+
}
|
|
17256
17190
|
},
|
|
17257
|
-
"
|
|
17258
|
-
|
|
17191
|
+
"parameters": [
|
|
17192
|
+
{
|
|
17193
|
+
"name": "name",
|
|
17194
|
+
"type": {
|
|
17195
|
+
"text": "string | null"
|
|
17196
|
+
}
|
|
17197
|
+
}
|
|
17198
|
+
]
|
|
17259
17199
|
},
|
|
17260
17200
|
{
|
|
17261
|
-
"kind": "
|
|
17262
|
-
"name": "
|
|
17263
|
-
"
|
|
17264
|
-
"
|
|
17265
|
-
|
|
17266
|
-
|
|
17267
|
-
|
|
17201
|
+
"kind": "method",
|
|
17202
|
+
"name": "getFlowOwner",
|
|
17203
|
+
"return": {
|
|
17204
|
+
"type": {
|
|
17205
|
+
"text": "string | null"
|
|
17206
|
+
}
|
|
17207
|
+
}
|
|
17268
17208
|
},
|
|
17269
17209
|
{
|
|
17270
|
-
"kind": "
|
|
17271
|
-
"name": "
|
|
17272
|
-
"
|
|
17273
|
-
"
|
|
17274
|
-
|
|
17275
|
-
|
|
17276
|
-
|
|
17210
|
+
"kind": "method",
|
|
17211
|
+
"name": "getInteractionCheckpoints",
|
|
17212
|
+
"return": {
|
|
17213
|
+
"type": {
|
|
17214
|
+
"text": "readonly PersistedInteractionCheckpoint[]"
|
|
17215
|
+
}
|
|
17216
|
+
}
|
|
17277
17217
|
},
|
|
17278
17218
|
{
|
|
17279
|
-
"kind": "
|
|
17280
|
-
"name": "
|
|
17281
|
-
"
|
|
17282
|
-
"
|
|
17219
|
+
"kind": "method",
|
|
17220
|
+
"name": "restoreInteractionCheckpoints",
|
|
17221
|
+
"return": {
|
|
17222
|
+
"type": {
|
|
17223
|
+
"text": "void"
|
|
17224
|
+
}
|
|
17283
17225
|
},
|
|
17284
|
-
"
|
|
17285
|
-
|
|
17226
|
+
"parameters": [
|
|
17227
|
+
{
|
|
17228
|
+
"name": "saved",
|
|
17229
|
+
"type": {
|
|
17230
|
+
"text": "readonly PersistedInteractionCheckpoint[]"
|
|
17231
|
+
}
|
|
17232
|
+
}
|
|
17233
|
+
]
|
|
17286
17234
|
},
|
|
17287
17235
|
{
|
|
17288
|
-
"kind": "
|
|
17289
|
-
"name": "
|
|
17290
|
-
"
|
|
17291
|
-
"
|
|
17292
|
-
|
|
17293
|
-
|
|
17236
|
+
"kind": "method",
|
|
17237
|
+
"name": "getInteractionCheckpoint",
|
|
17238
|
+
"return": {
|
|
17239
|
+
"type": {
|
|
17240
|
+
"text": "PersistedInteractionCheckpoint | undefined"
|
|
17241
|
+
}
|
|
17242
|
+
}
|
|
17294
17243
|
},
|
|
17295
17244
|
{
|
|
17296
|
-
"kind": "
|
|
17297
|
-
"name": "
|
|
17298
|
-
"
|
|
17299
|
-
"
|
|
17245
|
+
"kind": "method",
|
|
17246
|
+
"name": "restoreInteractionCheckpoint",
|
|
17247
|
+
"return": {
|
|
17248
|
+
"type": {
|
|
17249
|
+
"text": "void"
|
|
17250
|
+
}
|
|
17300
17251
|
},
|
|
17301
|
-
"
|
|
17252
|
+
"parameters": [
|
|
17253
|
+
{
|
|
17254
|
+
"name": "saved",
|
|
17255
|
+
"type": {
|
|
17256
|
+
"text": "PersistedInteractionCheckpoint | undefined"
|
|
17257
|
+
}
|
|
17258
|
+
}
|
|
17259
|
+
]
|
|
17302
17260
|
},
|
|
17303
17261
|
{
|
|
17304
17262
|
"kind": "method",
|
|
17305
|
-
"name": "
|
|
17263
|
+
"name": "addInteractionInterceptor",
|
|
17264
|
+
"return": {
|
|
17265
|
+
"type": {
|
|
17266
|
+
"text": "() => void"
|
|
17267
|
+
}
|
|
17268
|
+
},
|
|
17269
|
+
"parameters": [
|
|
17270
|
+
{
|
|
17271
|
+
"name": "interceptor",
|
|
17272
|
+
"type": {
|
|
17273
|
+
"text": "InteractionInterceptor"
|
|
17274
|
+
}
|
|
17275
|
+
}
|
|
17276
|
+
],
|
|
17277
|
+
"description": "Forwarded, so an interceptor installed on any layer lands on the driver that opens the\ninteractions. A decorator that answers interactions installs its own on `this.inner`."
|
|
17306
17278
|
},
|
|
17307
17279
|
{
|
|
17308
17280
|
"kind": "method",
|
|
17309
|
-
"name": "
|
|
17281
|
+
"name": "presentInteraction",
|
|
17282
|
+
"return": {
|
|
17283
|
+
"type": {
|
|
17284
|
+
"text": "Promise<T>"
|
|
17285
|
+
}
|
|
17286
|
+
},
|
|
17287
|
+
"parameters": [
|
|
17288
|
+
{
|
|
17289
|
+
"name": "componentName",
|
|
17290
|
+
"type": {
|
|
17291
|
+
"text": "string"
|
|
17292
|
+
}
|
|
17293
|
+
},
|
|
17294
|
+
{
|
|
17295
|
+
"name": "data",
|
|
17296
|
+
"type": {
|
|
17297
|
+
"text": "unknown"
|
|
17298
|
+
}
|
|
17299
|
+
},
|
|
17300
|
+
{
|
|
17301
|
+
"name": "options",
|
|
17302
|
+
"optional": true,
|
|
17303
|
+
"type": {
|
|
17304
|
+
"text": "InteractionRequestOptions"
|
|
17305
|
+
}
|
|
17306
|
+
}
|
|
17307
|
+
]
|
|
17310
17308
|
},
|
|
17311
17309
|
{
|
|
17312
17310
|
"kind": "method",
|
|
17313
|
-
"name": "
|
|
17311
|
+
"name": "provideHandlerCapability",
|
|
17312
|
+
"return": {
|
|
17313
|
+
"type": {
|
|
17314
|
+
"text": "() => void"
|
|
17315
|
+
}
|
|
17316
|
+
},
|
|
17314
17317
|
"parameters": [
|
|
17315
17318
|
{
|
|
17316
|
-
"name": "
|
|
17319
|
+
"name": "name",
|
|
17317
17320
|
"type": {
|
|
17318
|
-
"text": "
|
|
17321
|
+
"text": "string"
|
|
17319
17322
|
}
|
|
17320
17323
|
},
|
|
17321
17324
|
{
|
|
17322
|
-
"name": "
|
|
17325
|
+
"name": "factory",
|
|
17323
17326
|
"type": {
|
|
17324
|
-
"text": "
|
|
17327
|
+
"text": "HandlerCapabilityFactory"
|
|
17325
17328
|
}
|
|
17326
17329
|
}
|
|
17327
17330
|
]
|
|
17328
17331
|
},
|
|
17329
17332
|
{
|
|
17330
17333
|
"kind": "method",
|
|
17331
|
-
"name": "
|
|
17332
|
-
"privacy": "private",
|
|
17334
|
+
"name": "getContextReserve",
|
|
17333
17335
|
"return": {
|
|
17334
17336
|
"type": {
|
|
17335
|
-
"text": "
|
|
17337
|
+
"text": "ContextReserveResolution | undefined"
|
|
17336
17338
|
}
|
|
17337
|
-
}
|
|
17338
|
-
"description": "The session of the assistant this bubble holds, when it can tell: the key the assistant\npublishes under, read from the assistant in the bubble's light DOM — whether or not the dialog\n(and with it the slot) is rendered, since the badge shows while it is not."
|
|
17339
|
+
}
|
|
17339
17340
|
},
|
|
17340
17341
|
{
|
|
17341
17342
|
"kind": "method",
|
|
17342
|
-
"name": "
|
|
17343
|
-
"privacy": "private",
|
|
17343
|
+
"name": "getPreambleTokens",
|
|
17344
17344
|
"return": {
|
|
17345
17345
|
"type": {
|
|
17346
|
-
"text": "
|
|
17346
|
+
"text": "number | undefined"
|
|
17347
17347
|
}
|
|
17348
|
-
}
|
|
17349
|
-
"description": "Open the dialog beside the orb."
|
|
17348
|
+
}
|
|
17350
17349
|
},
|
|
17351
17350
|
{
|
|
17352
17351
|
"kind": "method",
|
|
17353
|
-
"name": "
|
|
17354
|
-
"privacy": "private",
|
|
17352
|
+
"name": "setContextGuard",
|
|
17355
17353
|
"return": {
|
|
17356
17354
|
"type": {
|
|
17357
17355
|
"text": "void"
|
|
17358
17356
|
}
|
|
17359
17357
|
},
|
|
17360
|
-
"
|
|
17358
|
+
"parameters": [
|
|
17359
|
+
{
|
|
17360
|
+
"name": "policy",
|
|
17361
|
+
"optional": true,
|
|
17362
|
+
"type": {
|
|
17363
|
+
"text": "ContextGuardPolicy"
|
|
17364
|
+
}
|
|
17365
|
+
}
|
|
17366
|
+
]
|
|
17361
17367
|
},
|
|
17362
17368
|
{
|
|
17363
17369
|
"kind": "method",
|
|
17364
|
-
"name": "
|
|
17365
|
-
"privacy": "private",
|
|
17370
|
+
"name": "compact",
|
|
17366
17371
|
"return": {
|
|
17367
17372
|
"type": {
|
|
17368
|
-
"text": "
|
|
17373
|
+
"text": "Promise<ChatMessage | null>"
|
|
17369
17374
|
}
|
|
17370
17375
|
},
|
|
17371
|
-
"description": "Badge only for this bubble's own assistant (GENC-1660)."
|
|
17372
|
-
},
|
|
17373
|
-
{
|
|
17374
|
-
"kind": "method",
|
|
17375
|
-
"name": "dialogContentChanged",
|
|
17376
17376
|
"parameters": [
|
|
17377
17377
|
{
|
|
17378
|
-
"name": "
|
|
17379
|
-
"
|
|
17380
|
-
"text": "HTMLElement[]"
|
|
17381
|
-
}
|
|
17382
|
-
},
|
|
17383
|
-
{
|
|
17384
|
-
"name": "next",
|
|
17378
|
+
"name": "options",
|
|
17379
|
+
"optional": true,
|
|
17385
17380
|
"type": {
|
|
17386
|
-
"text": "
|
|
17381
|
+
"text": "CompactionPlanOptions"
|
|
17387
17382
|
}
|
|
17388
17383
|
}
|
|
17389
17384
|
]
|
|
17390
17385
|
},
|
|
17391
17386
|
{
|
|
17392
17387
|
"kind": "method",
|
|
17393
|
-
"name": "
|
|
17394
|
-
"privacy": "private",
|
|
17388
|
+
"name": "getCompactionPlan",
|
|
17395
17389
|
"return": {
|
|
17396
17390
|
"type": {
|
|
17397
|
-
"text": "
|
|
17391
|
+
"text": "CompactionProjection | null"
|
|
17398
17392
|
}
|
|
17399
17393
|
},
|
|
17400
17394
|
"parameters": [
|
|
17401
17395
|
{
|
|
17402
|
-
"name": "
|
|
17396
|
+
"name": "options",
|
|
17403
17397
|
"optional": true,
|
|
17404
17398
|
"type": {
|
|
17405
|
-
"text": "
|
|
17399
|
+
"text": "CompactionPlanOptions"
|
|
17406
17400
|
}
|
|
17407
17401
|
}
|
|
17408
17402
|
]
|
|
17409
17403
|
},
|
|
17410
17404
|
{
|
|
17411
17405
|
"kind": "method",
|
|
17412
|
-
"name": "
|
|
17413
|
-
"
|
|
17406
|
+
"name": "canCompact",
|
|
17407
|
+
"return": {
|
|
17408
|
+
"type": {
|
|
17409
|
+
"text": "boolean"
|
|
17410
|
+
}
|
|
17411
|
+
},
|
|
17414
17412
|
"parameters": [
|
|
17415
17413
|
{
|
|
17416
|
-
"name": "
|
|
17414
|
+
"name": "options",
|
|
17415
|
+
"optional": true,
|
|
17417
17416
|
"type": {
|
|
17418
|
-
"text": "
|
|
17417
|
+
"text": "CompactionPlanOptions"
|
|
17419
17418
|
}
|
|
17420
17419
|
}
|
|
17421
17420
|
]
|
|
17422
17421
|
},
|
|
17423
17422
|
{
|
|
17424
17423
|
"kind": "method",
|
|
17425
|
-
"name": "
|
|
17426
|
-
"
|
|
17424
|
+
"name": "isBusy",
|
|
17425
|
+
"return": {
|
|
17426
|
+
"type": {
|
|
17427
|
+
"text": "boolean"
|
|
17428
|
+
}
|
|
17429
|
+
}
|
|
17427
17430
|
},
|
|
17428
17431
|
{
|
|
17429
17432
|
"kind": "method",
|
|
17430
|
-
"name": "
|
|
17433
|
+
"name": "getSuggestions",
|
|
17434
|
+
"return": {
|
|
17435
|
+
"type": {
|
|
17436
|
+
"text": "Promise<string[]>"
|
|
17437
|
+
}
|
|
17438
|
+
},
|
|
17431
17439
|
"parameters": [
|
|
17432
17440
|
{
|
|
17433
|
-
"name": "
|
|
17441
|
+
"name": "history",
|
|
17434
17442
|
"type": {
|
|
17435
|
-
"text": "
|
|
17443
|
+
"text": "ChatMessage[]"
|
|
17436
17444
|
}
|
|
17437
|
-
}
|
|
17438
|
-
]
|
|
17439
|
-
},
|
|
17440
|
-
{
|
|
17441
|
-
"kind": "method",
|
|
17442
|
-
"name": "onDialogHeaderMouseDown",
|
|
17443
|
-
"parameters": [
|
|
17445
|
+
},
|
|
17444
17446
|
{
|
|
17445
|
-
"name": "
|
|
17447
|
+
"name": "prompt",
|
|
17446
17448
|
"type": {
|
|
17447
|
-
"text": "
|
|
17449
|
+
"text": "string"
|
|
17450
|
+
}
|
|
17451
|
+
},
|
|
17452
|
+
{
|
|
17453
|
+
"name": "count",
|
|
17454
|
+
"type": {
|
|
17455
|
+
"text": "number"
|
|
17456
|
+
}
|
|
17457
|
+
},
|
|
17458
|
+
{
|
|
17459
|
+
"name": "allAgentInfo",
|
|
17460
|
+
"optional": true,
|
|
17461
|
+
"type": {
|
|
17462
|
+
"text": "AllAgentSummary[]"
|
|
17448
17463
|
}
|
|
17449
17464
|
}
|
|
17450
17465
|
]
|
|
17451
17466
|
},
|
|
17452
|
-
{
|
|
17453
|
-
"kind": "field",
|
|
17454
|
-
"name": "onCloseBtnClick",
|
|
17455
|
-
"privacy": "private",
|
|
17456
|
-
"readonly": true
|
|
17457
|
-
},
|
|
17458
17467
|
{
|
|
17459
17468
|
"kind": "method",
|
|
17460
|
-
"name": "
|
|
17461
|
-
"
|
|
17469
|
+
"name": "getTurnSnapshots",
|
|
17470
|
+
"return": {
|
|
17471
|
+
"type": {
|
|
17472
|
+
"text": "ReadonlyArray<TurnSnapshot>"
|
|
17473
|
+
}
|
|
17474
|
+
}
|
|
17462
17475
|
},
|
|
17463
17476
|
{
|
|
17464
17477
|
"kind": "method",
|
|
17465
|
-
"name": "
|
|
17466
|
-
"
|
|
17467
|
-
|
|
17468
|
-
|
|
17469
|
-
|
|
17470
|
-
|
|
17471
|
-
"
|
|
17472
|
-
},
|
|
17473
|
-
{
|
|
17474
|
-
"kind": "field",
|
|
17475
|
-
"name": "applyDragFrame",
|
|
17476
|
-
"privacy": "private"
|
|
17477
|
-
},
|
|
17478
|
-
{
|
|
17479
|
-
"kind": "field",
|
|
17480
|
-
"name": "onDocMouseUp",
|
|
17481
|
-
"privacy": "private"
|
|
17478
|
+
"name": "getExternalDiagnostics",
|
|
17479
|
+
"return": {
|
|
17480
|
+
"type": {
|
|
17481
|
+
"text": "ReadonlyArray<DiagnosticEntry>"
|
|
17482
|
+
}
|
|
17483
|
+
},
|
|
17484
|
+
"description": "The inner driver's entries. Diagnostics compose down the stack: a decorator with entries of\nits own overrides this and appends them to `super.getExternalDiagnostics()`."
|
|
17482
17485
|
},
|
|
17483
17486
|
{
|
|
17484
17487
|
"kind": "method",
|
|
17485
|
-
"name": "
|
|
17488
|
+
"name": "getActiveProviderName",
|
|
17489
|
+
"return": {
|
|
17490
|
+
"type": {
|
|
17491
|
+
"text": "string"
|
|
17492
|
+
}
|
|
17493
|
+
}
|
|
17486
17494
|
},
|
|
17487
17495
|
{
|
|
17488
17496
|
"kind": "method",
|
|
17489
|
-
"name": "
|
|
17490
|
-
|
|
17491
|
-
|
|
17492
|
-
|
|
17493
|
-
|
|
17494
|
-
|
|
17495
|
-
"text": "string"
|
|
17496
|
-
},
|
|
17497
|
-
"readonly": true
|
|
17498
|
-
}
|
|
17499
|
-
],
|
|
17500
|
-
"attributes": [
|
|
17501
|
-
{
|
|
17502
|
-
"name": "title",
|
|
17503
|
-
"type": {
|
|
17504
|
-
"text": "string"
|
|
17505
|
-
},
|
|
17506
|
-
"default": "'AI Assistant'",
|
|
17507
|
-
"fieldName": "title"
|
|
17508
|
-
},
|
|
17509
|
-
{
|
|
17510
|
-
"name": "image-src",
|
|
17511
|
-
"type": {
|
|
17512
|
-
"text": "string | undefined"
|
|
17513
|
-
},
|
|
17514
|
-
"fieldName": "imageSrc"
|
|
17515
|
-
},
|
|
17516
|
-
{
|
|
17517
|
-
"name": "design-system-prefix",
|
|
17518
|
-
"type": {
|
|
17519
|
-
"text": "string"
|
|
17520
|
-
},
|
|
17521
|
-
"default": "'rapid'",
|
|
17522
|
-
"fieldName": "designSystemPrefix"
|
|
17497
|
+
"name": "dispose",
|
|
17498
|
+
"return": {
|
|
17499
|
+
"type": {
|
|
17500
|
+
"text": "void | Promise<void>"
|
|
17501
|
+
}
|
|
17502
|
+
}
|
|
17523
17503
|
},
|
|
17524
17504
|
{
|
|
17525
|
-
"
|
|
17526
|
-
"
|
|
17527
|
-
|
|
17528
|
-
|
|
17529
|
-
|
|
17530
|
-
|
|
17531
|
-
|
|
17505
|
+
"kind": "method",
|
|
17506
|
+
"name": "cancel",
|
|
17507
|
+
"return": {
|
|
17508
|
+
"type": {
|
|
17509
|
+
"text": "void"
|
|
17510
|
+
}
|
|
17511
|
+
}
|
|
17532
17512
|
}
|
|
17533
17513
|
],
|
|
17534
17514
|
"superclass": {
|
|
17535
|
-
"name": "
|
|
17536
|
-
"
|
|
17537
|
-
}
|
|
17538
|
-
"tagName": "foundation-ai-chat-bubble",
|
|
17539
|
-
"customElement": true
|
|
17515
|
+
"name": "EventTarget",
|
|
17516
|
+
"module": "src/components/ai-driver/base-driver-decorator.ts"
|
|
17517
|
+
}
|
|
17540
17518
|
}
|
|
17541
17519
|
],
|
|
17542
17520
|
"exports": [
|
|
17543
17521
|
{
|
|
17544
17522
|
"kind": "js",
|
|
17545
|
-
"name": "
|
|
17546
|
-
"declaration": {
|
|
17547
|
-
"name": "AiChatBubble",
|
|
17548
|
-
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
17549
|
-
}
|
|
17550
|
-
},
|
|
17551
|
-
{
|
|
17552
|
-
"kind": "custom-element-definition",
|
|
17553
|
-
"name": "foundation-ai-chat-bubble",
|
|
17523
|
+
"name": "BaseDriverDecorator",
|
|
17554
17524
|
"declaration": {
|
|
17555
|
-
"name": "
|
|
17556
|
-
"module": "src/components/
|
|
17525
|
+
"name": "BaseDriverDecorator",
|
|
17526
|
+
"module": "src/components/ai-driver/base-driver-decorator.ts"
|
|
17557
17527
|
}
|
|
17558
17528
|
}
|
|
17559
17529
|
]
|
|
17560
17530
|
},
|
|
17561
17531
|
{
|
|
17562
17532
|
"kind": "javascript-module",
|
|
17563
|
-
"path": "src/components/
|
|
17533
|
+
"path": "src/components/ai-driver/index.ts",
|
|
17564
17534
|
"declarations": [],
|
|
17565
17535
|
"exports": [
|
|
17566
17536
|
{
|
|
17567
17537
|
"kind": "js",
|
|
17568
|
-
"name": "
|
|
17538
|
+
"name": "AiDriver",
|
|
17569
17539
|
"declaration": {
|
|
17570
|
-
"name": "
|
|
17571
|
-
"
|
|
17540
|
+
"name": "AiDriver",
|
|
17541
|
+
"module": "./ai-driver"
|
|
17542
|
+
}
|
|
17543
|
+
},
|
|
17544
|
+
{
|
|
17545
|
+
"kind": "js",
|
|
17546
|
+
"name": "AiDriverEventMap",
|
|
17547
|
+
"declaration": {
|
|
17548
|
+
"name": "AiDriverEventMap",
|
|
17549
|
+
"module": "./ai-driver"
|
|
17550
|
+
}
|
|
17551
|
+
},
|
|
17552
|
+
{
|
|
17553
|
+
"kind": "js",
|
|
17554
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
17555
|
+
"declaration": {
|
|
17556
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
17557
|
+
"module": "./ai-driver"
|
|
17558
|
+
}
|
|
17559
|
+
},
|
|
17560
|
+
{
|
|
17561
|
+
"kind": "js",
|
|
17562
|
+
"name": "BaseDriverDecorator",
|
|
17563
|
+
"declaration": {
|
|
17564
|
+
"name": "BaseDriverDecorator",
|
|
17565
|
+
"module": "./base-driver-decorator"
|
|
17572
17566
|
}
|
|
17573
17567
|
}
|
|
17574
17568
|
]
|
|
17575
17569
|
},
|
|
17570
|
+
{
|
|
17571
|
+
"kind": "javascript-module",
|
|
17572
|
+
"path": "src/components/ai-driver/stub-driver.ts",
|
|
17573
|
+
"declarations": [],
|
|
17574
|
+
"exports": []
|
|
17575
|
+
},
|
|
17576
17576
|
{
|
|
17577
17577
|
"kind": "javascript-module",
|
|
17578
17578
|
"path": "src/components/chat-driver/align-event-globals.ts",
|