@kodax-ai/kodax 0.7.96 → 0.7.97-alpha.2

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 (127) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/README.md +85 -62
  3. package/README_CN.md +57 -67
  4. package/config-templates/config.example.jsonc +0 -14
  5. package/dist/chunks/{agent-7N427EVB.js → agent-J7SHFM5N.js} +1 -1
  6. package/dist/chunks/argument-completer-ZJQOWTIS.js +2 -0
  7. package/dist/chunks/{chunk-ABZDFK2X.js → chunk-2GV6MQ4T.js} +14 -14
  8. package/dist/chunks/{chunk-6QI3GOYG.js → chunk-3PS3YEDS.js} +1 -1
  9. package/dist/chunks/chunk-4VJMQDTH.js +417 -0
  10. package/dist/chunks/{chunk-NI7PBPUR.js → chunk-5DSUVP46.js} +1 -1
  11. package/dist/chunks/chunk-5P7RTSZT.js +21 -0
  12. package/dist/chunks/{chunk-XXNR6S4Q.js → chunk-6ZAQKFIM.js} +1 -1
  13. package/dist/chunks/chunk-7V2QBZ73.js +137 -0
  14. package/dist/chunks/{chunk-C7U542KM.js → chunk-F7DHZH6T.js} +1 -1
  15. package/dist/chunks/{chunk-7IMWOR34.js → chunk-HSRYDDPF.js} +1 -1
  16. package/dist/chunks/chunk-K3DQGSQU.js +372 -0
  17. package/dist/chunks/chunk-NO23K2CB.js +2 -0
  18. package/dist/chunks/{chunk-NKT3B3DR.js → chunk-OT5WHAX4.js} +1 -1
  19. package/dist/chunks/{chunk-YEAUDI6U.js → chunk-QGWHJIO4.js} +1 -1
  20. package/dist/chunks/chunk-QOFFAY5C.js +261 -0
  21. package/dist/chunks/{chunk-4PFZ7BEE.js → chunk-QVDTORL3.js} +11 -11
  22. package/dist/chunks/chunk-QZ4B4AWG.js +473 -0
  23. package/dist/chunks/chunk-RXDS6CNA.js +355 -0
  24. package/dist/chunks/{chunk-WV3DJVW4.js → chunk-VDGPJQL7.js} +135 -135
  25. package/dist/chunks/chunk-VEZ4WHPN.js +641 -0
  26. package/dist/chunks/chunk-ZPPAT25E.js +5 -0
  27. package/dist/chunks/chunk-ZQYWDI4O.js +1 -0
  28. package/dist/chunks/chunk-ZS2GUADU.js +498 -0
  29. package/dist/chunks/{chunk-GN2IY5YE.js → chunk-ZTYZYXGV.js} +1 -1
  30. package/dist/chunks/{chunk-EM4XJBTK.js → chunk-ZZQ4GDVU.js} +1 -1
  31. package/dist/chunks/{client-6WZZTTSV.js → client-MXOJ5XUN.js} +1 -1
  32. package/dist/chunks/{compaction-config-ZMEJU4U7.js → compaction-config-5VZSGKBQ.js} +1 -1
  33. package/dist/chunks/{construction-bootstrap-RX4DMHI7.js → construction-bootstrap-U2ZU2WAT.js} +1 -1
  34. package/dist/chunks/dist-CSLNWLOE.js +2 -0
  35. package/dist/chunks/dist-XXMJMJDU.js +2 -0
  36. package/dist/chunks/host-RUXYZFYN.js +2 -0
  37. package/dist/chunks/readline-helpers-JCVULR4C.js +2 -0
  38. package/dist/chunks/run-manager-DRIM5VNE.js +2 -0
  39. package/dist/chunks/utils-MQEBGKIX.js +2 -0
  40. package/dist/index.d.ts +63 -30
  41. package/dist/index.js +10 -6
  42. package/dist/kodax_bootstrap.js +1 -1
  43. package/dist/kodax_cli.js +1745 -1734
  44. package/dist/kodax_resume.js +32 -35
  45. package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
  46. package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
  47. package/dist/native/win32-x64/manifest.json +2 -2
  48. package/dist/sandbox-network-broker.js +77 -77
  49. package/dist/sdk-a2a.d.ts +33 -18
  50. package/dist/sdk-a2a.js +8 -9
  51. package/dist/sdk-agent.d.ts +33 -26
  52. package/dist/sdk-agent.js +1 -1
  53. package/dist/sdk-client.d.ts +40 -0
  54. package/dist/sdk-client.js +2 -0
  55. package/dist/sdk-coding.d.ts +87 -499
  56. package/dist/sdk-coding.js +1 -1
  57. package/dist/sdk-experimental-memory.d.ts +3 -4
  58. package/dist/sdk-experimental-memory.js +1 -1
  59. package/dist/sdk-llm.d.ts +11 -9
  60. package/dist/sdk-llm.js +1 -1
  61. package/dist/sdk-mcp.d.ts +3 -3
  62. package/dist/sdk-mcp.js +1 -1
  63. package/dist/sdk-media.d.ts +3 -1
  64. package/dist/sdk-media.js +1 -1
  65. package/dist/sdk-repl.d.ts +317 -70
  66. package/dist/sdk-repl.js +2 -2
  67. package/dist/sdk-runtime.d.ts +580 -452
  68. package/dist/sdk-runtime.js +1 -1
  69. package/dist/sdk-sandbox.js +1 -1
  70. package/dist/sdk-session.d.ts +13 -9
  71. package/dist/sdk-session.js +1 -1
  72. package/dist/sdk-skills.js +1 -1
  73. package/dist/semantic-worker.js +57 -57
  74. package/dist/types-chunks/{base.d-Bt9lhwSV.d.ts → base.d-ZBOdjDUT.d.ts} +2 -1
  75. package/dist/types-chunks/{bash-prefix-extractor.d-DWFIMg0v.d.ts → bash-prefix-extractor.d-DvswAXKS.d.ts} +136 -66
  76. package/dist/types-chunks/{capability-learning.d-gRtO03f6.d.ts → capability-learning.d-B4pxKwP4.d.ts} +1 -1
  77. package/dist/types-chunks/{capability.d-Ch5Vos33.d.ts → capability.d-DOF3r0fJ.d.ts} +1 -1
  78. package/dist/types-chunks/{capsule.d-Dj1n6s0Y.d.ts → capsule.d-B4atvlxE.d.ts} +7 -19
  79. package/dist/types-chunks/client-contract-A1jdk6xz.d.ts +1993 -0
  80. package/dist/types-chunks/{controller.d-C0IM1Tud.d.ts → controller.d-BkUJ_3sl.d.ts} +1 -1
  81. package/dist/types-chunks/{controller.d-J2t1q8Ly.d.ts → controller.d-yyKajPTi.d.ts} +140 -1380
  82. package/dist/types-chunks/{cost-tracker.d-BWI4lFWn.d.ts → cost-tracker.d-BeaenODW.d.ts} +2 -47
  83. package/dist/types-chunks/{history-retrieval.d-CPN5PMBV.d.ts → history-retrieval.d-JdFfkeF3.d.ts} +2 -2
  84. package/dist/types-chunks/{manager.d-rtmywU9M.d.ts → manager.d-C_20XqCV.d.ts} +8 -1
  85. package/dist/types-chunks/manifest.d-Bw2i-zQi.d.ts +18 -0
  86. package/dist/types-chunks/provider-credential-context.d-BH2OaB1b.d.ts +47 -0
  87. package/dist/types-chunks/provider-request-observation.d-jL8T6wVO.d.ts +34 -0
  88. package/dist/types-chunks/{public-api.d-amBop8Nk.d.ts → public-api.d-Cq8ILMte.d.ts} +52 -13
  89. package/dist/types-chunks/{resolver.d-BrwLoWNr.d.ts → resolver.d-DLY01RHx.d.ts} +4 -2
  90. package/dist/types-chunks/{types.d-CSv0_cZC.d.ts → review-inbox.d-BeaLRNHx.d.ts} +251 -3
  91. package/dist/types-chunks/{shell-command-sets.d-oejwpP_7.d.ts → review-packet.d-D4bbTbq3.d.ts} +46 -3
  92. package/dist/types-chunks/{exec-policy.d-BPESl90L.d.ts → run-manager.d-C7Q71rin.d.ts} +385 -62
  93. package/dist/types-chunks/runtime-client-info-CxnlZlW5.d.ts +175 -0
  94. package/dist/types-chunks/{sdk-session-B6XjHNU1.d.ts → sdk-session-BDFjCpDn.d.ts} +12 -4
  95. package/dist/types-chunks/{side-query.d-DHWG1JZg.d.ts → side-query.d-DTrhVd_r.d.ts} +4 -3
  96. package/dist/types-chunks/trusted-repl-entry-vbUM8R6P.d.ts +445 -0
  97. package/dist/types-chunks/{types.d-CtO8mR1s.d.ts → types.d-BJTN-RZr.d.ts} +5 -5
  98. package/dist/types-chunks/{types.d-BrQMB-hy.d.ts → types.d-BjOq57-z.d.ts} +6 -0
  99. package/dist/types-chunks/types.d-o7t9dds4.d.ts +1484 -0
  100. package/dist/types-chunks/{utils.d-DcznBeQ3.d.ts → utils.d-CWiMhFfu.d.ts} +202 -36
  101. package/docs/CLIENT_CONTRACT.md +441 -0
  102. package/docs/SDK_MIGRATION.md +123 -0
  103. package/docs/SPACE_SDK_SEAMS.md +139 -0
  104. package/package.json +10 -5
  105. package/public_docs/README.md +12 -133
  106. package/public_docs/configuration/config-files.md +8 -14
  107. package/public_docs/sdk/embedder-guide.md +494 -420
  108. package/dist/chunks/argument-completer-FAIHW7HZ.js +0 -2
  109. package/dist/chunks/chunk-66XN5AFU.js +0 -417
  110. package/dist/chunks/chunk-7O2AIFNE.js +0 -373
  111. package/dist/chunks/chunk-DSXUXUZG.js +0 -5
  112. package/dist/chunks/chunk-GYO73UYQ.js +0 -275
  113. package/dist/chunks/chunk-HPCS3LZ5.js +0 -324
  114. package/dist/chunks/chunk-HZYRLIOC.js +0 -137
  115. package/dist/chunks/chunk-SC2ELSUS.js +0 -675
  116. package/dist/chunks/chunk-TEUD5VPJ.js +0 -471
  117. package/dist/chunks/chunk-TYZ2ZAYL.js +0 -487
  118. package/dist/chunks/dist-3UCCMCYR.js +0 -2
  119. package/dist/chunks/dist-F5IWZSAY.js +0 -2
  120. package/dist/chunks/host-W2JJ3V3Q.js +0 -2
  121. package/dist/chunks/run-manager-RBWU3EVE.js +0 -2
  122. package/dist/chunks/utils-DJ4ZFJGL.js +0 -2
  123. package/dist/runtime-worker.js +0 -5381
  124. package/dist/types-chunks/review-inbox.d-CTeUIKda.d.ts +0 -225
  125. package/dist/types-chunks/run-manager.d-hm1XgEou.d.ts +0 -94
  126. package/dist/types-chunks/trusted-repl-entry-D0w5M0UZ.d.ts +0 -323
  127. package/dist/types-chunks/types.d-B1l9pWyX.d.ts +0 -146
