@nextclaw/kernel 0.19.5 → 0.19.7

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.
Files changed (22) hide show
  1. package/dist/app/worker/index.d.ts +1 -1
  2. package/dist/app/worker/index.js +2 -2
  3. package/dist/index.d.ts +2 -2
  4. package/dist/index.js +13 -7
  5. package/dist/index.js.map +1 -1
  6. package/dist/{ncp-agent-session-journal-entry.utils-Dh0Ck_oW.js → ncp-agent-session-journal-entry.utils-oYJG8jpX.js} +2 -2
  7. package/dist/{ncp-agent-session-journal-entry.utils-Dh0Ck_oW.js.map → ncp-agent-session-journal-entry.utils-oYJG8jpX.js.map} +1 -1
  8. package/dist/{ncp-agent-session-journal.utils-B7a_PKCq.js → ncp-agent-session-journal.utils-CkymaYrF.js} +15 -11
  9. package/dist/ncp-agent-session-journal.utils-CkymaYrF.js.map +1 -0
  10. package/dist/{ncp-agent-session-message-projection-tail.store-5sjmoFxv.js → ncp-agent-session-message-projection-tail.store-_7hsonM_.js} +3 -3
  11. package/dist/{ncp-agent-session-message-projection-tail.store-5sjmoFxv.js.map → ncp-agent-session-message-projection-tail.store-_7hsonM_.js.map} +1 -1
  12. package/dist/{nextclaw-harness.manager-mJToWeCB.js → nextclaw-harness.manager-Bv3YnpO5.js} +158 -37
  13. package/dist/nextclaw-harness.manager-Bv3YnpO5.js.map +1 -0
  14. package/dist/{nextclaw-harness.manager-j0JHST4g.d.ts → nextclaw-harness.manager-DXaastB0.d.ts} +19 -6
  15. package/dist/nextclaw-harness.manager-DXaastB0.d.ts.map +1 -0
  16. package/dist/{session-journal-maintenance.store-CImhMMBv.js → session-journal-maintenance.store-BQmO1EKq.js} +6 -5
  17. package/dist/session-journal-maintenance.store-BQmO1EKq.js.map +1 -0
  18. package/package.json +8 -8
  19. package/dist/ncp-agent-session-journal.utils-B7a_PKCq.js.map +0 -1
  20. package/dist/nextclaw-harness.manager-j0JHST4g.d.ts.map +0 -1
  21. package/dist/nextclaw-harness.manager-mJToWeCB.js.map +0 -1
  22. package/dist/session-journal-maintenance.store-CImhMMBv.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { $ as renderSystemExecutionPolicy, $c as ContextProviderRequest, A as ProviderCatalogPlugin, C as NextclawRunStatus, D as NextclawTaskResult, E as NextclawTaskInput, Fd as createNcpAgentSessionSummary, Fn as Contribution, G as appendCurrentTimeContextTail, Hc as createQuestionResolutionMessage, Id as SessionEventReplayer, J as createShowContentTools, K as serializeModelInputTail, Ld as AgentManager, M as AgentKernelModule, Md as UnfinishedNcpAgentRun, N as AgentKernelResources, Nd as applyNcpAgentRunLifecycleEvent, O as NextclawUserQuestion, P as AgentPlatform, Pd as NcpAgentSessionJournalReplayEvent, Q as renderAgentSafetyContext, Qc as ContextProvider, Rd as AgentProfilePersistence, S as NextclawHarnessResources, T as NextclawSessionRunInput, Uc as projectUserQuestions, Vc as createQuestionMessage, X as renderAgentBootstrapContext, Xc as AgentRuntimeSessionTypeCatalog, Y as BootstrapContextInput, Yl as CompactionSummaryProvider, Z as truncateContextText, Zc as ContextBlock, _ as NextclawAgentDefinition, _d as SessionMessagePage, a as INextclawAgentSessions, aa as createWorkspaceByteTools, al as IToolRegistry, at as SqliteDatabase, b as NextclawHarnessErrorCode, bu as SessionManager, c as INextclawRun, ca as WorkspaceEntry, d as LLMResponse, da as WorkspaceWrite, du as AgentRuntimeEntry, el as IContextRegistry, f as LLMStreamEvent, fu as AgentRuntimeProviderRegistration, g as McpToolCatalogEntry, gd as SessionMessageCursorError, h as McpServerRecord, hu as AgentRuntimeSessionTypeOption, i as INextclawAgentRegistry, il as IRuntimeRegistry, it as SessionMessageSqlProjectionStore, j as ProviderSpec, k as NextclawUserQuestionReply, l as INextclawSession, la as WorkspaceList, m as McpServerDefinition, n as Disposer, nl as IMcpRegistry, nt as sessionJsonChunks, o as INextclawContributionRegistry, ol as McpToolCallInput, p as McpCatalogFilter, pd as SessionHistoryPreparation, pu as AgentRuntimeSessionTypeDescribeParams, q as composeAgentToolCatalog, r as INextclawAgent, rl as IModelRegistry, rt as SessionMessagePreparationStore, s as INextclawHarness, sa as WorkspaceByteStore, sl as ModelChatInput, t as NextclawHarness, tl as IKernel, u as INextclawSessionRegistry, ua as WorkspaceRead, v as NextclawContributionDescriptor, vd as SessionMessagePart, w as NextclawSessionCreateInput, x as NextclawHarnessOptions, xd as SessionPersistence, xu as SessionManagerOptions, y as NextclawHarnessError } from "../../nextclaw-harness.manager-j0JHST4g.js";
1
+ import { $ as renderSystemExecutionPolicy, $c as ContextProviderRequest, A as ProviderCatalogPlugin, C as NextclawRunStatus, D as NextclawTaskResult, E as NextclawTaskInput, Fd as NcpAgentSessionJournalReplayEvent, Fn as Contribution, G as appendCurrentTimeContextTail, Hc as createQuestionResolutionMessage, Id as createNcpAgentSessionSummary, J as createShowContentTools, K as serializeModelInputTail, Ld as SessionEventReplayer, M as AgentKernelModule, N as AgentKernelResources, Nd as UnfinishedNcpAgentRun, O as NextclawUserQuestion, P as AgentPlatform, Pd as applyNcpAgentRunLifecycleEvent, Q as renderAgentSafetyContext, Qc as ContextProvider, Rd as AgentManager, S as NextclawHarnessResources, Sd as SessionPersistence, Su as SessionManagerOptions, T as NextclawSessionRunInput, Uc as projectUserQuestions, Vc as createQuestionMessage, X as renderAgentBootstrapContext, Xc as AgentRuntimeSessionTypeCatalog, Xl as CompactionSummaryProvider, Y as BootstrapContextInput, Z as truncateContextText, Zc as ContextBlock, _ as NextclawAgentDefinition, _d as SessionMessageCursorError, a as INextclawAgentSessions, aa as createWorkspaceByteTools, al as IToolRegistry, at as SqliteDatabase, b as NextclawHarnessErrorCode, c as INextclawRun, ca as WorkspaceEntry, d as LLMResponse, da as WorkspaceWrite, el as IContextRegistry, f as LLMStreamEvent, fu as AgentRuntimeEntry, g as McpToolCatalogEntry, gu as AgentRuntimeSessionTypeOption, h as McpServerRecord, i as INextclawAgentRegistry, il as IRuntimeRegistry, it as SessionMessageSqlProjectionStore, j as ProviderSpec, k as NextclawUserQuestionReply, l as INextclawSession, la as WorkspaceList, m as McpServerDefinition, md as SessionHistoryPreparation, mu as AgentRuntimeSessionTypeDescribeParams, n as Disposer, nl as IMcpRegistry, nt as sessionJsonChunks, o as INextclawContributionRegistry, ol as McpToolCallInput, p as McpCatalogFilter, pu as AgentRuntimeProviderRegistration, q as composeAgentToolCatalog, r as INextclawAgent, rl as IModelRegistry, rt as SessionMessagePreparationStore, s as INextclawHarness, sa as WorkspaceByteStore, sl as ModelChatInput, t as NextclawHarness, tl as IKernel, u as INextclawSessionRegistry, ua as WorkspaceRead, v as NextclawContributionDescriptor, vd as SessionMessagePage, w as NextclawSessionCreateInput, x as NextclawHarnessOptions, xu as SessionManager, y as NextclawHarnessError, yd as SessionMessagePart, zd as AgentProfilePersistence } from "../../nextclaw-harness.manager-DXaastB0.js";
2
2
  import { AppEventEmitOptions, AppEventEnvelope, AppEventHandler, AppEventKey, EventBus, EventBusOptions, Ingress, IngressContext, IngressEnvelope, IngressHandler, Key, TypedKey, Unsubscribe, createTypedKey, eventKeys, ingressKeys } from "@nextclaw/shared";
3
3
  import { NcpEndpointEvent, NcpMessage, NcpTool } from "@nextclaw/ncp";
4
4
  export { type AgentKernelModule, type AgentKernelResources, AgentManager, type AgentPlatform, type AgentProfilePersistence, type AgentRuntimeEntry, type AgentRuntimeProviderRegistration, type AgentRuntimeSessionTypeCatalog, type AgentRuntimeSessionTypeDescribeParams, type AgentRuntimeSessionTypeOption, type AppEventEmitOptions, type AppEventEnvelope, type AppEventHandler, type AppEventKey, type BootstrapContextInput, type CompactionSummaryProvider, type ContextBlock, type ContextProvider, type ContextProviderRequest, Contribution, type Disposer, EventBus, type EventBusOptions, 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, Ingress, type IngressContext, type IngressEnvelope, type IngressHandler, type Key, type LLMResponse, type LLMStreamEvent, type McpCatalogFilter, type McpServerDefinition, type McpServerRecord, type McpToolCallInput, type McpToolCatalogEntry, type ModelChatInput, type NcpAgentSessionJournalReplayEvent, type NcpEndpointEvent, type NcpMessage, type NcpTool, type NextclawAgentDefinition, type NextclawContributionDescriptor, NextclawHarness, NextclawHarnessError, type NextclawHarnessErrorCode, type NextclawHarnessOptions, type NextclawHarnessResources, type NextclawRunStatus, type NextclawSessionCreateInput, type NextclawSessionRunInput, type NextclawTaskInput, type NextclawTaskResult, type NextclawUserQuestion, type NextclawUserQuestionReply, type ProviderCatalogPlugin, type ProviderSpec, SessionEventReplayer, type SessionHistoryPreparation, SessionManager, type SessionManagerOptions, SessionMessageCursorError, type SessionMessagePage, type SessionMessagePart, SessionMessagePreparationStore, SessionMessageSqlProjectionStore, type SessionPersistence, type SqliteDatabase, type TypedKey, type UnfinishedNcpAgentRun, type Unsubscribe, WorkspaceByteStore, WorkspaceEntry, WorkspaceList, WorkspaceRead, WorkspaceWrite, appendCurrentTimeContextTail, applyNcpAgentRunLifecycleEvent, composeAgentToolCatalog, createNcpAgentSessionSummary, createQuestionMessage, createQuestionResolutionMessage, createShowContentTools, createTypedKey, createWorkspaceByteTools, eventKeys, ingressKeys, projectUserQuestions, renderAgentBootstrapContext, renderAgentSafetyContext, renderSystemExecutionPolicy, serializeModelInputTail, sessionJsonChunks, truncateContextText };
@@ -1,4 +1,4 @@
1
- import { K as appendCurrentTimeContextTail, L as renderAgentBootstrapContext, N as renderAgentSafetyContext, P as renderSystemExecutionPolicy, Q as SessionMessageSqlProjectionStore, R as truncateContextText, S as AgentManager, Z as SessionMessagePreparationStore, _ as createQuestionMessage, at as applyNcpAgentRunLifecycleEvent, b as SessionManager, c as Contribution, et as sessionJsonChunks, l as NextclawHarnessError, q as serializeModelInputTail, t as NextclawHarness, tt as SessionMessageCursorError, v as createQuestionResolutionMessage, w as createShowContentTools, x as createWorkspaceByteTools, y as projectUserQuestions } from "../../nextclaw-harness.manager-mJToWeCB.js";
2
- import { Z as composeAgentToolCatalog, m as SessionEventReplayer, s as createNcpAgentSessionSummary } from "../../ncp-agent-session-journal.utils-B7a_PKCq.js";
1
+ import { K as appendCurrentTimeContextTail, L as renderAgentBootstrapContext, N as renderAgentSafetyContext, P as renderSystemExecutionPolicy, Q as SessionMessageSqlProjectionStore, R as truncateContextText, S as AgentManager, Z as SessionMessagePreparationStore, _ as createQuestionMessage, at as applyNcpAgentRunLifecycleEvent, b as SessionManager, c as Contribution, et as sessionJsonChunks, l as NextclawHarnessError, q as serializeModelInputTail, t as NextclawHarness, tt as SessionMessageCursorError, v as createQuestionResolutionMessage, w as createShowContentTools, x as createWorkspaceByteTools, y as projectUserQuestions } from "../../nextclaw-harness.manager-Bv3YnpO5.js";
2
+ import { Z as composeAgentToolCatalog, m as SessionEventReplayer, s as createNcpAgentSessionSummary } from "../../ncp-agent-session-journal.utils-CkymaYrF.js";
3
3
  import { EventBus, Ingress, createTypedKey, eventKeys, ingressKeys } from "@nextclaw/shared";
