@nextclaw/kernel 0.14.0 → 0.15.0-beta.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 +378 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2917 -515
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
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
3
|
import * as _$_nextclaw_core0 from "@nextclaw/core";
|
|
4
|
-
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,
|
|
4
|
+
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
5
|
import { ListMessagesOptions, ListSessionsOptions, NcpAgentConversationStateManager, NcpAgentRuntime, NcpContextTail, 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
6
|
import { LocalAssetStore } from "@nextclaw/ncp-agent-runtime";
|
|
7
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
|
-
import
|
|
9
|
+
import * as _$_nextclaw_app_runtime0 from "@nextclaw/app-runtime";
|
|
10
|
+
import { AppDocumentGrantMutationResult, AppDocumentGrantState, AppInstallProgressHandler, AppInstalledPermissionState, AppNativeArtifactTarget, AppPermissions, AppPlatformTargetService, AppRollbackResult, AppRuntimeIsolation, AppRuntimeProfile, AppSecretBinding, AppSecretSlot, AppStorageContext, AppStorageUsage, AppUninstallResult, AppUpdateResult } from "@nextclaw/app-runtime";
|
|
10
11
|
import * as _$_nextclaw_mcp0 from "@nextclaw/mcp";
|
|
11
12
|
import { McpCatalogFilter, McpCatalogFilter as McpCatalogFilter$1, McpRegistryService, McpServerRecord, McpServerRecord as McpServerRecord$1, McpToolCatalogEntry, McpToolCatalogEntry as McpToolCatalogEntry$1 } from "@nextclaw/mcp";
|
|
12
13
|
|
|
@@ -586,6 +587,7 @@ type AgentRunSession = {
|
|
|
586
587
|
metadata: Record<string, unknown>;
|
|
587
588
|
model?: string;
|
|
588
589
|
projectRoot?: string;
|
|
590
|
+
projectId?: string;
|
|
589
591
|
workingDir: string;
|
|
590
592
|
thinkingEffort?: ThinkingEffort | null;
|
|
591
593
|
};
|
|
@@ -679,7 +681,7 @@ declare class NcpAgentSessionJournalStore {
|
|
|
679
681
|
private sessionPath;
|
|
680
682
|
}
|
|
681
683
|
//#endregion
|
|
682
|
-
//#region src/types/project.types.d.ts
|
|
684
|
+
//#region src/features/projects/types/project.types.d.ts
|
|
683
685
|
declare const PROJECT_TEMPLATE_IDS: readonly ["empty", "knowledge-base"];
|
|
684
686
|
type ProjectTemplateId = (typeof PROJECT_TEMPLATE_IDS)[number];
|
|
685
687
|
type ProjectTemplate = {
|
|
@@ -688,6 +690,7 @@ type ProjectTemplate = {
|
|
|
688
690
|
description: string;
|
|
689
691
|
};
|
|
690
692
|
type ProjectRecord = {
|
|
693
|
+
id: string;
|
|
691
694
|
name: string;
|
|
692
695
|
rootPath: string;
|
|
693
696
|
template?: ProjectTemplateId;
|
|
@@ -699,11 +702,16 @@ type CreateProjectInput = {
|
|
|
699
702
|
rootPath?: string;
|
|
700
703
|
template?: ProjectTemplateId;
|
|
701
704
|
};
|
|
705
|
+
type ProjectSessionBinding = {
|
|
706
|
+
projectId: string;
|
|
707
|
+
rootPath: string;
|
|
708
|
+
};
|
|
702
709
|
//#endregion
|
|
703
|
-
//#region src/managers/project.manager.d.ts
|
|
710
|
+
//#region src/features/projects/managers/project.manager.d.ts
|
|
704
711
|
type ProjectManagerOptions = {
|
|
705
712
|
storePath: string;
|
|
706
713
|
getDefaultWorkspacePath: () => string;
|
|
714
|
+
onProjectRegistered?: (project: ProjectRecord) => Promise<void>;
|
|
707
715
|
};
|
|
708
716
|
type ProjectErrorCode = "PROJECT_NAME_INVALID" | "PROJECT_PATH_INVALID_TYPE" | "PROJECT_PATH_NOT_FOUND" | "PROJECT_PATH_NOT_DIRECTORY" | "PROJECT_PATH_IS_DEFAULT_WORKSPACE" | "PROJECT_PATH_NOT_EMPTY" | "PROJECT_TEMPLATE_INVALID";
|
|
709
717
|
declare class ProjectError extends Error {
|
|
@@ -716,10 +724,14 @@ declare class ProjectManager {
|
|
|
716
724
|
private readonly store;
|
|
717
725
|
constructor(options: ProjectManagerOptions);
|
|
718
726
|
listProjects: () => Promise<ProjectRecord[]>;
|
|
727
|
+
migrateLegacyProjects: () => Promise<boolean>;
|
|
728
|
+
getProjectById: (projectId: string) => Promise<ProjectRecord | null>;
|
|
729
|
+
getRegisteredProject: (rootPath: unknown) => Promise<ProjectRecord | null>;
|
|
719
730
|
listTemplates: () => ProjectTemplate[];
|
|
720
731
|
createProject: (input: CreateProjectInput) => Promise<ProjectRecord>;
|
|
721
732
|
registerExistingProject: (rootPath: unknown, name?: string) => Promise<ProjectRecord | null>;
|
|
722
733
|
normalizeSessionProjectRoot: (value: unknown) => Promise<string | null>;
|
|
734
|
+
normalizeSessionProjectContext: (value: unknown) => Promise<ProjectSessionBinding | null>;
|
|
723
735
|
resolveExistingProjectRoot: (value: unknown) => Promise<string | null>;
|
|
724
736
|
importSessionProjects: (projectRoots: unknown[]) => Promise<void>;
|
|
725
737
|
private upsertProject;
|
|
@@ -734,6 +746,340 @@ declare class ProjectManager {
|
|
|
734
746
|
private isMissingFileError;
|
|
735
747
|
}
|
|
736
748
|
//#endregion
|
|
749
|
+
//#region src/features/projects/types/project-work.types.d.ts
|
|
750
|
+
declare const PROJECT_WORK_STATE_CATEGORIES: readonly ["backlog", "unstarted", "started", "completed", "canceled"];
|
|
751
|
+
type ProjectWorkStateCategory = (typeof PROJECT_WORK_STATE_CATEGORIES)[number];
|
|
752
|
+
declare const PROJECT_WORK_ATTENTION_VALUES: readonly ["none", "blocked", "awaiting-user"];
|
|
753
|
+
type ProjectWorkAttention = (typeof PROJECT_WORK_ATTENTION_VALUES)[number];
|
|
754
|
+
type ProjectWorkActor = {
|
|
755
|
+
kind: "agent" | "cli" | "system" | "user";
|
|
756
|
+
id?: string;
|
|
757
|
+
sessionId?: string;
|
|
758
|
+
};
|
|
759
|
+
type ProjectWorkState = {
|
|
760
|
+
id: string;
|
|
761
|
+
projectId: string;
|
|
762
|
+
name: string;
|
|
763
|
+
category: ProjectWorkStateCategory;
|
|
764
|
+
position: number;
|
|
765
|
+
isDefault: boolean;
|
|
766
|
+
createdAt: string;
|
|
767
|
+
updatedAt: string;
|
|
768
|
+
};
|
|
769
|
+
type ProjectWorkItem = {
|
|
770
|
+
id: string;
|
|
771
|
+
projectId: string;
|
|
772
|
+
title: string;
|
|
773
|
+
description: string;
|
|
774
|
+
stateId: string;
|
|
775
|
+
attention: ProjectWorkAttention;
|
|
776
|
+
version: number;
|
|
777
|
+
createdAt: string;
|
|
778
|
+
updatedAt: string;
|
|
779
|
+
deletedAt: string | null;
|
|
780
|
+
};
|
|
781
|
+
type ProjectWorkActivityType = "artifact-linked" | "artifact-unlinked" | "created" | "deleted" | "restored" | "state-changed" | "updated";
|
|
782
|
+
type ProjectWorkActivity = {
|
|
783
|
+
id: string;
|
|
784
|
+
projectId: string;
|
|
785
|
+
workItemId: string;
|
|
786
|
+
type: ProjectWorkActivityType;
|
|
787
|
+
actor: ProjectWorkActor;
|
|
788
|
+
details: Record<string, unknown>;
|
|
789
|
+
createdAt: string;
|
|
790
|
+
};
|
|
791
|
+
type ProjectWorkArtifactLink = {
|
|
792
|
+
id: string;
|
|
793
|
+
projectId: string;
|
|
794
|
+
workItemId: string;
|
|
795
|
+
path: string;
|
|
796
|
+
label: string | null;
|
|
797
|
+
createdAt: string;
|
|
798
|
+
};
|
|
799
|
+
type ProjectWorkItemDetail = ProjectWorkItem & {
|
|
800
|
+
state: ProjectWorkState;
|
|
801
|
+
artifacts: ProjectWorkArtifactLink[];
|
|
802
|
+
};
|
|
803
|
+
type ProjectWorkList = {
|
|
804
|
+
items: ProjectWorkItemDetail[];
|
|
805
|
+
states: ProjectWorkState[];
|
|
806
|
+
total: number;
|
|
807
|
+
};
|
|
808
|
+
type ProjectWorkSummary = {
|
|
809
|
+
active: number;
|
|
810
|
+
attention: number;
|
|
811
|
+
completed: number;
|
|
812
|
+
total: number;
|
|
813
|
+
updatedAt: string | null;
|
|
814
|
+
};
|
|
815
|
+
type ProjectWorkActivityPage = {
|
|
816
|
+
activities: ProjectWorkActivity[];
|
|
817
|
+
nextCursor: string | null;
|
|
818
|
+
};
|
|
819
|
+
type CreateProjectWorkItemInput = {
|
|
820
|
+
title: string;
|
|
821
|
+
description?: string;
|
|
822
|
+
stateId?: string;
|
|
823
|
+
attention?: ProjectWorkAttention;
|
|
824
|
+
};
|
|
825
|
+
type UpdateProjectWorkItemInput = {
|
|
826
|
+
title?: string;
|
|
827
|
+
description?: string;
|
|
828
|
+
stateId?: string;
|
|
829
|
+
attention?: ProjectWorkAttention;
|
|
830
|
+
expectedVersion?: number;
|
|
831
|
+
};
|
|
832
|
+
type CreateProjectWorkStateInput = {
|
|
833
|
+
name: string;
|
|
834
|
+
category: ProjectWorkStateCategory;
|
|
835
|
+
position?: number;
|
|
836
|
+
isDefault?: boolean;
|
|
837
|
+
};
|
|
838
|
+
type UpdateProjectWorkStateInput = {
|
|
839
|
+
name?: string;
|
|
840
|
+
category?: ProjectWorkStateCategory;
|
|
841
|
+
position?: number;
|
|
842
|
+
isDefault?: boolean;
|
|
843
|
+
};
|
|
844
|
+
//#endregion
|
|
845
|
+
//#region src/features/projects/managers/project-work.manager.d.ts
|
|
846
|
+
declare class ProjectWorkManager {
|
|
847
|
+
private readonly options;
|
|
848
|
+
private readonly store;
|
|
849
|
+
constructor(options: {
|
|
850
|
+
databasePath: string;
|
|
851
|
+
eventBus: EventBus$1;
|
|
852
|
+
projectManager: ProjectManager;
|
|
853
|
+
});
|
|
854
|
+
initialize: () => Promise<void>;
|
|
855
|
+
dispose: () => void;
|
|
856
|
+
ensureProject: (projectId: string) => Promise<void>;
|
|
857
|
+
list: (projectId: string, includeDeleted?: boolean) => Promise<ProjectWorkList>;
|
|
858
|
+
summary: (projectId: string) => Promise<ProjectWorkSummary>;
|
|
859
|
+
get: (projectId: string, workItemId: string) => Promise<ProjectWorkItemDetail>;
|
|
860
|
+
create: (projectId: string, input: CreateProjectWorkItemInput, actor: ProjectWorkActor) => Promise<ProjectWorkItemDetail>;
|
|
861
|
+
update: (projectId: string, workItemId: string, input: UpdateProjectWorkItemInput, actor: ProjectWorkActor) => Promise<ProjectWorkItemDetail>;
|
|
862
|
+
delete: (projectId: string, workItemId: string, actor: ProjectWorkActor) => Promise<ProjectWorkItemDetail>;
|
|
863
|
+
restore: (projectId: string, workItemId: string, actor: ProjectWorkActor) => Promise<ProjectWorkItemDetail>;
|
|
864
|
+
listActivities: (projectId: string, workItemId: string, options?: {
|
|
865
|
+
cursor?: string;
|
|
866
|
+
limit?: number;
|
|
867
|
+
}) => Promise<ProjectWorkActivityPage>;
|
|
868
|
+
listStates: (projectId: string) => Promise<ProjectWorkState[]>;
|
|
869
|
+
createState: (projectId: string, input: CreateProjectWorkStateInput) => Promise<ProjectWorkState>;
|
|
870
|
+
updateState: (projectId: string, stateId: string, input: UpdateProjectWorkStateInput) => Promise<ProjectWorkState>;
|
|
871
|
+
deleteState: (projectId: string, stateId: string, migrateToStateId: string | null, actor: ProjectWorkActor) => Promise<void>;
|
|
872
|
+
linkArtifact: (params: {
|
|
873
|
+
projectId: string;
|
|
874
|
+
workItemId: string;
|
|
875
|
+
path: string;
|
|
876
|
+
label?: string;
|
|
877
|
+
actor: ProjectWorkActor;
|
|
878
|
+
}) => Promise<ProjectWorkArtifactLink>;
|
|
879
|
+
unlinkArtifact: (params: {
|
|
880
|
+
projectId: string;
|
|
881
|
+
workItemId: string;
|
|
882
|
+
artifactLinkId: string;
|
|
883
|
+
actor: ProjectWorkActor;
|
|
884
|
+
}) => Promise<void>;
|
|
885
|
+
private setDeleted;
|
|
886
|
+
private requireProject;
|
|
887
|
+
private requireMappedState;
|
|
888
|
+
private requireName;
|
|
889
|
+
private assertAttention;
|
|
890
|
+
private assertCategory;
|
|
891
|
+
private normalizeActor;
|
|
892
|
+
private normalizeArtifactPath;
|
|
893
|
+
private emit;
|
|
894
|
+
}
|
|
895
|
+
//#endregion
|
|
896
|
+
//#region src/features/projects/types/project-observation.types.d.ts
|
|
897
|
+
declare const PROJECT_OBSERVATION_PROTOCOL: "nextclaw.project/v1";
|
|
898
|
+
type ProjectObservationDataQuality = "complete" | "partial" | "unavailable";
|
|
899
|
+
type ProjectObservationEvidenceKind = "project-config" | "file-observation" | "ai-report" | "system-record";
|
|
900
|
+
type ProjectObservationReference = {
|
|
901
|
+
kind: ProjectObservationEvidenceKind;
|
|
902
|
+
label: string;
|
|
903
|
+
observedAt: string;
|
|
904
|
+
projectRelativePath?: string;
|
|
905
|
+
sessionId?: string;
|
|
906
|
+
messageId?: string;
|
|
907
|
+
};
|
|
908
|
+
type ProjectObservationDiagnostic = {
|
|
909
|
+
id: string;
|
|
910
|
+
source: "config" | "files" | "sessions" | "skills";
|
|
911
|
+
level: "info" | "warning" | "error";
|
|
912
|
+
code: string;
|
|
913
|
+
message: string;
|
|
914
|
+
projectRelativePath?: string;
|
|
915
|
+
sessionId?: string;
|
|
916
|
+
messageId?: string;
|
|
917
|
+
};
|
|
918
|
+
type ProjectObservationSourceStatus = {
|
|
919
|
+
id: "config" | "files" | "sessions" | "skills";
|
|
920
|
+
label: string;
|
|
921
|
+
status: "available" | "empty" | "error";
|
|
922
|
+
itemCount: number;
|
|
923
|
+
observedAt: string;
|
|
924
|
+
diagnosticIds: string[];
|
|
925
|
+
};
|
|
926
|
+
type ObservedProjectContextReference = {
|
|
927
|
+
id: string;
|
|
928
|
+
role: string;
|
|
929
|
+
source: string;
|
|
930
|
+
accessible: boolean;
|
|
931
|
+
reference: ProjectObservationReference;
|
|
932
|
+
};
|
|
933
|
+
type ObservedProjectContext = {
|
|
934
|
+
name: string;
|
|
935
|
+
rootPath: string;
|
|
936
|
+
summary?: string;
|
|
937
|
+
context: ObservedProjectContextReference[];
|
|
938
|
+
};
|
|
939
|
+
type ObservedWorkflowStage = {
|
|
940
|
+
id: string;
|
|
941
|
+
label: string;
|
|
942
|
+
};
|
|
943
|
+
type ObservedWorkflow = {
|
|
944
|
+
id: string;
|
|
945
|
+
label: string;
|
|
946
|
+
stages: ObservedWorkflowStage[];
|
|
947
|
+
reference: ProjectObservationReference;
|
|
948
|
+
};
|
|
949
|
+
type ObservedWorkItemSchedule = {
|
|
950
|
+
start?: string;
|
|
951
|
+
end?: string;
|
|
952
|
+
milestone: boolean;
|
|
953
|
+
dependsOn: string[];
|
|
954
|
+
};
|
|
955
|
+
type ObservedWorkItem = {
|
|
956
|
+
id: string;
|
|
957
|
+
name: string;
|
|
958
|
+
status: "active" | "blocked" | "completed" | "cancelled";
|
|
959
|
+
workflowId?: string;
|
|
960
|
+
stageId?: string;
|
|
961
|
+
schedule?: ObservedWorkItemSchedule;
|
|
962
|
+
updatedAt: string;
|
|
963
|
+
reference: ProjectObservationReference;
|
|
964
|
+
};
|
|
965
|
+
type ObservedProjectRun = {
|
|
966
|
+
sessionId: string;
|
|
967
|
+
state: "running" | "completed" | "failed" | "cancelled" | "idle";
|
|
968
|
+
updatedAt: string;
|
|
969
|
+
agentId?: string;
|
|
970
|
+
model?: string;
|
|
971
|
+
label?: string;
|
|
972
|
+
statusText?: string;
|
|
973
|
+
workItemId?: string;
|
|
974
|
+
reference: ProjectObservationReference;
|
|
975
|
+
};
|
|
976
|
+
type ObservedArtifact = {
|
|
977
|
+
id: string;
|
|
978
|
+
path: string;
|
|
979
|
+
categoryId: string;
|
|
980
|
+
categoryLabel: string;
|
|
981
|
+
exists: boolean;
|
|
982
|
+
itemId?: string;
|
|
983
|
+
size?: number;
|
|
984
|
+
fileCreatedAt?: string;
|
|
985
|
+
fileUpdatedAt?: string;
|
|
986
|
+
references: ProjectObservationReference[];
|
|
987
|
+
};
|
|
988
|
+
type ObservedArtifactCategory = {
|
|
989
|
+
id: string;
|
|
990
|
+
label: string;
|
|
991
|
+
};
|
|
992
|
+
type ObservedSignal = {
|
|
993
|
+
id: string;
|
|
994
|
+
itemId?: string;
|
|
995
|
+
status: "open" | "resolved";
|
|
996
|
+
level: "info" | "attention" | "warning";
|
|
997
|
+
message: string;
|
|
998
|
+
updatedAt: string;
|
|
999
|
+
reference: ProjectObservationReference;
|
|
1000
|
+
};
|
|
1001
|
+
type ObservedRequest = {
|
|
1002
|
+
id: string;
|
|
1003
|
+
itemId?: string;
|
|
1004
|
+
status: "open" | "resolved" | "expired";
|
|
1005
|
+
response: "confirm-reject" | "open-session";
|
|
1006
|
+
prompt: string;
|
|
1007
|
+
updatedAt: string;
|
|
1008
|
+
reply?: {
|
|
1009
|
+
decision: "confirmed" | "rejected";
|
|
1010
|
+
sentAt: string;
|
|
1011
|
+
messageId: string;
|
|
1012
|
+
};
|
|
1013
|
+
reference: ProjectObservationReference;
|
|
1014
|
+
};
|
|
1015
|
+
type ObservedActivity = {
|
|
1016
|
+
id: string;
|
|
1017
|
+
kind: "work-item" | "artifact" | "schedule" | "signal" | "request";
|
|
1018
|
+
message: string;
|
|
1019
|
+
at: string;
|
|
1020
|
+
itemId?: string;
|
|
1021
|
+
reference: ProjectObservationReference;
|
|
1022
|
+
};
|
|
1023
|
+
type ObservedSkill = {
|
|
1024
|
+
ref: string;
|
|
1025
|
+
name: string;
|
|
1026
|
+
description?: string;
|
|
1027
|
+
source: "project";
|
|
1028
|
+
path: string;
|
|
1029
|
+
readable: boolean;
|
|
1030
|
+
reference: ProjectObservationReference;
|
|
1031
|
+
};
|
|
1032
|
+
type ProjectObservationSnapshot = {
|
|
1033
|
+
asOf: string;
|
|
1034
|
+
project: ObservedProjectContext;
|
|
1035
|
+
sources: ProjectObservationSourceStatus[];
|
|
1036
|
+
workflows: ObservedWorkflow[];
|
|
1037
|
+
runs: ObservedProjectRun[];
|
|
1038
|
+
workItems: ObservedWorkItem[];
|
|
1039
|
+
artifactCategories: ObservedArtifactCategory[];
|
|
1040
|
+
artifacts: ObservedArtifact[];
|
|
1041
|
+
signals: ObservedSignal[];
|
|
1042
|
+
requests: ObservedRequest[];
|
|
1043
|
+
activity: ObservedActivity[];
|
|
1044
|
+
skills: ObservedSkill[];
|
|
1045
|
+
diagnostics: ProjectObservationDiagnostic[];
|
|
1046
|
+
dataQuality: ProjectObservationDataQuality;
|
|
1047
|
+
};
|
|
1048
|
+
declare class ProjectObservationError extends Error {
|
|
1049
|
+
readonly code: "PROJECT_NOT_REGISTERED" | "PROJECT_OBSERVATION_INVALID_ROOT";
|
|
1050
|
+
constructor(code: "PROJECT_NOT_REGISTERED" | "PROJECT_OBSERVATION_INVALID_ROOT", message: string);
|
|
1051
|
+
}
|
|
1052
|
+
declare function isProjectObservationError(error: unknown): error is ProjectObservationError;
|
|
1053
|
+
//#endregion
|
|
1054
|
+
//#region src/features/projects/services/project-observation.service.d.ts
|
|
1055
|
+
type ProjectObservationServiceOptions = {
|
|
1056
|
+
projectManager: Pick<ProjectManager, "getRegisteredProject">;
|
|
1057
|
+
sessionManager: Pick<SessionManager, "listSessions" | "listSessionMessages">;
|
|
1058
|
+
workspacePath: string;
|
|
1059
|
+
now?: () => Date;
|
|
1060
|
+
};
|
|
1061
|
+
declare class ProjectObservationService {
|
|
1062
|
+
private readonly options;
|
|
1063
|
+
private readonly now;
|
|
1064
|
+
constructor(options: ProjectObservationServiceOptions);
|
|
1065
|
+
observe: (rootPath: string) => Promise<ProjectObservationSnapshot>;
|
|
1066
|
+
private readConfig;
|
|
1067
|
+
private observeContext;
|
|
1068
|
+
private observeArtifacts;
|
|
1069
|
+
private observeSessions;
|
|
1070
|
+
private addMarkerConflictDiagnostics;
|
|
1071
|
+
private observeSkills;
|
|
1072
|
+
private createSourceStatus;
|
|
1073
|
+
}
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region src/features/projects/types/project-work-error.types.d.ts
|
|
1076
|
+
type ProjectWorkErrorCode = "PROJECT_NOT_FOUND" | "PROJECT_WORK_ARTIFACT_INVALID" | "PROJECT_WORK_ARTIFACT_NOT_FOUND" | "PROJECT_WORK_ITEM_NOT_FOUND" | "PROJECT_WORK_STATE_IN_USE" | "PROJECT_WORK_STATE_INVALID" | "PROJECT_WORK_STATE_NOT_FOUND" | "PROJECT_WORK_VALIDATION_FAILED" | "PROJECT_WORK_VERSION_CONFLICT";
|
|
1077
|
+
declare class ProjectWorkError extends Error {
|
|
1078
|
+
readonly code: ProjectWorkErrorCode;
|
|
1079
|
+
constructor(code: ProjectWorkErrorCode, message: string);
|
|
1080
|
+
}
|
|
1081
|
+
declare function isProjectWorkError(error: unknown): error is ProjectWorkError;
|
|
1082
|
+
//#endregion
|
|
737
1083
|
//#region src/services/session-event-coordinator.service.d.ts
|
|
738
1084
|
type PublishSessionEventParams = {
|
|
739
1085
|
sessionId: string;
|
|
@@ -1530,6 +1876,7 @@ type AppPackageView = {
|
|
|
1530
1876
|
readiness: AppPackageReadiness;
|
|
1531
1877
|
secrets: AppPackageSecretReadiness;
|
|
1532
1878
|
dependencies: AppPackageDependencyView;
|
|
1879
|
+
documentAccess: AppDocumentGrantState[];
|
|
1533
1880
|
};
|
|
1534
1881
|
type AppPackageHostTarget = {
|
|
1535
1882
|
key: string;
|
|
@@ -1597,9 +1944,11 @@ type AppPackageRuntimeHooks = {
|
|
|
1597
1944
|
assertCanActivate: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1598
1945
|
afterActivate: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1599
1946
|
beforeDeactivate: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1947
|
+
prepareCapabilityChange: (sources: AppPackageComponentSource[]) => Promise<AppPackageUninstallRollback>;
|
|
1948
|
+
afterCapabilityChange: (sources: AppPackageComponentSource[]) => Promise<void>;
|
|
1600
1949
|
beforeUninstall: (sources: AppPackageComponentSource[]) => Promise<AppPackageUninstallRollback | void>;
|
|
1601
1950
|
};
|
|
1602
|
-
type AppPackageErrorCode = "APP_PACKAGE_CONFLICT" | "APP_PACKAGE_INCOMPATIBLE" | "APP_PACKAGE_NOT_READY" | "APP_PACKAGE_NOT_FOUND" | "APP_PACKAGE_DEPENDENCY_MISSING" | "APP_PACKAGE_DEPENDENCY_INCOMPATIBLE" | "APP_PACKAGE_DEPENDENCY_CYCLE" | "APP_PACKAGE_OPERATION_FAILED" | "SECRET_SLOT_NOT_DECLARED" | "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED";
|
|
1951
|
+
type AppPackageErrorCode = "APP_PACKAGE_CONFLICT" | "APP_PACKAGE_INCOMPATIBLE" | "APP_PACKAGE_NOT_READY" | "APP_PACKAGE_NOT_FOUND" | "APP_PACKAGE_DEPENDENCY_MISSING" | "APP_PACKAGE_DEPENDENCY_INCOMPATIBLE" | "APP_PACKAGE_DEPENDENCY_CYCLE" | "APP_PACKAGE_OPERATION_FAILED" | "SECRET_SLOT_NOT_DECLARED" | "SECRET_BINDING_MISSING" | "SECRET_RESOLUTION_FAILED" | "DOCUMENT_SCOPE_NOT_DECLARED" | "DOCUMENT_SCOPE_NOT_GRANTED" | "DOCUMENT_SCOPE_MODE_INSUFFICIENT" | "DOCUMENT_SCOPE_UNAVAILABLE" | "DOCUMENT_SCOPE_MUTATION_FAILED";
|
|
1603
1952
|
declare class AppPackageError extends Error {
|
|
1604
1953
|
readonly code: AppPackageErrorCode;
|
|
1605
1954
|
constructor(code: AppPackageErrorCode, message: string);
|
|
@@ -1618,6 +1967,8 @@ declare class AppPackageManager {
|
|
|
1618
1967
|
private readonly dependencyCoordinator;
|
|
1619
1968
|
private readonly runtimeActivationService;
|
|
1620
1969
|
private readonly registryService;
|
|
1970
|
+
private readonly grantService;
|
|
1971
|
+
private readonly documentAccessService;
|
|
1621
1972
|
private readonly readinessManager;
|
|
1622
1973
|
private runtimeHooks;
|
|
1623
1974
|
private builtInBootstrapPromise;
|
|
@@ -1651,6 +2002,14 @@ declare class AppPackageManager {
|
|
|
1651
2002
|
binding: AppSecretBinding;
|
|
1652
2003
|
}) => Promise<AppPackageSecretReadiness>;
|
|
1653
2004
|
unbindSecret: (appId: string, slotId: string) => Promise<AppPackageSecretReadiness>;
|
|
2005
|
+
inspectDocumentAccess: (appId: string) => Promise<_$_nextclaw_app_runtime0.AppInstalledPermissionState>;
|
|
2006
|
+
assertDocumentAccess: (appId: string, scopeId: string, requestedMode: "read" | "read-write") => Promise<void>;
|
|
2007
|
+
grantDocumentAccess: (appId: string, input: {
|
|
2008
|
+
scopeId: string;
|
|
2009
|
+
directoryPath: string;
|
|
2010
|
+
mode: "read" | "read-write";
|
|
2011
|
+
}) => Promise<_$_nextclaw_app_runtime0.AppDocumentGrantMutationResult>;
|
|
2012
|
+
revokeDocumentAccess: (appId: string, scopeId: string) => Promise<_$_nextclaw_app_runtime0.AppDocumentGrantMutationResult>;
|
|
1654
2013
|
listActiveComponentSources: () => Promise<AppPackageComponentSource[]>;
|
|
1655
2014
|
listActiveComponentSourcesWithDiagnostics: () => Promise<AppPackageComponentSourceList>;
|
|
1656
2015
|
listOperations: () => Promise<AppPackageOperationList>;
|
|
@@ -3537,6 +3896,13 @@ declare class ServiceAppJobJournalService {
|
|
|
3537
3896
|
}
|
|
3538
3897
|
//#endregion
|
|
3539
3898
|
//#region src/types/portable-service-app-runtime.types.d.ts
|
|
3899
|
+
type PortableRuntimeState = {
|
|
3900
|
+
status: ServiceAppRuntimeStatus;
|
|
3901
|
+
lastError?: string;
|
|
3902
|
+
lastStartedAt?: string;
|
|
3903
|
+
lastReadyAt?: string;
|
|
3904
|
+
lastFailedAt?: string;
|
|
3905
|
+
};
|
|
3540
3906
|
type PortableServiceAppHostCall = {
|
|
3541
3907
|
app: ServiceAppRecord;
|
|
3542
3908
|
manifest: ServiceAppManifest;
|
|
@@ -3700,13 +4066,7 @@ declare class ServiceAppRuntimeService {
|
|
|
3700
4066
|
portableServiceRunnerPath?: string;
|
|
3701
4067
|
residentInbox?: ServiceAppResidentEventInboxService;
|
|
3702
4068
|
});
|
|
3703
|
-
getStatus: (appId: string) =>
|
|
3704
|
-
status: ServiceAppRuntimeStatus;
|
|
3705
|
-
lastError?: string;
|
|
3706
|
-
lastStartedAt?: string;
|
|
3707
|
-
lastReadyAt?: string;
|
|
3708
|
-
lastFailedAt?: string;
|
|
3709
|
-
};
|
|
4069
|
+
getStatus: (appId: string) => PortableRuntimeState;
|
|
3710
4070
|
getLastObservation: () => PortableRunnerObservation | undefined;
|
|
3711
4071
|
/** One kernel-owned callback path for Guest host calls; MCP never receives it. */
|
|
3712
4072
|
setPortableHostCallHandler: (handler: PortableServiceAppHostCallHandler | undefined) => void;
|
|
@@ -3905,7 +4265,7 @@ type ServiceAppRemovalDiagnostic = {
|
|
|
3905
4265
|
};
|
|
3906
4266
|
//#endregion
|
|
3907
4267
|
//#region src/utils/service-app-error.utils.d.ts
|
|
3908
|
-
type ServiceAppErrorCode = "AUTHORIZATION_REQUIRED" | "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";
|
|
4268
|
+
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";
|
|
3909
4269
|
declare class ServiceAppError extends Error {
|
|
3910
4270
|
readonly code: ServiceAppErrorCode;
|
|
3911
4271
|
readonly details?: Record<string, unknown> | undefined;
|
|
@@ -3946,6 +4306,7 @@ declare class ServiceAppManager {
|
|
|
3946
4306
|
configManager: ConfigManager;
|
|
3947
4307
|
runtimeService?: ServiceAppRuntime;
|
|
3948
4308
|
listPackageComponentSources?: () => Promise<AppPackageComponentSource[]>;
|
|
4309
|
+
assertDocumentAccess?: (appId: string, scopeId: string, mode: "read" | "read-write") => Promise<void>;
|
|
3949
4310
|
capabilityGrantManager: CapabilityGrantManager;
|
|
3950
4311
|
hasAgent?: (agentId: string) => boolean;
|
|
3951
4312
|
providerManager?: LlmProviderRuntime;
|
|
@@ -3979,6 +4340,7 @@ declare class ServiceAppManager {
|
|
|
3979
4340
|
* This is deliberately separate from source-tree `nextclaw app call`.
|
|
3980
4341
|
*/
|
|
3981
4342
|
invokeInstalledServiceAction: (appId: string, actionName: string, input?: Record<string, unknown>) => Promise<ServiceActionInvokeResult>;
|
|
4343
|
+
private assertDocumentInputAccess;
|
|
3982
4344
|
listVerificationRecords: (filters?: {
|
|
3983
4345
|
acceptanceId?: string;
|
|
3984
4346
|
appId?: string;
|
|
@@ -4337,6 +4699,8 @@ declare class NextclawKernel {
|
|
|
4337
4699
|
readonly panelAppManager: PanelAppManager;
|
|
4338
4700
|
readonly preferenceManager: PreferenceManager;
|
|
4339
4701
|
readonly projectManager: ProjectManager;
|
|
4702
|
+
readonly projectObservation: ProjectObservationService;
|
|
4703
|
+
readonly projectWorkManager: ProjectWorkManager;
|
|
4340
4704
|
readonly serviceAppManager: ServiceAppManager;
|
|
4341
4705
|
readonly extensions: ExtensionManager;
|
|
4342
4706
|
readonly agentRuntimeManager: AgentRuntimeManager;
|
|
@@ -5023,7 +5387,6 @@ type NextclawNcpResolvedRunContext = {
|
|
|
5023
5387
|
effectiveWorkspace: string;
|
|
5024
5388
|
profile: NextclawNcpResolvedAgentProfile;
|
|
5025
5389
|
requestMetadata: Record<string, unknown>;
|
|
5026
|
-
requestedSkills: ReturnType<RequestedSkillsMetadataReader["readSelection"]>;
|
|
5027
5390
|
requestedToolNames: string[];
|
|
5028
5391
|
runtimeThinking: ReturnType<typeof resolveThinkingLevel>;
|
|
5029
5392
|
sessionKey: string;
|
|
@@ -5065,5 +5428,5 @@ declare function resolveLegacyEventType(message: SessionMessage): string;
|
|
|
5065
5428
|
declare function getUiContentParamsBootstrapScript(): string;
|
|
5066
5429
|
declare function injectUiContentParamsBootstrap(html: string): string;
|
|
5067
5430
|
//#endregion
|
|
5068
|
-
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, 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_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, 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, 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, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectRecord, ProjectTemplate, ProjectTemplateId, 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, 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, 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, serializeContextTail, serializeUnsignedUpdateManifest, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, waitForAgentRuntimeSessionReply };
|
|
5431
|
+
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_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, ObservedActivity, ObservedArtifact, ObservedArtifactCategory, ObservedProjectContext, ObservedProjectContextReference, ObservedProjectRun, ObservedRequest, ObservedSignal, ObservedSkill, ObservedWorkItem, ObservedWorkItemSchedule, ObservedWorkflow, ObservedWorkflowStage, 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_OBSERVATION_PROTOCOL, 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, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectObservationDataQuality, ProjectObservationDiagnostic, ProjectObservationError, ProjectObservationEvidenceKind, ProjectObservationReference, ProjectObservationService, ProjectObservationSnapshot, ProjectObservationSourceStatus, ProjectRecord, ProjectSessionBinding, ProjectTemplate, ProjectTemplateId, ProjectWorkActivity, ProjectWorkActivityPage, ProjectWorkActivityType, ProjectWorkActor, ProjectWorkArtifactLink, ProjectWorkAttention, ProjectWorkError, ProjectWorkErrorCode, ProjectWorkItem, ProjectWorkItemDetail, ProjectWorkList, 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, isProjectObservationError, 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, serializeContextTail, serializeUnsignedUpdateManifest, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, waitForAgentRuntimeSessionReply };
|
|
5069
5432
|
//# sourceMappingURL=index.d.ts.map
|