@kodax-ai/kodax 0.7.81 → 0.7.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -0
- package/README.md +22 -0
- package/README_CN.md +17 -0
- package/dist/chunks/{agent-UMBMZLCW.js → agent-S7LMMTG7.js} +1 -1
- package/dist/chunks/argument-completer-SQHG2LYE.js +2 -0
- package/dist/chunks/chunk-37RT45HT.js +379 -0
- package/dist/chunks/{chunk-WLGQ6XI2.js → chunk-3DKQC7A2.js} +138 -138
- package/dist/chunks/{chunk-QMPJJCBE.js → chunk-45E23YJI.js} +142 -67
- package/dist/chunks/{chunk-D66EWPAX.js → chunk-6QILIBOU.js} +156 -156
- package/dist/chunks/{chunk-ITY7HLSS.js → chunk-DSFHIUHZ.js} +2 -2
- package/dist/chunks/{chunk-5XCQGFGP.js → chunk-DZUMH6GJ.js} +1 -1
- package/dist/chunks/{chunk-BNFUIZKY.js → chunk-HI6RCW5Y.js} +2 -2
- package/dist/chunks/{chunk-THBWLOA3.js → chunk-LF2JBTBG.js} +4 -4
- package/dist/chunks/{chunk-FGQZUN7C.js → chunk-RAQGGVIF.js} +1 -1
- package/dist/chunks/{chunk-VTFG3B7U.js → chunk-TC2VHPG5.js} +14 -14
- package/dist/chunks/{chunk-LLWRPP6U.js → chunk-URCS6CVP.js} +1 -1
- package/dist/chunks/{chunk-RX3X3PER.js → chunk-XB2JNLXH.js} +2 -2
- package/dist/chunks/{compaction-config-SSPH4V36.js → compaction-config-SSQ5NXUP.js} +1 -1
- package/dist/chunks/{construction-bootstrap-P5ZKDLTM.js → construction-bootstrap-E4M3CY3N.js} +1 -1
- package/dist/chunks/{dist-7J763N5L.js → dist-MIXP4ULB.js} +1 -1
- package/dist/chunks/{host-22ITM5E3.js → host-ZCPI7SMC.js} +1 -1
- package/dist/chunks/{run-manager-ABNHISGD.js → run-manager-4RYG7HSP.js} +1 -1
- package/dist/chunks/{utils-ATKWKEDP.js → utils-7DKE2EKT.js} +1 -1
- package/dist/index.d.ts +13 -13
- package/dist/index.js +5 -5
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1708 -1284
- package/dist/kodax_resume.js +140 -65
- package/dist/runtime-worker.js +1538 -1114
- package/dist/sandbox-workspace-session.js +121 -46
- package/dist/sdk-a2a.d.ts +8 -8
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-agent.d.ts +16 -9
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +13 -13
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-repl.d.ts +11 -11
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +55 -10
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +4 -4
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +120 -45
- package/dist/types-chunks/{bash-prefix-extractor.d-D_bvmnHs.d.ts → bash-prefix-extractor.d-CJM7OY-L.d.ts} +2 -2
- package/dist/types-chunks/{capsule.d-BFpbFq-C.d.ts → capsule.d-B7yoH4dM.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-C2aHqzHj.d.ts → controller.d-CYNuR2n9.d.ts} +2 -2
- package/dist/types-chunks/{guardrail.d-CrSR1T_a.d.ts → guardrail.d-fM3mn4Op.d.ts} +2 -2
- package/dist/types-chunks/{history-retrieval.d-DImTKgO6.d.ts → history-retrieval.d-BDI-ZMvY.d.ts} +1 -1
- package/dist/types-chunks/{public-api.d-C-lVOhdt.d.ts → public-api.d-i10kvYFs.d.ts} +2 -2
- package/dist/types-chunks/{repl.d-DGi0nhpl.d.ts → repl.d-Cs3eqGVT.d.ts} +5 -5
- package/dist/types-chunks/{run-manager.d-C6ahvZqK.d.ts → run-manager.d-CodHf6rw.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-D5Ffq4h-.d.ts → sdk-session-CRXu5xNs.d.ts} +2 -2
- package/dist/types-chunks/{shell-command-sets.d-jmXn8K7r.d.ts → shell-command-sets.d-DfeSUjjM.d.ts} +1 -1
- package/dist/types-chunks/{types.d-BzpPDBPV.d.ts → types.d-DIXZFauU.d.ts} +1 -1
- package/dist/types-chunks/{types.d-BqYq_ljy.d.ts → types.d-DKs4tfSd.d.ts} +2 -2
- package/dist/types-chunks/{utils.d-Z-YpaiUS.d.ts → utils.d-CgITiLyc.d.ts} +4 -4
- package/docs/SDK_EMBEDDER_GUIDE.md +60 -14
- package/package.json +2 -1
- package/dist/chunks/argument-completer-MHRFNBWB.js +0 -2
- package/dist/chunks/chunk-FUK6OUCW.js +0 -30
package/dist/sdk-coding.d.ts
CHANGED
|
@@ -5,26 +5,26 @@ export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecT
|
|
|
5
5
|
import { K as KodaXBaseProvider } from './types-chunks/base.d-DxG0m09Z.js';
|
|
6
6
|
import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-K664nHOS.js';
|
|
7
7
|
export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-K664nHOS.js';
|
|
8
|
-
import { eH as UnifiedLearningReviewRunner, ae as AgentMessage, f as Agent, e0 as RunnerLlmReturn, e2 as RunnerToolCall, bM as KodaXInputArtifact, eb as SessionErrorMetadata, dP as QualityInvariant, ey as ToolCapability, dX as RunnableTool, ez as ToolGuardrail, b7 as DispatchableAgentDescriptor, I as AgentDispatchContext, bI as KodaXGoalState, a6 as AgentForkTurns, ca as KodaXSessionStorage, eQ as WorkflowEventCorrelation, bl as Guardrail, h as AgentActorClient, y as AgentCapabilities, fs as WorkflowTaskSummaryEventUpdate, eJ as WorkflowAgentBackend, eY as WorkflowModule, fh as WorkflowProcessTrackerOptions, eP as WorkflowEvent, eN as WorkflowArtifactRef, eW as WorkflowMeta, fj as WorkflowRunState, eL as WorkflowApproval, f5 as WorkflowProcessEvent, eM as WorkflowApprovalSummary, eU as WorkflowLimits, fb as WorkflowProcessSnapshot } from './types-chunks/controller.d-
|
|
9
|
-
export { ao as AgentReasoningProfile, aF as AgentTool, aM as AskUserAnswer, aN as AskUserCustomInputAnswer, aO as AskUserMultiOptions, aP as AskUserQuestionItem, aQ as AskUserQuestionOptions, aR as AskUserSelectionAnswer, aU as CompactionAnchor, aY as CompactionResult, a_ as CompactionUpdate, bs as Handoff, bu as InMemorySessionOptions, bA as KodaXCompactMemoryProgress, bB as KodaXCompactMemorySeed, bC as KodaXExtensionSessionRecord, bD as KodaXExtensionSessionState, bG as KodaXFileInputArtifact, bK as KodaXImageInputArtifact, bL as KodaXImageMediaType, bN as KodaXInputArtifactSource, bO as KodaXJsonValue, bU as KodaXSessionArtifactLedgerEntry, bV as KodaXSessionBranchSummaryEntry, bX as KodaXSessionCompactionEntry, bY as KodaXSessionData, bZ as KodaXSessionEntry, b_ as KodaXSessionEntryBase, c0 as KodaXSessionLabelEntry, c1 as KodaXSessionLineage, c4 as KodaXSessionMessageEntry, c5 as KodaXSessionMeta, c6 as KodaXSessionNavigationOptions, c8 as KodaXSessionRuntimeInfo, c9 as KodaXSessionScope, cb as KodaXSessionTreeNode, cc as KodaXSessionUiHistoryItem, cd as KodaXSessionUiHistoryItemType, ce as KodaXSessionUiTextHistoryItem, cf as KodaXSessionUiTextHistoryItemType, cg as KodaXSessionUiToolCall, ch as KodaXSessionUiToolCallStatus, ci as KodaXSessionUiToolGroupHistoryItem, cj as KodaXSessionWorkspaceKind, ck as KodaXVideoInputArtifact, cl as KodaXVideoMediaType, dI as MessageEntry, dN as PresetDispatcher, dS as ReasoningDepth, dU as RunEvent, dV as RunOptions, dW as RunResult, dY as Runner, e8 as Session, ea as SessionEntry, ec as SessionExtension, ed as SessionForkOptions, fO as createAgent, fQ as createHandoff, fR as createInMemorySession, gp as registerPresetDispatcher } from './types-chunks/controller.d-
|
|
10
|
-
import { al as KodaXShellExecutionContract, aQ as KodaXToolExecutionContext, v as KodaXAgentScope, bo as RuntimeContextPressure, bl as RuntimeContextBudgetSnapshot, a7 as KodaXRepoIntelligenceCapability, aa as KodaXRepoIntelligenceTrace, a8 as KodaXRepoIntelligenceMode, a9 as KodaXRepoIntelligenceResolvedMode, ac as KodaXRepoRoutingSignals, a1 as KodaXOptions, N as KodaXContextOptions, a6 as KodaXProviderPolicyHints, b7 as ProviderResilienceConfig, b8 as ProviderResiliencePolicy, F as FailureStage, bd as ResilienceClassification, b5 as ProviderExecutionState, ba as RecoveryDecision, bc as RecoveryResult, ad as KodaXResult, ai as KodaXSessionControl, aj as KodaXSessionMutators, T as KodaXManagedProtocolPayload, E as ExtensionRuntimeContract, bp as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, Q as KodaXEvents, bx as TodoStatus, m as GoalCompleteResult, bf as ResolveKodaXManualInput, bg as ResolveKodaXManualOptions, bh as ResolveKodaXManualResult, _ as KodaXManualTopicId, Z as KodaXManualTopic, s as KodaXActorHost, H as KodaXChildContextBundle, I as KodaXChildExecutionResult, bz as WorkflowHostPolicy, aO as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-
|
|
11
|
-
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as CodingActorSession, e as CodingActorSessionOptions, f as CompactionAntiThrashConfig, g as CompactionAntiThrashState, h as CompactionSavingsDecision, i as CompactionSavingsSample, j as CompactionSkipReason, k as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, l as ExtractCommandPrefixOptions, G as GoalBlockedResult, n as GoalCreateInput, o as GoalLifecycleContext, p as GoalRuntimeBinding, q as GoalRuntimeBindingDeps, r as GoalToolsContext, K as KodaXActivityEventMeta, t as KodaXAgentMode, u as KodaXAgentProfile, w as KodaXBudgetDisclosureZone, x as KodaXBudgetExtensionRequest, y as KodaXCanonicalAgentMode, z as KodaXChildAgentResult, J as KodaXCompactionOverride, L as KodaXContextCompactionFinishedEvent, M as KodaXContextIdentity, O as KodaXContextTokenSnapshot, P as KodaXEffectiveTaskConfig, R as KodaXLiveEventMeta, S as KodaXManagedBudgetSnapshot, U as KodaXManagedTask, V as KodaXManagedTaskRuntimeState, W as KodaXManagedTaskStatusEvent, X as KodaXManualIndexTopic, Y as KodaXManualSource, $ as KodaXManualTopicInput, a0 as KodaXMemoryStrategy, a2 as KodaXOrchestrationVerdict, a3 as KodaXParentReductionContract, a4 as KodaXPreparedShellSandboxInvocation, a5 as KodaXPromptCacheDiagnosticEvent, ab as KodaXRepoIntelligenceTraceEvent, ae as KodaXRoleRoundSummary, af as KodaXRuntimeVerificationContract, ag as KodaXSandboxOptions, ah as KodaXSelfManualConfig, ak as KodaXSessionOptions, am as KodaXShellKind, an as KodaXShellProfileMode, ao as KodaXShellSandbox, ap as KodaXShellSandboxBackend, aq as KodaXShellSandboxObservation, ar as KodaXShellSandboxPrepareInput, as as KodaXSidecarMessageEvent, at as KodaXSkillDynamicContextPolicy, au as KodaXSkillInvocationContext, av as KodaXSkillMap, aw as KodaXSkillProjectionConfidence, ax as KodaXSkillScriptInputFile, ay as KodaXSkillScriptOutputFile, az as KodaXSkillScriptRunInput, aA as KodaXSkillScriptRunner, aB as KodaXTaskCapabilityHint, aC as KodaXTaskContract, aD as KodaXTaskEvidenceArtifact, aE as KodaXTaskEvidenceBundle, aF as KodaXTaskEvidenceEntry, aG as KodaXTaskRole, aH as KodaXTaskRoleAssignment, aI as KodaXTaskStatus, aJ as KodaXTaskSurface, aK as KodaXTaskToolPolicy, aL as KodaXTaskVerificationContract, aM as KodaXTaskVerificationCriterion, aN as KodaXTaskWorkItem, aP as KodaXToolEventMeta, aR as KodaXToolSandboxObservationUpdate, aS as KodaXToolVisibilityMeta, aT as KodaXToolVisibilityPolicy, aU as KodaXTurnCompletedEvent, aV as KodaXTurnDeliveryKind, aW as KodaXTurnFailedEvent, aX as KodaXTurnStartedEvent, aY as KodaXVerificationScorecard, aZ as KodaXVerificationScorecardCriterion, a_ as KodaXWorkflowAgentDigestEvent, a$ as KodaXWorkflowEventMeta, b0 as KodaXWorkflowTimeoutConfig, b1 as LSP_SERVERS, b2 as LspServerInfo, b3 as LspService, b4 as LspServiceConfig, b6 as ProviderRecoveryEvent, b9 as RecoveryAction, bb as RecoveryLadderStep, be as ResilienceErrorClass, bi as RuntimeCompactionSkippedEvent, bj as RuntimeContextBudgetBreakdown, bk as RuntimeContextBudgetRecommendation, bm as RuntimeContextBudgetSnapshotInput, bn as RuntimeContextOptimizationProfile, bq as RuntimeToolExposureDecision, br as RuntimeToolExposureMode, bs as RuntimeToolExposurePlan, bt as RuntimeToolExposurePlanInput, bu as RuntimeToolExposureReason, bv as TodoItem, bw as TodoList, by as ToolSideEffect, bA as WorkflowInvocationAction, bB as WorkflowInvocationPolicyDecision, bC as WorkflowInvocationPolicyInput, bD as WorkflowInvocationSource, bE as WorkflowStartOutcome, bF as WorkflowToolHost, bG as WorkflowToolHostInlineInput, bH as WorkflowToolHostResult, bI as WorkflowToolHostStartResult, bJ as buildGoalRuntimeBinding, bK as consumeCompactionCooldown, bL as createBashPrefixExtractor, bM as createCompactionAntiThrashState, bN as createExternalActorTurnExecutor, bO as createLocalCodingActorControl, bP as createRuntimeContextBudgetSnapshot, bQ as decideWorkflowInvocation, bR as drainPendingSwaps, bS as estimateToolSchemaTokens, bT as extractCommandPrefix, bU as getDefaultLspService, bV as hasExplicitNaturalLanguageWorkflowIntent, bW as hasPendingSwap, bX as makeDisabledGoalToolsContext, bY as normalizeKodaXAgentMode, bZ as planToolExposure, b_ as providerResilienceConfigFromTimeouts, b$ as recordCompactionSavings, c0 as resolveConstructedAgent, c1 as shouldSkipLlmCompaction, c2 as shutdownDefaultLspService, c3 as withGoalBeforeNextTurn, c4 as withGoalStopHook, c5 as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-
|
|
8
|
+
import { eH as UnifiedLearningReviewRunner, ae as AgentMessage, f as Agent, e0 as RunnerLlmReturn, e2 as RunnerToolCall, bM as KodaXInputArtifact, eb as SessionErrorMetadata, dP as QualityInvariant, ey as ToolCapability, dX as RunnableTool, ez as ToolGuardrail, b7 as DispatchableAgentDescriptor, I as AgentDispatchContext, bI as KodaXGoalState, a6 as AgentForkTurns, ca as KodaXSessionStorage, eQ as WorkflowEventCorrelation, bl as Guardrail, h as AgentActorClient, y as AgentCapabilities, fs as WorkflowTaskSummaryEventUpdate, eJ as WorkflowAgentBackend, eY as WorkflowModule, fh as WorkflowProcessTrackerOptions, eP as WorkflowEvent, eN as WorkflowArtifactRef, eW as WorkflowMeta, fj as WorkflowRunState, eL as WorkflowApproval, f5 as WorkflowProcessEvent, eM as WorkflowApprovalSummary, eU as WorkflowLimits, fb as WorkflowProcessSnapshot } from './types-chunks/controller.d-CYNuR2n9.js';
|
|
9
|
+
export { ao as AgentReasoningProfile, aF as AgentTool, aM as AskUserAnswer, aN as AskUserCustomInputAnswer, aO as AskUserMultiOptions, aP as AskUserQuestionItem, aQ as AskUserQuestionOptions, aR as AskUserSelectionAnswer, aU as CompactionAnchor, aY as CompactionResult, a_ as CompactionUpdate, bs as Handoff, bu as InMemorySessionOptions, bA as KodaXCompactMemoryProgress, bB as KodaXCompactMemorySeed, bC as KodaXExtensionSessionRecord, bD as KodaXExtensionSessionState, bG as KodaXFileInputArtifact, bK as KodaXImageInputArtifact, bL as KodaXImageMediaType, bN as KodaXInputArtifactSource, bO as KodaXJsonValue, bU as KodaXSessionArtifactLedgerEntry, bV as KodaXSessionBranchSummaryEntry, bX as KodaXSessionCompactionEntry, bY as KodaXSessionData, bZ as KodaXSessionEntry, b_ as KodaXSessionEntryBase, c0 as KodaXSessionLabelEntry, c1 as KodaXSessionLineage, c4 as KodaXSessionMessageEntry, c5 as KodaXSessionMeta, c6 as KodaXSessionNavigationOptions, c8 as KodaXSessionRuntimeInfo, c9 as KodaXSessionScope, cb as KodaXSessionTreeNode, cc as KodaXSessionUiHistoryItem, cd as KodaXSessionUiHistoryItemType, ce as KodaXSessionUiTextHistoryItem, cf as KodaXSessionUiTextHistoryItemType, cg as KodaXSessionUiToolCall, ch as KodaXSessionUiToolCallStatus, ci as KodaXSessionUiToolGroupHistoryItem, cj as KodaXSessionWorkspaceKind, ck as KodaXVideoInputArtifact, cl as KodaXVideoMediaType, dI as MessageEntry, dN as PresetDispatcher, dS as ReasoningDepth, dU as RunEvent, dV as RunOptions, dW as RunResult, dY as Runner, e8 as Session, ea as SessionEntry, ec as SessionExtension, ed as SessionForkOptions, fO as createAgent, fQ as createHandoff, fR as createInMemorySession, gp as registerPresetDispatcher } from './types-chunks/controller.d-CYNuR2n9.js';
|
|
10
|
+
import { al as KodaXShellExecutionContract, aQ as KodaXToolExecutionContext, v as KodaXAgentScope, bo as RuntimeContextPressure, bl as RuntimeContextBudgetSnapshot, a7 as KodaXRepoIntelligenceCapability, aa as KodaXRepoIntelligenceTrace, a8 as KodaXRepoIntelligenceMode, a9 as KodaXRepoIntelligenceResolvedMode, ac as KodaXRepoRoutingSignals, a1 as KodaXOptions, N as KodaXContextOptions, a6 as KodaXProviderPolicyHints, b7 as ProviderResilienceConfig, b8 as ProviderResiliencePolicy, F as FailureStage, bd as ResilienceClassification, b5 as ProviderExecutionState, ba as RecoveryDecision, bc as RecoveryResult, ad as KodaXResult, ai as KodaXSessionControl, aj as KodaXSessionMutators, T as KodaXManagedProtocolPayload, E as ExtensionRuntimeContract, bp as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, Q as KodaXEvents, bx as TodoStatus, m as GoalCompleteResult, bf as ResolveKodaXManualInput, bg as ResolveKodaXManualOptions, bh as ResolveKodaXManualResult, _ as KodaXManualTopicId, Z as KodaXManualTopic, s as KodaXActorHost, H as KodaXChildContextBundle, I as KodaXChildExecutionResult, bz as WorkflowHostPolicy, aO as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-CJM7OY-L.js';
|
|
11
|
+
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as CodingActorSession, e as CodingActorSessionOptions, f as CompactionAntiThrashConfig, g as CompactionAntiThrashState, h as CompactionSavingsDecision, i as CompactionSavingsSample, j as CompactionSkipReason, k as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, l as ExtractCommandPrefixOptions, G as GoalBlockedResult, n as GoalCreateInput, o as GoalLifecycleContext, p as GoalRuntimeBinding, q as GoalRuntimeBindingDeps, r as GoalToolsContext, K as KodaXActivityEventMeta, t as KodaXAgentMode, u as KodaXAgentProfile, w as KodaXBudgetDisclosureZone, x as KodaXBudgetExtensionRequest, y as KodaXCanonicalAgentMode, z as KodaXChildAgentResult, J as KodaXCompactionOverride, L as KodaXContextCompactionFinishedEvent, M as KodaXContextIdentity, O as KodaXContextTokenSnapshot, P as KodaXEffectiveTaskConfig, R as KodaXLiveEventMeta, S as KodaXManagedBudgetSnapshot, U as KodaXManagedTask, V as KodaXManagedTaskRuntimeState, W as KodaXManagedTaskStatusEvent, X as KodaXManualIndexTopic, Y as KodaXManualSource, $ as KodaXManualTopicInput, a0 as KodaXMemoryStrategy, a2 as KodaXOrchestrationVerdict, a3 as KodaXParentReductionContract, a4 as KodaXPreparedShellSandboxInvocation, a5 as KodaXPromptCacheDiagnosticEvent, ab as KodaXRepoIntelligenceTraceEvent, ae as KodaXRoleRoundSummary, af as KodaXRuntimeVerificationContract, ag as KodaXSandboxOptions, ah as KodaXSelfManualConfig, ak as KodaXSessionOptions, am as KodaXShellKind, an as KodaXShellProfileMode, ao as KodaXShellSandbox, ap as KodaXShellSandboxBackend, aq as KodaXShellSandboxObservation, ar as KodaXShellSandboxPrepareInput, as as KodaXSidecarMessageEvent, at as KodaXSkillDynamicContextPolicy, au as KodaXSkillInvocationContext, av as KodaXSkillMap, aw as KodaXSkillProjectionConfidence, ax as KodaXSkillScriptInputFile, ay as KodaXSkillScriptOutputFile, az as KodaXSkillScriptRunInput, aA as KodaXSkillScriptRunner, aB as KodaXTaskCapabilityHint, aC as KodaXTaskContract, aD as KodaXTaskEvidenceArtifact, aE as KodaXTaskEvidenceBundle, aF as KodaXTaskEvidenceEntry, aG as KodaXTaskRole, aH as KodaXTaskRoleAssignment, aI as KodaXTaskStatus, aJ as KodaXTaskSurface, aK as KodaXTaskToolPolicy, aL as KodaXTaskVerificationContract, aM as KodaXTaskVerificationCriterion, aN as KodaXTaskWorkItem, aP as KodaXToolEventMeta, aR as KodaXToolSandboxObservationUpdate, aS as KodaXToolVisibilityMeta, aT as KodaXToolVisibilityPolicy, aU as KodaXTurnCompletedEvent, aV as KodaXTurnDeliveryKind, aW as KodaXTurnFailedEvent, aX as KodaXTurnStartedEvent, aY as KodaXVerificationScorecard, aZ as KodaXVerificationScorecardCriterion, a_ as KodaXWorkflowAgentDigestEvent, a$ as KodaXWorkflowEventMeta, b0 as KodaXWorkflowTimeoutConfig, b1 as LSP_SERVERS, b2 as LspServerInfo, b3 as LspService, b4 as LspServiceConfig, b6 as ProviderRecoveryEvent, b9 as RecoveryAction, bb as RecoveryLadderStep, be as ResilienceErrorClass, bi as RuntimeCompactionSkippedEvent, bj as RuntimeContextBudgetBreakdown, bk as RuntimeContextBudgetRecommendation, bm as RuntimeContextBudgetSnapshotInput, bn as RuntimeContextOptimizationProfile, bq as RuntimeToolExposureDecision, br as RuntimeToolExposureMode, bs as RuntimeToolExposurePlan, bt as RuntimeToolExposurePlanInput, bu as RuntimeToolExposureReason, bv as TodoItem, bw as TodoList, by as ToolSideEffect, bA as WorkflowInvocationAction, bB as WorkflowInvocationPolicyDecision, bC as WorkflowInvocationPolicyInput, bD as WorkflowInvocationSource, bE as WorkflowStartOutcome, bF as WorkflowToolHost, bG as WorkflowToolHostInlineInput, bH as WorkflowToolHostResult, bI as WorkflowToolHostStartResult, bJ as buildGoalRuntimeBinding, bK as consumeCompactionCooldown, bL as createBashPrefixExtractor, bM as createCompactionAntiThrashState, bN as createExternalActorTurnExecutor, bO as createLocalCodingActorControl, bP as createRuntimeContextBudgetSnapshot, bQ as decideWorkflowInvocation, bR as drainPendingSwaps, bS as estimateToolSchemaTokens, bT as extractCommandPrefix, bU as getDefaultLspService, bV as hasExplicitNaturalLanguageWorkflowIntent, bW as hasPendingSwap, bX as makeDisabledGoalToolsContext, bY as normalizeKodaXAgentMode, bZ as planToolExposure, b_ as providerResilienceConfigFromTimeouts, b$ as recordCompactionSavings, c0 as resolveConstructedAgent, c1 as shouldSkipLlmCompaction, c2 as shutdownDefaultLspService, c3 as withGoalBeforeNextTurn, c4 as withGoalStopHook, c5 as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-CJM7OY-L.js';
|
|
12
12
|
export { CreateFileArtifactFromPathOptions, CreateImageArtifactFromPathOptions, CreateVideoArtifactFromPathOptions, EnqueueWithArtifactsInput, GetModelInputCapabilitiesInput, ImageResizeError, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXInputCapabilityStatus, KodaXMediaError, KodaXMediaErrorCode, KodaXMediaErrorOptions, KodaXModalityInputCapability, MAX_DIMENSION, ModelInputCapabilities, NormalizeImageOptions, NormalizedImage, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, PersistImageAsBlockOptions, TARGET_RAW_SIZE_BYTES, ValidateInputArtifactsOptions, createFileArtifactFromPath, createImageArtifactFromPath, createVideoArtifactFromPath, enqueueWithArtifacts, getModelInputCapabilities, inferImageMediaType, inferVideoMediaType, normalizePastedImage, persistImageAsBlock, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, validateInputArtifactsForModel } from './sdk-media.js';
|
|
13
|
-
import { J as LocalToolDefinition, P as RegisteredToolDefinition, $ as ToolHandler, a1 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, X as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Y as TestResult, W as ScriptSource, a0 as ToolHandlerSync, H as KodaXRetrievalToolName, F as KodaXRetrievalResult, B as KodaXRetrievalItem, r as ExtensionLoadSource, p as ExtensionFailureStage, m as ExtensionContributionSource, q as ExtensionHookMap, n as ExtensionEventMap, j as ExtensionCommandDefinition, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-
|
|
14
|
-
export { A as AgentArtifact, b as ArtifactStatus, c as CapabilityDeniedError, e as ConstructionManifestError, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCommandContext, k as ExtensionCommandInvocation, l as ExtensionCommandResult, o as ExtensionFailureDiagnostic, s as ExtensionLogger, t as ExtensionRuntimeController, v as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, w as KodaXExtensionActivationResult, x as KodaXExtensionModule, y as KodaXRetrievalArtifact, z as KodaXRetrievalFreshness, G as KodaXRetrievalScope, I as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, M as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, N as RegisteredCommandDiagnostic, O as RegisteredHookDiagnostic, Q as RegisteredToolDiagnostic, S as RuntimeRemoteToolContext, T as RuntimeRemoteToolContract, U as RuntimeRemoteToolDecision, V as RuntimeRemoteWorkspaceBroker, Z as ToolContent, _ as ToolDefinitionSource, a2 as ToolRegistry, a3 as WebhookOptions, a4 as WebhookResult, a5 as defaultPolicy, a6 as exec, a7 as webhook } from './types-chunks/types.d-
|
|
15
|
-
import { G as WorkflowPatternId, M as WorkflowScriptManifest, y as WorkflowCapsule, B as WorkflowCapsuleIntent, A as WorkflowCapsuleInputs, F as WorkflowCapsuleRequirements, E as WorkflowCapsuleProvenance, H as WorkflowQualityLintFinding } from './types-chunks/capsule.d-
|
|
16
|
-
export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, 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, 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, N as actorQueueId, O as appendSessionLineageLabel, R as applySessionCompaction, S as archiveOldIslands, U as buildSessionTree, X as cleanupIncompleteToolCalls, Y as countActiveLineageMessages, Z as countTokens, $ as createSessionLineage, a2 as estimateTokens, a4 as extractArtifactLedger, a6 as extractTitleFromMessages, a7 as findPreviousUserEntryId, a8 as forkSessionLineage, a9 as generateSessionId, ab as getAgentConfigHome, ac as getAgentConfigPath, ad as getAppDataDir, ae as getSessionLineagePath, ag as getSessionMessagesFromLineage, aj as mergeArtifactLedger, ao as resolveSessionLineageTarget, ap as rewindSessionLineage, aq as setAgentConfigHome, ar as setSessionLineageActiveEntry, as as validateAndFixToolHistory } from './types-chunks/capsule.d-
|
|
13
|
+
import { J as LocalToolDefinition, P as RegisteredToolDefinition, $ as ToolHandler, a1 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, X as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Y as TestResult, W as ScriptSource, a0 as ToolHandlerSync, H as KodaXRetrievalToolName, F as KodaXRetrievalResult, B as KodaXRetrievalItem, r as ExtensionLoadSource, p as ExtensionFailureStage, m as ExtensionContributionSource, q as ExtensionHookMap, n as ExtensionEventMap, j as ExtensionCommandDefinition, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-DKs4tfSd.js';
|
|
14
|
+
export { A as AgentArtifact, b as ArtifactStatus, c as CapabilityDeniedError, e as ConstructionManifestError, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCommandContext, k as ExtensionCommandInvocation, l as ExtensionCommandResult, o as ExtensionFailureDiagnostic, s as ExtensionLogger, t as ExtensionRuntimeController, v as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, w as KodaXExtensionActivationResult, x as KodaXExtensionModule, y as KodaXRetrievalArtifact, z as KodaXRetrievalFreshness, G as KodaXRetrievalScope, I as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, M as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, N as RegisteredCommandDiagnostic, O as RegisteredHookDiagnostic, Q as RegisteredToolDiagnostic, S as RuntimeRemoteToolContext, T as RuntimeRemoteToolContract, U as RuntimeRemoteToolDecision, V as RuntimeRemoteWorkspaceBroker, Z as ToolContent, _ as ToolDefinitionSource, a2 as ToolRegistry, a3 as WebhookOptions, a4 as WebhookResult, a5 as defaultPolicy, a6 as exec, a7 as webhook } from './types-chunks/types.d-DKs4tfSd.js';
|
|
15
|
+
import { G as WorkflowPatternId, M as WorkflowScriptManifest, y as WorkflowCapsule, B as WorkflowCapsuleIntent, A as WorkflowCapsuleInputs, F as WorkflowCapsuleRequirements, E as WorkflowCapsuleProvenance, H as WorkflowQualityLintFinding } from './types-chunks/capsule.d-B7yoH4dM.js';
|
|
16
|
+
export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, 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, 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, N as actorQueueId, O as appendSessionLineageLabel, R as applySessionCompaction, S as archiveOldIslands, U as buildSessionTree, X as cleanupIncompleteToolCalls, Y as countActiveLineageMessages, Z as countTokens, $ as createSessionLineage, a2 as estimateTokens, a4 as extractArtifactLedger, a6 as extractTitleFromMessages, a7 as findPreviousUserEntryId, a8 as forkSessionLineage, a9 as generateSessionId, ab as getAgentConfigHome, ac as getAgentConfigPath, ad as getAppDataDir, ae as getSessionLineagePath, ag as getSessionMessagesFromLineage, aj as mergeArtifactLedger, ao as resolveSessionLineageTarget, ap as rewindSessionLineage, aq as setAgentConfigHome, ar as setSessionLineageActiveEntry, as as validateAndFixToolHistory } from './types-chunks/capsule.d-B7yoH4dM.js';
|
|
17
17
|
import { b as McpServersConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
18
18
|
export { M as McpConnectMode, a as McpServerConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
|
|
19
19
|
import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-B67TmPO1.js';
|
|
20
20
|
export { M as McpCapabilityDescriptor, a as McpCapabilityKind, c as McpCapabilityRisk, d as McpCatalogItem, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, 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-B67TmPO1.js';
|
|
21
21
|
export { A as AuthorizationServerMetadata, D as DiscoveredOAuthEndpoints, M as McpAuthRequiredError, a as McpExpiredSessionError, b as McpTransport, 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';
|
|
22
|
-
import { c as ManagedWorkflowSnapshot$1, e as WorkflowRunManager$1 } from './types-chunks/run-manager.d-
|
|
23
|
-
export { d as ManagedWorkflowStatus } from './types-chunks/run-manager.d-
|
|
22
|
+
import { c as ManagedWorkflowSnapshot$1, e as WorkflowRunManager$1 } from './types-chunks/run-manager.d-CodHf6rw.js';
|
|
23
|
+
export { d as ManagedWorkflowStatus } from './types-chunks/run-manager.d-CodHf6rw.js';
|
|
24
24
|
import { t as MemoryRecallRunner } from './types-chunks/types-Bf3Y3mW-.js';
|
|
25
|
-
import { p as AutoModeRulesDecision, m as AutoModePermissionReview, q as AutoModeRulesEvaluator, o as AutoModeRulesContext, u as AutoRules, W as PermissionIntentEvidence, a0 as ToolCallSignal, J as ClassifierToolProjectionResolver, Z as SignalCollector } from './types-chunks/guardrail.d-
|
|
26
|
-
export { v as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, w as AUTO_MODE_DENIAL_CUMULATIVE_THRESHOLD, A as AbsoluteDenyCheck, a as AbsoluteDenyMatch, b as AbsoluteDenyMiss, c as AbsoluteDenyResult, d as AgentsFile, e as AutoModeAskUser, f as AutoModeAskUserVerdict, g as AutoModeCallAnalyzer, h as AutoModeDecisionDiagnostics, O as AutoModeDenialTracker, i as AutoModeEngine, j as AutoModeGuardrailConfig, k as AutoModePermissionBoundary, l as AutoModePermissionOperation, n as AutoModePermissionTarget, r as AutoModeSharedState, s as AutoModeStats, t as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, a2 as BREAKER_WINDOW_MS, C as CLASSIFIER_MAX_OUTPUT_TOKENS, x as CircuitBreaker, y as ClassifierAttemptDiagnostics, z as ClassifierAttemptOutcome, B as ClassifierDecision, D as ClassifierFailureKind, E as ClassifierHazard, F as ClassifierObservedProtocol, G as ClassifierOutputWarningCode, H as ClassifierParseFailureCode, I as ClassifierProtocol, K as ClassifyDecision, L as ClassifyOptions, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as KodaXMcpConnectMode, R as KodaXMcpServerConfig, S as KodaXMcpServersConfig, T as KodaXMcpTransport, U as LoadAgentsOptions, V as LoadedRulesSource, X as RulesLoadError, Y as RulesLoadResult, _ as SkippedRulesSource, $ as TierZeroPatternId, a1 as TrustState, ak as autoModeDenialShouldFallback, al as breakerShouldFallback, a3 as checkAbsoluteDeny, a4 as classify, a5 as collectAllSignals, a6 as computeRulesFingerprint, a9 as createAutoModeDenialTracker, a7 as createAutoModeToolGuardrail, a8 as createCircuitBreaker, aa as formatAgentsForPrompt, ab as getKodaxGlobalDir, ac as loadAgentsFiles, ad as loadAutoRules, ae as parseAutoRules, af as parseClassifierOutput, ag as readTrustState, ah as recordAutoModeAllow, ai as recordAutoModeBlock, aj as recordBreakerError, am as trustProjectRules } from './types-chunks/guardrail.d-
|
|
27
|
-
export { B as BASH_SAFE_READ_COMMANDS, a as BASH_WRITE_COMMANDS, F as FILE_MODIFICATION_TOOLS, G as GitGrepShortOption, M as MODIFICATION_TOOLS, P as PermissionMode, R as RawCommandWord, c as collectBashWriteTargets, b as collectDeterministicBashWriteTargets, e as extractPathsFromCommand, f as findGitSubcommandIndex, g as generateSavePattern, d as getBashOutsideProjectWriteRisk, h as getDirectShellBypassBlockReason, i as getPlanModeAllowedWritablePaths, j as getPlanModeBlockReason, k as gitSignatureInspectionMayExecute, l as inferPermissionMode, m as isAlwaysConfirmPath, n as isBashReadCommand, o as isBashWriteCommand, p as isCommandOnProtectedPath, q as isHelpCommand, r as isPathInsideProject, s as isPlanModeAllowedPath, t as isShellReadOnlyArgv, u as isToolCallAllowed, v as parseAllowedToolPattern, w as parseGitGrepShortOption, x as tokenizeRawCommandStages } from './types-chunks/shell-command-sets.d-
|
|
25
|
+
import { p as AutoModeRulesDecision, m as AutoModePermissionReview, q as AutoModeRulesEvaluator, o as AutoModeRulesContext, u as AutoRules, W as PermissionIntentEvidence, a0 as ToolCallSignal, J as ClassifierToolProjectionResolver, Z as SignalCollector } from './types-chunks/guardrail.d-fM3mn4Op.js';
|
|
26
|
+
export { v as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, w as AUTO_MODE_DENIAL_CUMULATIVE_THRESHOLD, A as AbsoluteDenyCheck, a as AbsoluteDenyMatch, b as AbsoluteDenyMiss, c as AbsoluteDenyResult, d as AgentsFile, e as AutoModeAskUser, f as AutoModeAskUserVerdict, g as AutoModeCallAnalyzer, h as AutoModeDecisionDiagnostics, O as AutoModeDenialTracker, i as AutoModeEngine, j as AutoModeGuardrailConfig, k as AutoModePermissionBoundary, l as AutoModePermissionOperation, n as AutoModePermissionTarget, r as AutoModeSharedState, s as AutoModeStats, t as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, a2 as BREAKER_WINDOW_MS, C as CLASSIFIER_MAX_OUTPUT_TOKENS, x as CircuitBreaker, y as ClassifierAttemptDiagnostics, z as ClassifierAttemptOutcome, B as ClassifierDecision, D as ClassifierFailureKind, E as ClassifierHazard, F as ClassifierObservedProtocol, G as ClassifierOutputWarningCode, H as ClassifierParseFailureCode, I as ClassifierProtocol, K as ClassifyDecision, L as ClassifyOptions, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as KodaXMcpConnectMode, R as KodaXMcpServerConfig, S as KodaXMcpServersConfig, T as KodaXMcpTransport, U as LoadAgentsOptions, V as LoadedRulesSource, X as RulesLoadError, Y as RulesLoadResult, _ as SkippedRulesSource, $ as TierZeroPatternId, a1 as TrustState, ak as autoModeDenialShouldFallback, al as breakerShouldFallback, a3 as checkAbsoluteDeny, a4 as classify, a5 as collectAllSignals, a6 as computeRulesFingerprint, a9 as createAutoModeDenialTracker, a7 as createAutoModeToolGuardrail, a8 as createCircuitBreaker, aa as formatAgentsForPrompt, ab as getKodaxGlobalDir, ac as loadAgentsFiles, ad as loadAutoRules, ae as parseAutoRules, af as parseClassifierOutput, ag as readTrustState, ah as recordAutoModeAllow, ai as recordAutoModeBlock, aj as recordBreakerError, am as trustProjectRules } from './types-chunks/guardrail.d-fM3mn4Op.js';
|
|
27
|
+
export { B as BASH_SAFE_READ_COMMANDS, a as BASH_WRITE_COMMANDS, F as FILE_MODIFICATION_TOOLS, G as GitGrepShortOption, M as MODIFICATION_TOOLS, P as PermissionMode, R as RawCommandWord, c as collectBashWriteTargets, b as collectDeterministicBashWriteTargets, e as extractPathsFromCommand, f as findGitSubcommandIndex, g as generateSavePattern, d as getBashOutsideProjectWriteRisk, h as getDirectShellBypassBlockReason, i as getPlanModeAllowedWritablePaths, j as getPlanModeBlockReason, k as gitSignatureInspectionMayExecute, l as inferPermissionMode, m as isAlwaysConfirmPath, n as isBashReadCommand, o as isBashWriteCommand, p as isCommandOnProtectedPath, q as isHelpCommand, r as isPathInsideProject, s as isPlanModeAllowedPath, t as isShellReadOnlyArgv, u as isToolCallAllowed, v as parseAllowedToolPattern, w as parseGitGrepShortOption, x as tokenizeRawCommandStages } from './types-chunks/shell-command-sets.d-DfeSUjjM.js';
|
|
28
28
|
import { Diagnostic } from 'vscode-languageserver-protocol';
|
|
29
29
|
import '@anthropic-ai/sdk';
|
|
30
30
|
import 'openai';
|
package/dist/sdk-coding.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{$ as ma,$a as mb,A as Fx,Aa as Fa,B as Gx,Ba as Ga,C as Hx,Ca as Ha,D as Ix,Da as Ia,E as Jx,Ea as Ja,F as Kx,Fa as Ka,G as Lx,Ga as La,H as Mx,Ha as Ma,I as Nx,Ia as Na,J as Ox,Ja as Oa,K as Px,Ka as Pa,L as Qx,La as Qa,M as Rx,Ma as Ra,N as Sx,Na as Sa,O as Tx,Oa as Ta,P as Ux,Pa as Ua,Q as Vx,Qa as Va,R as Wx,Ra as Wa,S as Xx,Sa as Xa,T as Yx,Ta as Ya,U as Zx,Ua as Za,V as _x,Va as _a,W as $x,Wa as $a,X as oa,Xa as ob,Y as ra,Ya as rb,Z as ea,Za as eb,_ as fa,_a as fb,a as Tr,aa as pa,ab as pb,b as Ur,ba as ta,bb as tb,c as Vr,ca as xa,cb as xb,d as ax,da as aa,db as ab,e as bx,ea as ba,eb as bb,f as cx,fa as ca,fb as cb,g as dx,ga as da,gb as db,h as gx,ha as ga,hb as gb,i as hx,ia as ha,ib as hb,j as ix,ja as ia,jb as ib,k as jx,ka as ja,kb as jb,l as kx,la as ka,lb as kb,m as lx,ma as la,mb as lb,n as nx,na,nb,o as qx,oa as qa,ob as qb,p as sx,pa as sa,pb as sb,q as ux,qa as ua,qb as ub,r as vx,ra as va,rb as vb,s as wx,sa as wa,sb as wb,t as yx,ta as ya,tb as yb,u as zx,ua as za,ub as zb,v as Ax,va as Aa,vb as Ab,w as Bx,wa as Ba,wb as Bb,x as Cx,xa as Ca,xb as Cb,y as Dx,ya as Da,yb as Db,z as Ex,za as Ea,zb as Eb}from"./chunks/chunk-WLGQ6XI2.js";import{$ as Rp,A as zp,B as Ap,C as Bp,H as Cp,I as Dp,M as Ep,N as Fp,O as Gp,P as Hp,Q as Ip,R as Jp,S as Kp,T as Lp,Ta as fx,Ua as mx,W as Mp,X as Np,Y as Op,Z as Pp,_ as Qp,aa as Sp,ab as px,b as Ir,bb as tx,c as Jr,d as Kr,db as xx,e as Lr,fa as Tp,g as Mr,ga as Up,ha as Vp,ia as Wp,ja as Xp,k as Nr,n as Or,na as Yp,o as Wr,oa as Zp,p as Xr,pa as _p,q as gp,qa as $p,r as hp,s as ip,t as jp,ta as ot,u as kp,v as lp,w as up,x as vp,y as wp,z as yp}from"./chunks/chunk-VTFG3B7U.js";import{a as dt,b as gt,c as ht,d as it,e as jt,f as kt,g as lt,h as nt,i as qt,j as ex}from"./chunks/chunk-FGQZUN7C.js";import{a as ct}from"./chunks/chunk-HTVLCHWH.js";import{A as Ut,B as Vt,C as Wt,D as Xt,E as Yt,F as Zt,G as _t,H as $t,I as ox,J as rx,a as st,b as ut,c as vt,d as wt,e as yt,f as zt,g as At,h as Bt,i as Ct,j as Dt,k as Et,l as Ft,m as Gt,n as Ht,o as It,p as Jt,q as Kt,r as Lt,s as Mt,t as Nt,u as Ot,v as Pt,w as Qt,x as Rt,y as St,z as Tt}from"./chunks/chunk-RX3X3PER.js";import{$a as rf,$b as Tf,$c as Om,A as me,Aa as Fe,Ac as nm,Ad as np,B as pe,Ba as Ge,Bc as qm,Bd as qp,C as te,Ca as He,Cb as zf,Cc as sm,Cd as sp,D as xe,Da as Ie,Db as Af,Dc as um,E as ae,Ea as Je,Eb as Bf,Ec as vm,F as be,Fa as Ke,Fb as Cf,Fc as wm,Ga as Le,Gb as Df,Gc as ym,Ha as Me,Hb as Ef,Hc as zm,Ia as Ne,Ib as Ff,Ic as Am,Ja as Oe,Jb as Gf,Jc as Bm,Ka as Pe,Kb as Hf,Kc as Cm,La as Qe,Lb as If,Lc as Dm,Ma as Re,Mb as Jf,Mc as Em,Na as Se,Nc as Fm,Oc as Gm,P as ce,Pb as Kf,Pc as Hm,Pd as rt,Q as de,Qa as Te,Qc as Im,Qd as et,R as ge,Ra as Ue,Rc as Jm,Rd as ft,S as he,Sa as Ve,Sc as Km,Sd as mt,T as ie,Ta as We,Tb as Lf,Tc as Lm,Td as pt,U as je,Ua as Xe,Ub as Mf,Uc as Mm,Ud as tt,Va as Ye,Vb as Nf,Vc as Nm,Wa as Ze,Wb as Of,Xb as Pf,Ya as _e,Yb as Qf,Za as $e,Zb as Rf,_a as of,_b as Sf,ab as ef,ac as Uf,ad as Pm,ae as xt,bb as ff,bc as Vf,bd as Qm,be as at,c as Pr,cb as mf,cc as Wf,cd as Rm,ce as bt,d as Qr,db as pf,dc as Xf,dd as Sm,ea as ke,eb as tf,ec as Yf,ed as Tm,f as Rr,fa as le,fb as xf,fc as Zf,fd as Um,ga as ne,gb as af,gc as _f,gd as Vm,h as Sr,ha as qe,hb as bf,hc as $f,hd as Wm,ia as se,ib as cf,ic as om,id as Xm,jb as df,jc as rm,jd as Ym,kb as gf,kc as em,kd as Zm,lb as hf,lc as fm,ld as _m,mb as jf,mc as mm,md as $m,na as ue,nb as kf,nc as pm,nd as op,o as Yr,ob as lf,oc as tm,od as rp,p as Zr,pa as ve,pb as nf,pc as xm,pd as ep,qb as qf,qc as am,qd as fp,ra as we,rb as sf,rc as bm,sa as ye,sc as cm,sd as mp,ta as ze,tc as dm,td as pp,u as _r,ua as Ae,uc as gm,ud as tp,v as $r,va as Be,vb as uf,vc as hm,vd as xp,w as oe,wb as vf,wc as im,wd as ap,x as re,xa as Ce,xb as wf,xc as jm,xd as bp,y as ee,ya as De,yb as yf,yc as km,yd as cp,z as fe,za as Ee,zc as lm,zd as dp}from"./chunks/chunk-D66EWPAX.js";import"./chunks/chunk-KHEFUT6O.js";import{Aa as G,Ba as H,C as x,Ca as I,D as a,Da as J,E as b,Ea as K,F as c,Fa as L,G as d,Ga as M,H as g,Ha as N,Ia as O,Ja as P,Ka as Q,La as R,Ma as S,Oa as T,Pa as U,Qa as V,Ra as W,Ta as X,Ua as Y,V as h,Va as Z,Ya as _,d as o,da as i,e as r,ea as j,f as e,ka as k,la as l,m as f,ma as n,n as m,na as q,oa as s,pa as u,qa as v,ra as w,sa as y,ta as z,ua as A,v as p,va as B,w as t,wa as C,xa as D,ya as E,za as F}from"./chunks/chunk-TRNAWSXP.js";import{$b as jr,Cb as Uo,Db as Vo,Eb as Wo,Fb as Xo,Gb as Yo,Hb as Zo,Ib as _o,Ic as qr,Jb as $o,Jc as sr,Kc as ur,Lb as or,Lc as vr,Mb as rr,Mc as wr,Nb as er,Nc as yr,Ob as fr,Oc as zr,Pb as mr,Qb as pr,Rb as tr,Rc as Ar,Sb as xr,Sc as Br,Tb as ar,Tc as Cr,Ub as br,Uc as Dr,Vb as cr,Vc as Er,Wb as dr,Wc as Fr,Xb as gr,Yb as hr,_b as ir,a as $,ac as kr,ad as Gr,b as oo,bd as Hr,c as ro,d as eo,dc as lr,e as fo,ec as nr,f as mo,h as po,i as to,j as xo,q as co,r as go,s as ho,sa as jo,t as io,va as ko,wb as So,xb as To}from"./chunks/chunk-QMPJJCBE.js";import{a as ao,b as bo,f as lo,g as no,h as qo,k as so}from"./chunks/chunk-EVXIJPZ6.js";import{A as Mo,B as No,C as Oo,D as Po,E as Qo,F as Ro,d as uo,k as vo,l as wo,m as yo,n as zo,o as Ao,p as Bo,q as Co,r as Do,s as Eo,t as Fo,u as Go,v as Ho,w as Io,x as Jo,y as Ko,z as Lo}from"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{Gp as ALWAYS_RESIDENT_TOOL_NAMES,Ya as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD,Za as AUTO_MODE_DENIAL_CUMULATIVE_THRESHOLD,lb as BASH_POLICY_SPEC,ga as BASH_SAFE_READ_COMMANDS,da as BASH_WRITE_COMMANDS,vx as BLOCKER_REQUIRED_CONSECUTIVE_TURNS,eb as BREAKER_ERROR_THRESHOLD,fb as BREAKER_WINDOW_MS,Ft as BUILTIN_WORKFLOWS,Zr as CANCELLED_TOOL_RESULT_MESSAGE,Yr as CANCELLED_TOOL_RESULT_PREFIX,xa as CLASSIFIER_MAX_OUTPUT_TOKENS,$x as CODING_AGENT_MARKER,ix as CODING_INVARIANTS,fx as CODING_SUMMARY_PROMPT,mx as CODING_UPDATE_SUMMARY_PROMPT,_f as CapabilityDeniedError,kx as Client,xt as CodingActorSession,Jm as CombinedExtensionRuntime,$f as ConstructionManifestError,ta as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS,pa as DEFAULT_CLASSIFIER_TIMEOUT_MS,px as DEFAULT_CODING_AGENT_NAME,Qx as DEFAULT_DANGEROUS_PATTERNS,Yf as DEFAULT_HANDLER_TIMEOUT_MS,Mp as DEFAULT_RESILIENCE_CONFIG,Px as DEFAULT_SAFE_PATTERNS,bm as DEFAULT_SELF_MODIFY_BUDGET,hb as DEFAULT_SPECULATIVE_WINDOW_MS,$r as DEFAULT_TOOL_OUTPUT_MAX_BYTES,_r as DEFAULT_TOOL_OUTPUT_MAX_LINES,gt as DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS,io as DefaultSummaryCompaction,Yx as EMIT_VERDICT_TOOL_NAME,Wr as ErrorCategory,ba as FILE_MODIFICATION_TOOLS,wt as FINDING_VERIFICATION_OUTPUT_SCHEMA,kf as GENERATOR_AGENT_NAME,wo as ImageResizeError,to as KODAX_API_MIN_INTERVAL,n as KODAX_DEFAULT_PROVIDER,oo as KODAX_DEFAULT_TIMEOUT,Oo as KODAX_FILE_MEDIA_TYPES,ro as KODAX_HARD_TIMEOUT,Mo as KODAX_IMAGE_MEDIA_TYPES,mo as KODAX_MAX_INCOMPLETE_RETRIES,eo as KODAX_MAX_RETRIES,$ as KODAX_MAX_TOKENS,l as KODAX_PROVIDERS,k as KODAX_PROVIDER_SNAPSHOTS,p as KODAX_REASONING_MODE_SEQUENCE,fo as KODAX_RETRY_BASE_DELAY,t as KODAX_STABLE_EFFORT_INTENTS,po as KODAX_STAGGER_DELAY,Om as KODAX_TOOLS,de as KODAX_UNDERLYING_CAPABILITY_TOPICS,No as KODAX_VIDEO_MEDIA_TYPES,i as KodaXAnthropicCompatProvider,h as KodaXBaseProvider,kx as KodaXClient,o as KodaXError,Im as KodaXExtensionRuntime,vo as KodaXMediaError,j as KodaXOpenAICompatProvider,r as KodaXProviderError,e as KodaXRateLimitError,Ur as KodaXSessionError,Vr as KodaXTerminalError,Tr as KodaXToolError,Kr as LEARNING_REVIEW_PROMPT_SHA256,Lr as LEARNING_REVIEW_SCHEMA_SHA256,Ir as LEARNING_REVIEW_SYSTEM_PROMPT,Jr as LEARNING_REVIEW_TOOL,ir as LINEAGE_ENTRY_TYPES,ft as LSP_SERVERS,kr as LineageCompaction,jr as LineageExtension,mt as LspService,ge as MANUAL_REGISTRY,ce as MANUAL_TOPIC_IDS,Do as MAX_DIMENSION,Mx as MEMORY_INTERVENTION_SELECTOR_PROMPT,Nx as MEMORY_INTERVENTION_SELECTOR_SHA256,ca as MODIFICATION_TOOLS,$o as McpAuthRequiredError,dr as McpCapabilityProvider,_o as McpExpiredSessionError,gr as McpManager,cr as McpServerRuntime,Io as PASTE_TMP_DIR_ENV,Jo as PASTE_TMP_TTL_MS,jf as PLANNER_AGENT_NAME,xo as PROMISE_PATTERN,hp as PROMPT_SECTION_REGISTRY,_x as PROTOCOL_EMITTER_TOOLS,Sp as ProviderRecoveryCoordinator,oe as READ_DEFAULT_LIMIT,ee as READ_MAX_LINE_CHARS,re as READ_PREFLIGHT_SIZE_BYTES,Em as REPO_EXPLORER_AGENT_NAME,Fm as REPO_EXPLORER_TOOL_NAMES,ko as Runner,vt as SCOPED_REVIEW_OUTPUT_SCHEMA,hf as SCOUT_AGENT_NAME,Bb as SCOUT_THEN_AUTHOR_PROMPT_LINES,vp as SELF_KNOWLEDGE_ROUTING_RULE,gp as SYSTEM_PROMPT,Wt as SYSTEM_WORKFLOW_LIMITS,Qp as StableBoundaryTracker,Eo as TARGET_RAW_SIZE_BYTES,qf as TASK_ENGINE_ROLE_AGENTS,oa as TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME,sb as TRACING_ENV,lf as WORKER_AGENT_NAME,dt as WORKFLOW_GENERATION_SYSTEM_PROMPT,km as _resetRuntimeForTesting,qm as activate,uo as actorQueueId,Ra as analyzeAutoModeCall,He as analyzeChangedScope,na as analyzePowerShellMutation,xm as appendAuditEntry,yr as appendSessionLineageLabel,Ef as applyAccountingDelta,At as applyFindingVerification,zr as applySessionCompaction,ve as applyToolResultGuardrail,Fr as archiveOldIslands,Qa as assessAutoModeCall,Db as authorWorkflowViaWorker,rb as autoModeDenialShouldFallback,cb as bashSignalCollector,ub as bootstrapTracing,cx as boundedRevise,tb as breakerShouldFallback,dx as budgetCeiling,Xt as buildApprovalSummary,Hf as buildBlockedGoal,wp as buildCapabilityContextSections,ea as buildClassifierPrompt,If as buildCompleteGoal,Df as buildCreatedGoal,Zp as buildFallbackRoutingDecision,Ax as buildGoalRuntimeBinding,br as buildInitializeCapabilities,mm as buildLlmReviewPrompt,ie as buildManualToolDescription,Fx as buildMcpReverseCapabilities,Ff as buildPausedGoal,Bp as buildPromptMessageContent,lp as buildPromptSnapshot,Tp as buildProviderCapabilitySnapshot,_p as buildProviderPolicyHintsForDecision,Up as buildProviderPolicyPromptNotes,Ge as buildRepoIntelligenceContext,Te as buildRepoIntelligenceIndex,De as buildRepoOverview,Gf as buildResumedGoal,Dt as buildScopedReviewFinalPrompt,Bt as buildScopedReviewPrimaryPrompt,Ct as buildScopedReviewVerificationPrompt,Cb as buildScoutThenAuthorPrompt,up as buildSelfKnowledgeRoutingRule,Dr as buildSessionTree,zp as buildSystemPrompt,yp as buildSystemPromptSnapshot,bp as buildToolResultBudget,cp as buildToolResultBudgetFromUsage,Lf as buildToolSearchIndex,Tt as buildWorkflowCostReport,kt as buildWorkflowGenerationSkillContext,jt as buildWorkflowGenerationUserPrompt,Nr as canonicalMemoryProjectId,bb as checkAbsoluteDeny,Ap as checkIncompleteToolCalls,ot as checkPromiseSignal,dp as clampToolResultPolicyToBudget,Yt as clampWorkflowLimits,aa as classify,Sx as classifyBashCommand,Xr as classifyError,Ce as classifyFileCategory,Op as classifyResilienceError,pp as cleanupExpiredToolOutputs,To as cleanupIncompleteToolCalls,tp as cleanupUnreferencedToolOutputs,T as clearRuntimeModelProviders,Sr as clearShellExecutionEnvironmentCache,gb as collectAllSignals,La as collectBashWriteTargets,Ma as collectDeterministicBashWriteTargets,Km as combineExtensionRuntimes,Ux as computeInputSignature,Ta as computeRulesFingerprint,jm as configureRuntime,Kp as consumeCompactionCooldown,tf as convertCapabilityReadResult,pf as convertProviderSearchResults,Er as countActiveLineageMessages,bo as countTokens,co as createAgent,_a as createAutoModeDenialTracker,kb as createAutoModeToolGuardrail,Rx as createBashClassifierConfig,qb as createBashPrefixExtractor,Wm as createBuiltinToolDefinition,mb as createCircuitBreaker,Ox as createCodingMemoryInterventionRunner,st as createCodingWorkflowBackend,Ip as createCompactionAntiThrashState,om as createCtxProxy,F as createCustomProvider,tx as createDefaultCodingAgent,Tx as createDenialTracker,Lm as createExtensionRuntime,bt as createExternalActorTurnExecutor,Bo as createFileArtifactFromPath,go as createHandoff,Ao as createImageArtifactFromPath,ho as createInMemorySession,Ix as createKodaXTaskRunner,at as createLocalCodingActorControl,Vo as createMcpCapabilityId,hr as createMcpManager,or as createMcpTransport,Mr as createProductionLearningReviewer,ip as createPromptSection,$p as createReasoningPlan,Vt as createRunGraphWriter,Fp as createRuntimeContextBudgetSnapshot,ax as createSessionControl,qr as createSessionLineage,ra as createToolResultTruncationGuardrail,Co as createVideoArtifactFromPath,wb as createWorkflowLifecycleController,Ab as createWorkflowPatternTemplateModule,ox as createWorkflowRunManager,nx as decideWorkflowInvocation,Tf as dedupeExtensionPathsByEntrypoint,Uo as defaultMcpCacheDir,Zf as defaultPolicy,Ot as deleteSavedWorkflow,im as disableSelfModify,mr as discoverAuthorizationServerMetadata,Xf as discoverDefaultExtensions,Wf as discoverExtensionsInDirectory,Vf as discoverExtensionsInDirectoryDetailed,Dm as discoverMarkdownAgents,pr as discoverOAuthEndpoints,fr as discoverProtectedResourceMetadata,It as discoverSavedWorkflows,vf as drainPendingSwaps,b as effortToLegacyReasoningMode,Zx as emitVerdict,_t as emitWorkflowAgentDigest,Ro as enqueueWithArtifacts,Gm as ensureBuiltinRepoExplorerAgent,ao as estimateTokens,Ep as estimateToolSchemaTokens,Sa as evaluateAutoRulesCall,Vp as evaluateProviderPolicy,Uf as excludeExtensionPathsByEntrypoint,Of as exec,mp as executeTool,lr as extractArtifactLedger,nb as extractCommandPrefix,Dp as extractComparableUserMessageText,mf as extractHtmlTitle,er as extractInsufficientScope,Ga as extractPathsFromCommand,Cp as extractPromptComparableText,rr as extractResourceMetadataUrl,Hr as extractTitleFromMessages,db as fileSignalCollector,af as finalizeRetrievalResult,zm as findByVersion,qa as findGitSubcommandIndex,Ar as findPreviousUserEntryId,ja as flattenArgv,ka as flattenRedirections,Cr as forkSessionLineage,sp as formatAgentsForPrompt,Kx as formatParallelDispatchResult,fe as formatSize,Da as generateSavePattern,Gr as generateSessionId,nt as generateWorkflow,qt as generateWorkflowFromOptions,Nm as getActiveExtensionRuntime,no as getAgentConfigHome,qo as getAgentConfigPath,Ym as getAllRegisteredTools,so as getAppDataDir,W as getAvailableProviderNames,Na as getBashOutsideProjectWriteRisk,Vm as getBuiltinRegisteredToolDefinition,Um as getBuiltinToolDefinition,Gt as getBuiltinWorkflow,N as getCustomModelCapabilities,H as getCustomProvider,K as getCustomProviderList,M as getCustomProviderModelDescriptors,L as getCustomProviderModels,J as getCustomProviderNames,Rf as getDefaultExtensionDirectory,pt as getDefaultLspService,rx as getDefaultWorkflowRunManager,Xx as getDenialContext,za as getDirectShellBypassBlockReason,Ye as getImpactEstimate,np as getKodaxGlobalDir,Zo as getMcpCachePaths,C as getModelCapabilities,Po as getModelInputCapabilities,Ve as getModuleContext,Ja as getPlanModeAllowedWritablePaths,Oa as getPlanModeBlockReason,Xe as getProcessContext,q as getProvider,w as getProviderConfiguredCapabilityProfile,v as getProviderConfiguredReasoningCapability,y as getProviderList,u as getProviderModel,B as getProviderModelDescriptors,z as getProviderModels,Sm as getRegisteredToolDefinition,Ue as getRepoIntelligenceIndex,Ee as getRepoOverview,Ze as getRepoRoutingSignals,rp as getRequiredToolParams,Q as getRuntimeModelProvider,S as getRuntimeModelProviderNames,sr as getSessionLineagePath,ur as getSessionMessagesFromLineage,We as getSymbolContext,Qm as getTool,Rm as getToolDefinition,Tm as getToolRegistrations,ue as getToolResultPolicy,zb as getWorkflowPatternTemplate,sa as gitSignatureInspectionMayExecute,Af as goalTokenDelta,lx as hasExplicitNaturalLanguageWorkflowIntent,uf as hasPendingSwap,yo as inferImageMediaType,Pa as inferPermissionMode,Yp as inferTaskType,zo as inferVideoMediaType,qe as inspectEditFailure,Se as inspectRepoIntelligenceRuntime,Ea as isAlwaysConfirmPath,ya as isBashReadCommand,Aa as isBashWriteCommand,Ha as isCommandOnProtectedPath,I as isCustomProviderName,Wx as isDeniedRecently,wa as isHelpCommand,V as isKnownProvider,ha as isNullDevice,Jx as isParallelDispatchDirective,Ia as isPathInsideProject,Ka as isPlanModeAllowedPath,la as isPowerShellMutationCommand,s as isProviderConfigured,A as isProviderName,R as isRuntimeModelProviderName,Pp as isSessionRecoveryCandidateError,va as isShellReadOnlyArgv,Qf as isSupportedExtensionModulePath,Ca as isToolCallAllowed,_m as isToolFileMutation,op as isToolMutation,$m as isToolNetworkRead,Zm as isToolPlanModeAllowed,Jf as isValidTokenBudget,rt as languageIdForPath,Am as listAll,Z as listAllModelCapabilities,vm as listArtifacts,D as listBuiltinModelCapabilities,Xm as listBuiltinToolDefinitions,Ht as listBuiltinWorkflows,wf as listCodingDispatchableAgents,ym as listConstructed,O as listCustomProviderModelCapabilities,fp as listToolDefinitions,ep as listTools,yb as listWorkflowPatternTemplates,qp as loadAgentsFiles,Bm as loadAgentsFromMarkdown,Xa as loadAutoRules,Qt as loadGeneratedWorkflowFromRun,rm as loadHandler,Cm as loadMarkdownAgentScope,Lt as loadSavedWorkflow,Kt as loadSavedWorkflowCapsule,ar as loadValidToken,zf as makeDisabledGoalToolsContext,a as mapLegacyReasoningModeToEffortIntent,ap as maybeRunReferenceAwareToolOutputGc,xp as maybeRunToolOutputGc,Ex as mcpRootsFromWorkspace,nr as mergeArtifactLedger,zt as mergeScopedReviewResults,Or as normalizeKodaXAgentMode,Wo as normalizeMcpCapabilityId,Fo as normalizePastedImage,x as normalizeReasoningEffortValue,yt as normalizeScopedReviewResult,Pr as normalizeShellExecutionContract,Jt as normalizeWorkflowModule,jp as orderPromptSections,ut as parallelInvestigation,Ba as parseAllowedToolPattern,Wa as parseAutoRules,ia as parseBashCommand,fa as parseClassifierOutput,ne as parseEditToolError,ua as parseGitGrepShortOption,pm as parseLlmReviewVerdict,Xo as parseMcpCapabilityId,xb as parseModelSpec,c as parseReasoningEffortEnv,Rr as parseSandboxEnvironmentPass,m as parseTimeoutSecEnvMs,Nf as parseToolSearchQuery,lt as parseWorkflowGeneration,xr as performOAuthLogin,Ko as persistImageAsBlock,ae as persistToolOutput,Hp as planToolExposure,St as preflightWorkflowCapsule,_e as prewarmRepoIntelligenceCaches,ct as providerResilienceConfigFromTimeouts,Lo as prunePasteTmpDir,Ho as readAndNormalizeClipboardImage,wm as readArtifact,am as readAuditEntries,cm as readBudget,Go as readClipboardImage,hm as readDisableState,ib as readSpeculativeWindowFromEnv,Ua as readTrustState,Xp as reasoningModeToDepth,Rp as reconstructMessagesWithToolGuard,ob as recordAutoModeAllow,$a as recordAutoModeBlock,sx as recordBlockerAttempt,pb as recordBreakerError,Lp as recordCompactionSavings,Vx as recordDenial,jx as registerCodingInvariants,Cx as registerConfiguredMcpCapabilityProvider,G as registerCustomProviders,P as registerModelProvider,tr as registerOAuthClient,Gx as registerOfficialSandboxExtension,jo as registerPresetDispatcher,Pm as registerTool,sm as rehydrateActiveArtifacts,dm as remainingSelfModifyBudget,Nt as renameSavedWorkflow,Ie as renderChangedScope,Pe as renderImpactEstimate,Me as renderModuleContext,Oe as renderProcessContext,kp as renderPromptSections,Fe as renderRepoOverview,xf as renderRetrievalResult,Ne as renderSymbolContext,Dx as replaceConfiguredMcpCapabilityProvider,Pt as replaceSavedWorkflow,et as reportLspDiagnostics,ux as resetBlockerCounter,gm as resetBudget,ab as resolveClassifierModel,yf as resolveCodingDispatchableAgent,sf as resolveConstructedAgent,Sf as resolveExtensionEntrypoint,he as resolveKodaXManual,Y as resolveModelCapabilities,U as resolveProvider,X as resolveProviderModelDescriptors,d as resolveReasoningEffort,g as resolveReasoningEffortForModelSwitch,Wp as resolveReasoningMode,Re as resolveRepoIntelligenceMode,Qe as resolveRepoIntelligenceRuntimeConfig,Np as resolveResilienceConfig,vr as resolveSessionLineageTarget,Kf as resolveToolBridgeTarget,gx as resolveToolCapability,xe as resolveToolOutputDir,_ as resolveWireEffort,ht as resolveWorkflowGenerationTimeoutMs,vb as resolveWorkflowIdentity,um as revoke,Br as rewindSessionLineage,Hm as rollbackSelfModify,em as runAstRules,xx as runKodaX,tm as runLlmReview,Bx as runManagedTask,Hx as runOrchestration,$t as runWorkflowFromOptions,Zt as runWorkflowModule,Ut as safeWorkflowArtifactName,Mt as saveGeneratedWorkflow,Rt as saveGeneratedWorkflowFromRun,Et as scopedReview,Yo as searchMcpCatalog,Mf as searchToolIndex,Mm as setActiveExtensionRuntime,lo as setAgentConfigHome,wr as setSessionLineageActiveEntry,Qr as shellExecutionContractFingerprint,Cf as shouldFlipBudgetLimited,Jp as shouldSkipLlmCompaction,tt as shutdownDefaultLspService,jb as speculativeRace,lm as stage,bx as startKodaX,ex as startManagedWorkflow,ma as stripAssistantText,ff as stripHtmlToText,nm as testArtifact,f as timeoutSecToMs,Fa as tokenizeRawCommandStages,Be as toolAskUserQuestion,we as toolBash,Le as toolChangedDiff,Ke as toolChangedScope,df as toolCodeSearch,le as toolEdit,ye as toolGlob,ze as toolGrep,ef as toolImpactEstimate,se as toolInsertAfterAnchor,$e as toolModuleContext,hx as toolPermission,rf as toolProcessContext,be as toolRead,Je as toolRepoOverview,gf as toolSemanticLookup,of as toolSymbolContext,Ae as toolUndo,cf as toolWebFetch,bf as toolWebSearch,ke as toolWrite,me as truncateHead,te as truncateLine,pe as truncateTail,Va as trustProjectRules,Bf as turnWallTimeDelta,So as validateAndFixToolHistory,E as validateCustomProviderConfig,it as validateGeneratedWorkflowSource,Qo as validateInputArtifactsForModel,Lx as validateSubtaskIndependence,fm as validateToolSchemaForProvider,zx as verifyGoalCompletion,Pf as webhook,wx as withGoalBeforeNextTurn,yx as withGoalStopHook,je as withManualToolBranding,nf as workerAgent,qx as workflowStartOutcomeConsumesTurn,Eb as writeReviewPackets};
|
|
2
|
+
import{$ as ma,$a as mb,A as Fx,Aa as Fa,B as Gx,Ba as Ga,C as Hx,Ca as Ha,D as Ix,Da as Ia,E as Jx,Ea as Ja,F as Kx,Fa as Ka,G as Lx,Ga as La,H as Mx,Ha as Ma,I as Nx,Ia as Na,J as Ox,Ja as Oa,K as Px,Ka as Pa,L as Qx,La as Qa,M as Rx,Ma as Ra,N as Sx,Na as Sa,O as Tx,Oa as Ta,P as Ux,Pa as Ua,Q as Vx,Qa as Va,R as Wx,Ra as Wa,S as Xx,Sa as Xa,T as Yx,Ta as Ya,U as Zx,Ua as Za,V as _x,Va as _a,W as $x,Wa as $a,X as oa,Xa as ob,Y as ra,Ya as rb,Z as ea,Za as eb,_ as fa,_a as fb,a as Tr,aa as pa,ab as pb,b as Ur,ba as ta,bb as tb,c as Vr,ca as xa,cb as xb,d as ax,da as aa,db as ab,e as bx,ea as ba,eb as bb,f as cx,fa as ca,fb as cb,g as dx,ga as da,gb as db,h as gx,ha as ga,hb as gb,i as hx,ia as ha,ib as hb,j as ix,ja as ia,jb as ib,k as jx,ka as ja,kb as jb,l as kx,la as ka,lb as kb,m as lx,ma as la,mb as lb,n as nx,na,nb,o as qx,oa as qa,ob as qb,p as sx,pa as sa,pb as sb,q as ux,qa as ua,qb as ub,r as vx,ra as va,rb as vb,s as wx,sa as wa,sb as wb,t as yx,ta as ya,tb as yb,u as zx,ua as za,ub as zb,v as Ax,va as Aa,vb as Ab,w as Bx,wa as Ba,wb as Bb,x as Cx,xa as Ca,xb as Cb,y as Dx,ya as Da,yb as Db,z as Ex,za as Ea,zb as Eb}from"./chunks/chunk-3DKQC7A2.js";import{$ as Rp,A as zp,B as Ap,C as Bp,H as Cp,I as Dp,M as Ep,N as Fp,O as Gp,P as Hp,Q as Ip,R as Jp,S as Kp,T as Lp,Ta as fx,Ua as mx,W as Mp,X as Np,Y as Op,Z as Pp,_ as Qp,aa as Sp,ab as px,b as Ir,bb as tx,c as Jr,d as Kr,db as xx,e as Lr,fa as Tp,g as Mr,ga as Up,ha as Vp,ia as Wp,ja as Xp,k as Nr,n as Or,na as Yp,o as Wr,oa as Zp,p as Xr,pa as _p,q as gp,qa as $p,r as hp,s as ip,t as jp,ta as ot,u as kp,v as lp,w as up,x as vp,y as wp,z as yp}from"./chunks/chunk-TC2VHPG5.js";import{a as dt,b as gt,c as ht,d as it,e as jt,f as kt,g as lt,h as nt,i as qt,j as ex}from"./chunks/chunk-RAQGGVIF.js";import{a as ct}from"./chunks/chunk-HTVLCHWH.js";import{A as Ut,B as Vt,C as Wt,D as Xt,E as Yt,F as Zt,G as _t,H as $t,I as ox,J as rx,a as st,b as ut,c as vt,d as wt,e as yt,f as zt,g as At,h as Bt,i as Ct,j as Dt,k as Et,l as Ft,m as Gt,n as Ht,o as It,p as Jt,q as Kt,r as Lt,s as Mt,t as Nt,u as Ot,v as Pt,w as Qt,x as Rt,y as St,z as Tt}from"./chunks/chunk-XB2JNLXH.js";import{$a as rf,$b as Tf,$c as Om,A as me,Aa as Fe,Ac as nm,Ad as np,B as pe,Ba as Ge,Bc as qm,Bd as qp,C as te,Ca as He,Cb as zf,Cc as sm,Cd as sp,D as xe,Da as Ie,Db as Af,Dc as um,E as ae,Ea as Je,Eb as Bf,Ec as vm,F as be,Fa as Ke,Fb as Cf,Fc as wm,Ga as Le,Gb as Df,Gc as ym,Ha as Me,Hb as Ef,Hc as zm,Ia as Ne,Ib as Ff,Ic as Am,Ja as Oe,Jb as Gf,Jc as Bm,Ka as Pe,Kb as Hf,Kc as Cm,La as Qe,Lb as If,Lc as Dm,Ma as Re,Mb as Jf,Mc as Em,Na as Se,Nc as Fm,Oc as Gm,P as ce,Pb as Kf,Pc as Hm,Pd as rt,Q as de,Qa as Te,Qc as Im,Qd as et,R as ge,Ra as Ue,Rc as Jm,Rd as ft,S as he,Sa as Ve,Sc as Km,Sd as mt,T as ie,Ta as We,Tb as Lf,Tc as Lm,Td as pt,U as je,Ua as Xe,Ub as Mf,Uc as Mm,Ud as tt,Va as Ye,Vb as Nf,Vc as Nm,Wa as Ze,Wb as Of,Xb as Pf,Ya as _e,Yb as Qf,Za as $e,Zb as Rf,_a as of,_b as Sf,ab as ef,ac as Uf,ad as Pm,ae as xt,bb as ff,bc as Vf,bd as Qm,be as at,c as Pr,cb as mf,cc as Wf,cd as Rm,ce as bt,d as Qr,db as pf,dc as Xf,dd as Sm,ea as ke,eb as tf,ec as Yf,ed as Tm,f as Rr,fa as le,fb as xf,fc as Zf,fd as Um,ga as ne,gb as af,gc as _f,gd as Vm,h as Sr,ha as qe,hb as bf,hc as $f,hd as Wm,ia as se,ib as cf,ic as om,id as Xm,jb as df,jc as rm,jd as Ym,kb as gf,kc as em,kd as Zm,lb as hf,lc as fm,ld as _m,mb as jf,mc as mm,md as $m,na as ue,nb as kf,nc as pm,nd as op,o as Yr,ob as lf,oc as tm,od as rp,p as Zr,pa as ve,pb as nf,pc as xm,pd as ep,qb as qf,qc as am,qd as fp,ra as we,rb as sf,rc as bm,sa as ye,sc as cm,sd as mp,ta as ze,tc as dm,td as pp,u as _r,ua as Ae,uc as gm,ud as tp,v as $r,va as Be,vb as uf,vc as hm,vd as xp,w as oe,wb as vf,wc as im,wd as ap,x as re,xa as Ce,xb as wf,xc as jm,xd as bp,y as ee,ya as De,yb as yf,yc as km,yd as cp,z as fe,za as Ee,zc as lm,zd as dp}from"./chunks/chunk-6QILIBOU.js";import"./chunks/chunk-KHEFUT6O.js";import{Aa as G,Ba as H,C as x,Ca as I,D as a,Da as J,E as b,Ea as K,F as c,Fa as L,G as d,Ga as M,H as g,Ha as N,Ia as O,Ja as P,Ka as Q,La as R,Ma as S,Oa as T,Pa as U,Qa as V,Ra as W,Ta as X,Ua as Y,V as h,Va as Z,Ya as _,d as o,da as i,e as r,ea as j,f as e,ka as k,la as l,m as f,ma as n,n as m,na as q,oa as s,pa as u,qa as v,ra as w,sa as y,ta as z,ua as A,v as p,va as B,w as t,wa as C,xa as D,ya as E,za as F}from"./chunks/chunk-TRNAWSXP.js";import{$b as ir,Db as Uo,Eb as Vo,Fb as Wo,Gb as Xo,Hb as Yo,Ib as Zo,Jb as _o,Jc as qr,Kb as $o,Kc as sr,Lc as ur,Mb as or,Mc as vr,Nb as rr,Nc as wr,Ob as er,Oc as yr,Pb as fr,Pc as zr,Qb as mr,Rb as pr,Sb as tr,Sc as Ar,Tb as xr,Tc as Br,Ub as ar,Uc as Cr,Vb as br,Vc as Dr,Wb as cr,Wc as Er,Xb as dr,Xc as Fr,Yb as gr,Zb as hr,a as $,ac as jr,b as oo,bc as kr,bd as Gr,c as ro,cd as Hr,d as eo,e as fo,ec as lr,f as mo,fc as nr,h as po,i as to,j as xo,q as co,r as go,s as ho,sa as jo,t as io,va as ko,xb as So,yb as To}from"./chunks/chunk-45E23YJI.js";import{a as ao,b as bo,f as lo,g as no,h as qo,k as so}from"./chunks/chunk-EVXIJPZ6.js";import{A as Mo,B as No,C as Oo,D as Po,E as Qo,F as Ro,d as uo,k as vo,l as wo,m as yo,n as zo,o as Ao,p as Bo,q as Co,r as Do,s as Eo,t as Fo,u as Go,v as Ho,w as Io,x as Jo,y as Ko,z as Lo}from"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{Gp as ALWAYS_RESIDENT_TOOL_NAMES,Ya as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD,Za as AUTO_MODE_DENIAL_CUMULATIVE_THRESHOLD,lb as BASH_POLICY_SPEC,ga as BASH_SAFE_READ_COMMANDS,da as BASH_WRITE_COMMANDS,vx as BLOCKER_REQUIRED_CONSECUTIVE_TURNS,eb as BREAKER_ERROR_THRESHOLD,fb as BREAKER_WINDOW_MS,Ft as BUILTIN_WORKFLOWS,Zr as CANCELLED_TOOL_RESULT_MESSAGE,Yr as CANCELLED_TOOL_RESULT_PREFIX,xa as CLASSIFIER_MAX_OUTPUT_TOKENS,$x as CODING_AGENT_MARKER,ix as CODING_INVARIANTS,fx as CODING_SUMMARY_PROMPT,mx as CODING_UPDATE_SUMMARY_PROMPT,_f as CapabilityDeniedError,kx as Client,xt as CodingActorSession,Jm as CombinedExtensionRuntime,$f as ConstructionManifestError,ta as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS,pa as DEFAULT_CLASSIFIER_TIMEOUT_MS,px as DEFAULT_CODING_AGENT_NAME,Qx as DEFAULT_DANGEROUS_PATTERNS,Yf as DEFAULT_HANDLER_TIMEOUT_MS,Mp as DEFAULT_RESILIENCE_CONFIG,Px as DEFAULT_SAFE_PATTERNS,bm as DEFAULT_SELF_MODIFY_BUDGET,hb as DEFAULT_SPECULATIVE_WINDOW_MS,$r as DEFAULT_TOOL_OUTPUT_MAX_BYTES,_r as DEFAULT_TOOL_OUTPUT_MAX_LINES,gt as DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS,io as DefaultSummaryCompaction,Yx as EMIT_VERDICT_TOOL_NAME,Wr as ErrorCategory,ba as FILE_MODIFICATION_TOOLS,wt as FINDING_VERIFICATION_OUTPUT_SCHEMA,kf as GENERATOR_AGENT_NAME,wo as ImageResizeError,to as KODAX_API_MIN_INTERVAL,n as KODAX_DEFAULT_PROVIDER,oo as KODAX_DEFAULT_TIMEOUT,Oo as KODAX_FILE_MEDIA_TYPES,ro as KODAX_HARD_TIMEOUT,Mo as KODAX_IMAGE_MEDIA_TYPES,mo as KODAX_MAX_INCOMPLETE_RETRIES,eo as KODAX_MAX_RETRIES,$ as KODAX_MAX_TOKENS,l as KODAX_PROVIDERS,k as KODAX_PROVIDER_SNAPSHOTS,p as KODAX_REASONING_MODE_SEQUENCE,fo as KODAX_RETRY_BASE_DELAY,t as KODAX_STABLE_EFFORT_INTENTS,po as KODAX_STAGGER_DELAY,Om as KODAX_TOOLS,de as KODAX_UNDERLYING_CAPABILITY_TOPICS,No as KODAX_VIDEO_MEDIA_TYPES,i as KodaXAnthropicCompatProvider,h as KodaXBaseProvider,kx as KodaXClient,o as KodaXError,Im as KodaXExtensionRuntime,vo as KodaXMediaError,j as KodaXOpenAICompatProvider,r as KodaXProviderError,e as KodaXRateLimitError,Ur as KodaXSessionError,Vr as KodaXTerminalError,Tr as KodaXToolError,Kr as LEARNING_REVIEW_PROMPT_SHA256,Lr as LEARNING_REVIEW_SCHEMA_SHA256,Ir as LEARNING_REVIEW_SYSTEM_PROMPT,Jr as LEARNING_REVIEW_TOOL,ir as LINEAGE_ENTRY_TYPES,ft as LSP_SERVERS,kr as LineageCompaction,jr as LineageExtension,mt as LspService,ge as MANUAL_REGISTRY,ce as MANUAL_TOPIC_IDS,Do as MAX_DIMENSION,Mx as MEMORY_INTERVENTION_SELECTOR_PROMPT,Nx as MEMORY_INTERVENTION_SELECTOR_SHA256,ca as MODIFICATION_TOOLS,$o as McpAuthRequiredError,dr as McpCapabilityProvider,_o as McpExpiredSessionError,gr as McpManager,cr as McpServerRuntime,Io as PASTE_TMP_DIR_ENV,Jo as PASTE_TMP_TTL_MS,jf as PLANNER_AGENT_NAME,xo as PROMISE_PATTERN,hp as PROMPT_SECTION_REGISTRY,_x as PROTOCOL_EMITTER_TOOLS,Sp as ProviderRecoveryCoordinator,oe as READ_DEFAULT_LIMIT,ee as READ_MAX_LINE_CHARS,re as READ_PREFLIGHT_SIZE_BYTES,Em as REPO_EXPLORER_AGENT_NAME,Fm as REPO_EXPLORER_TOOL_NAMES,ko as Runner,vt as SCOPED_REVIEW_OUTPUT_SCHEMA,hf as SCOUT_AGENT_NAME,Bb as SCOUT_THEN_AUTHOR_PROMPT_LINES,vp as SELF_KNOWLEDGE_ROUTING_RULE,gp as SYSTEM_PROMPT,Wt as SYSTEM_WORKFLOW_LIMITS,Qp as StableBoundaryTracker,Eo as TARGET_RAW_SIZE_BYTES,qf as TASK_ENGINE_ROLE_AGENTS,oa as TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME,sb as TRACING_ENV,lf as WORKER_AGENT_NAME,dt as WORKFLOW_GENERATION_SYSTEM_PROMPT,km as _resetRuntimeForTesting,qm as activate,uo as actorQueueId,Ra as analyzeAutoModeCall,He as analyzeChangedScope,na as analyzePowerShellMutation,xm as appendAuditEntry,yr as appendSessionLineageLabel,Ef as applyAccountingDelta,At as applyFindingVerification,zr as applySessionCompaction,ve as applyToolResultGuardrail,Fr as archiveOldIslands,Qa as assessAutoModeCall,Db as authorWorkflowViaWorker,rb as autoModeDenialShouldFallback,cb as bashSignalCollector,ub as bootstrapTracing,cx as boundedRevise,tb as breakerShouldFallback,dx as budgetCeiling,Xt as buildApprovalSummary,Hf as buildBlockedGoal,wp as buildCapabilityContextSections,ea as buildClassifierPrompt,If as buildCompleteGoal,Df as buildCreatedGoal,Zp as buildFallbackRoutingDecision,Ax as buildGoalRuntimeBinding,br as buildInitializeCapabilities,mm as buildLlmReviewPrompt,ie as buildManualToolDescription,Fx as buildMcpReverseCapabilities,Ff as buildPausedGoal,Bp as buildPromptMessageContent,lp as buildPromptSnapshot,Tp as buildProviderCapabilitySnapshot,_p as buildProviderPolicyHintsForDecision,Up as buildProviderPolicyPromptNotes,Ge as buildRepoIntelligenceContext,Te as buildRepoIntelligenceIndex,De as buildRepoOverview,Gf as buildResumedGoal,Dt as buildScopedReviewFinalPrompt,Bt as buildScopedReviewPrimaryPrompt,Ct as buildScopedReviewVerificationPrompt,Cb as buildScoutThenAuthorPrompt,up as buildSelfKnowledgeRoutingRule,Dr as buildSessionTree,zp as buildSystemPrompt,yp as buildSystemPromptSnapshot,bp as buildToolResultBudget,cp as buildToolResultBudgetFromUsage,Lf as buildToolSearchIndex,Tt as buildWorkflowCostReport,kt as buildWorkflowGenerationSkillContext,jt as buildWorkflowGenerationUserPrompt,Nr as canonicalMemoryProjectId,bb as checkAbsoluteDeny,Ap as checkIncompleteToolCalls,ot as checkPromiseSignal,dp as clampToolResultPolicyToBudget,Yt as clampWorkflowLimits,aa as classify,Sx as classifyBashCommand,Xr as classifyError,Ce as classifyFileCategory,Op as classifyResilienceError,pp as cleanupExpiredToolOutputs,To as cleanupIncompleteToolCalls,tp as cleanupUnreferencedToolOutputs,T as clearRuntimeModelProviders,Sr as clearShellExecutionEnvironmentCache,gb as collectAllSignals,La as collectBashWriteTargets,Ma as collectDeterministicBashWriteTargets,Km as combineExtensionRuntimes,Ux as computeInputSignature,Ta as computeRulesFingerprint,jm as configureRuntime,Kp as consumeCompactionCooldown,tf as convertCapabilityReadResult,pf as convertProviderSearchResults,Er as countActiveLineageMessages,bo as countTokens,co as createAgent,_a as createAutoModeDenialTracker,kb as createAutoModeToolGuardrail,Rx as createBashClassifierConfig,qb as createBashPrefixExtractor,Wm as createBuiltinToolDefinition,mb as createCircuitBreaker,Ox as createCodingMemoryInterventionRunner,st as createCodingWorkflowBackend,Ip as createCompactionAntiThrashState,om as createCtxProxy,F as createCustomProvider,tx as createDefaultCodingAgent,Tx as createDenialTracker,Lm as createExtensionRuntime,bt as createExternalActorTurnExecutor,Bo as createFileArtifactFromPath,go as createHandoff,Ao as createImageArtifactFromPath,ho as createInMemorySession,Ix as createKodaXTaskRunner,at as createLocalCodingActorControl,Vo as createMcpCapabilityId,hr as createMcpManager,or as createMcpTransport,Mr as createProductionLearningReviewer,ip as createPromptSection,$p as createReasoningPlan,Vt as createRunGraphWriter,Fp as createRuntimeContextBudgetSnapshot,ax as createSessionControl,qr as createSessionLineage,ra as createToolResultTruncationGuardrail,Co as createVideoArtifactFromPath,wb as createWorkflowLifecycleController,Ab as createWorkflowPatternTemplateModule,ox as createWorkflowRunManager,nx as decideWorkflowInvocation,Tf as dedupeExtensionPathsByEntrypoint,Uo as defaultMcpCacheDir,Zf as defaultPolicy,Ot as deleteSavedWorkflow,im as disableSelfModify,mr as discoverAuthorizationServerMetadata,Xf as discoverDefaultExtensions,Wf as discoverExtensionsInDirectory,Vf as discoverExtensionsInDirectoryDetailed,Dm as discoverMarkdownAgents,pr as discoverOAuthEndpoints,fr as discoverProtectedResourceMetadata,It as discoverSavedWorkflows,vf as drainPendingSwaps,b as effortToLegacyReasoningMode,Zx as emitVerdict,_t as emitWorkflowAgentDigest,Ro as enqueueWithArtifacts,Gm as ensureBuiltinRepoExplorerAgent,ao as estimateTokens,Ep as estimateToolSchemaTokens,Sa as evaluateAutoRulesCall,Vp as evaluateProviderPolicy,Uf as excludeExtensionPathsByEntrypoint,Of as exec,mp as executeTool,lr as extractArtifactLedger,nb as extractCommandPrefix,Dp as extractComparableUserMessageText,mf as extractHtmlTitle,er as extractInsufficientScope,Ga as extractPathsFromCommand,Cp as extractPromptComparableText,rr as extractResourceMetadataUrl,Hr as extractTitleFromMessages,db as fileSignalCollector,af as finalizeRetrievalResult,zm as findByVersion,qa as findGitSubcommandIndex,Ar as findPreviousUserEntryId,ja as flattenArgv,ka as flattenRedirections,Cr as forkSessionLineage,sp as formatAgentsForPrompt,Kx as formatParallelDispatchResult,fe as formatSize,Da as generateSavePattern,Gr as generateSessionId,nt as generateWorkflow,qt as generateWorkflowFromOptions,Nm as getActiveExtensionRuntime,no as getAgentConfigHome,qo as getAgentConfigPath,Ym as getAllRegisteredTools,so as getAppDataDir,W as getAvailableProviderNames,Na as getBashOutsideProjectWriteRisk,Vm as getBuiltinRegisteredToolDefinition,Um as getBuiltinToolDefinition,Gt as getBuiltinWorkflow,N as getCustomModelCapabilities,H as getCustomProvider,K as getCustomProviderList,M as getCustomProviderModelDescriptors,L as getCustomProviderModels,J as getCustomProviderNames,Rf as getDefaultExtensionDirectory,pt as getDefaultLspService,rx as getDefaultWorkflowRunManager,Xx as getDenialContext,za as getDirectShellBypassBlockReason,Ye as getImpactEstimate,np as getKodaxGlobalDir,Zo as getMcpCachePaths,C as getModelCapabilities,Po as getModelInputCapabilities,Ve as getModuleContext,Ja as getPlanModeAllowedWritablePaths,Oa as getPlanModeBlockReason,Xe as getProcessContext,q as getProvider,w as getProviderConfiguredCapabilityProfile,v as getProviderConfiguredReasoningCapability,y as getProviderList,u as getProviderModel,B as getProviderModelDescriptors,z as getProviderModels,Sm as getRegisteredToolDefinition,Ue as getRepoIntelligenceIndex,Ee as getRepoOverview,Ze as getRepoRoutingSignals,rp as getRequiredToolParams,Q as getRuntimeModelProvider,S as getRuntimeModelProviderNames,sr as getSessionLineagePath,ur as getSessionMessagesFromLineage,We as getSymbolContext,Qm as getTool,Rm as getToolDefinition,Tm as getToolRegistrations,ue as getToolResultPolicy,zb as getWorkflowPatternTemplate,sa as gitSignatureInspectionMayExecute,Af as goalTokenDelta,lx as hasExplicitNaturalLanguageWorkflowIntent,uf as hasPendingSwap,yo as inferImageMediaType,Pa as inferPermissionMode,Yp as inferTaskType,zo as inferVideoMediaType,qe as inspectEditFailure,Se as inspectRepoIntelligenceRuntime,Ea as isAlwaysConfirmPath,ya as isBashReadCommand,Aa as isBashWriteCommand,Ha as isCommandOnProtectedPath,I as isCustomProviderName,Wx as isDeniedRecently,wa as isHelpCommand,V as isKnownProvider,ha as isNullDevice,Jx as isParallelDispatchDirective,Ia as isPathInsideProject,Ka as isPlanModeAllowedPath,la as isPowerShellMutationCommand,s as isProviderConfigured,A as isProviderName,R as isRuntimeModelProviderName,Pp as isSessionRecoveryCandidateError,va as isShellReadOnlyArgv,Qf as isSupportedExtensionModulePath,Ca as isToolCallAllowed,_m as isToolFileMutation,op as isToolMutation,$m as isToolNetworkRead,Zm as isToolPlanModeAllowed,Jf as isValidTokenBudget,rt as languageIdForPath,Am as listAll,Z as listAllModelCapabilities,vm as listArtifacts,D as listBuiltinModelCapabilities,Xm as listBuiltinToolDefinitions,Ht as listBuiltinWorkflows,wf as listCodingDispatchableAgents,ym as listConstructed,O as listCustomProviderModelCapabilities,fp as listToolDefinitions,ep as listTools,yb as listWorkflowPatternTemplates,qp as loadAgentsFiles,Bm as loadAgentsFromMarkdown,Xa as loadAutoRules,Qt as loadGeneratedWorkflowFromRun,rm as loadHandler,Cm as loadMarkdownAgentScope,Lt as loadSavedWorkflow,Kt as loadSavedWorkflowCapsule,ar as loadValidToken,zf as makeDisabledGoalToolsContext,a as mapLegacyReasoningModeToEffortIntent,ap as maybeRunReferenceAwareToolOutputGc,xp as maybeRunToolOutputGc,Ex as mcpRootsFromWorkspace,nr as mergeArtifactLedger,zt as mergeScopedReviewResults,Or as normalizeKodaXAgentMode,Wo as normalizeMcpCapabilityId,Fo as normalizePastedImage,x as normalizeReasoningEffortValue,yt as normalizeScopedReviewResult,Pr as normalizeShellExecutionContract,Jt as normalizeWorkflowModule,jp as orderPromptSections,ut as parallelInvestigation,Ba as parseAllowedToolPattern,Wa as parseAutoRules,ia as parseBashCommand,fa as parseClassifierOutput,ne as parseEditToolError,ua as parseGitGrepShortOption,pm as parseLlmReviewVerdict,Xo as parseMcpCapabilityId,xb as parseModelSpec,c as parseReasoningEffortEnv,Rr as parseSandboxEnvironmentPass,m as parseTimeoutSecEnvMs,Nf as parseToolSearchQuery,lt as parseWorkflowGeneration,xr as performOAuthLogin,Ko as persistImageAsBlock,ae as persistToolOutput,Hp as planToolExposure,St as preflightWorkflowCapsule,_e as prewarmRepoIntelligenceCaches,ct as providerResilienceConfigFromTimeouts,Lo as prunePasteTmpDir,Ho as readAndNormalizeClipboardImage,wm as readArtifact,am as readAuditEntries,cm as readBudget,Go as readClipboardImage,hm as readDisableState,ib as readSpeculativeWindowFromEnv,Ua as readTrustState,Xp as reasoningModeToDepth,Rp as reconstructMessagesWithToolGuard,ob as recordAutoModeAllow,$a as recordAutoModeBlock,sx as recordBlockerAttempt,pb as recordBreakerError,Lp as recordCompactionSavings,Vx as recordDenial,jx as registerCodingInvariants,Cx as registerConfiguredMcpCapabilityProvider,G as registerCustomProviders,P as registerModelProvider,tr as registerOAuthClient,Gx as registerOfficialSandboxExtension,jo as registerPresetDispatcher,Pm as registerTool,sm as rehydrateActiveArtifacts,dm as remainingSelfModifyBudget,Nt as renameSavedWorkflow,Ie as renderChangedScope,Pe as renderImpactEstimate,Me as renderModuleContext,Oe as renderProcessContext,kp as renderPromptSections,Fe as renderRepoOverview,xf as renderRetrievalResult,Ne as renderSymbolContext,Dx as replaceConfiguredMcpCapabilityProvider,Pt as replaceSavedWorkflow,et as reportLspDiagnostics,ux as resetBlockerCounter,gm as resetBudget,ab as resolveClassifierModel,yf as resolveCodingDispatchableAgent,sf as resolveConstructedAgent,Sf as resolveExtensionEntrypoint,he as resolveKodaXManual,Y as resolveModelCapabilities,U as resolveProvider,X as resolveProviderModelDescriptors,d as resolveReasoningEffort,g as resolveReasoningEffortForModelSwitch,Wp as resolveReasoningMode,Re as resolveRepoIntelligenceMode,Qe as resolveRepoIntelligenceRuntimeConfig,Np as resolveResilienceConfig,vr as resolveSessionLineageTarget,Kf as resolveToolBridgeTarget,gx as resolveToolCapability,xe as resolveToolOutputDir,_ as resolveWireEffort,ht as resolveWorkflowGenerationTimeoutMs,vb as resolveWorkflowIdentity,um as revoke,Br as rewindSessionLineage,Hm as rollbackSelfModify,em as runAstRules,xx as runKodaX,tm as runLlmReview,Bx as runManagedTask,Hx as runOrchestration,$t as runWorkflowFromOptions,Zt as runWorkflowModule,Ut as safeWorkflowArtifactName,Mt as saveGeneratedWorkflow,Rt as saveGeneratedWorkflowFromRun,Et as scopedReview,Yo as searchMcpCatalog,Mf as searchToolIndex,Mm as setActiveExtensionRuntime,lo as setAgentConfigHome,wr as setSessionLineageActiveEntry,Qr as shellExecutionContractFingerprint,Cf as shouldFlipBudgetLimited,Jp as shouldSkipLlmCompaction,tt as shutdownDefaultLspService,jb as speculativeRace,lm as stage,bx as startKodaX,ex as startManagedWorkflow,ma as stripAssistantText,ff as stripHtmlToText,nm as testArtifact,f as timeoutSecToMs,Fa as tokenizeRawCommandStages,Be as toolAskUserQuestion,we as toolBash,Le as toolChangedDiff,Ke as toolChangedScope,df as toolCodeSearch,le as toolEdit,ye as toolGlob,ze as toolGrep,ef as toolImpactEstimate,se as toolInsertAfterAnchor,$e as toolModuleContext,hx as toolPermission,rf as toolProcessContext,be as toolRead,Je as toolRepoOverview,gf as toolSemanticLookup,of as toolSymbolContext,Ae as toolUndo,cf as toolWebFetch,bf as toolWebSearch,ke as toolWrite,me as truncateHead,te as truncateLine,pe as truncateTail,Va as trustProjectRules,Bf as turnWallTimeDelta,So as validateAndFixToolHistory,E as validateCustomProviderConfig,it as validateGeneratedWorkflowSource,Qo as validateInputArtifactsForModel,Lx as validateSubtaskIndependence,fm as validateToolSchemaForProvider,zx as verifyGoalCompletion,Pf as webhook,wx as withGoalBeforeNextTurn,yx as withGoalStopHook,je as withManualToolBranding,nf as workerAgent,qx as workflowStartOutcomeConsumesTurn,Eb as writeReviewPackets};
|
package/dist/sdk-mcp.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{
|
|
2
|
+
import{Db as e,Eb as t,Fb as r,Gb as a,Hb as p,Ib as i,Jb as c,Kb as o,Lb as n,Mb as M,Nb as s,Ob as l,Pb as d,Qb as u,Rb as C,Sb as v,Tb as g,Ub as S,Vb as h,Wb as R,Xb as m,Yb as A,Zb as b,_b as f}from"./chunks/chunk-45E23YJI.js";import"./chunks/chunk-EVXIJPZ6.js";import"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{o as McpAuthRequiredError,m as McpCapabilityProvider,c as McpExpiredSessionError,A as McpManager,R as McpServerRuntime,n as McpTransportCleanupIncompleteError,h as buildInitializeCapabilities,t as createMcpCapabilityId,b as createMcpManager,f as createMcpTestServerFixture,M as createMcpTransport,e as defaultMcpCacheDir,u as discoverAuthorizationServerMetadata,C as discoverOAuthEndpoints,d as discoverProtectedResourceMetadata,l as extractInsufficientScope,s as extractResourceMetadataUrl,i as getMcpCachePaths,S as loadValidToken,r as normalizeMcpCapabilityId,a as parseMcpCapabilityId,g as performOAuthLogin,v as registerOAuthClient,p as searchMcpCatalog};
|
package/dist/sdk-repl.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React$1, { ReactNode } from 'react';
|
|
2
|
-
import { A as AppProps, O as Message, au as UIState, h as CreatableHistoryItem, m as HistoryItem, ar as ToolCall, at as UIActions, K as KeyInfo, B as KeypressHandler, aj as StreamingState, V as PromptEditingMode, I as InputPromptProps, ai as StatusBarProps, ao as Theme, as as ToolCallStatus, ak as Suggestion, av as UseTextBufferReturn, H as HistoryEntry, Q as PastedContent, s as HistoryItemInfo, S as PermissionMode } from './types-chunks/public-api.d-
|
|
3
|
-
export { a as AppState, b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, d as Completer, e as Completion, f as ConfirmResult, g as ConversationPageCacheCapacityError, i as CursorPosition, D as DEFAULT_UI_STATE, j as DeleteSessionResult, F as FileSessionStorage, k as ForkSessionOptions, l as FullTranscriptSessionData, n as HistoryItemAssistant, o as HistoryItemBase, p as HistoryItemError, q as HistoryItemEvent, r as HistoryItemHint, t as HistoryItemSidecar, u as HistoryItemSystem, v as HistoryItemThinking, w as HistoryItemToolGroup, x as HistoryItemType, y as HistoryItemUser, z as KeypressEvent, E as KeypressHandlerPriority, L as LearningBinding, G as LearningSurfaceSnapshot, J as LegacyMessageListProps, M as ListSessionsOptions, N as MemorySessionStorage, P as PERMISSION_MODES, R as PermissionContext, T as PreparedSessionAppendBaseline, U as PreparedSessionTailDelta, W as PromptSubmitPayload, X as RewindSessionOptions, Y as RunningSessionInfo, Z as SessionBundleExportDiagnostic, _ as SessionBundleExportFile, $ as SessionBundleExportOptions, a0 as SessionBundleExportResult, a1 as SessionBundleExportStatus, a2 as SessionConversationHistoryData, a3 as SessionConversationHistoryEntry, a4 as SessionConversationHistoryIssue, a5 as SessionConversationHistoryIssueCode, a6 as SessionConversationHistoryStatus, a7 as SessionConversationMutationBoundary, a8 as SessionData, a9 as SessionManager, aa as SessionReadCapture, ab as SessionReadError, ac as SessionReadErrorCode, ad as SessionReadOptions, ae as SessionStorage, af as SessionSummary, ag as SessionTranscriptEntry, ah as SessionTranscriptEntryType, al as TOOL_STATUS_ICONS, am as TextBuffer, an as TextBufferOptions, ap as ThemeColors, aq as ThemeSymbols, aw as VisualCursor, ax as VisualLayout, ay as WatchSessionsCallback, az as appendClientNotice, aA as archiveSession, aB as compactSession, aC as computeConfirmTools, aD as conversationHistoryFromCapture, aE as createConversationEntryChain, aF as createMemorySessionStorage, aG as createSessionConversationHistoryRevision, aH as createSessionManager, aI as deleteSession, aJ as emptyConversationEntryChain, aK as exportSessionBundle, aL as extendConversationEntryChain, aM as forkSession, aN as isPermissionMode, aO as listRunningSessions, aP as listSessions, aQ as loadFullTranscript, aR as loadSession, aS as normalizePermissionMode, aT as permissionModeDisplayName, aU as readConversationHistory, aV as readFullTranscript, aW as readSessionCapture, aX as rewindSession, aY as setActiveEntry, aZ as unarchiveSession, a_ as watchSessions } from './types-chunks/public-api.d-
|
|
4
|
-
export { B as BUILTIN_COMMANDS, C as Command, I as InkREPLOptions, a as InkRuntimeRunner, b as InkRuntimeRunnerInput, c as InkRuntimeStatusProvider, d as InkTransientNotice, R as RUNTIME_PERMISSION_PENDING_NOTICE, e as RepLOptions, f as ReplRuntimeAutoModeControl, g as ReplRuntimeAutoModeSettings, h as ReplRuntimePermissionDecision, i as ReplRuntimePermissionGrantSuggestion, j as ReplRuntimePermissionPrompt, k as ReplRuntimePermissionRequest, l as ReplRuntimeRunner, m as ReplRuntimeRunnerInput, n as ReplRuntimeStatusProvider, o as executeCommand, p as getCommandRegistry, q as parseCommand, r as processSpecialSyntax, s as runInkInteractiveMode, t as runInteractiveMode, u as toReplRuntimeAutoModeSettings } from './types-chunks/repl.d-
|
|
5
|
-
import { Q as KodaXEvents, t as KodaXAgentMode, b6 as ProviderRecoveryEvent, ad as KodaXResult } from './types-chunks/bash-prefix-extractor.d-
|
|
6
|
-
import { c as QueuedMessage } from './types-chunks/types.d-
|
|
7
|
-
export { H as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, a as RestoredHistorySeed, e as extractHistorySeedsFromMessage, b as extractHistorySeedsFromMessages, c as extractTextContent, d as extractTitle, f as formatMessagePreview, r as restoreHistoryItemsFromSession, s as seedToHistoryItem, t as toolCallSeedToHistoryToolCall, g as trimPersistedUiHistorySnapshot } from './types-chunks/sdk-session-
|
|
8
|
-
import { c as CommandInfo } from './types-chunks/utils.d-
|
|
9
|
-
export { A as AutoModeSettings, a as CommandCallbacks, g as CurrentConfig, I as InteractiveContext, h as InteractiveMode, K as KODAX_CONFIG_FILE, i as KODAX_DIR, j as KODAX_EXAMPLE_CONFIG_FILE, k as KODAX_INTEGRATION_EXAMPLE_FILES, l as KODAX_SESSIONS_DIR, m as KODAX_VERSION, P as PREVIEW_MAX_LENGTH, R as ResolveAutoModeSettingsInput, n as ResolvedAutoModeSettings, o as RuntimeSurfaceMode, p as RuntimeSurfaceStatus, q as createInteractiveContext, r as ensureExampleConfigFile, s as ensureExampleConfigFiles, t as getGitRoot, u as getProviderList, v as getProviderModel, w as getVersion, x as hydrateProcessEnvFromShell, y as isProviderConfigured, z as loadAutoModeSettings, B as loadConfig, D as prepareRuntimeConfig, E as rateLimitedCall, F as registerConfiguredCustomProviders, G as resolveAutoModeSettings, H as resolveRuntimeEffortSelection, J as resolveRuntimeModelSelection, L as resolveRuntimeProviderSelection, M as saveConfig, N as touchContext } from './types-chunks/utils.d-
|
|
2
|
+
import { A as AppProps, O as Message, au as UIState, h as CreatableHistoryItem, m as HistoryItem, ar as ToolCall, at as UIActions, K as KeyInfo, B as KeypressHandler, aj as StreamingState, V as PromptEditingMode, I as InputPromptProps, ai as StatusBarProps, ao as Theme, as as ToolCallStatus, ak as Suggestion, av as UseTextBufferReturn, H as HistoryEntry, Q as PastedContent, s as HistoryItemInfo, S as PermissionMode } from './types-chunks/public-api.d-i10kvYFs.js';
|
|
3
|
+
export { a as AppState, b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, d as Completer, e as Completion, f as ConfirmResult, g as ConversationPageCacheCapacityError, i as CursorPosition, D as DEFAULT_UI_STATE, j as DeleteSessionResult, F as FileSessionStorage, k as ForkSessionOptions, l as FullTranscriptSessionData, n as HistoryItemAssistant, o as HistoryItemBase, p as HistoryItemError, q as HistoryItemEvent, r as HistoryItemHint, t as HistoryItemSidecar, u as HistoryItemSystem, v as HistoryItemThinking, w as HistoryItemToolGroup, x as HistoryItemType, y as HistoryItemUser, z as KeypressEvent, E as KeypressHandlerPriority, L as LearningBinding, G as LearningSurfaceSnapshot, J as LegacyMessageListProps, M as ListSessionsOptions, N as MemorySessionStorage, P as PERMISSION_MODES, R as PermissionContext, T as PreparedSessionAppendBaseline, U as PreparedSessionTailDelta, W as PromptSubmitPayload, X as RewindSessionOptions, Y as RunningSessionInfo, Z as SessionBundleExportDiagnostic, _ as SessionBundleExportFile, $ as SessionBundleExportOptions, a0 as SessionBundleExportResult, a1 as SessionBundleExportStatus, a2 as SessionConversationHistoryData, a3 as SessionConversationHistoryEntry, a4 as SessionConversationHistoryIssue, a5 as SessionConversationHistoryIssueCode, a6 as SessionConversationHistoryStatus, a7 as SessionConversationMutationBoundary, a8 as SessionData, a9 as SessionManager, aa as SessionReadCapture, ab as SessionReadError, ac as SessionReadErrorCode, ad as SessionReadOptions, ae as SessionStorage, af as SessionSummary, ag as SessionTranscriptEntry, ah as SessionTranscriptEntryType, al as TOOL_STATUS_ICONS, am as TextBuffer, an as TextBufferOptions, ap as ThemeColors, aq as ThemeSymbols, aw as VisualCursor, ax as VisualLayout, ay as WatchSessionsCallback, az as appendClientNotice, aA as archiveSession, aB as compactSession, aC as computeConfirmTools, aD as conversationHistoryFromCapture, aE as createConversationEntryChain, aF as createMemorySessionStorage, aG as createSessionConversationHistoryRevision, aH as createSessionManager, aI as deleteSession, aJ as emptyConversationEntryChain, aK as exportSessionBundle, aL as extendConversationEntryChain, aM as forkSession, aN as isPermissionMode, aO as listRunningSessions, aP as listSessions, aQ as loadFullTranscript, aR as loadSession, aS as normalizePermissionMode, aT as permissionModeDisplayName, aU as readConversationHistory, aV as readFullTranscript, aW as readSessionCapture, aX as rewindSession, aY as setActiveEntry, aZ as unarchiveSession, a_ as watchSessions } from './types-chunks/public-api.d-i10kvYFs.js';
|
|
4
|
+
export { B as BUILTIN_COMMANDS, C as Command, I as InkREPLOptions, a as InkRuntimeRunner, b as InkRuntimeRunnerInput, c as InkRuntimeStatusProvider, d as InkTransientNotice, R as RUNTIME_PERMISSION_PENDING_NOTICE, e as RepLOptions, f as ReplRuntimeAutoModeControl, g as ReplRuntimeAutoModeSettings, h as ReplRuntimePermissionDecision, i as ReplRuntimePermissionGrantSuggestion, j as ReplRuntimePermissionPrompt, k as ReplRuntimePermissionRequest, l as ReplRuntimeRunner, m as ReplRuntimeRunnerInput, n as ReplRuntimeStatusProvider, o as executeCommand, p as getCommandRegistry, q as parseCommand, r as processSpecialSyntax, s as runInkInteractiveMode, t as runInteractiveMode, u as toReplRuntimeAutoModeSettings } from './types-chunks/repl.d-Cs3eqGVT.js';
|
|
5
|
+
import { Q as KodaXEvents, t as KodaXAgentMode, b6 as ProviderRecoveryEvent, ad as KodaXResult } from './types-chunks/bash-prefix-extractor.d-CJM7OY-L.js';
|
|
6
|
+
import { c as QueuedMessage } from './types-chunks/types.d-DIXZFauU.js';
|
|
7
|
+
export { H as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, a as RestoredHistorySeed, e as extractHistorySeedsFromMessage, b as extractHistorySeedsFromMessages, c as extractTextContent, d as extractTitle, f as formatMessagePreview, r as restoreHistoryItemsFromSession, s as seedToHistoryItem, t as toolCallSeedToHistoryToolCall, g as trimPersistedUiHistorySnapshot } from './types-chunks/sdk-session-CRXu5xNs.js';
|
|
8
|
+
import { c as CommandInfo } from './types-chunks/utils.d-CgITiLyc.js';
|
|
9
|
+
export { A as AutoModeSettings, a as CommandCallbacks, g as CurrentConfig, I as InteractiveContext, h as InteractiveMode, K as KODAX_CONFIG_FILE, i as KODAX_DIR, j as KODAX_EXAMPLE_CONFIG_FILE, k as KODAX_INTEGRATION_EXAMPLE_FILES, l as KODAX_SESSIONS_DIR, m as KODAX_VERSION, P as PREVIEW_MAX_LENGTH, R as ResolveAutoModeSettingsInput, n as ResolvedAutoModeSettings, o as RuntimeSurfaceMode, p as RuntimeSurfaceStatus, q as createInteractiveContext, r as ensureExampleConfigFile, s as ensureExampleConfigFiles, t as getGitRoot, u as getProviderList, v as getProviderModel, w as getVersion, x as hydrateProcessEnvFromShell, y as isProviderConfigured, z as loadAutoModeSettings, B as loadConfig, D as prepareRuntimeConfig, E as rateLimitedCall, F as registerConfiguredCustomProviders, G as resolveAutoModeSettings, H as resolveRuntimeEffortSelection, J as resolveRuntimeModelSelection, L as resolveRuntimeProviderSelection, M as saveConfig, N as touchContext } from './types-chunks/utils.d-CgITiLyc.js';
|
|
10
10
|
import { d as KodaXCustomProviderConfig } from './types-chunks/types.d-CgrXrFrq.js';
|
|
11
11
|
export { T as KodaXTaskResultMetadata, U as KodaXTaskResultSource } from './types-chunks/types.d-CgrXrFrq.js';
|
|
12
12
|
import { Readable, Writable } from 'node:stream';
|
|
13
13
|
import { a as McpServerConfig, b as McpServersConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
14
14
|
export { E as ExtensionsIntegrationDocument, I as IntegrationConfigConflictError, a as IntegrationConfigController, b as IntegrationConfigDiagnostic, c as IntegrationConfigListener, d as IntegrationConfigSnapshot, e as IntegrationConfigSource, f as IntegrationConfigStatus, g as IntegrationDocumentValidator, h as IntegrationDomain, L as LegacyIntegrationMigrationDomainPlan, i as LegacyIntegrationMigrationPlan, j as LegacyIntegrationMigrationResult, M as McpIntegrationDocument, m as migrateLegacyIntegrationConfig, p as parseExtensionsIntegrationDocument, k as parseMcpIntegrationDocument, l as planLegacyIntegrationMigration, r as readExtensionsIntegration, n as readMcpIntegration, o as resolveIntegrationConfigPath, w as writeIntegrationDocument } from './types-chunks/integration-config.d-BNowXE8k.js';
|
|
15
|
-
export { cc as KodaXSessionUiHistoryItem, cd as KodaXSessionUiHistoryItemType, ce as KodaXSessionUiTextHistoryItem, cf as KodaXSessionUiTextHistoryItemType, cg as KodaXSessionUiToolCall, ch as KodaXSessionUiToolCallStatus, ci as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/controller.d-
|
|
16
|
-
export { F as FILE_MODIFICATION_TOOLS, c as collectBashWriteTargets, g as generateSavePattern, d as getBashOutsideProjectWriteRisk, j as getPlanModeBlockReason, m as isAlwaysConfirmPath, n as isBashReadCommand, o as isBashWriteCommand, p as isCommandOnProtectedPath, r as isPathInsideProject, u as isToolCallAllowed } from './types-chunks/shell-command-sets.d-
|
|
17
|
-
import { Z as SignalCollector, e as AutoModeAskUser, j as AutoModeGuardrailConfig, r as AutoModeSharedState, t as AutoModeToolGuardrail, Y as RulesLoadResult } from './types-chunks/guardrail.d-
|
|
15
|
+
export { cc as KodaXSessionUiHistoryItem, cd as KodaXSessionUiHistoryItemType, ce as KodaXSessionUiTextHistoryItem, cf as KodaXSessionUiTextHistoryItemType, cg as KodaXSessionUiToolCall, ch as KodaXSessionUiToolCallStatus, ci as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/controller.d-CYNuR2n9.js';
|
|
16
|
+
export { F as FILE_MODIFICATION_TOOLS, c as collectBashWriteTargets, g as generateSavePattern, d as getBashOutsideProjectWriteRisk, j as getPlanModeBlockReason, m as isAlwaysConfirmPath, n as isBashReadCommand, o as isBashWriteCommand, p as isCommandOnProtectedPath, r as isPathInsideProject, u as isToolCallAllowed } from './types-chunks/shell-command-sets.d-DfeSUjjM.js';
|
|
17
|
+
import { Z as SignalCollector, e as AutoModeAskUser, j as AutoModeGuardrailConfig, r as AutoModeSharedState, t as AutoModeToolGuardrail, Y as RulesLoadResult } from './types-chunks/guardrail.d-fM3mn4Op.js';
|
|
18
18
|
import 'vscode-languageserver-protocol';
|
|
19
19
|
import './types-chunks/types.d-BbtGlKZu.js';
|
|
20
20
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
package/dist/sdk-repl.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{$ as oe,$a as on,$b as er,A as ct,Aa as Re,Ab as kn,B as dt,Ba as ke,Bb as Nn,C as lt,Ca as Ne,Cb as Sn,D as pt,Da as Se,Db as Un,E as ut,Ea as Ue,Eb as _n,F as ft,Fa as _e,Fb as vn,G as gt,Ga as ve,Gb as An,H as Ct,Ha as Ae,Hb as On,I as xt,Ia as Oe,Ib as Fn,J as yt,Ja as Fe,Jb as Ln,K as Kt,Ka as Le,Kb as $n,L as Xt,La as $e,Lb as Tn,M as Pt,Ma as Te,Mb as In,N as jt,Na as Ie,Nb as Wn,O as Rt,Oa as We,Ob as En,P as kt,Pa as Ee,Pb as qn,Q as qo,Qa as qe,Qb as zn,R as zo,Ra as ze,Rb as Bn,S as Bo,Sa as Be,Sb as Gn,T as Go,Ta as Ge,Tb as Hn,U as Ho,Ua as He,Ub as Jn,V as Jo,Va as Je,Vb as Qn,W as Qo,Wa as Qe,Wb as Vn,X as Vo,Xa as Ve,Xb as Yn,Y as Yo,Ya as Ye,Yb as Zn,Z as Zo,Za as Ze,Zb as tr,_ as te,_a as tn,_b as or,a as F,aa as ee,ab as en,ac as nr,b as L,ba as ne,bb as nn,bc as rr,c as $,ca as re,cb as rn,cc as mr,d as T,da as me,db as mn,dc as ar,e as I,ea as ae,eb as an,ec as ir,f as W,fa as ie,fb as sn,fc as sr,g as E,ga as se,gb as cn,gc as cr,h as q,ha as ce,hb as dn,hc as dr,i as z,ia as de,ib as ln,ic as lr,j as B,ja as le,jb as pn,jc as pr,k as G,ka as pe,kb as un,l as H,la as ue,lb as fn,m as J,ma as fe,mb as gn,n as Q,na as ge,nb as Cn,o as V,oa as Ce,ob as xn,p as Y,pa as xe,pb as yn,q as Z,qa as ye,qb as Kn,r as tt,ra as Ke,rb as Xn,s as ot,sa as Xe,sb as bn,t as et,ta as be,tb as hn,u as nt,ua as he,ub as Dn,v as rt,va as De,vb as wn,w as mt,wa as we,wb as Mn,x as at,xa as Me,xb as Pn,y as it,ya as Pe,yb as jn,z as st,za as je,zb as Rn}from"./chunks/chunk-
|
|
2
|
+
import{$ as oe,$a as on,$b as er,A as ct,Aa as Re,Ab as kn,B as dt,Ba as ke,Bb as Nn,C as lt,Ca as Ne,Cb as Sn,D as pt,Da as Se,Db as Un,E as ut,Ea as Ue,Eb as _n,F as ft,Fa as _e,Fb as vn,G as gt,Ga as ve,Gb as An,H as Ct,Ha as Ae,Hb as On,I as xt,Ia as Oe,Ib as Fn,J as yt,Ja as Fe,Jb as Ln,K as Kt,Ka as Le,Kb as $n,L as Xt,La as $e,Lb as Tn,M as Pt,Ma as Te,Mb as In,N as jt,Na as Ie,Nb as Wn,O as Rt,Oa as We,Ob as En,P as kt,Pa as Ee,Pb as qn,Q as qo,Qa as qe,Qb as zn,R as zo,Ra as ze,Rb as Bn,S as Bo,Sa as Be,Sb as Gn,T as Go,Ta as Ge,Tb as Hn,U as Ho,Ua as He,Ub as Jn,V as Jo,Va as Je,Vb as Qn,W as Qo,Wa as Qe,Wb as Vn,X as Vo,Xa as Ve,Xb as Yn,Y as Yo,Ya as Ye,Yb as Zn,Z as Zo,Za as Ze,Zb as tr,_ as te,_a as tn,_b as or,a as F,aa as ee,ab as en,ac as nr,b as L,ba as ne,bb as nn,bc as rr,c as $,ca as re,cb as rn,cc as mr,d as T,da as me,db as mn,dc as ar,e as I,ea as ae,eb as an,ec as ir,f as W,fa as ie,fb as sn,fc as sr,g as E,ga as se,gb as cn,gc as cr,h as q,ha as ce,hb as dn,hc as dr,i as z,ia as de,ib as ln,ic as lr,j as B,ja as le,jb as pn,jc as pr,k as G,ka as pe,kb as un,l as H,la as ue,lb as fn,m as J,ma as fe,mb as gn,n as Q,na as ge,nb as Cn,o as V,oa as Ce,ob as xn,p as Y,pa as xe,pb as yn,q as Z,qa as ye,qb as Kn,r as tt,ra as Ke,rb as Xn,s as ot,sa as Xe,sb as bn,t as et,ta as be,tb as hn,u as nt,ua as he,ub as Dn,v as rt,va as De,vb as wn,w as mt,wa as we,wb as Mn,x as at,xa as Me,xb as Pn,y as it,ya as Pe,yb as jn,z as st,za as je,zb as Rn}from"./chunks/chunk-LF2JBTBG.js";import{A as No,Aa as Io,B as So,Ba as Wo,Ca as Eo,L as Uo,M as _o,N as vo,O as Ao,P as Oo,U as Fo,V as Lo,a as bt,b as ht,c as Dt,d as wt,e as Mt,f as Nt,i as St,k as Ut,l as _t,m as vt,n as Xo,o as bo,p as ho,q as Do,r as wo,s as Mo,t as Po,v as jo,w as Ro,y as ko,ya as $o,za as To}from"./chunks/chunk-DSFHIUHZ.js";import{$ as Co,O as mo,P as ao,Q as io,R as so,S as co,T as lo,U as po,X as uo,Y as fo,_ as go,aa as xo,b as At,c as Ot,ca as yo,d as Ft,e as Lt,f as $t,g as Tt,ga as Ko,h as It,i as Wt,j as Et,k as qt,l as zt,m as Bt,n as Gt,o as Ht,p as Jt,q as Qt,r as Vt,s as Yt,t as Zt,u as to,w as oo,x as eo,y as no,z as ro}from"./chunks/chunk-HI6RCW5Y.js";import"./chunks/chunk-DZUMH6GJ.js";import{Ca as U,Da as _,Ga as v,Ia as A,Ja as O,ea as P,ta as j,va as R,xa as k,ya as N,za as S}from"./chunks/chunk-3DKQC7A2.js";import"./chunks/chunk-TC2VHPG5.js";import"./chunks/chunk-RAQGGVIF.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XB2JNLXH.js";import"./chunks/chunk-6QILIBOU.js";import"./chunks/chunk-KHEFUT6O.js";import"./chunks/chunk-TRNAWSXP.js";import"./chunks/chunk-45E23YJI.js";import{d as x}from"./chunks/chunk-EVXIJPZ6.js";import"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import{a}from"./chunks/chunk-ONUPGMER.js";import u from"fs/promises";import i from"path";import K from"os";import{pathToFileURL as X}from"node:url";var f=i.join(K.homedir(),".kodax","commands");function b(){return f}a(b,"getDefaultCommandDir");function h(n){let t=i.extname(n);if(t!==".js"&&t!==".ts")throw new Error(`Unsupported programmable command module extension: ${t||"<none>"}.`);return X(i.resolve(n))}a(h,"resolveProgrammableCommandModuleUrl");async function D(n){let t=new Map,e=n??f;try{await u.mkdir(e,{recursive:!0});let r=await u.readdir(e);for(let o of r){let s=i.extname(o),g=o.replace(s,"");if(s===".md"){try{let m=await u.readFile(i.join(e,o),"utf-8"),l=(m.split(`
|
|
3
3
|
`)[0]?.replace(/^#\s*/,"").trim()??"").slice(0,60)||"(prompt command)";t.set(g,{name:g,description:l,content:m,type:"prompt"})}catch{}continue}if(s===".js"||s===".ts"){let m=i.join(e,o);try{let l=await import(h(m).href);for(let[C,p]of Object.entries(l))if(C.startsWith("command_")&&typeof p=="function"){let c=C.replace("command_",""),y=p.description??c;t.set(c,{name:c,description:String(y).slice(0,60),content:`[Programmable command: ${c}]`,type:"programmable",execute:p})}}catch(d){x({source:"cli:commands",level:"warn",message:s===".ts"?`Failed to load TypeScript programmable command ${m}; enable a TypeScript loader or compile it to .js.`:`Failed to load programmable command module ${m}.`,detail:d})}}}}catch{}return t}a(D,"loadCommands");async function w(n,t,e,r){let o=e.get(n);return o?o.type==="prompt"?t?o.content.replace(/{args}/g,t):o.content:o.type==="programmable"&&o.execute?o.execute({args:t,runAgent:r}):null:null}a(w,"processCommandCall");function M(n){if(!n.startsWith("/"))return null;let t=n.slice(1).trim();if(!t)return null;let e=t.search(/\s/);if(e===-1)return[t];let r=t.slice(0,e),o=t.slice(e).trim();return o?[r,o]:[r]}a(M,"parseCommandCall");export{se as App,qo as AutocompleteContextProvider,To as BUILTIN_COMMANDS,_e as BackgroundTaskBar,At as CONFIG_TEMPLATES,Ae as ChildActivitySurface,Pn as ConsoleCapturer,qn as ConversationPageCacheCapacityError,Ft as CoreConfigWriteConflictError,Mt as DEFAULT_UI_STATE,Re as DialogSurface,Zo as DotsIndicator,P as FILE_MODIFICATION_TOOLS,Bn as FileSessionStorage,de as FullscreenTranscriptLayout,ne as HistoryItemRenderer,Qo as InputPrompt,Tt as IntegrationConfigConflictError,Jt as IntegrationConfigController,f as KODAX_COMMANDS_DIR,Yt as KODAX_CONFIG_FILE,Qt as KODAX_DIR,so as KODAX_EXAMPLE_CONFIG_FILE,co as KODAX_INTEGRATION_EXAMPLE_FILES,Vt as KODAX_SESSIONS_DIR,no as KODAX_VERSION,kt as KeyMatchers,wt as KeypressHandlerPriority,xt as KeypressParser,jt as KeypressProvider,Y as LRUCache,ee as LoadingIndicator,Ve as MemorySessionStorage,le as MessageActions,re as MessageList,pe as MessageSelector,Ne as NotificationsSurface,Nt as PERMISSION_MODES,Zt as PREVIEW_MAX_LENGTH,yn as PendingInputsIndicator,te as ProgressIndicator,fe as PromptComposer,xe as PromptFooter,ge as PromptFooterLeftSide,Ce as PromptFooterRightSide,ye as PromptHelpMenu,je as PromptSuggestionsSurface,Xo as ProviderSetupConfigConflictError,bo as ProviderSetupInvalidConfigError,ke as QueuedCommandsSurface,Be as RUNTIME_PERMISSION_PENDING_NOTICE,zn as SessionReadError,ce as SimpleApp,Vo as SimpleInputPrompt,me as SimpleMessageDisplay,ie as SimpleStatusBar,gt as SingleLineTextInput,Yo as Spinner,Ue as StashNotice,ae as StatusBar,Se as StatusNoticesSurface,Fe as StreamingProvider,bt as StreamingState,Pe as SuggestionsDisplay,Dt as TOOL_STATUS_ICONS,Ho as TextBuffer,ft as TextInput,oe as ThinkingIndicator,Cn as ToolCallDisplay,ht as ToolCallStatus,xn as ToolGroup,gn as ToolProgressBar,fn as ToolStatusBadge,ue as TranscriptViewport,he as UIStateProvider,ze as _resetQueuedPromptsCacheForTests,nr as appendClientNotice,cr as archiveSession,Qe as bootstrapAutoMode,st as calculateVisualCursorFromLayout,it as calculateVisualLayout,v as collectBashWriteTargets,Hn as compactSession,Ut as computeConfirmTools,tr as conversationHistoryFromCapture,Lt as coreConfigWriteLockPath,pn as createCliEvents,Wn as createConversationEntryChain,Xe as createHistoryItem,He as createInteractiveContext,un as createJsonEvents,We as createKeyMatcher,Pt as createKeypressManager,Ye as createMemorySessionStorage,sn as createRecoveryHistoryItem,mn as createRetryHistoryItem,En as createSessionConversationHistoryRevision,pr as createSessionManager,Oe as createStreamingManager,be as createToolCall,ct as darkTheme,Gn as dedupeSessions,sr as deleteSession,Mn as detectTerminalCapabilities,q as detectTerminalHostProfile,E as detectTerminalRenderHost,cn as emitRecoveryHistoryItem,an as emitRetryHistoryItem,Tn as emptyConversationEntryChain,po as ensureExampleConfigFile,lo as ensureExampleConfigFiles,Eo as executeCommand,Ze as executeShellCommand,er as exportSessionBundle,In as extendConversationEntryChain,vo as extractHistorySeedsFromMessage,Ao as extractHistorySeedsFromMessages,Oo as extractTextContent,Fo as extractTitle,rn as findMostRecentResumableSession,rr as forkSession,Lo as formatMessagePreview,Ke as generateId,N as generateSavePattern,A as getBashOutsideProjectWriteRisk,et as getCharAtCodePoint,Z as getCodePointLength,Io as getCommandRegistry,Ot as getConfigTemplate,Un as getCustomProviderConfig,b as getDefaultCommandDir,yo as getGitRoot,Xt as getKeyDisplayName,On as getMcpServerConfig,O as getPlanModeBlockReason,mo as getProviderList,ro as getProviderModel,ho as getProviderSetupCatalog,J as getTerminalHostCapabilities,Dn as getTerminalWidth,pt as getTheme,ut as getThemeNames,eo as getVersion,ot as getVisualWidth,at as getVisualWidthCached,L as hasCursorUpViewportYankRisk,T as hasMainScreenRenderScrollRisk,to as hydrateProcessEnvFromShell,Po as initializeSetupConfiguration,Do as inspectProviderSetupReadiness,S as isAlwaysConfirmPath,j as isBashReadCommand,R as isBashWriteCommand,V as isClassicReplForced,U as isCommandOnProtectedPath,yt as isFunctionKey,Q as isOwnedRendererPreferred,_ as isPathInsideProject,_t as isPermissionMode,Kt as isPrintable,ao as isProviderConfigured,$ as isRemoteConptyHost,wn as isScreenReader,tn as isShellCommand,on as isShellCommandSuccess,I as isTmuxControlMode,k as isToolCallAllowed,F as isVsCodeTerminalHostEnv,tt as isWideChar,Sn as listCustomProviders,An as listMcpServers,$o as listRegisteredCommands,ir as listRunningSessions,Jn as listSessions,No as loadAutoModeSettings,D as loadCommands,io as loadConfig,Vn as loadFullTranscript,Qn as loadSession,ve as measureChildActivitySurfaceRows,Gt as migrateLegacyIntegrationConfig,dt as minimalTheme,vt as normalizePermissionMode,Wo as parseCommand,M as parseCommandCall,Wt as parseExtensionsIntegrationDocument,Ct as parseKeypress,It as parseMcpIntegrationDocument,St as permissionModeDisplayName,wo as persistProviderSetupChoice,Bt as planLegacyIntegrationMigration,uo as prepareRuntimeConfig,w as processCommandCall,Nn as processSpecialSyntax,Mo as providerSetupRestartInstructions,Ko as rateLimitedCall,Zn as readConversationHistory,zt as readExtensionsIntegration,Yn as readFullTranscript,qt as readMcpIntegration,or as readSessionCapture,oo as registerConfiguredCustomProviders,vn as removeCustomProvider,Ln as removeMcpServer,jo as renderSetupGuide,ko as replBashPathSignalCollector,W as resetTmuxControlModeProbeForTesting,So as resolveAutoModeSettings,z as resolveConfiguredTuiRendererMode,B as resolveEffectiveTuiRendererMode,H as resolveFullscreenPolicy,Et as resolveIntegrationConfigPath,G as resolveInteractiveSurfacePreference,xo as resolveRuntimeEffortSelection,Co as resolveRuntimeModelSelection,go as resolveRuntimeProviderSelection,nn as restoreHistoryItemsFromSession,mr as rewindSession,dn as runInkInteractiveMode,kn as runInteractiveMode,Ro as runProviderSetupWizard,ln as runSessionPicker,fo as saveConfig,Uo as seedToHistoryItem,ar as setActiveEntry,nt as splitByCodePoints,Xn as supports256Colors,hn as supportsEmoji,Kn as supportsTrueColor,bn as supportsUnicode,lt as themes,Ge as toReplRuntimeAutoModeSettings,_o as toolCallSeedToHistoryToolCall,Je as touchContext,en as trimPersistedUiHistorySnapshot,rt as truncateByVisualWidth,dr as unarchiveSession,_n as upsertCustomProvider,Fn as upsertMcpServer,Bo as useAutocomplete,zo as useAutocompleteContext,Go as useInputHistory,Ie as useKeypress,Rt as useKeypressManager,qe as useQueuedPromptContents,Ee as useQueuedPrompts,Te as useStreaming,$e as useStreamingActions,Le as useStreamingState,Jo as useTextBuffer,Me as useUI,we as useUIActions,De as useUIState,$n as validateMcpServerConfig,mt as visualWidthCache,lr as watchSessions,jn as withCapture,Rn as withCaptureSync,$t as withCoreConfigWriteLock,Ht as writeIntegrationDocument};
|
package/dist/sdk-runtime.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { G as KodaXReasoningMode, d as KodaXCustomProviderConfig } from './types-chunks/types.d-CgrXrFrq.js';
|
|
2
2
|
export { k as KodaXMessage } from './types-chunks/types.d-CgrXrFrq.js';
|
|
3
|
-
import { I as AgentDispatchContext, cT as LearningQuery, cS as LearningPage, cv as LearnedCapabilityRecord, cY as LearningSurfaceSnapshot, cO as LearningEvent, cX as LearningSubscribeOptions, W as AgentExecutorFactory, J as AgentDispatchPolicy, F as AgentCredentialBroker, q as AgentArtifactPolicy, bK as KodaXImageInputArtifact, bN as KodaXInputArtifactSource, ck as KodaXVideoInputArtifact, fb as WorkflowProcessSnapshot, f5 as WorkflowProcessEvent, S as AgentExecutionKind, ar as AgentRegistrationService, ba as DispatchableAgentQuery, b8 as DispatchableAgentListing, aj as AgentPreflightInput, ak as AgentPreflightResult, aG as AgentTreeSnapshot, H as AgentDetail, at as AgentSpawnInput, aJ as AgentTurnRef, G as AgentDataClassification, a5 as AgentFollowupResult, ai as AgentOutput, P as AgentEvent } from './types-chunks/controller.d-
|
|
3
|
+
import { I as AgentDispatchContext, cT as LearningQuery, cS as LearningPage, cv as LearnedCapabilityRecord, cY as LearningSurfaceSnapshot, cO as LearningEvent, cX as LearningSubscribeOptions, W as AgentExecutorFactory, J as AgentDispatchPolicy, F as AgentCredentialBroker, q as AgentArtifactPolicy, bK as KodaXImageInputArtifact, bN as KodaXInputArtifactSource, ck as KodaXVideoInputArtifact, fb as WorkflowProcessSnapshot, f5 as WorkflowProcessEvent, S as AgentExecutionKind, ar as AgentRegistrationService, ba as DispatchableAgentQuery, b8 as DispatchableAgentListing, aj as AgentPreflightInput, ak as AgentPreflightResult, aG as AgentTreeSnapshot, H as AgentDetail, at as AgentSpawnInput, aJ as AgentTurnRef, G as AgentDataClassification, a5 as AgentFollowupResult, ai as AgentOutput, P as AgentEvent } from './types-chunks/controller.d-CYNuR2n9.js';
|
|
4
4
|
import { i as SkillMetadata } from './types-chunks/types.d-BbtGlKZu.js';
|
|
5
5
|
import { a as McpServerConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
6
6
|
import { t as McpServerStatus, u as McpServerToolList } from './types-chunks/manager.d-B67TmPO1.js';
|
|
7
|
-
import { K as KodaXSessionHistoryHit } from './types-chunks/history-retrieval.d-
|
|
8
|
-
import { c as ManagedWorkflowSnapshot } from './types-chunks/run-manager.d-
|
|
9
|
-
import { a1 as KodaXOptions, al as KodaXShellExecutionContract, aR as KodaXToolSandboxObservationUpdate, aP as KodaXToolEventMeta, W as KodaXManagedTaskStatusEvent, Q as KodaXEvents, ad as KodaXResult, bl as RuntimeContextBudgetSnapshot, bs as RuntimeToolExposurePlan, a5 as KodaXPromptCacheDiagnosticEvent, N as KodaXContextOptions, K as KodaXActivityEventMeta, aX as KodaXTurnStartedEvent, aU as KodaXTurnCompletedEvent, aW as KodaXTurnFailedEvent, L as KodaXContextCompactionFinishedEvent, M as KodaXContextIdentity } from './types-chunks/bash-prefix-extractor.d-
|
|
10
|
-
import { L as LoadedExtensionDiagnostic, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-
|
|
11
|
-
import { h as AutoModeDecisionDiagnostics, s as AutoModeStats } from './types-chunks/guardrail.d-
|
|
12
|
-
import { M as saveConfig, c as CommandInfo } from './types-chunks/utils.d-
|
|
13
|
-
import { l as FullTranscriptSessionData, ag as SessionTranscriptEntry, a2 as SessionConversationHistoryData, a6 as SessionConversationHistoryStatus, a4 as SessionConversationHistoryIssue, a3 as SessionConversationHistoryEntry, c as CompactSessionResult } from './types-chunks/public-api.d-
|
|
7
|
+
import { K as KodaXSessionHistoryHit } from './types-chunks/history-retrieval.d-BDI-ZMvY.js';
|
|
8
|
+
import { c as ManagedWorkflowSnapshot } from './types-chunks/run-manager.d-CodHf6rw.js';
|
|
9
|
+
import { a1 as KodaXOptions, al as KodaXShellExecutionContract, aR as KodaXToolSandboxObservationUpdate, aP as KodaXToolEventMeta, W as KodaXManagedTaskStatusEvent, Q as KodaXEvents, ad as KodaXResult, bl as RuntimeContextBudgetSnapshot, bs as RuntimeToolExposurePlan, a5 as KodaXPromptCacheDiagnosticEvent, N as KodaXContextOptions, K as KodaXActivityEventMeta, aX as KodaXTurnStartedEvent, aU as KodaXTurnCompletedEvent, aW as KodaXTurnFailedEvent, L as KodaXContextCompactionFinishedEvent, M as KodaXContextIdentity } from './types-chunks/bash-prefix-extractor.d-CJM7OY-L.js';
|
|
10
|
+
import { L as LoadedExtensionDiagnostic, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-DKs4tfSd.js';
|
|
11
|
+
import { h as AutoModeDecisionDiagnostics, s as AutoModeStats } from './types-chunks/guardrail.d-fM3mn4Op.js';
|
|
12
|
+
import { M as saveConfig, c as CommandInfo } from './types-chunks/utils.d-CgITiLyc.js';
|
|
13
|
+
import { l as FullTranscriptSessionData, ag as SessionTranscriptEntry, a2 as SessionConversationHistoryData, a6 as SessionConversationHistoryStatus, a4 as SessionConversationHistoryIssue, a3 as SessionConversationHistoryEntry, c as CompactSessionResult } from './types-chunks/public-api.d-i10kvYFs.js';
|
|
14
14
|
import './types-chunks/capability.d-K664nHOS.js';
|
|
15
15
|
import 'vscode-languageserver-protocol';
|
|
16
16
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
@@ -250,6 +250,46 @@ declare class RuntimePermissionScopeUpgradeRequiredError extends Error {
|
|
|
250
250
|
constructor();
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
+
interface RuntimeDaemonShutdownOutcome {
|
|
254
|
+
readonly version: 1;
|
|
255
|
+
readonly runtimeId: string;
|
|
256
|
+
readonly pid: number;
|
|
257
|
+
readonly status: 'succeeded' | 'failed';
|
|
258
|
+
readonly completedAt: string;
|
|
259
|
+
readonly error?: string;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
interface RuntimeDaemonShutdownVerificationOwner {
|
|
263
|
+
readonly runtimeId: string;
|
|
264
|
+
readonly pid: number;
|
|
265
|
+
readonly kind?: 'daemon' | 'inline';
|
|
266
|
+
readonly processContainment?: 'windows-job';
|
|
267
|
+
readonly supervisorPid?: number;
|
|
268
|
+
}
|
|
269
|
+
interface RuntimeDaemonShutdownVerificationInput {
|
|
270
|
+
readonly configHome: string;
|
|
271
|
+
readonly profile?: string;
|
|
272
|
+
readonly owner: RuntimeDaemonShutdownVerificationOwner;
|
|
273
|
+
readonly timeoutMs?: number;
|
|
274
|
+
readonly pollIntervalMs?: number;
|
|
275
|
+
}
|
|
276
|
+
type RuntimeDaemonShutdownVerification = {
|
|
277
|
+
readonly status: 'succeeded' | 'failed';
|
|
278
|
+
readonly outcome: RuntimeDaemonShutdownOutcome;
|
|
279
|
+
} | {
|
|
280
|
+
readonly status: 'replacement_running';
|
|
281
|
+
readonly runtimeId: string;
|
|
282
|
+
readonly pid: number;
|
|
283
|
+
} | {
|
|
284
|
+
readonly status: 'unverified';
|
|
285
|
+
readonly reason: 'daemon_active' | 'containment_active' | 'containment_unavailable' | 'outcome_missing';
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* Verify one exact daemon shutdown from its durable outcome and process fence.
|
|
289
|
+
* This is deliberately a quit-path API: it performs no steady-state polling.
|
|
290
|
+
*/
|
|
291
|
+
declare function waitForRuntimeDaemonShutdown(input: RuntimeDaemonShutdownVerificationInput): Promise<RuntimeDaemonShutdownVerification>;
|
|
292
|
+
|
|
253
293
|
interface RuntimeWorkerResourceLimits {
|
|
254
294
|
readonly maxOldGenerationSizeMb?: number;
|
|
255
295
|
readonly maxYoungGenerationSizeMb?: number;
|
|
@@ -929,6 +969,8 @@ interface RuntimeOwnerIdentity {
|
|
|
929
969
|
readonly pid: number;
|
|
930
970
|
readonly createdAt: string;
|
|
931
971
|
readonly kind?: "daemon" | "inline";
|
|
972
|
+
readonly processContainment?: "windows-job";
|
|
973
|
+
readonly supervisorPid?: number;
|
|
932
974
|
}
|
|
933
975
|
interface RuntimeOwnerState {
|
|
934
976
|
readonly profile: string;
|
|
@@ -1069,6 +1111,7 @@ interface ConnectKodaXRuntimeOptions {
|
|
|
1069
1111
|
/** SDK facts that embedders can inspect before auto-starting a daemon. */
|
|
1070
1112
|
declare const KODAX_RUNTIME_SDK_CAPABILITIES: Readonly<{
|
|
1071
1113
|
readonly daemonOrphanExit: 1;
|
|
1114
|
+
readonly daemonShutdownVerification: 1;
|
|
1072
1115
|
readonly managedRunDurability: 1;
|
|
1073
1116
|
readonly runtimeEventCoalescing: 1;
|
|
1074
1117
|
}>;
|
|
@@ -1114,6 +1157,8 @@ interface RuntimeCapabilityRequirements {
|
|
|
1114
1157
|
readonly daemonManagement?: 1;
|
|
1115
1158
|
/** Require an auto-started daemon whose current host has orphan idle-exit enabled. */
|
|
1116
1159
|
readonly daemonOrphanExit?: 1;
|
|
1160
|
+
/** Require authoritative durable shutdown plus kernel-backed process containment. */
|
|
1161
|
+
readonly daemonShutdownVerification?: 1;
|
|
1117
1162
|
/** Require source-level bounded coalescing before sequence allocation and persistence. */
|
|
1118
1163
|
readonly runtimeEventCoalescing?: 1;
|
|
1119
1164
|
/** Optional integration failures are isolated, observable, and hot-recoverable. */
|
|
@@ -2469,5 +2514,5 @@ declare function createKodaXRuntime(options: CreateKodaXRuntimeOptions & {
|
|
|
2469
2514
|
declare function createKodaXRuntime(options?: CreateKodaXRuntimeOptions): Promise<KodaXRuntime>;
|
|
2470
2515
|
declare function connectKodaXRuntime(options?: ConnectKodaXRuntimeOptions): Promise<KodaXDaemonRuntime>;
|
|
2471
2516
|
|
|
2472
|
-
export { KODAX_DAEMON_PROTOCOL, KODAX_DAEMON_PROTOCOL_VERSION, KODAX_RUNTIME_SDK_CAPABILITIES, KodaXEvents, KodaXPromptCacheDiagnosticEvent, KodaXResult, RUNTIME_DAEMON_METHODS, RUNTIME_DAEMON_METHOD_SCHEMAS, RUNTIME_DAEMON_NOTIFICATION_SCHEMAS, RUNTIME_DAEMON_PROTOCOL_SCHEMA, RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON, RuntimeAutoModeConfigurationError, RuntimeContextBudgetSnapshot, RuntimeDaemonCapabilityUpgradeError, RuntimePermissionScopeUpgradeRequiredError, RuntimeToolExposurePlan, RuntimeTransportBoundaryError, SessionTranscriptEntry, acquireKodaXInlineOwner, captureRuntimeSessionDiagnostics, connectKodaXRuntime, createKodaXRuntime, enableKodaXDaemonOwner, getKodaXRuntimeOwnerPolicy, getKodaXRuntimeOwnerState, listRuntimeDaemonSchemaMethods, parseRuntimeEvent, setKodaXRuntimeOwnerMode };
|
|
2473
|
-
export type { ConnectKodaXRuntimeOptions, CreateKodaXRuntimeOptions, KodaXDaemonRuntime, KodaXRuntime, KodaXRuntimeIsolation, KodaXRuntimeMode, RuntimeActiveAgentTurn, RuntimeActiveToolProjection, RuntimeAdminService, RuntimeAgentBindingService, RuntimeAgentOwnerSession, RuntimeAgentService, RuntimeAppendNoticeInput, RuntimeArtifact, RuntimeArtifactKind, RuntimeArtifactRefInput, RuntimeArtifactService, RuntimeBoundDefaultAgent, RuntimeBoundLocalAgent, RuntimeCapabilityRequirements, RuntimeCatalogService, RuntimeClientCapabilities, RuntimeClientInfo, RuntimeCommandInfo, RuntimeCommandResolveInput, RuntimeCompactSessionInput, RuntimeCompactSessionResult, RuntimeConfigPatch, RuntimeConfigReloadResult, RuntimeConfigService, RuntimeConnectionService, RuntimeConnectionState, RuntimeContextCompactionFinishedEventPayload, RuntimeContextCompactionMessagesEventPayload, RuntimeContinuationStatus, RuntimeConversationHistory, RuntimeConversationHistoryBoundary, RuntimeConversationHistoryEntryChunk, RuntimeConversationHistoryEntryChunkInput, RuntimeConversationHistoryPageInput, RuntimeConversationHistorySlice, RuntimeConversationHistorySliceEntry, RuntimeCreateArtifactInput, RuntimeCreateSessionInput, RuntimeCredentialBroker, RuntimeCredentialLease, RuntimeCredentialRequest, RuntimeCredentialService, RuntimeDaemonClientTransport, RuntimeDaemonContextOptions, RuntimeDaemonEndpoint, RuntimeDaemonError, RuntimeDaemonErrorCode, RuntimeDaemonFrame, RuntimeDaemonJsonSchema, RuntimeDaemonKodaXOptions, RuntimeDaemonManagementService, RuntimeDaemonManagementState, RuntimeDaemonMethod, RuntimeDaemonMethodSchema, RuntimeDaemonNotification, RuntimeDaemonNotificationMethod, RuntimeDaemonPreflight, RuntimeDaemonProtocolSchema, RuntimeDaemonRequest, RuntimeDaemonRequestControl, RuntimeDaemonRollbackInput, RuntimeDaemonRollbackResult, RuntimeDaemonRunService, RuntimeDaemonStartRunInput, RuntimeDaemonTransportLifecycleState, RuntimeDefaultAgentStartInput, RuntimeDeliveredInterruptInput, RuntimeDiagnosticFilter, RuntimeDiagnosticsService, RuntimeEffectiveSkillRef, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventReplayFilter, RuntimeEventService, RuntimeEventType, RuntimeExactCallPermissionMatcher, RuntimeExactCommandPermissionMatcher, RuntimeExactPathPermissionMatcher, RuntimeExecutionToolPolicy, RuntimeExtensionListResult, RuntimeExtensionReloadResult, RuntimeExternalAgentsOptions, RuntimeFileInput, RuntimeForkSessionInput, RuntimeGrantedScope, RuntimeHostToolDescriptor, RuntimeHostToolHandler, RuntimeHostToolInvocation, RuntimeHostToolInvocationStatus, RuntimeHostToolLease, RuntimeHostToolResult, RuntimeHostToolService, RuntimeIdentity, RuntimeImageInput, RuntimeInlineOwnerHandle, RuntimeInput, RuntimeIntegrationDiagnostic, RuntimeIntegrationDomainStatus, RuntimeIntegrationHealth, RuntimeInteractionResolvedEventPayload, RuntimeInterruptInputStatus, RuntimeKodaXOptions, RuntimeLearningService, RuntimeLocalAgentStartInput, RuntimeManagedTaskProjection, RuntimeMcpReloadResult, RuntimeMcpService, RuntimeMcpToolListFilter, RuntimeMcpValidateResult, RuntimeModelListFilter, RuntimeObservationInvalidation, RuntimeOperationOptions, RuntimeOperationReceipt, RuntimeOperationService, RuntimeOperationState, RuntimeOwnerIdentity, RuntimeOwnerPolicyState, RuntimeOwnerState, RuntimePendingUserInputProjection, RuntimePermissionBroker, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionGrantChangedEventPayload, RuntimePermissionGrantSuggestion, RuntimePermissionHostPlatform, RuntimePermissionMatcher, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionService, RuntimeReadOptions, RuntimeResolvedLocalAgent, RuntimeRewindSessionInput, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunInputDeliveredEventPayload, RuntimeRunInputQueuedEventPayload, RuntimeRunLifecycleError, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStage, RuntimeRunStatus, RuntimeRunStopReceipt, RuntimeRunStopStatus, RuntimeSession, RuntimeSessionDiagnosticError, RuntimeSessionDiagnosticErrorCode, RuntimeSessionDiagnosticRun, RuntimeSessionDiagnostics, RuntimeSessionDiagnosticsInput, RuntimeSessionFilter, RuntimeSessionLiveProjection, RuntimeSessionLoadedEventPayload, RuntimeSessionObservation, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionStatus, RuntimeSessionSummary, RuntimeSetActiveEntryInput, RuntimeSkillDescribeInput, RuntimeSkillDescription, RuntimeSkillFileSummary, RuntimeSkillListFilter, RuntimeSkillSummary, RuntimeStartRunInput, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalCode, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolSandboxEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTranscriptEntryChunk, RuntimeTranscriptEntryChunkInput, RuntimeTranscriptPageInput, RuntimeTranscriptSearchHit, RuntimeTranscriptSearchInput, RuntimeTranscriptSearchResult, RuntimeTranscriptSlice, RuntimeTranscriptSliceEntry, RuntimeTypedEvent, RuntimeTypedEventListener, RuntimeUserInputFilter, RuntimeUserInputKind, RuntimeUserInputRequest, RuntimeUserInputRequestedEventPayload, RuntimeUserInputResolution, RuntimeUserInputService, RuntimeUserMarkdownAgentRef, RuntimeVersionedUpdateOptions, RuntimeVersionedValue, RuntimeVideoInput, RuntimeWarningEventPayload, RuntimeWorkerOptions, RuntimeWorkerResourceLimits, RuntimeWorkflowFilter, RuntimeWorkflowListener, RuntimeWorkflowService, RuntimeWorkflowSnapshot, RuntimeWorkflowSummary, RuntimeWorkspaceBinding };
|
|
2517
|
+
export { KODAX_DAEMON_PROTOCOL, KODAX_DAEMON_PROTOCOL_VERSION, KODAX_RUNTIME_SDK_CAPABILITIES, KodaXEvents, KodaXPromptCacheDiagnosticEvent, KodaXResult, RUNTIME_DAEMON_METHODS, RUNTIME_DAEMON_METHOD_SCHEMAS, RUNTIME_DAEMON_NOTIFICATION_SCHEMAS, RUNTIME_DAEMON_PROTOCOL_SCHEMA, RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON, RuntimeAutoModeConfigurationError, RuntimeContextBudgetSnapshot, RuntimeDaemonCapabilityUpgradeError, RuntimePermissionScopeUpgradeRequiredError, RuntimeToolExposurePlan, RuntimeTransportBoundaryError, SessionTranscriptEntry, acquireKodaXInlineOwner, captureRuntimeSessionDiagnostics, connectKodaXRuntime, createKodaXRuntime, enableKodaXDaemonOwner, getKodaXRuntimeOwnerPolicy, getKodaXRuntimeOwnerState, listRuntimeDaemonSchemaMethods, parseRuntimeEvent, setKodaXRuntimeOwnerMode, waitForRuntimeDaemonShutdown };
|
|
2518
|
+
export type { ConnectKodaXRuntimeOptions, CreateKodaXRuntimeOptions, KodaXDaemonRuntime, KodaXRuntime, KodaXRuntimeIsolation, KodaXRuntimeMode, RuntimeActiveAgentTurn, RuntimeActiveToolProjection, RuntimeAdminService, RuntimeAgentBindingService, RuntimeAgentOwnerSession, RuntimeAgentService, RuntimeAppendNoticeInput, RuntimeArtifact, RuntimeArtifactKind, RuntimeArtifactRefInput, RuntimeArtifactService, RuntimeBoundDefaultAgent, RuntimeBoundLocalAgent, RuntimeCapabilityRequirements, RuntimeCatalogService, RuntimeClientCapabilities, RuntimeClientInfo, RuntimeCommandInfo, RuntimeCommandResolveInput, RuntimeCompactSessionInput, RuntimeCompactSessionResult, RuntimeConfigPatch, RuntimeConfigReloadResult, RuntimeConfigService, RuntimeConnectionService, RuntimeConnectionState, RuntimeContextCompactionFinishedEventPayload, RuntimeContextCompactionMessagesEventPayload, RuntimeContinuationStatus, RuntimeConversationHistory, RuntimeConversationHistoryBoundary, RuntimeConversationHistoryEntryChunk, RuntimeConversationHistoryEntryChunkInput, RuntimeConversationHistoryPageInput, RuntimeConversationHistorySlice, RuntimeConversationHistorySliceEntry, RuntimeCreateArtifactInput, RuntimeCreateSessionInput, RuntimeCredentialBroker, RuntimeCredentialLease, RuntimeCredentialRequest, RuntimeCredentialService, RuntimeDaemonClientTransport, RuntimeDaemonContextOptions, RuntimeDaemonEndpoint, RuntimeDaemonError, RuntimeDaemonErrorCode, RuntimeDaemonFrame, RuntimeDaemonJsonSchema, RuntimeDaemonKodaXOptions, RuntimeDaemonManagementService, RuntimeDaemonManagementState, RuntimeDaemonMethod, RuntimeDaemonMethodSchema, RuntimeDaemonNotification, RuntimeDaemonNotificationMethod, RuntimeDaemonPreflight, RuntimeDaemonProtocolSchema, RuntimeDaemonRequest, RuntimeDaemonRequestControl, RuntimeDaemonRollbackInput, RuntimeDaemonRollbackResult, RuntimeDaemonRunService, RuntimeDaemonShutdownVerification, RuntimeDaemonShutdownVerificationInput, RuntimeDaemonShutdownVerificationOwner, RuntimeDaemonStartRunInput, RuntimeDaemonTransportLifecycleState, RuntimeDefaultAgentStartInput, RuntimeDeliveredInterruptInput, RuntimeDiagnosticFilter, RuntimeDiagnosticsService, RuntimeEffectiveSkillRef, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventReplayFilter, RuntimeEventService, RuntimeEventType, RuntimeExactCallPermissionMatcher, RuntimeExactCommandPermissionMatcher, RuntimeExactPathPermissionMatcher, RuntimeExecutionToolPolicy, RuntimeExtensionListResult, RuntimeExtensionReloadResult, RuntimeExternalAgentsOptions, RuntimeFileInput, RuntimeForkSessionInput, RuntimeGrantedScope, RuntimeHostToolDescriptor, RuntimeHostToolHandler, RuntimeHostToolInvocation, RuntimeHostToolInvocationStatus, RuntimeHostToolLease, RuntimeHostToolResult, RuntimeHostToolService, RuntimeIdentity, RuntimeImageInput, RuntimeInlineOwnerHandle, RuntimeInput, RuntimeIntegrationDiagnostic, RuntimeIntegrationDomainStatus, RuntimeIntegrationHealth, RuntimeInteractionResolvedEventPayload, RuntimeInterruptInputStatus, RuntimeKodaXOptions, RuntimeLearningService, RuntimeLocalAgentStartInput, RuntimeManagedTaskProjection, RuntimeMcpReloadResult, RuntimeMcpService, RuntimeMcpToolListFilter, RuntimeMcpValidateResult, RuntimeModelListFilter, RuntimeObservationInvalidation, RuntimeOperationOptions, RuntimeOperationReceipt, RuntimeOperationService, RuntimeOperationState, RuntimeOwnerIdentity, RuntimeOwnerPolicyState, RuntimeOwnerState, RuntimePendingUserInputProjection, RuntimePermissionBroker, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionGrantChangedEventPayload, RuntimePermissionGrantSuggestion, RuntimePermissionHostPlatform, RuntimePermissionMatcher, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionService, RuntimeReadOptions, RuntimeResolvedLocalAgent, RuntimeRewindSessionInput, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunInputDeliveredEventPayload, RuntimeRunInputQueuedEventPayload, RuntimeRunLifecycleError, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStage, RuntimeRunStatus, RuntimeRunStopReceipt, RuntimeRunStopStatus, RuntimeSession, RuntimeSessionDiagnosticError, RuntimeSessionDiagnosticErrorCode, RuntimeSessionDiagnosticRun, RuntimeSessionDiagnostics, RuntimeSessionDiagnosticsInput, RuntimeSessionFilter, RuntimeSessionLiveProjection, RuntimeSessionLoadedEventPayload, RuntimeSessionObservation, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionStatus, RuntimeSessionSummary, RuntimeSetActiveEntryInput, RuntimeSkillDescribeInput, RuntimeSkillDescription, RuntimeSkillFileSummary, RuntimeSkillListFilter, RuntimeSkillSummary, RuntimeStartRunInput, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalCode, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolSandboxEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTranscriptEntryChunk, RuntimeTranscriptEntryChunkInput, RuntimeTranscriptPageInput, RuntimeTranscriptSearchHit, RuntimeTranscriptSearchInput, RuntimeTranscriptSearchResult, RuntimeTranscriptSlice, RuntimeTranscriptSliceEntry, RuntimeTypedEvent, RuntimeTypedEventListener, RuntimeUserInputFilter, RuntimeUserInputKind, RuntimeUserInputRequest, RuntimeUserInputRequestedEventPayload, RuntimeUserInputResolution, RuntimeUserInputService, RuntimeUserMarkdownAgentRef, RuntimeVersionedUpdateOptions, RuntimeVersionedValue, RuntimeVideoInput, RuntimeWarningEventPayload, RuntimeWorkerOptions, RuntimeWorkerResourceLimits, RuntimeWorkflowFilter, RuntimeWorkflowListener, RuntimeWorkflowService, RuntimeWorkflowSnapshot, RuntimeWorkflowSummary, RuntimeWorkspaceBinding };
|
package/dist/sdk-runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v}from"./chunks/chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w}from"./chunks/chunk-37RT45HT.js";import"./chunks/chunk-URCS6CVP.js";import"./chunks/chunk-LF2JBTBG.js";import"./chunks/chunk-DSFHIUHZ.js";import"./chunks/chunk-HI6RCW5Y.js";import"./chunks/chunk-DZUMH6GJ.js";import"./chunks/chunk-3DKQC7A2.js";import"./chunks/chunk-TC2VHPG5.js";import"./chunks/chunk-RAQGGVIF.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XB2JNLXH.js";import"./chunks/chunk-6QILIBOU.js";import"./chunks/chunk-KHEFUT6O.js";import"./chunks/chunk-TRNAWSXP.js";import"./chunks/chunk-45E23YJI.js";import"./chunks/chunk-EVXIJPZ6.js";import"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{b as KODAX_DAEMON_PROTOCOL,c as KODAX_DAEMON_PROTOCOL_VERSION,t as KODAX_RUNTIME_SDK_CAPABILITIES,d as RUNTIME_DAEMON_METHODS,g as RUNTIME_DAEMON_METHOD_SCHEMAS,h as RUNTIME_DAEMON_NOTIFICATION_SCHEMAS,i as RUNTIME_DAEMON_PROTOCOL_SCHEMA,j as RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON,n as RuntimeAutoModeConfigurationError,m as RuntimeDaemonCapabilityUpgradeError,f as RuntimePermissionScopeUpgradeRequiredError,e as RuntimeTransportBoundaryError,o as acquireKodaXInlineOwner,u as captureRuntimeSessionDiagnostics,w as connectKodaXRuntime,v as createKodaXRuntime,r as enableKodaXDaemonOwner,p as getKodaXRuntimeOwnerPolicy,q as getKodaXRuntimeOwnerState,k as listRuntimeDaemonSchemaMethods,a as parseRuntimeEvent,s as setKodaXRuntimeOwnerMode,l as waitForRuntimeDaemonShutdown};
|
package/dist/sdk-sandbox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import"./chunks/chunk-5BNQXXGY.js";import{a,b,c,d,e,f,g}from"./chunks/chunk-
|
|
2
|
+
import"./chunks/chunk-5BNQXXGY.js";import{a,b,c,d,e,f,g}from"./chunks/chunk-URCS6CVP.js";import"./chunks/chunk-45E23YJI.js";import"./chunks/chunk-EVXIJPZ6.js";import"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{a as KODAX_ASRT_VERSION,f as activateKodaXSandbox,c as doctorKodaXSandbox,b as getKodaXSandboxCapability,e as getKodaXSandboxSetupGuidance,g as runKodaXSandboxed,d as setupKodaXSandbox};
|
package/dist/sdk-session.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, h as CreatableHistoryItem, j as DeleteSessionResult, k as ForkSessionOptions, l as FullTranscriptSessionData, M as ListSessionsOptions, T as PreparedSessionAppendBaseline, U as PreparedSessionTailDelta, X as RewindSessionOptions, Y as RunningSessionInfo, Z as SessionBundleExportDiagnostic, _ as SessionBundleExportFile, $ as SessionBundleExportOptions, a0 as SessionBundleExportResult, a1 as SessionBundleExportStatus, a2 as SessionConversationHistoryData, a3 as SessionConversationHistoryEntry, a4 as SessionConversationHistoryIssue, a5 as SessionConversationHistoryIssueCode, a6 as SessionConversationHistoryStatus, a7 as SessionConversationMutationBoundary, a9 as SessionManager, ab as SessionReadError, ac as SessionReadErrorCode, ad as SessionReadOptions, af as SessionSummary, ag as SessionTranscriptEntry, ah as SessionTranscriptEntryType, ay as WatchSessionsCallback, az as appendClientNotice, aA as archiveSession, aB as compactSession, aH as createSessionManager, aI as deleteSession, aK as exportSessionBundle, aM as forkSession, aO as listRunningSessions, aP as listSessions, aQ as loadFullTranscript, aR as loadSession, aU as readConversationHistory, aV as readFullTranscript, aX as rewindSession, aY as setActiveEntry, aZ as unarchiveSession, a_ as watchSessions } from './types-chunks/public-api.d-
|
|
1
|
+
export { b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, h as CreatableHistoryItem, j as DeleteSessionResult, k as ForkSessionOptions, l as FullTranscriptSessionData, M as ListSessionsOptions, T as PreparedSessionAppendBaseline, U as PreparedSessionTailDelta, X as RewindSessionOptions, Y as RunningSessionInfo, Z as SessionBundleExportDiagnostic, _ as SessionBundleExportFile, $ as SessionBundleExportOptions, a0 as SessionBundleExportResult, a1 as SessionBundleExportStatus, a2 as SessionConversationHistoryData, a3 as SessionConversationHistoryEntry, a4 as SessionConversationHistoryIssue, a5 as SessionConversationHistoryIssueCode, a6 as SessionConversationHistoryStatus, a7 as SessionConversationMutationBoundary, a9 as SessionManager, ab as SessionReadError, ac as SessionReadErrorCode, ad as SessionReadOptions, af as SessionSummary, ag as SessionTranscriptEntry, ah as SessionTranscriptEntryType, ay as WatchSessionsCallback, az as appendClientNotice, aA as archiveSession, aB as compactSession, aH as createSessionManager, aI as deleteSession, aK as exportSessionBundle, aM as forkSession, aO as listRunningSessions, aP as listSessions, aQ as loadFullTranscript, aR as loadSession, aU as readConversationHistory, aV as readFullTranscript, aX as rewindSession, aY as setActiveEntry, aZ as unarchiveSession, a_ as watchSessions } from './types-chunks/public-api.d-i10kvYFs.js';
|
|
2
2
|
export { T as KodaXTaskResultMetadata, U as KodaXTaskResultSource } from './types-chunks/types.d-CgrXrFrq.js';
|
|
3
|
-
export { cc as KodaXSessionUiHistoryItem, cd as KodaXSessionUiHistoryItemType, ce as KodaXSessionUiTextHistoryItem, cf as KodaXSessionUiTextHistoryItemType, cg as KodaXSessionUiToolCall, ch as KodaXSessionUiToolCallStatus, ci as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/controller.d-
|
|
4
|
-
export { H as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, a as RestoredHistorySeed, e as extractHistorySeedsFromMessage, b as extractHistorySeedsFromMessages, r as restoreHistoryItemsFromSession } from './types-chunks/sdk-session-
|
|
5
|
-
import './types-chunks/bash-prefix-extractor.d-
|
|
3
|
+
export { cc as KodaXSessionUiHistoryItem, cd as KodaXSessionUiHistoryItemType, ce as KodaXSessionUiTextHistoryItem, cf as KodaXSessionUiTextHistoryItemType, cg as KodaXSessionUiToolCall, ch as KodaXSessionUiToolCallStatus, ci as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/controller.d-CYNuR2n9.js';
|
|
4
|
+
export { H as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, a as RestoredHistorySeed, e as extractHistorySeedsFromMessage, b as extractHistorySeedsFromMessages, r as restoreHistoryItemsFromSession } from './types-chunks/sdk-session-CRXu5xNs.js';
|
|
5
|
+
import './types-chunks/bash-prefix-extractor.d-CJM7OY-L.js';
|
|
6
6
|
import 'vscode-languageserver-protocol';
|
|
7
7
|
import './types-chunks/types.d-BbtGlKZu.js';
|
|
8
8
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
package/dist/sdk-session.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{$b as l,Qb as i,Tb as n,Ub as t,Vb as r,Wb as a,Xb as S,Yb as d,ac as p,bb as o,bc as u,cc as y,dc as c,ec as m,fc as H,gc as C,hc as T,ic as x,jc as R}from"./chunks/chunk-
|
|
2
|
+
import{$b as l,Qb as i,Tb as n,Ub as t,Vb as r,Wb as a,Xb as S,Yb as d,ac as p,bb as o,bc as u,cc as y,dc as c,ec as m,fc as H,gc as C,hc as T,ic as x,jc as R}from"./chunks/chunk-LF2JBTBG.js";import{N as s,O as e}from"./chunks/chunk-DSFHIUHZ.js";import"./chunks/chunk-HI6RCW5Y.js";import"./chunks/chunk-DZUMH6GJ.js";import"./chunks/chunk-3DKQC7A2.js";import"./chunks/chunk-TC2VHPG5.js";import"./chunks/chunk-RAQGGVIF.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XB2JNLXH.js";import"./chunks/chunk-6QILIBOU.js";import"./chunks/chunk-KHEFUT6O.js";import"./chunks/chunk-TRNAWSXP.js";import"./chunks/chunk-45E23YJI.js";import"./chunks/chunk-EVXIJPZ6.js";import"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{i as SessionReadError,p as appendClientNotice,C as archiveSession,n as compactSession,R as createSessionManager,H as deleteSession,l as exportSessionBundle,s as extractHistorySeedsFromMessage,e as extractHistorySeedsFromMessages,u as forkSession,m as listRunningSessions,t as listSessions,a as loadFullTranscript,r as loadSession,d as readConversationHistory,S as readFullTranscript,o as restoreHistoryItemsFromSession,y as rewindSession,c as setActiveEntry,T as unarchiveSession,x as watchSessions};
|
package/dist/sdk-skills.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import"./chunks/chunk-
|
|
2
|
+
import"./chunks/chunk-45E23YJI.js";import{$a as h,D as l,E as e,F as i,G as t,H as o,I as a,M as k,N as r,O as S,P as s,Ta as n,Ua as g,Va as u,Wa as c,Xa as d,Ya as x,Za as P,_a as R,ab as p,bb as v,cb as y,db as M,eb as f,fb as m,gb as E}from"./chunks/chunk-EVXIJPZ6.js";import"./chunks/chunk-E7C4DRD2.js";import"./chunks/chunk-6UENDY33.js";import"./chunks/chunk-ONUPGMER.js";export{y as SkillExecutor,R as SkillRegistry,d as VariableResolver,t as clearPluginSkillPaths,M as createExecutor,x as createResolver,n as discoverSkills,u as discoverSkillsWithMonorepo,f as executeSkill,m as expandSkillForLLM,E as formatSkillActivationMessage,o as getDefaultSkillPaths,g as getNestedSkillPaths,a as getSkillPathsFlat,h as getSkillRegistry,p as initializeSkillRegistry,i as listPluginSkillPaths,S as loadFullSkill,s as loadSkillFileContent,r as loadSkillMetadata,c as parseArguments,k as parseSkillMarkdown,l as registerPluginSkillPath,v as resetSkillRegistry,P as resolveSkillContent,e as unregisterPluginSkillPath};
|