4
4
  export { AgentManager, Contribution, EventBus, Ingress, NextclawHarness, NextclawHarnessError, SessionEventReplayer, SessionManager, SessionMessageCursorError, SessionMessagePreparationStore, SessionMessageSqlProjectionStore, appendCurrentTimeContextTail, applyNcpAgentRunLifecycleEvent, composeAgentToolCatalog, createNcpAgentSessionSummary, createQuestionMessage, createQuestionResolutionMessage, createShowContentTools, createTypedKey, createWorkspaceByteTools, eventKeys, ingressKeys, projectUserQuestions, renderAgentBootstrapContext, renderAgentSafetyContext, renderSystemExecutionPolicy, serializeModelInputTail, sessionJsonChunks, truncateContextText };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as renderSystemExecutionPolicy, $a as PanelAppAgentGenerateObjectInput, $c as ContextProviderRequest, $i as InboxDeliveryError, $l as ProductActivitySink, $n as NARP_HTTP_RUNTIME_KIND, $o as AppPackageDependencyBindingInput, $r as PortableRuntimeAcceptanceEvidenceSource, $s as ServiceAppManifest, $t as PortableRuntimeAcceptanceManager, $u as ProjectManager, A as ProviderCatalogPlugin, Aa as DESKTOP_HOST_PROTOCOL_VERSION, Ac as dispatchAgentRuntimeSessionRequest, Ad as SessionQueuedInput, Ai as LlmUsageStoreOptions, Al as NEXTCLAW_TIMELINE_KIND_METADATA_KEY, An as TypedKey, Ao as CapabilityGrantFilter, Ar as VerificationRecordService, As as ServiceActionCaller, At as ObservationCapabilityDescriptor, Au as CreateProjectWorkStateInput, B as LocalizedTextMap, Ba as DesktopHostRequest, Bc as UserQuestionView, Bi as SessionContextCompactionErrorCode, Bl as readContextWindowEventSessionId, Bn as dispatchPromptOverNcpResult, Bo as AppDataLifecycle, Br as VerificationEvidenceRecord, Bs as ServiceAppCapabilityProvision, Bt as DEFAULT_SERVICE_ACTION_RISK, Bu as ProjectWorkAttention, C as NextclawRunStatus, Ca as DesktopNodeReplService, Cc as AccessSessionState, Cd as SessionSettingsPatch, Ci as PanelAppManager, Cl as CONTEXT_COMPACTION_PROJECTION_KIND, Cn as IngressContext, Co as CapabilityGrantStore, Cr as ServiceAppDeleteResult, Cs as AppPackageUninstallRollback, Ct as ContextBinding, Cu as ProjectWorkErrorCode, D as NextclawTaskResult, Da as UnavailableDesktopHost, Dc as buildSessionRequestCompletionMessage, Dd as isSessionMessageCursorError, Di as LlmUsageManagerOptions, Dl as CONTEXT_COMPACTION_TIMELINE_KIND, Dn as NcpEndpointEvent, Do as CapabilityGrantRevocationListener, Dr as ServiceAppErrorCode, Ds as AgentServiceActionCaller, Dt as EventSubscriptionBudget, Du as ProjectSkillMaterial, E as NextclawTaskInput, Ea as DesktopHostEventListener, Ec as AgentRuntimeSessionRequestDispatcherOptions, Ed as SessionTokenUsageTotals, Ei as LlmUsageManager, El as CONTEXT_COMPACTION_SYSTEM_PREAMBLE, En as Key, Eo as CapabilityGrantManager, Er as ServiceAppError, Es as isAppPackageError, Et as EventSubscription, Eu as ProjectAgreementMaterial, F as NextclawKernel, Fa as DesktopHostCaller, Fc as UserQuestionManager, Fd as createNcpAgentSessionSummary, Fi as createLlmUsageRecord, Fl as isContextCompactionProjectionMessage, Fn as Contribution, Fo as AppDataDeleteResult, Fr as PortableRuntimeAcceptanceResultStatus, Fs as ServiceActionInvokeRequest, Ft as ObservationRelationshipStatus, Fu as ProjectWorkActivity, G as appendCurrentTimeContextTail, Ga as createPanelAppClientGrantRequest, Gc as AgentRunReply, Gi as SystemObjectReferenceErrorCode, Gl as ContextCompactionPreflightBeginResult, Gn as resolveChannelReplyRoute, Go as AppDocumentGrantMutationResult, Gr as VerificationRecordList, Gs as ServiceAppJobEvent, Gt as SERVICE_APP_MANIFEST_FILE_NAME, Gu as ProjectWorkListInput, H as buildLocalizedTextMap, Ha as DesktopHostStatus, Hc as createQuestionResolutionMessage, Hi as SessionContextCompactionResult, Hl as shouldRefreshContextWindowDuringStream, Hn as ChannelReplyRouterDispatchParams, Ho as AppDataSource, Hr as VerificationRecordEntrySurface, Hs as ServiceAppExternalRemediation, Ht as getServiceActionName, Hu as ProjectWorkItemDetail, I as NextclawKernelOptions, Ia as DesktopHostCapabilityDeclaration, Ic as UserQuestionReplyResolution, Id as SessionEventReplayer, Ii as hasLlmUsageTelemetry, Il as isContextCompactionTimelineMessage, In as DirectPromptDispatchExecution, Io as AppDataDiagnostic, Ir as evaluatePortableRuntimeAcceptance, Is as ServiceActionInvokeResult, It as ObservationState, Iu as ProjectWorkActivityPage, J as createShowContentTools, Ja as createServiceAppModelSlotGrantRequest, Jc as NodePlatform, Ji as SystemObjectReferenceSnapshotSource, Jl as ContextCompactionTrigger, Jn as runGatewayInboundLoop, Jo as AppPackageComponentSource, Jr as VerificationRecordStatus, Js as ServiceAppJobStatus, Jt as readServiceAppManifest, Ju as ProjectWorkSummary, K as serializeModelInputTail, Ka as createServiceActionGrantRequest, Kc as AgentRunReplyOptions, Ki as SystemObjectReferenceManager, Kl as ContextCompactionPreflightResult, Kn as GatewayInboundLoopRuntime, Ko as AppInstalledPermissionState, Kr as VerificationRecordObservation, Ks as ServiceAppJobList, Kt as getServiceAppManifestPath, Ku as ProjectWorkState, L as ExtensionLoadProgress, La as DesktopHostEvent, Lc as UserQuestionResolution, Ld as AgentManager, Li as normalizeLlmUsageModel, Ll as isContextWindowSnapshot, Ln as DirectPromptDispatchParams, Lo as AppDataEntry, Lr as evaluatePortableRuntimeAcceptanceArtifact, Ls as ServiceActionRisk, Lt as ObservationTarget, Lu as ProjectWorkActivityType, M as AgentKernelModule, Ma as DesktopCapabilityError, Mc as SessionRequestManager, Md as UnfinishedNcpAgentRun, Mi as LlmUsageSnapshot, Ml as buildContextCompactionTimelineNcpMessage, Mn as createTypedKey, Mo as CapabilityGrantResource, Mr as PortableRuntimeAcceptanceEvidence, Ms as ServiceActionGrantRequest, Mt as ObservationEvent, Mu as PROJECT_WORK_STATE_CATEGORIES, N as AgentKernelResources, Na as DesktopCapabilityErrorCode, Nc as SessionRequestManagerOptions, Nd as applyNcpAgentRunLifecycleEvent, Ni as LlmUsageSummary, Nl as createContextCompactionMessageId, Nn as eventKeys, No as CapabilityGrantSubject, Nr as PortableRuntimeAcceptanceEvidenceArtifact, Ns as ServiceActionGrantState, Nt as ObservationExtensionRuntime, Nu as ProjectRecentArtifact, O as NextclawUserQuestion, Oa as createDesktopHostError, Oc as createAgentRuntimeSessionRequestDispatcher, Od as isSessionSettingsError, Oi as LlmUsageStats, Ol as ContextCompactionModelProjection, On as NcpMessage, Oo as CapabilityGrant, Or as isServiceAppError, Os as PanelServiceActionCaller, Ot as JsonPointer, Ou as ProjectWorkManager, P as AgentPlatform, Pa as DesktopHostAccess, Pc as UserQuestionError, Pd as NcpAgentSessionJournalReplayEvent, Pi as buildLlmUsageSummary, Pl as createContextWindowSignature, Pn as ingressKeys, Po as AppDataManager, Pr as PortableRuntimeAcceptanceResult, Ps as ServiceActionInvocationFacts, Pt as ObservationRef, Pu as ProjectRecentArtifactPage, Q as renderAgentSafetyContext, Qa as PanelAppAgentCapability, Qc as ContextProvider, Qi as CreateInboxDeliveryInput, Ql as ProductActivitySignal, Qn as BuiltinNarpRuntimeProviderService, Qo as AppPackageDependencyBinding, Qr as PortableRuntimeAcceptanceDefinition, Qs as ServiceAppLifecycle, Qt as PortableRuntimeAcceptanceDefinitionView, Qu as ProjectErrorCode, R as ExtensionLoadResult, Ra as DesktopHostManifest, Rc as USER_QUESTION_EXTENSION_TYPE, Rd as AgentProfilePersistence, Ri as sanitizeLlmUsage, Rl as readContextCompactionCheckpoint, Rn as DirectPromptDispatchResult, Ro as AppDataError, Rr as parsePortableRuntimeAcceptanceEvidenceArtifact, Rs as ServiceActionRuntimeState, Rt as SubscribeEventsInput, Ru as ProjectWorkActor, S as NextclawHarnessResources, Sa as DesktopSnapshotOptions, Sc as AccessSessionRecord, Sd as SessionSettingsError, Si as PreferenceJsonValue, Sl as CONTEXT_COMPACTION_PART_START, Sn as Ingress, So as normalizeCapabilityGrantRequest, Sr as NcpAgentSessionJournalStore, Ss as AppPackageUnavailableDiagnostic, St as BuildContextTailInput, Su as ProjectWorkError, T as NextclawSessionRunInput, Ta as DesktopHost, Tc as NextclawApplicationOptions, Td as SessionTokenUsageSummary, Ti as McpManager, Tl as CONTEXT_COMPACTION_RECOVERY_PREAMBLE, Tn as IngressHandler, To as CapabilityGrantListener, Tr as ServiceAppManager, Ts as CapabilityProviderView, Tt as EventDelivery, Tu as ProjectMaterialService, U as parseSkillFrontmatter, Ua as ResolvedDesktopApplicationTarget, Uc as projectUserQuestions, Ui as isSessionContextCompactionError, Ul as shouldRefreshContextWindowImmediately, Un as dispatchChannelReplyRoute, Uo as isAppDataError, Ur as VerificationRecordError, Us as ServiceAppJobCaller, Ut as listServiceAppManifestActions, Uu as ProjectWorkItemListEntry, V as SkillFrontmatter, Va as DesktopHostResponse, Vc as createQuestionMessage, Vi as SessionContextCompactionManager, Vl as readLatestContextCompactionCheckpoint, Vn as startPromptOverNcpExecution, Vo as AppDataList, Vr as VerificationRecord, Vs as ServiceAppCapabilityRequirement, Vt as buildServiceActionId, Vu as ProjectWorkItem, W as stripSkillFrontmatter, Wa as createPanelAppAgentGrantRequest, Wc as AgentRunClient, Wi as SystemObjectReferenceError, Wl as CompactionProfileResolver, Wn as isReplyCapableChannel, Wo as AppPackageManager, Wr as VerificationRecordInput, Ws as ServiceAppJobChunkEvent, Wt as mergeServiceAppRuntimeActions, Wu as ProjectWorkItemPage, X as renderAgentBootstrapContext, Xa as readServiceAppSlotTarget, Xc as AgentRuntimeSessionTypeCatalog, Xi as createInboxDeliverySystemObjectProvider, Xl as ContextCompactionJournalRecoveryService, Xn as BuildAgentRunSendPayloadParams, Xo as AppPackageComponentView, Xr as PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, Xs as ServiceAppJobView, Xt as PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, Xu as UpdateProjectWorkStateInput, Y as BootstrapContextInput, Ya as readServiceActionTargetId, Yc as NodePlatformOptions, Yi as createCronJobSystemObjectProvider, Yl as CompactionSummaryProvider, Yn as AssetApi, Yo as AppPackageComponentSourceList, Yr as PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, Ys as ServiceAppJobTerminalEvent, Yt as CommandRegistry, Yu as UpdateProjectWorkItemInput, Z as truncateContextText, Za as PANEL_APP_AGENT_CAPABILITIES, Zc as ContextBlock, Zi as isSystemObjectReferenceError, Zl as ProductActivityKind, Zn as buildAgentRunSendPayload, Zo as AppPackageConflict, Zr as PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, Zs as ServiceAppJobWatch, Zt as PortableRuntimeAcceptanceContractView, Zu as ProjectError, _ as NextclawAgentDefinition, _a as SkillInfo, _c as AccessManagerOptions, _d as SessionMessagePage, _i as PreferenceErrorCode, _l as NextclawNcpRunContextResolveParams, _n as AppEventEnvelope, _o as isPanelAppError, _r as assertSessionJournalTailComplete, _s as AppPackageReadinessStatus, _t as readJsonPointer, _u as describeAgentRuntimeSessionTypes, a as INextclawAgentSessions, aa as createWorkspaceByteTools, ac as ServiceAppRequirements, ad as ProjectSessionBinding, ai as ServiceAppResidentEventInboxService, al as IToolRegistry, an as PortableRuntimeAcceptanceIdentityService, ao as PanelAppAgentSendResult, ar as RUNTIME_INSTANCE_INSTALLATION_KIND_ENV, as as AppPackageError, at as SqliteDatabase, au as PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, b as NextclawHarnessErrorCode, ba as DesktopSessionCaller, bc as AccessPrincipal, bd as SessionModelTokenUsage, bi as isPreferenceError, bl as ProviderManagerNcpLLMApi, bn as EventBus, bo as getCapabilityGrantKey, br as recoverSessionJournalTornTail, bs as AppPackageSecretSlotView, bt as ObservationManagerOptions, bu as SessionManager, c as INextclawRun, ca as WorkspaceEntry, cc as ServiceAppResidentEventStatus, cd as LlmProviderManager, ci as ServiceAppJobEventSink, cl as NativeAgentRuntimeResources, cn as PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, co as PanelAppCapabilityGrantCaller, cr as RuntimeDistribution, cs as AppPackageList, ct as listExtensionChannelIds, cu as ProviderModelCatalogSnapshot, d as LLMResponse, da as WorkspaceWrite, dc as ServiceAppRuntimeStatus, dd as AgentRunSession, di as PortableRunnerObservation, dl as readMetadataThinking, dn as PortableRuntimeAcceptancePresentation, do as PanelAppDeleteResult, dr as resolveRuntimeInstanceSnapshot, ds as AppPackageOperationList, dt as assertObservationJsonValue, du as AgentRuntimeEntry, ea as InboxDeliveryErrorCode, ec as ServiceAppManifestAction, ed as ProjectManagerOptions, ei as PortableRuntimeAcceptanceId, el as IContextRegistry, en as PortableRuntimeAcceptanceStatusEntry, eo as PanelAppAgentGenerateObjectRequest, er as NARP_STDIO_RUNTIME_KIND, es as AppPackageDependencyCandidate, et as getUiContentParamsBootstrapScript, eu as ProductActivitySource, f as LLMStreamEvent, fa as LocalAgentProfileStore, fc as ServiceAppTerminalJobStatus, fd as CreateAgentRunSessionParams, fi as PlannedRestartRecovery, fl as resolveEffectiveModel, fn as presentPortableRuntimeAcceptanceDefinition, fo as PanelAppEntry, fr as LearningLoopRuntimeConfig, fs as AppPackageOperationResult, ft as assertObservationPredicate, fu as AgentRuntimeProviderRegistration, g as McpToolCatalogEntry, ga as InstalledSkillsList, gc as AccessManager, gd as SessionMessageCursorError, gi as PreferenceError, gl as NextclawNcpResolvedRunContext, gn as AppEventEmitOptions, go as isPanelAppAgentCapability, gr as SessionJournalCompactionResult, gs as AppPackageReadinessRequirement, gt as parseObservationDuration, gu as AgentRuntimeSessionTypeProvider, h as McpServerRecord, ha as InstalledSkillSummary, hc as AutomationManagerOptions, hd as SessionListPageOptions, hi as PlannedRestartRecoveryTicket, hl as NextclawNcpResolvedAgentProfile, hn as PanelAppAssetTokenService, ho as PanelAppList, hr as ProductFeatureControls, hs as AppPackageReadiness, ht as matchesObservationPredicate, hu as AgentRuntimeSessionTypeOption, i as INextclawAgentRegistry, ia as isInboxDeliveryError, ic as ServiceAppRecord, id as ProjectRecord, ii as ResidentEventInput, il as IRuntimeRegistry, in as PortableRuntimeAcceptanceIdentityResult, io as PanelAppAgentSendRequest, ir as RUNTIME_INSTANCE_DISTRIBUTION_ENV, is as AppPackageDependencyView, it as SessionMessageSqlProjectionStore, iu as ConfigMutationResult, j as ProviderSpec, ja as DesktopApplicationTarget, jc as waitForAgentRuntimeSessionReply, jd as SessionSteerQueuedInputResult, ji as LlmUsageRecord, jl as buildContextCompactionModelProjection, jn as Unsubscribe, jo as CapabilityGrantRequest, jr as PortableRuntimeAcceptanceEvaluationContext, js as ServiceActionGrant, jt as ObservationContextTail, ju as PROJECT_WORK_ATTENTION_VALUES, k as NextclawUserQuestionReply, ka as DESKTOP_HOST_ACCESS, kc as createAgentRuntimeSessionRequestSourceNotifier, kd as SessionPendingInput, ki as LlmUsageStore, kl as ContextCompactionTimelineCheckpoint, kn as NcpTool, ko as CapabilityGrantDecision, kr as WorkspaceServiceDataOwner, ks as ServiceAction, kt as JsonValue, ku as CreateProjectWorkItemInput, l as INextclawSession, la as WorkspaceList, lc as ServiceAppResidentEventView, ld as LlmProviderRuntime, li as ServiceAppJobJournalService, ll as normalizeOptionalString, ln as PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, lo as PanelAppClientGrant, lr as RuntimeInstallationKind, ls as AppPackageOperationAction, lt as ExtensionRuntimeStatus, lu as ChannelManager, m as McpServerDefinition, ma as InstalledSkillDetail, mc as AutomationManager, md as SessionListFilter, mi as PlannedRestartRecoveryResult, ml as syncSessionThinkingPreference, mn as McpServiceAppRuntimeService, mo as PanelAppErrorCode, mr as FeatureControlsService, ms as AppPackageOperationView, mt as evaluateObservationEventAdmission, mu as AgentRuntimeSessionTypeIcon, n as Disposer, na as InboxDeliveryManagerOptions, nc as ServiceAppProtocol, nd as CreateProjectInput, ni as ServiceAppRuntimeService, nl as IMcpRegistry, nn as PortableRuntimeAcceptanceSurfaceResult, no as PanelAppAgentRunClient, nr as RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV, ns as AppPackageDependencyDiagnostic, nt as sessionJsonChunks, nu as ConfigManagerOptions, o as INextclawContributionRegistry, oa as LocalWorkspaceStore, oc as ServiceAppResidentEventDisposition, od as ProjectTemplate, oi as ServiceAppResidentEventScope, ol as McpToolCallInput, on as PortableRuntimeAcceptanceUnavailableIdentity, oo as PanelAppBridgeSession, or as RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV, os as AppPackageErrorCode, ot as resolveLegacyEventType, ou as ProviderModelCatalogEntry, p as McpCatalogFilter, pa as LocalConfigStore, pc as ServiceAppWitContract, pd as SessionHistoryPreparation, pi as PlannedRestartRecoveryManager, pl as resolveSessionChannelContext, pn as resolvePortableRuntimeAcceptanceLocale, po as PanelAppError, pr as readLearningLoopRuntimeConfig, ps as AppPackageOperationStatus, pt as buildObservationEventModelMessage, pu as AgentRuntimeSessionTypeDescribeParams, q as composeAgentToolCatalog, qa as createServiceAppAgentSlotGrantRequest, qc as AgentRunStreamOptions, qi as SystemObjectReferenceProvider, ql as ContextCompactionPreflightService, qn as GatewayInboundProcessor, qo as AppPackageComponentKind, qr as VerificationRecordRole, qs as ServiceAppJobProgressEvent, qt as parseServiceAppManifest, qu as ProjectWorkStateCategory, r as INextclawAgent, ra as MAX_INBOX_DELIVERY_CONTENT_LENGTH, rc as ServiceAppProvides, rd as PROJECT_TEMPLATE_IDS, ri as LeasedResidentEvent, rl as IModelRegistry, rn as PortableRuntimeAcceptanceIdentity, ro as PanelAppAgentSendPayload, rr as RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV, rs as AppPackageDependencyDiagnosticCode, rt as SessionMessagePreparationStore, ru as ConfigManagerRuntimeHooks, s as INextclawHarness, sa as WorkspaceByteStore, sc as ServiceAppResidentEventList, sd as ProjectTemplateId, si as ServiceAppAiCapabilityService, sl as ModelChatInput, sn as normalizePortableRuntimeEnvironment, so as PanelAppCapabilityGrant, sr as ResolveRuntimeInstanceSnapshotParams, ss as AppPackageHostTarget, st as toNcpMessages, su as ProviderModelCatalogManager, t as NextclawHarness, ta as InboxDeliveryManager, tc as ServiceAppModelCapabilitySlot, td as isProjectError, ti as PortableRuntimeAcceptancePlatform, tl as IKernel, tn as PortableRuntimeAcceptanceStatusView, to as PanelAppAgentGenerateObjectResult, tr as DEFAULT_AGENT_RUNTIME_ENTRY_ID, ts as AppPackageDependencyCycle, tt as injectUiContentParamsBootstrap, tu as ConfigManager, u as INextclawSessionRegistry, ua as WorkspaceRead, uc as ServiceAppResourceRequirement, ud as ProviderModelsDiscoverInput, ui as ServiceAppJobScope, ul as readMetadataModel, un as PortableRuntimeAcceptanceLocale, uo as PanelAppContent, ur as RuntimeInstanceSnapshot, us as AppPackageOperationInput, ut as ObservationEventAdmissionDecision, uu as ConfigPersistence, v as NextclawContributionDescriptor, va as SkillManager, vc as AccessLoginResult, vd as SessionMessagePart, vi as PreferenceManager, vl as buildNextclawNcpRunContext, vn as AppEventHandler, vo as capabilityGrantCovers, vr as compactSessionJournal, vs as AppPackageRuntimeHooks, vt as toBoundedJson, vu as normalizeAgentRuntimeSessionTypeIcon, w as NextclawSessionCreateInput, wa as DesktopHostCapabilityManager, wc as LocalProduct, wd as SessionTokenUsageStatus, wi as PanelAppPreferencesUpdate, wl as CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, wn as IngressEnvelope, wo as CapabilityGrantLegacyMigrationService, wr as ServiceAppList, ws as AppPackageView, wt as EventAdmissionPolicy, wu as isProjectWorkError, x as NextclawHarnessOptions, xa as DesktopSessionStateService, xc as AccessRole, xd as SessionPersistence, xi as PreferenceEntry, xl as CONTEXT_COMPACTION_CONTINUATION_TEXT, xn as EventBusOptions, xo as matchesCapabilityGrantFilter, xr as restoreSessionJournalBackup, xs as AppPackageSecretStatus, xt as BindContextInput, xu as SessionManagerOptions, y as NextclawHarnessError, ya as SkillScope, yc as AccessPasswordStatus, yd as SessionMetadataUpdate, yi as PreferenceManagerOptions, yl as createAssetTools, yn as AppEventKey, yo as createCapabilityDeclarationFingerprint, yr as recoverSessionJournalMaintenance, ys as AppPackageSecretReadiness, yt as ObservationManager, yu as resolveAgentRuntimeEntries, z as ExtensionManager, za as DesktopHostMethod, zc as UserQuestionPrompt, zd as ResolvedAgentProfile, zi as SessionContextCompactionError, zl as readContextRecoveryState, zn as dispatchPromptOverNcp, zo as AppDataErrorCode, zr as LegacyVerificationRecord, zs as ServiceAppAgentCapabilitySlot, zt as TypedPredicate, zu as ProjectWorkArtifactLink } from "./nextclaw-harness.manager-j0JHST4g.js";
