@nextclaw/kernel 0.14.0 → 0.15.0-beta.0

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 CHANGED
@@ -1,7 +1,7 @@
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, RequestedSkillsMetadataReader, SearchConfig, SessionMessage, SessionRequestDispatcher, SessionRequestRecord, SessionRequestSourceNotifier, SessionRequestToolResult, SessionSearchService, SkillInfo, SkillInfo as SkillInfo$1, SkillScope, SpawnSessionAndRequestParams, ThinkingLevel, UpdateAgentProfileInput, buildCompressingCompactionCheckpoint, resolveThinkingLevel } 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, 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";
@@ -679,7 +679,7 @@ declare class NcpAgentSessionJournalStore {
679
679
  private sessionPath;
680
680
  }
681
681
  //#endregion
682
- //#region src/types/project.types.d.ts
682
+ //#region src/features/projects/types/project.types.d.ts
683
683
  declare const PROJECT_TEMPLATE_IDS: readonly ["empty", "knowledge-base"];
684
684
  type ProjectTemplateId = (typeof PROJECT_TEMPLATE_IDS)[number];
685
685
  type ProjectTemplate = {
@@ -688,6 +688,7 @@ type ProjectTemplate = {
688
688
  description: string;
689
689
  };
690
690
  type ProjectRecord = {
691
+ id: string;
691
692
  name: string;
692
693
  rootPath: string;
693
694
  template?: ProjectTemplateId;
@@ -700,7 +701,7 @@ type CreateProjectInput = {
700
701
  template?: ProjectTemplateId;
701
702
  };
702
703
  //#endregion
703
- //#region src/managers/project.manager.d.ts
704
+ //#region src/features/projects/managers/project.manager.d.ts
704
705
  type ProjectManagerOptions = {
705
706
  storePath: string;
706
707
  getDefaultWorkspacePath: () => string;
@@ -716,6 +717,9 @@ declare class ProjectManager {
716
717
  private readonly store;
717
718
  constructor(options: ProjectManagerOptions);
718
719
  listProjects: () => Promise<ProjectRecord[]>;
720
+ migrateLegacyProjects: () => Promise<boolean>;
721
+ getProjectById: (projectId: string) => Promise<ProjectRecord | null>;
722
+ getRegisteredProject: (rootPath: unknown) => Promise<ProjectRecord | null>;
719
723
  listTemplates: () => ProjectTemplate[];
720
724
  createProject: (input: CreateProjectInput) => Promise<ProjectRecord>;
721
725
  registerExistingProject: (rootPath: unknown, name?: string) => Promise<ProjectRecord | null>;
@@ -734,6 +738,185 @@ declare class ProjectManager {
734
738
  private isMissingFileError;
735
739
  }
736
740
  //#endregion
741
+ //#region src/features/projects/types/project-observation.types.d.ts
742
+ declare const PROJECT_OBSERVATION_PROTOCOL: "nextclaw.project/v1";
743
+ type ProjectObservationDataQuality = "complete" | "partial" | "unavailable";
744
+ type ProjectObservationEvidenceKind = "project-config" | "file-observation" | "ai-report" | "system-record";
745
+ type ProjectObservationReference = {
746
+ kind: ProjectObservationEvidenceKind;
747
+ label: string;
748
+ observedAt: string;
749
+ projectRelativePath?: string;
750
+ sessionId?: string;
751
+ messageId?: string;
752
+ };
753
+ type ProjectObservationDiagnostic = {
754
+ id: string;
755
+ source: "config" | "files" | "sessions" | "skills";
756
+ level: "info" | "warning" | "error";
757
+ code: string;
758
+ message: string;
759
+ projectRelativePath?: string;
760
+ sessionId?: string;
761
+ messageId?: string;
762
+ };
763
+ type ProjectObservationSourceStatus = {
764
+ id: "config" | "files" | "sessions" | "skills";
765
+ label: string;
766
+ status: "available" | "empty" | "error";
767
+ itemCount: number;
768
+ observedAt: string;
769
+ diagnosticIds: string[];
770
+ };
771
+ type ObservedProjectContextReference = {
772
+ id: string;
773
+ role: string;
774
+ source: string;
775
+ accessible: boolean;
776
+ reference: ProjectObservationReference;
777
+ };
778
+ type ObservedProjectContext = {
779
+ name: string;
780
+ rootPath: string;
781
+ summary?: string;
782
+ context: ObservedProjectContextReference[];
783
+ };
784
+ type ObservedWorkflowStage = {
785
+ id: string;
786
+ label: string;
787
+ };
788
+ type ObservedWorkflow = {
789
+ id: string;
790
+ label: string;
791
+ stages: ObservedWorkflowStage[];
792
+ reference: ProjectObservationReference;
793
+ };
794
+ type ObservedWorkItemSchedule = {
795
+ start?: string;
796
+ end?: string;
797
+ milestone: boolean;
798
+ dependsOn: string[];
799
+ };
800
+ type ObservedWorkItem = {
801
+ id: string;
802
+ name: string;
803
+ status: "active" | "blocked" | "completed" | "cancelled";
804
+ workflowId?: string;
805
+ stageId?: string;
806
+ schedule?: ObservedWorkItemSchedule;
807
+ updatedAt: string;
808
+ reference: ProjectObservationReference;
809
+ };
810
+ type ObservedProjectRun = {
811
+ sessionId: string;
812
+ state: "running" | "completed" | "failed" | "cancelled" | "idle";
813
+ updatedAt: string;
814
+ agentId?: string;
815
+ model?: string;
816
+ label?: string;
817
+ statusText?: string;
818
+ workItemId?: string;
819
+ reference: ProjectObservationReference;
820
+ };
821
+ type ObservedArtifact = {
822
+ id: string;
823
+ path: string;
824
+ categoryId: string;
825
+ categoryLabel: string;
826
+ exists: boolean;
827
+ itemId?: string;
828
+ size?: number;
829
+ fileCreatedAt?: string;
830
+ fileUpdatedAt?: string;
831
+ references: ProjectObservationReference[];
832
+ };
833
+ type ObservedArtifactCategory = {
834
+ id: string;
835
+ label: string;
836
+ };
837
+ type ObservedSignal = {
838
+ id: string;
839
+ itemId?: string;
840
+ status: "open" | "resolved";
841
+ level: "info" | "attention" | "warning";
842
+ message: string;
843
+ updatedAt: string;
844
+ reference: ProjectObservationReference;
845
+ };
846
+ type ObservedRequest = {
847
+ id: string;
848
+ itemId?: string;
849
+ status: "open" | "resolved" | "expired";
850
+ response: "confirm-reject" | "open-session";
851
+ prompt: string;
852
+ updatedAt: string;
853
+ reply?: {
854
+ decision: "confirmed" | "rejected";
855
+ sentAt: string;
856
+ messageId: string;
857
+ };
858
+ reference: ProjectObservationReference;
859
+ };
860
+ type ObservedActivity = {
861
+ id: string;
862
+ kind: "work-item" | "artifact" | "schedule" | "signal" | "request";
863
+ message: string;
864
+ at: string;
865
+ itemId?: string;
866
+ reference: ProjectObservationReference;
867
+ };
868
+ type ObservedSkill = {
869
+ ref: string;
870
+ name: string;
871
+ description?: string;
872
+ source: "project";
873
+ path: string;
874
+ readable: boolean;
875
+ reference: ProjectObservationReference;
876
+ };
877
+ type ProjectObservationSnapshot = {
878
+ asOf: string;
879
+ project: ObservedProjectContext;
880
+ sources: ProjectObservationSourceStatus[];
881
+ workflows: ObservedWorkflow[];
882
+ runs: ObservedProjectRun[];
883
+ workItems: ObservedWorkItem[];
884
+ artifactCategories: ObservedArtifactCategory[];
885
+ artifacts: ObservedArtifact[];
886
+ signals: ObservedSignal[];
887
+ requests: ObservedRequest[];
888
+ activity: ObservedActivity[];
889
+ skills: ObservedSkill[];
890
+ diagnostics: ProjectObservationDiagnostic[];
891
+ dataQuality: ProjectObservationDataQuality;
892
+ };
893
+ declare class ProjectObservationError extends Error {
894
+ readonly code: "PROJECT_NOT_REGISTERED" | "PROJECT_OBSERVATION_INVALID_ROOT";
895
+ constructor(code: "PROJECT_NOT_REGISTERED" | "PROJECT_OBSERVATION_INVALID_ROOT", message: string);
896
+ }
897
+ declare function isProjectObservationError(error: unknown): error is ProjectObservationError;
898
+ //#endregion
899
+ //#region src/features/projects/services/project-observation.service.d.ts
900
+ type ProjectObservationServiceOptions = {
901
+ projectManager: Pick<ProjectManager, "getRegisteredProject">;
902
+ sessionManager: Pick<SessionManager, "listSessions" | "listSessionMessages">;
903
+ workspacePath: string;
904
+ now?: () => Date;
905
+ };
906
+ declare class ProjectObservationService {
907
+ private readonly options;
908
+ private readonly now;
909
+ constructor(options: ProjectObservationServiceOptions);
910
+ observe: (rootPath: string) => Promise<ProjectObservationSnapshot>;
911
+ private readConfig;
912
+ private observeContext;
913
+ private observeArtifacts;
914
+ private observeSessions;
915
+ private addMarkerConflictDiagnostics;
916
+ private observeSkills;
917
+ private createSourceStatus;
918
+ }
919
+ //#endregion
737
920
  //#region src/services/session-event-coordinator.service.d.ts
738
921
  type PublishSessionEventParams = {
739
922
  sessionId: string;
@@ -2768,222 +2951,222 @@ type PortableRuntimeAcceptanceDefinition = {
2768
2951
  declare const PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT: readonly [{
2769
2952
  titleKey: string;
2770
2953
  descriptionKey: string;
2771
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2772
- scenarioVersion: string;
2773
2954
  id: "PRT-EXEC-001";
2774
2955
  checkerKey: string;
2775
2956
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2776
2957
  required: boolean;
2958
+ scenarioVersion: string;
2959
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2777
2960
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2778
2961
  }, {
2779
2962
  titleKey: string;
2780
2963
  descriptionKey: string;
2781
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2782
- scenarioVersion: string;
2783
2964
  id: "PRT-DATA-001";
2784
2965
  checkerKey: string;
2785
2966
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2786
2967
  required: boolean;
2968
+ scenarioVersion: string;
2969
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2787
2970
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2788
2971
  }, {
2789
2972
  titleKey: string;
2790
2973
  descriptionKey: string;
2791
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2792
- scenarioVersion: string;
2793
2974
  id: "PRT-FILE-001";
2794
2975
  checkerKey: string;
2795
2976
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2796
2977
  required: boolean;
2978
+ scenarioVersion: string;
2979
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2797
2980
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2798
2981
  }, {
2799
2982
  titleKey: string;
2800
2983
  descriptionKey: string;
2801
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2802
- scenarioVersion: string;
2803
2984
  id: "PRT-NET-001";
2804
2985
  checkerKey: string;
2805
2986
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2806
2987
  required: boolean;
2988
+ scenarioVersion: string;
2989
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2807
2990
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2808
2991
  }, {
2809
2992
  titleKey: string;
2810
2993
  descriptionKey: string;
2811
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2812
- scenarioVersion: string;
2813
2994
  id: "PRT-SECRET-001";
2814
2995
  checkerKey: string;
2815
2996
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2816
2997
  required: boolean;
2998
+ scenarioVersion: string;
2999
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2817
3000
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2818
3001
  }, {
2819
3002
  titleKey: string;
2820
3003
  descriptionKey: string;
2821
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2822
- scenarioVersion: string;
2823
3004
  id: "PRT-RES-001";
2824
3005
  checkerKey: string;
2825
3006
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2826
3007
  required: boolean;
3008
+ scenarioVersion: string;
3009
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2827
3010
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2828
3011
  }, {
2829
3012
  titleKey: string;
2830
3013
  descriptionKey: string;
2831
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2832
- scenarioVersion: string;
2833
3014
  id: "PRT-EVENT-001";
2834
3015
  checkerKey: string;
2835
3016
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2836
3017
  required: boolean;
3018
+ scenarioVersion: string;
3019
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2837
3020
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2838
3021
  }, {
2839
3022
  titleKey: string;
2840
3023
  descriptionKey: string;
2841
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2842
- scenarioVersion: string;
2843
3024
  id: "PRT-TASK-001";
2844
3025
  checkerKey: string;
2845
3026
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2846
3027
  required: boolean;
3028
+ scenarioVersion: string;
3029
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2847
3030
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2848
3031
  }, {
2849
3032
  titleKey: string;
2850
3033
  descriptionKey: string;
2851
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2852
- scenarioVersion: string;
2853
3034
  id: "PRT-STREAM-001";
2854
3035
  checkerKey: string;
2855
3036
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2856
3037
  required: boolean;
3038
+ scenarioVersion: string;
3039
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2857
3040
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2858
3041
  }, {
2859
3042
  titleKey: string;
2860
3043
  descriptionKey: string;
2861
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2862
- scenarioVersion: string;
2863
3044
  id: "PRT-AGENT-001";
2864
3045
  checkerKey: string;
2865
3046
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2866
3047
  required: boolean;
3048
+ scenarioVersion: string;
3049
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2867
3050
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2868
3051
  }, {
2869
3052
  titleKey: string;
2870
3053
  descriptionKey: string;
2871
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2872
- scenarioVersion: string;
2873
3054
  id: "PRT-AI-001";
2874
3055
  checkerKey: string;
2875
3056
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2876
3057
  required: boolean;
3058
+ scenarioVersion: string;
3059
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2877
3060
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2878
3061
  }, {
2879
3062
  titleKey: string;
2880
3063
  descriptionKey: string;
2881
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2882
- scenarioVersion: string;
2883
3064
  id: "PRT-COMP-001";
2884
3065
  checkerKey: string;
2885
3066
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2886
3067
  required: boolean;
3068
+ scenarioVersion: string;
3069
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2887
3070
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2888
3071
  }, {
2889
3072
  titleKey: string;
2890
3073
  descriptionKey: string;
2891
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2892
- scenarioVersion: string;
2893
3074
  id: "PRT-ENTRY-001";
2894
3075
  checkerKey: string;
2895
3076
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2896
3077
  required: boolean;
3078
+ scenarioVersion: string;
3079
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2897
3080
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2898
3081
  }, {
2899
3082
  titleKey: string;
2900
3083
  descriptionKey: string;
2901
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2902
- scenarioVersion: string;
2903
3084
  id: "PRT-LIFE-001";
2904
3085
  checkerKey: string;
2905
3086
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2906
3087
  required: boolean;
3088
+ scenarioVersion: string;
3089
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2907
3090
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2908
3091
  }, {
2909
3092
  titleKey: string;
2910
3093
  descriptionKey: string;
2911
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2912
- scenarioVersion: string;
2913
3094
  id: "PRT-BOUND-001";
2914
3095
  checkerKey: string;
2915
3096
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2916
3097
  required: boolean;
3098
+ scenarioVersion: string;
3099
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2917
3100
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2918
3101
  }, {
2919
3102
  titleKey: string;
2920
3103
  descriptionKey: string;
2921
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2922
- scenarioVersion: string;
2923
3104
  id: "PRT-PERF-001";
2924
3105
  checkerKey: string;
2925
3106
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2926
3107
  required: boolean;
3108
+ scenarioVersion: string;
3109
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2927
3110
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2928
3111
  }, {
2929
3112
  titleKey: string;
2930
3113
  descriptionKey: string;
2931
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2932
- scenarioVersion: string;
2933
3114
  id: "PRT-DX-001";
2934
3115
  checkerKey: string;
2935
3116
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2936
3117
  required: boolean;
3118
+ scenarioVersion: string;
3119
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2937
3120
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2938
3121
  }, {
2939
3122
  titleKey: string;
2940
3123
  descriptionKey: string;
2941
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2942
- scenarioVersion: string;
2943
3124
  id: "PRT-DIST-001";
2944
3125
  checkerKey: string;
2945
3126
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2946
3127
  required: boolean;
3128
+ scenarioVersion: string;
3129
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2947
3130
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2948
3131
  }, {
2949
3132
  titleKey: string;
2950
3133
  descriptionKey: string;
2951
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2952
- scenarioVersion: string;
2953
3134
  id: "PRT-EVID-001";
2954
3135
  checkerKey: string;
2955
3136
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2956
3137
  required: boolean;
3138
+ scenarioVersion: string;
3139
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2957
3140
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2958
3141
  }, {
2959
3142
  titleKey: string;
2960
3143
  descriptionKey: string;
2961
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2962
- scenarioVersion: string;
2963
3144
  id: "PRT-REF-001";
2964
3145
  checkerKey: string;
2965
3146
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2966
3147
  required: boolean;
3148
+ scenarioVersion: string;
3149
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2967
3150
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2968
3151
  }, {
2969
3152
  titleKey: string;
2970
3153
  descriptionKey: string;
2971
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2972
- scenarioVersion: string;
2973
3154
  id: "PRT-DOCS-001";
2974
3155
  checkerKey: string;
2975
3156
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2976
3157
  required: boolean;
3158
+ scenarioVersion: string;
3159
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2977
3160
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2978
3161
  }, {
2979
3162
  titleKey: string;
2980
3163
  descriptionKey: string;
2981
- evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2982
- scenarioVersion: string;
2983
3164
  id: "PRT-REL-001";
2984
3165
  checkerKey: string;
2985
3166
  category: "execution" | "capability" | "lifecycle" | "entry" | "quality" | "release";
2986
3167
  required: boolean;
3168
+ scenarioVersion: string;
3169
+ evidenceSource: PortableRuntimeAcceptanceEvidenceSource;
2987
3170
  platforms: readonly PortableRuntimeAcceptancePlatform[];
2988
3171
  }];
2989
3172
  type PortableRuntimeAcceptanceId = (typeof PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT)[number]["id"];
@@ -4337,6 +4520,7 @@ declare class NextclawKernel {
4337
4520
  readonly panelAppManager: PanelAppManager;
4338
4521
  readonly preferenceManager: PreferenceManager;
4339
4522
  readonly projectManager: ProjectManager;
4523
+ readonly projectObservation: ProjectObservationService;
4340
4524
  readonly serviceAppManager: ServiceAppManager;
4341
4525
  readonly extensions: ExtensionManager;
4342
4526
  readonly agentRuntimeManager: AgentRuntimeManager;
@@ -5023,7 +5207,6 @@ type NextclawNcpResolvedRunContext = {
5023
5207
  effectiveWorkspace: string;
5024
5208
  profile: NextclawNcpResolvedAgentProfile;
5025
5209
  requestMetadata: Record<string, unknown>;
5026
- requestedSkills: ReturnType<RequestedSkillsMetadataReader["readSelection"]>;
5027
5210
  requestedToolNames: string[];
5028
5211
  runtimeThinking: ReturnType<typeof resolveThinkingLevel>;
5029
5212
  sessionKey: string;
@@ -5065,5 +5248,5 @@ declare function resolveLegacyEventType(message: SessionMessage): string;
5065
5248
  declare function getUiContentParamsBootstrapScript(): string;
5066
5249
  declare function injectUiContentParamsBootstrap(html: string): string;
5067
5250
  //#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 };
5251
+ 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, 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, 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, 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, isProjectObservationError, 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
5252
  //# sourceMappingURL=index.d.ts.map