@genesislcap/ai-assistant 14.452.1-alpha-9f63574.0 → 14.453.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-assistant.api.json +221 -2
- package/dist/ai-assistant.d.ts +93 -1
- package/dist/dts/components/ai-driver/ai-driver.d.ts +13 -0
- package/dist/dts/components/ai-driver/ai-driver.d.ts.map +1 -1
- package/dist/dts/components/chat-driver/chat-driver.d.ts +47 -0
- package/dist/dts/components/chat-driver/chat-driver.d.ts.map +1 -1
- package/dist/dts/components/orchestrating-driver/orchestrating-driver.d.ts +12 -0
- package/dist/dts/components/orchestrating-driver/orchestrating-driver.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +16 -0
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/main/main.styles.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/main/main.types.d.ts +5 -1
- package/dist/dts/main/main.types.d.ts.map +1 -1
- package/dist/esm/components/chat-driver/chat-driver.js +192 -19
- package/dist/esm/components/chat-driver/chat-driver.test.js +194 -4
- package/dist/esm/components/orchestrating-driver/orchestrating-driver.js +23 -0
- package/dist/esm/main/main.js +49 -11
- package/dist/esm/main/main.styles.js +26 -0
- package/dist/esm/main/main.template.js +27 -11
- package/package.json +16 -16
- package/src/components/ai-driver/ai-driver.ts +15 -0
- package/src/components/chat-driver/chat-driver.test.ts +231 -4
- package/src/components/chat-driver/chat-driver.ts +204 -20
- package/src/components/orchestrating-driver/orchestrating-driver.ts +24 -0
- package/src/main/main.styles.ts +26 -0
- package/src/main/main.template.ts +30 -11
- package/src/main/main.ts +48 -11
- package/src/main/main.types.ts +5 -1
|
@@ -1586,7 +1586,7 @@
|
|
|
1586
1586
|
{
|
|
1587
1587
|
"kind": "TypeAlias",
|
|
1588
1588
|
"canonicalReference": "@genesislcap/ai-assistant!AiAssistantState:type",
|
|
1589
|
-
"docComment": "/**\n * State of the AI assistant component.\n *\n * @beta\n */\n",
|
|
1589
|
+
"docComment": "/**\n * State of the AI assistant component.\n *\n * `cancelling` is a refinement of `loading`: a stop was requested but the turn is still winding down (e.g. a tool mid-execution finishing). It is \"busy\" like `loading` — use the host's `busy` getter for \"is a turn active\" gates.\n *\n * @beta\n */\n",
|
|
1590
1590
|
"excerptTokens": [
|
|
1591
1591
|
{
|
|
1592
1592
|
"kind": "Content",
|
|
@@ -1594,7 +1594,7 @@
|
|
|
1594
1594
|
},
|
|
1595
1595
|
{
|
|
1596
1596
|
"kind": "Content",
|
|
1597
|
-
"text": "'idle' | 'loading' | 'error'"
|
|
1597
|
+
"text": "'idle' | 'loading' | 'cancelling' | 'error'"
|
|
1598
1598
|
},
|
|
1599
1599
|
{
|
|
1600
1600
|
"kind": "Content",
|
|
@@ -1929,6 +1929,34 @@
|
|
|
1929
1929
|
"name": "AiDriver",
|
|
1930
1930
|
"preserveMemberOrder": false,
|
|
1931
1931
|
"members": [
|
|
1932
|
+
{
|
|
1933
|
+
"kind": "MethodSignature",
|
|
1934
|
+
"canonicalReference": "@genesislcap/ai-assistant!AiDriver#cancel:member(1)",
|
|
1935
|
+
"docComment": "/**\n * Stop the current turn in response to a user \"stop\" action. Aborts the in-flight provider request; a tool already executing runs to completion and the loop stops at the next boundary. The driver stays usable afterwards. Optional; the host wires the stop button to it when present.\n */\n",
|
|
1936
|
+
"excerptTokens": [
|
|
1937
|
+
{
|
|
1938
|
+
"kind": "Content",
|
|
1939
|
+
"text": "cancel?(): "
|
|
1940
|
+
},
|
|
1941
|
+
{
|
|
1942
|
+
"kind": "Content",
|
|
1943
|
+
"text": "void"
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"kind": "Content",
|
|
1947
|
+
"text": ";"
|
|
1948
|
+
}
|
|
1949
|
+
],
|
|
1950
|
+
"isOptional": true,
|
|
1951
|
+
"returnTypeTokenRange": {
|
|
1952
|
+
"startIndex": 1,
|
|
1953
|
+
"endIndex": 2
|
|
1954
|
+
},
|
|
1955
|
+
"releaseTag": "Beta",
|
|
1956
|
+
"overloadIndex": 1,
|
|
1957
|
+
"parameters": [],
|
|
1958
|
+
"name": "cancel"
|
|
1959
|
+
},
|
|
1932
1960
|
{
|
|
1933
1961
|
"kind": "MethodSignature",
|
|
1934
1962
|
"canonicalReference": "@genesislcap/ai-assistant!AiDriver#continueFromHistory:member(1)",
|
|
@@ -1993,6 +2021,43 @@
|
|
|
1993
2021
|
],
|
|
1994
2022
|
"name": "continueFromHistory"
|
|
1995
2023
|
},
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "MethodSignature",
|
|
2026
|
+
"canonicalReference": "@genesislcap/ai-assistant!AiDriver#dispose:member(1)",
|
|
2027
|
+
"docComment": "/**\n * Tear down the driver, aborting any in-flight provider request. Called by the host when it swaps in a replacement driver. Optional because not every implementation needs teardown; the host invokes it when present.\n */\n",
|
|
2028
|
+
"excerptTokens": [
|
|
2029
|
+
{
|
|
2030
|
+
"kind": "Content",
|
|
2031
|
+
"text": "dispose?(): "
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"kind": "Content",
|
|
2035
|
+
"text": "void | "
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
"kind": "Reference",
|
|
2039
|
+
"text": "Promise",
|
|
2040
|
+
"canonicalReference": "!Promise:interface"
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"kind": "Content",
|
|
2044
|
+
"text": "<void>"
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"kind": "Content",
|
|
2048
|
+
"text": ";"
|
|
2049
|
+
}
|
|
2050
|
+
],
|
|
2051
|
+
"isOptional": true,
|
|
2052
|
+
"returnTypeTokenRange": {
|
|
2053
|
+
"startIndex": 1,
|
|
2054
|
+
"endIndex": 4
|
|
2055
|
+
},
|
|
2056
|
+
"releaseTag": "Beta",
|
|
2057
|
+
"overloadIndex": 1,
|
|
2058
|
+
"parameters": [],
|
|
2059
|
+
"name": "dispose"
|
|
2060
|
+
},
|
|
1996
2061
|
{
|
|
1997
2062
|
"kind": "MethodSignature",
|
|
1998
2063
|
"canonicalReference": "@genesislcap/ai-assistant!AiDriver#getActiveProviderName:member(1)",
|
|
@@ -2710,6 +2775,37 @@
|
|
|
2710
2775
|
"isAbstract": false,
|
|
2711
2776
|
"name": "applyAgent"
|
|
2712
2777
|
},
|
|
2778
|
+
{
|
|
2779
|
+
"kind": "Method",
|
|
2780
|
+
"canonicalReference": "@genesislcap/ai-assistant!ChatDriver#cancel:member(1)",
|
|
2781
|
+
"docComment": "/**\n * Stop the current turn (user \"stop\" button). Aborts the in-flight provider request immediately; if a tool is mid-execution it runs to completion and the loop bails at the next boundary (tools are atomic). No-op when idle. The driver stays usable for the next message.\n */\n",
|
|
2782
|
+
"excerptTokens": [
|
|
2783
|
+
{
|
|
2784
|
+
"kind": "Content",
|
|
2785
|
+
"text": "cancel(): "
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"kind": "Content",
|
|
2789
|
+
"text": "void"
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"kind": "Content",
|
|
2793
|
+
"text": ";"
|
|
2794
|
+
}
|
|
2795
|
+
],
|
|
2796
|
+
"isStatic": false,
|
|
2797
|
+
"returnTypeTokenRange": {
|
|
2798
|
+
"startIndex": 1,
|
|
2799
|
+
"endIndex": 2
|
|
2800
|
+
},
|
|
2801
|
+
"releaseTag": "Beta",
|
|
2802
|
+
"isProtected": false,
|
|
2803
|
+
"overloadIndex": 1,
|
|
2804
|
+
"parameters": [],
|
|
2805
|
+
"isOptional": false,
|
|
2806
|
+
"isAbstract": false,
|
|
2807
|
+
"name": "cancel"
|
|
2808
|
+
},
|
|
2713
2809
|
{
|
|
2714
2810
|
"kind": "Method",
|
|
2715
2811
|
"canonicalReference": "@genesislcap/ai-assistant!ChatDriver#continueFromHistory:member(1)",
|
|
@@ -2777,6 +2873,37 @@
|
|
|
2777
2873
|
"isAbstract": false,
|
|
2778
2874
|
"name": "continueFromHistory"
|
|
2779
2875
|
},
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "Method",
|
|
2878
|
+
"canonicalReference": "@genesislcap/ai-assistant!ChatDriver#dispose:member(1)",
|
|
2879
|
+
"docComment": "/**\n * Tear down the driver: aborts the lifecycle signal so any in-flight provider request (and prompt/tool factories awaiting it) cancels instead of running on to completion or the transport timeout. Called by the host on driver swap and by `OrchestratingDriver.dispose()`. Idempotent.\n */\n",
|
|
2880
|
+
"excerptTokens": [
|
|
2881
|
+
{
|
|
2882
|
+
"kind": "Content",
|
|
2883
|
+
"text": "dispose(): "
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"kind": "Content",
|
|
2887
|
+
"text": "void"
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "Content",
|
|
2891
|
+
"text": ";"
|
|
2892
|
+
}
|
|
2893
|
+
],
|
|
2894
|
+
"isStatic": false,
|
|
2895
|
+
"returnTypeTokenRange": {
|
|
2896
|
+
"startIndex": 1,
|
|
2897
|
+
"endIndex": 2
|
|
2898
|
+
},
|
|
2899
|
+
"releaseTag": "Beta",
|
|
2900
|
+
"isProtected": false,
|
|
2901
|
+
"overloadIndex": 1,
|
|
2902
|
+
"parameters": [],
|
|
2903
|
+
"isOptional": false,
|
|
2904
|
+
"isAbstract": false,
|
|
2905
|
+
"name": "dispose"
|
|
2906
|
+
},
|
|
2780
2907
|
{
|
|
2781
2908
|
"kind": "Method",
|
|
2782
2909
|
"canonicalReference": "@genesislcap/ai-assistant!ChatDriver#getActiveFoldNames:member(1)",
|
|
@@ -4514,6 +4641,36 @@
|
|
|
4514
4641
|
"isProtected": false,
|
|
4515
4642
|
"isAbstract": false
|
|
4516
4643
|
},
|
|
4644
|
+
{
|
|
4645
|
+
"kind": "Property",
|
|
4646
|
+
"canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#busy:member",
|
|
4647
|
+
"docComment": "/**\n * True while a turn is active — `loading` or `cancelling` (a stop was requested but the turn is still winding down). The single \"is a turn running\" predicate; UI gates use this so `cancelling` behaves like `loading` everywhere. `@volatile` so the template re-evaluates it when the store-backed `state` changes.\n */\n",
|
|
4648
|
+
"excerptTokens": [
|
|
4649
|
+
{
|
|
4650
|
+
"kind": "Content",
|
|
4651
|
+
"text": "get busy(): "
|
|
4652
|
+
},
|
|
4653
|
+
{
|
|
4654
|
+
"kind": "Content",
|
|
4655
|
+
"text": "boolean"
|
|
4656
|
+
},
|
|
4657
|
+
{
|
|
4658
|
+
"kind": "Content",
|
|
4659
|
+
"text": ";"
|
|
4660
|
+
}
|
|
4661
|
+
],
|
|
4662
|
+
"isReadonly": true,
|
|
4663
|
+
"isOptional": false,
|
|
4664
|
+
"releaseTag": "Beta",
|
|
4665
|
+
"name": "busy",
|
|
4666
|
+
"propertyTypeTokenRange": {
|
|
4667
|
+
"startIndex": 1,
|
|
4668
|
+
"endIndex": 2
|
|
4669
|
+
},
|
|
4670
|
+
"isStatic": false,
|
|
4671
|
+
"isProtected": false,
|
|
4672
|
+
"isAbstract": false
|
|
4673
|
+
},
|
|
4517
4674
|
{
|
|
4518
4675
|
"kind": "Property",
|
|
4519
4676
|
"canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#chatConfig:member",
|
|
@@ -5431,6 +5588,37 @@
|
|
|
5431
5588
|
"isAbstract": false,
|
|
5432
5589
|
"name": "handleSendClick"
|
|
5433
5590
|
},
|
|
5591
|
+
{
|
|
5592
|
+
"kind": "Method",
|
|
5593
|
+
"canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#handleStopClick:member(1)",
|
|
5594
|
+
"docComment": "/**\n * User clicked Stop. Cancels the current turn via the driver and flips the button to \"Stopping…\" until the turn winds down (a tool mid-execution finishes first). Guarded so a second click is a no-op.\n */\n",
|
|
5595
|
+
"excerptTokens": [
|
|
5596
|
+
{
|
|
5597
|
+
"kind": "Content",
|
|
5598
|
+
"text": "handleStopClick(): "
|
|
5599
|
+
},
|
|
5600
|
+
{
|
|
5601
|
+
"kind": "Content",
|
|
5602
|
+
"text": "void"
|
|
5603
|
+
},
|
|
5604
|
+
{
|
|
5605
|
+
"kind": "Content",
|
|
5606
|
+
"text": ";"
|
|
5607
|
+
}
|
|
5608
|
+
],
|
|
5609
|
+
"isStatic": false,
|
|
5610
|
+
"returnTypeTokenRange": {
|
|
5611
|
+
"startIndex": 1,
|
|
5612
|
+
"endIndex": 2
|
|
5613
|
+
},
|
|
5614
|
+
"releaseTag": "Beta",
|
|
5615
|
+
"isProtected": false,
|
|
5616
|
+
"overloadIndex": 1,
|
|
5617
|
+
"parameters": [],
|
|
5618
|
+
"isOptional": false,
|
|
5619
|
+
"isAbstract": false,
|
|
5620
|
+
"name": "handleStopClick"
|
|
5621
|
+
},
|
|
5434
5622
|
{
|
|
5435
5623
|
"kind": "Method",
|
|
5436
5624
|
"canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#handleSuggestionClick:member(1)",
|
|
@@ -7583,6 +7771,37 @@
|
|
|
7583
7771
|
"isProtected": false,
|
|
7584
7772
|
"isAbstract": false
|
|
7585
7773
|
},
|
|
7774
|
+
{
|
|
7775
|
+
"kind": "Method",
|
|
7776
|
+
"canonicalReference": "@genesislcap/ai-assistant!OrchestratingDriver#cancel:member(1)",
|
|
7777
|
+
"docComment": "/**\n * Stop the current turn (user \"stop\" button). Cancels the inner chat driver's in-flight request and breaks the handoff loop so no further agent turn or classify runs. The driver stays usable for the next message.\n */\n",
|
|
7778
|
+
"excerptTokens": [
|
|
7779
|
+
{
|
|
7780
|
+
"kind": "Content",
|
|
7781
|
+
"text": "cancel(): "
|
|
7782
|
+
},
|
|
7783
|
+
{
|
|
7784
|
+
"kind": "Content",
|
|
7785
|
+
"text": "void"
|
|
7786
|
+
},
|
|
7787
|
+
{
|
|
7788
|
+
"kind": "Content",
|
|
7789
|
+
"text": ";"
|
|
7790
|
+
}
|
|
7791
|
+
],
|
|
7792
|
+
"isStatic": false,
|
|
7793
|
+
"returnTypeTokenRange": {
|
|
7794
|
+
"startIndex": 1,
|
|
7795
|
+
"endIndex": 2
|
|
7796
|
+
},
|
|
7797
|
+
"releaseTag": "Beta",
|
|
7798
|
+
"isProtected": false,
|
|
7799
|
+
"overloadIndex": 1,
|
|
7800
|
+
"parameters": [],
|
|
7801
|
+
"isOptional": false,
|
|
7802
|
+
"isAbstract": false,
|
|
7803
|
+
"name": "cancel"
|
|
7804
|
+
},
|
|
7586
7805
|
{
|
|
7587
7806
|
"kind": "Method",
|
|
7588
7807
|
"canonicalReference": "@genesislcap/ai-assistant!OrchestratingDriver#continueFromHistory:member(1)",
|
package/dist/ai-assistant.d.ts
CHANGED
|
@@ -285,9 +285,13 @@ export declare interface AiAssistantAnimationDef {
|
|
|
285
285
|
/**
|
|
286
286
|
* State of the AI assistant component.
|
|
287
287
|
*
|
|
288
|
+
* `cancelling` is a refinement of `loading`: a stop was requested but the turn
|
|
289
|
+
* is still winding down (e.g. a tool mid-execution finishing). It is "busy"
|
|
290
|
+
* like `loading` — use the host's `busy` getter for "is a turn active" gates.
|
|
291
|
+
*
|
|
288
292
|
* @beta
|
|
289
293
|
*/
|
|
290
|
-
export declare type AiAssistantState = 'idle' | 'loading' | 'error';
|
|
294
|
+
export declare type AiAssistantState = 'idle' | 'loading' | 'cancelling' | 'error';
|
|
291
295
|
|
|
292
296
|
export declare class AiChatMarkdown extends GenesisElement {
|
|
293
297
|
/** The markdown string to render. */
|
|
@@ -399,6 +403,19 @@ export declare interface AiDriver extends EventTarget {
|
|
|
399
403
|
* @beta
|
|
400
404
|
*/
|
|
401
405
|
getActiveProviderName(): string;
|
|
406
|
+
/**
|
|
407
|
+
* Tear down the driver, aborting any in-flight provider request. Called by
|
|
408
|
+
* the host when it swaps in a replacement driver. Optional because not every
|
|
409
|
+
* implementation needs teardown; the host invokes it when present.
|
|
410
|
+
*/
|
|
411
|
+
dispose?(): void | Promise<void>;
|
|
412
|
+
/**
|
|
413
|
+
* Stop the current turn in response to a user "stop" action. Aborts the
|
|
414
|
+
* in-flight provider request; a tool already executing runs to completion and
|
|
415
|
+
* the loop stops at the next boundary. The driver stays usable afterwards.
|
|
416
|
+
* Optional; the host wires the stop button to it when present.
|
|
417
|
+
*/
|
|
418
|
+
cancel?(): void;
|
|
402
419
|
}
|
|
403
420
|
|
|
404
421
|
/**
|
|
@@ -692,6 +709,26 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
692
709
|
/** Captured from `applyAgent` so we don't store the whole `AgentConfig`. */
|
|
693
710
|
private debugSnapshotter?;
|
|
694
711
|
private readonly maxTurnSnapshots;
|
|
712
|
+
/**
|
|
713
|
+
* Aborted by `dispose()` on driver teardown (e.g. an agent-config swap).
|
|
714
|
+
* Threaded into every provider call as `ChatRequestOptions.signal`, so a
|
|
715
|
+
* disposed driver's in-flight LLM request is cancelled instead of running on
|
|
716
|
+
* to completion or the transport timeout. Also passed to prompt/tool
|
|
717
|
+
* factories via `SystemPromptContext.signal`.
|
|
718
|
+
*/
|
|
719
|
+
private readonly lifecycleController;
|
|
720
|
+
/**
|
|
721
|
+
* Per-turn abort controller, reset at the start of every turn by `beginTurn`.
|
|
722
|
+
* Aborted by `cancel()` (user stop) and chained to `lifecycleController` so a
|
|
723
|
+
* driver dispose also ends the current turn. Its signal — not the lifecycle
|
|
724
|
+
* one — is what reaches the provider call, so a turn can be cancelled without
|
|
725
|
+
* bricking the driver for the next message.
|
|
726
|
+
*/
|
|
727
|
+
private turnController;
|
|
728
|
+
/** True when the current turn was stopped via `cancel()` (vs a dispose). Drives the "Stopped." marker. */
|
|
729
|
+
private turnCancelled;
|
|
730
|
+
/** Detaches the lifecycle→turn abort link at turn end; set by `beginTurn`. */
|
|
731
|
+
private unlinkLifecycleFromTurn?;
|
|
695
732
|
/**
|
|
696
733
|
* Active agent's provider selector (static name or per-turn resolver).
|
|
697
734
|
* `undefined` means "use the registry default".
|
|
@@ -710,6 +747,33 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
710
747
|
constructor(providerRegistry: AIProviderRegistry, toolHandlers?: ToolHandlersInput, toolDefinitions?: ToolDefinitionsInput, systemPrompt?: SystemPromptInput, primerHistory?: ChatMessage[], maxToolIterations?: number, maxFoldOperations?: number, maxTurnSnapshots?: number,
|
|
711
748
|
/** Session identity used to file meta events onto the shared debug-log timeline. */
|
|
712
749
|
sessionKey?: string);
|
|
750
|
+
/**
|
|
751
|
+
* Tear down the driver: aborts the lifecycle signal so any in-flight provider
|
|
752
|
+
* request (and prompt/tool factories awaiting it) cancels instead of running
|
|
753
|
+
* on to completion or the transport timeout. Called by the host on driver
|
|
754
|
+
* swap and by `OrchestratingDriver.dispose()`. Idempotent.
|
|
755
|
+
*/
|
|
756
|
+
dispose(): void;
|
|
757
|
+
/**
|
|
758
|
+
* Stop the current turn (user "stop" button). Aborts the in-flight provider
|
|
759
|
+
* request immediately; if a tool is mid-execution it runs to completion and
|
|
760
|
+
* the loop bails at the next boundary (tools are atomic). No-op when idle.
|
|
761
|
+
* The driver stays usable for the next message.
|
|
762
|
+
*/
|
|
763
|
+
cancel(): void;
|
|
764
|
+
/**
|
|
765
|
+
* Start a fresh per-turn abort scope. Chains `lifecycleController` into the
|
|
766
|
+
* new `turnController` so a dispose mid-turn also aborts the request.
|
|
767
|
+
*/
|
|
768
|
+
private beginTurn;
|
|
769
|
+
/** Detach the lifecycle→turn link so a long-lived lifecycle signal doesn't accumulate listeners. */
|
|
770
|
+
private endTurn;
|
|
771
|
+
/**
|
|
772
|
+
* Finish a turn whose signal aborted. A user cancel adds a subtle "Stopped."
|
|
773
|
+
* marker; a dispose-driven abort stops quietly (the widget is gone and the
|
|
774
|
+
* cached history would otherwise gain a stray marker on remount).
|
|
775
|
+
*/
|
|
776
|
+
private completeAbortedTurn;
|
|
713
777
|
/**
|
|
714
778
|
* Swap in a new agent's configuration. Called by OrchestratingDriver before
|
|
715
779
|
* each specialist turn so the shared driver runs with the right tools and prompt.
|
|
@@ -1099,6 +1163,16 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
1099
1163
|
set messages(value: ChatMessage[]);
|
|
1100
1164
|
get state(): AiAssistantState;
|
|
1101
1165
|
set state(value: AiAssistantState);
|
|
1166
|
+
/** Whether a state value counts as "busy" — a turn is active. */
|
|
1167
|
+
private isBusyState;
|
|
1168
|
+
/**
|
|
1169
|
+
* True while a turn is active — `loading` or `cancelling` (a stop was
|
|
1170
|
+
* requested but the turn is still winding down). The single "is a turn
|
|
1171
|
+
* running" predicate; UI gates use this so `cancelling` behaves like
|
|
1172
|
+
* `loading` everywhere. `@volatile` so the template re-evaluates it when the
|
|
1173
|
+
* store-backed `state` changes.
|
|
1174
|
+
*/
|
|
1175
|
+
get busy(): boolean;
|
|
1102
1176
|
/**
|
|
1103
1177
|
* Re-runs `agentsChanged` if the live `agents` array no longer matches the
|
|
1104
1178
|
* fingerprint of the currently installed driver. Used to apply swaps that
|
|
@@ -1488,6 +1562,12 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
1488
1562
|
private processFiles;
|
|
1489
1563
|
private loadSelectedFiles;
|
|
1490
1564
|
handleSendClick(): void;
|
|
1565
|
+
/**
|
|
1566
|
+
* User clicked Stop. Cancels the current turn via the driver and flips the
|
|
1567
|
+
* button to "Stopping…" until the turn winds down (a tool mid-execution
|
|
1568
|
+
* finishes first). Guarded so a second click is a no-op.
|
|
1569
|
+
*/
|
|
1570
|
+
handleStopClick(): void;
|
|
1491
1571
|
handleSuggestionClick(suggestion: string): void;
|
|
1492
1572
|
/**
|
|
1493
1573
|
* Programmatically submit a message. Equivalent to the user typing into the
|
|
@@ -1680,6 +1760,12 @@ export declare class OrchestratingDriver extends EventTarget implements AiDriver
|
|
|
1680
1760
|
* so long-running `onActivate` work can bail if the session disconnects.
|
|
1681
1761
|
*/
|
|
1682
1762
|
private readonly lifecycleAbortController;
|
|
1763
|
+
/**
|
|
1764
|
+
* Set by `cancel()` for the duration of a `sendMessage` run. Breaks the
|
|
1765
|
+
* handoff loop so we don't classify or start another agent turn after the
|
|
1766
|
+
* user stops. Reset at the start of each `sendMessage`.
|
|
1767
|
+
*/
|
|
1768
|
+
private cancelled;
|
|
1683
1769
|
/**
|
|
1684
1770
|
* Sticky user pick from the picker (or the host's `setAgent` API). Only
|
|
1685
1771
|
* changes on explicit user action. Survives flow completion: when a stateful
|
|
@@ -1743,6 +1829,12 @@ export declare class OrchestratingDriver extends EventTarget implements AiDriver
|
|
|
1743
1829
|
* routing through the classifier.
|
|
1744
1830
|
*/
|
|
1745
1831
|
private releaseActiveAgent;
|
|
1832
|
+
/**
|
|
1833
|
+
* Stop the current turn (user "stop" button). Cancels the inner chat driver's
|
|
1834
|
+
* in-flight request and breaks the handoff loop so no further agent turn or
|
|
1835
|
+
* classify runs. The driver stays usable for the next message.
|
|
1836
|
+
*/
|
|
1837
|
+
cancel(): void;
|
|
1746
1838
|
/**
|
|
1747
1839
|
* Fire `onDeactivate` on the current active agent and abort any pending
|
|
1748
1840
|
* lifecycle work. Called by the host on session teardown so machines can
|
|
@@ -63,5 +63,18 @@ export interface AiDriver extends EventTarget {
|
|
|
63
63
|
* @beta
|
|
64
64
|
*/
|
|
65
65
|
getActiveProviderName(): string;
|
|
66
|
+
/**
|
|
67
|
+
* Tear down the driver, aborting any in-flight provider request. Called by
|
|
68
|
+
* the host when it swaps in a replacement driver. Optional because not every
|
|
69
|
+
* implementation needs teardown; the host invokes it when present.
|
|
70
|
+
*/
|
|
71
|
+
dispose?(): void | Promise<void>;
|
|
72
|
+
/**
|
|
73
|
+
* Stop the current turn in response to a user "stop" action. Aborts the
|
|
74
|
+
* in-flight provider request; a tool already executing runs to completion and
|
|
75
|
+
* the loop stops at the next boundary. The driver stays usable afterwards.
|
|
76
|
+
* Optional; the host wires the stop button to it when present.
|
|
77
|
+
*/
|
|
78
|
+
cancel?(): void;
|
|
66
79
|
}
|
|
67
80
|
//# sourceMappingURL=ai-driver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
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KG;IACH,qBAAqB,IAAI,MAAM,CAAC;IAEhC;;;;OAIG;IACH,OAAO,CAAC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjC;;;;;OAKG;IACH,MAAM,CAAC,IAAI,IAAI,CAAC;CACjB"}
|
|
@@ -189,6 +189,26 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
189
189
|
/** Captured from `applyAgent` so we don't store the whole `AgentConfig`. */
|
|
190
190
|
private debugSnapshotter?;
|
|
191
191
|
private readonly maxTurnSnapshots;
|
|
192
|
+
/**
|
|
193
|
+
* Aborted by `dispose()` on driver teardown (e.g. an agent-config swap).
|
|
194
|
+
* Threaded into every provider call as `ChatRequestOptions.signal`, so a
|
|
195
|
+
* disposed driver's in-flight LLM request is cancelled instead of running on
|
|
196
|
+
* to completion or the transport timeout. Also passed to prompt/tool
|
|
197
|
+
* factories via `SystemPromptContext.signal`.
|
|
198
|
+
*/
|
|
199
|
+
private readonly lifecycleController;
|
|
200
|
+
/**
|
|
201
|
+
* Per-turn abort controller, reset at the start of every turn by `beginTurn`.
|
|
202
|
+
* Aborted by `cancel()` (user stop) and chained to `lifecycleController` so a
|
|
203
|
+
* driver dispose also ends the current turn. Its signal — not the lifecycle
|
|
204
|
+
* one — is what reaches the provider call, so a turn can be cancelled without
|
|
205
|
+
* bricking the driver for the next message.
|
|
206
|
+
*/
|
|
207
|
+
private turnController;
|
|
208
|
+
/** True when the current turn was stopped via `cancel()` (vs a dispose). Drives the "Stopped." marker. */
|
|
209
|
+
private turnCancelled;
|
|
210
|
+
/** Detaches the lifecycle→turn abort link at turn end; set by `beginTurn`. */
|
|
211
|
+
private unlinkLifecycleFromTurn?;
|
|
192
212
|
/**
|
|
193
213
|
* Active agent's provider selector (static name or per-turn resolver).
|
|
194
214
|
* `undefined` means "use the registry default".
|
|
@@ -207,6 +227,33 @@ export declare class ChatDriver extends EventTarget implements AiDriver {
|
|
|
207
227
|
constructor(providerRegistry: AIProviderRegistry, toolHandlers?: ToolHandlersInput, toolDefinitions?: ToolDefinitionsInput, systemPrompt?: SystemPromptInput, primerHistory?: ChatMessage[], maxToolIterations?: number, maxFoldOperations?: number, maxTurnSnapshots?: number,
|
|
208
228
|
/** Session identity used to file meta events onto the shared debug-log timeline. */
|
|
209
229
|
sessionKey?: string);
|
|
230
|
+
/**
|
|
231
|
+
* Tear down the driver: aborts the lifecycle signal so any in-flight provider
|
|
232
|
+
* request (and prompt/tool factories awaiting it) cancels instead of running
|
|
233
|
+
* on to completion or the transport timeout. Called by the host on driver
|
|
234
|
+
* swap and by `OrchestratingDriver.dispose()`. Idempotent.
|
|
235
|
+
*/
|
|
236
|
+
dispose(): void;
|
|
237
|
+
/**
|
|
238
|
+
* Stop the current turn (user "stop" button). Aborts the in-flight provider
|
|
239
|
+
* request immediately; if a tool is mid-execution it runs to completion and
|
|
240
|
+
* the loop bails at the next boundary (tools are atomic). No-op when idle.
|
|
241
|
+
* The driver stays usable for the next message.
|
|
242
|
+
*/
|
|
243
|
+
cancel(): void;
|
|
244
|
+
/**
|
|
245
|
+
* Start a fresh per-turn abort scope. Chains `lifecycleController` into the
|
|
246
|
+
* new `turnController` so a dispose mid-turn also aborts the request.
|
|
247
|
+
*/
|
|
248
|
+
private beginTurn;
|
|
249
|
+
/** Detach the lifecycle→turn link so a long-lived lifecycle signal doesn't accumulate listeners. */
|
|
250
|
+
private endTurn;
|
|
251
|
+
/**
|
|
252
|
+
* Finish a turn whose signal aborted. A user cancel adds a subtle "Stopped."
|
|
253
|
+
* marker; a dispose-driven abort stops quietly (the widget is gone and the
|
|
254
|
+
* cached history would otherwise gain a stray marker on remount).
|
|
255
|
+
*/
|
|
256
|
+
private completeAbortedTurn;
|
|
210
257
|
/**
|
|
211
258
|
* Swap in a new agent's configuration. Called by OrchestratingDriver before
|
|
212
259
|
* each specialist turn so the shared driver runs with the right tools and prompt.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-driver.d.ts","sourceRoot":"","sources":["../../../../src/components/chat-driver/chat-driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,WAAW,EAKX,yBAAyB,EACzB,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EACV,WAAW,EAGX,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"chat-driver.d.ts","sourceRoot":"","sources":["../../../../src/components/chat-driver/chat-driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,WAAW,EAKX,yBAAyB,EACzB,qBAAqB,EAEtB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,KAAK,EACV,WAAW,EAGX,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AA6BxE,wFAAwF;AACxF,eAAO,MAAM,yBAAyB,yBAAyB,CAAC;AAMhE;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;AAE9E;;;;;;;;;GASG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;OAOG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qGAAqG;IACrG,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAA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iDriver
|
|
|
24
24
|
* so long-running `onActivate` work can bail if the session disconnects.
|
|
25
25
|
*/
|
|
26
26
|
private readonly lifecycleAbortController;
|
|
27
|
+
/**
|
|
28
|
+
* Set by `cancel()` for the duration of a `sendMessage` run. Breaks the
|
|
29
|
+
* handoff loop so we don't classify or start another agent turn after the
|
|
30
|
+
* user stops. Reset at the start of each `sendMessage`.
|
|
31
|
+
*/
|
|
32
|
+
private cancelled;
|
|
27
33
|
/**
|
|
28
34
|
* Sticky user pick from the picker (or the host's `setAgent` API). Only
|
|
29
35
|
* changes on explicit user action. Survives flow completion: when a stateful
|
|
@@ -87,6 +93,12 @@ export declare class OrchestratingDriver extends EventTarget implements AiDriver
|
|
|
87
93
|
* routing through the classifier.
|
|
88
94
|
*/
|
|
89
95
|
private releaseActiveAgent;
|
|
96
|
+
/**
|
|
97
|
+
* Stop the current turn (user "stop" button). Cancels the inner chat driver's
|
|
98
|
+
* in-flight request and breaks the handoff loop so no further agent turn or
|
|
99
|
+
* classify runs. The driver stays usable for the next message.
|
|
100
|
+
*/
|
|
101
|
+
cancel(): void;
|
|
90
102
|
/**
|
|
91
103
|
* Fire `onDeactivate` on the current active agent and abort any pending
|
|
92
104
|
* lifecycle work. Called by the host on session teardown so machines can
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrating-driver.d.ts","sourceRoot":"","sources":["../../../../src/components/orchestrating-driver/orchestrating-driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,WAAW,EAEZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,WAAW,EAKZ,MAAM,qBAAqB,CAAC;AAK7B,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,4BAA4B,CAAC;AAoDpC;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,WAAY,YAAW,QAAQ;
|
|
1
|
+
{"version":3,"file":"orchestrating-driver.d.ts","sourceRoot":"","sources":["../../../../src/components/orchestrating-driver/orchestrating-driver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,gBAAgB,EAChB,WAAW,EAEZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,WAAW,EAKZ,MAAM,qBAAqB,CAAC;AAK7B,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,4BAA4B,CAAC;AAoDpC;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,WAAY,YAAW,QAAQ;IAsCpE,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAtCzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IACxC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA0B;IACtD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAsB;IAChD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAS;IACjD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAS;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAyB;IAClE;;;;OAIG;IACH,OAAO,CAAC,SAAS,CAAS;IAC1B;;;;;OAKG;IACH,OAAO,CAAC,eAAe,CAAuB;IAC9C;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB,CAAuB;IAEjD,WAAW,CAAC,EAAE,WAAW,CAAC;gBAGP,gBAAgB,EAAE,kBAAkB,EACpC,MAAM,EAAE,WAAW,EAAE,EACtC,OAAO,GAAE;QACP,UAAU,CAAC,EAAE,MAAM,CAAC;QAC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OAAO,CAAC,kBAAkB;IAa1B,OAAO,CAAC,mBAAmB;CAU5B"}
|
package/dist/dts/main/main.d.ts
CHANGED
|
@@ -61,6 +61,16 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
61
61
|
set messages(value: ChatMessage[]);
|
|
62
62
|
get state(): AiAssistantState;
|
|
63
63
|
set state(value: AiAssistantState);
|
|
64
|
+
/** Whether a state value counts as "busy" — a turn is active. */
|
|
65
|
+
private isBusyState;
|
|
66
|
+
/**
|
|
67
|
+
* True while a turn is active — `loading` or `cancelling` (a stop was
|
|
68
|
+
* requested but the turn is still winding down). The single "is a turn
|
|
69
|
+
* running" predicate; UI gates use this so `cancelling` behaves like
|
|
70
|
+
* `loading` everywhere. `@volatile` so the template re-evaluates it when the
|
|
71
|
+
* store-backed `state` changes.
|
|
72
|
+
*/
|
|
73
|
+
get busy(): boolean;
|
|
64
74
|
/**
|
|
65
75
|
* Re-runs `agentsChanged` if the live `agents` array no longer matches the
|
|
66
76
|
* fingerprint of the currently installed driver. Used to apply swaps that
|
|
@@ -450,6 +460,12 @@ export declare class FoundationAiAssistant extends GenesisElement {
|
|
|
450
460
|
private processFiles;
|
|
451
461
|
private loadSelectedFiles;
|
|
452
462
|
handleSendClick(): void;
|
|
463
|
+
/**
|
|
464
|
+
* User clicked Stop. Cancels the current turn via the driver and flips the
|
|
465
|
+
* button to "Stopping…" until the turn winds down (a tool mid-execution
|
|
466
|
+
* finishes first). Guarded so a second click is a no-op.
|
|
467
|
+
*/
|
|
468
|
+
handleStopClick(): void;
|
|
453
469
|
handleSuggestionClick(suggestion: string): void;
|
|
454
470
|
/**
|
|
455
471
|
* Programmatically submit a message. Equivalent to the user typing into the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EACV,6BAA6B,EAC7B,cAAc,EACd,UAAU,EACV,4BAA4B,EAC5B,WAAW,E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IACI,gBAAgB,IAAI,MAAM,CAc7B;IAED;;;;;;OAMG;IACH,IACI,iBAAiB,IAAI,MAAM,GAAG,SAAS,CAM1C;IAED;;;;OAIG;IACH,IACI,oBAAoB,IAAI,MAAM,CAGjC;IAED,mBAAmB;IAInB,uBAAuB;IAIvB,8BAA8B;IAI9B,oBAAoB,CAAC,UAAU,EAAE,oBAAoB,EAAE;IAIvD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsHX,gBAAgB;IAehB,gBAAgB,IAAI,IAAI;IAIxB,gBAAgB,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI;IAIhC,gBAAgB,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;IAIlD,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAU5C,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,cAAc;YASR,YAAY;YAoCZ,iBAAiB;IAe/B,eAAe;IAIf;;;;OAIG;IACH,eAAe;IAOf,qBAAqB,CAAC,UAAU,EAAE,MAAM;IAKxC;;;;;;;;;;;;;;;;;;;;OAoBG;IACG,aAAa,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;KAAE,GAAG,OAAO,CAAC,mBAAmB,CAAC;YA0C7E,gBAAgB;YA6DhB,IAAI;IAgDlB,qBAAqB,CAAC,CAAC,EAAE,UAAU;IAYnC,0BAA0B,CAAC,CAAC,EAAE,KAAK;CAQpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../src/main/main.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"main.styles.d.ts","sourceRoot":"","sources":["../../../src/main/main.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM,iDA2wBlB,CAAC"}
|