1
+ import { $ as renderSystemExecutionPolicy, $a as PanelAppAgentGenerateObjectInput, $c as ContextProviderRequest, $i as InboxDeliveryError, $l as ProductActivitySignal, $n as NARP_HTTP_RUNTIME_KIND, $o as AppPackageDependencyBindingInput, $r as PortableRuntimeAcceptanceEvidenceSource, $s as ServiceAppManifest, $t as PortableRuntimeAcceptanceManager, $u as ProjectErrorCode, A as ProviderCatalogPlugin, Aa as DESKTOP_HOST_PROTOCOL_VERSION, Ac as dispatchAgentRuntimeSessionRequest, Ad as SessionPendingInput, Ai as LlmUsageStoreOptions, Al as NEXTCLAW_TIMELINE_KIND_METADATA_KEY, An as TypedKey, Ao as CapabilityGrantFilter, Ar as VerificationRecordService, As as ServiceActionCaller, At as ObservationCapabilityDescriptor, Au as CreateProjectWorkItemInput, B as LocalizedTextMap, Ba as DesktopHostRequest, Bc as UserQuestionView, Bd as ResolvedAgentProfile, Bi as SessionContextCompactionErrorCode, Bl as readContextWindowEventSessionId, Bn as dispatchPromptOverNcpResult, Bo as AppDataLifecycle, Br as VerificationEvidenceRecord, Bs as ServiceAppCapabilityProvision, Bt as DEFAULT_SERVICE_ACTION_RISK, Bu as ProjectWorkArtifactLink, C as NextclawRunStatus, Ca as DesktopNodeReplService, Cc as AccessSessionState, Cd as SessionSettingsError, Ci as PanelAppManager, Cl as CONTEXT_COMPACTION_PROJECTION_KIND, Cn as IngressContext, Co as CapabilityGrantStore, Cr as ServiceAppDeleteResult, Cs as AppPackageUninstallRollback, Ct as ContextBinding, Cu as ProjectWorkError, D as NextclawTaskResult, Da as UnavailableDesktopHost, Dc as buildSessionRequestCompletionMessage, Dd as SessionTokenUsageTotals, Di as LlmUsageManagerOptions, Dl as CONTEXT_COMPACTION_TIMELINE_KIND, Dn as NcpEndpointEvent, Do as CapabilityGrantRevocationListener, Dr as ServiceAppErrorCode, Ds as AgentServiceActionCaller, Dt as EventSubscriptionBudget, Du as ProjectAgreementMaterial, E as NextclawTaskInput, Ea as DesktopHostEventListener, Ec as AgentRuntimeSessionRequestDispatcherOptions, Ed as SessionTokenUsageSummary, Ei as LlmUsageManager, El as CONTEXT_COMPACTION_SYSTEM_PREAMBLE, En as Key, Eo as CapabilityGrantManager, Er as ServiceAppError, Es as isAppPackageError, Et as EventSubscription, Eu as ProjectMaterialService, F as NextclawKernel, Fa as DesktopHostCaller, Fc as UserQuestionManager, Fd as NcpAgentSessionJournalReplayEvent, Fi as createLlmUsageRecord, Fl as isContextCompactionProjectionMessage, Fn as Contribution, Fo as AppDataDeleteResult, Fr as PortableRuntimeAcceptanceResultStatus, Fs as ServiceActionInvokeRequest, Ft as ObservationRelationshipStatus, Fu as ProjectRecentArtifactPage, G as appendCurrentTimeContextTail, Ga as createPanelAppClientGrantRequest, Gc as AgentRunReply, Gi as SystemObjectReferenceErrorCode, Gl as ContextCompactionPreflightBeginResult, Gn as resolveChannelReplyRoute, Go as AppDocumentGrantMutationResult, Gr as VerificationRecordList, Gs as ServiceAppJobEvent, Gt as SERVICE_APP_MANIFEST_FILE_NAME, Gu as ProjectWorkItemPage, H as buildLocalizedTextMap, Ha as DesktopHostStatus, Hc as createQuestionResolutionMessage, Hi as SessionContextCompactionResult, Hl as shouldRefreshContextWindowDuringStream, Hn as ChannelReplyRouterDispatchParams, Ho as AppDataSource, Hr as VerificationRecordEntrySurface, Hs as ServiceAppExternalRemediation, Ht as getServiceActionName, Hu as ProjectWorkItem, I as NextclawKernelOptions, Ia as DesktopHostCapabilityDeclaration, Ic as UserQuestionReplyResolution, Id as createNcpAgentSessionSummary, Ii as hasLlmUsageTelemetry, Il as isContextCompactionTimelineMessage, In as DirectPromptDispatchExecution, Io as AppDataDiagnostic, Ir as evaluatePortableRuntimeAcceptance, Is as ServiceActionInvokeResult, It as ObservationState, Iu as ProjectWorkActivity, J as createShowContentTools, Ja as createServiceAppModelSlotGrantRequest, Jc as NodePlatform, Ji as SystemObjectReferenceSnapshotSource, Jl as ContextCompactionTrigger, Jn as runGatewayInboundLoop, Jo as AppPackageComponentSource, Jr as VerificationRecordStatus, Js as ServiceAppJobStatus, Jt as readServiceAppManifest, Ju as ProjectWorkStateCategory, K as serializeModelInputTail, Ka as createServiceActionGrantRequest, Kc as AgentRunReplyOptions, Ki as SystemObjectReferenceManager, Kl as ContextCompactionPreflightResult, Kn as GatewayInboundLoopRuntime, Ko as AppInstalledPermissionState, Kr as VerificationRecordObservation, Ks as ServiceAppJobList, Kt as getServiceAppManifestPath, Ku as ProjectWorkListInput, L as ExtensionLoadProgress, La as DesktopHostEvent, Lc as UserQuestionResolution, Ld as SessionEventReplayer, Li as normalizeLlmUsageModel, Ll as isContextWindowSnapshot, Ln as DirectPromptDispatchParams, Lo as AppDataEntry, Lr as evaluatePortableRuntimeAcceptanceArtifact, Ls as ServiceActionRisk, Lt as ObservationTarget, Lu as ProjectWorkActivityPage, M as AgentKernelModule, Ma as DesktopCapabilityError, Mc as SessionRequestManager, Md as SessionSteerQueuedInputResult, Mi as LlmUsageSnapshot, Ml as buildContextCompactionTimelineNcpMessage, Mn as createTypedKey, Mo as CapabilityGrantResource, Mr as PortableRuntimeAcceptanceEvidence, Ms as ServiceActionGrantRequest, Mt as ObservationEvent, Mu as PROJECT_WORK_ATTENTION_VALUES, N as AgentKernelResources, Na as DesktopCapabilityErrorCode, Nc as SessionRequestManagerOptions, Nd as UnfinishedNcpAgentRun, Ni as LlmUsageSummary, Nl as createContextCompactionMessageId, Nn as eventKeys, No as CapabilityGrantSubject, Nr as PortableRuntimeAcceptanceEvidenceArtifact, Ns as ServiceActionGrantState, Nt as ObservationExtensionRuntime, Nu as PROJECT_WORK_STATE_CATEGORIES, O as NextclawUserQuestion, Oa as createDesktopHostError, Oc as createAgentRuntimeSessionRequestDispatcher, Od as isSessionMessageCursorError, Oi as LlmUsageStats, Ol as ContextCompactionModelProjection, On as NcpMessage, Oo as CapabilityGrant, Or as isServiceAppError, Os as PanelServiceActionCaller, Ot as JsonPointer, Ou as ProjectSkillMaterial, P as AgentPlatform, Pa as DesktopHostAccess, Pc as UserQuestionError, Pd as applyNcpAgentRunLifecycleEvent, Pi as buildLlmUsageSummary, Pl as createContextWindowSignature, Pn as ingressKeys, Po as AppDataManager, Pr as PortableRuntimeAcceptanceResult, Ps as ServiceActionInvocationFacts, Pt as ObservationRef, Pu as ProjectRecentArtifact, Q as renderAgentSafetyContext, Qa as PanelAppAgentCapability, Qc as ContextProvider, Qi as CreateInboxDeliveryInput, Ql as ProductActivityKind, Qn as BuiltinNarpRuntimeProviderService, Qo as AppPackageDependencyBinding, Qr as PortableRuntimeAcceptanceDefinition, Qs as ServiceAppLifecycle, Qt as PortableRuntimeAcceptanceDefinitionView, Qu as ProjectError, R as ExtensionLoadResult, Ra as DesktopHostManifest, Rc as USER_QUESTION_EXTENSION_TYPE, Rd as AgentManager, Ri as sanitizeLlmUsage, Rl as readContextCompactionCheckpoint, Rn as DirectPromptDispatchResult, Ro as AppDataError, Rr as parsePortableRuntimeAcceptanceEvidenceArtifact, Rs as ServiceActionRuntimeState, Rt as SubscribeEventsInput, Ru as ProjectWorkActivityType, S as NextclawHarnessResources, Sa as DesktopSnapshotOptions, Sc as AccessSessionRecord, Sd as SessionPersistence, Si as PreferenceJsonValue, Sl as CONTEXT_COMPACTION_PART_START, Sn as Ingress, So as normalizeCapabilityGrantRequest, Sr as NcpAgentSessionJournalStore, Ss as AppPackageUnavailableDiagnostic, St as BuildContextTailInput, Su as SessionManagerOptions, T as NextclawSessionRunInput, Ta as DesktopHost, Tc as NextclawApplicationOptions, Td as SessionTokenUsageStatus, Ti as McpManager, Tl as CONTEXT_COMPACTION_RECOVERY_PREAMBLE, Tn as IngressHandler, To as CapabilityGrantListener, Tr as ServiceAppManager, Ts as CapabilityProviderView, Tt as EventDelivery, Tu as isProjectWorkError, U as parseSkillFrontmatter, Ua as ResolvedDesktopApplicationTarget, Uc as projectUserQuestions, Ui as isSessionContextCompactionError, Ul as shouldRefreshContextWindowImmediately, Un as dispatchChannelReplyRoute, Uo as isAppDataError, Ur as VerificationRecordError, Us as ServiceAppJobCaller, Ut as listServiceAppManifestActions, Uu as ProjectWorkItemDetail, V as SkillFrontmatter, Va as DesktopHostResponse, Vc as createQuestionMessage, Vi as SessionContextCompactionManager, Vl as readLatestContextCompactionCheckpoint, Vn as startPromptOverNcpExecution, Vo as AppDataList, Vr as VerificationRecord, Vs as ServiceAppCapabilityRequirement, Vt as buildServiceActionId, Vu as ProjectWorkAttention, W as stripSkillFrontmatter, Wa as createPanelAppAgentGrantRequest, Wc as AgentRunClient, Wi as SystemObjectReferenceError, Wl as CompactionProfileResolver, Wn as isReplyCapableChannel, Wo as AppPackageManager, Wr as VerificationRecordInput, Ws as ServiceAppJobChunkEvent, Wt as mergeServiceAppRuntimeActions, Wu as ProjectWorkItemListEntry, X as renderAgentBootstrapContext, Xa as readServiceAppSlotTarget, Xc as AgentRuntimeSessionTypeCatalog, Xi as createInboxDeliverySystemObjectProvider, Xl as CompactionSummaryProvider, Xn as BuildAgentRunSendPayloadParams, Xo as AppPackageComponentView, Xr as PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, Xs as ServiceAppJobView, Xt as PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, Xu as UpdateProjectWorkItemInput, Y as BootstrapContextInput, Ya as readServiceActionTargetId, Yc as NodePlatformOptions, Yi as createCronJobSystemObjectProvider, Yl as COMPACTION_RECOVERY_NOTICE, Yn as AssetApi, Yo as AppPackageComponentSourceList, Yr as PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, Ys as ServiceAppJobTerminalEvent, Yt as CommandRegistry, Yu as ProjectWorkSummary, Z as truncateContextText, Za as PANEL_APP_AGENT_CAPABILITIES, Zc as ContextBlock, Zi as isSystemObjectReferenceError, Zl as ContextCompactionJournalRecoveryService, Zn as buildAgentRunSendPayload, Zo as AppPackageConflict, Zr as PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, Zs as ServiceAppJobWatch, Zt as PortableRuntimeAcceptanceContractView, Zu as UpdateProjectWorkStateInput, _ as NextclawAgentDefinition, _a as SkillInfo, _c as AccessManagerOptions, _d as SessionMessageCursorError, _i as PreferenceErrorCode, _l as NextclawNcpRunContextResolveParams, _n as AppEventEnvelope, _o as isPanelAppError, _r as assertSessionJournalTailComplete, _s as AppPackageReadinessStatus, _t as readJsonPointer, _u as AgentRuntimeSessionTypeProvider, a as INextclawAgentSessions, aa as createWorkspaceByteTools, ac as ServiceAppRequirements, ad as ProjectRecord, ai as ServiceAppResidentEventInboxService, al as IToolRegistry, an as PortableRuntimeAcceptanceIdentityService, ao as PanelAppAgentSendResult, ar as RUNTIME_INSTANCE_INSTALLATION_KIND_ENV, as as AppPackageError, at as SqliteDatabase, au as ConfigMutationResult, b as NextclawHarnessErrorCode, ba as DesktopSessionCaller, bc as AccessPrincipal, bd as SessionMetadataUpdate, bi as isPreferenceError, bl as ProviderManagerNcpLLMApi, bn as EventBus, bo as getCapabilityGrantKey, br as recoverSessionJournalTornTail, bs as AppPackageSecretSlotView, bt as ObservationManagerOptions, bu as resolveAgentRuntimeEntries, c as INextclawRun, ca as WorkspaceEntry, cc as ServiceAppResidentEventStatus, cd as ProjectTemplateId, ci as ServiceAppJobEventSink, cl as NativeAgentRuntimeResources, cn as PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, co as PanelAppCapabilityGrantCaller, cr as RuntimeDistribution, cs as AppPackageList, ct as listExtensionChannelIds, cu as ProviderModelCatalogManager, d as LLMResponse, da as WorkspaceWrite, dc as ServiceAppRuntimeStatus, dd as ProviderModelsDiscoverInput, di as PortableRunnerObservation, dl as readMetadataThinking, dn as PortableRuntimeAcceptancePresentation, do as PanelAppDeleteResult, dr as resolveRuntimeInstanceSnapshot, ds as AppPackageOperationList, dt as assertObservationJsonValue, du as ConfigPersistence, ea as InboxDeliveryErrorCode, ec as ServiceAppManifestAction, ed as ProjectManager, ei as PortableRuntimeAcceptanceId, el as IContextRegistry, en as PortableRuntimeAcceptanceStatusEntry, eo as PanelAppAgentGenerateObjectRequest, er as NARP_STDIO_RUNTIME_KIND, es as AppPackageDependencyCandidate, et as getUiContentParamsBootstrapScript, eu as ProductActivitySink, f as LLMStreamEvent, fa as LocalAgentProfileStore, fc as ServiceAppTerminalJobStatus, fd as AgentRunSession, fi as PlannedRestartRecovery, fl as resolveEffectiveModel, fn as presentPortableRuntimeAcceptanceDefinition, fo as PanelAppEntry, fr as LearningLoopRuntimeConfig, fs as AppPackageOperationResult, ft as assertObservationPredicate, fu as AgentRuntimeEntry, g as McpToolCatalogEntry, ga as InstalledSkillsList, gc as AccessManager, gd as SessionListPageOptions, gi as PreferenceError, gl as NextclawNcpResolvedRunContext, gn as AppEventEmitOptions, go as isPanelAppAgentCapability, gr as SessionJournalCompactionResult, gs as AppPackageReadinessRequirement, gt as parseObservationDuration, gu as AgentRuntimeSessionTypeOption, h as McpServerRecord, ha as InstalledSkillSummary, hc as AutomationManagerOptions, hd as SessionListFilter, hi as PlannedRestartRecoveryTicket, hl as NextclawNcpResolvedAgentProfile, hn as PanelAppAssetTokenService, ho as PanelAppList, hr as ProductFeatureControls, hs as AppPackageReadiness, ht as matchesObservationPredicate, hu as AgentRuntimeSessionTypeIcon, i as INextclawAgentRegistry, ia as isInboxDeliveryError, ic as ServiceAppRecord, id as PROJECT_TEMPLATE_IDS, ii as ResidentEventInput, il as IRuntimeRegistry, in as PortableRuntimeAcceptanceIdentityResult, io as PanelAppAgentSendRequest, ir as RUNTIME_INSTANCE_DISTRIBUTION_ENV, is as AppPackageDependencyView, it as SessionMessageSqlProjectionStore, iu as ConfigManagerRuntimeHooks, j as ProviderSpec, ja as DesktopApplicationTarget, jc as waitForAgentRuntimeSessionReply, jd as SessionQueuedInput, ji as LlmUsageRecord, jl as buildContextCompactionModelProjection, jn as Unsubscribe, jo as CapabilityGrantRequest, jr as PortableRuntimeAcceptanceEvaluationContext, js as ServiceActionGrant, jt as ObservationContextTail, ju as CreateProjectWorkStateInput, k as NextclawUserQuestionReply, ka as DESKTOP_HOST_ACCESS, kc as createAgentRuntimeSessionRequestSourceNotifier, kd as isSessionSettingsError, ki as LlmUsageStore, kl as ContextCompactionTimelineCheckpoint, kn as NcpTool, ko as CapabilityGrantDecision, kr as WorkspaceServiceDataOwner, ks as ServiceAction, kt as JsonValue, ku as ProjectWorkManager, l as INextclawSession, la as WorkspaceList, lc as ServiceAppResidentEventView, ld as LlmProviderManager, li as ServiceAppJobJournalService, ll as normalizeOptionalString, ln as PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, lo as PanelAppClientGrant, lr as RuntimeInstallationKind, ls as AppPackageOperationAction, lt as ExtensionRuntimeStatus, lu as ProviderModelCatalogSnapshot, m as McpServerDefinition, ma as InstalledSkillDetail, mc as AutomationManager, md as SessionHistoryPreparation, mi as PlannedRestartRecoveryResult, ml as syncSessionThinkingPreference, mn as McpServiceAppRuntimeService, mo as PanelAppErrorCode, mr as FeatureControlsService, ms as AppPackageOperationView, mt as evaluateObservationEventAdmission, mu as AgentRuntimeSessionTypeDescribeParams, n as Disposer, na as InboxDeliveryManagerOptions, nc as ServiceAppProtocol, nd as isProjectError, ni as ServiceAppRuntimeService, nl as IMcpRegistry, nn as PortableRuntimeAcceptanceSurfaceResult, no as PanelAppAgentRunClient, nr as RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV, ns as AppPackageDependencyDiagnostic, nt as sessionJsonChunks, nu as ConfigManager, o as INextclawContributionRegistry, oa as LocalWorkspaceStore, oc as ServiceAppResidentEventDisposition, od as ProjectSessionBinding, oi as ServiceAppResidentEventScope, ol as McpToolCallInput, on as PortableRuntimeAcceptanceUnavailableIdentity, oo as PanelAppBridgeSession, or as RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV, os as AppPackageErrorCode, ot as resolveLegacyEventType, ou as PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, p as McpCatalogFilter, pa as LocalConfigStore, pc as ServiceAppWitContract, pd as CreateAgentRunSessionParams, pi as PlannedRestartRecoveryManager, pl as resolveSessionChannelContext, pn as resolvePortableRuntimeAcceptanceLocale, po as PanelAppError, pr as readLearningLoopRuntimeConfig, ps as AppPackageOperationStatus, pt as buildObservationEventModelMessage, pu as AgentRuntimeProviderRegistration, q as composeAgentToolCatalog, qa as createServiceAppAgentSlotGrantRequest, qc as AgentRunStreamOptions, qi as SystemObjectReferenceProvider, ql as ContextCompactionPreflightService, qn as GatewayInboundProcessor, qo as AppPackageComponentKind, qr as VerificationRecordRole, qs as ServiceAppJobProgressEvent, qt as parseServiceAppManifest, qu as ProjectWorkState, r as INextclawAgent, ra as MAX_INBOX_DELIVERY_CONTENT_LENGTH, rc as ServiceAppProvides, rd as CreateProjectInput, ri as LeasedResidentEvent, rl as IModelRegistry, rn as PortableRuntimeAcceptanceIdentity, ro as PanelAppAgentSendPayload, rr as RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV, rs as AppPackageDependencyDiagnosticCode, rt as SessionMessagePreparationStore, ru as ConfigManagerOptions, s as INextclawHarness, sa as WorkspaceByteStore, sc as ServiceAppResidentEventList, sd as ProjectTemplate, si as ServiceAppAiCapabilityService, sl as ModelChatInput, sn as normalizePortableRuntimeEnvironment, so as PanelAppCapabilityGrant, sr as ResolveRuntimeInstanceSnapshotParams, ss as AppPackageHostTarget, st as toNcpMessages, su as ProviderModelCatalogEntry, t as NextclawHarness, ta as InboxDeliveryManager, tc as ServiceAppModelCapabilitySlot, td as ProjectManagerOptions, ti as PortableRuntimeAcceptancePlatform, tl as IKernel, tn as PortableRuntimeAcceptanceStatusView, to as PanelAppAgentGenerateObjectResult, tr as DEFAULT_AGENT_RUNTIME_ENTRY_ID, ts as AppPackageDependencyCycle, tt as injectUiContentParamsBootstrap, tu as ProductActivitySource, u as INextclawSessionRegistry, ua as WorkspaceRead, uc as ServiceAppResourceRequirement, ud as LlmProviderRuntime, ui as ServiceAppJobScope, ul as readMetadataModel, un as PortableRuntimeAcceptanceLocale, uo as PanelAppContent, ur as RuntimeInstanceSnapshot, us as AppPackageOperationInput, ut as ObservationEventAdmissionDecision, uu as ChannelManager, v as NextclawContributionDescriptor, va as SkillManager, vc as AccessLoginResult, vd as SessionMessagePage, vi as PreferenceManager, vl as buildNextclawNcpRunContext, vn as AppEventHandler, vo as capabilityGrantCovers, vr as compactSessionJournal, vs as AppPackageRuntimeHooks, vt as toBoundedJson, vu as describeAgentRuntimeSessionTypes, w as NextclawSessionCreateInput, wa as DesktopHostCapabilityManager, wc as LocalProduct, wd as SessionSettingsPatch, wi as PanelAppPreferencesUpdate, wl as CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, wn as IngressEnvelope, wo as CapabilityGrantLegacyMigrationService, wr as ServiceAppList, ws as AppPackageView, wt as EventAdmissionPolicy, wu as ProjectWorkErrorCode, x as NextclawHarnessOptions, xa as DesktopSessionStateService, xc as AccessRole, xd as SessionModelTokenUsage, xi as PreferenceEntry, xl as CONTEXT_COMPACTION_CONTINUATION_TEXT, xn as EventBusOptions, xo as matchesCapabilityGrantFilter, xr as restoreSessionJournalBackup, xs as AppPackageSecretStatus, xt as BindContextInput, xu as SessionManager, y as NextclawHarnessError, ya as SkillScope, yc as AccessPasswordStatus, yd as SessionMessagePart, yi as PreferenceManagerOptions, yl as createAssetTools, yn as AppEventKey, yo as createCapabilityDeclarationFingerprint, yr as recoverSessionJournalMaintenance, ys as AppPackageSecretReadiness, yt as ObservationManager, yu as normalizeAgentRuntimeSessionTypeIcon, z as ExtensionManager, za as DesktopHostMethod, zc as UserQuestionPrompt, zd as AgentProfilePersistence, zi as SessionContextCompactionError, zl as readContextRecoveryState, zn as dispatchPromptOverNcp, zo as AppDataErrorCode, zr as LegacyVerificationRecord, zs as ServiceAppAgentCapabilitySlot, zt as TypedPredicate, zu as ProjectWorkActor } from "./nextclaw-harness.manager-DXaastB0.js";
2
2
  import { n as getAutomaticUpdateCheckDelay, r as resolveAutomaticUpdateCheckIntervalMs, t as AUTOMATIC_UPDATE_CHECK_INTERVAL_MS } from "./automatic-update-check.utils-8_3eYuwY.js";
