@nextclaw/kernel 0.17.3 → 0.18.1
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/index.d.ts +105 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5462 -4546
- package/dist/index.js.map +1 -1
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, getAutomaticUpdateCheckDelay, resolveAutomaticUpdateCheckIntervalMs } from "./utils/automatic-update-check.utils.js";
|
|
2
2
|
import { a as getUnsignedUpdateManifest, c as UpdateBlockReason, d as UpdateStatus, i as UpdateManifestReader, l as UpdateProgress, n as UpdateHostKind, o as serializeUnsignedUpdateManifest, r as UpdateManifest, s as InstallationKind, t as UnsignedUpdateManifest, u as UpdateSnapshot } from "./update-manifest.types-CQpbURTE.js";
|
|
3
|
+
import { AgentRunSendIngressPayload, AppEventEmitOptions, AppEventEnvelope, AppEventHandler, AppEventKey, Contribution as Contribution$1, 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, ingressKeys } from "@nextclaw/shared";
|
|
4
|
+
import { LocalAssetStore } from "@nextclaw/ncp-agent-runtime";
|
|
3
5
|
import * as _$_nextclaw_core0 from "@nextclaw/core";
|
|
4
6
|
import { BaseChannel, Config, ContextCompactionCheckpoint, ContextCompactionPhase, ContextCompactionPlan, 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, LocalExecutionClaimService, McpServerDefinition, McpServerDefinition as McpServerDefinition$1, MessageBus, ModelThinkingCapability, OutboundMessage, ProviderCatalogPlugin, ProviderCatalogPlugin as ProviderCatalogPlugin$1, ProviderModelDiscoveryResult, ProviderSpec, ProviderSpec as ProviderSpec$1, RequestSessionParams, SearchConfig, SessionMessage, SessionRequestDispatcher, SessionRequestRecord, SessionRequestSourceNotifier, SessionRequestToolResult, SessionSearchService, SkillInfo, SkillInfo as SkillInfo$1, SkillScope, SpawnSessionAndRequestParams, ThinkingLevel, UpdateAgentProfileInput, buildCompressingCompactionCheckpoint, resolveThinkingLevel } from "@nextclaw/core";
|
|
5
7
|
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";
|
|
6
|
-
import { LocalAssetStore } from "@nextclaw/ncp-agent-runtime";
|
|
7
|
-
import { AgentRunSendIngressPayload, AppEventEmitOptions, AppEventEnvelope, AppEventHandler, AppEventKey, Contribution as Contribution$1, 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, ingressKeys } from "@nextclaw/shared";
|
|
8
8
|
import { AgentSessionRecord, ChatTarget, NcpReplyInput, RuntimeFactoryParams } from "@nextclaw/ncp-toolkit";
|
|
9
9
|
import * as _$_nextclaw_app_runtime0 from "@nextclaw/app-runtime";
|
|
10
10
|
import { AppDocumentGrantMutationResult, AppDocumentGrantState, AppInstallProgressHandler, AppInstalledPermissionState, AppNativeArtifactTarget, AppPermissions, AppPlatformTargetService, AppRollbackResult, AppRuntimeIsolation, AppRuntimeProfile, AppSecretBinding, AppSecretSlot, AppStorageContext, AppStorageUsage, AppUninstallResult, AppUpdateResult } from "@nextclaw/app-runtime";
|
|
@@ -387,6 +387,18 @@ type AgentRunRequest = {
|
|
|
387
387
|
idempotencyKey?: string;
|
|
388
388
|
trigger?: NcpRunTriggerInput;
|
|
389
389
|
};
|
|
390
|
+
type AgentRunContinueRequest = {
|
|
391
|
+
correlationId?: string;
|
|
392
|
+
sessionId: string;
|
|
393
|
+
trigger?: NcpRunTriggerInput;
|
|
394
|
+
};
|
|
395
|
+
type AgentRunAccepted = {
|
|
396
|
+
sessionId: string;
|
|
397
|
+
userMessageId: string;
|
|
398
|
+
runId: string | null;
|
|
399
|
+
correlationId?: string;
|
|
400
|
+
delivery: NcpResolvedInputDelivery;
|
|
401
|
+
};
|
|
390
402
|
type SessionQueuedInput = {
|
|
391
403
|
id: string;
|
|
392
404
|
sessionId: string;
|
|
@@ -545,6 +557,11 @@ type UnfinishedNcpAgentRun = {
|
|
|
545
557
|
};
|
|
546
558
|
//#endregion
|
|
547
559
|
//#region src/types/session.types.d.ts
|
|
560
|
+
type SessionMetadataUpdate = {
|
|
561
|
+
sessionId: string;
|
|
562
|
+
metadata: Record<string, unknown>;
|
|
563
|
+
expectedMetadata?: Record<string, unknown>;
|
|
564
|
+
};
|
|
548
565
|
type SessionMessagePage = {
|
|
549
566
|
messages: NcpMessage$1[];
|
|
550
567
|
messageDetailCursors: Record<string, string>;
|
|
@@ -666,10 +683,7 @@ declare class NcpAgentSessionJournalStore {
|
|
|
666
683
|
sessionId: string;
|
|
667
684
|
metadata: Record<string, unknown>;
|
|
668
685
|
}) => Promise<boolean>;
|
|
669
|
-
updateSessionMetadata: (params:
|
|
670
|
-
sessionId: string;
|
|
671
|
-
metadata: Record<string, unknown>;
|
|
672
|
-
}) => Promise<boolean>;
|
|
686
|
+
updateSessionMetadata: (params: SessionMetadataUpdate) => Promise<boolean>;
|
|
673
687
|
private setSessionMetadataNow;
|
|
674
688
|
private updateSessionMetadataNow;
|
|
675
689
|
importSessionSnapshot: (record: AgentSessionRecord) => Promise<void>;
|
|
@@ -971,6 +985,7 @@ type CreateNcpSessionInput = CreateSessionInput & {
|
|
|
971
985
|
sessionId?: string;
|
|
972
986
|
};
|
|
973
987
|
type SessionManagerOptions = {
|
|
988
|
+
providerManager?: LlmProviderRuntime;
|
|
974
989
|
agentContextWindowManager: AgentContextWindowManager;
|
|
975
990
|
agentManager: AgentManager;
|
|
976
991
|
configManager: ConfigManager;
|
|
@@ -982,6 +997,7 @@ type SessionManagerOptions = {
|
|
|
982
997
|
};
|
|
983
998
|
declare class SessionManager implements NcpSessionApi {
|
|
984
999
|
private readonly options;
|
|
1000
|
+
private readonly titles?;
|
|
985
1001
|
private readonly sessionEvents;
|
|
986
1002
|
private readonly settings;
|
|
987
1003
|
private readonly summaryProjection;
|
|
@@ -990,13 +1006,16 @@ declare class SessionManager implements NcpSessionApi {
|
|
|
990
1006
|
start: () => Promise<void>;
|
|
991
1007
|
dispose: () => void;
|
|
992
1008
|
publishSessionEvent: (params: PublishSessionEventParams) => Promise<void>;
|
|
1009
|
+
flushSessionEvents: () => Promise<void>;
|
|
993
1010
|
createSession: (params: CreateNcpSessionInput) => Promise<CreatedSession>;
|
|
994
1011
|
appendSessionEvent: (params: {
|
|
995
1012
|
sessionId: string;
|
|
996
1013
|
event: NcpAgentSessionJournalReplayEvent;
|
|
997
1014
|
}) => Promise<void>;
|
|
1015
|
+
applyGeneratedTitle: (sessionId: string, expectedMetadata: Record<string, unknown>, title: string | null, messageId: string) => Promise<boolean>;
|
|
998
1016
|
setSessionMetadata: (sessionId: string, metadata: Record<string, unknown>) => Promise<boolean>;
|
|
999
1017
|
updateSessionMetadata: (sessionId: string, metadata: Record<string, unknown>) => Promise<boolean>;
|
|
1018
|
+
private writeSessionMetadata;
|
|
1000
1019
|
updateSession: (sessionId: string, patch: NcpSessionPatch) => Promise<NcpSessionSummary | null>;
|
|
1001
1020
|
patchSessionSettings: (sessionId: string, patch: SessionSettingsPatch, options?: {
|
|
1002
1021
|
createIfMissing?: boolean;
|
|
@@ -1100,6 +1119,10 @@ declare class SessionRunManager {
|
|
|
1100
1119
|
constructor(sessionManager: SessionManager, productActivitySink?: ProductActivitySink | undefined);
|
|
1101
1120
|
getSessionRun: (sessionId: string) => SessionRun | null;
|
|
1102
1121
|
isSessionRunning: (sessionId: string) => boolean;
|
|
1122
|
+
listActiveRuns: () => ReadonlyArray<{
|
|
1123
|
+
sessionId: string;
|
|
1124
|
+
runId: string;
|
|
1125
|
+
}>;
|
|
1103
1126
|
getOrCreateSessionRun: (sessionId: string) => Promise<SessionRun>;
|
|
1104
1127
|
createSessionRun: (sessionId: string) => Promise<SessionRun>;
|
|
1105
1128
|
deleteSessionRun: (sessionId: string) => boolean;
|
|
@@ -1197,6 +1220,17 @@ declare class AgentRunInputDeliveryService {
|
|
|
1197
1220
|
private toQueuedInput;
|
|
1198
1221
|
}
|
|
1199
1222
|
//#endregion
|
|
1223
|
+
//#region src/services/agent-run-admission.service.d.ts
|
|
1224
|
+
/** Drains accepted ingress work before the restart owner snapshots active runs. */
|
|
1225
|
+
declare class AgentRunAdmissionService {
|
|
1226
|
+
private open;
|
|
1227
|
+
private active;
|
|
1228
|
+
private readonly waiters;
|
|
1229
|
+
suspend: () => Promise<void>;
|
|
1230
|
+
resume: () => void;
|
|
1231
|
+
accept: <T>(operation: () => Promise<T>) => Promise<T>;
|
|
1232
|
+
}
|
|
1233
|
+
//#endregion
|
|
1200
1234
|
//#region src/managers/agent-run-request.manager.d.ts
|
|
1201
1235
|
declare class AgentRunRequestManager {
|
|
1202
1236
|
private readonly agentRuntimeManager;
|
|
@@ -1216,9 +1250,11 @@ declare class AgentRunRequestManager {
|
|
|
1216
1250
|
private readonly runtimeRuns;
|
|
1217
1251
|
readonly pendingInputs: AgentRunInputDeliveryService;
|
|
1218
1252
|
private started;
|
|
1253
|
+
readonly admissions: AgentRunAdmissionService;
|
|
1219
1254
|
constructor(agentRuntimeManager: AgentRuntimeManager, agentManager: AgentManager, configManager: ConfigManager, agentContextWindowManager: AgentContextWindowManager, eventBus: EventBus$1, ingress: Ingress$1, sessionManager: SessionManager, sessionRunManager: SessionRunManager, diagnostics?: Pick<DiagnosticRuntime, "record"> | undefined, executionClaims?: LocalExecutionClaimService | undefined);
|
|
1220
1255
|
start: () => void;
|
|
1221
1256
|
dispose: () => void;
|
|
1257
|
+
continueRunIfEligible: (request: AgentRunContinueRequest) => Promise<AgentRunAccepted | null>;
|
|
1222
1258
|
private handleSendRequest;
|
|
1223
1259
|
private handleAbortRequest;
|
|
1224
1260
|
private handleEditMessageRequest;
|
|
@@ -1230,7 +1266,6 @@ declare class AgentRunRequestManager {
|
|
|
1230
1266
|
private resolveQueuedRunSpec;
|
|
1231
1267
|
private claimSessionExecutionOrFail;
|
|
1232
1268
|
private startRuntimeRun;
|
|
1233
|
-
private releaseExecutionClaim;
|
|
1234
1269
|
private publishRunStartupFailure;
|
|
1235
1270
|
private startNextQueuedRun;
|
|
1236
1271
|
private observeSessionRun;
|
|
@@ -1869,6 +1904,7 @@ declare class AppPackageManager {
|
|
|
1869
1904
|
name: string;
|
|
1870
1905
|
}>>;
|
|
1871
1906
|
getPackage: (appId: string) => Promise<AppPackageView>;
|
|
1907
|
+
resolvePrimaryPanelId: (appId: string) => Promise<string | undefined>;
|
|
1872
1908
|
inspectDependencies: (appId: string) => Promise<AppPackageDependencyView>;
|
|
1873
1909
|
verifyDependencies: (appId: string) => Promise<AppPackageDependencyView>;
|
|
1874
1910
|
setupDependencies: (appId: string) => Promise<AppPackageDependencyView>;
|
|
@@ -3462,6 +3498,7 @@ declare class SystemObjectReferenceManager {
|
|
|
3462
3498
|
private readonly resolvedCache;
|
|
3463
3499
|
constructor(assetStore: Pick<LocalAssetStore, "putBytes" | "statRecord">, providers?: readonly SystemObjectReferenceProvider[]);
|
|
3464
3500
|
registerProvider: (provider: SystemObjectReferenceProvider) => (() => void);
|
|
3501
|
+
listTypes: () => SystemObjectReferenceGroupDescriptor[];
|
|
3465
3502
|
listReferences: (params?: {
|
|
3466
3503
|
query?: string;
|
|
3467
3504
|
limit?: number;
|
|
@@ -3541,6 +3578,7 @@ declare class PanelAppManager {
|
|
|
3541
3578
|
private readonly sourceService;
|
|
3542
3579
|
private readonly packageStateManager;
|
|
3543
3580
|
private readonly entryPresenter;
|
|
3581
|
+
private readonly entryResolver;
|
|
3544
3582
|
private readonly removalService;
|
|
3545
3583
|
constructor(params: {
|
|
3546
3584
|
agentRunClient?: PanelAppAgentRunClient;
|
|
@@ -3549,10 +3587,12 @@ declare class PanelAppManager {
|
|
|
3549
3587
|
ingress?: Ingress$1;
|
|
3550
3588
|
listPackageComponentSources?: () => Promise<AppPackageComponentSource[]>;
|
|
3551
3589
|
listPackageComponentDiagnostics?: () => Promise<AppPackageUnavailableDiagnostic[]>;
|
|
3590
|
+
resolvePackagePrimaryPanelId?: (appId: string) => Promise<string | undefined>;
|
|
3552
3591
|
capabilityGrantManager: CapabilityGrantManager;
|
|
3553
3592
|
});
|
|
3554
3593
|
listPanelApps: () => Promise<PanelAppList>;
|
|
3555
3594
|
getPanelApp: (id: string) => Promise<PanelAppEntry>;
|
|
3595
|
+
resolvePanelAppDisplayTarget: (id: string) => Promise<PanelAppEntry>;
|
|
3556
3596
|
getPanelAppContent: (id: string, sourcePath?: string) => Promise<PanelAppContent>;
|
|
3557
3597
|
getPanelAppAsset: (id: string, assetPath: string) => Promise<PanelAppAsset>;
|
|
3558
3598
|
getPanelAppAssetByToken: (token: string, assetPath: string) => Promise<PanelAppAsset>;
|
|
@@ -3592,6 +3632,55 @@ declare class PanelAppManager {
|
|
|
3592
3632
|
private isMissingFileError;
|
|
3593
3633
|
}
|
|
3594
3634
|
//#endregion
|
|
3635
|
+
//#region src/managers/planned-restart-recovery.manager.d.ts
|
|
3636
|
+
type PlannedRestartRecoveryTicket = {
|
|
3637
|
+
operationId: string;
|
|
3638
|
+
};
|
|
3639
|
+
type PlannedRestartRecoveryResult = {
|
|
3640
|
+
status: "none" | "mismatch" | "expired" | "invalid" | "recovered" | "error";
|
|
3641
|
+
operationId?: string;
|
|
3642
|
+
resumed: number;
|
|
3643
|
+
skipped: number;
|
|
3644
|
+
failed: number;
|
|
3645
|
+
};
|
|
3646
|
+
type PlannedRestartRecovery = Pick<PlannedRestartRecoveryManager, "prepare" | "abort" | "recover" | "recoverFromSupervisor">;
|
|
3647
|
+
type ActiveRun = {
|
|
3648
|
+
sessionId: string;
|
|
3649
|
+
runId: string;
|
|
3650
|
+
};
|
|
3651
|
+
type PlannedRestartRecoveryManagerOptions = {
|
|
3652
|
+
manifestPath: string;
|
|
3653
|
+
listActiveRuns: () => readonly ActiveRun[];
|
|
3654
|
+
flushSessionEvents: () => Promise<void>;
|
|
3655
|
+
suspendAdmissions: () => Promise<void>;
|
|
3656
|
+
resumeAdmissions: () => void;
|
|
3657
|
+
continueRun: (params: {
|
|
3658
|
+
operationId: string;
|
|
3659
|
+
sessionId: string;
|
|
3660
|
+
sourceRunId: string;
|
|
3661
|
+
triggeredAt: string;
|
|
3662
|
+
}) => Promise<boolean>;
|
|
3663
|
+
now?: () => Date;
|
|
3664
|
+
manifestTtlMs?: number;
|
|
3665
|
+
};
|
|
3666
|
+
declare class PlannedRestartRecoveryManager {
|
|
3667
|
+
private readonly options;
|
|
3668
|
+
private readonly now;
|
|
3669
|
+
private readonly manifestTtlMs;
|
|
3670
|
+
private preparedOperationId;
|
|
3671
|
+
private preparation;
|
|
3672
|
+
constructor(options: PlannedRestartRecoveryManagerOptions);
|
|
3673
|
+
prepare: (reason: string) => Promise<PlannedRestartRecoveryTicket>;
|
|
3674
|
+
private prepareOnce;
|
|
3675
|
+
abort: (operationId: string) => Promise<void>;
|
|
3676
|
+
recover: (requestedOperationId: string | undefined) => Promise<PlannedRestartRecoveryResult>;
|
|
3677
|
+
recoverFromSupervisor: () => Promise<PlannedRestartRecoveryResult>;
|
|
3678
|
+
private continueClaimedRuns;
|
|
3679
|
+
private readManifest;
|
|
3680
|
+
private writeManifest;
|
|
3681
|
+
private result;
|
|
3682
|
+
}
|
|
3683
|
+
//#endregion
|
|
3595
3684
|
//#region src/types/preference.types.d.ts
|
|
3596
3685
|
type PreferenceJsonValue = null | boolean | number | string | PreferenceJsonValue[] | {
|
|
3597
3686
|
[key: string]: PreferenceJsonValue;
|
|
@@ -3907,6 +3996,7 @@ type LeasedResidentEvent = ServiceAppResidentEventView & {
|
|
|
3907
3996
|
*/
|
|
3908
3997
|
declare class ServiceAppResidentEventInboxService {
|
|
3909
3998
|
private readonly stores;
|
|
3999
|
+
private readonly deadLetterStreams;
|
|
3910
4000
|
private readonly loadPromises;
|
|
3911
4001
|
private readonly mutationQueues;
|
|
3912
4002
|
enqueue: (scope: ServiceAppResidentEventScope, input: ResidentEventInput) => Promise<ServiceAppResidentEventView>;
|
|
@@ -3914,6 +4004,8 @@ declare class ServiceAppResidentEventInboxService {
|
|
|
3914
4004
|
status?: ServiceAppResidentEventStatus;
|
|
3915
4005
|
deadLettersOnly?: boolean;
|
|
3916
4006
|
}) => Promise<ServiceAppResidentEventList>;
|
|
4007
|
+
isStreamBlocked: (scope: ServiceAppResidentEventScope, streamKey?: string) => Promise<boolean>;
|
|
4008
|
+
canAcceptEvent: (scope: ServiceAppResidentEventScope, streamKey?: string) => Promise<boolean>;
|
|
3917
4009
|
/** Reclaim expired leases then lease one item: one Resident means one lane. */
|
|
3918
4010
|
leaseNext: (scope: ServiceAppResidentEventScope, params?: {
|
|
3919
4011
|
leaseMs?: number;
|
|
@@ -3941,6 +4033,9 @@ declare class ServiceAppResidentEventInboxService {
|
|
|
3941
4033
|
private mutate;
|
|
3942
4034
|
private save;
|
|
3943
4035
|
private requireStore;
|
|
4036
|
+
private requireDeadLetterStreams;
|
|
4037
|
+
private trimAcknowledgedEvents;
|
|
4038
|
+
private createStoreLimitError;
|
|
3944
4039
|
private storePath;
|
|
3945
4040
|
private readTime;
|
|
3946
4041
|
private isMissing;
|
|
@@ -4169,7 +4264,7 @@ type ServiceAppRemovalDiagnostic = {
|
|
|
4169
4264
|
};
|
|
4170
4265
|
//#endregion
|
|
4171
4266
|
//#region src/utils/service-app-error.utils.d.ts
|
|
4172
|
-
type ServiceAppErrorCode = "AUTHORIZATION_REQUIRED" | "DOCUMENT_SCOPE_NOT_GRANTED" | "DOCUMENT_SCOPE_MODE_INSUFFICIENT" | "DOCUMENT_SCOPE_UNAVAILABLE" | "SERVICE_APP_ACTION_NOT_DECLARED" | "SERVICE_APP_ACTION_NOT_FOUND" | "SERVICE_APP_INVALID_ACTION" | "SERVICE_APP_INVALID_CALLER" | "SERVICE_APP_INVALID_MANIFEST" | "SERVICE_APP_MANAGED_SOURCE" | "SERVICE_APP_JOB_CONFLICT" | "SERVICE_APP_JOB_CURSOR_INVALID" | "SERVICE_APP_JOB_EVENT_LIMIT" | "SERVICE_APP_JOB_NOT_FOUND" | "SERVICE_APP_JOB_TERMINAL" | "SERVICE_APP_RESIDENT_EVENT_NOT_FOUND" | "SERVICE_APP_RESIDENT_EVENT_CONFLICT" | "SERVICE_APP_RESIDENT_EVENT_LEASE_INVALID" | "SERVICE_APP_RESIDENT_INBOX_FROZEN" | "SERVICE_APP_NOT_FOUND" | "SERVICE_APP_READ_FAILED" | "SERVICE_APP_RUNTIME_FAILED" | "STREAM_BACKPRESSURE_TIMEOUT" | "STREAM_CURSOR_EXPIRED" | "WASI_ABI_VERSION_MISMATCH" | "WASI_CAPABILITY_DENIED" | "WASI_COMPONENT_FAILED" | "WASI_COMPONENT_TRAP" | "WASI_GUEST_EXPORT_MISSING" | "WASI_INPUT_SCHEMA_MISMATCH";
|
|
4267
|
+
type ServiceAppErrorCode = "AUTHORIZATION_REQUIRED" | "DOCUMENT_SCOPE_NOT_GRANTED" | "DOCUMENT_SCOPE_MODE_INSUFFICIENT" | "DOCUMENT_SCOPE_UNAVAILABLE" | "SERVICE_APP_ACTION_NOT_DECLARED" | "SERVICE_APP_ACTION_NOT_FOUND" | "SERVICE_APP_INVALID_ACTION" | "SERVICE_APP_INVALID_CALLER" | "SERVICE_APP_INVALID_MANIFEST" | "SERVICE_APP_MANAGED_SOURCE" | "SERVICE_APP_JOB_CONFLICT" | "SERVICE_APP_JOB_CURSOR_INVALID" | "SERVICE_APP_JOB_EVENT_LIMIT" | "SERVICE_APP_JOB_NOT_FOUND" | "SERVICE_APP_JOB_TERMINAL" | "SERVICE_APP_RESIDENT_EVENT_NOT_FOUND" | "SERVICE_APP_RESIDENT_EVENT_CONFLICT" | "SERVICE_APP_RESIDENT_EVENT_LEASE_INVALID" | "SERVICE_APP_RESIDENT_INBOX_FROZEN" | "SERVICE_APP_RESIDENT_INBOX_LIMIT_EXCEEDED" | "SERVICE_APP_NOT_FOUND" | "SERVICE_APP_READ_FAILED" | "SERVICE_APP_RUNTIME_FAILED" | "STREAM_BACKPRESSURE_TIMEOUT" | "STREAM_CURSOR_EXPIRED" | "WASI_ABI_VERSION_MISMATCH" | "WASI_CAPABILITY_DENIED" | "WASI_COMPONENT_FAILED" | "WASI_COMPONENT_TRAP" | "WASI_GUEST_EXPORT_MISSING" | "WASI_INPUT_SCHEMA_MISMATCH";
|
|
4173
4268
|
declare class ServiceAppError extends Error {
|
|
4174
4269
|
readonly code: ServiceAppErrorCode;
|
|
4175
4270
|
readonly details?: Record<string, unknown> | undefined;
|
|
@@ -4621,6 +4716,7 @@ declare class NextclawKernel {
|
|
|
4621
4716
|
readonly featureControls: FeatureControlsService;
|
|
4622
4717
|
readonly verificationRecords: VerificationRecordService;
|
|
4623
4718
|
readonly portableRuntimeAcceptance: PortableRuntimeAcceptanceManager;
|
|
4719
|
+
readonly plannedRestartRecovery: PlannedRestartRecoveryManager;
|
|
4624
4720
|
private readonly capabilityGrantLegacyMigration;
|
|
4625
4721
|
private readonly ncpAgentSessionJournalStore;
|
|
4626
4722
|
private readonly contributions;
|
|
@@ -5334,5 +5430,5 @@ declare function resolveLegacyEventType(message: SessionMessage): string;
|
|
|
5334
5430
|
declare function getUiContentParamsBootstrapScript(): string;
|
|
5335
5431
|
declare function injectUiContentParamsBootstrap(html: string): string;
|
|
5336
5432
|
//#endregion
|
|
5337
|
-
export { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, AccessLoginResult, AccessManager, AccessManagerOptions, AccessPasswordStatus, AccessPrincipal, AccessRole, AccessSessionRecord, AccessSessionState, AgentManager, AgentManagerOptions, AgentRunClient, type AgentRunReply, type AgentRunReplyOptions, AgentRunSession, type AgentRunStreamOptions, type AgentRuntimeEntry, type AgentRuntimeProviderRegistration, AgentRuntimeSessionRequestDispatcherOptions, type AgentRuntimeSessionTypeCatalog, type AgentRuntimeSessionTypeDescribeParams, AgentRuntimeSessionTypeIcon, type AgentRuntimeSessionTypeOption, AgentRuntimeSessionTypeProvider, AgentServiceActionCaller, AppDataDeleteResult, AppDataDiagnostic, AppDataEntry, AppDataError, AppDataErrorCode, AppDataLifecycle, AppDataList, AppDataManager, AppDataSource, type AppDocumentGrantMutationResult, type AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, type AppInstalledPermissionState, AppPackageComponentKind, AppPackageComponentSource, AppPackageComponentSourceList, AppPackageComponentView, AppPackageConflict, AppPackageDependencyBinding, AppPackageDependencyBindingInput, AppPackageDependencyCandidate, AppPackageDependencyCycle, AppPackageDependencyDiagnostic, AppPackageDependencyDiagnosticCode, AppPackageDependencyView, AppPackageError, AppPackageErrorCode, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationAction, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationResult, AppPackageOperationStatus, AppPackageOperationView, AppPackageReadiness, AppPackageReadinessRequirement, AppPackageReadinessStatus, AppPackageRuntimeHooks, AppPackageSecretReadiness, AppPackageSecretSlotView, AppPackageSecretStatus, AppPackageUnavailableDiagnostic, AppPackageUninstallRollback, AppPackageView, type AssetApi, AutomationManager, AutomationManagerOptions, BindContextInput, type BuildAgentRunSendPayloadParams, BuildContextTailInput, BuiltinNarpRuntimeProviderService, CONTEXT_COMPACTION_CONTINUATION_TEXT, CONTEXT_COMPACTION_PART_START, CONTEXT_COMPACTION_PROJECTION_KIND, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, CONTEXT_COMPACTION_SYSTEM_PREAMBLE, CONTEXT_COMPACTION_TIMELINE_KIND, CapabilityGrant, CapabilityGrantDecision, CapabilityGrantFilter, CapabilityGrantLegacyMigrationService, CapabilityGrantListener, CapabilityGrantManager, CapabilityGrantRequest, CapabilityGrantResource, CapabilityGrantRevocationListener, CapabilityGrantStore, CapabilityGrantSubject, CapabilityProviderView, ChannelManager, ChannelReplyRouterDispatchParams, CommandRegistry, ConfigManager, ConfigManagerOptions, ConfigManagerRuntimeHooks, ConfigMutationResult, ContextBinding, type ContextBlock, ContextCompactionJournalRecoveryService, ContextCompactionModelProjection, ContextCompactionPreflightBeginResult, ContextCompactionPreflightResult, ContextCompactionPreflightService, ContextCompactionTimelineCheckpoint, ContextCompactionTrigger, type ContextProvider, type ContextProviderRequest, Contribution, CreateAgentRunSessionParams, CreateInboxDeliveryInput, CreateProjectInput, CreateProjectWorkItemInput, CreateProjectWorkStateInput, DEFAULT_AGENT_RUNTIME_ENTRY_ID, DEFAULT_SERVICE_ACTION_RISK, DESKTOP_HOST_ACCESS, DESKTOP_HOST_PROTOCOL_VERSION, DesktopApplicationTarget, DesktopCapabilityError, DesktopCapabilityErrorCode, DesktopHost, DesktopHostAccess, DesktopHostCaller, DesktopHostCapabilityDeclaration, DesktopHostCapabilityManager, DesktopHostEvent, DesktopHostEventListener, DesktopHostManifest, DesktopHostMethod, DesktopHostRequest, DesktopHostResponse, DesktopHostStatus, DesktopNodeReplService, DesktopSessionCaller, DesktopSessionStateService, DesktopSnapshotOptions, DirectPromptDispatchExecution, DirectPromptDispatchParams, DirectPromptDispatchResult, type Disposer, EventAdmissionPolicy, EventBus, type EventBusOptions, EventDelivery, EventSubscription, EventSubscriptionBudget, ExtensionLoadProgress, ExtensionLoadResult, ExtensionManager, type ExtensionRuntimeStatus, FeatureControlsService, GatewayInboundLoopRuntime, GatewayInboundProcessor, type IContextRegistry, type IKernel, type IMcpRegistry, type IModelRegistry, type INextclawAgent, type INextclawAgentRegistry, type INextclawAgentSessions, type INextclawContributionRegistry, type INextclawHarness, type INextclawRun, type INextclawSession, type INextclawSessionRegistry, type IRuntimeRegistry, type IToolRegistry, InboxDeliveryError, InboxDeliveryErrorCode, InboxDeliveryManager, InboxDeliveryManagerOptions, Ingress, type IngressContext, type IngressEnvelope, type IngressHandler, InstallationKind, InstalledSkillDetail, InstalledSkillSummary, InstalledSkillsList, JsonPointer, JsonValue, type Key, type LLMResponse, type LLMStreamEvent, type LearningLoopRuntimeConfig, type LeasedResidentEvent, LegacyVerificationRecord, LlmProviderManager, LlmProviderRuntime, LlmUsageManager, LlmUsageManagerOptions, LlmUsageRecord, LlmUsageSnapshot, LlmUsageStats, LlmUsageStore, LlmUsageStoreOptions, LlmUsageSummary, LocalizedTextMap, MAX_INBOX_DELIVERY_CONTENT_LENGTH, type McpCatalogFilter, McpManager, type McpServerDefinition, type McpServerRecord, McpServiceAppRuntimeService, type McpToolCallInput, type McpToolCatalogEntry, type ModelChatInput, NARP_HTTP_RUNTIME_KIND, NARP_STDIO_RUNTIME_KIND, NEXTCLAW_TIMELINE_KIND_METADATA_KEY, NcpAgentSessionJournalStore, type NcpEndpointEvent, type NcpMessage, type NcpTool, type NextclawAgentDefinition, type NextclawContributionDescriptor, NextclawHarness, NextclawHarnessError, type NextclawHarnessErrorCode, type NextclawHarnessOptions, NextclawKernel, NextclawKernelOptions, NextclawNcpResolvedAgentProfile, NextclawNcpResolvedRunContext, NextclawNcpRunContextResolveParams, type NextclawRunStatus, type NextclawSessionCreateInput, type NextclawSessionRunInput, type NextclawTaskInput, type NextclawTaskResult, ObservationCapabilityDescriptor, ObservationContextTail, ObservationEvent, ObservationEventAdmissionDecision, ObservationExtensionRuntime, ObservationManager, ObservationManagerOptions, ObservationRef, ObservationRelationshipStatus, ObservationState, ObservationTarget, PANEL_APP_AGENT_CAPABILITIES, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, PROJECT_TEMPLATE_IDS, PROJECT_WORK_ATTENTION_VALUES, PROJECT_WORK_STATE_CATEGORIES, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, PanelAppAgentCapability, PanelAppAgentGenerateObjectInput, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentRunClient, PanelAppAgentSendPayload, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppAssetTokenService, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppCapabilityGrantCaller, PanelAppClientGrant, PanelAppContent, PanelAppDeleteResult, PanelAppEntry, PanelAppError, PanelAppErrorCode, PanelAppList, PanelAppManager, type PanelAppPreferencesUpdate, PanelServiceActionCaller, type PortableRunnerObservation, type PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceDefinition, type PortableRuntimeAcceptanceDefinitionView, type PortableRuntimeAcceptanceEvaluationContext, type PortableRuntimeAcceptanceEvidence, type PortableRuntimeAcceptanceEvidenceArtifact, PortableRuntimeAcceptanceEvidenceSource, PortableRuntimeAcceptanceId, type PortableRuntimeAcceptanceIdentity, type PortableRuntimeAcceptanceIdentityResult, PortableRuntimeAcceptanceIdentityService, type PortableRuntimeAcceptanceLocale, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptancePlatform, type PortableRuntimeAcceptancePresentation, type PortableRuntimeAcceptanceResult, type PortableRuntimeAcceptanceResultStatus, type PortableRuntimeAcceptanceStatusEntry, type PortableRuntimeAcceptanceStatusView, type PortableRuntimeAcceptanceSurfaceResult, type PortableRuntimeAcceptanceUnavailableIdentity, PreferenceEntry, PreferenceError, PreferenceErrorCode, PreferenceJsonValue, PreferenceManager, PreferenceManagerOptions, ProductActivityKind, ProductActivitySignal, ProductActivitySink, ProductActivitySource, type ProductFeatureControls, ProjectAgreementMaterial, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectMaterialService, ProjectRecentArtifact, ProjectRecentArtifactPage, ProjectRecord, ProjectSessionBinding, ProjectSkillMaterial, ProjectTemplate, ProjectTemplateId, ProjectWorkActivity, ProjectWorkActivityPage, ProjectWorkActivityType, ProjectWorkActor, ProjectWorkArtifactLink, ProjectWorkAttention, ProjectWorkError, ProjectWorkErrorCode, ProjectWorkItem, ProjectWorkItemDetail, ProjectWorkItemListEntry, ProjectWorkItemPage, ProjectWorkListInput, ProjectWorkManager, ProjectWorkState, ProjectWorkStateCategory, ProjectWorkSummary, type ProviderCatalogPlugin, ProviderManagerNcpLLMApi, ProviderModelCatalogEntry, ProviderModelCatalogManager, ProviderModelCatalogSnapshot, ProviderModelsDiscoverInput, type ProviderSpec, type ResidentEventInput, ResolvedAgentProfile, ResolvedDesktopApplicationTarget, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAction, ServiceActionCaller, ServiceActionGrant, ServiceActionGrantRequest, ServiceActionGrantState, ServiceActionInvocationFacts, ServiceActionInvokeRequest, ServiceActionInvokeResult, ServiceActionRisk, ServiceActionRuntimeState, ServiceAppAgentCapabilitySlot, ServiceAppAiCapabilityService, ServiceAppCapabilityProvision, ServiceAppCapabilityRequirement, ServiceAppDeleteResult, ServiceAppError, type ServiceAppErrorCode, ServiceAppExternalRemediation, ServiceAppJobCaller, ServiceAppJobChunkEvent, ServiceAppJobEvent, type ServiceAppJobEventSink, ServiceAppJobJournalService, ServiceAppJobList, ServiceAppJobProgressEvent, type ServiceAppJobScope, ServiceAppJobStatus, ServiceAppJobTerminalEvent, ServiceAppJobView, ServiceAppJobWatch, ServiceAppLifecycle, ServiceAppList, ServiceAppManager, ServiceAppManifest, ServiceAppManifestAction, ServiceAppModelCapabilitySlot, ServiceAppProtocol, ServiceAppProvides, ServiceAppRecord, ServiceAppRequirements, ServiceAppResidentEventDisposition, ServiceAppResidentEventInboxService, ServiceAppResidentEventList, type ServiceAppResidentEventScope, ServiceAppResidentEventStatus, ServiceAppResidentEventView, ServiceAppResourceRequirement, ServiceAppRuntimeService, ServiceAppRuntimeStatus, ServiceAppTerminalJobStatus, ServiceAppWitContract, SessionContextCompactionError, SessionContextCompactionErrorCode, SessionContextCompactionManager, SessionContextCompactionResult, SessionManager, SessionManagerOptions, SessionMessageCursorError, SessionMessagePage, SessionModelTokenUsage, type SessionPendingInput, type SessionQueuedInput, SessionRequestManager, SessionRequestManagerOptions, SessionSettingsError, SessionSettingsPatch, type SessionSteerQueuedInputResult, SessionTokenUsageStatus, SessionTokenUsageSummary, SessionTokenUsageTotals, SkillFrontmatter, type SkillInfo, SkillManager, type SkillScope, SubscribeEventsInput, SystemObjectReferenceError, SystemObjectReferenceErrorCode, SystemObjectReferenceManager, SystemObjectReferenceProvider, SystemObjectReferenceSnapshotSource, type TypedKey, TypedPredicate, UnavailableDesktopHost, UnsignedUpdateManifest, type Unsubscribe, UpdateBlockReason, UpdateHostKind, UpdateManifest, UpdateManifestReader, UpdateProgress, UpdateProjectWorkItemInput, UpdateProjectWorkStateInput, UpdateSnapshot, UpdateStatus, VerificationEvidenceRecord, VerificationRecord, VerificationRecordEntrySurface, VerificationRecordError, VerificationRecordInput, VerificationRecordList, VerificationRecordObservation, VerificationRecordRole, VerificationRecordService, VerificationRecordStatus, type WorkspaceServiceDataOwner, assertObservationJsonValue, assertObservationPredicate, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, buildSessionRequestCompletionMessage, capabilityGrantCovers, createAgentRuntimeSessionRequestDispatcher, createAgentRuntimeSessionRequestSourceNotifier, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createServiceActionGrantRequest, createServiceAppAgentSlotGrantRequest, createServiceAppModelSlotGrantRequest, createTypedKey, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, evaluatePortableRuntimeAcceptance, evaluatePortableRuntimeAcceptanceArtifact, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isProjectWorkError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, normalizePortableRuntimeEnvironment, parseObservationDuration, parsePortableRuntimeAcceptanceEvidenceArtifact, parseServiceAppManifest, parseSkillFrontmatter, presentPortableRuntimeAcceptanceDefinition, readContextCompactionCheckpoint, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, readServiceAppSlotTarget, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolvePortableRuntimeAcceptanceLocale, resolveSessionChannelContext, runGatewayInboundLoop, runNextclawTask, sanitizeLlmUsage, serializeUnsignedUpdateManifest, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, waitForAgentRuntimeSessionReply };
|
|
5433
|
+
export { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, AccessLoginResult, AccessManager, AccessManagerOptions, AccessPasswordStatus, AccessPrincipal, AccessRole, AccessSessionRecord, AccessSessionState, AgentManager, AgentManagerOptions, AgentRunClient, type AgentRunReply, type AgentRunReplyOptions, AgentRunSession, type AgentRunStreamOptions, type AgentRuntimeEntry, type AgentRuntimeProviderRegistration, AgentRuntimeSessionRequestDispatcherOptions, type AgentRuntimeSessionTypeCatalog, type AgentRuntimeSessionTypeDescribeParams, AgentRuntimeSessionTypeIcon, type AgentRuntimeSessionTypeOption, AgentRuntimeSessionTypeProvider, AgentServiceActionCaller, AppDataDeleteResult, AppDataDiagnostic, AppDataEntry, AppDataError, AppDataErrorCode, AppDataLifecycle, AppDataList, AppDataManager, AppDataSource, type AppDocumentGrantMutationResult, type AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, type AppInstalledPermissionState, AppPackageComponentKind, AppPackageComponentSource, AppPackageComponentSourceList, AppPackageComponentView, AppPackageConflict, AppPackageDependencyBinding, AppPackageDependencyBindingInput, AppPackageDependencyCandidate, AppPackageDependencyCycle, AppPackageDependencyDiagnostic, AppPackageDependencyDiagnosticCode, AppPackageDependencyView, AppPackageError, AppPackageErrorCode, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationAction, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationResult, AppPackageOperationStatus, AppPackageOperationView, AppPackageReadiness, AppPackageReadinessRequirement, AppPackageReadinessStatus, AppPackageRuntimeHooks, AppPackageSecretReadiness, AppPackageSecretSlotView, AppPackageSecretStatus, AppPackageUnavailableDiagnostic, AppPackageUninstallRollback, AppPackageView, type AssetApi, AutomationManager, AutomationManagerOptions, BindContextInput, type BuildAgentRunSendPayloadParams, BuildContextTailInput, BuiltinNarpRuntimeProviderService, CONTEXT_COMPACTION_CONTINUATION_TEXT, CONTEXT_COMPACTION_PART_START, CONTEXT_COMPACTION_PROJECTION_KIND, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, CONTEXT_COMPACTION_SYSTEM_PREAMBLE, CONTEXT_COMPACTION_TIMELINE_KIND, CapabilityGrant, CapabilityGrantDecision, CapabilityGrantFilter, CapabilityGrantLegacyMigrationService, CapabilityGrantListener, CapabilityGrantManager, CapabilityGrantRequest, CapabilityGrantResource, CapabilityGrantRevocationListener, CapabilityGrantStore, CapabilityGrantSubject, CapabilityProviderView, ChannelManager, ChannelReplyRouterDispatchParams, CommandRegistry, ConfigManager, ConfigManagerOptions, ConfigManagerRuntimeHooks, ConfigMutationResult, ContextBinding, type ContextBlock, ContextCompactionJournalRecoveryService, ContextCompactionModelProjection, ContextCompactionPreflightBeginResult, ContextCompactionPreflightResult, ContextCompactionPreflightService, ContextCompactionTimelineCheckpoint, ContextCompactionTrigger, type ContextProvider, type ContextProviderRequest, Contribution, CreateAgentRunSessionParams, CreateInboxDeliveryInput, CreateProjectInput, CreateProjectWorkItemInput, CreateProjectWorkStateInput, DEFAULT_AGENT_RUNTIME_ENTRY_ID, DEFAULT_SERVICE_ACTION_RISK, DESKTOP_HOST_ACCESS, DESKTOP_HOST_PROTOCOL_VERSION, DesktopApplicationTarget, DesktopCapabilityError, DesktopCapabilityErrorCode, DesktopHost, DesktopHostAccess, DesktopHostCaller, DesktopHostCapabilityDeclaration, DesktopHostCapabilityManager, DesktopHostEvent, DesktopHostEventListener, DesktopHostManifest, DesktopHostMethod, DesktopHostRequest, DesktopHostResponse, DesktopHostStatus, DesktopNodeReplService, DesktopSessionCaller, DesktopSessionStateService, DesktopSnapshotOptions, DirectPromptDispatchExecution, DirectPromptDispatchParams, DirectPromptDispatchResult, type Disposer, EventAdmissionPolicy, EventBus, type EventBusOptions, EventDelivery, EventSubscription, EventSubscriptionBudget, ExtensionLoadProgress, ExtensionLoadResult, ExtensionManager, type ExtensionRuntimeStatus, FeatureControlsService, GatewayInboundLoopRuntime, GatewayInboundProcessor, type IContextRegistry, type IKernel, type IMcpRegistry, type IModelRegistry, type INextclawAgent, type INextclawAgentRegistry, type INextclawAgentSessions, type INextclawContributionRegistry, type INextclawHarness, type INextclawRun, type INextclawSession, type INextclawSessionRegistry, type IRuntimeRegistry, type IToolRegistry, InboxDeliveryError, InboxDeliveryErrorCode, InboxDeliveryManager, InboxDeliveryManagerOptions, Ingress, type IngressContext, type IngressEnvelope, type IngressHandler, InstallationKind, InstalledSkillDetail, InstalledSkillSummary, InstalledSkillsList, JsonPointer, JsonValue, type Key, type LLMResponse, type LLMStreamEvent, type LearningLoopRuntimeConfig, type LeasedResidentEvent, LegacyVerificationRecord, LlmProviderManager, LlmProviderRuntime, LlmUsageManager, LlmUsageManagerOptions, LlmUsageRecord, LlmUsageSnapshot, LlmUsageStats, LlmUsageStore, LlmUsageStoreOptions, LlmUsageSummary, LocalizedTextMap, MAX_INBOX_DELIVERY_CONTENT_LENGTH, type McpCatalogFilter, McpManager, type McpServerDefinition, type McpServerRecord, McpServiceAppRuntimeService, type McpToolCallInput, type McpToolCatalogEntry, type ModelChatInput, NARP_HTTP_RUNTIME_KIND, NARP_STDIO_RUNTIME_KIND, NEXTCLAW_TIMELINE_KIND_METADATA_KEY, NcpAgentSessionJournalStore, type NcpEndpointEvent, type NcpMessage, type NcpTool, type NextclawAgentDefinition, type NextclawContributionDescriptor, NextclawHarness, NextclawHarnessError, type NextclawHarnessErrorCode, type NextclawHarnessOptions, NextclawKernel, NextclawKernelOptions, NextclawNcpResolvedAgentProfile, NextclawNcpResolvedRunContext, NextclawNcpRunContextResolveParams, type NextclawRunStatus, type NextclawSessionCreateInput, type NextclawSessionRunInput, type NextclawTaskInput, type NextclawTaskResult, ObservationCapabilityDescriptor, ObservationContextTail, ObservationEvent, ObservationEventAdmissionDecision, ObservationExtensionRuntime, ObservationManager, ObservationManagerOptions, ObservationRef, ObservationRelationshipStatus, ObservationState, ObservationTarget, PANEL_APP_AGENT_CAPABILITIES, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, PROJECT_TEMPLATE_IDS, PROJECT_WORK_ATTENTION_VALUES, PROJECT_WORK_STATE_CATEGORIES, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, PanelAppAgentCapability, PanelAppAgentGenerateObjectInput, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentRunClient, PanelAppAgentSendPayload, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppAssetTokenService, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppCapabilityGrantCaller, PanelAppClientGrant, PanelAppContent, PanelAppDeleteResult, PanelAppEntry, PanelAppError, PanelAppErrorCode, PanelAppList, PanelAppManager, type PanelAppPreferencesUpdate, PanelServiceActionCaller, PlannedRestartRecovery, PlannedRestartRecoveryManager, PlannedRestartRecoveryResult, PlannedRestartRecoveryTicket, type PortableRunnerObservation, type PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceDefinition, type PortableRuntimeAcceptanceDefinitionView, type PortableRuntimeAcceptanceEvaluationContext, type PortableRuntimeAcceptanceEvidence, type PortableRuntimeAcceptanceEvidenceArtifact, PortableRuntimeAcceptanceEvidenceSource, PortableRuntimeAcceptanceId, type PortableRuntimeAcceptanceIdentity, type PortableRuntimeAcceptanceIdentityResult, PortableRuntimeAcceptanceIdentityService, type PortableRuntimeAcceptanceLocale, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptancePlatform, type PortableRuntimeAcceptancePresentation, type PortableRuntimeAcceptanceResult, type PortableRuntimeAcceptanceResultStatus, type PortableRuntimeAcceptanceStatusEntry, type PortableRuntimeAcceptanceStatusView, type PortableRuntimeAcceptanceSurfaceResult, type PortableRuntimeAcceptanceUnavailableIdentity, PreferenceEntry, PreferenceError, PreferenceErrorCode, PreferenceJsonValue, PreferenceManager, PreferenceManagerOptions, ProductActivityKind, ProductActivitySignal, ProductActivitySink, ProductActivitySource, type ProductFeatureControls, ProjectAgreementMaterial, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectMaterialService, ProjectRecentArtifact, ProjectRecentArtifactPage, ProjectRecord, ProjectSessionBinding, ProjectSkillMaterial, ProjectTemplate, ProjectTemplateId, ProjectWorkActivity, ProjectWorkActivityPage, ProjectWorkActivityType, ProjectWorkActor, ProjectWorkArtifactLink, ProjectWorkAttention, ProjectWorkError, ProjectWorkErrorCode, ProjectWorkItem, ProjectWorkItemDetail, ProjectWorkItemListEntry, ProjectWorkItemPage, ProjectWorkListInput, ProjectWorkManager, ProjectWorkState, ProjectWorkStateCategory, ProjectWorkSummary, type ProviderCatalogPlugin, ProviderManagerNcpLLMApi, ProviderModelCatalogEntry, ProviderModelCatalogManager, ProviderModelCatalogSnapshot, ProviderModelsDiscoverInput, type ProviderSpec, type ResidentEventInput, ResolvedAgentProfile, ResolvedDesktopApplicationTarget, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAction, ServiceActionCaller, ServiceActionGrant, ServiceActionGrantRequest, ServiceActionGrantState, ServiceActionInvocationFacts, ServiceActionInvokeRequest, ServiceActionInvokeResult, ServiceActionRisk, ServiceActionRuntimeState, ServiceAppAgentCapabilitySlot, ServiceAppAiCapabilityService, ServiceAppCapabilityProvision, ServiceAppCapabilityRequirement, ServiceAppDeleteResult, ServiceAppError, type ServiceAppErrorCode, ServiceAppExternalRemediation, ServiceAppJobCaller, ServiceAppJobChunkEvent, ServiceAppJobEvent, type ServiceAppJobEventSink, ServiceAppJobJournalService, ServiceAppJobList, ServiceAppJobProgressEvent, type ServiceAppJobScope, ServiceAppJobStatus, ServiceAppJobTerminalEvent, ServiceAppJobView, ServiceAppJobWatch, ServiceAppLifecycle, ServiceAppList, ServiceAppManager, ServiceAppManifest, ServiceAppManifestAction, ServiceAppModelCapabilitySlot, ServiceAppProtocol, ServiceAppProvides, ServiceAppRecord, ServiceAppRequirements, ServiceAppResidentEventDisposition, ServiceAppResidentEventInboxService, ServiceAppResidentEventList, type ServiceAppResidentEventScope, ServiceAppResidentEventStatus, ServiceAppResidentEventView, ServiceAppResourceRequirement, ServiceAppRuntimeService, ServiceAppRuntimeStatus, ServiceAppTerminalJobStatus, ServiceAppWitContract, SessionContextCompactionError, SessionContextCompactionErrorCode, SessionContextCompactionManager, SessionContextCompactionResult, SessionManager, SessionManagerOptions, SessionMessageCursorError, SessionMessagePage, SessionMetadataUpdate, SessionModelTokenUsage, type SessionPendingInput, type SessionQueuedInput, SessionRequestManager, SessionRequestManagerOptions, SessionSettingsError, SessionSettingsPatch, type SessionSteerQueuedInputResult, SessionTokenUsageStatus, SessionTokenUsageSummary, SessionTokenUsageTotals, SkillFrontmatter, type SkillInfo, SkillManager, type SkillScope, SubscribeEventsInput, SystemObjectReferenceError, SystemObjectReferenceErrorCode, SystemObjectReferenceManager, SystemObjectReferenceProvider, SystemObjectReferenceSnapshotSource, type TypedKey, TypedPredicate, UnavailableDesktopHost, UnsignedUpdateManifest, type Unsubscribe, UpdateBlockReason, UpdateHostKind, UpdateManifest, UpdateManifestReader, UpdateProgress, UpdateProjectWorkItemInput, UpdateProjectWorkStateInput, UpdateSnapshot, UpdateStatus, VerificationEvidenceRecord, VerificationRecord, VerificationRecordEntrySurface, VerificationRecordError, VerificationRecordInput, VerificationRecordList, VerificationRecordObservation, VerificationRecordRole, VerificationRecordService, VerificationRecordStatus, type WorkspaceServiceDataOwner, assertObservationJsonValue, assertObservationPredicate, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, buildSessionRequestCompletionMessage, capabilityGrantCovers, createAgentRuntimeSessionRequestDispatcher, createAgentRuntimeSessionRequestSourceNotifier, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createServiceActionGrantRequest, createServiceAppAgentSlotGrantRequest, createServiceAppModelSlotGrantRequest, createTypedKey, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, evaluatePortableRuntimeAcceptance, evaluatePortableRuntimeAcceptanceArtifact, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isProjectWorkError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, normalizePortableRuntimeEnvironment, parseObservationDuration, parsePortableRuntimeAcceptanceEvidenceArtifact, parseServiceAppManifest, parseSkillFrontmatter, presentPortableRuntimeAcceptanceDefinition, readContextCompactionCheckpoint, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, readServiceAppSlotTarget, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolvePortableRuntimeAcceptanceLocale, resolveSessionChannelContext, runGatewayInboundLoop, runNextclawTask, sanitizeLlmUsage, serializeUnsignedUpdateManifest, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, waitForAgentRuntimeSessionReply };
|
|
5338
5434
|
//# sourceMappingURL=index.d.ts.map
|