@nextclaw/kernel 0.19.2-beta.2 → 0.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/worker/index.d.ts +1 -1
- package/dist/app/worker/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3209 -3209
- package/dist/index.js.map +1 -1
- package/dist/{nextclaw-harness.manager-D05Hdo2E.d.ts → nextclaw-harness.manager-GK_qgrlk.d.ts} +375 -375
- package/dist/{nextclaw-harness.manager-D05Hdo2E.d.ts.map → nextclaw-harness.manager-GK_qgrlk.d.ts.map} +1 -1
- package/dist/{nextclaw-harness.manager-bhysMqUs.js → nextclaw-harness.manager-toewDc-x.js} +5782 -5782
- package/dist/nextclaw-harness.manager-toewDc-x.js.map +1 -0
- package/package.json +11 -11
- package/dist/nextclaw-harness.manager-bhysMqUs.js.map +0 -1
package/dist/{nextclaw-harness.manager-D05Hdo2E.d.ts → nextclaw-harness.manager-GK_qgrlk.d.ts}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AgentRunSendIngressPayload, AppEventEmitOptions, AppEventEnvelope, AppEventHandler, AppEventKey, Contribution, Disposer, Disposer as Disposer$1, EventBus, EventBus as EventBus$1, EventBusOptions, InboxDelivery, InboxDeliveryContentType, InboxDeliveryListView, InboxDeliverySource, InboxDeliveryStateAction, Ingress, Ingress as Ingress$1, IngressContext, IngressEnvelope, IngressHandler, Key, RuntimeModelSelectionMode, SystemObjectReferenceGroupDescriptor, SystemObjectReferenceItem, SystemObjectReferenceListView, SystemObjectResolvedReference, TypedKey, Unsubscribe, Unsubscribe as Unsubscribe$1, createTypedKey, eventKeys as eventKeys$1, ingressKeys as ingressKeys$1 } from "@nextclaw/shared";
|
|
2
2
|
import { LocalAssetStore } from "@nextclaw/ncp-agent-runtime";
|
|
3
3
|
import * as _$_nextclaw_core0 from "@nextclaw/core";
|
|
4
|
-
import { BaseChannel, Config, ContextWindowSnapshot, CreateAgentProfileInput, CreateSessionContextInheritanceInput, CreateSessionInput, CreatedSession, CronService, DiagnosticRuntime, EffectiveAgentProfile, ExtensionChannelBinding, ExtensionDiagnostic, ExtensionRegistry, ExtensionUiMetadata, GatewayController, InboundAttachment, InboundMessage, LLMProvider, LLMResponse, LLMResponse as LLMResponse$1, LLMStreamEvent, LLMStreamEvent as LLMStreamEvent$1, LocalizedTextMap, LocalizedTextMap as LocalizedTextMap$1, McpServerDefinition, McpServerDefinition as McpServerDefinition$1, MessageBus, ModelThinkingCapability, OutboundMessage, ProviderCatalogPlugin, ProviderCatalogPlugin as ProviderCatalogPlugin$1, ProviderModelDiscoveryResult, ProviderSpec, ProviderSpec as ProviderSpec$1, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV as RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV$1, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV as RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV$1, RUNTIME_INSTANCE_DISTRIBUTION_ENV as RUNTIME_INSTANCE_DISTRIBUTION_ENV$1, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV as RUNTIME_INSTANCE_INSTALLATION_KIND_ENV$1, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV as RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV$1, RequestSessionParams, SearchConfig, SessionMessage, SessionProjectContext, SessionProjectContextResolver, SessionRequestDispatcher, SessionRequestRecord, SessionRequestSourceNotifier, SessionRequestToolResult, SessionSearchService, SkillFrontmatter, SkillInfo, SkillInfo as SkillInfo$1, SkillScope, SpawnSessionAndRequestParams, ThinkingLevel, UpdateAgentProfileInput, buildLocalizedTextMap, parseSkillFrontmatter as parseSkillFrontmatter$1, resolveImplicitAgentHomePath, resolveThinkingLevel, stripSkillFrontmatter as stripSkillFrontmatter$1 } from "@nextclaw/core";
|
|
4
|
+
import { BaseChannel, Config, ContextWindowSnapshot, CreateAgentProfileInput, CreateSessionContextInheritanceInput, CreateSessionInput, CreatedSession, CronService, DiagnosticRuntime, EffectiveAgentProfile, ExecRunner, ExtensionChannelBinding, ExtensionDiagnostic, ExtensionRegistry, ExtensionUiMetadata, GatewayController, InboundAttachment, InboundMessage, LLMProvider, LLMResponse, LLMResponse as LLMResponse$1, LLMStreamEvent, LLMStreamEvent as LLMStreamEvent$1, LocalizedTextMap, LocalizedTextMap as LocalizedTextMap$1, McpServerDefinition, McpServerDefinition as McpServerDefinition$1, MessageBus, ModelThinkingCapability, OutboundMessage, ProviderCatalogPlugin, ProviderCatalogPlugin as ProviderCatalogPlugin$1, ProviderModelDiscoveryResult, ProviderSpec, ProviderSpec as ProviderSpec$1, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV as RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV$1, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV as RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV$1, RUNTIME_INSTANCE_DISTRIBUTION_ENV as RUNTIME_INSTANCE_DISTRIBUTION_ENV$1, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV as RUNTIME_INSTANCE_INSTALLATION_KIND_ENV$1, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV as RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV$1, RequestSessionParams, SearchConfig, SessionMessage, SessionProjectContext, SessionProjectContextResolver, SessionRequestDispatcher, SessionRequestRecord, SessionRequestSourceNotifier, SessionRequestToolResult, SessionSearchService, SkillFrontmatter, SkillInfo, SkillInfo as SkillInfo$1, SkillScope, SpawnSessionAndRequestParams, ThinkingLevel, UpdateAgentProfileInput, buildLocalizedTextMap, parseSkillFrontmatter as parseSkillFrontmatter$1, resolveImplicitAgentHomePath, resolveThinkingLevel, stripSkillFrontmatter as stripSkillFrontmatter$1 } from "@nextclaw/core";
|
|
5
5
|
import * as _$_nextclaw_app_runtime0 from "@nextclaw/app-runtime";
|
|
6
6
|
import { AppDocumentGrantMutationResult, AppDocumentGrantState, AppInstallProgressHandler, AppInstalledPermissionState, AppNativeArtifactTarget, AppPermissions, AppPlatformTargetService, AppRollbackResult, AppRuntimeIsolation, AppRuntimeProfile, AppSecretBinding, AppSecretSlot, AppStorageContext, AppStorageUsage, AppUninstallResult, AppUpdateResult } from "@nextclaw/app-runtime";
|
|
7
7
|
import * as _$_nextclaw_ncp0 from "@nextclaw/ncp";
|
|
8
8
|
import { ListMessagesOptions, ListSessionsOptions, ModelInputTail, ModelInputTailSection, NcpAgentConversationStateManager, NcpAgentRuntime, NcpEndpointEvent, NcpEndpointEvent as NcpEndpointEvent$1, NcpEventType, NcpInputDelivery, NcpJsonValue, NcpLLMApi, NcpLLMApiInput, NcpLLMApiOptions, NcpMessage, NcpMessage as NcpMessage$1, NcpMessagePart, NcpResolvedInputDelivery, NcpRunHandle, NcpRunTriggerInput, NcpSessionApi, NcpSessionMessagePageInfo, NcpSessionPatch, NcpSessionSummary, NcpTool, NcpTool as NcpTool$1, OpenAIChatChunk, OpenAIChatMessage } from "@nextclaw/ncp";
|
|
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
|
+
import { AgentSessionRecord, ChatTarget, NcpReplyInput, RuntimeFactoryParams } from "@nextclaw/ncp-toolkit";
|
|
11
12
|
import { ContextCompactionPhase, ContextCompactionPlan, ContextWindowSnapshot as ContextWindowSnapshot$1, buildCompressingCompactionCheckpoint } from "@nextclaw/core/context-compaction";
|
|
12
13
|
import { ContextCompactionCheckpoint } from "@nextclaw/core/context-compaction-checkpoint";
|
|
13
|
-
import { AgentSessionRecord, ChatTarget, NcpReplyInput, RuntimeFactoryParams } from "@nextclaw/ncp-toolkit";
|
|
14
14
|
//#region src/managers/agent.manager.d.ts
|
|
15
15
|
type ResolvedAgentProfile = EffectiveAgentProfile & {
|
|
16
16
|
contextTokens: number;
|
|
@@ -1236,105 +1236,21 @@ declare class SessionRunManager {
|
|
|
1236
1236
|
dispose: () => void;
|
|
1237
1237
|
}
|
|
1238
1238
|
//#endregion
|
|
1239
|
-
//#region src/services/
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
completedMessage: NcpMessage;
|
|
1255
|
-
};
|
|
1256
|
-
type AgentRunExecution = {
|
|
1257
|
-
handle: NcpRunHandle;
|
|
1258
|
-
events: AsyncIterable<NcpEndpointEvent>;
|
|
1259
|
-
result: Promise<AgentRunReply>;
|
|
1260
|
-
cancel: () => Promise<void>;
|
|
1261
|
-
dispose: () => void;
|
|
1262
|
-
};
|
|
1263
|
-
declare class AgentRunClient {
|
|
1264
|
-
private readonly options;
|
|
1265
|
-
constructor(options: {
|
|
1266
|
-
eventBus: Pick<EventBus, "on">;
|
|
1267
|
-
ingress: Pick<Ingress, "handle">;
|
|
1268
|
-
});
|
|
1269
|
-
send: (input: AgentRunSendIngressPayload) => Promise<NcpRunHandle>;
|
|
1270
|
-
sendAndWaitForReply: (input: AgentRunSendIngressPayload, options?: AgentRunReplyOptions) => Promise<AgentRunReply>;
|
|
1271
|
-
startRun: (input: AgentRunSendIngressPayload, options?: AgentRunReplyOptions) => Promise<AgentRunExecution>;
|
|
1272
|
-
sendAndStreamEvents: (this: AgentRunClient, input: AgentRunSendIngressPayload, options?: AgentRunStreamOptions) => AsyncGenerator<NcpEndpointEvent>;
|
|
1273
|
-
private prepareObserver;
|
|
1274
|
-
private sendWithCorrelation;
|
|
1275
|
-
}
|
|
1276
|
-
//#endregion
|
|
1277
|
-
//#region src/utils/user-question.utils.d.ts
|
|
1278
|
-
declare const USER_QUESTION_EXTENSION_TYPE = "nextclaw.user-question";
|
|
1279
|
-
type UserQuestionPrompt = {
|
|
1280
|
-
title: string;
|
|
1281
|
-
options?: string[];
|
|
1282
|
-
recommendedOption?: string;
|
|
1283
|
-
optionDescriptions?: Record<string, string>;
|
|
1284
|
-
};
|
|
1285
|
-
type UserQuestionView = UserQuestionPrompt & {
|
|
1286
|
-
id: string;
|
|
1287
|
-
messageId: string;
|
|
1288
|
-
askedAt: string;
|
|
1289
|
-
status: "pending" | "answered" | "dismissed";
|
|
1290
|
-
answer?: string;
|
|
1291
|
-
answerMessageId?: string;
|
|
1292
|
-
};
|
|
1293
|
-
declare function createQuestionMessage(sessionId: string, prompts: readonly UserQuestionPrompt[]): {
|
|
1294
|
-
message: NcpMessage;
|
|
1295
|
-
questionIds: string[];
|
|
1296
|
-
};
|
|
1297
|
-
declare function projectUserQuestions(messages: readonly NcpMessage[]): UserQuestionView[];
|
|
1298
|
-
declare function createQuestionResolutionMessage(sessionId: string, question: UserQuestionView, action: "answer" | "dismiss", answer?: string): NcpMessage;
|
|
1299
|
-
//#endregion
|
|
1300
|
-
//#region src/managers/user-question.manager.d.ts
|
|
1301
|
-
type UserQuestionResolution = {
|
|
1302
|
-
question: UserQuestionView;
|
|
1303
|
-
handle: NcpRunHandle | null;
|
|
1304
|
-
};
|
|
1305
|
-
type UserQuestionReplyResolution = UserQuestionResolution & {
|
|
1306
|
-
text: string | null;
|
|
1307
|
-
};
|
|
1308
|
-
declare class UserQuestionError extends Error {
|
|
1309
|
-
readonly code: "NOT_FOUND" | "INVALID_ANSWER" | "CONFLICT" | "UNSUPPORTED_RUNTIME";
|
|
1310
|
-
constructor(code: "NOT_FOUND" | "INVALID_ANSWER" | "CONFLICT" | "UNSUPPORTED_RUNTIME", message: string);
|
|
1311
|
-
}
|
|
1312
|
-
declare class UserQuestionManager {
|
|
1313
|
-
private readonly sessions;
|
|
1314
|
-
private readonly runs;
|
|
1315
|
-
private readonly ingress;
|
|
1316
|
-
private readonly resolutions;
|
|
1317
|
-
constructor(sessions: SessionManager, runs: SessionRunManager, ingress: Ingress);
|
|
1318
|
-
ask: (sessionId: string, prompts: readonly UserQuestionPrompt[]) => Promise<{
|
|
1319
|
-
accepted: true;
|
|
1320
|
-
questionIds: string[];
|
|
1321
|
-
}>;
|
|
1322
|
-
list: (sessionId: string) => Promise<UserQuestionView[]>;
|
|
1323
|
-
resolve: (input: {
|
|
1324
|
-
sessionId: string;
|
|
1325
|
-
questionId: string;
|
|
1326
|
-
action: "answer" | "dismiss";
|
|
1327
|
-
answer?: string;
|
|
1328
|
-
}) => Promise<UserQuestionResolution>;
|
|
1329
|
-
resolveAndWaitForReply: (input: {
|
|
1330
|
-
sessionId: string;
|
|
1331
|
-
questionId: string;
|
|
1332
|
-
action: "answer" | "dismiss";
|
|
1333
|
-
answer?: string;
|
|
1334
|
-
}, client: AgentRunClient, options?: AgentRunReplyOptions) => Promise<UserQuestionReplyResolution>;
|
|
1335
|
-
private resolveOnce;
|
|
1336
|
-
private prepareResolution;
|
|
1337
|
-
private assertNativeSession;
|
|
1239
|
+
//#region src/features/context-compaction/services/context-compaction-journal-recovery.service.d.ts
|
|
1240
|
+
declare class ContextCompactionJournalRecoveryService {
|
|
1241
|
+
private readonly pendingMessageIds;
|
|
1242
|
+
private readonly pendingCheckpoints;
|
|
1243
|
+
private readonly recoveredTerminals;
|
|
1244
|
+
private readonly terminalMessages;
|
|
1245
|
+
seed: (messages: readonly NcpMessage[]) => void;
|
|
1246
|
+
track: (event: NcpEndpointEvent) => void;
|
|
1247
|
+
private trackMessageSent;
|
|
1248
|
+
private trackTerminalEvent;
|
|
1249
|
+
terminalize: (message: NcpMessage) => NcpMessage;
|
|
1250
|
+
private readCheckpoint;
|
|
1251
|
+
private readCheckpointByMessageId;
|
|
1252
|
+
private readContinuationMessageId;
|
|
1253
|
+
private readEventMessageId;
|
|
1338
1254
|
}
|
|
1339
1255
|
//#endregion
|
|
1340
1256
|
//#region src/features/context-compaction/services/context-compaction-summary-generation.service.d.ts
|
|
@@ -1428,6 +1344,117 @@ declare class ContextCompactionPreflightService {
|
|
|
1428
1344
|
private resolveCompactionProfile;
|
|
1429
1345
|
}
|
|
1430
1346
|
//#endregion
|
|
1347
|
+
//#region src/features/context-compaction/utils/context-compaction.utils.d.ts
|
|
1348
|
+
declare const NEXTCLAW_TIMELINE_KIND_METADATA_KEY = "nextclaw_timeline_kind";
|
|
1349
|
+
declare const CONTEXT_COMPACTION_TIMELINE_KIND = "context_compaction";
|
|
1350
|
+
declare const CONTEXT_COMPACTION_PROJECTION_METADATA_KEY = "nextclaw_context_projection";
|
|
1351
|
+
declare const CONTEXT_COMPACTION_PROJECTION_KIND = "compressed_context";
|
|
1352
|
+
declare const CONTEXT_COMPACTION_PART_START = "nextclaw_compaction_part_start";
|
|
1353
|
+
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
|
+
declare const CONTEXT_COMPACTION_SYSTEM_PREAMBLE: string;
|
|
1355
|
+
type ContextCompactionTimelineCheckpoint = ContextCompactionCheckpoint;
|
|
1356
|
+
declare function readContextCompactionCheckpoint(message: NcpMessage): ContextCompactionCheckpoint | null;
|
|
1357
|
+
declare function createContextCompactionMessageId(): string;
|
|
1358
|
+
declare function buildContextCompactionTimelineNcpMessage(params: {
|
|
1359
|
+
messageId: string;
|
|
1360
|
+
sessionId: string;
|
|
1361
|
+
checkpoint: ContextCompactionTimelineCheckpoint;
|
|
1362
|
+
}): NcpMessage;
|
|
1363
|
+
declare function isContextCompactionTimelineMessage(message: {
|
|
1364
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1365
|
+
} | null | undefined): boolean;
|
|
1366
|
+
declare function isContextCompactionProjectionMessage(message: {
|
|
1367
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1368
|
+
} | null | undefined): boolean;
|
|
1369
|
+
declare function readLatestContextCompactionCheckpoint(sessionMessages: readonly NcpMessage[]): ContextCompactionCheckpoint | null;
|
|
1370
|
+
type ContextCompactionModelProjection = {
|
|
1371
|
+
messages: NcpMessage[];
|
|
1372
|
+
stablePrefixMessageCount: number;
|
|
1373
|
+
};
|
|
1374
|
+
declare function buildContextCompactionModelProjection(params: {
|
|
1375
|
+
sessionId: string;
|
|
1376
|
+
sessionMessages: readonly NcpMessage[];
|
|
1377
|
+
}): ContextCompactionModelProjection;
|
|
1378
|
+
declare function readContextWindowEventSessionId(event: NcpEndpointEvent): string | null;
|
|
1379
|
+
declare function isContextWindowSnapshot(value: unknown): value is Record<string, unknown>;
|
|
1380
|
+
declare function createContextWindowSignature(value: Record<string, unknown>): string;
|
|
1381
|
+
declare function shouldRefreshContextWindowDuringStream(event: NcpEndpointEvent): boolean;
|
|
1382
|
+
declare function shouldRefreshContextWindowImmediately(event: NcpEndpointEvent): boolean;
|
|
1383
|
+
//#endregion
|
|
1384
|
+
//#region src/features/native-runtime/services/provider-manager-ncp-llm-api.service.d.ts
|
|
1385
|
+
declare class ProviderManagerNcpLLMApi implements NcpLLMApi {
|
|
1386
|
+
private readonly providerManager;
|
|
1387
|
+
constructor(providerManager: LlmProviderRuntime);
|
|
1388
|
+
readonly generate: (this: ProviderManagerNcpLLMApi, input: NcpLLMApiInput, options?: NcpLLMApiOptions) => AsyncGenerator<OpenAIChatChunk>;
|
|
1389
|
+
}
|
|
1390
|
+
//#endregion
|
|
1391
|
+
//#region src/features/native-runtime/tools/ncp-asset.tools.d.ts
|
|
1392
|
+
declare function createAssetTools(params: {
|
|
1393
|
+
assetStore: LocalAssetStore;
|
|
1394
|
+
contentBasePath?: string;
|
|
1395
|
+
}): NcpTool[];
|
|
1396
|
+
//#endregion
|
|
1397
|
+
//#region src/features/native-runtime/utils/nextclaw-ncp-run-context.utils.d.ts
|
|
1398
|
+
type NextclawNcpResolvedAgentProfile = {
|
|
1399
|
+
agentId: string;
|
|
1400
|
+
displayName: string;
|
|
1401
|
+
contextTokens: number;
|
|
1402
|
+
execTimeoutSeconds: number;
|
|
1403
|
+
model: string;
|
|
1404
|
+
reservedContextTokens: number;
|
|
1405
|
+
restrictToWorkspace: boolean;
|
|
1406
|
+
searchConfig: Config["search"];
|
|
1407
|
+
workspace: string;
|
|
1408
|
+
};
|
|
1409
|
+
type NextclawNcpRunContextResolveParams = {
|
|
1410
|
+
agentProfile: ResolvedAgentProfile;
|
|
1411
|
+
config: Config;
|
|
1412
|
+
sessionId: string;
|
|
1413
|
+
requestMetadata?: Record<string, unknown>;
|
|
1414
|
+
sessionMetadata?: Record<string, unknown>;
|
|
1415
|
+
projectContextResolver: Pick<SessionProjectContextResolver, "resolve">;
|
|
1416
|
+
};
|
|
1417
|
+
type NextclawNcpResolvedRunContext = {
|
|
1418
|
+
channel: string;
|
|
1419
|
+
chatId: string;
|
|
1420
|
+
config: Config;
|
|
1421
|
+
effectiveModel: string;
|
|
1422
|
+
effectiveWorkspace: string;
|
|
1423
|
+
profile: NextclawNcpResolvedAgentProfile;
|
|
1424
|
+
requestMetadata: Record<string, unknown>;
|
|
1425
|
+
requestedToolNames: string[];
|
|
1426
|
+
runtimeThinking: ReturnType<typeof resolveThinkingLevel>;
|
|
1427
|
+
sessionKey: string;
|
|
1428
|
+
sessionMetadata: Record<string, unknown>;
|
|
1429
|
+
toolRunContext: ToolRunContext;
|
|
1430
|
+
};
|
|
1431
|
+
declare function buildNextclawNcpRunContext(params: NextclawNcpRunContextResolveParams): NextclawNcpResolvedRunContext;
|
|
1432
|
+
//#endregion
|
|
1433
|
+
//#region src/features/native-runtime/utils/nextclaw-ncp-session-preferences.utils.d.ts
|
|
1434
|
+
declare function normalizeOptionalString(value: unknown): string | undefined;
|
|
1435
|
+
declare function readMetadataModel(metadata: Record<string, unknown>): string | null;
|
|
1436
|
+
declare function readMetadataThinking(metadata: Record<string, unknown>): ThinkingLevel | "__clear__" | null;
|
|
1437
|
+
declare function resolveEffectiveModel(params: {
|
|
1438
|
+
sessionMetadata: Record<string, unknown>;
|
|
1439
|
+
requestMetadata: Record<string, unknown>;
|
|
1440
|
+
fallbackModel: string;
|
|
1441
|
+
}): {
|
|
1442
|
+
metadata: Record<string, unknown>;
|
|
1443
|
+
model: string;
|
|
1444
|
+
};
|
|
1445
|
+
declare function syncSessionThinkingPreference(params: {
|
|
1446
|
+
sessionMetadata: Record<string, unknown>;
|
|
1447
|
+
requestMetadata: Record<string, unknown>;
|
|
1448
|
+
}): Record<string, unknown>;
|
|
1449
|
+
declare function resolveSessionChannelContext(params: {
|
|
1450
|
+
sessionMetadata: Record<string, unknown>;
|
|
1451
|
+
requestMetadata: Record<string, unknown>;
|
|
1452
|
+
}): {
|
|
1453
|
+
channel: string;
|
|
1454
|
+
chatId: string;
|
|
1455
|
+
metadata: Record<string, unknown>;
|
|
1456
|
+
};
|
|
1457
|
+
//#endregion
|
|
1431
1458
|
//#region src/managers/agent-run-context-compaction.manager.d.ts
|
|
1432
1459
|
type AgentRunContextCompactionInput = {
|
|
1433
1460
|
sessionId: string;
|
|
@@ -1449,79 +1476,47 @@ declare class AgentRunContextCompactionManager {
|
|
|
1449
1476
|
private toEvent;
|
|
1450
1477
|
}
|
|
1451
1478
|
//#endregion
|
|
1452
|
-
//#region src/
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
private toQueuedInput;
|
|
1468
|
-
}
|
|
1469
|
-
//#endregion
|
|
1470
|
-
//#region src/services/agent-run-admission.service.d.ts
|
|
1471
|
-
/** Drains accepted ingress work before the restart owner snapshots active runs. */
|
|
1472
|
-
declare class AgentRunAdmissionService {
|
|
1473
|
-
private open;
|
|
1474
|
-
private active;
|
|
1475
|
-
private readonly waiters;
|
|
1476
|
-
suspend: () => Promise<void>;
|
|
1477
|
-
resume: () => void;
|
|
1478
|
-
accept: <T>(operation: () => Promise<T>) => Promise<T>;
|
|
1479
|
-
}
|
|
1480
|
-
//#endregion
|
|
1481
|
-
//#region src/managers/agent-run-request.manager.d.ts
|
|
1482
|
-
declare class AgentRunRequestManager {
|
|
1483
|
-
private readonly agentRuntimeManager;
|
|
1484
|
-
private readonly agentManager;
|
|
1485
|
-
private readonly configManager;
|
|
1486
|
-
private readonly agentContextWindowManager;
|
|
1487
|
-
private readonly eventBus;
|
|
1488
|
-
private readonly ingress;
|
|
1489
|
-
private readonly sessionManager;
|
|
1490
|
-
private readonly sessionRunManager;
|
|
1491
|
-
private readonly diagnostics?;
|
|
1492
|
-
private readonly executionClaims?;
|
|
1493
|
-
readonly cleanups: Array<() => void>;
|
|
1494
|
-
private readonly observedSessionRuns;
|
|
1495
|
-
private readonly sessionCommandManager;
|
|
1496
|
-
private readonly idempotency;
|
|
1497
|
-
private readonly runtimeRuns;
|
|
1498
|
-
readonly pendingInputs: AgentRunInputDeliveryService;
|
|
1499
|
-
private started;
|
|
1500
|
-
readonly admissions: AgentRunAdmissionService;
|
|
1501
|
-
constructor(agentRuntimeManager: AgentRunRuntimeHost, agentManager: AgentRunAgentHost, configManager: AgentRunConfigHost, agentContextWindowManager: AgentRunSurfaceHost, eventBus: EventBus, ingress: Ingress, sessionManager: AgentRunSessionHost, sessionRunManager: AgentRunSessionRunHost, diagnostics?: Pick<DiagnosticRuntime, "record"> | undefined, executionClaims?: SessionExecutionClaims | undefined);
|
|
1502
|
-
start: () => void;
|
|
1479
|
+
//#region src/managers/request-context-tail.manager.d.ts
|
|
1480
|
+
type RequestContextTailRequest = {
|
|
1481
|
+
sessionId: string;
|
|
1482
|
+
runId: string;
|
|
1483
|
+
agentId: string;
|
|
1484
|
+
model: string;
|
|
1485
|
+
signal?: AbortSignal;
|
|
1486
|
+
};
|
|
1487
|
+
type RequestContextTailProvider = {
|
|
1488
|
+
provide: (request: RequestContextTailRequest) => Promise<readonly ModelInputTailSection[]> | readonly ModelInputTailSection[];
|
|
1489
|
+
};
|
|
1490
|
+
declare class RequestContextTailManager {
|
|
1491
|
+
private readonly providers;
|
|
1492
|
+
register: (provider: RequestContextTailProvider) => (() => void);
|
|
1493
|
+
build: (request: RequestContextTailRequest) => Promise<ModelInputTail | undefined>;
|
|
1503
1494
|
dispose: () => void;
|
|
1504
|
-
continueRunIfEligible: (request: AgentRunContinueRequest) => Promise<AgentRunAccepted | null>;
|
|
1505
|
-
private handleSendRequest;
|
|
1506
|
-
private handleAbortRequest;
|
|
1507
|
-
private handleEditMessageRequest;
|
|
1508
|
-
private handleContinueRequest;
|
|
1509
|
-
private handleSessionMessageRequest;
|
|
1510
|
-
private send;
|
|
1511
|
-
private sendOnce;
|
|
1512
|
-
private startQueuedRun;
|
|
1513
|
-
private resolveQueuedRunSpec;
|
|
1514
|
-
private claimSessionExecutionOrFail;
|
|
1515
|
-
private startRuntimeRun;
|
|
1516
|
-
private publishRunStartupFailure;
|
|
1517
|
-
private startNextQueuedRun;
|
|
1518
|
-
private observeSessionRun;
|
|
1519
|
-
private publishRunQueueUpdated;
|
|
1520
|
-
private publishNcpEvent;
|
|
1521
|
-
private getOrCreateSessionForRequest;
|
|
1522
|
-
private abort;
|
|
1523
1495
|
}
|
|
1524
1496
|
//#endregion
|
|
1497
|
+
//#region src/services/agent-run-model-input-budgeter.service.d.ts
|
|
1498
|
+
type AgentModelInputBudgetProfileResolver = {
|
|
1499
|
+
resolveAgentProfile(agentId: string): {
|
|
1500
|
+
contextTokens: number;
|
|
1501
|
+
reservedContextTokens: number;
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
//#endregion
|
|
1505
|
+
//#region src/features/native-runtime/services/native-agent-runtime.service.d.ts
|
|
1506
|
+
type NativeAgentRuntimeResources = {
|
|
1507
|
+
models: NcpLLMApi;
|
|
1508
|
+
agents: AgentModelInputBudgetProfileResolver & {
|
|
1509
|
+
getDefaultAgentId(): string;
|
|
1510
|
+
};
|
|
1511
|
+
config: {
|
|
1512
|
+
getDefaultModel(): string;
|
|
1513
|
+
};
|
|
1514
|
+
sessions: Pick<AgentRunSessionHost, "getAgentRunSession">;
|
|
1515
|
+
compaction: Pick<AgentRunContextCompactionManager, "runPreflight" | "runManual">;
|
|
1516
|
+
assets?: LocalAssetStore | null;
|
|
1517
|
+
contextTail?: Pick<RequestContextTailManager, "build"> | null;
|
|
1518
|
+
};
|
|
1519
|
+
//#endregion
|
|
1525
1520
|
//#region src/types/kernel-capability.types.d.ts
|
|
1526
1521
|
interface IToolRegistry {
|
|
1527
1522
|
register(tool: NcpTool): Disposer;
|
|
@@ -1593,22 +1588,201 @@ interface IKernel {
|
|
|
1593
1588
|
readonly mcp: IMcpRegistry;
|
|
1594
1589
|
}
|
|
1595
1590
|
//#endregion
|
|
1596
|
-
//#region src/
|
|
1597
|
-
type
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1591
|
+
//#region src/features/node-platform/services/node-platform.service.d.ts
|
|
1592
|
+
type NodePlatformOptions = {
|
|
1593
|
+
homeDir?: string;
|
|
1594
|
+
configPath?: string;
|
|
1595
|
+
sessionSearchEnabled?: boolean;
|
|
1596
|
+
sessionTitleEnabled?: boolean;
|
|
1597
|
+
productActivitySink?: AgentKernelResources["productActivitySink"];
|
|
1598
|
+
beforeDeleteSession?: AgentKernelResources["beforeDeleteSession"];
|
|
1603
1599
|
};
|
|
1604
|
-
|
|
1605
|
-
|
|
1600
|
+
/** Opens native resources. Agent, session and run managers are created only by AgentKernel. */
|
|
1601
|
+
declare class NodePlatform implements AgentPlatform {
|
|
1602
|
+
private readonly options;
|
|
1603
|
+
private opening;
|
|
1604
|
+
private closing;
|
|
1605
|
+
private owners;
|
|
1606
|
+
constructor(options?: NodePlatformOptions);
|
|
1607
|
+
get local(): ReturnType<NodePlatform["createOwners"]>;
|
|
1608
|
+
start: () => Promise<AgentKernelResources>;
|
|
1609
|
+
dispose: () => Promise<void>;
|
|
1610
|
+
private createOwners;
|
|
1611
|
+
private open;
|
|
1612
|
+
}
|
|
1613
|
+
//#endregion
|
|
1614
|
+
//#region src/services/agent-run-input-delivery.service.d.ts
|
|
1615
|
+
/** Resolves public pending-input actions while SessionRun remains the state owner. */
|
|
1616
|
+
declare class AgentRunInputDeliveryService {
|
|
1617
|
+
private readonly agentRuntimeManager;
|
|
1618
|
+
private readonly sessionManager;
|
|
1619
|
+
private readonly sessionRunManager;
|
|
1620
|
+
private readonly publishQueueUpdated;
|
|
1621
|
+
constructor(agentRuntimeManager: AgentRunRuntimeHost, sessionManager: AgentRunSessionHost, sessionRunManager: AgentRunSessionRunHost, publishQueueUpdated: (sessionId: string) => void);
|
|
1622
|
+
listQueuedInputs: (sessionId: string) => readonly SessionQueuedInput[];
|
|
1623
|
+
removeQueuedInput: (sessionId: string, queuedInputId: string) => SessionQueuedInput | null;
|
|
1624
|
+
listPendingInputs: (sessionId: string) => readonly SessionPendingInput[];
|
|
1625
|
+
steerQueuedInput: (sessionId: string, queuedInputId: string) => Promise<SessionSteerQueuedInputResult>;
|
|
1626
|
+
promotePreferredSteeringInput: (sessionRun: SessionRun, queuedInputId: string, session: AgentRunSession) => SessionRunPendingRequest | null;
|
|
1627
|
+
private supportsNextStepInput;
|
|
1628
|
+
private toPendingInput;
|
|
1629
|
+
private toQueuedInput;
|
|
1630
|
+
}
|
|
1631
|
+
//#endregion
|
|
1632
|
+
//#region src/services/agent-run-admission.service.d.ts
|
|
1633
|
+
/** Drains accepted ingress work before the restart owner snapshots active runs. */
|
|
1634
|
+
declare class AgentRunAdmissionService {
|
|
1635
|
+
private open;
|
|
1636
|
+
private active;
|
|
1637
|
+
private readonly waiters;
|
|
1638
|
+
suspend: () => Promise<void>;
|
|
1639
|
+
resume: () => void;
|
|
1640
|
+
accept: <T>(operation: () => Promise<T>) => Promise<T>;
|
|
1641
|
+
}
|
|
1642
|
+
//#endregion
|
|
1643
|
+
//#region src/managers/agent-run-request.manager.d.ts
|
|
1644
|
+
declare class AgentRunRequestManager {
|
|
1645
|
+
private readonly agentRuntimeManager;
|
|
1646
|
+
private readonly agentManager;
|
|
1647
|
+
private readonly configManager;
|
|
1648
|
+
private readonly agentContextWindowManager;
|
|
1649
|
+
private readonly eventBus;
|
|
1650
|
+
private readonly ingress;
|
|
1651
|
+
private readonly sessionManager;
|
|
1652
|
+
private readonly sessionRunManager;
|
|
1653
|
+
private readonly diagnostics?;
|
|
1654
|
+
private readonly executionClaims?;
|
|
1655
|
+
readonly cleanups: Array<() => void>;
|
|
1656
|
+
private readonly observedSessionRuns;
|
|
1657
|
+
private readonly sessionCommandManager;
|
|
1658
|
+
private readonly idempotency;
|
|
1659
|
+
private readonly runtimeRuns;
|
|
1660
|
+
readonly pendingInputs: AgentRunInputDeliveryService;
|
|
1661
|
+
private started;
|
|
1662
|
+
readonly admissions: AgentRunAdmissionService;
|
|
1663
|
+
constructor(agentRuntimeManager: AgentRunRuntimeHost, agentManager: AgentRunAgentHost, configManager: AgentRunConfigHost, agentContextWindowManager: AgentRunSurfaceHost, eventBus: EventBus, ingress: Ingress, sessionManager: AgentRunSessionHost, sessionRunManager: AgentRunSessionRunHost, diagnostics?: Pick<DiagnosticRuntime, "record"> | undefined, executionClaims?: SessionExecutionClaims | undefined);
|
|
1664
|
+
start: () => void;
|
|
1665
|
+
dispose: () => void;
|
|
1666
|
+
continueRunIfEligible: (request: AgentRunContinueRequest) => Promise<AgentRunAccepted | null>;
|
|
1667
|
+
private handleSendRequest;
|
|
1668
|
+
private handleAbortRequest;
|
|
1669
|
+
private handleEditMessageRequest;
|
|
1670
|
+
private handleContinueRequest;
|
|
1671
|
+
private handleSessionMessageRequest;
|
|
1672
|
+
private send;
|
|
1673
|
+
private sendOnce;
|
|
1674
|
+
private startQueuedRun;
|
|
1675
|
+
private resolveQueuedRunSpec;
|
|
1676
|
+
private claimSessionExecutionOrFail;
|
|
1677
|
+
private startRuntimeRun;
|
|
1678
|
+
private publishRunStartupFailure;
|
|
1679
|
+
private startNextQueuedRun;
|
|
1680
|
+
private observeSessionRun;
|
|
1681
|
+
private publishRunQueueUpdated;
|
|
1682
|
+
private publishNcpEvent;
|
|
1683
|
+
private getOrCreateSessionForRequest;
|
|
1684
|
+
private abort;
|
|
1685
|
+
}
|
|
1686
|
+
//#endregion
|
|
1687
|
+
//#region src/services/agent-run-client.service.d.ts
|
|
1688
|
+
type AgentRunReplyOptions = {
|
|
1689
|
+
abortSignal?: AbortSignal;
|
|
1690
|
+
onAssistantDelta?: (delta: string) => void;
|
|
1691
|
+
onEvent?: (event: NcpEndpointEvent) => void;
|
|
1692
|
+
missingCompletedMessageError?: string;
|
|
1693
|
+
runErrorMessage?: string;
|
|
1606
1694
|
};
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1695
|
+
type AgentRunStreamOptions = {
|
|
1696
|
+
abortSignal?: AbortSignal;
|
|
1697
|
+
onEvent?: (event: NcpEndpointEvent) => void;
|
|
1698
|
+
};
|
|
1699
|
+
type AgentRunReply = {
|
|
1700
|
+
handle: NcpRunHandle;
|
|
1701
|
+
text: string;
|
|
1702
|
+
completedMessage: NcpMessage;
|
|
1703
|
+
};
|
|
1704
|
+
type AgentRunExecution = {
|
|
1705
|
+
handle: NcpRunHandle;
|
|
1706
|
+
events: AsyncIterable<NcpEndpointEvent>;
|
|
1707
|
+
result: Promise<AgentRunReply>;
|
|
1708
|
+
cancel: () => Promise<void>;
|
|
1611
1709
|
dispose: () => void;
|
|
1710
|
+
};
|
|
1711
|
+
declare class AgentRunClient {
|
|
1712
|
+
private readonly options;
|
|
1713
|
+
constructor(options: {
|
|
1714
|
+
eventBus: Pick<EventBus, "on">;
|
|
1715
|
+
ingress: Pick<Ingress, "handle">;
|
|
1716
|
+
});
|
|
1717
|
+
send: (input: AgentRunSendIngressPayload) => Promise<NcpRunHandle>;
|
|
1718
|
+
sendAndWaitForReply: (input: AgentRunSendIngressPayload, options?: AgentRunReplyOptions) => Promise<AgentRunReply>;
|
|
1719
|
+
startRun: (input: AgentRunSendIngressPayload, options?: AgentRunReplyOptions) => Promise<AgentRunExecution>;
|
|
1720
|
+
sendAndStreamEvents: (this: AgentRunClient, input: AgentRunSendIngressPayload, options?: AgentRunStreamOptions) => AsyncGenerator<NcpEndpointEvent>;
|
|
1721
|
+
private prepareObserver;
|
|
1722
|
+
private sendWithCorrelation;
|
|
1723
|
+
}
|
|
1724
|
+
//#endregion
|
|
1725
|
+
//#region src/utils/user-question.utils.d.ts
|
|
1726
|
+
declare const USER_QUESTION_EXTENSION_TYPE = "nextclaw.user-question";
|
|
1727
|
+
type UserQuestionPrompt = {
|
|
1728
|
+
title: string;
|
|
1729
|
+
options?: string[];
|
|
1730
|
+
recommendedOption?: string;
|
|
1731
|
+
optionDescriptions?: Record<string, string>;
|
|
1732
|
+
};
|
|
1733
|
+
type UserQuestionView = UserQuestionPrompt & {
|
|
1734
|
+
id: string;
|
|
1735
|
+
messageId: string;
|
|
1736
|
+
askedAt: string;
|
|
1737
|
+
status: "pending" | "answered" | "dismissed";
|
|
1738
|
+
answer?: string;
|
|
1739
|
+
answerMessageId?: string;
|
|
1740
|
+
};
|
|
1741
|
+
declare function createQuestionMessage(sessionId: string, prompts: readonly UserQuestionPrompt[]): {
|
|
1742
|
+
message: NcpMessage;
|
|
1743
|
+
questionIds: string[];
|
|
1744
|
+
};
|
|
1745
|
+
declare function projectUserQuestions(messages: readonly NcpMessage[]): UserQuestionView[];
|
|
1746
|
+
declare function createQuestionResolutionMessage(sessionId: string, question: UserQuestionView, action: "answer" | "dismiss", answer?: string): NcpMessage;
|
|
1747
|
+
//#endregion
|
|
1748
|
+
//#region src/managers/user-question.manager.d.ts
|
|
1749
|
+
type UserQuestionResolution = {
|
|
1750
|
+
question: UserQuestionView;
|
|
1751
|
+
handle: NcpRunHandle | null;
|
|
1752
|
+
};
|
|
1753
|
+
type UserQuestionReplyResolution = UserQuestionResolution & {
|
|
1754
|
+
text: string | null;
|
|
1755
|
+
};
|
|
1756
|
+
declare class UserQuestionError extends Error {
|
|
1757
|
+
readonly code: "NOT_FOUND" | "INVALID_ANSWER" | "CONFLICT" | "UNSUPPORTED_RUNTIME";
|
|
1758
|
+
constructor(code: "NOT_FOUND" | "INVALID_ANSWER" | "CONFLICT" | "UNSUPPORTED_RUNTIME", message: string);
|
|
1759
|
+
}
|
|
1760
|
+
declare class UserQuestionManager {
|
|
1761
|
+
private readonly sessions;
|
|
1762
|
+
private readonly runs;
|
|
1763
|
+
private readonly ingress;
|
|
1764
|
+
private readonly resolutions;
|
|
1765
|
+
constructor(sessions: SessionManager, runs: SessionRunManager, ingress: Ingress);
|
|
1766
|
+
ask: (sessionId: string, prompts: readonly UserQuestionPrompt[]) => Promise<{
|
|
1767
|
+
accepted: true;
|
|
1768
|
+
questionIds: string[];
|
|
1769
|
+
}>;
|
|
1770
|
+
list: (sessionId: string) => Promise<UserQuestionView[]>;
|
|
1771
|
+
resolve: (input: {
|
|
1772
|
+
sessionId: string;
|
|
1773
|
+
questionId: string;
|
|
1774
|
+
action: "answer" | "dismiss";
|
|
1775
|
+
answer?: string;
|
|
1776
|
+
}) => Promise<UserQuestionResolution>;
|
|
1777
|
+
resolveAndWaitForReply: (input: {
|
|
1778
|
+
sessionId: string;
|
|
1779
|
+
questionId: string;
|
|
1780
|
+
action: "answer" | "dismiss";
|
|
1781
|
+
answer?: string;
|
|
1782
|
+
}, client: AgentRunClient, options?: AgentRunReplyOptions) => Promise<UserQuestionReplyResolution>;
|
|
1783
|
+
private resolveOnce;
|
|
1784
|
+
private prepareResolution;
|
|
1785
|
+
private assertNativeSession;
|
|
1612
1786
|
}
|
|
1613
1787
|
//#endregion
|
|
1614
1788
|
//#region src/features/session-request/managers/session-request.manager.d.ts
|
|
@@ -1686,178 +1860,23 @@ declare class AgentKernel {
|
|
|
1686
1860
|
dispose: () => Promise<void>;
|
|
1687
1861
|
}
|
|
1688
1862
|
//#endregion
|
|
1689
|
-
//#region src/features/
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
private readonly pendingCheckpoints;
|
|
1693
|
-
private readonly recoveredTerminals;
|
|
1694
|
-
private readonly terminalMessages;
|
|
1695
|
-
seed: (messages: readonly NcpMessage[]) => void;
|
|
1696
|
-
track: (event: NcpEndpointEvent) => void;
|
|
1697
|
-
private trackMessageSent;
|
|
1698
|
-
private trackTerminalEvent;
|
|
1699
|
-
terminalize: (message: NcpMessage) => NcpMessage;
|
|
1700
|
-
private readCheckpoint;
|
|
1701
|
-
private readCheckpointByMessageId;
|
|
1702
|
-
private readContinuationMessageId;
|
|
1703
|
-
private readEventMessageId;
|
|
1704
|
-
}
|
|
1705
|
-
//#endregion
|
|
1706
|
-
//#region src/features/context-compaction/utils/context-compaction.utils.d.ts
|
|
1707
|
-
declare const NEXTCLAW_TIMELINE_KIND_METADATA_KEY = "nextclaw_timeline_kind";
|
|
1708
|
-
declare const CONTEXT_COMPACTION_TIMELINE_KIND = "context_compaction";
|
|
1709
|
-
declare const CONTEXT_COMPACTION_PROJECTION_METADATA_KEY = "nextclaw_context_projection";
|
|
1710
|
-
declare const CONTEXT_COMPACTION_PROJECTION_KIND = "compressed_context";
|
|
1711
|
-
declare const CONTEXT_COMPACTION_PART_START = "nextclaw_compaction_part_start";
|
|
1712
|
-
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.";
|
|
1713
|
-
declare const CONTEXT_COMPACTION_SYSTEM_PREAMBLE: string;
|
|
1714
|
-
type ContextCompactionTimelineCheckpoint = ContextCompactionCheckpoint;
|
|
1715
|
-
declare function readContextCompactionCheckpoint(message: NcpMessage): ContextCompactionCheckpoint | null;
|
|
1716
|
-
declare function createContextCompactionMessageId(): string;
|
|
1717
|
-
declare function buildContextCompactionTimelineNcpMessage(params: {
|
|
1718
|
-
messageId: string;
|
|
1719
|
-
sessionId: string;
|
|
1720
|
-
checkpoint: ContextCompactionTimelineCheckpoint;
|
|
1721
|
-
}): NcpMessage;
|
|
1722
|
-
declare function isContextCompactionTimelineMessage(message: {
|
|
1723
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1724
|
-
} | null | undefined): boolean;
|
|
1725
|
-
declare function isContextCompactionProjectionMessage(message: {
|
|
1726
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1727
|
-
} | null | undefined): boolean;
|
|
1728
|
-
declare function readLatestContextCompactionCheckpoint(sessionMessages: readonly NcpMessage[]): ContextCompactionCheckpoint | null;
|
|
1729
|
-
type ContextCompactionModelProjection = {
|
|
1730
|
-
messages: NcpMessage[];
|
|
1731
|
-
stablePrefixMessageCount: number;
|
|
1732
|
-
};
|
|
1733
|
-
declare function buildContextCompactionModelProjection(params: {
|
|
1734
|
-
sessionId: string;
|
|
1735
|
-
sessionMessages: readonly NcpMessage[];
|
|
1736
|
-
}): ContextCompactionModelProjection;
|
|
1737
|
-
declare function readContextWindowEventSessionId(event: NcpEndpointEvent): string | null;
|
|
1738
|
-
declare function isContextWindowSnapshot(value: unknown): value is Record<string, unknown>;
|
|
1739
|
-
declare function createContextWindowSignature(value: Record<string, unknown>): string;
|
|
1740
|
-
declare function shouldRefreshContextWindowDuringStream(event: NcpEndpointEvent): boolean;
|
|
1741
|
-
declare function shouldRefreshContextWindowImmediately(event: NcpEndpointEvent): boolean;
|
|
1742
|
-
//#endregion
|
|
1743
|
-
//#region src/features/native-runtime/services/provider-manager-ncp-llm-api.service.d.ts
|
|
1744
|
-
declare class ProviderManagerNcpLLMApi implements NcpLLMApi {
|
|
1745
|
-
private readonly providerManager;
|
|
1746
|
-
constructor(providerManager: LlmProviderRuntime);
|
|
1747
|
-
readonly generate: (this: ProviderManagerNcpLLMApi, input: NcpLLMApiInput, options?: NcpLLMApiOptions) => AsyncGenerator<OpenAIChatChunk>;
|
|
1748
|
-
}
|
|
1749
|
-
//#endregion
|
|
1750
|
-
//#region src/features/native-runtime/tools/ncp-asset.tools.d.ts
|
|
1751
|
-
declare function createAssetTools(params: {
|
|
1752
|
-
assetStore: LocalAssetStore;
|
|
1753
|
-
contentBasePath?: string;
|
|
1754
|
-
}): NcpTool[];
|
|
1755
|
-
//#endregion
|
|
1756
|
-
//#region src/features/native-runtime/utils/nextclaw-ncp-run-context.utils.d.ts
|
|
1757
|
-
type NextclawNcpResolvedAgentProfile = {
|
|
1758
|
-
agentId: string;
|
|
1759
|
-
displayName: string;
|
|
1760
|
-
contextTokens: number;
|
|
1761
|
-
execTimeoutSeconds: number;
|
|
1762
|
-
model: string;
|
|
1763
|
-
reservedContextTokens: number;
|
|
1764
|
-
restrictToWorkspace: boolean;
|
|
1765
|
-
searchConfig: Config["search"];
|
|
1766
|
-
workspace: string;
|
|
1767
|
-
};
|
|
1768
|
-
type NextclawNcpRunContextResolveParams = {
|
|
1769
|
-
agentProfile: ResolvedAgentProfile;
|
|
1770
|
-
config: Config;
|
|
1771
|
-
sessionId: string;
|
|
1772
|
-
requestMetadata?: Record<string, unknown>;
|
|
1773
|
-
sessionMetadata?: Record<string, unknown>;
|
|
1774
|
-
projectContextResolver: Pick<SessionProjectContextResolver, "resolve">;
|
|
1775
|
-
};
|
|
1776
|
-
type NextclawNcpResolvedRunContext = {
|
|
1777
|
-
channel: string;
|
|
1778
|
-
chatId: string;
|
|
1779
|
-
config: Config;
|
|
1780
|
-
effectiveModel: string;
|
|
1781
|
-
effectiveWorkspace: string;
|
|
1782
|
-
profile: NextclawNcpResolvedAgentProfile;
|
|
1783
|
-
requestMetadata: Record<string, unknown>;
|
|
1784
|
-
requestedToolNames: string[];
|
|
1785
|
-
runtimeThinking: ReturnType<typeof resolveThinkingLevel>;
|
|
1786
|
-
sessionKey: string;
|
|
1787
|
-
sessionMetadata: Record<string, unknown>;
|
|
1788
|
-
toolRunContext: ToolRunContext;
|
|
1789
|
-
};
|
|
1790
|
-
declare function buildNextclawNcpRunContext(params: NextclawNcpRunContextResolveParams): NextclawNcpResolvedRunContext;
|
|
1791
|
-
//#endregion
|
|
1792
|
-
//#region src/features/native-runtime/utils/nextclaw-ncp-session-preferences.utils.d.ts
|
|
1793
|
-
declare function normalizeOptionalString(value: unknown): string | undefined;
|
|
1794
|
-
declare function readMetadataModel(metadata: Record<string, unknown>): string | null;
|
|
1795
|
-
declare function readMetadataThinking(metadata: Record<string, unknown>): ThinkingLevel | "__clear__" | null;
|
|
1796
|
-
declare function resolveEffectiveModel(params: {
|
|
1797
|
-
sessionMetadata: Record<string, unknown>;
|
|
1798
|
-
requestMetadata: Record<string, unknown>;
|
|
1799
|
-
fallbackModel: string;
|
|
1800
|
-
}): {
|
|
1801
|
-
metadata: Record<string, unknown>;
|
|
1802
|
-
model: string;
|
|
1803
|
-
};
|
|
1804
|
-
declare function syncSessionThinkingPreference(params: {
|
|
1805
|
-
sessionMetadata: Record<string, unknown>;
|
|
1806
|
-
requestMetadata: Record<string, unknown>;
|
|
1807
|
-
}): Record<string, unknown>;
|
|
1808
|
-
declare function resolveSessionChannelContext(params: {
|
|
1809
|
-
sessionMetadata: Record<string, unknown>;
|
|
1810
|
-
requestMetadata: Record<string, unknown>;
|
|
1811
|
-
}): {
|
|
1812
|
-
channel: string;
|
|
1813
|
-
chatId: string;
|
|
1814
|
-
metadata: Record<string, unknown>;
|
|
1815
|
-
};
|
|
1816
|
-
//#endregion
|
|
1817
|
-
//#region src/services/agent-run-model-input-budgeter.service.d.ts
|
|
1818
|
-
type AgentModelInputBudgetProfileResolver = {
|
|
1819
|
-
resolveAgentProfile(agentId: string): {
|
|
1820
|
-
contextTokens: number;
|
|
1821
|
-
reservedContextTokens: number;
|
|
1822
|
-
};
|
|
1823
|
-
};
|
|
1824
|
-
//#endregion
|
|
1825
|
-
//#region src/features/native-runtime/services/native-agent-runtime.service.d.ts
|
|
1826
|
-
type NativeAgentRuntimeResources = {
|
|
1827
|
-
models: NcpLLMApi;
|
|
1828
|
-
agents: AgentModelInputBudgetProfileResolver & {
|
|
1829
|
-
getDefaultAgentId(): string;
|
|
1830
|
-
};
|
|
1831
|
-
config: {
|
|
1832
|
-
getDefaultModel(): string;
|
|
1833
|
-
};
|
|
1834
|
-
sessions: Pick<AgentRunSessionHost, "getAgentRunSession">;
|
|
1835
|
-
compaction: Pick<AgentRunContextCompactionManager, "runPreflight" | "runManual">;
|
|
1836
|
-
assets?: LocalAssetStore | null;
|
|
1837
|
-
contextTail?: Pick<RequestContextTailManager, "build"> | null;
|
|
1838
|
-
};
|
|
1839
|
-
//#endregion
|
|
1840
|
-
//#region src/features/node-platform/services/node-platform.service.d.ts
|
|
1841
|
-
type NodePlatformOptions = {
|
|
1842
|
-
homeDir?: string;
|
|
1843
|
-
configPath?: string;
|
|
1844
|
-
sessionSearchEnabled?: boolean;
|
|
1845
|
-
sessionTitleEnabled?: boolean;
|
|
1846
|
-
productActivitySink?: AgentKernelResources["productActivitySink"];
|
|
1847
|
-
beforeDeleteSession?: AgentKernelResources["beforeDeleteSession"];
|
|
1863
|
+
//#region src/features/node-platform/services/local-product.service.d.ts
|
|
1864
|
+
type NextclawApplicationOptions = NextclawKernelOptions & {
|
|
1865
|
+
allowedToolNames?: readonly string[];
|
|
1848
1866
|
};
|
|
1849
|
-
/**
|
|
1850
|
-
declare class
|
|
1867
|
+
/** Full local product features attached to the Harness-owned AgentKernel. */
|
|
1868
|
+
declare class LocalProduct implements AgentKernelModule {
|
|
1851
1869
|
private readonly options;
|
|
1852
|
-
|
|
1853
|
-
private
|
|
1854
|
-
private
|
|
1855
|
-
constructor(options?:
|
|
1856
|
-
get
|
|
1857
|
-
|
|
1870
|
+
readonly platform: AgentPlatform;
|
|
1871
|
+
private readonly native;
|
|
1872
|
+
private product;
|
|
1873
|
+
constructor(options?: NextclawApplicationOptions);
|
|
1874
|
+
get kernel(): NextclawKernel;
|
|
1875
|
+
attach: (kernel: AgentKernel) => void;
|
|
1876
|
+
start: () => Promise<void>;
|
|
1877
|
+
ready: () => Promise<void>;
|
|
1878
|
+
stop: () => Promise<void>;
|
|
1858
1879
|
dispose: () => Promise<void>;
|
|
1859
|
-
private createOwners;
|
|
1860
|
-
private open;
|
|
1861
1880
|
}
|
|
1862
1881
|
//#endregion
|
|
1863
1882
|
//#region src/types/access.types.d.ts
|
|
@@ -3095,25 +3114,6 @@ declare class DesktopSessionStateService {
|
|
|
3095
3114
|
private sessionStates;
|
|
3096
3115
|
}
|
|
3097
3116
|
//#endregion
|
|
3098
|
-
//#region src/features/node-platform/services/local-product.service.d.ts
|
|
3099
|
-
type NextclawApplicationOptions = NextclawKernelOptions & {
|
|
3100
|
-
allowedToolNames?: readonly string[];
|
|
3101
|
-
};
|
|
3102
|
-
/** Full local product features attached to the Harness-owned AgentKernel. */
|
|
3103
|
-
declare class LocalProduct implements AgentKernelModule {
|
|
3104
|
-
private readonly options;
|
|
3105
|
-
readonly platform: AgentPlatform;
|
|
3106
|
-
private readonly native;
|
|
3107
|
-
private product;
|
|
3108
|
-
constructor(options?: NextclawApplicationOptions);
|
|
3109
|
-
get kernel(): NextclawKernel;
|
|
3110
|
-
attach: (kernel: AgentKernel) => void;
|
|
3111
|
-
start: () => Promise<void>;
|
|
3112
|
-
ready: () => Promise<void>;
|
|
3113
|
-
stop: () => Promise<void>;
|
|
3114
|
-
dispose: () => Promise<void>;
|
|
3115
|
-
}
|
|
3116
|
-
//#endregion
|
|
3117
3117
|
//#region src/managers/skill.manager.d.ts
|
|
3118
3118
|
type WorkspaceParams = {
|
|
3119
3119
|
workspace: string;
|
|
@@ -5690,7 +5690,7 @@ type NextclawKernelOptions = {
|
|
|
5690
5690
|
contextProfile?: "default" | "embedded";
|
|
5691
5691
|
sessionSearchEnabled?: boolean;
|
|
5692
5692
|
sessionTitleEnabled?: boolean; /** Host-owned command execution. The local product uses the ordinary process runner by default. */
|
|
5693
|
-
execRunner?:
|
|
5693
|
+
execRunner?: ExecRunner;
|
|
5694
5694
|
};
|
|
5695
5695
|
type NextclawKernelRuntimeControl<TGatewayInput, TUiInput, TStartInput> = {
|
|
5696
5696
|
gateway: (input: TGatewayInput) => Promise<void>;
|
|
@@ -5996,5 +5996,5 @@ declare class NextclawHarness implements INextclawHarness {
|
|
|
5996
5996
|
private disposeRuns;
|
|
5997
5997
|
}
|
|
5998
5998
|
//#endregion
|
|
5999
|
-
export { renderSystemExecutionPolicy as $, PanelAppAgentRunClient as $a, readContextWindowEventSessionId as $c, isInboxDeliveryError as $i, ProviderModelCatalogEntry as $l, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV$1 as $n, AppPackageDependencyDiagnostic as $o, ResidentEventInput as $r, ServiceAppProtocol as $s, PortableRuntimeAcceptanceIdentity as $t, ProjectTemplate as $u, ProviderCatalogPlugin$1 as A, DesktopCapabilityErrorCode as Aa, NextclawNcpResolvedAgentProfile as Ac, ResolvedAgentProfile as Ad, createLlmUsageRecord as Ai, UserQuestionError as Al, ingressKeys$1 as An, CapabilityGrantSubject as Ao, PortableRuntimeAcceptanceResultStatus as Ar, ServiceActionGrantState as As, ObservationRef as At, ProjectWorkActivityType as Au, LocalizedTextMap$1 as B, ResolvedDesktopApplicationTarget as Ba, CONTEXT_COMPACTION_SYSTEM_PREAMBLE as Bc, SystemObjectReferenceErrorCode as Bi, AgentRunClient as Bl, isReplyCapableChannel as Bn, isAppDataError as Bo, VerificationRecordList as Br, ServiceAppJobCaller as Bs, mergeServiceAppRuntimeActions as Bt, ProjectWorkStateCategory as Bu, NextclawRunStatus as C, DesktopHostEventListener as Ca, NativeAgentRuntimeResources as Cc, createNcpAgentSessionSummary as Cd, LlmUsageStats as Ci, ModelChatInput as Cl, NcpEndpointEvent$1 as Cn, CapabilityGrantManager as Co, isServiceAppError as Cr, isAppPackageError as Cs, EventSubscriptionBudget as Ct, CreateProjectWorkStateInput as Cu, NextclawTaskResult as D, DESKTOP_HOST_PROTOCOL_VERSION as Da, resolveEffectiveModel as Dc, ProviderModelsDiscoverInput as Dd, LlmUsageSnapshot as Di, ContextCompactionPreflightService as Dl, Unsubscribe$1 as Dn, CapabilityGrantFilter as Do, PortableRuntimeAcceptanceEvidence as Dr, ServiceActionCaller as Ds, ObservationContextTail as Dt, ProjectRecentArtifactPage as Du, NextclawTaskInput as E, DESKTOP_HOST_ACCESS as Ea, readMetadataThinking as Ec, LlmProviderRuntime as Ed, LlmUsageRecord as Ei, ContextCompactionPreflightResult as El, TypedKey as En, CapabilityGrantDecision as Eo, PortableRuntimeAcceptanceEvaluationContext as Er, ServiceAction as Es, ObservationCapabilityDescriptor as Et, ProjectRecentArtifact as Eu, NextclawKernel as F, DesktopHostManifest as Fa, ProviderManagerNcpLLMApi as Fc, SessionContextCompactionErrorCode as Fi, UserQuestionPrompt as Fl, dispatchPromptOverNcp as Fn, AppDataError as Fo, VerificationEvidenceRecord as Fr, ServiceActionRuntimeState as Fs, TypedPredicate as Ft, ProjectWorkItemDetail as Fu, appendCurrentTimeContextTail as G, createServiceAppModelSlotGrantRequest as Ga, buildContextCompactionModelProjection as Gc, createInboxDeliverySystemObjectProvider as Gi, ProductActivitySignal as Gl, AssetApi as Gn, AppPackageComponentSource as Go, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT as Gr, ServiceAppJobStatus as Gs, CommandRegistry as Gt, ProjectErrorCode as Gu, buildLocalizedTextMap as H, createPanelAppClientGrantRequest as Ha, ContextCompactionModelProjection as Hc, SystemObjectReferenceProvider as Hi, AgentRunReplyOptions as Hl, GatewayInboundLoopRuntime as Hn, AppDocumentGrantMutationResult as Ho, VerificationRecordRole as Hr, ServiceAppJobEvent as Hs, getServiceAppManifestPath as Ht, UpdateProjectWorkItemInput as Hu, NextclawKernelOptions as I, DesktopHostMethod as Ia, CONTEXT_COMPACTION_CONTINUATION_TEXT as Ic, SessionContextCompactionManager as Ii, UserQuestionView as Il, dispatchPromptOverNcpResult as In, AppDataErrorCode as Io, VerificationRecord as Ir, ServiceAppAgentCapabilitySlot as Is, DEFAULT_SERVICE_ACTION_RISK as It, ProjectWorkItemListEntry as Iu, createShowContentTools as J, PANEL_APP_AGENT_CAPABILITIES as Ja, createContextWindowSignature as Jc, InboxDeliveryError as Ji, ConfigManager as Jl, BuiltinNarpRuntimeProviderService as Jn, AppPackageConflict as Jo, PortableRuntimeAcceptanceEvidenceSource as Jr, ServiceAppJobWatch as Js, PortableRuntimeAcceptanceDefinitionView as Jt, isProjectError as Ju, serializeModelInputTail as K, readServiceActionTargetId as Ka, buildContextCompactionTimelineNcpMessage as Kc, isSystemObjectReferenceError as Ki, ProductActivitySink as Kl, BuildAgentRunSendPayloadParams as Kn, AppPackageComponentSourceList as Ko, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS as Kr, ServiceAppJobTerminalEvent as Ks, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID as Kt, ProjectManager as Ku, ExtensionLoadProgress as L, DesktopHostRequest as La, CONTEXT_COMPACTION_PART_START as Lc, SessionContextCompactionResult as Li, createQuestionMessage as Ll, startPromptOverNcpExecution as Ln, AppDataLifecycle as Lo, VerificationRecordEntrySurface as Lr, ServiceAppCapabilityProvision as Ls, buildServiceActionId as Lt, ProjectWorkItemPage as Lu, AgentKernelModule as M, DesktopHostCaller as Ma, NextclawNcpRunContextResolveParams as Mc, normalizeLlmUsageModel as Mi, UserQuestionReplyResolution as Ml, DirectPromptDispatchExecution as Mn, AppDataDeleteResult as Mo, evaluatePortableRuntimeAcceptanceArtifact as Mr, ServiceActionInvokeRequest as Ms, ObservationState as Mt, ProjectWorkArtifactLink as Mu, AgentKernelResources as N, DesktopHostCapabilityDeclaration as Na, buildNextclawNcpRunContext as Nc, sanitizeLlmUsage as Ni, UserQuestionResolution as Nl, DirectPromptDispatchParams as Nn, AppDataDiagnostic as No, parsePortableRuntimeAcceptanceEvidenceArtifact as Nr, ServiceActionInvokeResult as Ns, ObservationTarget as Nt, ProjectWorkAttention as Nu, NextclawUserQuestion as O, DesktopApplicationTarget as Oa, resolveSessionChannelContext as Oc, AgentManager as Od, LlmUsageSummary as Oi, ContextCompactionTrigger as Ol, createTypedKey as On, CapabilityGrantRequest as Oo, PortableRuntimeAcceptanceEvidenceArtifact as Or, ServiceActionGrant as Os, ObservationEvent as Ot, ProjectWorkActivity as Ou, AgentPlatform as P, DesktopHostEvent as Pa, createAssetTools as Pc, SessionContextCompactionError as Pi, USER_QUESTION_EXTENSION_TYPE as Pl, DirectPromptDispatchResult as Pn, AppDataEntry as Po, LegacyVerificationRecord as Pr, ServiceActionRisk as Ps, SubscribeEventsInput as Pt, ProjectWorkItem as Pu, renderAgentSafetyContext as Q, PanelAppAgentGenerateObjectResult as Qa, readContextCompactionCheckpoint 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, AppPackageDependencyCycle as Qo, LeasedResidentEvent as Qr, ServiceAppModelCapabilitySlot as Qs, PortableRuntimeAcceptanceSurfaceResult as Qt, ProjectSessionBinding as Qu, ExtensionLoadResult as R, DesktopHostResponse as Ra, CONTEXT_COMPACTION_PROJECTION_KIND as Rc, isSessionContextCompactionError as Ri, createQuestionResolutionMessage as Rl, ChannelReplyRouterDispatchParams as Rn, AppDataList as Ro, VerificationRecordError as Rr, ServiceAppCapabilityRequirement as Rs, getServiceActionName as Rt, ProjectWorkListInput as Ru, NextclawHarnessResources as S, DesktopHost as Sa, NodePlatformOptions as Sc, NcpAgentSessionJournalReplayEvent as Sd, LlmUsageManagerOptions as Si, McpToolCallInput as Sl, Key as Sn, CapabilityGrantListener as So, ServiceAppErrorCode as Sr, CapabilityProviderView as Ss, EventSubscription as St, CreateProjectWorkItemInput as Su, NextclawSessionRunInput as T, createDesktopHostError as Ta, readMetadataModel as Tc, LlmProviderManager as Td, LlmUsageStoreOptions as Ti, ContextCompactionPreflightBeginResult as Tl, NcpTool$1 as Tn, CapabilityGrant as To, VerificationRecordService as Tr, PanelServiceActionCaller as Ts, JsonValue as Tt, PROJECT_WORK_STATE_CATEGORIES as Tu, parseSkillFrontmatter$1 as U, createServiceActionGrantRequest as Ua, ContextCompactionTimelineCheckpoint as Uc, SystemObjectReferenceSnapshotSource as Ui, AgentRunStreamOptions as Ul, GatewayInboundProcessor as Un, AppInstalledPermissionState as Uo, VerificationRecordStatus as Ur, ServiceAppJobList as Us, parseServiceAppManifest as Ut, UpdateProjectWorkStateInput as Uu, SkillFrontmatter as V, createPanelAppAgentGrantRequest as Va, CONTEXT_COMPACTION_TIMELINE_KIND as Vc, SystemObjectReferenceManager as Vi, AgentRunReply as Vl, resolveChannelReplyRoute as Vn, AppPackageManager as Vo, VerificationRecordObservation as Vr, ServiceAppJobChunkEvent as Vs, SERVICE_APP_MANIFEST_FILE_NAME as Vt, ProjectWorkSummary as Vu, stripSkillFrontmatter$1 as W, createServiceAppAgentSlotGrantRequest as Wa, NEXTCLAW_TIMELINE_KIND_METADATA_KEY as Wc, createCronJobSystemObjectProvider as Wi, ProductActivityKind as Wl, runGatewayInboundLoop as Wn, AppPackageComponentKind as Wo, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT as Wr, ServiceAppJobProgressEvent as Ws, readServiceAppManifest as Wt, ProjectError as Wu, renderAgentBootstrapContext as X, PanelAppAgentGenerateObjectInput as Xa, isContextCompactionTimelineMessage as Xc, InboxDeliveryManager as Xi, ConfigManagerRuntimeHooks as Xl, NARP_STDIO_RUNTIME_KIND as Xn, AppPackageDependencyBindingInput as Xo, PortableRuntimeAcceptancePlatform as Xr, ServiceAppManifest as Xs, PortableRuntimeAcceptanceStatusEntry as Xt, PROJECT_TEMPLATE_IDS as Xu, BootstrapContextInput as Y, PanelAppAgentCapability as Ya, isContextCompactionProjectionMessage as Yc, InboxDeliveryErrorCode as Yi, ConfigManagerOptions as Yl, NARP_HTTP_RUNTIME_KIND as Yn, AppPackageDependencyBinding as Yo, PortableRuntimeAcceptanceId as Yr, ServiceAppLifecycle as Ys, PortableRuntimeAcceptanceManager as Yt, CreateProjectInput as Yu, truncateContextText as Z, PanelAppAgentGenerateObjectRequest as Za, isContextWindowSnapshot as Zc, InboxDeliveryManagerOptions as Zi, ConfigMutationResult as Zl, DEFAULT_AGENT_RUNTIME_ENTRY_ID as Zn, AppPackageDependencyCandidate as Zo, ServiceAppRuntimeService as Zr, ServiceAppManifestAction as Zs, PortableRuntimeAcceptanceStatusView as Zt, ProjectRecord as Zu, NextclawAgentDefinition as _, DesktopSessionCaller as _a, AccessPrincipal as _c, SessionPendingInput as _d, PreferenceJsonValue as _i, IKernel as _l, EventBusOptions as _n, getCapabilityGrantKey as _o, NcpAgentSessionJournalStore as _r, AppPackageSecretSlotView as _s, BindContextInput as _t, isProjectWorkError as _u, INextclawAgentSessions as a, WorkspaceRead as aa, ServiceAppResidentEventStatus as ac, SessionMessageCursorError as ad, ServiceAppJobScope as ai, buildSessionRequestCompletionMessage as al, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION as an, PanelAppCapabilityGrantCaller as ao, RuntimeInstallationKind as ar, AppPackageList as as, ExtensionRuntimeStatus as at, AgentRuntimeProviderRegistration as au, NextclawHarnessErrorCode as b, DesktopNodeReplService as ba, AccessSessionState as bc, UnfinishedNcpAgentRun as bd, McpManager as bi, IRuntimeRegistry as bl, IngressEnvelope as bn, CapabilityGrantStore as bo, ServiceAppManager as br, AppPackageUninstallRollback as bs, EventAdmissionPolicy as bt, ProjectSkillMaterial as bu, INextclawRun as c, LocalConfigStore as ca, ServiceAppRuntimeStatus as cc, SessionModelTokenUsage as cd, PlannedRestartRecoveryManager as ci, dispatchAgentRuntimeSessionRequest as cl, presentPortableRuntimeAcceptanceDefinition as cn, PanelAppDeleteResult as co, LearningLoopRuntimeConfig as cr, AppPackageOperationList as cs, assertObservationPredicate as ct, AgentRuntimeSessionTypeOption as cu, LLMResponse$1 as d, InstalledSkillsList as da, AutomationManager as dc, SessionSettingsPatch as dd, PreferenceError as di, SessionRequestManagerOptions as dl, PanelAppAssetTokenService as dn, PanelAppErrorCode as do, ProductFeatureControls as dr, AppPackageOperationView as ds, matchesObservationPredicate as dt, normalizeAgentRuntimeSessionTypeIcon as du, createWorkspaceByteTools as ea, ServiceAppProvides as ec, ProjectTemplateId as ed, ServiceAppResidentEventInboxService as ei, readLatestContextCompactionCheckpoint as el, PortableRuntimeAcceptanceIdentityResult as en, PanelAppAgentSendPayload as eo, RUNTIME_INSTANCE_DISTRIBUTION_ENV$1 as er, AppPackageDependencyDiagnosticCode as es, getUiContentParamsBootstrapScript as et, ProviderModelCatalogManager as eu, LLMStreamEvent$1 as f, SkillInfo$1 as fa, AutomationManagerOptions as fc, SessionTokenUsageStatus as fd, PreferenceErrorCode as fi, AgentRuntimeSessionTypeCatalog as fl, AppEventEmitOptions as fn, PanelAppList as fo, SessionJournalCompactionResult as fr, AppPackageReadiness as fs, parseObservationDuration as ft, resolveAgentRuntimeEntries as fu, McpToolCatalogEntry$1 as g, NextclawApplicationOptions as ga, AccessPasswordStatus as gc, isSessionSettingsError as gd, PreferenceEntry as gi, IContextRegistry as gl, EventBus$1 as gn, createCapabilityDeclarationFingerprint as go, restoreSessionJournalBackup as gr, AppPackageSecretReadiness as gs, ObservationManagerOptions as gt, ProjectWorkErrorCode as gu, McpServerRecord$1 as h, LocalProduct as ha, AccessLoginResult as hc, isSessionMessageCursorError as hd, isPreferenceError as hi, ContextProviderRequest as hl, AppEventKey as hn, capabilityGrantCovers as ho, recoverSessionJournalMaintenance as hr, AppPackageRuntimeHooks as hs, ObservationManager as ht, ProjectWorkError as hu, INextclawAgentRegistry as i, WorkspaceList as ia, ServiceAppResidentEventList as ic, SessionListPageOptions as id, ServiceAppJobJournalService as ii, AgentRuntimeSessionRequestDispatcherOptions as il, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES as in, PanelAppCapabilityGrant as io, RuntimeDistribution as ir, AppPackageHostTarget as is, listExtensionChannelIds as it, AgentRuntimeEntry as iu, ProviderSpec$1 as j, DesktopHostAccess as ja, NextclawNcpResolvedRunContext as jc, hasLlmUsageTelemetry as ji, UserQuestionManager as jl, Contribution$1 as jn, AppDataManager as jo, evaluatePortableRuntimeAcceptance as jr, ServiceActionInvocationFacts as js, ObservationRelationshipStatus as jt, ProjectWorkActor as ju, NextclawUserQuestionReply as k, DesktopCapabilityError as ka, syncSessionThinkingPreference as kc, AgentProfilePersistence as kd, buildLlmUsageSummary as ki, CompactionSummaryProvider as kl, eventKeys$1 as kn, CapabilityGrantResource as ko, PortableRuntimeAcceptanceResult as kr, ServiceActionGrantRequest as ks, ObservationExtensionRuntime as kt, ProjectWorkActivityPage as ku, INextclawSession as l, InstalledSkillDetail as la, ServiceAppTerminalJobStatus as lc, SessionPersistence as ld, PlannedRestartRecoveryResult as li, waitForAgentRuntimeSessionReply as ll, resolvePortableRuntimeAcceptanceLocale as ln, PanelAppEntry as lo, readLearningLoopRuntimeConfig as lr, AppPackageOperationResult as ls, buildObservationEventModelMessage as lt, AgentRuntimeSessionTypeProvider as lu, McpServerDefinition$1 as m, SkillScope as ma, AccessManagerOptions as mc, SessionTokenUsageTotals as md, PreferenceManagerOptions as mi, ContextProvider as ml, AppEventHandler as mn, isPanelAppError as mo, compactSessionJournal as mr, AppPackageReadinessStatus as ms, toBoundedJson as mt, SessionManagerOptions as mu, Disposer$1 as n, WorkspaceByteStore as na, ServiceAppRequirements as nc, CreateAgentRunSessionParams as nd, ServiceAppAiCapabilityService as ni, shouldRefreshContextWindowImmediately as nl, PortableRuntimeAcceptanceUnavailableIdentity as nn, PanelAppAgentSendResult as no, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV$1 as nr, AppPackageError as ns, resolveLegacyEventType as nt, ChannelManager as nu, INextclawContributionRegistry as o, WorkspaceWrite as oa, ServiceAppResidentEventView as oc, SessionMessagePage as od, PortableRunnerObservation as oi, createAgentRuntimeSessionRequestDispatcher as ol, PortableRuntimeAcceptanceLocale as on, PanelAppClientGrant as oo, RuntimeInstanceSnapshot as or, AppPackageOperationAction as os, ObservationEventAdmissionDecision as ot, AgentRuntimeSessionTypeDescribeParams as ou, McpCatalogFilter$1 as p, SkillManager as pa, AccessManager as pc, SessionTokenUsageSummary as pd, PreferenceManager as pi, ContextBlock as pl, AppEventEnvelope as pn, isPanelAppAgentCapability as po, assertSessionJournalTailComplete as pr, AppPackageReadinessRequirement as ps, readJsonPointer as pt, SessionManager as pu, composeAgentToolCatalog as q, readServiceAppSlotTarget as qa, createContextCompactionMessageId as qc, CreateInboxDeliveryInput as qi, ProductActivitySource as ql, buildAgentRunSendPayload as qn, AppPackageComponentView as qo, PortableRuntimeAcceptanceDefinition as qr, ServiceAppJobView as qs, PortableRuntimeAcceptanceContractView as qt, ProjectManagerOptions as qu, INextclawAgent as r, WorkspaceEntry as ra, ServiceAppResidentEventDisposition as rc, SessionListFilter as rd, ServiceAppJobEventSink as ri, ContextCompactionJournalRecoveryService as rl, normalizePortableRuntimeEnvironment as rn, PanelAppBridgeSession as ro, ResolveRuntimeInstanceSnapshotParams as rr, AppPackageErrorCode as rs, toNcpMessages as rt, ConfigPersistence as ru, INextclawHarness as s, LocalAgentProfileStore as sa, ServiceAppResourceRequirement as sc, SessionMetadataUpdate as sd, PlannedRestartRecovery as si, createAgentRuntimeSessionRequestSourceNotifier as sl, PortableRuntimeAcceptancePresentation as sn, PanelAppContent as so, resolveRuntimeInstanceSnapshot as sr, AppPackageOperationInput as ss, assertObservationJsonValue as st, AgentRuntimeSessionTypeIcon as su, NextclawHarness as t, LocalWorkspaceStore as ta, ServiceAppRecord as tc, AgentRunSession as td, ServiceAppResidentEventScope as ti, shouldRefreshContextWindowDuringStream as tl, PortableRuntimeAcceptanceIdentityService as tn, PanelAppAgentSendRequest as to, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV$1 as tr, AppPackageDependencyView as ts, injectUiContentParamsBootstrap as tt, ProviderModelCatalogSnapshot as tu, INextclawSessionRegistry as u, InstalledSkillSummary as ua, ServiceAppWitContract as uc, SessionSettingsError as ud, PlannedRestartRecoveryTicket as ui, SessionRequestManager as ul, McpServiceAppRuntimeService as un, PanelAppError as uo, FeatureControlsService as ur, AppPackageOperationStatus as us, evaluateObservationEventAdmission as ut, describeAgentRuntimeSessionTypes as uu, NextclawContributionDescriptor as v, DesktopSessionStateService as va, AccessRole as vc, SessionQueuedInput as vd, PanelAppManager as vi, IMcpRegistry as vl, Ingress$1 as vn, matchesCapabilityGrantFilter as vo, ServiceAppDeleteResult as vr, AppPackageSecretStatus as vs, BuildContextTailInput as vt, ProjectMaterialService as vu, NextclawSessionCreateInput as w, UnavailableDesktopHost as wa, normalizeOptionalString as wc, SessionEventReplayer as wd, LlmUsageStore as wi, CompactionProfileResolver as wl, NcpMessage$1 as wn, CapabilityGrantRevocationListener as wo, WorkspaceServiceDataOwner as wr, AgentServiceActionCaller as ws, JsonPointer as wt, PROJECT_WORK_ATTENTION_VALUES as wu, NextclawHarnessOptions as x, DesktopHostCapabilityManager as xa, NodePlatform as xc, applyNcpAgentRunLifecycleEvent as xd, LlmUsageManager as xi, IToolRegistry as xl, IngressHandler as xn, CapabilityGrantLegacyMigrationService as xo, ServiceAppError as xr, AppPackageView as xs, EventDelivery as xt, ProjectWorkManager as xu, NextclawHarnessError as y, DesktopSnapshotOptions as ya, AccessSessionRecord as yc, SessionSteerQueuedInputResult as yd, PanelAppPreferencesUpdate as yi, IModelRegistry as yl, IngressContext as yn, normalizeCapabilityGrantRequest as yo, ServiceAppList as yr, AppPackageUnavailableDiagnostic as ys, ContextBinding as yt, ProjectAgreementMaterial as yu, ExtensionManager as z, DesktopHostStatus as za, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY as zc, SystemObjectReferenceError as zi, projectUserQuestions as zl, dispatchChannelReplyRoute as zn, AppDataSource as zo, VerificationRecordInput as zr, ServiceAppExternalRemediation as zs, listServiceAppManifestActions as zt, ProjectWorkState as zu };
|
|
6000
|
-
//# sourceMappingURL=nextclaw-harness.manager-
|
|
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-GK_qgrlk.d.ts.map
|