3
3
  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-Dijq24Om.js";
4
- export { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, AccessLoginResult, AccessManager, AccessManagerOptions, AccessPasswordStatus, AccessPrincipal, AccessRole, AccessSessionRecord, AccessSessionState, AgentKernelModule, AgentKernelResources, AgentManager, AgentPlatform, AgentProfilePersistence, AgentRunClient, AgentRunReply, AgentRunReplyOptions, AgentRunSession, AgentRunStreamOptions, AgentRuntimeEntry, AgentRuntimeProviderRegistration, AgentRuntimeSessionRequestDispatcherOptions, AgentRuntimeSessionTypeCatalog, AgentRuntimeSessionTypeDescribeParams, AgentRuntimeSessionTypeIcon, AgentRuntimeSessionTypeOption, AgentRuntimeSessionTypeProvider, AgentServiceActionCaller, AppDataDeleteResult, AppDataDiagnostic, AppDataEntry, AppDataError, AppDataErrorCode, AppDataLifecycle, AppDataList, AppDataManager, AppDataSource, AppDocumentGrantMutationResult, AppEventEmitOptions, AppEventEnvelope, AppEventHandler, AppEventKey, 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, AssetApi, AutomationManager, AutomationManagerOptions, BindContextInput, BootstrapContextInput, BuildAgentRunSendPayloadParams, BuildContextTailInput, BuiltinNarpRuntimeProviderService, CONTEXT_COMPACTION_CONTINUATION_TEXT, CONTEXT_COMPACTION_PART_START, CONTEXT_COMPACTION_PROJECTION_KIND, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, CONTEXT_COMPACTION_RECOVERY_PREAMBLE, CONTEXT_COMPACTION_SYSTEM_PREAMBLE, CONTEXT_COMPACTION_TIMELINE_KIND, CapabilityGrant, CapabilityGrantDecision, CapabilityGrantFilter, CapabilityGrantLegacyMigrationService, CapabilityGrantListener, CapabilityGrantManager, CapabilityGrantRequest, CapabilityGrantResource, CapabilityGrantRevocationListener, CapabilityGrantStore, CapabilityGrantSubject, CapabilityProviderView, ChannelManager, ChannelReplyRouterDispatchParams, CommandRegistry, CompactionProfileResolver, CompactionSummaryProvider, ConfigManager, ConfigManagerOptions, ConfigManagerRuntimeHooks, ConfigMutationResult, ConfigPersistence, ContextBinding, ContextBlock, ContextCompactionJournalRecoveryService, ContextCompactionModelProjection, ContextCompactionPreflightBeginResult, ContextCompactionPreflightResult, ContextCompactionPreflightService, ContextCompactionTimelineCheckpoint, ContextCompactionTrigger, ContextProvider, 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, Disposer, EventAdmissionPolicy, EventBus, EventBusOptions, EventDelivery, EventSubscription, EventSubscriptionBudget, ExtensionLoadProgress, ExtensionLoadResult, ExtensionManager, ExtensionRuntimeStatus, FeatureControlsService, GatewayInboundLoopRuntime, GatewayInboundProcessor, IContextRegistry, IKernel, IMcpRegistry, IModelRegistry, INextclawAgent, INextclawAgentRegistry, INextclawAgentSessions, INextclawContributionRegistry, INextclawHarness, INextclawRun, INextclawSession, INextclawSessionRegistry, IRuntimeRegistry, IToolRegistry, InboxDeliveryError, InboxDeliveryErrorCode, InboxDeliveryManager, InboxDeliveryManagerOptions, Ingress, IngressContext, IngressEnvelope, IngressHandler, InstallationKind, InstalledSkillDetail, InstalledSkillSummary, InstalledSkillsList, JsonPointer, JsonValue, Key, LLMResponse, LLMStreamEvent, LearningLoopRuntimeConfig, LeasedResidentEvent, LegacyVerificationRecord, LlmProviderManager, LlmProviderRuntime, LlmUsageManager, LlmUsageManagerOptions, LlmUsageRecord, LlmUsageSnapshot, LlmUsageStats, LlmUsageStore, LlmUsageStoreOptions, LlmUsageSummary, LocalAgentProfileStore, LocalConfigStore, LocalProduct, LocalWorkspaceStore, LocalizedTextMap, MAX_INBOX_DELIVERY_CONTENT_LENGTH, McpCatalogFilter, McpManager, McpServerDefinition, McpServerRecord, McpServiceAppRuntimeService, McpToolCallInput, McpToolCatalogEntry, ModelChatInput, NARP_HTTP_RUNTIME_KIND, NARP_STDIO_RUNTIME_KIND, NEXTCLAW_TIMELINE_KIND_METADATA_KEY, NativeAgentRuntimeResources, NcpAgentSessionJournalReplayEvent, NcpAgentSessionJournalStore, NcpEndpointEvent, NcpMessage, NcpTool, NextclawAgentDefinition, NextclawApplicationOptions, NextclawContributionDescriptor, NextclawHarness, NextclawHarnessError, NextclawHarnessErrorCode, NextclawHarnessOptions, NextclawHarnessResources, NextclawKernel, NextclawKernelOptions, NextclawNcpResolvedAgentProfile, NextclawNcpResolvedRunContext, NextclawNcpRunContextResolveParams, NextclawRunStatus, NextclawSessionCreateInput, NextclawSessionRunInput, NextclawTaskInput, NextclawTaskResult, NextclawUserQuestion, NextclawUserQuestionReply, NodePlatform, NodePlatformOptions, ObservationCapabilityDescriptor, ObservationContextTail, ObservationEvent, ObservationEventAdmissionDecision, ObservationExtensionRuntime, ObservationManager, ObservationManagerOptions, ObservationRef, ObservationRelationshipStatus, ObservationState, ObservationTarget, PANEL_APP_AGENT_CAPABILITIES, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, PROJECT_TEMPLATE_IDS, PROJECT_WORK_ATTENTION_VALUES, PROJECT_WORK_STATE_CATEGORIES, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, PanelAppAgentCapability, PanelAppAgentGenerateObjectInput, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentRunClient, PanelAppAgentSendPayload, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppAssetTokenService, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppCapabilityGrantCaller, PanelAppClientGrant, PanelAppContent, PanelAppDeleteResult, PanelAppEntry, PanelAppError, PanelAppErrorCode, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PanelServiceActionCaller, PlannedRestartRecovery, PlannedRestartRecoveryManager, PlannedRestartRecoveryResult, PlannedRestartRecoveryTicket, PortableRunnerObservation, PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceDefinition, PortableRuntimeAcceptanceDefinitionView, PortableRuntimeAcceptanceEvaluationContext, PortableRuntimeAcceptanceEvidence, PortableRuntimeAcceptanceEvidenceArtifact, PortableRuntimeAcceptanceEvidenceSource, PortableRuntimeAcceptanceId, PortableRuntimeAcceptanceIdentity, PortableRuntimeAcceptanceIdentityResult, PortableRuntimeAcceptanceIdentityService, PortableRuntimeAcceptanceLocale, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptancePlatform, PortableRuntimeAcceptancePresentation, PortableRuntimeAcceptanceResult, PortableRuntimeAcceptanceResultStatus, PortableRuntimeAcceptanceStatusEntry, PortableRuntimeAcceptanceStatusView, PortableRuntimeAcceptanceSurfaceResult, PortableRuntimeAcceptanceUnavailableIdentity, PreferenceEntry, PreferenceError, PreferenceErrorCode, PreferenceJsonValue, PreferenceManager, PreferenceManagerOptions, ProductActivityKind, ProductActivitySignal, ProductActivitySink, ProductActivitySource, ProductFeatureControls, ProjectAgreementMaterial, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectMaterialService, ProjectRecentArtifact, ProjectRecentArtifactPage, ProjectRecord, ProjectSessionBinding, ProjectSkillMaterial, ProjectTemplate, ProjectTemplateId, ProjectWorkActivity, ProjectWorkActivityPage, ProjectWorkActivityType, ProjectWorkActor, ProjectWorkArtifactLink, ProjectWorkAttention, ProjectWorkError, ProjectWorkErrorCode, ProjectWorkItem, ProjectWorkItemDetail, ProjectWorkItemListEntry, ProjectWorkItemPage, ProjectWorkListInput, ProjectWorkManager, ProjectWorkState, ProjectWorkStateCategory, ProjectWorkSummary, ProviderCatalogPlugin, ProviderManagerNcpLLMApi, ProviderModelCatalogEntry, ProviderModelCatalogManager, ProviderModelCatalogSnapshot, ProviderModelsDiscoverInput, ProviderSpec, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV, RUNTIME_INSTANCE_DISTRIBUTION_ENV, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV, ResidentEventInput, ResolveRuntimeInstanceSnapshotParams, ResolvedAgentProfile, ResolvedDesktopApplicationTarget, RuntimeDistribution, RuntimeInstallationKind, RuntimeInstanceSnapshot, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAction, ServiceActionCaller, ServiceActionGrant, ServiceActionGrantRequest, ServiceActionGrantState, ServiceActionInvocationFacts, ServiceActionInvokeRequest, ServiceActionInvokeResult, ServiceActionRisk, ServiceActionRuntimeState, ServiceAppAgentCapabilitySlot, ServiceAppAiCapabilityService, ServiceAppCapabilityProvision, ServiceAppCapabilityRequirement, ServiceAppDeleteResult, ServiceAppError, ServiceAppErrorCode, ServiceAppExternalRemediation, ServiceAppJobCaller, ServiceAppJobChunkEvent, ServiceAppJobEvent, ServiceAppJobEventSink, ServiceAppJobJournalService, ServiceAppJobList, ServiceAppJobProgressEvent, ServiceAppJobScope, ServiceAppJobStatus, ServiceAppJobTerminalEvent, ServiceAppJobView, ServiceAppJobWatch, ServiceAppLifecycle, ServiceAppList, ServiceAppManager, ServiceAppManifest, ServiceAppManifestAction, ServiceAppModelCapabilitySlot, ServiceAppProtocol, ServiceAppProvides, ServiceAppRecord, ServiceAppRequirements, ServiceAppResidentEventDisposition, ServiceAppResidentEventInboxService, ServiceAppResidentEventList, ServiceAppResidentEventScope, ServiceAppResidentEventStatus, ServiceAppResidentEventView, ServiceAppResourceRequirement, ServiceAppRuntimeService, ServiceAppRuntimeStatus, ServiceAppTerminalJobStatus, ServiceAppWitContract, SessionContextCompactionError, SessionContextCompactionErrorCode, SessionContextCompactionManager, SessionContextCompactionResult, SessionEventReplayer, SessionHistoryPreparation, SessionJournalCompactionResult, SessionListFilter, SessionListPageOptions, SessionManager, SessionManagerOptions, SessionMessageCursorError, SessionMessagePage, SessionMessagePart, SessionMessagePreparationStore, SessionMessageSqlProjectionStore, SessionMetadataUpdate, SessionModelTokenUsage, SessionPendingInput, SessionPersistence, SessionQueuedInput, SessionRequestManager, SessionRequestManagerOptions, SessionSettingsError, SessionSettingsPatch, SessionSteerQueuedInputResult, SessionTokenUsageStatus, SessionTokenUsageSummary, SessionTokenUsageTotals, SkillFrontmatter, SkillInfo, SkillManager, SkillScope, SqliteDatabase, SubscribeEventsInput, SystemObjectReferenceError, SystemObjectReferenceErrorCode, SystemObjectReferenceManager, SystemObjectReferenceProvider, SystemObjectReferenceSnapshotSource, TypedKey, TypedPredicate, USER_QUESTION_EXTENSION_TYPE, UnavailableDesktopHost, UnfinishedNcpAgentRun, UnsignedUpdateManifest, Unsubscribe, UpdateBlockReason, UpdateHostKind, UpdateManifest, UpdateManifestReader, UpdateProgress, UpdateProjectWorkItemInput, UpdateProjectWorkStateInput, UpdateSnapshot, UpdateStatus, UserQuestionError, UserQuestionManager, UserQuestionPrompt, UserQuestionReplyResolution, UserQuestionResolution, UserQuestionView, VerificationEvidenceRecord, VerificationRecord, VerificationRecordEntrySurface, VerificationRecordError, VerificationRecordInput, VerificationRecordList, VerificationRecordObservation, VerificationRecordRole, VerificationRecordService, VerificationRecordStatus, WorkspaceByteStore, WorkspaceEntry, WorkspaceList, WorkspaceRead, WorkspaceServiceDataOwner, WorkspaceWrite, appendCurrentTimeContextTail, applyNcpAgentRunLifecycleEvent, assertObservationJsonValue, assertObservationPredicate, assertSessionJournalTailComplete, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, buildSessionRequestCompletionMessage, capabilityGrantCovers, compactSessionJournal, composeAgentToolCatalog, createAgentRuntimeSessionRequestDispatcher, createAgentRuntimeSessionRequestSourceNotifier, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createNcpAgentSessionSummary, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createQuestionMessage, createQuestionResolutionMessage, createServiceActionGrantRequest, createServiceAppAgentSlotGrantRequest, createServiceAppModelSlotGrantRequest, createShowContentTools, createTypedKey, createWorkspaceByteTools, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, evaluatePortableRuntimeAcceptance, evaluatePortableRuntimeAcceptanceArtifact, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isProjectWorkError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, normalizePortableRuntimeEnvironment, parseObservationDuration, parsePortableRuntimeAcceptanceEvidenceArtifact, parseServiceAppManifest, parseSkillFrontmatter, presentPortableRuntimeAcceptanceDefinition, projectUserQuestions, readContextCompactionCheckpoint, readContextRecoveryState, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, readServiceAppSlotTarget, recoverSessionJournalMaintenance, recoverSessionJournalTornTail, renderAgentBootstrapContext, renderAgentSafetyContext, renderSystemExecutionPolicy, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolvePortableRuntimeAcceptanceLocale, resolveRuntimeInstanceSnapshot, resolveSessionChannelContext, restoreSessionJournalBackup, runGatewayInboundLoop, sanitizeLlmUsage, serializeModelInputTail, serializeUnsignedUpdateManifest, sessionJsonChunks, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, truncateContextText, waitForAgentRuntimeSessionReply };
4
+ export { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, AccessLoginResult, AccessManager, AccessManagerOptions, AccessPasswordStatus, AccessPrincipal, AccessRole, AccessSessionRecord, AccessSessionState, AgentKernelModule, AgentKernelResources, AgentManager, AgentPlatform, AgentProfilePersistence, AgentRunClient, AgentRunReply, AgentRunReplyOptions, AgentRunSession, AgentRunStreamOptions, AgentRuntimeEntry, AgentRuntimeProviderRegistration, AgentRuntimeSessionRequestDispatcherOptions, AgentRuntimeSessionTypeCatalog, AgentRuntimeSessionTypeDescribeParams, AgentRuntimeSessionTypeIcon, AgentRuntimeSessionTypeOption, AgentRuntimeSessionTypeProvider, AgentServiceActionCaller, AppDataDeleteResult, AppDataDiagnostic, AppDataEntry, AppDataError, AppDataErrorCode, AppDataLifecycle, AppDataList, AppDataManager, AppDataSource, AppDocumentGrantMutationResult, AppEventEmitOptions, AppEventEnvelope, AppEventHandler, AppEventKey, 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, AssetApi, AutomationManager, AutomationManagerOptions, BindContextInput, BootstrapContextInput, BuildAgentRunSendPayloadParams, BuildContextTailInput, BuiltinNarpRuntimeProviderService, COMPACTION_RECOVERY_NOTICE, CONTEXT_COMPACTION_CONTINUATION_TEXT, CONTEXT_COMPACTION_PART_START, CONTEXT_COMPACTION_PROJECTION_KIND, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, CONTEXT_COMPACTION_RECOVERY_PREAMBLE, CONTEXT_COMPACTION_SYSTEM_PREAMBLE, CONTEXT_COMPACTION_TIMELINE_KIND, CapabilityGrant, CapabilityGrantDecision, CapabilityGrantFilter, CapabilityGrantLegacyMigrationService, CapabilityGrantListener, CapabilityGrantManager, CapabilityGrantRequest, CapabilityGrantResource, CapabilityGrantRevocationListener, CapabilityGrantStore, CapabilityGrantSubject, CapabilityProviderView, ChannelManager, ChannelReplyRouterDispatchParams, CommandRegistry, CompactionProfileResolver, CompactionSummaryProvider, ConfigManager, ConfigManagerOptions, ConfigManagerRuntimeHooks, ConfigMutationResult, ConfigPersistence, ContextBinding, ContextBlock, ContextCompactionJournalRecoveryService, ContextCompactionModelProjection, ContextCompactionPreflightBeginResult, ContextCompactionPreflightResult, ContextCompactionPreflightService, ContextCompactionTimelineCheckpoint, ContextCompactionTrigger, ContextProvider, 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, Disposer, EventAdmissionPolicy, EventBus, EventBusOptions, EventDelivery, EventSubscription, EventSubscriptionBudget, ExtensionLoadProgress, ExtensionLoadResult, ExtensionManager, ExtensionRuntimeStatus, FeatureControlsService, GatewayInboundLoopRuntime, GatewayInboundProcessor, IContextRegistry, IKernel, IMcpRegistry, IModelRegistry, INextclawAgent, INextclawAgentRegistry, INextclawAgentSessions, INextclawContributionRegistry, INextclawHarness, INextclawRun, INextclawSession, INextclawSessionRegistry, IRuntimeRegistry, IToolRegistry, InboxDeliveryError, InboxDeliveryErrorCode, InboxDeliveryManager, InboxDeliveryManagerOptions, Ingress, IngressContext, IngressEnvelope, IngressHandler, InstallationKind, InstalledSkillDetail, InstalledSkillSummary, InstalledSkillsList, JsonPointer, JsonValue, Key, LLMResponse, LLMStreamEvent, LearningLoopRuntimeConfig, LeasedResidentEvent, LegacyVerificationRecord, LlmProviderManager, LlmProviderRuntime, LlmUsageManager, LlmUsageManagerOptions, LlmUsageRecord, LlmUsageSnapshot, LlmUsageStats, LlmUsageStore, LlmUsageStoreOptions, LlmUsageSummary, LocalAgentProfileStore, LocalConfigStore, LocalProduct, LocalWorkspaceStore, LocalizedTextMap, MAX_INBOX_DELIVERY_CONTENT_LENGTH, McpCatalogFilter, McpManager, McpServerDefinition, McpServerRecord, McpServiceAppRuntimeService, McpToolCallInput, McpToolCatalogEntry, ModelChatInput, NARP_HTTP_RUNTIME_KIND, NARP_STDIO_RUNTIME_KIND, NEXTCLAW_TIMELINE_KIND_METADATA_KEY, NativeAgentRuntimeResources, NcpAgentSessionJournalReplayEvent, NcpAgentSessionJournalStore, NcpEndpointEvent, NcpMessage, NcpTool, NextclawAgentDefinition, NextclawApplicationOptions, NextclawContributionDescriptor, NextclawHarness, NextclawHarnessError, NextclawHarnessErrorCode, NextclawHarnessOptions, NextclawHarnessResources, NextclawKernel, NextclawKernelOptions, NextclawNcpResolvedAgentProfile, NextclawNcpResolvedRunContext, NextclawNcpRunContextResolveParams, NextclawRunStatus, NextclawSessionCreateInput, NextclawSessionRunInput, NextclawTaskInput, NextclawTaskResult, NextclawUserQuestion, NextclawUserQuestionReply, NodePlatform, NodePlatformOptions, ObservationCapabilityDescriptor, ObservationContextTail, ObservationEvent, ObservationEventAdmissionDecision, ObservationExtensionRuntime, ObservationManager, ObservationManagerOptions, ObservationRef, ObservationRelationshipStatus, ObservationState, ObservationTarget, PANEL_APP_AGENT_CAPABILITIES, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, PROJECT_TEMPLATE_IDS, PROJECT_WORK_ATTENTION_VALUES, PROJECT_WORK_STATE_CATEGORIES, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, PanelAppAgentCapability, PanelAppAgentGenerateObjectInput, PanelAppAgentGenerateObjectRequest, PanelAppAgentGenerateObjectResult, PanelAppAgentRunClient, PanelAppAgentSendPayload, PanelAppAgentSendRequest, PanelAppAgentSendResult, PanelAppAssetTokenService, PanelAppBridgeSession, PanelAppCapabilityGrant, PanelAppCapabilityGrantCaller, PanelAppClientGrant, PanelAppContent, PanelAppDeleteResult, PanelAppEntry, PanelAppError, PanelAppErrorCode, PanelAppList, PanelAppManager, PanelAppPreferencesUpdate, PanelServiceActionCaller, PlannedRestartRecovery, PlannedRestartRecoveryManager, PlannedRestartRecoveryResult, PlannedRestartRecoveryTicket, PortableRunnerObservation, PortableRuntimeAcceptanceContractView, PortableRuntimeAcceptanceDefinition, PortableRuntimeAcceptanceDefinitionView, PortableRuntimeAcceptanceEvaluationContext, PortableRuntimeAcceptanceEvidence, PortableRuntimeAcceptanceEvidenceArtifact, PortableRuntimeAcceptanceEvidenceSource, PortableRuntimeAcceptanceId, PortableRuntimeAcceptanceIdentity, PortableRuntimeAcceptanceIdentityResult, PortableRuntimeAcceptanceIdentityService, PortableRuntimeAcceptanceLocale, PortableRuntimeAcceptanceManager, PortableRuntimeAcceptancePlatform, PortableRuntimeAcceptancePresentation, PortableRuntimeAcceptanceResult, PortableRuntimeAcceptanceResultStatus, PortableRuntimeAcceptanceStatusEntry, PortableRuntimeAcceptanceStatusView, PortableRuntimeAcceptanceSurfaceResult, PortableRuntimeAcceptanceUnavailableIdentity, PreferenceEntry, PreferenceError, PreferenceErrorCode, PreferenceJsonValue, PreferenceManager, PreferenceManagerOptions, ProductActivityKind, ProductActivitySignal, ProductActivitySink, ProductActivitySource, ProductFeatureControls, ProjectAgreementMaterial, ProjectError, ProjectErrorCode, ProjectManager, ProjectManagerOptions, ProjectMaterialService, ProjectRecentArtifact, ProjectRecentArtifactPage, ProjectRecord, ProjectSessionBinding, ProjectSkillMaterial, ProjectTemplate, ProjectTemplateId, ProjectWorkActivity, ProjectWorkActivityPage, ProjectWorkActivityType, ProjectWorkActor, ProjectWorkArtifactLink, ProjectWorkAttention, ProjectWorkError, ProjectWorkErrorCode, ProjectWorkItem, ProjectWorkItemDetail, ProjectWorkItemListEntry, ProjectWorkItemPage, ProjectWorkListInput, ProjectWorkManager, ProjectWorkState, ProjectWorkStateCategory, ProjectWorkSummary, ProviderCatalogPlugin, ProviderManagerNcpLLMApi, ProviderModelCatalogEntry, ProviderModelCatalogManager, ProviderModelCatalogSnapshot, ProviderModelsDiscoverInput, ProviderSpec, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV, RUNTIME_INSTANCE_DISTRIBUTION_ENV, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV, ResidentEventInput, ResolveRuntimeInstanceSnapshotParams, ResolvedAgentProfile, ResolvedDesktopApplicationTarget, RuntimeDistribution, RuntimeInstallationKind, RuntimeInstanceSnapshot, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAction, ServiceActionCaller, ServiceActionGrant, ServiceActionGrantRequest, ServiceActionGrantState, ServiceActionInvocationFacts, ServiceActionInvokeRequest, ServiceActionInvokeResult, ServiceActionRisk, ServiceActionRuntimeState, ServiceAppAgentCapabilitySlot, ServiceAppAiCapabilityService, ServiceAppCapabilityProvision, ServiceAppCapabilityRequirement, ServiceAppDeleteResult, ServiceAppError, ServiceAppErrorCode, ServiceAppExternalRemediation, ServiceAppJobCaller, ServiceAppJobChunkEvent, ServiceAppJobEvent, ServiceAppJobEventSink, ServiceAppJobJournalService, ServiceAppJobList, ServiceAppJobProgressEvent, ServiceAppJobScope, ServiceAppJobStatus, ServiceAppJobTerminalEvent, ServiceAppJobView, ServiceAppJobWatch, ServiceAppLifecycle, ServiceAppList, ServiceAppManager, ServiceAppManifest, ServiceAppManifestAction, ServiceAppModelCapabilitySlot, ServiceAppProtocol, ServiceAppProvides, ServiceAppRecord, ServiceAppRequirements, ServiceAppResidentEventDisposition, ServiceAppResidentEventInboxService, ServiceAppResidentEventList, ServiceAppResidentEventScope, ServiceAppResidentEventStatus, ServiceAppResidentEventView, ServiceAppResourceRequirement, ServiceAppRuntimeService, ServiceAppRuntimeStatus, ServiceAppTerminalJobStatus, ServiceAppWitContract, SessionContextCompactionError, SessionContextCompactionErrorCode, SessionContextCompactionManager, SessionContextCompactionResult, SessionEventReplayer, SessionHistoryPreparation, SessionJournalCompactionResult, SessionListFilter, SessionListPageOptions, SessionManager, SessionManagerOptions, SessionMessageCursorError, SessionMessagePage, SessionMessagePart, SessionMessagePreparationStore, SessionMessageSqlProjectionStore, SessionMetadataUpdate, SessionModelTokenUsage, SessionPendingInput, SessionPersistence, SessionQueuedInput, SessionRequestManager, SessionRequestManagerOptions, SessionSettingsError, SessionSettingsPatch, SessionSteerQueuedInputResult, SessionTokenUsageStatus, SessionTokenUsageSummary, SessionTokenUsageTotals, SkillFrontmatter, SkillInfo, SkillManager, SkillScope, SqliteDatabase, SubscribeEventsInput, SystemObjectReferenceError, SystemObjectReferenceErrorCode, SystemObjectReferenceManager, SystemObjectReferenceProvider, SystemObjectReferenceSnapshotSource, TypedKey, TypedPredicate, USER_QUESTION_EXTENSION_TYPE, UnavailableDesktopHost, UnfinishedNcpAgentRun, UnsignedUpdateManifest, Unsubscribe, UpdateBlockReason, UpdateHostKind, UpdateManifest, UpdateManifestReader, UpdateProgress, UpdateProjectWorkItemInput, UpdateProjectWorkStateInput, UpdateSnapshot, UpdateStatus, UserQuestionError, UserQuestionManager, UserQuestionPrompt, UserQuestionReplyResolution, UserQuestionResolution, UserQuestionView, VerificationEvidenceRecord, VerificationRecord, VerificationRecordEntrySurface, VerificationRecordError, VerificationRecordInput, VerificationRecordList, VerificationRecordObservation, VerificationRecordRole, VerificationRecordService, VerificationRecordStatus, WorkspaceByteStore, WorkspaceEntry, WorkspaceList, WorkspaceRead, WorkspaceServiceDataOwner, WorkspaceWrite, appendCurrentTimeContextTail, applyNcpAgentRunLifecycleEvent, assertObservationJsonValue, assertObservationPredicate, assertSessionJournalTailComplete, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, buildSessionRequestCompletionMessage, capabilityGrantCovers, compactSessionJournal, composeAgentToolCatalog, createAgentRuntimeSessionRequestDispatcher, createAgentRuntimeSessionRequestSourceNotifier, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createNcpAgentSessionSummary, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createQuestionMessage, createQuestionResolutionMessage, createServiceActionGrantRequest, createServiceAppAgentSlotGrantRequest, createServiceAppModelSlotGrantRequest, createShowContentTools, createTypedKey, createWorkspaceByteTools, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, evaluatePortableRuntimeAcceptance, evaluatePortableRuntimeAcceptanceArtifact, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isProjectWorkError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, normalizePortableRuntimeEnvironment, parseObservationDuration, parsePortableRuntimeAcceptanceEvidenceArtifact, parseServiceAppManifest, parseSkillFrontmatter, presentPortableRuntimeAcceptanceDefinition, projectUserQuestions, readContextCompactionCheckpoint, readContextRecoveryState, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, readServiceAppSlotTarget, recoverSessionJournalMaintenance, recoverSessionJournalTornTail, renderAgentBootstrapContext, renderAgentSafetyContext, renderSystemExecutionPolicy, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolvePortableRuntimeAcceptanceLocale, resolveRuntimeInstanceSnapshot, resolveSessionChannelContext, restoreSessionJournalBackup, runGatewayInboundLoop, sanitizeLlmUsage, serializeModelInputTail, serializeUnsignedUpdateManifest, sessionJsonChunks, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, truncateContextText, waitForAgentRuntimeSessionReply };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as restoreSessionJournalBackup, c as syncSessionJournalFile, d as openSqliteDatabase, f as runSqliteTransaction, i as recoverSessionJournalTornTail, l as SessionJournalLoaderStore, n as compactSessionJournal, r as recoverSessionJournalMaintenance, s as syncSessionJournalDirectory, t as assertSessionJournalTailComplete, u as NcpAgentSessionMetadataStore } from "./session-journal-maintenance.store-CImhMMBv.js";
2
- import { $ as SessionEventProjectionStore, A as ContextProviderRunContextService, B as normalizeOptionalString, C as ToolProviderRunContextService, D as readProjectId, E as createAgentToolRunTriggerInput, F as CurrentSessionContextProvider, G as syncSessionThinkingPreference, H as readMetadataThinking, I as AgentBootstrapContextProvider, J as describeAgentRuntimeSessionTypes, K as appendCurrentTimeContextTail, L as renderAgentBootstrapContext, M as ExecutionPolicyContextProvider, N as renderAgentSafetyContext, O as readProjectRoot, P as renderSystemExecutionPolicy, Q as SessionMessageSqlProjectionStore, R as truncateContextText, S as AgentManager, T as attachSourceToolCall, U as resolveEffectiveModel, V as readMetadataModel, W as resolveSessionChannelContext, X as resolveAgentRuntimeEntries, Y as normalizeAgentRuntimeSessionTypeIcon, Z as SessionMessagePreparationStore, _ as createQuestionMessage, _t as CommandRegistry, a as dispatchAgentRuntimeSessionRequest, at as applyNcpAgentRunLifecycleEvent, b as SessionManager, c as Contribution, ct as assertObservationPredicate, d as dispatchPromptOverNcpResult, dt as matchesObservationPredicate, et as sessionJsonChunks, f as startPromptOverNcpExecution, ft as parseObservationDuration, g as USER_QUESTION_EXTENSION_TYPE, gt as AgentRunClient, h as UserQuestionManager, ht as DEFAULT_AGENT_RUNTIME_ENTRY_ID, i as createAgentRuntimeSessionRequestSourceNotifier, it as isSessionSettingsError, j as WorkspaceMemoryContextProvider, k as buildRunMetadata, l as NextclawHarnessError, lt as buildObservationEventModelMessage, m as UserQuestionError, mt as toBoundedJson, n as buildSessionRequestCompletionMessage, nt as SessionSettingsError, o as waitForAgentRuntimeSessionReply, ot as isNcpAgentRunLifecycleEvent, p as buildAgentRunSendPayload, pt as readJsonPointer, q as serializeModelInputTail, r as createAgentRuntimeSessionRequestDispatcher, rt as isSessionMessageCursorError, s as SessionRequestManager, st as assertObservationJsonValue, t as NextclawHarness, tt as SessionMessageCursorError, u as dispatchPromptOverNcp, ut as evaluateObservationEventAdmission, v as createQuestionResolutionMessage, w as createShowContentTools, x as createWorkspaceByteTools, y as projectUserQuestions, z as buildNextclawNcpRunContext } from "./nextclaw-harness.manager-mJToWeCB.js";
3
- import { A as CONTEXT_COMPACTION_RECOVERY_PREAMBLE, B as isContextWindowSnapshot, D as CONTEXT_COMPACTION_PART_START, E as CONTEXT_COMPACTION_CONTINUATION_TEXT, F as buildContextCompactionTimelineNcpMessage, G as shouldRefreshContextWindowDuringStream, H as readContextRecoveryState, I as createContextCompactionMessageId, K as shouldRefreshContextWindowImmediately, L as createContextWindowSignature, M as CONTEXT_COMPACTION_TIMELINE_KIND, N as NEXTCLAW_TIMELINE_KIND_METADATA_KEY, O as CONTEXT_COMPACTION_PROJECTION_KIND, P as buildContextCompactionModelProjection, Q as ContextCompactionJournalRecoveryService, R as isContextCompactionProjectionMessage, T as ContextCompactionPreflightService, U as readContextWindowEventSessionId, V as readContextCompactionCheckpoint, W as readLatestContextCompactionCheckpoint, Z as composeAgentToolCatalog, c as isRecord$13, d as safeNcpSessionFilename, f as toIsoString, j as CONTEXT_COMPACTION_SYSTEM_PREAMBLE, k as CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, m as SessionEventReplayer, n as NCP_AGENT_SESSION_SNAPSHOT_MESSAGE_EVENT_TYPE, p as upsertNcpAgentSessionSummaryEvent, s as createNcpAgentSessionSummary, t as NCP_AGENT_SESSION_JOURNAL_INDEX_FILE, tt as STRUCTURED_RESULT_TOOL_NAME, u as normalizeNcpSessionId, z as isContextCompactionTimelineMessage } from "./ncp-agent-session-journal.utils-B7a_PKCq.js";
1
+ import { a as restoreSessionJournalBackup, c as syncSessionJournalFile, d as openSqliteDatabase, f as runSqliteTransaction, i as recoverSessionJournalTornTail, l as SessionJournalLoaderStore, n as compactSessionJournal, r as recoverSessionJournalMaintenance, s as syncSessionJournalDirectory, t as assertSessionJournalTailComplete, u as NcpAgentSessionMetadataStore } from "./session-journal-maintenance.store-BQmO1EKq.js";
2
+ import { $ as SessionEventProjectionStore, A as ContextProviderRunContextService, B as normalizeOptionalString, C as ToolProviderRunContextService, D as readProjectId, E as createAgentToolRunTriggerInput, F as CurrentSessionContextProvider, G as syncSessionThinkingPreference, H as readMetadataThinking, I as AgentBootstrapContextProvider, J as describeAgentRuntimeSessionTypes, K as appendCurrentTimeContextTail, L as renderAgentBootstrapContext, M as ExecutionPolicyContextProvider, N as renderAgentSafetyContext, O as readProjectRoot, P as renderSystemExecutionPolicy, Q as SessionMessageSqlProjectionStore, R as truncateContextText, S as AgentManager, T as attachSourceToolCall, U as resolveEffectiveModel, V as readMetadataModel, W as resolveSessionChannelContext, X as resolveAgentRuntimeEntries, Y as normalizeAgentRuntimeSessionTypeIcon, Z as SessionMessagePreparationStore, _ as createQuestionMessage, _t as CommandRegistry, a as dispatchAgentRuntimeSessionRequest, at as applyNcpAgentRunLifecycleEvent, b as SessionManager, c as Contribution, ct as assertObservationPredicate, d as dispatchPromptOverNcpResult, dt as matchesObservationPredicate, et as sessionJsonChunks, f as startPromptOverNcpExecution, ft as parseObservationDuration, g as USER_QUESTION_EXTENSION_TYPE, gt as AgentRunClient, h as UserQuestionManager, ht as DEFAULT_AGENT_RUNTIME_ENTRY_ID, i as createAgentRuntimeSessionRequestSourceNotifier, it as isSessionSettingsError, j as WorkspaceMemoryContextProvider, k as buildRunMetadata, l as NextclawHarnessError, lt as buildObservationEventModelMessage, m as UserQuestionError, mt as toBoundedJson, n as buildSessionRequestCompletionMessage, nt as SessionSettingsError, o as waitForAgentRuntimeSessionReply, ot as isNcpAgentRunLifecycleEvent, p as buildAgentRunSendPayload, pt as readJsonPointer, q as serializeModelInputTail, r as createAgentRuntimeSessionRequestDispatcher, rt as isSessionMessageCursorError, s as SessionRequestManager, st as assertObservationJsonValue, t as NextclawHarness, tt as SessionMessageCursorError, u as dispatchPromptOverNcp, ut as evaluateObservationEventAdmission, v as createQuestionResolutionMessage, w as createShowContentTools, x as createWorkspaceByteTools, y as projectUserQuestions, z as buildNextclawNcpRunContext } from "./nextclaw-harness.manager-Bv3YnpO5.js";
3
+ import { A as CONTEXT_COMPACTION_RECOVERY_PREAMBLE, B as isContextWindowSnapshot, D as CONTEXT_COMPACTION_PART_START, E as CONTEXT_COMPACTION_CONTINUATION_TEXT, F as buildContextCompactionTimelineNcpMessage, G as shouldRefreshContextWindowDuringStream, H as readContextRecoveryState, I as createContextCompactionMessageId, K as shouldRefreshContextWindowImmediately, L as createContextWindowSignature, M as CONTEXT_COMPACTION_TIMELINE_KIND, N as NEXTCLAW_TIMELINE_KIND_METADATA_KEY, O as CONTEXT_COMPACTION_PROJECTION_KIND, P as buildContextCompactionModelProjection, Q as ContextCompactionJournalRecoveryService, R as isContextCompactionProjectionMessage, T as ContextCompactionPreflightService, U as readContextWindowEventSessionId, V as readContextCompactionCheckpoint, W as readLatestContextCompactionCheckpoint, Z as composeAgentToolCatalog, c as isRecord$13, d as safeNcpSessionFilename, f as toIsoString, j as CONTEXT_COMPACTION_SYSTEM_PREAMBLE, k as CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, m as SessionEventReplayer, n as NCP_AGENT_SESSION_SNAPSHOT_MESSAGE_EVENT_TYPE, p as upsertNcpAgentSessionSummaryEvent, q as COMPACTION_RECOVERY_NOTICE, s as createNcpAgentSessionSummary, t as NCP_AGENT_SESSION_JOURNAL_INDEX_FILE, tt as STRUCTURED_RESULT_TOOL_NAME, u as normalizeNcpSessionId, z as isContextCompactionTimelineMessage } from "./ncp-agent-session-journal.utils-CkymaYrF.js";
4
4
  import { i as isSessionJournalDelta, n as canCoalesceSessionJournalDeltas, r as coalesceSessionJournalDeltas } from "./session-journal-delta-coalescer.utils-CI-N-Zpj.js";