@@ -1,30 +1,29 @@
1
- import { aJ as MemoryContextIdentity, az as MemoryActionProposal, aR as MemoryItemRef, aA as MemoryApplicability, ag as KodaXSessionLineage, a4 as KodaXMemoryOutcomeDigest, ac as KodaXSessionEntry, ap as KodaXSessionStorage, ab as KodaXSessionData, _ as KodaXGoalState, Z as KodaXGoalEventType, ae as KodaXSessionGoalEntry, a7 as KodaXSessionArtifactLedgerEntry, X as KodaXExtensionStore, Y as KodaXExtensionStoreEntry, a1 as KodaXJsonValue, o as AgentBudgetExhausted, G as AgentMetadataValue, D as AgentLimitReached } from './types-chunks/types.d-CSv0_cZC.js';
2
- export { A as AgentActor, a as AgentActorClient, b as AgentActorOwner, c as AgentActorSaveAttempt, d as AgentActorSaveDiagnostics, e as AgentActorSavePhase, f as AgentActorSaveTiming, g as AgentActorSnapshot, h as AgentActorSnapshotV1, i as AgentActorSnapshotV2, j as AgentActorState, k as AgentActorStore, l as AgentArtifactDescriptor, m as AgentBudgetAdmission, n as AgentBudgetAdmissionInput, p as AgentBudgetPort, q as AgentCapabilities, r as AgentDataClassification, s as AgentDetail, t as AgentEvent, u as AgentEventKind, v as AgentExecutionInput, w as AgentExecutionKind, x as AgentExecutionResult, y as AgentFollowupResult, z as AgentForkTurns, B as AgentInterruptScope, C as AgentIterationProgress, E as AgentListEntry, F as AgentMailboxMessage, H as AgentMutationOptions, I as AgentOutput, J as AgentProgressItem, K as AgentProgressKind, L as AgentProgressUpdate, M as AgentSpawnInput, N as AgentTreeSnapshot, O as AgentTurn, P as AgentTurnExecutor, Q as AgentTurnRef, R as AgentTurnState, S as AgentTurnSummary, T as KodaXCompactMemoryProgress, U as KodaXCompactMemorySeed, V as KodaXExtensionSessionRecord, W as KodaXExtensionSessionState, $ as KodaXGoalStatus, a0 as KodaXHandledMemoryOperation, a2 as KodaXMemoryInfluenceRef, a3 as KodaXMemoryIntent, a5 as KodaXMemoryOutcomeEvidence, a6 as KodaXSessionArchiveMarkerEntry, a8 as KodaXSessionBranchSummaryEntry, a9 as KodaXSessionClientNoticeEntry, aa as KodaXSessionCompactionEntry, ad as KodaXSessionEntryBase, af as KodaXSessionLabelEntry, ah as KodaXSessionMemoryOutcomeDigestEntry, ai as KodaXSessionMemoryReviewReceiptEntry, aj as KodaXSessionMessageEntry, ak as KodaXSessionMeta, al as KodaXSessionNavigationOptions, am as KodaXSessionRewindMarkerEntry, an as KodaXSessionRuntimeInfo, ao as KodaXSessionScope, aq as KodaXSessionTreeNode, ar as KodaXSessionUiHistoryItem, as as KodaXSessionUiHistoryItemType, at as KodaXSessionUiTextHistoryItem, au as KodaXSessionUiTextHistoryItemType, av as KodaXSessionUiToolCall, aw as KodaXSessionUiToolCallStatus, ax as KodaXSessionUiToolGroupHistoryItem, ay as KodaXSessionWorkspaceKind, aB as MemoryApplyPreview, aC as MemoryApplyResult, aD as MemoryApproval, aE as MemoryAuthority, aH as MemoryBodySnapshot, aI as MemoryClaimKind, aK as MemoryController, aL as MemoryCuratorInput, aM as MemoryEpisodeReviewResult, aN as MemoryEvent, aO as MemoryGovernanceFinding, aP as MemoryGovernanceFindingKind, aQ as MemoryGovernanceReport, aS as MemoryLifecycle, aT as MemoryLifecycleOperationResult, aU as MemoryManagementController, aV as MemoryPack, aW as MemoryPackHint, aX as MemoryPackInput, aY as MemoryPackTraceMetadata, aZ as MemoryProposalAction, a_ as MemoryRefFilter, a$ as MemoryRefKind, b0 as MemoryRejectResult, b1 as MemoryRememberInput, b2 as MemoryRememberResult, b3 as MemoryReviewCandidateRef, b4 as MemoryReviewDraftAction, b5 as MemoryReviewInput, b6 as MemoryReviewModelInput, b7 as MemoryReviewPersistenceDecision, b8 as MemoryReviewPersistenceKind, b9 as MemoryReviewPlan, ba as MemoryReviewRunner, bb as MemoryReviewTrigger, bc as MemoryScope, bd as MemorySourceAdapter, be as MemoryVisibility, bf as SessionErrorMetadata, bg as hashMemoryIdentityComponent, bh as isMemoryManagementController, bi as matchesMemoryApplicability, bj as memoryApplicabilityFingerprint } from './types-chunks/types.d-CSv0_cZC.js';
3
- import { M as WorkflowScriptManifest } from './types-chunks/capsule.d-Dj1n6s0Y.js';
4
- export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, d as CreateWorkflowCapsuleInput, D as DefaultSummaryCompaction, e as DefaultSummaryCompactionOptions, K as KODAX_API_MIN_INTERVAL, f as KODAX_DEFAULT_TIMEOUT, g as KODAX_HARD_TIMEOUT, h as KODAX_MAX_INCOMPLETE_RETRIES, i as KODAX_MAX_MAXTOKENS_RETRIES, j as KODAX_MAX_RETRIES, k as KODAX_MAX_TOKENS, l as KODAX_RETRY_BASE_DELAY, m as KODAX_STAGGER_DELAY, L as LINEAGE_ENTRY_TYPES, n as LineageArtifactLedgerPayload, o as LineageCompaction, p as LineageCompactionDelegates, q as LineageEntryType, r as LineageExtension, s as LineageLabelPayload, t as LineageTreeNode, P as PROMISE_PATTERN, u as PolicyCompactionResult, W as WORKFLOW_CAPSULE_API_VERSION, v as WORKFLOW_CAPSULE_FORMAT, w as WORKFLOW_CAPSULE_VERSION, x as WORKFLOW_PATTERN_IDS, y as WorkflowCapsule, z as WorkflowCapsuleEnvironmentRequirement, A as WorkflowCapsuleInputs, B as WorkflowCapsuleIntent, E as WorkflowCapsuleProvenance, F as WorkflowCapsuleRequirements, G as WorkflowPatternId, H as WorkflowQualityLintFinding, I as WorkflowQualityLintOptions, J as WorkflowQualityLintSeverity, _ as _resetActiveRootQueueRoutesForTests, N as actorQueueId, O as appendSessionLineageLabel, Q as applyLineageTruncation, R as applySessionCompaction, S as archiveOldIslands, T as assertRestrictedWorkflowQuality, U as buildSessionTree, V as buildWorkflowCapsuleIntent, X as cleanupIncompleteToolCalls, Y as countActiveLineageMessages, Z as countTokens, $ as createSessionLineage, a0 as createWorkflowCapsule, a1 as createWorkflowModuleFromCapsule, a2 as estimateTokens, a3 as evictOldIslandMessageContent, a4 as extractArtifactLedger, a5 as extractFileOps, a6 as extractTitleFromMessages, a7 as findPreviousUserEntryId, a8 as forkSessionLineage, a9 as generateSessionId, aa as generateSessionIdSync, ab as getAgentConfigHome, ac as getAgentConfigPath, ad as getAppDataDir, ae as getSessionLineagePath, af as getSessionMessageEntryId, ag as getSessionMessagesFromLineage, ah as isPathInsideDirectory, ai as lintRestrictedWorkflowSource, aj as mergeArtifactLedger, ak as mergeFileOps, al as registerActiveRootQueueRoute, am as resolveActiveRootQueueRoute, an as resolveExecutionPath, ao as resolveSessionLineageTarget, ap as rewindSessionLineage, aq as setAgentConfigHome, ar as setSessionLineageActiveEntry, as as validateAndFixToolHistory, at as validateWorkflowCapsule, au as validateWorkflowScriptManifest } from './types-chunks/capsule.d-Dj1n6s0Y.js';
5
- import { co as Span, cJ as Trace, f as Agent, aR as Handoff, cb as RunnerToolCall, ce as RunnerToolResult, P as AgentMessage, O as AgentManifest, bP as ManifestPatch, aW as InvariantId, bY as QualityInvariant, b1 as KodaXInputArtifactSource, a$ as KodaXImageMediaType, b3 as KodaXVideoMediaType, aZ as KodaXFileInputArtifact, a_ as KodaXImageInputArtifact, b2 as KodaXVideoInputArtifact, b0 as KodaXInputArtifact, au as DiscoveredInstance, cm as SessionMeta, cn as SessionStateSnapshot, cw as StateWriterFs, aV as InstanceDiscoveryFs, cv as StateWriter, cy as StopHookContext, cA as StopHookResult, cz as StopHookFn, br as LearningActionDriver, bB as LearningQuery, bA as LearningPage, bd as LearnedCapabilityRecord, bG as LearningSurfaceSnapshot, bw as LearningEvent, bF as LearningSubscribeOptions, by as LearningExplicitUserAuthority, b5 as LearnedAreaStore, bg as LearnedCapabilityScope, an as CompactionUpdate, ah as CompactionConfig, ak as CompactionRequestMetrics, ai as CompactionDetails, al as CompactionResult, dt as WorkflowRunState, d6 as WorkflowOutcome, cT as WorkflowApi, d5 as WorkflowModule, cS as WorkflowAgentBackend, d1 as WorkflowLimits, cY as WorkflowEvent, d2 as WorkflowLogEvent, dz as WorkflowTaskResult, H as AgentExecutorPlaneStore, ao as CreateAgentExecutorPlaneOptions, D as AgentExecutorPlane, aE as ExternalAgentProtocol, B as AgentExecutorFactory } from './types-chunks/controller.d-J2t1q8Ly.js';
6
- export { A as ASK_USER_BACK_SIGNAL, a as ASK_USER_CUSTOM_INPUT_SIGNAL, b as AdmissionAuditOptions, c as AdmissionCtx, d as AdmissionVerdict, e as AdmittedHandle, g as AgentActorController, h as AgentArtifactPolicy, i as AgentArtifactPolicyDecision, j as AgentArtifactPolicyInput, k as AgentArtifactReference, l as AgentCapabilityDeclaration, m as AgentCapabilityRequirements, n as AgentContinuationInput, o as AgentControllerHealth, p as AgentControllerOptions, q as AgentCredentialBroker, r as AgentDispatchContext, s as AgentDispatchPolicy, t as AgentDispatchPolicyDecision, u as AgentDispatchPolicyInput, v as AgentDispatchabilitySnapshot, w as AgentDispatchabilityStatus, x as AgentEffectDeclaration, y as AgentExecutor, z as AgentExecutorEvent, C as AgentExecutorFactoryContext, E as AgentExecutorPlaneBackgroundErrorContext, F as AgentExecutorPlaneBackgroundErrorHandler, G as AgentExecutorPlaneBinding, I as AgentExecutorPreflightResult, J as AgentExecutorProtocol, K as AgentExecutorTaskReference, L as AgentExecutorTaskSnapshot, M as AgentJsonObject, N as AgentJsonValue, Q as AgentMiddlewareDeclaration, R as AgentPreflightInput, S as AgentPreflightResult, T as AgentReasoningProfile, U as AgentRegistrationEnabledMutationOptions, V as AgentRegistrationMutationOptions, W as AgentRegistrationService, X as AgentSpanData, Y as AgentTaskCancellation, Z as AgentTaskCorrelation, _ as AgentTaskEvent, $ as AgentTaskFilter, a0 as AgentTaskProgress, a1 as AgentTaskRegistrationSnapshot, a2 as AgentTaskService, a3 as AgentTaskSnapshot, a4 as AgentTaskStartInput, a5 as AgentTaskState, a6 as AgentTaskUsage, a7 as AgentTool, a8 as AskUserAnswer, a9 as AskUserCustomInputAnswer, aa as AskUserMultiOptions, ab as AskUserQuestionItem, ac as AskUserQuestionOptions, ad as AskUserSelectionAnswer, ae as CapabilitySupport, af as CommitLearnedSkillRevisionInput, ag as CompactionAnchor, aj as CompactionReport, am as CompactionSpanData, ap as CreateLearnedSkillRecordInput, aq as CurrentTodoSummary, ar as DEFAULT_SYSTEM_CAP, as as DeclarativeSkillSpec, at as Deliverable, av as DiscoveryOptions, aw as DispatchableAgentDescriptor, ax as DispatchableAgentListing, ay as DispatchableAgentOrigin, az as DispatchableAgentQuery, aA as EvidenceSpanData, aB as ExactInvokedSkillSnapshot, aC as ExternalAgentEffectDeclaration, aD as ExternalAgentHealth, aF as ExternalAgentRegistration, aG as ExternalAgentRegistrationSummary, aH as FanoutSpanData, aI as FileOperations, aJ as GenerationSpanData, aK as Guardrail, aL as GuardrailBlockedError, aM as GuardrailContext, aN as GuardrailEscalateError, aO as GuardrailPermissionIntent, aP as GuardrailSpanData, aQ as GuardrailVerdict, aS as HandoffSpanData, aT as InMemorySessionOptions, aU as InputGuardrail, aX as InvariantResult, aY as InvariantSession, b4 as LearnedAreaPaths, b6 as LearnedCapabilityArtifact, b7 as LearnedCapabilityCanary, b8 as LearnedCapabilityCanaryBinding, b9 as LearnedCapabilityCanaryInvocation, ba as LearnedCapabilityCarrier, bb as LearnedCapabilityLifecycle, bc as LearnedCapabilityProvenance, be as LearnedCapabilityRecordV1, bf as LearnedCapabilityRecordV2, bh as LearnedCapabilitySource, bi as LearnedSkillBindingAdmission, bj as LearnedSkillCanaryOutcome, bk as LearnedSkillDecisionDisposition, bl as LearnedSkillInvocationAdmission, bm as LearnedSkillInvokedReceipt, bn as LearnedSkillOfferedReceipt, bo as LearnedSkillOutcomeReceipt, bp as LearnedSkillUsageReceipt, bq as LearningAction, bs as LearningCapabilityError, bt as LearningCapabilityErrorCode, bu as LearningClientEventState, bv as LearningClientRecord, bx as LearningEventKind, bz as LearningNotificationState, bC as LearningReviewEvidencePacket, bD as LearningReviewQualification, bE as LearningReviewVerifierFact, bH as LocalAgentTaskInput, bI as LocalAgentTaskUpdate, bJ as MAX_TOOL_LOOP_ITERATIONS, bK as ManagedChildCleanupSummary, bL as ManagedChildProcessMetadata, bM as ManagedChildRegistrationOptions, bN as ManagedRunChildCleanupResult, bO as ManagedRunChildProcessReference, bQ as MemoryDecisionTraceReceipt, bR as MessageEntry, bS as NormalizedLearnedSkillDecision, bT as ObserveCtx, bU as OutputGuardrail, bV as PersistedSessionState, bW as PresetDispatcher, bX as PresetTracingContext, bZ as ReadonlyMutationTracker, b_ as ReadonlyRecorder, b$ as ReasoningDepth, c0 as RecentlyModifiedFile, c1 as RunEvent, c2 as RunOptions, c3 as RunResult, c4 as RunnableTool, c5 as Runner, c6 as RunnerEvent, c7 as RunnerIterationLimitError, c8 as RunnerLlmResult, c9 as RunnerLlmReturn, ca as RunnerRecoveryTranscriptCarrier, cc as RunnerToolContext, cd as RunnerToolObserver, cf as RunnerToolResultBatch, cg as RunnerToolResultBatchTransform, ch as Session, ci as SessionDispatchResult, cj as SessionEntry, ck as SessionExtension, cl as SessionForkOptions, cp as SpanData, cq as SpanError, cr as SpanImpl, cs as SpanImplOptions, ct as StagedLearnedSkillArtifact, cu as StartTraceOptions, cx as StateWriterOptions, cB as StopHookSpanData, cC as SystemCap, cD as TerminalCtx, cE as ToolBeforeOutcome, cF as ToolCallSpanData, cG as ToolCapability, cH as ToolGuardrail, cI as ToolPermission, cK as TraceOptions, cL as Tracer, cM as TracerOptions, cN as UnifiedLearningReviewModelInput, cO as UnifiedLearningReviewResult, cP as UnifiedLearningReviewRunner, cQ as UserInteraction, cR as UserInteractionPromptContext, cU as WorkflowApproval, cV as WorkflowApprovalSummary, cW as WorkflowArtifactRef, cX as WorkflowBudget, cZ as WorkflowEventCorrelation, c_ as WorkflowEventRecorder, c$ as WorkflowEventType, d0 as WorkflowIsolation, d3 as WorkflowMeta, d4 as WorkflowModelHint, d7 as WorkflowOutcomeError, d8 as WorkflowOutcomeResult, d9 as WorkflowOutcomeStatus, da as WorkflowOutcomeUsage, db as WorkflowParallelOptions, dc as WorkflowProcessArtifact, dd as WorkflowProcessCounts, de as WorkflowProcessEvent, df as WorkflowProcessItem, dg as WorkflowProcessItemKind, dh as WorkflowProcessItemOrigin, di as WorkflowProcessItemStatus, dj as WorkflowProcessProgress, dk as WorkflowProcessSnapshot, dl as WorkflowProcessSource, dm as WorkflowProcessStatus, dn as WorkflowProcessSummaryStatus, dp as WorkflowProcessTokenUsage, dq as WorkflowProcessTracker, dr as WorkflowProcessTrackerOptions, ds as WorkflowRun, du as WorkflowRunStatus, dv as WorkflowSpawnAgentInput, dw as WorkflowSynthesis, dx as WorkflowSynthesizeInput, dy as WorkflowTaskHandle, dA as WorkflowTaskSnapshot, dB as WorkflowTaskStatus, dC as WorkflowTaskSummaryEventUpdate, dD as WorkflowTaskSummaryKind, dE as WorkflowTaskSummaryUpdate, dF as WorkflowTaskUsage, dG as WorkflowTaskVerification, dH as WorkflowTaskVerificationResult, dI as WorkflowWaitOptions, dJ as _resetAdmittedAgentBindings, dK as _resetPresetDispatchers, dL as admitAndRecordLearnedSkillInvocation, dM as admitLearnedSkillBinding, dN as asSingleSelection, dO as assertLearnedCapabilityTransition, dP as attachRunnerRecoveryTranscript, dQ as buildAssistantMessageFromLlmResult, dR as buildSystemPrompt, dS as buildToolResultMessage, dT as canTransitionLearnedCapability, dU as cleanupManagedRunChildProcess, dV as cleanupRegisteredManagedChildren, dW as collectGuardrails, dX as commitLearnedSkillRevision, dY as completeLearnedSkillOutcome, dZ as completeLearnedSkillSessionOutcomes, d_ as createAgent, d$ as createAgentActorController, e0 as createHandoff, e1 as createInMemorySession, e2 as createInvariantSessionForAgent, e3 as createLearnedCapabilityScope, e4 as createLearnedSkillRecord, e5 as createStateWriter, e6 as createTrace, e7 as createWorkflowProcessTracker, e8 as defaultTracer, e9 as detectInstructionsInjection, ea as discoverInstances, eb as eventFromCapability, ec as exactInvokedSkillSnapshotForSession, ed as executeRunnerToolCall, ee as extractAssistantTextFromMessage, ef as getActiveUserInteraction, eg as getAdmittedAgentBindings, eh as invokeLearnedSkillCanary, ei as isAskUserCustomInputAnswer, ej as isFinalWorkflowProcessStatus, ek as isLearnedCapabilityRecordV2, el as isRunnableTool, em as isRunnerIterationLimitError, en as isRunnerLlmResult, eo as isUnifiedLearningReviewModelInput, ep as learningEventIdFor, eq as learningEventKindForLifecycle, er as listLearnedSkillUsageReceipts, es as normalizeHostMetadata, et as normalizeUnifiedLearningReview, eu as quarantineLearnedSkillRevision, ev as readRunnerRecoveryTranscript, ew as reconcileLearnedSkillBindingOutcomes, ex as recordLearnedSkillOffered, ey as registerManagedChildProcess, ez as registerPresetDispatcher, eA as releaseLearnedSkillBinding, eB as renderDeclarativeSkill, eC as resolveLearnedAreaPaths, eD as resolveProjectLearnedAreaRoot, eE as runAdmissionAudit, eF as runInputGuardrails, eG as runOutputGuardrails, eH as runToolAfterGuardrails, eI as runToolBeforeGuardrails, eJ as sanitizeUnifiedLearningReviewInput, eK as setActiveUserInteraction, eL as setAdmittedAgentBindings, eM as slugifyLearnedCapabilityName, eN as stageLearnedSkillRevision, eO as validateDeclarativeSkillSpec } from './types-chunks/controller.d-J2t1q8Ly.js';
7
- import { i as KodaXImageBlock, k as KodaXMessage, a3 as KodaXToolDefinition, a8 as KodaXToolUseBlock, I as KodaXReasoningRequest, e as KodaXEphemeralSuffix, a2 as KodaXTokenUsage } from './types-chunks/types.d-BrQMB-hy.js';
8
- export { K as KodaXAssuranceIntent, c as KodaXContentBlock, f as KodaXExecutionMode, g as KodaXExecutionPattern, m as KodaXMutationSurface, r as KodaXProviderConfig, z as KodaXProviderStreamOptions, C as KodaXReasoningCapability, G as KodaXReasoningMode, L as KodaXRedactedThinkingBlock, N as KodaXRiskLevel, P as KodaXStreamResult, Q as KodaXTaskActionability, R as KodaXTaskBudgetOverrides, S as KodaXTaskComplexity, T as KodaXTaskFamily, U as KodaXTaskResultMetadata, V as KodaXTaskResultSource, W as KodaXTaskRoutingDecision, X as KodaXTaskType, Y as KodaXTaskWorkIntent, Z as KodaXTextBlock, _ as KodaXThinkingBlock, $ as KodaXThinkingBudgetMap, a0 as KodaXThinkingDepth, a4 as KodaXToolResultBlock } from './types-chunks/types.d-BrQMB-hy.js';
9
- import { C as CapabilityCache, b as CapabilityCacheSource } from './types-chunks/capability-learning.d-gRtO03f6.js';
10
- export { a as CapabilityCacheEntry } from './types-chunks/capability-learning.d-gRtO03f6.js';
11
- export { C as CapabilityKind, a as CapabilityProvider, b as CapabilityResult, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-Ch5Vos33.js';
1
+ import { a_ as MemoryContextIdentity, aQ as MemoryActionProposal, b6 as MemoryItemRef, aR as MemoryApplicability, ax as KodaXSessionLineage, al as KodaXMemoryOutcomeDigest, at as KodaXSessionEntry, aG as KodaXSessionStorage, as as KodaXSessionData, af as KodaXGoalState, ae as KodaXGoalEventType, av as KodaXSessionGoalEntry, ao as KodaXSessionArtifactLedgerEntry, ac as KodaXExtensionStore, ad as KodaXExtensionStoreEntry, ai as KodaXJsonValue, o as AgentBudgetExhausted, G as AgentMetadataValue, D as AgentLimitReached } from './types-chunks/review-inbox.d-BeaLRNHx.js';
2
+ export { A as AgentActor, a as AgentActorClient, b as AgentActorOwner, c as AgentActorSaveAttempt, d as AgentActorSaveDiagnostics, e as AgentActorSavePhase, f as AgentActorSaveTiming, g as AgentActorSnapshot, h as AgentActorSnapshotV1, i as AgentActorSnapshotV2, j as AgentActorState, k as AgentActorStore, l as AgentArtifactDescriptor, m as AgentBudgetAdmission, n as AgentBudgetAdmissionInput, p as AgentBudgetPort, q as AgentCapabilities, r as AgentDataClassification, s as AgentDetail, t as AgentEvent, u as AgentEventKind, v as AgentExecutionInput, w as AgentExecutionKind, x as AgentExecutionResult, y as AgentFollowupResult, z as AgentForkTurns, B as AgentInterruptScope, C as AgentIterationProgress, E as AgentListEntry, F as AgentMailboxMessage, H as AgentMutationOptions, I as AgentOutput, J as AgentProgressItem, K as AgentProgressKind, L as AgentProgressUpdate, M as AgentSpawnInput, N as AgentTreeSnapshot, O as AgentTurn, P as AgentTurnExecutor, Q as AgentTurnRef, R as AgentTurnState, S as AgentTurnSummary, T as EpisodeReviewActionInput, U as EpisodeReviewActionReceipt, V as EpisodeReviewBranchChangedError, W as EpisodeReviewClaim, X as EpisodeReviewDecision, Y as EpisodeReviewDecisionInput, Z as EpisodeReviewDrainEligibility, _ as EpisodeReviewDrainOptions, $ as EpisodeReviewDrainResult, a0 as EpisodeReviewFailure, a1 as EpisodeReviewFailureKind, a2 as EpisodeReviewInputCheckpoint, a3 as EpisodeReviewInputSpec, a4 as EpisodeReviewJobSnapshot, a5 as EpisodeReviewJobState, a6 as EpisodeReviewJobStatus, a7 as EpisodeReviewReceipt, a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ag as KodaXGoalStatus, ah as KodaXHandledMemoryOperation, aj as KodaXMemoryInfluenceRef, ak as KodaXMemoryIntent, am as KodaXMemoryOutcomeEvidence, an as KodaXSessionArchiveMarkerEntry, ap as KodaXSessionBranchSummaryEntry, aq as KodaXSessionClientNoticeEntry, ar as KodaXSessionCompactionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, ay as KodaXSessionMemoryOutcomeDigestEntry, az as KodaXSessionMemoryReviewReceiptEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aD as KodaXSessionRewindMarkerEntry, aE as KodaXSessionRuntimeInfo, aF as KodaXSessionScope, aH as KodaXSessionTreeNode, aI as KodaXSessionUiHistoryItem, aJ as KodaXSessionUiHistoryItemType, aK as KodaXSessionUiTextHistoryItem, aL as KodaXSessionUiTextHistoryItemType, aM as KodaXSessionUiToolCall, aN as KodaXSessionUiToolCallStatus, aO as KodaXSessionUiToolGroupHistoryItem, aP as KodaXSessionWorkspaceKind, aS as MemoryApplyPreview, aT as MemoryApplyResult, aU as MemoryApproval, aV as MemoryAuthority, aY as MemoryBodySnapshot, aZ as MemoryClaimKind, a$ as MemoryController, b0 as MemoryCuratorInput, b1 as MemoryEpisodeReviewResult, b2 as MemoryEvent, b3 as MemoryGovernanceFinding, b4 as MemoryGovernanceFindingKind, b5 as MemoryGovernanceReport, b7 as MemoryLifecycle, b8 as MemoryLifecycleOperationResult, b9 as MemoryManagementController, ba as MemoryPack, bb as MemoryPackHint, bc as MemoryPackInput, bd as MemoryPackTraceMetadata, be as MemoryProposalAction, bf as MemoryRefFilter, bg as MemoryRefKind, bh as MemoryRejectResult, bi as MemoryRememberInput, bj as MemoryRememberResult, bk as MemoryReviewCandidateRef, bl as MemoryReviewDraftAction, bm as MemoryReviewInput, bn as MemoryReviewModelInput, bo as MemoryReviewPersistenceDecision, bp as MemoryReviewPersistenceKind, bq as MemoryReviewPlan, br as MemoryReviewRunner, bs as MemoryReviewTrigger, bt as MemoryScope, bu as MemorySourceAdapter, bv as MemoryVisibility, bw as PendingEpisodeReview, bx as PendingEpisodeReviewFilter, by as PendingEpisodeReviewSummary, bz as PendingEpisodeReviewV1, bA as PendingEpisodeReviewV2, bB as SessionErrorMetadata, bC as captureEpisodeReviewBranchEpoch, bD as claimEpisodeReview, bE as commitEpisodeReviewAction, bF as commitEpisodeReviewDecision, bG as completeEpisodeReview, bH as completeFencedEpisodeReview, bI as deferEpisodeReview, bJ as discardFencedEpisodeReview, bK as drainPendingEpisodeReviews, bL as failEpisodeReviewApply, bM as failEpisodeReviewAttempt, bN as freezeEpisodeReviewInput, bO as hashMemoryIdentityComponent, bP as inspectEpisodeReviewJob, bQ as isMemoryManagementController, bR as listPendingEpisodeReviewSummaries, bS as listPendingEpisodeReviews, bT as matchesMemoryApplicability, bU as memoryApplicabilityFingerprint, bV as persistPendingEpisodeReview, bW as withEpisodeReviewClaimAuthority, bX as withPendingEpisodeReviewSessionFence } from './types-chunks/review-inbox.d-BeaLRNHx.js';
3
+ export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, d as CreateWorkflowCapsuleInput, D as DefaultSummaryCompaction, e as DefaultSummaryCompactionOptions, K as KODAX_API_MIN_INTERVAL, f as KODAX_DEFAULT_TIMEOUT, g as KODAX_HARD_TIMEOUT, h as KODAX_MAX_INCOMPLETE_RETRIES, i as KODAX_MAX_MAXTOKENS_RETRIES, j as KODAX_MAX_RETRIES, k as KODAX_MAX_TOKENS, l as KODAX_RETRY_BASE_DELAY, m as KODAX_STAGGER_DELAY, L as LINEAGE_ENTRY_TYPES, n as LineageArtifactLedgerPayload, o as LineageCompaction, p as LineageCompactionDelegates, q as LineageEntryType, r as LineageExtension, s as LineageLabelPayload, t as LineageTreeNode, P as PROMISE_PATTERN, u as PolicyCompactionResult, W as WORKFLOW_CAPSULE_API_VERSION, v as WORKFLOW_CAPSULE_FORMAT, w as WORKFLOW_CAPSULE_VERSION, x as WorkflowCapsule, y as WorkflowCapsuleEnvironmentRequirement, z as WorkflowCapsuleInputs, A as WorkflowCapsuleIntent, B as WorkflowCapsuleProvenance, E as WorkflowCapsuleRequirements, F as WorkflowQualityLintFinding, G as WorkflowQualityLintOptions, H as WorkflowQualityLintSeverity, _ as _resetActiveRootQueueRoutesForTests, I as actorQueueId, J as appendSessionLineageLabel, M as applyLineageTruncation, N as applySessionCompaction, O as archiveOldIslands, Q as assertRestrictedWorkflowQuality, R as buildSessionTree, S as buildWorkflowCapsuleIntent, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, Y as createWorkflowCapsule, Z as createWorkflowModuleFromCapsule, $ as estimateTokens, a0 as evictOldIslandMessageContent, a1 as extractArtifactLedger, a2 as extractFileOps, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a7 as generateSessionIdSync, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ac as getSessionMessageEntryId, ad as getSessionMessagesFromLineage, ae as isPathInsideDirectory, af as lintRestrictedWorkflowSource, ag as mergeArtifactLedger, ah as mergeFileOps, ai as registerActiveRootQueueRoute, aj as resolveActiveRootQueueRoute, ak as resolveExecutionPath, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory, aq as validateWorkflowCapsule } from './types-chunks/capsule.d-B4atvlxE.js';
4
+ import { aQ as Span, b9 as Trace, d as Agent, K as Handoff, aD as RunnerToolCall, aG as RunnerToolResult, i as AgentMessage, h as AgentManifest, a9 as ManifestPatch, P as InvariantId, al as QualityInvariant, am as QueueEventListener, ao as QueuedMessage, E as EnqueueInput, s as DequeueFilter, ae as MessagePriority, an as QueuedInputArtifact, t as DiscoveredInstance, aO as SessionMeta, aP as SessionStateSnapshot, aY as StateWriterFs, O as InstanceDiscoveryFs, aX as StateWriter, a_ as StopHookContext, b0 as StopHookResult, a$ as StopHookFn, T as LearnedAreaStore } from './types-chunks/controller.d-yyKajPTi.js';
5
+ export { A as AdmissionAuditOptions, a as AdmissionCtx, b as AdmissionVerdict, c as AdmittedHandle, e as AgentActorController, f as AgentControllerHealth, g as AgentControllerOptions, j as AgentMiddlewareDeclaration, k as AgentReasoningProfile, l as AgentSpanData, m as AgentTool, C as CommitLearnedSkillRevisionInput, n as CompactionSpanData, o as CreateLearnedSkillRecordInput, p as CurrentTodoSummary, D as DEFAULT_SYSTEM_CAP, q as DeclarativeSkillSpec, r as Deliverable, u as DiscoveryOptions, v as EvidenceSpanData, w as ExactInvokedSkillSnapshot, F as FanoutSpanData, G as GenerationSpanData, x as Guardrail, y as GuardrailBlockedError, z as GuardrailContext, B as GuardrailEscalateError, H as GuardrailPermissionIntent, I as GuardrailSpanData, J as GuardrailVerdict, L as HandoffSpanData, M as InMemorySessionOptions, N as InputGuardrail, Q as InvariantResult, R as InvariantSession, S as LearnedAreaPaths, U as LearnedSkillBindingAdmission, V as LearnedSkillCanaryOutcome, W as LearnedSkillDecisionDisposition, X as LearnedSkillInvocationAdmission, Y as LearnedSkillInvokedReceipt, Z as LearnedSkillOfferedReceipt, _ as LearnedSkillOutcomeReceipt, $ as LearnedSkillUsageReceipt, a0 as LearningReviewEvidencePacket, a1 as LearningReviewQualification, a2 as LearningReviewVerifierFact, a3 as MAX_TOOL_LOOP_ITERATIONS, a4 as ManagedChildCleanupSummary, a5 as ManagedChildProcessMetadata, a6 as ManagedChildRegistrationOptions, a7 as ManagedRunChildCleanupResult, a8 as ManagedRunChildProcessReference, aa as MemoryDecisionTraceReceipt, ab as MessageDelivery, ac as MessageEntry, ad as MessageMode, af as NormalizedLearnedSkillDecision, ag as ObserveCtx, ah as OutputGuardrail, ai as PersistedSessionState, aj as PresetDispatcher, ak as PresetTracingContext, ap as ReadonlyMutationTracker, aq as ReadonlyRecorder, ar as ReasoningDepth, as as RecentlyModifiedFile, at as RunEvent, au as RunOptions, av as RunResult, aw as RunnableTool, ax as Runner, ay as RunnerEvent, az as RunnerIterationLimitError, aA as RunnerLlmResult, aB as RunnerLlmReturn, aC as RunnerRecoveryTranscriptCarrier, aE as RunnerToolContext, aF as RunnerToolObserver, aH as RunnerToolResultBatch, aI as RunnerToolResultBatchTransform, aJ as Session, aK as SessionDispatchResult, aL as SessionEntry, aM as SessionExtension, aN as SessionForkOptions, aR as SpanData, aS as SpanError, aT as SpanImpl, aU as SpanImplOptions, aV as StagedLearnedSkillArtifact, aW as StartTraceOptions, aZ as StateWriterOptions, b1 as StopHookSpanData, b2 as SystemCap, b3 as TerminalCtx, b4 as ToolBeforeOutcome, b5 as ToolCallSpanData, b6 as ToolCapability, b7 as ToolGuardrail, b8 as ToolPermission, ba as TraceOptions, bb as Tracer, bc as TracerOptions, bd as UnifiedLearningReviewModelInput, be as UnifiedLearningReviewResult, bf as UnifiedLearningReviewRunner, bg as _resetAdmittedAgentBindings, bh as _resetPresetDispatchers, bi as admitAndRecordLearnedSkillInvocation, bj as admitLearnedSkillBinding, bk as attachRunnerRecoveryTranscript, bl as buildAssistantMessageFromLlmResult, bm as buildSystemPrompt, bn as buildToolResultMessage, bo as cleanupManagedRunChildProcess, bp as cleanupRegisteredManagedChildren, bq as collectGuardrails, br as commitLearnedSkillRevision, bs as completeLearnedSkillOutcome, bt as completeLearnedSkillSessionOutcomes, bu as createAgent, bv as createAgentActorController, bw as createHandoff, bx as createInMemorySession, by as createInvariantSessionForAgent, bz as createLearnedCapabilityScope, bA as createLearnedSkillRecord, bB as createStateWriter, bC as createTrace, bD as defaultTracer, bE as detectInstructionsInjection, bF as discoverInstances, bG as eventFromCapability, bH as exactInvokedSkillSnapshotForSession, bI as executeRunnerToolCall, bJ as extractAssistantTextFromMessage, bK as getAdmittedAgentBindings, bL as invokeLearnedSkillCanary, bM as isLearnedCapabilityRecordV2, bN as isRunnableTool, bO as isRunnerIterationLimitError, bP as isRunnerLlmResult, bQ as isUnifiedLearningReviewModelInput, bR as listLearnedSkillUsageReceipts, bS as normalizeUnifiedLearningReview, bT as quarantineLearnedSkillRevision, bU as readRunnerRecoveryTranscript, bV as reconcileLearnedSkillBindingOutcomes, bW as recordLearnedSkillOffered, bX as registerManagedChildProcess, bY as registerPresetDispatcher, bZ as releaseLearnedSkillBinding, b_ as renderDeclarativeSkill, b$ as resolveLearnedAreaPaths, c0 as resolveProjectLearnedAreaRoot, c1 as runAdmissionAudit, c2 as runInputGuardrails, c3 as runOutputGuardrails, c4 as runToolAfterGuardrails, c5 as runToolBeforeGuardrails, c6 as sanitizeUnifiedLearningReviewInput, c7 as setAdmittedAgentBindings, c8 as stageLearnedSkillRevision, c9 as validateDeclarativeSkillSpec } from './types-chunks/controller.d-yyKajPTi.js';
6
+ import { i as KodaXImageBlock, k as KodaXMessage, a3 as KodaXToolDefinition, a8 as KodaXToolUseBlock, I as KodaXReasoningRequest, e as KodaXEphemeralSuffix, a2 as KodaXTokenUsage } from './types-chunks/types.d-BjOq57-z.js';
7
+ export { K as KodaXAssuranceIntent, c as KodaXContentBlock, f as KodaXExecutionMode, g as KodaXExecutionPattern, m as KodaXMutationSurface, r as KodaXProviderConfig, z as KodaXProviderStreamOptions, C as KodaXReasoningCapability, G as KodaXReasoningMode, L as KodaXRedactedThinkingBlock, N as KodaXRiskLevel, P as KodaXStreamResult, Q as KodaXTaskActionability, R as KodaXTaskBudgetOverrides, S as KodaXTaskComplexity, T as KodaXTaskFamily, U as KodaXTaskResultMetadata, V as KodaXTaskResultSource, W as KodaXTaskRoutingDecision, X as KodaXTaskType, Y as KodaXTaskWorkIntent, Z as KodaXTextBlock, _ as KodaXThinkingBlock, $ as KodaXThinkingBudgetMap, a0 as KodaXThinkingDepth, a4 as KodaXToolResultBlock } from './types-chunks/types.d-BjOq57-z.js';
8
+ import { C as CapabilityCache, b as CapabilityCacheSource } from './types-chunks/capability-learning.d-B4pxKwP4.js';
9
+ export { a as CapabilityCacheEntry } from './types-chunks/capability-learning.d-B4pxKwP4.js';
10
+ export { C as CapabilityKind, a as CapabilityProvider, b as CapabilityResult, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DOF3r0fJ.js';
12
11
  export { I as ImageValidation, v as validateImageBytes } from './types-chunks/image-validation.d-ACJcj02o.js';
13
12
  import { ChildProcess } from 'node:child_process';
14
- import { Q as QueueEventListener, d as QueuedMessage, E as EnqueueInput, D as DequeueFilter, b as MessagePriority, c as QueuedInputArtifact } from './types-chunks/types.d-B1l9pWyX.js';
15
- export { M as MessageDelivery, a as MessageMode } from './types-chunks/types.d-B1l9pWyX.js';
16
- import { K as KodaXBaseProvider } from './types-chunks/base.d-Bt9lhwSV.js';
17
- export { C as CreateMemoryControlPlaneOptions, M as MemoryControlPlane, c as createMemoryControlPlane } from './types-chunks/controller.d-C0IM1Tud.js';
18
- export { E as EpisodeReviewActionInput, a as EpisodeReviewActionReceipt, b as EpisodeReviewBranchChangedError, c as EpisodeReviewClaim, d as EpisodeReviewDecision, e as EpisodeReviewDecisionInput, f as EpisodeReviewDrainEligibility, g as EpisodeReviewDrainOptions, h as EpisodeReviewDrainResult, i as EpisodeReviewFailure, j as EpisodeReviewFailureKind, k as EpisodeReviewInputCheckpoint, l as EpisodeReviewInputSpec, m as EpisodeReviewJobSnapshot, n as EpisodeReviewJobState, o as EpisodeReviewJobStatus, p as EpisodeReviewReceipt, P as PendingEpisodeReview, q as PendingEpisodeReviewFilter, r as PendingEpisodeReviewSummary, s as PendingEpisodeReviewV1, t as PendingEpisodeReviewV2, u as captureEpisodeReviewBranchEpoch, v as claimEpisodeReview, w as commitEpisodeReviewAction, x as commitEpisodeReviewDecision, y as completeEpisodeReview, z as completeFencedEpisodeReview, A as deferEpisodeReview, B as discardFencedEpisodeReview, C as drainPendingEpisodeReviews, D as failEpisodeReviewApply, F as failEpisodeReviewAttempt, G as freezeEpisodeReviewInput, H as inspectEpisodeReviewJob, I as listPendingEpisodeReviewSummaries, J as listPendingEpisodeReviews, K as persistPendingEpisodeReview, L as withEpisodeReviewClaimAuthority, M as withPendingEpisodeReviewSessionFence } from './types-chunks/review-inbox.d-CTeUIKda.js';
13
+ import { an as KodaXInputArtifactSource, al as KodaXImageMediaType, ap as KodaXVideoMediaType, aj as KodaXFileInputArtifact, ak as KodaXImageInputArtifact, ao as KodaXVideoInputArtifact, am as KodaXInputArtifact, aD as LearningActionDriver, aN as LearningQuery, aM as LearningPage, ax as LearnedCapabilityRecord, aP as LearningSurfaceSnapshot, aI as LearningEvent, aO as LearningSubscribeOptions, aK as LearningExplicitUserAuthority, aA as LearnedCapabilityScope, a7 as CompactionUpdate, a2 as CompactionConfig, a5 as CompactionRequestMetrics, a3 as CompactionDetails, a6 as CompactionResult, bC as WorkflowRunState, be as WorkflowOutcome, a$ as WorkflowApi, bd as WorkflowModule, a_ as WorkflowAgentBackend, b9 as WorkflowLimits, b4 as WorkflowEvent, ba as WorkflowLogEvent, bI as WorkflowTaskResult, y as AgentExecutorPlaneStore, a8 as CreateAgentExecutorPlaneOptions, u as AgentExecutorPlane, af as ExternalAgentProtocol, s as AgentExecutorFactory } from './types-chunks/types.d-o7t9dds4.js';
14
+ export { A as ASK_USER_BACK_SIGNAL, a as ASK_USER_CUSTOM_INPUT_SIGNAL, b as AgentArtifactPolicy, c as AgentArtifactPolicyDecision, d as AgentArtifactPolicyInput, e as AgentArtifactReference, f as AgentCapabilityDeclaration, g as AgentCapabilityRequirements, h as AgentContinuationInput, i as AgentCredentialBroker, j as AgentDispatchContext, k as AgentDispatchPolicy, l as AgentDispatchPolicyDecision, m as AgentDispatchPolicyInput, n as AgentDispatchabilitySnapshot, o as AgentDispatchabilityStatus, p as AgentEffectDeclaration, q as AgentExecutor, r as AgentExecutorEvent, t as AgentExecutorFactoryContext, v as AgentExecutorPlaneBackgroundErrorContext, w as AgentExecutorPlaneBackgroundErrorHandler, x as AgentExecutorPlaneBinding, z as AgentExecutorPreflightResult, B as AgentExecutorProtocol, C as AgentExecutorTaskReference, D as AgentExecutorTaskSnapshot, E as AgentJsonObject, F as AgentJsonValue, G as AgentPreflightInput, H as AgentPreflightResult, I as AgentRegistrationEnabledMutationOptions, J as AgentRegistrationMutationOptions, K as AgentRegistrationService, L as AgentTaskCancellation, M as AgentTaskCorrelation, N as AgentTaskEvent, O as AgentTaskFilter, P as AgentTaskProgress, Q as AgentTaskRegistrationSnapshot, R as AgentTaskService, S as AgentTaskSnapshot, T as AgentTaskStartInput, U as AgentTaskState, V as AgentTaskUsage, W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a0 as CapabilitySupport, a1 as CompactionAnchor, a4 as CompactionReport, a9 as DispatchableAgentDescriptor, aa as DispatchableAgentListing, ab as DispatchableAgentOrigin, ac as DispatchableAgentQuery, ad as ExternalAgentEffectDeclaration, ae as ExternalAgentHealth, ag as ExternalAgentRegistration, ah as ExternalAgentRegistrationSummary, ai as FileOperations, aq as LearnedCapabilityArtifact, ar as LearnedCapabilityCanary, as as LearnedCapabilityCanaryBinding, at as LearnedCapabilityCanaryInvocation, au as LearnedCapabilityCarrier, av as LearnedCapabilityLifecycle, aw as LearnedCapabilityProvenance, ay as LearnedCapabilityRecordV1, az as LearnedCapabilityRecordV2, aB as LearnedCapabilitySource, aC as LearningAction, aE as LearningCapabilityError, aF as LearningCapabilityErrorCode, aG as LearningClientEventState, aH as LearningClientRecord, aJ as LearningEventKind, aL as LearningNotificationState, aQ as LocalAgentTaskInput, aR as LocalAgentTaskUpdate, aS as ManagedRunClassification, aT as ManagedRunHooks, aU as ManagedWorkflowRun, aV as ManagedWorkflowSnapshot, aW as ManagedWorkflowStatus, aX as StartManagedRunInput, aY as UserInteraction, aZ as UserInteractionPromptContext, b0 as WorkflowApproval, b1 as WorkflowApprovalSummary, b2 as WorkflowArtifactRef, b3 as WorkflowBudget, b5 as WorkflowEventCorrelation, b6 as WorkflowEventRecorder, b7 as WorkflowEventType, b8 as WorkflowIsolation, bb as WorkflowMeta, bc as WorkflowModelHint, bf as WorkflowOutcomeError, bg as WorkflowOutcomeResult, bh as WorkflowOutcomeStatus, bi as WorkflowOutcomeUsage, bj as WorkflowParallelOptions, bk as WorkflowProcessArtifact, bl as WorkflowProcessCounts, bm as WorkflowProcessEvent, bn as WorkflowProcessItem, bo as WorkflowProcessItemKind, bp as WorkflowProcessItemOrigin, bq as WorkflowProcessItemStatus, br as WorkflowProcessMetadata, bs as WorkflowProcessProgress, bt as WorkflowProcessSnapshot, bu as WorkflowProcessSource, bv as WorkflowProcessStatus, bw as WorkflowProcessSummaryStatus, bx as WorkflowProcessTokenUsage, by as WorkflowProcessTracker, bz as WorkflowProcessTrackerOptions, bA as WorkflowRun, bB as WorkflowRunManager, bD as WorkflowRunStatus, bE as WorkflowSpawnAgentInput, bF as WorkflowSynthesis, bG as WorkflowSynthesizeInput, bH as WorkflowTaskHandle, bJ as WorkflowTaskSnapshot, bK as WorkflowTaskStatus, bL as WorkflowTaskSummaryEventUpdate, bM as WorkflowTaskSummaryKind, bN as WorkflowTaskSummaryUpdate, bO as WorkflowTaskUsage, bP as WorkflowTaskVerification, bQ as WorkflowTaskVerificationResult, bR as WorkflowWaitOptions, bS as asSingleSelection, bT as assertLearnedCapabilityTransition, bU as canTransitionLearnedCapability, bV as createWorkflowProcessTracker, bW as createWorkflowRunManager, bX as getActiveUserInteraction, bY as getDefaultWorkflowRunManager, bZ as isAskUserCustomInputAnswer, b_ as isFinalWorkflowProcessStatus, b$ as learningEventIdFor, c0 as learningEventKindForLifecycle, c1 as normalizeHostMetadata, c2 as setActiveUserInteraction, c3 as slugifyLearnedCapabilityName } from './types-chunks/types.d-o7t9dds4.js';
15
+ import { K as KodaXBaseProvider } from './types-chunks/base.d-ZBOdjDUT.js';
16
+ export { C as CreateMemoryControlPlaneOptions, M as MemoryControlPlane, c as createMemoryControlPlane } from './types-chunks/controller.d-BkUJ_3sl.js';
19
17
  import { R as ResolvedSkillSource } from './types-chunks/types.d-Cb8RdrjU.js';
20
18
  export { I as ISkillRegistry, a as IVariableResolver, L as LearnedSkillDiscoveryConfig, S as Skill, b as SkillArtifact, c as SkillContext, d as SkillDynamicContextExecutor, e as SkillFile, f as SkillFrontmatter, g as SkillHook, h as SkillHooks, i as SkillMetadata, j as SkillPathsConfig, k as SkillResult, l as SkillSource, m as getDefaultSkillPaths, n as getSkillPathsFlat } from './types-chunks/types.d-Cb8RdrjU.js';
21
19
  export { M as McpConnectMode, a as McpServerConfig, b as McpServersConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
22
- export { M as McpCapabilityDescriptor, a as McpCapabilityKind, b as McpCapabilityProvider, c as McpCapabilityRisk, d as McpCatalogItem, e as McpDiscoveryCatalog, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, j as McpProviderOptions, k as McpReverseCapabilities, l as McpRoot, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-rtmywU9M.js';
20
+ export { M as McpCapabilityDescriptor, a as McpCapabilityKind, b as McpCapabilityProvider, c as McpCapabilityRisk, d as McpCatalogItem, e as McpDiscoveryCatalog, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, j as McpProviderOptions, k as McpReverseCapabilities, l as McpRoot, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-C_20XqCV.js';
23
21
  export { A as AuthorizationServerMetadata, D as DiscoveredOAuthEndpoints, M as McpAuthRequiredError, a as McpExpiredSessionError, b as McpTransport, c as McpTransportCleanupIncompleteError, d as McpTransportEvents, O as OAuthClientInfo, e as OAuthLoginConsent, P as PerformOAuthLoginOptions, f as ProtectedResourceMetadata, W as WwwAuthenticateChallenge, g as createMcpTransport, h as discoverAuthorizationServerMetadata, i as discoverOAuthEndpoints, j as discoverProtectedResourceMetadata, k as extractInsufficientScope, l as extractResourceMetadataUrl, m as loadValidToken, p as performOAuthLogin, r as registerOAuthClient } from './types-chunks/oauth-login.d-6i-vidxv.js';
24
22
  export { createMcpTestServerFixture } from './sdk-mcp.js';
25
23
  export { D as DiscoveryResult, E as ExecutionMode, a as ExecutionOptions, S as SkillExecutor, b as SkillExpansionResult, c as SkillRegistry, V as VariableResolver, d as clearPluginSkillPaths, e as createExecutor, f as createResolver, g as discoverSkills, h as discoverSkillsWithMonorepo, i as executeSkill, j as expandSkillForLLM, k as formatSkillActivationMessage, l as formatSkillsSystemPrompt, m as getNestedSkillPaths, n as getSkillRegistry, o as initializeSkillRegistry, p as listPluginSkillPaths, q as loadFullSkill, r as loadSkillFileContent, s as loadSkillMetadata, t as parseArguments, u as parseSkillMarkdown, v as registerPluginSkillPath, w as resetSkillRegistry, x as resolveSkillContent, y as unregisterPluginSkillPath } from './types-chunks/sdk-skills-DokfOoJF.js';
26
- export { K as KodaXSessionHistoryHit, a as KodaXSessionHistoryReadOptions, b as KodaXSessionHistoryReadResult, c as KodaXSessionHistoryScope, d as KodaXSessionHistorySearchOptions, e as KodaXSessionHistorySearchResult, f as KodaXSessionHistorySource, r as readSessionHistoryEntry, s as searchSessionHistory, g as searchSessionHistoryCooperatively, v as validateSessionHistorySearchQuery } from './types-chunks/history-retrieval.d-CPN5PMBV.js';
27
- export { M as ManagedRunClassification, a as ManagedRunHooks, b as ManagedWorkflowRun, c as ManagedWorkflowSnapshot, d as ManagedWorkflowStatus, S as StartManagedRunInput, W as WorkflowProcessMetadata, e as WorkflowRunManager, f as createWorkflowRunManager, g as getDefaultWorkflowRunManager } from './types-chunks/run-manager.d-hm1XgEou.js';
24
+ export { K as KodaXSessionHistoryHit, a as KodaXSessionHistoryReadOptions, b as KodaXSessionHistoryReadResult, c as KodaXSessionHistoryScope, d as KodaXSessionHistorySearchOptions, e as KodaXSessionHistorySearchResult, f as KodaXSessionHistorySource, r as readSessionHistoryEntry, s as searchSessionHistory, g as searchSessionHistoryCooperatively, v as validateSessionHistorySearchQuery } from './types-chunks/history-retrieval.d-JdFfkeF3.js';
25
+ import { b as WorkflowScriptManifest } from './types-chunks/manifest.d-Bw2i-zQi.js';
26
+ export { W as WORKFLOW_PATTERN_IDS, a as WorkflowPatternId, v as validateWorkflowScriptManifest } from './types-chunks/manifest.d-Bw2i-zQi.js';
28
27
 
29
28
  declare const CONTEXT_SAFETY_FLOOR_TOKENS = 2048;
30
29
  declare const CONTEXT_SAFETY_RATIO = 0.03;
@@ -509,11 +508,11 @@ declare const CORE_INVARIANTS: readonly QualityInvariant[];
509
508
  declare function registerCoreInvariants(): void;
510
509
 
511
510
  declare const CAPABILITY_CACHE_FILENAME = "capability-cache.json";
512
- declare function getCapabilityCacheFile(): string;
513
- declare function loadCapabilityCache(): CapabilityCache;
514
- declare function getCachedRejectedEfforts(provider: string, model: string | undefined): readonly string[];
515
- declare function recordRejectedEffort(provider: string, model: string | undefined, effort: string, source: CapabilityCacheSource, updatedAt: string): void;
516
- declare function clearCapabilityCache(provider?: string, model?: string): void;
511
+ declare function getCapabilityCacheFile(configHome?: string): string;
512
+ declare function loadCapabilityCache(configHome?: string): CapabilityCache;
513
+ declare function getCachedRejectedEfforts(provider: string, model: string | undefined, configHome?: string): readonly string[];
514
+ declare function recordRejectedEffort(provider: string, model: string | undefined, effort: string, source: CapabilityCacheSource, updatedAt: string, configHome?: string): void;
515
+ declare function clearCapabilityCache(provider?: string, model?: string, configHome?: string): void;
517
516
  declare function resetCapabilityCacheMemoForTesting(): void;
518
517
 
519
518
  interface GitInstallPromptOptions {
@@ -903,6 +902,8 @@ declare function validateInputArtifactsForModel(artifacts: readonly KodaXInputAr
903
902
 
904
903
  interface EnqueueWithArtifactsInput extends ValidateInputArtifactsOptions {
905
904
  readonly content: string;
905
+ /** Accepted client input identity stamped onto the drained user message. */
906
+ readonly inputId?: string;
906
907
  readonly inputArtifacts?: readonly KodaXInputArtifact[];
907
908
  readonly priority?: MessagePriority;
908
909
  /** Explicit low-level queue route. Mutually exclusive with sessionId. */
@@ -2537,6 +2538,11 @@ declare function acquireLearningFileLock(lockPath: string, acquireTimeoutMs?: nu
2537
2538
  /** Reclaim an abandoned lock through the same ticket queue used by writers. */
2538
2539
  declare function reclaimStaleLearningFileLock(lockPath: string): Promise<boolean>;
2539
2540
 
2541
+ /** Run an operation with a host call context that MCP reverse requests inherit. */
2542
+ declare function runWithMcpCallContext<T>(context: unknown, operation: () => T): T;
2543
+ /** The active host call context, when dispatched inside one. */
2544
+ declare function getActiveMcpCallContext(): unknown;
2545
+
2540
2546
  declare const SKILL_CREATOR_DISPATCH_ACTIONS: readonly ["init", "validate", "eval", "grade", "analyze", "compare", "package", "install"];
2541
2547
  type SkillCreatorDispatchAction = (typeof SKILL_CREATOR_DISPATCH_ACTIONS)[number];
2542
2548
  declare function isSkillCreatorDispatchAction(value: string | undefined): value is SkillCreatorDispatchAction;
@@ -2884,7 +2890,7 @@ declare const COMPACTED_HISTORY_RECOVERY_GUIDANCE = "\n\n## Exact history recove
2884
2890
  * Exported for unit testing.
2885
2891
  */
2886
2892
  declare function isEmptyLikeSummary(summary: string): boolean;
2887
- declare function needsCompaction(messages: KodaXMessage[], config: CompactionConfig, contextWindow?: number, tokenCountOverride?: number, reservedResponseTokens?: number): boolean;
2893
+ declare function needsCompaction(messages: KodaXMessage[], config: CompactionConfig, contextWindow?: number, tokenCountOverride?: number, reservedResponseTokens?: number, onPolicy?: (policy: ResolvedCompactionPolicy) => void): boolean;
2888
2894
  declare function compact(messages: KodaXMessage[], config: CompactionConfig, provider: KodaXBaseProvider, contextWindow?: number, customInstructions?: string, systemPrompt?: string, tokenCountOverride?: number, summaryPrompt?: string, updateSummaryPrompt?: string, modelOverride?: string, force?: boolean, reservedResponseTokens?: number, cacheContext?: CompactionCacheContext, observer?: CompactionProviderObserver, routing?: CompactionProviderRouting): Promise<CompactionResult>;
2889
2895
 
2890
2896
  /**
@@ -3106,6 +3112,7 @@ interface ShouldCompactInput {
3106
3112
  readonly contextWindow: number;
3107
3113
  readonly currentTokens: number;
3108
3114
  readonly reservedResponseTokens?: number;
3115
+ readonly onPolicy?: (policy: ResolvedCompactionPolicy) => void;
3109
3116
  }
3110
3117
  /**
3111
3118
  * Returns `true` iff the complete request exceeds physical capacity or an
@@ -3472,5 +3479,5 @@ declare class AgentTurnScheduler {
3472
3479
  restore(turnIds: readonly string[]): void;
3473
3480
  }
3474
3481
 
3475
- export { Agent, AgentActorStoreConflictError, AgentBudgetExhausted, AgentBudgetExhaustedError, AgentCancellationUncertainError, AgentControlError, AgentExecutionError, AgentExecutorFactory, AgentExecutorPlane, AgentExecutorPlaneStore, AgentLimitReached, AgentLimitReachedError, AgentManifest, AgentMessage, AgentMetadataValue, AgentOwnerConflictError, AgentOwnerUnknownError, AgentRevisionConflictError, AgentSettlementPersistenceError, AgentShutdownPersistenceError, AgentStartUncertainError, AgentTurnScheduler, BUN_BE_BUN_ENV, CAPABILITY_CACHE_FILENAME, COMPACTED_HISTORY_RECOVERY_GUIDANCE, COMPACTION_PROTECTION_RATIO, COMPACTION_SUMMARY_PREFIX, CONTEXT_SAFETY_FLOOR_TOKENS, CONTEXT_SAFETY_RATIO, CORE_INVARIANTS, CapabilityCache, CapabilityCacheSource, CompactionConfig, CompactionDetails, CompactionRequestMetrics, CompactionResult, CompactionUpdate, ConsoleTracingProcessor, ContextCapacityError, CreateAgentExecutorPlaneOptions, DEFAULT_COMPACTION_TRIGGER_PERCENT, DEFAULT_CONTEXT_WINDOW, DEFAULT_IDLE_YIELD_MAX_ITERATIONS, DEFAULT_MICROCOMPACTION_CONFIG, DEFAULT_POST_COMPACT_CONFIG, DEFAULT_SUMMARY_PROMPT, DEFAULT_UPDATE_SUMMARY_PROMPT, DequeueFilter, DiscoveredInstance, ELECTRON_NODE_ENV_SCRUB_IMPORT, ELECTRON_RUN_AS_NODE_ENV, EnqueueInput, ExternalAgentProtocol, ExternalAgentRegistrationConflictError, FileExtensionStore, FileLearningCenterService, FileTracingProcessor, HARDENED_ENV_VARS, HARDENING_OPT_OUT_ENV, Handoff, ImageResizeError, InstanceDiscoveryFs, InvariantId, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXExtensionStore, KodaXExtensionStoreEntry, KodaXFileInputArtifact, KodaXFileLockTimeoutError, KodaXGoalEventType, KodaXGoalState, KodaXImageBlock, KodaXImageInputArtifact, KodaXImageMediaType, KodaXInputArtifact, KodaXInputArtifactSource, KodaXJsonValue, KodaXMediaError, KodaXMemoryOutcomeDigest, KodaXMessage, KodaXReasoningRequest, KodaXSessionArtifactLedgerEntry, KodaXSessionData, KodaXSessionEntry, KodaXSessionGoalEntry, KodaXSessionLineage, KodaXSessionStorage, KodaXTokenUsage, KodaXToolDefinition, KodaXToolUseBlock, KodaXVideoInputArtifact, KodaXVideoMediaType, LearnedAreaStore, LearnedCapabilityRecord, LearnedCapabilityScope, LearningActionDriver, LearningEvent, LearningExplicitUserAuthority, LearningPage, LearningQuery, LearningSubscribeOptions, LearningSurfaceSnapshot, MAX_COMPACTION_TRIGGER_PERCENT, MAX_DIMENSION, MAX_ENTRYPOINT_BYTES, MAX_ENTRYPOINT_LINES, MAX_SKILL_MD_BYTES, MAX_SKILL_SUPPORT_FILE_BYTES, MEMORY_POLICY_VERSION, MIN_COMPACTION_TRIGGER_PERCENT, ManifestPatch, MemoryActionProposal, MemoryApplicability, MemoryContextIdentity, MemoryItemRef, MessagePriority, MessageQueue, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, POST_COMPACT_MAX_TOKENS_PER_FILE, POST_COMPACT_TOKEN_BUDGET, PROTECTED_TOOL_NAMES, QualityInvariant, QueuedInputArtifact, QueuedInputArtifactError, QueuedMessage, RESERVE_SHRINK_FLOOR_TOKENS, ResolvedSkillSource, RunnerToolCall, RunnerToolResult, SessionMeta, SessionStateSnapshot, Span, StateWriter, StateWriterFs, StopHookContext, StopHookFn, StopHookResult, TARGET_RAW_SIZE_BYTES, Trace, WorkflowAbortError, WorkflowAgentBackend, WorkflowApi, WorkflowBudgetError, WorkflowEvent, WorkflowLimitError, WorkflowLimits, WorkflowLogEvent, WorkflowModule, WorkflowOutcome, WorkflowRunState, WorkflowScriptExecutionError, WorkflowScriptManifest, WorkflowTaskFailedError, WorkflowTaskResult, YIELD_TOOL_NAMES, _emitSpanEnd, _emitSpanStart, _emitTraceEnd, _getRegisteredProcessors, _resetAdmissionMetrics, _resetInvariantRegistry, _resetMessageQueueForTests, acquireLearningFileLock as acquireKodaXFileLock, addTracingProcessor, appendGoalEntry, appendMemoryClientNotice, appendMemoryOutcomeDigest, appendMemoryReviewReceipt, applyManifestPatch, applyProcessHardening, applySkillLearningProposal, approveStoredLearningProposal, assertNoGitInstallPrompt, assertNoGitInstallPromptSync, bootstrapTeamMode, buildCompactionCacheInstruction, buildCompactionPromptSnapshot, buildFileContentMessages, buildOtherInstancesPromptBlock, buildPostCompactAttachments, buildRecoverySeed, buildWorkflowOutcome, calculateContextSafetyMargin, calculateMaxContextInputTokens, canMarkCreatedByAgent, clearCapabilityCache, collectUserQueryLedger, compact, composeIdleYieldUserMessage, composePatches, computeSkillConsumerImpact, containWindowsEffectProcess, countLastAssistantToolCalls, createAgentExecutorPlane, createExtensionStore, createFileArtifactFromPath, createImageArtifactFromPath, createLearnedSkillActionDriver, createLearningCenterService, createLegacyToolPairingLookup, createLlmJudgedStopHook, createMemoryAgentExecutorPlaneStore, createReferenceAgentExecutorFactory, createRestrictedWorkflowModule, createRuntimeDeliveryPredicate, createVideoArtifactFromPath, createWorkflowRuntime, decideSkillGovernance, detectHandoffSignal, detectIdleYield, dispatchSkillCreatorTool, editDistance, emitHandoffSpan, emitKodaXDiagnostic, enqueueWithArtifacts, evidenceTrail, exceedsContextCapacity, finalOwner, findFuzzyToolMatch, findLegacyToolPairingRestorations, formatKodaXDiagnostic, generateSummary, getActiveMemoryOutcomeReviewIds, getActiveTeamModeWriter, getAdmissionMetricsSnapshot, getCachedRejectedEfforts, getCapabilityCacheFile, getInvariant, getLearnedExtensionToolName, getMessageQueue, getModelInputCapabilities, gracefulCompactDegradation, handoffLegality, hashCwd, inferImageMediaType, inferVideoMediaType, injectPostCompactAttachments, invokeLlmJudge, isAdmissionDebugEnabled, isAutoManagedMemoryFile, isChildProcessExited, isCurrentProcessWindowsJobContained, isEmptyLikeSummary, isGoalEntry, isIdleYieldEnabled, isLearnedExtensionCommandAllowed, isSkillCreatorDispatchAction, killChildProcessTree, killChildProcessTreeSync, killPidTree, killPidTreeSync, listRegisteredInvariants, loadCapabilityCache, maybeDrainMidTurn, memoryMutationHandle, memoryProposalRevision, mergeUserQueryLedger, microcompact, midTurnDrainPriority, migrateLegacyLearnedSkillsForProject, needsCompaction, normalizeCompactionConfig, normalizePastedImage, normalizeRecoveryPrompt, normalizeWorkflowLimits, parseMemoryFile, parseMemoryType, parseMemoryTypeFromFilename, parseScalarFields, parseUserQueryLedger, persistCompactedSessionHistory, persistImageAsBlock, prepareInternalNodeLaunch, prepareJavaScriptChildLaunch, projectLearningProposals, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, readLatestGoalFromBranch, readLatestGoalState, readLearningProposalStore, readProcessStartIdentity, readSkillTrustLedger, readSkillUsageLedger, reclaimReservedResponseTokens, reclaimStaleLearningFileLock as reclaimStaleKodaXFileLock, recordCompletedTurnLearning, recordProceduralLearning, recordRejectedEffort, recordSkillUsage, registerCoreInvariants, registerInvariant, rememberChildProcessTree, renderUserQueryLedger, replaceSystemMessage, resetCapabilityCacheMemoForTesting, resolveCompactionPolicy, resolveContextWindow, resolveEffectiveInvariants, resolveLearningProposalStore, resolveMemoryEntrypoint, resolveMemoryRoot, resolveRequiredInvariants, resolveScopedMemoryRoot, resolveSkillSnapshotLocation, resolveSkillTrustLedger, resolveSkillUsageLedger, runFanOut, runRestrictedWorkflowScript, runWithIdleYield, runWorkflow, sanitizeProjectKey, sanitizePromptSafeMemoryClaim, serializeConversation, setActiveTeamModeWriter, setKodaXDiagnosticSink, setTracingProcessors, shouldCompact, shutdownTracing, stripHardenedEnvVars, terminateWindowsEffectJob, triageProceduralLearning, truncateEntrypointContent, tryGitRemote, updateActiveTeamMode, updateLearningProposalStatus, updateSkillTrustLedger, upsertLearningProposal, validateInputArtifactsForModel, validateRestrictedWorkflowSource, waitForChildProcessExit, waitForWakeEvent, windowsSandboxSidHasActiveProcesses, windowsSandboxSidHasOtherProcesses, withLearningFileLock as withKodaXFileLock };
3482
+ export { Agent, AgentActorStoreConflictError, AgentBudgetExhausted, AgentBudgetExhaustedError, AgentCancellationUncertainError, AgentControlError, AgentExecutionError, AgentExecutorFactory, AgentExecutorPlane, AgentExecutorPlaneStore, AgentLimitReached, AgentLimitReachedError, AgentManifest, AgentMessage, AgentMetadataValue, AgentOwnerConflictError, AgentOwnerUnknownError, AgentRevisionConflictError, AgentSettlementPersistenceError, AgentShutdownPersistenceError, AgentStartUncertainError, AgentTurnScheduler, BUN_BE_BUN_ENV, CAPABILITY_CACHE_FILENAME, COMPACTED_HISTORY_RECOVERY_GUIDANCE, COMPACTION_PROTECTION_RATIO, COMPACTION_SUMMARY_PREFIX, CONTEXT_SAFETY_FLOOR_TOKENS, CONTEXT_SAFETY_RATIO, CORE_INVARIANTS, CapabilityCache, CapabilityCacheSource, CompactionConfig, CompactionDetails, CompactionRequestMetrics, CompactionResult, CompactionUpdate, ConsoleTracingProcessor, ContextCapacityError, CreateAgentExecutorPlaneOptions, DEFAULT_COMPACTION_TRIGGER_PERCENT, DEFAULT_CONTEXT_WINDOW, DEFAULT_IDLE_YIELD_MAX_ITERATIONS, DEFAULT_MICROCOMPACTION_CONFIG, DEFAULT_POST_COMPACT_CONFIG, DEFAULT_SUMMARY_PROMPT, DEFAULT_UPDATE_SUMMARY_PROMPT, DequeueFilter, DiscoveredInstance, ELECTRON_NODE_ENV_SCRUB_IMPORT, ELECTRON_RUN_AS_NODE_ENV, EnqueueInput, ExternalAgentProtocol, ExternalAgentRegistrationConflictError, FileExtensionStore, FileLearningCenterService, FileTracingProcessor, HARDENED_ENV_VARS, HARDENING_OPT_OUT_ENV, Handoff, ImageResizeError, InstanceDiscoveryFs, InvariantId, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXExtensionStore, KodaXExtensionStoreEntry, KodaXFileInputArtifact, KodaXFileLockTimeoutError, KodaXGoalEventType, KodaXGoalState, KodaXImageBlock, KodaXImageInputArtifact, KodaXImageMediaType, KodaXInputArtifact, KodaXInputArtifactSource, KodaXJsonValue, KodaXMediaError, KodaXMemoryOutcomeDigest, KodaXMessage, KodaXReasoningRequest, KodaXSessionArtifactLedgerEntry, KodaXSessionData, KodaXSessionEntry, KodaXSessionGoalEntry, KodaXSessionLineage, KodaXSessionStorage, KodaXTokenUsage, KodaXToolDefinition, KodaXToolUseBlock, KodaXVideoInputArtifact, KodaXVideoMediaType, LearnedAreaStore, LearnedCapabilityRecord, LearnedCapabilityScope, LearningActionDriver, LearningEvent, LearningExplicitUserAuthority, LearningPage, LearningQuery, LearningSubscribeOptions, LearningSurfaceSnapshot, MAX_COMPACTION_TRIGGER_PERCENT, MAX_DIMENSION, MAX_ENTRYPOINT_BYTES, MAX_ENTRYPOINT_LINES, MAX_SKILL_MD_BYTES, MAX_SKILL_SUPPORT_FILE_BYTES, MEMORY_POLICY_VERSION, MIN_COMPACTION_TRIGGER_PERCENT, ManifestPatch, MemoryActionProposal, MemoryApplicability, MemoryContextIdentity, MemoryItemRef, MessagePriority, MessageQueue, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, POST_COMPACT_MAX_TOKENS_PER_FILE, POST_COMPACT_TOKEN_BUDGET, PROTECTED_TOOL_NAMES, QualityInvariant, QueuedInputArtifact, QueuedInputArtifactError, QueuedMessage, RESERVE_SHRINK_FLOOR_TOKENS, ResolvedSkillSource, RunnerToolCall, RunnerToolResult, SessionMeta, SessionStateSnapshot, Span, StateWriter, StateWriterFs, StopHookContext, StopHookFn, StopHookResult, TARGET_RAW_SIZE_BYTES, Trace, WorkflowAbortError, WorkflowAgentBackend, WorkflowApi, WorkflowBudgetError, WorkflowEvent, WorkflowLimitError, WorkflowLimits, WorkflowLogEvent, WorkflowModule, WorkflowOutcome, WorkflowRunState, WorkflowScriptExecutionError, WorkflowScriptManifest, WorkflowTaskFailedError, WorkflowTaskResult, YIELD_TOOL_NAMES, _emitSpanEnd, _emitSpanStart, _emitTraceEnd, _getRegisteredProcessors, _resetAdmissionMetrics, _resetInvariantRegistry, _resetMessageQueueForTests, acquireLearningFileLock as acquireKodaXFileLock, addTracingProcessor, appendGoalEntry, appendMemoryClientNotice, appendMemoryOutcomeDigest, appendMemoryReviewReceipt, applyManifestPatch, applyProcessHardening, applySkillLearningProposal, approveStoredLearningProposal, assertNoGitInstallPrompt, assertNoGitInstallPromptSync, bootstrapTeamMode, buildCompactionCacheInstruction, buildCompactionPromptSnapshot, buildFileContentMessages, buildOtherInstancesPromptBlock, buildPostCompactAttachments, buildRecoverySeed, buildWorkflowOutcome, calculateContextSafetyMargin, calculateMaxContextInputTokens, canMarkCreatedByAgent, clearCapabilityCache, collectUserQueryLedger, compact, composeIdleYieldUserMessage, composePatches, computeSkillConsumerImpact, containWindowsEffectProcess, countLastAssistantToolCalls, createAgentExecutorPlane, createExtensionStore, createFileArtifactFromPath, createImageArtifactFromPath, createLearnedSkillActionDriver, createLearningCenterService, createLegacyToolPairingLookup, createLlmJudgedStopHook, createMemoryAgentExecutorPlaneStore, createReferenceAgentExecutorFactory, createRestrictedWorkflowModule, createRuntimeDeliveryPredicate, createVideoArtifactFromPath, createWorkflowRuntime, decideSkillGovernance, detectHandoffSignal, detectIdleYield, dispatchSkillCreatorTool, editDistance, emitHandoffSpan, emitKodaXDiagnostic, enqueueWithArtifacts, evidenceTrail, exceedsContextCapacity, finalOwner, findFuzzyToolMatch, findLegacyToolPairingRestorations, formatKodaXDiagnostic, generateSummary, getActiveMcpCallContext, getActiveMemoryOutcomeReviewIds, getActiveTeamModeWriter, getAdmissionMetricsSnapshot, getCachedRejectedEfforts, getCapabilityCacheFile, getInvariant, getLearnedExtensionToolName, getMessageQueue, getModelInputCapabilities, gracefulCompactDegradation, handoffLegality, hashCwd, inferImageMediaType, inferVideoMediaType, injectPostCompactAttachments, invokeLlmJudge, isAdmissionDebugEnabled, isAutoManagedMemoryFile, isChildProcessExited, isCurrentProcessWindowsJobContained, isEmptyLikeSummary, isGoalEntry, isIdleYieldEnabled, isLearnedExtensionCommandAllowed, isSkillCreatorDispatchAction, killChildProcessTree, killChildProcessTreeSync, killPidTree, killPidTreeSync, listRegisteredInvariants, loadCapabilityCache, maybeDrainMidTurn, memoryMutationHandle, memoryProposalRevision, mergeUserQueryLedger, microcompact, midTurnDrainPriority, migrateLegacyLearnedSkillsForProject, needsCompaction, normalizeCompactionConfig, normalizePastedImage, normalizeRecoveryPrompt, normalizeWorkflowLimits, parseMemoryFile, parseMemoryType, parseMemoryTypeFromFilename, parseScalarFields, parseUserQueryLedger, persistCompactedSessionHistory, persistImageAsBlock, prepareInternalNodeLaunch, prepareJavaScriptChildLaunch, projectLearningProposals, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, readLatestGoalFromBranch, readLatestGoalState, readLearningProposalStore, readProcessStartIdentity, readSkillTrustLedger, readSkillUsageLedger, reclaimReservedResponseTokens, reclaimStaleLearningFileLock as reclaimStaleKodaXFileLock, recordCompletedTurnLearning, recordProceduralLearning, recordRejectedEffort, recordSkillUsage, registerCoreInvariants, registerInvariant, rememberChildProcessTree, renderUserQueryLedger, replaceSystemMessage, resetCapabilityCacheMemoForTesting, resolveCompactionPolicy, resolveContextWindow, resolveEffectiveInvariants, resolveLearningProposalStore, resolveMemoryEntrypoint, resolveMemoryRoot, resolveRequiredInvariants, resolveScopedMemoryRoot, resolveSkillSnapshotLocation, resolveSkillTrustLedger, resolveSkillUsageLedger, runFanOut, runRestrictedWorkflowScript, runWithIdleYield, runWithMcpCallContext, runWorkflow, sanitizeProjectKey, sanitizePromptSafeMemoryClaim, serializeConversation, setActiveTeamModeWriter, setKodaXDiagnosticSink, setTracingProcessors, shouldCompact, shutdownTracing, stripHardenedEnvVars, terminateWindowsEffectJob, triageProceduralLearning, truncateEntrypointContent, tryGitRemote, updateActiveTeamMode, updateLearningProposalStatus, updateSkillTrustLedger, upsertLearningProposal, validateInputArtifactsForModel, validateRestrictedWorkflowSource, waitForChildProcessExit, waitForWakeEvent, windowsSandboxSidHasActiveProcesses, windowsSandboxSidHasOtherProcesses, withLearningFileLock as withKodaXFileLock };
3476
3483
  export type { AdmissionMetricsSnapshot, AgentControlErrorCode, ApproveStoredLearningProposalOptions, BuildWorkflowOutcomeInput, CompactionCacheContext, CompactionProviderObserver, CompactionProviderRequest, CompactionProviderRouting, CompactionTriggerSource, CompletedTurnLearningCandidate, CompletedTurnLearningInput, CompletedTurnLearningRecordResult, ConsoleTracingProcessorOptions, ContextCapacityInput, CreateFileArtifactFromPathOptions, CreateImageArtifactFromPathOptions, CreateLearnedSkillActionDriverOptions, CreateLearningCenterServiceOptions, CreateLlmJudgedStopHookOptions, CreateVideoArtifactFromPathOptions, CreateWorkflowRuntimeOptions, DiscardedLearningReport, DurableMemoryScope, EnqueueWithArtifactsInput, EntrypointTruncation, EnvelopeAggregateCapacityContext, EnvelopeAggregateEnforcer, FanOutOutcome, FanOutProgressEvent, FileTracingProcessorOptions, GetModelInputCapabilitiesInput, GitInstallPromptOptions, GovernedSkillSource, GracefulCompactionCapacity, HandoffSignal, IdleYieldSnapshot, InternalNodeLaunch, InvokeLlmJudgeOptions, JavaScriptChildLaunch, KodaXCompactionPromptSection, KodaXCompactionPromptSnapshot, KodaXCompactionPromptVariant, KodaXDiagnostic, KodaXDiagnosticLevel, KodaXDiagnosticSink, KodaXInputCapabilityStatus, KodaXMediaErrorCode, KodaXMediaErrorOptions, KodaXModalityInputCapability, LearningCandidate, LearningCenterService, LearningIntakeRecordResult, LearningProposalProjection, LearningProposalReviewStatus, LearningProposalStoreReadResult, LearningRisk, LearningUserLabel, LegacyLearnedSkillMigrationResult, LegacyToolPairingLookup, LegacyToolPairingRestoration, LlmJudgeFailureReason, MaybeDrainMidTurnInput, MemoryExecutionContext, MemoryFrontmatter, MemoryHandoffMetadata, MemoryLearningHandoff, MemoryType, MemoryWriteOrigin, MicrocompactionConfig, ModelInputCapabilities, NormalizeImageOptions, NormalizedImage, ParsedMemoryFile, PersistCompactedSessionHistoryInput, PersistImageAsBlockOptions, PostCompactAttachments, PostCompactConfig, PrepareInternalNodeLaunchOptions, PrepareJavaScriptChildLaunchOptions, ProceduralLearningDestination, ProceduralLearningInput, ProceduralLearningResult, ProcessTreeKillOptions, ProcessTreeKillResult, ProcessTreeKillStatus, ReasoningLearningHandoff, RecordProceduralLearningInput, RecoverySeed, RecoverySeedInput, ReferenceAgentExecutorFactoryOptions, RenderOptions, ResolvedCompactionPolicy, RestrictedWorkflowModuleInput, ReviewableLearningProposal, RunFanOutOptions, RunFanOutResult, RunRestrictedWorkflowScriptOptions, RunWithIdleYieldOptions, RunWithIdleYieldRunResult, ShouldCompactInput, SkillConsumerImpact, SkillConsumerImpactScanInput, SkillGovernanceAction, SkillGovernanceDecision, SkillGovernanceInput, SkillGovernanceMode, SkillLearningApplyInput, SkillLearningProposal, SkillMutationApplyResult, SkillMutationChange, SkillOwnership, SkillSnapshotLocation, SkillTrustLedgerReadResult, SkillTrustRecord, SkillTrustState, SkillTrustUpdateInput, SkillTrustUpdateResult, SkillUsageEvent, SkillUsageEventInput, SkillUsageLedgerReadResult, SkillUsageRecord, SkillUsageRecordResult, SkillWriteOrigin, StoredLearningApplyPlan, StoredLearningApprovalResult, StoredLearningProposal, StoredSkillLearningApplyPlan, TeamModeBootstrapOptions, TeamModeHandle, TraceOnlyLearningReport, TracingProcessor, UserQueryLedgerEntry, ValidateInputArtifactsOptions, ValidateRestrictedWorkflowSourceOptions, WaitForWakeEventOptions, WakeEvent, WindowsEffectJob, WindowsSandboxSidProbeLauncher, WorkflowLearningHandoff, WorkflowLearningSuggestedAction, WorkflowModuleResolver, WorkflowResultCache, WorkflowRunOutcome, WorkflowRuntimeHandle };
package/dist/sdk-agent.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
2
- import{$ as oo,$a as rr,$b as Ie,$c as Gf,$d as Gm,$e as Fp,$f as Ft,$g as Fx,A as B,Aa as Co,Ab as Cr,Ac as mf,Ad as pm,Ae as mp,Af as mt,Ag as mx,B as C,Ba as Do,Bb as ae,Bc as pf,Bd as tm,Be as pp,Bf as pt,Bg as px,C as D,Ca as Eo,Cb as be,Cc as tf,Cd as xm,Ce as tp,Cf as tt,Cg as tx,D as E,Da as Fo,Db as ce,Dc as xf,Dd as am,De as xp,Df as xt,Dg as xx,E as F,Ea as Go,Eb as de,Ec as af,Ed as bm,Ee as ap,Ef as at,Eg as ax,F as G,Fa as Ho,Fb as ge,Fc as bf,Fd as cm,Fe as bp,Ff as bt,Fg as bx,G as H,Ga as Io,Gb as he,Gc as cf,Gd as dm,Ge as cp,Gf as ct,Gg as cx,H as I,Ha as Jo,Hb as ie,Hc as df,Hd as gm,He as dp,Hf as dt,Hg as dx,I as J,Ia as Ko,Ib as je,Ic as gf,Id as hm,Ie as gp,If as gt,Ig as gx,J as K,Ja as Lo,Jb as ke,Jc as hf,Jd as im,Je as hp,Jf as ht,Jg as hx,K as L,Ka as Mo,Kb as le,Kc as jf,Kd as jm,Ke as ip,Kf as it,Kg as ix,L as M,La as No,Lb as ne,Lc as kf,Ld as km,Le as jp,Lf as jt,Lg as jx,M as N,Ma as Oo,Mb as qe,Mc as lf,Md as lm,Me as kp,Mf as kt,Mg as kx,N as O,Na as Po,Nb as se,Nc as nf,Nd as nm,Ne as lp,Nf as lt,Ng as lx,O as P,Oa as Qo,Ob as ue,Oc as qf,Od as qm,Oe as np,Of as nt,Og as nx,P as Q,Pa as Ro,Pb as ve,Pc as sf,Pd as sm,Pe as qp,Pf as qt,Pg as qx,Q as R,Qa as So,Qb as we,Qc as uf,Qd as um,Qe as sp,Qf as st,Qg as sx,R as S,Ra as To,Rb as ye,Rc as vf,Rd as vm,Re as up,Rf as ut,Rg as ux,S as T,Sa as Uo,Sb as ze,Sc as wf,Sd as wm,Se as vp,Sf as vt,Sg as vx,T as U,Ta as Vo,Tb as Ae,Tc as yf,Td as ym,Te as wp,Tf as wt,Tg as wx,U as V,Ua as Wo,Ub as Be,Uc as zf,Ud as zm,Ue as yp,Uf as yt,Ug as yx,V as W,Va as Xo,Vb as Ce,Vc as Af,Vd as Am,Ve as zp,Vf as zt,Vg as zx,W as X,Wa as Yo,Wb as De,Wc as Bf,Wd as Bm,We as Ap,Wf as At,Wg as Ax,X as Y,Xa as Zo,Xb as Ee,Xc as Cf,Xd as Cm,Xe as Bp,Xf as Bt,Xg as Bx,Y as Z,Ya as _o,Yb as Fe,Yc as Df,Yd as Dm,Ye as Cp,Yf as Ct,Yg as Cx,Z as _,Za as $o,Zb as Ge,Zc as Ef,Zd as Em,Ze as Dp,Zf as Dt,Zg as Dx,_ as $,_a as or,_b as He,_c as Ff,_d as Fm,_e as Ep,_f as Et,_g as Ex,a as r,aa as ro,ab as er,ac as Je,ad as Hf,af as Gp,ag as Gt,ah as Gx,b as e,ba as eo,bb as fr,bc as Ke,bd as If,be as Hm,bf as Hp,bg as Ht,bh as Hx,c as f,ca as fo,cb as mr,cc as Le,cd as Jf,ce as Im,cf as Ip,cg as It,ch as Ix,d as m,da as mo,db as pr,dc as Me,dd as Kf,de as Jm,df as Jp,dg as Jt,dh as Jx,e as p,ea as po,eb as tr,ec as Ne,ed as Lf,ee as Km,ef as Kp,eg as Kt,eh as Kx,f as t,fa as to,fb as xr,fc as Oe,fd as Mf,fe as Lm,ff as Lp,fg as Lt,fh as Lx,g as x,ga as xo,gb as ar,gc as Pe,gd as Nf,ge as Mm,gf as Mp,gg as Mt,gh as Mx,h as a,ha as ao,hb as br,hc as Qe,hd as Of,he as Nm,hf as Np,hg as Nt,hh as Nx,i as b,ia as bo,ib as cr,ic as Re,id as Pf,ie as Om,if as Op,ig as Ot,ih as Ox,j as c,ja as co,jb as dr,jc as Se,jd as Qf,je as Pm,jf as Pp,jg as Pt,jh as Px,k as d,ka as go,kb as gr,kc as Te,kd as Rf,ke as Qm,kf as Qp,kg as Qt,kh as Qx,l as g,la as ho,lb as hr,lc as Ue,ld as Sf,le as Rm,lf as Rp,lg as Rt,lh as Rx,m as h,ma as io,mb as ir,mc as Ve,md as Tf,me as Sm,mf as Sp,mg as St,mh as Sx,n as i,na as jo,nb as jr,nc as We,nd as Uf,ne as Tm,nf as Tp,ng as Tt,nh as Tx,o as j,oa as ko,ob as kr,oc as Xe,od as Vf,oe as Um,of as Up,og as Ut,oh as Ux,p as k,pa as lo,pb as lr,pc as Ye,pd as Wf,pe as Vm,pf as Vp,pg as Vt,ph as Vx,q as l,qa as no,qb as nr,qc as Ze,qd as Xf,qe as Wm,qf as Wp,qg as Wt,r as n,ra as qo,rb as qr,rc as _e,rd as Yf,re as Xm,rf as Xp,rg as Xt,s as q,sa as so,sb as sr,sc as $e,sd as Zf,se as Ym,sf as Yp,sg as Yt,t as s,ta as uo,tb as ur,tc as of,td as _f,te as Zm,tf as Zp,tg as Zt,u,ua as vo,ub as vr,ud as $f,ue as _m,uf as _p,ug as _t,v,va as wo,vb as wr,vd as om,ve as $m,vf as $p,vg as $t,w,wa as yo,wb as yr,wd as rm,we as op,wf as ot,wg as ox,x as y,xa as zo,xb as zr,xc as rf,xd as em,xe as rp,xf as rt,xg as rx,y as z,ya as Ao,yb as Ar,yc as ef,yd as fm,ye as ep,yf as et,yg as ex,z as A,za as Bo,zb as Br,zc as ff,zd as mm,ze as fp,zf as ft,zg as fx}from"./chunks/chunk-WV3DJVW4.js";import{A as re,B as ee,C as fe,D as me,E as pe,F as te,G as xe,a as Dr,b as Er,c as Fr,d as Gr,e as Hr,f as Ir,g as Jr,h as Kr,i as Lr,j as Mr,k as Nr,l as Or,m as Pr,n as Qr,o as Rr,p as Sr,q as Tr,r as Ur,s as Vr,t as Wr,u as Xr,v as Yr,w as Zr,x as _r,y as $r,z as oe}from"./chunks/chunk-DSXUXUZG.js";import{pa as o}from"./chunks/chunk-HZYRLIOC.js";import"./chunks/chunk-ONUPGMER.js";export{wr as ASK_USER_BACK_SIGNAL,yr as ASK_USER_CUSTOM_INPUT_SIGNAL,Ux as AgentActorController,Nx as AgentActorStoreConflictError,Lx as AgentBudgetExhaustedError,Fx as AgentCancellationUncertainError,Sx as AgentControlError,Jx as AgentExecutionError,Kx as AgentLimitReachedError,Ox as AgentOwnerConflictError,Px as AgentOwnerUnknownError,Mx as AgentRevisionConflictError,Qx as AgentSettlementPersistenceError,Rx as AgentShutdownPersistenceError,Ex as AgentStartUncertainError,Tx as AgentTurnScheduler,rr as BUN_BE_BUN_ENV,Ro as CAPABILITY_CACHE_FILENAME,ot as COMPACTED_HISTORY_RECOVERY_GUIDANCE,Tp as COMPACTION_PROTECTION_RATIO,$p as COMPACTION_SUMMARY_PREFIX,h as CONTEXT_SAFETY_FLOOR_TOKENS,i as CONTEXT_SAFETY_RATIO,Jo as CORE_INVARIANTS,N as ConsoleTracingProcessor,j as ContextCapacityError,Qp as DEFAULT_COMPACTION_TRIGGER_PERCENT,_t as DEFAULT_CONTEXT_WINDOW,ie as DEFAULT_IDLE_YIELD_MAX_ITERATIONS,St as DEFAULT_MICROCOMPACTION_CONFIG,tt as DEFAULT_POST_COMPACT_CONFIG,Lp as DEFAULT_SUMMARY_PROMPT,_ as DEFAULT_SYSTEM_CAP,Mp as DEFAULT_UPDATE_SUMMARY_PROMPT,B as DefaultSummaryCompaction,er as ELECTRON_NODE_ENV_SCRUB_IMPORT,or as ELECTRON_RUN_AS_NODE_ENV,Lm as EpisodeReviewBranchChangedError,Km as EpisodeReviewFailure,Gx as ExternalAgentRegistrationConflictError,Wt as FileExtensionStore,Pf as FileLearningCenterService,O as FileTracingProcessor,ho as GuardrailBlockedError,io as GuardrailEscalateError,_o as HARDENED_ENV_VARS,$o as HARDENING_OPT_OUT_ENV,Pr as ImageResizeError,mo as InvariantSession,b as KODAX_API_MIN_INTERVAL,e as KODAX_DEFAULT_TIMEOUT,me as KODAX_FILE_MEDIA_TYPES,f as KODAX_HARD_TIMEOUT,ee as KODAX_IMAGE_MEDIA_TYPES,t as KODAX_MAX_INCOMPLETE_RETRIES,x as KODAX_MAX_MAXTOKENS_RETRIES,m as KODAX_MAX_RETRIES,r as KODAX_MAX_TOKENS,p as KODAX_RETRY_BASE_DELAY,a as KODAX_STAGGER_DELAY,fe as KODAX_VIDEO_MEDIA_TYPES,df as KodaXFileLockTimeoutError,Or as KodaXMediaError,Dp as LINEAGE_ENTRY_TYPES,Mf as LearnedAreaStore,Ff as LearningCapabilityError,Fp as LineageCompaction,Ep as LineageExtension,Sp as MAX_COMPACTION_TRIGGER_PERCENT,Vr as MAX_DIMENSION,Ue as MAX_ENTRYPOINT_BYTES,Te as MAX_ENTRYPOINT_LINES,af as MAX_SKILL_MD_BYTES,bf as MAX_SKILL_SUPPORT_FILE_BYTES,to as MAX_TOOL_LOOP_ITERATIONS,He as MEMORY_POLICY_VERSION,Rp as MIN_COMPACTION_TRIGGER_PERCENT,gp as McpAuthRequiredError,zp as McpCapabilityProvider,dp as McpExpiredSessionError,Ap as McpManager,yp as McpServerRuntime,hp as McpTransportCleanupIncompleteError,Jm as MemoryControlPlane,Dr as MessageQueue,_r as PASTE_TMP_DIR_ENV,$r as PASTE_TMP_TTL_MS,pt as POST_COMPACT_MAX_TOKENS_PER_FILE,mt as POST_COMPACT_TOKEN_BUDGET,c as PROMISE_PATTERN,_p as PROTECTED_TOOL_NAMES,ae as QueuedInputArtifactError,q as RESERVE_SHRINK_FLOOR_TOKENS,Eo as Runner,zo as RunnerIterationLimitError,ym as SkillExecutor,sm as SkillRegistry,C as SpanImpl,Wr as TARGET_RAW_SIZE_BYTES,L as Tracer,km as VariableResolver,jx as WORKFLOW_CAPSULE_API_VERSION,hx as WORKFLOW_CAPSULE_FORMAT,ix as WORKFLOW_CAPSULE_VERSION,px as WORKFLOW_PATTERN_IDS,sx as WorkflowAbortError,vx as WorkflowBudgetError,rx as WorkflowEventRecorder,ux as WorkflowLimitError,bx as WorkflowScriptExecutionError,wx as WorkflowTaskFailedError,Kr as YIELD_TOOL_NAMES,I as _emitSpanEnd,H as _emitSpanStart,J as _emitTraceEnd,G as _getRegisteredProcessors,Jr as _resetActiveRootQueueRoutesForTests,Y as _resetAdmissionMetrics,fo as _resetAdmittedAgentBindings,U as _resetInvariantRegistry,Fr as _resetMessageQueueForTests,Co as _resetPresetDispatchers,hf as acquireKodaXFileLock,Gr as actorQueueId,E as addTracingProcessor,xm as admitAndRecordLearnedSkillInvocation,_f as admitLearnedSkillBinding,Qt as appendGoalEntry,Ft as appendMemoryClientNotice,Ct as appendMemoryOutcomeDigest,Dt as appendMemoryReviewReceipt,nt as appendSessionLineageLabel,st as applyLineageTruncation,P as applyManifestPatch,fr as applyProcessHardening,qt as applySessionCompaction,sf as applySkillLearningProposal,uf as approveStoredLearningProposal,Bt as archiveOldIslands,Ar as asSingleSelection,Hf as assertLearnedCapabilityTransition,Yo as assertNoGitInstallPrompt,Zo as assertNoGitInstallPromptSync,ax as assertRestrictedWorkflowQuality,wo as attachRunnerRecoveryTranscript,we as bootstrapTeamMode,co as buildAssistantMessageFromLlmResult,Np as buildCompactionCacheInstruction,Op as buildCompactionPromptSnapshot,bt as buildFileContentMessages,wp as buildInitializeCapabilities,qe as buildOtherInstancesPromptBlock,xt as buildPostCompactAttachments,Vt as buildRecoverySeed,zt as buildSessionTree,Do as buildSystemPrompt,go as buildToolResultMessage,qx as buildWorkflowCapsuleIntent,ox as buildWorkflowOutcome,k as calculateContextSafetyMargin,n as calculateMaxContextInputTokens,tf as canMarkCreatedByAgent,Gf as canTransitionLearnedCapability,Mm as captureEpisodeReviewBranchEpoch,Om as claimEpisodeReview,ze as cleanupIncompleteToolCalls,kr as cleanupManagedRunChildProcess,nr as cleanupRegisteredManagedChildren,Wo as clearCapabilityCache,_e as clearPluginSkillPaths,jo as collectGuardrails,Wp as collectUserQueryLedger,Rm as commitEpisodeReviewAction,Qm as commitEpisodeReviewDecision,Zf as commitLearnedSkillRevision,ft as compact,$m as completeEpisodeReview,Wm as completeFencedEpisodeReview,rm as completeLearnedSkillOutcome,am as completeLearnedSkillSessionOutcomes,he as composeIdleYieldUserMessage,Q as composePatches,Df as computeSkillConsumerImpact,qr as containWindowsEffectProcess,At as countActiveLineageMessages,ce as countLastAssistantToolCalls,g as countTokens,y as createAgent,Vx as createAgentActorController,Hx as createAgentExecutorPlane,zm as createExecutor,Xt as createExtensionStore,Tr as createFileArtifactFromPath,z as createHandoff,Sr as createImageArtifactFromPath,A as createInMemorySession,po as createInvariantSessionForAgent,Uf as createLearnedCapabilityScope,mm as createLearnedSkillActionDriver,Yf as createLearnedSkillRecord,Qf as createLearningCenterService,ct as createLegacyToolPairingLookup,De as createLlmJudgedStopHook,tp as createMcpCapabilityId,Bp as createMcpManager,Cp as createMcpTestServerFixture,ip as createMcpTransport,Dx as createMemoryAgentExecutorPlaneStore,Im as createMemoryControlPlane,Ix as createReferenceAgentExecutorFactory,lm as createResolver,gx as createRestrictedWorkflowModule,Mr as createRuntimeDeliveryPredicate,ht as createSessionLineage,le as createStateWriter,D as createTrace,Ur as createVideoArtifactFromPath,lx as createWorkflowCapsule,nx as createWorkflowModuleFromCapsule,mx as createWorkflowProcessTracker,Bx as createWorkflowRunManager,zx as createWorkflowRuntime,xf as decideSkillGovernance,pp as defaultMcpCacheDir,M as defaultTracer,Vm as deferEpisodeReview,so as detectHandoffSignal,de as detectIdleYield,$ as detectInstructionsInjection,Xm as discardFencedEpisodeReview,np as discoverAuthorizationServerMetadata,ne as discoverInstances,qp as discoverOAuthEndpoints,lp as discoverProtectedResourceMetadata,gm as discoverSkills,im as discoverSkillsWithMonorepo,Em as dispatchSkillCreatorTool,rp as drainPendingEpisodeReviews,Ae as editDistance,vo as emitHandoffSpan,v as emitKodaXDiagnostic,xe as enqueueWithArtifacts,d as estimateTokens,Nf as eventFromCapability,ut as evictOldIslandMessageContent,Go as evidenceTrail,dm as exactInvokedSkillSnapshotForSession,l as exceedsContextCapacity,bo as executeRunnerToolCall,Am as executeSkill,Bm as expandSkillForLLM,Ip as extractArtifactLedger,Fo as extractAssistantTextFromMessage,Gp as extractFileOps,kp as extractInsufficientScope,jp as extractResourceMetadataUrl,It as extractTitleFromMessages,Um as failEpisodeReviewApply,Tm as failEpisodeReviewAttempt,Ho as finalOwner,Be as findFuzzyToolMatch,dt as findLegacyToolPairingRestorations,vt as findPreviousUserEntryId,yt as forkSessionLineage,w as formatKodaXDiagnostic,Cm as formatSkillActivationMessage,qm as formatSkillsSystemPrompt,Pm as freezeEpisodeReviewInput,Ht as generateSessionId,Gt as generateSessionIdSync,Pp as generateSummary,Et as getActiveMemoryOutcomeReviewIds,ue as getActiveTeamModeWriter,Cr as getActiveUserInteraction,X as getAdmissionMetricsSnapshot,eo as getAdmittedAgentBindings,Mo as getAgentConfigHome,No as getAgentConfigPath,Qo as getAppDataDir,Uo as getCachedRejectedEfforts,So as getCapabilityCacheFile,$e as getDefaultSkillPaths,Cx as getDefaultWorkflowRunManager,S as getInvariant,Rf as getLearnedExtensionToolName,cp as getMcpCachePaths,Er as getMessageQueue,pe as getModelInputCapabilities,hm as getNestedSkillPaths,it as getSessionLineagePath,gt as getSessionMessageEntryId,jt as getSessionMessagesFromLineage,of as getSkillPathsFlat,um as getSkillRegistry,Zt as gracefulCompactDegradation,Io as handoffLegality,Je as hashCwd,Fe as hashMemoryIdentityComponent,Qr as inferImageMediaType,Rr as inferVideoMediaType,vm as initializeSkillRegistry,at as injectPostCompactAttachments,Ym as inspectEpisodeReviewJob,om as invokeLearnedSkillCanary,Ce as invokeLlmJudge,Z as isAdmissionDebugEnabled,zr as isAskUserCustomInputAnswer,Oe as isAutoManagedMemoryFile,xr as isChildProcessExited,cr as isCurrentProcessWindowsJobContained,rt as isEmptyLikeSummary,ex as isFinalWorkflowProcessStatus,Rt as isGoalEntry,be as isIdleYieldEnabled,fm as isLearnedCapabilityRecordV2,Sf as isLearnedExtensionCommandAllowed,We as isMemoryManagementController,Oo as isPathInsideDirectory,xo as isRunnableTool,Ao as isRunnerIterationLimitError,ao as isRunnerLlmResult,Dm as isSkillCreatorDispatchAction,fp as isUnifiedLearningReviewModelInput,ir as killChildProcessTree,jr as killChildProcessTreeSync,gr as killPidTree,hr as killPidTreeSync,Kf as learningEventIdFor,Jf as learningEventKindForLifecycle,xx as lintRestrictedWorkflowSource,cm as listLearnedSkillUsageReceipts,_m as listPendingEpisodeReviewSummaries,Zm as listPendingEpisodeReviews,Ze as listPluginSkillPaths,T as listRegisteredInvariants,To as loadCapabilityCache,ff as loadFullSkill,mf as loadSkillFileContent,ef as loadSkillMetadata,vp as loadValidToken,Ee as matchesMemoryApplicability,Nr as maybeDrainMidTurn,Ge as memoryApplicabilityFingerprint,Gm as memoryMutationHandle,Fm as memoryProposalRevision,Jp as mergeArtifactLedger,Hp as mergeFileOps,Xp as mergeUserQueryLedger,Tt as microcompact,Lr as midTurnDrainPriority,pm as migrateLegacyLearnedSkillsForProject,et as needsCompaction,Up as normalizeCompactionConfig,fx as normalizeHostMetadata,xp as normalizeMcpCapabilityId,Xr as normalizePastedImage,Ut as normalizeRecoveryPrompt,mp as normalizeUnifiedLearningReview,yx as normalizeWorkflowLimits,jm as parseArguments,ap as parseMcpCapabilityId,Re as parseMemoryFile,Qe as parseMemoryType,Pe as parseMemoryTypeFromFilename,Se as parseScalarFields,rf as parseSkillMarkdown,Zp as parseUserQueryLedger,up as performOAuthLogin,Nt as persistCompactedSessionHistory,oe as persistImageAsBlock,Nm as persistPendingEpisodeReview,mr as prepareInternalNodeLaunch,pr as prepareJavaScriptChildLaunch,Of as projectLearningProposals,re as prunePasteTmpDir,em as quarantineLearnedSkillRevision,Zr as readAndNormalizeClipboardImage,Yr as readClipboardImage,Ot as readLatestGoalFromBranch,Pt as readLatestGoalState,kf as readLearningProposalStore,br as readProcessStartIdentity,yo as readRunnerRecoveryTranscript,Mt as readSessionHistoryEntry,Bf as readSkillTrustLedger,zf as readSkillUsageLedger,s as reclaimReservedResponseTokens,jf as reclaimStaleKodaXFileLock,bm as reconcileLearnedSkillBindingOutcomes,Ef as recordCompletedTurnLearning,tm as recordLearnedSkillOffered,vf as recordProceduralLearning,Vo as recordRejectedEffort,Af as recordSkillUsage,Hr as registerActiveRootQueueRoute,Ko as registerCoreInvariants,R as registerInvariant,lr as registerManagedChildProcess,sp as registerOAuthClient,Xe as registerPluginSkillPath,Bo as registerPresetDispatcher,$f as releaseLearnedSkillBinding,dr as rememberChildProcessTree,Wf as renderDeclarativeSkill,Yp as renderUserQueryLedger,uo as replaceSystemMessage,Xo as resetCapabilityCacheMemoForTesting,wm as resetSkillRegistry,Ir as resolveActiveRootQueueRoute,Vp as resolveCompactionPolicy,$t as resolveContextWindow,W as resolveEffectiveInvariants,Po as resolveExecutionPath,Lf as resolveLearnedAreaPaths,nf as resolveLearningProposalStore,Me as resolveMemoryEntrypoint,Le as resolveMemoryRoot,Tf as resolveProjectLearnedAreaRoot,V as resolveRequiredInvariants,Ne as resolveScopedMemoryRoot,kt as resolveSessionLineageTarget,nm as resolveSkillContent,cf as resolveSkillSnapshotLocation,yf as resolveSkillTrustLedger,wf as resolveSkillUsageLedger,wt as rewindSessionLineage,oo as runAdmissionAudit,ke as runFanOut,ko as runInputGuardrails,lo as runOutputGuardrails,dx as runRestrictedWorkflowScript,qo as runToolAfterGuardrails,no as runToolBeforeGuardrails,je as runWithIdleYield,Ax as runWorkflow,Ie as sanitizeProjectKey,Hm as sanitizePromptSafeMemoryClaim,ep as sanitizeUnifiedLearningReviewInput,bp as searchMcpCatalog,Jt as searchSessionHistory,Lt as searchSessionHistoryCooperatively,Kp as serializeConversation,se as setActiveTeamModeWriter,Br as setActiveUserInteraction,ro as setAdmittedAgentBindings,Lo as setAgentConfigHome,u as setKodaXDiagnosticSink,lt as setSessionLineageActiveEntry,F as setTracingProcessors,Yt as shouldCompact,K as shutdownTracing,If as slugifyLearnedCapabilityName,Xf as stageLearnedSkillRevision,tr as stripHardenedEnvVars,sr as terminateWindowsEffectJob,pf as triageProceduralLearning,Ve as truncateEntrypointContent,Ke as tryGitRemote,Ye as unregisterPluginSkillPath,ve as updateActiveTeamMode,qf as updateLearningProposalStatus,Cf as updateSkillTrustLedger,lf as upsertLearningProposal,ye as validateAndFixToolHistory,Vf as validateDeclarativeSkillSpec,o as validateImageBytes,te as validateInputArtifactsForModel,cx as validateRestrictedWorkflowSource,Kt as validateSessionHistorySearchQuery,kx as validateWorkflowCapsule,tx as validateWorkflowScriptManifest,ar as waitForChildProcessExit,ge as waitForWakeEvent,ur as windowsSandboxSidHasActiveProcesses,vr as windowsSandboxSidHasOtherProcesses,Sm as withEpisodeReviewClaimAuthority,gf as withKodaXFileLock,op as withPendingEpisodeReviewSessionFence};
2
+ import{$ as oo,$a as rr,$b as Ie,$c as Gf,$d as Gm,$e as Fp,$f as Ft,$g as Fx,A as B,Aa as Co,Ab as Cr,Ac as mf,Ad as pm,Ae as mp,Af as mt,Ag as mx,B as C,Ba as Do,Bb as ae,Bc as pf,Bd as tm,Be as pp,Bf as pt,Bg as px,C as D,Ca as Eo,Cb as be,Cc as tf,Cd as xm,Ce as tp,Cf as tt,Cg as tx,D as E,Da as Fo,Db as ce,Dc as xf,Dd as am,De as xp,Df as xt,Dg as xx,E as F,Ea as Go,Eb as de,Ec as af,Ed as bm,Ee as ap,Ef as at,Eg as ax,F as G,Fa as Ho,Fb as ge,Fc as bf,Fd as cm,Fe as bp,Ff as bt,Fg as bx,G as H,Ga as Io,Gb as he,Gc as cf,Gd as dm,Ge as cp,Gf as ct,Gg as cx,H as I,Ha as Jo,Hb as ie,Hc as df,Hd as gm,He as dp,Hf as dt,Hg as dx,I as J,Ia as Ko,Ib as je,Ic as gf,Id as hm,Ie as gp,If as gt,Ig as gx,J as K,Ja as Lo,Jb as ke,Jc as hf,Jd as im,Je as hp,Jf as ht,Jg as hx,K as L,Ka as Mo,Kb as le,Kc as jf,Kd as jm,Ke as ip,Kf as it,Kg as ix,L as M,La as No,Lb as ne,Lc as kf,Ld as km,Le as jp,Lf as jt,Lg as jx,M as N,Ma as Oo,Mb as qe,Mc as lf,Md as lm,Me as kp,Mf as kt,Mg as kx,N as O,Na as Po,Nb as se,Nc as nf,Nd as nm,Ne as lp,Nf as lt,Ng as lx,O as P,Oa as Qo,Ob as ue,Oc as qf,Od as qm,Oe as np,Of as nt,Og as nx,P as Q,Pa as Ro,Pb as ve,Pc as sf,Pd as sm,Pe as qp,Pf as qt,Pg as qx,Q as R,Qa as So,Qb as we,Qc as uf,Qd as um,Qe as sp,Qf as st,Qg as sx,R as S,Ra as To,Rb as ye,Rc as vf,Rd as vm,Re as up,Rf as ut,Rg as ux,S as T,Sa as Uo,Sb as ze,Sc as wf,Sd as wm,Se as vp,Sf as vt,Sg as vx,T as U,Ta as Vo,Tb as Ae,Tc as yf,Td as ym,Te as wp,Tf as wt,Tg as wx,U as V,Ua as Wo,Ub as Be,Uc as zf,Ud as zm,Ue as yp,Uf as yt,Ug as yx,V as W,Va as Xo,Vb as Ce,Vc as Af,Vd as Am,Ve as zp,Vf as zt,Vg as zx,W as X,Wa as Yo,Wb as De,Wc as Bf,Wd as Bm,We as Ap,Wf as At,Wg as Ax,X as Y,Xa as Zo,Xb as Ee,Xc as Cf,Xd as Cm,Xe as Bp,Xf as Bt,Xg as Bx,Y as Z,Ya as _o,Yb as Fe,Yc as Df,Yd as Dm,Ye as Cp,Yf as Ct,Yg as Cx,Z as _,Za as $o,Zb as Ge,Zc as Ef,Zd as Em,Ze as Dp,Zf as Dt,Zg as Dx,_ as $,_a as or,_b as He,_c as Ff,_d as Fm,_e as Ep,_f as Et,_g as Ex,a as r,aa as ro,ab as er,ac as Je,ad as Hf,af as Gp,ag as Gt,ah as Gx,b as e,ba as eo,bb as fr,bc as Ke,bd as If,be as Hm,bf as Hp,bg as Ht,bh as Hx,c as f,ca as fo,cb as mr,cc as Le,cd as Jf,ce as Im,cf as Ip,cg as It,ch as Ix,d as m,da as mo,db as pr,dc as Me,dd as Kf,de as Jm,df as Jp,dg as Jt,dh as Jx,e as p,ea as po,eb as tr,ec as Ne,ed as Lf,ee as Km,ef as Kp,eg as Kt,eh as Kx,f as t,fa as to,fb as xr,fc as Oe,fd as Mf,fe as Lm,ff as Lp,fg as Lt,fh as Lx,g as x,ga as xo,gb as ar,gc as Pe,gd as Nf,ge as Mm,gf as Mp,gg as Mt,gh as Mx,h as a,ha as ao,hb as br,hc as Qe,hd as Of,he as Nm,hf as Np,hg as Nt,hh as Nx,i as b,ia as bo,ib as cr,ic as Re,id as Pf,ie as Om,if as Op,ig as Ot,ih as Ox,j as c,ja as co,jb as dr,jc as Se,jd as Qf,je as Pm,jf as Pp,jg as Pt,jh as Px,k as d,ka as go,kb as gr,kc as Te,kd as Rf,ke as Qm,kf as Qp,kg as Qt,kh as Qx,l as g,la as ho,lb as hr,lc as Ue,ld as Sf,le as Rm,lf as Rp,lg as Rt,lh as Rx,m as h,ma as io,mb as ir,mc as Ve,md as Tf,me as Sm,mf as Sp,mg as St,mh as Sx,n as i,na as jo,nb as jr,nc as We,nd as Uf,ne as Tm,nf as Tp,ng as Tt,nh as Tx,o as j,oa as ko,ob as kr,oc as Xe,od as Vf,oe as Um,of as Up,og as Ut,oh as Ux,p as k,pa as lo,pb as lr,pc as Ye,pd as Wf,pe as Vm,pf as Vp,pg as Vt,ph as Vx,q as l,qa as no,qb as nr,qc as Ze,qd as Xf,qe as Wm,qf as Wp,qg as Wt,qh as Wx,r as n,ra as qo,rb as qr,rc as _e,rd as Yf,re as Xm,rf as Xp,rg as Xt,rh as Xx,s as q,sa as so,sb as sr,sc as $e,sd as Zf,se as Ym,sf as Yp,sg as Yt,t as s,ta as uo,tb as ur,tc as of,td as _f,te as Zm,tf as Zp,tg as Zt,u,ua as vo,ub as vr,ud as $f,ue as _m,uf as _p,ug as _t,v,va as wo,vb as wr,vd as om,ve as $m,vf as $p,vg as $t,w,wa as yo,wb as yr,wd as rm,we as op,wf as ot,wg as ox,x as y,xa as zo,xb as zr,xc as rf,xd as em,xe as rp,xf as rt,xg as rx,y as z,ya as Ao,yb as Ar,yc as ef,yd as fm,ye as ep,yf as et,yg as ex,z as A,za as Bo,zb as Br,zc as ff,zd as mm,ze as fp,zf as ft,zg as fx}from"./chunks/chunk-VDGPJQL7.js";import{A as re,B as ee,C as fe,D as me,E as pe,F as te,G as xe,a as Dr,b as Er,c as Fr,d as Gr,e as Hr,f as Ir,g as Jr,h as Kr,i as Lr,j as Mr,k as Nr,l as Or,m as Pr,n as Qr,o as Rr,p as Sr,q as Tr,r as Ur,s as Vr,t as Wr,u as Xr,v as Yr,w as Zr,x as _r,y as $r,z as oe}from"./chunks/chunk-ZPPAT25E.js";import{ta as o}from"./chunks/chunk-7V2QBZ73.js";import"./chunks/chunk-ONUPGMER.js";export{wr as ASK_USER_BACK_SIGNAL,yr as ASK_USER_CUSTOM_INPUT_SIGNAL,Wx as AgentActorController,Px as AgentActorStoreConflictError,Nx as AgentBudgetExhaustedError,Hx as AgentCancellationUncertainError,Ux as AgentControlError,Lx as AgentExecutionError,Mx as AgentLimitReachedError,Qx as AgentOwnerConflictError,Rx as AgentOwnerUnknownError,Ox as AgentRevisionConflictError,Sx as AgentSettlementPersistenceError,Tx as AgentShutdownPersistenceError,Gx as AgentStartUncertainError,Vx as AgentTurnScheduler,rr as BUN_BE_BUN_ENV,Ro as CAPABILITY_CACHE_FILENAME,et as COMPACTED_HISTORY_RECOVERY_GUIDANCE,Vp as COMPACTION_PROTECTION_RATIO,rt as COMPACTION_SUMMARY_PREFIX,h as CONTEXT_SAFETY_FLOOR_TOKENS,i as CONTEXT_SAFETY_RATIO,Jo as CORE_INVARIANTS,N as ConsoleTracingProcessor,j as ContextCapacityError,Sp as DEFAULT_COMPACTION_TRIGGER_PERCENT,ox as DEFAULT_CONTEXT_WINDOW,ie as DEFAULT_IDLE_YIELD_MAX_ITERATIONS,Ut as DEFAULT_MICROCOMPACTION_CONFIG,at as DEFAULT_POST_COMPACT_CONFIG,Np as DEFAULT_SUMMARY_PROMPT,_ as DEFAULT_SYSTEM_CAP,Op as DEFAULT_UPDATE_SUMMARY_PROMPT,B as DefaultSummaryCompaction,er as ELECTRON_NODE_ENV_SCRUB_IMPORT,or as ELECTRON_RUN_AS_NODE_ENV,Lm as EpisodeReviewBranchChangedError,Km as EpisodeReviewFailure,Ix as ExternalAgentRegistrationConflictError,Yt as FileExtensionStore,Pf as FileLearningCenterService,O as FileTracingProcessor,ho as GuardrailBlockedError,io as GuardrailEscalateError,_o as HARDENED_ENV_VARS,$o as HARDENING_OPT_OUT_ENV,Pr as ImageResizeError,mo as InvariantSession,b as KODAX_API_MIN_INTERVAL,e as KODAX_DEFAULT_TIMEOUT,me as KODAX_FILE_MEDIA_TYPES,f as KODAX_HARD_TIMEOUT,ee as KODAX_IMAGE_MEDIA_TYPES,t as KODAX_MAX_INCOMPLETE_RETRIES,x as KODAX_MAX_MAXTOKENS_RETRIES,m as KODAX_MAX_RETRIES,r as KODAX_MAX_TOKENS,p as KODAX_RETRY_BASE_DELAY,a as KODAX_STAGGER_DELAY,fe as KODAX_VIDEO_MEDIA_TYPES,df as KodaXFileLockTimeoutError,Or as KodaXMediaError,Fp as LINEAGE_ENTRY_TYPES,Mf as LearnedAreaStore,Ff as LearningCapabilityError,Hp as LineageCompaction,Gp as LineageExtension,Up as MAX_COMPACTION_TRIGGER_PERCENT,Vr as MAX_DIMENSION,Ue as MAX_ENTRYPOINT_BYTES,Te as MAX_ENTRYPOINT_LINES,af as MAX_SKILL_MD_BYTES,bf as MAX_SKILL_SUPPORT_FILE_BYTES,to as MAX_TOOL_LOOP_ITERATIONS,He as MEMORY_POLICY_VERSION,Tp as MIN_COMPACTION_TRIGGER_PERCENT,ip as McpAuthRequiredError,Bp as McpCapabilityProvider,hp as McpExpiredSessionError,Cp as McpManager,Ap as McpServerRuntime,jp as McpTransportCleanupIncompleteError,Jm as MemoryControlPlane,Dr as MessageQueue,_r as PASTE_TMP_DIR_ENV,$r as PASTE_TMP_TTL_MS,xt as POST_COMPACT_MAX_TOKENS_PER_FILE,tt as POST_COMPACT_TOKEN_BUDGET,c as PROMISE_PATTERN,ot as PROTECTED_TOOL_NAMES,ae as QueuedInputArtifactError,q as RESERVE_SHRINK_FLOOR_TOKENS,Eo as Runner,zo as RunnerIterationLimitError,ym as SkillExecutor,sm as SkillRegistry,C as SpanImpl,Wr as TARGET_RAW_SIZE_BYTES,L as Tracer,km as VariableResolver,lx as WORKFLOW_CAPSULE_API_VERSION,jx as WORKFLOW_CAPSULE_FORMAT,kx as WORKFLOW_CAPSULE_VERSION,xx as WORKFLOW_PATTERN_IDS,vx as WorkflowAbortError,yx as WorkflowBudgetError,fx as WorkflowEventRecorder,wx as WorkflowLimitError,dx as WorkflowScriptExecutionError,zx as WorkflowTaskFailedError,Kr as YIELD_TOOL_NAMES,I as _emitSpanEnd,H as _emitSpanStart,J as _emitTraceEnd,G as _getRegisteredProcessors,Jr as _resetActiveRootQueueRoutesForTests,Y as _resetAdmissionMetrics,fo as _resetAdmittedAgentBindings,U as _resetInvariantRegistry,Fr as _resetMessageQueueForTests,Co as _resetPresetDispatchers,hf as acquireKodaXFileLock,Gr as actorQueueId,E as addTracingProcessor,xm as admitAndRecordLearnedSkillInvocation,_f as admitLearnedSkillBinding,St as appendGoalEntry,Ht as appendMemoryClientNotice,Et as appendMemoryOutcomeDigest,Ft as appendMemoryReviewReceipt,st as appendSessionLineageLabel,vt as applyLineageTruncation,P as applyManifestPatch,fr as applyProcessHardening,ut as applySessionCompaction,sf as applySkillLearningProposal,uf as approveStoredLearningProposal,Dt as archiveOldIslands,Ar as asSingleSelection,Hf as assertLearnedCapabilityTransition,Yo as assertNoGitInstallPrompt,Zo as assertNoGitInstallPromptSync,cx as assertRestrictedWorkflowQuality,wo as attachRunnerRecoveryTranscript,we as bootstrapTeamMode,co as buildAssistantMessageFromLlmResult,Pp as buildCompactionCacheInstruction,Qp as buildCompactionPromptSnapshot,dt as buildFileContentMessages,zp as buildInitializeCapabilities,qe as buildOtherInstancesPromptBlock,bt as buildPostCompactAttachments,Xt as buildRecoverySeed,Bt as buildSessionTree,Do as buildSystemPrompt,go as buildToolResultMessage,ux as buildWorkflowCapsuleIntent,ex as buildWorkflowOutcome,k as calculateContextSafetyMargin,n as calculateMaxContextInputTokens,tf as canMarkCreatedByAgent,Gf as canTransitionLearnedCapability,Mm as captureEpisodeReviewBranchEpoch,Om as claimEpisodeReview,ze as cleanupIncompleteToolCalls,kr as cleanupManagedRunChildProcess,nr as cleanupRegisteredManagedChildren,Wo as clearCapabilityCache,_e as clearPluginSkillPaths,jo as collectGuardrails,Yp as collectUserQueryLedger,Rm as commitEpisodeReviewAction,Qm as commitEpisodeReviewDecision,Zf as commitLearnedSkillRevision,pt as compact,$m as completeEpisodeReview,Wm as completeFencedEpisodeReview,rm as completeLearnedSkillOutcome,am as completeLearnedSkillSessionOutcomes,he as composeIdleYieldUserMessage,Q as composePatches,Df as computeSkillConsumerImpact,qr as containWindowsEffectProcess,Ct as countActiveLineageMessages,ce as countLastAssistantToolCalls,g as countTokens,y as createAgent,Xx as createAgentActorController,Jx as createAgentExecutorPlane,zm as createExecutor,Zt as createExtensionStore,Tr as createFileArtifactFromPath,z as createHandoff,Sr as createImageArtifactFromPath,A as createInMemorySession,po as createInvariantSessionForAgent,Uf as createLearnedCapabilityScope,mm as createLearnedSkillActionDriver,Yf as createLearnedSkillRecord,Qf as createLearningCenterService,gt as createLegacyToolPairingLookup,De as createLlmJudgedStopHook,tp as createMcpCapabilityId,Dp as createMcpManager,Ep as createMcpTestServerFixture,kp as createMcpTransport,Fx as createMemoryAgentExecutorPlaneStore,Im as createMemoryControlPlane,Kx as createReferenceAgentExecutorFactory,lm as createResolver,ix as createRestrictedWorkflowModule,Mr as createRuntimeDeliveryPredicate,jt as createSessionLineage,le as createStateWriter,D as createTrace,Ur as createVideoArtifactFromPath,qx as createWorkflowCapsule,sx as createWorkflowModuleFromCapsule,tx as createWorkflowProcessTracker,Dx as createWorkflowRunManager,Bx as createWorkflowRuntime,xf as decideSkillGovernance,pp as defaultMcpCacheDir,M as defaultTracer,Vm as deferEpisodeReview,so as detectHandoffSignal,de as detectIdleYield,$ as detectInstructionsInjection,Xm as discardFencedEpisodeReview,sp as discoverAuthorizationServerMetadata,ne as discoverInstances,up as discoverOAuthEndpoints,qp as discoverProtectedResourceMetadata,gm as discoverSkills,im as discoverSkillsWithMonorepo,Em as dispatchSkillCreatorTool,rp as drainPendingEpisodeReviews,Ae as editDistance,vo as emitHandoffSpan,v as emitKodaXDiagnostic,xe as enqueueWithArtifacts,d as estimateTokens,Nf as eventFromCapability,wt as evictOldIslandMessageContent,Go as evidenceTrail,dm as exactInvokedSkillSnapshotForSession,l as exceedsContextCapacity,bo as executeRunnerToolCall,Am as executeSkill,Bm as expandSkillForLLM,Kp as extractArtifactLedger,Fo as extractAssistantTextFromMessage,Ip as extractFileOps,np as extractInsufficientScope,lp as extractResourceMetadataUrl,Kt as extractTitleFromMessages,Um as failEpisodeReviewApply,Tm as failEpisodeReviewAttempt,Ho as finalOwner,Be as findFuzzyToolMatch,ht as findLegacyToolPairingRestorations,yt as findPreviousUserEntryId,At as forkSessionLineage,w as formatKodaXDiagnostic,Cm as formatSkillActivationMessage,qm as formatSkillsSystemPrompt,Pm as freezeEpisodeReviewInput,Jt as generateSessionId,It as generateSessionIdSync,Rp as generateSummary,gp as getActiveMcpCallContext,Gt as getActiveMemoryOutcomeReviewIds,ue as getActiveTeamModeWriter,Cr as getActiveUserInteraction,X as getAdmissionMetricsSnapshot,eo as getAdmittedAgentBindings,Mo as getAgentConfigHome,No as getAgentConfigPath,Qo as getAppDataDir,Uo as getCachedRejectedEfforts,So as getCapabilityCacheFile,$e as getDefaultSkillPaths,Ex as getDefaultWorkflowRunManager,S as getInvariant,Rf as getLearnedExtensionToolName,cp as getMcpCachePaths,Er as getMessageQueue,pe as getModelInputCapabilities,hm as getNestedSkillPaths,kt as getSessionLineagePath,it as getSessionMessageEntryId,lt as getSessionMessagesFromLineage,of as getSkillPathsFlat,um as getSkillRegistry,$t as gracefulCompactDegradation,Io as handoffLegality,Je as hashCwd,Fe as hashMemoryIdentityComponent,Qr as inferImageMediaType,Rr as inferVideoMediaType,vm as initializeSkillRegistry,ct as injectPostCompactAttachments,Ym as inspectEpisodeReviewJob,om as invokeLearnedSkillCanary,Ce as invokeLlmJudge,Z as isAdmissionDebugEnabled,zr as isAskUserCustomInputAnswer,Oe as isAutoManagedMemoryFile,xr as isChildProcessExited,cr as isCurrentProcessWindowsJobContained,ft as isEmptyLikeSummary,mx as isFinalWorkflowProcessStatus,Tt as isGoalEntry,be as isIdleYieldEnabled,fm as isLearnedCapabilityRecordV2,Sf as isLearnedExtensionCommandAllowed,We as isMemoryManagementController,Oo as isPathInsideDirectory,xo as isRunnableTool,Ao as isRunnerIterationLimitError,ao as isRunnerLlmResult,Dm as isSkillCreatorDispatchAction,fp as isUnifiedLearningReviewModelInput,ir as killChildProcessTree,jr as killChildProcessTreeSync,gr as killPidTree,hr as killPidTreeSync,Kf as learningEventIdFor,Jf as learningEventKindForLifecycle,bx as lintRestrictedWorkflowSource,cm as listLearnedSkillUsageReceipts,_m as listPendingEpisodeReviewSummaries,Zm as listPendingEpisodeReviews,Ze as listPluginSkillPaths,T as listRegisteredInvariants,To as loadCapabilityCache,ff as loadFullSkill,mf as loadSkillFileContent,ef as loadSkillMetadata,yp as loadValidToken,Ee as matchesMemoryApplicability,Nr as maybeDrainMidTurn,Ge as memoryApplicabilityFingerprint,Gm as memoryMutationHandle,Fm as memoryProposalRevision,Lp as mergeArtifactLedger,Jp as mergeFileOps,Zp as mergeUserQueryLedger,Vt as microcompact,Lr as midTurnDrainPriority,pm as migrateLegacyLearnedSkillsForProject,mt as needsCompaction,Wp as normalizeCompactionConfig,px as normalizeHostMetadata,xp as normalizeMcpCapabilityId,Xr as normalizePastedImage,Wt as normalizeRecoveryPrompt,mp as normalizeUnifiedLearningReview,Ax as normalizeWorkflowLimits,jm as parseArguments,ap as parseMcpCapabilityId,Re as parseMemoryFile,Qe as parseMemoryType,Pe as parseMemoryTypeFromFilename,Se as parseScalarFields,rf as parseSkillMarkdown,$p as parseUserQueryLedger,wp as performOAuthLogin,Pt as persistCompactedSessionHistory,oe as persistImageAsBlock,Nm as persistPendingEpisodeReview,mr as prepareInternalNodeLaunch,pr as prepareJavaScriptChildLaunch,Of as projectLearningProposals,re as prunePasteTmpDir,em as quarantineLearnedSkillRevision,Zr as readAndNormalizeClipboardImage,Yr as readClipboardImage,Qt as readLatestGoalFromBranch,Rt as readLatestGoalState,kf as readLearningProposalStore,br as readProcessStartIdentity,yo as readRunnerRecoveryTranscript,Ot as readSessionHistoryEntry,Bf as readSkillTrustLedger,zf as readSkillUsageLedger,s as reclaimReservedResponseTokens,jf as reclaimStaleKodaXFileLock,bm as reconcileLearnedSkillBindingOutcomes,Ef as recordCompletedTurnLearning,tm as recordLearnedSkillOffered,vf as recordProceduralLearning,Vo as recordRejectedEffort,Af as recordSkillUsage,Hr as registerActiveRootQueueRoute,Ko as registerCoreInvariants,R as registerInvariant,lr as registerManagedChildProcess,vp as registerOAuthClient,Xe as registerPluginSkillPath,Bo as registerPresetDispatcher,$f as releaseLearnedSkillBinding,dr as rememberChildProcessTree,Wf as renderDeclarativeSkill,_p as renderUserQueryLedger,uo as replaceSystemMessage,Xo as resetCapabilityCacheMemoForTesting,wm as resetSkillRegistry,Ir as resolveActiveRootQueueRoute,Xp as resolveCompactionPolicy,rx as resolveContextWindow,W as resolveEffectiveInvariants,Po as resolveExecutionPath,Lf as resolveLearnedAreaPaths,nf as resolveLearningProposalStore,Me as resolveMemoryEntrypoint,Le as resolveMemoryRoot,Tf as resolveProjectLearnedAreaRoot,V as resolveRequiredInvariants,Ne as resolveScopedMemoryRoot,nt as resolveSessionLineageTarget,nm as resolveSkillContent,cf as resolveSkillSnapshotLocation,yf as resolveSkillTrustLedger,wf as resolveSkillUsageLedger,zt as rewindSessionLineage,oo as runAdmissionAudit,ke as runFanOut,ko as runInputGuardrails,lo as runOutputGuardrails,hx as runRestrictedWorkflowScript,qo as runToolAfterGuardrails,no as runToolBeforeGuardrails,je as runWithIdleYield,dp as runWithMcpCallContext,Cx as runWorkflow,Ie as sanitizeProjectKey,Hm as sanitizePromptSafeMemoryClaim,ep as sanitizeUnifiedLearningReviewInput,bp as searchMcpCatalog,Lt as searchSessionHistory,Nt as searchSessionHistoryCooperatively,Mp as serializeConversation,se as setActiveTeamModeWriter,Br as setActiveUserInteraction,ro as setAdmittedAgentBindings,Lo as setAgentConfigHome,u as setKodaXDiagnosticSink,qt as setSessionLineageActiveEntry,F as setTracingProcessors,_t as shouldCompact,K as shutdownTracing,If as slugifyLearnedCapabilityName,Xf as stageLearnedSkillRevision,tr as stripHardenedEnvVars,sr as terminateWindowsEffectJob,pf as triageProceduralLearning,Ve as truncateEntrypointContent,Ke as tryGitRemote,Ye as unregisterPluginSkillPath,ve as updateActiveTeamMode,qf as updateLearningProposalStatus,Cf as updateSkillTrustLedger,lf as upsertLearningProposal,ye as validateAndFixToolHistory,Vf as validateDeclarativeSkillSpec,o as validateImageBytes,te as validateInputArtifactsForModel,gx as validateRestrictedWorkflowSource,Mt as validateSessionHistorySearchQuery,nx as validateWorkflowCapsule,ax as validateWorkflowScriptManifest,ar as waitForChildProcessExit,ge as waitForWakeEvent,ur as windowsSandboxSidHasActiveProcesses,vr as windowsSandboxSidHasOtherProcesses,Sm as withEpisodeReviewClaimAuthority,gf as withKodaXFileLock,op as withPendingEpisodeReviewSessionFence};
@@ -0,0 +1,40 @@
1
+ import { aB as KodaXProductClient, o as ClientExitReceipt } from './types-chunks/client-contract-A1jdk6xz.js';
2
+ export { C as ClientAutoModeStats, a as ClientCapabilityProbeResult, b as ClientCommandInfo, c as ClientCommandInput, d as ClientCommandResult, e as ClientCommandService, f as ClientCompactSessionResult, g as ClientConfig, h as ClientContextBudget, i as ClientContextBudgetFact, j as ClientCreateSessionInput, k as ClientEffectiveConfigValue, l as ClientEffectiveExecutionConfig, m as ClientExecutionFactsPage, n as ClientExecutionTarget, p as ClientExtensionDiagnostics, q as ClientExtensionSource, r as ClientGoalCreateInput, s as ClientHistoryBoundary, t as ClientHistoryIssue, u as ClientHistoryPage, v as ClientHistoryReadOptions, w as ClientHistorySearchInput, x as ClientHistorySearchResult, y as ClientInputAcceptance, z as ClientInteraction, A as ClientInteractionResponse, B as ClientInteractionResult, D as ClientItemContent, E as ClientItemReadOptions, F as ClientLearningService, G as ClientLearningSubscription, H as ClientLifecycleService, I as ClientLineageEntry, J as ClientLineageLabelInput, K as ClientLineageSummary, L as ClientLoadedExtension, M as ClientMcpServerConfig, N as ClientMcpServerStatus, O as ClientMcpTool, P as ClientMemoryController, Q as ClientMemoryPlane, R as ClientMemoryProposal, S as ClientMemoryRebuildResult, T as ClientMemoryService, U as ClientModelCatalog, V as ClientModelSelection, W as ClientObservation, X as ClientObservationStatus, Y as ClientObserveOptions, Z as ClientPermissionDecision, _ as ClientPermissionGrant, $ as ClientPermissionGrants, a0 as ClientPermissionInteractionOptions, a1 as ClientProviderInfo, a2 as ClientProviderRequestFact, a3 as ClientQueuedInput, a4 as ClientReviewInput, a5 as ClientReviewService, a6 as ClientRunOutcome, a7 as ClientRunStatus, a8 as ClientRunStopReceipt, a9 as ClientRunTerminal, aa as ClientSession, ab as ClientSessionActivity, ac as ClientSessionCancelInput, ad as ClientSessionCancelReceipt, ae as ClientSessionFilter, af as ClientSessionForkInput, ag as ClientSessionGoal, ah as ClientSessionRecoverInput, ai as ClientSessionSettings, aj as ClientSessionSettingsPatch, ak as ClientSessionSettingsSnapshot, al as ClientSessionSummary, am as ClientSessionView, an as ClientSkillInfo, ao as ClientStatisticsService, ap as ClientSubmitInput, aq as ClientToolExecutionFact, ar as ClientToolInvocationInput, as as ClientUsageTotals, at as ClientViewItem, au as ClientWorkflowEvent, av as ClientWorkflowProcess, aw as ClientWorkflowRun, ax as ClientWorkflowStartInput, ay as ClientWorkflowStartMetadata, az as ClientWorkflowStartResult, aA as ClientWorkflowStartSource } from './types-chunks/client-contract-A1jdk6xz.js';
3
+ import { R as RuntimeClientInfo, a as KodaXClientHostAuthorization } from './types-chunks/runtime-client-info-CxnlZlW5.js';
4
+ export { K as KodaXClientExecutionRequest, h as RuntimeExecutionAuthorization } from './types-chunks/runtime-client-info-CxnlZlW5.js';
5
+ import './types-chunks/review-inbox.d-BeaLRNHx.js';
6
+ import './types-chunks/types.d-BjOq57-z.js';
7
+ import './types-chunks/provider-request-observation.d-jL8T6wVO.js';
8
+ import './types-chunks/provider-credential-context.d-BH2OaB1b.js';
9
+ import './types-chunks/types.d-o7t9dds4.js';
10
+
11
+ /** Product SDK entry — @kodax-ai/kodax/client. */
12
+
13
+ interface ConnectKodaXClientOptions {
14
+ /** Base directory containing .kodax, matching CLI --home. */
15
+ readonly homeDir?: string;
16
+ readonly profile?: string;
17
+ /** Local socket or named pipe. Defaults to the selected profile's endpoint. */
18
+ readonly endpoint?: string;
19
+ /** Explicit Host token; otherwise read from the selected local profile. */
20
+ readonly token?: string;
21
+ readonly clientInfo?: RuntimeClientInfo;
22
+ /** Trusted Main only. Select lease capabilities outside Renderer/IPC inputs; callbacks stay local. */
23
+ readonly authorizeExecution?: KodaXClientHostAuthorization;
24
+ }
25
+ interface EnsureKodaXClientOptions extends Omit<ConnectKodaXClientOptions, 'endpoint' | 'token'> {
26
+ readonly daemonStartupTimeoutMs?: number;
27
+ }
28
+ /** Offline recovery query. Does not connect, start a Host, replay work, or clean Space resources. */
29
+ declare function readKodaXClientExits(options: {
30
+ readonly homeDir?: string;
31
+ readonly profile?: string;
32
+ readonly clientInfo: RuntimeClientInfo;
33
+ }): Promise<readonly ClientExitReceipt[]>;
34
+ /** Local launcher. All business operations use the same product Client as passive connections. */
35
+ declare function ensureKodaXClient(options?: EnsureKodaXClientOptions): Promise<KodaXProductClient>;
36
+ /** Connect to an existing compatible Host without starting or replacing one. */
37
+ declare function connectKodaXClient(options?: ConnectKodaXClientOptions): Promise<KodaXProductClient>;
38
+
39
+ export { ClientExitReceipt, KodaXClientHostAuthorization, KodaXProductClient, RuntimeClientInfo, connectKodaXClient, ensureKodaXClient, readKodaXClientExits };
40
+ export type { ConnectKodaXClientOptions, EnsureKodaXClientOptions };
@@ -0,0 +1,2 @@
1
+ // @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
2
+ import{b as a,c as b,d as c}from"./chunks/chunk-NO23K2CB.js";import"./chunks/chunk-ZS2GUADU.js";import"./chunks/chunk-QVDTORL3.js";import"./chunks/chunk-RXDS6CNA.js";import"./chunks/chunk-5P7RTSZT.js";import"./chunks/chunk-VEZ4WHPN.js";import"./chunks/chunk-ZQYWDI4O.js";import"./chunks/chunk-QOFFAY5C.js";import"./chunks/chunk-QGWHJIO4.js";import"./chunks/chunk-HSRYDDPF.js";import"./chunks/chunk-3PS3YEDS.js";import"./chunks/chunk-QZ4B4AWG.js";import"./chunks/chunk-K3DQGSQU.js";import"./chunks/chunk-OT5WHAX4.js";import"./chunks/chunk-ZZQ4GDVU.js";import"./chunks/chunk-2GV6MQ4T.js";import"./chunks/chunk-4VJMQDTH.js";import"./chunks/chunk-F7DHZH6T.js";import"./chunks/chunk-5DSUVP46.js";import"./chunks/chunk-VDGPJQL7.js";import"./chunks/chunk-ZPPAT25E.js";import"./chunks/chunk-7V2QBZ73.js";import"./chunks/chunk-ONUPGMER.js";export{c as connectKodaXClient,b as ensureKodaXClient,a as readKodaXClientExits};