@nextclaw/kernel 0.11.0 → 0.12.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 +103 -43
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +772 -99
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ListMessagesOptions, ListSessionsOptions, NcpAgentConversationStateMana
|
|
|
5
5
|
import { LocalAssetStore } from "@nextclaw/ncp-agent-runtime";
|
|
6
6
|
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";
|
|
7
7
|
import { AgentSessionRecord, ChatTarget, NcpReplyInput, RuntimeFactoryParams } from "@nextclaw/ncp-toolkit";
|
|
8
|
-
import { AppInstallProgressHandler, AppNativeArtifactTarget, AppPlatformTargetService, AppRollbackResult, AppRuntimeIsolation, AppRuntimeProfile, AppStorageContext, AppStorageUsage, AppUninstallResult, AppUpdateResult } from "@nextclaw/app-runtime";
|
|
8
|
+
import { AppInstallProgressHandler, AppNativeArtifactTarget, AppPermissions, AppPlatformTargetService, AppRollbackResult, AppRuntimeIsolation, AppRuntimeProfile, AppStorageContext, AppStorageUsage, AppUninstallResult, AppUpdateResult } from "@nextclaw/app-runtime";
|
|
9
9
|
import * as _$_nextclaw_mcp0 from "@nextclaw/mcp";
|
|
10
10
|
import { McpCatalogFilter, McpCatalogFilter as McpCatalogFilter$1, McpRegistryService, McpServerRecord, McpServerRecord as McpServerRecord$1, McpToolCatalogEntry, McpToolCatalogEntry as McpToolCatalogEntry$1 } from "@nextclaw/mcp";
|
|
11
11
|
|
|
@@ -1116,6 +1116,7 @@ type AppPackageComponentSource = {
|
|
|
1116
1116
|
storage: AppStorageContext;
|
|
1117
1117
|
runtimeProfile: AppRuntimeProfile;
|
|
1118
1118
|
isolation: AppRuntimeIsolation;
|
|
1119
|
+
permissions: AppPermissions;
|
|
1119
1120
|
};
|
|
1120
1121
|
type AppPackageUnavailableDiagnostic = {
|
|
1121
1122
|
appId: string;
|
|
@@ -1215,6 +1216,7 @@ type AppPackageConflict = {
|
|
|
1215
1216
|
type AppPackageUninstallRollback = () => Promise<void>;
|
|
1216
1217
|
type AppPackageRuntimeHooks = {
|
|
1217
1218
|
assertCanActivate: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1219
|
+
afterActivate: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1218
1220
|
beforeDeactivate: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1219
1221
|
beforeUninstall: (sources: AppPackageComponentSource[]) => Promise<AppPackageUninstallRollback | void>;
|
|
1220
1222
|
};
|
|
@@ -1234,6 +1236,7 @@ declare class AppPackageManager {
|
|
|
1234
1236
|
private readonly operationManager;
|
|
1235
1237
|
private readonly platformTargetService;
|
|
1236
1238
|
private readonly presentationService;
|
|
1239
|
+
private readonly runtimeActivationService;
|
|
1237
1240
|
private readonly registryService;
|
|
1238
1241
|
private runtimeHooks;
|
|
1239
1242
|
private builtInBootstrapPromise;
|
|
@@ -1453,7 +1456,7 @@ declare function capabilityGrantCovers(grant: CapabilityGrant, request: Capabili
|
|
|
1453
1456
|
declare function matchesCapabilityGrantFilter(grant: CapabilityGrant, filter: CapabilityGrantFilter): boolean;
|
|
1454
1457
|
//#endregion
|
|
1455
1458
|
//#region src/types/service-app.types.d.ts
|
|
1456
|
-
type ServiceAppProtocol = "mcp";
|
|
1459
|
+
type ServiceAppProtocol = "mcp" | "wasi-component";
|
|
1457
1460
|
type ServiceActionRisk = "read" | "write" | "external" | "dangerous";
|
|
1458
1461
|
type ServiceAppRuntimeStatus = "idle" | "starting" | "running" | "failed" | "stopped";
|
|
1459
1462
|
type ServiceAppManifestAction = {
|
|
@@ -1461,6 +1464,15 @@ type ServiceAppManifestAction = {
|
|
|
1461
1464
|
title?: string;
|
|
1462
1465
|
description?: string;
|
|
1463
1466
|
inputSchema?: Record<string, unknown>;
|
|
1467
|
+
timeoutMs?: number;
|
|
1468
|
+
};
|
|
1469
|
+
type ServiceAppLifecycle = {
|
|
1470
|
+
mode: "action";
|
|
1471
|
+
} | {
|
|
1472
|
+
mode: "resident";
|
|
1473
|
+
eventIntervalMs: number;
|
|
1474
|
+
} | {
|
|
1475
|
+
mode: "provider";
|
|
1464
1476
|
};
|
|
1465
1477
|
type ServiceAppManifest = {
|
|
1466
1478
|
id: string;
|
|
@@ -1468,8 +1480,11 @@ type ServiceAppManifest = {
|
|
|
1468
1480
|
description?: string;
|
|
1469
1481
|
enabled: boolean;
|
|
1470
1482
|
protocol: ServiceAppProtocol;
|
|
1471
|
-
command
|
|
1472
|
-
args
|
|
1483
|
+
command?: string;
|
|
1484
|
+
args?: string[];
|
|
1485
|
+
componentEntry?: string;
|
|
1486
|
+
providerIds?: string[];
|
|
1487
|
+
lifecycle?: ServiceAppLifecycle;
|
|
1473
1488
|
actions: Record<string, ServiceAppManifestAction>;
|
|
1474
1489
|
};
|
|
1475
1490
|
type ServiceAppRecord = {
|
|
@@ -1496,6 +1511,11 @@ type ServiceAppRecord = {
|
|
|
1496
1511
|
instanceId?: string;
|
|
1497
1512
|
storage?: AppStorageContext;
|
|
1498
1513
|
isolation?: AppRuntimeIsolation;
|
|
1514
|
+
runtimeProfile?: AppRuntimeProfile;
|
|
1515
|
+
permissions?: AppPermissions;
|
|
1516
|
+
componentPath?: string;
|
|
1517
|
+
providerIds?: string[];
|
|
1518
|
+
lifecycle?: ServiceAppLifecycle;
|
|
1499
1519
|
};
|
|
1500
1520
|
type ServiceActionGrantState = "granted" | "not-granted" | "not-declared";
|
|
1501
1521
|
type ServiceActionRuntimeState = "matched" | "missing" | "undeclared";
|
|
@@ -1510,10 +1530,15 @@ type ServiceAction = {
|
|
|
1510
1530
|
runtimeState?: ServiceActionRuntimeState;
|
|
1511
1531
|
grantState?: ServiceActionGrantState;
|
|
1512
1532
|
};
|
|
1513
|
-
type
|
|
1533
|
+
type PanelServiceActionCaller = {
|
|
1514
1534
|
surface: "panel-app";
|
|
1515
1535
|
appId: string;
|
|
1516
1536
|
};
|
|
1537
|
+
type AgentServiceActionCaller = {
|
|
1538
|
+
surface: "agent";
|
|
1539
|
+
agentId: string;
|
|
1540
|
+
};
|
|
1541
|
+
type ServiceActionCaller = PanelServiceActionCaller | AgentServiceActionCaller;
|
|
1517
1542
|
type ServiceActionGrant = {
|
|
1518
1543
|
caller: ServiceActionCaller;
|
|
1519
1544
|
actionId: string;
|
|
@@ -1522,7 +1547,7 @@ type ServiceActionGrant = {
|
|
|
1522
1547
|
};
|
|
1523
1548
|
type ServiceActionInvokeRequest = {
|
|
1524
1549
|
caller: ServiceActionCaller;
|
|
1525
|
-
declaredActions
|
|
1550
|
+
declaredActions?: string[];
|
|
1526
1551
|
input?: Record<string, unknown>;
|
|
1527
1552
|
};
|
|
1528
1553
|
type ServiceActionInvokeResult = {
|
|
@@ -1531,7 +1556,7 @@ type ServiceActionInvokeResult = {
|
|
|
1531
1556
|
};
|
|
1532
1557
|
type ServiceActionGrantRequest = {
|
|
1533
1558
|
caller: ServiceActionCaller;
|
|
1534
|
-
declaredActions
|
|
1559
|
+
declaredActions?: string[];
|
|
1535
1560
|
};
|
|
1536
1561
|
//#endregion
|
|
1537
1562
|
//#region src/types/panel-app.types.d.ts
|
|
@@ -1587,7 +1612,7 @@ type PanelAppBridgeSession = {
|
|
|
1587
1612
|
id: string;
|
|
1588
1613
|
token: string;
|
|
1589
1614
|
appId: string;
|
|
1590
|
-
caller:
|
|
1615
|
+
caller: PanelServiceActionCaller;
|
|
1591
1616
|
declaredCapabilities: string[];
|
|
1592
1617
|
declaredActions: string[];
|
|
1593
1618
|
clientDeclared: boolean;
|
|
@@ -1656,7 +1681,7 @@ type PanelAppAgentGenerateObjectResult = {
|
|
|
1656
1681
|
//#endregion
|
|
1657
1682
|
//#region src/features/capability-grants/utils/capability-grant-resource.utils.d.ts
|
|
1658
1683
|
declare function createPanelAppClientGrantRequest(appId: string): CapabilityGrantRequest;
|
|
1659
|
-
declare function createPanelAppAgentGrantRequest(caller:
|
|
1684
|
+
declare function createPanelAppAgentGrantRequest(caller: PanelServiceActionCaller, capability: PanelAppAgentCapability): CapabilityGrantRequest;
|
|
1660
1685
|
declare function createServiceActionGrantRequest(caller: ServiceActionCaller, action: ServiceAction): CapabilityGrantRequest;
|
|
1661
1686
|
declare function readServiceActionTargetId(target: unknown): string | null;
|
|
1662
1687
|
//#endregion
|
|
@@ -2644,46 +2669,35 @@ declare class PreferenceManager {
|
|
|
2644
2669
|
private isPlainRecord;
|
|
2645
2670
|
}
|
|
2646
2671
|
//#endregion
|
|
2647
|
-
//#region src/services/
|
|
2648
|
-
type
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
lastStartedAt?: string;
|
|
2652
|
-
lastReadyAt?: string;
|
|
2653
|
-
lastFailedAt?: string;
|
|
2672
|
+
//#region src/services/service-app-runtime.service.d.ts
|
|
2673
|
+
type RuntimeCall = {
|
|
2674
|
+
app: ServiceAppRecord;
|
|
2675
|
+
manifest: ServiceAppManifest;
|
|
2654
2676
|
};
|
|
2655
|
-
declare class
|
|
2656
|
-
private readonly
|
|
2657
|
-
private readonly
|
|
2658
|
-
private readonly
|
|
2677
|
+
declare class ServiceAppRuntimeService {
|
|
2678
|
+
private readonly mcp;
|
|
2679
|
+
private readonly portable;
|
|
2680
|
+
private readonly protocols;
|
|
2659
2681
|
constructor(params: {
|
|
2660
2682
|
getConfig: () => Config;
|
|
2683
|
+
portableServiceRunnerPath?: string;
|
|
2661
2684
|
});
|
|
2662
|
-
getStatus: (appId: string) =>
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
manifest,
|
|
2673
|
-
actionName,
|
|
2674
|
-
input
|
|
2675
|
-
}: {
|
|
2676
|
-
app: ServiceAppRecord;
|
|
2677
|
-
manifest: ServiceAppManifest;
|
|
2685
|
+
getStatus: (appId: string) => {
|
|
2686
|
+
status: ServiceAppRuntimeStatus;
|
|
2687
|
+
lastError?: string;
|
|
2688
|
+
lastStartedAt?: string;
|
|
2689
|
+
lastReadyAt?: string;
|
|
2690
|
+
lastFailedAt?: string;
|
|
2691
|
+
};
|
|
2692
|
+
start: (call: RuntimeCall) => Promise<void>;
|
|
2693
|
+
listActions: (call: RuntimeCall) => Promise<ServiceAction[]>;
|
|
2694
|
+
invokeAction: (call: RuntimeCall & {
|
|
2678
2695
|
actionName: string;
|
|
2679
2696
|
input: Record<string, unknown>;
|
|
2680
2697
|
}) => Promise<unknown>;
|
|
2681
2698
|
stop: (appId: string) => Promise<void>;
|
|
2682
2699
|
restart: (appId: string) => Promise<void>;
|
|
2683
2700
|
dispose: () => Promise<void>;
|
|
2684
|
-
private toMcpServerRecord;
|
|
2685
|
-
private createAppRuntimeEnv;
|
|
2686
|
-
private toServiceAction;
|
|
2687
2701
|
}
|
|
2688
2702
|
//#endregion
|
|
2689
2703
|
//#region src/services/service-app-record.service.d.ts
|
|
@@ -2726,12 +2740,15 @@ declare class ServiceAppManager {
|
|
|
2726
2740
|
private readonly recordService;
|
|
2727
2741
|
private readonly actionGrants;
|
|
2728
2742
|
private readonly packageRuntime;
|
|
2743
|
+
private readonly lifecycleService;
|
|
2729
2744
|
private reconciliationDiagnostics;
|
|
2730
2745
|
constructor(params: {
|
|
2731
2746
|
configManager: ConfigManager;
|
|
2732
2747
|
runtimeService?: ServiceAppRuntime;
|
|
2733
2748
|
listPackageComponentSources?: () => Promise<AppPackageComponentSource[]>;
|
|
2734
2749
|
capabilityGrantManager: CapabilityGrantManager;
|
|
2750
|
+
hasAgent?: (agentId: string) => boolean;
|
|
2751
|
+
portableServiceRunnerPath?: string;
|
|
2735
2752
|
});
|
|
2736
2753
|
start: () => Promise<void>;
|
|
2737
2754
|
listServiceApps: () => Promise<ServiceAppList>;
|
|
@@ -2753,6 +2770,7 @@ declare class ServiceAppManager {
|
|
|
2753
2770
|
deleteServiceApp: (appId: string, purgeData?: boolean) => Promise<ServiceAppDeleteResult>;
|
|
2754
2771
|
dispose: () => Promise<void>;
|
|
2755
2772
|
assertCanActivatePackageComponents: (components: AppPackageComponentSource[]) => Promise<void>;
|
|
2773
|
+
activatePackageComponents: (components: AppPackageComponentSource[]) => Promise<void>;
|
|
2756
2774
|
deactivatePackageComponents: (components: AppPackageComponentSource[]) => Promise<void>;
|
|
2757
2775
|
preparePackageComponentDeactivation: (components: AppPackageComponentSource[]) => Promise<() => Promise<void>>;
|
|
2758
2776
|
removePackageComponentGrants: (components: AppPackageComponentSource[]) => Promise<() => Promise<void>>;
|
|
@@ -2761,8 +2779,6 @@ declare class ServiceAppManager {
|
|
|
2761
2779
|
private requireServiceAppForAction;
|
|
2762
2780
|
private requireServiceApp;
|
|
2763
2781
|
private listValidServiceApps;
|
|
2764
|
-
private assertCaller;
|
|
2765
|
-
private assertDeclaredAction;
|
|
2766
2782
|
private normalizeActionIds;
|
|
2767
2783
|
private getWorkspacePath;
|
|
2768
2784
|
private getServiceAppsPath;
|
|
@@ -2771,7 +2787,7 @@ declare class ServiceAppManager {
|
|
|
2771
2787
|
private listServiceAppDirNames;
|
|
2772
2788
|
private isMissingFileError;
|
|
2773
2789
|
}
|
|
2774
|
-
type ServiceAppRuntime = Pick<
|
|
2790
|
+
type ServiceAppRuntime = Pick<ServiceAppRuntimeService, "dispose" | "getStatus" | "invokeAction" | "listActions" | "restart" | "stop"> & Pick<Partial<ServiceAppRuntimeService>, "start">; //# sourceMappingURL=service-app.manager.d.ts.map
|
|
2775
2791
|
//#endregion
|
|
2776
2792
|
//#region src/utils/skill-frontmatter.utils.d.ts
|
|
2777
2793
|
type LocalizedTextMap = Record<string, string>;
|
|
@@ -2901,6 +2917,7 @@ type NextclawKernelOptions = {
|
|
|
2901
2917
|
homeDir?: string;
|
|
2902
2918
|
configPath?: string;
|
|
2903
2919
|
builtInAppsDirectory?: string;
|
|
2920
|
+
portableServiceRunnerPath?: string;
|
|
2904
2921
|
productVersion?: string;
|
|
2905
2922
|
productActivitySink?: ProductActivitySink;
|
|
2906
2923
|
desktopHost?: DesktopHost;
|
|
@@ -3190,6 +3207,7 @@ type NextclawHarnessOptions = {
|
|
|
3190
3207
|
homeDir?: string;
|
|
3191
3208
|
configPath?: string;
|
|
3192
3209
|
builtInAppsDirectory?: string;
|
|
3210
|
+
portableServiceRunnerPath?: string;
|
|
3193
3211
|
productVersion?: string;
|
|
3194
3212
|
productActivitySink?: {
|
|
3195
3213
|
record: (signal: {
|
|
@@ -3393,6 +3411,48 @@ declare class PanelAppAssetTokenService {
|
|
|
3393
3411
|
private parseClaims;
|
|
3394
3412
|
}
|
|
3395
3413
|
//#endregion
|
|
3414
|
+
//#region src/services/mcp-service-app-runtime.service.d.ts
|
|
3415
|
+
type RuntimeState = {
|
|
3416
|
+
status: ServiceAppRuntimeStatus;
|
|
3417
|
+
lastError?: string;
|
|
3418
|
+
lastStartedAt?: string;
|
|
3419
|
+
lastReadyAt?: string;
|
|
3420
|
+
lastFailedAt?: string;
|
|
3421
|
+
};
|
|
3422
|
+
declare class McpServiceAppRuntimeService {
|
|
3423
|
+
private readonly params;
|
|
3424
|
+
private readonly lifecycleManager;
|
|
3425
|
+
private readonly states;
|
|
3426
|
+
constructor(params: {
|
|
3427
|
+
getConfig: () => Config;
|
|
3428
|
+
});
|
|
3429
|
+
getStatus: (appId: string) => RuntimeState;
|
|
3430
|
+
listActions: ({
|
|
3431
|
+
app,
|
|
3432
|
+
manifest
|
|
3433
|
+
}: {
|
|
3434
|
+
app: ServiceAppRecord;
|
|
3435
|
+
manifest: ServiceAppManifest;
|
|
3436
|
+
}) => Promise<ServiceAction[]>;
|
|
3437
|
+
invokeAction: ({
|
|
3438
|
+
app,
|
|
3439
|
+
manifest,
|
|
3440
|
+
actionName,
|
|
3441
|
+
input
|
|
3442
|
+
}: {
|
|
3443
|
+
app: ServiceAppRecord;
|
|
3444
|
+
manifest: ServiceAppManifest;
|
|
3445
|
+
actionName: string;
|
|
3446
|
+
input: Record<string, unknown>;
|
|
3447
|
+
}) => Promise<unknown>;
|
|
3448
|
+
stop: (appId: string) => Promise<void>;
|
|
3449
|
+
restart: (appId: string) => Promise<void>;
|
|
3450
|
+
dispose: () => Promise<void>;
|
|
3451
|
+
private toMcpServerRecord;
|
|
3452
|
+
private createAppRuntimeEnv;
|
|
3453
|
+
private toServiceAction;
|
|
3454
|
+
}
|
|
3455
|
+
//#endregion
|
|
3396
3456
|
//#region src/services/command-registry.service.d.ts
|
|
3397
3457
|
type CommandOptionType = "string" | "boolean" | "number";
|
|
3398
3458
|
type CommandOption = {
|
|
@@ -3666,5 +3726,5 @@ declare function resolveLegacyEventType(message: SessionMessage): string;
|
|
|
3666
3726
|
declare function getUiContentParamsBootstrapScript(): string;
|
|
3667
3727
|
declare function injectUiContentParamsBootstrap(html: string): string;
|
|
3668
3728
|
//#endregion
|
|
3669
|
-
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, AppDataDeleteResult, AppDataDiagnostic, AppDataEntry, AppDataError, AppDataErrorCode, AppDataLifecycle, AppDataList, AppDataManager, AppDataSource, type AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, AppPackageComponentKind, AppPackageComponentSource, AppPackageComponentSourceList, AppPackageComponentView, AppPackageConflict, AppPackageError, AppPackageErrorCode, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationAction, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationResult, AppPackageOperationStatus, AppPackageOperationView, AppPackageRuntimeHooks, AppPackageUnavailableDiagnostic, AppPackageUninstallRollback, AppPackageView, type AssetApi, AutomationManager, AutomationManagerOptions, BindContextInput, type BuildAgentRunSendPayloadParams, BuildContextTailInput, BuiltinNarpRuntimeProviderService, CONTEXT_COMPACTION_CONTINUATION_TEXT, 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, 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, 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, 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, PROJECT_TEMPLATE_IDS, 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, PreferenceEntry, PreferenceError, PreferenceErrorCode, PreferenceJsonValue, PreferenceManager, PreferenceManagerOptions, ProductActivityKind, ProductActivitySignal, ProductActivitySink, ProductActivitySource, type ProductFeatureControls, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectRecord, ProjectTemplate, ProjectTemplateId, type ProviderCatalogPlugin, ProviderManagerNcpLLMApi, ProviderModelCatalogEntry, ProviderModelCatalogManager, ProviderModelCatalogSnapshot, ProviderModelsDiscoverInput, type ProviderSpec, ResolvedAgentProfile, ResolvedDesktopApplicationTarget, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAction, ServiceActionCaller, ServiceActionGrant, ServiceActionGrantRequest, ServiceActionGrantState, ServiceActionInvokeRequest, ServiceActionInvokeResult, ServiceActionRisk, ServiceActionRuntimeState, ServiceAppDeleteResult, ServiceAppError, type ServiceAppErrorCode, ServiceAppList, ServiceAppManager, ServiceAppManifest, ServiceAppManifestAction, ServiceAppProtocol, ServiceAppRecord, ServiceAppRuntimeStatus, 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, UpdateSnapshot, UpdateStatus, type WorkspaceServiceDataOwner, assertObservationJsonValue, assertObservationPredicate, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, capabilityGrantCovers, createAgentRuntimeSessionRequestDispatcher, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createServiceActionGrantRequest, createTypedKey, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, parseObservationDuration, parseServiceAppManifest, parseSkillFrontmatter, readContextCompactionCheckpoint, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolveSessionChannelContext, runGatewayInboundLoop, runNextclawTask, sanitizeLlmUsage, serializeContextTail, serializeUnsignedUpdateManifest, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, waitForAgentRuntimeSessionReply };
|
|
3729
|
+
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 AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, AppPackageComponentKind, AppPackageComponentSource, AppPackageComponentSourceList, AppPackageComponentView, AppPackageConflict, AppPackageError, AppPackageErrorCode, AppPackageHostTarget, AppPackageList, AppPackageManager, AppPackageOperationAction, AppPackageOperationInput, AppPackageOperationList, AppPackageOperationResult, AppPackageOperationStatus, AppPackageOperationView, AppPackageRuntimeHooks, AppPackageUnavailableDiagnostic, AppPackageUninstallRollback, AppPackageView, type AssetApi, AutomationManager, AutomationManagerOptions, BindContextInput, type BuildAgentRunSendPayloadParams, BuildContextTailInput, BuiltinNarpRuntimeProviderService, CONTEXT_COMPACTION_CONTINUATION_TEXT, 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, 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, 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, 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, PROJECT_TEMPLATE_IDS, 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, PreferenceEntry, PreferenceError, PreferenceErrorCode, PreferenceJsonValue, PreferenceManager, PreferenceManagerOptions, ProductActivityKind, ProductActivitySignal, ProductActivitySink, ProductActivitySource, type ProductFeatureControls, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectRecord, ProjectTemplate, ProjectTemplateId, type ProviderCatalogPlugin, ProviderManagerNcpLLMApi, ProviderModelCatalogEntry, ProviderModelCatalogManager, ProviderModelCatalogSnapshot, ProviderModelsDiscoverInput, type ProviderSpec, ResolvedAgentProfile, ResolvedDesktopApplicationTarget, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAction, ServiceActionCaller, ServiceActionGrant, ServiceActionGrantRequest, ServiceActionGrantState, ServiceActionInvokeRequest, ServiceActionInvokeResult, ServiceActionRisk, ServiceActionRuntimeState, ServiceAppDeleteResult, ServiceAppError, type ServiceAppErrorCode, ServiceAppLifecycle, ServiceAppList, ServiceAppManager, ServiceAppManifest, ServiceAppManifestAction, ServiceAppProtocol, ServiceAppRecord, ServiceAppRuntimeService, ServiceAppRuntimeStatus, 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, UpdateSnapshot, UpdateStatus, type WorkspaceServiceDataOwner, assertObservationJsonValue, assertObservationPredicate, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, capabilityGrantCovers, createAgentRuntimeSessionRequestDispatcher, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createServiceActionGrantRequest, createTypedKey, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, parseObservationDuration, parseServiceAppManifest, parseSkillFrontmatter, readContextCompactionCheckpoint, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolveSessionChannelContext, runGatewayInboundLoop, runNextclawTask, sanitizeLlmUsage, serializeContextTail, serializeUnsignedUpdateManifest, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, waitForAgentRuntimeSessionReply };
|
|
3670
3730
|
//# sourceMappingURL=index.d.ts.map
|