5
5
  import { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, getAutomaticUpdateCheckDelay, resolveAutomaticUpdateCheckIntervalMs } from "./utils/automatic-update-check.utils.js";
6
6
  import { n as getUnsignedUpdateManifest, r as serializeUnsignedUpdateManifest, t as UpdateManifestReader } from "./update-manifest.types-DUocefbs.js";
@@ -6449,6 +6449,9 @@ var SessionContextCompactionManager = class {
6449
6449
  source: "session-context-compaction"
6450
6450
  });
6451
6451
  }
6452
+ const terminal = [...result.events].reverse().find((event) => event.type === NcpEventType.MessageSent && event.payload.message.metadata?.nextclaw_timeline_kind === "context_compaction");
6453
+ const checkpoint = terminal?.type === NcpEventType.MessageSent ? terminal.payload.message.metadata?.checkpoint : void 0;
6454
+ if (checkpoint?.status === "failed" || checkpoint?.status === "cancelled") throw new SessionContextCompactionError("CONTEXT_COMPACTION_FAILED", checkpoint.failure ?? checkpoint.summaryDiagnostics?.failure ?? "Context compaction did not install a checkpoint. The previous checkpoint was kept unchanged.");
6452
6455
  return {
6453
6456
  compacted: true,
6454
6457
  sessionId
@@ -15883,7 +15886,7 @@ var NcpAgentSessionMessageProjectionPersistenceStore = class extends SessionMess
15883
15886
  prepare = async (sessionId, signal, onProgress) => {
15884
15887
  const { stat } = await import("node:fs/promises");
15885
15888
  const { scanBoundedSessionJournal } = await import("./session-journal-stream.utils-CupSA3YS.js");
15886
- const { recoverSessionJournalTornTail } = await import("./session-journal-maintenance.store-CImhMMBv.js").then((n) => n.o);
15889
+ const { recoverSessionJournalTornTail } = await import("./session-journal-maintenance.store-BQmO1EKq.js").then((n) => n.o);
15887
15890
  await recoverSessionJournalTornTail(this.journalPath(sessionId), signal);
15888
15891
  const journalBytes = (await stat(this.journalPath(sessionId))).size;
15889
15892
  const journalIdentity = await this.journalIdentity(sessionId);
@@ -15996,7 +15999,7 @@ var NcpAgentSessionMessageProjectionPersistenceStore = class extends SessionMess
15996
15999
  }
15997
16000
  };
