@genesislcap/ai-assistant 15.99.1 → 15.99.3
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 +958 -958
- package/package.json +17 -17
|
@@ -18756,794 +18756,724 @@
|
|
|
18756
18756
|
},
|
|
18757
18757
|
{
|
|
18758
18758
|
"kind": "javascript-module",
|
|
18759
|
-
"path": "src/components/
|
|
18759
|
+
"path": "src/components/ai-driver/ai-driver.ts",
|
|
18760
18760
|
"declarations": [
|
|
18761
18761
|
{
|
|
18762
18762
|
"kind": "variable",
|
|
18763
|
-
"name": "
|
|
18764
|
-
"
|
|
18765
|
-
}
|
|
18766
|
-
],
|
|
18767
|
-
"exports": [
|
|
18768
|
-
{
|
|
18769
|
-
"kind": "js",
|
|
18770
|
-
"name": "styles",
|
|
18771
|
-
"declaration": {
|
|
18772
|
-
"name": "styles",
|
|
18773
|
-
"module": "src/components/chat-bubble/chat-bubble.styles.ts"
|
|
18774
|
-
}
|
|
18775
|
-
}
|
|
18776
|
-
]
|
|
18777
|
-
},
|
|
18778
|
-
{
|
|
18779
|
-
"kind": "javascript-module",
|
|
18780
|
-
"path": "src/components/chat-bubble/chat-bubble.template.ts",
|
|
18781
|
-
"declarations": [
|
|
18782
|
-
{
|
|
18783
|
-
"kind": "function",
|
|
18784
|
-
"name": "AiChatBubbleTemplate",
|
|
18785
|
-
"return": {
|
|
18786
|
-
"type": {
|
|
18787
|
-
"text": "ViewTemplate<AiChatBubble>"
|
|
18788
|
-
}
|
|
18789
|
-
}
|
|
18763
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
18764
|
+
"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."
|
|
18790
18765
|
}
|
|
18791
18766
|
],
|
|
18792
18767
|
"exports": [
|
|
18793
18768
|
{
|
|
18794
18769
|
"kind": "js",
|
|
18795
|
-
"name": "
|
|
18770
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
18796
18771
|
"declaration": {
|
|
18797
|
-
"name": "
|
|
18798
|
-
"module": "src/components/
|
|
18772
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
18773
|
+
"module": "src/components/ai-driver/ai-driver.ts"
|
|
18799
18774
|
}
|
|
18800
18775
|
}
|
|
18801
18776
|
]
|
|
18802
18777
|
},
|
|
18803
18778
|
{
|
|
18804
18779
|
"kind": "javascript-module",
|
|
18805
|
-
"path": "src/components/
|
|
18780
|
+
"path": "src/components/ai-driver/base-driver-decorator.ts",
|
|
18806
18781
|
"declarations": [
|
|
18807
18782
|
{
|
|
18808
18783
|
"kind": "class",
|
|
18809
|
-
"description": "
|
|
18810
|
-
"name": "
|
|
18784
|
+
"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.",
|
|
18785
|
+
"name": "BaseDriverDecorator",
|
|
18811
18786
|
"members": [
|
|
18812
18787
|
{
|
|
18813
18788
|
"kind": "field",
|
|
18814
|
-
"name": "
|
|
18815
|
-
"type": {
|
|
18816
|
-
"text": "string"
|
|
18817
|
-
},
|
|
18818
|
-
"default": "'AI Assistant'"
|
|
18819
|
-
},
|
|
18820
|
-
{
|
|
18821
|
-
"kind": "field",
|
|
18822
|
-
"name": "imageSrc",
|
|
18823
|
-
"type": {
|
|
18824
|
-
"text": "string | undefined"
|
|
18825
|
-
}
|
|
18826
|
-
},
|
|
18827
|
-
{
|
|
18828
|
-
"kind": "field",
|
|
18829
|
-
"name": "designSystemPrefix",
|
|
18789
|
+
"name": "detachers",
|
|
18830
18790
|
"type": {
|
|
18831
|
-
"text": "
|
|
18791
|
+
"text": "Array<() => void>"
|
|
18832
18792
|
},
|
|
18833
|
-
"
|
|
18793
|
+
"privacy": "private",
|
|
18794
|
+
"readonly": true,
|
|
18795
|
+
"default": "[]",
|
|
18796
|
+
"description": "Undoes this layer's hold on its inner driver; see BaseDriverDecorator.detach."
|
|
18834
18797
|
},
|
|
18835
18798
|
{
|
|
18836
|
-
"kind": "
|
|
18837
|
-
"name": "
|
|
18838
|
-
"
|
|
18839
|
-
"
|
|
18799
|
+
"kind": "method",
|
|
18800
|
+
"name": "detach",
|
|
18801
|
+
"return": {
|
|
18802
|
+
"type": {
|
|
18803
|
+
"text": "void"
|
|
18804
|
+
}
|
|
18840
18805
|
},
|
|
18841
|
-
"
|
|
18842
|
-
"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."
|
|
18806
|
+
"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."
|
|
18843
18807
|
},
|
|
18844
18808
|
{
|
|
18845
|
-
"kind": "
|
|
18846
|
-
"name": "
|
|
18847
|
-
"
|
|
18848
|
-
|
|
18809
|
+
"kind": "method",
|
|
18810
|
+
"name": "onDetach",
|
|
18811
|
+
"privacy": "protected",
|
|
18812
|
+
"return": {
|
|
18813
|
+
"type": {
|
|
18814
|
+
"text": "void"
|
|
18815
|
+
}
|
|
18849
18816
|
},
|
|
18850
|
-
"
|
|
18851
|
-
|
|
18817
|
+
"parameters": [
|
|
18818
|
+
{
|
|
18819
|
+
"name": "undo",
|
|
18820
|
+
"type": {
|
|
18821
|
+
"text": "() => void"
|
|
18822
|
+
}
|
|
18823
|
+
}
|
|
18824
|
+
],
|
|
18825
|
+
"description": "Register something BaseDriverDecorator.detach must undo."
|
|
18852
18826
|
},
|
|
18853
18827
|
{
|
|
18854
|
-
"kind": "
|
|
18855
|
-
"name": "
|
|
18856
|
-
"
|
|
18857
|
-
"
|
|
18828
|
+
"kind": "method",
|
|
18829
|
+
"name": "sendMessage",
|
|
18830
|
+
"return": {
|
|
18831
|
+
"type": {
|
|
18832
|
+
"text": "Promise<ChatDriverResult>"
|
|
18833
|
+
}
|
|
18858
18834
|
},
|
|
18859
|
-
"
|
|
18860
|
-
|
|
18835
|
+
"parameters": [
|
|
18836
|
+
{
|
|
18837
|
+
"name": "input",
|
|
18838
|
+
"type": {
|
|
18839
|
+
"text": "string"
|
|
18840
|
+
}
|
|
18841
|
+
},
|
|
18842
|
+
{
|
|
18843
|
+
"name": "attachments",
|
|
18844
|
+
"optional": true,
|
|
18845
|
+
"type": {
|
|
18846
|
+
"text": "ChatAttachment[]"
|
|
18847
|
+
}
|
|
18848
|
+
},
|
|
18849
|
+
{
|
|
18850
|
+
"name": "options",
|
|
18851
|
+
"optional": true,
|
|
18852
|
+
"type": {
|
|
18853
|
+
"text": "SendMessageOptions"
|
|
18854
|
+
}
|
|
18855
|
+
}
|
|
18856
|
+
]
|
|
18861
18857
|
},
|
|
18862
18858
|
{
|
|
18863
|
-
"kind": "
|
|
18864
|
-
"name": "
|
|
18865
|
-
"
|
|
18866
|
-
"
|
|
18859
|
+
"kind": "method",
|
|
18860
|
+
"name": "continueFromHistory",
|
|
18861
|
+
"return": {
|
|
18862
|
+
"type": {
|
|
18863
|
+
"text": "Promise<ChatDriverResult>"
|
|
18864
|
+
}
|
|
18867
18865
|
},
|
|
18868
|
-
"
|
|
18869
|
-
|
|
18866
|
+
"parameters": [
|
|
18867
|
+
{
|
|
18868
|
+
"name": "transientPrimer",
|
|
18869
|
+
"optional": true,
|
|
18870
|
+
"type": {
|
|
18871
|
+
"text": "ChatMessage[]"
|
|
18872
|
+
}
|
|
18873
|
+
},
|
|
18874
|
+
{
|
|
18875
|
+
"name": "options",
|
|
18876
|
+
"optional": true,
|
|
18877
|
+
"type": {
|
|
18878
|
+
"text": "ContinueFromHistoryOptions"
|
|
18879
|
+
}
|
|
18880
|
+
}
|
|
18881
|
+
]
|
|
18870
18882
|
},
|
|
18871
18883
|
{
|
|
18872
|
-
"kind": "
|
|
18873
|
-
"name": "
|
|
18874
|
-
"
|
|
18875
|
-
"
|
|
18884
|
+
"kind": "method",
|
|
18885
|
+
"name": "resolveInteraction",
|
|
18886
|
+
"return": {
|
|
18887
|
+
"type": {
|
|
18888
|
+
"text": "void"
|
|
18889
|
+
}
|
|
18876
18890
|
},
|
|
18877
|
-
"
|
|
18878
|
-
|
|
18891
|
+
"parameters": [
|
|
18892
|
+
{
|
|
18893
|
+
"name": "interactionId",
|
|
18894
|
+
"type": {
|
|
18895
|
+
"text": "string"
|
|
18896
|
+
}
|
|
18897
|
+
},
|
|
18898
|
+
{
|
|
18899
|
+
"name": "result",
|
|
18900
|
+
"type": {
|
|
18901
|
+
"text": "unknown"
|
|
18902
|
+
}
|
|
18903
|
+
}
|
|
18904
|
+
]
|
|
18879
18905
|
},
|
|
18880
18906
|
{
|
|
18881
|
-
"kind": "
|
|
18882
|
-
"name": "
|
|
18883
|
-
"
|
|
18884
|
-
"
|
|
18907
|
+
"kind": "method",
|
|
18908
|
+
"name": "recordExternalCost",
|
|
18909
|
+
"return": {
|
|
18910
|
+
"type": {
|
|
18911
|
+
"text": "boolean"
|
|
18912
|
+
}
|
|
18885
18913
|
},
|
|
18886
|
-
"
|
|
18887
|
-
|
|
18914
|
+
"parameters": [
|
|
18915
|
+
{
|
|
18916
|
+
"name": "interactionId",
|
|
18917
|
+
"type": {
|
|
18918
|
+
"text": "string"
|
|
18919
|
+
}
|
|
18920
|
+
},
|
|
18921
|
+
{
|
|
18922
|
+
"name": "costUsd",
|
|
18923
|
+
"type": {
|
|
18924
|
+
"text": "number"
|
|
18925
|
+
}
|
|
18926
|
+
}
|
|
18927
|
+
]
|
|
18888
18928
|
},
|
|
18889
18929
|
{
|
|
18890
|
-
"kind": "
|
|
18891
|
-
"name": "
|
|
18892
|
-
"
|
|
18893
|
-
"
|
|
18930
|
+
"kind": "method",
|
|
18931
|
+
"name": "getInteractionContext",
|
|
18932
|
+
"return": {
|
|
18933
|
+
"type": {
|
|
18934
|
+
"text": "InteractionContext | undefined"
|
|
18935
|
+
}
|
|
18894
18936
|
},
|
|
18895
|
-
"
|
|
18896
|
-
|
|
18937
|
+
"parameters": [
|
|
18938
|
+
{
|
|
18939
|
+
"name": "interactionId",
|
|
18940
|
+
"type": {
|
|
18941
|
+
"text": "string"
|
|
18942
|
+
}
|
|
18943
|
+
}
|
|
18944
|
+
]
|
|
18897
18945
|
},
|
|
18898
18946
|
{
|
|
18899
|
-
"kind": "
|
|
18900
|
-
"name": "
|
|
18901
|
-
"
|
|
18902
|
-
"
|
|
18947
|
+
"kind": "method",
|
|
18948
|
+
"name": "loadHistory",
|
|
18949
|
+
"return": {
|
|
18950
|
+
"type": {
|
|
18951
|
+
"text": "void"
|
|
18952
|
+
}
|
|
18903
18953
|
},
|
|
18904
|
-
"
|
|
18905
|
-
|
|
18906
|
-
|
|
18907
|
-
|
|
18908
|
-
|
|
18909
|
-
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
},
|
|
18913
|
-
"default": "false",
|
|
18914
|
-
"description": "Whether the bubble orb is currently hovered. @internal"
|
|
18915
|
-
},
|
|
18916
|
-
{
|
|
18917
|
-
"kind": "field",
|
|
18918
|
-
"name": "needsUser",
|
|
18919
|
-
"type": {
|
|
18920
|
-
"text": "boolean"
|
|
18921
|
-
},
|
|
18922
|
-
"default": "false",
|
|
18923
|
-
"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"
|
|
18924
|
-
},
|
|
18925
|
-
{
|
|
18926
|
-
"kind": "field",
|
|
18927
|
-
"name": "unsubBus",
|
|
18928
|
-
"type": {
|
|
18929
|
-
"text": "() => void | undefined"
|
|
18930
|
-
},
|
|
18931
|
-
"privacy": "private"
|
|
18932
|
-
},
|
|
18933
|
-
{
|
|
18934
|
-
"kind": "field",
|
|
18935
|
-
"name": "closableAssistant",
|
|
18936
|
-
"type": {
|
|
18937
|
-
"text": "Element | undefined"
|
|
18938
|
-
},
|
|
18939
|
-
"privacy": "private",
|
|
18940
|
-
"description": "The assistant whose header Close button this bubble turned on, and listens to."
|
|
18941
|
-
},
|
|
18942
|
-
{
|
|
18943
|
-
"kind": "field",
|
|
18944
|
-
"name": "resizeObserver",
|
|
18945
|
-
"type": {
|
|
18946
|
-
"text": "ResizeObserver | undefined"
|
|
18947
|
-
},
|
|
18948
|
-
"privacy": "private"
|
|
18949
|
-
},
|
|
18950
|
-
{
|
|
18951
|
-
"kind": "field",
|
|
18952
|
-
"name": "dragging",
|
|
18953
|
-
"type": {
|
|
18954
|
-
"text": "boolean"
|
|
18955
|
-
},
|
|
18956
|
-
"privacy": "private",
|
|
18957
|
-
"default": "false"
|
|
18958
|
-
},
|
|
18959
|
-
{
|
|
18960
|
-
"kind": "field",
|
|
18961
|
-
"name": "dragTarget",
|
|
18962
|
-
"type": {
|
|
18963
|
-
"text": "'bubble' | 'dialog' | null"
|
|
18964
|
-
},
|
|
18965
|
-
"privacy": "private",
|
|
18966
|
-
"default": "null"
|
|
18967
|
-
},
|
|
18968
|
-
{
|
|
18969
|
-
"kind": "field",
|
|
18970
|
-
"name": "startMouseX",
|
|
18971
|
-
"type": {
|
|
18972
|
-
"text": "number"
|
|
18973
|
-
},
|
|
18974
|
-
"privacy": "private",
|
|
18975
|
-
"default": "0"
|
|
18976
|
-
},
|
|
18977
|
-
{
|
|
18978
|
-
"kind": "field",
|
|
18979
|
-
"name": "startMouseY",
|
|
18980
|
-
"type": {
|
|
18981
|
-
"text": "number"
|
|
18982
|
-
},
|
|
18983
|
-
"privacy": "private",
|
|
18984
|
-
"default": "0"
|
|
18985
|
-
},
|
|
18986
|
-
{
|
|
18987
|
-
"kind": "field",
|
|
18988
|
-
"name": "startElemLeft",
|
|
18989
|
-
"type": {
|
|
18990
|
-
"text": "number"
|
|
18991
|
-
},
|
|
18992
|
-
"privacy": "private",
|
|
18993
|
-
"default": "0"
|
|
18994
|
-
},
|
|
18995
|
-
{
|
|
18996
|
-
"kind": "field",
|
|
18997
|
-
"name": "startElemTop",
|
|
18998
|
-
"type": {
|
|
18999
|
-
"text": "number"
|
|
19000
|
-
},
|
|
19001
|
-
"privacy": "private",
|
|
19002
|
-
"default": "0"
|
|
19003
|
-
},
|
|
19004
|
-
{
|
|
19005
|
-
"kind": "field",
|
|
19006
|
-
"name": "hasDragged",
|
|
19007
|
-
"type": {
|
|
19008
|
-
"text": "boolean"
|
|
19009
|
-
},
|
|
19010
|
-
"privacy": "private",
|
|
19011
|
-
"default": "false"
|
|
19012
|
-
},
|
|
19013
|
-
{
|
|
19014
|
-
"kind": "field",
|
|
19015
|
-
"name": "latestMouseX",
|
|
19016
|
-
"type": {
|
|
19017
|
-
"text": "number"
|
|
19018
|
-
},
|
|
19019
|
-
"privacy": "private",
|
|
19020
|
-
"default": "0"
|
|
19021
|
-
},
|
|
19022
|
-
{
|
|
19023
|
-
"kind": "field",
|
|
19024
|
-
"name": "latestMouseY",
|
|
19025
|
-
"type": {
|
|
19026
|
-
"text": "number"
|
|
19027
|
-
},
|
|
19028
|
-
"privacy": "private",
|
|
19029
|
-
"default": "0"
|
|
19030
|
-
},
|
|
19031
|
-
{
|
|
19032
|
-
"kind": "field",
|
|
19033
|
-
"name": "rafHandle",
|
|
19034
|
-
"type": {
|
|
19035
|
-
"text": "number | undefined"
|
|
19036
|
-
},
|
|
19037
|
-
"privacy": "private"
|
|
19038
|
-
},
|
|
19039
|
-
{
|
|
19040
|
-
"kind": "field",
|
|
19041
|
-
"name": "closeAbort",
|
|
19042
|
-
"type": {
|
|
19043
|
-
"text": "AbortController | undefined"
|
|
19044
|
-
},
|
|
19045
|
-
"privacy": "private"
|
|
19046
|
-
},
|
|
19047
|
-
{
|
|
19048
|
-
"kind": "method",
|
|
19049
|
-
"name": "onBubbleMouseEnter"
|
|
18954
|
+
"parameters": [
|
|
18955
|
+
{
|
|
18956
|
+
"name": "messages",
|
|
18957
|
+
"type": {
|
|
18958
|
+
"text": "ChatMessage[]"
|
|
18959
|
+
}
|
|
18960
|
+
}
|
|
18961
|
+
]
|
|
19050
18962
|
},
|
|
19051
18963
|
{
|
|
19052
18964
|
"kind": "method",
|
|
19053
|
-
"name": "
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19057
|
-
|
|
18965
|
+
"name": "primeRestoredAgentState",
|
|
18966
|
+
"return": {
|
|
18967
|
+
"type": {
|
|
18968
|
+
"text": "void"
|
|
18969
|
+
}
|
|
18970
|
+
},
|
|
19058
18971
|
"parameters": [
|
|
19059
18972
|
{
|
|
19060
|
-
"name": "
|
|
18973
|
+
"name": "snapshots",
|
|
19061
18974
|
"type": {
|
|
19062
|
-
"text": "
|
|
18975
|
+
"text": "Record<string, unknown>"
|
|
19063
18976
|
}
|
|
19064
|
-
}
|
|
18977
|
+
}
|
|
18978
|
+
]
|
|
18979
|
+
},
|
|
18980
|
+
{
|
|
18981
|
+
"kind": "method",
|
|
18982
|
+
"name": "canRestoreFlowOwner",
|
|
18983
|
+
"return": {
|
|
18984
|
+
"type": {
|
|
18985
|
+
"text": "boolean"
|
|
18986
|
+
}
|
|
18987
|
+
},
|
|
18988
|
+
"parameters": [
|
|
19065
18989
|
{
|
|
19066
|
-
"name": "
|
|
18990
|
+
"name": "agentName",
|
|
19067
18991
|
"type": {
|
|
19068
|
-
"text": "
|
|
18992
|
+
"text": "string"
|
|
19069
18993
|
}
|
|
19070
18994
|
}
|
|
19071
18995
|
]
|
|
19072
18996
|
},
|
|
19073
18997
|
{
|
|
19074
18998
|
"kind": "method",
|
|
19075
|
-
"name": "
|
|
19076
|
-
"privacy": "private",
|
|
18999
|
+
"name": "canResumeRestoredFlow",
|
|
19077
19000
|
"return": {
|
|
19078
19001
|
"type": {
|
|
19079
|
-
"text": "
|
|
19002
|
+
"text": "boolean"
|
|
19080
19003
|
}
|
|
19081
19004
|
},
|
|
19082
|
-
"
|
|
19005
|
+
"parameters": [
|
|
19006
|
+
{
|
|
19007
|
+
"name": "agentName",
|
|
19008
|
+
"type": {
|
|
19009
|
+
"text": "string"
|
|
19010
|
+
}
|
|
19011
|
+
}
|
|
19012
|
+
]
|
|
19083
19013
|
},
|
|
19084
19014
|
{
|
|
19085
19015
|
"kind": "method",
|
|
19086
|
-
"name": "
|
|
19087
|
-
"privacy": "private",
|
|
19016
|
+
"name": "resumeRestoredFlow",
|
|
19088
19017
|
"return": {
|
|
19089
19018
|
"type": {
|
|
19090
|
-
"text": "
|
|
19019
|
+
"text": "Promise<ChatDriverResult | undefined>"
|
|
19091
19020
|
}
|
|
19092
19021
|
},
|
|
19093
|
-
"
|
|
19022
|
+
"parameters": [
|
|
19023
|
+
{
|
|
19024
|
+
"name": "resumeNote",
|
|
19025
|
+
"optional": true,
|
|
19026
|
+
"type": {
|
|
19027
|
+
"text": "string"
|
|
19028
|
+
}
|
|
19029
|
+
},
|
|
19030
|
+
{
|
|
19031
|
+
"name": "agent",
|
|
19032
|
+
"optional": true,
|
|
19033
|
+
"type": {
|
|
19034
|
+
"text": "AgentConfig"
|
|
19035
|
+
}
|
|
19036
|
+
}
|
|
19037
|
+
]
|
|
19094
19038
|
},
|
|
19095
19039
|
{
|
|
19096
19040
|
"kind": "method",
|
|
19097
|
-
"name": "
|
|
19098
|
-
"privacy": "private",
|
|
19041
|
+
"name": "getRawHistory",
|
|
19099
19042
|
"return": {
|
|
19100
19043
|
"type": {
|
|
19101
|
-
"text": "
|
|
19044
|
+
"text": "readonly ChatMessage[]"
|
|
19102
19045
|
}
|
|
19103
|
-
}
|
|
19104
|
-
"description": "Opened from the badge: take the person to what is waiting on them (GENC-1660)."
|
|
19046
|
+
}
|
|
19105
19047
|
},
|
|
19106
19048
|
{
|
|
19107
19049
|
"kind": "method",
|
|
19108
|
-
"name": "
|
|
19109
|
-
"privacy": "private",
|
|
19050
|
+
"name": "getHistoryForPersistence",
|
|
19110
19051
|
"return": {
|
|
19111
19052
|
"type": {
|
|
19112
|
-
"text": "
|
|
19053
|
+
"text": "ChatMessage[]"
|
|
19113
19054
|
}
|
|
19114
|
-
}
|
|
19115
|
-
"description": "Badge only for this bubble's own assistant (GENC-1660)."
|
|
19055
|
+
}
|
|
19116
19056
|
},
|
|
19117
19057
|
{
|
|
19118
19058
|
"kind": "method",
|
|
19119
|
-
"name": "
|
|
19059
|
+
"name": "getCondensePoliciesForPersistence",
|
|
19060
|
+
"return": {
|
|
19061
|
+
"type": {
|
|
19062
|
+
"text": "PersistedCondensePolicy[]"
|
|
19063
|
+
}
|
|
19064
|
+
},
|
|
19120
19065
|
"parameters": [
|
|
19121
19066
|
{
|
|
19122
|
-
"name": "
|
|
19123
|
-
"type": {
|
|
19124
|
-
"text": "HTMLElement[]"
|
|
19125
|
-
}
|
|
19126
|
-
},
|
|
19127
|
-
{
|
|
19128
|
-
"name": "next",
|
|
19067
|
+
"name": "messages",
|
|
19129
19068
|
"type": {
|
|
19130
|
-
"text": "
|
|
19069
|
+
"text": "readonly ChatMessage[]"
|
|
19131
19070
|
}
|
|
19132
19071
|
}
|
|
19133
19072
|
]
|
|
19134
19073
|
},
|
|
19135
19074
|
{
|
|
19136
19075
|
"kind": "method",
|
|
19137
|
-
"name": "
|
|
19138
|
-
"privacy": "private",
|
|
19076
|
+
"name": "restoreCondensePolicies",
|
|
19139
19077
|
"return": {
|
|
19140
19078
|
"type": {
|
|
19141
|
-
"text": "
|
|
19079
|
+
"text": "{\n restored: number;\n awaitingReactivation: number;\n }"
|
|
19142
19080
|
}
|
|
19143
19081
|
},
|
|
19144
19082
|
"parameters": [
|
|
19145
19083
|
{
|
|
19146
|
-
"name": "
|
|
19147
|
-
"optional": true,
|
|
19084
|
+
"name": "entries",
|
|
19148
19085
|
"type": {
|
|
19149
|
-
"text": "
|
|
19086
|
+
"text": "readonly unknown[] | undefined"
|
|
19150
19087
|
}
|
|
19151
19088
|
}
|
|
19152
19089
|
]
|
|
19153
19090
|
},
|
|
19154
19091
|
{
|
|
19155
19092
|
"kind": "method",
|
|
19156
|
-
"name": "
|
|
19157
|
-
"
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
"name": "assistant",
|
|
19161
|
-
"type": {
|
|
19162
|
-
"text": "Element"
|
|
19163
|
-
}
|
|
19093
|
+
"name": "getHandOffStack",
|
|
19094
|
+
"return": {
|
|
19095
|
+
"type": {
|
|
19096
|
+
"text": "HandOffFrame[]"
|
|
19164
19097
|
}
|
|
19165
|
-
|
|
19166
|
-
"description": "The Close button is the assistant's own, rendered in its header beside the cog. It used to be\na design-system button injected into the assistant's light DOM, where the assistant's styles\ncould reach its host but not the padded control inside it, so it sat narrower than the cog\nand off its centre line, and every host carried a shim to square it up."
|
|
19167
|
-
},
|
|
19168
|
-
{
|
|
19169
|
-
"kind": "method",
|
|
19170
|
-
"name": "removeCloseButton",
|
|
19171
|
-
"privacy": "private"
|
|
19098
|
+
}
|
|
19172
19099
|
},
|
|
19173
19100
|
{
|
|
19174
19101
|
"kind": "method",
|
|
19175
|
-
"name": "
|
|
19102
|
+
"name": "restoreHandOffStack",
|
|
19103
|
+
"return": {
|
|
19104
|
+
"type": {
|
|
19105
|
+
"text": "{ resume?: { agent: string; note: string }; droppedLocks?: string[] }"
|
|
19106
|
+
}
|
|
19107
|
+
},
|
|
19176
19108
|
"parameters": [
|
|
19177
19109
|
{
|
|
19178
|
-
"name": "
|
|
19110
|
+
"name": "saved",
|
|
19179
19111
|
"type": {
|
|
19180
|
-
"text": "
|
|
19112
|
+
"text": "unknown"
|
|
19113
|
+
}
|
|
19114
|
+
},
|
|
19115
|
+
{
|
|
19116
|
+
"name": "savedStates",
|
|
19117
|
+
"type": {
|
|
19118
|
+
"text": "Record<string, unknown>"
|
|
19119
|
+
}
|
|
19120
|
+
},
|
|
19121
|
+
{
|
|
19122
|
+
"name": "interrupted",
|
|
19123
|
+
"type": {
|
|
19124
|
+
"text": "boolean"
|
|
19181
19125
|
}
|
|
19182
19126
|
}
|
|
19183
19127
|
]
|
|
19184
19128
|
},
|
|
19185
19129
|
{
|
|
19186
19130
|
"kind": "method",
|
|
19187
|
-
"name": "
|
|
19131
|
+
"name": "unwindHandOffs",
|
|
19132
|
+
"return": {
|
|
19133
|
+
"type": {
|
|
19134
|
+
"text": "Promise<void>"
|
|
19135
|
+
}
|
|
19136
|
+
},
|
|
19188
19137
|
"parameters": [
|
|
19189
19138
|
{
|
|
19190
|
-
"name": "
|
|
19139
|
+
"name": "kind",
|
|
19191
19140
|
"type": {
|
|
19192
|
-
"text": "
|
|
19141
|
+
"text": "Extract<HandOffOutcomeKind, 'cleared' | 'state-lost'>"
|
|
19193
19142
|
}
|
|
19194
19143
|
}
|
|
19195
19144
|
]
|
|
19196
19145
|
},
|
|
19197
19146
|
{
|
|
19198
|
-
"kind": "
|
|
19199
|
-
"name": "
|
|
19200
|
-
"
|
|
19201
|
-
|
|
19147
|
+
"kind": "method",
|
|
19148
|
+
"name": "serializeWaitingCallers",
|
|
19149
|
+
"return": {
|
|
19150
|
+
"type": {
|
|
19151
|
+
"text": "Record<string, unknown>"
|
|
19152
|
+
}
|
|
19153
|
+
}
|
|
19202
19154
|
},
|
|
19203
19155
|
{
|
|
19204
19156
|
"kind": "method",
|
|
19205
|
-
"name": "
|
|
19206
|
-
"
|
|
19157
|
+
"name": "getWaitingCallers",
|
|
19158
|
+
"return": {
|
|
19159
|
+
"type": {
|
|
19160
|
+
"text": "AgentConfig[]"
|
|
19161
|
+
}
|
|
19162
|
+
}
|
|
19207
19163
|
},
|
|
19208
19164
|
{
|
|
19209
19165
|
"kind": "method",
|
|
19210
|
-
"name": "
|
|
19211
|
-
"
|
|
19166
|
+
"name": "getHandOffData",
|
|
19167
|
+
"return": {
|
|
19168
|
+
"type": {
|
|
19169
|
+
"text": "Record<string, unknown>"
|
|
19170
|
+
}
|
|
19171
|
+
}
|
|
19212
19172
|
},
|
|
19213
19173
|
{
|
|
19214
|
-
"kind": "
|
|
19215
|
-
"name": "
|
|
19216
|
-
"
|
|
19174
|
+
"kind": "method",
|
|
19175
|
+
"name": "restoreHandOffData",
|
|
19176
|
+
"return": {
|
|
19177
|
+
"type": {
|
|
19178
|
+
"text": "void"
|
|
19179
|
+
}
|
|
19180
|
+
},
|
|
19181
|
+
"parameters": [
|
|
19182
|
+
{
|
|
19183
|
+
"name": "saved",
|
|
19184
|
+
"type": {
|
|
19185
|
+
"text": "unknown"
|
|
19186
|
+
}
|
|
19187
|
+
},
|
|
19188
|
+
{
|
|
19189
|
+
"name": "interrupted",
|
|
19190
|
+
"type": {
|
|
19191
|
+
"text": "boolean"
|
|
19192
|
+
}
|
|
19193
|
+
}
|
|
19194
|
+
]
|
|
19217
19195
|
},
|
|
19218
19196
|
{
|
|
19219
|
-
"kind": "
|
|
19220
|
-
"name": "
|
|
19221
|
-
"
|
|
19197
|
+
"kind": "method",
|
|
19198
|
+
"name": "getActiveAgent",
|
|
19199
|
+
"return": {
|
|
19200
|
+
"type": {
|
|
19201
|
+
"text": "AgentConfig | undefined"
|
|
19202
|
+
}
|
|
19203
|
+
}
|
|
19222
19204
|
},
|
|
19223
19205
|
{
|
|
19224
|
-
"kind": "
|
|
19225
|
-
"name": "
|
|
19226
|
-
"
|
|
19206
|
+
"kind": "method",
|
|
19207
|
+
"name": "setPinnedAgent",
|
|
19208
|
+
"return": {
|
|
19209
|
+
"type": {
|
|
19210
|
+
"text": "void"
|
|
19211
|
+
}
|
|
19212
|
+
},
|
|
19213
|
+
"parameters": [
|
|
19214
|
+
{
|
|
19215
|
+
"name": "name",
|
|
19216
|
+
"type": {
|
|
19217
|
+
"text": "string | null"
|
|
19218
|
+
}
|
|
19219
|
+
}
|
|
19220
|
+
]
|
|
19227
19221
|
},
|
|
19228
19222
|
{
|
|
19229
19223
|
"kind": "method",
|
|
19230
|
-
"name": "
|
|
19224
|
+
"name": "setFlowOwner",
|
|
19225
|
+
"return": {
|
|
19226
|
+
"type": {
|
|
19227
|
+
"text": "void"
|
|
19228
|
+
}
|
|
19229
|
+
},
|
|
19230
|
+
"parameters": [
|
|
19231
|
+
{
|
|
19232
|
+
"name": "name",
|
|
19233
|
+
"type": {
|
|
19234
|
+
"text": "string | null"
|
|
19235
|
+
}
|
|
19236
|
+
}
|
|
19237
|
+
]
|
|
19231
19238
|
},
|
|
19232
19239
|
{
|
|
19233
19240
|
"kind": "method",
|
|
19234
|
-
"name": "
|
|
19241
|
+
"name": "getFlowOwner",
|
|
19242
|
+
"return": {
|
|
19243
|
+
"type": {
|
|
19244
|
+
"text": "string | null"
|
|
19245
|
+
}
|
|
19246
|
+
}
|
|
19235
19247
|
},
|
|
19236
19248
|
{
|
|
19237
|
-
"kind": "
|
|
19238
|
-
"name": "
|
|
19239
|
-
"
|
|
19240
|
-
"
|
|
19241
|
-
|
|
19242
|
-
|
|
19243
|
-
|
|
19244
|
-
|
|
19245
|
-
"attributes": [
|
|
19249
|
+
"kind": "method",
|
|
19250
|
+
"name": "getInteractionCheckpoints",
|
|
19251
|
+
"return": {
|
|
19252
|
+
"type": {
|
|
19253
|
+
"text": "readonly PersistedInteractionCheckpoint[]"
|
|
19254
|
+
}
|
|
19255
|
+
}
|
|
19256
|
+
},
|
|
19246
19257
|
{
|
|
19247
|
-
"
|
|
19248
|
-
"
|
|
19249
|
-
|
|
19258
|
+
"kind": "method",
|
|
19259
|
+
"name": "restoreInteractionCheckpoints",
|
|
19260
|
+
"return": {
|
|
19261
|
+
"type": {
|
|
19262
|
+
"text": "void"
|
|
19263
|
+
}
|
|
19250
19264
|
},
|
|
19251
|
-
"
|
|
19252
|
-
|
|
19265
|
+
"parameters": [
|
|
19266
|
+
{
|
|
19267
|
+
"name": "saved",
|
|
19268
|
+
"type": {
|
|
19269
|
+
"text": "readonly PersistedInteractionCheckpoint[]"
|
|
19270
|
+
}
|
|
19271
|
+
}
|
|
19272
|
+
]
|
|
19253
19273
|
},
|
|
19254
19274
|
{
|
|
19255
|
-
"
|
|
19256
|
-
"
|
|
19257
|
-
|
|
19275
|
+
"kind": "method",
|
|
19276
|
+
"name": "getInteractionCheckpoint",
|
|
19277
|
+
"return": {
|
|
19278
|
+
"type": {
|
|
19279
|
+
"text": "PersistedInteractionCheckpoint | undefined"
|
|
19280
|
+
}
|
|
19281
|
+
}
|
|
19282
|
+
},
|
|
19283
|
+
{
|
|
19284
|
+
"kind": "method",
|
|
19285
|
+
"name": "restoreInteractionCheckpoint",
|
|
19286
|
+
"return": {
|
|
19287
|
+
"type": {
|
|
19288
|
+
"text": "void"
|
|
19289
|
+
}
|
|
19258
19290
|
},
|
|
19259
|
-
"
|
|
19291
|
+
"parameters": [
|
|
19292
|
+
{
|
|
19293
|
+
"name": "saved",
|
|
19294
|
+
"type": {
|
|
19295
|
+
"text": "PersistedInteractionCheckpoint | undefined"
|
|
19296
|
+
}
|
|
19297
|
+
}
|
|
19298
|
+
]
|
|
19260
19299
|
},
|
|
19261
19300
|
{
|
|
19262
|
-
"
|
|
19263
|
-
"
|
|
19264
|
-
|
|
19301
|
+
"kind": "method",
|
|
19302
|
+
"name": "addInteractionInterceptor",
|
|
19303
|
+
"return": {
|
|
19304
|
+
"type": {
|
|
19305
|
+
"text": "() => void"
|
|
19306
|
+
}
|
|
19265
19307
|
},
|
|
19266
|
-
"
|
|
19267
|
-
|
|
19308
|
+
"parameters": [
|
|
19309
|
+
{
|
|
19310
|
+
"name": "interceptor",
|
|
19311
|
+
"type": {
|
|
19312
|
+
"text": "InteractionInterceptor"
|
|
19313
|
+
}
|
|
19314
|
+
}
|
|
19315
|
+
],
|
|
19316
|
+
"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`."
|
|
19268
19317
|
},
|
|
19269
19318
|
{
|
|
19270
|
-
"
|
|
19271
|
-
"
|
|
19272
|
-
|
|
19273
|
-
|
|
19274
|
-
|
|
19275
|
-
|
|
19276
|
-
"fieldName": "needsInputLabel"
|
|
19277
|
-
}
|
|
19278
|
-
],
|
|
19279
|
-
"superclass": {
|
|
19280
|
-
"name": "GenesisElement",
|
|
19281
|
-
"package": "@genesislcap/web-core"
|
|
19282
|
-
},
|
|
19283
|
-
"tagName": "foundation-ai-chat-bubble",
|
|
19284
|
-
"customElement": true
|
|
19285
|
-
}
|
|
19286
|
-
],
|
|
19287
|
-
"exports": [
|
|
19288
|
-
{
|
|
19289
|
-
"kind": "js",
|
|
19290
|
-
"name": "AiChatBubble",
|
|
19291
|
-
"declaration": {
|
|
19292
|
-
"name": "AiChatBubble",
|
|
19293
|
-
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
19294
|
-
}
|
|
19295
|
-
},
|
|
19296
|
-
{
|
|
19297
|
-
"kind": "custom-element-definition",
|
|
19298
|
-
"name": "foundation-ai-chat-bubble",
|
|
19299
|
-
"declaration": {
|
|
19300
|
-
"name": "AiChatBubble",
|
|
19301
|
-
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
19302
|
-
}
|
|
19303
|
-
}
|
|
19304
|
-
]
|
|
19305
|
-
},
|
|
19306
|
-
{
|
|
19307
|
-
"kind": "javascript-module",
|
|
19308
|
-
"path": "src/components/chat-bubble/index.ts",
|
|
19309
|
-
"declarations": [],
|
|
19310
|
-
"exports": [
|
|
19311
|
-
{
|
|
19312
|
-
"kind": "js",
|
|
19313
|
-
"name": "*",
|
|
19314
|
-
"declaration": {
|
|
19315
|
-
"name": "*",
|
|
19316
|
-
"package": "./chat-bubble"
|
|
19317
|
-
}
|
|
19318
|
-
}
|
|
19319
|
-
]
|
|
19320
|
-
},
|
|
19321
|
-
{
|
|
19322
|
-
"kind": "javascript-module",
|
|
19323
|
-
"path": "src/components/ai-driver/ai-driver.ts",
|
|
19324
|
-
"declarations": [
|
|
19325
|
-
{
|
|
19326
|
-
"kind": "variable",
|
|
19327
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
19328
|
-
"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."
|
|
19329
|
-
}
|
|
19330
|
-
],
|
|
19331
|
-
"exports": [
|
|
19332
|
-
{
|
|
19333
|
-
"kind": "js",
|
|
19334
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
19335
|
-
"declaration": {
|
|
19336
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
19337
|
-
"module": "src/components/ai-driver/ai-driver.ts"
|
|
19338
|
-
}
|
|
19339
|
-
}
|
|
19340
|
-
]
|
|
19341
|
-
},
|
|
19342
|
-
{
|
|
19343
|
-
"kind": "javascript-module",
|
|
19344
|
-
"path": "src/components/ai-driver/base-driver-decorator.ts",
|
|
19345
|
-
"declarations": [
|
|
19346
|
-
{
|
|
19347
|
-
"kind": "class",
|
|
19348
|
-
"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.",
|
|
19349
|
-
"name": "BaseDriverDecorator",
|
|
19350
|
-
"members": [
|
|
19351
|
-
{
|
|
19352
|
-
"kind": "field",
|
|
19353
|
-
"name": "detachers",
|
|
19354
|
-
"type": {
|
|
19355
|
-
"text": "Array<() => void>"
|
|
19356
|
-
},
|
|
19357
|
-
"privacy": "private",
|
|
19358
|
-
"readonly": true,
|
|
19359
|
-
"default": "[]",
|
|
19360
|
-
"description": "Undoes this layer's hold on its inner driver; see BaseDriverDecorator.detach."
|
|
19361
|
-
},
|
|
19362
|
-
{
|
|
19363
|
-
"kind": "method",
|
|
19364
|
-
"name": "detach",
|
|
19365
|
-
"return": {
|
|
19366
|
-
"type": {
|
|
19367
|
-
"text": "void"
|
|
19368
|
-
}
|
|
19369
|
-
},
|
|
19370
|
-
"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."
|
|
19371
|
-
},
|
|
19372
|
-
{
|
|
19373
|
-
"kind": "method",
|
|
19374
|
-
"name": "onDetach",
|
|
19375
|
-
"privacy": "protected",
|
|
19376
|
-
"return": {
|
|
19377
|
-
"type": {
|
|
19378
|
-
"text": "void"
|
|
19379
|
-
}
|
|
19380
|
-
},
|
|
19381
|
-
"parameters": [
|
|
19382
|
-
{
|
|
19383
|
-
"name": "undo",
|
|
19384
|
-
"type": {
|
|
19385
|
-
"text": "() => void"
|
|
19386
|
-
}
|
|
19387
|
-
}
|
|
19388
|
-
],
|
|
19389
|
-
"description": "Register something BaseDriverDecorator.detach must undo."
|
|
19390
|
-
},
|
|
19391
|
-
{
|
|
19392
|
-
"kind": "method",
|
|
19393
|
-
"name": "sendMessage",
|
|
19394
|
-
"return": {
|
|
19395
|
-
"type": {
|
|
19396
|
-
"text": "Promise<ChatDriverResult>"
|
|
19397
|
-
}
|
|
19319
|
+
"kind": "method",
|
|
19320
|
+
"name": "invokeAsUser",
|
|
19321
|
+
"return": {
|
|
19322
|
+
"type": {
|
|
19323
|
+
"text": "Promise<InvokeResult>"
|
|
19324
|
+
}
|
|
19398
19325
|
},
|
|
19399
19326
|
"parameters": [
|
|
19400
19327
|
{
|
|
19401
|
-
"name": "
|
|
19328
|
+
"name": "interactionId",
|
|
19402
19329
|
"type": {
|
|
19403
19330
|
"text": "string"
|
|
19404
19331
|
}
|
|
19405
19332
|
},
|
|
19406
19333
|
{
|
|
19407
|
-
"name": "
|
|
19408
|
-
"optional": true,
|
|
19334
|
+
"name": "action",
|
|
19409
19335
|
"type": {
|
|
19410
|
-
"text": "
|
|
19336
|
+
"text": "string"
|
|
19411
19337
|
}
|
|
19412
19338
|
},
|
|
19413
19339
|
{
|
|
19414
|
-
"name": "
|
|
19340
|
+
"name": "args",
|
|
19415
19341
|
"optional": true,
|
|
19416
19342
|
"type": {
|
|
19417
|
-
"text": "
|
|
19343
|
+
"text": "unknown"
|
|
19418
19344
|
}
|
|
19419
19345
|
}
|
|
19420
|
-
]
|
|
19346
|
+
],
|
|
19347
|
+
"description": "Forwarded: the interaction belongs to the driver that opened it. An inner driver that cannot\nrun actions answers as if the interaction had ended."
|
|
19421
19348
|
},
|
|
19422
19349
|
{
|
|
19423
19350
|
"kind": "method",
|
|
19424
|
-
"name": "
|
|
19351
|
+
"name": "presentInteraction",
|
|
19425
19352
|
"return": {
|
|
19426
19353
|
"type": {
|
|
19427
|
-
"text": "Promise<
|
|
19354
|
+
"text": "Promise<T>"
|
|
19428
19355
|
}
|
|
19429
19356
|
},
|
|
19430
19357
|
"parameters": [
|
|
19431
19358
|
{
|
|
19432
|
-
"name": "
|
|
19433
|
-
"optional": true,
|
|
19359
|
+
"name": "componentName",
|
|
19434
19360
|
"type": {
|
|
19435
|
-
"text": "
|
|
19361
|
+
"text": "string"
|
|
19362
|
+
}
|
|
19363
|
+
},
|
|
19364
|
+
{
|
|
19365
|
+
"name": "data",
|
|
19366
|
+
"type": {
|
|
19367
|
+
"text": "unknown"
|
|
19436
19368
|
}
|
|
19437
19369
|
},
|
|
19438
19370
|
{
|
|
19439
19371
|
"name": "options",
|
|
19440
19372
|
"optional": true,
|
|
19441
19373
|
"type": {
|
|
19442
|
-
"text": "
|
|
19374
|
+
"text": "InteractionRequestOptions"
|
|
19443
19375
|
}
|
|
19444
19376
|
}
|
|
19445
19377
|
]
|
|
19446
19378
|
},
|
|
19447
19379
|
{
|
|
19448
19380
|
"kind": "method",
|
|
19449
|
-
"name": "
|
|
19381
|
+
"name": "provideHandlerCapability",
|
|
19450
19382
|
"return": {
|
|
19451
19383
|
"type": {
|
|
19452
|
-
"text": "void"
|
|
19384
|
+
"text": "() => void"
|
|
19453
19385
|
}
|
|
19454
19386
|
},
|
|
19455
19387
|
"parameters": [
|
|
19456
19388
|
{
|
|
19457
|
-
"name": "
|
|
19389
|
+
"name": "name",
|
|
19458
19390
|
"type": {
|
|
19459
19391
|
"text": "string"
|
|
19460
19392
|
}
|
|
19461
19393
|
},
|
|
19462
19394
|
{
|
|
19463
|
-
"name": "
|
|
19395
|
+
"name": "factory",
|
|
19464
19396
|
"type": {
|
|
19465
|
-
"text": "
|
|
19397
|
+
"text": "HandlerCapabilityFactory"
|
|
19466
19398
|
}
|
|
19467
19399
|
}
|
|
19468
19400
|
]
|
|
19469
19401
|
},
|
|
19470
19402
|
{
|
|
19471
19403
|
"kind": "method",
|
|
19472
|
-
"name": "
|
|
19404
|
+
"name": "getContextReserve",
|
|
19473
19405
|
"return": {
|
|
19474
19406
|
"type": {
|
|
19475
|
-
"text": "
|
|
19407
|
+
"text": "ContextReserveResolution | undefined"
|
|
19476
19408
|
}
|
|
19477
|
-
}
|
|
19478
|
-
|
|
19479
|
-
|
|
19480
|
-
|
|
19481
|
-
|
|
19482
|
-
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
{
|
|
19486
|
-
"name": "costUsd",
|
|
19487
|
-
"type": {
|
|
19488
|
-
"text": "number"
|
|
19489
|
-
}
|
|
19409
|
+
}
|
|
19410
|
+
},
|
|
19411
|
+
{
|
|
19412
|
+
"kind": "method",
|
|
19413
|
+
"name": "getPreambleTokens",
|
|
19414
|
+
"return": {
|
|
19415
|
+
"type": {
|
|
19416
|
+
"text": "number | undefined"
|
|
19490
19417
|
}
|
|
19491
|
-
|
|
19418
|
+
}
|
|
19492
19419
|
},
|
|
19493
19420
|
{
|
|
19494
19421
|
"kind": "method",
|
|
19495
|
-
"name": "
|
|
19422
|
+
"name": "setContextGuard",
|
|
19496
19423
|
"return": {
|
|
19497
19424
|
"type": {
|
|
19498
|
-
"text": "
|
|
19425
|
+
"text": "void"
|
|
19499
19426
|
}
|
|
19500
19427
|
},
|
|
19501
19428
|
"parameters": [
|
|
19502
19429
|
{
|
|
19503
|
-
"name": "
|
|
19430
|
+
"name": "policy",
|
|
19431
|
+
"optional": true,
|
|
19504
19432
|
"type": {
|
|
19505
|
-
"text": "
|
|
19433
|
+
"text": "ContextGuardPolicy"
|
|
19506
19434
|
}
|
|
19507
19435
|
}
|
|
19508
19436
|
]
|
|
19509
19437
|
},
|
|
19510
19438
|
{
|
|
19511
19439
|
"kind": "method",
|
|
19512
|
-
"name": "
|
|
19440
|
+
"name": "compact",
|
|
19513
19441
|
"return": {
|
|
19514
19442
|
"type": {
|
|
19515
|
-
"text": "
|
|
19443
|
+
"text": "Promise<ChatMessage | null>"
|
|
19516
19444
|
}
|
|
19517
19445
|
},
|
|
19518
19446
|
"parameters": [
|
|
19519
19447
|
{
|
|
19520
|
-
"name": "
|
|
19448
|
+
"name": "options",
|
|
19449
|
+
"optional": true,
|
|
19521
19450
|
"type": {
|
|
19522
|
-
"text": "
|
|
19451
|
+
"text": "CompactionPlanOptions"
|
|
19523
19452
|
}
|
|
19524
19453
|
}
|
|
19525
19454
|
]
|
|
19526
19455
|
},
|
|
19527
19456
|
{
|
|
19528
19457
|
"kind": "method",
|
|
19529
|
-
"name": "
|
|
19458
|
+
"name": "getCompactionPlan",
|
|
19530
19459
|
"return": {
|
|
19531
19460
|
"type": {
|
|
19532
|
-
"text": "
|
|
19461
|
+
"text": "CompactionProjection | null"
|
|
19533
19462
|
}
|
|
19534
19463
|
},
|
|
19535
19464
|
"parameters": [
|
|
19536
19465
|
{
|
|
19537
|
-
"name": "
|
|
19466
|
+
"name": "options",
|
|
19467
|
+
"optional": true,
|
|
19538
19468
|
"type": {
|
|
19539
|
-
"text": "
|
|
19469
|
+
"text": "CompactionPlanOptions"
|
|
19540
19470
|
}
|
|
19541
19471
|
}
|
|
19542
19472
|
]
|
|
19543
19473
|
},
|
|
19544
19474
|
{
|
|
19545
19475
|
"kind": "method",
|
|
19546
|
-
"name": "
|
|
19476
|
+
"name": "canCompact",
|
|
19547
19477
|
"return": {
|
|
19548
19478
|
"type": {
|
|
19549
19479
|
"text": "boolean"
|
|
@@ -19551,662 +19481,732 @@
|
|
|
19551
19481
|
},
|
|
19552
19482
|
"parameters": [
|
|
19553
19483
|
{
|
|
19554
|
-
"name": "
|
|
19484
|
+
"name": "options",
|
|
19485
|
+
"optional": true,
|
|
19555
19486
|
"type": {
|
|
19556
|
-
"text": "
|
|
19487
|
+
"text": "CompactionPlanOptions"
|
|
19557
19488
|
}
|
|
19558
19489
|
}
|
|
19559
19490
|
]
|
|
19560
19491
|
},
|
|
19561
19492
|
{
|
|
19562
19493
|
"kind": "method",
|
|
19563
|
-
"name": "
|
|
19494
|
+
"name": "isBusy",
|
|
19564
19495
|
"return": {
|
|
19565
19496
|
"type": {
|
|
19566
19497
|
"text": "boolean"
|
|
19567
19498
|
}
|
|
19568
|
-
}
|
|
19569
|
-
"parameters": [
|
|
19570
|
-
{
|
|
19571
|
-
"name": "agentName",
|
|
19572
|
-
"type": {
|
|
19573
|
-
"text": "string"
|
|
19574
|
-
}
|
|
19575
|
-
}
|
|
19576
|
-
]
|
|
19499
|
+
}
|
|
19577
19500
|
},
|
|
19578
19501
|
{
|
|
19579
19502
|
"kind": "method",
|
|
19580
|
-
"name": "
|
|
19503
|
+
"name": "getSuggestions",
|
|
19581
19504
|
"return": {
|
|
19582
19505
|
"type": {
|
|
19583
|
-
"text": "Promise<
|
|
19506
|
+
"text": "Promise<string[]>"
|
|
19584
19507
|
}
|
|
19585
19508
|
},
|
|
19586
19509
|
"parameters": [
|
|
19587
19510
|
{
|
|
19588
|
-
"name": "
|
|
19589
|
-
"
|
|
19511
|
+
"name": "history",
|
|
19512
|
+
"type": {
|
|
19513
|
+
"text": "ChatMessage[]"
|
|
19514
|
+
}
|
|
19515
|
+
},
|
|
19516
|
+
{
|
|
19517
|
+
"name": "prompt",
|
|
19590
19518
|
"type": {
|
|
19591
19519
|
"text": "string"
|
|
19592
19520
|
}
|
|
19593
19521
|
},
|
|
19594
19522
|
{
|
|
19595
|
-
"name": "
|
|
19523
|
+
"name": "count",
|
|
19524
|
+
"type": {
|
|
19525
|
+
"text": "number"
|
|
19526
|
+
}
|
|
19527
|
+
},
|
|
19528
|
+
{
|
|
19529
|
+
"name": "allAgentInfo",
|
|
19596
19530
|
"optional": true,
|
|
19597
19531
|
"type": {
|
|
19598
|
-
"text": "
|
|
19532
|
+
"text": "AllAgentSummary[]"
|
|
19599
19533
|
}
|
|
19600
19534
|
}
|
|
19601
19535
|
]
|
|
19602
19536
|
},
|
|
19603
19537
|
{
|
|
19604
19538
|
"kind": "method",
|
|
19605
|
-
"name": "
|
|
19539
|
+
"name": "getTurnSnapshots",
|
|
19606
19540
|
"return": {
|
|
19607
19541
|
"type": {
|
|
19608
|
-
"text": "
|
|
19542
|
+
"text": "ReadonlyArray<TurnSnapshot>"
|
|
19609
19543
|
}
|
|
19610
19544
|
}
|
|
19611
19545
|
},
|
|
19612
19546
|
{
|
|
19613
19547
|
"kind": "method",
|
|
19614
|
-
"name": "
|
|
19548
|
+
"name": "getExternalDiagnostics",
|
|
19615
19549
|
"return": {
|
|
19616
19550
|
"type": {
|
|
19617
|
-
"text": "
|
|
19551
|
+
"text": "ReadonlyArray<DiagnosticEntry>"
|
|
19618
19552
|
}
|
|
19619
|
-
}
|
|
19553
|
+
},
|
|
19554
|
+
"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()`."
|
|
19620
19555
|
},
|
|
19621
19556
|
{
|
|
19622
19557
|
"kind": "method",
|
|
19623
|
-
"name": "
|
|
19558
|
+
"name": "getActiveProviderName",
|
|
19624
19559
|
"return": {
|
|
19625
19560
|
"type": {
|
|
19626
|
-
"text": "
|
|
19627
|
-
}
|
|
19628
|
-
},
|
|
19629
|
-
"parameters": [
|
|
19630
|
-
{
|
|
19631
|
-
"name": "messages",
|
|
19632
|
-
"type": {
|
|
19633
|
-
"text": "readonly ChatMessage[]"
|
|
19634
|
-
}
|
|
19561
|
+
"text": "string"
|
|
19635
19562
|
}
|
|
19636
|
-
|
|
19563
|
+
}
|
|
19637
19564
|
},
|
|
19638
19565
|
{
|
|
19639
19566
|
"kind": "method",
|
|
19640
|
-
"name": "
|
|
19567
|
+
"name": "dispose",
|
|
19641
19568
|
"return": {
|
|
19642
19569
|
"type": {
|
|
19643
|
-
"text": "
|
|
19644
|
-
}
|
|
19645
|
-
},
|
|
19646
|
-
"parameters": [
|
|
19647
|
-
{
|
|
19648
|
-
"name": "entries",
|
|
19649
|
-
"type": {
|
|
19650
|
-
"text": "readonly unknown[] | undefined"
|
|
19651
|
-
}
|
|
19570
|
+
"text": "void | Promise<void>"
|
|
19652
19571
|
}
|
|
19653
|
-
|
|
19572
|
+
}
|
|
19654
19573
|
},
|
|
19655
19574
|
{
|
|
19656
19575
|
"kind": "method",
|
|
19657
|
-
"name": "
|
|
19576
|
+
"name": "cancel",
|
|
19658
19577
|
"return": {
|
|
19659
19578
|
"type": {
|
|
19660
|
-
"text": "
|
|
19579
|
+
"text": "void"
|
|
19661
19580
|
}
|
|
19662
19581
|
}
|
|
19582
|
+
}
|
|
19583
|
+
],
|
|
19584
|
+
"superclass": {
|
|
19585
|
+
"name": "EventTarget",
|
|
19586
|
+
"module": "src/components/ai-driver/base-driver-decorator.ts"
|
|
19587
|
+
}
|
|
19588
|
+
}
|
|
19589
|
+
],
|
|
19590
|
+
"exports": [
|
|
19591
|
+
{
|
|
19592
|
+
"kind": "js",
|
|
19593
|
+
"name": "BaseDriverDecorator",
|
|
19594
|
+
"declaration": {
|
|
19595
|
+
"name": "BaseDriverDecorator",
|
|
19596
|
+
"module": "src/components/ai-driver/base-driver-decorator.ts"
|
|
19597
|
+
}
|
|
19598
|
+
}
|
|
19599
|
+
]
|
|
19600
|
+
},
|
|
19601
|
+
{
|
|
19602
|
+
"kind": "javascript-module",
|
|
19603
|
+
"path": "src/components/ai-driver/index.ts",
|
|
19604
|
+
"declarations": [],
|
|
19605
|
+
"exports": [
|
|
19606
|
+
{
|
|
19607
|
+
"kind": "js",
|
|
19608
|
+
"name": "AiDriver",
|
|
19609
|
+
"declaration": {
|
|
19610
|
+
"name": "AiDriver",
|
|
19611
|
+
"module": "./ai-driver"
|
|
19612
|
+
}
|
|
19613
|
+
},
|
|
19614
|
+
{
|
|
19615
|
+
"kind": "js",
|
|
19616
|
+
"name": "AiDriverEventMap",
|
|
19617
|
+
"declaration": {
|
|
19618
|
+
"name": "AiDriverEventMap",
|
|
19619
|
+
"module": "./ai-driver"
|
|
19620
|
+
}
|
|
19621
|
+
},
|
|
19622
|
+
{
|
|
19623
|
+
"kind": "js",
|
|
19624
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
19625
|
+
"declaration": {
|
|
19626
|
+
"name": "AI_DRIVER_EVENT_TYPES",
|
|
19627
|
+
"module": "./ai-driver"
|
|
19628
|
+
}
|
|
19629
|
+
},
|
|
19630
|
+
{
|
|
19631
|
+
"kind": "js",
|
|
19632
|
+
"name": "BaseDriverDecorator",
|
|
19633
|
+
"declaration": {
|
|
19634
|
+
"name": "BaseDriverDecorator",
|
|
19635
|
+
"module": "./base-driver-decorator"
|
|
19636
|
+
}
|
|
19637
|
+
}
|
|
19638
|
+
]
|
|
19639
|
+
},
|
|
19640
|
+
{
|
|
19641
|
+
"kind": "javascript-module",
|
|
19642
|
+
"path": "src/components/ai-driver/stub-driver.ts",
|
|
19643
|
+
"declarations": [],
|
|
19644
|
+
"exports": []
|
|
19645
|
+
},
|
|
19646
|
+
{
|
|
19647
|
+
"kind": "javascript-module",
|
|
19648
|
+
"path": "src/components/chat-bubble/chat-bubble.styles.ts",
|
|
19649
|
+
"declarations": [
|
|
19650
|
+
{
|
|
19651
|
+
"kind": "variable",
|
|
19652
|
+
"name": "styles",
|
|
19653
|
+
"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`"
|
|
19654
|
+
}
|
|
19655
|
+
],
|
|
19656
|
+
"exports": [
|
|
19657
|
+
{
|
|
19658
|
+
"kind": "js",
|
|
19659
|
+
"name": "styles",
|
|
19660
|
+
"declaration": {
|
|
19661
|
+
"name": "styles",
|
|
19662
|
+
"module": "src/components/chat-bubble/chat-bubble.styles.ts"
|
|
19663
|
+
}
|
|
19664
|
+
}
|
|
19665
|
+
]
|
|
19666
|
+
},
|
|
19667
|
+
{
|
|
19668
|
+
"kind": "javascript-module",
|
|
19669
|
+
"path": "src/components/chat-bubble/chat-bubble.template.ts",
|
|
19670
|
+
"declarations": [
|
|
19671
|
+
{
|
|
19672
|
+
"kind": "function",
|
|
19673
|
+
"name": "AiChatBubbleTemplate",
|
|
19674
|
+
"return": {
|
|
19675
|
+
"type": {
|
|
19676
|
+
"text": "ViewTemplate<AiChatBubble>"
|
|
19677
|
+
}
|
|
19678
|
+
}
|
|
19679
|
+
}
|
|
19680
|
+
],
|
|
19681
|
+
"exports": [
|
|
19682
|
+
{
|
|
19683
|
+
"kind": "js",
|
|
19684
|
+
"name": "AiChatBubbleTemplate",
|
|
19685
|
+
"declaration": {
|
|
19686
|
+
"name": "AiChatBubbleTemplate",
|
|
19687
|
+
"module": "src/components/chat-bubble/chat-bubble.template.ts"
|
|
19688
|
+
}
|
|
19689
|
+
}
|
|
19690
|
+
]
|
|
19691
|
+
},
|
|
19692
|
+
{
|
|
19693
|
+
"kind": "javascript-module",
|
|
19694
|
+
"path": "src/components/chat-bubble/chat-bubble.ts",
|
|
19695
|
+
"declarations": [
|
|
19696
|
+
{
|
|
19697
|
+
"kind": "class",
|
|
19698
|
+
"description": "Floating chat bubble component that provides a draggable orb and dialog panel\nfor embedding an AI assistant without a full-page layout.",
|
|
19699
|
+
"name": "AiChatBubble",
|
|
19700
|
+
"members": [
|
|
19701
|
+
{
|
|
19702
|
+
"kind": "field",
|
|
19703
|
+
"name": "title",
|
|
19704
|
+
"type": {
|
|
19705
|
+
"text": "string"
|
|
19706
|
+
},
|
|
19707
|
+
"default": "'AI Assistant'"
|
|
19708
|
+
},
|
|
19709
|
+
{
|
|
19710
|
+
"kind": "field",
|
|
19711
|
+
"name": "imageSrc",
|
|
19712
|
+
"type": {
|
|
19713
|
+
"text": "string | undefined"
|
|
19714
|
+
}
|
|
19663
19715
|
},
|
|
19664
19716
|
{
|
|
19665
|
-
"kind": "
|
|
19666
|
-
"name": "
|
|
19667
|
-
"
|
|
19668
|
-
"
|
|
19669
|
-
"text": "{ resume?: { agent: string; note: string }; droppedLocks?: string[] }"
|
|
19670
|
-
}
|
|
19717
|
+
"kind": "field",
|
|
19718
|
+
"name": "designSystemPrefix",
|
|
19719
|
+
"type": {
|
|
19720
|
+
"text": "string"
|
|
19671
19721
|
},
|
|
19672
|
-
"
|
|
19673
|
-
{
|
|
19674
|
-
"name": "saved",
|
|
19675
|
-
"type": {
|
|
19676
|
-
"text": "unknown"
|
|
19677
|
-
}
|
|
19678
|
-
},
|
|
19679
|
-
{
|
|
19680
|
-
"name": "savedStates",
|
|
19681
|
-
"type": {
|
|
19682
|
-
"text": "Record<string, unknown>"
|
|
19683
|
-
}
|
|
19684
|
-
},
|
|
19685
|
-
{
|
|
19686
|
-
"name": "interrupted",
|
|
19687
|
-
"type": {
|
|
19688
|
-
"text": "boolean"
|
|
19689
|
-
}
|
|
19690
|
-
}
|
|
19691
|
-
]
|
|
19722
|
+
"default": "'rapid'"
|
|
19692
19723
|
},
|
|
19693
19724
|
{
|
|
19694
|
-
"kind": "
|
|
19695
|
-
"name": "
|
|
19696
|
-
"
|
|
19697
|
-
"
|
|
19698
|
-
"text": "Promise<void>"
|
|
19699
|
-
}
|
|
19725
|
+
"kind": "field",
|
|
19726
|
+
"name": "needsInputLabel",
|
|
19727
|
+
"type": {
|
|
19728
|
+
"text": "string"
|
|
19700
19729
|
},
|
|
19701
|
-
"
|
|
19702
|
-
|
|
19703
|
-
"name": "kind",
|
|
19704
|
-
"type": {
|
|
19705
|
-
"text": "Extract<HandOffOutcomeKind, 'cleared' | 'state-lost'>"
|
|
19706
|
-
}
|
|
19707
|
-
}
|
|
19708
|
-
]
|
|
19730
|
+
"default": "'The assistant needs your input'",
|
|
19731
|
+
"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."
|
|
19709
19732
|
},
|
|
19710
19733
|
{
|
|
19711
|
-
"kind": "
|
|
19712
|
-
"name": "
|
|
19713
|
-
"
|
|
19714
|
-
"
|
|
19715
|
-
|
|
19716
|
-
|
|
19717
|
-
|
|
19734
|
+
"kind": "field",
|
|
19735
|
+
"name": "bubbleLeft",
|
|
19736
|
+
"type": {
|
|
19737
|
+
"text": "number"
|
|
19738
|
+
},
|
|
19739
|
+
"default": "0",
|
|
19740
|
+
"description": "Current left position of the bubble orb (px from viewport left). @internal"
|
|
19718
19741
|
},
|
|
19719
19742
|
{
|
|
19720
|
-
"kind": "
|
|
19721
|
-
"name": "
|
|
19722
|
-
"
|
|
19723
|
-
"
|
|
19724
|
-
|
|
19725
|
-
|
|
19726
|
-
|
|
19743
|
+
"kind": "field",
|
|
19744
|
+
"name": "bubbleTop",
|
|
19745
|
+
"type": {
|
|
19746
|
+
"text": "number"
|
|
19747
|
+
},
|
|
19748
|
+
"default": "0",
|
|
19749
|
+
"description": "Current top position of the bubble orb (px from viewport top). @internal"
|
|
19727
19750
|
},
|
|
19728
19751
|
{
|
|
19729
|
-
"kind": "
|
|
19730
|
-
"name": "
|
|
19731
|
-
"
|
|
19732
|
-
"
|
|
19733
|
-
|
|
19734
|
-
|
|
19735
|
-
|
|
19752
|
+
"kind": "field",
|
|
19753
|
+
"name": "dialogLeft",
|
|
19754
|
+
"type": {
|
|
19755
|
+
"text": "number"
|
|
19756
|
+
},
|
|
19757
|
+
"default": "0",
|
|
19758
|
+
"description": "Current left position of the dialog panel (px from viewport left). @internal"
|
|
19736
19759
|
},
|
|
19737
19760
|
{
|
|
19738
|
-
"kind": "
|
|
19739
|
-
"name": "
|
|
19740
|
-
"
|
|
19741
|
-
"
|
|
19742
|
-
"text": "void"
|
|
19743
|
-
}
|
|
19761
|
+
"kind": "field",
|
|
19762
|
+
"name": "dialogTop",
|
|
19763
|
+
"type": {
|
|
19764
|
+
"text": "number"
|
|
19744
19765
|
},
|
|
19745
|
-
"
|
|
19746
|
-
|
|
19747
|
-
"name": "saved",
|
|
19748
|
-
"type": {
|
|
19749
|
-
"text": "unknown"
|
|
19750
|
-
}
|
|
19751
|
-
},
|
|
19752
|
-
{
|
|
19753
|
-
"name": "interrupted",
|
|
19754
|
-
"type": {
|
|
19755
|
-
"text": "boolean"
|
|
19756
|
-
}
|
|
19757
|
-
}
|
|
19758
|
-
]
|
|
19766
|
+
"default": "0",
|
|
19767
|
+
"description": "Current top position of the dialog panel (px from viewport top). @internal"
|
|
19759
19768
|
},
|
|
19760
19769
|
{
|
|
19761
|
-
"kind": "
|
|
19762
|
-
"name": "
|
|
19763
|
-
"
|
|
19764
|
-
"
|
|
19765
|
-
|
|
19766
|
-
|
|
19767
|
-
|
|
19770
|
+
"kind": "field",
|
|
19771
|
+
"name": "dialogWidth",
|
|
19772
|
+
"type": {
|
|
19773
|
+
"text": "number"
|
|
19774
|
+
},
|
|
19775
|
+
"default": "400",
|
|
19776
|
+
"description": "Current rendered width of the dialog panel (px). @internal"
|
|
19777
|
+
},
|
|
19778
|
+
{
|
|
19779
|
+
"kind": "field",
|
|
19780
|
+
"name": "dialogHeight",
|
|
19781
|
+
"type": {
|
|
19782
|
+
"text": "number"
|
|
19783
|
+
},
|
|
19784
|
+
"default": "520",
|
|
19785
|
+
"description": "Current rendered height of the dialog panel (px). @internal"
|
|
19786
|
+
},
|
|
19787
|
+
{
|
|
19788
|
+
"kind": "field",
|
|
19789
|
+
"name": "dialogOpen",
|
|
19790
|
+
"type": {
|
|
19791
|
+
"text": "boolean"
|
|
19792
|
+
},
|
|
19793
|
+
"default": "false",
|
|
19794
|
+
"description": "Whether the dialog panel is currently open. @internal"
|
|
19795
|
+
},
|
|
19796
|
+
{
|
|
19797
|
+
"kind": "field",
|
|
19798
|
+
"name": "hovered",
|
|
19799
|
+
"type": {
|
|
19800
|
+
"text": "boolean"
|
|
19801
|
+
},
|
|
19802
|
+
"default": "false",
|
|
19803
|
+
"description": "Whether the bubble orb is currently hovered. @internal"
|
|
19804
|
+
},
|
|
19805
|
+
{
|
|
19806
|
+
"kind": "field",
|
|
19807
|
+
"name": "needsUser",
|
|
19808
|
+
"type": {
|
|
19809
|
+
"text": "boolean"
|
|
19810
|
+
},
|
|
19811
|
+
"default": "false",
|
|
19812
|
+
"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"
|
|
19813
|
+
},
|
|
19814
|
+
{
|
|
19815
|
+
"kind": "field",
|
|
19816
|
+
"name": "unsubBus",
|
|
19817
|
+
"type": {
|
|
19818
|
+
"text": "() => void | undefined"
|
|
19819
|
+
},
|
|
19820
|
+
"privacy": "private"
|
|
19821
|
+
},
|
|
19822
|
+
{
|
|
19823
|
+
"kind": "field",
|
|
19824
|
+
"name": "closableAssistant",
|
|
19825
|
+
"type": {
|
|
19826
|
+
"text": "Element | undefined"
|
|
19827
|
+
},
|
|
19828
|
+
"privacy": "private",
|
|
19829
|
+
"description": "The assistant whose header Close button this bubble turned on, and listens to."
|
|
19830
|
+
},
|
|
19831
|
+
{
|
|
19832
|
+
"kind": "field",
|
|
19833
|
+
"name": "resizeObserver",
|
|
19834
|
+
"type": {
|
|
19835
|
+
"text": "ResizeObserver | undefined"
|
|
19836
|
+
},
|
|
19837
|
+
"privacy": "private"
|
|
19838
|
+
},
|
|
19839
|
+
{
|
|
19840
|
+
"kind": "field",
|
|
19841
|
+
"name": "dragging",
|
|
19842
|
+
"type": {
|
|
19843
|
+
"text": "boolean"
|
|
19844
|
+
},
|
|
19845
|
+
"privacy": "private",
|
|
19846
|
+
"default": "false"
|
|
19847
|
+
},
|
|
19848
|
+
{
|
|
19849
|
+
"kind": "field",
|
|
19850
|
+
"name": "dragTarget",
|
|
19851
|
+
"type": {
|
|
19852
|
+
"text": "'bubble' | 'dialog' | null"
|
|
19853
|
+
},
|
|
19854
|
+
"privacy": "private",
|
|
19855
|
+
"default": "null"
|
|
19768
19856
|
},
|
|
19769
19857
|
{
|
|
19770
|
-
"kind": "
|
|
19771
|
-
"name": "
|
|
19772
|
-
"
|
|
19773
|
-
"
|
|
19774
|
-
"text": "void"
|
|
19775
|
-
}
|
|
19858
|
+
"kind": "field",
|
|
19859
|
+
"name": "startMouseX",
|
|
19860
|
+
"type": {
|
|
19861
|
+
"text": "number"
|
|
19776
19862
|
},
|
|
19777
|
-
"
|
|
19778
|
-
|
|
19779
|
-
"name": "name",
|
|
19780
|
-
"type": {
|
|
19781
|
-
"text": "string | null"
|
|
19782
|
-
}
|
|
19783
|
-
}
|
|
19784
|
-
]
|
|
19863
|
+
"privacy": "private",
|
|
19864
|
+
"default": "0"
|
|
19785
19865
|
},
|
|
19786
19866
|
{
|
|
19787
|
-
"kind": "
|
|
19788
|
-
"name": "
|
|
19789
|
-
"
|
|
19790
|
-
"
|
|
19791
|
-
"text": "void"
|
|
19792
|
-
}
|
|
19867
|
+
"kind": "field",
|
|
19868
|
+
"name": "startMouseY",
|
|
19869
|
+
"type": {
|
|
19870
|
+
"text": "number"
|
|
19793
19871
|
},
|
|
19794
|
-
"
|
|
19795
|
-
|
|
19796
|
-
"name": "name",
|
|
19797
|
-
"type": {
|
|
19798
|
-
"text": "string | null"
|
|
19799
|
-
}
|
|
19800
|
-
}
|
|
19801
|
-
]
|
|
19872
|
+
"privacy": "private",
|
|
19873
|
+
"default": "0"
|
|
19802
19874
|
},
|
|
19803
19875
|
{
|
|
19804
|
-
"kind": "
|
|
19805
|
-
"name": "
|
|
19806
|
-
"
|
|
19807
|
-
"
|
|
19808
|
-
|
|
19809
|
-
|
|
19810
|
-
|
|
19876
|
+
"kind": "field",
|
|
19877
|
+
"name": "startElemLeft",
|
|
19878
|
+
"type": {
|
|
19879
|
+
"text": "number"
|
|
19880
|
+
},
|
|
19881
|
+
"privacy": "private",
|
|
19882
|
+
"default": "0"
|
|
19811
19883
|
},
|
|
19812
19884
|
{
|
|
19813
|
-
"kind": "
|
|
19814
|
-
"name": "
|
|
19815
|
-
"
|
|
19816
|
-
"
|
|
19817
|
-
|
|
19818
|
-
|
|
19819
|
-
|
|
19885
|
+
"kind": "field",
|
|
19886
|
+
"name": "startElemTop",
|
|
19887
|
+
"type": {
|
|
19888
|
+
"text": "number"
|
|
19889
|
+
},
|
|
19890
|
+
"privacy": "private",
|
|
19891
|
+
"default": "0"
|
|
19820
19892
|
},
|
|
19821
19893
|
{
|
|
19822
|
-
"kind": "
|
|
19823
|
-
"name": "
|
|
19824
|
-
"
|
|
19825
|
-
"
|
|
19826
|
-
"text": "void"
|
|
19827
|
-
}
|
|
19894
|
+
"kind": "field",
|
|
19895
|
+
"name": "hasDragged",
|
|
19896
|
+
"type": {
|
|
19897
|
+
"text": "boolean"
|
|
19828
19898
|
},
|
|
19829
|
-
"
|
|
19830
|
-
|
|
19831
|
-
"name": "saved",
|
|
19832
|
-
"type": {
|
|
19833
|
-
"text": "readonly PersistedInteractionCheckpoint[]"
|
|
19834
|
-
}
|
|
19835
|
-
}
|
|
19836
|
-
]
|
|
19899
|
+
"privacy": "private",
|
|
19900
|
+
"default": "false"
|
|
19837
19901
|
},
|
|
19838
19902
|
{
|
|
19839
|
-
"kind": "
|
|
19840
|
-
"name": "
|
|
19841
|
-
"
|
|
19842
|
-
"
|
|
19843
|
-
|
|
19844
|
-
|
|
19845
|
-
|
|
19903
|
+
"kind": "field",
|
|
19904
|
+
"name": "latestMouseX",
|
|
19905
|
+
"type": {
|
|
19906
|
+
"text": "number"
|
|
19907
|
+
},
|
|
19908
|
+
"privacy": "private",
|
|
19909
|
+
"default": "0"
|
|
19846
19910
|
},
|
|
19847
19911
|
{
|
|
19848
|
-
"kind": "
|
|
19849
|
-
"name": "
|
|
19850
|
-
"
|
|
19851
|
-
"
|
|
19852
|
-
"text": "void"
|
|
19853
|
-
}
|
|
19912
|
+
"kind": "field",
|
|
19913
|
+
"name": "latestMouseY",
|
|
19914
|
+
"type": {
|
|
19915
|
+
"text": "number"
|
|
19854
19916
|
},
|
|
19855
|
-
"
|
|
19856
|
-
|
|
19857
|
-
"name": "saved",
|
|
19858
|
-
"type": {
|
|
19859
|
-
"text": "PersistedInteractionCheckpoint | undefined"
|
|
19860
|
-
}
|
|
19861
|
-
}
|
|
19862
|
-
]
|
|
19917
|
+
"privacy": "private",
|
|
19918
|
+
"default": "0"
|
|
19863
19919
|
},
|
|
19864
19920
|
{
|
|
19865
|
-
"kind": "
|
|
19866
|
-
"name": "
|
|
19867
|
-
"
|
|
19868
|
-
"
|
|
19869
|
-
"text": "() => void"
|
|
19870
|
-
}
|
|
19921
|
+
"kind": "field",
|
|
19922
|
+
"name": "rafHandle",
|
|
19923
|
+
"type": {
|
|
19924
|
+
"text": "number | undefined"
|
|
19871
19925
|
},
|
|
19872
|
-
"
|
|
19873
|
-
{
|
|
19874
|
-
"name": "interceptor",
|
|
19875
|
-
"type": {
|
|
19876
|
-
"text": "InteractionInterceptor"
|
|
19877
|
-
}
|
|
19878
|
-
}
|
|
19879
|
-
],
|
|
19880
|
-
"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`."
|
|
19926
|
+
"privacy": "private"
|
|
19881
19927
|
},
|
|
19882
19928
|
{
|
|
19883
|
-
"kind": "
|
|
19884
|
-
"name": "
|
|
19885
|
-
"
|
|
19886
|
-
"
|
|
19887
|
-
"text": "Promise<InvokeResult>"
|
|
19888
|
-
}
|
|
19929
|
+
"kind": "field",
|
|
19930
|
+
"name": "closeAbort",
|
|
19931
|
+
"type": {
|
|
19932
|
+
"text": "AbortController | undefined"
|
|
19889
19933
|
},
|
|
19890
|
-
"
|
|
19891
|
-
{
|
|
19892
|
-
"name": "interactionId",
|
|
19893
|
-
"type": {
|
|
19894
|
-
"text": "string"
|
|
19895
|
-
}
|
|
19896
|
-
},
|
|
19897
|
-
{
|
|
19898
|
-
"name": "action",
|
|
19899
|
-
"type": {
|
|
19900
|
-
"text": "string"
|
|
19901
|
-
}
|
|
19902
|
-
},
|
|
19903
|
-
{
|
|
19904
|
-
"name": "args",
|
|
19905
|
-
"optional": true,
|
|
19906
|
-
"type": {
|
|
19907
|
-
"text": "unknown"
|
|
19908
|
-
}
|
|
19909
|
-
}
|
|
19910
|
-
],
|
|
19911
|
-
"description": "Forwarded: the interaction belongs to the driver that opened it. An inner driver that cannot\nrun actions answers as if the interaction had ended."
|
|
19934
|
+
"privacy": "private"
|
|
19912
19935
|
},
|
|
19913
19936
|
{
|
|
19914
19937
|
"kind": "method",
|
|
19915
|
-
"name": "
|
|
19916
|
-
"return": {
|
|
19917
|
-
"type": {
|
|
19918
|
-
"text": "Promise<T>"
|
|
19919
|
-
}
|
|
19920
|
-
},
|
|
19921
|
-
"parameters": [
|
|
19922
|
-
{
|
|
19923
|
-
"name": "componentName",
|
|
19924
|
-
"type": {
|
|
19925
|
-
"text": "string"
|
|
19926
|
-
}
|
|
19927
|
-
},
|
|
19928
|
-
{
|
|
19929
|
-
"name": "data",
|
|
19930
|
-
"type": {
|
|
19931
|
-
"text": "unknown"
|
|
19932
|
-
}
|
|
19933
|
-
},
|
|
19934
|
-
{
|
|
19935
|
-
"name": "options",
|
|
19936
|
-
"optional": true,
|
|
19937
|
-
"type": {
|
|
19938
|
-
"text": "InteractionRequestOptions"
|
|
19939
|
-
}
|
|
19940
|
-
}
|
|
19941
|
-
]
|
|
19938
|
+
"name": "onBubbleMouseEnter"
|
|
19942
19939
|
},
|
|
19943
19940
|
{
|
|
19944
19941
|
"kind": "method",
|
|
19945
|
-
"name": "
|
|
19946
|
-
|
|
19947
|
-
|
|
19948
|
-
|
|
19949
|
-
|
|
19950
|
-
},
|
|
19942
|
+
"name": "onBubbleMouseLeave"
|
|
19943
|
+
},
|
|
19944
|
+
{
|
|
19945
|
+
"kind": "method",
|
|
19946
|
+
"name": "dialogOpenChanged",
|
|
19951
19947
|
"parameters": [
|
|
19952
19948
|
{
|
|
19953
|
-
"name": "
|
|
19949
|
+
"name": "_",
|
|
19954
19950
|
"type": {
|
|
19955
|
-
"text": "
|
|
19951
|
+
"text": "boolean"
|
|
19956
19952
|
}
|
|
19957
19953
|
},
|
|
19958
19954
|
{
|
|
19959
|
-
"name": "
|
|
19955
|
+
"name": "next",
|
|
19960
19956
|
"type": {
|
|
19961
|
-
"text": "
|
|
19957
|
+
"text": "boolean"
|
|
19962
19958
|
}
|
|
19963
19959
|
}
|
|
19964
19960
|
]
|
|
19965
19961
|
},
|
|
19966
19962
|
{
|
|
19967
19963
|
"kind": "method",
|
|
19968
|
-
"name": "
|
|
19964
|
+
"name": "assistantSessionKey",
|
|
19965
|
+
"privacy": "private",
|
|
19969
19966
|
"return": {
|
|
19970
19967
|
"type": {
|
|
19971
|
-
"text": "
|
|
19968
|
+
"text": "string | undefined"
|
|
19972
19969
|
}
|
|
19973
|
-
}
|
|
19970
|
+
},
|
|
19971
|
+
"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."
|
|
19974
19972
|
},
|
|
19975
19973
|
{
|
|
19976
19974
|
"kind": "method",
|
|
19977
|
-
"name": "
|
|
19975
|
+
"name": "openDialog",
|
|
19976
|
+
"privacy": "private",
|
|
19978
19977
|
"return": {
|
|
19979
19978
|
"type": {
|
|
19980
|
-
"text": "
|
|
19979
|
+
"text": "void"
|
|
19981
19980
|
}
|
|
19982
|
-
}
|
|
19981
|
+
},
|
|
19982
|
+
"description": "Open the dialog beside the orb."
|
|
19983
19983
|
},
|
|
19984
19984
|
{
|
|
19985
19985
|
"kind": "method",
|
|
19986
|
-
"name": "
|
|
19987
|
-
"
|
|
19988
|
-
|
|
19989
|
-
|
|
19990
|
-
|
|
19991
|
-
},
|
|
19992
|
-
"parameters": [
|
|
19993
|
-
{
|
|
19994
|
-
"name": "policy",
|
|
19995
|
-
"optional": true,
|
|
19996
|
-
"type": {
|
|
19997
|
-
"text": "ContextGuardPolicy"
|
|
19998
|
-
}
|
|
19986
|
+
"name": "showWaitingIfBadged",
|
|
19987
|
+
"privacy": "private",
|
|
19988
|
+
"return": {
|
|
19989
|
+
"type": {
|
|
19990
|
+
"text": "void"
|
|
19999
19991
|
}
|
|
20000
|
-
|
|
19992
|
+
},
|
|
19993
|
+
"description": "Opened from the badge: take the person to what is waiting on them (GENC-1660)."
|
|
20001
19994
|
},
|
|
20002
19995
|
{
|
|
20003
19996
|
"kind": "method",
|
|
20004
|
-
"name": "
|
|
19997
|
+
"name": "refreshNeedsUser",
|
|
19998
|
+
"privacy": "private",
|
|
20005
19999
|
"return": {
|
|
20006
20000
|
"type": {
|
|
20007
|
-
"text": "
|
|
20001
|
+
"text": "void"
|
|
20008
20002
|
}
|
|
20009
20003
|
},
|
|
20004
|
+
"description": "Badge only for this bubble's own assistant (GENC-1660)."
|
|
20005
|
+
},
|
|
20006
|
+
{
|
|
20007
|
+
"kind": "method",
|
|
20008
|
+
"name": "dialogContentChanged",
|
|
20010
20009
|
"parameters": [
|
|
20011
20010
|
{
|
|
20012
|
-
"name": "
|
|
20013
|
-
"optional": true,
|
|
20011
|
+
"name": "_",
|
|
20014
20012
|
"type": {
|
|
20015
|
-
"text": "
|
|
20013
|
+
"text": "HTMLElement[]"
|
|
20014
|
+
}
|
|
20015
|
+
},
|
|
20016
|
+
{
|
|
20017
|
+
"name": "next",
|
|
20018
|
+
"type": {
|
|
20019
|
+
"text": "HTMLElement[]"
|
|
20016
20020
|
}
|
|
20017
20021
|
}
|
|
20018
20022
|
]
|
|
20019
20023
|
},
|
|
20020
20024
|
{
|
|
20021
20025
|
"kind": "method",
|
|
20022
|
-
"name": "
|
|
20026
|
+
"name": "findAssistant",
|
|
20027
|
+
"privacy": "private",
|
|
20023
20028
|
"return": {
|
|
20024
20029
|
"type": {
|
|
20025
|
-
"text": "
|
|
20030
|
+
"text": "Element | null"
|
|
20026
20031
|
}
|
|
20027
20032
|
},
|
|
20028
20033
|
"parameters": [
|
|
20029
20034
|
{
|
|
20030
|
-
"name": "
|
|
20035
|
+
"name": "nodes",
|
|
20031
20036
|
"optional": true,
|
|
20032
20037
|
"type": {
|
|
20033
|
-
"text": "
|
|
20038
|
+
"text": "HTMLElement[]"
|
|
20034
20039
|
}
|
|
20035
20040
|
}
|
|
20036
20041
|
]
|
|
20037
20042
|
},
|
|
20038
20043
|
{
|
|
20039
20044
|
"kind": "method",
|
|
20040
|
-
"name": "
|
|
20041
|
-
"
|
|
20042
|
-
"type": {
|
|
20043
|
-
"text": "boolean"
|
|
20044
|
-
}
|
|
20045
|
-
},
|
|
20045
|
+
"name": "showCloseButton",
|
|
20046
|
+
"privacy": "private",
|
|
20046
20047
|
"parameters": [
|
|
20047
20048
|
{
|
|
20048
|
-
"name": "
|
|
20049
|
-
"optional": true,
|
|
20049
|
+
"name": "assistant",
|
|
20050
20050
|
"type": {
|
|
20051
|
-
"text": "
|
|
20051
|
+
"text": "Element"
|
|
20052
20052
|
}
|
|
20053
20053
|
}
|
|
20054
|
-
]
|
|
20054
|
+
],
|
|
20055
|
+
"description": "The Close button is the assistant's own, rendered in its header beside the cog. It used to be\na design-system button injected into the assistant's light DOM, where the assistant's styles\ncould reach its host but not the padded control inside it, so it sat narrower than the cog\nand off its centre line, and every host carried a shim to square it up."
|
|
20055
20056
|
},
|
|
20056
20057
|
{
|
|
20057
20058
|
"kind": "method",
|
|
20058
|
-
"name": "
|
|
20059
|
-
"
|
|
20060
|
-
"type": {
|
|
20061
|
-
"text": "boolean"
|
|
20062
|
-
}
|
|
20063
|
-
}
|
|
20059
|
+
"name": "removeCloseButton",
|
|
20060
|
+
"privacy": "private"
|
|
20064
20061
|
},
|
|
20065
20062
|
{
|
|
20066
20063
|
"kind": "method",
|
|
20067
|
-
"name": "
|
|
20068
|
-
"return": {
|
|
20069
|
-
"type": {
|
|
20070
|
-
"text": "Promise<string[]>"
|
|
20071
|
-
}
|
|
20072
|
-
},
|
|
20064
|
+
"name": "onBubbleMouseDown",
|
|
20073
20065
|
"parameters": [
|
|
20074
20066
|
{
|
|
20075
|
-
"name": "
|
|
20076
|
-
"type": {
|
|
20077
|
-
"text": "ChatMessage[]"
|
|
20078
|
-
}
|
|
20079
|
-
},
|
|
20080
|
-
{
|
|
20081
|
-
"name": "prompt",
|
|
20082
|
-
"type": {
|
|
20083
|
-
"text": "string"
|
|
20084
|
-
}
|
|
20085
|
-
},
|
|
20086
|
-
{
|
|
20087
|
-
"name": "count",
|
|
20067
|
+
"name": "e",
|
|
20088
20068
|
"type": {
|
|
20089
|
-
"text": "
|
|
20069
|
+
"text": "MouseEvent"
|
|
20090
20070
|
}
|
|
20091
|
-
}
|
|
20071
|
+
}
|
|
20072
|
+
]
|
|
20073
|
+
},
|
|
20074
|
+
{
|
|
20075
|
+
"kind": "method",
|
|
20076
|
+
"name": "onDialogHeaderMouseDown",
|
|
20077
|
+
"parameters": [
|
|
20092
20078
|
{
|
|
20093
|
-
"name": "
|
|
20094
|
-
"optional": true,
|
|
20079
|
+
"name": "e",
|
|
20095
20080
|
"type": {
|
|
20096
|
-
"text": "
|
|
20081
|
+
"text": "CustomEvent<{ clientX: number; clientY: number }>"
|
|
20097
20082
|
}
|
|
20098
20083
|
}
|
|
20099
20084
|
]
|
|
20100
20085
|
},
|
|
20101
20086
|
{
|
|
20102
|
-
"kind": "
|
|
20103
|
-
"name": "
|
|
20104
|
-
"
|
|
20105
|
-
|
|
20106
|
-
"text": "ReadonlyArray<TurnSnapshot>"
|
|
20107
|
-
}
|
|
20108
|
-
}
|
|
20087
|
+
"kind": "field",
|
|
20088
|
+
"name": "onCloseBtnClick",
|
|
20089
|
+
"privacy": "private",
|
|
20090
|
+
"readonly": true
|
|
20109
20091
|
},
|
|
20110
20092
|
{
|
|
20111
20093
|
"kind": "method",
|
|
20112
|
-
"name": "
|
|
20113
|
-
"
|
|
20114
|
-
"type": {
|
|
20115
|
-
"text": "ReadonlyArray<DiagnosticEntry>"
|
|
20116
|
-
}
|
|
20117
|
-
},
|
|
20118
|
-
"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()`."
|
|
20094
|
+
"name": "cancelClose",
|
|
20095
|
+
"privacy": "private"
|
|
20119
20096
|
},
|
|
20120
20097
|
{
|
|
20121
20098
|
"kind": "method",
|
|
20122
|
-
"name": "
|
|
20123
|
-
"
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
|
|
20127
|
-
|
|
20099
|
+
"name": "startCloseDialog",
|
|
20100
|
+
"privacy": "private"
|
|
20101
|
+
},
|
|
20102
|
+
{
|
|
20103
|
+
"kind": "field",
|
|
20104
|
+
"name": "onDocMouseMove",
|
|
20105
|
+
"privacy": "private"
|
|
20106
|
+
},
|
|
20107
|
+
{
|
|
20108
|
+
"kind": "field",
|
|
20109
|
+
"name": "applyDragFrame",
|
|
20110
|
+
"privacy": "private"
|
|
20111
|
+
},
|
|
20112
|
+
{
|
|
20113
|
+
"kind": "field",
|
|
20114
|
+
"name": "onDocMouseUp",
|
|
20115
|
+
"privacy": "private"
|
|
20128
20116
|
},
|
|
20129
20117
|
{
|
|
20130
20118
|
"kind": "method",
|
|
20131
|
-
"name": "
|
|
20132
|
-
"return": {
|
|
20133
|
-
"type": {
|
|
20134
|
-
"text": "void | Promise<void>"
|
|
20135
|
-
}
|
|
20136
|
-
}
|
|
20119
|
+
"name": "onPopout"
|
|
20137
20120
|
},
|
|
20138
20121
|
{
|
|
20139
20122
|
"kind": "method",
|
|
20140
|
-
"name": "
|
|
20141
|
-
|
|
20142
|
-
|
|
20143
|
-
|
|
20144
|
-
|
|
20145
|
-
|
|
20123
|
+
"name": "onCloseDialog"
|
|
20124
|
+
},
|
|
20125
|
+
{
|
|
20126
|
+
"kind": "field",
|
|
20127
|
+
"name": "tooltipStyle",
|
|
20128
|
+
"type": {
|
|
20129
|
+
"text": "string"
|
|
20130
|
+
},
|
|
20131
|
+
"readonly": true
|
|
20132
|
+
}
|
|
20133
|
+
],
|
|
20134
|
+
"attributes": [
|
|
20135
|
+
{
|
|
20136
|
+
"name": "title",
|
|
20137
|
+
"type": {
|
|
20138
|
+
"text": "string"
|
|
20139
|
+
},
|
|
20140
|
+
"default": "'AI Assistant'",
|
|
20141
|
+
"fieldName": "title"
|
|
20142
|
+
},
|
|
20143
|
+
{
|
|
20144
|
+
"name": "image-src",
|
|
20145
|
+
"type": {
|
|
20146
|
+
"text": "string | undefined"
|
|
20147
|
+
},
|
|
20148
|
+
"fieldName": "imageSrc"
|
|
20149
|
+
},
|
|
20150
|
+
{
|
|
20151
|
+
"name": "design-system-prefix",
|
|
20152
|
+
"type": {
|
|
20153
|
+
"text": "string"
|
|
20154
|
+
},
|
|
20155
|
+
"default": "'rapid'",
|
|
20156
|
+
"fieldName": "designSystemPrefix"
|
|
20157
|
+
},
|
|
20158
|
+
{
|
|
20159
|
+
"name": "needs-input-label",
|
|
20160
|
+
"type": {
|
|
20161
|
+
"text": "string"
|
|
20162
|
+
},
|
|
20163
|
+
"default": "'The assistant needs your input'",
|
|
20164
|
+
"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.",
|
|
20165
|
+
"fieldName": "needsInputLabel"
|
|
20146
20166
|
}
|
|
20147
20167
|
],
|
|
20148
20168
|
"superclass": {
|
|
20149
|
-
"name": "
|
|
20150
|
-
"
|
|
20151
|
-
}
|
|
20169
|
+
"name": "GenesisElement",
|
|
20170
|
+
"package": "@genesislcap/web-core"
|
|
20171
|
+
},
|
|
20172
|
+
"tagName": "foundation-ai-chat-bubble",
|
|
20173
|
+
"customElement": true
|
|
20152
20174
|
}
|
|
20153
20175
|
],
|
|
20154
20176
|
"exports": [
|
|
20155
20177
|
{
|
|
20156
20178
|
"kind": "js",
|
|
20157
|
-
"name": "
|
|
20179
|
+
"name": "AiChatBubble",
|
|
20158
20180
|
"declaration": {
|
|
20159
|
-
"name": "
|
|
20160
|
-
"module": "src/components/
|
|
20181
|
+
"name": "AiChatBubble",
|
|
20182
|
+
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
20183
|
+
}
|
|
20184
|
+
},
|
|
20185
|
+
{
|
|
20186
|
+
"kind": "custom-element-definition",
|
|
20187
|
+
"name": "foundation-ai-chat-bubble",
|
|
20188
|
+
"declaration": {
|
|
20189
|
+
"name": "AiChatBubble",
|
|
20190
|
+
"module": "src/components/chat-bubble/chat-bubble.ts"
|
|
20161
20191
|
}
|
|
20162
20192
|
}
|
|
20163
20193
|
]
|
|
20164
20194
|
},
|
|
20165
20195
|
{
|
|
20166
20196
|
"kind": "javascript-module",
|
|
20167
|
-
"path": "src/components/
|
|
20197
|
+
"path": "src/components/chat-bubble/index.ts",
|
|
20168
20198
|
"declarations": [],
|
|
20169
20199
|
"exports": [
|
|
20170
20200
|
{
|
|
20171
20201
|
"kind": "js",
|
|
20172
|
-
"name": "
|
|
20173
|
-
"declaration": {
|
|
20174
|
-
"name": "AiDriver",
|
|
20175
|
-
"module": "./ai-driver"
|
|
20176
|
-
}
|
|
20177
|
-
},
|
|
20178
|
-
{
|
|
20179
|
-
"kind": "js",
|
|
20180
|
-
"name": "AiDriverEventMap",
|
|
20181
|
-
"declaration": {
|
|
20182
|
-
"name": "AiDriverEventMap",
|
|
20183
|
-
"module": "./ai-driver"
|
|
20184
|
-
}
|
|
20185
|
-
},
|
|
20186
|
-
{
|
|
20187
|
-
"kind": "js",
|
|
20188
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
20189
|
-
"declaration": {
|
|
20190
|
-
"name": "AI_DRIVER_EVENT_TYPES",
|
|
20191
|
-
"module": "./ai-driver"
|
|
20192
|
-
}
|
|
20193
|
-
},
|
|
20194
|
-
{
|
|
20195
|
-
"kind": "js",
|
|
20196
|
-
"name": "BaseDriverDecorator",
|
|
20202
|
+
"name": "*",
|
|
20197
20203
|
"declaration": {
|
|
20198
|
-
"name": "
|
|
20199
|
-
"
|
|
20204
|
+
"name": "*",
|
|
20205
|
+
"package": "./chat-bubble"
|
|
20200
20206
|
}
|
|
20201
20207
|
}
|
|
20202
20208
|
]
|
|
20203
20209
|
},
|
|
20204
|
-
{
|
|
20205
|
-
"kind": "javascript-module",
|
|
20206
|
-
"path": "src/components/ai-driver/stub-driver.ts",
|
|
20207
|
-
"declarations": [],
|
|
20208
|
-
"exports": []
|
|
20209
|
-
},
|
|
20210
20210
|
{
|
|
20211
20211
|
"kind": "javascript-module",
|
|
20212
20212
|
"path": "src/components/chat-driver/align-event-globals.ts",
|