@genesislcap/ai-assistant 15.3.1 → 15.3.2-FUI-2591.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1330 -1330
- package/dist/dts/react.d.ts +22 -22
- package/dist/react.cjs +32 -32
- package/dist/react.mjs +30 -30
- package/package.json +17 -17
|
@@ -720,978 +720,498 @@
|
|
|
720
720
|
},
|
|
721
721
|
{
|
|
722
722
|
"kind": "javascript-module",
|
|
723
|
-
"path": "src/
|
|
723
|
+
"path": "src/config/config.ts",
|
|
724
724
|
"declarations": [
|
|
725
725
|
{
|
|
726
|
-
"kind": "
|
|
727
|
-
"
|
|
728
|
-
"
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
726
|
+
"kind": "function",
|
|
727
|
+
"name": "defineAgent",
|
|
728
|
+
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"exports": [
|
|
732
|
+
{
|
|
733
|
+
"kind": "js",
|
|
734
|
+
"name": "CachePolicy",
|
|
735
|
+
"declaration": {
|
|
736
|
+
"name": "CachePolicy",
|
|
737
|
+
"module": "src/config/config.ts"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"kind": "js",
|
|
742
|
+
"name": "ChatFallback",
|
|
743
|
+
"declaration": {
|
|
744
|
+
"name": "ChatFallback",
|
|
745
|
+
"module": "src/config/config.ts"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"kind": "js",
|
|
750
|
+
"name": "ChatInputDuringExecutionMode",
|
|
751
|
+
"declaration": {
|
|
752
|
+
"name": "ChatInputDuringExecutionMode",
|
|
753
|
+
"module": "src/config/config.ts"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"kind": "js",
|
|
758
|
+
"name": "ChatToolChoice",
|
|
759
|
+
"declaration": {
|
|
760
|
+
"name": "ChatToolChoice",
|
|
761
|
+
"module": "src/config/config.ts"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "js",
|
|
766
|
+
"name": "defineAgent",
|
|
767
|
+
"declaration": {
|
|
768
|
+
"name": "defineAgent",
|
|
769
|
+
"module": "src/config/config.ts"
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
]
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"kind": "javascript-module",
|
|
776
|
+
"path": "src/config/define-stateful-agent.ts",
|
|
777
|
+
"declarations": [
|
|
778
|
+
{
|
|
779
|
+
"kind": "function",
|
|
780
|
+
"name": "restoreMachine",
|
|
781
|
+
"return": {
|
|
782
|
+
"type": {
|
|
783
|
+
"text": "void"
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
"parameters": [
|
|
738
787
|
{
|
|
739
|
-
"
|
|
740
|
-
"name": "animFrame",
|
|
788
|
+
"name": "machine",
|
|
741
789
|
"type": {
|
|
742
|
-
"text": "
|
|
790
|
+
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
743
791
|
},
|
|
744
|
-
"
|
|
792
|
+
"description": "the machine to restore (already constructed/started)."
|
|
745
793
|
},
|
|
746
794
|
{
|
|
747
|
-
"
|
|
748
|
-
"name": "bandPaths",
|
|
795
|
+
"name": "restored",
|
|
749
796
|
"type": {
|
|
750
|
-
"text": "
|
|
797
|
+
"text": "unknown"
|
|
751
798
|
},
|
|
752
|
-
"
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
"kind": "method",
|
|
756
|
-
"name": "tick",
|
|
757
|
-
"privacy": "private",
|
|
758
|
-
"parameters": [
|
|
759
|
-
{
|
|
760
|
-
"name": "now",
|
|
761
|
-
"optional": true,
|
|
762
|
-
"type": {
|
|
763
|
-
"text": "number"
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
]
|
|
799
|
+
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
767
800
|
},
|
|
768
801
|
{
|
|
769
|
-
"
|
|
770
|
-
"
|
|
771
|
-
"
|
|
772
|
-
"static": true,
|
|
773
|
-
"return": {
|
|
774
|
-
"type": {
|
|
775
|
-
"text": "string"
|
|
776
|
-
}
|
|
777
|
-
},
|
|
778
|
-
"parameters": [
|
|
779
|
-
{
|
|
780
|
-
"name": "cfg",
|
|
781
|
-
"type": {
|
|
782
|
-
"text": "BandConfig"
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
{
|
|
786
|
-
"name": "frame",
|
|
787
|
-
"type": {
|
|
788
|
-
"text": "number"
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
],
|
|
792
|
-
"description": "Trace one band for the given frame: a baseline-plus-harmonics half-thickness\nprofile, clamped at 0 (so the band pinches to nothing between bumps) and\ntapered to 0 at both ends."
|
|
802
|
+
"name": "key",
|
|
803
|
+
"default": "'machine'",
|
|
804
|
+
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
793
805
|
}
|
|
794
806
|
],
|
|
795
|
-
"
|
|
796
|
-
|
|
797
|
-
|
|
807
|
+
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"kind": "function",
|
|
811
|
+
"name": "defineStatefulAgent",
|
|
812
|
+
"return": {
|
|
813
|
+
"type": {
|
|
814
|
+
"text": "AgentConfig"
|
|
815
|
+
}
|
|
798
816
|
},
|
|
799
|
-
"
|
|
800
|
-
|
|
817
|
+
"parameters": [
|
|
818
|
+
{
|
|
819
|
+
"name": "opts",
|
|
820
|
+
"type": {
|
|
821
|
+
"text": "StatefulAgentInit<S>"
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
],
|
|
825
|
+
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
801
826
|
}
|
|
802
827
|
],
|
|
803
828
|
"exports": [
|
|
804
829
|
{
|
|
805
830
|
"kind": "js",
|
|
806
|
-
"name": "
|
|
831
|
+
"name": "restoreMachine",
|
|
807
832
|
"declaration": {
|
|
808
|
-
"name": "
|
|
809
|
-
"module": "src/
|
|
833
|
+
"name": "restoreMachine",
|
|
834
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
810
835
|
}
|
|
811
836
|
},
|
|
812
837
|
{
|
|
813
|
-
"kind": "
|
|
814
|
-
"name": "
|
|
838
|
+
"kind": "js",
|
|
839
|
+
"name": "defineStatefulAgent",
|
|
815
840
|
"declaration": {
|
|
816
|
-
"name": "
|
|
817
|
-
"module": "src/
|
|
841
|
+
"name": "defineStatefulAgent",
|
|
842
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
818
843
|
}
|
|
819
844
|
}
|
|
820
845
|
]
|
|
821
846
|
},
|
|
822
847
|
{
|
|
823
848
|
"kind": "javascript-module",
|
|
824
|
-
"path": "src/
|
|
849
|
+
"path": "src/config/fallback-agents.ts",
|
|
825
850
|
"declarations": [
|
|
826
851
|
{
|
|
827
|
-
"kind": "
|
|
828
|
-
"
|
|
829
|
-
"
|
|
830
|
-
|
|
831
|
-
{
|
|
832
|
-
"kind": "field",
|
|
833
|
-
"name": "active",
|
|
834
|
-
"type": {
|
|
835
|
-
"text": "boolean"
|
|
836
|
-
},
|
|
837
|
-
"default": "false"
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
"kind": "field",
|
|
841
|
-
"name": "speed",
|
|
842
|
-
"type": {
|
|
843
|
-
"text": "number"
|
|
844
|
-
},
|
|
845
|
-
"default": "1.5",
|
|
846
|
-
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps)."
|
|
847
|
-
},
|
|
848
|
-
{
|
|
849
|
-
"kind": "field",
|
|
850
|
-
"name": "direction",
|
|
851
|
-
"type": {
|
|
852
|
-
"text": "'cw' | 'ccw'"
|
|
853
|
-
},
|
|
854
|
-
"default": "'cw'",
|
|
855
|
-
"description": "Rotation direction. Default: 'cw' (clockwise)."
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
"kind": "field",
|
|
859
|
-
"name": "borderSize",
|
|
860
|
-
"type": {
|
|
861
|
-
"text": "number"
|
|
862
|
-
},
|
|
863
|
-
"default": "3",
|
|
864
|
-
"description": "Border thickness in px. Default: 3."
|
|
865
|
-
},
|
|
866
|
-
{
|
|
867
|
-
"kind": "field",
|
|
868
|
-
"name": "glowOpacity",
|
|
869
|
-
"type": {
|
|
870
|
-
"text": "number"
|
|
871
|
-
},
|
|
872
|
-
"default": "0.35",
|
|
873
|
-
"description": "Glow layer opacity (0–1). Default: 0.35."
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
"kind": "field",
|
|
877
|
-
"name": "glowSpread",
|
|
878
|
-
"type": {
|
|
879
|
-
"text": "number"
|
|
880
|
-
},
|
|
881
|
-
"default": "70",
|
|
882
|
-
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"kind": "method",
|
|
886
|
-
"name": "borderSizeChanged"
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"kind": "method",
|
|
890
|
-
"name": "glowOpacityChanged"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"kind": "method",
|
|
894
|
-
"name": "glowSpreadChanged"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"kind": "field",
|
|
898
|
-
"name": "FULL_ROTATION_DEG",
|
|
899
|
-
"type": {
|
|
900
|
-
"text": "number"
|
|
901
|
-
},
|
|
902
|
-
"privacy": "private",
|
|
903
|
-
"static": true,
|
|
904
|
-
"readonly": true,
|
|
905
|
-
"default": "360"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"kind": "field",
|
|
909
|
-
"name": "angle",
|
|
910
|
-
"type": {
|
|
911
|
-
"text": "number"
|
|
912
|
-
},
|
|
913
|
-
"privacy": "private",
|
|
914
|
-
"default": "0"
|
|
915
|
-
},
|
|
916
|
-
{
|
|
917
|
-
"kind": "field",
|
|
918
|
-
"name": "lastTime",
|
|
919
|
-
"type": {
|
|
920
|
-
"text": "number | undefined"
|
|
921
|
-
},
|
|
922
|
-
"privacy": "private"
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
"kind": "field",
|
|
926
|
-
"name": "animFrame",
|
|
927
|
-
"type": {
|
|
928
|
-
"text": "number | undefined"
|
|
929
|
-
},
|
|
930
|
-
"privacy": "private"
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"kind": "method",
|
|
934
|
-
"name": "tick",
|
|
935
|
-
"privacy": "private",
|
|
936
|
-
"parameters": [
|
|
937
|
-
{
|
|
938
|
-
"name": "now",
|
|
939
|
-
"optional": true,
|
|
940
|
-
"type": {
|
|
941
|
-
"text": "number"
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
]
|
|
945
|
-
}
|
|
946
|
-
],
|
|
947
|
-
"attributes": [
|
|
948
|
-
{
|
|
949
|
-
"type": {
|
|
950
|
-
"text": "boolean"
|
|
951
|
-
},
|
|
952
|
-
"default": "false",
|
|
953
|
-
"fieldName": "active"
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"type": {
|
|
957
|
-
"text": "number"
|
|
958
|
-
},
|
|
959
|
-
"default": "HALO_DEFAULT_SPEED",
|
|
960
|
-
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps).",
|
|
961
|
-
"resolveInitializer": {
|
|
962
|
-
"module": "src/components/halo-overlay.ts"
|
|
963
|
-
},
|
|
964
|
-
"fieldName": "speed"
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
"name": "direction",
|
|
968
|
-
"type": {
|
|
969
|
-
"text": "'cw' | 'ccw'"
|
|
970
|
-
},
|
|
971
|
-
"default": "'cw'",
|
|
972
|
-
"description": "Rotation direction. Default: 'cw' (clockwise).",
|
|
973
|
-
"fieldName": "direction"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"name": "border-size",
|
|
977
|
-
"type": {
|
|
978
|
-
"text": "number"
|
|
979
|
-
},
|
|
980
|
-
"default": "HALO_DEFAULT_BORDER_SIZE",
|
|
981
|
-
"description": "Border thickness in px. Default: 3.",
|
|
982
|
-
"resolveInitializer": {
|
|
983
|
-
"module": "src/components/halo-overlay.ts"
|
|
984
|
-
},
|
|
985
|
-
"fieldName": "borderSize"
|
|
986
|
-
},
|
|
987
|
-
{
|
|
988
|
-
"name": "glow-opacity",
|
|
989
|
-
"type": {
|
|
990
|
-
"text": "number"
|
|
991
|
-
},
|
|
992
|
-
"default": "HALO_DEFAULT_GLOW_OPACITY",
|
|
993
|
-
"description": "Glow layer opacity (0–1). Default: 0.35.",
|
|
994
|
-
"resolveInitializer": {
|
|
995
|
-
"module": "src/components/halo-overlay.ts"
|
|
996
|
-
},
|
|
997
|
-
"fieldName": "glowOpacity"
|
|
998
|
-
},
|
|
999
|
-
{
|
|
1000
|
-
"name": "glow-spread",
|
|
1001
|
-
"type": {
|
|
1002
|
-
"text": "number"
|
|
1003
|
-
},
|
|
1004
|
-
"default": "HALO_DEFAULT_GLOW_SPREAD",
|
|
1005
|
-
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70.",
|
|
1006
|
-
"resolveInitializer": {
|
|
1007
|
-
"module": "src/components/halo-overlay.ts"
|
|
1008
|
-
},
|
|
1009
|
-
"fieldName": "glowSpread"
|
|
1010
|
-
}
|
|
1011
|
-
],
|
|
1012
|
-
"superclass": {
|
|
1013
|
-
"name": "GenesisElement",
|
|
1014
|
-
"package": "@genesislcap/web-core"
|
|
852
|
+
"kind": "variable",
|
|
853
|
+
"name": "friendlyFallbackAgent",
|
|
854
|
+
"type": {
|
|
855
|
+
"text": "FallbackAgentConfig"
|
|
1015
856
|
},
|
|
1016
|
-
"
|
|
1017
|
-
"
|
|
857
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
858
|
+
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"kind": "variable",
|
|
862
|
+
"name": "strictFallbackAgent",
|
|
863
|
+
"type": {
|
|
864
|
+
"text": "FallbackAgentConfig"
|
|
865
|
+
},
|
|
866
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. Respond with a single short sentence stating what you can assist with. Do not elaborate. The available specialists are: {{agents}}.`,\n}",
|
|
867
|
+
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list."
|
|
1018
868
|
}
|
|
1019
869
|
],
|
|
1020
870
|
"exports": [
|
|
1021
871
|
{
|
|
1022
872
|
"kind": "js",
|
|
1023
|
-
"name": "
|
|
873
|
+
"name": "friendlyFallbackAgent",
|
|
1024
874
|
"declaration": {
|
|
1025
|
-
"name": "
|
|
1026
|
-
"module": "src/
|
|
875
|
+
"name": "friendlyFallbackAgent",
|
|
876
|
+
"module": "src/config/fallback-agents.ts"
|
|
1027
877
|
}
|
|
1028
878
|
},
|
|
1029
879
|
{
|
|
1030
|
-
"kind": "
|
|
1031
|
-
"name": "
|
|
880
|
+
"kind": "js",
|
|
881
|
+
"name": "strictFallbackAgent",
|
|
1032
882
|
"declaration": {
|
|
1033
|
-
"name": "
|
|
1034
|
-
"module": "src/
|
|
883
|
+
"name": "strictFallbackAgent",
|
|
884
|
+
"module": "src/config/fallback-agents.ts"
|
|
1035
885
|
}
|
|
1036
886
|
}
|
|
1037
887
|
]
|
|
1038
888
|
},
|
|
1039
889
|
{
|
|
1040
890
|
"kind": "javascript-module",
|
|
1041
|
-
"path": "src/
|
|
1042
|
-
"declarations": [
|
|
891
|
+
"path": "src/config/index.ts",
|
|
892
|
+
"declarations": [],
|
|
893
|
+
"exports": [
|
|
1043
894
|
{
|
|
1044
|
-
"kind": "
|
|
1045
|
-
"
|
|
1046
|
-
"
|
|
1047
|
-
|
|
1048
|
-
"
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
"
|
|
895
|
+
"kind": "js",
|
|
896
|
+
"name": "*",
|
|
897
|
+
"declaration": {
|
|
898
|
+
"name": "*",
|
|
899
|
+
"package": "./config"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"kind": "js",
|
|
904
|
+
"name": "*",
|
|
905
|
+
"declaration": {
|
|
906
|
+
"name": "*",
|
|
907
|
+
"package": "./fallback-agents"
|
|
908
|
+
}
|
|
1053
909
|
}
|
|
1054
|
-
]
|
|
910
|
+
]
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"kind": "javascript-module",
|
|
914
|
+
"path": "src/config/validate-providers.ts",
|
|
915
|
+
"declarations": [],
|
|
916
|
+
"exports": []
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"kind": "javascript-module",
|
|
920
|
+
"path": "src/main/index.ts",
|
|
921
|
+
"declarations": [],
|
|
1055
922
|
"exports": [
|
|
1056
923
|
{
|
|
1057
924
|
"kind": "js",
|
|
1058
|
-
"name": "
|
|
925
|
+
"name": "*",
|
|
1059
926
|
"declaration": {
|
|
1060
|
-
"name": "
|
|
1061
|
-
"
|
|
927
|
+
"name": "*",
|
|
928
|
+
"package": "./main.template"
|
|
1062
929
|
}
|
|
1063
930
|
},
|
|
1064
931
|
{
|
|
1065
|
-
"kind": "
|
|
1066
|
-
"name": "
|
|
932
|
+
"kind": "js",
|
|
933
|
+
"name": "*",
|
|
1067
934
|
"declaration": {
|
|
1068
|
-
"name": "
|
|
1069
|
-
"
|
|
935
|
+
"name": "*",
|
|
936
|
+
"package": "./main"
|
|
937
|
+
}
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"kind": "js",
|
|
941
|
+
"name": "*",
|
|
942
|
+
"declaration": {
|
|
943
|
+
"name": "*",
|
|
944
|
+
"package": "./main.types"
|
|
1070
945
|
}
|
|
1071
946
|
}
|
|
1072
947
|
]
|
|
1073
948
|
},
|
|
1074
949
|
{
|
|
1075
950
|
"kind": "javascript-module",
|
|
1076
|
-
"path": "src/
|
|
951
|
+
"path": "src/main/main.styles.ts",
|
|
952
|
+
"declarations": [
|
|
953
|
+
{
|
|
954
|
+
"kind": "variable",
|
|
955
|
+
"name": "styles",
|
|
956
|
+
"default": "css`\n ${baseStyles}\n ${settingsModalStyles}\n`"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"exports": [
|
|
960
|
+
{
|
|
961
|
+
"kind": "js",
|
|
962
|
+
"name": "styles",
|
|
963
|
+
"declaration": {
|
|
964
|
+
"name": "styles",
|
|
965
|
+
"module": "src/main/main.styles.ts"
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
]
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"kind": "javascript-module",
|
|
972
|
+
"path": "src/main/main.template.ts",
|
|
973
|
+
"declarations": [],
|
|
974
|
+
"exports": []
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"kind": "javascript-module",
|
|
978
|
+
"path": "src/main/main.ts",
|
|
1077
979
|
"declarations": [
|
|
980
|
+
{
|
|
981
|
+
"kind": "variable",
|
|
982
|
+
"name": "sparkleIconSvg",
|
|
983
|
+
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5 5 C9.5 11.4 11.1 13 17.5 13 C11.1 13 9.5 14.6 9.5 21 C9.5 14.6 7.9 13 1.5 13 C7.9 13 9.5 11.4 9.5 5 Z\" fill=\"currentColor\"/><path d=\"M17 2.5 C17 5.7 17.8 6.5 21 6.5 C17.8 6.5 17 7.3 17 10.5 C17 7.3 16.2 6.5 13 6.5 C16.2 6.5 17 5.7 17 2.5 Z\" fill=\"currentColor\"/><path d=\"M17.5 15 C17.5 17 18 17.5 20 17.5 C18 17.5 17.5 18 17.5 20 C17.5 18 17 17.5 15 17.5 C17 17.5 17.5 17 17.5 15 Z\" fill=\"currentColor\"/></svg>`",
|
|
984
|
+
"description": "Three-star AI \"sparkle\" mark — the conventional AI signifier; default assistant avatar."
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"kind": "variable",
|
|
988
|
+
"name": "userIconSvg",
|
|
989
|
+
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\" fill=\"currentColor\"/></svg>`",
|
|
990
|
+
"description": "Person silhouette — default user avatar."
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"kind": "variable",
|
|
994
|
+
"name": "genesisIconSvg",
|
|
995
|
+
"default": "`<svg viewBox=\"-4 0 30 26\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M18.7702 23.0437C18.7702 22.4675 18.8526 21.8089 19.0995 21.3149C19.3465 20.7386 19.6758 20.2447 20.0874 19.833C20.4991 19.4214 20.993 19.0921 21.5693 18.8451C22.1456 18.5982 22.7219 18.5158 23.2981 18.5158H25.9326V11.6828H19.1819V14.3172C19.1819 15.5521 18.6879 16.7047 17.8647 17.5279C17.0414 18.3512 15.8888 18.8451 14.7363 18.9275H6.7507V6.99025H16.4651V0.157227H3.54C2.63442 0.157227 1.72884 0.568855 1.07023 1.22746C0.411628 1.88606 0 2.79165 0 3.77955V22.2205C0 23.1261 0.411628 24.0316 1.07023 24.7726C1.72884 25.4312 2.63442 25.8428 3.54 25.8428H18.7702V23.0437Z\" fill=\"currentColor\"/></svg>`",
|
|
996
|
+
"description": "Genesis G-mark — opt-in assistant avatar (the default before the sparkle mark)."
|
|
997
|
+
},
|
|
1078
998
|
{
|
|
1079
999
|
"kind": "class",
|
|
1080
|
-
"description": "
|
|
1081
|
-
"name": "
|
|
1000
|
+
"description": "Foundation AI Assistant component.",
|
|
1001
|
+
"name": "FoundationAiAssistant",
|
|
1082
1002
|
"members": [
|
|
1083
1003
|
{
|
|
1084
1004
|
"kind": "field",
|
|
1085
|
-
"name": "
|
|
1005
|
+
"name": "providerRegistry",
|
|
1086
1006
|
"type": {
|
|
1087
|
-
"text": "
|
|
1088
|
-
}
|
|
1089
|
-
"default": "56",
|
|
1090
|
-
"description": "Diameter of the circular window in px. Default: 56."
|
|
1007
|
+
"text": "AIProviderRegistry"
|
|
1008
|
+
}
|
|
1091
1009
|
},
|
|
1092
1010
|
{
|
|
1093
|
-
"kind": "
|
|
1094
|
-
"name": "
|
|
1011
|
+
"kind": "field",
|
|
1012
|
+
"name": "appSettingsProvider",
|
|
1013
|
+
"type": {
|
|
1014
|
+
"text": "AssistantAppSettingsProvider"
|
|
1015
|
+
}
|
|
1095
1016
|
},
|
|
1096
1017
|
{
|
|
1097
1018
|
"kind": "field",
|
|
1098
|
-
"name": "
|
|
1019
|
+
"name": "designSystemPrefix",
|
|
1099
1020
|
"type": {
|
|
1100
|
-
"text": "
|
|
1021
|
+
"text": "string"
|
|
1101
1022
|
},
|
|
1102
|
-
"
|
|
1023
|
+
"default": "'rapid'"
|
|
1103
1024
|
},
|
|
1104
1025
|
{
|
|
1105
1026
|
"kind": "field",
|
|
1106
|
-
"name": "
|
|
1027
|
+
"name": "headerTitle",
|
|
1107
1028
|
"type": {
|
|
1108
|
-
"text": "
|
|
1029
|
+
"text": "string"
|
|
1109
1030
|
},
|
|
1110
|
-
"
|
|
1031
|
+
"default": "'Genesis Assistant'"
|
|
1111
1032
|
},
|
|
1112
1033
|
{
|
|
1113
1034
|
"kind": "field",
|
|
1114
|
-
"name": "
|
|
1035
|
+
"name": "sessionKey",
|
|
1115
1036
|
"type": {
|
|
1116
|
-
"text": "
|
|
1037
|
+
"text": "string | undefined"
|
|
1117
1038
|
},
|
|
1118
|
-
"
|
|
1039
|
+
"description": "Explicit session/persistence key (GENC-1351 §5.12). When set, this is the\nsession identity — the key for the driver/store/persister/diagnostics\nregistries and the `sessionKey` passed to the persistence provider — taking\nprecedence over the DOM `id`. A host that scopes persistence per-entity\n(e.g. one chat session per project) binds this to a stable per-entity id;\nchanging it on a **connected** element re-keys the session in place — tears\ndown the current conversation and restores the new key's — via\n`switchSession`. Falls back to `id` when unset,\nso existing consumers are unaffected."
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"kind": "field",
|
|
1043
|
+
"name": "imageSrc",
|
|
1044
|
+
"type": {
|
|
1045
|
+
"text": "string | undefined"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"kind": "field",
|
|
1050
|
+
"name": "userImageSrc",
|
|
1051
|
+
"type": {
|
|
1052
|
+
"text": "string | undefined"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"kind": "field",
|
|
1057
|
+
"name": "assistantIcon",
|
|
1058
|
+
"type": {
|
|
1059
|
+
"text": "string | undefined"
|
|
1060
|
+
},
|
|
1061
|
+
"description": "Inline SVG markup overriding the default assistant \"sparkle\" avatar. The\nmarkup is sanitized (SVG profile) before rendering and uses the avatar's\ntheme colour via `currentColor`. For a raster/photo avatar set `imageSrc`\ninstead, which takes precedence. Set to `genesisIconSvg` to restore the\nGenesis G-mark."
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"kind": "field",
|
|
1065
|
+
"name": "assistantIconSafe",
|
|
1066
|
+
"type": {
|
|
1067
|
+
"text": "string"
|
|
1068
|
+
},
|
|
1069
|
+
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5 5 C9.5 11.4 11.1 13 17.5 13 C11.1 13 9.5 14.6 9.5 21 C9.5 14.6 7.9 13 1.5 13 C7.9 13 9.5 11.4 9.5 5 Z\" fill=\"currentColor\"/><path d=\"M17 2.5 C17 5.7 17.8 6.5 21 6.5 C17.8 6.5 17 7.3 17 10.5 C17 7.3 16.2 6.5 13 6.5 C16.2 6.5 17 5.7 17 2.5 Z\" fill=\"currentColor\"/><path d=\"M17.5 15 C17.5 17 18 17.5 20 17.5 C18 17.5 17.5 18 17.5 20 C17.5 18 17 17.5 15 17.5 C17 17.5 17.5 17 17.5 15 Z\" fill=\"currentColor\"/></svg>`",
|
|
1070
|
+
"description": "Sanitized `assistantIcon`, or the default sparkle mark; bound into the template. @internal"
|
|
1119
1071
|
},
|
|
1120
1072
|
{
|
|
1121
1073
|
"kind": "method",
|
|
1122
|
-
"name": "
|
|
1123
|
-
"privacy": "
|
|
1124
|
-
"
|
|
1125
|
-
{
|
|
1126
|
-
"
|
|
1127
|
-
"optional": true,
|
|
1128
|
-
"type": {
|
|
1129
|
-
"text": "number"
|
|
1130
|
-
}
|
|
1074
|
+
"name": "assistantIconChanged",
|
|
1075
|
+
"privacy": "protected",
|
|
1076
|
+
"return": {
|
|
1077
|
+
"type": {
|
|
1078
|
+
"text": "void"
|
|
1131
1079
|
}
|
|
1132
|
-
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"kind": "field",
|
|
1084
|
+
"name": "userIcon",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "string | undefined"
|
|
1087
|
+
},
|
|
1088
|
+
"description": "Inline SVG markup overriding the default user \"person\" avatar. The markup is\nsanitized (SVG profile) before rendering and uses the avatar's theme colour\nvia `currentColor`. For a raster/photo avatar set `userImageSrc` instead,\nwhich takes precedence."
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"kind": "field",
|
|
1092
|
+
"name": "userIconSafe",
|
|
1093
|
+
"type": {
|
|
1094
|
+
"text": "string"
|
|
1095
|
+
},
|
|
1096
|
+
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\" fill=\"currentColor\"/></svg>`",
|
|
1097
|
+
"description": "Sanitized `userIcon`, or the default person mark; bound into the template. @internal"
|
|
1133
1098
|
},
|
|
1134
1099
|
{
|
|
1135
1100
|
"kind": "method",
|
|
1136
|
-
"name": "
|
|
1137
|
-
"privacy": "
|
|
1138
|
-
"static": true,
|
|
1101
|
+
"name": "userIconChanged",
|
|
1102
|
+
"privacy": "protected",
|
|
1139
1103
|
"return": {
|
|
1140
1104
|
"type": {
|
|
1141
|
-
"text": "
|
|
1105
|
+
"text": "void"
|
|
1142
1106
|
}
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"kind": "field",
|
|
1111
|
+
"name": "placeholder",
|
|
1112
|
+
"type": {
|
|
1113
|
+
"text": "string"
|
|
1143
1114
|
},
|
|
1144
|
-
"
|
|
1145
|
-
|
|
1146
|
-
"name": "cfg",
|
|
1147
|
-
"type": {
|
|
1148
|
-
"text": "WaveConfig"
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
"name": "frame",
|
|
1153
|
-
"type": {
|
|
1154
|
-
"text": "number"
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
],
|
|
1158
|
-
"description": "Trace one wave's polyline `d` attribute for the given frame."
|
|
1159
|
-
}
|
|
1160
|
-
],
|
|
1161
|
-
"attributes": [
|
|
1115
|
+
"default": "'Message assistant...'"
|
|
1116
|
+
},
|
|
1162
1117
|
{
|
|
1118
|
+
"kind": "field",
|
|
1119
|
+
"name": "popoutMode",
|
|
1163
1120
|
"type": {
|
|
1164
|
-
"text": "
|
|
1121
|
+
"text": "PopoutMode | undefined"
|
|
1165
1122
|
},
|
|
1166
|
-
"
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1123
|
+
"description": "Controls the pop-out button shown next to the settings cog.\n\"expand\" — in bubble, expands to layout panel (fires chat-popout).\n\"collapse\" — in layout panel, collapses back to bubble (fires chat-popin).\nAbsent — no button (default standalone behaviour, no breaking change)."
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"kind": "field",
|
|
1127
|
+
"name": "agents",
|
|
1128
|
+
"type": {
|
|
1129
|
+
"text": "AgentConfig[] | undefined"
|
|
1170
1130
|
},
|
|
1171
|
-
"
|
|
1172
|
-
}
|
|
1173
|
-
],
|
|
1174
|
-
"superclass": {
|
|
1175
|
-
"name": "GenesisElement",
|
|
1176
|
-
"package": "@genesislcap/web-core"
|
|
1177
|
-
},
|
|
1178
|
-
"tagName": "ai-waves-indicator",
|
|
1179
|
-
"customElement": true
|
|
1180
|
-
}
|
|
1181
|
-
],
|
|
1182
|
-
"exports": [
|
|
1183
|
-
{
|
|
1184
|
-
"kind": "js",
|
|
1185
|
-
"name": "AiWavesIndicator",
|
|
1186
|
-
"declaration": {
|
|
1187
|
-
"name": "AiWavesIndicator",
|
|
1188
|
-
"module": "src/components/waves-indicator.ts"
|
|
1189
|
-
}
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
"kind": "custom-element-definition",
|
|
1193
|
-
"name": "ai-waves-indicator",
|
|
1194
|
-
"declaration": {
|
|
1195
|
-
"name": "AiWavesIndicator",
|
|
1196
|
-
"module": "src/components/waves-indicator.ts"
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
]
|
|
1200
|
-
},
|
|
1201
|
-
{
|
|
1202
|
-
"kind": "javascript-module",
|
|
1203
|
-
"path": "src/config/config.ts",
|
|
1204
|
-
"declarations": [
|
|
1205
|
-
{
|
|
1206
|
-
"kind": "function",
|
|
1207
|
-
"name": "defineAgent",
|
|
1208
|
-
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
1209
|
-
}
|
|
1210
|
-
],
|
|
1211
|
-
"exports": [
|
|
1212
|
-
{
|
|
1213
|
-
"kind": "js",
|
|
1214
|
-
"name": "CachePolicy",
|
|
1215
|
-
"declaration": {
|
|
1216
|
-
"name": "CachePolicy",
|
|
1217
|
-
"module": "src/config/config.ts"
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
{
|
|
1221
|
-
"kind": "js",
|
|
1222
|
-
"name": "ChatFallback",
|
|
1223
|
-
"declaration": {
|
|
1224
|
-
"name": "ChatFallback",
|
|
1225
|
-
"module": "src/config/config.ts"
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"kind": "js",
|
|
1230
|
-
"name": "ChatInputDuringExecutionMode",
|
|
1231
|
-
"declaration": {
|
|
1232
|
-
"name": "ChatInputDuringExecutionMode",
|
|
1233
|
-
"module": "src/config/config.ts"
|
|
1234
|
-
}
|
|
1235
|
-
},
|
|
1236
|
-
{
|
|
1237
|
-
"kind": "js",
|
|
1238
|
-
"name": "ChatToolChoice",
|
|
1239
|
-
"declaration": {
|
|
1240
|
-
"name": "ChatToolChoice",
|
|
1241
|
-
"module": "src/config/config.ts"
|
|
1242
|
-
}
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
"kind": "js",
|
|
1246
|
-
"name": "defineAgent",
|
|
1247
|
-
"declaration": {
|
|
1248
|
-
"name": "defineAgent",
|
|
1249
|
-
"module": "src/config/config.ts"
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
]
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"kind": "javascript-module",
|
|
1256
|
-
"path": "src/config/define-stateful-agent.ts",
|
|
1257
|
-
"declarations": [
|
|
1258
|
-
{
|
|
1259
|
-
"kind": "function",
|
|
1260
|
-
"name": "restoreMachine",
|
|
1261
|
-
"return": {
|
|
1262
|
-
"type": {
|
|
1263
|
-
"text": "void"
|
|
1264
|
-
}
|
|
1265
|
-
},
|
|
1266
|
-
"parameters": [
|
|
1131
|
+
"description": "Agent configuration. Each user message is routed to the appropriate specialist\nbased on intent. With a single entry, orchestration is skipped."
|
|
1132
|
+
},
|
|
1267
1133
|
{
|
|
1268
|
-
"
|
|
1134
|
+
"kind": "field",
|
|
1135
|
+
"name": "chatConfig",
|
|
1269
1136
|
"type": {
|
|
1270
|
-
"text": "
|
|
1137
|
+
"text": "ChatConfig"
|
|
1271
1138
|
},
|
|
1272
|
-
"
|
|
1139
|
+
"default": "{}"
|
|
1273
1140
|
},
|
|
1274
1141
|
{
|
|
1275
|
-
"
|
|
1142
|
+
"kind": "field",
|
|
1143
|
+
"name": "persistence",
|
|
1276
1144
|
"type": {
|
|
1277
|
-
"text": "
|
|
1145
|
+
"text": "SessionPersistenceConfig"
|
|
1278
1146
|
},
|
|
1279
|
-
"
|
|
1147
|
+
"default": "{}",
|
|
1148
|
+
"description": "Optional session persistence (GENC-1351). Off by default — set `enabled`\nand a `provider` (e.g. a `WebStorageSessionProvider`) to have the assistant\nautosave on idle and auto-restore the conversation on page reload. Exposed\nas a top-level property (like `agents`/`providerRegistry`) rather than via\n`chatConfig`, since the provider type lives in this package while\n`ChatConfig` lives in `foundation-ai`."
|
|
1280
1149
|
},
|
|
1281
|
-
{
|
|
1282
|
-
"name": "key",
|
|
1283
|
-
"default": "'machine'",
|
|
1284
|
-
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
1285
|
-
}
|
|
1286
|
-
],
|
|
1287
|
-
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
1288
|
-
},
|
|
1289
|
-
{
|
|
1290
|
-
"kind": "function",
|
|
1291
|
-
"name": "defineStatefulAgent",
|
|
1292
|
-
"return": {
|
|
1293
|
-
"type": {
|
|
1294
|
-
"text": "AgentConfig"
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
"parameters": [
|
|
1298
|
-
{
|
|
1299
|
-
"name": "opts",
|
|
1300
|
-
"type": {
|
|
1301
|
-
"text": "StatefulAgentInit<S>"
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
],
|
|
1305
|
-
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
1306
|
-
}
|
|
1307
|
-
],
|
|
1308
|
-
"exports": [
|
|
1309
|
-
{
|
|
1310
|
-
"kind": "js",
|
|
1311
|
-
"name": "restoreMachine",
|
|
1312
|
-
"declaration": {
|
|
1313
|
-
"name": "restoreMachine",
|
|
1314
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
{
|
|
1318
|
-
"kind": "js",
|
|
1319
|
-
"name": "defineStatefulAgent",
|
|
1320
|
-
"declaration": {
|
|
1321
|
-
"name": "defineStatefulAgent",
|
|
1322
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
]
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"kind": "javascript-module",
|
|
1329
|
-
"path": "src/config/fallback-agents.ts",
|
|
1330
|
-
"declarations": [
|
|
1331
|
-
{
|
|
1332
|
-
"kind": "variable",
|
|
1333
|
-
"name": "friendlyFallbackAgent",
|
|
1334
|
-
"type": {
|
|
1335
|
-
"text": "FallbackAgentConfig"
|
|
1336
|
-
},
|
|
1337
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
1338
|
-
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"kind": "variable",
|
|
1342
|
-
"name": "strictFallbackAgent",
|
|
1343
|
-
"type": {
|
|
1344
|
-
"text": "FallbackAgentConfig"
|
|
1345
|
-
},
|
|
1346
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. Respond with a single short sentence stating what you can assist with. Do not elaborate. The available specialists are: {{agents}}.`,\n}",
|
|
1347
|
-
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list."
|
|
1348
|
-
}
|
|
1349
|
-
],
|
|
1350
|
-
"exports": [
|
|
1351
|
-
{
|
|
1352
|
-
"kind": "js",
|
|
1353
|
-
"name": "friendlyFallbackAgent",
|
|
1354
|
-
"declaration": {
|
|
1355
|
-
"name": "friendlyFallbackAgent",
|
|
1356
|
-
"module": "src/config/fallback-agents.ts"
|
|
1357
|
-
}
|
|
1358
|
-
},
|
|
1359
|
-
{
|
|
1360
|
-
"kind": "js",
|
|
1361
|
-
"name": "strictFallbackAgent",
|
|
1362
|
-
"declaration": {
|
|
1363
|
-
"name": "strictFallbackAgent",
|
|
1364
|
-
"module": "src/config/fallback-agents.ts"
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
]
|
|
1368
|
-
},
|
|
1369
|
-
{
|
|
1370
|
-
"kind": "javascript-module",
|
|
1371
|
-
"path": "src/config/index.ts",
|
|
1372
|
-
"declarations": [],
|
|
1373
|
-
"exports": [
|
|
1374
|
-
{
|
|
1375
|
-
"kind": "js",
|
|
1376
|
-
"name": "*",
|
|
1377
|
-
"declaration": {
|
|
1378
|
-
"name": "*",
|
|
1379
|
-
"package": "./config"
|
|
1380
|
-
}
|
|
1381
|
-
},
|
|
1382
|
-
{
|
|
1383
|
-
"kind": "js",
|
|
1384
|
-
"name": "*",
|
|
1385
|
-
"declaration": {
|
|
1386
|
-
"name": "*",
|
|
1387
|
-
"package": "./fallback-agents"
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
]
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"kind": "javascript-module",
|
|
1394
|
-
"path": "src/config/validate-providers.ts",
|
|
1395
|
-
"declarations": [],
|
|
1396
|
-
"exports": []
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
"kind": "javascript-module",
|
|
1400
|
-
"path": "src/main/index.ts",
|
|
1401
|
-
"declarations": [],
|
|
1402
|
-
"exports": [
|
|
1403
|
-
{
|
|
1404
|
-
"kind": "js",
|
|
1405
|
-
"name": "*",
|
|
1406
|
-
"declaration": {
|
|
1407
|
-
"name": "*",
|
|
1408
|
-
"package": "./main.template"
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
|
-
{
|
|
1412
|
-
"kind": "js",
|
|
1413
|
-
"name": "*",
|
|
1414
|
-
"declaration": {
|
|
1415
|
-
"name": "*",
|
|
1416
|
-
"package": "./main"
|
|
1417
|
-
}
|
|
1418
|
-
},
|
|
1419
|
-
{
|
|
1420
|
-
"kind": "js",
|
|
1421
|
-
"name": "*",
|
|
1422
|
-
"declaration": {
|
|
1423
|
-
"name": "*",
|
|
1424
|
-
"package": "./main.types"
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
]
|
|
1428
|
-
},
|
|
1429
|
-
{
|
|
1430
|
-
"kind": "javascript-module",
|
|
1431
|
-
"path": "src/main/main.styles.ts",
|
|
1432
|
-
"declarations": [
|
|
1433
|
-
{
|
|
1434
|
-
"kind": "variable",
|
|
1435
|
-
"name": "styles",
|
|
1436
|
-
"default": "css`\n ${baseStyles}\n ${settingsModalStyles}\n`"
|
|
1437
|
-
}
|
|
1438
|
-
],
|
|
1439
|
-
"exports": [
|
|
1440
|
-
{
|
|
1441
|
-
"kind": "js",
|
|
1442
|
-
"name": "styles",
|
|
1443
|
-
"declaration": {
|
|
1444
|
-
"name": "styles",
|
|
1445
|
-
"module": "src/main/main.styles.ts"
|
|
1446
|
-
}
|
|
1447
|
-
}
|
|
1448
|
-
]
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
"kind": "javascript-module",
|
|
1452
|
-
"path": "src/main/main.template.ts",
|
|
1453
|
-
"declarations": [],
|
|
1454
|
-
"exports": []
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "javascript-module",
|
|
1458
|
-
"path": "src/main/main.ts",
|
|
1459
|
-
"declarations": [
|
|
1460
|
-
{
|
|
1461
|
-
"kind": "variable",
|
|
1462
|
-
"name": "sparkleIconSvg",
|
|
1463
|
-
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5 5 C9.5 11.4 11.1 13 17.5 13 C11.1 13 9.5 14.6 9.5 21 C9.5 14.6 7.9 13 1.5 13 C7.9 13 9.5 11.4 9.5 5 Z\" fill=\"currentColor\"/><path d=\"M17 2.5 C17 5.7 17.8 6.5 21 6.5 C17.8 6.5 17 7.3 17 10.5 C17 7.3 16.2 6.5 13 6.5 C16.2 6.5 17 5.7 17 2.5 Z\" fill=\"currentColor\"/><path d=\"M17.5 15 C17.5 17 18 17.5 20 17.5 C18 17.5 17.5 18 17.5 20 C17.5 18 17 17.5 15 17.5 C17 17.5 17.5 17 17.5 15 Z\" fill=\"currentColor\"/></svg>`",
|
|
1464
|
-
"description": "Three-star AI \"sparkle\" mark — the conventional AI signifier; default assistant avatar."
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
"kind": "variable",
|
|
1468
|
-
"name": "userIconSvg",
|
|
1469
|
-
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\" fill=\"currentColor\"/></svg>`",
|
|
1470
|
-
"description": "Person silhouette — default user avatar."
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
"kind": "variable",
|
|
1474
|
-
"name": "genesisIconSvg",
|
|
1475
|
-
"default": "`<svg viewBox=\"-4 0 30 26\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M18.7702 23.0437C18.7702 22.4675 18.8526 21.8089 19.0995 21.3149C19.3465 20.7386 19.6758 20.2447 20.0874 19.833C20.4991 19.4214 20.993 19.0921 21.5693 18.8451C22.1456 18.5982 22.7219 18.5158 23.2981 18.5158H25.9326V11.6828H19.1819V14.3172C19.1819 15.5521 18.6879 16.7047 17.8647 17.5279C17.0414 18.3512 15.8888 18.8451 14.7363 18.9275H6.7507V6.99025H16.4651V0.157227H3.54C2.63442 0.157227 1.72884 0.568855 1.07023 1.22746C0.411628 1.88606 0 2.79165 0 3.77955V22.2205C0 23.1261 0.411628 24.0316 1.07023 24.7726C1.72884 25.4312 2.63442 25.8428 3.54 25.8428H18.7702V23.0437Z\" fill=\"currentColor\"/></svg>`",
|
|
1476
|
-
"description": "Genesis G-mark — opt-in assistant avatar (the default before the sparkle mark)."
|
|
1477
|
-
},
|
|
1478
|
-
{
|
|
1479
|
-
"kind": "class",
|
|
1480
|
-
"description": "Foundation AI Assistant component.",
|
|
1481
|
-
"name": "FoundationAiAssistant",
|
|
1482
|
-
"members": [
|
|
1483
1150
|
{
|
|
1484
1151
|
"kind": "field",
|
|
1485
|
-
"name": "
|
|
1152
|
+
"name": "agentPicker",
|
|
1486
1153
|
"type": {
|
|
1487
|
-
"text": "
|
|
1488
|
-
}
|
|
1154
|
+
"text": "AgentPickerMode"
|
|
1155
|
+
},
|
|
1156
|
+
"description": "Resolved agent picker mode from `chatConfig.picker.mode`. Defaults to\n`'disabled'`.",
|
|
1157
|
+
"readonly": true
|
|
1489
1158
|
},
|
|
1490
1159
|
{
|
|
1491
1160
|
"kind": "field",
|
|
1492
|
-
"name": "
|
|
1161
|
+
"name": "composerHiddenByConfig",
|
|
1493
1162
|
"type": {
|
|
1494
|
-
"text": "
|
|
1495
|
-
}
|
|
1163
|
+
"text": "boolean"
|
|
1164
|
+
},
|
|
1165
|
+
"description": "Whether the built-in composer (input row + attachment chips) is hidden by\nthe host's `chatConfig.ui.hideComposer` setting. Used by the template to\ngate those blocks. Marked `@volatile` because the `'while-splash'` branch\nreads `showingSplash` only conditionally, so FAST cannot rely on cached\ndependency tracking.",
|
|
1166
|
+
"readonly": true
|
|
1496
1167
|
},
|
|
1497
1168
|
{
|
|
1498
1169
|
"kind": "field",
|
|
1499
|
-
"name": "
|
|
1170
|
+
"name": "debugStateFactory",
|
|
1500
1171
|
"type": {
|
|
1501
|
-
"text": "
|
|
1502
|
-
}
|
|
1503
|
-
"default": "'rapid'"
|
|
1172
|
+
"text": "() => unknown | undefined"
|
|
1173
|
+
}
|
|
1504
1174
|
},
|
|
1505
1175
|
{
|
|
1506
1176
|
"kind": "field",
|
|
1507
|
-
"name": "
|
|
1177
|
+
"name": "debugRedux",
|
|
1508
1178
|
"type": {
|
|
1509
|
-
"text": "
|
|
1179
|
+
"text": "boolean"
|
|
1510
1180
|
},
|
|
1511
|
-
"default": "
|
|
1181
|
+
"default": "false",
|
|
1182
|
+
"description": "When set, enables Redux DevTools for this instance's session store."
|
|
1512
1183
|
},
|
|
1513
1184
|
{
|
|
1514
1185
|
"kind": "field",
|
|
1515
|
-
"name": "
|
|
1186
|
+
"name": "_sessionRef",
|
|
1516
1187
|
"type": {
|
|
1517
|
-
"text": "
|
|
1188
|
+
"text": "SessionStoreReturn | undefined"
|
|
1518
1189
|
},
|
|
1519
|
-
"
|
|
1190
|
+
"privacy": "private",
|
|
1191
|
+
"description": "Pointer to this session's redux store. `@observable` (GENC-1351 §5.12) so that\n**swapping** it — the in-place session switch/re-key (`switchSession`) —\nforces every store-backed getter binding to re-evaluate against the NEW store.\nWithout this, FAST's per-store slice tracking would leave the view subscribed\nto the old store after a swap and it wouldn't re-render. (A same-store reset via\nredux actions re-renders without this; a store *swap* needs it.)"
|
|
1520
1192
|
},
|
|
1521
1193
|
{
|
|
1522
1194
|
"kind": "field",
|
|
1523
|
-
"name": "
|
|
1195
|
+
"name": "messages",
|
|
1524
1196
|
"type": {
|
|
1525
|
-
"text": "
|
|
1197
|
+
"text": "ChatMessage[]"
|
|
1526
1198
|
}
|
|
1527
1199
|
},
|
|
1528
1200
|
{
|
|
1529
1201
|
"kind": "field",
|
|
1530
|
-
"name": "
|
|
1202
|
+
"name": "state",
|
|
1531
1203
|
"type": {
|
|
1532
|
-
"text": "
|
|
1204
|
+
"text": "AiAssistantState"
|
|
1533
1205
|
}
|
|
1534
1206
|
},
|
|
1535
1207
|
{
|
|
1536
|
-
"kind": "
|
|
1537
|
-
"name": "
|
|
1538
|
-
"
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
{
|
|
1544
|
-
"kind": "field",
|
|
1545
|
-
"name": "assistantIconSafe",
|
|
1546
|
-
"type": {
|
|
1547
|
-
"text": "string"
|
|
1548
|
-
},
|
|
1549
|
-
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.5 5 C9.5 11.4 11.1 13 17.5 13 C11.1 13 9.5 14.6 9.5 21 C9.5 14.6 7.9 13 1.5 13 C7.9 13 9.5 11.4 9.5 5 Z\" fill=\"currentColor\"/><path d=\"M17 2.5 C17 5.7 17.8 6.5 21 6.5 C17.8 6.5 17 7.3 17 10.5 C17 7.3 16.2 6.5 13 6.5 C16.2 6.5 17 5.7 17 2.5 Z\" fill=\"currentColor\"/><path d=\"M17.5 15 C17.5 17 18 17.5 20 17.5 C18 17.5 17.5 18 17.5 20 C17.5 18 17 17.5 15 17.5 C17 17.5 17.5 17 17.5 15 Z\" fill=\"currentColor\"/></svg>`",
|
|
1550
|
-
"description": "Sanitized `assistantIcon`, or the default sparkle mark; bound into the template. @internal"
|
|
1551
|
-
},
|
|
1552
|
-
{
|
|
1553
|
-
"kind": "method",
|
|
1554
|
-
"name": "assistantIconChanged",
|
|
1555
|
-
"privacy": "protected",
|
|
1556
|
-
"return": {
|
|
1557
|
-
"type": {
|
|
1558
|
-
"text": "void"
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
},
|
|
1562
|
-
{
|
|
1563
|
-
"kind": "field",
|
|
1564
|
-
"name": "userIcon",
|
|
1565
|
-
"type": {
|
|
1566
|
-
"text": "string | undefined"
|
|
1567
|
-
},
|
|
1568
|
-
"description": "Inline SVG markup overriding the default user \"person\" avatar. The markup is\nsanitized (SVG profile) before rendering and uses the avatar's theme colour\nvia `currentColor`. For a raster/photo avatar set `userImageSrc` instead,\nwhich takes precedence."
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
"kind": "field",
|
|
1572
|
-
"name": "userIconSafe",
|
|
1573
|
-
"type": {
|
|
1574
|
-
"text": "string"
|
|
1575
|
-
},
|
|
1576
|
-
"default": "`<svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\" fill=\"currentColor\"/></svg>`",
|
|
1577
|
-
"description": "Sanitized `userIcon`, or the default person mark; bound into the template. @internal"
|
|
1578
|
-
},
|
|
1579
|
-
{
|
|
1580
|
-
"kind": "method",
|
|
1581
|
-
"name": "userIconChanged",
|
|
1582
|
-
"privacy": "protected",
|
|
1583
|
-
"return": {
|
|
1584
|
-
"type": {
|
|
1585
|
-
"text": "void"
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
},
|
|
1589
|
-
{
|
|
1590
|
-
"kind": "field",
|
|
1591
|
-
"name": "placeholder",
|
|
1592
|
-
"type": {
|
|
1593
|
-
"text": "string"
|
|
1594
|
-
},
|
|
1595
|
-
"default": "'Message assistant...'"
|
|
1596
|
-
},
|
|
1597
|
-
{
|
|
1598
|
-
"kind": "field",
|
|
1599
|
-
"name": "popoutMode",
|
|
1600
|
-
"type": {
|
|
1601
|
-
"text": "PopoutMode | undefined"
|
|
1602
|
-
},
|
|
1603
|
-
"description": "Controls the pop-out button shown next to the settings cog.\n\"expand\" — in bubble, expands to layout panel (fires chat-popout).\n\"collapse\" — in layout panel, collapses back to bubble (fires chat-popin).\nAbsent — no button (default standalone behaviour, no breaking change)."
|
|
1604
|
-
},
|
|
1605
|
-
{
|
|
1606
|
-
"kind": "field",
|
|
1607
|
-
"name": "agents",
|
|
1608
|
-
"type": {
|
|
1609
|
-
"text": "AgentConfig[] | undefined"
|
|
1610
|
-
},
|
|
1611
|
-
"description": "Agent configuration. Each user message is routed to the appropriate specialist\nbased on intent. With a single entry, orchestration is skipped."
|
|
1612
|
-
},
|
|
1613
|
-
{
|
|
1614
|
-
"kind": "field",
|
|
1615
|
-
"name": "chatConfig",
|
|
1616
|
-
"type": {
|
|
1617
|
-
"text": "ChatConfig"
|
|
1618
|
-
},
|
|
1619
|
-
"default": "{}"
|
|
1620
|
-
},
|
|
1621
|
-
{
|
|
1622
|
-
"kind": "field",
|
|
1623
|
-
"name": "persistence",
|
|
1624
|
-
"type": {
|
|
1625
|
-
"text": "SessionPersistenceConfig"
|
|
1626
|
-
},
|
|
1627
|
-
"default": "{}",
|
|
1628
|
-
"description": "Optional session persistence (GENC-1351). Off by default — set `enabled`\nand a `provider` (e.g. a `WebStorageSessionProvider`) to have the assistant\nautosave on idle and auto-restore the conversation on page reload. Exposed\nas a top-level property (like `agents`/`providerRegistry`) rather than via\n`chatConfig`, since the provider type lives in this package while\n`ChatConfig` lives in `foundation-ai`."
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"kind": "field",
|
|
1632
|
-
"name": "agentPicker",
|
|
1633
|
-
"type": {
|
|
1634
|
-
"text": "AgentPickerMode"
|
|
1635
|
-
},
|
|
1636
|
-
"description": "Resolved agent picker mode from `chatConfig.picker.mode`. Defaults to\n`'disabled'`.",
|
|
1637
|
-
"readonly": true
|
|
1638
|
-
},
|
|
1639
|
-
{
|
|
1640
|
-
"kind": "field",
|
|
1641
|
-
"name": "composerHiddenByConfig",
|
|
1642
|
-
"type": {
|
|
1643
|
-
"text": "boolean"
|
|
1644
|
-
},
|
|
1645
|
-
"description": "Whether the built-in composer (input row + attachment chips) is hidden by\nthe host's `chatConfig.ui.hideComposer` setting. Used by the template to\ngate those blocks. Marked `@volatile` because the `'while-splash'` branch\nreads `showingSplash` only conditionally, so FAST cannot rely on cached\ndependency tracking.",
|
|
1646
|
-
"readonly": true
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"kind": "field",
|
|
1650
|
-
"name": "debugStateFactory",
|
|
1651
|
-
"type": {
|
|
1652
|
-
"text": "() => unknown | undefined"
|
|
1653
|
-
}
|
|
1654
|
-
},
|
|
1655
|
-
{
|
|
1656
|
-
"kind": "field",
|
|
1657
|
-
"name": "debugRedux",
|
|
1658
|
-
"type": {
|
|
1659
|
-
"text": "boolean"
|
|
1660
|
-
},
|
|
1661
|
-
"default": "false",
|
|
1662
|
-
"description": "When set, enables Redux DevTools for this instance's session store."
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"kind": "field",
|
|
1666
|
-
"name": "_sessionRef",
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "SessionStoreReturn | undefined"
|
|
1669
|
-
},
|
|
1670
|
-
"privacy": "private",
|
|
1671
|
-
"description": "Pointer to this session's redux store. `@observable` (GENC-1351 §5.12) so that\n**swapping** it — the in-place session switch/re-key (`switchSession`) —\nforces every store-backed getter binding to re-evaluate against the NEW store.\nWithout this, FAST's per-store slice tracking would leave the view subscribed\nto the old store after a swap and it wouldn't re-render. (A same-store reset via\nredux actions re-renders without this; a store *swap* needs it.)"
|
|
1672
|
-
},
|
|
1673
|
-
{
|
|
1674
|
-
"kind": "field",
|
|
1675
|
-
"name": "messages",
|
|
1676
|
-
"type": {
|
|
1677
|
-
"text": "ChatMessage[]"
|
|
1678
|
-
}
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"kind": "field",
|
|
1682
|
-
"name": "state",
|
|
1683
|
-
"type": {
|
|
1684
|
-
"text": "AiAssistantState"
|
|
1685
|
-
}
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"kind": "method",
|
|
1689
|
-
"name": "isBusyState",
|
|
1690
|
-
"privacy": "private",
|
|
1691
|
-
"return": {
|
|
1692
|
-
"type": {
|
|
1693
|
-
"text": "boolean"
|
|
1694
|
-
}
|
|
1208
|
+
"kind": "method",
|
|
1209
|
+
"name": "isBusyState",
|
|
1210
|
+
"privacy": "private",
|
|
1211
|
+
"return": {
|
|
1212
|
+
"type": {
|
|
1213
|
+
"text": "boolean"
|
|
1214
|
+
}
|
|
1695
1215
|
},
|
|
1696
1216
|
"parameters": [
|
|
1697
1217
|
{
|
|
@@ -3636,432 +3156,912 @@
|
|
|
3636
3156
|
},
|
|
3637
3157
|
{
|
|
3638
3158
|
"kind": "method",
|
|
3639
|
-
"name": "processFiles",
|
|
3159
|
+
"name": "processFiles",
|
|
3160
|
+
"privacy": "private",
|
|
3161
|
+
"return": {
|
|
3162
|
+
"type": {
|
|
3163
|
+
"text": "Promise<{ attachments: ChatAttachment[]; errors: string[] }>"
|
|
3164
|
+
}
|
|
3165
|
+
},
|
|
3166
|
+
"parameters": [
|
|
3167
|
+
{
|
|
3168
|
+
"name": "files",
|
|
3169
|
+
"type": {
|
|
3170
|
+
"text": "File[]"
|
|
3171
|
+
}
|
|
3172
|
+
}
|
|
3173
|
+
]
|
|
3174
|
+
},
|
|
3175
|
+
{
|
|
3176
|
+
"kind": "method",
|
|
3177
|
+
"name": "loadSelectedFiles",
|
|
3178
|
+
"privacy": "private",
|
|
3179
|
+
"return": {
|
|
3180
|
+
"type": {
|
|
3181
|
+
"text": "Promise<void>"
|
|
3182
|
+
}
|
|
3183
|
+
},
|
|
3184
|
+
"parameters": [
|
|
3185
|
+
{
|
|
3186
|
+
"name": "e",
|
|
3187
|
+
"type": {
|
|
3188
|
+
"text": "Event"
|
|
3189
|
+
}
|
|
3190
|
+
}
|
|
3191
|
+
]
|
|
3192
|
+
},
|
|
3193
|
+
{
|
|
3194
|
+
"kind": "method",
|
|
3195
|
+
"name": "handleSendClick"
|
|
3196
|
+
},
|
|
3197
|
+
{
|
|
3198
|
+
"kind": "method",
|
|
3199
|
+
"name": "handleStopClick",
|
|
3200
|
+
"description": "User clicked Stop. Cancels the current turn via the driver and flips the\nbutton to \"Stopping…\" until the turn winds down (a tool mid-execution\nfinishes first). Guarded so a second click is a no-op."
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
"kind": "method",
|
|
3204
|
+
"name": "handleSuggestionClick",
|
|
3205
|
+
"parameters": [
|
|
3206
|
+
{
|
|
3207
|
+
"name": "suggestion",
|
|
3208
|
+
"type": {
|
|
3209
|
+
"text": "string"
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
3212
|
+
]
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
"kind": "method",
|
|
3216
|
+
"name": "submitMessage",
|
|
3217
|
+
"return": {
|
|
3218
|
+
"type": {
|
|
3219
|
+
"text": "Promise<SubmitMessageResult>"
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
"parameters": [
|
|
3223
|
+
{
|
|
3224
|
+
"name": "input",
|
|
3225
|
+
"type": {
|
|
3226
|
+
"text": "{ text?: string; files?: File[] }"
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
],
|
|
3230
|
+
"description": "Programmatically submit a message. Equivalent to the user typing into the\nbuilt-in composer and pressing send, but callable from external code — most\ncommonly a custom input rendered inside `slot=\"splash\"` when paired with\n`chatConfig.ui.hideComposer`.\n\nThe input fully describes the turn: `text` and `files` REPLACE any current\ncomposer state (they are not appended to it). Files are validated against\n`chatConfig.ui.acceptedFiles` using the same pipeline as the composer's\nattach button.\n\nAtomic on validation: if any file fails validation, no attachments are\ncommitted and no send is dispatched. Failure messages are returned in\n`errors` AND appended to the `attachmentErrors` observable so the built-in\nchip UI still surfaces them when visible.\n\nResolves once the underlying send has been kicked off — it does NOT await\nthe assistant's response."
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"kind": "method",
|
|
3234
|
+
"name": "fetchSuggestions",
|
|
3235
|
+
"privacy": "private"
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
"kind": "field",
|
|
3239
|
+
"name": "_pendingSendPrompt",
|
|
3240
|
+
"type": {
|
|
3241
|
+
"text": "string | undefined"
|
|
3242
|
+
},
|
|
3243
|
+
"privacy": "private",
|
|
3244
|
+
"description": "User text of the message currently being sent, stashed for the lifetime of `send()`.\n`flow-owner-changed` fires while the driver routes this turn — before the message is\nappended to raw history — so the flow-activation-prompt capture reads this rather than\na stale raw-history lookup. Cleared once the send settles. (GENC-1351 §5.9)"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"kind": "method",
|
|
3248
|
+
"name": "send",
|
|
3249
|
+
"privacy": "private"
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
"kind": "method",
|
|
3253
|
+
"name": "onChatHeaderMouseDown",
|
|
3254
|
+
"parameters": [
|
|
3255
|
+
{
|
|
3256
|
+
"name": "e",
|
|
3257
|
+
"type": {
|
|
3258
|
+
"text": "MouseEvent"
|
|
3259
|
+
}
|
|
3260
|
+
}
|
|
3261
|
+
]
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"kind": "method",
|
|
3265
|
+
"name": "handleInteractionCompleted",
|
|
3266
|
+
"parameters": [
|
|
3267
|
+
{
|
|
3268
|
+
"name": "e",
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "Event"
|
|
3271
|
+
}
|
|
3272
|
+
}
|
|
3273
|
+
]
|
|
3274
|
+
},
|
|
3275
|
+
{
|
|
3276
|
+
"kind": "field",
|
|
3277
|
+
"name": "isComposerResizable",
|
|
3278
|
+
"type": {
|
|
3279
|
+
"text": "boolean"
|
|
3280
|
+
},
|
|
3281
|
+
"description": "Whether the message input shows a drag handle to resize its height.\nOn by default; hosts opt out via `chatConfig.ui.resizableInput: false`.",
|
|
3282
|
+
"readonly": true
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
"kind": "field",
|
|
3286
|
+
"name": "composerHeightStyle",
|
|
3287
|
+
"type": {
|
|
3288
|
+
"text": "string"
|
|
3289
|
+
},
|
|
3290
|
+
"description": "Inline style for the chat input: writes the chosen height into the\n`--composer-height` custom property (read by `.chat-input` + its control in\n`main.styles.ts`). Empty until the user drags (or when resizing is disabled),\nso the default applies.",
|
|
3291
|
+
"readonly": true
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"kind": "method",
|
|
3295
|
+
"name": "onComposerResizeStart",
|
|
3296
|
+
"return": {
|
|
3297
|
+
"type": {
|
|
3298
|
+
"text": "void"
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
"parameters": [
|
|
3302
|
+
{
|
|
3303
|
+
"name": "e",
|
|
3304
|
+
"type": {
|
|
3305
|
+
"text": "PointerEvent"
|
|
3306
|
+
}
|
|
3307
|
+
}
|
|
3308
|
+
],
|
|
3309
|
+
"description": "Begin a composer resize drag. Captures the pointer so move/up keep firing\non the handle even when the cursor leaves its 7px band."
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "method",
|
|
3313
|
+
"name": "onComposerResizeMove",
|
|
3314
|
+
"return": {
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "void"
|
|
3317
|
+
}
|
|
3318
|
+
},
|
|
3319
|
+
"parameters": [
|
|
3320
|
+
{
|
|
3321
|
+
"name": "e",
|
|
3322
|
+
"type": {
|
|
3323
|
+
"text": "PointerEvent"
|
|
3324
|
+
}
|
|
3325
|
+
}
|
|
3326
|
+
],
|
|
3327
|
+
"description": "Resize while dragging. Dragging up (clientY decreases) grows the composer;\nthe result is clamped between the natural height (lower) and the available\nheadroom/max (upper). No-op unless a drag is active (the handle holds pointer\ncapture), so plain hover-moves are ignored."
|
|
3328
|
+
},
|
|
3329
|
+
{
|
|
3330
|
+
"kind": "method",
|
|
3331
|
+
"name": "onComposerResizeEnd",
|
|
3332
|
+
"return": {
|
|
3333
|
+
"type": {
|
|
3334
|
+
"text": "void"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
"parameters": [
|
|
3338
|
+
{
|
|
3339
|
+
"name": "e",
|
|
3340
|
+
"type": {
|
|
3341
|
+
"text": "PointerEvent"
|
|
3342
|
+
}
|
|
3343
|
+
}
|
|
3344
|
+
],
|
|
3345
|
+
"description": "End a resize drag and release the pointer capture."
|
|
3346
|
+
}
|
|
3347
|
+
],
|
|
3348
|
+
"events": [
|
|
3349
|
+
{
|
|
3350
|
+
"type": {
|
|
3351
|
+
"text": "CustomEvent"
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
{
|
|
3355
|
+
"description": "Fired when the user presses the chat header in `popout-mode=\"expand\"` (for drag-to-popout hosts). Bubbles and composed. detail: `ChatHeaderMouseDownDetail`",
|
|
3356
|
+
"name": "chat-header-mousedown"
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"description": "Fired after the session is wiped (the lifecycle menu's Clear). The payload is captured before teardown so the host can clean up any external state the active agent was working on. Bubbles and composed. detail: `SessionClearedDetail`",
|
|
3360
|
+
"name": "session-cleared"
|
|
3361
|
+
}
|
|
3362
|
+
],
|
|
3363
|
+
"attributes": [
|
|
3364
|
+
{
|
|
3365
|
+
"name": "header-title",
|
|
3366
|
+
"type": {
|
|
3367
|
+
"text": "string"
|
|
3368
|
+
},
|
|
3369
|
+
"default": "'Genesis Assistant'",
|
|
3370
|
+
"fieldName": "headerTitle"
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
"name": "session-key",
|
|
3374
|
+
"type": {
|
|
3375
|
+
"text": "string | undefined"
|
|
3376
|
+
},
|
|
3377
|
+
"description": "Explicit session/persistence key (GENC-1351 §5.12). When set, this is the\nsession identity — the key for the driver/store/persister/diagnostics\nregistries and the `sessionKey` passed to the persistence provider — taking\nprecedence over the DOM `id`. A host that scopes persistence per-entity\n(e.g. one chat session per project) binds this to a stable per-entity id;\nchanging it on a **connected** element re-keys the session in place — tears\ndown the current conversation and restores the new key's — via\n`switchSession`. Falls back to `id` when unset,\nso existing consumers are unaffected.",
|
|
3378
|
+
"fieldName": "sessionKey"
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"name": "image-src",
|
|
3382
|
+
"type": {
|
|
3383
|
+
"text": "string | undefined"
|
|
3384
|
+
},
|
|
3385
|
+
"fieldName": "imageSrc"
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"name": "user-image-src",
|
|
3389
|
+
"type": {
|
|
3390
|
+
"text": "string | undefined"
|
|
3391
|
+
},
|
|
3392
|
+
"fieldName": "userImageSrc"
|
|
3393
|
+
},
|
|
3394
|
+
{
|
|
3395
|
+
"name": "placeholder",
|
|
3396
|
+
"type": {
|
|
3397
|
+
"text": "string"
|
|
3398
|
+
},
|
|
3399
|
+
"default": "'Message assistant...'",
|
|
3400
|
+
"fieldName": "placeholder"
|
|
3401
|
+
},
|
|
3402
|
+
{
|
|
3403
|
+
"name": "popout-mode",
|
|
3404
|
+
"type": {
|
|
3405
|
+
"text": "PopoutMode | undefined"
|
|
3406
|
+
},
|
|
3407
|
+
"description": "Controls the pop-out button shown next to the settings cog.\n\"expand\" — in bubble, expands to layout panel (fires chat-popout).\n\"collapse\" — in layout panel, collapses back to bubble (fires chat-popin).\nAbsent — no button (default standalone behaviour, no breaking change).",
|
|
3408
|
+
"fieldName": "popoutMode"
|
|
3409
|
+
},
|
|
3410
|
+
{
|
|
3411
|
+
"name": "debug-redux",
|
|
3412
|
+
"type": {
|
|
3413
|
+
"text": "boolean"
|
|
3414
|
+
},
|
|
3415
|
+
"default": "false",
|
|
3416
|
+
"description": "When set, enables Redux DevTools for this instance's session store.",
|
|
3417
|
+
"fieldName": "debugRedux"
|
|
3418
|
+
}
|
|
3419
|
+
],
|
|
3420
|
+
"superclass": {
|
|
3421
|
+
"name": "GenesisElement",
|
|
3422
|
+
"package": "@genesislcap/web-core"
|
|
3423
|
+
},
|
|
3424
|
+
"tagName": "foundation-ai-assistant",
|
|
3425
|
+
"customElement": true
|
|
3426
|
+
}
|
|
3427
|
+
],
|
|
3428
|
+
"exports": [
|
|
3429
|
+
{
|
|
3430
|
+
"kind": "js",
|
|
3431
|
+
"name": "sparkleIconSvg",
|
|
3432
|
+
"declaration": {
|
|
3433
|
+
"name": "sparkleIconSvg",
|
|
3434
|
+
"module": "src/main/main.ts"
|
|
3435
|
+
}
|
|
3436
|
+
},
|
|
3437
|
+
{
|
|
3438
|
+
"kind": "js",
|
|
3439
|
+
"name": "userIconSvg",
|
|
3440
|
+
"declaration": {
|
|
3441
|
+
"name": "userIconSvg",
|
|
3442
|
+
"module": "src/main/main.ts"
|
|
3443
|
+
}
|
|
3444
|
+
},
|
|
3445
|
+
{
|
|
3446
|
+
"kind": "js",
|
|
3447
|
+
"name": "genesisIconSvg",
|
|
3448
|
+
"declaration": {
|
|
3449
|
+
"name": "genesisIconSvg",
|
|
3450
|
+
"module": "src/main/main.ts"
|
|
3451
|
+
}
|
|
3452
|
+
},
|
|
3453
|
+
{
|
|
3454
|
+
"kind": "js",
|
|
3455
|
+
"name": "FoundationAiAssistant",
|
|
3456
|
+
"declaration": {
|
|
3457
|
+
"name": "FoundationAiAssistant",
|
|
3458
|
+
"module": "src/main/main.ts"
|
|
3459
|
+
}
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
"kind": "custom-element-definition",
|
|
3463
|
+
"name": "foundation-ai-assistant",
|
|
3464
|
+
"declaration": {
|
|
3465
|
+
"name": "FoundationAiAssistant",
|
|
3466
|
+
"module": "src/main/main.ts"
|
|
3467
|
+
}
|
|
3468
|
+
}
|
|
3469
|
+
]
|
|
3470
|
+
},
|
|
3471
|
+
{
|
|
3472
|
+
"kind": "javascript-module",
|
|
3473
|
+
"path": "src/main/main.types.ts",
|
|
3474
|
+
"declarations": [
|
|
3475
|
+
{
|
|
3476
|
+
"kind": "variable",
|
|
3477
|
+
"name": "AiAssistantEvent",
|
|
3478
|
+
"type": {
|
|
3479
|
+
"text": "{\n /** Session wiped via the lifecycle menu's Clear. `detail`: `SessionClearedDetail`. */\n SessionCleared: 'session-cleared',\n /** Header pressed in `popout-mode=\"expand\"` (drag-to-popout hosts). `detail`: `ChatHeaderMouseDownDetail`. */\n ChatHeaderMouseDown: 'chat-header-mousedown',\n}"
|
|
3480
|
+
},
|
|
3481
|
+
"default": "{\n /** Session wiped via the lifecycle menu's Clear. `detail`: `SessionClearedDetail`. */\n SessionCleared: 'session-cleared',\n /** Header pressed in `popout-mode=\"expand\"` (drag-to-popout hosts). `detail`: `ChatHeaderMouseDownDetail`. */\n ChatHeaderMouseDown: 'chat-header-mousedown',\n}",
|
|
3482
|
+
"description": "DOM events the `<foundation-ai-assistant>` element dispatches to its host.\nAll bubble and are `composed` (they cross the shadow boundary), so a host can\nlisten on the element — or any ancestor — to react. Use these constants to\nwire listeners instead of hand-typing event-name strings.\n\nAn `as const` map (not a TS `enum` — this package ships none), so it serves as\nboth the listener-name value and, via the same-named type below, a union."
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"kind": "variable",
|
|
3486
|
+
"name": "ANIMATION_DEFS",
|
|
3487
|
+
"type": {
|
|
3488
|
+
"text": "object"
|
|
3489
|
+
},
|
|
3490
|
+
"default": "{\n loading: {\n label: 'Dots',\n description: 'Shows pulsing dots while the assistant is generating a response.',\n category: 'Loading style',\n },\n waves: {\n label: 'Waves',\n description:\n 'Shows glowing sine waves inside a circle while the assistant is generating a response.',\n category: 'Loading style',\n },\n flowingWaves: {\n label: 'Flowing waves',\n description:\n 'Shows coloured waves rising and settling from a line while the assistant is generating a response.',\n category: 'Loading style',\n },\n plasma: {\n label: 'Plasma orb',\n description:\n 'Shows a glowing plasma sphere with drifting energy while the assistant is generating a response.',\n category: 'Loading style',\n },\n halo: {\n label: 'Halo',\n description:\n 'Displays a glowing halo around the assistant avatar while a response is streaming.',\n category: 'Effects',\n },\n}",
|
|
3491
|
+
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
3492
|
+
},
|
|
3493
|
+
{
|
|
3494
|
+
"kind": "variable",
|
|
3495
|
+
"name": "satisfies",
|
|
3496
|
+
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
3497
|
+
},
|
|
3498
|
+
{
|
|
3499
|
+
"kind": "variable",
|
|
3500
|
+
"name": "Record",
|
|
3501
|
+
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
3502
|
+
}
|
|
3503
|
+
],
|
|
3504
|
+
"exports": [
|
|
3505
|
+
{
|
|
3506
|
+
"kind": "js",
|
|
3507
|
+
"name": "AgentPickerMode",
|
|
3508
|
+
"declaration": {
|
|
3509
|
+
"name": "AgentPickerMode",
|
|
3510
|
+
"package": "@genesislcap/foundation-ai"
|
|
3511
|
+
}
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"kind": "js",
|
|
3515
|
+
"name": "AiAssistantEvent",
|
|
3516
|
+
"declaration": {
|
|
3517
|
+
"name": "AiAssistantEvent",
|
|
3518
|
+
"module": "src/main/main.types.ts"
|
|
3519
|
+
}
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"kind": "js",
|
|
3523
|
+
"name": "ANIMATION_DEFS",
|
|
3524
|
+
"declaration": {
|
|
3525
|
+
"name": "ANIMATION_DEFS",
|
|
3526
|
+
"module": "src/main/main.types.ts"
|
|
3527
|
+
}
|
|
3528
|
+
},
|
|
3529
|
+
{
|
|
3530
|
+
"kind": "js",
|
|
3531
|
+
"name": "satisfies",
|
|
3532
|
+
"declaration": {
|
|
3533
|
+
"name": "satisfies",
|
|
3534
|
+
"module": "src/main/main.types.ts"
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"kind": "js",
|
|
3539
|
+
"name": "Record",
|
|
3540
|
+
"declaration": {
|
|
3541
|
+
"name": "Record",
|
|
3542
|
+
"module": "src/main/main.types.ts"
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
]
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"kind": "javascript-module",
|
|
3549
|
+
"path": "src/provider/ai-provider-switcher.ts",
|
|
3550
|
+
"declarations": [
|
|
3551
|
+
{
|
|
3552
|
+
"kind": "variable",
|
|
3553
|
+
"name": "AIProviderSwitcher",
|
|
3554
|
+
"description": "The DI token for the (AIProviderSwitcher:interface). Resolves a noop until the app\nregisters one."
|
|
3555
|
+
}
|
|
3556
|
+
],
|
|
3557
|
+
"exports": [
|
|
3558
|
+
{
|
|
3559
|
+
"kind": "js",
|
|
3560
|
+
"name": "AIProviderSwitcher",
|
|
3561
|
+
"declaration": {
|
|
3562
|
+
"name": "AIProviderSwitcher",
|
|
3563
|
+
"module": "src/provider/ai-provider-switcher.ts"
|
|
3564
|
+
}
|
|
3565
|
+
}
|
|
3566
|
+
]
|
|
3567
|
+
},
|
|
3568
|
+
{
|
|
3569
|
+
"kind": "javascript-module",
|
|
3570
|
+
"path": "src/provider/assistant-app-settings.ts",
|
|
3571
|
+
"declarations": [
|
|
3572
|
+
{
|
|
3573
|
+
"kind": "variable",
|
|
3574
|
+
"name": "AssistantAppSettingsProvider",
|
|
3575
|
+
"description": "The DI token for the (AssistantAppSettingsProvider:interface). Resolves a noop\nuntil the host registers one."
|
|
3576
|
+
}
|
|
3577
|
+
],
|
|
3578
|
+
"exports": [
|
|
3579
|
+
{
|
|
3580
|
+
"kind": "js",
|
|
3581
|
+
"name": "AssistantAppSettingsProvider",
|
|
3582
|
+
"declaration": {
|
|
3583
|
+
"name": "AssistantAppSettingsProvider",
|
|
3584
|
+
"module": "src/provider/assistant-app-settings.ts"
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
]
|
|
3588
|
+
},
|
|
3589
|
+
{
|
|
3590
|
+
"kind": "javascript-module",
|
|
3591
|
+
"path": "src/components/flowing-waves-indicator.ts",
|
|
3592
|
+
"declarations": [
|
|
3593
|
+
{
|
|
3594
|
+
"kind": "class",
|
|
3595
|
+
"description": "Animated \"flowing waves\" loading indicator — coloured organic waves (in the\nfour brand colours) whose bumps swell, shrink, merge and split across a line,\ntapering to nothing at both ends. Where the colours overlap they blend\nadditively toward white.\n\nVisual sibling of the dots loading indicator; interchangeable with the other\nloading styles for the \"assistant is working\" state.",
|
|
3596
|
+
"name": "AiFlowingWavesIndicator",
|
|
3597
|
+
"members": [
|
|
3598
|
+
{
|
|
3599
|
+
"kind": "field",
|
|
3600
|
+
"name": "startTime",
|
|
3601
|
+
"type": {
|
|
3602
|
+
"text": "number | undefined"
|
|
3603
|
+
},
|
|
3604
|
+
"privacy": "private"
|
|
3605
|
+
},
|
|
3606
|
+
{
|
|
3607
|
+
"kind": "field",
|
|
3608
|
+
"name": "animFrame",
|
|
3609
|
+
"type": {
|
|
3610
|
+
"text": "number | undefined"
|
|
3611
|
+
},
|
|
3612
|
+
"privacy": "private"
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"kind": "field",
|
|
3616
|
+
"name": "bandPaths",
|
|
3617
|
+
"type": {
|
|
3618
|
+
"text": "SVGPathElement[] | undefined"
|
|
3619
|
+
},
|
|
3620
|
+
"privacy": "private"
|
|
3621
|
+
},
|
|
3622
|
+
{
|
|
3623
|
+
"kind": "method",
|
|
3624
|
+
"name": "tick",
|
|
3640
3625
|
"privacy": "private",
|
|
3641
|
-
"return": {
|
|
3642
|
-
"type": {
|
|
3643
|
-
"text": "Promise<{ attachments: ChatAttachment[]; errors: string[] }>"
|
|
3644
|
-
}
|
|
3645
|
-
},
|
|
3646
3626
|
"parameters": [
|
|
3647
3627
|
{
|
|
3648
|
-
"name": "
|
|
3628
|
+
"name": "now",
|
|
3629
|
+
"optional": true,
|
|
3649
3630
|
"type": {
|
|
3650
|
-
"text": "
|
|
3631
|
+
"text": "number"
|
|
3651
3632
|
}
|
|
3652
3633
|
}
|
|
3653
3634
|
]
|
|
3654
3635
|
},
|
|
3655
3636
|
{
|
|
3656
3637
|
"kind": "method",
|
|
3657
|
-
"name": "
|
|
3638
|
+
"name": "buildBand",
|
|
3658
3639
|
"privacy": "private",
|
|
3640
|
+
"static": true,
|
|
3659
3641
|
"return": {
|
|
3660
3642
|
"type": {
|
|
3661
|
-
"text": "
|
|
3643
|
+
"text": "string"
|
|
3662
3644
|
}
|
|
3663
3645
|
},
|
|
3664
3646
|
"parameters": [
|
|
3665
3647
|
{
|
|
3666
|
-
"name": "
|
|
3648
|
+
"name": "cfg",
|
|
3667
3649
|
"type": {
|
|
3668
|
-
"text": "
|
|
3650
|
+
"text": "BandConfig"
|
|
3651
|
+
}
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"name": "frame",
|
|
3655
|
+
"type": {
|
|
3656
|
+
"text": "number"
|
|
3669
3657
|
}
|
|
3670
3658
|
}
|
|
3671
|
-
]
|
|
3672
|
-
|
|
3659
|
+
],
|
|
3660
|
+
"description": "Trace one band for the given frame: a baseline-plus-harmonics half-thickness\nprofile, clamped at 0 (so the band pinches to nothing between bumps) and\ntapered to 0 at both ends."
|
|
3661
|
+
}
|
|
3662
|
+
],
|
|
3663
|
+
"superclass": {
|
|
3664
|
+
"name": "GenesisElement",
|
|
3665
|
+
"package": "@genesislcap/web-core"
|
|
3666
|
+
},
|
|
3667
|
+
"tagName": "ai-flowing-waves-indicator",
|
|
3668
|
+
"customElement": true
|
|
3669
|
+
}
|
|
3670
|
+
],
|
|
3671
|
+
"exports": [
|
|
3672
|
+
{
|
|
3673
|
+
"kind": "js",
|
|
3674
|
+
"name": "AiFlowingWavesIndicator",
|
|
3675
|
+
"declaration": {
|
|
3676
|
+
"name": "AiFlowingWavesIndicator",
|
|
3677
|
+
"module": "src/components/flowing-waves-indicator.ts"
|
|
3678
|
+
}
|
|
3679
|
+
},
|
|
3680
|
+
{
|
|
3681
|
+
"kind": "custom-element-definition",
|
|
3682
|
+
"name": "ai-flowing-waves-indicator",
|
|
3683
|
+
"declaration": {
|
|
3684
|
+
"name": "AiFlowingWavesIndicator",
|
|
3685
|
+
"module": "src/components/flowing-waves-indicator.ts"
|
|
3686
|
+
}
|
|
3687
|
+
}
|
|
3688
|
+
]
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"kind": "javascript-module",
|
|
3692
|
+
"path": "src/components/halo-overlay.ts",
|
|
3693
|
+
"declarations": [
|
|
3694
|
+
{
|
|
3695
|
+
"kind": "class",
|
|
3696
|
+
"description": "Animated halo overlay — rotating conic-gradient border with an inward glow.\n\nDrop inside any `position: relative; overflow: hidden` container and toggle\nthe `active` attribute to show/hide the effect.",
|
|
3697
|
+
"name": "AiHaloOverlay",
|
|
3698
|
+
"members": [
|
|
3673
3699
|
{
|
|
3674
|
-
"kind": "
|
|
3675
|
-
"name": "
|
|
3700
|
+
"kind": "field",
|
|
3701
|
+
"name": "active",
|
|
3702
|
+
"type": {
|
|
3703
|
+
"text": "boolean"
|
|
3704
|
+
},
|
|
3705
|
+
"default": "false"
|
|
3676
3706
|
},
|
|
3677
3707
|
{
|
|
3678
|
-
"kind": "
|
|
3679
|
-
"name": "
|
|
3680
|
-
"
|
|
3708
|
+
"kind": "field",
|
|
3709
|
+
"name": "speed",
|
|
3710
|
+
"type": {
|
|
3711
|
+
"text": "number"
|
|
3712
|
+
},
|
|
3713
|
+
"default": "1.5",
|
|
3714
|
+
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps)."
|
|
3681
3715
|
},
|
|
3682
3716
|
{
|
|
3683
|
-
"kind": "
|
|
3684
|
-
"name": "
|
|
3685
|
-
"
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
}
|
|
3691
|
-
}
|
|
3692
|
-
]
|
|
3717
|
+
"kind": "field",
|
|
3718
|
+
"name": "direction",
|
|
3719
|
+
"type": {
|
|
3720
|
+
"text": "'cw' | 'ccw'"
|
|
3721
|
+
},
|
|
3722
|
+
"default": "'cw'",
|
|
3723
|
+
"description": "Rotation direction. Default: 'cw' (clockwise)."
|
|
3693
3724
|
},
|
|
3694
3725
|
{
|
|
3695
|
-
"kind": "
|
|
3696
|
-
"name": "
|
|
3697
|
-
"
|
|
3698
|
-
"
|
|
3699
|
-
"text": "Promise<SubmitMessageResult>"
|
|
3700
|
-
}
|
|
3726
|
+
"kind": "field",
|
|
3727
|
+
"name": "borderSize",
|
|
3728
|
+
"type": {
|
|
3729
|
+
"text": "number"
|
|
3701
3730
|
},
|
|
3702
|
-
"
|
|
3703
|
-
|
|
3704
|
-
"name": "input",
|
|
3705
|
-
"type": {
|
|
3706
|
-
"text": "{ text?: string; files?: File[] }"
|
|
3707
|
-
}
|
|
3708
|
-
}
|
|
3709
|
-
],
|
|
3710
|
-
"description": "Programmatically submit a message. Equivalent to the user typing into the\nbuilt-in composer and pressing send, but callable from external code — most\ncommonly a custom input rendered inside `slot=\"splash\"` when paired with\n`chatConfig.ui.hideComposer`.\n\nThe input fully describes the turn: `text` and `files` REPLACE any current\ncomposer state (they are not appended to it). Files are validated against\n`chatConfig.ui.acceptedFiles` using the same pipeline as the composer's\nattach button.\n\nAtomic on validation: if any file fails validation, no attachments are\ncommitted and no send is dispatched. Failure messages are returned in\n`errors` AND appended to the `attachmentErrors` observable so the built-in\nchip UI still surfaces them when visible.\n\nResolves once the underlying send has been kicked off — it does NOT await\nthe assistant's response."
|
|
3731
|
+
"default": "3",
|
|
3732
|
+
"description": "Border thickness in px. Default: 3."
|
|
3711
3733
|
},
|
|
3712
3734
|
{
|
|
3713
|
-
"kind": "
|
|
3714
|
-
"name": "
|
|
3715
|
-
"
|
|
3735
|
+
"kind": "field",
|
|
3736
|
+
"name": "glowOpacity",
|
|
3737
|
+
"type": {
|
|
3738
|
+
"text": "number"
|
|
3739
|
+
},
|
|
3740
|
+
"default": "0.35",
|
|
3741
|
+
"description": "Glow layer opacity (0–1). Default: 0.35."
|
|
3716
3742
|
},
|
|
3717
3743
|
{
|
|
3718
3744
|
"kind": "field",
|
|
3719
|
-
"name": "
|
|
3745
|
+
"name": "glowSpread",
|
|
3720
3746
|
"type": {
|
|
3721
|
-
"text": "
|
|
3747
|
+
"text": "number"
|
|
3722
3748
|
},
|
|
3723
|
-
"
|
|
3724
|
-
"description": "
|
|
3749
|
+
"default": "70",
|
|
3750
|
+
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
|
|
3725
3751
|
},
|
|
3726
3752
|
{
|
|
3727
3753
|
"kind": "method",
|
|
3728
|
-
"name": "
|
|
3729
|
-
"privacy": "private"
|
|
3754
|
+
"name": "borderSizeChanged"
|
|
3730
3755
|
},
|
|
3731
3756
|
{
|
|
3732
3757
|
"kind": "method",
|
|
3733
|
-
"name": "
|
|
3734
|
-
"parameters": [
|
|
3735
|
-
{
|
|
3736
|
-
"name": "e",
|
|
3737
|
-
"type": {
|
|
3738
|
-
"text": "MouseEvent"
|
|
3739
|
-
}
|
|
3740
|
-
}
|
|
3741
|
-
]
|
|
3758
|
+
"name": "glowOpacityChanged"
|
|
3742
3759
|
},
|
|
3743
3760
|
{
|
|
3744
3761
|
"kind": "method",
|
|
3745
|
-
"name": "
|
|
3746
|
-
"parameters": [
|
|
3747
|
-
{
|
|
3748
|
-
"name": "e",
|
|
3749
|
-
"type": {
|
|
3750
|
-
"text": "Event"
|
|
3751
|
-
}
|
|
3752
|
-
}
|
|
3753
|
-
]
|
|
3762
|
+
"name": "glowSpreadChanged"
|
|
3754
3763
|
},
|
|
3755
3764
|
{
|
|
3756
3765
|
"kind": "field",
|
|
3757
|
-
"name": "
|
|
3766
|
+
"name": "FULL_ROTATION_DEG",
|
|
3758
3767
|
"type": {
|
|
3759
|
-
"text": "
|
|
3768
|
+
"text": "number"
|
|
3760
3769
|
},
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3770
|
+
"privacy": "private",
|
|
3771
|
+
"static": true,
|
|
3772
|
+
"readonly": true,
|
|
3773
|
+
"default": "360"
|
|
3763
3774
|
},
|
|
3764
3775
|
{
|
|
3765
3776
|
"kind": "field",
|
|
3766
|
-
"name": "
|
|
3777
|
+
"name": "angle",
|
|
3767
3778
|
"type": {
|
|
3768
|
-
"text": "
|
|
3769
|
-
},
|
|
3770
|
-
"description": "Inline style for the chat input: writes the chosen height into the\n`--composer-height` custom property (read by `.chat-input` + its control in\n`main.styles.ts`). Empty until the user drags (or when resizing is disabled),\nso the default applies.",
|
|
3771
|
-
"readonly": true
|
|
3772
|
-
},
|
|
3773
|
-
{
|
|
3774
|
-
"kind": "method",
|
|
3775
|
-
"name": "onComposerResizeStart",
|
|
3776
|
-
"return": {
|
|
3777
|
-
"type": {
|
|
3778
|
-
"text": "void"
|
|
3779
|
-
}
|
|
3779
|
+
"text": "number"
|
|
3780
3780
|
},
|
|
3781
|
-
"
|
|
3782
|
-
|
|
3783
|
-
"name": "e",
|
|
3784
|
-
"type": {
|
|
3785
|
-
"text": "PointerEvent"
|
|
3786
|
-
}
|
|
3787
|
-
}
|
|
3788
|
-
],
|
|
3789
|
-
"description": "Begin a composer resize drag. Captures the pointer so move/up keep firing\non the handle even when the cursor leaves its 7px band."
|
|
3781
|
+
"privacy": "private",
|
|
3782
|
+
"default": "0"
|
|
3790
3783
|
},
|
|
3791
3784
|
{
|
|
3792
|
-
"kind": "
|
|
3793
|
-
"name": "
|
|
3794
|
-
"
|
|
3795
|
-
"
|
|
3796
|
-
"text": "void"
|
|
3797
|
-
}
|
|
3785
|
+
"kind": "field",
|
|
3786
|
+
"name": "lastTime",
|
|
3787
|
+
"type": {
|
|
3788
|
+
"text": "number | undefined"
|
|
3798
3789
|
},
|
|
3799
|
-
"
|
|
3800
|
-
{
|
|
3801
|
-
"name": "e",
|
|
3802
|
-
"type": {
|
|
3803
|
-
"text": "PointerEvent"
|
|
3804
|
-
}
|
|
3805
|
-
}
|
|
3806
|
-
],
|
|
3807
|
-
"description": "Resize while dragging. Dragging up (clientY decreases) grows the composer;\nthe result is clamped between the natural height (lower) and the available\nheadroom/max (upper). No-op unless a drag is active (the handle holds pointer\ncapture), so plain hover-moves are ignored."
|
|
3790
|
+
"privacy": "private"
|
|
3808
3791
|
},
|
|
3809
3792
|
{
|
|
3810
|
-
"kind": "
|
|
3811
|
-
"name": "
|
|
3812
|
-
"return": {
|
|
3813
|
-
"type": {
|
|
3814
|
-
"text": "void"
|
|
3815
|
-
}
|
|
3816
|
-
},
|
|
3817
|
-
"parameters": [
|
|
3818
|
-
{
|
|
3819
|
-
"name": "e",
|
|
3820
|
-
"type": {
|
|
3821
|
-
"text": "PointerEvent"
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
],
|
|
3825
|
-
"description": "End a resize drag and release the pointer capture."
|
|
3826
|
-
}
|
|
3827
|
-
],
|
|
3828
|
-
"events": [
|
|
3829
|
-
{
|
|
3793
|
+
"kind": "field",
|
|
3794
|
+
"name": "animFrame",
|
|
3830
3795
|
"type": {
|
|
3831
|
-
"text": "
|
|
3832
|
-
}
|
|
3833
|
-
|
|
3834
|
-
{
|
|
3835
|
-
"description": "Fired when the user presses the chat header in `popout-mode=\"expand\"` (for drag-to-popout hosts). Bubbles and composed. detail: `ChatHeaderMouseDownDetail`",
|
|
3836
|
-
"name": "chat-header-mousedown"
|
|
3796
|
+
"text": "number | undefined"
|
|
3797
|
+
},
|
|
3798
|
+
"privacy": "private"
|
|
3837
3799
|
},
|
|
3838
3800
|
{
|
|
3839
|
-
"
|
|
3840
|
-
"name": "
|
|
3801
|
+
"kind": "method",
|
|
3802
|
+
"name": "tick",
|
|
3803
|
+
"privacy": "private",
|
|
3804
|
+
"parameters": [
|
|
3805
|
+
{
|
|
3806
|
+
"name": "now",
|
|
3807
|
+
"optional": true,
|
|
3808
|
+
"type": {
|
|
3809
|
+
"text": "number"
|
|
3810
|
+
}
|
|
3811
|
+
}
|
|
3812
|
+
]
|
|
3841
3813
|
}
|
|
3842
3814
|
],
|
|
3843
3815
|
"attributes": [
|
|
3844
3816
|
{
|
|
3845
|
-
"name": "header-title",
|
|
3846
3817
|
"type": {
|
|
3847
|
-
"text": "
|
|
3818
|
+
"text": "boolean"
|
|
3848
3819
|
},
|
|
3849
|
-
"default": "
|
|
3850
|
-
"fieldName": "
|
|
3820
|
+
"default": "false",
|
|
3821
|
+
"fieldName": "active"
|
|
3851
3822
|
},
|
|
3852
3823
|
{
|
|
3853
|
-
"name": "session-key",
|
|
3854
3824
|
"type": {
|
|
3855
|
-
"text": "
|
|
3825
|
+
"text": "number"
|
|
3856
3826
|
},
|
|
3857
|
-
"
|
|
3858
|
-
"
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
"name": "image-src",
|
|
3862
|
-
"type": {
|
|
3863
|
-
"text": "string | undefined"
|
|
3827
|
+
"default": "HALO_DEFAULT_SPEED",
|
|
3828
|
+
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps).",
|
|
3829
|
+
"resolveInitializer": {
|
|
3830
|
+
"module": "src/components/halo-overlay.ts"
|
|
3864
3831
|
},
|
|
3865
|
-
"fieldName": "
|
|
3832
|
+
"fieldName": "speed"
|
|
3866
3833
|
},
|
|
3867
3834
|
{
|
|
3868
|
-
"name": "
|
|
3835
|
+
"name": "direction",
|
|
3869
3836
|
"type": {
|
|
3870
|
-
"text": "
|
|
3837
|
+
"text": "'cw' | 'ccw'"
|
|
3871
3838
|
},
|
|
3872
|
-
"
|
|
3839
|
+
"default": "'cw'",
|
|
3840
|
+
"description": "Rotation direction. Default: 'cw' (clockwise).",
|
|
3841
|
+
"fieldName": "direction"
|
|
3873
3842
|
},
|
|
3874
3843
|
{
|
|
3875
|
-
"name": "
|
|
3844
|
+
"name": "border-size",
|
|
3876
3845
|
"type": {
|
|
3877
|
-
"text": "
|
|
3846
|
+
"text": "number"
|
|
3878
3847
|
},
|
|
3879
|
-
"default": "
|
|
3880
|
-
"
|
|
3848
|
+
"default": "HALO_DEFAULT_BORDER_SIZE",
|
|
3849
|
+
"description": "Border thickness in px. Default: 3.",
|
|
3850
|
+
"resolveInitializer": {
|
|
3851
|
+
"module": "src/components/halo-overlay.ts"
|
|
3852
|
+
},
|
|
3853
|
+
"fieldName": "borderSize"
|
|
3881
3854
|
},
|
|
3882
3855
|
{
|
|
3883
|
-
"name": "
|
|
3856
|
+
"name": "glow-opacity",
|
|
3884
3857
|
"type": {
|
|
3885
|
-
"text": "
|
|
3858
|
+
"text": "number"
|
|
3886
3859
|
},
|
|
3887
|
-
"
|
|
3888
|
-
"
|
|
3860
|
+
"default": "HALO_DEFAULT_GLOW_OPACITY",
|
|
3861
|
+
"description": "Glow layer opacity (0–1). Default: 0.35.",
|
|
3862
|
+
"resolveInitializer": {
|
|
3863
|
+
"module": "src/components/halo-overlay.ts"
|
|
3864
|
+
},
|
|
3865
|
+
"fieldName": "glowOpacity"
|
|
3889
3866
|
},
|
|
3890
3867
|
{
|
|
3891
|
-
"name": "
|
|
3868
|
+
"name": "glow-spread",
|
|
3892
3869
|
"type": {
|
|
3893
|
-
"text": "
|
|
3870
|
+
"text": "number"
|
|
3894
3871
|
},
|
|
3895
|
-
"default": "
|
|
3896
|
-
"description": "
|
|
3897
|
-
"
|
|
3872
|
+
"default": "HALO_DEFAULT_GLOW_SPREAD",
|
|
3873
|
+
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70.",
|
|
3874
|
+
"resolveInitializer": {
|
|
3875
|
+
"module": "src/components/halo-overlay.ts"
|
|
3876
|
+
},
|
|
3877
|
+
"fieldName": "glowSpread"
|
|
3898
3878
|
}
|
|
3899
3879
|
],
|
|
3900
3880
|
"superclass": {
|
|
3901
3881
|
"name": "GenesisElement",
|
|
3902
3882
|
"package": "@genesislcap/web-core"
|
|
3903
3883
|
},
|
|
3904
|
-
"tagName": "
|
|
3884
|
+
"tagName": "ai-halo-overlay",
|
|
3905
3885
|
"customElement": true
|
|
3906
3886
|
}
|
|
3907
3887
|
],
|
|
3908
3888
|
"exports": [
|
|
3909
3889
|
{
|
|
3910
3890
|
"kind": "js",
|
|
3911
|
-
"name": "
|
|
3912
|
-
"declaration": {
|
|
3913
|
-
"name": "sparkleIconSvg",
|
|
3914
|
-
"module": "src/main/main.ts"
|
|
3915
|
-
}
|
|
3916
|
-
},
|
|
3917
|
-
{
|
|
3918
|
-
"kind": "js",
|
|
3919
|
-
"name": "userIconSvg",
|
|
3920
|
-
"declaration": {
|
|
3921
|
-
"name": "userIconSvg",
|
|
3922
|
-
"module": "src/main/main.ts"
|
|
3923
|
-
}
|
|
3924
|
-
},
|
|
3925
|
-
{
|
|
3926
|
-
"kind": "js",
|
|
3927
|
-
"name": "genesisIconSvg",
|
|
3928
|
-
"declaration": {
|
|
3929
|
-
"name": "genesisIconSvg",
|
|
3930
|
-
"module": "src/main/main.ts"
|
|
3931
|
-
}
|
|
3932
|
-
},
|
|
3933
|
-
{
|
|
3934
|
-
"kind": "js",
|
|
3935
|
-
"name": "FoundationAiAssistant",
|
|
3891
|
+
"name": "AiHaloOverlay",
|
|
3936
3892
|
"declaration": {
|
|
3937
|
-
"name": "
|
|
3938
|
-
"module": "src/
|
|
3893
|
+
"name": "AiHaloOverlay",
|
|
3894
|
+
"module": "src/components/halo-overlay.ts"
|
|
3939
3895
|
}
|
|
3940
3896
|
},
|
|
3941
3897
|
{
|
|
3942
3898
|
"kind": "custom-element-definition",
|
|
3943
|
-
"name": "
|
|
3899
|
+
"name": "ai-halo-overlay",
|
|
3944
3900
|
"declaration": {
|
|
3945
|
-
"name": "
|
|
3946
|
-
"module": "src/
|
|
3901
|
+
"name": "AiHaloOverlay",
|
|
3902
|
+
"module": "src/components/halo-overlay.ts"
|
|
3947
3903
|
}
|
|
3948
3904
|
}
|
|
3949
3905
|
]
|
|
3950
3906
|
},
|
|
3951
3907
|
{
|
|
3952
3908
|
"kind": "javascript-module",
|
|
3953
|
-
"path": "src/
|
|
3909
|
+
"path": "src/components/plasma-orb-indicator.ts",
|
|
3954
3910
|
"declarations": [
|
|
3955
3911
|
{
|
|
3956
|
-
"kind": "
|
|
3957
|
-
"
|
|
3958
|
-
"
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
"description": "DOM events the `<foundation-ai-assistant>` element dispatches to its host.\nAll bubble and are `composed` (they cross the shadow boundary), so a host can\nlisten on the element — or any ancestor — to react. Use these constants to\nwire listeners instead of hand-typing event-name strings.\n\nAn `as const` map (not a TS `enum` — this package ships none), so it serves as\nboth the listener-name value and, via the same-named type below, a union."
|
|
3963
|
-
},
|
|
3964
|
-
{
|
|
3965
|
-
"kind": "variable",
|
|
3966
|
-
"name": "ANIMATION_DEFS",
|
|
3967
|
-
"type": {
|
|
3968
|
-
"text": "object"
|
|
3912
|
+
"kind": "class",
|
|
3913
|
+
"description": "Animated \"plasma orb\" loading indicator — a fixed glowing energy sphere whose\nluminous filaments and swirls drift and rotate inside it, like a plasma ball.\nThe globe never resizes; only the energy moves.\n\nBrand-coloured: a violet energy core, a slow cyan/pink tint wash, and a warm\namber hot-spot — covering all four brand colours.\n\nVisual sibling of the dots loading indicator; interchangeable with the other\nloading styles for the \"assistant is working\" state.",
|
|
3914
|
+
"name": "AiPlasmaOrbIndicator",
|
|
3915
|
+
"superclass": {
|
|
3916
|
+
"name": "GenesisElement",
|
|
3917
|
+
"package": "@genesislcap/web-core"
|
|
3969
3918
|
},
|
|
3970
|
-
"
|
|
3971
|
-
"
|
|
3972
|
-
},
|
|
3973
|
-
{
|
|
3974
|
-
"kind": "variable",
|
|
3975
|
-
"name": "satisfies",
|
|
3976
|
-
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
3977
|
-
},
|
|
3978
|
-
{
|
|
3979
|
-
"kind": "variable",
|
|
3980
|
-
"name": "Record",
|
|
3981
|
-
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
3919
|
+
"tagName": "ai-plasma-orb-indicator",
|
|
3920
|
+
"customElement": true
|
|
3982
3921
|
}
|
|
3983
3922
|
],
|
|
3984
3923
|
"exports": [
|
|
3985
3924
|
{
|
|
3986
3925
|
"kind": "js",
|
|
3987
|
-
"name": "
|
|
3988
|
-
"declaration": {
|
|
3989
|
-
"name": "AgentPickerMode",
|
|
3990
|
-
"package": "@genesislcap/foundation-ai"
|
|
3991
|
-
}
|
|
3992
|
-
},
|
|
3993
|
-
{
|
|
3994
|
-
"kind": "js",
|
|
3995
|
-
"name": "AiAssistantEvent",
|
|
3996
|
-
"declaration": {
|
|
3997
|
-
"name": "AiAssistantEvent",
|
|
3998
|
-
"module": "src/main/main.types.ts"
|
|
3999
|
-
}
|
|
4000
|
-
},
|
|
4001
|
-
{
|
|
4002
|
-
"kind": "js",
|
|
4003
|
-
"name": "ANIMATION_DEFS",
|
|
4004
|
-
"declaration": {
|
|
4005
|
-
"name": "ANIMATION_DEFS",
|
|
4006
|
-
"module": "src/main/main.types.ts"
|
|
4007
|
-
}
|
|
4008
|
-
},
|
|
4009
|
-
{
|
|
4010
|
-
"kind": "js",
|
|
4011
|
-
"name": "satisfies",
|
|
3926
|
+
"name": "AiPlasmaOrbIndicator",
|
|
4012
3927
|
"declaration": {
|
|
4013
|
-
"name": "
|
|
4014
|
-
"module": "src/
|
|
3928
|
+
"name": "AiPlasmaOrbIndicator",
|
|
3929
|
+
"module": "src/components/plasma-orb-indicator.ts"
|
|
4015
3930
|
}
|
|
4016
3931
|
},
|
|
4017
3932
|
{
|
|
4018
|
-
"kind": "
|
|
4019
|
-
"name": "
|
|
3933
|
+
"kind": "custom-element-definition",
|
|
3934
|
+
"name": "ai-plasma-orb-indicator",
|
|
4020
3935
|
"declaration": {
|
|
4021
|
-
"name": "
|
|
4022
|
-
"module": "src/
|
|
3936
|
+
"name": "AiPlasmaOrbIndicator",
|
|
3937
|
+
"module": "src/components/plasma-orb-indicator.ts"
|
|
4023
3938
|
}
|
|
4024
3939
|
}
|
|
4025
3940
|
]
|
|
4026
3941
|
},
|
|
4027
3942
|
{
|
|
4028
3943
|
"kind": "javascript-module",
|
|
4029
|
-
"path": "src/
|
|
3944
|
+
"path": "src/components/waves-indicator.ts",
|
|
4030
3945
|
"declarations": [
|
|
4031
3946
|
{
|
|
4032
|
-
"kind": "
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
3947
|
+
"kind": "class",
|
|
3948
|
+
"description": "Animated \"waves inside a circle\" loading indicator — coloured sine waves that\nslosh like glowing liquid inside a circular window, ringed by a rotating\ngradient halo (the same effect as `<ai-halo-overlay>`).\n\nVisual sibling of the dots loading indicator; the two are interchangeable\nstyles of the same \"assistant is working\" state.",
|
|
3949
|
+
"name": "AiWavesIndicator",
|
|
3950
|
+
"members": [
|
|
3951
|
+
{
|
|
3952
|
+
"kind": "field",
|
|
3953
|
+
"name": "size",
|
|
3954
|
+
"type": {
|
|
3955
|
+
"text": "number"
|
|
3956
|
+
},
|
|
3957
|
+
"default": "56",
|
|
3958
|
+
"description": "Diameter of the circular window in px. Default: 56."
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"kind": "method",
|
|
3962
|
+
"name": "sizeChanged"
|
|
3963
|
+
},
|
|
3964
|
+
{
|
|
3965
|
+
"kind": "field",
|
|
3966
|
+
"name": "startTime",
|
|
3967
|
+
"type": {
|
|
3968
|
+
"text": "number | undefined"
|
|
3969
|
+
},
|
|
3970
|
+
"privacy": "private"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"kind": "field",
|
|
3974
|
+
"name": "animFrame",
|
|
3975
|
+
"type": {
|
|
3976
|
+
"text": "number | undefined"
|
|
3977
|
+
},
|
|
3978
|
+
"privacy": "private"
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
"kind": "field",
|
|
3982
|
+
"name": "wavePaths",
|
|
3983
|
+
"type": {
|
|
3984
|
+
"text": "SVGPathElement[] | undefined"
|
|
3985
|
+
},
|
|
3986
|
+
"privacy": "private"
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
"kind": "method",
|
|
3990
|
+
"name": "tick",
|
|
3991
|
+
"privacy": "private",
|
|
3992
|
+
"parameters": [
|
|
3993
|
+
{
|
|
3994
|
+
"name": "now",
|
|
3995
|
+
"optional": true,
|
|
3996
|
+
"type": {
|
|
3997
|
+
"text": "number"
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
]
|
|
4001
|
+
},
|
|
4002
|
+
{
|
|
4003
|
+
"kind": "method",
|
|
4004
|
+
"name": "buildWavePath",
|
|
4005
|
+
"privacy": "private",
|
|
4006
|
+
"static": true,
|
|
4007
|
+
"return": {
|
|
4008
|
+
"type": {
|
|
4009
|
+
"text": "string"
|
|
4010
|
+
}
|
|
4011
|
+
},
|
|
4012
|
+
"parameters": [
|
|
4013
|
+
{
|
|
4014
|
+
"name": "cfg",
|
|
4015
|
+
"type": {
|
|
4016
|
+
"text": "WaveConfig"
|
|
4017
|
+
}
|
|
4018
|
+
},
|
|
4019
|
+
{
|
|
4020
|
+
"name": "frame",
|
|
4021
|
+
"type": {
|
|
4022
|
+
"text": "number"
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
],
|
|
4026
|
+
"description": "Trace one wave's polyline `d` attribute for the given frame."
|
|
4027
|
+
}
|
|
4028
|
+
],
|
|
4029
|
+
"attributes": [
|
|
4030
|
+
{
|
|
4031
|
+
"type": {
|
|
4032
|
+
"text": "number"
|
|
4033
|
+
},
|
|
4034
|
+
"default": "WAVES_DEFAULT_SIZE",
|
|
4035
|
+
"description": "Diameter of the circular window in px. Default: 56.",
|
|
4036
|
+
"resolveInitializer": {
|
|
4037
|
+
"module": "src/components/waves-indicator.ts"
|
|
4038
|
+
},
|
|
4039
|
+
"fieldName": "size"
|
|
4040
|
+
}
|
|
4041
|
+
],
|
|
4042
|
+
"superclass": {
|
|
4043
|
+
"name": "GenesisElement",
|
|
4044
|
+
"package": "@genesislcap/web-core"
|
|
4045
|
+
},
|
|
4046
|
+
"tagName": "ai-waves-indicator",
|
|
4047
|
+
"customElement": true
|
|
4035
4048
|
}
|
|
4036
4049
|
],
|
|
4037
4050
|
"exports": [
|
|
4038
4051
|
{
|
|
4039
4052
|
"kind": "js",
|
|
4040
|
-
"name": "
|
|
4053
|
+
"name": "AiWavesIndicator",
|
|
4041
4054
|
"declaration": {
|
|
4042
|
-
"name": "
|
|
4043
|
-
"module": "src/
|
|
4055
|
+
"name": "AiWavesIndicator",
|
|
4056
|
+
"module": "src/components/waves-indicator.ts"
|
|
4044
4057
|
}
|
|
4045
|
-
}
|
|
4046
|
-
]
|
|
4047
|
-
},
|
|
4048
|
-
{
|
|
4049
|
-
"kind": "javascript-module",
|
|
4050
|
-
"path": "src/provider/assistant-app-settings.ts",
|
|
4051
|
-
"declarations": [
|
|
4052
|
-
{
|
|
4053
|
-
"kind": "variable",
|
|
4054
|
-
"name": "AssistantAppSettingsProvider",
|
|
4055
|
-
"description": "The DI token for the (AssistantAppSettingsProvider:interface). Resolves a noop\nuntil the host registers one."
|
|
4056
|
-
}
|
|
4057
|
-
],
|
|
4058
|
-
"exports": [
|
|
4058
|
+
},
|
|
4059
4059
|
{
|
|
4060
|
-
"kind": "
|
|
4061
|
-
"name": "
|
|
4060
|
+
"kind": "custom-element-definition",
|
|
4061
|
+
"name": "ai-waves-indicator",
|
|
4062
4062
|
"declaration": {
|
|
4063
|
-
"name": "
|
|
4064
|
-
"module": "src/
|
|
4063
|
+
"name": "AiWavesIndicator",
|
|
4064
|
+
"module": "src/components/waves-indicator.ts"
|
|
4065
4065
|
}
|
|
4066
4066
|
}
|
|
4067
4067
|
]
|
|
@@ -4779,18 +4779,6 @@
|
|
|
4779
4779
|
"declarations": [],
|
|
4780
4780
|
"exports": []
|
|
4781
4781
|
},
|
|
4782
|
-
{
|
|
4783
|
-
"kind": "javascript-module",
|
|
4784
|
-
"path": "src/types/ai-chat-widget.ts",
|
|
4785
|
-
"declarations": [],
|
|
4786
|
-
"exports": []
|
|
4787
|
-
},
|
|
4788
|
-
{
|
|
4789
|
-
"kind": "javascript-module",
|
|
4790
|
-
"path": "src/types/interaction-context.ts",
|
|
4791
|
-
"declarations": [],
|
|
4792
|
-
"exports": []
|
|
4793
|
-
},
|
|
4794
4782
|
{
|
|
4795
4783
|
"kind": "javascript-module",
|
|
4796
4784
|
"path": "src/utils/animated-panel-toggle.ts",
|
|
@@ -5805,6 +5793,18 @@
|
|
|
5805
5793
|
"declarations": [],
|
|
5806
5794
|
"exports": []
|
|
5807
5795
|
},
|
|
5796
|
+
{
|
|
5797
|
+
"kind": "javascript-module",
|
|
5798
|
+
"path": "src/types/ai-chat-widget.ts",
|
|
5799
|
+
"declarations": [],
|
|
5800
|
+
"exports": []
|
|
5801
|
+
},
|
|
5802
|
+
{
|
|
5803
|
+
"kind": "javascript-module",
|
|
5804
|
+
"path": "src/types/interaction-context.ts",
|
|
5805
|
+
"declarations": [],
|
|
5806
|
+
"exports": []
|
|
5807
|
+
},
|
|
5808
5808
|
{
|
|
5809
5809
|
"kind": "javascript-module",
|
|
5810
5810
|
"path": "src/components/activity-halo/activity-halo.ts",
|
|
@@ -8253,46 +8253,221 @@
|
|
|
8253
8253
|
}
|
|
8254
8254
|
},
|
|
8255
8255
|
{
|
|
8256
|
-
"name": "sub-agent-start",
|
|
8256
|
+
"name": "sub-agent-start",
|
|
8257
|
+
"type": {
|
|
8258
|
+
"text": "CustomEvent"
|
|
8259
|
+
}
|
|
8260
|
+
},
|
|
8261
|
+
{
|
|
8262
|
+
"name": "sub-agent-stop",
|
|
8263
|
+
"type": {
|
|
8264
|
+
"text": "CustomEvent"
|
|
8265
|
+
}
|
|
8266
|
+
}
|
|
8267
|
+
],
|
|
8268
|
+
"superclass": {
|
|
8269
|
+
"name": "EventTarget",
|
|
8270
|
+
"module": "src/components/chat-driver/chat-driver.ts"
|
|
8271
|
+
}
|
|
8272
|
+
}
|
|
8273
|
+
],
|
|
8274
|
+
"exports": [
|
|
8275
|
+
{
|
|
8276
|
+
"kind": "js",
|
|
8277
|
+
"name": "REQUEST_CONTINUATION_TOOL",
|
|
8278
|
+
"declaration": {
|
|
8279
|
+
"name": "REQUEST_CONTINUATION_TOOL",
|
|
8280
|
+
"module": "src/components/chat-driver/chat-driver.ts"
|
|
8281
|
+
}
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
"kind": "js",
|
|
8285
|
+
"name": "ChatDriver",
|
|
8286
|
+
"declaration": {
|
|
8287
|
+
"name": "ChatDriver",
|
|
8288
|
+
"module": "src/components/chat-driver/chat-driver.ts"
|
|
8289
|
+
}
|
|
8290
|
+
}
|
|
8291
|
+
]
|
|
8292
|
+
},
|
|
8293
|
+
{
|
|
8294
|
+
"kind": "javascript-module",
|
|
8295
|
+
"path": "src/components/chat-driver/index.ts",
|
|
8296
|
+
"declarations": [],
|
|
8297
|
+
"exports": [
|
|
8298
|
+
{
|
|
8299
|
+
"kind": "js",
|
|
8300
|
+
"name": "*",
|
|
8301
|
+
"declaration": {
|
|
8302
|
+
"name": "*",
|
|
8303
|
+
"package": "./chat-driver"
|
|
8304
|
+
}
|
|
8305
|
+
}
|
|
8306
|
+
]
|
|
8307
|
+
},
|
|
8308
|
+
{
|
|
8309
|
+
"kind": "javascript-module",
|
|
8310
|
+
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.styles.ts",
|
|
8311
|
+
"declarations": [
|
|
8312
|
+
{
|
|
8313
|
+
"kind": "variable",
|
|
8314
|
+
"name": "AiChatInteractionWrapperStyles",
|
|
8315
|
+
"default": "css`\n :host {\n display: block;\n }\n`"
|
|
8316
|
+
}
|
|
8317
|
+
],
|
|
8318
|
+
"exports": [
|
|
8319
|
+
{
|
|
8320
|
+
"kind": "js",
|
|
8321
|
+
"name": "AiChatInteractionWrapperStyles",
|
|
8322
|
+
"declaration": {
|
|
8323
|
+
"name": "AiChatInteractionWrapperStyles",
|
|
8324
|
+
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.styles.ts"
|
|
8325
|
+
}
|
|
8326
|
+
}
|
|
8327
|
+
]
|
|
8328
|
+
},
|
|
8329
|
+
{
|
|
8330
|
+
"kind": "javascript-module",
|
|
8331
|
+
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.template.ts",
|
|
8332
|
+
"declarations": [
|
|
8333
|
+
{
|
|
8334
|
+
"kind": "variable",
|
|
8335
|
+
"name": "AiChatInteractionWrapperTemplate",
|
|
8336
|
+
"default": "html<AiChatInteractionWrapper>`\n <div ${ref('container')} class=\"container\" part=\"container\"></div>\n`"
|
|
8337
|
+
}
|
|
8338
|
+
],
|
|
8339
|
+
"exports": [
|
|
8340
|
+
{
|
|
8341
|
+
"kind": "js",
|
|
8342
|
+
"name": "AiChatInteractionWrapperTemplate",
|
|
8343
|
+
"declaration": {
|
|
8344
|
+
"name": "AiChatInteractionWrapperTemplate",
|
|
8345
|
+
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.template.ts"
|
|
8346
|
+
}
|
|
8347
|
+
}
|
|
8348
|
+
]
|
|
8349
|
+
},
|
|
8350
|
+
{
|
|
8351
|
+
"kind": "javascript-module",
|
|
8352
|
+
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.ts",
|
|
8353
|
+
"declarations": [
|
|
8354
|
+
{
|
|
8355
|
+
"kind": "class",
|
|
8356
|
+
"description": "Hosts an interactive AI chat sub-component by tag name.",
|
|
8357
|
+
"name": "AiChatInteractionWrapper",
|
|
8358
|
+
"members": [
|
|
8359
|
+
{
|
|
8360
|
+
"kind": "field",
|
|
8361
|
+
"name": "resolved",
|
|
8362
|
+
"type": {
|
|
8363
|
+
"text": "InteractionResult<unknown> | undefined"
|
|
8364
|
+
},
|
|
8365
|
+
"default": "undefined",
|
|
8366
|
+
"description": "The resolved result once the interaction has completed. Forwarded to the rendered component. @internal"
|
|
8367
|
+
},
|
|
8368
|
+
{
|
|
8369
|
+
"kind": "field",
|
|
8370
|
+
"name": "_resizeObserver",
|
|
8371
|
+
"type": {
|
|
8372
|
+
"text": "ResizeObserver | undefined"
|
|
8373
|
+
},
|
|
8374
|
+
"privacy": "private",
|
|
8375
|
+
"description": "Observes the rendered widget for mid-lifecycle size changes — see observeWidgetResize."
|
|
8376
|
+
},
|
|
8377
|
+
{
|
|
8378
|
+
"kind": "method",
|
|
8379
|
+
"name": "componentNameChanged"
|
|
8380
|
+
},
|
|
8381
|
+
{
|
|
8382
|
+
"kind": "method",
|
|
8383
|
+
"name": "interactionIdChanged",
|
|
8384
|
+
"description": "Re-render the hosted widget when the interaction identity changes. This\nensures widgets don't go stale with them being rendered with `recycle: true`\nwhen messages are dynamically filtered, showing/hiding thinking/tool calls\n\n`interactionId` is a per-interaction UUID, so it changes exactly when the\nhosted interaction does. Property bindings apply in template order\n(componentName, data, interactionId), so `data` is already rebound by the\ntime this fires and the fresh widget is built with the correct data."
|
|
8385
|
+
},
|
|
8386
|
+
{
|
|
8387
|
+
"kind": "method",
|
|
8388
|
+
"name": "resolvedChanged"
|
|
8389
|
+
},
|
|
8390
|
+
{
|
|
8391
|
+
"kind": "method",
|
|
8392
|
+
"name": "observeWidgetResize",
|
|
8393
|
+
"privacy": "private",
|
|
8394
|
+
"parameters": [
|
|
8395
|
+
{
|
|
8396
|
+
"name": "element",
|
|
8397
|
+
"type": {
|
|
8398
|
+
"text": "Element"
|
|
8399
|
+
}
|
|
8400
|
+
}
|
|
8401
|
+
],
|
|
8402
|
+
"description": "Watch the rendered widget element for box-size changes. When the widget\ngrows or shrinks mid-lifecycle (e.g. expanding a \"More info\" panel,\nappending an SSE status row, revealing generated code), bubble a\n`request-scroll-to-bottom` event so `FoundationAiAssistant` re-snaps to\nthe bottom. `scrollToBottom` respects `_userScrolledAway`, so a user\nreading old messages is not yanked back.\n\nThe first ResizeObserver callback fires synchronously with the initial\nsize when `observe()` is called; we skip it so freshly-rendered widgets\ndon't double up with the existing `handleMessagesUpdate` auto-scroll for\nnew messages."
|
|
8403
|
+
},
|
|
8404
|
+
{
|
|
8405
|
+
"kind": "method",
|
|
8406
|
+
"name": "renderComponent",
|
|
8407
|
+
"privacy": "private"
|
|
8408
|
+
},
|
|
8409
|
+
{
|
|
8410
|
+
"kind": "method",
|
|
8411
|
+
"name": "buildInteraction",
|
|
8412
|
+
"privacy": "private",
|
|
8413
|
+
"return": {
|
|
8414
|
+
"type": {
|
|
8415
|
+
"text": "AiChatInteraction"
|
|
8416
|
+
}
|
|
8417
|
+
},
|
|
8418
|
+
"parameters": [
|
|
8419
|
+
{
|
|
8420
|
+
"name": "host",
|
|
8421
|
+
"type": {
|
|
8422
|
+
"text": "InteractionHost | null"
|
|
8423
|
+
}
|
|
8424
|
+
}
|
|
8425
|
+
],
|
|
8426
|
+
"description": "Project the wrapper's current `data`/`resolved`/`interactionId` into the\ndiscriminated AiChatInteraction the widget consumes (GENC-1390)."
|
|
8427
|
+
}
|
|
8428
|
+
],
|
|
8429
|
+
"events": [
|
|
8430
|
+
{
|
|
8431
|
+
"name": "request-scroll-to-bottom",
|
|
8257
8432
|
"type": {
|
|
8258
8433
|
"text": "CustomEvent"
|
|
8259
8434
|
}
|
|
8260
8435
|
},
|
|
8261
8436
|
{
|
|
8262
|
-
"
|
|
8263
|
-
"
|
|
8264
|
-
"text": "CustomEvent"
|
|
8265
|
-
}
|
|
8437
|
+
"description": "Fired when the interaction finishes. detail: `InteractionCompletedEventDetail`",
|
|
8438
|
+
"name": "interaction-completed"
|
|
8266
8439
|
}
|
|
8267
8440
|
],
|
|
8268
8441
|
"superclass": {
|
|
8269
|
-
"name": "
|
|
8270
|
-
"
|
|
8271
|
-
}
|
|
8442
|
+
"name": "GenesisElement",
|
|
8443
|
+
"package": "@genesislcap/web-core"
|
|
8444
|
+
},
|
|
8445
|
+
"tagName": "ai-chat-interaction-wrapper",
|
|
8446
|
+
"customElement": true
|
|
8272
8447
|
}
|
|
8273
8448
|
],
|
|
8274
8449
|
"exports": [
|
|
8275
8450
|
{
|
|
8276
8451
|
"kind": "js",
|
|
8277
|
-
"name": "
|
|
8452
|
+
"name": "AiChatInteractionWrapper",
|
|
8278
8453
|
"declaration": {
|
|
8279
|
-
"name": "
|
|
8280
|
-
"module": "src/components/chat-
|
|
8454
|
+
"name": "AiChatInteractionWrapper",
|
|
8455
|
+
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.ts"
|
|
8281
8456
|
}
|
|
8282
8457
|
},
|
|
8283
8458
|
{
|
|
8284
|
-
"kind": "
|
|
8285
|
-
"name": "
|
|
8459
|
+
"kind": "custom-element-definition",
|
|
8460
|
+
"name": "ai-chat-interaction-wrapper",
|
|
8286
8461
|
"declaration": {
|
|
8287
|
-
"name": "
|
|
8288
|
-
"module": "src/components/chat-
|
|
8462
|
+
"name": "AiChatInteractionWrapper",
|
|
8463
|
+
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.ts"
|
|
8289
8464
|
}
|
|
8290
8465
|
}
|
|
8291
8466
|
]
|
|
8292
8467
|
},
|
|
8293
8468
|
{
|
|
8294
8469
|
"kind": "javascript-module",
|
|
8295
|
-
"path": "src/components/chat-
|
|
8470
|
+
"path": "src/components/chat-interaction-wrapper/index.ts",
|
|
8296
8471
|
"declarations": [],
|
|
8297
8472
|
"exports": [
|
|
8298
8473
|
{
|
|
@@ -8300,7 +8475,23 @@
|
|
|
8300
8475
|
"name": "*",
|
|
8301
8476
|
"declaration": {
|
|
8302
8477
|
"name": "*",
|
|
8303
|
-
"package": "./chat-
|
|
8478
|
+
"package": "./chat-interaction-wrapper"
|
|
8479
|
+
}
|
|
8480
|
+
},
|
|
8481
|
+
{
|
|
8482
|
+
"kind": "js",
|
|
8483
|
+
"name": "*",
|
|
8484
|
+
"declaration": {
|
|
8485
|
+
"name": "*",
|
|
8486
|
+
"package": "./chat-interaction-wrapper.styles"
|
|
8487
|
+
}
|
|
8488
|
+
},
|
|
8489
|
+
{
|
|
8490
|
+
"kind": "js",
|
|
8491
|
+
"name": "*",
|
|
8492
|
+
"declaration": {
|
|
8493
|
+
"name": "*",
|
|
8494
|
+
"package": "./chat-interaction-wrapper.template"
|
|
8304
8495
|
}
|
|
8305
8496
|
}
|
|
8306
8497
|
]
|
|
@@ -9800,197 +9991,6 @@
|
|
|
9800
9991
|
}
|
|
9801
9992
|
}
|
|
9802
9993
|
]
|
|
9803
|
-
},
|
|
9804
|
-
{
|
|
9805
|
-
"kind": "javascript-module",
|
|
9806
|
-
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.styles.ts",
|
|
9807
|
-
"declarations": [
|
|
9808
|
-
{
|
|
9809
|
-
"kind": "variable",
|
|
9810
|
-
"name": "AiChatInteractionWrapperStyles",
|
|
9811
|
-
"default": "css`\n :host {\n display: block;\n }\n`"
|
|
9812
|
-
}
|
|
9813
|
-
],
|
|
9814
|
-
"exports": [
|
|
9815
|
-
{
|
|
9816
|
-
"kind": "js",
|
|
9817
|
-
"name": "AiChatInteractionWrapperStyles",
|
|
9818
|
-
"declaration": {
|
|
9819
|
-
"name": "AiChatInteractionWrapperStyles",
|
|
9820
|
-
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.styles.ts"
|
|
9821
|
-
}
|
|
9822
|
-
}
|
|
9823
|
-
]
|
|
9824
|
-
},
|
|
9825
|
-
{
|
|
9826
|
-
"kind": "javascript-module",
|
|
9827
|
-
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.template.ts",
|
|
9828
|
-
"declarations": [
|
|
9829
|
-
{
|
|
9830
|
-
"kind": "variable",
|
|
9831
|
-
"name": "AiChatInteractionWrapperTemplate",
|
|
9832
|
-
"default": "html<AiChatInteractionWrapper>`\n <div ${ref('container')} class=\"container\" part=\"container\"></div>\n`"
|
|
9833
|
-
}
|
|
9834
|
-
],
|
|
9835
|
-
"exports": [
|
|
9836
|
-
{
|
|
9837
|
-
"kind": "js",
|
|
9838
|
-
"name": "AiChatInteractionWrapperTemplate",
|
|
9839
|
-
"declaration": {
|
|
9840
|
-
"name": "AiChatInteractionWrapperTemplate",
|
|
9841
|
-
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.template.ts"
|
|
9842
|
-
}
|
|
9843
|
-
}
|
|
9844
|
-
]
|
|
9845
|
-
},
|
|
9846
|
-
{
|
|
9847
|
-
"kind": "javascript-module",
|
|
9848
|
-
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.ts",
|
|
9849
|
-
"declarations": [
|
|
9850
|
-
{
|
|
9851
|
-
"kind": "class",
|
|
9852
|
-
"description": "Hosts an interactive AI chat sub-component by tag name.",
|
|
9853
|
-
"name": "AiChatInteractionWrapper",
|
|
9854
|
-
"members": [
|
|
9855
|
-
{
|
|
9856
|
-
"kind": "field",
|
|
9857
|
-
"name": "resolved",
|
|
9858
|
-
"type": {
|
|
9859
|
-
"text": "InteractionResult<unknown> | undefined"
|
|
9860
|
-
},
|
|
9861
|
-
"default": "undefined",
|
|
9862
|
-
"description": "The resolved result once the interaction has completed. Forwarded to the rendered component. @internal"
|
|
9863
|
-
},
|
|
9864
|
-
{
|
|
9865
|
-
"kind": "field",
|
|
9866
|
-
"name": "_resizeObserver",
|
|
9867
|
-
"type": {
|
|
9868
|
-
"text": "ResizeObserver | undefined"
|
|
9869
|
-
},
|
|
9870
|
-
"privacy": "private",
|
|
9871
|
-
"description": "Observes the rendered widget for mid-lifecycle size changes — see observeWidgetResize."
|
|
9872
|
-
},
|
|
9873
|
-
{
|
|
9874
|
-
"kind": "method",
|
|
9875
|
-
"name": "componentNameChanged"
|
|
9876
|
-
},
|
|
9877
|
-
{
|
|
9878
|
-
"kind": "method",
|
|
9879
|
-
"name": "interactionIdChanged",
|
|
9880
|
-
"description": "Re-render the hosted widget when the interaction identity changes. This\nensures widgets don't go stale with them being rendered with `recycle: true`\nwhen messages are dynamically filtered, showing/hiding thinking/tool calls\n\n`interactionId` is a per-interaction UUID, so it changes exactly when the\nhosted interaction does. Property bindings apply in template order\n(componentName, data, interactionId), so `data` is already rebound by the\ntime this fires and the fresh widget is built with the correct data."
|
|
9881
|
-
},
|
|
9882
|
-
{
|
|
9883
|
-
"kind": "method",
|
|
9884
|
-
"name": "resolvedChanged"
|
|
9885
|
-
},
|
|
9886
|
-
{
|
|
9887
|
-
"kind": "method",
|
|
9888
|
-
"name": "observeWidgetResize",
|
|
9889
|
-
"privacy": "private",
|
|
9890
|
-
"parameters": [
|
|
9891
|
-
{
|
|
9892
|
-
"name": "element",
|
|
9893
|
-
"type": {
|
|
9894
|
-
"text": "Element"
|
|
9895
|
-
}
|
|
9896
|
-
}
|
|
9897
|
-
],
|
|
9898
|
-
"description": "Watch the rendered widget element for box-size changes. When the widget\ngrows or shrinks mid-lifecycle (e.g. expanding a \"More info\" panel,\nappending an SSE status row, revealing generated code), bubble a\n`request-scroll-to-bottom` event so `FoundationAiAssistant` re-snaps to\nthe bottom. `scrollToBottom` respects `_userScrolledAway`, so a user\nreading old messages is not yanked back.\n\nThe first ResizeObserver callback fires synchronously with the initial\nsize when `observe()` is called; we skip it so freshly-rendered widgets\ndon't double up with the existing `handleMessagesUpdate` auto-scroll for\nnew messages."
|
|
9899
|
-
},
|
|
9900
|
-
{
|
|
9901
|
-
"kind": "method",
|
|
9902
|
-
"name": "renderComponent",
|
|
9903
|
-
"privacy": "private"
|
|
9904
|
-
},
|
|
9905
|
-
{
|
|
9906
|
-
"kind": "method",
|
|
9907
|
-
"name": "buildInteraction",
|
|
9908
|
-
"privacy": "private",
|
|
9909
|
-
"return": {
|
|
9910
|
-
"type": {
|
|
9911
|
-
"text": "AiChatInteraction"
|
|
9912
|
-
}
|
|
9913
|
-
},
|
|
9914
|
-
"parameters": [
|
|
9915
|
-
{
|
|
9916
|
-
"name": "host",
|
|
9917
|
-
"type": {
|
|
9918
|
-
"text": "InteractionHost | null"
|
|
9919
|
-
}
|
|
9920
|
-
}
|
|
9921
|
-
],
|
|
9922
|
-
"description": "Project the wrapper's current `data`/`resolved`/`interactionId` into the\ndiscriminated AiChatInteraction the widget consumes (GENC-1390)."
|
|
9923
|
-
}
|
|
9924
|
-
],
|
|
9925
|
-
"events": [
|
|
9926
|
-
{
|
|
9927
|
-
"name": "request-scroll-to-bottom",
|
|
9928
|
-
"type": {
|
|
9929
|
-
"text": "CustomEvent"
|
|
9930
|
-
}
|
|
9931
|
-
},
|
|
9932
|
-
{
|
|
9933
|
-
"description": "Fired when the interaction finishes. detail: `InteractionCompletedEventDetail`",
|
|
9934
|
-
"name": "interaction-completed"
|
|
9935
|
-
}
|
|
9936
|
-
],
|
|
9937
|
-
"superclass": {
|
|
9938
|
-
"name": "GenesisElement",
|
|
9939
|
-
"package": "@genesislcap/web-core"
|
|
9940
|
-
},
|
|
9941
|
-
"tagName": "ai-chat-interaction-wrapper",
|
|
9942
|
-
"customElement": true
|
|
9943
|
-
}
|
|
9944
|
-
],
|
|
9945
|
-
"exports": [
|
|
9946
|
-
{
|
|
9947
|
-
"kind": "js",
|
|
9948
|
-
"name": "AiChatInteractionWrapper",
|
|
9949
|
-
"declaration": {
|
|
9950
|
-
"name": "AiChatInteractionWrapper",
|
|
9951
|
-
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.ts"
|
|
9952
|
-
}
|
|
9953
|
-
},
|
|
9954
|
-
{
|
|
9955
|
-
"kind": "custom-element-definition",
|
|
9956
|
-
"name": "ai-chat-interaction-wrapper",
|
|
9957
|
-
"declaration": {
|
|
9958
|
-
"name": "AiChatInteractionWrapper",
|
|
9959
|
-
"module": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.ts"
|
|
9960
|
-
}
|
|
9961
|
-
}
|
|
9962
|
-
]
|
|
9963
|
-
},
|
|
9964
|
-
{
|
|
9965
|
-
"kind": "javascript-module",
|
|
9966
|
-
"path": "src/components/chat-interaction-wrapper/index.ts",
|
|
9967
|
-
"declarations": [],
|
|
9968
|
-
"exports": [
|
|
9969
|
-
{
|
|
9970
|
-
"kind": "js",
|
|
9971
|
-
"name": "*",
|
|
9972
|
-
"declaration": {
|
|
9973
|
-
"name": "*",
|
|
9974
|
-
"package": "./chat-interaction-wrapper"
|
|
9975
|
-
}
|
|
9976
|
-
},
|
|
9977
|
-
{
|
|
9978
|
-
"kind": "js",
|
|
9979
|
-
"name": "*",
|
|
9980
|
-
"declaration": {
|
|
9981
|
-
"name": "*",
|
|
9982
|
-
"package": "./chat-interaction-wrapper.styles"
|
|
9983
|
-
}
|
|
9984
|
-
},
|
|
9985
|
-
{
|
|
9986
|
-
"kind": "js",
|
|
9987
|
-
"name": "*",
|
|
9988
|
-
"declaration": {
|
|
9989
|
-
"name": "*",
|
|
9990
|
-
"package": "./chat-interaction-wrapper.template"
|
|
9991
|
-
}
|
|
9992
|
-
}
|
|
9993
|
-
]
|
|
9994
9994
|
}
|
|
9995
9995
|
]
|
|
9996
9996
|
}
|