@kodax-ai/kodax 0.7.97-alpha.9 → 0.7.97-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +393 -0
- package/README.md +170 -29
- package/README_CN.md +116 -17
- package/config-templates/config.example.jsonc +2 -3
- package/dist/artifacts/skills/artifact-review/SKILL.md +44 -7
- package/dist/builtin/code-review/SKILL.md +5 -17
- package/dist/builtin/git-workflow/SKILL.md +9 -8
- package/dist/builtin/skill-creator/SKILL.md +38 -108
- package/dist/builtin/skill-creator/references/evaluation.md +50 -0
- package/dist/builtin/skill-creator/scripts/analyze-benchmark.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/analyze-benchmark.js +6 -3
- package/dist/builtin/skill-creator/scripts/compare-runs.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/compare-runs.js +6 -3
- package/dist/builtin/skill-creator/scripts/grade-evals.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/grade-evals.js +6 -3
- package/dist/builtin/skill-creator/scripts/run-eval.js +3 -3
- package/dist/builtin/skill-creator/scripts/run-loop.js +2 -1
- package/dist/builtin/skill-creator/scripts/run-trigger-eval.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/run-trigger-eval.js +3 -1
- package/dist/builtin/skill-creator/scripts/utils.d.ts +1 -1
- package/dist/builtin/skill-creator/scripts/utils.js +8 -0
- package/dist/builtin/tdd/SKILL.md +24 -40
- package/dist/builtin/visual-review/SKILL.md +7 -3
- package/dist/chunks/agent-DS7M57WD.js +2 -0
- package/dist/chunks/agent-adapter-TLWGGK3V.js +2 -0
- package/dist/chunks/argument-completer-OGCXKTRQ.js +2 -0
- package/dist/chunks/bedrock-native-Z5VNWF5U.js +4 -0
- package/dist/chunks/cell-LV7MNPNQ.js +2 -0
- package/dist/chunks/chunk-2HH5AS7E.js +1157 -0
- package/dist/chunks/chunk-3CP7AUWY.js +2 -0
- package/dist/chunks/chunk-45ZP2YHG.js +2 -0
- package/dist/chunks/chunk-4Y6U7AH4.js +9 -0
- package/dist/chunks/chunk-52EN2777.js +2 -0
- package/dist/chunks/{chunk-HXCY52Z2.js → chunk-53CJDQS2.js} +1 -1
- package/dist/chunks/{chunk-JNB2FL6P.js → chunk-5MUVRFMU.js} +1 -1
- package/dist/chunks/chunk-65652LR4.js +2 -0
- package/dist/chunks/chunk-6TITQQAI.js +351 -0
- package/dist/chunks/chunk-AGUM5SWX.js +2 -0
- package/dist/chunks/chunk-BBZWF2EA.js +2 -0
- package/dist/chunks/chunk-C6JGLEYD.js +2 -0
- package/dist/chunks/chunk-D36OIMV7.js +142 -0
- package/dist/chunks/chunk-D425EZGC.js +2 -0
- package/dist/chunks/chunk-D5OW7UD5.js +2 -0
- package/dist/chunks/chunk-DCE7XQUG.js +2 -0
- package/dist/chunks/chunk-DV5YPYLW.js +10 -0
- package/dist/chunks/chunk-EISRVOBJ.js +4 -0
- package/dist/chunks/chunk-EPK6EWRI.js +12 -0
- package/dist/chunks/chunk-F6GJXQNA.js +29 -0
- package/dist/chunks/chunk-GJXOTOZB.js +465 -0
- package/dist/chunks/chunk-GZUWQZJD.js +2 -0
- package/dist/chunks/chunk-I325ER7D.js +2 -0
- package/dist/chunks/chunk-ISLK6R2P.js +2 -0
- package/dist/chunks/chunk-J2L2NK6E.js +366 -0
- package/dist/chunks/chunk-JAF2YLZO.js +14 -0
- package/dist/chunks/chunk-KDLOPBFZ.js +2 -0
- package/dist/chunks/chunk-KDSO7V4O.js +5 -0
- package/dist/chunks/chunk-KE2NBMAP.js +20 -0
- package/dist/chunks/chunk-MCDZNQWD.js +634 -0
- package/dist/chunks/chunk-NSR4RW2F.js +3 -0
- package/dist/chunks/chunk-OGTRDK4Q.js +359 -0
- package/dist/chunks/chunk-P55RJIOG.js +18 -0
- package/dist/chunks/chunk-P7OJRV5Z.js +2 -0
- package/dist/chunks/chunk-QP47JIWP.js +3 -0
- package/dist/chunks/chunk-QSZCR5GC.js +190 -0
- package/dist/chunks/chunk-R2HTPDI7.js +2 -0
- package/dist/chunks/chunk-R42S4BLA.js +2 -0
- package/dist/chunks/chunk-RYBUYHDL.js +5 -0
- package/dist/chunks/chunk-SDPZFH6M.js +4 -0
- package/dist/chunks/chunk-SK3RRGHJ.js +142 -0
- package/dist/chunks/chunk-TQ475LOI.js +2 -0
- package/dist/chunks/chunk-UF3GZ5PO.js +2 -0
- package/dist/chunks/chunk-UL6YIT4M.js +2 -0
- package/dist/chunks/chunk-V2XJSFFE.js +19 -0
- package/dist/chunks/chunk-V4WSBIXB.js +2 -0
- package/dist/chunks/chunk-V5RCDBKU.js +2 -0
- package/dist/chunks/{chunk-FX4R5PB3.js → chunk-W2CWO4PQ.js} +1 -1
- package/dist/chunks/chunk-W33QJA3M.js +2 -0
- package/dist/chunks/chunk-WMMESRP3.js +9 -0
- package/dist/chunks/chunk-WWPVEK6B.js +127 -0
- package/dist/chunks/chunk-X5M7TLJV.js +2 -0
- package/dist/chunks/chunk-XDMNJW6J.js +42 -0
- package/dist/chunks/{chunk-L22BDZGE.js → chunk-XZSFUGPN.js} +1 -1
- package/dist/chunks/client-LTIFNED5.js +2 -0
- package/dist/chunks/compaction-config-ECMOFP5H.js +2 -0
- package/dist/chunks/{construction-bootstrap-XBHM6NON.js → construction-bootstrap-OAZKGI5Y.js} +1 -1
- package/dist/chunks/devtools-MVOFT6N7.js +2 -0
- package/dist/chunks/devtools-TXYDDL2A.js +2 -0
- package/dist/chunks/dist-5J53DGAO.js +2 -0
- package/dist/chunks/errors-ER7ZRPWC.js +2 -0
- package/dist/chunks/google-native-WLL27OV7.js +2 -0
- package/dist/chunks/host-65E5NM5P.js +2 -0
- package/dist/chunks/mistral-native-JXPIDDYZ.js +5 -0
- package/dist/chunks/model-DZF6URW3.js +2 -0
- package/dist/chunks/permission-YVVMLQ5I.js +2 -0
- package/dist/chunks/pi-messages-5LLOZH57.js +16 -0
- package/dist/chunks/readline-helpers-UZXWBRXQ.js +2 -0
- package/dist/chunks/responses-websocket-Y4N5GXD3.js +2 -0
- package/dist/chunks/run-manager-ZFACIZM2.js +2 -0
- package/dist/chunks/running-session-Q5Y6A2QV.js +2 -0
- package/dist/chunks/skills-TJP6BLZJ.js +2 -0
- package/dist/chunks/tool-dispatch-MLM3QTSU.js +2 -0
- package/dist/chunks/utils-2QNMYRGA.js +2 -0
- package/dist/generated-config-templates.json +6 -0
- package/dist/index.d.ts +34 -32
- package/dist/index.js +6 -6
- package/dist/kodax_bootstrap.js +4 -2
- package/dist/kodax_cli.js +1755 -2979
- package/dist/kodax_doctor.js +3 -0
- package/dist/kodax_resume.js +30 -30
- package/dist/manual-topics.json +2211 -0
- package/dist/native/darwin-arm64/kodax-text-transaction.node +0 -0
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
- package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/one-shot-task.js +2 -0
- package/dist/provider-auth-cli.js +16 -0
- package/dist/provider-capabilities.json +560 -40
- package/dist/runtime-daemon-schema.json +1 -0
- package/dist/sandbox-network-broker.js +260 -795
- package/dist/script-cell.js +1 -0
- package/dist/script-worker.cjs +2189 -0
- package/dist/sdk-a2a.d.ts +23 -22
- package/dist/sdk-a2a.js +6 -8
- package/dist/sdk-agent.d.ts +125 -98
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-client.d.ts +16 -10
- package/dist/sdk-client.js +1 -1
- package/dist/sdk-coding.d.ts +109 -80
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +3 -3
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +265 -14
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.d.ts +3 -3
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +41 -166
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +81 -51
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +216 -2989
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +15 -14
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.d.ts +2 -2
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +121 -75
- package/dist/static-text.json +371 -0
- package/dist/storage-repair-cli.js +3 -0
- package/dist/types-chunks/auth-file.d-ovsHEqD4.d.ts +178 -0
- package/dist/types-chunks/{bash-prefix-extractor.d-DFH463j2.d.ts → bash-prefix-extractor.d-CJliu5-D.d.ts} +326 -168
- package/dist/types-chunks/{capability-learning.d-B4pxKwP4.d.ts → capability-learning.d-BXDEOON2.d.ts} +4 -4
- package/dist/types-chunks/{capability.d-DOF3r0fJ.d.ts → capability.d-DapzKxy3.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-CwpmHGFB.d.ts → capsule.d-EMwSALqK.d.ts} +5 -5
- package/dist/types-chunks/{client-contract-CRm9ZpL2.d.ts → client-contract-B7q69yMA.d.ts} +265 -67
- package/dist/types-chunks/{controller.d-B4GyqWri.d.ts → controller.d-C0SAuNKu.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-P3H97ddz.d.ts → controller.d-D-hPLKaA.d.ts} +71 -11
- package/dist/types-chunks/{cost-tracker.d-BeaenODW.d.ts → cost-tracker.d-D1CTx-IO.d.ts} +37 -7
- package/dist/types-chunks/{base.d-ZBOdjDUT.d.ts → errors.d-D73qdYbS.d.ts} +91 -74
- package/dist/types-chunks/{history-retrieval.d-BzKWDjzG.d.ts → history-retrieval.d-BwEUR9cb.d.ts} +2 -2
- package/dist/types-chunks/{manager.d-C8OlTe2J.d.ts → manager.d-BMH8Q6TV.d.ts} +1 -1
- package/dist/types-chunks/{manifest.d-COreAnXG.d.ts → manifest.d-YE3-AIeO.d.ts} +1 -1
- package/dist/types-chunks/{provider-credential-context.d-BH2OaB1b.d.ts → provider-credential-context.d-Dw-sWcnu.d.ts} +11 -2
- package/dist/types-chunks/{provider-request-observation.d-C_bEqr4m.d.ts → provider-request-observation.d-CNe9vse3.d.ts} +4 -2
- package/dist/types-chunks/{public-api.d-BLmqDi73.d.ts → public-api.d-BhDU643p.d.ts} +13 -10
- package/dist/types-chunks/queue-BxQhqhFM.d.ts +166 -0
- package/dist/types-chunks/{resolver.d-DLY01RHx.d.ts → resolver.d-DrkpD8wY.d.ts} +142 -103
- package/dist/types-chunks/{review-inbox.d-BTLDdpG2.d.ts → review-inbox.d-Bgt46S7L.d.ts} +16 -3
- package/dist/types-chunks/{review-packet.d-Crra1Q7t.d.ts → review-packet.d-ChOfJaNI.d.ts} +7 -7
- package/dist/types-chunks/{run-manager.d-DmS1edk4.d.ts → run-manager.d-ChzguipG.d.ts} +48 -12
- package/dist/types-chunks/{runtime-client-info-BBBxdU8V.d.ts → runtime-client-info-P_mRDG7j.d.ts} +93 -7
- package/dist/types-chunks/runtime-event-BW5Pla7a.d.ts +48 -0
- package/dist/types-chunks/sdk-runtime-cDe7qmN3.d.ts +2244 -0
- package/dist/types-chunks/{sdk-session-DipY_CCd.d.ts → sdk-session-D3pcSbnA.d.ts} +13 -4
- package/dist/types-chunks/{sdk-skills-DokfOoJF.d.ts → sdk-skills-C-UA1A6I.d.ts} +3 -1
- package/dist/types-chunks/{side-query.d-DTrhVd_r.d.ts → side-query.d-UFKdWSw7.d.ts} +4 -4
- package/dist/types-chunks/{types.d-Jxj49rqO.d.ts → skill-invocation-error.d-gsNNDnnt.d.ts} +24 -14
- package/dist/types-chunks/task-results.d-XMdWq0eA.d.ts +15 -0
- package/dist/types-chunks/{trusted-repl-entry-B1cb7lAn.d.ts → trusted-repl-entry-Bbkd2HlO.d.ts} +10 -10
- package/dist/types-chunks/{types.d-BjOq57-z.d.ts → types.d-Bi8iUd6x.d.ts} +248 -4
- package/dist/types-chunks/{types.d-NyCB6ztO.d.ts → types.d-BlXTogOo.d.ts} +24 -13
- package/dist/types-chunks/types.d-BvEGNdN-.d.ts +131 -0
- package/dist/types-chunks/{types.d-Cb8RdrjU.d.ts → types.d-D8qQjMeo.d.ts} +5 -1
- package/dist/types-chunks/{utils.d-Bt6USYa5.d.ts → utils.d-CxHyBvO6.d.ts} +11 -7
- package/dist/windows-native-scripts.json +5 -0
- package/docs/ARTIFACT_SDK.md +8 -0
- package/docs/CLIENT_CONTRACT.md +195 -9
- package/docs/SDK_MIGRATION.md +887 -2
- package/docs/SPACE_SDK_SEAMS.md +255 -2
- package/package.json +33 -6
- package/public_docs/README.md +27 -2
- package/public_docs/configuration/config-files.md +6 -0
- package/public_docs/configuration/custom-providers.md +62 -0
- package/public_docs/configuration/providers.md +238 -3
- package/public_docs/configuration/sandbox.md +30 -0
- package/public_docs/getting-started/quickstart.md +10 -1
- package/public_docs/sdk/embedder-guide.md +476 -206
- package/dist/chunks/agent-C7MMIRIH.js +0 -2
- package/dist/chunks/argument-completer-WIQAV5GP.js +0 -2
- package/dist/chunks/chunk-2AM3FRQ7.js +0 -137
- package/dist/chunks/chunk-2TBKGO2Q.js +0 -497
- package/dist/chunks/chunk-35P7QL2Q.js +0 -2
- package/dist/chunks/chunk-5DQTOU2E.js +0 -69
- package/dist/chunks/chunk-7NH5BGE4.js +0 -350
- package/dist/chunks/chunk-AWYO4MH3.js +0 -635
- package/dist/chunks/chunk-CIPS75XZ.js +0 -260
- package/dist/chunks/chunk-CRQWSDHV.js +0 -429
- package/dist/chunks/chunk-HD5BDOPC.js +0 -2
- package/dist/chunks/chunk-JXZMES45.js +0 -12
- package/dist/chunks/chunk-KJSZTP5N.js +0 -2
- package/dist/chunks/chunk-KYHMB6XR.js +0 -431
- package/dist/chunks/chunk-ONUPGMER.js +0 -2
- package/dist/chunks/chunk-P42PHZWC.js +0 -351
- package/dist/chunks/chunk-SHG3EIH5.js +0 -19
- package/dist/chunks/chunk-UH6VOCVP.js +0 -2
- package/dist/chunks/chunk-V26LAWJY.js +0 -2
- package/dist/chunks/chunk-WOHHMGEF.js +0 -394
- package/dist/chunks/chunk-WONYJBAA.js +0 -2
- package/dist/chunks/chunk-XJWNIFC2.js +0 -298
- package/dist/chunks/chunk-XMWTEVFZ.js +0 -1481
- package/dist/chunks/chunk-YJTIPSNW.js +0 -22
- package/dist/chunks/chunk-YVBBU6K5.js +0 -5
- package/dist/chunks/client-XFASU74S.js +0 -2
- package/dist/chunks/compaction-config-JZNGDKWW.js +0 -2
- package/dist/chunks/devtools-CD6KSIHE.js +0 -2
- package/dist/chunks/devtools-XR5F2C6T.js +0 -2
- package/dist/chunks/dist-M4HLQAX7.js +0 -2
- package/dist/chunks/dist-ZLR4OTDD.js +0 -2
- package/dist/chunks/host-EHVJWNGS.js +0 -2
- package/dist/chunks/readline-helpers-KIDMSK76.js +0 -2
- package/dist/chunks/run-manager-HNGIYMG7.js +0 -2
- package/dist/chunks/tool-dispatch-ON33NJR5.js +0 -2
- package/dist/chunks/utils-RHR6YHB2.js +0 -2
package/dist/sdk-client.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{b
|
|
2
|
+
import{b,c,d}from"./chunks/chunk-R2HTPDI7.js";import{a}from"./chunks/chunk-GJXOTOZB.js";import"./chunks/chunk-W33QJA3M.js";import"./chunks/chunk-WWPVEK6B.js";import"./chunks/chunk-45ZP2YHG.js";import"./chunks/chunk-SDPZFH6M.js";import"./chunks/chunk-6TITQQAI.js";import"./chunks/chunk-53CJDQS2.js";import"./chunks/chunk-MCDZNQWD.js";import"./chunks/chunk-ZQYWDI4O.js";import"./chunks/chunk-EISRVOBJ.js";import"./chunks/chunk-DCE7XQUG.js";import"./chunks/chunk-AGUM5SWX.js";import"./chunks/chunk-3CP7AUWY.js";import"./chunks/chunk-P55RJIOG.js";import"./chunks/chunk-QSZCR5GC.js";import"./chunks/chunk-V2XJSFFE.js";import"./chunks/chunk-JAF2YLZO.js";import"./chunks/chunk-DV5YPYLW.js";import"./chunks/chunk-X5M7TLJV.js";import"./chunks/chunk-C6JGLEYD.js";import"./chunks/chunk-D36OIMV7.js";import"./chunks/chunk-BBZWF2EA.js";import"./chunks/chunk-F6GJXQNA.js";import"./chunks/chunk-XDMNJW6J.js";import"./chunks/chunk-RYBUYHDL.js";import"./chunks/chunk-4Y6U7AH4.js";import"./chunks/chunk-EPK6EWRI.js";import"./chunks/chunk-ISLK6R2P.js";import"./chunks/chunk-OGTRDK4Q.js";import"./chunks/chunk-GZUWQZJD.js";import"./chunks/chunk-W2CWO4PQ.js";import"./chunks/chunk-TQ475LOI.js";import"./chunks/chunk-65652LR4.js";import"./chunks/chunk-5MUVRFMU.js";import"./chunks/chunk-2HH5AS7E.js";import"./chunks/chunk-J2L2NK6E.js";import"./chunks/chunk-KDSO7V4O.js";import"./chunks/chunk-SK3RRGHJ.js";import"./chunks/chunk-WMMESRP3.js";import"./chunks/chunk-QP47JIWP.js";import"./chunks/chunk-52EN2777.js";import"./chunks/chunk-UF3GZ5PO.js";import"./chunks/chunk-KE2NBMAP.js";import"./chunks/chunk-V5RCDBKU.js";import"./chunks/chunk-KDLOPBFZ.js";import"./chunks/chunk-V4WSBIXB.js";export{d as connectKodaXClient,a as createExecutionProfile,c as ensureKodaXClient,b as readKodaXClientExits};
|
package/dist/sdk-coding.d.ts
CHANGED
|
@@ -1,44 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { b as
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
export { K as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
1
|
+
import { ab as KodaXOptions, bp as KodaXWorkMode, bf as KodaXTrustedTextFileSnapshot, Y as KodaXGenerationCheckpoint, aC as KodaXShellExecutionContract, E as ExtensionExecutionScope, bz as ManagedProcessInput, o as ExtensionToolResult, b9 as KodaXToolExecutionContext, bN as RunScopedToolDefinition, z as KodaXAgentScope, bU as RuntimeContextPressure, bR as RuntimeContextBudgetSnapshot, n as ExtensionRuntimeContract, au as KodaXResult, ao as KodaXRepoIntelligenceCapability, ar as KodaXRepoIntelligenceTrace, ap as KodaXRepoIntelligenceMode, aq as KodaXRepoIntelligenceResolvedMode, at as KodaXRepoRoutingSignals, T as KodaXContextOptions, an as KodaXProviderPolicyHints, bC as ProviderResilienceConfig, bD as ProviderResiliencePolicy, F as FailureStage, bI as ResilienceClassification, bA as ProviderExecutionState, bF as RecoveryDecision, bH as RecoveryResult, az as KodaXSessionControl, aA as KodaXSessionMutators, bV as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, W as KodaXEvents, t as GoalRuntimeBinding, bK as ResolveKodaXManualInput, bL as ResolveKodaXManualOptions, bM as ResolveKodaXManualResult, a8 as KodaXManualTopicId, a7 as KodaXManualTopic, b7 as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-CJliu5-D.js';
|
|
2
|
+
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as CodingActorCredentialAccessFactory, e as CodingActorEnvironmentFactory, f as CodingActorSession, g as CodingActorSessionOptions, h as CompactionAntiThrashConfig, i as CompactionAntiThrashState, j as CompactionSavingsDecision, k as CompactionSavingsSample, l as CompactionSkipReason, m as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, p as ExtractCommandPrefixOptions, G as GoalBlockedResult, q as GoalCompleteResult, r as GoalCreateInput, s as GoalLifecycleContext, u as GoalRuntimeBindingDeps, v as GoalToolsContext, K as KodaXActivityEventMeta, x as KodaXAgentMode, y as KodaXAgentProfile, H as KodaXBudgetDisclosureZone, I as KodaXBudgetExtensionRequest, J as KodaXCanonicalAgentMode, L as KodaXChildAgentResult, M as KodaXChildContextBundle, O as KodaXCompactionEndResult, P as KodaXCompactionFailureReason, Q as KodaXCompactionOverride, R as KodaXContextCompactionFinishedEvent, S as KodaXContextIdentity, U as KodaXContextTokenSnapshot, V as KodaXEffectiveTaskConfig, X as KodaXExecutionFailure, Z as KodaXInterruptedRunEvidence, _ as KodaXInterruptedRunOperation, $ as KodaXInterruptedRunReply, a0 as KodaXLiveEventMeta, a1 as KodaXManagedBudgetSnapshot, a2 as KodaXManagedTask, a3 as KodaXManagedTaskRuntimeState, a4 as KodaXManagedTaskStatusEvent, a5 as KodaXManualIndexTopic, a6 as KodaXManualSource, a9 as KodaXManualTopicInput, aa as KodaXMemoryStrategy, ac as KodaXOrchestrationVerdict, ad as KodaXOutputSegmentActiveState, ae as KodaXOutputSegmentDelta, af as KodaXOutputSegmentMode, ag as KodaXOutputSegmentProjection, ah as KodaXOutputSegmentProjectionEvent, ai as KodaXOutputSegmentProjectionResult, aj as KodaXOutputSegmentStarted, ak as KodaXParentReductionContract, al as KodaXPreparedShellSandboxInvocation, am as KodaXPromptCacheDiagnosticEvent, as as KodaXRepoIntelligenceTraceEvent, av as KodaXRoleRoundSummary, aw as KodaXRuntimeVerificationContract, ax as KodaXSandboxOptions, ay as KodaXSelfManualConfig, aB as KodaXSessionOptions, aD as KodaXShellHostExecutionAuthorizer, aE as KodaXShellHostExecutionRequest, aF as KodaXShellKind, aG as KodaXShellPermissionMode, aH as KodaXShellProfileMode, aI as KodaXShellSandbox, aJ as KodaXShellSandboxBackend, aK as KodaXShellSandboxCleanupResult, aL as KodaXShellSandboxObservation, aM as KodaXShellSandboxPrepareInput, aN as KodaXShellSandboxProcessControl, aO as KodaXSkillDynamicContextPolicy, aP as KodaXSkillInvocationContext, aQ as KodaXSkillMap, aR as KodaXSkillProjectionConfidence, aS as KodaXSkillScriptInputFile, aT as KodaXSkillScriptOutputFile, aU as KodaXSkillScriptRunInput, aV as KodaXSkillScriptRunner, aW as KodaXTaskCapabilityHint, aX as KodaXTaskContract, aY as KodaXTaskEvidenceArtifact, aZ as KodaXTaskEvidenceBundle, a_ as KodaXTaskEvidenceEntry, a$ as KodaXTaskRole, b0 as KodaXTaskRoleAssignment, b1 as KodaXTaskStatus, b2 as KodaXTaskSurface, b3 as KodaXTaskToolPolicy, b4 as KodaXTaskVerificationContract, b5 as KodaXTaskVerificationCriterion, b6 as KodaXTaskWorkItem, b8 as KodaXToolEventMeta, ba as KodaXToolSandboxObservationUpdate, bb as KodaXToolVisibilityMeta, bc as KodaXToolVisibilityPolicy, bd as KodaXTrustedTextCommitInput, be as KodaXTrustedTextCommitOutcome, bg as KodaXTrustedTextMutationHost, bh as KodaXTrustedTextToolCall, bi as KodaXTurnCompletedEvent, bj as KodaXTurnDeliveryKind, bk as KodaXTurnFailedEvent, bl as KodaXTurnStartedEvent, bm as KodaXUserInputPromptContext, bn as KodaXVerificationScorecard, bo as KodaXVerificationScorecardCriterion, bq as KodaXWorkflowAgentDigestEvent, br as KodaXWorkflowEventMeta, bs as KodaXWorkflowTimeoutConfig, bt as KodaXWorkspaceSandboxRootRegistry, bu as KodaXWrittenFile, bv as LSP_SERVERS, bw as LspServerInfo, bx as LspService, by as LspServiceConfig, bB as ProviderRecoveryEvent, bE as RecoveryAction, bG as RecoveryLadderStep, bJ as ResilienceErrorClass, bO as RuntimeCompactionSkippedEvent, bP as RuntimeContextBudgetBreakdown, bQ as RuntimeContextBudgetRecommendation, bS as RuntimeContextBudgetSnapshotInput, bT as RuntimeContextOptimizationProfile, bW as RuntimeToolExposureDecision, bX as RuntimeToolExposureMode, bY as RuntimeToolExposurePlan, bZ as RuntimeToolExposurePlanInput, b_ as RuntimeToolExposureReason, b$ as TodoItem, c0 as TodoList, c1 as TodoStatus, c2 as ToolSideEffect, c3 as WorkflowHostPolicy, c4 as WorkflowInvocationAction, c5 as WorkflowInvocationPolicyDecision, c6 as WorkflowInvocationPolicyInput, c7 as WorkflowInvocationSource, c8 as WorkflowStartOutcome, c9 as WorkflowToolHost, ca as WorkflowToolHostInlineInput, cb as WorkflowToolHostResult, cc as WorkflowToolHostStartResult, cd as buildGoalRuntimeBinding, ce as consumeCompactionCooldown, cf as createBashPrefixExtractor, cg as createCompactionAntiThrashState, ch as createExternalActorTurnExecutor, ci as createLocalCodingActorControl, cj as createOutputSegmentProjection, ck as createRuntimeContextBudgetSnapshot, cl as decideWorkflowInvocation, cm as drainPendingSwaps, cn as effectiveOutputSegmentText, co as estimateToolSchemaTokens, cp as extractCommandPrefix, cq as getDefaultLspService, cr as hasExplicitNaturalLanguageWorkflowIntent, cs as hasPendingSwap, ct as makeDisabledGoalToolsContext, cu as normalizeKodaXAgentMode, cv as planToolExposure, cw as providerResilienceConfigFromTimeouts, cx as recordCompactionSavings, cy as reduceOutputSegmentProjection, cz as resolveConstructedAgent, cA as shouldSkipLlmCompaction, cB as shutdownDefaultLspService, cC as withGoalBeforeNextTurn, cD as withGoalStopHook, cE as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-CJliu5-D.js';
|
|
3
|
+
import { aj as KodaXToolDefinition, al as KodaXToolResultContentItem, ao as KodaXToolUseBlock, h as KodaXContentBlock, v as KodaXMessage, B as KodaXProviderCapabilityProfile, Q as KodaXReasoningCapability, U as KodaXReasoningMode, aa as KodaXTaskType, k as KodaXExecutionMode, a9 as KodaXTaskRoutingDecision, ar as KodaXWireReasoningEffort, af as KodaXThinkingDepth, ah as KodaXTokenUsage } from './types-chunks/types.d-Bi8iUd6x.js';
|
|
4
|
+
export { f as KodaXChildFanoutClass, i as KodaXCustomProviderConfig, s as KodaXImageBlock, w as KodaXModelDescriptor, y as KodaXNormalizedReasoningRequest, A as KodaXProtocolFamily, C as KodaXProviderConfig, E as KodaXProviderConversationSemantics, H as KodaXProviderMcpSupport, N as KodaXProviderStreamOptions, P as KodaXProviderTransport, R as KodaXReasoningEffortPreset, S as KodaXReasoningEffortRequest, T as KodaXReasoningEffortWireStrategy, V as KodaXReasoningProfile, W as KodaXReasoningRequest, Y as KodaXRedactedThinkingBlock, $ as KodaXReviewScale, a0 as KodaXRiskLevel, a1 as KodaXStableEffortIntent, a2 as KodaXStreamResult, a4 as KodaXTaskBudgetOverrides, a7 as KodaXTaskResultMetadata, a8 as KodaXTaskResultSource, ac as KodaXTextBlock, ad as KodaXThinkingBlock, ae as KodaXThinkingBudgetMap, ag as KodaXThinkingWireStrategy, ak as KodaXToolResultBlock } from './types-chunks/types.d-Bi8iUd6x.js';
|
|
5
|
+
export { K as KODAX_DEFAULT_PROVIDER, b as KODAX_PROVIDERS, c as KODAX_PROVIDER_SNAPSHOTS, d as KODAX_REASONING_MODE_SEQUENCE, f as KODAX_STABLE_EFFORT_INTENTS, g as KodaXAnthropicCompatProvider, h as KodaXModelCapabilities, i as KodaXOpenAICompatProvider, P as ProviderName, R as ResolveWireEffortInput, j as ResolvedWireEffort, l as clearRuntimeModelProviders, m as createCustomProvider, n as effortToLegacyReasoningMode, o as getAvailableProviderNames, p as getCustomModelCapabilities, q as getCustomProvider, s as getCustomProviderList, t as getCustomProviderModelDescriptors, u as getCustomProviderModels, v as getCustomProviderNames, x as getModelCapabilities, y as getProvider, z as getProviderConfiguredCapabilityProfile, A as getProviderConfiguredReasoningCapability, C as getProviderList, D as getProviderModel, E as getProviderModelDescriptors, F as getProviderModels, H as getRuntimeModelProvider, J as getRuntimeModelProviderNames, L as isCustomProviderName, M as isKnownProvider, N as isProviderConfigured, O as isProviderName, S as isRuntimeModelProviderName, T as listAllModelCapabilities, U as listBuiltinModelCapabilities, V as listCustomProviderModelCapabilities, Y as mapLegacyReasoningModeToEffortIntent, Z as normalizeReasoningEffortValue, $ as parseReasoningEffortEnv, a0 as registerCustomProviders, a1 as registerModelProvider, a2 as resolveModelCapabilities, a3 as resolveProvider, a4 as resolveProviderModelDescriptors, a5 as resolveReasoningEffort, a6 as resolveReasoningEffortForModelSwitch, a8 as resolveWireEffort, a9 as validateCustomProviderConfig } from './types-chunks/resolver.d-DrkpD8wY.js';
|
|
6
|
+
import { K as KodaXBaseProvider } from './types-chunks/errors.d-D73qdYbS.js';
|
|
7
|
+
export { c as KodaXError, f as KodaXProviderError, h as KodaXRateLimitError } from './types-chunks/errors.d-D73qdYbS.js';
|
|
8
|
+
export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecToMs } from './types-chunks/cost-tracker.d-D1CTx-IO.js';
|
|
9
|
+
import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DapzKxy3.js';
|
|
10
|
+
export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-DapzKxy3.js';
|
|
9
11
|
export { I as ImageValidation, v as validateImageBytes } from './types-chunks/image-validation.d-ACJcj02o.js';
|
|
10
|
-
import {
|
|
11
|
-
export {
|
|
12
|
-
import {
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
import {
|
|
18
|
-
export {
|
|
19
|
-
import {
|
|
20
|
-
export {
|
|
21
|
-
import { am as KodaXInputArtifact, a6 as CompactionResult, a9 as DispatchableAgentDescriptor, j as AgentDispatchContext, bd as WorkflowModule, bm as WorkflowProcessEvent, bt as WorkflowProcessSnapshot, b0 as WorkflowApproval, b4 as WorkflowEvent, b1 as WorkflowApprovalSummary } from './types-chunks/types.d-NyCB6ztO.js';
|
|
22
|
-
export { W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a1 as CompactionAnchor, a7 as CompactionUpdate, aj as KodaXFileInputArtifact, ak as KodaXImageInputArtifact, al as KodaXImageMediaType, an as KodaXInputArtifactSource, ao as KodaXVideoInputArtifact, ap as KodaXVideoMediaType, aW as ManagedWorkflowStatus, b5 as WorkflowEventCorrelation } from './types-chunks/types.d-NyCB6ztO.js';
|
|
12
|
+
import { a$ as MemoryContextIdentity, b0 as MemoryController, $ as EpisodeReviewDrainResult, aH as KodaXSessionStorage, as as KodaXSessionData, bC as SessionErrorMetadata, af as KodaXGoalState, ax as KodaXSessionLineage, ae as KodaXGoalEventType } from './types-chunks/review-inbox.d-Bgt46S7L.js';
|
|
13
|
+
export { a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ai as KodaXJsonValue, ao as KodaXSessionArtifactLedgerEntry, ap as KodaXSessionBranchSummaryEntry, ar as KodaXSessionCompactionEntry, at as KodaXSessionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aF as KodaXSessionRuntimeInfo, aG as KodaXSessionScope, aI as KodaXSessionTreeNode, aJ as KodaXSessionUiHistoryItem, aK as KodaXSessionUiHistoryItemType, aL as KodaXSessionUiTextHistoryItem, aM as KodaXSessionUiTextHistoryItemType, aN as KodaXSessionUiToolCall, aO as KodaXSessionUiToolCallStatus, aP as KodaXSessionUiToolGroupHistoryItem, aQ as KodaXSessionWorkspaceKind } from './types-chunks/review-inbox.d-Bgt46S7L.js';
|
|
14
|
+
import { bl as UnifiedLearningReviewRunner, i as AgentMessage, d as Agent, aH as RunnerLlmReturn, aJ as RunnerToolCall, aq as QualityInvariant, bc as ToolCapability, bd as ToolGuardrail } from './types-chunks/controller.d-D-hPLKaA.js';
|
|
15
|
+
export { k as AgentReasoningProfile, m as AgentTool, I as Guardrail, P as Handoff, R as InMemorySessionOptions, ah as MessageEntry, ao as PresetDispatcher, ax as ReasoningDepth, az as RunEvent, aA as RunOptions, aB as RunResult, aD as Runner, aP as Session, aR as SessionEntry, aS as SessionExtension, aT as SessionForkOptions, bC as createAgent, bE as createHandoff, bF as createInMemorySession, c7 as registerPresetDispatcher } from './types-chunks/controller.d-D-hPLKaA.js';
|
|
16
|
+
export { C as CreateFileArtifactFromPathOptions, a as CreateImageArtifactFromPathOptions, b as CreateVideoArtifactFromPathOptions, E as EnqueueWithArtifactsInput, G as GetModelInputCapabilitiesInput, I as ImageResizeError, K as KODAX_FILE_MEDIA_TYPES, c as KODAX_IMAGE_MEDIA_TYPES, d as KODAX_VIDEO_MEDIA_TYPES, j as KodaXInputCapabilityStatus, k as KodaXMediaError, l as KodaXMediaErrorCode, m as KodaXMediaErrorOptions, n as KodaXModalityInputCapability, M as MAX_DIMENSION, q as ModelInputCapabilities, N as NormalizeImageOptions, r as NormalizedImage, P as PASTE_TMP_DIR_ENV, s as PASTE_TMP_TTL_MS, t as PersistImageAsBlockOptions, T as TARGET_RAW_SIZE_BYTES, V as ValidateInputArtifactsOptions, u as createFileArtifactFromPath, v as createImageArtifactFromPath, w as createVideoArtifactFromPath, x as enqueueWithArtifacts, y as getModelInputCapabilities, z as inferImageMediaType, A as inferVideoMediaType, B as normalizePastedImage, D as persistImageAsBlock, F as prunePasteTmpDir, H as readAndNormalizeClipboardImage, J as readClipboardImage, L as validateInputArtifactsForModel } from './types-chunks/queue-BxQhqhFM.js';
|
|
17
|
+
import { O as LocalToolDefinition, a6 as ToolResult, T as RegisteredToolDefinition, a2 as ToolHandler, a4 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, _ as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, $ as TestResult, Z as ScriptSource, a3 as ToolHandlerSync, I as KodaXRetrievalToolName, G as KodaXRetrievalResult, F as KodaXRetrievalItem, s as ExtensionLoadSource, q as ExtensionFailureStage, n as ExtensionContributionSource, r as ExtensionHookMap, o as ExtensionEventMap, k as ExtensionCommandDefinition, v as ExtensionRuntimeDiagnostics } from './types-chunks/skill-invocation-error.d-gsNNDnnt.js';
|
|
18
|
+
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 ExtensionCapabilityProvider, j as ExtensionCommandContext, l as ExtensionCommandInvocation, m as ExtensionCommandResult, p as ExtensionFailureDiagnostic, t as ExtensionLogger, u as ExtensionRuntimeController, w as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, x as KodaXExtensionActivationResult, y as KodaXExtensionModule, z as KodaXRetrievalArtifact, B as KodaXRetrievalFreshness, H as KodaXRetrievalScope, J as KodaXRetrievalTrust, L as KodaXSkillInvocationError, M as KodaXSkillInvocationErrorCode, N as LoadedExtensionDiagnostic, P as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, Q as RegisteredCommandDiagnostic, S as RegisteredHookDiagnostic, U as RegisteredToolDiagnostic, V as RuntimeRemoteToolContext, W as RuntimeRemoteToolContract, X as RuntimeRemoteToolDecision, Y as RuntimeRemoteWorkspaceBroker, a0 as ToolContent, a1 as ToolDefinitionSource, a5 as ToolRegistry, a7 as WebhookOptions, a8 as WebhookResult, a9 as defaultPolicy, aa as exec, ab as webhook } from './types-chunks/skill-invocation-error.d-gsNNDnnt.js';
|
|
19
|
+
import { x as WorkflowCapsule, A as WorkflowCapsuleIntent, z as WorkflowCapsuleInputs, E as WorkflowCapsuleRequirements, B as WorkflowCapsuleProvenance, F as WorkflowQualityLintFinding } from './types-chunks/capsule.d-EMwSALqK.js';
|
|
20
|
+
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, I as actorQueueId, J as appendSessionLineageLabel, N as applySessionCompaction, O as archiveOldIslands, R as buildSessionTree, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, $ as estimateTokens, a1 as extractArtifactLedger, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ad as getSessionMessagesFromLineage, ag as mergeArtifactLedger, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory } from './types-chunks/capsule.d-EMwSALqK.js';
|
|
21
|
+
import { an as KodaXInputArtifact, a7 as CompactionResult, aa as DispatchableAgentDescriptor, j as AgentDispatchContext, be as WorkflowModule, bn as WorkflowProcessEvent, bu as WorkflowProcessSnapshot, b1 as WorkflowApproval, b5 as WorkflowEvent, b2 as WorkflowApprovalSummary } from './types-chunks/types.d-BlXTogOo.js';
|
|
22
|
+
export { W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a0 as AskUserUnanswered, a2 as CompactionAnchor, a8 as CompactionUpdate, ak as KodaXFileInputArtifact, al as KodaXImageInputArtifact, am as KodaXImageMediaType, ao as KodaXInputArtifactSource, ap as KodaXVideoInputArtifact, aq as KodaXVideoMediaType, aX as ManagedWorkflowStatus, b6 as WorkflowEventCorrelation } from './types-chunks/types.d-BlXTogOo.js';
|
|
23
23
|
import { b as McpServersConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
24
24
|
export { M as McpConnectMode, a as McpServerConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
|
|
25
|
-
import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-
|
|
26
|
-
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-
|
|
25
|
+
import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-BMH8Q6TV.js';
|
|
26
|
+
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-BMH8Q6TV.js';
|
|
27
27
|
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-DsvsksTD.js';
|
|
28
28
|
import { p as MemoryRecallRunner } from './types-chunks/types-DDJu9iWX.js';
|
|
29
|
-
import { n as AutoModeRulesContext, l as AutoModePermissionReview, I as ClassifierToolProjectionResolver, af as SignalCollector, ak as WorkflowRunManager, am as WorkflowScriptSnapshotInput, al as WorkflowRunProcessMetadata, a3 as ManagedWorkflowRun } from './types-chunks/run-manager.d-
|
|
30
|
-
export { t as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, a7 as AUTO_MODE_DENIAL_WINDOW_SIZE, a6 as AUTO_MODE_RECENT_DENIAL_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 AutoModeGuardrailConfig, j as AutoModePermissionBoundary, k as AutoModePermissionOperation, m as AutoModePermissionTarget, o as AutoModeRulesDecision, p as AutoModeRulesEvaluator, q as AutoModeSharedState, r as AutoModeStats, s as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, ai as BREAKER_WINDOW_MS, B as BuildClassifierPromptInput, C as CLASSIFIER_MAX_OUTPUT_TOKENS, u as CircuitBreaker, v as ClassifierAttemptDiagnostics, w as ClassifierAttemptOutcome, x as ClassifierDecision, y as ClassifierFailureKind, z as ClassifierHazard, D as ClassifierObservedProtocol, E as ClassifierOutputWarningCode, F as ClassifierParseFailureCode, G as ClassifierPrompt, H as ClassifierProtocol, J as ClassifyDecision, K as ClassifyOptions, L as CodingWorkflowBackendDeps, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as ExecPolicyCriticalEffect, R as ExecPolicyDecision, S as ExecPolicyEvaluation, T as ExecPolicyOperation, U as ExecPolicyRejection, V as ExecPolicyRule, W as ExecPolicyRuleInput, X as ExecPolicySource, Y as KodaXMcpConnectMode, Z as KodaXMcpServerConfig, _ as KodaXMcpServersConfig, $ as KodaXMcpTransport, a0 as LoadAgentsOptions, a1 as LoadExecPolicyOptions, a2 as LoadExecPolicyResult, a4 as ManagedWorkflowSnapshot, a5 as ParseExecPolicyResult, a8 as RunGraphWriter, a9 as RunGraphWriterDeps, aa as RunJsonInput, ab as RunWorkflowFromOptionsInput, ac as RunWorkflowModuleOptions, ad as RunWorkflowModuleOutcome, ae as SYSTEM_WORKFLOW_LIMITS, ag as TierZeroPatternId, ah as ToolCallSignal, aj as WorkflowChildOptions, an as WorkflowScriptSnapshotRef,
|
|
31
|
-
import { e as ReviewPacketMetadata } from './types-chunks/review-packet.d-
|
|
32
|
-
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, b as ReviewPacketBudget, c as ReviewPacketChunk, d as ReviewPacketInput, f as collectBashWriteTargets, g as collectDeterministicBashWriteTargets, h as extractPathsFromCommand, i as findGitSubcommandIndex, j as generateSavePattern, k as getBashOutsideProjectWriteRisk, l as getDirectShellBypassBlockReason, m as
|
|
29
|
+
import { n as AutoModeRulesContext, l as AutoModePermissionReview, I as ClassifierToolProjectionResolver, af as SignalCollector, ak as WorkflowRunManager, am as WorkflowScriptSnapshotInput, al as WorkflowRunProcessMetadata, a3 as ManagedWorkflowRun, ao as WorktreeSweepDeps, ap as WorktreeSweepResult } from './types-chunks/run-manager.d-ChzguipG.js';
|
|
30
|
+
export { t as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, a7 as AUTO_MODE_DENIAL_WINDOW_SIZE, a6 as AUTO_MODE_RECENT_DENIAL_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 AutoModeGuardrailConfig, j as AutoModePermissionBoundary, k as AutoModePermissionOperation, m as AutoModePermissionTarget, o as AutoModeRulesDecision, p as AutoModeRulesEvaluator, q as AutoModeSharedState, r as AutoModeStats, s as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, ai as BREAKER_WINDOW_MS, B as BuildClassifierPromptInput, C as CLASSIFIER_MAX_OUTPUT_TOKENS, u as CircuitBreaker, v as ClassifierAttemptDiagnostics, w as ClassifierAttemptOutcome, x as ClassifierDecision, y as ClassifierFailureKind, z as ClassifierHazard, D as ClassifierObservedProtocol, E as ClassifierOutputWarningCode, F as ClassifierParseFailureCode, G as ClassifierPrompt, H as ClassifierProtocol, J as ClassifyDecision, K as ClassifyOptions, L as CodingWorkflowBackendDeps, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as ExecPolicyCriticalEffect, R as ExecPolicyDecision, S as ExecPolicyEvaluation, T as ExecPolicyOperation, U as ExecPolicyRejection, V as ExecPolicyRule, W as ExecPolicyRuleInput, X as ExecPolicySource, Y as KodaXMcpConnectMode, Z as KodaXMcpServerConfig, _ as KodaXMcpServersConfig, $ as KodaXMcpTransport, a0 as LoadAgentsOptions, a1 as LoadExecPolicyOptions, a2 as LoadExecPolicyResult, a4 as ManagedWorkflowSnapshot, a5 as ParseExecPolicyResult, a8 as RunGraphWriter, a9 as RunGraphWriterDeps, aa as RunJsonInput, ab as RunWorkflowFromOptionsInput, ac as RunWorkflowModuleOptions, ad as RunWorkflowModuleOutcome, ae as SYSTEM_WORKFLOW_LIMITS, ag as TierZeroPatternId, ah as ToolCallSignal, aj as WorkflowChildOptions, an as WorkflowScriptSnapshotRef, aW as autoModeDenialShouldFallback, aX as breakerShouldFallback, aq as buildApprovalSummary, ar as buildClassifierPrompt, as as checkAbsoluteDeny, at as clampWorkflowLimits, au as classify, av as collectAllSignals, az as createAutoModeDenialTracker, aw as createAutoModeToolGuardrail, ax as createCircuitBreaker, ay as createCodingWorkflowBackend, aA as createExecPolicyOperation, aB as createRunGraphWriter, aC as createWorkflowRunManager, aD as emitWorkflowAgentDigest, aE as evaluateExecPolicy, aF as evaluateShellExecPolicy, aG as formatAgentsForPrompt, aH as formatExecPolicyConfigurationError, aI as formatExecPolicyRejection, aJ as getDefaultWorkflowRunManager, aK as getKodaxGlobalDir, aL as loadAgentsFiles, aM as loadExecPolicy, aN as parseClassifierOutput, aO as parseExecPolicy, aP as recordAutoModeAllow, aQ as recordAutoModeBlock, aR as recordBreakerError, aS as resumeWorkflowGenerationTurn, aT as runWorkflowFromOptions, aU as runWorkflowModule, aV as safeWorkflowArtifactName, aY as tokenizeShellCommand } from './types-chunks/run-manager.d-ChzguipG.js';
|
|
31
|
+
import { e as ReviewPacketMetadata } from './types-chunks/review-packet.d-ChOfJaNI.js';
|
|
32
|
+
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, b as ReviewPacketBudget, c as ReviewPacketChunk, d as ReviewPacketInput, f as collectBashWriteTargets, g as collectDeterministicBashWriteTargets, h as extractPathsFromCommand, i as findGitSubcommandIndex, j as generateSavePattern, k as getBashOutsideProjectWriteRisk, l as getDirectShellBypassBlockReason, m as getGovernedMemoryShellWriteDenial, n as getPlanModeAllowedWritablePaths, o as getPlanModeBlockReason, p as gitSignatureInspectionMayExecute, q as inferPermissionMode, r as isAlwaysConfirmPath, s as isBashReadCommand, t as isBashReadCommandAutoAllowed, u as isBashWriteCommand, v as isCommandOnProtectedPath, w as isHelpCommand, x as isPathInsideProject, y as isPlanModeAllowedPath, z as isShellReadOnlyArgv, A as isToolCallAllowed, C as parseAllowedToolPattern, D as parseGitGrepShortOption, E as tokenizeRawCommandStages, H as writeReviewPackets } from './types-chunks/review-packet.d-ChOfJaNI.js';
|
|
33
33
|
import { Diagnostic } from 'vscode-languageserver-protocol';
|
|
34
|
-
import { b as WorkflowScriptManifest, a as WorkflowPatternId } from './types-chunks/manifest.d-
|
|
35
|
-
import '
|
|
36
|
-
import 'openai';
|
|
37
|
-
import './types-chunks/provider-credential-context.d-BH2OaB1b.js';
|
|
34
|
+
import { b as WorkflowScriptManifest, a as WorkflowPatternId } from './types-chunks/manifest.d-YE3-AIeO.js';
|
|
35
|
+
import './types-chunks/provider-credential-context.d-Dw-sWcnu.js';
|
|
38
36
|
import 'node:child_process';
|
|
39
|
-
import './types-chunks/types.d-
|
|
40
|
-
import '
|
|
41
|
-
|
|
37
|
+
import './types-chunks/types.d-D8qQjMeo.js';
|
|
38
|
+
import 'openai';
|
|
39
|
+
import '@anthropic-ai/sdk';
|
|
40
|
+
import './types-chunks/side-query.d-UFKdWSw7.js';
|
|
41
|
+
|
|
42
|
+
/** Actual execution Host cache facts; inspection never initializes a project. */
|
|
43
|
+
interface ClientRepoIntelligenceStatus {
|
|
44
|
+
readonly configuredMode: 'auto' | 'off' | 'light' | 'full';
|
|
45
|
+
readonly requestedMode: 'off' | 'light' | 'full';
|
|
46
|
+
readonly effectiveEngine: 'off' | 'light' | 'full';
|
|
47
|
+
readonly status: 'disabled' | 'ok' | 'limited' | 'unavailable' | 'warming';
|
|
48
|
+
readonly initialized: boolean;
|
|
49
|
+
readonly warnings: readonly string[];
|
|
50
|
+
}
|
|
42
51
|
interface ClientItemContent {
|
|
43
52
|
readonly image?: ClientImageAttachmentContent;
|
|
44
53
|
readonly outputState?: 'draft' | 'committed';
|
|
@@ -70,6 +79,11 @@ declare function readClientItemRange(read: (offset: number) => Promise<ClientIte
|
|
|
70
79
|
readonly version?: Pick<ClientItemContent, 'textRevision' | 'outputState'>;
|
|
71
80
|
}): Promise<string>;
|
|
72
81
|
|
|
82
|
+
/** Resolve the effective mode from the final run options, without replacing host authority. */
|
|
83
|
+
declare function resolveWorkMode(options: Pick<KodaXOptions, 'workMode' | 'context'>): KodaXWorkMode;
|
|
84
|
+
/** Local admission check, with no tools, effects or model requests. Never changes the selected mode. */
|
|
85
|
+
declare function assertWorkModeAvailable(options: Pick<KodaXOptions, 'workMode' | 'context'>): Promise<void>;
|
|
86
|
+
|
|
73
87
|
/**
|
|
74
88
|
* FEATURE_298 T36 — the pure root of {@link deriveCodingMemoryIdentity}:
|
|
75
89
|
* derives the Host-owned Memory identity from (configHome, projectRoot)
|
|
@@ -131,6 +145,9 @@ declare class KodaXTrustedTextMutationError extends Error {
|
|
|
131
145
|
/** Shared lexical/canonical policy for trusted main-process text mutations. */
|
|
132
146
|
declare function assertTrustedTextMutationPolicy(filePath: string, _executionCwd?: string, protectedPaths?: readonly string[], allowGitMetadata?: boolean): void;
|
|
133
147
|
|
|
148
|
+
declare function parseGenerationCheckpoint(value: unknown): KodaXGenerationCheckpoint | undefined;
|
|
149
|
+
declare function loadGenerationCheckpoint(storage: KodaXSessionStorage, checkpoint: KodaXGenerationCheckpoint): Promise<KodaXSessionData>;
|
|
150
|
+
|
|
134
151
|
/**
|
|
135
152
|
* @deprecated Environment pass lists are inert since 0.7.96. Retained so
|
|
136
153
|
* 0.7.x SDK imports keep compiling during migration.
|
|
@@ -287,7 +304,7 @@ declare function isToolNetworkRead(name: string, runScopedTools?: ReadonlyMap<st
|
|
|
287
304
|
* names return `true` — assumed mutating until proven otherwise).
|
|
288
305
|
*/
|
|
289
306
|
declare function isToolMutation(name: string, runScopedTools?: ReadonlyMap<string, RunScopedToolDefinition>): boolean;
|
|
290
|
-
declare function getRequiredToolParams(name: string): string[];
|
|
307
|
+
declare function getRequiredToolParams(name: string, input?: Record<string, unknown>): string[];
|
|
291
308
|
declare function listTools(): string[];
|
|
292
309
|
declare function listToolDefinitions(): KodaXToolDefinition[];
|
|
293
310
|
declare function executeTool(name: string, input: Record<string, unknown>, ctx: KodaXToolExecutionContext): Promise<ToolResult>;
|
|
@@ -986,13 +1003,6 @@ declare function loadMarkdownAgentScope(opts?: LoadMarkdownAgentScopeOptions): P
|
|
|
986
1003
|
*/
|
|
987
1004
|
declare function discoverMarkdownAgents(opts?: LoadAgentsFromMarkdownOptions): Promise<DiscoverMarkdownAgentsResult>;
|
|
988
1005
|
|
|
989
|
-
/**
|
|
990
|
-
* Built-in specialist agents registered into the same resolver as
|
|
991
|
-
* user/project markdown agents. They are intentionally tiny manifests:
|
|
992
|
-
* KodaX already has the specialist routing runtime, so built-ins should
|
|
993
|
-
* reuse that path instead of adding another agent system.
|
|
994
|
-
*/
|
|
995
|
-
|
|
996
1006
|
declare const REPO_EXPLORER_AGENT_NAME = "repo-explorer";
|
|
997
1007
|
declare const REPO_EXPLORER_TOOL_NAMES: readonly string[];
|
|
998
1008
|
declare function ensureBuiltinRepoExplorerAgent(): Promise<boolean>;
|
|
@@ -1502,6 +1512,16 @@ interface ToolOutputGcResult {
|
|
|
1502
1512
|
/** Total bytes reclaimed. */
|
|
1503
1513
|
readonly bytesRemoved: number;
|
|
1504
1514
|
}
|
|
1515
|
+
interface ToolOutputStorageUsage {
|
|
1516
|
+
readonly status: 'complete' | 'partial' | 'missing';
|
|
1517
|
+
readonly files: number;
|
|
1518
|
+
readonly bytes: number;
|
|
1519
|
+
/** Flat namespace only; child namespaces require their own inspection. */
|
|
1520
|
+
readonly directories: number;
|
|
1521
|
+
readonly failed: number;
|
|
1522
|
+
}
|
|
1523
|
+
/** Explicit read-only capacity inspection, never a liveness proof or an automatic sweep. */
|
|
1524
|
+
declare function inspectToolOutputStorage(dir: string): Promise<ToolOutputStorageUsage>;
|
|
1505
1525
|
/**
|
|
1506
1526
|
* Walk `dir` once and unlink any regular file whose mtime is older than
|
|
1507
1527
|
* `now - ttlMs`. Subdirectories are ignored (defensive: a future feature
|
|
@@ -1514,8 +1534,9 @@ interface ToolOutputGcResult {
|
|
|
1514
1534
|
declare function cleanupExpiredToolOutputs(dir: string, ttlMs?: number, now?: number): Promise<ToolOutputGcResult>;
|
|
1515
1535
|
/**
|
|
1516
1536
|
* Production-safe sweep: age is only a grace gate; a referenced artifact is
|
|
1517
|
-
* retained regardless of age.
|
|
1518
|
-
*
|
|
1537
|
+
* retained regardless of age. The operator must stop writers and supply the
|
|
1538
|
+
* complete reference closure from every SDK/Host storage root sharing this
|
|
1539
|
+
* namespace, including manifest/stream dependencies. Unknown scope means retain.
|
|
1519
1540
|
*/
|
|
1520
1541
|
declare function cleanupUnreferencedToolOutputs(dir: string, referencedPaths: ReadonlySet<string>, graceMs?: number, now?: number): Promise<ToolOutputGcResult>;
|
|
1521
1542
|
/**
|
|
@@ -1567,7 +1588,7 @@ declare function clampToolResultPolicyToBudget(policy: ToolResultPolicy, budget:
|
|
|
1567
1588
|
interface ToolResultPolicy {
|
|
1568
1589
|
maxLines: number;
|
|
1569
1590
|
maxBytes: number;
|
|
1570
|
-
direction: 'head' | 'tail';
|
|
1591
|
+
direction: 'head' | 'tail' | 'middle';
|
|
1571
1592
|
spillToFile: boolean;
|
|
1572
1593
|
}
|
|
1573
1594
|
interface GuardedToolResult<T extends ToolResult = string> {
|
|
@@ -1576,7 +1597,7 @@ interface GuardedToolResult<T extends ToolResult = string> {
|
|
|
1576
1597
|
outputPath?: string;
|
|
1577
1598
|
policy: ToolResultPolicy;
|
|
1578
1599
|
/**
|
|
1579
|
-
* FEATURE_121 v0.7.40 — set when
|
|
1600
|
+
* FEATURE_121 v0.7.40 — set when saving or authorizing recovery failed and
|
|
1580
1601
|
* `content` was returned inline as the data-loss-guard fallback.
|
|
1581
1602
|
* Callers that need an LLM-summary follow-up (`dispatch-child-tasks`
|
|
1582
1603
|
* for `child_task_summary`) branch on this flag. Undefined/false
|
|
@@ -1681,7 +1702,7 @@ declare function toModelToolDefinition(definition: RunScopedToolDefinition): Kod
|
|
|
1681
1702
|
declare function executeRunScopedTool(ctx: KodaXToolExecutionContext, definition: RunScopedToolDefinition, input: Record<string, unknown>): Promise<ToolResult>;
|
|
1682
1703
|
|
|
1683
1704
|
/** Explicit host invocation: the normal tool gates and Run lifetime, without a model turn. */
|
|
1684
|
-
declare function runToolInvocation(
|
|
1705
|
+
declare function runToolInvocation(original: KodaXOptions, invocation: {
|
|
1685
1706
|
readonly name: string;
|
|
1686
1707
|
readonly input: Record<string, unknown>;
|
|
1687
1708
|
}, prompt?: string): Promise<KodaXResult>;
|
|
@@ -1977,6 +1998,13 @@ declare function getRepoRoutingSignals(context: RepoContext, options?: {
|
|
|
1977
1998
|
refresh?: boolean;
|
|
1978
1999
|
mode?: KodaXRepoIntelligenceMode;
|
|
1979
2000
|
}): Promise<KodaXRepoRoutingSignals>;
|
|
2001
|
+
declare function inspectRepoIntelligenceProject(context: RepoContext, options?: {
|
|
2002
|
+
mode?: KodaXRepoIntelligenceMode;
|
|
2003
|
+
}): ClientRepoIntelligenceStatus;
|
|
2004
|
+
/** Explicit Host prewarm, sharing both execution caches rather than building a second index. */
|
|
2005
|
+
declare function prepareRepoIntelligenceProject(context: RepoContext, options?: {
|
|
2006
|
+
mode?: KodaXRepoIntelligenceMode;
|
|
2007
|
+
}): Promise<ClientRepoIntelligenceStatus>;
|
|
1980
2008
|
/**
|
|
1981
2009
|
* v0.7.41 L2 - best-effort warm both session-level caches (routing signals +
|
|
1982
2010
|
* preturn bundle) for a given workspace. Designed to be called fire-and-forget
|
|
@@ -2006,7 +2034,7 @@ declare function prewarmRepoIntelligenceCaches(context: RepoContext, options?: {
|
|
|
2006
2034
|
mode?: KodaXRepoIntelligenceMode;
|
|
2007
2035
|
}): void;
|
|
2008
2036
|
|
|
2009
|
-
declare const SYSTEM_PROMPT
|
|
2037
|
+
declare const SYSTEM_PROMPT: string;
|
|
2010
2038
|
|
|
2011
2039
|
type KodaXPromptSectionSlot = 'base' | 'runtime-context' | 'session-context' | 'capability-truth' | 'base-suffix' | 'mode-overlay' | 'project-rules' | 'skill-addendum' | 'specialist';
|
|
2012
2040
|
type KodaXPromptSectionStability = 'stable' | 'dynamic' | 'project' | 'specialist';
|
|
@@ -2308,20 +2336,8 @@ interface RoutingEvidenceInput {
|
|
|
2308
2336
|
repoSignals?: KodaXRepoRoutingSignals;
|
|
2309
2337
|
}
|
|
2310
2338
|
/**
|
|
2311
|
-
*
|
|
2312
|
-
*
|
|
2313
|
-
* In FEATURE_078 (v0.7.29) the semantics of `--reasoning <mode>` /
|
|
2314
|
-
* `options.reasoningMode` shifted from "all roles use this mode" to
|
|
2315
|
-
* "ceiling + bias for default": a hard upper bound on per-role depth
|
|
2316
|
-
* with the same value also serving as the suggested default when an
|
|
2317
|
-
* Agent declaration has no profile of its own.
|
|
2318
|
-
*
|
|
2319
|
-
* This function continues to return the user-supplied mode unchanged —
|
|
2320
|
-
* what changed is how downstream code consumes it. Direct callers that
|
|
2321
|
-
* still treat the return value as the final per-role depth will get
|
|
2322
|
-
* pre-FEATURE_078 behaviour (everything pinned to `userCeiling`); they
|
|
2323
|
-
* are migrated in this same patch to call `resolveRoleReasoning(...)`
|
|
2324
|
-
* instead, which honours the L1-L4 chain.
|
|
2339
|
+
* Compatibility intake for old reasoningMode/thinking SDK options.
|
|
2340
|
+
* Callers prefer explicit effort and convert this fallback to effort once.
|
|
2325
2341
|
*/
|
|
2326
2342
|
declare function resolveReasoningMode(options: KodaXOptions): KodaXReasoningMode;
|
|
2327
2343
|
declare function reasoningModeToDepth(mode: KodaXReasoningMode): KodaXThinkingDepth;
|
|
@@ -2676,8 +2692,8 @@ declare function createSessionControl(): KodaXSessionControl & KodaXSessionMutat
|
|
|
2676
2692
|
* 2-3pt non-coding recall cost for not knowing they should pass these
|
|
2677
2693
|
* coding-flavored prompts, but their architectural surface stays clean.
|
|
2678
2694
|
*/
|
|
2679
|
-
declare const CODING_SUMMARY_PROMPT
|
|
2680
|
-
declare const CODING_UPDATE_SUMMARY_PROMPT
|
|
2695
|
+
declare const CODING_SUMMARY_PROMPT: string;
|
|
2696
|
+
declare const CODING_UPDATE_SUMMARY_PROMPT: string;
|
|
2681
2697
|
|
|
2682
2698
|
/**
|
|
2683
2699
|
* Post-compact attachment construction + injection — CAP-061
|
|
@@ -3421,6 +3437,8 @@ declare function analyzeAutoModeCall(call: RunnerToolCall, context: AutoModeRule
|
|
|
3421
3437
|
/** Resolve symlinks through the deepest existing prefix without trusting a broken link. */
|
|
3422
3438
|
declare function canonicalizeAgentHomePolicyPath(targetPath: string, baseDir?: string): string | undefined;
|
|
3423
3439
|
declare function isAutoWritableAgentHomePath(target: string, agentHome: string): boolean;
|
|
3440
|
+
/** Write-only policy: Memory inspection is readable; Control Plane owns mutation. */
|
|
3441
|
+
declare function isGovernedMemoryMutationTarget(targetPath: string, cwd?: string, agentHome?: string, destructiveAncestors?: boolean): boolean;
|
|
3424
3442
|
/** Agent Home reads stay open except for credentials and control-plane data. */
|
|
3425
3443
|
declare function isAutoReadableAgentHomePath(target: string, agentHome: string): boolean;
|
|
3426
3444
|
declare function isProtectedAgentHomeReadTarget(targetPath: string, executionCwd?: string): boolean;
|
|
@@ -3988,20 +4006,6 @@ declare function buildSelfKnowledgeRoutingRule(productName?: string): string;
|
|
|
3988
4006
|
/** Default KodaX routing rule (backward-compatible const). */
|
|
3989
4007
|
declare const SELF_KNOWLEDGE_ROUTING_RULE: string;
|
|
3990
4008
|
|
|
3991
|
-
/**
|
|
3992
|
-
* FEATURE_218 / FEATURE_221 — the `kodax_manual` tool DESCRIPTION the model
|
|
3993
|
-
* reads (deciding when to call the tool), built from a product name so an SDK
|
|
3994
|
-
* consumer can white-label it. Sibling to `buildSelfKnowledgeRoutingRule` in
|
|
3995
|
-
* routing-rule.ts.
|
|
3996
|
-
*
|
|
3997
|
-
* `buildManualToolDescription()` (default 'KodaX') is the single source of truth
|
|
3998
|
-
* for the built-in tool description — `BUILTIN_TOOL_DEFINITIONS` uses it, so the
|
|
3999
|
-
* default output is byte-identical to the prior literal (pinned by a test). The
|
|
4000
|
-
* KodaX-specific config-path clause (`~/.kodax/config.json` + `KODAX_*`) is
|
|
4001
|
-
* gated on `productName === 'KodaX'`, matching `scopeAnchor`'s existing rule, so
|
|
4002
|
-
* a re-branded product does not leak KodaX config paths into the model's tool
|
|
4003
|
-
* surface.
|
|
4004
|
-
*/
|
|
4005
4009
|
declare function buildManualToolDescription(productName?: string): string;
|
|
4006
4010
|
/**
|
|
4007
4011
|
* Re-brand the `kodax_manual` tool description with the consumer's product name
|
|
@@ -4691,6 +4695,31 @@ interface WorkflowCostReport {
|
|
|
4691
4695
|
}
|
|
4692
4696
|
declare function buildWorkflowCostReport(events: readonly WorkflowEvent[]): WorkflowCostReport;
|
|
4693
4697
|
|
|
4698
|
+
/** Trusted Host seam, after its Actor/executor/shell fences and Session final
|
|
4699
|
+
* references have committed. A terminal Workflow snapshot alone is not proof.
|
|
4700
|
+
* Unknown ownership/evidence is retained; this never replays execution. */
|
|
4701
|
+
interface WorkflowCleanupInput {
|
|
4702
|
+
readonly runId: string;
|
|
4703
|
+
readonly runDir: string;
|
|
4704
|
+
readonly ownerSessionId: string;
|
|
4705
|
+
readonly ownerRunId: string;
|
|
4706
|
+
readonly gitRoot: string;
|
|
4707
|
+
readonly resourcesStopped: true;
|
|
4708
|
+
readonly configHome?: string;
|
|
4709
|
+
}
|
|
4710
|
+
declare function completeWorkflowRunCleanup(input: WorkflowCleanupInput, deps?: WorktreeSweepDeps): Promise<WorktreeSweepResult>;
|
|
4711
|
+
/** Reconcile only previously proven cleanup eligibility, never historical runs
|
|
4712
|
+
* or unknown effects. The normally empty queue keeps Host startup bounded. */
|
|
4713
|
+
declare function recoverWorkflowRunCleanups(configHome: string, deps?: WorktreeSweepDeps): Promise<WorktreeSweepResult>;
|
|
4714
|
+
|
|
4715
|
+
/** Existence is conservative: old or unreadable pins never become GC permission. */
|
|
4716
|
+
declare function isWorkflowProjectProtected(worktreePath: string): boolean;
|
|
4717
|
+
/** Shared with cleanup. The lock is beside the tree so deletion cannot remove it. */
|
|
4718
|
+
declare function withWorkflowWorktreeProtection<T>(worktreePath: string, operation: () => Promise<T>): Promise<T>;
|
|
4719
|
+
/** Adoption makes the whole temporary tree a durable project reference, even
|
|
4720
|
+
* after the adopting Session is idle or the Host restarts. No automatic unpin. */
|
|
4721
|
+
declare function protectWorkflowProject(projectRoot: string): Promise<void>;
|
|
4722
|
+
|
|
4694
4723
|
declare function resolveSkillModelOverride(provider: string, model: string | undefined): string | undefined;
|
|
4695
4724
|
|
|
4696
4725
|
/** KodaX-owned direct SDK entry with the native trusted-text authority bound. */
|
|
@@ -4708,5 +4737,5 @@ declare class KodaXClient extends KodaXClient$1 {
|
|
|
4708
4737
|
constructor(options: KodaXOptions);
|
|
4709
4738
|
}
|
|
4710
4739
|
|
|
4711
|
-
export { Agent, AgentMessage, AutoModePermissionReview, AutoModeRulesContext, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, Capabilities, CapabilityProvider, CapabilityResult, CapabilitySearchSnapshot, KodaXClient as Client, CombinedExtensionRuntime, CompactionResult, ConstructionArtifact, ConstructionPolicy, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionExecutionScope, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalRuntimeBinding, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentScope, KodaXBaseProvider, KodaXClient, KodaXContentBlock, KodaXContextOptions, KodaXEvents, KodaXExecutionMode, KodaXExtensionRuntime, KodaXInputArtifact, KodaXManualTopic, KodaXManualTopicId, KodaXMessage, KodaXOptions, KodaXProviderCapabilityProfile, KodaXProviderPolicyHints, KodaXReasoningCapability, KodaXReasoningMode, KodaXRepoIntelligenceCapability, KodaXRepoIntelligenceMode, KodaXRepoIntelligenceResolvedMode, KodaXRepoIntelligenceTrace, KodaXRepoRoutingSignals, KodaXResult, KodaXRetrievalItem, KodaXRetrievalResult, KodaXRetrievalToolName, KodaXSessionControl, KodaXSessionError, KodaXSessionLineage, KodaXSessionMutators, KodaXSessionStorage, KodaXShellExecutionContract, KodaXTaskRoutingDecision, KodaXTaskType, KodaXTerminalError, KodaXThinkingDepth, KodaXTimeoutConfig, KodaXTokenUsage, KodaXToolDefinition, KodaXToolError, KodaXToolExecutionContext, KodaXToolUseBlock, KodaXTrustedTextFileSnapshot, KodaXTrustedTextMutationError, KodaXWireReasoningEffort, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LocalToolDefinition, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, ManagedProcessInput, ManagedWorkflowRun, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, ProviderExecutionState, ProviderRecoveryCoordinator, ProviderResilienceConfig, ProviderResiliencePolicy, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RecoveryDecision, RecoveryResult, RegisteredToolDefinition, ResilienceClassification, ResolveKodaXManualInput, ResolveKodaXManualOptions, ResolveKodaXManualResult, ReviewPacketMetadata, RunScopedToolDefinition, RuntimeContextBudgetSnapshot, RuntimeContextPressure, RuntimeDefaultsSnapshot, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, ScriptSource, SessionErrorMetadata, SignalCollector, StableBoundaryTracker, StagedHandle, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestResult, ToolHandler, ToolRegistrationOptions, ToolResult, ToolResultBatchCapacityError, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowRunManager, WorkflowRunProcessMetadata, WorkflowScriptSnapshotInput, _resetRuntimeForTesting, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSessionGoalRuntimeBinding, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryIdentityFromRoot, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeManagedProcess, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDenialContext, getImpactEstimate, getModuleContext, getProcessContext, getRegisteredToolDefinition, getRepoIntelligenceIndex, getRepoOverview, getRepoRoutingSignals, getRequiredToolParams, getSymbolContext, getTool, getToolDefinition, getToolRegistrations, getToolResultPolicy, getWorkflowPatternTemplate, goalTokenDelta, inferTaskType, inspectEditFailure, inspectRepoIntelligenceRuntime, installProductionLearningReviewer, isAgentHomeHardMutationTarget, isAgentHomeHardRemovalTarget, isAutoReadableAgentHomePath, isAutoReadableKodaxPath, isAutoWritableAgentHomePath, isAutoWritableKodaxPath, isCredentialBearingKodaxPath, isDeniedRecently, isNullDevice, isParallelDispatchDirective, isPowerShellMutationCommand, isProtectedAgentHomeMutationTarget, isProtectedAgentHomeReadTarget, isProtectedAgentHomeRemovalTarget, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, languageIdForPath, listAll, list as listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listRunScopedTools, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, lookupRunScopedTool, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseBareInlineSlashReferences, parseBashCommand, parseEditToolError, parseInlineSkillReferences, parseLlmReviewVerdict, parseModelSpec, parseSandboxEnvironmentPass, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, planGoalCreate, planGoalTransition, preflightWorkflowCapsule, prewarmRepoIntelligenceCaches, readArtifact, readAuditEntries, readBudget, readClientItemRange, readDisableState, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remaining as remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, report as reportLspDiagnostics, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveSkillModelOverride, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, test as testArtifact, toModelToolDefinition, toolAskUserQuestion, toolBash, toolChangedDiff, toolChangedScope, toolCodeSearch, toolEdit, toolGlob, toolGrep, toolImpactEstimate, toolInsertAfterAnchor, toolModuleContext, toolPermission, toolProcessContext, toolRead, toolRepoOverview, toolSemanticLookup, toolSymbolContext, toolUndo, toolWebFetch, toolWebSearch, toolWrite, truncateHead, truncateLine, truncateTail, turnWallTimeDelta, uniqueBareInlineSlashNames, uniqueInlineSkillNames, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, withExtensionRuntimeContext, withManualToolBranding, workerAgent };
|
|
4712
|
-
export type { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BashClassificationResult, BashClassifierConfig, BashCommandTree, BashPipelineStage, BashRedirection, BashRiskLevel, BashStatement, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildPromptInput, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EditRecoveryDiagnostic, EditToolErrorCode, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FindingVerificationResult, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalPlan, GuardedToolResultBatch, ImpactEstimateResult, InlineSkillReference, InvestigationFinding, KodaXAgentWorkerSpec, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, KodaXTrustedTextCommitUncertainReceipt, KodaXTrustedTextMutationErrorCode, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, ManagedWorkflowSource, MarkdownAgentLoadWarning, MarkdownAgentToolFilter, MarkdownLoadFailure, McpReverseWorkspace, MergedScopedReviewResult, ModuleCapsule, ModuleContextResult, OfficialSandboxMode, OfficialSandboxOptions, OrchestrationArtifact, OrchestrationCompletedTask, OrchestrationRunEvents, OrchestrationRunOptions, OrchestrationRunResult, OrchestrationTaskBudget, OrchestrationTaskContext, OrchestrationTaskExecution, OrchestrationTaskStatus, OrchestrationTraceEvent, OrchestrationWorkerResult, OrchestrationWorkerRunner, OrchestrationWorkerSpec, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, PowerShellMutationAnalysis, PowerShellMutationOperation, ProcessCapsule, ProcessContextResult, ProcessStep, QualityVerdict, RawScopedReviewResult, RenameSavedWorkflowInput, ReplaceSavedWorkflowInput, ReplaceSavedWorkflowResult, RepoAreaKind, RepoAreaOverview, RepoIntelligenceIndex, RepoIntelligenceRuntimeInspection, RepoLanguageId, RepoLanguageSupport, RepoOverview, RepoSymbolKind, RepoSymbolRecord, RepoSymbolReference, ResolveClassifierModelOptions, ResolveSource, ResolvedClassifierModel, ReviewSeverity, RollbackResult, RunningSession, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TestArtifactOptions, ToolOutputGcResult, ToolResultBatchDebt, ToolResultBatchEntry, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunRetentionOptions, WorkflowRunRetentionResult };
|
|
4740
|
+
export { Agent, AgentMessage, AutoModePermissionReview, AutoModeRulesContext, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, Capabilities, CapabilityProvider, CapabilityResult, CapabilitySearchSnapshot, KodaXClient as Client, CombinedExtensionRuntime, CompactionResult, ConstructionArtifact, ConstructionPolicy, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionExecutionScope, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalRuntimeBinding, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentScope, KodaXBaseProvider, KodaXClient, KodaXContentBlock, KodaXContextOptions, KodaXEvents, KodaXExecutionMode, KodaXExtensionRuntime, KodaXGenerationCheckpoint, KodaXInputArtifact, KodaXManualTopic, KodaXManualTopicId, KodaXMessage, KodaXOptions, KodaXProviderCapabilityProfile, KodaXProviderPolicyHints, KodaXReasoningCapability, KodaXReasoningMode, KodaXRepoIntelligenceCapability, KodaXRepoIntelligenceMode, KodaXRepoIntelligenceResolvedMode, KodaXRepoIntelligenceTrace, KodaXRepoRoutingSignals, KodaXResult, KodaXRetrievalItem, KodaXRetrievalResult, KodaXRetrievalToolName, KodaXSessionControl, KodaXSessionData, KodaXSessionError, KodaXSessionLineage, KodaXSessionMutators, KodaXSessionStorage, KodaXShellExecutionContract, KodaXTaskRoutingDecision, KodaXTaskType, KodaXTerminalError, KodaXThinkingDepth, KodaXTimeoutConfig, KodaXTokenUsage, KodaXToolDefinition, KodaXToolError, KodaXToolExecutionContext, KodaXToolUseBlock, KodaXTrustedTextFileSnapshot, KodaXTrustedTextMutationError, KodaXWireReasoningEffort, KodaXWorkMode, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LocalToolDefinition, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, ManagedProcessInput, ManagedWorkflowRun, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, ProviderExecutionState, ProviderRecoveryCoordinator, ProviderResilienceConfig, ProviderResiliencePolicy, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RecoveryDecision, RecoveryResult, RegisteredToolDefinition, ResilienceClassification, ResolveKodaXManualInput, ResolveKodaXManualOptions, ResolveKodaXManualResult, ReviewPacketMetadata, RunScopedToolDefinition, RuntimeContextBudgetSnapshot, RuntimeContextPressure, RuntimeDefaultsSnapshot, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, ScriptSource, SessionErrorMetadata, SignalCollector, StableBoundaryTracker, StagedHandle, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestResult, ToolHandler, ToolRegistrationOptions, ToolResult, ToolResultBatchCapacityError, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowRunManager, WorkflowRunProcessMetadata, WorkflowScriptSnapshotInput, _resetRuntimeForTesting, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, assertWorkModeAvailable, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSessionGoalRuntimeBinding, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, completeWorkflowRunCleanup, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryIdentityFromRoot, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeManagedProcess, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDenialContext, getImpactEstimate, getModuleContext, getProcessContext, getRegisteredToolDefinition, getRepoIntelligenceIndex, getRepoOverview, getRepoRoutingSignals, getRequiredToolParams, getSymbolContext, getTool, getToolDefinition, getToolRegistrations, getToolResultPolicy, getWorkflowPatternTemplate, goalTokenDelta, inferTaskType, inspectEditFailure, inspectRepoIntelligenceProject, inspectRepoIntelligenceRuntime, inspectToolOutputStorage, installProductionLearningReviewer, isAgentHomeHardMutationTarget, isAgentHomeHardRemovalTarget, isAutoReadableAgentHomePath, isAutoReadableKodaxPath, isAutoWritableAgentHomePath, isAutoWritableKodaxPath, isCredentialBearingKodaxPath, isDeniedRecently, isGovernedMemoryMutationTarget, isNullDevice, isParallelDispatchDirective, isPowerShellMutationCommand, isProtectedAgentHomeMutationTarget, isProtectedAgentHomeReadTarget, isProtectedAgentHomeRemovalTarget, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, isWorkflowProjectProtected, languageIdForPath, listAll, list as listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listRunScopedTools, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadGenerationCheckpoint, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, lookupRunScopedTool, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseBareInlineSlashReferences, parseBashCommand, parseEditToolError, parseGenerationCheckpoint, parseInlineSkillReferences, parseLlmReviewVerdict, parseModelSpec, parseSandboxEnvironmentPass, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, planGoalCreate, planGoalTransition, preflightWorkflowCapsule, prepareRepoIntelligenceProject, prewarmRepoIntelligenceCaches, protectWorkflowProject, readArtifact, readAuditEntries, readBudget, readClientItemRange, readDisableState, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, recoverWorkflowRunCleanups, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remaining as remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, report as reportLspDiagnostics, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveSkillModelOverride, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkMode, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, test as testArtifact, toModelToolDefinition, toolAskUserQuestion, toolBash, toolChangedDiff, toolChangedScope, toolCodeSearch, toolEdit, toolGlob, toolGrep, toolImpactEstimate, toolInsertAfterAnchor, toolModuleContext, toolPermission, toolProcessContext, toolRead, toolRepoOverview, toolSemanticLookup, toolSymbolContext, toolUndo, toolWebFetch, toolWebSearch, toolWrite, truncateHead, truncateLine, truncateTail, turnWallTimeDelta, uniqueBareInlineSlashNames, uniqueInlineSkillNames, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, withExtensionRuntimeContext, withManualToolBranding, withWorkflowWorktreeProtection, workerAgent };
|
|
4741
|
+
export type { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BashClassificationResult, BashClassifierConfig, BashCommandTree, BashPipelineStage, BashRedirection, BashRiskLevel, BashStatement, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildPromptInput, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EditRecoveryDiagnostic, EditToolErrorCode, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FindingVerificationResult, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalPlan, GuardedToolResultBatch, ImpactEstimateResult, InlineSkillReference, InvestigationFinding, KodaXAgentWorkerSpec, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, KodaXTrustedTextCommitUncertainReceipt, KodaXTrustedTextMutationErrorCode, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, ManagedWorkflowSource, MarkdownAgentLoadWarning, MarkdownAgentToolFilter, MarkdownLoadFailure, McpReverseWorkspace, MergedScopedReviewResult, ModuleCapsule, ModuleContextResult, OfficialSandboxMode, OfficialSandboxOptions, OrchestrationArtifact, OrchestrationCompletedTask, OrchestrationRunEvents, OrchestrationRunOptions, OrchestrationRunResult, OrchestrationTaskBudget, OrchestrationTaskContext, OrchestrationTaskExecution, OrchestrationTaskStatus, OrchestrationTraceEvent, OrchestrationWorkerResult, OrchestrationWorkerRunner, OrchestrationWorkerSpec, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, PowerShellMutationAnalysis, PowerShellMutationOperation, ProcessCapsule, ProcessContextResult, ProcessStep, QualityVerdict, RawScopedReviewResult, RenameSavedWorkflowInput, ReplaceSavedWorkflowInput, ReplaceSavedWorkflowResult, RepoAreaKind, RepoAreaOverview, RepoIntelligenceIndex, RepoIntelligenceRuntimeInspection, RepoLanguageId, RepoLanguageSupport, RepoOverview, RepoSymbolKind, RepoSymbolRecord, RepoSymbolReference, ResolveClassifierModelOptions, ResolveSource, ResolvedClassifierModel, ReviewSeverity, RollbackResult, RunningSession, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TestArtifactOptions, ToolOutputGcResult, ToolOutputStorageUsage, ToolResultBatchDebt, ToolResultBatchEntry, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunRetentionOptions, WorkflowRunRetentionResult };
|