@nextclaw/kernel 0.19.2 → 0.19.4
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/app/worker/index.d.ts +2 -2
- package/dist/app/worker/index.js +3 -2
- package/dist/{automatic-update-check.utils-C6lQfErN.d.ts → automatic-update-check.utils-8_3eYuwY.d.ts} +1 -1
- package/dist/{automatic-update-check.utils-C6lQfErN.d.ts.map → automatic-update-check.utils-8_3eYuwY.d.ts.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +651 -1510
- package/dist/index.js.map +1 -1
- package/dist/ncp-agent-session-journal-entry.utils-Dh0Ck_oW.js +112 -0
- package/dist/ncp-agent-session-journal-entry.utils-Dh0Ck_oW.js.map +1 -0
- package/dist/ncp-agent-session-journal.utils-B7a_PKCq.js +1457 -0
- package/dist/ncp-agent-session-journal.utils-B7a_PKCq.js.map +1 -0
- package/dist/ncp-agent-session-message-projection-tail.store-5sjmoFxv.js +117 -0
- package/dist/ncp-agent-session-message-projection-tail.store-5sjmoFxv.js.map +1 -0
- package/dist/{nextclaw-harness.manager-GK_qgrlk.d.ts → nextclaw-harness.manager-j0JHST4g.d.ts} +348 -80
- package/dist/nextclaw-harness.manager-j0JHST4g.d.ts.map +1 -0
- package/dist/{nextclaw-harness.manager-toewDc-x.js → nextclaw-harness.manager-mJToWeCB.js} +1877 -1579
- package/dist/nextclaw-harness.manager-mJToWeCB.js.map +1 -0
- package/dist/session-journal-delta-coalescer.utils-CI-N-Zpj.js +25 -0
- package/dist/session-journal-delta-coalescer.utils-CI-N-Zpj.js.map +1 -0
- package/dist/session-journal-maintenance.store-DrZMlaxf.js +621 -0
- package/dist/session-journal-maintenance.store-DrZMlaxf.js.map +1 -0
- package/dist/session-journal-stream.utils-CupSA3YS.js +207 -0
- package/dist/session-journal-stream.utils-CupSA3YS.js.map +1 -0
- package/dist/types/update-contract.types.d.ts +1 -1
- package/dist/types/update-contract.types.js +1 -1
- package/dist/{update-manifest.types-CBp2VTM1.js → update-manifest.types-DUocefbs.js} +1 -1
- package/dist/{update-manifest.types-CBp2VTM1.js.map → update-manifest.types-DUocefbs.js.map} +1 -1
- package/dist/{update-manifest.types-C_60CVvw.d.ts → update-manifest.types-Dijq24Om.d.ts} +1 -1
- package/dist/{update-manifest.types-C_60CVvw.d.ts.map → update-manifest.types-Dijq24Om.d.ts.map} +1 -1
- package/dist/utils/automatic-update-check.utils.d.ts +1 -1
- package/package.json +12 -9
- package/dist/nextclaw-harness.manager-GK_qgrlk.d.ts.map +0 -1
- package/dist/nextclaw-harness.manager-toewDc-x.js.map +0 -1
package/dist/{nextclaw-harness.manager-GK_qgrlk.d.ts → nextclaw-harness.manager-j0JHST4g.d.ts}
RENAMED
|
@@ -9,8 +9,8 @@ import { ListMessagesOptions, ListSessionsOptions, ModelInputTail, ModelInputTai
|
|
|
9
9
|
import * as _$_nextclaw_mcp0 from "@nextclaw/mcp";
|
|
10
10
|
import { McpCatalogFilter, McpCatalogFilter as McpCatalogFilter$1, McpRegistryService, McpServerRecord, McpServerRecord as McpServerRecord$1, McpToolCatalogEntry, McpToolCatalogEntry as McpToolCatalogEntry$1 } from "@nextclaw/mcp";
|
|
11
11
|
import { AgentSessionRecord, ChatTarget, NcpReplyInput, RuntimeFactoryParams } from "@nextclaw/ncp-toolkit";
|
|
12
|
-
import { ContextCompactionPhase, ContextCompactionPlan, ContextWindowSnapshot as ContextWindowSnapshot$1, buildCompressingCompactionCheckpoint } from "@nextclaw/core/context-compaction";
|
|
13
|
-
import { ContextCompactionCheckpoint } from "@nextclaw/core/context-compaction-checkpoint";
|
|
12
|
+
import { ContextCompactionCheckpoint, ContextCompactionPhase, ContextCompactionPlan, ContextWindowBudgetEvaluation, ContextWindowSnapshot as ContextWindowSnapshot$1, buildCompressingCompactionCheckpoint } from "@nextclaw/core/context-compaction";
|
|
13
|
+
import { ContextCompactionCheckpoint as ContextCompactionCheckpoint$1 } from "@nextclaw/core/context-compaction-checkpoint";
|
|
14
14
|
//#region src/managers/agent.manager.d.ts
|
|
15
15
|
type ResolvedAgentProfile = EffectiveAgentProfile & {
|
|
16
16
|
contextTokens: number;
|
|
@@ -50,72 +50,6 @@ declare class AgentManager {
|
|
|
50
50
|
private resolveAgentProfileFromConfig;
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
|
-
//#region src/managers/llm-provider.manager.d.ts
|
|
54
|
-
type ProviderChatParams = {
|
|
55
|
-
messages: Array<Record<string, unknown>>;
|
|
56
|
-
tools?: Array<Record<string, unknown>>;
|
|
57
|
-
model?: string | null;
|
|
58
|
-
maxTokens?: number;
|
|
59
|
-
thinkingLevel?: ThinkingLevel | null;
|
|
60
|
-
sessionId?: string;
|
|
61
|
-
requestId?: string;
|
|
62
|
-
signal?: AbortSignal;
|
|
63
|
-
};
|
|
64
|
-
type LlmProviderRuntime = {
|
|
65
|
-
get: (model?: string | null) => LLMProvider;
|
|
66
|
-
chat: (params: ProviderChatParams) => Promise<LLMResponse>;
|
|
67
|
-
chatStream: (params: ProviderChatParams) => AsyncGenerator<LLMStreamEvent>;
|
|
68
|
-
};
|
|
69
|
-
type ProviderConnectionTestInput = {
|
|
70
|
-
providerName: string | null;
|
|
71
|
-
apiKey?: string | null;
|
|
72
|
-
apiBase?: string | null;
|
|
73
|
-
defaultModel: string;
|
|
74
|
-
extraHeaders?: Record<string, string> | null;
|
|
75
|
-
wireApi?: "auto" | "chat" | "responses" | null;
|
|
76
|
-
messages: Array<Record<string, unknown>>;
|
|
77
|
-
maxTokens?: number;
|
|
78
|
-
signal?: AbortSignal;
|
|
79
|
-
};
|
|
80
|
-
type ProviderModelsDiscoverInput = {
|
|
81
|
-
providerName: string | null;
|
|
82
|
-
apiKey?: string | null;
|
|
83
|
-
apiBase?: string | null;
|
|
84
|
-
extraHeaders?: Record<string, string> | null;
|
|
85
|
-
signal?: AbortSignal;
|
|
86
|
-
};
|
|
87
|
-
declare class LlmProviderManager {
|
|
88
|
-
private readonly providerRegistry;
|
|
89
|
-
private readonly contributedProviderPlugins;
|
|
90
|
-
private readonly providerModelDiscovery;
|
|
91
|
-
private readonly providerPool;
|
|
92
|
-
private readonly missingProvider;
|
|
93
|
-
private config;
|
|
94
|
-
constructor();
|
|
95
|
-
registerProviderPlugin: (plugin: ProviderCatalogPlugin) => (() => void);
|
|
96
|
-
listProviderSpecs: () => readonly ProviderSpec[];
|
|
97
|
-
load: (config: Config) => void;
|
|
98
|
-
get: (model?: string | null) => LLMProvider;
|
|
99
|
-
readonly chat: (params: ProviderChatParams) => Promise<LLMResponse>;
|
|
100
|
-
readonly chatStream: (this: LlmProviderManager, params: ProviderChatParams) => AsyncGenerator<LLMStreamEvent>;
|
|
101
|
-
readonly testConnection: (input: ProviderConnectionTestInput) => Promise<void>;
|
|
102
|
-
supportsModelDiscovery: (providerName: string | null) => boolean;
|
|
103
|
-
discoverModels: (input: ProviderModelsDiscoverInput) => Promise<ProviderModelDiscoveryResult>;
|
|
104
|
-
private refreshProviderRegistry;
|
|
105
|
-
private resolveRoute;
|
|
106
|
-
private resolveProvider;
|
|
107
|
-
private matchPrefixedProvider;
|
|
108
|
-
private resolveProviderType;
|
|
109
|
-
private resolveProviderApiKey;
|
|
110
|
-
private rewriteModelForTemplate;
|
|
111
|
-
private normalizeProviderModelConfigForRoute;
|
|
112
|
-
private getOrCreateProvider;
|
|
113
|
-
private createProvider;
|
|
114
|
-
private prepareMessagesForProvider;
|
|
115
|
-
private buildRequestHeaders;
|
|
116
|
-
private buildCacheKey;
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
53
|
//#region src/utils/ncp-agent-session-replay.utils.d.ts
|
|
120
54
|
declare class SessionEventReplayer {
|
|
121
55
|
private readonly context;
|
|
@@ -244,6 +178,7 @@ interface SessionPersistence {
|
|
|
244
178
|
appendSessionEvent(params: {
|
|
245
179
|
sessionId: string;
|
|
246
180
|
event: NcpAgentSessionJournalReplayEvent;
|
|
181
|
+
signal?: AbortSignal;
|
|
247
182
|
}): Promise<void>;
|
|
248
183
|
importSessionSnapshot(record: AgentSessionRecord): Promise<void>;
|
|
249
184
|
getSession(sessionId: string): Promise<AgentSessionRecord | null>;
|
|
@@ -257,6 +192,21 @@ interface SessionPersistence {
|
|
|
257
192
|
total: number;
|
|
258
193
|
}>;
|
|
259
194
|
listSessionMessages(sessionId: string): Promise<NcpMessage[]>;
|
|
195
|
+
findSessionMessageByIngressKey?(sessionId: string, key: string): Promise<NcpMessage | null>;
|
|
196
|
+
loadSessionRunSeed?(sessionId: string): Promise<NcpMessage[]>;
|
|
197
|
+
prepareSessionHistory?(sessionId: string, options?: {
|
|
198
|
+
retry?: boolean;
|
|
199
|
+
wait?: boolean;
|
|
200
|
+
}): Promise<SessionHistoryPreparation | null>;
|
|
201
|
+
cancelSessionHistoryPreparation?(sessionId: string): boolean;
|
|
202
|
+
listSessionQuestionMessages?(sessionId: string, questionId?: string): Promise<NcpMessage[]>;
|
|
203
|
+
captureCompactionSource?(sessionId: string, messageIds: readonly string[]): Promise<NonNullable<ContextCompactionCheckpoint["source"]>>;
|
|
204
|
+
readSessionMessagePart?(params: {
|
|
205
|
+
sessionId: string;
|
|
206
|
+
messageId: string;
|
|
207
|
+
part: number;
|
|
208
|
+
cursor?: string;
|
|
209
|
+
}): Promise<SessionMessagePart | null>;
|
|
260
210
|
listSessionMessagePage(params: {
|
|
261
211
|
sessionId: string;
|
|
262
212
|
limit: number;
|
|
@@ -278,6 +228,23 @@ type SessionMessagePage = {
|
|
|
278
228
|
total: number;
|
|
279
229
|
pageInfo: NcpSessionMessagePageInfo;
|
|
280
230
|
contextWindow: Record<string, unknown> | null;
|
|
231
|
+
preparation?: SessionHistoryPreparation;
|
|
232
|
+
};
|
|
233
|
+
type SessionHistoryPreparation = {
|
|
234
|
+
status: "queued" | "preparing" | "ready" | "failed" | "cancelled";
|
|
235
|
+
processedBytes: number;
|
|
236
|
+
totalBytes: number;
|
|
237
|
+
error?: string;
|
|
238
|
+
};
|
|
239
|
+
type SessionMessagePart = {
|
|
240
|
+
sessionId: string;
|
|
241
|
+
messageId: string;
|
|
242
|
+
part: number;
|
|
243
|
+
revision: string;
|
|
244
|
+
chunk: number;
|
|
245
|
+
format: "json-fragment";
|
|
246
|
+
content: string;
|
|
247
|
+
nextCursor: string | null;
|
|
281
248
|
};
|
|
282
249
|
type SessionTokenUsageStatus = "reported" | "partial" | "unavailable";
|
|
283
250
|
type SessionTokenUsageTotals = {
|
|
@@ -350,6 +317,72 @@ declare class SessionSettingsError extends Error {
|
|
|
350
317
|
}
|
|
351
318
|
declare function isSessionSettingsError(error: unknown): error is SessionSettingsError;
|
|
352
319
|
//#endregion
|
|
320
|
+
//#region src/managers/llm-provider.manager.d.ts
|
|
321
|
+
type ProviderChatParams = {
|
|
322
|
+
messages: Array<Record<string, unknown>>;
|
|
323
|
+
tools?: Array<Record<string, unknown>>;
|
|
324
|
+
model?: string | null;
|
|
325
|
+
maxTokens?: number;
|
|
326
|
+
thinkingLevel?: ThinkingLevel | null;
|
|
327
|
+
sessionId?: string;
|
|
328
|
+
requestId?: string;
|
|
329
|
+
signal?: AbortSignal;
|
|
330
|
+
};
|
|
331
|
+
type LlmProviderRuntime = {
|
|
332
|
+
get: (model?: string | null) => LLMProvider;
|
|
333
|
+
chat: (params: ProviderChatParams) => Promise<LLMResponse>;
|
|
334
|
+
chatStream: (params: ProviderChatParams) => AsyncGenerator<LLMStreamEvent>;
|
|
335
|
+
};
|
|
336
|
+
type ProviderConnectionTestInput = {
|
|
337
|
+
providerName: string | null;
|
|
338
|
+
apiKey?: string | null;
|
|
339
|
+
apiBase?: string | null;
|
|
340
|
+
defaultModel: string;
|
|
341
|
+
extraHeaders?: Record<string, string> | null;
|
|
342
|
+
wireApi?: "auto" | "chat" | "responses" | null;
|
|
343
|
+
messages: Array<Record<string, unknown>>;
|
|
344
|
+
maxTokens?: number;
|
|
345
|
+
signal?: AbortSignal;
|
|
346
|
+
};
|
|
347
|
+
type ProviderModelsDiscoverInput = {
|
|
348
|
+
providerName: string | null;
|
|
349
|
+
apiKey?: string | null;
|
|
350
|
+
apiBase?: string | null;
|
|
351
|
+
extraHeaders?: Record<string, string> | null;
|
|
352
|
+
signal?: AbortSignal;
|
|
353
|
+
};
|
|
354
|
+
declare class LlmProviderManager {
|
|
355
|
+
private readonly providerRegistry;
|
|
356
|
+
private readonly contributedProviderPlugins;
|
|
357
|
+
private readonly providerModelDiscovery;
|
|
358
|
+
private readonly providerPool;
|
|
359
|
+
private readonly missingProvider;
|
|
360
|
+
private config;
|
|
361
|
+
constructor();
|
|
362
|
+
registerProviderPlugin: (plugin: ProviderCatalogPlugin) => (() => void);
|
|
363
|
+
listProviderSpecs: () => readonly ProviderSpec[];
|
|
364
|
+
load: (config: Config) => void;
|
|
365
|
+
get: (model?: string | null) => LLMProvider;
|
|
366
|
+
readonly chat: (params: ProviderChatParams) => Promise<LLMResponse>;
|
|
367
|
+
readonly chatStream: (this: LlmProviderManager, params: ProviderChatParams) => AsyncGenerator<LLMStreamEvent>;
|
|
368
|
+
readonly testConnection: (input: ProviderConnectionTestInput) => Promise<void>;
|
|
369
|
+
supportsModelDiscovery: (providerName: string | null) => boolean;
|
|
370
|
+
discoverModels: (input: ProviderModelsDiscoverInput) => Promise<ProviderModelDiscoveryResult>;
|
|
371
|
+
private refreshProviderRegistry;
|
|
372
|
+
private resolveRoute;
|
|
373
|
+
private resolveProvider;
|
|
374
|
+
private matchPrefixedProvider;
|
|
375
|
+
private resolveProviderType;
|
|
376
|
+
private resolveProviderApiKey;
|
|
377
|
+
private rewriteModelForTemplate;
|
|
378
|
+
private normalizeProviderModelConfigForRoute;
|
|
379
|
+
private getOrCreateProvider;
|
|
380
|
+
private createProvider;
|
|
381
|
+
private prepareMessagesForProvider;
|
|
382
|
+
private buildRequestHeaders;
|
|
383
|
+
private buildCacheKey;
|
|
384
|
+
}
|
|
385
|
+
//#endregion
|
|
353
386
|
//#region src/managers/context-provider.manager.d.ts
|
|
354
387
|
declare class ContextProviderManager {
|
|
355
388
|
private readonly providers;
|
|
@@ -753,12 +786,27 @@ declare class SessionManager implements NcpSessionApi {
|
|
|
753
786
|
dispose: () => void;
|
|
754
787
|
close: () => Promise<void>;
|
|
755
788
|
publishSessionEvent: (params: PublishSessionEventParams) => Promise<void>;
|
|
789
|
+
persistSessionEvent: (event: NcpEndpointEvent, signal?: AbortSignal) => Promise<void>;
|
|
790
|
+
captureCompactionSource: (sessionId: string, messageIds: readonly string[]) => Promise<{
|
|
791
|
+
journalWatermark: number;
|
|
792
|
+
ranges: {
|
|
793
|
+
from: number;
|
|
794
|
+
to: number;
|
|
795
|
+
}[];
|
|
796
|
+
revisionDigest: string;
|
|
797
|
+
sourceCount: number;
|
|
798
|
+
omittedRangeCount: number;
|
|
799
|
+
semanticRevision: number;
|
|
800
|
+
journalGeneration?: string;
|
|
801
|
+
}>;
|
|
756
802
|
flushSessionEvents: () => Promise<void>;
|
|
803
|
+
findSessionMessageByIngressKey: (sessionId: string, key: string) => Promise<NcpMessage | null>;
|
|
757
804
|
flushSession: (sessionId: string) => Promise<void>;
|
|
758
805
|
createSession: (params: CreateNcpSessionInput) => Promise<CreatedSession>;
|
|
759
806
|
appendSessionEvent: (params: {
|
|
760
807
|
sessionId: string;
|
|
761
808
|
event: NcpAgentSessionJournalReplayEvent;
|
|
809
|
+
signal?: AbortSignal;
|
|
762
810
|
}) => Promise<void>;
|
|
763
811
|
applyGeneratedTitle: (sessionId: string, expectedMetadata: Record<string, unknown>, title: string | null, messageId: string) => Promise<boolean>;
|
|
764
812
|
setSessionMetadata: (sessionId: string, metadata: Record<string, unknown>) => Promise<boolean>;
|
|
@@ -770,6 +818,10 @@ declare class SessionManager implements NcpSessionApi {
|
|
|
770
818
|
}) => Promise<NcpSessionSummary | null>;
|
|
771
819
|
deleteSession: (sessionId: string) => Promise<void>;
|
|
772
820
|
getSessionRecord: (sessionId: string) => Promise<AgentSessionRecord | null>;
|
|
821
|
+
getSessionPreviewRecord: (sessionId: string) => Promise<AgentSessionRecord | null>;
|
|
822
|
+
getSessionContextRecord: (sessionId: string) => Promise<(AgentSessionRecord & {
|
|
823
|
+
totalMessageCount: number;
|
|
824
|
+
}) | null>;
|
|
773
825
|
listSessions: (options?: ListSessionsOptions) => Promise<NcpSessionSummary[]>;
|
|
774
826
|
listSessionPage: (options: SessionListPageOptions) => Promise<{
|
|
775
827
|
sessions: NcpSessionSummary[];
|
|
@@ -781,6 +833,16 @@ declare class SessionManager implements NcpSessionApi {
|
|
|
781
833
|
limit: number;
|
|
782
834
|
cursor?: string;
|
|
783
835
|
}) => Promise<SessionMessagePage | null>;
|
|
836
|
+
prepareSessionHistory: (sessionId: string, retry?: boolean) => Promise<SessionHistoryPreparation | null>;
|
|
837
|
+
cancelSessionHistoryPreparation: (sessionId: string) => boolean;
|
|
838
|
+
listSessionQuestionMessages: (sessionId: string, questionId?: string) => Promise<NcpMessage[]>;
|
|
839
|
+
readSessionMessagePart: (params: {
|
|
840
|
+
sessionId: string;
|
|
841
|
+
messageId: string;
|
|
842
|
+
part: number;
|
|
843
|
+
cursor?: string;
|
|
844
|
+
}) => Promise<SessionMessagePart | null>;
|
|
845
|
+
loadSessionRunSeed: (sessionId: string) => Promise<NcpMessage[]>;
|
|
784
846
|
getSession: (sessionId: string) => Promise<NcpSessionSummary | null>;
|
|
785
847
|
getContextWindow: (sessionId: string, liveRecord?: AgentSessionRecord | null) => Promise<Record<string, unknown> | null>;
|
|
786
848
|
getAgentRunSession: (sessionId: string) => Promise<AgentRunSession>;
|
|
@@ -1141,7 +1203,7 @@ type AgentRunAgentHost = Pick<AgentManager, "getDefaultAgentId">;
|
|
|
1141
1203
|
type AgentRunConfigHost = Pick<ConfigManager, "getDefaultModel" | "getModelMaxTokens">;
|
|
1142
1204
|
type AgentRunSurfaceHost = Pick<AgentContextWindowManager, "resolveRunSurface">;
|
|
1143
1205
|
type AgentRunRuntimeHost = Pick<AgentRuntimeManager, "getOrCreate" | "disposeRuntime">;
|
|
1144
|
-
type AgentRunSessionHost = Pick<SessionManager, "getOrCreateAgentRunSession" | "getAgentRunSession" | "getSessionRecord" | "rewindSessionBeforeMessage" | "listSessionMessages">;
|
|
1206
|
+
type AgentRunSessionHost = Pick<SessionManager, "getOrCreateAgentRunSession" | "getAgentRunSession" | "getSessionRecord" | "rewindSessionBeforeMessage" | "listSessionMessages" | "findSessionMessageByIngressKey" | "loadSessionRunSeed">;
|
|
1145
1207
|
type AgentRunSessionRunHost = Pick<SessionRunManager, "getSessionRun" | "getOrCreateSessionRun" | "isSessionRunning">;
|
|
1146
1208
|
/** An acquired platform claim must reject release by a superseded owner. */
|
|
1147
1209
|
interface SessionExecutionClaim {
|
|
@@ -1186,20 +1248,34 @@ type SessionRunPendingRequest = SessionRunQueuedRequest & {
|
|
|
1186
1248
|
declare class SessionRun {
|
|
1187
1249
|
private readonly stateManager;
|
|
1188
1250
|
private readonly productActivitySink?;
|
|
1251
|
+
private readonly persistCompaction?;
|
|
1189
1252
|
readonly sessionId: string;
|
|
1190
1253
|
private readonly statusListeners;
|
|
1191
1254
|
private readonly pendingInputs;
|
|
1192
1255
|
private activeRunId;
|
|
1193
1256
|
private activeRunController;
|
|
1194
1257
|
private activeProductActivitySource;
|
|
1258
|
+
private eventChain;
|
|
1259
|
+
private windowGrowthBytes;
|
|
1195
1260
|
constructor(seed: {
|
|
1196
1261
|
sessionId: string;
|
|
1197
1262
|
messages: readonly NcpMessage[];
|
|
1198
|
-
}, stateManager?: NcpAgentConversationStateManager, productActivitySink?: ProductActivitySink | undefined);
|
|
1263
|
+
}, stateManager?: NcpAgentConversationStateManager, productActivitySink?: ProductActivitySink | undefined, persistCompaction?: ((event: NcpEndpointEvent, signal?: AbortSignal) => Promise<void>) | undefined);
|
|
1199
1264
|
getSnapshot: () => {
|
|
1200
1265
|
messages: readonly NcpMessage[];
|
|
1201
1266
|
};
|
|
1202
|
-
|
|
1267
|
+
getContextRecoveryState: () => {
|
|
1268
|
+
required: boolean;
|
|
1269
|
+
checkpointId?: string;
|
|
1270
|
+
unresolvedArchive: boolean;
|
|
1271
|
+
};
|
|
1272
|
+
applyEvents: (events: readonly NcpEndpointEvent[], options?: {
|
|
1273
|
+
signal?: AbortSignal;
|
|
1274
|
+
}) => Promise<void>;
|
|
1275
|
+
private applyEventsNow;
|
|
1276
|
+
private archiveMessageView;
|
|
1277
|
+
private archiveWindow;
|
|
1278
|
+
private retainCompactedView;
|
|
1203
1279
|
replaceMessages: (messages: readonly NcpMessage[]) => void;
|
|
1204
1280
|
onStatusChange: (listener: (status: "idle" | "running") => void) => (() => void);
|
|
1205
1281
|
enqueueRequest: (request: AgentRunRequest, session: AgentRunSession) => SessionRunQueuedRequest;
|
|
@@ -1221,9 +1297,13 @@ declare class SessionRun {
|
|
|
1221
1297
|
declare class SessionRunManager {
|
|
1222
1298
|
private readonly sessionManager;
|
|
1223
1299
|
private readonly productActivitySink?;
|
|
1300
|
+
private disposed;
|
|
1224
1301
|
private readonly runs;
|
|
1225
1302
|
private readonly pendingCreations;
|
|
1226
|
-
|
|
1303
|
+
private coldLoads;
|
|
1304
|
+
private readonly coldWaiters;
|
|
1305
|
+
private readonly inactiveBytes;
|
|
1306
|
+
constructor(sessionManager: Pick<AgentRunSessionHost, "listSessionMessages"> & Partial<Pick<SessionManager, "loadSessionRunSeed" | "publishSessionEvent" | "persistSessionEvent" | "captureCompactionSource">>, productActivitySink?: ProductActivitySink | undefined);
|
|
1227
1307
|
getSessionRun: (sessionId: string) => SessionRun | null;
|
|
1228
1308
|
isSessionRunning: (sessionId: string) => boolean;
|
|
1229
1309
|
listActiveRuns: () => ReadonlyArray<{
|
|
@@ -1232,6 +1312,8 @@ declare class SessionRunManager {
|
|
|
1232
1312
|
}>;
|
|
1233
1313
|
getOrCreateSessionRun: (sessionId: string) => Promise<SessionRun>;
|
|
1234
1314
|
createSessionRun: (sessionId: string) => Promise<SessionRun>;
|
|
1315
|
+
private createSessionRunNow;
|
|
1316
|
+
private trimInactive;
|
|
1235
1317
|
deleteSessionRun: (sessionId: string) => boolean;
|
|
1236
1318
|
dispose: () => void;
|
|
1237
1319
|
}
|
|
@@ -1267,6 +1349,7 @@ type CompactionSummaryProvider = {
|
|
|
1267
1349
|
content: string | null;
|
|
1268
1350
|
finishReason: string;
|
|
1269
1351
|
usage: Record<string, number>;
|
|
1352
|
+
toolCalls?: readonly unknown[];
|
|
1270
1353
|
}>;
|
|
1271
1354
|
};
|
|
1272
1355
|
//#endregion
|
|
@@ -1296,6 +1379,9 @@ type ContinuationMessageBoundary = {
|
|
|
1296
1379
|
coveredPartCount: number;
|
|
1297
1380
|
};
|
|
1298
1381
|
type ContextCompactionPendingWork = {
|
|
1382
|
+
overflow: boolean;
|
|
1383
|
+
originalBudget: ContextWindowBudgetEvaluation;
|
|
1384
|
+
priorCheckpoint: ContextCompactionCheckpoint | null;
|
|
1299
1385
|
checkpoint: ReturnType<typeof buildCompressingCompactionCheckpoint>;
|
|
1300
1386
|
contextBlockMessages: Record<string, unknown>[];
|
|
1301
1387
|
continuationMessageBoundary: ContinuationMessageBoundary | null;
|
|
@@ -1312,6 +1398,7 @@ type ContextCompactionPendingWork = {
|
|
|
1312
1398
|
declare class ContextCompactionPreflightService {
|
|
1313
1399
|
private readonly agentManager;
|
|
1314
1400
|
private readonly assetStore;
|
|
1401
|
+
private readonly deferredAttempts;
|
|
1315
1402
|
private readonly compactionService;
|
|
1316
1403
|
private readonly contextWindowBudgetService;
|
|
1317
1404
|
private readonly summaryGenerationService;
|
|
@@ -1339,6 +1426,8 @@ declare class ContextCompactionPreflightService {
|
|
|
1339
1426
|
storedMetadata: Record<string, unknown>;
|
|
1340
1427
|
tools?: readonly NcpTool[];
|
|
1341
1428
|
trigger?: ContextCompactionTrigger;
|
|
1429
|
+
overflow?: boolean;
|
|
1430
|
+
maxOutputTokens?: number;
|
|
1342
1431
|
}) => ContextCompactionPreflightBeginResult;
|
|
1343
1432
|
finish: (pending: ContextCompactionPendingWork, signal?: AbortSignal) => Promise<ContextCompactionPreflightResult>;
|
|
1344
1433
|
private resolveCompactionProfile;
|
|
@@ -1352,8 +1441,14 @@ declare const CONTEXT_COMPACTION_PROJECTION_KIND = "compressed_context";
|
|
|
1352
1441
|
declare const CONTEXT_COMPACTION_PART_START = "nextclaw_compaction_part_start";
|
|
1353
1442
|
declare const CONTEXT_COMPACTION_CONTINUATION_TEXT = "Continue the active run from the compressed working context. Do not repeat completed tool calls; proceed with the next required action.";
|
|
1354
1443
|
declare const CONTEXT_COMPACTION_SYSTEM_PREAMBLE: string;
|
|
1355
|
-
|
|
1356
|
-
|
|
1444
|
+
declare const CONTEXT_COMPACTION_RECOVERY_PREAMBLE = "Unresolved archived history: read original session history to verify old constraints and action outcomes. Only read-only recovery is permitted; ask a specific business clarification if required facts remain unknown.";
|
|
1445
|
+
type ContextCompactionTimelineCheckpoint = ContextCompactionCheckpoint$1;
|
|
1446
|
+
declare function readContextRecoveryState(messages: readonly NcpMessage[], fallback?: ContextCompactionCheckpoint$1 | null): {
|
|
1447
|
+
required: boolean;
|
|
1448
|
+
checkpointId?: string;
|
|
1449
|
+
unresolvedArchive: boolean;
|
|
1450
|
+
};
|
|
1451
|
+
declare function readContextCompactionCheckpoint(message: NcpMessage): ContextCompactionCheckpoint$1 | null;
|
|
1357
1452
|
declare function createContextCompactionMessageId(): string;
|
|
1358
1453
|
declare function buildContextCompactionTimelineNcpMessage(params: {
|
|
1359
1454
|
messageId: string;
|
|
@@ -1366,7 +1461,7 @@ declare function isContextCompactionTimelineMessage(message: {
|
|
|
1366
1461
|
declare function isContextCompactionProjectionMessage(message: {
|
|
1367
1462
|
metadata?: Record<string, unknown> | undefined;
|
|
1368
1463
|
} | null | undefined): boolean;
|
|
1369
|
-
declare function readLatestContextCompactionCheckpoint(sessionMessages: readonly NcpMessage[]): ContextCompactionCheckpoint | null;
|
|
1464
|
+
declare function readLatestContextCompactionCheckpoint(sessionMessages: readonly NcpMessage[]): ContextCompactionCheckpoint$1 | null;
|
|
1370
1465
|
type ContextCompactionModelProjection = {
|
|
1371
1466
|
messages: NcpMessage[];
|
|
1372
1467
|
stablePrefixMessageCount: number;
|
|
@@ -1466,10 +1561,13 @@ type AgentRunContextCompactionInput = {
|
|
|
1466
1561
|
phase?: ContextCompactionPhase;
|
|
1467
1562
|
signal?: AbortSignal;
|
|
1468
1563
|
tools?: readonly NcpTool[];
|
|
1564
|
+
overflow?: boolean;
|
|
1565
|
+
maxOutputTokens?: number;
|
|
1469
1566
|
};
|
|
1470
1567
|
declare class AgentRunContextCompactionManager {
|
|
1568
|
+
private readonly sources?;
|
|
1471
1569
|
private readonly preflightService;
|
|
1472
|
-
constructor(agentManager: CompactionProfileResolver, providerManager: CompactionSummaryProvider, assetStore?: LocalAssetStore | null);
|
|
1570
|
+
constructor(agentManager: CompactionProfileResolver, providerManager: CompactionSummaryProvider, assetStore?: LocalAssetStore | null, sources?: Pick<SessionManager, "captureCompactionSource"> | undefined);
|
|
1473
1571
|
runPreflight: (input: AgentRunContextCompactionInput) => AsyncIterable<NcpEndpointEvent>;
|
|
1474
1572
|
runManual: (input: AgentRunContextCompactionInput) => Promise<readonly NcpEndpointEvent[]>;
|
|
1475
1573
|
private run;
|
|
@@ -1635,6 +1733,10 @@ declare class AgentRunAdmissionService {
|
|
|
1635
1733
|
private open;
|
|
1636
1734
|
private active;
|
|
1637
1735
|
private readonly waiters;
|
|
1736
|
+
private executing;
|
|
1737
|
+
private readonly executionWaiters;
|
|
1738
|
+
/** Bound resident active windows. Queued acquisitions are cancellable and never hold a claim. */
|
|
1739
|
+
acquireExecution: (signal: AbortSignal) => Promise<() => void>;
|
|
1638
1740
|
suspend: () => Promise<void>;
|
|
1639
1741
|
resume: () => void;
|
|
1640
1742
|
accept: <T>(operation: () => Promise<T>) => Promise<T>;
|
|
@@ -1737,6 +1839,7 @@ type UserQuestionView = UserQuestionPrompt & {
|
|
|
1737
1839
|
status: "pending" | "answered" | "dismissed";
|
|
1738
1840
|
answer?: string;
|
|
1739
1841
|
answerMessageId?: string;
|
|
1842
|
+
recoveryCheckpointId?: string;
|
|
1740
1843
|
};
|
|
1741
1844
|
declare function createQuestionMessage(sessionId: string, prompts: readonly UserQuestionPrompt[]): {
|
|
1742
1845
|
message: NcpMessage;
|
|
@@ -1767,7 +1870,7 @@ declare class UserQuestionManager {
|
|
|
1767
1870
|
accepted: true;
|
|
1768
1871
|
questionIds: string[];
|
|
1769
1872
|
}>;
|
|
1770
|
-
list: (sessionId: string) => Promise<UserQuestionView[]>;
|
|
1873
|
+
list: (sessionId: string, questionId?: string) => Promise<UserQuestionView[]>;
|
|
1771
1874
|
resolve: (input: {
|
|
1772
1875
|
sessionId: string;
|
|
1773
1876
|
questionId: string;
|
|
@@ -4677,7 +4780,6 @@ type ServiceAppRuntime = Pick<ServiceAppRuntimeService, "dispose" | "getLastObse
|
|
|
4677
4780
|
//#region src/stores/ncp-agent-session-journal.store.d.ts
|
|
4678
4781
|
declare class NcpAgentSessionJournalStore implements SessionPersistence {
|
|
4679
4782
|
private readonly journalDir;
|
|
4680
|
-
private readonly sessions;
|
|
4681
4783
|
private readonly nextSeqBySession;
|
|
4682
4784
|
private readonly writeChains;
|
|
4683
4785
|
private readonly metadataStore;
|
|
@@ -4692,6 +4794,7 @@ declare class NcpAgentSessionJournalStore implements SessionPersistence {
|
|
|
4692
4794
|
appendSessionEvent: (params: {
|
|
4693
4795
|
sessionId: string;
|
|
4694
4796
|
event: NcpAgentSessionJournalReplayEvent;
|
|
4797
|
+
signal?: AbortSignal;
|
|
4695
4798
|
}) => Promise<void>;
|
|
4696
4799
|
synchronizeSessionMessageProjection: (sessionId: string) => Promise<boolean>;
|
|
4697
4800
|
getSession: (sessionId: string) => Promise<AgentSessionRecord | null>;
|
|
@@ -4705,6 +4808,24 @@ declare class NcpAgentSessionJournalStore implements SessionPersistence {
|
|
|
4705
4808
|
getSessionSummary: (sessionId: string) => Promise<NcpSessionSummary | null>;
|
|
4706
4809
|
listUnfinishedRuns: () => Promise<UnfinishedNcpAgentRun[]>;
|
|
4707
4810
|
listSessionMessages: (sessionId: string) => Promise<NcpMessage[]>;
|
|
4811
|
+
readSessionMessagePart: NonNullable<SessionPersistence["readSessionMessagePart"]>;
|
|
4812
|
+
loadSessionRunSeed: (sessionId: string) => Promise<NcpMessage[]>;
|
|
4813
|
+
prepareSessionHistory: NonNullable<SessionPersistence["prepareSessionHistory"]>;
|
|
4814
|
+
cancelSessionHistoryPreparation: (sessionId: string) => boolean;
|
|
4815
|
+
listSessionQuestionMessages: (sessionId: string, questionId?: string) => Promise<NcpMessage[]>;
|
|
4816
|
+
findSessionMessageByIngressKey: (sessionId: string, key: string) => Promise<NcpMessage | null>;
|
|
4817
|
+
captureCompactionSource: (sessionId: string, messageIds: readonly string[]) => Promise<{
|
|
4818
|
+
journalWatermark: number;
|
|
4819
|
+
ranges: {
|
|
4820
|
+
from: number;
|
|
4821
|
+
to: number;
|
|
4822
|
+
}[];
|
|
4823
|
+
revisionDigest: string;
|
|
4824
|
+
sourceCount: number;
|
|
4825
|
+
omittedRangeCount: number;
|
|
4826
|
+
semanticRevision: number;
|
|
4827
|
+
journalGeneration?: string;
|
|
4828
|
+
}>;
|
|
4708
4829
|
listSessionMessagePage: (params: {
|
|
4709
4830
|
sessionId: string;
|
|
4710
4831
|
limit: number;
|
|
@@ -4720,12 +4841,14 @@ declare class NcpAgentSessionJournalStore implements SessionPersistence {
|
|
|
4720
4841
|
private setSessionMetadataNow;
|
|
4721
4842
|
private updateSessionMetadataNow;
|
|
4722
4843
|
importSessionSnapshot: (record: AgentSessionRecord) => Promise<void>;
|
|
4844
|
+
private importSessionSnapshotNow;
|
|
4723
4845
|
deleteSession: (sessionId: string) => Promise<AgentSessionRecord | null>;
|
|
4724
4846
|
hasSession: (sessionId: string) => Promise<boolean>;
|
|
4725
4847
|
private appendSessionEventNow;
|
|
4726
4848
|
private loadSession;
|
|
4727
4849
|
private appendJournalEntry;
|
|
4728
4850
|
private ensureJournalDir;
|
|
4851
|
+
private enqueueWrite;
|
|
4729
4852
|
private sessionPath;
|
|
4730
4853
|
}
|
|
4731
4854
|
//#endregion
|
|
@@ -4740,6 +4863,8 @@ type SessionJournalCompactionResult = {
|
|
|
4740
4863
|
};
|
|
4741
4864
|
/** Refuse to append after a partial write: another JSONL entry would hide the torn tail. */
|
|
4742
4865
|
declare function assertSessionJournalTailComplete(source: string): Promise<void>;
|
|
4866
|
+
/** Maintenance only: preserve a crash-torn suffix before restoring the last committed newline. */
|
|
4867
|
+
declare function recoverSessionJournalTornTail(source: string, signal?: AbortSignal): Promise<void>;
|
|
4743
4868
|
/** Runs before the catalog opens. An interrupted switch always rolls back to the untouched backup. */
|
|
4744
4869
|
declare function recoverSessionJournalMaintenance(journalDir: string): Promise<void>;
|
|
4745
4870
|
/** Restores the original v1 journal after a successful offline compaction. All writers must be stopped. */
|
|
@@ -5568,6 +5693,149 @@ declare function listExtensionChannelIds(params: {
|
|
|
5568
5693
|
declare function toNcpMessages(sessionId: string, messages: SessionMessage[]): NcpMessage[];
|
|
5569
5694
|
declare function resolveLegacyEventType(message: SessionMessage): string;
|
|
5570
5695
|
//#endregion
|
|
5696
|
+
//#region src/utils/ncp-agent-session-message-projection.utils.d.ts
|
|
5697
|
+
declare const NCP_AGENT_SESSION_MESSAGE_PROJECTION_VERSION = 12;
|
|
5698
|
+
type NcpAgentSessionMessageProjectionMeta = {
|
|
5699
|
+
version: typeof NCP_AGENT_SESSION_MESSAGE_PROJECTION_VERSION;
|
|
5700
|
+
sessionId: string;
|
|
5701
|
+
total: number;
|
|
5702
|
+
projectedJournalOffset: number;
|
|
5703
|
+
dataBytes: number;
|
|
5704
|
+
contextWindow: Record<string, unknown> | null;
|
|
5705
|
+
activeMessageId: string | null;
|
|
5706
|
+
pendingCompactionMessageIds: string[];
|
|
5707
|
+
latestCheckpointMessageId?: string;
|
|
5708
|
+
nextSeq?: number;
|
|
5709
|
+
preparation?: {
|
|
5710
|
+
status: "preparing" | "ready" | "failed";
|
|
5711
|
+
journalBytes: number;
|
|
5712
|
+
error?: string;
|
|
5713
|
+
};
|
|
5714
|
+
latestRecoveryAcknowledgementMessageId?: string;
|
|
5715
|
+
semanticRevision?: number;
|
|
5716
|
+
activeRunId?: string | null;
|
|
5717
|
+
journalIdentity?: string;
|
|
5718
|
+
legacyMetadata?: {
|
|
5719
|
+
metadata: Record<string, unknown>;
|
|
5720
|
+
agentId?: string;
|
|
5721
|
+
createdAt: string;
|
|
5722
|
+
updatedAt: string;
|
|
5723
|
+
};
|
|
5724
|
+
};
|
|
5725
|
+
//#endregion
|
|
5726
|
+
//#region src/stores/sqlite-database.store.d.ts
|
|
5727
|
+
type SqliteStatement = {
|
|
5728
|
+
all: (...params: unknown[]) => unknown[];
|
|
5729
|
+
get: (...params: unknown[]) => unknown;
|
|
5730
|
+
run: (...params: unknown[]) => unknown;
|
|
5731
|
+
};
|
|
5732
|
+
type SqliteDatabase = {
|
|
5733
|
+
/** Hosts whose atomic transaction blocks timers can supply a microtask yield. */transactionYield?: () => Promise<void>;
|
|
5734
|
+
close: () => void;
|
|
5735
|
+
exec: (sql: string) => void;
|
|
5736
|
+
prepare: (sql: string) => SqliteStatement;
|
|
5737
|
+
};
|
|
5738
|
+
//#endregion
|
|
5739
|
+
//#region src/stores/session-message-sql-projection.store.d.ts
|
|
5740
|
+
type ReadProjectionPageParams = {
|
|
5741
|
+
sessionId: string;
|
|
5742
|
+
limit: number;
|
|
5743
|
+
cursor?: string;
|
|
5744
|
+
tailMessages?: readonly NcpMessage[];
|
|
5745
|
+
};
|
|
5746
|
+
type ReadProjectionMessagesResult = {
|
|
5747
|
+
messages: NcpMessage[];
|
|
5748
|
+
meta: NcpAgentSessionMessageProjectionMeta;
|
|
5749
|
+
};
|
|
5750
|
+
type MessageRow = {
|
|
5751
|
+
ordinal: number;
|
|
5752
|
+
id: string;
|
|
5753
|
+
descriptor: string;
|
|
5754
|
+
revision: string;
|
|
5755
|
+
bytes: number;
|
|
5756
|
+
};
|
|
5757
|
+
type SessionMessageProjectionHost = {
|
|
5758
|
+
database: (sessionId: string, create: boolean) => Promise<SqliteDatabase | null>;
|
|
5759
|
+
journalBytes: (sessionId: string) => Promise<number | null>;
|
|
5760
|
+
journalIdentity: (sessionId: string) => Promise<string | null>;
|
|
5761
|
+
delete: (sessionId: string) => Promise<void>;
|
|
5762
|
+
transaction: <T>(operation: () => Promise<T>) => Promise<T>;
|
|
5763
|
+
};
|
|
5764
|
+
/** Derived, transactional index. Original journal remains the sole replay authority. */
|
|
5765
|
+
declare class SessionMessageSqlProjectionStore {
|
|
5766
|
+
private readonly host;
|
|
5767
|
+
constructor(host: SessionMessageProjectionHost);
|
|
5768
|
+
journalBytes: (sessionId: string) => Promise<number | null>;
|
|
5769
|
+
journalIdentity: (sessionId: string) => Promise<string | null>;
|
|
5770
|
+
protected database: (sessionId: string, create?: boolean) => Promise<SqliteDatabase | null>;
|
|
5771
|
+
private initializeSchema;
|
|
5772
|
+
protected meta: (database: SqliteDatabase, sessionId: string, preparing?: boolean) => NcpAgentSessionMessageProjectionMeta | null;
|
|
5773
|
+
readMeta: (sessionId: string, preparing?: boolean) => Promise<NcpAgentSessionMessageProjectionMeta | null>;
|
|
5774
|
+
captureSource: (sessionId: string, messageIds: readonly string[]) => Promise<NonNullable<ContextCompactionCheckpoint["source"]>>;
|
|
5775
|
+
validateSource: (sessionId: string, source: NonNullable<ContextCompactionCheckpoint["source"]>) => Promise<boolean>;
|
|
5776
|
+
private sourceDigest;
|
|
5777
|
+
/** Host stream adapter; entry application and its watermark share the host transaction. */
|
|
5778
|
+
prepareEntries: (sessionId: string, source: (offset: number) => AsyncIterable<string | Uint8Array>, signal?: AbortSignal, onProgress?: (bytes: number, total: number) => void) => Promise<void>;
|
|
5779
|
+
appendEvent: (sessionId: string, event: NcpAgentSessionJournalReplayEvent, journalOffset: number, nextSeq: number, previousOffset?: number, timestamp?: string) => Promise<boolean>;
|
|
5780
|
+
rebuild: (params: {
|
|
5781
|
+
sessionId: string;
|
|
5782
|
+
messages: readonly NcpMessage[];
|
|
5783
|
+
projectedJournalOffset: number;
|
|
5784
|
+
contextWindow?: Record<string, unknown> | null;
|
|
5785
|
+
nextSeq?: number;
|
|
5786
|
+
journalIdentity?: string;
|
|
5787
|
+
}) => Promise<void>;
|
|
5788
|
+
synchronize: (params: {
|
|
5789
|
+
sessionId: string;
|
|
5790
|
+
messages: readonly NcpMessage[];
|
|
5791
|
+
projectedJournalOffset: number;
|
|
5792
|
+
}) => Promise<boolean>;
|
|
5793
|
+
private writeMessages;
|
|
5794
|
+
protected writeMeta: (database: SqliteDatabase, meta: NcpAgentSessionMessageProjectionMeta) => void;
|
|
5795
|
+
protected assertSupportedEntry: (entry: Record<string, unknown>) => void;
|
|
5796
|
+
synchronizeJournalTail: (params: {
|
|
5797
|
+
sessionId: string;
|
|
5798
|
+
journalOffset: number;
|
|
5799
|
+
}) => Promise<boolean>;
|
|
5800
|
+
updateContextWindow: (sessionId: string, contextWindow: Record<string, unknown> | null) => Promise<void>;
|
|
5801
|
+
listPage: (params: Omit<ReadProjectionPageParams, "tailMessages">) => Promise<SessionMessagePage | null>;
|
|
5802
|
+
readPage: (params: ReadProjectionPageParams) => Promise<SessionMessagePage | null>;
|
|
5803
|
+
readPart: (sessionId: string, messageId: string, part: number, cursor?: string) => Promise<{
|
|
5804
|
+
sessionId: string;
|
|
5805
|
+
messageId: string;
|
|
5806
|
+
part: number;
|
|
5807
|
+
revision: string;
|
|
5808
|
+
chunk: number;
|
|
5809
|
+
format: "json-fragment";
|
|
5810
|
+
content: string;
|
|
5811
|
+
nextCursor: string | null;
|
|
5812
|
+
} | null>;
|
|
5813
|
+
readAll: (sessionId: string) => Promise<ReadProjectionMessagesResult | null>;
|
|
5814
|
+
readQuestionMessages: (sessionId: string, questionId?: string) => Promise<NcpMessage[]>;
|
|
5815
|
+
findIngressMessage: (sessionId: string, key: string) => Promise<NcpMessage | null>;
|
|
5816
|
+
protected assemble: (database: SqliteDatabase, row: MessageRow) => NcpMessage;
|
|
5817
|
+
readRunWindow: (sessionId: string) => Promise<ReadProjectionMessagesResult | null>;
|
|
5818
|
+
protected readJournalTailMessages: (_sessionId: string, _meta: NcpAgentSessionMessageProjectionMeta) => Promise<NcpMessage[]>;
|
|
5819
|
+
delete: (sessionId: string) => Promise<void>;
|
|
5820
|
+
}
|
|
5821
|
+
//#endregion
|
|
5822
|
+
//#region src/stores/session-message-preparation.store.d.ts
|
|
5823
|
+
/** One global maintenance lane; control requests never wait for an archive scan. */
|
|
5824
|
+
declare class SessionMessagePreparationStore {
|
|
5825
|
+
private readonly prepare;
|
|
5826
|
+
private static lane;
|
|
5827
|
+
private static pending;
|
|
5828
|
+
private readonly jobs;
|
|
5829
|
+
constructor(prepare: (sessionId: string, signal: AbortSignal, progress: (bytes: number, total: number) => void) => Promise<void>);
|
|
5830
|
+
get: (sessionId: string) => SessionHistoryPreparation | null;
|
|
5831
|
+
start: (sessionId: string, totalBytes: number, retry?: boolean) => SessionHistoryPreparation;
|
|
5832
|
+
wait: (sessionId: string) => Promise<void>;
|
|
5833
|
+
cancel: (sessionId: string) => boolean;
|
|
5834
|
+
}
|
|
5835
|
+
//#endregion
|
|
5836
|
+
//#region src/utils/session-message-chunks.utils.d.ts
|
|
5837
|
+
declare function sessionJsonChunks(value: unknown): Generator<string>;
|
|
5838
|
+
//#endregion
|
|
5571
5839
|
//#region src/utils/ui-content-params-injection.utils.d.ts
|
|
5572
5840
|
declare function getUiContentParamsBootstrapScript(): string;
|
|
5573
5841
|
declare function injectUiContentParamsBootstrap(html: string): string;
|
|
@@ -5996,5 +6264,5 @@ declare class NextclawHarness implements INextclawHarness {
|
|
|
5996
6264
|
private disposeRuns;
|
|
5997
6265
|
}
|
|
5998
6266
|
//#endregion
|
|
5999
|
-
export { renderSystemExecutionPolicy as $, PanelAppAgentSendRequest as $a, IRuntimeRegistry as $c, isInboxDeliveryError as $i, ProviderModelCatalogEntry as $l, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV$1 as $n, AppPackageDependencyView as $o, ResidentEventInput as $r, ServiceAppRecord as $s, PortableRuntimeAcceptanceIdentity as $t, ProjectTemplate as $u, ProviderCatalogPlugin$1 as A, DesktopHostCaller as Aa, UserQuestionManager as Ac, ResolvedAgentProfile as Ad, createLlmUsageRecord as Ai, isContextCompactionTimelineMessage as Al, ingressKeys$1 as An, AppDataDeleteResult as Ao, PortableRuntimeAcceptanceResultStatus as Ar, ServiceActionInvokeRequest as As, ObservationRef as At, ProjectWorkActivityType as Au, LocalizedTextMap$1 as B, createPanelAppClientGrantRequest as Ba, AgentRunReply as Bc, SystemObjectReferenceErrorCode as Bi, ContextCompactionPreflightService as Bl, isReplyCapableChannel as Bn, AppDocumentGrantMutationResult as Bo, VerificationRecordList as Br, ServiceAppJobEvent as Bs, mergeServiceAppRuntimeActions as Bt, ProjectWorkStateCategory as Bu, NextclawRunStatus as C, createDesktopHostError as Ca, createAgentRuntimeSessionRequestDispatcher as Cc, createNcpAgentSessionSummary as Cd, LlmUsageStats as Ci, ContextCompactionTimelineCheckpoint as Cl, NcpEndpointEvent$1 as Cn, CapabilityGrant as Co, isServiceAppError as Cr, PanelServiceActionCaller as Cs, EventSubscriptionBudget as Ct, CreateProjectWorkStateInput as Cu, NextclawTaskResult as D, DesktopCapabilityError as Da, SessionRequestManager as Dc, ProviderModelsDiscoverInput as Dd, LlmUsageSnapshot as Di, createContextCompactionMessageId as Dl, Unsubscribe$1 as Dn, CapabilityGrantResource as Do, PortableRuntimeAcceptanceEvidence as Dr, ServiceActionGrantRequest as Ds, ObservationContextTail as Dt, ProjectRecentArtifactPage as Du, NextclawTaskInput as E, DesktopApplicationTarget as Ea, waitForAgentRuntimeSessionReply as Ec, LlmProviderRuntime as Ed, LlmUsageRecord as Ei, buildContextCompactionTimelineNcpMessage as El, TypedKey as En, CapabilityGrantRequest as Eo, PortableRuntimeAcceptanceEvaluationContext as Er, ServiceActionGrant as Es, ObservationCapabilityDescriptor as Et, ProjectRecentArtifact as Eu, NextclawKernel as F, DesktopHostRequest as Fa, UserQuestionView as Fc, SessionContextCompactionErrorCode as Fi, shouldRefreshContextWindowDuringStream as Fl, dispatchPromptOverNcp as Fn, AppDataLifecycle as Fo, VerificationEvidenceRecord as Fr, ServiceAppCapabilityProvision as Fs, TypedPredicate as Ft, ProjectWorkItemDetail as Fu, appendCurrentTimeContextTail as G, readServiceAppSlotTarget as Ga, AgentRuntimeSessionTypeCatalog as Gc, createInboxDeliverySystemObjectProvider as Gi, ProductActivitySignal as Gl, AssetApi as Gn, AppPackageComponentView as Go, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT as Gr, ServiceAppJobView as Gs, CommandRegistry as Gt, ProjectErrorCode as Gu, buildLocalizedTextMap as H, createServiceAppAgentSlotGrantRequest as Ha, AgentRunStreamOptions as Hc, SystemObjectReferenceProvider as Hi, CompactionSummaryProvider as Hl, GatewayInboundLoopRuntime as Hn, AppPackageComponentKind as Ho, VerificationRecordRole as Hr, ServiceAppJobProgressEvent as Hs, getServiceAppManifestPath as Ht, UpdateProjectWorkItemInput as Hu, NextclawKernelOptions as I, DesktopHostResponse as Ia, createQuestionMessage as Ic, SessionContextCompactionManager as Ii, shouldRefreshContextWindowImmediately as Il, dispatchPromptOverNcpResult as In, AppDataList as Io, VerificationRecord as Ir, ServiceAppCapabilityRequirement as Is, DEFAULT_SERVICE_ACTION_RISK as It, ProjectWorkItemListEntry as Iu, createShowContentTools as J, PanelAppAgentGenerateObjectInput as Ja, ContextProviderRequest as Jc, InboxDeliveryError as Ji, ConfigManager as Jl, BuiltinNarpRuntimeProviderService as Jn, AppPackageDependencyBindingInput as Jo, PortableRuntimeAcceptanceEvidenceSource as Jr, ServiceAppManifest as Js, PortableRuntimeAcceptanceDefinitionView as Jt, isProjectError as Ju, serializeModelInputTail as K, PANEL_APP_AGENT_CAPABILITIES as Ka, ContextBlock as Kc, isSystemObjectReferenceError as Ki, ProductActivitySink as Kl, BuildAgentRunSendPayloadParams as Kn, AppPackageConflict as Ko, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS as Kr, ServiceAppJobWatch as Ks, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID as Kt, ProjectManager as Ku, ExtensionLoadProgress as L, DesktopHostStatus as La, createQuestionResolutionMessage as Lc, SessionContextCompactionResult as Li, CompactionProfileResolver as Ll, startPromptOverNcpExecution as Ln, AppDataSource as Lo, VerificationRecordEntrySurface as Lr, ServiceAppExternalRemediation as Ls, buildServiceActionId as Lt, ProjectWorkItemPage as Lu, AgentKernelModule as M, DesktopHostEvent as Ma, UserQuestionResolution as Mc, normalizeLlmUsageModel as Mi, readContextCompactionCheckpoint as Ml, DirectPromptDispatchExecution as Mn, AppDataEntry as Mo, evaluatePortableRuntimeAcceptanceArtifact as Mr, ServiceActionRisk as Ms, ObservationState as Mt, ProjectWorkArtifactLink as Mu, AgentKernelResources as N, DesktopHostManifest as Na, USER_QUESTION_EXTENSION_TYPE as Nc, sanitizeLlmUsage as Ni, readContextWindowEventSessionId as Nl, DirectPromptDispatchParams as Nn, AppDataError as No, parsePortableRuntimeAcceptanceEvidenceArtifact as Nr, ServiceActionRuntimeState as Ns, ObservationTarget as Nt, ProjectWorkAttention as Nu, NextclawUserQuestion as O, DesktopCapabilityErrorCode as Oa, SessionRequestManagerOptions as Oc, AgentManager as Od, LlmUsageSummary as Oi, createContextWindowSignature as Ol, createTypedKey as On, CapabilityGrantSubject as Oo, PortableRuntimeAcceptanceEvidenceArtifact as Or, ServiceActionGrantState as Os, ObservationEvent as Ot, ProjectWorkActivity as Ou, AgentPlatform as P, DesktopHostMethod as Pa, UserQuestionPrompt as Pc, SessionContextCompactionError as Pi, readLatestContextCompactionCheckpoint as Pl, DirectPromptDispatchResult as Pn, AppDataErrorCode as Po, LegacyVerificationRecord as Pr, ServiceAppAgentCapabilitySlot as Ps, SubscribeEventsInput as Pt, ProjectWorkItem as Pu, renderAgentSafetyContext as Q, PanelAppAgentSendPayload as Qa, IModelRegistry as Qc, MAX_INBOX_DELIVERY_CONTENT_LENGTH as Qi, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS as Ql, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV$1 as Qn, AppPackageDependencyDiagnosticCode as Qo, LeasedResidentEvent as Qr, ServiceAppProvides as Qs, PortableRuntimeAcceptanceSurfaceResult as Qt, ProjectSessionBinding as Qu, ExtensionLoadResult as R, ResolvedDesktopApplicationTarget as Ra, projectUserQuestions as Rc, isSessionContextCompactionError as Ri, ContextCompactionPreflightBeginResult as Rl, ChannelReplyRouterDispatchParams as Rn, isAppDataError as Ro, VerificationRecordError as Rr, ServiceAppJobCaller as Rs, getServiceActionName as Rt, ProjectWorkListInput as Ru, NextclawHarnessResources as S, UnavailableDesktopHost as Sa, buildSessionRequestCompletionMessage as Sc, NcpAgentSessionJournalReplayEvent as Sd, LlmUsageManagerOptions as Si, ContextCompactionModelProjection as Sl, Key as Sn, CapabilityGrantRevocationListener as So, ServiceAppErrorCode as Sr, AgentServiceActionCaller as Ss, EventSubscription as St, CreateProjectWorkItemInput as Su, NextclawSessionRunInput as T, DESKTOP_HOST_PROTOCOL_VERSION as Ta, dispatchAgentRuntimeSessionRequest as Tc, LlmProviderManager as Td, LlmUsageStoreOptions as Ti, buildContextCompactionModelProjection as Tl, NcpTool$1 as Tn, CapabilityGrantFilter as To, VerificationRecordService as Tr, ServiceActionCaller as Ts, JsonValue as Tt, PROJECT_WORK_STATE_CATEGORIES as Tu, parseSkillFrontmatter$1 as U, createServiceAppModelSlotGrantRequest as Ua, NodePlatform as Uc, SystemObjectReferenceSnapshotSource as Ui, ContextCompactionJournalRecoveryService as Ul, GatewayInboundProcessor as Un, AppPackageComponentSource as Uo, VerificationRecordStatus as Ur, ServiceAppJobStatus as Us, parseServiceAppManifest as Ut, UpdateProjectWorkStateInput as Uu, SkillFrontmatter as V, createServiceActionGrantRequest as Va, AgentRunReplyOptions as Vc, SystemObjectReferenceManager as Vi, ContextCompactionTrigger as Vl, resolveChannelReplyRoute as Vn, AppInstalledPermissionState as Vo, VerificationRecordObservation as Vr, ServiceAppJobList as Vs, SERVICE_APP_MANIFEST_FILE_NAME as Vt, ProjectWorkSummary as Vu, stripSkillFrontmatter$1 as W, readServiceActionTargetId as Wa, NodePlatformOptions as Wc, createCronJobSystemObjectProvider as Wi, ProductActivityKind as Wl, runGatewayInboundLoop as Wn, AppPackageComponentSourceList as Wo, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT as Wr, ServiceAppJobTerminalEvent as Ws, readServiceAppManifest as Wt, ProjectError as Wu, renderAgentBootstrapContext as X, PanelAppAgentGenerateObjectResult as Xa, IKernel as Xc, InboxDeliveryManager as Xi, ConfigManagerRuntimeHooks as Xl, NARP_STDIO_RUNTIME_KIND as Xn, AppPackageDependencyCycle as Xo, PortableRuntimeAcceptancePlatform as Xr, ServiceAppModelCapabilitySlot as Xs, PortableRuntimeAcceptanceStatusEntry as Xt, PROJECT_TEMPLATE_IDS as Xu, BootstrapContextInput as Y, PanelAppAgentGenerateObjectRequest as Ya, IContextRegistry as Yc, InboxDeliveryErrorCode as Yi, ConfigManagerOptions as Yl, NARP_HTTP_RUNTIME_KIND as Yn, AppPackageDependencyCandidate as Yo, PortableRuntimeAcceptanceId as Yr, ServiceAppManifestAction as Ys, PortableRuntimeAcceptanceManager as Yt, CreateProjectInput as Yu, truncateContextText as Z, PanelAppAgentRunClient as Za, IMcpRegistry as Zc, InboxDeliveryManagerOptions as Zi, ConfigMutationResult as Zl, DEFAULT_AGENT_RUNTIME_ENTRY_ID as Zn, AppPackageDependencyDiagnostic as Zo, ServiceAppRuntimeService as Zr, ServiceAppProtocol as Zs, PortableRuntimeAcceptanceStatusView as Zt, ProjectRecord as Zu, NextclawAgentDefinition as _, DesktopSnapshotOptions as _a, AccessSessionRecord as _c, SessionPendingInput as _d, PreferenceJsonValue as _i, CONTEXT_COMPACTION_PART_START as _l, EventBusOptions as _n, normalizeCapabilityGrantRequest as _o, NcpAgentSessionJournalStore as _r, AppPackageUnavailableDiagnostic as _s, BindContextInput as _t, isProjectWorkError as _u, INextclawAgentSessions as a, WorkspaceRead as aa, ServiceAppResourceRequirement as ac, SessionMessageCursorError as ad, ServiceAppJobScope as ai, readMetadataModel as al, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION as an, PanelAppContent as ao, RuntimeInstallationKind as ar, AppPackageOperationInput as as, ExtensionRuntimeStatus as at, AgentRuntimeProviderRegistration as au, NextclawHarnessErrorCode as b, DesktopHost as ba, NextclawApplicationOptions as bc, UnfinishedNcpAgentRun as bd, McpManager as bi, CONTEXT_COMPACTION_SYSTEM_PREAMBLE as bl, IngressEnvelope as bn, CapabilityGrantListener as bo, ServiceAppManager as br, CapabilityProviderView as bs, EventAdmissionPolicy as bt, ProjectSkillMaterial as bu, INextclawRun as c, LocalConfigStore as ca, ServiceAppWitContract as cc, SessionModelTokenUsage as cd, PlannedRestartRecoveryManager as ci, resolveSessionChannelContext as cl, presentPortableRuntimeAcceptanceDefinition as cn, PanelAppError as co, LearningLoopRuntimeConfig as cr, AppPackageOperationStatus as cs, assertObservationPredicate as ct, AgentRuntimeSessionTypeOption as cu, LLMResponse$1 as d, InstalledSkillsList as da, AccessManager as dc, SessionSettingsPatch as dd, PreferenceError as di, NextclawNcpResolvedRunContext as dl, PanelAppAssetTokenService as dn, isPanelAppAgentCapability as do, ProductFeatureControls as dr, AppPackageReadinessRequirement as ds, matchesObservationPredicate as dt, normalizeAgentRuntimeSessionTypeIcon as du, createWorkspaceByteTools as ea, ServiceAppRequirements as ec, ProjectTemplateId as ed, ServiceAppResidentEventInboxService as ei, IToolRegistry as el, PortableRuntimeAcceptanceIdentityResult as en, PanelAppAgentSendResult as eo, RUNTIME_INSTANCE_DISTRIBUTION_ENV$1 as er, AppPackageError as es, getUiContentParamsBootstrapScript as et, ProviderModelCatalogManager as eu, LLMStreamEvent$1 as f, SkillInfo$1 as fa, AccessManagerOptions as fc, SessionTokenUsageStatus as fd, PreferenceErrorCode as fi, NextclawNcpRunContextResolveParams as fl, AppEventEmitOptions as fn, isPanelAppError as fo, SessionJournalCompactionResult as fr, AppPackageReadinessStatus as fs, parseObservationDuration as ft, resolveAgentRuntimeEntries as fu, McpToolCatalogEntry$1 as g, DesktopSessionStateService as ga, AccessRole as gc, isSessionSettingsError as gd, PreferenceEntry as gi, CONTEXT_COMPACTION_CONTINUATION_TEXT as gl, EventBus$1 as gn, matchesCapabilityGrantFilter as go, restoreSessionJournalBackup as gr, AppPackageSecretStatus as gs, ObservationManagerOptions as gt, ProjectWorkErrorCode as gu, McpServerRecord$1 as h, DesktopSessionCaller as ha, AccessPrincipal as hc, isSessionMessageCursorError as hd, isPreferenceError as hi, ProviderManagerNcpLLMApi as hl, AppEventKey as hn, getCapabilityGrantKey as ho, recoverSessionJournalMaintenance as hr, AppPackageSecretSlotView as hs, ObservationManager as ht, ProjectWorkError as hu, INextclawAgentRegistry as i, WorkspaceList as ia, ServiceAppResidentEventView as ic, SessionListPageOptions as id, ServiceAppJobJournalService as ii, normalizeOptionalString as il, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES as in, PanelAppClientGrant as io, RuntimeDistribution as ir, AppPackageOperationAction as is, listExtensionChannelIds as it, AgentRuntimeEntry as iu, ProviderSpec$1 as j, DesktopHostCapabilityDeclaration as ja, UserQuestionReplyResolution as jc, hasLlmUsageTelemetry as ji, isContextWindowSnapshot as jl, Contribution$1 as jn, AppDataDiagnostic as jo, evaluatePortableRuntimeAcceptance as jr, ServiceActionInvokeResult as js, ObservationRelationshipStatus as jt, ProjectWorkActor as ju, NextclawUserQuestionReply as k, DesktopHostAccess as ka, UserQuestionError as kc, AgentProfilePersistence as kd, buildLlmUsageSummary as ki, isContextCompactionProjectionMessage as kl, eventKeys$1 as kn, AppDataManager as ko, PortableRuntimeAcceptanceResult as kr, ServiceActionInvocationFacts as ks, ObservationExtensionRuntime as kt, ProjectWorkActivityPage as ku, INextclawSession as l, InstalledSkillDetail as la, AutomationManager as lc, SessionPersistence as ld, PlannedRestartRecoveryResult as li, syncSessionThinkingPreference as ll, resolvePortableRuntimeAcceptanceLocale as ln, PanelAppErrorCode as lo, readLearningLoopRuntimeConfig as lr, AppPackageOperationView as ls, buildObservationEventModelMessage as lt, AgentRuntimeSessionTypeProvider as lu, McpServerDefinition$1 as m, SkillScope as ma, AccessPasswordStatus as mc, SessionTokenUsageTotals as md, PreferenceManagerOptions as mi, createAssetTools as ml, AppEventHandler as mn, createCapabilityDeclarationFingerprint as mo, compactSessionJournal as mr, AppPackageSecretReadiness as ms, toBoundedJson as mt, SessionManagerOptions as mu, Disposer$1 as n, WorkspaceByteStore as na, ServiceAppResidentEventList as nc, CreateAgentRunSessionParams as nd, ServiceAppAiCapabilityService as ni, ModelChatInput as nl, PortableRuntimeAcceptanceUnavailableIdentity as nn, PanelAppCapabilityGrant as no, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV$1 as nr, AppPackageHostTarget as ns, resolveLegacyEventType as nt, ChannelManager as nu, INextclawContributionRegistry as o, WorkspaceWrite as oa, ServiceAppRuntimeStatus as oc, SessionMessagePage as od, PortableRunnerObservation as oi, readMetadataThinking as ol, PortableRuntimeAcceptanceLocale as on, PanelAppDeleteResult as oo, RuntimeInstanceSnapshot as or, AppPackageOperationList as os, ObservationEventAdmissionDecision as ot, AgentRuntimeSessionTypeDescribeParams as ou, McpCatalogFilter$1 as p, SkillManager as pa, AccessLoginResult as pc, SessionTokenUsageSummary as pd, PreferenceManager as pi, buildNextclawNcpRunContext as pl, AppEventEnvelope as pn, capabilityGrantCovers as po, assertSessionJournalTailComplete as pr, AppPackageRuntimeHooks as ps, readJsonPointer as pt, SessionManager as pu, composeAgentToolCatalog as q, PanelAppAgentCapability as qa, ContextProvider as qc, CreateInboxDeliveryInput as qi, ProductActivitySource as ql, buildAgentRunSendPayload as qn, AppPackageDependencyBinding as qo, PortableRuntimeAcceptanceDefinition as qr, ServiceAppLifecycle as qs, PortableRuntimeAcceptanceContractView as qt, ProjectManagerOptions as qu, INextclawAgent as r, WorkspaceEntry as ra, ServiceAppResidentEventStatus as rc, SessionListFilter as rd, ServiceAppJobEventSink as ri, NativeAgentRuntimeResources as rl, normalizePortableRuntimeEnvironment as rn, PanelAppCapabilityGrantCaller as ro, ResolveRuntimeInstanceSnapshotParams as rr, AppPackageList as rs, toNcpMessages as rt, ConfigPersistence as ru, INextclawHarness as s, LocalAgentProfileStore as sa, ServiceAppTerminalJobStatus as sc, SessionMetadataUpdate as sd, PlannedRestartRecovery as si, resolveEffectiveModel as sl, PortableRuntimeAcceptancePresentation as sn, PanelAppEntry as so, resolveRuntimeInstanceSnapshot as sr, AppPackageOperationResult as ss, assertObservationJsonValue as st, AgentRuntimeSessionTypeIcon as su, NextclawHarness as t, LocalWorkspaceStore as ta, ServiceAppResidentEventDisposition as tc, AgentRunSession as td, ServiceAppResidentEventScope as ti, McpToolCallInput as tl, PortableRuntimeAcceptanceIdentityService as tn, PanelAppBridgeSession as to, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV$1 as tr, AppPackageErrorCode as ts, injectUiContentParamsBootstrap as tt, ProviderModelCatalogSnapshot as tu, INextclawSessionRegistry as u, InstalledSkillSummary as ua, AutomationManagerOptions as uc, SessionSettingsError as ud, PlannedRestartRecoveryTicket as ui, NextclawNcpResolvedAgentProfile as ul, McpServiceAppRuntimeService as un, PanelAppList as uo, FeatureControlsService as ur, AppPackageReadiness as us, evaluateObservationEventAdmission as ut, describeAgentRuntimeSessionTypes as uu, NextclawContributionDescriptor as v, DesktopNodeReplService as va, AccessSessionState as vc, SessionQueuedInput as vd, PanelAppManager as vi, CONTEXT_COMPACTION_PROJECTION_KIND as vl, Ingress$1 as vn, CapabilityGrantStore as vo, ServiceAppDeleteResult as vr, AppPackageUninstallRollback as vs, BuildContextTailInput as vt, ProjectMaterialService as vu, NextclawSessionCreateInput as w, DESKTOP_HOST_ACCESS as wa, createAgentRuntimeSessionRequestSourceNotifier as wc, SessionEventReplayer as wd, LlmUsageStore as wi, NEXTCLAW_TIMELINE_KIND_METADATA_KEY as wl, NcpMessage$1 as wn, CapabilityGrantDecision as wo, WorkspaceServiceDataOwner as wr, ServiceAction as ws, JsonPointer as wt, PROJECT_WORK_ATTENTION_VALUES as wu, NextclawHarnessOptions as x, DesktopHostEventListener as xa, AgentRuntimeSessionRequestDispatcherOptions as xc, applyNcpAgentRunLifecycleEvent as xd, LlmUsageManager as xi, CONTEXT_COMPACTION_TIMELINE_KIND as xl, IngressHandler as xn, CapabilityGrantManager as xo, ServiceAppError as xr, isAppPackageError as xs, EventDelivery as xt, ProjectWorkManager as xu, NextclawHarnessError as y, DesktopHostCapabilityManager as ya, LocalProduct as yc, SessionSteerQueuedInputResult as yd, PanelAppPreferencesUpdate as yi, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY as yl, IngressContext as yn, CapabilityGrantLegacyMigrationService as yo, ServiceAppList as yr, AppPackageView as ys, ContextBinding as yt, ProjectAgreementMaterial as yu, ExtensionManager as z, createPanelAppAgentGrantRequest as za, AgentRunClient as zc, SystemObjectReferenceError as zi, ContextCompactionPreflightResult as zl, dispatchChannelReplyRoute as zn, AppPackageManager as zo, VerificationRecordInput as zr, ServiceAppJobChunkEvent as zs, listServiceAppManifestActions as zt, ProjectWorkState as zu };
|
|
6000
|
-
//# sourceMappingURL=nextclaw-harness.manager-
|
|
6267
|
+
export { renderSystemExecutionPolicy as $, PanelAppAgentGenerateObjectInput as $a, ContextProviderRequest as $c, InboxDeliveryError as $i, ProductActivitySink as $l, NARP_HTTP_RUNTIME_KIND as $n, AppPackageDependencyBindingInput as $o, PortableRuntimeAcceptanceEvidenceSource as $r, ServiceAppManifest as $s, PortableRuntimeAcceptanceManager as $t, ProjectManager as $u, ProviderCatalogPlugin$1 as A, DESKTOP_HOST_PROTOCOL_VERSION as Aa, dispatchAgentRuntimeSessionRequest as Ac, SessionQueuedInput as Ad, LlmUsageStoreOptions as Ai, NEXTCLAW_TIMELINE_KIND_METADATA_KEY as Al, TypedKey as An, CapabilityGrantFilter as Ao, VerificationRecordService as Ar, ServiceActionCaller as As, ObservationCapabilityDescriptor as At, CreateProjectWorkStateInput as Au, LocalizedTextMap$1 as B, DesktopHostRequest as Ba, UserQuestionView as Bc, SessionContextCompactionErrorCode as Bi, readContextWindowEventSessionId as Bl, dispatchPromptOverNcpResult as Bn, AppDataLifecycle as Bo, VerificationEvidenceRecord as Br, ServiceAppCapabilityProvision as Bs, DEFAULT_SERVICE_ACTION_RISK as Bt, ProjectWorkAttention as Bu, NextclawRunStatus as C, DesktopNodeReplService as Ca, AccessSessionState as Cc, SessionSettingsPatch as Cd, PanelAppManager as Ci, CONTEXT_COMPACTION_PROJECTION_KIND as Cl, IngressContext as Cn, CapabilityGrantStore as Co, ServiceAppDeleteResult as Cr, AppPackageUninstallRollback as Cs, ContextBinding as Ct, ProjectWorkErrorCode as Cu, NextclawTaskResult as D, UnavailableDesktopHost as Da, buildSessionRequestCompletionMessage as Dc, isSessionMessageCursorError as Dd, LlmUsageManagerOptions as Di, CONTEXT_COMPACTION_TIMELINE_KIND as Dl, NcpEndpointEvent$1 as Dn, CapabilityGrantRevocationListener as Do, ServiceAppErrorCode as Dr, AgentServiceActionCaller as Ds, EventSubscriptionBudget as Dt, ProjectSkillMaterial as Du, NextclawTaskInput as E, DesktopHostEventListener as Ea, AgentRuntimeSessionRequestDispatcherOptions as Ec, SessionTokenUsageTotals as Ed, LlmUsageManager as Ei, CONTEXT_COMPACTION_SYSTEM_PREAMBLE as El, Key as En, CapabilityGrantManager as Eo, ServiceAppError as Er, isAppPackageError as Es, EventSubscription as Et, ProjectAgreementMaterial as Eu, NextclawKernel as F, DesktopHostCaller as Fa, UserQuestionManager as Fc, createNcpAgentSessionSummary as Fd, createLlmUsageRecord as Fi, isContextCompactionProjectionMessage as Fl, Contribution$1 as Fn, AppDataDeleteResult as Fo, PortableRuntimeAcceptanceResultStatus as Fr, ServiceActionInvokeRequest as Fs, ObservationRelationshipStatus as Ft, ProjectWorkActivity as Fu, appendCurrentTimeContextTail as G, createPanelAppClientGrantRequest as Ga, AgentRunReply as Gc, SystemObjectReferenceErrorCode as Gi, ContextCompactionPreflightBeginResult as Gl, resolveChannelReplyRoute as Gn, AppDocumentGrantMutationResult as Go, VerificationRecordList as Gr, ServiceAppJobEvent as Gs, SERVICE_APP_MANIFEST_FILE_NAME as Gt, ProjectWorkListInput as Gu, buildLocalizedTextMap as H, DesktopHostStatus as Ha, createQuestionResolutionMessage as Hc, SessionContextCompactionResult as Hi, shouldRefreshContextWindowDuringStream as Hl, ChannelReplyRouterDispatchParams as Hn, AppDataSource as Ho, VerificationRecordEntrySurface as Hr, ServiceAppExternalRemediation as Hs, getServiceActionName as Ht, ProjectWorkItemDetail as Hu, NextclawKernelOptions as I, DesktopHostCapabilityDeclaration as Ia, UserQuestionReplyResolution as Ic, SessionEventReplayer as Id, hasLlmUsageTelemetry as Ii, isContextCompactionTimelineMessage as Il, DirectPromptDispatchExecution as In, AppDataDiagnostic as Io, evaluatePortableRuntimeAcceptance as Ir, ServiceActionInvokeResult as Is, ObservationState as It, ProjectWorkActivityPage as Iu, createShowContentTools as J, createServiceAppModelSlotGrantRequest as Ja, NodePlatform as Jc, SystemObjectReferenceSnapshotSource as Ji, ContextCompactionTrigger as Jl, runGatewayInboundLoop as Jn, AppPackageComponentSource as Jo, VerificationRecordStatus as Jr, ServiceAppJobStatus as Js, readServiceAppManifest as Jt, ProjectWorkSummary as Ju, serializeModelInputTail as K, createServiceActionGrantRequest as Ka, AgentRunReplyOptions as Kc, SystemObjectReferenceManager as Ki, ContextCompactionPreflightResult as Kl, GatewayInboundLoopRuntime as Kn, AppInstalledPermissionState as Ko, VerificationRecordObservation as Kr, ServiceAppJobList as Ks, getServiceAppManifestPath as Kt, ProjectWorkState as Ku, ExtensionLoadProgress as L, DesktopHostEvent as La, UserQuestionResolution as Lc, AgentManager as Ld, normalizeLlmUsageModel as Li, isContextWindowSnapshot as Ll, DirectPromptDispatchParams as Ln, AppDataEntry as Lo, evaluatePortableRuntimeAcceptanceArtifact as Lr, ServiceActionRisk as Ls, ObservationTarget as Lt, ProjectWorkActivityType as Lu, AgentKernelModule as M, DesktopCapabilityError as Ma, SessionRequestManager as Mc, UnfinishedNcpAgentRun as Md, LlmUsageSnapshot as Mi, buildContextCompactionTimelineNcpMessage as Ml, createTypedKey as Mn, CapabilityGrantResource as Mo, PortableRuntimeAcceptanceEvidence as Mr, ServiceActionGrantRequest as Ms, ObservationEvent as Mt, PROJECT_WORK_STATE_CATEGORIES as Mu, AgentKernelResources as N, DesktopCapabilityErrorCode as Na, SessionRequestManagerOptions as Nc, applyNcpAgentRunLifecycleEvent as Nd, LlmUsageSummary as Ni, createContextCompactionMessageId as Nl, eventKeys$1 as Nn, CapabilityGrantSubject as No, PortableRuntimeAcceptanceEvidenceArtifact as Nr, ServiceActionGrantState as Ns, ObservationExtensionRuntime as Nt, ProjectRecentArtifact as Nu, NextclawUserQuestion as O, createDesktopHostError as Oa, createAgentRuntimeSessionRequestDispatcher as Oc, isSessionSettingsError as Od, LlmUsageStats as Oi, ContextCompactionModelProjection as Ol, NcpMessage$1 as On, CapabilityGrant as Oo, isServiceAppError as Or, PanelServiceActionCaller as Os, JsonPointer as Ot, ProjectWorkManager as Ou, AgentPlatform as P, DesktopHostAccess as Pa, UserQuestionError as Pc, NcpAgentSessionJournalReplayEvent as Pd, buildLlmUsageSummary as Pi, createContextWindowSignature as Pl, ingressKeys$1 as Pn, AppDataManager as Po, PortableRuntimeAcceptanceResult as Pr, ServiceActionInvocationFacts as Ps, ObservationRef as Pt, ProjectRecentArtifactPage as Pu, renderAgentSafetyContext as Q, PanelAppAgentCapability as Qa, ContextProvider as Qc, CreateInboxDeliveryInput as Qi, ProductActivitySignal as Ql, BuiltinNarpRuntimeProviderService as Qn, AppPackageDependencyBinding as Qo, PortableRuntimeAcceptanceDefinition as Qr, ServiceAppLifecycle as Qs, PortableRuntimeAcceptanceDefinitionView as Qt, ProjectErrorCode as Qu, ExtensionLoadResult as R, DesktopHostManifest as Ra, USER_QUESTION_EXTENSION_TYPE as Rc, AgentProfilePersistence as Rd, sanitizeLlmUsage as Ri, readContextCompactionCheckpoint as Rl, DirectPromptDispatchResult as Rn, AppDataError as Ro, parsePortableRuntimeAcceptanceEvidenceArtifact as Rr, ServiceActionRuntimeState as Rs, SubscribeEventsInput as Rt, ProjectWorkActor as Ru, NextclawHarnessResources as S, DesktopSnapshotOptions as Sa, AccessSessionRecord as Sc, SessionSettingsError as Sd, PreferenceJsonValue as Si, CONTEXT_COMPACTION_PART_START as Sl, Ingress$1 as Sn, normalizeCapabilityGrantRequest as So, NcpAgentSessionJournalStore as Sr, AppPackageUnavailableDiagnostic as Ss, BuildContextTailInput as St, ProjectWorkError as Su, NextclawSessionRunInput as T, DesktopHost as Ta, NextclawApplicationOptions as Tc, SessionTokenUsageSummary as Td, McpManager as Ti, CONTEXT_COMPACTION_RECOVERY_PREAMBLE as Tl, IngressHandler as Tn, CapabilityGrantListener as To, ServiceAppManager as Tr, CapabilityProviderView as Ts, EventDelivery as Tt, ProjectMaterialService as Tu, parseSkillFrontmatter$1 as U, ResolvedDesktopApplicationTarget as Ua, projectUserQuestions as Uc, isSessionContextCompactionError as Ui, shouldRefreshContextWindowImmediately as Ul, dispatchChannelReplyRoute as Un, isAppDataError as Uo, VerificationRecordError as Ur, ServiceAppJobCaller as Us, listServiceAppManifestActions as Ut, ProjectWorkItemListEntry as Uu, SkillFrontmatter as V, DesktopHostResponse as Va, createQuestionMessage as Vc, SessionContextCompactionManager as Vi, readLatestContextCompactionCheckpoint as Vl, startPromptOverNcpExecution as Vn, AppDataList as Vo, VerificationRecord as Vr, ServiceAppCapabilityRequirement as Vs, buildServiceActionId as Vt, ProjectWorkItem as Vu, stripSkillFrontmatter$1 as W, createPanelAppAgentGrantRequest as Wa, AgentRunClient as Wc, SystemObjectReferenceError as Wi, CompactionProfileResolver as Wl, isReplyCapableChannel as Wn, AppPackageManager as Wo, VerificationRecordInput as Wr, ServiceAppJobChunkEvent as Ws, mergeServiceAppRuntimeActions as Wt, ProjectWorkItemPage as Wu, renderAgentBootstrapContext as X, readServiceAppSlotTarget as Xa, AgentRuntimeSessionTypeCatalog as Xc, createInboxDeliverySystemObjectProvider as Xi, ContextCompactionJournalRecoveryService as Xl, BuildAgentRunSendPayloadParams as Xn, AppPackageComponentView as Xo, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT as Xr, ServiceAppJobView as Xs, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID as Xt, UpdateProjectWorkStateInput as Xu, BootstrapContextInput as Y, readServiceActionTargetId as Ya, NodePlatformOptions as Yc, createCronJobSystemObjectProvider as Yi, CompactionSummaryProvider as Yl, AssetApi as Yn, AppPackageComponentSourceList as Yo, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT as Yr, ServiceAppJobTerminalEvent as Ys, CommandRegistry as Yt, UpdateProjectWorkItemInput as Yu, truncateContextText as Z, PANEL_APP_AGENT_CAPABILITIES as Za, ContextBlock as Zc, isSystemObjectReferenceError as Zi, ProductActivityKind as Zl, buildAgentRunSendPayload as Zn, AppPackageConflict as Zo, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS as Zr, ServiceAppJobWatch as Zs, PortableRuntimeAcceptanceContractView as Zt, ProjectError as Zu, NextclawAgentDefinition as _, SkillInfo$1 as _a, AccessManagerOptions as _c, SessionMessagePage as _d, PreferenceErrorCode as _i, NextclawNcpRunContextResolveParams as _l, AppEventEnvelope as _n, isPanelAppError as _o, assertSessionJournalTailComplete as _r, AppPackageReadinessStatus as _s, readJsonPointer as _t, describeAgentRuntimeSessionTypes as _u, INextclawAgentSessions as a, createWorkspaceByteTools as aa, ServiceAppRequirements as ac, ProjectSessionBinding as ad, ServiceAppResidentEventInboxService as ai, IToolRegistry as al, PortableRuntimeAcceptanceIdentityService as an, PanelAppAgentSendResult as ao, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV$1 as ar, AppPackageError as as, SqliteDatabase as at, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS as au, NextclawHarnessErrorCode as b, DesktopSessionCaller as ba, AccessPrincipal as bc, SessionModelTokenUsage as bd, isPreferenceError as bi, ProviderManagerNcpLLMApi as bl, EventBus$1 as bn, getCapabilityGrantKey as bo, recoverSessionJournalTornTail as br, AppPackageSecretSlotView as bs, ObservationManagerOptions as bt, SessionManager as bu, INextclawRun as c, WorkspaceEntry as ca, ServiceAppResidentEventStatus as cc, LlmProviderManager as cd, ServiceAppJobEventSink as ci, NativeAgentRuntimeResources as cl, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES as cn, PanelAppCapabilityGrantCaller as co, RuntimeDistribution as cr, AppPackageList as cs, listExtensionChannelIds as ct, ProviderModelCatalogSnapshot as cu, LLMResponse$1 as d, WorkspaceWrite as da, ServiceAppRuntimeStatus as dc, AgentRunSession as dd, PortableRunnerObservation as di, readMetadataThinking as dl, PortableRuntimeAcceptancePresentation as dn, PanelAppDeleteResult as do, resolveRuntimeInstanceSnapshot as dr, AppPackageOperationList as ds, assertObservationJsonValue as dt, AgentRuntimeEntry as du, InboxDeliveryErrorCode as ea, ServiceAppManifestAction as ec, ProjectManagerOptions as ed, PortableRuntimeAcceptanceId as ei, IContextRegistry as el, PortableRuntimeAcceptanceStatusEntry as en, PanelAppAgentGenerateObjectRequest as eo, NARP_STDIO_RUNTIME_KIND as er, AppPackageDependencyCandidate as es, getUiContentParamsBootstrapScript as et, ProductActivitySource as eu, LLMStreamEvent$1 as f, LocalAgentProfileStore as fa, ServiceAppTerminalJobStatus as fc, CreateAgentRunSessionParams as fd, PlannedRestartRecovery as fi, resolveEffectiveModel as fl, presentPortableRuntimeAcceptanceDefinition as fn, PanelAppEntry as fo, LearningLoopRuntimeConfig as fr, AppPackageOperationResult as fs, assertObservationPredicate as ft, AgentRuntimeProviderRegistration as fu, McpToolCatalogEntry$1 as g, InstalledSkillsList as ga, AccessManager as gc, SessionMessageCursorError as gd, PreferenceError as gi, NextclawNcpResolvedRunContext as gl, AppEventEmitOptions as gn, isPanelAppAgentCapability as go, SessionJournalCompactionResult as gr, AppPackageReadinessRequirement as gs, parseObservationDuration as gt, AgentRuntimeSessionTypeProvider as gu, McpServerRecord$1 as h, InstalledSkillSummary as ha, AutomationManagerOptions as hc, SessionListPageOptions as hd, PlannedRestartRecoveryTicket as hi, NextclawNcpResolvedAgentProfile as hl, PanelAppAssetTokenService as hn, PanelAppList as ho, ProductFeatureControls as hr, AppPackageReadiness as hs, matchesObservationPredicate as ht, AgentRuntimeSessionTypeOption as hu, INextclawAgentRegistry as i, isInboxDeliveryError as ia, ServiceAppRecord as ic, ProjectRecord as id, ResidentEventInput as ii, IRuntimeRegistry as il, PortableRuntimeAcceptanceIdentityResult as in, PanelAppAgentSendRequest as io, RUNTIME_INSTANCE_DISTRIBUTION_ENV$1 as ir, AppPackageDependencyView as is, SessionMessageSqlProjectionStore as it, ConfigMutationResult as iu, ProviderSpec$1 as j, DesktopApplicationTarget as ja, waitForAgentRuntimeSessionReply as jc, SessionSteerQueuedInputResult as jd, LlmUsageRecord as ji, buildContextCompactionModelProjection as jl, Unsubscribe$1 as jn, CapabilityGrantRequest as jo, PortableRuntimeAcceptanceEvaluationContext as jr, ServiceActionGrant as js, ObservationContextTail as jt, PROJECT_WORK_ATTENTION_VALUES as ju, NextclawUserQuestionReply as k, DESKTOP_HOST_ACCESS as ka, createAgentRuntimeSessionRequestSourceNotifier as kc, SessionPendingInput as kd, LlmUsageStore as ki, ContextCompactionTimelineCheckpoint as kl, NcpTool$1 as kn, CapabilityGrantDecision as ko, WorkspaceServiceDataOwner as kr, ServiceAction as ks, JsonValue as kt, CreateProjectWorkItemInput as ku, INextclawSession as l, WorkspaceList as la, ServiceAppResidentEventView as lc, LlmProviderRuntime as ld, ServiceAppJobJournalService as li, normalizeOptionalString as ll, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION as ln, PanelAppClientGrant as lo, RuntimeInstallationKind as lr, AppPackageOperationAction as ls, ExtensionRuntimeStatus as lt, ChannelManager as lu, McpServerDefinition$1 as m, InstalledSkillDetail as ma, AutomationManager as mc, SessionListFilter as md, PlannedRestartRecoveryResult as mi, syncSessionThinkingPreference as ml, McpServiceAppRuntimeService as mn, PanelAppErrorCode as mo, FeatureControlsService as mr, AppPackageOperationView as ms, evaluateObservationEventAdmission as mt, AgentRuntimeSessionTypeIcon as mu, Disposer$1 as n, InboxDeliveryManagerOptions as na, ServiceAppProtocol as nc, CreateProjectInput as nd, ServiceAppRuntimeService as ni, IMcpRegistry as nl, PortableRuntimeAcceptanceSurfaceResult as nn, PanelAppAgentRunClient as no, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV$1 as nr, AppPackageDependencyDiagnostic as ns, sessionJsonChunks as nt, ConfigManagerOptions as nu, INextclawContributionRegistry as o, LocalWorkspaceStore as oa, ServiceAppResidentEventDisposition as oc, ProjectTemplate as od, ServiceAppResidentEventScope as oi, McpToolCallInput as ol, PortableRuntimeAcceptanceUnavailableIdentity as on, PanelAppBridgeSession as oo, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV$1 as or, AppPackageErrorCode as os, resolveLegacyEventType as ot, ProviderModelCatalogEntry as ou, McpCatalogFilter$1 as p, LocalConfigStore as pa, ServiceAppWitContract as pc, SessionHistoryPreparation as pd, PlannedRestartRecoveryManager as pi, resolveSessionChannelContext as pl, resolvePortableRuntimeAcceptanceLocale as pn, PanelAppError as po, readLearningLoopRuntimeConfig as pr, AppPackageOperationStatus as ps, buildObservationEventModelMessage as pt, AgentRuntimeSessionTypeDescribeParams as pu, composeAgentToolCatalog as q, createServiceAppAgentSlotGrantRequest as qa, AgentRunStreamOptions as qc, SystemObjectReferenceProvider as qi, ContextCompactionPreflightService as ql, GatewayInboundProcessor as qn, AppPackageComponentKind as qo, VerificationRecordRole as qr, ServiceAppJobProgressEvent as qs, parseServiceAppManifest as qt, ProjectWorkStateCategory as qu, INextclawAgent as r, MAX_INBOX_DELIVERY_CONTENT_LENGTH as ra, ServiceAppProvides as rc, PROJECT_TEMPLATE_IDS as rd, LeasedResidentEvent as ri, IModelRegistry as rl, PortableRuntimeAcceptanceIdentity as rn, PanelAppAgentSendPayload as ro, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV$1 as rr, AppPackageDependencyDiagnosticCode as rs, SessionMessagePreparationStore as rt, ConfigManagerRuntimeHooks as ru, INextclawHarness as s, WorkspaceByteStore as sa, ServiceAppResidentEventList as sc, ProjectTemplateId as sd, ServiceAppAiCapabilityService as si, ModelChatInput as sl, normalizePortableRuntimeEnvironment as sn, PanelAppCapabilityGrant as so, ResolveRuntimeInstanceSnapshotParams as sr, AppPackageHostTarget as ss, toNcpMessages as st, ProviderModelCatalogManager as su, NextclawHarness as t, InboxDeliveryManager as ta, ServiceAppModelCapabilitySlot as tc, isProjectError as td, PortableRuntimeAcceptancePlatform as ti, IKernel as tl, PortableRuntimeAcceptanceStatusView as tn, PanelAppAgentGenerateObjectResult as to, DEFAULT_AGENT_RUNTIME_ENTRY_ID as tr, AppPackageDependencyCycle as ts, injectUiContentParamsBootstrap as tt, ConfigManager as tu, INextclawSessionRegistry as u, WorkspaceRead as ua, ServiceAppResourceRequirement as uc, ProviderModelsDiscoverInput as ud, ServiceAppJobScope as ui, readMetadataModel as ul, PortableRuntimeAcceptanceLocale as un, PanelAppContent as uo, RuntimeInstanceSnapshot as ur, AppPackageOperationInput as us, ObservationEventAdmissionDecision as ut, ConfigPersistence as uu, NextclawContributionDescriptor as v, SkillManager as va, AccessLoginResult as vc, SessionMessagePart as vd, PreferenceManager as vi, buildNextclawNcpRunContext as vl, AppEventHandler as vn, capabilityGrantCovers as vo, compactSessionJournal as vr, AppPackageRuntimeHooks as vs, toBoundedJson as vt, normalizeAgentRuntimeSessionTypeIcon as vu, NextclawSessionCreateInput as w, DesktopHostCapabilityManager as wa, LocalProduct as wc, SessionTokenUsageStatus as wd, PanelAppPreferencesUpdate as wi, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY as wl, IngressEnvelope as wn, CapabilityGrantLegacyMigrationService as wo, ServiceAppList as wr, AppPackageView as ws, EventAdmissionPolicy as wt, isProjectWorkError as wu, NextclawHarnessOptions as x, DesktopSessionStateService as xa, AccessRole as xc, SessionPersistence as xd, PreferenceEntry as xi, CONTEXT_COMPACTION_CONTINUATION_TEXT as xl, EventBusOptions as xn, matchesCapabilityGrantFilter as xo, restoreSessionJournalBackup as xr, AppPackageSecretStatus as xs, BindContextInput as xt, SessionManagerOptions as xu, NextclawHarnessError as y, SkillScope as ya, AccessPasswordStatus as yc, SessionMetadataUpdate as yd, PreferenceManagerOptions as yi, createAssetTools as yl, AppEventKey as yn, createCapabilityDeclarationFingerprint as yo, recoverSessionJournalMaintenance as yr, AppPackageSecretReadiness as ys, ObservationManager as yt, resolveAgentRuntimeEntries as yu, ExtensionManager as z, DesktopHostMethod as za, UserQuestionPrompt as zc, ResolvedAgentProfile as zd, SessionContextCompactionError as zi, readContextRecoveryState as zl, dispatchPromptOverNcp as zn, AppDataErrorCode as zo, LegacyVerificationRecord as zr, ServiceAppAgentCapabilitySlot as zs, TypedPredicate as zt, ProjectWorkArtifactLink as zu };
|
|
6268
|
+
//# sourceMappingURL=nextclaw-harness.manager-j0JHST4g.d.ts.map
|