@vybestack/llxprt-code-agents 0.10.0 → 0.11.0-nightly.260728.ffaa8d5d7
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/src/agents/executor-test-helpers.js +2 -2
- package/dist/src/agents/executor-test-helpers.js.map +1 -1
- package/dist/src/agents/executor-tool-dispatch.js +16 -2
- package/dist/src/agents/executor-tool-dispatch.js.map +1 -1
- package/dist/src/agents/executor-validation.js +7 -1
- package/dist/src/agents/executor-validation.js.map +1 -1
- package/dist/src/agents/invocation.d.ts +2 -2
- package/dist/src/agents/invocation.js +6 -3
- package/dist/src/agents/invocation.js.map +1 -1
- package/dist/src/api/agent.d.ts +21 -2
- package/dist/src/api/agentImpl.d.ts +5 -0
- package/dist/src/api/agentImpl.js +12 -0
- package/dist/src/api/agentImpl.js.map +1 -1
- package/dist/src/api/config-schema.d.ts +20 -20
- package/dist/src/api/config-schema.js +1 -1
- package/dist/src/api/config-schema.js.map +1 -1
- package/dist/src/api/config-types.d.ts +1 -1
- package/dist/src/api/control/sessionControl.d.ts +205 -18
- package/dist/src/api/control/sessionControl.js +430 -56
- package/dist/src/api/control/sessionControl.js.map +1 -1
- package/dist/src/api/control/toolControl.js +21 -15
- package/dist/src/api/control/toolControl.js.map +1 -1
- package/dist/src/api/discovery.js +23 -1
- package/dist/src/api/discovery.js.map +1 -1
- package/dist/src/api/event-schema.d.ts +16 -0
- package/dist/src/api/event-schema.js +2 -0
- package/dist/src/api/event-schema.js.map +1 -1
- package/dist/src/api/eventAdapter.js +1 -1
- package/dist/src/api/eventAdapter.js.map +1 -1
- package/dist/src/app-services/command-api-map.js +5 -0
- package/dist/src/app-services/command-api-map.js.map +1 -1
- package/dist/src/app-services/memory.js +1 -1
- package/dist/src/app-services/memory.js.map +1 -1
- package/dist/src/compression/CompressionHandler.d.ts +42 -0
- package/dist/src/compression/CompressionHandler.js +129 -27
- package/dist/src/compression/CompressionHandler.js.map +1 -1
- package/dist/src/compression/HighDensityStrategy.d.ts +3 -7
- package/dist/src/compression/HighDensityStrategy.js +18 -28
- package/dist/src/compression/HighDensityStrategy.js.map +1 -1
- package/dist/src/compression/MiddleOutStrategy.d.ts +3 -3
- package/dist/src/compression/MiddleOutStrategy.js +29 -13
- package/dist/src/compression/MiddleOutStrategy.js.map +1 -1
- package/dist/src/compression/OneShotStrategy.d.ts +3 -3
- package/dist/src/compression/OneShotStrategy.js +16 -6
- package/dist/src/compression/OneShotStrategy.js.map +1 -1
- package/dist/src/compression/TopDownTruncationStrategy.d.ts +3 -2
- package/dist/src/compression/TopDownTruncationStrategy.js +15 -18
- package/dist/src/compression/TopDownTruncationStrategy.js.map +1 -1
- package/dist/src/compression/contextOverflowError.d.ts +3 -1
- package/dist/src/compression/contextOverflowError.js +4 -1
- package/dist/src/compression/contextOverflowError.js.map +1 -1
- package/dist/src/compression/pendingContextWindowEnforcement.d.ts +18 -4
- package/dist/src/compression/pendingContextWindowEnforcement.js +84 -2
- package/dist/src/compression/pendingContextWindowEnforcement.js.map +1 -1
- package/dist/src/compression/providerContentEnforcement.d.ts +2 -0
- package/dist/src/compression/providerContentEnforcement.js +55 -2
- package/dist/src/compression/providerContentEnforcement.js.map +1 -1
- package/dist/src/compression/toolResultTruncator.d.ts +109 -0
- package/dist/src/compression/toolResultTruncator.js +387 -0
- package/dist/src/compression/toolResultTruncator.js.map +1 -0
- package/dist/src/compression/utils.js +1 -1
- package/dist/src/compression/utils.js.map +1 -1
- package/dist/src/core/ConversationManager.d.ts +8 -4
- package/dist/src/core/ConversationManager.js +18 -17
- package/dist/src/core/ConversationManager.js.map +1 -1
- package/dist/src/core/MessageStreamOrchestrator.d.ts +0 -1
- package/dist/src/core/MessageStreamOrchestrator.js +27 -50
- package/dist/src/core/MessageStreamOrchestrator.js.map +1 -1
- package/dist/src/core/MessageStreamTerminalHandler.d.ts +0 -1
- package/dist/src/core/MessageStreamTerminalHandler.js +9 -3
- package/dist/src/core/MessageStreamTerminalHandler.js.map +1 -1
- package/dist/src/core/StreamProcessor.js +21 -4
- package/dist/src/core/StreamProcessor.js.map +1 -1
- package/dist/src/core/TodoContinuationService.js +1 -2
- package/dist/src/core/TodoContinuationService.js.map +1 -1
- package/dist/src/core/TokenUsageLogger.d.ts +52 -0
- package/dist/src/core/TokenUsageLogger.js +96 -0
- package/dist/src/core/TokenUsageLogger.js.map +1 -0
- package/dist/src/core/TurnProcessor.js +24 -3
- package/dist/src/core/TurnProcessor.js.map +1 -1
- package/dist/src/core/agenticLoop/AgenticLoop.d.ts +36 -0
- package/dist/src/core/agenticLoop/AgenticLoop.js +97 -13
- package/dist/src/core/agenticLoop/AgenticLoop.js.map +1 -1
- package/dist/src/core/agenticLoop/loopHelpers.d.ts +6 -1
- package/dist/src/core/agenticLoop/loopHelpers.js +16 -2
- package/dist/src/core/agenticLoop/loopHelpers.js.map +1 -1
- package/dist/src/core/agenticLoop/types.d.ts +8 -1
- package/dist/src/core/chatSession.d.ts +5 -0
- package/dist/src/core/chatSession.js +30 -0
- package/dist/src/core/chatSession.js.map +1 -1
- package/dist/src/core/client-test-helpers.js +7 -0
- package/dist/src/core/client-test-helpers.js.map +1 -1
- package/dist/src/core/client.js +1 -1
- package/dist/src/core/client.js.map +1 -1
- package/dist/src/core/clientToolGovernance.js +5 -4
- package/dist/src/core/clientToolGovernance.js.map +1 -1
- package/dist/src/core/coreToolScheduler-test-helpers.d.ts +2 -1
- package/dist/src/core/coreToolScheduler-test-helpers.js +1 -1
- package/dist/src/core/coreToolScheduler-test-helpers.js.map +1 -1
- package/dist/src/core/coreToolScheduler.d.ts +1 -1
- package/dist/src/core/coreToolScheduler.js +5 -5
- package/dist/src/core/coreToolScheduler.js.map +1 -1
- package/dist/src/core/imagePayloadBudget.d.ts +74 -0
- package/dist/src/core/imagePayloadBudget.js +87 -0
- package/dist/src/core/imagePayloadBudget.js.map +1 -0
- package/dist/src/core/messageStreamModelInfo.d.ts +16 -0
- package/dist/src/core/messageStreamModelInfo.js +65 -0
- package/dist/src/core/messageStreamModelInfo.js.map +1 -0
- package/dist/src/core/nonInteractiveToolExecutor.js +1 -1
- package/dist/src/core/nonInteractiveToolExecutor.js.map +1 -1
- package/dist/src/core/schemaDepthErrorEnrichment.js +1 -1
- package/dist/src/core/schemaDepthErrorEnrichment.js.map +1 -1
- package/dist/src/core/streamResponseHelpers.d.ts +6 -15
- package/dist/src/core/streamResponseHelpers.js +85 -13
- package/dist/src/core/streamResponseHelpers.js.map +1 -1
- package/dist/src/core/streamValidationHelpers.js +1 -1
- package/dist/src/core/streamValidationHelpers.js.map +1 -1
- package/dist/src/core/subagentExecution.js +24 -10
- package/dist/src/core/subagentExecution.js.map +1 -1
- package/dist/src/core/subagentRuntimeSetup.js +1 -1
- package/dist/src/core/subagentRuntimeSetup.js.map +1 -1
- package/dist/src/core/subagentToolProcessing.d.ts +1 -1
- package/dist/src/core/subagentToolProcessing.js +18 -3
- package/dist/src/core/subagentToolProcessing.js.map +1 -1
- package/dist/src/core/tokenUsageActualLogger.d.ts +27 -0
- package/dist/src/core/tokenUsageActualLogger.js +23 -0
- package/dist/src/core/tokenUsageActualLogger.js.map +1 -0
- package/dist/src/core/tokenUsageEstimateLogger.d.ts +20 -0
- package/dist/src/core/tokenUsageEstimateLogger.js +71 -0
- package/dist/src/core/tokenUsageEstimateLogger.js.map +1 -0
- package/dist/src/core/turn-test-helpers.d.ts +1 -0
- package/dist/src/core/turn-test-helpers.js +1 -1
- package/dist/src/core/turn-test-helpers.js.map +1 -1
- package/dist/src/core/turn.d.ts +3 -10
- package/dist/src/core/turn.js +33 -63
- package/dist/src/core/turn.js.map +1 -1
- package/dist/src/core/turnCitations.d.ts +17 -0
- package/dist/src/core/turnCitations.js +52 -0
- package/dist/src/core/turnCitations.js.map +1 -0
- package/dist/src/scheduler/confirmation-coordinator.d.ts +1 -1
- package/dist/src/scheduler/confirmation-coordinator.js +1 -1
- package/dist/src/scheduler/confirmation-coordinator.js.map +1 -1
- package/dist/src/scheduler/result-aggregator.js +1 -1
- package/dist/src/scheduler/result-aggregator.js.map +1 -1
- package/dist/src/scheduler/status-transitions.js +1 -1
- package/dist/src/scheduler/status-transitions.js.map +1 -1
- package/dist/src/scheduler/tool-dispatcher.js +1 -1
- package/dist/src/scheduler/tool-dispatcher.js.map +1 -1
- package/dist/src/scheduler/tool-executor.d.ts +2 -2
- package/dist/src/scheduler/tool-executor.js +2 -2
- package/dist/src/scheduler/tool-executor.js.map +1 -1
- package/dist/src/tools/task.d.ts +4 -2
- package/dist/src/tools/task.js +78 -66
- package/dist/src/tools/task.js.map +1 -1
- package/dist/src/tools/taskAsyncExecution.d.ts +3 -3
- package/dist/src/tools/taskAsyncExecution.js +9 -5
- package/dist/src/tools/taskAsyncExecution.js.map +1 -1
- package/dist/src/tools/taskResultHelpers.js +1 -1
- package/dist/src/tools/taskResultHelpers.js.map +1 -1
- package/dist/src/tools/taskToolGovernance.d.ts +24 -0
- package/dist/src/tools/taskToolGovernance.js +72 -1
- package/dist/src/tools/taskToolGovernance.js.map +1 -1
- package/package.json +8 -8
- package/src/agents/executor-test-helpers.ts +2 -2
- package/src/agents/executor-tool-dispatch.ts +26 -0
- package/src/agents/executor-validation.ts +7 -9
- package/src/agents/invocation.ts +8 -4
- package/src/api/agent.ts +22 -2
- package/src/api/agentImpl.ts +13 -0
- package/src/api/config-schema.ts +1 -1
- package/src/api/config-types.ts +1 -1
- package/src/api/control/sessionControl.ts +454 -57
- package/src/api/control/toolControl.ts +25 -16
- package/src/api/discovery.ts +23 -25
- package/src/api/event-schema.ts +2 -0
- package/src/api/eventAdapter.ts +1 -1
- package/src/app-services/command-api-map.ts +21 -0
- package/src/app-services/memory.ts +1 -1
- package/src/compression/CompressionHandler.ts +204 -44
- package/src/compression/HighDensityStrategy.ts +24 -34
- package/src/compression/MiddleOutStrategy.ts +49 -21
- package/src/compression/OneShotStrategy.ts +25 -9
- package/src/compression/TopDownTruncationStrategy.ts +24 -20
- package/src/compression/contextOverflowError.ts +9 -0
- package/src/compression/pendingContextWindowEnforcement.ts +162 -8
- package/src/compression/providerContentEnforcement.ts +109 -1
- package/src/compression/toolResultTruncator.ts +718 -0
- package/src/compression/utils.ts +1 -1
- package/src/core/ConversationManager.ts +31 -17
- package/src/core/MessageStreamOrchestrator.ts +38 -62
- package/src/core/MessageStreamTerminalHandler.ts +14 -4
- package/src/core/StreamProcessor.ts +28 -4
- package/src/core/TodoContinuationService.ts +0 -1
- package/src/core/TokenUsageLogger.ts +150 -0
- package/src/core/TurnProcessor.ts +41 -3
- package/src/core/agenticLoop/AgenticLoop.ts +115 -19
- package/src/core/agenticLoop/loopHelpers.ts +22 -1
- package/src/core/agenticLoop/types.ts +8 -1
- package/src/core/chatSession.ts +40 -0
- package/src/core/client-test-helpers.ts +7 -0
- package/src/core/client.ts +1 -1
- package/src/core/clientToolGovernance.ts +5 -4
- package/src/core/coreToolScheduler-test-helpers.ts +2 -0
- package/src/core/coreToolScheduler.ts +6 -6
- package/src/core/imagePayloadBudget.ts +162 -0
- package/src/core/messageStreamModelInfo.ts +84 -0
- package/src/core/nonInteractiveToolExecutor.ts +1 -1
- package/src/core/schemaDepthErrorEnrichment.ts +1 -1
- package/src/core/streamResponseHelpers.ts +126 -14
- package/src/core/streamValidationHelpers.ts +1 -1
- package/src/core/subagentExecution.ts +27 -14
- package/src/core/subagentRuntimeSetup.ts +1 -1
- package/src/core/subagentToolProcessing.ts +31 -3
- package/src/core/tokenUsageActualLogger.ts +49 -0
- package/src/core/tokenUsageEstimateLogger.ts +107 -0
- package/src/core/turn-test-helpers.ts +3 -1
- package/src/core/turn.ts +70 -82
- package/src/core/turnCitations.ts +66 -0
- package/src/scheduler/confirmation-coordinator.ts +2 -2
- package/src/scheduler/result-aggregator.ts +1 -1
- package/src/scheduler/status-transitions.ts +1 -1
- package/src/scheduler/tool-dispatcher.ts +1 -1
- package/src/scheduler/tool-executor.ts +4 -4
- package/src/tools/task.ts +97 -84
- package/src/tools/taskAsyncExecution.ts +12 -8
- package/src/tools/taskResultHelpers.ts +2 -1
- package/src/tools/taskToolGovernance.ts +89 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-schema.js","sourceRoot":"","sources":["../../../src/api/config-schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,gBAAgB,GAEjB,MAAM,8CAA8C,CAAC;AAYtD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC9B,CAAC;KACD,MAAM,EAAE,CAAC;AAEZ;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC;KAC5C,MAAM,CAAC;IACN,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,YAAY,EAAE,CAAC;SACZ,MAAM,CAAC;QACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,OAAO,EAA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EAAE;IAClC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACzC,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,WAAW,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACnC,GAAG,EAAE,eAAe,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACrD,OAAO,EAAE,kBAAkB,CAAC,QAAQ,EAAE;IACtC;;;OAGG;IACH,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC3C,CAAC;KACD,MAAM,EAAE,CAAC"}
|
|
@@ -127,7 +127,7 @@ export interface AgentMcpServerConfig {
|
|
|
127
127
|
readonly httpUrl?: string;
|
|
128
128
|
readonly headers?: Readonly<Record<string, string>>;
|
|
129
129
|
readonly tcp?: string;
|
|
130
|
-
readonly type?: 'sse' | 'http';
|
|
130
|
+
readonly type?: 'sse' | 'http' | 'streamable-http';
|
|
131
131
|
readonly timeout?: number;
|
|
132
132
|
readonly trust?: boolean;
|
|
133
133
|
readonly description?: string;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright 2025 Vybestack LLC
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
+
import type { IContent } from '@vybestack/llxprt-code-core/services/history/IContent.js';
|
|
6
7
|
import type { Config } from '@vybestack/llxprt-code-core/config/config.js';
|
|
7
8
|
import type { AgentClientContract } from '@vybestack/llxprt-code-core/core/clientContract.js';
|
|
8
9
|
import type { AgentSessionControl, SessionCheckpoint, SessionRecordingState } from '../agent.js';
|
|
@@ -42,6 +43,18 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
42
43
|
* @requirement:REQ-010
|
|
43
44
|
*/
|
|
44
45
|
private recording;
|
|
46
|
+
/**
|
|
47
|
+
* The live RecordingIntegration bridging the client's HistoryService
|
|
48
|
+
* 'contentAdded'/compression events onto the active recording service, or
|
|
49
|
+
* null when recording is disabled. This is what makes recording CONTINUOUS
|
|
50
|
+
* (every subsequent turn is appended) rather than a one-shot snapshot. It is
|
|
51
|
+
* created + subscribed by startRecording/resume and disposed (unsubscribed)
|
|
52
|
+
* by releaseRecording so no history-event listener leaks past a stop/resume/
|
|
53
|
+
* dispose.
|
|
54
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
55
|
+
* @requirement:REQ-010
|
|
56
|
+
*/
|
|
57
|
+
private integration;
|
|
45
58
|
/**
|
|
46
59
|
* The on-disk session lock acquired by a successful resume, or null when no
|
|
47
60
|
* resume holds a lock. Released (and cleared) when a new resume replaces it,
|
|
@@ -50,7 +63,42 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
50
63
|
* @requirement:REQ-010
|
|
51
64
|
*/
|
|
52
65
|
private currentLockHandle;
|
|
66
|
+
/**
|
|
67
|
+
* Promise-chain mutex (FINDING A1) serializing the state-mutating public
|
|
68
|
+
* operations (resume, setRecording enable/disable, dispose) so they never
|
|
69
|
+
* interleave their multi-await recording/integration/lock swaps. Without it a
|
|
70
|
+
* concurrent resume()/setRecording()/dispose() could adopt+dispose the same
|
|
71
|
+
* recording service or session lock across each other's await points
|
|
72
|
+
* (use-after-free / orphaned lock). runExclusive chains onto this so each op
|
|
73
|
+
* runs strictly after the prior one settles; it always settles (never
|
|
74
|
+
* rejects) so a failed op cannot poison the chain for the next caller.
|
|
75
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
76
|
+
* @requirement:REQ-010
|
|
77
|
+
*/
|
|
78
|
+
private opChain;
|
|
79
|
+
/**
|
|
80
|
+
* True when {@link integration} is committed as the live integration but its
|
|
81
|
+
* subscription to the client HistoryService could not be established yet (the
|
|
82
|
+
* HistoryService was unavailable at attach time), so continuous recording is
|
|
83
|
+
* currently dead (FINDING A3). The next state-mutating operation re-attempts
|
|
84
|
+
* the subscription via {@link ensureSubscribed}; cleared once subscribed or
|
|
85
|
+
* when the integration is disposed.
|
|
86
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
87
|
+
* @requirement:REQ-010
|
|
88
|
+
*/
|
|
89
|
+
private integrationNeedsSubscribe;
|
|
53
90
|
constructor(deps: SessionControlDeps);
|
|
91
|
+
/**
|
|
92
|
+
* Runs `fn` under the {@link opChain} serializer (FINDING A1) so the
|
|
93
|
+
* state-mutating public operations execute strictly one-at-a-time. The chain
|
|
94
|
+
* link is made to always settle (errors swallowed for the CHAIN only) so a
|
|
95
|
+
* rejected operation does not break serialization for the next caller, while
|
|
96
|
+
* the caller of runExclusive still receives the real result/rejection of its
|
|
97
|
+
* own `fn`.
|
|
98
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
99
|
+
* @requirement:REQ-010
|
|
100
|
+
*/
|
|
101
|
+
private runExclusive;
|
|
54
102
|
/**
|
|
55
103
|
* Resumes a previously recorded session via the core resumeSession flow.
|
|
56
104
|
* `target:'latest'` resolves to CONTINUE_LATEST; any other target is a
|
|
@@ -58,21 +106,115 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
58
106
|
* core SessionDiscovery resolves). On success the returned recording service
|
|
59
107
|
* is adopted as the live recording (installed on Config as the active
|
|
60
108
|
* recording, same swap semantics as setRecording) and the returned session
|
|
61
|
-
* lock is retained
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* the resumed resources leak on any path. On failure a clear typed Error is
|
|
109
|
+
* lock is retained. The resumed resources remain local while the prior
|
|
110
|
+
* recording service and session lock are released and the reconstructed
|
|
111
|
+
* IContent history is fed through the client restore path. Only after the new
|
|
112
|
+
* integration subscribes successfully are the recording and lock committed to
|
|
113
|
+
* the instance fields; every earlier failure disposes/releases the locals, so
|
|
114
|
+
* neither the prior nor the resumed resources leak on any path. On failure a
|
|
115
|
+
* clear typed Error is
|
|
69
116
|
* thrown carrying the core error (never a not-implemented signal).
|
|
117
|
+
*
|
|
118
|
+
* After the resumed history is restored into the client, a fresh
|
|
119
|
+
* RecordingIntegration is subscribed to the client's HistoryService so
|
|
120
|
+
* post-resume turns keep appending to the resumed JSONL file (continuous
|
|
121
|
+
* recording across the resume boundary). The prior integration (if any) is
|
|
122
|
+
* disposed alongside the prior recording so no history-event listener leaks.
|
|
123
|
+
*
|
|
124
|
+
* Returns the reconstructed IContent[] history so callers that need to replay
|
|
125
|
+
* the restored conversation (e.g. the Zed ACP loadSession path streaming
|
|
126
|
+
* session/update notifications) can consume it directly WITHOUT a lossy
|
|
127
|
+
* getHistory() Gemini Content[] round-trip. Callers that ignore the return
|
|
128
|
+
* value remain source-compatible.
|
|
70
129
|
* @plan:PLAN-20260617-COREAPI.P20
|
|
71
130
|
* @requirement:REQ-010
|
|
72
131
|
*/
|
|
73
132
|
resume(target: 'latest' | string, _options?: {
|
|
74
133
|
readonly prefix?: boolean;
|
|
75
|
-
}): Promise<
|
|
134
|
+
}): Promise<readonly IContent[]>;
|
|
135
|
+
/**
|
|
136
|
+
* The serialized resume body (runs inside {@link runExclusive}). Ordering is
|
|
137
|
+
* failure-safe (FINDINGS A2/A3):
|
|
138
|
+
*
|
|
139
|
+
* 1. ensureSubscribed() first re-attempts any previously-dead integration
|
|
140
|
+
* subscription (A3) so a resume that follows a null-history enable does not
|
|
141
|
+
* start from a silently-dead recording.
|
|
142
|
+
* 2. resumeSession() builds the resumed recording (already seeded with the
|
|
143
|
+
* resumed history) + acquires its session lock. These are held in LOCALS,
|
|
144
|
+
* NOT committed to the instance fields yet.
|
|
145
|
+
* 3. The PRIOR integration is disposed (unsubscribed) BEFORE restoreHistory so
|
|
146
|
+
* the restoreHistory-driven 'contentAdded' events (HistoryService.addAll
|
|
147
|
+
* emits one per item) are NOT double-recorded into the prior file; the
|
|
148
|
+
* prior recording service + lock are torn down here too. A prior-teardown
|
|
149
|
+
* failure releases the freshly-acquired resumed resources and rethrows so
|
|
150
|
+
* nothing leaks (mirrors the old FINDING F7 surface-first ordering).
|
|
151
|
+
* 4. restoreHistory() runs with NO integration subscribed (prior disposed,
|
|
152
|
+
* resumed not yet subscribed) so the resumed items — already in the resumed
|
|
153
|
+
* recording file — are not re-recorded.
|
|
154
|
+
* 5. A fresh integration is built + subscribed BEFORE committing the fields /
|
|
155
|
+
* Config (FINDING A2, mirroring the startRecording F8 ordering). Only after
|
|
156
|
+
* a successful subscribe are this.recording / Config / this.integration /
|
|
157
|
+
* the lock committed. On subscribe failure the resumed recording + lock are
|
|
158
|
+
* disposed/released and the fields are left CLEANLY DISABLED (Config is NOT
|
|
159
|
+
* left pointing at the resumed service, no lock file leaks) — half-enabled
|
|
160
|
+
* recording (turns silently dropped) can no longer occur.
|
|
161
|
+
*
|
|
162
|
+
* Prior state cannot be "left intact" on a late failure because step 3 must
|
|
163
|
+
* tear it down early to avoid the restoreHistory double-record; the safe
|
|
164
|
+
* fallback is therefore a clean DISABLED state, never a stale reference to a
|
|
165
|
+
* disposed service/lock.
|
|
166
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
167
|
+
* @requirement:REQ-010
|
|
168
|
+
*/
|
|
169
|
+
private resumeInternal;
|
|
170
|
+
/**
|
|
171
|
+
* Disposes the prior integration (unsubscribing it so an imminent
|
|
172
|
+
* restoreHistory does not double-record into the prior file), then disposes
|
|
173
|
+
* the prior recording service and releases the prior session lock, clearing
|
|
174
|
+
* all three fields. Each step is guarded so a single failure does not skip the
|
|
175
|
+
* others; the first collected failure is rethrown so the caller (resumeInternal)
|
|
176
|
+
* can release the freshly acquired resumed resources and surface the failure.
|
|
177
|
+
* The fields are cleared to null up front so that even on a partial-teardown
|
|
178
|
+
* throw no field is left referencing a disposed/released resource.
|
|
179
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
180
|
+
* @requirement:REQ-010
|
|
181
|
+
*/
|
|
182
|
+
private teardownPriorBeforeResume;
|
|
183
|
+
/**
|
|
184
|
+
* Re-attempts a previously-deferred integration subscription (FINDING A3).
|
|
185
|
+
* When a prior startRecording/resume committed an integration but could not
|
|
186
|
+
* subscribe it (the client HistoryService was unavailable at attach time,
|
|
187
|
+
* leaving continuous recording dead), the next state-mutating operation calls
|
|
188
|
+
* this at its start (inside {@link runExclusive}) to re-attach it now that the
|
|
189
|
+
* HistoryService may exist. No-op when nothing is pending or the service is
|
|
190
|
+
* still unavailable (the flag is kept for a later attempt). A subscribe throw
|
|
191
|
+
* is self-healing: the dead integration is disposed + cleared and the flag
|
|
192
|
+
* reset so the operation can proceed to build a fresh subscription rather than
|
|
193
|
+
* failing permanently on a poisoned listener.
|
|
194
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
195
|
+
* @requirement:REQ-010
|
|
196
|
+
*/
|
|
197
|
+
private ensureSubscribed;
|
|
198
|
+
/** Best-effort integration dispose for failure/rollback paths. */
|
|
199
|
+
private disposeIntegrationQuietly;
|
|
200
|
+
/**
|
|
201
|
+
* Best-effort dispose of a recording service on a resume failure/rollback
|
|
202
|
+
* path, swallowing any dispose error (the original failure is the one to
|
|
203
|
+
* surface). Used only for the freshly acquired resumed service that is NOT yet
|
|
204
|
+
* committed to the instance fields.
|
|
205
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
206
|
+
* @requirement:REQ-010
|
|
207
|
+
*/
|
|
208
|
+
private disposeServiceQuietly;
|
|
209
|
+
/**
|
|
210
|
+
* Best-effort release of a session lock on a resume failure/rollback path,
|
|
211
|
+
* swallowing any release error. Used only for the freshly acquired resumed
|
|
212
|
+
* lock that is NOT yet committed to the instance fields, so the on-disk lock
|
|
213
|
+
* file is removed even when the resume is aborted.
|
|
214
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
215
|
+
* @requirement:REQ-010
|
|
216
|
+
*/
|
|
217
|
+
private releaseLockQuietly;
|
|
76
218
|
/**
|
|
77
219
|
* Creates a checkpoint of the live conversation history. The live history is
|
|
78
220
|
* obtained via the client's getHistory() (which returns Gemini Content[]) and
|
|
@@ -121,15 +263,46 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
121
263
|
getRecording(): SessionRecordingState;
|
|
122
264
|
/**
|
|
123
265
|
* Starts a fresh recording service for this session, replacing any prior one
|
|
124
|
-
* (the prior service
|
|
125
|
-
* recorded as content events so the file materializes and
|
|
126
|
-
* is defined. The freshly built service is installed on
|
|
127
|
-
* setSessionRecordingService so the rest of the system (which reads
|
|
128
|
-
* recording via config.getSessionRecordingService) observes the
|
|
266
|
+
* (the prior service + integration are flushed + disposed first). The current
|
|
267
|
+
* history is recorded as content events so the file materializes and
|
|
268
|
+
* getRecording().path is defined. The freshly built service is installed on
|
|
269
|
+
* Config via setSessionRecordingService so the rest of the system (which reads
|
|
270
|
+
* the active recording via config.getSessionRecordingService) observes the
|
|
271
|
+
* swap. A RecordingIntegration is then subscribed to the client's
|
|
272
|
+
* HistoryService so EVERY subsequent turn's 'contentAdded' event is appended
|
|
273
|
+
* to the JSONL file — this is what makes recording continuous rather than a
|
|
274
|
+
* one-shot snapshot.
|
|
275
|
+
*
|
|
276
|
+
* HistoryService availability: the agents-package client eagerly creates +
|
|
277
|
+
* stores a HistoryService at construction (storeHistoryServiceForReuse) and
|
|
278
|
+
* reuses that SAME instance across turns (createChatSessionSafe reuses the
|
|
279
|
+
* stored service), so getHistoryService() is non-null here and the single
|
|
280
|
+
* subscription established now captures all future turns. If it is
|
|
281
|
+
* nonetheless null at this moment (no client/chat), the integration is still
|
|
282
|
+
* created and Config still owns the service; the subscription is deferred
|
|
283
|
+
* (integrationNeedsSubscribe) and the next startRecording/resume re-attempts
|
|
284
|
+
* it via {@link ensureSubscribed} (FINDING A3).
|
|
285
|
+
*
|
|
286
|
+
* Called only from within {@link runExclusive} (via setRecording), so it is
|
|
287
|
+
* already serialized against resume/dispose.
|
|
129
288
|
* @plan:PLAN-20260617-COREAPI.P20
|
|
130
289
|
* @requirement:REQ-010
|
|
131
290
|
*/
|
|
132
291
|
private startRecording;
|
|
292
|
+
/**
|
|
293
|
+
* Subscribes `integration` to the client's HistoryService so future
|
|
294
|
+
* 'contentAdded'/compression events are appended continuously; when no
|
|
295
|
+
* HistoryService is available yet the integration is left unsubscribed and a
|
|
296
|
+
* warning is logged (a later start/resume re-attempts the subscription via
|
|
297
|
+
* {@link ensureSubscribed}, FINDING A3). Pure attach step shared by
|
|
298
|
+
* startRecording and resumeInternal; it commits NO instance state so callers
|
|
299
|
+
* control ownership/rollback. Returns true when the subscription was
|
|
300
|
+
* established, false when it was deferred (no HistoryService yet) so the
|
|
301
|
+
* caller can set integrationNeedsSubscribe.
|
|
302
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
303
|
+
* @requirement:REQ-010
|
|
304
|
+
*/
|
|
305
|
+
private attachIntegrationToHistory;
|
|
133
306
|
/**
|
|
134
307
|
* Flushes + disposes the live recording service (if any), clears it from
|
|
135
308
|
* Config (so the system no longer sees an active recording), and releases any
|
|
@@ -140,8 +313,11 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
140
313
|
*/
|
|
141
314
|
private stopRecording;
|
|
142
315
|
/**
|
|
143
|
-
* Disposes the live
|
|
144
|
-
*
|
|
316
|
+
* Disposes the live RecordingIntegration (unsubscribing its HistoryService
|
|
317
|
+
* listeners) and the live recording service (if any), clears the private
|
|
318
|
+
* fields, and clears the service from Config. The integration is disposed
|
|
319
|
+
* FIRST so no 'contentAdded' event can reach a service mid-disposal. No-op
|
|
320
|
+
* when no recording is active.
|
|
145
321
|
* @plan:PLAN-20260617-COREAPI.P20
|
|
146
322
|
* @requirement:REQ-010
|
|
147
323
|
*/
|
|
@@ -160,6 +336,14 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
160
336
|
* @requirement:REQ-010
|
|
161
337
|
*/
|
|
162
338
|
private guard;
|
|
339
|
+
/**
|
|
340
|
+
* Synchronous variant of {@link guard} for non-awaitable teardown/subscription
|
|
341
|
+
* steps (integration dispose/subscribe) so a single failure is collected
|
|
342
|
+
* rather than short-circuiting the remaining steps.
|
|
343
|
+
* @plan:PLAN-20260617-COREAPI.P20
|
|
344
|
+
* @requirement:REQ-010
|
|
345
|
+
*/
|
|
346
|
+
private guardSync;
|
|
163
347
|
/**
|
|
164
348
|
* Disposes the active recording service (if any) and releases the held
|
|
165
349
|
* session lock (if any) on agent teardown. Each step is guarded so a single
|
|
@@ -221,9 +405,12 @@ export declare class SessionControl implements AgentSessionControl {
|
|
|
221
405
|
* @requirement:REQ-010
|
|
222
406
|
*/
|
|
223
407
|
private safeReadDir;
|
|
408
|
+
private persistenceProjectHash;
|
|
224
409
|
/**
|
|
225
|
-
*
|
|
226
|
-
*
|
|
410
|
+
* The chats directory (where session recordings live), delegated to
|
|
411
|
+
* Storage.getProjectChatsDir() — the single source of truth every
|
|
412
|
+
* reader/prober shares, so the recording writer and the probes can never
|
|
413
|
+
* drift apart on the location.
|
|
227
414
|
* @plan:PLAN-20260617-COREAPI.P20
|
|
228
415
|
* @requirement:REQ-010
|
|
229
416
|
*/
|