@genesislcap/ai-assistant 15.50.2 → 15.50.3-holiday-picker.2
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 +1174 -1174
- package/package.json +17 -17
|
@@ -1754,211 +1754,6 @@
|
|
|
1754
1754
|
}
|
|
1755
1755
|
]
|
|
1756
1756
|
},
|
|
1757
|
-
{
|
|
1758
|
-
"kind": "javascript-module",
|
|
1759
|
-
"path": "src/config/config.ts",
|
|
1760
|
-
"declarations": [
|
|
1761
|
-
{
|
|
1762
|
-
"kind": "function",
|
|
1763
|
-
"name": "defineAgent",
|
|
1764
|
-
"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```"
|
|
1765
|
-
}
|
|
1766
|
-
],
|
|
1767
|
-
"exports": [
|
|
1768
|
-
{
|
|
1769
|
-
"kind": "js",
|
|
1770
|
-
"name": "CachePolicy",
|
|
1771
|
-
"declaration": {
|
|
1772
|
-
"name": "CachePolicy",
|
|
1773
|
-
"module": "src/config/config.ts"
|
|
1774
|
-
}
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"kind": "js",
|
|
1778
|
-
"name": "ChatFallback",
|
|
1779
|
-
"declaration": {
|
|
1780
|
-
"name": "ChatFallback",
|
|
1781
|
-
"module": "src/config/config.ts"
|
|
1782
|
-
}
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
"kind": "js",
|
|
1786
|
-
"name": "ChatInputDuringExecutionMode",
|
|
1787
|
-
"declaration": {
|
|
1788
|
-
"name": "ChatInputDuringExecutionMode",
|
|
1789
|
-
"module": "src/config/config.ts"
|
|
1790
|
-
}
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
"kind": "js",
|
|
1794
|
-
"name": "ChatThinkingPolicy",
|
|
1795
|
-
"declaration": {
|
|
1796
|
-
"name": "ChatThinkingPolicy",
|
|
1797
|
-
"module": "src/config/config.ts"
|
|
1798
|
-
}
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
"kind": "js",
|
|
1802
|
-
"name": "ChatToolChoice",
|
|
1803
|
-
"declaration": {
|
|
1804
|
-
"name": "ChatToolChoice",
|
|
1805
|
-
"module": "src/config/config.ts"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
{
|
|
1809
|
-
"kind": "js",
|
|
1810
|
-
"name": "defineAgent",
|
|
1811
|
-
"declaration": {
|
|
1812
|
-
"name": "defineAgent",
|
|
1813
|
-
"module": "src/config/config.ts"
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
]
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
"kind": "javascript-module",
|
|
1820
|
-
"path": "src/config/define-stateful-agent.ts",
|
|
1821
|
-
"declarations": [
|
|
1822
|
-
{
|
|
1823
|
-
"kind": "function",
|
|
1824
|
-
"name": "restoreMachine",
|
|
1825
|
-
"return": {
|
|
1826
|
-
"type": {
|
|
1827
|
-
"text": "void"
|
|
1828
|
-
}
|
|
1829
|
-
},
|
|
1830
|
-
"parameters": [
|
|
1831
|
-
{
|
|
1832
|
-
"name": "machine",
|
|
1833
|
-
"type": {
|
|
1834
|
-
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
1835
|
-
},
|
|
1836
|
-
"description": "the machine to restore (already constructed/started)."
|
|
1837
|
-
},
|
|
1838
|
-
{
|
|
1839
|
-
"name": "restored",
|
|
1840
|
-
"type": {
|
|
1841
|
-
"text": "unknown"
|
|
1842
|
-
},
|
|
1843
|
-
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
1844
|
-
},
|
|
1845
|
-
{
|
|
1846
|
-
"name": "key",
|
|
1847
|
-
"default": "'machine'",
|
|
1848
|
-
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
1849
|
-
}
|
|
1850
|
-
],
|
|
1851
|
-
"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."
|
|
1852
|
-
},
|
|
1853
|
-
{
|
|
1854
|
-
"kind": "function",
|
|
1855
|
-
"name": "defineStatefulAgent",
|
|
1856
|
-
"return": {
|
|
1857
|
-
"type": {
|
|
1858
|
-
"text": "AgentConfig"
|
|
1859
|
-
}
|
|
1860
|
-
},
|
|
1861
|
-
"parameters": [
|
|
1862
|
-
{
|
|
1863
|
-
"name": "opts",
|
|
1864
|
-
"type": {
|
|
1865
|
-
"text": "StatefulAgentInit<S>"
|
|
1866
|
-
}
|
|
1867
|
-
}
|
|
1868
|
-
],
|
|
1869
|
-
"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."
|
|
1870
|
-
}
|
|
1871
|
-
],
|
|
1872
|
-
"exports": [
|
|
1873
|
-
{
|
|
1874
|
-
"kind": "js",
|
|
1875
|
-
"name": "restoreMachine",
|
|
1876
|
-
"declaration": {
|
|
1877
|
-
"name": "restoreMachine",
|
|
1878
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
1879
|
-
}
|
|
1880
|
-
},
|
|
1881
|
-
{
|
|
1882
|
-
"kind": "js",
|
|
1883
|
-
"name": "defineStatefulAgent",
|
|
1884
|
-
"declaration": {
|
|
1885
|
-
"name": "defineStatefulAgent",
|
|
1886
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
]
|
|
1890
|
-
},
|
|
1891
|
-
{
|
|
1892
|
-
"kind": "javascript-module",
|
|
1893
|
-
"path": "src/config/fallback-agents.ts",
|
|
1894
|
-
"declarations": [
|
|
1895
|
-
{
|
|
1896
|
-
"kind": "variable",
|
|
1897
|
-
"name": "friendlyFallbackAgent",
|
|
1898
|
-
"type": {
|
|
1899
|
-
"text": "FallbackAgentConfig"
|
|
1900
|
-
},
|
|
1901
|
-
"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}",
|
|
1902
|
-
"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."
|
|
1903
|
-
},
|
|
1904
|
-
{
|
|
1905
|
-
"kind": "variable",
|
|
1906
|
-
"name": "strictFallbackAgent",
|
|
1907
|
-
"type": {
|
|
1908
|
-
"text": "FallbackAgentConfig"
|
|
1909
|
-
},
|
|
1910
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
1911
|
-
"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.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
1912
|
-
}
|
|
1913
|
-
],
|
|
1914
|
-
"exports": [
|
|
1915
|
-
{
|
|
1916
|
-
"kind": "js",
|
|
1917
|
-
"name": "friendlyFallbackAgent",
|
|
1918
|
-
"declaration": {
|
|
1919
|
-
"name": "friendlyFallbackAgent",
|
|
1920
|
-
"module": "src/config/fallback-agents.ts"
|
|
1921
|
-
}
|
|
1922
|
-
},
|
|
1923
|
-
{
|
|
1924
|
-
"kind": "js",
|
|
1925
|
-
"name": "strictFallbackAgent",
|
|
1926
|
-
"declaration": {
|
|
1927
|
-
"name": "strictFallbackAgent",
|
|
1928
|
-
"module": "src/config/fallback-agents.ts"
|
|
1929
|
-
}
|
|
1930
|
-
}
|
|
1931
|
-
]
|
|
1932
|
-
},
|
|
1933
|
-
{
|
|
1934
|
-
"kind": "javascript-module",
|
|
1935
|
-
"path": "src/config/index.ts",
|
|
1936
|
-
"declarations": [],
|
|
1937
|
-
"exports": [
|
|
1938
|
-
{
|
|
1939
|
-
"kind": "js",
|
|
1940
|
-
"name": "*",
|
|
1941
|
-
"declaration": {
|
|
1942
|
-
"name": "*",
|
|
1943
|
-
"package": "./config"
|
|
1944
|
-
}
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
"kind": "js",
|
|
1948
|
-
"name": "*",
|
|
1949
|
-
"declaration": {
|
|
1950
|
-
"name": "*",
|
|
1951
|
-
"package": "./fallback-agents"
|
|
1952
|
-
}
|
|
1953
|
-
}
|
|
1954
|
-
]
|
|
1955
|
-
},
|
|
1956
|
-
{
|
|
1957
|
-
"kind": "javascript-module",
|
|
1958
|
-
"path": "src/config/validate-providers.ts",
|
|
1959
|
-
"declarations": [],
|
|
1960
|
-
"exports": []
|
|
1961
|
-
},
|
|
1962
1757
|
{
|
|
1963
1758
|
"kind": "javascript-module",
|
|
1964
1759
|
"path": "src/genesis/calendar.ts",
|
|
@@ -3144,443 +2939,912 @@
|
|
|
3144
2939
|
},
|
|
3145
2940
|
{
|
|
3146
2941
|
"kind": "javascript-module",
|
|
3147
|
-
"path": "src/
|
|
3148
|
-
"declarations": [
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
"exports": []
|
|
3156
|
-
},
|
|
3157
|
-
{
|
|
3158
|
-
"kind": "javascript-module",
|
|
3159
|
-
"path": "src/main/composer-menu-controller.ts",
|
|
3160
|
-
"declarations": [],
|
|
3161
|
-
"exports": []
|
|
3162
|
-
},
|
|
3163
|
-
{
|
|
3164
|
-
"kind": "javascript-module",
|
|
3165
|
-
"path": "src/main/composer-resize-controller.ts",
|
|
3166
|
-
"declarations": [],
|
|
3167
|
-
"exports": []
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "javascript-module",
|
|
3171
|
-
"path": "src/main/context-gate-controller.ts",
|
|
3172
|
-
"declarations": [],
|
|
3173
|
-
"exports": []
|
|
3174
|
-
},
|
|
3175
|
-
{
|
|
3176
|
-
"kind": "javascript-module",
|
|
3177
|
-
"path": "src/main/cost-ledger-controller.ts",
|
|
3178
|
-
"declarations": [],
|
|
3179
|
-
"exports": []
|
|
3180
|
-
},
|
|
3181
|
-
{
|
|
3182
|
-
"kind": "javascript-module",
|
|
3183
|
-
"path": "src/main/index.ts",
|
|
3184
|
-
"declarations": [],
|
|
2942
|
+
"path": "src/config/config.ts",
|
|
2943
|
+
"declarations": [
|
|
2944
|
+
{
|
|
2945
|
+
"kind": "function",
|
|
2946
|
+
"name": "defineAgent",
|
|
2947
|
+
"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```"
|
|
2948
|
+
}
|
|
2949
|
+
],
|
|
3185
2950
|
"exports": [
|
|
3186
2951
|
{
|
|
3187
2952
|
"kind": "js",
|
|
3188
|
-
"name": "
|
|
2953
|
+
"name": "CachePolicy",
|
|
3189
2954
|
"declaration": {
|
|
3190
|
-
"name": "
|
|
3191
|
-
"
|
|
3192
|
-
}
|
|
2955
|
+
"name": "CachePolicy",
|
|
2956
|
+
"module": "src/config/config.ts"
|
|
2957
|
+
}
|
|
3193
2958
|
},
|
|
3194
2959
|
{
|
|
3195
2960
|
"kind": "js",
|
|
3196
|
-
"name": "
|
|
2961
|
+
"name": "ChatFallback",
|
|
3197
2962
|
"declaration": {
|
|
3198
|
-
"name": "
|
|
3199
|
-
"
|
|
2963
|
+
"name": "ChatFallback",
|
|
2964
|
+
"module": "src/config/config.ts"
|
|
3200
2965
|
}
|
|
3201
2966
|
},
|
|
3202
2967
|
{
|
|
3203
2968
|
"kind": "js",
|
|
3204
|
-
"name": "
|
|
2969
|
+
"name": "ChatInputDuringExecutionMode",
|
|
3205
2970
|
"declaration": {
|
|
3206
|
-
"name": "
|
|
3207
|
-
"
|
|
2971
|
+
"name": "ChatInputDuringExecutionMode",
|
|
2972
|
+
"module": "src/config/config.ts"
|
|
3208
2973
|
}
|
|
3209
|
-
}
|
|
3210
|
-
]
|
|
3211
|
-
},
|
|
3212
|
-
{
|
|
3213
|
-
"kind": "javascript-module",
|
|
3214
|
-
"path": "src/main/main.styles.ts",
|
|
3215
|
-
"declarations": [
|
|
2974
|
+
},
|
|
3216
2975
|
{
|
|
3217
|
-
"kind": "
|
|
3218
|
-
"name": "
|
|
3219
|
-
"
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
2976
|
+
"kind": "js",
|
|
2977
|
+
"name": "ChatThinkingPolicy",
|
|
2978
|
+
"declaration": {
|
|
2979
|
+
"name": "ChatThinkingPolicy",
|
|
2980
|
+
"module": "src/config/config.ts"
|
|
2981
|
+
}
|
|
2982
|
+
},
|
|
3223
2983
|
{
|
|
3224
2984
|
"kind": "js",
|
|
3225
|
-
"name": "
|
|
2985
|
+
"name": "ChatToolChoice",
|
|
3226
2986
|
"declaration": {
|
|
3227
|
-
"name": "
|
|
3228
|
-
"module": "src/
|
|
2987
|
+
"name": "ChatToolChoice",
|
|
2988
|
+
"module": "src/config/config.ts"
|
|
2989
|
+
}
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "js",
|
|
2993
|
+
"name": "defineAgent",
|
|
2994
|
+
"declaration": {
|
|
2995
|
+
"name": "defineAgent",
|
|
2996
|
+
"module": "src/config/config.ts"
|
|
3229
2997
|
}
|
|
3230
2998
|
}
|
|
3231
2999
|
]
|
|
3232
3000
|
},
|
|
3233
3001
|
{
|
|
3234
3002
|
"kind": "javascript-module",
|
|
3235
|
-
"path": "src/
|
|
3003
|
+
"path": "src/config/define-stateful-agent.ts",
|
|
3236
3004
|
"declarations": [
|
|
3237
3005
|
{
|
|
3238
|
-
"kind": "
|
|
3239
|
-
"name": "
|
|
3240
|
-
"
|
|
3241
|
-
|
|
3006
|
+
"kind": "function",
|
|
3007
|
+
"name": "restoreMachine",
|
|
3008
|
+
"return": {
|
|
3009
|
+
"type": {
|
|
3010
|
+
"text": "void"
|
|
3011
|
+
}
|
|
3012
|
+
},
|
|
3013
|
+
"parameters": [
|
|
3014
|
+
{
|
|
3015
|
+
"name": "machine",
|
|
3016
|
+
"type": {
|
|
3017
|
+
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
3018
|
+
},
|
|
3019
|
+
"description": "the machine to restore (already constructed/started)."
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
"name": "restored",
|
|
3023
|
+
"type": {
|
|
3024
|
+
"text": "unknown"
|
|
3025
|
+
},
|
|
3026
|
+
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"name": "key",
|
|
3030
|
+
"default": "'machine'",
|
|
3031
|
+
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
3032
|
+
}
|
|
3033
|
+
],
|
|
3034
|
+
"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."
|
|
3242
3035
|
},
|
|
3243
3036
|
{
|
|
3244
3037
|
"kind": "function",
|
|
3245
|
-
"name": "
|
|
3038
|
+
"name": "defineStatefulAgent",
|
|
3246
3039
|
"return": {
|
|
3247
3040
|
"type": {
|
|
3248
|
-
"text": "
|
|
3041
|
+
"text": "AgentConfig"
|
|
3249
3042
|
}
|
|
3250
3043
|
},
|
|
3251
3044
|
"parameters": [
|
|
3252
3045
|
{
|
|
3253
|
-
"name": "
|
|
3046
|
+
"name": "opts",
|
|
3254
3047
|
"type": {
|
|
3255
|
-
"text": "
|
|
3048
|
+
"text": "StatefulAgentInit<S>"
|
|
3256
3049
|
}
|
|
3257
3050
|
}
|
|
3258
|
-
]
|
|
3051
|
+
],
|
|
3052
|
+
"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."
|
|
3259
3053
|
}
|
|
3260
3054
|
],
|
|
3261
3055
|
"exports": [
|
|
3262
3056
|
{
|
|
3263
3057
|
"kind": "js",
|
|
3264
|
-
"name": "
|
|
3058
|
+
"name": "restoreMachine",
|
|
3265
3059
|
"declaration": {
|
|
3266
|
-
"name": "
|
|
3267
|
-
"module": "src/
|
|
3060
|
+
"name": "restoreMachine",
|
|
3061
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
3268
3062
|
}
|
|
3269
3063
|
},
|
|
3270
3064
|
{
|
|
3271
3065
|
"kind": "js",
|
|
3272
|
-
"name": "
|
|
3066
|
+
"name": "defineStatefulAgent",
|
|
3273
3067
|
"declaration": {
|
|
3274
|
-
"name": "
|
|
3275
|
-
"module": "src/
|
|
3068
|
+
"name": "defineStatefulAgent",
|
|
3069
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
3276
3070
|
}
|
|
3277
3071
|
}
|
|
3278
3072
|
]
|
|
3279
3073
|
},
|
|
3280
3074
|
{
|
|
3281
3075
|
"kind": "javascript-module",
|
|
3282
|
-
"path": "src/
|
|
3076
|
+
"path": "src/config/fallback-agents.ts",
|
|
3283
3077
|
"declarations": [
|
|
3284
3078
|
{
|
|
3285
3079
|
"kind": "variable",
|
|
3286
|
-
"name": "
|
|
3287
|
-
"
|
|
3288
|
-
|
|
3080
|
+
"name": "friendlyFallbackAgent",
|
|
3081
|
+
"type": {
|
|
3082
|
+
"text": "FallbackAgentConfig"
|
|
3083
|
+
},
|
|
3084
|
+
"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}",
|
|
3085
|
+
"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."
|
|
3289
3086
|
},
|
|
3290
3087
|
{
|
|
3291
3088
|
"kind": "variable",
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
|
|
3089
|
+
"name": "strictFallbackAgent",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "FallbackAgentConfig"
|
|
3092
|
+
},
|
|
3093
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
3094
|
+
"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.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
3095
|
+
}
|
|
3096
|
+
],
|
|
3097
|
+
"exports": [
|
|
3098
|
+
{
|
|
3099
|
+
"kind": "js",
|
|
3100
|
+
"name": "friendlyFallbackAgent",
|
|
3101
|
+
"declaration": {
|
|
3102
|
+
"name": "friendlyFallbackAgent",
|
|
3103
|
+
"module": "src/config/fallback-agents.ts"
|
|
3104
|
+
}
|
|
3295
3105
|
},
|
|
3296
3106
|
{
|
|
3297
|
-
"kind": "
|
|
3298
|
-
"name": "
|
|
3299
|
-
"
|
|
3300
|
-
|
|
3107
|
+
"kind": "js",
|
|
3108
|
+
"name": "strictFallbackAgent",
|
|
3109
|
+
"declaration": {
|
|
3110
|
+
"name": "strictFallbackAgent",
|
|
3111
|
+
"module": "src/config/fallback-agents.ts"
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
]
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
"kind": "javascript-module",
|
|
3118
|
+
"path": "src/config/index.ts",
|
|
3119
|
+
"declarations": [],
|
|
3120
|
+
"exports": [
|
|
3121
|
+
{
|
|
3122
|
+
"kind": "js",
|
|
3123
|
+
"name": "*",
|
|
3124
|
+
"declaration": {
|
|
3125
|
+
"name": "*",
|
|
3126
|
+
"package": "./config"
|
|
3127
|
+
}
|
|
3301
3128
|
},
|
|
3129
|
+
{
|
|
3130
|
+
"kind": "js",
|
|
3131
|
+
"name": "*",
|
|
3132
|
+
"declaration": {
|
|
3133
|
+
"name": "*",
|
|
3134
|
+
"package": "./fallback-agents"
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
]
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
"kind": "javascript-module",
|
|
3141
|
+
"path": "src/config/validate-providers.ts",
|
|
3142
|
+
"declarations": [],
|
|
3143
|
+
"exports": []
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "javascript-module",
|
|
3147
|
+
"path": "src/provider/ai-provider-switcher.ts",
|
|
3148
|
+
"declarations": [
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "variable",
|
|
3151
|
+
"name": "AIProviderSwitcher",
|
|
3152
|
+
"description": "The DI token for the (AIProviderSwitcher:interface). Resolves a noop until the app\nregisters one."
|
|
3153
|
+
}
|
|
3154
|
+
],
|
|
3155
|
+
"exports": [
|
|
3156
|
+
{
|
|
3157
|
+
"kind": "js",
|
|
3158
|
+
"name": "AIProviderSwitcher",
|
|
3159
|
+
"declaration": {
|
|
3160
|
+
"name": "AIProviderSwitcher",
|
|
3161
|
+
"module": "src/provider/ai-provider-switcher.ts"
|
|
3162
|
+
}
|
|
3163
|
+
}
|
|
3164
|
+
]
|
|
3165
|
+
},
|
|
3166
|
+
{
|
|
3167
|
+
"kind": "javascript-module",
|
|
3168
|
+
"path": "src/provider/assistant-app-settings.ts",
|
|
3169
|
+
"declarations": [
|
|
3170
|
+
{
|
|
3171
|
+
"kind": "variable",
|
|
3172
|
+
"name": "AssistantAppSettingsProvider",
|
|
3173
|
+
"description": "The DI token for the (AssistantAppSettingsProvider:interface). Resolves a noop\nuntil the host registers one."
|
|
3174
|
+
}
|
|
3175
|
+
],
|
|
3176
|
+
"exports": [
|
|
3177
|
+
{
|
|
3178
|
+
"kind": "js",
|
|
3179
|
+
"name": "AssistantAppSettingsProvider",
|
|
3180
|
+
"declaration": {
|
|
3181
|
+
"name": "AssistantAppSettingsProvider",
|
|
3182
|
+
"module": "src/provider/assistant-app-settings.ts"
|
|
3183
|
+
}
|
|
3184
|
+
}
|
|
3185
|
+
]
|
|
3186
|
+
},
|
|
3187
|
+
{
|
|
3188
|
+
"kind": "javascript-module",
|
|
3189
|
+
"path": "src/provider/tiered-provider-switcher.ts",
|
|
3190
|
+
"declarations": [
|
|
3302
3191
|
{
|
|
3303
3192
|
"kind": "class",
|
|
3304
|
-
"description": "
|
|
3305
|
-
"name": "
|
|
3193
|
+
"description": "Which cloud vendor backs the tier-shaped provider registry, plus the means to move it at\nruntime (GENC-1610).",
|
|
3194
|
+
"name": "TieredAIProviderSwitcher",
|
|
3306
3195
|
"members": [
|
|
3307
3196
|
{
|
|
3308
3197
|
"kind": "field",
|
|
3309
|
-
"name": "
|
|
3310
|
-
"
|
|
3311
|
-
|
|
3312
|
-
|
|
3198
|
+
"name": "vendors",
|
|
3199
|
+
"type": {
|
|
3200
|
+
"text": "readonly AITierVendor[]"
|
|
3201
|
+
},
|
|
3202
|
+
"readonly": true
|
|
3313
3203
|
},
|
|
3314
3204
|
{
|
|
3315
3205
|
"kind": "field",
|
|
3316
|
-
"name": "
|
|
3206
|
+
"name": "options",
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "TieredAIProviderSwitcherOptions"
|
|
3209
|
+
},
|
|
3317
3210
|
"privacy": "private",
|
|
3318
3211
|
"readonly": true,
|
|
3319
|
-
"default": "
|
|
3212
|
+
"default": "options"
|
|
3320
3213
|
},
|
|
3321
3214
|
{
|
|
3322
3215
|
"kind": "field",
|
|
3323
|
-
"name": "
|
|
3216
|
+
"name": "defaultTier",
|
|
3217
|
+
"type": {
|
|
3218
|
+
"text": "AITierId"
|
|
3219
|
+
},
|
|
3324
3220
|
"privacy": "private",
|
|
3325
|
-
"readonly": true
|
|
3326
|
-
"default": "new AttachmentController(this, {\n acceptedFiles: () => this.chatConfig.ui?.acceptedFiles,\n logMeta: (type, detail) => this.logMeta(type, detail),\n })"
|
|
3221
|
+
"readonly": true
|
|
3327
3222
|
},
|
|
3328
3223
|
{
|
|
3329
3224
|
"kind": "field",
|
|
3330
|
-
"name": "
|
|
3331
|
-
"
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
"description": "Pure derivation — owns no state. Reaches the driver only through the two\ncallbacks below, so it stays clear of the stateful-agent surface (§11.2\nconstraint 2) and of redux entirely."
|
|
3335
|
-
},
|
|
3336
|
-
{
|
|
3337
|
-
"kind": "field",
|
|
3338
|
-
"name": "costLedger",
|
|
3339
|
-
"privacy": "private",
|
|
3340
|
-
"readonly": true,
|
|
3341
|
-
"default": "new CostLedgerController({\n chatConfig: () => this.chatConfig,\n messages: () => this.messages,\n sessionUsage: () => this.sessionUsage,\n providerStatuses: () => this.providerStatuses,\n persistenceActive: () => this.persistenceActive,\n stateKey: () => this.getStateKey(),\n headerTitle: () => this.headerTitle,\n provider: () => this.persistence.provider,\n elementId: () => this.id,\n })",
|
|
3342
|
-
"description": "Cost accounting and the persisted build-history ledger (GENC-1475). Reads the live\nsession through callbacks and owns the rows, the load/write latches and the debounce\ntimer — the element keeps only the names the settings modal binds."
|
|
3343
|
-
},
|
|
3344
|
-
{
|
|
3345
|
-
"kind": "field",
|
|
3346
|
-
"name": "budget",
|
|
3225
|
+
"name": "registry",
|
|
3226
|
+
"type": {
|
|
3227
|
+
"text": "MutableAIProviderRegistry"
|
|
3228
|
+
},
|
|
3347
3229
|
"privacy": "private",
|
|
3348
|
-
"readonly": true
|
|
3349
|
-
"default": "new BudgetController({\n sessionRef: () => this._sessionRef,\n providerStatuses: () => this.providerStatuses,\n providerRegistry: () => this.providerRegistry,\n chatConfig: () => this.chatConfig,\n })",
|
|
3350
|
-
"description": "The AI-spend budget: vendor walls, the derived composer lock, the banner copy\nand the settings meter (GENC-1464).\n\nTakes the session store itself rather than a callback per field — see\n`BudgetDeps` for why this one differs from its siblings."
|
|
3230
|
+
"readonly": true
|
|
3351
3231
|
},
|
|
3352
3232
|
{
|
|
3353
3233
|
"kind": "field",
|
|
3354
|
-
"name": "
|
|
3234
|
+
"name": "listeners",
|
|
3355
3235
|
"privacy": "private",
|
|
3356
3236
|
"readonly": true,
|
|
3357
|
-
"default": "new
|
|
3358
|
-
"description": "The settings modal (`docs/code-health.md` §3). Reaches the two design-system\nrefs through callbacks, because the template writes them by name — see\n`SettingsModalDeps`."
|
|
3359
|
-
},
|
|
3360
|
-
{
|
|
3361
|
-
"kind": "field",
|
|
3362
|
-
"name": "providerRegistry",
|
|
3363
|
-
"type": {
|
|
3364
|
-
"text": "AIProviderRegistry"
|
|
3365
|
-
}
|
|
3366
|
-
},
|
|
3367
|
-
{
|
|
3368
|
-
"kind": "field",
|
|
3369
|
-
"name": "appSettingsProvider",
|
|
3370
|
-
"type": {
|
|
3371
|
-
"text": "AssistantAppSettingsProvider"
|
|
3372
|
-
}
|
|
3373
|
-
},
|
|
3374
|
-
{
|
|
3375
|
-
"kind": "field",
|
|
3376
|
-
"name": "designSystemPrefix",
|
|
3377
|
-
"type": {
|
|
3378
|
-
"text": "string"
|
|
3379
|
-
},
|
|
3380
|
-
"default": "'rapid'"
|
|
3381
|
-
},
|
|
3382
|
-
{
|
|
3383
|
-
"kind": "field",
|
|
3384
|
-
"name": "headerTitle",
|
|
3385
|
-
"type": {
|
|
3386
|
-
"text": "string"
|
|
3387
|
-
},
|
|
3388
|
-
"default": "'Genesis Assistant'"
|
|
3389
|
-
},
|
|
3390
|
-
{
|
|
3391
|
-
"kind": "field",
|
|
3392
|
-
"name": "sessionKey",
|
|
3393
|
-
"type": {
|
|
3394
|
-
"text": "string | undefined"
|
|
3395
|
-
},
|
|
3396
|
-
"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."
|
|
3397
|
-
},
|
|
3398
|
-
{
|
|
3399
|
-
"kind": "field",
|
|
3400
|
-
"name": "imageSrc",
|
|
3401
|
-
"type": {
|
|
3402
|
-
"text": "string | undefined"
|
|
3403
|
-
}
|
|
3404
|
-
},
|
|
3405
|
-
{
|
|
3406
|
-
"kind": "field",
|
|
3407
|
-
"name": "userImageSrc",
|
|
3408
|
-
"type": {
|
|
3409
|
-
"text": "string | undefined"
|
|
3410
|
-
}
|
|
3237
|
+
"default": "new Set<(vendor: AITierVendor) => void>()"
|
|
3411
3238
|
},
|
|
3412
3239
|
{
|
|
3413
3240
|
"kind": "field",
|
|
3414
|
-
"name": "
|
|
3241
|
+
"name": "_vendor",
|
|
3415
3242
|
"type": {
|
|
3416
|
-
"text": "
|
|
3243
|
+
"text": "AITierVendor"
|
|
3417
3244
|
},
|
|
3418
|
-
"
|
|
3245
|
+
"privacy": "private"
|
|
3419
3246
|
},
|
|
3420
3247
|
{
|
|
3421
3248
|
"kind": "field",
|
|
3422
|
-
"name": "
|
|
3249
|
+
"name": "vendor",
|
|
3423
3250
|
"type": {
|
|
3424
|
-
"text": "
|
|
3251
|
+
"text": "AITierVendor"
|
|
3425
3252
|
},
|
|
3426
|
-
"
|
|
3427
|
-
"description": "Sanitized `assistantIcon`, or the default sparkle mark; bound into the template. @internal"
|
|
3253
|
+
"readonly": true
|
|
3428
3254
|
},
|
|
3429
3255
|
{
|
|
3430
3256
|
"kind": "method",
|
|
3431
|
-
"name": "
|
|
3432
|
-
"privacy": "protected",
|
|
3257
|
+
"name": "switchTo",
|
|
3433
3258
|
"return": {
|
|
3434
3259
|
"type": {
|
|
3435
3260
|
"text": "void"
|
|
3436
3261
|
}
|
|
3437
|
-
}
|
|
3438
|
-
},
|
|
3439
|
-
{
|
|
3440
|
-
"kind": "field",
|
|
3441
|
-
"name": "userIcon",
|
|
3442
|
-
"type": {
|
|
3443
|
-
"text": "string | undefined"
|
|
3444
|
-
},
|
|
3445
|
-
"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."
|
|
3446
|
-
},
|
|
3447
|
-
{
|
|
3448
|
-
"kind": "field",
|
|
3449
|
-
"name": "userIconSafe",
|
|
3450
|
-
"type": {
|
|
3451
|
-
"text": "string"
|
|
3452
3262
|
},
|
|
3453
|
-
"
|
|
3454
|
-
|
|
3263
|
+
"parameters": [
|
|
3264
|
+
{
|
|
3265
|
+
"name": "vendor",
|
|
3266
|
+
"type": {
|
|
3267
|
+
"text": "string"
|
|
3268
|
+
}
|
|
3269
|
+
}
|
|
3270
|
+
],
|
|
3271
|
+
"description": "A user-driven switch: move the registry, then tell the app so it can persist the choice.\nAn unknown vendor is ignored."
|
|
3455
3272
|
},
|
|
3456
3273
|
{
|
|
3457
3274
|
"kind": "method",
|
|
3458
|
-
"name": "
|
|
3459
|
-
"privacy": "protected",
|
|
3275
|
+
"name": "adoptPersistedVendor",
|
|
3460
3276
|
"return": {
|
|
3461
3277
|
"type": {
|
|
3462
3278
|
"text": "void"
|
|
3463
3279
|
}
|
|
3464
|
-
}
|
|
3465
|
-
},
|
|
3466
|
-
{
|
|
3467
|
-
"kind": "field",
|
|
3468
|
-
"name": "placeholder",
|
|
3469
|
-
"type": {
|
|
3470
|
-
"text": "string"
|
|
3471
|
-
},
|
|
3472
|
-
"default": "'Message assistant...'"
|
|
3473
|
-
},
|
|
3474
|
-
{
|
|
3475
|
-
"kind": "field",
|
|
3476
|
-
"name": "popoutMode",
|
|
3477
|
-
"type": {
|
|
3478
|
-
"text": "PopoutMode | undefined"
|
|
3479
3280
|
},
|
|
3480
|
-
"
|
|
3281
|
+
"parameters": [
|
|
3282
|
+
{
|
|
3283
|
+
"name": "vendor",
|
|
3284
|
+
"type": {
|
|
3285
|
+
"text": "string"
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
],
|
|
3289
|
+
"description": "Adopt a vendor the app read back from its own store — the same registry move as\nTieredAIProviderSwitcher.switchTo, without the `onSwitch` callback, because this\nvalue came FROM the store and writing it back would be a pointless round-trip on load.\n\nExists because registration has to stay synchronous: an element that connects before the\ntoken is registered caches the platform's no-op fallback, so an app cannot await its\nstored preference before constructing this. It boots on `initialVendor` and adopts the\nstored one a moment later, through a registry that is mutable and held by reference."
|
|
3481
3290
|
},
|
|
3482
3291
|
{
|
|
3483
|
-
"kind": "
|
|
3484
|
-
"name": "
|
|
3485
|
-
"
|
|
3486
|
-
"
|
|
3292
|
+
"kind": "method",
|
|
3293
|
+
"name": "subscribe",
|
|
3294
|
+
"return": {
|
|
3295
|
+
"type": {
|
|
3296
|
+
"text": "() => void"
|
|
3297
|
+
}
|
|
3487
3298
|
},
|
|
3488
|
-
"
|
|
3299
|
+
"parameters": [
|
|
3300
|
+
{
|
|
3301
|
+
"name": "listener",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "(vendor: string) => void"
|
|
3304
|
+
}
|
|
3305
|
+
}
|
|
3306
|
+
]
|
|
3489
3307
|
},
|
|
3490
3308
|
{
|
|
3491
|
-
"kind": "
|
|
3492
|
-
"name": "
|
|
3493
|
-
"
|
|
3494
|
-
|
|
3309
|
+
"kind": "method",
|
|
3310
|
+
"name": "apply",
|
|
3311
|
+
"privacy": "private",
|
|
3312
|
+
"return": {
|
|
3313
|
+
"type": {
|
|
3314
|
+
"text": "void"
|
|
3315
|
+
}
|
|
3495
3316
|
},
|
|
3496
|
-
"
|
|
3317
|
+
"parameters": [
|
|
3318
|
+
{
|
|
3319
|
+
"name": "vendor",
|
|
3320
|
+
"type": {
|
|
3321
|
+
"text": "AITierVendor"
|
|
3322
|
+
}
|
|
3323
|
+
}
|
|
3324
|
+
],
|
|
3325
|
+
"description": "The registry move both entry points share, and nothing else."
|
|
3497
3326
|
},
|
|
3498
3327
|
{
|
|
3499
|
-
"kind": "
|
|
3500
|
-
"name": "
|
|
3501
|
-
"
|
|
3502
|
-
|
|
3328
|
+
"kind": "method",
|
|
3329
|
+
"name": "build",
|
|
3330
|
+
"privacy": "private",
|
|
3331
|
+
"return": {
|
|
3332
|
+
"type": {
|
|
3333
|
+
"text": "Record<string, AIProvider>"
|
|
3334
|
+
}
|
|
3503
3335
|
},
|
|
3504
|
-
"
|
|
3505
|
-
|
|
3336
|
+
"parameters": [
|
|
3337
|
+
{
|
|
3338
|
+
"name": "vendor",
|
|
3339
|
+
"type": {
|
|
3340
|
+
"text": "AITierVendor"
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
]
|
|
3506
3344
|
},
|
|
3507
3345
|
{
|
|
3508
|
-
"kind": "
|
|
3509
|
-
"name": "
|
|
3510
|
-
"
|
|
3511
|
-
|
|
3346
|
+
"kind": "method",
|
|
3347
|
+
"name": "isKnownVendor",
|
|
3348
|
+
"privacy": "private",
|
|
3349
|
+
"return": {
|
|
3350
|
+
"type": {
|
|
3351
|
+
"text": "vendor is AITierVendor"
|
|
3352
|
+
}
|
|
3512
3353
|
},
|
|
3513
|
-
"
|
|
3514
|
-
|
|
3354
|
+
"parameters": [
|
|
3355
|
+
{
|
|
3356
|
+
"name": "vendor",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "string"
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
]
|
|
3362
|
+
}
|
|
3363
|
+
]
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "function",
|
|
3367
|
+
"name": "registerTieredAIProviders",
|
|
3368
|
+
"return": {
|
|
3369
|
+
"type": {
|
|
3370
|
+
"text": "TieredAIProviderSwitcher"
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
"parameters": [
|
|
3515
3374
|
{
|
|
3516
|
-
"
|
|
3517
|
-
"name": "agentPicker",
|
|
3375
|
+
"name": "container",
|
|
3518
3376
|
"type": {
|
|
3519
|
-
"text": "
|
|
3520
|
-
}
|
|
3521
|
-
"description": "Resolved agent picker mode from `chatConfig.picker.mode`. Defaults to\n`'disabled'`.",
|
|
3522
|
-
"readonly": true
|
|
3377
|
+
"text": "Container"
|
|
3378
|
+
}
|
|
3523
3379
|
},
|
|
3524
3380
|
{
|
|
3525
|
-
"
|
|
3526
|
-
"name": "composerHiddenByConfig",
|
|
3381
|
+
"name": "options",
|
|
3527
3382
|
"type": {
|
|
3528
|
-
"text": "
|
|
3529
|
-
}
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3383
|
+
"text": "Omit<TieredAIProviderSwitcherOptions, 'container'>"
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
],
|
|
3387
|
+
"description": "Build a TieredAIProviderSwitcher — which registers the tier-shaped provider\nregistry — and put it on the (AIProviderSwitcher:variable) token. Call once at app\nbootstrap."
|
|
3388
|
+
}
|
|
3389
|
+
],
|
|
3390
|
+
"exports": [
|
|
3391
|
+
{
|
|
3392
|
+
"kind": "js",
|
|
3393
|
+
"name": "TieredAIProviderSwitcher",
|
|
3394
|
+
"declaration": {
|
|
3395
|
+
"name": "TieredAIProviderSwitcher",
|
|
3396
|
+
"module": "src/provider/tiered-provider-switcher.ts"
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"kind": "js",
|
|
3401
|
+
"name": "registerTieredAIProviders",
|
|
3402
|
+
"declaration": {
|
|
3403
|
+
"name": "registerTieredAIProviders",
|
|
3404
|
+
"module": "src/provider/tiered-provider-switcher.ts"
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
]
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"kind": "javascript-module",
|
|
3411
|
+
"path": "src/main/attachment-controller.ts",
|
|
3412
|
+
"declarations": [],
|
|
3413
|
+
"exports": []
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "javascript-module",
|
|
3417
|
+
"path": "src/main/budget-controller.ts",
|
|
3418
|
+
"declarations": [],
|
|
3419
|
+
"exports": []
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "javascript-module",
|
|
3423
|
+
"path": "src/main/composer-menu-controller.ts",
|
|
3424
|
+
"declarations": [],
|
|
3425
|
+
"exports": []
|
|
3426
|
+
},
|
|
3427
|
+
{
|
|
3428
|
+
"kind": "javascript-module",
|
|
3429
|
+
"path": "src/main/composer-resize-controller.ts",
|
|
3430
|
+
"declarations": [],
|
|
3431
|
+
"exports": []
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"kind": "javascript-module",
|
|
3435
|
+
"path": "src/main/context-gate-controller.ts",
|
|
3436
|
+
"declarations": [],
|
|
3437
|
+
"exports": []
|
|
3438
|
+
},
|
|
3439
|
+
{
|
|
3440
|
+
"kind": "javascript-module",
|
|
3441
|
+
"path": "src/main/cost-ledger-controller.ts",
|
|
3442
|
+
"declarations": [],
|
|
3443
|
+
"exports": []
|
|
3444
|
+
},
|
|
3445
|
+
{
|
|
3446
|
+
"kind": "javascript-module",
|
|
3447
|
+
"path": "src/main/index.ts",
|
|
3448
|
+
"declarations": [],
|
|
3449
|
+
"exports": [
|
|
3450
|
+
{
|
|
3451
|
+
"kind": "js",
|
|
3452
|
+
"name": "*",
|
|
3453
|
+
"declaration": {
|
|
3454
|
+
"name": "*",
|
|
3455
|
+
"package": "./main.template"
|
|
3456
|
+
}
|
|
3457
|
+
},
|
|
3458
|
+
{
|
|
3459
|
+
"kind": "js",
|
|
3460
|
+
"name": "*",
|
|
3461
|
+
"declaration": {
|
|
3462
|
+
"name": "*",
|
|
3463
|
+
"package": "./main"
|
|
3464
|
+
}
|
|
3465
|
+
},
|
|
3466
|
+
{
|
|
3467
|
+
"kind": "js",
|
|
3468
|
+
"name": "*",
|
|
3469
|
+
"declaration": {
|
|
3470
|
+
"name": "*",
|
|
3471
|
+
"package": "./main.types"
|
|
3472
|
+
}
|
|
3473
|
+
}
|
|
3474
|
+
]
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"kind": "javascript-module",
|
|
3478
|
+
"path": "src/main/main.styles.ts",
|
|
3479
|
+
"declarations": [
|
|
3480
|
+
{
|
|
3481
|
+
"kind": "variable",
|
|
3482
|
+
"name": "styles",
|
|
3483
|
+
"default": "css`\n ${baseStyles}\n ${\n /* The session menu's rows. Same partial the agent picker imports into its own\n shadow root — the one thing that keeps the two menus looking alike. */ ''\n }\n ${menuItemStyles}\n ${settingsModalStyles}\n`"
|
|
3484
|
+
}
|
|
3485
|
+
],
|
|
3486
|
+
"exports": [
|
|
3487
|
+
{
|
|
3488
|
+
"kind": "js",
|
|
3489
|
+
"name": "styles",
|
|
3490
|
+
"declaration": {
|
|
3491
|
+
"name": "styles",
|
|
3492
|
+
"module": "src/main/main.styles.ts"
|
|
3493
|
+
}
|
|
3494
|
+
}
|
|
3495
|
+
]
|
|
3496
|
+
},
|
|
3497
|
+
{
|
|
3498
|
+
"kind": "javascript-module",
|
|
3499
|
+
"path": "src/main/main.template.ts",
|
|
3500
|
+
"declarations": [
|
|
3501
|
+
{
|
|
3502
|
+
"kind": "variable",
|
|
3503
|
+
"name": "messageTimestampTemplate",
|
|
3504
|
+
"default": "html<ChatMessage, FoundationAiAssistant>`\n <time\n class=\"message-timestamp\"\n part=\"message-timestamp\"\n datetime=\"${(m) => messageTimestampDateTime(m.timestamp)}\"\n >\n <span aria-hidden=\"true\">\n ${(m, c) => formatMessageTimestamp(m.timestamp, c.parent.timestampClock)}\n </span>\n <span class=\"visually-hidden\">${(m) => formatAbsoluteTimestamp(m.timestamp)}</span>\n </time>\n`",
|
|
3505
|
+
"description": "The timestamp shown beside the sender name (GENC-1257).\n\nTwo strings, not one. A screen reader announces a `<time>` element's TEXT — it has no\nimplicit ARIA role, and the `datetime` attribute is never surfaced to the user — so the\nrelative text is hidden from assistive tech and paired with a visually-hidden absolute\nstring. Otherwise AT would hear \"5 minutes ago\" with nothing to anchor it, and in\n`'hover'` mode would hear it for a timestamp sighted users never asked to see.\n`datetime` stays because it is correct HTML and useful to tooling, not for a11y.\n\nOnly the VISUAL reveal is hover-gated, in CSS — see `.message-timestamp`. `opacity: 0`\nleaves the element in the accessibility tree, so AT gets a time in both visible modes;\n`'off'` is the only mode that removes it.\n\nReads `timestampClock` rather than `Date.now()` so every row shares one invalidatable\nclock and a tick re-evaluates them all; see `FoundationAiAssistant.timestampClock`."
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"kind": "function",
|
|
3509
|
+
"name": "FoundationAiAssistantTemplate",
|
|
3510
|
+
"return": {
|
|
3511
|
+
"type": {
|
|
3512
|
+
"text": "ViewTemplate<FoundationAiAssistant>"
|
|
3513
|
+
}
|
|
3514
|
+
},
|
|
3515
|
+
"parameters": [
|
|
3533
3516
|
{
|
|
3534
|
-
"
|
|
3535
|
-
"name": "debugStateFactory",
|
|
3517
|
+
"name": "designSystemPrefix",
|
|
3536
3518
|
"type": {
|
|
3537
|
-
"text": "
|
|
3519
|
+
"text": "string"
|
|
3538
3520
|
}
|
|
3521
|
+
}
|
|
3522
|
+
]
|
|
3523
|
+
}
|
|
3524
|
+
],
|
|
3525
|
+
"exports": [
|
|
3526
|
+
{
|
|
3527
|
+
"kind": "js",
|
|
3528
|
+
"name": "messageTimestampTemplate",
|
|
3529
|
+
"declaration": {
|
|
3530
|
+
"name": "messageTimestampTemplate",
|
|
3531
|
+
"module": "src/main/main.template.ts"
|
|
3532
|
+
}
|
|
3533
|
+
},
|
|
3534
|
+
{
|
|
3535
|
+
"kind": "js",
|
|
3536
|
+
"name": "FoundationAiAssistantTemplate",
|
|
3537
|
+
"declaration": {
|
|
3538
|
+
"name": "FoundationAiAssistantTemplate",
|
|
3539
|
+
"module": "src/main/main.template.ts"
|
|
3540
|
+
}
|
|
3541
|
+
}
|
|
3542
|
+
]
|
|
3543
|
+
},
|
|
3544
|
+
{
|
|
3545
|
+
"kind": "javascript-module",
|
|
3546
|
+
"path": "src/main/main.ts",
|
|
3547
|
+
"declarations": [
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "variable",
|
|
3550
|
+
"name": "sparkleIconSvg",
|
|
3551
|
+
"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>`",
|
|
3552
|
+
"description": "Three-star AI \"sparkle\" mark — the conventional AI signifier; default assistant avatar."
|
|
3553
|
+
},
|
|
3554
|
+
{
|
|
3555
|
+
"kind": "variable",
|
|
3556
|
+
"name": "userIconSvg",
|
|
3557
|
+
"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>`",
|
|
3558
|
+
"description": "Person silhouette — default user avatar."
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "variable",
|
|
3562
|
+
"name": "genesisIconSvg",
|
|
3563
|
+
"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>`",
|
|
3564
|
+
"description": "Genesis G-mark — opt-in assistant avatar (the default before the sparkle mark)."
|
|
3565
|
+
},
|
|
3566
|
+
{
|
|
3567
|
+
"kind": "class",
|
|
3568
|
+
"description": "Foundation AI Assistant component.",
|
|
3569
|
+
"name": "FoundationAiAssistant",
|
|
3570
|
+
"members": [
|
|
3571
|
+
{
|
|
3572
|
+
"kind": "field",
|
|
3573
|
+
"name": "composerResize",
|
|
3574
|
+
"privacy": "private",
|
|
3575
|
+
"readonly": true,
|
|
3576
|
+
"default": "new ComposerResizeController({\n enabled: () => this.chatConfig.ui?.resizableInput !== false,\n inputEl: () => this.chatInputEl,\n messagesEl: () => this.messagesEl,\n })"
|
|
3539
3577
|
},
|
|
3540
3578
|
{
|
|
3541
3579
|
"kind": "field",
|
|
3542
|
-
"name": "
|
|
3543
|
-
"
|
|
3544
|
-
|
|
3545
|
-
},
|
|
3546
|
-
"default": "false",
|
|
3547
|
-
"description": "When set, enables Redux DevTools for this instance's session store."
|
|
3580
|
+
"name": "composerMenus",
|
|
3581
|
+
"privacy": "private",
|
|
3582
|
+
"readonly": true,
|
|
3583
|
+
"default": "new ComposerMenuController(this, {\n agentPickerOpen: this.accessor('agentPickerOpen'),\n sessionMenuOpen: this.accessor('sessionMenuOpen'),\n focusInput: () => this.chatInputEl?.focus(),\n resetSessionConfirmations: () => {\n this.confirmingClear = false;\n this.confirmingCompact = false;\n },\n logMeta: (type, detail) => this.logMeta(type, detail),\n })"
|
|
3548
3584
|
},
|
|
3549
3585
|
{
|
|
3550
3586
|
"kind": "field",
|
|
3551
|
-
"name": "
|
|
3552
|
-
"type": {
|
|
3553
|
-
"text": "SessionStoreReturn | undefined"
|
|
3554
|
-
},
|
|
3587
|
+
"name": "attachmentCtrl",
|
|
3555
3588
|
"privacy": "private",
|
|
3556
|
-
"
|
|
3589
|
+
"readonly": true,
|
|
3590
|
+
"default": "new AttachmentController(this, {\n acceptedFiles: () => this.chatConfig.ui?.acceptedFiles,\n logMeta: (type, detail) => this.logMeta(type, detail),\n })"
|
|
3557
3591
|
},
|
|
3558
3592
|
{
|
|
3559
3593
|
"kind": "field",
|
|
3560
|
-
"name": "
|
|
3561
|
-
"type": {
|
|
3562
|
-
"text": "number | undefined"
|
|
3563
|
-
},
|
|
3594
|
+
"name": "contextGateCtrl",
|
|
3564
3595
|
"privacy": "private",
|
|
3565
|
-
"
|
|
3596
|
+
"readonly": true,
|
|
3597
|
+
"default": "new ContextGateController({\n chatConfig: () => this.chatConfig,\n messages: () => this.messages,\n contextTokens: () => this.contextTokens,\n contextLimit: () => this.contextLimit,\n gateContextTokens: () => this._gateContextTokens,\n contextReserve: () => this.contextReserve,\n preambleTokens: () => this.driver?.getPreambleTokens?.(),\n compactionPlanFor: (options) => this.driver?.getCompactionPlan?.(options) ?? null,\n bannerVisible: () => this.bannerVisible,\n effectiveBlockedReason: () => this.effectiveBlockedReason,\n flowOwnerAgentName: () => this.flowOwnerAgentName,\n })",
|
|
3598
|
+
"description": "Pure derivation — owns no state. Reaches the driver only through the two\ncallbacks below, so it stays clear of the stateful-agent surface (§11.2\nconstraint 2) and of redux entirely."
|
|
3566
3599
|
},
|
|
3567
3600
|
{
|
|
3568
3601
|
"kind": "field",
|
|
3569
|
-
"name": "
|
|
3570
|
-
"
|
|
3571
|
-
|
|
3572
|
-
}
|
|
3602
|
+
"name": "costLedger",
|
|
3603
|
+
"privacy": "private",
|
|
3604
|
+
"readonly": true,
|
|
3605
|
+
"default": "new CostLedgerController({\n chatConfig: () => this.chatConfig,\n messages: () => this.messages,\n sessionUsage: () => this.sessionUsage,\n providerStatuses: () => this.providerStatuses,\n persistenceActive: () => this.persistenceActive,\n stateKey: () => this.getStateKey(),\n headerTitle: () => this.headerTitle,\n provider: () => this.persistence.provider,\n elementId: () => this.id,\n })",
|
|
3606
|
+
"description": "Cost accounting and the persisted build-history ledger (GENC-1475). Reads the live\nsession through callbacks and owns the rows, the load/write latches and the debounce\ntimer — the element keeps only the names the settings modal binds."
|
|
3573
3607
|
},
|
|
3574
3608
|
{
|
|
3575
3609
|
"kind": "field",
|
|
3576
|
-
"name": "
|
|
3610
|
+
"name": "budget",
|
|
3611
|
+
"privacy": "private",
|
|
3612
|
+
"readonly": true,
|
|
3613
|
+
"default": "new BudgetController({\n sessionRef: () => this._sessionRef,\n providerStatuses: () => this.providerStatuses,\n providerRegistry: () => this.providerRegistry,\n chatConfig: () => this.chatConfig,\n })",
|
|
3614
|
+
"description": "The AI-spend budget: vendor walls, the derived composer lock, the banner copy\nand the settings meter (GENC-1464).\n\nTakes the session store itself rather than a callback per field — see\n`BudgetDeps` for why this one differs from its siblings."
|
|
3615
|
+
},
|
|
3616
|
+
{
|
|
3617
|
+
"kind": "field",
|
|
3618
|
+
"name": "settings",
|
|
3619
|
+
"privacy": "private",
|
|
3620
|
+
"readonly": true,
|
|
3621
|
+
"default": "new SettingsModalController({\n chatConfig: () => this.chatConfig,\n contextTokens: () => this.contextTokens,\n contextLimit: () => this.contextLimit,\n budgetUsageVisible: () => this.budget.settingsUsageVisible,\n costConfig: () => this.costLedger.config,\n costHistoryLength: () => this.costLedger.history.length,\n liveCostSessionTitle: () => this.costLedger.liveTitle,\n providerStatusCount: () => this.providerStatuses.length,\n sessionRef: () => this._sessionRef,\n stateKey: () => this.getStateKey(),\n popoutMode: () => this.popoutMode,\n headerTitle: () => this.headerTitle,\n appSettingsProvider: () => this.appSettingsProvider,\n modal: () => this.settingsModal,\n tabsEl: () => this.settingsTabsEl,\n requestBudgetRefresh: () => this.requestBudgetRefresh(),\n logMeta: (type, detail) => this.logMeta(type, detail),\n })",
|
|
3622
|
+
"description": "The settings modal (`docs/code-health.md` §3). Reaches the two design-system\nrefs through callbacks, because the template writes them by name — see\n`SettingsModalDeps`."
|
|
3623
|
+
},
|
|
3624
|
+
{
|
|
3625
|
+
"kind": "field",
|
|
3626
|
+
"name": "providerRegistry",
|
|
3577
3627
|
"type": {
|
|
3578
|
-
"text": "
|
|
3628
|
+
"text": "AIProviderRegistry"
|
|
3579
3629
|
}
|
|
3580
3630
|
},
|
|
3581
3631
|
{
|
|
3582
|
-
"kind": "
|
|
3583
|
-
"name": "
|
|
3632
|
+
"kind": "field",
|
|
3633
|
+
"name": "appSettingsProvider",
|
|
3634
|
+
"type": {
|
|
3635
|
+
"text": "AssistantAppSettingsProvider"
|
|
3636
|
+
}
|
|
3637
|
+
},
|
|
3638
|
+
{
|
|
3639
|
+
"kind": "field",
|
|
3640
|
+
"name": "designSystemPrefix",
|
|
3641
|
+
"type": {
|
|
3642
|
+
"text": "string"
|
|
3643
|
+
},
|
|
3644
|
+
"default": "'rapid'"
|
|
3645
|
+
},
|
|
3646
|
+
{
|
|
3647
|
+
"kind": "field",
|
|
3648
|
+
"name": "headerTitle",
|
|
3649
|
+
"type": {
|
|
3650
|
+
"text": "string"
|
|
3651
|
+
},
|
|
3652
|
+
"default": "'Genesis Assistant'"
|
|
3653
|
+
},
|
|
3654
|
+
{
|
|
3655
|
+
"kind": "field",
|
|
3656
|
+
"name": "sessionKey",
|
|
3657
|
+
"type": {
|
|
3658
|
+
"text": "string | undefined"
|
|
3659
|
+
},
|
|
3660
|
+
"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."
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
"kind": "field",
|
|
3664
|
+
"name": "imageSrc",
|
|
3665
|
+
"type": {
|
|
3666
|
+
"text": "string | undefined"
|
|
3667
|
+
}
|
|
3668
|
+
},
|
|
3669
|
+
{
|
|
3670
|
+
"kind": "field",
|
|
3671
|
+
"name": "userImageSrc",
|
|
3672
|
+
"type": {
|
|
3673
|
+
"text": "string | undefined"
|
|
3674
|
+
}
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"kind": "field",
|
|
3678
|
+
"name": "assistantIcon",
|
|
3679
|
+
"type": {
|
|
3680
|
+
"text": "string | undefined"
|
|
3681
|
+
},
|
|
3682
|
+
"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."
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"kind": "field",
|
|
3686
|
+
"name": "assistantIconSafe",
|
|
3687
|
+
"type": {
|
|
3688
|
+
"text": "string"
|
|
3689
|
+
},
|
|
3690
|
+
"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>`",
|
|
3691
|
+
"description": "Sanitized `assistantIcon`, or the default sparkle mark; bound into the template. @internal"
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"kind": "method",
|
|
3695
|
+
"name": "assistantIconChanged",
|
|
3696
|
+
"privacy": "protected",
|
|
3697
|
+
"return": {
|
|
3698
|
+
"type": {
|
|
3699
|
+
"text": "void"
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
},
|
|
3703
|
+
{
|
|
3704
|
+
"kind": "field",
|
|
3705
|
+
"name": "userIcon",
|
|
3706
|
+
"type": {
|
|
3707
|
+
"text": "string | undefined"
|
|
3708
|
+
},
|
|
3709
|
+
"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."
|
|
3710
|
+
},
|
|
3711
|
+
{
|
|
3712
|
+
"kind": "field",
|
|
3713
|
+
"name": "userIconSafe",
|
|
3714
|
+
"type": {
|
|
3715
|
+
"text": "string"
|
|
3716
|
+
},
|
|
3717
|
+
"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>`",
|
|
3718
|
+
"description": "Sanitized `userIcon`, or the default person mark; bound into the template. @internal"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"kind": "method",
|
|
3722
|
+
"name": "userIconChanged",
|
|
3723
|
+
"privacy": "protected",
|
|
3724
|
+
"return": {
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "void"
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"kind": "field",
|
|
3732
|
+
"name": "placeholder",
|
|
3733
|
+
"type": {
|
|
3734
|
+
"text": "string"
|
|
3735
|
+
},
|
|
3736
|
+
"default": "'Message assistant...'"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"kind": "field",
|
|
3740
|
+
"name": "popoutMode",
|
|
3741
|
+
"type": {
|
|
3742
|
+
"text": "PopoutMode | undefined"
|
|
3743
|
+
},
|
|
3744
|
+
"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)."
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
"kind": "field",
|
|
3748
|
+
"name": "agents",
|
|
3749
|
+
"type": {
|
|
3750
|
+
"text": "AgentConfig[] | undefined"
|
|
3751
|
+
},
|
|
3752
|
+
"description": "Agent configuration. Each user message is routed to the appropriate specialist\nbased on intent. With a single entry, orchestration is skipped."
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"kind": "field",
|
|
3756
|
+
"name": "chatConfig",
|
|
3757
|
+
"type": {
|
|
3758
|
+
"text": "ChatConfig"
|
|
3759
|
+
},
|
|
3760
|
+
"default": "{}"
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"kind": "field",
|
|
3764
|
+
"name": "persistence",
|
|
3765
|
+
"type": {
|
|
3766
|
+
"text": "SessionPersistenceConfig"
|
|
3767
|
+
},
|
|
3768
|
+
"default": "{}",
|
|
3769
|
+
"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`."
|
|
3770
|
+
},
|
|
3771
|
+
{
|
|
3772
|
+
"kind": "field",
|
|
3773
|
+
"name": "aiServiceErrorMessages",
|
|
3774
|
+
"type": {
|
|
3775
|
+
"text": "Partial<Record<AIServiceRefusal, string>> | undefined"
|
|
3776
|
+
},
|
|
3777
|
+
"description": "Replaces the transcript sentence shown when the app's AI service refuses a request with one of\n`AI_SERVICE_ERROR_CODES`, or its router with one of `AI_SERVICE_ACCESS_REFUSALS` (GENC-1611), per\ncode; a code with no entry keeps\n`DEFAULT_AI_SERVICE_ERROR_MESSAGES`. Read when the driver is created, so set it before the\nelement connects."
|
|
3778
|
+
},
|
|
3779
|
+
{
|
|
3780
|
+
"kind": "field",
|
|
3781
|
+
"name": "agentPicker",
|
|
3782
|
+
"type": {
|
|
3783
|
+
"text": "AgentPickerMode"
|
|
3784
|
+
},
|
|
3785
|
+
"description": "Resolved agent picker mode from `chatConfig.picker.mode`. Defaults to\n`'disabled'`.",
|
|
3786
|
+
"readonly": true
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"kind": "field",
|
|
3790
|
+
"name": "composerHiddenByConfig",
|
|
3791
|
+
"type": {
|
|
3792
|
+
"text": "boolean"
|
|
3793
|
+
},
|
|
3794
|
+
"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.",
|
|
3795
|
+
"readonly": true
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "field",
|
|
3799
|
+
"name": "debugStateFactory",
|
|
3800
|
+
"type": {
|
|
3801
|
+
"text": "() => unknown | undefined"
|
|
3802
|
+
}
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"kind": "field",
|
|
3806
|
+
"name": "debugRedux",
|
|
3807
|
+
"type": {
|
|
3808
|
+
"text": "boolean"
|
|
3809
|
+
},
|
|
3810
|
+
"default": "false",
|
|
3811
|
+
"description": "When set, enables Redux DevTools for this instance's session store."
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "field",
|
|
3815
|
+
"name": "_sessionRef",
|
|
3816
|
+
"type": {
|
|
3817
|
+
"text": "SessionStoreReturn | undefined"
|
|
3818
|
+
},
|
|
3819
|
+
"privacy": "private",
|
|
3820
|
+
"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.)"
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"kind": "field",
|
|
3824
|
+
"name": "_gateContextTokens",
|
|
3825
|
+
"type": {
|
|
3826
|
+
"text": "number | undefined"
|
|
3827
|
+
},
|
|
3828
|
+
"privacy": "private",
|
|
3829
|
+
"description": "FoundationAiAssistant.contextTokens as of the last moment no turn was\nrunning — the figure FoundationAiAssistant.contextGate is judged\nagainst (GENC-1582).\n\n**Why the gate reads a held figure and the gauge does not.** They answer\ndifferent questions. The gauge is a meter: \"how much context is in play right\nnow\", and a build that momentarily fills 900k of a 1M window should say so.\nThe gate answers \"may the next turn START\", which is only meaningful when no\nturn is running — the composer is disabled by `busy` throughout one anyway, so\na warning raised mid-turn is unactionable by construction.\n\nReading the live figure meant the pill went amber part-way through every large\nbuild and cleared itself at the end, because a `condenseWhen` agent's context\npeaks mid-turn and is shed before the turn finishes. A signal that fires and\nwithdraws on its own each time teaches people to ignore it.\n\n**Held, not latched.** The distinction matters, because `contextGate` is\ndocumented as derived-never-latched and the reason is a real dead end: a figure\npinned to a conversation that has since shrunk blocks the user out of the very\nactions that would fix it. This holds only for the duration of a turn and is\nrefreshed the moment one settles, so no shrink can outlive it — a compaction\nruns under `compacting` rather than `busy` and therefore updates it as it goes,\nand Clear drops it outright. What it costs is one turn of lag: a turn that\nballoons the resting size does not warn until it ends, which is the same trade\nthe flow-owner soften already makes deliberately.\n\nUnset falls back to the live figure, which is correct wherever there is no held\nvalue yet — first paint, and a remount, both of which happen at rest."
|
|
3830
|
+
},
|
|
3831
|
+
{
|
|
3832
|
+
"kind": "field",
|
|
3833
|
+
"name": "messages",
|
|
3834
|
+
"type": {
|
|
3835
|
+
"text": "ChatMessage[]"
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
{
|
|
3839
|
+
"kind": "field",
|
|
3840
|
+
"name": "state",
|
|
3841
|
+
"type": {
|
|
3842
|
+
"text": "AiAssistantState"
|
|
3843
|
+
}
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
"kind": "method",
|
|
3847
|
+
"name": "isBusyState",
|
|
3584
3848
|
"privacy": "private",
|
|
3585
3849
|
"return": {
|
|
3586
3850
|
"type": {
|
|
@@ -6164,664 +6428,110 @@
|
|
|
6164
6428
|
"type": {
|
|
6165
6429
|
"text": "string"
|
|
6166
6430
|
},
|
|
6167
|
-
"description": "must match the id the failure was reported under."
|
|
6168
|
-
}
|
|
6169
|
-
],
|
|
6170
|
-
"description": "Withdraw one reporter's warning — its save landed, or the host's own store recovered.\n\nOnly `source`'s entry is removed, so a session recovery cannot cancel a host's still-live\nproject failure (GENC-1511, caught in review; see `brokenSources`). The modal closes\nonly once nothing is broken; while anything remains, the copy falls back to the newest\nsurvivor."
|
|
6171
|
-
},
|
|
6172
|
-
{
|
|
6173
|
-
"kind": "method",
|
|
6174
|
-
"name": "syncPersistenceBrokenCopy",
|
|
6175
|
-
"privacy": "private",
|
|
6176
|
-
"return": {
|
|
6177
|
-
"type": {
|
|
6178
|
-
"text": "void"
|
|
6179
|
-
}
|
|
6180
|
-
},
|
|
6181
|
-
"description": "Recompute the derived flag and the displayed copy from `brokenSources`.\n\nCopy order is last-in-wins, which is both deterministic (`Map` iterates in insertion order)\nand the behaviour a reader expects — the most recent failure is the one described. Setting\n`persistenceBroken` last means the modal is only ever shown or closed once the copy backing\nit is already correct."
|
|
6182
|
-
},
|
|
6183
|
-
{
|
|
6184
|
-
"kind": "method",
|
|
6185
|
-
"name": "onPersistenceBroken",
|
|
6186
|
-
"privacy": "private",
|
|
6187
|
-
"return": {
|
|
6188
|
-
"type": {
|
|
6189
|
-
"text": "void"
|
|
6190
|
-
}
|
|
6191
|
-
},
|
|
6192
|
-
"parameters": [
|
|
6193
|
-
{
|
|
6194
|
-
"name": "d",
|
|
6195
|
-
"type": {
|
|
6196
|
-
"text": "{\n unsavedMessages: number;\n lastSavedAt?: string;\n reason: string;\n }"
|
|
6197
|
-
}
|
|
6198
|
-
}
|
|
6199
|
-
],
|
|
6200
|
-
"description": "This element's own persister said the session snapshot is not landing (GENC-1511)."
|
|
6201
|
-
},
|
|
6202
|
-
{
|
|
6203
|
-
"kind": "method",
|
|
6204
|
-
"name": "onPersistenceRecovered",
|
|
6205
|
-
"privacy": "private",
|
|
6206
|
-
"return": {
|
|
6207
|
-
"type": {
|
|
6208
|
-
"text": "void"
|
|
6209
|
-
}
|
|
6210
|
-
},
|
|
6211
|
-
"description": "A session save landed after a broken episode — withdraw OUR warning only (GENC-1511).\n\nThe explicit source is the whole point: a host's project store may still be failing, and\nbefore this was per-source a session recovery closed that modal too."
|
|
6212
|
-
},
|
|
6213
|
-
{
|
|
6214
|
-
"kind": "method",
|
|
6215
|
-
"name": "reloadForPersistence",
|
|
6216
|
-
"return": {
|
|
6217
|
-
"type": {
|
|
6218
|
-
"text": "void"
|
|
6219
|
-
}
|
|
6220
|
-
},
|
|
6221
|
-
"description": "The modal's only action. A reload re-reads the stored snapshot, which is plain data parsed\nfrom the server, so it also clears the serialisation fault that is the most likely cause."
|
|
6222
|
-
},
|
|
6223
|
-
{
|
|
6224
|
-
"kind": "method",
|
|
6225
|
-
"name": "initPersistenceForNewStore",
|
|
6226
|
-
"privacy": "private",
|
|
6227
|
-
"return": {
|
|
6228
|
-
"type": {
|
|
6229
|
-
"text": "Promise<void>"
|
|
6230
|
-
}
|
|
6231
|
-
},
|
|
6232
|
-
"parameters": [
|
|
6233
|
-
{
|
|
6234
|
-
"name": "key",
|
|
6235
|
-
"type": {
|
|
6236
|
-
"text": "string"
|
|
6237
|
-
}
|
|
6238
|
-
}
|
|
6239
|
-
],
|
|
6240
|
-
"description": "First-load persistence init for a freshly created store (GENC-1351). Restores\nthe user's remembered persistence-toggle choice — kept independently of the\nsession snapshot so it survives a clear; the host-configured `enabled` is only\nthe default for a first-ever load — then auto-restores the session when\npersistence is (now) on."
|
|
6241
|
-
},
|
|
6242
|
-
{
|
|
6243
|
-
"kind": "method",
|
|
6244
|
-
"name": "triggerFileInput",
|
|
6245
|
-
"return": {
|
|
6246
|
-
"type": {
|
|
6247
|
-
"text": "void"
|
|
6248
|
-
}
|
|
6249
|
-
}
|
|
6250
|
-
},
|
|
6251
|
-
{
|
|
6252
|
-
"kind": "method",
|
|
6253
|
-
"name": "handleFileSelect",
|
|
6254
|
-
"return": {
|
|
6255
|
-
"type": {
|
|
6256
|
-
"text": "void"
|
|
6257
|
-
}
|
|
6258
|
-
},
|
|
6259
|
-
"parameters": [
|
|
6260
|
-
{
|
|
6261
|
-
"name": "e",
|
|
6262
|
-
"type": {
|
|
6263
|
-
"text": "Event"
|
|
6264
|
-
}
|
|
6265
|
-
}
|
|
6266
|
-
]
|
|
6267
|
-
},
|
|
6268
|
-
{
|
|
6269
|
-
"kind": "method",
|
|
6270
|
-
"name": "removeAttachment",
|
|
6271
|
-
"return": {
|
|
6272
|
-
"type": {
|
|
6273
|
-
"text": "void"
|
|
6274
|
-
}
|
|
6275
|
-
},
|
|
6276
|
-
"parameters": [
|
|
6277
|
-
{
|
|
6278
|
-
"name": "attachment",
|
|
6279
|
-
"type": {
|
|
6280
|
-
"text": "ChatAttachment"
|
|
6281
|
-
}
|
|
6282
|
-
}
|
|
6283
|
-
]
|
|
6284
|
-
},
|
|
6285
|
-
{
|
|
6286
|
-
"kind": "method",
|
|
6287
|
-
"name": "removeAttachmentError",
|
|
6288
|
-
"return": {
|
|
6289
|
-
"type": {
|
|
6290
|
-
"text": "void"
|
|
6291
|
-
}
|
|
6292
|
-
},
|
|
6293
|
-
"parameters": [
|
|
6294
|
-
{
|
|
6295
|
-
"name": "message",
|
|
6296
|
-
"type": {
|
|
6297
|
-
"text": "string"
|
|
6298
|
-
}
|
|
6299
|
-
}
|
|
6300
|
-
]
|
|
6301
|
-
},
|
|
6302
|
-
{
|
|
6303
|
-
"kind": "method",
|
|
6304
|
-
"name": "handleSendClick"
|
|
6305
|
-
},
|
|
6306
|
-
{
|
|
6307
|
-
"kind": "method",
|
|
6308
|
-
"name": "handleStopClick",
|
|
6309
|
-
"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."
|
|
6310
|
-
},
|
|
6311
|
-
{
|
|
6312
|
-
"kind": "method",
|
|
6313
|
-
"name": "handleSuggestionClick",
|
|
6314
|
-
"parameters": [
|
|
6315
|
-
{
|
|
6316
|
-
"name": "suggestion",
|
|
6317
|
-
"type": {
|
|
6318
|
-
"text": "string"
|
|
6319
|
-
}
|
|
6320
|
-
}
|
|
6321
|
-
]
|
|
6322
|
-
},
|
|
6323
|
-
{
|
|
6324
|
-
"kind": "method",
|
|
6325
|
-
"name": "submitMessage",
|
|
6326
|
-
"return": {
|
|
6327
|
-
"type": {
|
|
6328
|
-
"text": "Promise<SubmitMessageResult>"
|
|
6329
|
-
}
|
|
6330
|
-
},
|
|
6331
|
-
"parameters": [
|
|
6332
|
-
{
|
|
6333
|
-
"name": "input",
|
|
6334
|
-
"type": {
|
|
6335
|
-
"text": "{ text?: string; files?: File[] }"
|
|
6336
|
-
}
|
|
6337
|
-
}
|
|
6338
|
-
],
|
|
6339
|
-
"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."
|
|
6340
|
-
},
|
|
6341
|
-
{
|
|
6342
|
-
"kind": "method",
|
|
6343
|
-
"name": "fetchSuggestions",
|
|
6344
|
-
"privacy": "private"
|
|
6345
|
-
},
|
|
6346
|
-
{
|
|
6347
|
-
"kind": "field",
|
|
6348
|
-
"name": "_pendingSendPrompt",
|
|
6349
|
-
"type": {
|
|
6350
|
-
"text": "string | undefined"
|
|
6351
|
-
},
|
|
6352
|
-
"privacy": "private",
|
|
6353
|
-
"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)"
|
|
6354
|
-
},
|
|
6355
|
-
{
|
|
6356
|
-
"kind": "method",
|
|
6357
|
-
"name": "send",
|
|
6358
|
-
"privacy": "private"
|
|
6359
|
-
},
|
|
6360
|
-
{
|
|
6361
|
-
"kind": "method",
|
|
6362
|
-
"name": "onChatHeaderMouseDown",
|
|
6363
|
-
"parameters": [
|
|
6364
|
-
{
|
|
6365
|
-
"name": "e",
|
|
6366
|
-
"type": {
|
|
6367
|
-
"text": "MouseEvent"
|
|
6368
|
-
}
|
|
6369
|
-
}
|
|
6370
|
-
]
|
|
6371
|
-
},
|
|
6372
|
-
{
|
|
6373
|
-
"kind": "method",
|
|
6374
|
-
"name": "handleInteractionCompleted",
|
|
6375
|
-
"parameters": [
|
|
6376
|
-
{
|
|
6377
|
-
"name": "e",
|
|
6378
|
-
"type": {
|
|
6379
|
-
"text": "Event"
|
|
6380
|
-
}
|
|
6381
|
-
}
|
|
6382
|
-
]
|
|
6383
|
-
},
|
|
6384
|
-
{
|
|
6385
|
-
"kind": "method",
|
|
6386
|
-
"name": "handleInteractionCost",
|
|
6387
|
-
"parameters": [
|
|
6388
|
-
{
|
|
6389
|
-
"name": "e",
|
|
6390
|
-
"type": {
|
|
6391
|
-
"text": "Event"
|
|
6392
|
-
}
|
|
6393
|
-
}
|
|
6394
|
-
],
|
|
6395
|
-
"description": "A widget reporting spend it incurred AFTER resolving.\n\nNote what this deliberately does NOT do: no `startLoadingTimer()`. This is bookkeeping about a\nturn that already finished, so it must be invisible — showing a spinner would tell the user the\nassistant is working when nothing is pending."
|
|
6396
|
-
},
|
|
6397
|
-
{
|
|
6398
|
-
"kind": "field",
|
|
6399
|
-
"name": "stopButtonVisible",
|
|
6400
|
-
"type": {
|
|
6401
|
-
"text": "boolean"
|
|
6402
|
-
},
|
|
6403
|
-
"description": "Whether the Stop control is showing.\n\nWhile a turn runs Stop REPLACES Send rather than sitting beside it: the two\nare mutually exclusive actions, and a disabled Send next to a live Stop just\ngives the eye a dead control to skip past. Reads `busy`, so `cancelling`\nkeeps it up (in its \"Stopping…\" state) until the turn actually winds down.",
|
|
6404
|
-
"readonly": true
|
|
6405
|
-
},
|
|
6406
|
-
{
|
|
6407
|
-
"kind": "field",
|
|
6408
|
-
"name": "sendButtonVisible",
|
|
6409
|
-
"type": {
|
|
6410
|
-
"text": "boolean"
|
|
6411
|
-
},
|
|
6412
|
-
"description": "Whether Send is rendered at all. Hidden exactly when Stop has taken its\nplace — so a host that suppressed Stop via `hideStopButton` keeps Send\nthroughout, disabled for the duration, and the slot is never left empty\nmid-turn.",
|
|
6413
|
-
"readonly": true
|
|
6414
|
-
},
|
|
6415
|
-
{
|
|
6416
|
-
"kind": "field",
|
|
6417
|
-
"name": "isComposerResizable",
|
|
6418
|
-
"type": {
|
|
6419
|
-
"text": "boolean"
|
|
6420
|
-
},
|
|
6421
|
-
"description": "Whether the message input shows a drag handle to resize its height.",
|
|
6422
|
-
"readonly": true
|
|
6423
|
-
},
|
|
6424
|
-
{
|
|
6425
|
-
"kind": "field",
|
|
6426
|
-
"name": "composerHeightStyle",
|
|
6427
|
-
"type": {
|
|
6428
|
-
"text": "string"
|
|
6429
|
-
},
|
|
6430
|
-
"description": "Inline style carrying the dragged height into `--composer-height`.",
|
|
6431
|
-
"readonly": true
|
|
6432
|
-
},
|
|
6433
|
-
{
|
|
6434
|
-
"kind": "method",
|
|
6435
|
-
"name": "onComposerResizeStart",
|
|
6436
|
-
"return": {
|
|
6437
|
-
"type": {
|
|
6438
|
-
"text": "void"
|
|
6439
|
-
}
|
|
6440
|
-
},
|
|
6441
|
-
"parameters": [
|
|
6442
|
-
{
|
|
6443
|
-
"name": "e",
|
|
6444
|
-
"type": {
|
|
6445
|
-
"text": "PointerEvent"
|
|
6446
|
-
}
|
|
6447
|
-
}
|
|
6448
|
-
]
|
|
6449
|
-
},
|
|
6450
|
-
{
|
|
6451
|
-
"kind": "method",
|
|
6452
|
-
"name": "onComposerResizeMove",
|
|
6453
|
-
"return": {
|
|
6454
|
-
"type": {
|
|
6455
|
-
"text": "void"
|
|
6456
|
-
}
|
|
6457
|
-
},
|
|
6458
|
-
"parameters": [
|
|
6459
|
-
{
|
|
6460
|
-
"name": "e",
|
|
6461
|
-
"type": {
|
|
6462
|
-
"text": "PointerEvent"
|
|
6463
|
-
}
|
|
6464
|
-
}
|
|
6465
|
-
]
|
|
6466
|
-
},
|
|
6467
|
-
{
|
|
6468
|
-
"kind": "method",
|
|
6469
|
-
"name": "onComposerResizeEnd",
|
|
6470
|
-
"return": {
|
|
6471
|
-
"type": {
|
|
6472
|
-
"text": "void"
|
|
6473
|
-
}
|
|
6474
|
-
},
|
|
6475
|
-
"parameters": [
|
|
6476
|
-
{
|
|
6477
|
-
"name": "e",
|
|
6478
|
-
"type": {
|
|
6479
|
-
"text": "PointerEvent"
|
|
6480
|
-
}
|
|
6481
|
-
}
|
|
6482
|
-
]
|
|
6483
|
-
}
|
|
6484
|
-
],
|
|
6485
|
-
"events": [
|
|
6486
|
-
{
|
|
6487
|
-
"name": "budget-refresh-requested",
|
|
6488
|
-
"type": {
|
|
6489
|
-
"text": "CustomEvent"
|
|
6490
|
-
}
|
|
6491
|
-
},
|
|
6492
|
-
{
|
|
6493
|
-
"type": {
|
|
6494
|
-
"text": "CustomEvent"
|
|
6495
|
-
}
|
|
6496
|
-
},
|
|
6497
|
-
{
|
|
6498
|
-
"description": "Fired when the user presses the chat header in `popout-mode=\"expand\"` (for drag-to-popout hosts). Bubbles and composed. detail: `ChatHeaderMouseDownDetail`",
|
|
6499
|
-
"name": "chat-header-mousedown"
|
|
6500
|
-
},
|
|
6501
|
-
{
|
|
6502
|
-
"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`",
|
|
6503
|
-
"name": "session-cleared"
|
|
6504
|
-
}
|
|
6505
|
-
],
|
|
6506
|
-
"attributes": [
|
|
6507
|
-
{
|
|
6508
|
-
"name": "header-title",
|
|
6509
|
-
"type": {
|
|
6510
|
-
"text": "string"
|
|
6511
|
-
},
|
|
6512
|
-
"default": "'Genesis Assistant'",
|
|
6513
|
-
"fieldName": "headerTitle"
|
|
6514
|
-
},
|
|
6515
|
-
{
|
|
6516
|
-
"name": "session-key",
|
|
6517
|
-
"type": {
|
|
6518
|
-
"text": "string | undefined"
|
|
6519
|
-
},
|
|
6520
|
-
"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.",
|
|
6521
|
-
"fieldName": "sessionKey"
|
|
6522
|
-
},
|
|
6523
|
-
{
|
|
6524
|
-
"name": "image-src",
|
|
6525
|
-
"type": {
|
|
6526
|
-
"text": "string | undefined"
|
|
6527
|
-
},
|
|
6528
|
-
"fieldName": "imageSrc"
|
|
6529
|
-
},
|
|
6530
|
-
{
|
|
6531
|
-
"name": "user-image-src",
|
|
6532
|
-
"type": {
|
|
6533
|
-
"text": "string | undefined"
|
|
6534
|
-
},
|
|
6535
|
-
"fieldName": "userImageSrc"
|
|
6536
|
-
},
|
|
6537
|
-
{
|
|
6538
|
-
"name": "placeholder",
|
|
6539
|
-
"type": {
|
|
6540
|
-
"text": "string"
|
|
6541
|
-
},
|
|
6542
|
-
"default": "'Message assistant...'",
|
|
6543
|
-
"fieldName": "placeholder"
|
|
6544
|
-
},
|
|
6545
|
-
{
|
|
6546
|
-
"name": "popout-mode",
|
|
6547
|
-
"type": {
|
|
6548
|
-
"text": "PopoutMode | undefined"
|
|
6549
|
-
},
|
|
6550
|
-
"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).",
|
|
6551
|
-
"fieldName": "popoutMode"
|
|
6552
|
-
},
|
|
6553
|
-
{
|
|
6554
|
-
"name": "debug-redux",
|
|
6555
|
-
"type": {
|
|
6556
|
-
"text": "boolean"
|
|
6557
|
-
},
|
|
6558
|
-
"default": "false",
|
|
6559
|
-
"description": "When set, enables Redux DevTools for this instance's session store.",
|
|
6560
|
-
"fieldName": "debugRedux"
|
|
6561
|
-
}
|
|
6562
|
-
],
|
|
6563
|
-
"superclass": {
|
|
6564
|
-
"name": "GenesisElement",
|
|
6565
|
-
"package": "@genesislcap/web-core"
|
|
6566
|
-
},
|
|
6567
|
-
"tagName": "foundation-ai-assistant",
|
|
6568
|
-
"customElement": true
|
|
6569
|
-
}
|
|
6570
|
-
],
|
|
6571
|
-
"exports": [
|
|
6572
|
-
{
|
|
6573
|
-
"kind": "js",
|
|
6574
|
-
"name": "sparkleIconSvg",
|
|
6575
|
-
"declaration": {
|
|
6576
|
-
"name": "sparkleIconSvg",
|
|
6577
|
-
"module": "src/main/main.ts"
|
|
6578
|
-
}
|
|
6579
|
-
},
|
|
6580
|
-
{
|
|
6581
|
-
"kind": "js",
|
|
6582
|
-
"name": "userIconSvg",
|
|
6583
|
-
"declaration": {
|
|
6584
|
-
"name": "userIconSvg",
|
|
6585
|
-
"module": "src/main/main.ts"
|
|
6586
|
-
}
|
|
6587
|
-
},
|
|
6588
|
-
{
|
|
6589
|
-
"kind": "js",
|
|
6590
|
-
"name": "genesisIconSvg",
|
|
6591
|
-
"declaration": {
|
|
6592
|
-
"name": "genesisIconSvg",
|
|
6593
|
-
"module": "src/main/main.ts"
|
|
6594
|
-
}
|
|
6595
|
-
},
|
|
6596
|
-
{
|
|
6597
|
-
"kind": "js",
|
|
6598
|
-
"name": "budgetPercentOf",
|
|
6599
|
-
"declaration": {
|
|
6600
|
-
"name": "budgetPercentOf",
|
|
6601
|
-
"module": "./budget-controller"
|
|
6602
|
-
}
|
|
6603
|
-
},
|
|
6604
|
-
{
|
|
6605
|
-
"kind": "js",
|
|
6606
|
-
"name": "formatBlockedReason",
|
|
6607
|
-
"declaration": {
|
|
6608
|
-
"name": "formatBlockedReason",
|
|
6609
|
-
"module": "./budget-controller"
|
|
6610
|
-
}
|
|
6611
|
-
},
|
|
6612
|
-
{
|
|
6613
|
-
"kind": "js",
|
|
6614
|
-
"name": "FoundationAiAssistant",
|
|
6615
|
-
"declaration": {
|
|
6616
|
-
"name": "FoundationAiAssistant",
|
|
6617
|
-
"module": "src/main/main.ts"
|
|
6618
|
-
}
|
|
6619
|
-
},
|
|
6620
|
-
{
|
|
6621
|
-
"kind": "custom-element-definition",
|
|
6622
|
-
"name": "foundation-ai-assistant",
|
|
6623
|
-
"declaration": {
|
|
6624
|
-
"name": "FoundationAiAssistant",
|
|
6625
|
-
"module": "src/main/main.ts"
|
|
6626
|
-
}
|
|
6627
|
-
}
|
|
6628
|
-
]
|
|
6629
|
-
},
|
|
6630
|
-
{
|
|
6631
|
-
"kind": "javascript-module",
|
|
6632
|
-
"path": "src/main/main.types.ts",
|
|
6633
|
-
"declarations": [
|
|
6634
|
-
{
|
|
6635
|
-
"kind": "variable",
|
|
6636
|
-
"name": "AiAssistantEvent",
|
|
6637
|
-
"type": {
|
|
6638
|
-
"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}"
|
|
6639
|
-
},
|
|
6640
|
-
"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}",
|
|
6641
|
-
"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."
|
|
6642
|
-
},
|
|
6643
|
-
{
|
|
6644
|
-
"kind": "variable",
|
|
6645
|
-
"name": "ANIMATION_DEFS",
|
|
6646
|
-
"type": {
|
|
6647
|
-
"text": "object"
|
|
6648
|
-
},
|
|
6649
|
-
"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}",
|
|
6650
|
-
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
6651
|
-
},
|
|
6652
|
-
{
|
|
6653
|
-
"kind": "variable",
|
|
6654
|
-
"name": "satisfies",
|
|
6655
|
-
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
6656
|
-
},
|
|
6657
|
-
{
|
|
6658
|
-
"kind": "variable",
|
|
6659
|
-
"name": "Record",
|
|
6660
|
-
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
6661
|
-
}
|
|
6662
|
-
],
|
|
6663
|
-
"exports": [
|
|
6664
|
-
{
|
|
6665
|
-
"kind": "js",
|
|
6666
|
-
"name": "AgentPickerMode",
|
|
6667
|
-
"declaration": {
|
|
6668
|
-
"name": "AgentPickerMode",
|
|
6669
|
-
"package": "@genesislcap/foundation-ai"
|
|
6670
|
-
}
|
|
6671
|
-
},
|
|
6672
|
-
{
|
|
6673
|
-
"kind": "js",
|
|
6674
|
-
"name": "AiAssistantEvent",
|
|
6675
|
-
"declaration": {
|
|
6676
|
-
"name": "AiAssistantEvent",
|
|
6677
|
-
"module": "src/main/main.types.ts"
|
|
6678
|
-
}
|
|
6679
|
-
},
|
|
6680
|
-
{
|
|
6681
|
-
"kind": "js",
|
|
6682
|
-
"name": "ANIMATION_DEFS",
|
|
6683
|
-
"declaration": {
|
|
6684
|
-
"name": "ANIMATION_DEFS",
|
|
6685
|
-
"module": "src/main/main.types.ts"
|
|
6686
|
-
}
|
|
6687
|
-
},
|
|
6688
|
-
{
|
|
6689
|
-
"kind": "js",
|
|
6690
|
-
"name": "satisfies",
|
|
6691
|
-
"declaration": {
|
|
6692
|
-
"name": "satisfies",
|
|
6693
|
-
"module": "src/main/main.types.ts"
|
|
6694
|
-
}
|
|
6695
|
-
},
|
|
6696
|
-
{
|
|
6697
|
-
"kind": "js",
|
|
6698
|
-
"name": "Record",
|
|
6699
|
-
"declaration": {
|
|
6700
|
-
"name": "Record",
|
|
6701
|
-
"module": "src/main/main.types.ts"
|
|
6702
|
-
}
|
|
6703
|
-
}
|
|
6704
|
-
]
|
|
6705
|
-
},
|
|
6706
|
-
{
|
|
6707
|
-
"kind": "javascript-module",
|
|
6708
|
-
"path": "src/main/meta-snapshot.ts",
|
|
6709
|
-
"declarations": [],
|
|
6710
|
-
"exports": []
|
|
6711
|
-
},
|
|
6712
|
-
{
|
|
6713
|
-
"kind": "javascript-module",
|
|
6714
|
-
"path": "src/provider/ai-provider-switcher.ts",
|
|
6715
|
-
"declarations": [
|
|
6716
|
-
{
|
|
6717
|
-
"kind": "variable",
|
|
6718
|
-
"name": "AIProviderSwitcher",
|
|
6719
|
-
"description": "The DI token for the (AIProviderSwitcher:interface). Resolves a noop until the app\nregisters one."
|
|
6720
|
-
}
|
|
6721
|
-
],
|
|
6722
|
-
"exports": [
|
|
6723
|
-
{
|
|
6724
|
-
"kind": "js",
|
|
6725
|
-
"name": "AIProviderSwitcher",
|
|
6726
|
-
"declaration": {
|
|
6727
|
-
"name": "AIProviderSwitcher",
|
|
6728
|
-
"module": "src/provider/ai-provider-switcher.ts"
|
|
6729
|
-
}
|
|
6730
|
-
}
|
|
6731
|
-
]
|
|
6732
|
-
},
|
|
6733
|
-
{
|
|
6734
|
-
"kind": "javascript-module",
|
|
6735
|
-
"path": "src/provider/assistant-app-settings.ts",
|
|
6736
|
-
"declarations": [
|
|
6737
|
-
{
|
|
6738
|
-
"kind": "variable",
|
|
6739
|
-
"name": "AssistantAppSettingsProvider",
|
|
6740
|
-
"description": "The DI token for the (AssistantAppSettingsProvider:interface). Resolves a noop\nuntil the host registers one."
|
|
6741
|
-
}
|
|
6742
|
-
],
|
|
6743
|
-
"exports": [
|
|
6744
|
-
{
|
|
6745
|
-
"kind": "js",
|
|
6746
|
-
"name": "AssistantAppSettingsProvider",
|
|
6747
|
-
"declaration": {
|
|
6748
|
-
"name": "AssistantAppSettingsProvider",
|
|
6749
|
-
"module": "src/provider/assistant-app-settings.ts"
|
|
6750
|
-
}
|
|
6751
|
-
}
|
|
6752
|
-
]
|
|
6753
|
-
},
|
|
6754
|
-
{
|
|
6755
|
-
"kind": "javascript-module",
|
|
6756
|
-
"path": "src/provider/tiered-provider-switcher.ts",
|
|
6757
|
-
"declarations": [
|
|
6758
|
-
{
|
|
6759
|
-
"kind": "class",
|
|
6760
|
-
"description": "Which cloud vendor backs the tier-shaped provider registry, plus the means to move it at\nruntime (GENC-1610).",
|
|
6761
|
-
"name": "TieredAIProviderSwitcher",
|
|
6762
|
-
"members": [
|
|
6431
|
+
"description": "must match the id the failure was reported under."
|
|
6432
|
+
}
|
|
6433
|
+
],
|
|
6434
|
+
"description": "Withdraw one reporter's warning — its save landed, or the host's own store recovered.\n\nOnly `source`'s entry is removed, so a session recovery cannot cancel a host's still-live\nproject failure (GENC-1511, caught in review; see `brokenSources`). The modal closes\nonly once nothing is broken; while anything remains, the copy falls back to the newest\nsurvivor."
|
|
6435
|
+
},
|
|
6763
6436
|
{
|
|
6764
|
-
"kind": "
|
|
6765
|
-
"name": "
|
|
6766
|
-
"
|
|
6767
|
-
|
|
6437
|
+
"kind": "method",
|
|
6438
|
+
"name": "syncPersistenceBrokenCopy",
|
|
6439
|
+
"privacy": "private",
|
|
6440
|
+
"return": {
|
|
6441
|
+
"type": {
|
|
6442
|
+
"text": "void"
|
|
6443
|
+
}
|
|
6768
6444
|
},
|
|
6769
|
-
"
|
|
6445
|
+
"description": "Recompute the derived flag and the displayed copy from `brokenSources`.\n\nCopy order is last-in-wins, which is both deterministic (`Map` iterates in insertion order)\nand the behaviour a reader expects — the most recent failure is the one described. Setting\n`persistenceBroken` last means the modal is only ever shown or closed once the copy backing\nit is already correct."
|
|
6770
6446
|
},
|
|
6771
6447
|
{
|
|
6772
|
-
"kind": "
|
|
6773
|
-
"name": "
|
|
6774
|
-
"type": {
|
|
6775
|
-
"text": "TieredAIProviderSwitcherOptions"
|
|
6776
|
-
},
|
|
6448
|
+
"kind": "method",
|
|
6449
|
+
"name": "onPersistenceBroken",
|
|
6777
6450
|
"privacy": "private",
|
|
6778
|
-
"
|
|
6779
|
-
|
|
6451
|
+
"return": {
|
|
6452
|
+
"type": {
|
|
6453
|
+
"text": "void"
|
|
6454
|
+
}
|
|
6455
|
+
},
|
|
6456
|
+
"parameters": [
|
|
6457
|
+
{
|
|
6458
|
+
"name": "d",
|
|
6459
|
+
"type": {
|
|
6460
|
+
"text": "{\n unsavedMessages: number;\n lastSavedAt?: string;\n reason: string;\n }"
|
|
6461
|
+
}
|
|
6462
|
+
}
|
|
6463
|
+
],
|
|
6464
|
+
"description": "This element's own persister said the session snapshot is not landing (GENC-1511)."
|
|
6780
6465
|
},
|
|
6781
6466
|
{
|
|
6782
|
-
"kind": "
|
|
6783
|
-
"name": "
|
|
6784
|
-
"type": {
|
|
6785
|
-
"text": "AITierId"
|
|
6786
|
-
},
|
|
6467
|
+
"kind": "method",
|
|
6468
|
+
"name": "onPersistenceRecovered",
|
|
6787
6469
|
"privacy": "private",
|
|
6788
|
-
"
|
|
6470
|
+
"return": {
|
|
6471
|
+
"type": {
|
|
6472
|
+
"text": "void"
|
|
6473
|
+
}
|
|
6474
|
+
},
|
|
6475
|
+
"description": "A session save landed after a broken episode — withdraw OUR warning only (GENC-1511).\n\nThe explicit source is the whole point: a host's project store may still be failing, and\nbefore this was per-source a session recovery closed that modal too."
|
|
6789
6476
|
},
|
|
6790
6477
|
{
|
|
6791
|
-
"kind": "
|
|
6792
|
-
"name": "
|
|
6793
|
-
"
|
|
6794
|
-
"
|
|
6478
|
+
"kind": "method",
|
|
6479
|
+
"name": "reloadForPersistence",
|
|
6480
|
+
"return": {
|
|
6481
|
+
"type": {
|
|
6482
|
+
"text": "void"
|
|
6483
|
+
}
|
|
6795
6484
|
},
|
|
6796
|
-
"
|
|
6797
|
-
"readonly": true
|
|
6485
|
+
"description": "The modal's only action. A reload re-reads the stored snapshot, which is plain data parsed\nfrom the server, so it also clears the serialisation fault that is the most likely cause."
|
|
6798
6486
|
},
|
|
6799
6487
|
{
|
|
6800
|
-
"kind": "
|
|
6801
|
-
"name": "
|
|
6488
|
+
"kind": "method",
|
|
6489
|
+
"name": "initPersistenceForNewStore",
|
|
6802
6490
|
"privacy": "private",
|
|
6803
|
-
"
|
|
6804
|
-
|
|
6491
|
+
"return": {
|
|
6492
|
+
"type": {
|
|
6493
|
+
"text": "Promise<void>"
|
|
6494
|
+
}
|
|
6495
|
+
},
|
|
6496
|
+
"parameters": [
|
|
6497
|
+
{
|
|
6498
|
+
"name": "key",
|
|
6499
|
+
"type": {
|
|
6500
|
+
"text": "string"
|
|
6501
|
+
}
|
|
6502
|
+
}
|
|
6503
|
+
],
|
|
6504
|
+
"description": "First-load persistence init for a freshly created store (GENC-1351). Restores\nthe user's remembered persistence-toggle choice — kept independently of the\nsession snapshot so it survives a clear; the host-configured `enabled` is only\nthe default for a first-ever load — then auto-restores the session when\npersistence is (now) on."
|
|
6805
6505
|
},
|
|
6806
6506
|
{
|
|
6807
|
-
"kind": "
|
|
6808
|
-
"name": "
|
|
6809
|
-
"
|
|
6810
|
-
"
|
|
6811
|
-
|
|
6812
|
-
|
|
6507
|
+
"kind": "method",
|
|
6508
|
+
"name": "triggerFileInput",
|
|
6509
|
+
"return": {
|
|
6510
|
+
"type": {
|
|
6511
|
+
"text": "void"
|
|
6512
|
+
}
|
|
6513
|
+
}
|
|
6813
6514
|
},
|
|
6814
6515
|
{
|
|
6815
|
-
"kind": "
|
|
6816
|
-
"name": "
|
|
6817
|
-
"
|
|
6818
|
-
"
|
|
6516
|
+
"kind": "method",
|
|
6517
|
+
"name": "handleFileSelect",
|
|
6518
|
+
"return": {
|
|
6519
|
+
"type": {
|
|
6520
|
+
"text": "void"
|
|
6521
|
+
}
|
|
6819
6522
|
},
|
|
6820
|
-
"
|
|
6523
|
+
"parameters": [
|
|
6524
|
+
{
|
|
6525
|
+
"name": "e",
|
|
6526
|
+
"type": {
|
|
6527
|
+
"text": "Event"
|
|
6528
|
+
}
|
|
6529
|
+
}
|
|
6530
|
+
]
|
|
6821
6531
|
},
|
|
6822
6532
|
{
|
|
6823
6533
|
"kind": "method",
|
|
6824
|
-
"name": "
|
|
6534
|
+
"name": "removeAttachment",
|
|
6825
6535
|
"return": {
|
|
6826
6536
|
"type": {
|
|
6827
6537
|
"text": "void"
|
|
@@ -6829,17 +6539,16 @@
|
|
|
6829
6539
|
},
|
|
6830
6540
|
"parameters": [
|
|
6831
6541
|
{
|
|
6832
|
-
"name": "
|
|
6542
|
+
"name": "attachment",
|
|
6833
6543
|
"type": {
|
|
6834
|
-
"text": "
|
|
6544
|
+
"text": "ChatAttachment"
|
|
6835
6545
|
}
|
|
6836
6546
|
}
|
|
6837
|
-
]
|
|
6838
|
-
"description": "A user-driven switch: move the registry, then tell the app so it can persist the choice.\nAn unknown vendor is ignored."
|
|
6547
|
+
]
|
|
6839
6548
|
},
|
|
6840
6549
|
{
|
|
6841
6550
|
"kind": "method",
|
|
6842
|
-
"name": "
|
|
6551
|
+
"name": "removeAttachmentError",
|
|
6843
6552
|
"return": {
|
|
6844
6553
|
"type": {
|
|
6845
6554
|
"text": "void"
|
|
@@ -6847,35 +6556,147 @@
|
|
|
6847
6556
|
},
|
|
6848
6557
|
"parameters": [
|
|
6849
6558
|
{
|
|
6850
|
-
"name": "
|
|
6559
|
+
"name": "message",
|
|
6851
6560
|
"type": {
|
|
6852
6561
|
"text": "string"
|
|
6853
6562
|
}
|
|
6854
6563
|
}
|
|
6855
|
-
]
|
|
6856
|
-
"description": "Adopt a vendor the app read back from its own store — the same registry move as\nTieredAIProviderSwitcher.switchTo, without the `onSwitch` callback, because this\nvalue came FROM the store and writing it back would be a pointless round-trip on load.\n\nExists because registration has to stay synchronous: an element that connects before the\ntoken is registered caches the platform's no-op fallback, so an app cannot await its\nstored preference before constructing this. It boots on `initialVendor` and adopts the\nstored one a moment later, through a registry that is mutable and held by reference."
|
|
6564
|
+
]
|
|
6857
6565
|
},
|
|
6858
6566
|
{
|
|
6859
6567
|
"kind": "method",
|
|
6860
|
-
"name": "
|
|
6568
|
+
"name": "handleSendClick"
|
|
6569
|
+
},
|
|
6570
|
+
{
|
|
6571
|
+
"kind": "method",
|
|
6572
|
+
"name": "handleStopClick",
|
|
6573
|
+
"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."
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
"kind": "method",
|
|
6577
|
+
"name": "handleSuggestionClick",
|
|
6578
|
+
"parameters": [
|
|
6579
|
+
{
|
|
6580
|
+
"name": "suggestion",
|
|
6581
|
+
"type": {
|
|
6582
|
+
"text": "string"
|
|
6583
|
+
}
|
|
6584
|
+
}
|
|
6585
|
+
]
|
|
6586
|
+
},
|
|
6587
|
+
{
|
|
6588
|
+
"kind": "method",
|
|
6589
|
+
"name": "submitMessage",
|
|
6861
6590
|
"return": {
|
|
6862
6591
|
"type": {
|
|
6863
|
-
"text": "
|
|
6592
|
+
"text": "Promise<SubmitMessageResult>"
|
|
6864
6593
|
}
|
|
6865
6594
|
},
|
|
6866
6595
|
"parameters": [
|
|
6867
6596
|
{
|
|
6868
|
-
"name": "
|
|
6597
|
+
"name": "input",
|
|
6869
6598
|
"type": {
|
|
6870
|
-
"text": "
|
|
6599
|
+
"text": "{ text?: string; files?: File[] }"
|
|
6600
|
+
}
|
|
6601
|
+
}
|
|
6602
|
+
],
|
|
6603
|
+
"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."
|
|
6604
|
+
},
|
|
6605
|
+
{
|
|
6606
|
+
"kind": "method",
|
|
6607
|
+
"name": "fetchSuggestions",
|
|
6608
|
+
"privacy": "private"
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
"kind": "field",
|
|
6612
|
+
"name": "_pendingSendPrompt",
|
|
6613
|
+
"type": {
|
|
6614
|
+
"text": "string | undefined"
|
|
6615
|
+
},
|
|
6616
|
+
"privacy": "private",
|
|
6617
|
+
"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)"
|
|
6618
|
+
},
|
|
6619
|
+
{
|
|
6620
|
+
"kind": "method",
|
|
6621
|
+
"name": "send",
|
|
6622
|
+
"privacy": "private"
|
|
6623
|
+
},
|
|
6624
|
+
{
|
|
6625
|
+
"kind": "method",
|
|
6626
|
+
"name": "onChatHeaderMouseDown",
|
|
6627
|
+
"parameters": [
|
|
6628
|
+
{
|
|
6629
|
+
"name": "e",
|
|
6630
|
+
"type": {
|
|
6631
|
+
"text": "MouseEvent"
|
|
6632
|
+
}
|
|
6633
|
+
}
|
|
6634
|
+
]
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"kind": "method",
|
|
6638
|
+
"name": "handleInteractionCompleted",
|
|
6639
|
+
"parameters": [
|
|
6640
|
+
{
|
|
6641
|
+
"name": "e",
|
|
6642
|
+
"type": {
|
|
6643
|
+
"text": "Event"
|
|
6871
6644
|
}
|
|
6872
6645
|
}
|
|
6873
6646
|
]
|
|
6874
6647
|
},
|
|
6875
6648
|
{
|
|
6876
6649
|
"kind": "method",
|
|
6877
|
-
"name": "
|
|
6878
|
-
"
|
|
6650
|
+
"name": "handleInteractionCost",
|
|
6651
|
+
"parameters": [
|
|
6652
|
+
{
|
|
6653
|
+
"name": "e",
|
|
6654
|
+
"type": {
|
|
6655
|
+
"text": "Event"
|
|
6656
|
+
}
|
|
6657
|
+
}
|
|
6658
|
+
],
|
|
6659
|
+
"description": "A widget reporting spend it incurred AFTER resolving.\n\nNote what this deliberately does NOT do: no `startLoadingTimer()`. This is bookkeeping about a\nturn that already finished, so it must be invisible — showing a spinner would tell the user the\nassistant is working when nothing is pending."
|
|
6660
|
+
},
|
|
6661
|
+
{
|
|
6662
|
+
"kind": "field",
|
|
6663
|
+
"name": "stopButtonVisible",
|
|
6664
|
+
"type": {
|
|
6665
|
+
"text": "boolean"
|
|
6666
|
+
},
|
|
6667
|
+
"description": "Whether the Stop control is showing.\n\nWhile a turn runs Stop REPLACES Send rather than sitting beside it: the two\nare mutually exclusive actions, and a disabled Send next to a live Stop just\ngives the eye a dead control to skip past. Reads `busy`, so `cancelling`\nkeeps it up (in its \"Stopping…\" state) until the turn actually winds down.",
|
|
6668
|
+
"readonly": true
|
|
6669
|
+
},
|
|
6670
|
+
{
|
|
6671
|
+
"kind": "field",
|
|
6672
|
+
"name": "sendButtonVisible",
|
|
6673
|
+
"type": {
|
|
6674
|
+
"text": "boolean"
|
|
6675
|
+
},
|
|
6676
|
+
"description": "Whether Send is rendered at all. Hidden exactly when Stop has taken its\nplace — so a host that suppressed Stop via `hideStopButton` keeps Send\nthroughout, disabled for the duration, and the slot is never left empty\nmid-turn.",
|
|
6677
|
+
"readonly": true
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
"kind": "field",
|
|
6681
|
+
"name": "isComposerResizable",
|
|
6682
|
+
"type": {
|
|
6683
|
+
"text": "boolean"
|
|
6684
|
+
},
|
|
6685
|
+
"description": "Whether the message input shows a drag handle to resize its height.",
|
|
6686
|
+
"readonly": true
|
|
6687
|
+
},
|
|
6688
|
+
{
|
|
6689
|
+
"kind": "field",
|
|
6690
|
+
"name": "composerHeightStyle",
|
|
6691
|
+
"type": {
|
|
6692
|
+
"text": "string"
|
|
6693
|
+
},
|
|
6694
|
+
"description": "Inline style carrying the dragged height into `--composer-height`.",
|
|
6695
|
+
"readonly": true
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"kind": "method",
|
|
6699
|
+
"name": "onComposerResizeStart",
|
|
6879
6700
|
"return": {
|
|
6880
6701
|
"type": {
|
|
6881
6702
|
"text": "void"
|
|
@@ -6883,96 +6704,275 @@
|
|
|
6883
6704
|
},
|
|
6884
6705
|
"parameters": [
|
|
6885
6706
|
{
|
|
6886
|
-
"name": "
|
|
6707
|
+
"name": "e",
|
|
6887
6708
|
"type": {
|
|
6888
|
-
"text": "
|
|
6709
|
+
"text": "PointerEvent"
|
|
6889
6710
|
}
|
|
6890
6711
|
}
|
|
6891
|
-
]
|
|
6892
|
-
"description": "The registry move both entry points share, and nothing else."
|
|
6712
|
+
]
|
|
6893
6713
|
},
|
|
6894
6714
|
{
|
|
6895
6715
|
"kind": "method",
|
|
6896
|
-
"name": "
|
|
6897
|
-
"privacy": "private",
|
|
6716
|
+
"name": "onComposerResizeMove",
|
|
6898
6717
|
"return": {
|
|
6899
6718
|
"type": {
|
|
6900
|
-
"text": "
|
|
6719
|
+
"text": "void"
|
|
6901
6720
|
}
|
|
6902
6721
|
},
|
|
6903
6722
|
"parameters": [
|
|
6904
6723
|
{
|
|
6905
|
-
"name": "
|
|
6724
|
+
"name": "e",
|
|
6906
6725
|
"type": {
|
|
6907
|
-
"text": "
|
|
6726
|
+
"text": "PointerEvent"
|
|
6908
6727
|
}
|
|
6909
6728
|
}
|
|
6910
6729
|
]
|
|
6911
6730
|
},
|
|
6912
6731
|
{
|
|
6913
6732
|
"kind": "method",
|
|
6914
|
-
"name": "
|
|
6915
|
-
"privacy": "private",
|
|
6733
|
+
"name": "onComposerResizeEnd",
|
|
6916
6734
|
"return": {
|
|
6917
6735
|
"type": {
|
|
6918
|
-
"text": "
|
|
6736
|
+
"text": "void"
|
|
6919
6737
|
}
|
|
6920
6738
|
},
|
|
6921
6739
|
"parameters": [
|
|
6922
6740
|
{
|
|
6923
|
-
"name": "
|
|
6741
|
+
"name": "e",
|
|
6924
6742
|
"type": {
|
|
6925
|
-
"text": "
|
|
6743
|
+
"text": "PointerEvent"
|
|
6926
6744
|
}
|
|
6927
6745
|
}
|
|
6928
6746
|
]
|
|
6929
6747
|
}
|
|
6930
|
-
]
|
|
6931
|
-
|
|
6932
|
-
{
|
|
6933
|
-
"kind": "function",
|
|
6934
|
-
"name": "registerTieredAIProviders",
|
|
6935
|
-
"return": {
|
|
6936
|
-
"type": {
|
|
6937
|
-
"text": "TieredAIProviderSwitcher"
|
|
6938
|
-
}
|
|
6939
|
-
},
|
|
6940
|
-
"parameters": [
|
|
6748
|
+
],
|
|
6749
|
+
"events": [
|
|
6941
6750
|
{
|
|
6942
|
-
"name": "
|
|
6751
|
+
"name": "budget-refresh-requested",
|
|
6943
6752
|
"type": {
|
|
6944
|
-
"text": "
|
|
6753
|
+
"text": "CustomEvent"
|
|
6945
6754
|
}
|
|
6946
6755
|
},
|
|
6947
6756
|
{
|
|
6948
|
-
"name": "options",
|
|
6949
6757
|
"type": {
|
|
6950
|
-
"text": "
|
|
6758
|
+
"text": "CustomEvent"
|
|
6951
6759
|
}
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"description": "Fired when the user presses the chat header in `popout-mode=\"expand\"` (for drag-to-popout hosts). Bubbles and composed. detail: `ChatHeaderMouseDownDetail`",
|
|
6763
|
+
"name": "chat-header-mousedown"
|
|
6764
|
+
},
|
|
6765
|
+
{
|
|
6766
|
+
"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`",
|
|
6767
|
+
"name": "session-cleared"
|
|
6952
6768
|
}
|
|
6953
6769
|
],
|
|
6954
|
-
"
|
|
6770
|
+
"attributes": [
|
|
6771
|
+
{
|
|
6772
|
+
"name": "header-title",
|
|
6773
|
+
"type": {
|
|
6774
|
+
"text": "string"
|
|
6775
|
+
},
|
|
6776
|
+
"default": "'Genesis Assistant'",
|
|
6777
|
+
"fieldName": "headerTitle"
|
|
6778
|
+
},
|
|
6779
|
+
{
|
|
6780
|
+
"name": "session-key",
|
|
6781
|
+
"type": {
|
|
6782
|
+
"text": "string | undefined"
|
|
6783
|
+
},
|
|
6784
|
+
"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.",
|
|
6785
|
+
"fieldName": "sessionKey"
|
|
6786
|
+
},
|
|
6787
|
+
{
|
|
6788
|
+
"name": "image-src",
|
|
6789
|
+
"type": {
|
|
6790
|
+
"text": "string | undefined"
|
|
6791
|
+
},
|
|
6792
|
+
"fieldName": "imageSrc"
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
"name": "user-image-src",
|
|
6796
|
+
"type": {
|
|
6797
|
+
"text": "string | undefined"
|
|
6798
|
+
},
|
|
6799
|
+
"fieldName": "userImageSrc"
|
|
6800
|
+
},
|
|
6801
|
+
{
|
|
6802
|
+
"name": "placeholder",
|
|
6803
|
+
"type": {
|
|
6804
|
+
"text": "string"
|
|
6805
|
+
},
|
|
6806
|
+
"default": "'Message assistant...'",
|
|
6807
|
+
"fieldName": "placeholder"
|
|
6808
|
+
},
|
|
6809
|
+
{
|
|
6810
|
+
"name": "popout-mode",
|
|
6811
|
+
"type": {
|
|
6812
|
+
"text": "PopoutMode | undefined"
|
|
6813
|
+
},
|
|
6814
|
+
"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).",
|
|
6815
|
+
"fieldName": "popoutMode"
|
|
6816
|
+
},
|
|
6817
|
+
{
|
|
6818
|
+
"name": "debug-redux",
|
|
6819
|
+
"type": {
|
|
6820
|
+
"text": "boolean"
|
|
6821
|
+
},
|
|
6822
|
+
"default": "false",
|
|
6823
|
+
"description": "When set, enables Redux DevTools for this instance's session store.",
|
|
6824
|
+
"fieldName": "debugRedux"
|
|
6825
|
+
}
|
|
6826
|
+
],
|
|
6827
|
+
"superclass": {
|
|
6828
|
+
"name": "GenesisElement",
|
|
6829
|
+
"package": "@genesislcap/web-core"
|
|
6830
|
+
},
|
|
6831
|
+
"tagName": "foundation-ai-assistant",
|
|
6832
|
+
"customElement": true
|
|
6955
6833
|
}
|
|
6956
6834
|
],
|
|
6957
6835
|
"exports": [
|
|
6958
6836
|
{
|
|
6959
6837
|
"kind": "js",
|
|
6960
|
-
"name": "
|
|
6838
|
+
"name": "sparkleIconSvg",
|
|
6961
6839
|
"declaration": {
|
|
6962
|
-
"name": "
|
|
6963
|
-
"module": "src/
|
|
6840
|
+
"name": "sparkleIconSvg",
|
|
6841
|
+
"module": "src/main/main.ts"
|
|
6964
6842
|
}
|
|
6965
6843
|
},
|
|
6966
6844
|
{
|
|
6967
6845
|
"kind": "js",
|
|
6968
|
-
"name": "
|
|
6846
|
+
"name": "userIconSvg",
|
|
6969
6847
|
"declaration": {
|
|
6970
|
-
"name": "
|
|
6971
|
-
"module": "src/
|
|
6848
|
+
"name": "userIconSvg",
|
|
6849
|
+
"module": "src/main/main.ts"
|
|
6850
|
+
}
|
|
6851
|
+
},
|
|
6852
|
+
{
|
|
6853
|
+
"kind": "js",
|
|
6854
|
+
"name": "genesisIconSvg",
|
|
6855
|
+
"declaration": {
|
|
6856
|
+
"name": "genesisIconSvg",
|
|
6857
|
+
"module": "src/main/main.ts"
|
|
6858
|
+
}
|
|
6859
|
+
},
|
|
6860
|
+
{
|
|
6861
|
+
"kind": "js",
|
|
6862
|
+
"name": "budgetPercentOf",
|
|
6863
|
+
"declaration": {
|
|
6864
|
+
"name": "budgetPercentOf",
|
|
6865
|
+
"module": "./budget-controller"
|
|
6866
|
+
}
|
|
6867
|
+
},
|
|
6868
|
+
{
|
|
6869
|
+
"kind": "js",
|
|
6870
|
+
"name": "formatBlockedReason",
|
|
6871
|
+
"declaration": {
|
|
6872
|
+
"name": "formatBlockedReason",
|
|
6873
|
+
"module": "./budget-controller"
|
|
6874
|
+
}
|
|
6875
|
+
},
|
|
6876
|
+
{
|
|
6877
|
+
"kind": "js",
|
|
6878
|
+
"name": "FoundationAiAssistant",
|
|
6879
|
+
"declaration": {
|
|
6880
|
+
"name": "FoundationAiAssistant",
|
|
6881
|
+
"module": "src/main/main.ts"
|
|
6882
|
+
}
|
|
6883
|
+
},
|
|
6884
|
+
{
|
|
6885
|
+
"kind": "custom-element-definition",
|
|
6886
|
+
"name": "foundation-ai-assistant",
|
|
6887
|
+
"declaration": {
|
|
6888
|
+
"name": "FoundationAiAssistant",
|
|
6889
|
+
"module": "src/main/main.ts"
|
|
6890
|
+
}
|
|
6891
|
+
}
|
|
6892
|
+
]
|
|
6893
|
+
},
|
|
6894
|
+
{
|
|
6895
|
+
"kind": "javascript-module",
|
|
6896
|
+
"path": "src/main/main.types.ts",
|
|
6897
|
+
"declarations": [
|
|
6898
|
+
{
|
|
6899
|
+
"kind": "variable",
|
|
6900
|
+
"name": "AiAssistantEvent",
|
|
6901
|
+
"type": {
|
|
6902
|
+
"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}"
|
|
6903
|
+
},
|
|
6904
|
+
"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}",
|
|
6905
|
+
"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."
|
|
6906
|
+
},
|
|
6907
|
+
{
|
|
6908
|
+
"kind": "variable",
|
|
6909
|
+
"name": "ANIMATION_DEFS",
|
|
6910
|
+
"type": {
|
|
6911
|
+
"text": "object"
|
|
6912
|
+
},
|
|
6913
|
+
"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}",
|
|
6914
|
+
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
6915
|
+
},
|
|
6916
|
+
{
|
|
6917
|
+
"kind": "variable",
|
|
6918
|
+
"name": "satisfies",
|
|
6919
|
+
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
6920
|
+
},
|
|
6921
|
+
{
|
|
6922
|
+
"kind": "variable",
|
|
6923
|
+
"name": "Record",
|
|
6924
|
+
"description": "Registry of all available animations with their display metadata.\nAdding an entry here automatically extends the AiAssistantAnimation type."
|
|
6925
|
+
}
|
|
6926
|
+
],
|
|
6927
|
+
"exports": [
|
|
6928
|
+
{
|
|
6929
|
+
"kind": "js",
|
|
6930
|
+
"name": "AgentPickerMode",
|
|
6931
|
+
"declaration": {
|
|
6932
|
+
"name": "AgentPickerMode",
|
|
6933
|
+
"package": "@genesislcap/foundation-ai"
|
|
6934
|
+
}
|
|
6935
|
+
},
|
|
6936
|
+
{
|
|
6937
|
+
"kind": "js",
|
|
6938
|
+
"name": "AiAssistantEvent",
|
|
6939
|
+
"declaration": {
|
|
6940
|
+
"name": "AiAssistantEvent",
|
|
6941
|
+
"module": "src/main/main.types.ts"
|
|
6942
|
+
}
|
|
6943
|
+
},
|
|
6944
|
+
{
|
|
6945
|
+
"kind": "js",
|
|
6946
|
+
"name": "ANIMATION_DEFS",
|
|
6947
|
+
"declaration": {
|
|
6948
|
+
"name": "ANIMATION_DEFS",
|
|
6949
|
+
"module": "src/main/main.types.ts"
|
|
6950
|
+
}
|
|
6951
|
+
},
|
|
6952
|
+
{
|
|
6953
|
+
"kind": "js",
|
|
6954
|
+
"name": "satisfies",
|
|
6955
|
+
"declaration": {
|
|
6956
|
+
"name": "satisfies",
|
|
6957
|
+
"module": "src/main/main.types.ts"
|
|
6958
|
+
}
|
|
6959
|
+
},
|
|
6960
|
+
{
|
|
6961
|
+
"kind": "js",
|
|
6962
|
+
"name": "Record",
|
|
6963
|
+
"declaration": {
|
|
6964
|
+
"name": "Record",
|
|
6965
|
+
"module": "src/main/main.types.ts"
|
|
6972
6966
|
}
|
|
6973
6967
|
}
|
|
6974
6968
|
]
|
|
6975
6969
|
},
|
|
6970
|
+
{
|
|
6971
|
+
"kind": "javascript-module",
|
|
6972
|
+
"path": "src/main/meta-snapshot.ts",
|
|
6973
|
+
"declarations": [],
|
|
6974
|
+
"exports": []
|
|
6975
|
+
},
|
|
6976
6976
|
{
|
|
6977
6977
|
"kind": "javascript-module",
|
|
6978
6978
|
"path": "src/state/ai-assistant-slice.ts",
|