15998
16001
  readJournalTailMessages = async (sessionId, meta) => {
15999
- const { readNcpAgentSessionProjectionTail } = await import("./ncp-agent-session-message-projection-tail.store-5sjmoFxv.js");
16002
+ const { readNcpAgentSessionProjectionTail } = await import("./ncp-agent-session-message-projection-tail.store-_7hsonM_.js");
16000
16003
  return readNcpAgentSessionProjectionTail(this.journalPath(sessionId), meta, async (messageId) => {
16001
16004
  const database = await this.database(sessionId);
16002
16005
  if (!database) return null;
@@ -17036,7 +17039,10 @@ var NcpAgentSessionJournalStore = class {
17036
17039
  if (!completed) {
17037
17040
  await file.truncate(previousOffset);
17038
17041
  await file.sync();
17039
- if (error instanceof Error) Object.assign(error, { journalCommitRejected: true });
17042
+ if (error instanceof Error) Object.assign(error, {
17043
+ journalCommitRejected: true,
17044
+ ...!signal?.aborted ? { journalWriteFailed: true } : {}
17045
+ });
17040
17046
  }
17041
17047
  throw error;
17042
17048
  } finally {
@@ -22890,6 +22896,6 @@ function resolveLegacyEventType(message) {
22890
22896
  return `message.${role || "other"}`;
22891
22897
  }
22892
22898
  //#endregion
22893
- export { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, AccessManager, AgentManager, AgentRunClient, AppDataError, AppDataManager, AppPackageError, AppPackageManager, AutomationManager, BuiltinNarpRuntimeProviderService, CONTEXT_COMPACTION_CONTINUATION_TEXT, CONTEXT_COMPACTION_PART_START, CONTEXT_COMPACTION_PROJECTION_KIND, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, CONTEXT_COMPACTION_RECOVERY_PREAMBLE, CONTEXT_COMPACTION_SYSTEM_PREAMBLE, CONTEXT_COMPACTION_TIMELINE_KIND, CapabilityGrantLegacyMigrationService, CapabilityGrantManager, CapabilityGrantStore, ChannelManager, CommandRegistry, ConfigManager, ContextCompactionJournalRecoveryService, ContextCompactionPreflightService, Contribution, DEFAULT_AGENT_RUNTIME_ENTRY_ID, DEFAULT_SERVICE_ACTION_RISK, DESKTOP_HOST_ACCESS, DESKTOP_HOST_PROTOCOL_VERSION, DesktopHostCapabilityManager, DesktopNodeReplService, DesktopSessionStateService, EventBus, ExtensionManager, FeatureControlsService, GatewayInboundProcessor, InboxDeliveryError, InboxDeliveryManager, Ingress, LlmProviderManager, LlmUsageManager, LlmUsageStore, LocalAgentProfileStore, LocalConfigStore, LocalProduct, LocalWorkspaceStore, MAX_INBOX_DELIVERY_CONTENT_LENGTH, McpManager, McpServiceAppRuntimeService, NARP_HTTP_RUNTIME_KIND, NARP_STDIO_RUNTIME_KIND, NEXTCLAW_TIMELINE_KIND_METADATA_KEY, NcpAgentSessionJournalStore, NextclawHarness, NextclawHarnessError, NextclawKernel, NodePlatform, ObservationManager, PANEL_APP_AGENT_CAPABILITIES, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, PROJECT_TEMPLATE_IDS, PROJECT_WORK_ATTENTION_VALUES, PROJECT_WORK_STATE_CATEGORIES, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, PanelAppAssetTokenService, PanelAppError, PanelAppManager, PlannedRestartRecoveryManager, PortableRuntimeAcceptanceIdentityService, PortableRuntimeAcceptanceManager, PreferenceError, PreferenceManager, ProjectError, ProjectManager, ProjectMaterialService, ProjectWorkError, ProjectWorkManager, ProviderManagerNcpLLMApi, ProviderModelCatalogManager, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV, RUNTIME_INSTANCE_DISTRIBUTION_ENV, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAppAiCapabilityService, ServiceAppError, ServiceAppJobJournalService, ServiceAppManager, ServiceAppResidentEventInboxService, ServiceAppRuntimeService, SessionContextCompactionError, SessionContextCompactionManager, SessionEventReplayer, SessionManager, SessionMessageCursorError, SessionMessagePreparationStore, SessionMessageSqlProjectionStore, SessionRequestManager, SessionSettingsError, SkillManager, SystemObjectReferenceError, SystemObjectReferenceManager, USER_QUESTION_EXTENSION_TYPE, UnavailableDesktopHost, UpdateManifestReader, UserQuestionError, UserQuestionManager, VerificationRecordService, appendCurrentTimeContextTail, applyNcpAgentRunLifecycleEvent, assertObservationJsonValue, assertObservationPredicate, assertSessionJournalTailComplete, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, buildSessionRequestCompletionMessage, capabilityGrantCovers, compactSessionJournal, composeAgentToolCatalog, createAgentRuntimeSessionRequestDispatcher, createAgentRuntimeSessionRequestSourceNotifier, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createNcpAgentSessionSummary, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createQuestionMessage, createQuestionResolutionMessage, createServiceActionGrantRequest, createServiceAppAgentSlotGrantRequest, createServiceAppModelSlotGrantRequest, createShowContentTools, createTypedKey, createWorkspaceByteTools, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, evaluatePortableRuntimeAcceptance, evaluatePortableRuntimeAcceptanceArtifact, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isProjectWorkError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, normalizePortableRuntimeEnvironment, parseObservationDuration, parsePortableRuntimeAcceptanceEvidenceArtifact, parseServiceAppManifest, parseSkillFrontmatter, presentPortableRuntimeAcceptanceDefinition, projectUserQuestions, readContextCompactionCheckpoint, readContextRecoveryState, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, readServiceAppSlotTarget, recoverSessionJournalMaintenance, recoverSessionJournalTornTail, renderAgentBootstrapContext, renderAgentSafetyContext, renderSystemExecutionPolicy, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolvePortableRuntimeAcceptanceLocale, resolveRuntimeInstanceSnapshot, resolveSessionChannelContext, restoreSessionJournalBackup, runGatewayInboundLoop, sanitizeLlmUsage, serializeModelInputTail, serializeUnsignedUpdateManifest, sessionJsonChunks, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, truncateContextText, waitForAgentRuntimeSessionReply };
22899
+ export { AUTOMATIC_UPDATE_CHECK_INTERVAL_MS, AccessManager, AgentManager, AgentRunClient, AppDataError, AppDataManager, AppPackageError, AppPackageManager, AutomationManager, BuiltinNarpRuntimeProviderService, COMPACTION_RECOVERY_NOTICE, CONTEXT_COMPACTION_CONTINUATION_TEXT, CONTEXT_COMPACTION_PART_START, CONTEXT_COMPACTION_PROJECTION_KIND, CONTEXT_COMPACTION_PROJECTION_METADATA_KEY, CONTEXT_COMPACTION_RECOVERY_PREAMBLE, CONTEXT_COMPACTION_SYSTEM_PREAMBLE, CONTEXT_COMPACTION_TIMELINE_KIND, CapabilityGrantLegacyMigrationService, CapabilityGrantManager, CapabilityGrantStore, ChannelManager, CommandRegistry, ConfigManager, ContextCompactionJournalRecoveryService, ContextCompactionPreflightService, Contribution, DEFAULT_AGENT_RUNTIME_ENTRY_ID, DEFAULT_SERVICE_ACTION_RISK, DESKTOP_HOST_ACCESS, DESKTOP_HOST_PROTOCOL_VERSION, DesktopHostCapabilityManager, DesktopNodeReplService, DesktopSessionStateService, EventBus, ExtensionManager, FeatureControlsService, GatewayInboundProcessor, InboxDeliveryError, InboxDeliveryManager, Ingress, LlmProviderManager, LlmUsageManager, LlmUsageStore, LocalAgentProfileStore, LocalConfigStore, LocalProduct, LocalWorkspaceStore, MAX_INBOX_DELIVERY_CONTENT_LENGTH, McpManager, McpServiceAppRuntimeService, NARP_HTTP_RUNTIME_KIND, NARP_STDIO_RUNTIME_KIND, NEXTCLAW_TIMELINE_KIND_METADATA_KEY, NcpAgentSessionJournalStore, NextclawHarness, NextclawHarnessError, NextclawKernel, NodePlatform, ObservationManager, PANEL_APP_AGENT_CAPABILITIES, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT, PORTABLE_RUNTIME_ACCEPTANCE_CONTRACT_FINGERPRINT, PORTABLE_RUNTIME_ACCEPTANCE_LOCALES, PORTABLE_RUNTIME_ACCEPTANCE_PLATFORMS, PORTABLE_RUNTIME_ACCEPTANCE_PRESENTATION, PORTABLE_RUNTIME_ACCEPTANCE_REFERENCE_APP_ID, PROJECT_TEMPLATE_IDS, PROJECT_WORK_ATTENTION_VALUES, PROJECT_WORK_STATE_CATEGORIES, PROVIDER_MODEL_CATALOG_REFRESH_INTERVAL_MS, PanelAppAssetTokenService, PanelAppError, PanelAppManager, PlannedRestartRecoveryManager, PortableRuntimeAcceptanceIdentityService, PortableRuntimeAcceptanceManager, PreferenceError, PreferenceManager, ProjectError, ProjectManager, ProjectMaterialService, ProjectWorkError, ProjectWorkManager, ProviderManagerNcpLLMApi, ProviderModelCatalogManager, RUNTIME_INSTANCE_DESKTOP_DATA_DIRECTORY_ENV, RUNTIME_INSTANCE_DESKTOP_LOGS_DIRECTORY_ENV, RUNTIME_INSTANCE_DISTRIBUTION_ENV, RUNTIME_INSTANCE_INSTALLATION_KIND_ENV, RUNTIME_INSTANCE_PORTABLE_DATA_ROOT_ENV, SERVICE_APP_MANIFEST_FILE_NAME, ServiceAppAiCapabilityService, ServiceAppError, ServiceAppJobJournalService, ServiceAppManager, ServiceAppResidentEventInboxService, ServiceAppRuntimeService, SessionContextCompactionError, SessionContextCompactionManager, SessionEventReplayer, SessionManager, SessionMessageCursorError, SessionMessagePreparationStore, SessionMessageSqlProjectionStore, SessionRequestManager, SessionSettingsError, SkillManager, SystemObjectReferenceError, SystemObjectReferenceManager, USER_QUESTION_EXTENSION_TYPE, UnavailableDesktopHost, UpdateManifestReader, UserQuestionError, UserQuestionManager, VerificationRecordService, appendCurrentTimeContextTail, applyNcpAgentRunLifecycleEvent, assertObservationJsonValue, assertObservationPredicate, assertSessionJournalTailComplete, buildAgentRunSendPayload, buildContextCompactionModelProjection, buildContextCompactionTimelineNcpMessage, buildLlmUsageSummary, buildLocalizedTextMap, buildNextclawNcpRunContext, buildObservationEventModelMessage, buildServiceActionId, buildSessionRequestCompletionMessage, capabilityGrantCovers, compactSessionJournal, composeAgentToolCatalog, createAgentRuntimeSessionRequestDispatcher, createAgentRuntimeSessionRequestSourceNotifier, createAssetTools, createCapabilityDeclarationFingerprint, createContextCompactionMessageId, createContextWindowSignature, createCronJobSystemObjectProvider, createDesktopHostError, createInboxDeliverySystemObjectProvider, createLlmUsageRecord, createNcpAgentSessionSummary, createPanelAppAgentGrantRequest, createPanelAppClientGrantRequest, createQuestionMessage, createQuestionResolutionMessage, createServiceActionGrantRequest, createServiceAppAgentSlotGrantRequest, createServiceAppModelSlotGrantRequest, createShowContentTools, createTypedKey, createWorkspaceByteTools, describeAgentRuntimeSessionTypes, dispatchAgentRuntimeSessionRequest, dispatchChannelReplyRoute, dispatchPromptOverNcp, dispatchPromptOverNcpResult, evaluateObservationEventAdmission, evaluatePortableRuntimeAcceptance, evaluatePortableRuntimeAcceptanceArtifact, eventKeys, getAutomaticUpdateCheckDelay, getCapabilityGrantKey, getServiceActionName, getServiceAppManifestPath, getUiContentParamsBootstrapScript, getUnsignedUpdateManifest, hasLlmUsageTelemetry, ingressKeys, injectUiContentParamsBootstrap, isAppDataError, isAppPackageError, isContextCompactionProjectionMessage, isContextCompactionTimelineMessage, isContextWindowSnapshot, isInboxDeliveryError, isPanelAppAgentCapability, isPanelAppError, isPreferenceError, isProjectError, isProjectWorkError, isReplyCapableChannel, isServiceAppError, isSessionContextCompactionError, isSessionMessageCursorError, isSessionSettingsError, isSystemObjectReferenceError, listExtensionChannelIds, listServiceAppManifestActions, matchesCapabilityGrantFilter, matchesObservationPredicate, mergeServiceAppRuntimeActions, normalizeAgentRuntimeSessionTypeIcon, normalizeCapabilityGrantRequest, normalizeLlmUsageModel, normalizeOptionalString, normalizePortableRuntimeEnvironment, parseObservationDuration, parsePortableRuntimeAcceptanceEvidenceArtifact, parseServiceAppManifest, parseSkillFrontmatter, presentPortableRuntimeAcceptanceDefinition, projectUserQuestions, readContextCompactionCheckpoint, readContextRecoveryState, readContextWindowEventSessionId, readJsonPointer, readLatestContextCompactionCheckpoint, readLearningLoopRuntimeConfig, readMetadataModel, readMetadataThinking, readServiceActionTargetId, readServiceAppManifest, readServiceAppSlotTarget, recoverSessionJournalMaintenance, recoverSessionJournalTornTail, renderAgentBootstrapContext, renderAgentSafetyContext, renderSystemExecutionPolicy, resolveAgentRuntimeEntries, resolveAutomaticUpdateCheckIntervalMs, resolveChannelReplyRoute, resolveEffectiveModel, resolveLegacyEventType, resolvePortableRuntimeAcceptanceLocale, resolveRuntimeInstanceSnapshot, resolveSessionChannelContext, restoreSessionJournalBackup, runGatewayInboundLoop, sanitizeLlmUsage, serializeModelInputTail, serializeUnsignedUpdateManifest, sessionJsonChunks, shouldRefreshContextWindowDuringStream, shouldRefreshContextWindowImmediately, startPromptOverNcpExecution, stripSkillFrontmatter, syncSessionThinkingPreference, toBoundedJson, toNcpMessages, truncateContextText, waitForAgentRuntimeSessionReply };
22894
22900
 
22895
22901
  //# sourceMappingURL=index.js.map