@kodax-ai/kodax 0.7.96 → 0.7.97-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +86 -0
- package/README.md +85 -62
- package/README_CN.md +57 -67
- package/config-templates/config.example.jsonc +0 -14
- package/dist/chunks/{agent-7N427EVB.js → agent-J7SHFM5N.js} +1 -1
- package/dist/chunks/argument-completer-ZJQOWTIS.js +2 -0
- package/dist/chunks/{chunk-ABZDFK2X.js → chunk-2GV6MQ4T.js} +14 -14
- package/dist/chunks/{chunk-6QI3GOYG.js → chunk-3PS3YEDS.js} +1 -1
- package/dist/chunks/chunk-4VJMQDTH.js +417 -0
- package/dist/chunks/{chunk-NI7PBPUR.js → chunk-5DSUVP46.js} +1 -1
- package/dist/chunks/chunk-5P7RTSZT.js +21 -0
- package/dist/chunks/{chunk-XXNR6S4Q.js → chunk-6ZAQKFIM.js} +1 -1
- package/dist/chunks/chunk-7V2QBZ73.js +137 -0
- package/dist/chunks/{chunk-C7U542KM.js → chunk-F7DHZH6T.js} +1 -1
- package/dist/chunks/{chunk-7IMWOR34.js → chunk-HSRYDDPF.js} +1 -1
- package/dist/chunks/chunk-K3DQGSQU.js +372 -0
- package/dist/chunks/chunk-NO23K2CB.js +2 -0
- package/dist/chunks/{chunk-NKT3B3DR.js → chunk-OT5WHAX4.js} +1 -1
- package/dist/chunks/{chunk-YEAUDI6U.js → chunk-QGWHJIO4.js} +1 -1
- package/dist/chunks/chunk-QOFFAY5C.js +261 -0
- package/dist/chunks/{chunk-4PFZ7BEE.js → chunk-QVDTORL3.js} +11 -11
- package/dist/chunks/chunk-QZ4B4AWG.js +473 -0
- package/dist/chunks/chunk-RXDS6CNA.js +355 -0
- package/dist/chunks/{chunk-WV3DJVW4.js → chunk-VDGPJQL7.js} +135 -135
- package/dist/chunks/chunk-VEZ4WHPN.js +641 -0
- package/dist/chunks/chunk-ZPPAT25E.js +5 -0
- package/dist/chunks/chunk-ZQYWDI4O.js +1 -0
- package/dist/chunks/chunk-ZS2GUADU.js +498 -0
- package/dist/chunks/{chunk-GN2IY5YE.js → chunk-ZTYZYXGV.js} +1 -1
- package/dist/chunks/{chunk-EM4XJBTK.js → chunk-ZZQ4GDVU.js} +1 -1
- package/dist/chunks/{client-6WZZTTSV.js → client-MXOJ5XUN.js} +1 -1
- package/dist/chunks/{compaction-config-ZMEJU4U7.js → compaction-config-5VZSGKBQ.js} +1 -1
- package/dist/chunks/{construction-bootstrap-RX4DMHI7.js → construction-bootstrap-U2ZU2WAT.js} +1 -1
- package/dist/chunks/dist-CSLNWLOE.js +2 -0
- package/dist/chunks/dist-XXMJMJDU.js +2 -0
- package/dist/chunks/host-RUXYZFYN.js +2 -0
- package/dist/chunks/readline-helpers-JCVULR4C.js +2 -0
- package/dist/chunks/run-manager-DRIM5VNE.js +2 -0
- package/dist/chunks/utils-MQEBGKIX.js +2 -0
- package/dist/index.d.ts +63 -30
- package/dist/index.js +10 -6
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1745 -1734
- package/dist/kodax_resume.js +32 -35
- 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/sandbox-network-broker.js +77 -77
- package/dist/sdk-a2a.d.ts +33 -18
- package/dist/sdk-a2a.js +8 -9
- package/dist/sdk-agent.d.ts +33 -26
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-client.d.ts +40 -0
- package/dist/sdk-client.js +2 -0
- package/dist/sdk-coding.d.ts +87 -499
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +3 -4
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +11 -9
- 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 +3 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +317 -70
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +580 -452
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +13 -9
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +57 -57
- package/dist/types-chunks/{base.d-Bt9lhwSV.d.ts → base.d-ZBOdjDUT.d.ts} +2 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-DWFIMg0v.d.ts → bash-prefix-extractor.d-DvswAXKS.d.ts} +136 -66
- package/dist/types-chunks/{capability-learning.d-gRtO03f6.d.ts → capability-learning.d-B4pxKwP4.d.ts} +1 -1
- package/dist/types-chunks/{capability.d-Ch5Vos33.d.ts → capability.d-DOF3r0fJ.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-Dj1n6s0Y.d.ts → capsule.d-B4atvlxE.d.ts} +7 -19
- package/dist/types-chunks/client-contract-A1jdk6xz.d.ts +1993 -0
- package/dist/types-chunks/{controller.d-C0IM1Tud.d.ts → controller.d-BkUJ_3sl.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-J2t1q8Ly.d.ts → controller.d-yyKajPTi.d.ts} +140 -1380
- package/dist/types-chunks/{cost-tracker.d-BWI4lFWn.d.ts → cost-tracker.d-BeaenODW.d.ts} +2 -47
- package/dist/types-chunks/{history-retrieval.d-CPN5PMBV.d.ts → history-retrieval.d-JdFfkeF3.d.ts} +2 -2
- package/dist/types-chunks/{manager.d-rtmywU9M.d.ts → manager.d-C_20XqCV.d.ts} +8 -1
- package/dist/types-chunks/manifest.d-Bw2i-zQi.d.ts +18 -0
- package/dist/types-chunks/provider-credential-context.d-BH2OaB1b.d.ts +47 -0
- package/dist/types-chunks/provider-request-observation.d-jL8T6wVO.d.ts +34 -0
- package/dist/types-chunks/{public-api.d-amBop8Nk.d.ts → public-api.d-Cq8ILMte.d.ts} +52 -13
- package/dist/types-chunks/{resolver.d-BrwLoWNr.d.ts → resolver.d-DLY01RHx.d.ts} +4 -2
- package/dist/types-chunks/{types.d-CSv0_cZC.d.ts → review-inbox.d-BeaLRNHx.d.ts} +251 -3
- package/dist/types-chunks/{shell-command-sets.d-oejwpP_7.d.ts → review-packet.d-D4bbTbq3.d.ts} +46 -3
- package/dist/types-chunks/{exec-policy.d-BPESl90L.d.ts → run-manager.d-C7Q71rin.d.ts} +385 -62
- package/dist/types-chunks/runtime-client-info-CxnlZlW5.d.ts +175 -0
- package/dist/types-chunks/{sdk-session-B6XjHNU1.d.ts → sdk-session-BDFjCpDn.d.ts} +12 -4
- package/dist/types-chunks/{side-query.d-DHWG1JZg.d.ts → side-query.d-DTrhVd_r.d.ts} +4 -3
- package/dist/types-chunks/trusted-repl-entry-vbUM8R6P.d.ts +445 -0
- package/dist/types-chunks/{types.d-CtO8mR1s.d.ts → types.d-BJTN-RZr.d.ts} +5 -5
- package/dist/types-chunks/{types.d-BrQMB-hy.d.ts → types.d-BjOq57-z.d.ts} +6 -0
- package/dist/types-chunks/types.d-o7t9dds4.d.ts +1484 -0
- package/dist/types-chunks/{utils.d-DcznBeQ3.d.ts → utils.d-CWiMhFfu.d.ts} +202 -36
- package/docs/CLIENT_CONTRACT.md +441 -0
- package/docs/SDK_MIGRATION.md +123 -0
- package/docs/SPACE_SDK_SEAMS.md +139 -0
- package/package.json +10 -5
- package/public_docs/README.md +12 -133
- package/public_docs/configuration/config-files.md +8 -14
- package/public_docs/sdk/embedder-guide.md +494 -420
- package/dist/chunks/argument-completer-FAIHW7HZ.js +0 -2
- package/dist/chunks/chunk-66XN5AFU.js +0 -417
- package/dist/chunks/chunk-7O2AIFNE.js +0 -373
- package/dist/chunks/chunk-DSXUXUZG.js +0 -5
- package/dist/chunks/chunk-GYO73UYQ.js +0 -275
- package/dist/chunks/chunk-HPCS3LZ5.js +0 -324
- package/dist/chunks/chunk-HZYRLIOC.js +0 -137
- package/dist/chunks/chunk-SC2ELSUS.js +0 -675
- package/dist/chunks/chunk-TEUD5VPJ.js +0 -471
- package/dist/chunks/chunk-TYZ2ZAYL.js +0 -487
- package/dist/chunks/dist-3UCCMCYR.js +0 -2
- package/dist/chunks/dist-F5IWZSAY.js +0 -2
- package/dist/chunks/host-W2JJ3V3Q.js +0 -2
- package/dist/chunks/run-manager-RBWU3EVE.js +0 -2
- package/dist/chunks/utils-DJ4ZFJGL.js +0 -2
- package/dist/runtime-worker.js +0 -5381
- package/dist/types-chunks/review-inbox.d-CTeUIKda.d.ts +0 -225
- package/dist/types-chunks/run-manager.d-hm1XgEou.d.ts +0 -94
- package/dist/types-chunks/trusted-repl-entry-D0w5M0UZ.d.ts +0 -323
- package/dist/types-chunks/types.d-B1l9pWyX.d.ts +0 -146
package/dist/sdk-coding.d.ts
CHANGED
|
@@ -1,42 +1,70 @@
|
|
|
1
|
-
import { a3 as KodaXToolDefinition, a5 as KodaXToolResultContentItem, a8 as KodaXToolUseBlock, c as KodaXContentBlock, k as KodaXMessage, q as KodaXProviderCapabilityProfile, C as KodaXReasoningCapability, G as KodaXReasoningMode, X as KodaXTaskType, f as KodaXExecutionMode, W as KodaXTaskRoutingDecision, ab as KodaXWireReasoningEffort, a0 as KodaXThinkingDepth, a2 as KodaXTokenUsage } from './types-chunks/types.d-
|
|
2
|
-
export { b as KodaXChildFanoutClass, d as KodaXCustomProviderConfig, i as KodaXImageBlock, l as KodaXModelDescriptor, n as KodaXNormalizedReasoningRequest, p as KodaXProtocolFamily, r as KodaXProviderConfig, t as KodaXProviderConversationSemantics, w as KodaXProviderMcpSupport, z as KodaXProviderStreamOptions, B as KodaXProviderTransport, D as KodaXReasoningEffortPreset, E as KodaXReasoningEffortRequest, F as KodaXReasoningEffortWireStrategy, H as KodaXReasoningProfile, I as KodaXReasoningRequest, L as KodaXRedactedThinkingBlock, M as KodaXReviewScale, N as KodaXRiskLevel, O as KodaXStableEffortIntent, P as KodaXStreamResult, R as KodaXTaskBudgetOverrides, U as KodaXTaskResultMetadata, V as KodaXTaskResultSource, Z as KodaXTextBlock, _ as KodaXThinkingBlock, $ as KodaXThinkingBudgetMap, a1 as KodaXThinkingWireStrategy, a4 as KodaXToolResultBlock } from './types-chunks/types.d-
|
|
3
|
-
import { K as KodaXBaseProvider } from './types-chunks/base.d-
|
|
4
|
-
export { c as KodaXError, f as KodaXProviderError, h as KodaXRateLimitError } from './types-chunks/base.d-
|
|
5
|
-
export { K as KodaXLlmTimeoutConfig,
|
|
6
|
-
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-
|
|
7
|
-
import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-
|
|
8
|
-
export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-
|
|
1
|
+
import { a3 as KodaXToolDefinition, a5 as KodaXToolResultContentItem, a8 as KodaXToolUseBlock, c as KodaXContentBlock, k as KodaXMessage, q as KodaXProviderCapabilityProfile, C as KodaXReasoningCapability, G as KodaXReasoningMode, X as KodaXTaskType, f as KodaXExecutionMode, W as KodaXTaskRoutingDecision, ab as KodaXWireReasoningEffort, a0 as KodaXThinkingDepth, a2 as KodaXTokenUsage } from './types-chunks/types.d-BjOq57-z.js';
|
|
2
|
+
export { b as KodaXChildFanoutClass, d as KodaXCustomProviderConfig, i as KodaXImageBlock, l as KodaXModelDescriptor, n as KodaXNormalizedReasoningRequest, p as KodaXProtocolFamily, r as KodaXProviderConfig, t as KodaXProviderConversationSemantics, w as KodaXProviderMcpSupport, z as KodaXProviderStreamOptions, B as KodaXProviderTransport, D as KodaXReasoningEffortPreset, E as KodaXReasoningEffortRequest, F as KodaXReasoningEffortWireStrategy, H as KodaXReasoningProfile, I as KodaXReasoningRequest, L as KodaXRedactedThinkingBlock, M as KodaXReviewScale, N as KodaXRiskLevel, O as KodaXStableEffortIntent, P as KodaXStreamResult, R as KodaXTaskBudgetOverrides, U as KodaXTaskResultMetadata, V as KodaXTaskResultSource, Z as KodaXTextBlock, _ as KodaXThinkingBlock, $ as KodaXThinkingBudgetMap, a1 as KodaXThinkingWireStrategy, a4 as KodaXToolResultBlock } from './types-chunks/types.d-BjOq57-z.js';
|
|
3
|
+
import { K as KodaXBaseProvider } from './types-chunks/base.d-ZBOdjDUT.js';
|
|
4
|
+
export { c as KodaXError, f as KodaXProviderError, h as KodaXRateLimitError } from './types-chunks/base.d-ZBOdjDUT.js';
|
|
5
|
+
export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecToMs } from './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
6
|
+
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-DLY01RHx.js';
|
|
7
|
+
import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DOF3r0fJ.js';
|
|
8
|
+
export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-DOF3r0fJ.js';
|
|
9
9
|
export { I as ImageValidation, v as validateImageBytes } from './types-chunks/image-validation.d-ACJcj02o.js';
|
|
10
|
-
import {
|
|
11
|
-
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
|
|
12
|
-
import {
|
|
13
|
-
export {
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
export { T as AgentReasoningProfile, a7 as AgentTool, a8 as AskUserAnswer, a9 as AskUserCustomInputAnswer, aa as AskUserMultiOptions, ab as AskUserQuestionItem, ac as AskUserQuestionOptions, ad as AskUserSelectionAnswer, ag as CompactionAnchor, an as CompactionUpdate, aR as Handoff, aT as InMemorySessionOptions, aZ as KodaXFileInputArtifact, a_ as KodaXImageInputArtifact, a$ as KodaXImageMediaType, b1 as KodaXInputArtifactSource, b2 as KodaXVideoInputArtifact, b3 as KodaXVideoMediaType, bR as MessageEntry, bW as PresetDispatcher, b$ as ReasoningDepth, c1 as RunEvent, c2 as RunOptions, c3 as RunResult, c5 as Runner, ch as Session, cj as SessionEntry, ck as SessionExtension, cl as SessionForkOptions, d_ as createAgent, e0 as createHandoff, e1 as createInMemorySession, ez as registerPresetDispatcher } from './types-chunks/controller.d-J2t1q8Ly.js';
|
|
10
|
+
import { aa as KodaXOptions, bf as KodaXTrustedTextFileSnapshot, aB as KodaXShellExecutionContract, b9 as KodaXToolExecutionContext, bL as RunScopedToolDefinition, y as KodaXAgentScope, bS as RuntimeContextPressure, bP as RuntimeContextBudgetSnapshot, n as ExtensionRuntimeContract, at as KodaXResult, an as KodaXRepoIntelligenceCapability, aq as KodaXRepoIntelligenceTrace, ao as KodaXRepoIntelligenceMode, ap as KodaXRepoIntelligenceResolvedMode, as as KodaXRepoRoutingSignals, S as KodaXContextOptions, am as KodaXProviderPolicyHints, bA as ProviderResilienceConfig, bB as ProviderResiliencePolicy, F as FailureStage, bG as ResilienceClassification, by as ProviderExecutionState, bD as RecoveryDecision, bF as RecoveryResult, ay as KodaXSessionControl, az as KodaXSessionMutators, a0 as KodaXManagedProtocolPayload, bT as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, V as KodaXEvents, b$ as TodoStatus, p as GoalCompleteResult, bI as ResolveKodaXManualInput, bJ as ResolveKodaXManualOptions, bK as ResolveKodaXManualResult, a7 as KodaXManualTopicId, a6 as KodaXManualTopic, b7 as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-DvswAXKS.js';
|
|
11
|
+
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as 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, E as ExtensionExecutionScope, o as ExtractCommandPrefixOptions, G as GoalBlockedResult, q as GoalCreateInput, r as GoalLifecycleContext, s as GoalRuntimeBinding, t as GoalRuntimeBindingDeps, u as GoalToolsContext, K as KodaXActivityEventMeta, w as KodaXAgentMode, x as KodaXAgentProfile, z as KodaXBudgetDisclosureZone, H as KodaXBudgetExtensionRequest, I as KodaXCanonicalAgentMode, J as KodaXChildAgentResult, L as KodaXChildContextBundle, N as KodaXCompactionEndResult, O as KodaXCompactionFailureReason, P as KodaXCompactionOverride, Q as KodaXContextCompactionFinishedEvent, R as KodaXContextIdentity, T as KodaXContextTokenSnapshot, U as KodaXEffectiveTaskConfig, W as KodaXExecutionFailure, X as KodaXInterruptedRunEvidence, Y as KodaXInterruptedRunOperation, Z as KodaXInterruptedRunReply, _ as KodaXLiveEventMeta, $ as KodaXManagedBudgetSnapshot, a1 as KodaXManagedTask, a2 as KodaXManagedTaskRuntimeState, a3 as KodaXManagedTaskStatusEvent, a4 as KodaXManualIndexTopic, a5 as KodaXManualSource, a8 as KodaXManualTopicInput, a9 as KodaXMemoryStrategy, ab as KodaXOrchestrationVerdict, ac as KodaXOutputSegmentActiveState, ad as KodaXOutputSegmentDelta, ae as KodaXOutputSegmentMode, af as KodaXOutputSegmentProjection, ag as KodaXOutputSegmentProjectionEvent, ah as KodaXOutputSegmentProjectionResult, ai as KodaXOutputSegmentStarted, aj as KodaXParentReductionContract, ak as KodaXPreparedShellSandboxInvocation, al as KodaXPromptCacheDiagnosticEvent, ar as KodaXRepoIntelligenceTraceEvent, au as KodaXRoleRoundSummary, av as KodaXRuntimeVerificationContract, aw as KodaXSandboxOptions, ax as KodaXSelfManualConfig, aA as KodaXSessionOptions, aC as KodaXShellHostExecutionAuthorizer, aD as KodaXShellHostExecutionRequest, aE as KodaXShellKind, aF as KodaXShellPermissionMode, aG as KodaXShellProfileMode, aH as KodaXShellSandbox, aI as KodaXShellSandboxBackend, aJ as KodaXShellSandboxCleanupResult, aK as KodaXShellSandboxObservation, aL as KodaXShellSandboxPrepareInput, aM as KodaXShellSandboxProcessControl, aN as KodaXSidecarMessageEvent, 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, bp as KodaXWorkflowAgentDigestEvent, bq as KodaXWorkflowEventMeta, br as KodaXWorkflowTimeoutConfig, bs as KodaXWorkspaceSandboxRootRegistry, bt as KodaXWrittenFile, bu as LSP_SERVERS, bv as LspServerInfo, bw as LspService, bx as LspServiceConfig, bz as ProviderRecoveryEvent, bC as RecoveryAction, bE as RecoveryLadderStep, bH as ResilienceErrorClass, bM as RuntimeCompactionSkippedEvent, bN as RuntimeContextBudgetBreakdown, bO as RuntimeContextBudgetRecommendation, bQ as RuntimeContextBudgetSnapshotInput, bR as RuntimeContextOptimizationProfile, bU as RuntimeToolExposureDecision, bV as RuntimeToolExposureMode, bW as RuntimeToolExposurePlan, bX as RuntimeToolExposurePlanInput, bY as RuntimeToolExposureReason, bZ as TodoItem, b_ as TodoList, c0 as ToolSideEffect, c1 as WorkflowHostPolicy, c2 as WorkflowInvocationAction, c3 as WorkflowInvocationPolicyDecision, c4 as WorkflowInvocationPolicyInput, c5 as WorkflowInvocationSource, c6 as WorkflowStartOutcome, c7 as WorkflowToolHost, c8 as WorkflowToolHostInlineInput, c9 as WorkflowToolHostResult, ca as WorkflowToolHostStartResult, cb as buildGoalRuntimeBinding, cc as consumeCompactionCooldown, cd as createBashPrefixExtractor, ce as createCompactionAntiThrashState, cf as createExternalActorTurnExecutor, cg as createLocalCodingActorControl, ch as createOutputSegmentProjection, ci as createRuntimeContextBudgetSnapshot, cj as decideWorkflowInvocation, ck as drainPendingSwaps, cl as effectiveOutputSegmentText, cm as estimateToolSchemaTokens, cn as extractCommandPrefix, co as getDefaultLspService, cp as hasExplicitNaturalLanguageWorkflowIntent, cq as hasPendingSwap, cr as makeDisabledGoalToolsContext, cs as normalizeKodaXAgentMode, ct as planToolExposure, cu as providerResilienceConfigFromTimeouts, cv as recordCompactionSavings, cw as reduceOutputSegmentProjection, cx as resolveConstructedAgent, cy as shouldSkipLlmCompaction, cz as shutdownDefaultLspService, cA as withGoalBeforeNextTurn, cB as withGoalStopHook, cC as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-DvswAXKS.js';
|
|
12
|
+
import { a_ as MemoryContextIdentity, a$ as MemoryController, $ as EpisodeReviewDrainResult, bB as SessionErrorMetadata, af as KodaXGoalState, z as AgentForkTurns, ax as KodaXSessionLineage, ae as KodaXGoalEventType } from './types-chunks/review-inbox.d-BeaLRNHx.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, as as KodaXSessionData, at as KodaXSessionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aE as KodaXSessionRuntimeInfo, aF as KodaXSessionScope, aG as KodaXSessionStorage, aH as KodaXSessionTreeNode, aI as KodaXSessionUiHistoryItem, aJ as KodaXSessionUiHistoryItemType, aK as KodaXSessionUiTextHistoryItem, aL as KodaXSessionUiTextHistoryItemType, aM as KodaXSessionUiToolCall, aN as KodaXSessionUiToolCallStatus, aO as KodaXSessionUiToolGroupHistoryItem, aP as KodaXSessionWorkspaceKind } from './types-chunks/review-inbox.d-BeaLRNHx.js';
|
|
14
|
+
import { bf as UnifiedLearningReviewRunner, i as AgentMessage, d as Agent, aB as RunnerLlmReturn, aD as RunnerToolCall, al as QualityInvariant, b6 as ToolCapability, aw as RunnableTool, b7 as ToolGuardrail } from './types-chunks/controller.d-yyKajPTi.js';
|
|
15
|
+
export { k as AgentReasoningProfile, m as AgentTool, x as Guardrail, K as Handoff, M as InMemorySessionOptions, ac as MessageEntry, aj as PresetDispatcher, ar as ReasoningDepth, at as RunEvent, au as RunOptions, av as RunResult, ax as Runner, aJ as Session, aL as SessionEntry, aM as SessionExtension, aN as SessionForkOptions, bu as createAgent, bw as createHandoff, bx as createInMemorySession, bY as registerPresetDispatcher } from './types-chunks/controller.d-yyKajPTi.js';
|
|
17
16
|
export { CreateFileArtifactFromPathOptions, CreateImageArtifactFromPathOptions, CreateVideoArtifactFromPathOptions, EnqueueWithArtifactsInput, GetModelInputCapabilitiesInput, ImageResizeError, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXInputCapabilityStatus, KodaXMediaError, KodaXMediaErrorCode, KodaXMediaErrorOptions, KodaXModalityInputCapability, MAX_DIMENSION, ModelInputCapabilities, NormalizeImageOptions, NormalizedImage, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, PersistImageAsBlockOptions, TARGET_RAW_SIZE_BYTES, ValidateInputArtifactsOptions, createFileArtifactFromPath, createImageArtifactFromPath, createVideoArtifactFromPath, enqueueWithArtifacts, getModelInputCapabilities, inferImageMediaType, inferVideoMediaType, normalizePastedImage, persistImageAsBlock, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, validateInputArtifactsForModel } from './sdk-media.js';
|
|
18
|
-
import { M as LocalToolDefinition, a4 as ToolResult, Q as RegisteredToolDefinition, a0 as ToolHandler, a2 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, Y as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Z as TestResult, X as ScriptSource, a1 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/types.d-
|
|
19
|
-
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 LoadedExtensionDiagnostic, N as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, O as RegisteredCommandDiagnostic, P as RegisteredHookDiagnostic, S as RegisteredToolDiagnostic, T as RuntimeRemoteToolContext, U as RuntimeRemoteToolContract, V as RuntimeRemoteToolDecision, W as RuntimeRemoteWorkspaceBroker, _ as ToolContent, $ as ToolDefinitionSource, a3 as ToolRegistry, a5 as WebhookOptions, a6 as WebhookResult, a7 as defaultPolicy, a8 as exec, a9 as webhook } from './types-chunks/types.d-
|
|
20
|
-
import {
|
|
21
|
-
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,
|
|
17
|
+
import { M as LocalToolDefinition, a4 as ToolResult, Q as RegisteredToolDefinition, a0 as ToolHandler, a2 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, Y as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Z as TestResult, X as ScriptSource, a1 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/types.d-BJTN-RZr.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 LoadedExtensionDiagnostic, N as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, O as RegisteredCommandDiagnostic, P as RegisteredHookDiagnostic, S as RegisteredToolDiagnostic, T as RuntimeRemoteToolContext, U as RuntimeRemoteToolContract, V as RuntimeRemoteToolDecision, W as RuntimeRemoteWorkspaceBroker, _ as ToolContent, $ as ToolDefinitionSource, a3 as ToolRegistry, a5 as WebhookOptions, a6 as WebhookResult, a7 as defaultPolicy, a8 as exec, a9 as webhook } from './types-chunks/types.d-BJTN-RZr.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-B4atvlxE.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-B4atvlxE.js';
|
|
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-o7t9dds4.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-o7t9dds4.js';
|
|
22
23
|
import { b as McpServersConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
23
24
|
export { M as McpConnectMode, a as McpServerConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
|
|
24
|
-
import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-
|
|
25
|
-
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-C_20XqCV.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-C_20XqCV.js';
|
|
26
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-6i-vidxv.js';
|
|
27
|
-
import { c as ManagedWorkflowSnapshot$1, e as WorkflowRunManager$1 } from './types-chunks/run-manager.d-hm1XgEou.js';
|
|
28
|
-
export { d as ManagedWorkflowStatus } from './types-chunks/run-manager.d-hm1XgEou.js';
|
|
29
28
|
import { p as MemoryRecallRunner } from './types-chunks/types-DDJu9iWX.js';
|
|
30
|
-
import { n as AutoModeRulesContext, l as AutoModePermissionReview, I as ClassifierToolProjectionResolver,
|
|
31
|
-
export { t as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD,
|
|
32
|
-
|
|
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-C7Q71rin.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, aT as autoModeDenialShouldFallback, aU as breakerShouldFallback, ao as buildApprovalSummary, ap as buildClassifierPrompt, aq as checkAbsoluteDeny, ar as clampWorkflowLimits, as as classify, at as collectAllSignals, ax as createAutoModeDenialTracker, au as createAutoModeToolGuardrail, av as createCircuitBreaker, aw as createCodingWorkflowBackend, ay as createExecPolicyOperation, az as createRunGraphWriter, aA as createWorkflowRunManager, aB as emitWorkflowAgentDigest, aC as evaluateExecPolicy, aD as evaluateShellExecPolicy, aE as formatAgentsForPrompt, aF as formatExecPolicyConfigurationError, aG as formatExecPolicyRejection, aH as getDefaultWorkflowRunManager, aI as getKodaxGlobalDir, aJ as loadAgentsFiles, aK as loadExecPolicy, aL as parseClassifierOutput, aM as parseExecPolicy, aN as recordAutoModeAllow, aO as recordAutoModeBlock, aP as recordBreakerError, aQ as runWorkflowFromOptions, aR as runWorkflowModule, aS as safeWorkflowArtifactName, aV as tokenizeShellCommand } from './types-chunks/run-manager.d-C7Q71rin.js';
|
|
31
|
+
import { e as ReviewPacketMetadata } from './types-chunks/review-packet.d-D4bbTbq3.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 getPlanModeAllowedWritablePaths, n as getPlanModeBlockReason, o as gitSignatureInspectionMayExecute, p as inferPermissionMode, q as isAlwaysConfirmPath, r as isBashReadCommand, s as isBashReadCommandAutoAllowed, t as isBashWriteCommand, u as isCommandOnProtectedPath, v as isHelpCommand, w as isPathInsideProject, x as isPlanModeAllowedPath, y as isShellReadOnlyArgv, z as isToolCallAllowed, A as parseAllowedToolPattern, C as parseGitGrepShortOption, D as tokenizeRawCommandStages, E as writeReviewPackets } from './types-chunks/review-packet.d-D4bbTbq3.js';
|
|
33
|
+
import { a as WorkflowPatternId, b as WorkflowScriptManifest } from './types-chunks/manifest.d-Bw2i-zQi.js';
|
|
33
34
|
import { Diagnostic } from 'vscode-languageserver-protocol';
|
|
34
35
|
import '@anthropic-ai/sdk';
|
|
35
36
|
import 'openai';
|
|
37
|
+
import './types-chunks/provider-credential-context.d-BH2OaB1b.js';
|
|
36
38
|
import 'node:child_process';
|
|
37
39
|
import './types-chunks/types.d-Cb8RdrjU.js';
|
|
38
|
-
import './types-chunks/side-query.d-
|
|
40
|
+
import './types-chunks/side-query.d-DTrhVd_r.js';
|
|
39
41
|
|
|
42
|
+
interface ClientItemContent {
|
|
43
|
+
readonly outputState?: 'draft' | 'committed';
|
|
44
|
+
/** Same revision and outputState as the observed item, for frozen reads. */
|
|
45
|
+
readonly textRevision?: number;
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly text: string;
|
|
48
|
+
readonly offset: number;
|
|
49
|
+
readonly totalLength: number;
|
|
50
|
+
readonly nextOffset?: number;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/** Shared by Ink, classic, and ACP. A captured range may grow, but never shrink or change identity. */
|
|
54
|
+
declare function readClientItemRange(read: (offset: number) => Promise<ClientItemContent | null>, id: string, captured?: {
|
|
55
|
+
readonly length?: number;
|
|
56
|
+
readonly offset?: number;
|
|
57
|
+
readonly signal?: AbortSignal;
|
|
58
|
+
readonly version?: Pick<ClientItemContent, 'textRevision' | 'outputState'>;
|
|
59
|
+
}): Promise<string>;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* FEATURE_298 T36 — the pure root of {@link deriveCodingMemoryIdentity}:
|
|
63
|
+
* derives the Host-owned Memory identity from (configHome, projectRoot)
|
|
64
|
+
* alone, so the runtime Memory service can derive the same identity the
|
|
65
|
+
* run path uses without constructing a full KodaXOptions.
|
|
66
|
+
*/
|
|
67
|
+
declare function deriveCodingMemoryIdentityFromRoot(configHome: string, cwd: string): MemoryContextIdentity;
|
|
40
68
|
declare function deriveCodingMemoryIdentity(options: KodaXOptions, cwd: string, sessionId: string): MemoryContextIdentity;
|
|
41
69
|
declare function canonicalMemoryProjectId(remoteUrl: string): string;
|
|
42
70
|
declare function drainCodingMemoryReviewInbox(options: KodaXOptions, identity: MemoryContextIdentity, controller: MemoryController, currentSessionId: string, drainDeadlineAtMs?: number, preferredJobId?: string): Promise<EpisodeReviewDrainResult | undefined>;
|
|
@@ -91,27 +119,6 @@ declare class KodaXTrustedTextMutationError extends Error {
|
|
|
91
119
|
/** Shared lexical/canonical policy for trusted main-process text mutations. */
|
|
92
120
|
declare function assertTrustedTextMutationPolicy(filePath: string, _executionCwd?: string, protectedPaths?: readonly string[], allowGitMetadata?: boolean): void;
|
|
93
121
|
|
|
94
|
-
/**
|
|
95
|
-
* Process-local file mutation ordering.
|
|
96
|
-
*
|
|
97
|
-
* Same-path text mutations are serialized so concurrent agents in one Runtime
|
|
98
|
-
* cannot lose a read-modify-write update. Different paths and independent
|
|
99
|
-
* KodaX processes use the operating system's ordinary concurrency semantics.
|
|
100
|
-
* Sandbox commands never acquire a command-lifetime filesystem mutex.
|
|
101
|
-
*/
|
|
102
|
-
|
|
103
|
-
/** Compatibility shape retained for embedders compiled against pre-0.7.96. */
|
|
104
|
-
interface FileSystemMutationLeaseRelease {
|
|
105
|
-
(): Promise<void>;
|
|
106
|
-
bindEffectProcess(pid: number, windowsJobContained: boolean): Promise<void>;
|
|
107
|
-
finishEffectProcess(): Promise<void>;
|
|
108
|
-
readonly released: Promise<void>;
|
|
109
|
-
}
|
|
110
|
-
/** @deprecated Returns a non-blocking compatibility lease. */
|
|
111
|
-
declare function acquireFileSystemMutationLease(_sandboxPolicyKey?: string): Promise<FileSystemMutationLeaseRelease>;
|
|
112
|
-
/** @deprecated Returns a non-blocking compatibility lease. */
|
|
113
|
-
declare function acquireExclusiveFileSystemEffectLease(_sandboxPolicyKey?: string): Promise<FileSystemMutationLeaseRelease>;
|
|
114
|
-
|
|
115
122
|
/**
|
|
116
123
|
* @deprecated Environment pass lists are inert since 0.7.96. Retained so
|
|
117
124
|
* 0.7.x SDK imports keep compiling during migration.
|
|
@@ -2607,8 +2614,8 @@ interface RunningSession {
|
|
|
2607
2614
|
setProvider(name: string): void;
|
|
2608
2615
|
/** Switch model mid-run. Pass undefined to clear an override. */
|
|
2609
2616
|
setModel(model: string | undefined): void;
|
|
2610
|
-
/** Switch reasoning
|
|
2611
|
-
setReasoning(mode: KodaXReasoningMode | undefined): void;
|
|
2617
|
+
/** Switch reasoning on the next turn; optional effort/thinking replaces their current selection. */
|
|
2618
|
+
setReasoning(mode: KodaXReasoningMode | undefined, options?: Pick<KodaXOptions, 'effort' | 'thinking'>): void;
|
|
2612
2619
|
/** Cooperatively abort. The underlying provider stream sees an AbortError. */
|
|
2613
2620
|
abort(reason?: unknown): void;
|
|
2614
2621
|
/** Resolves to the same shape `runKodaX` returns. */
|
|
@@ -3048,7 +3055,8 @@ declare class KodaXExtensionRuntime implements ExtensionRuntimeContract {
|
|
|
3048
3055
|
private createExtensionApiRuntimeController;
|
|
3049
3056
|
private registerRecord;
|
|
3050
3057
|
private disposeCapabilityProvider;
|
|
3051
|
-
|
|
3058
|
+
/** Retain a provider until admitted work finishes so replacement can drain it. */
|
|
3059
|
+
withCapabilityProvider<T>(provider: CapabilityProvider, use: () => Promise<T> | T): Promise<T>;
|
|
3052
3060
|
private registerEventHandler;
|
|
3053
3061
|
private registerHookHandler;
|
|
3054
3062
|
private unloadExtension;
|
|
@@ -3085,6 +3093,8 @@ declare function createExtensionRuntime(options?: {
|
|
|
3085
3093
|
}): KodaXExtensionRuntime;
|
|
3086
3094
|
declare function setActiveExtensionRuntime(runtime: KodaXExtensionRuntime | null): void;
|
|
3087
3095
|
declare function getActiveExtensionRuntime(): KodaXExtensionRuntime | null;
|
|
3096
|
+
/** One asynchronous Run owns one controller/event/registration snapshot. */
|
|
3097
|
+
declare function withExtensionRuntimeContext<T>(execute: () => Promise<T>, runtime?: ExtensionRuntimeContract | null | undefined, runId?: string): Promise<T>;
|
|
3088
3098
|
|
|
3089
3099
|
/**
|
|
3090
3100
|
* Coding-runtime adapter: registers an `McpCapabilityProvider` (from
|
|
@@ -3799,81 +3809,6 @@ declare const bashSignalCollector: SignalCollector;
|
|
|
3799
3809
|
|
|
3800
3810
|
declare const fileSignalCollector: SignalCollector;
|
|
3801
3811
|
|
|
3802
|
-
/**
|
|
3803
|
-
* Speculative Classify — FEATURE_158 Step 4 (v0.7.39).
|
|
3804
|
-
*
|
|
3805
|
-
* Races an in-flight classifier promise against a short "quiet window".
|
|
3806
|
-
* When the classifier returns within the window, callers can use the
|
|
3807
|
-
* decision immediately — no confirm dialog, no perceptible latency. When
|
|
3808
|
-
* the window expires first, the caller (the auto-mode guardrail) awaits the
|
|
3809
|
-
* SAME promise and adopts whatever verdict arrives — see Issue 143 (WS1).
|
|
3810
|
-
* The window therefore only controls "resolve instantly vs wait a little
|
|
3811
|
-
* longer"; it never decides "escalate vs not". An `allow` verdict never
|
|
3812
|
-
* surfaces a confirm dialog no matter how slow the classifier is.
|
|
3813
|
-
*
|
|
3814
|
-
* Design ref: ADR-025 + FEATURE_158 (docs/features/v0.7.39.md);
|
|
3815
|
-
* late-verdict adoption: Issue 143 (docs/KNOWN_ISSUES.md).
|
|
3816
|
-
*
|
|
3817
|
-
* **The promise is NOT aborted on window expiry.** The caller retains
|
|
3818
|
-
* ownership; they pass the same `Promise<T>` to `speculativeRace` and
|
|
3819
|
-
* then `await` it to adopt the late verdict. Cancelling mid-flight would
|
|
3820
|
-
* waste tokens already spent AND throw away the verdict the caller is
|
|
3821
|
-
* about to use.
|
|
3822
|
-
*
|
|
3823
|
-
* Callers may also force `windowMs = 0` to disable the race entirely when no
|
|
3824
|
-
* interactive surface is present (Issue 143 WS2 — the guardrail does this for
|
|
3825
|
-
* SDK / non-interactive / child-agent contexts, where there is no human to
|
|
3826
|
-
* spare from latency, so it just awaits the verdict directly).
|
|
3827
|
-
*
|
|
3828
|
-
* Env knob: `KODAX_AUTO_SPECULATIVE_WINDOW_MS`
|
|
3829
|
-
* - default: 500 — the threshold past which a slow classify waits for its
|
|
3830
|
-
* real verdict instead of resolving instantly. See WS4 micro-bench in
|
|
3831
|
-
* docs/features/v0.7.39.md for the measured p50/p95 this is set against.
|
|
3832
|
-
* - `0` : disabled — `speculativeRace` waits for the promise
|
|
3833
|
-
* (synchronous classify; identical verdict outcome to a non-zero window)
|
|
3834
|
-
* - negative: treated as `0` (disabled)
|
|
3835
|
-
* - non-numeric: ignored, default used
|
|
3836
|
-
*/
|
|
3837
|
-
type SpeculativeResult<T> = {
|
|
3838
|
-
readonly kind: 'resolved';
|
|
3839
|
-
readonly value: T;
|
|
3840
|
-
} | {
|
|
3841
|
-
readonly kind: 'window-expired';
|
|
3842
|
-
};
|
|
3843
|
-
declare const DEFAULT_WINDOW_MS = 500;
|
|
3844
|
-
/**
|
|
3845
|
-
* Read the speculative window from `process.env[ENV_VAR]`. Returns
|
|
3846
|
-
* `undefined` when the env var is unset or malformed (caller falls back
|
|
3847
|
-
* to `DEFAULT_WINDOW_MS`). Returns `0` to mean "disabled — wait forever".
|
|
3848
|
-
*/
|
|
3849
|
-
declare function readWindowFromEnv(): number | undefined;
|
|
3850
|
-
/**
|
|
3851
|
-
* Race the given promise against the speculative window. Returns
|
|
3852
|
-
* `{kind: 'resolved', value}` when the promise wins (preferred fast path)
|
|
3853
|
-
* or `{kind: 'window-expired'}` when the timer wins.
|
|
3854
|
-
*
|
|
3855
|
-
* Caller responsibilities:
|
|
3856
|
-
* - Hold the original `promise` reference. If the window expires, the
|
|
3857
|
-
* caller can still `await promise` later — speculativeRace does NOT
|
|
3858
|
-
* cancel it.
|
|
3859
|
-
* - If the promise REJECTS within the window, this function rejects
|
|
3860
|
-
* too (callers `try/catch` or attach `.catch` upstream). When the
|
|
3861
|
-
* window expires before rejection, the rejection is silently
|
|
3862
|
-
* absorbed here (we attach a no-op `.catch` to prevent
|
|
3863
|
-
* UnhandledPromiseRejection) and the caller will surface it later
|
|
3864
|
-
* when they await the original promise.
|
|
3865
|
-
*
|
|
3866
|
-
* windowMs precedence:
|
|
3867
|
-
* 1. Explicit argument
|
|
3868
|
-
* 2. `readWindowFromEnv()`
|
|
3869
|
-
* 3. `DEFAULT_WINDOW_MS`
|
|
3870
|
-
*
|
|
3871
|
-
* `windowMs === 0` disables the race — returns `{kind: 'resolved'}` once
|
|
3872
|
-
* the promise settles (equivalent to `await promise` wrapped in the
|
|
3873
|
-
* result shape).
|
|
3874
|
-
*/
|
|
3875
|
-
declare function speculativeRace<T>(promise: Promise<T>, windowMs?: number): Promise<SpeculativeResult<T>>;
|
|
3876
|
-
|
|
3877
3812
|
/**
|
|
3878
3813
|
* FEATURE_192 v0.7.44 Phase B — Token + wall-time accounting for goals.
|
|
3879
3814
|
*
|
|
@@ -4339,6 +4274,28 @@ interface VerifyGoalCompletionOptions {
|
|
|
4339
4274
|
*/
|
|
4340
4275
|
declare function verifyGoalCompletion(options: VerifyGoalCompletionOptions): Promise<GoalCompleteResult>;
|
|
4341
4276
|
|
|
4277
|
+
/**
|
|
4278
|
+
* Pure goal lifecycle policy shared by every goal writer (FEATURE_298 T32).
|
|
4279
|
+
* The third real caller (Host session commands) crossed the abstraction
|
|
4280
|
+
* threshold; the REPL command and the run-side wiring migrate onto this
|
|
4281
|
+
* planner as their tickets land.
|
|
4282
|
+
*/
|
|
4283
|
+
|
|
4284
|
+
type GoalPlan = {
|
|
4285
|
+
readonly ok: true;
|
|
4286
|
+
readonly goal: KodaXGoalState;
|
|
4287
|
+
readonly lineage: KodaXSessionLineage;
|
|
4288
|
+
} | {
|
|
4289
|
+
readonly ok: false;
|
|
4290
|
+
readonly code: 'conflict';
|
|
4291
|
+
readonly message: string;
|
|
4292
|
+
};
|
|
4293
|
+
/** Create policy: refuse while a non-complete goal exists; keep the
|
|
4294
|
+
* complete → cleared → created transition explicit when overwriting. */
|
|
4295
|
+
declare function planGoalCreate(lineage: KodaXSessionLineage, objective: string, tokenBudget: number | null): GoalPlan;
|
|
4296
|
+
/** Status-transition policy for pause/resume: only defined from one status. */
|
|
4297
|
+
declare function planGoalTransition(lineage: KodaXSessionLineage, event: Extract<KodaXGoalEventType, 'paused' | 'resumed'>): GoalPlan;
|
|
4298
|
+
|
|
4342
4299
|
/** Environment variable that disables tracing activation when set to `'0'`. */
|
|
4343
4300
|
declare const TRACING_ENV = "KODAX_TRACING";
|
|
4344
4301
|
interface BootstrapTracingOptions {
|
|
@@ -4459,122 +4416,6 @@ declare function languageIdForPath(filePath: string): string | undefined;
|
|
|
4459
4416
|
*/
|
|
4460
4417
|
declare function report(file: string, issues: readonly Diagnostic[]): string;
|
|
4461
4418
|
|
|
4462
|
-
/**
|
|
4463
|
-
* Predicate the parent REPL injects so the child executor can enforce plan-mode
|
|
4464
|
-
* constraints without `packages/coding` reverse-depending on `packages/repl`.
|
|
4465
|
-
*
|
|
4466
|
-
* The predicate MUST read the parent's permission mode lazily (e.g., through a
|
|
4467
|
-
* closure over a ref), so mid-run mode toggles propagate to in-flight child tool
|
|
4468
|
-
* calls. Returns the block reason (string) for tools/inputs that are currently
|
|
4469
|
-
* plan-mode-violating, or `null` when the call is allowed right now.
|
|
4470
|
-
*/
|
|
4471
|
-
type PlanModeBlockCheck = (tool: string, input: Record<string, unknown>) => string | null;
|
|
4472
|
-
interface WorkflowChildDigestUpdate {
|
|
4473
|
-
readonly childId: string;
|
|
4474
|
-
readonly digest?: string;
|
|
4475
|
-
readonly digestFailed?: boolean;
|
|
4476
|
-
readonly totalTokensUsed: number;
|
|
4477
|
-
readonly digestTokensUsed?: number;
|
|
4478
|
-
readonly usage?: {
|
|
4479
|
-
readonly inputTokens?: number;
|
|
4480
|
-
readonly outputTokens?: number;
|
|
4481
|
-
readonly totalTokens?: number;
|
|
4482
|
-
readonly cacheReadTokens?: number;
|
|
4483
|
-
};
|
|
4484
|
-
}
|
|
4485
|
-
interface ChildExecutorOptions {
|
|
4486
|
-
readonly onIteration?: (iteration: NonNullable<KodaXChildAgentResult['iteration']>) => void;
|
|
4487
|
-
readonly maxParallel: number;
|
|
4488
|
-
readonly maxIterationsPerChild: number;
|
|
4489
|
-
readonly abortSignal?: AbortSignal;
|
|
4490
|
-
/** Parent-provided persistence capability for an isolated child-owned lineage. */
|
|
4491
|
-
readonly historyStorage?: KodaXSessionStorage;
|
|
4492
|
-
readonly parentOptions: Readonly<Partial<Pick<KodaXOptions, 'provider' | 'model' | 'effort' | 'reasoningMode' | 'extensionRuntime' | 'events' | 'compaction' | 'disablePromptCache' | 'sandbox'> & Pick<KodaXContextOptions, 'repoIntelligenceMode' | 'repoIntelligenceTrace' | 'contextDiagnostics' | 'shellExecution' | 'permissionIntent'>>>;
|
|
4493
|
-
readonly parentRole: string;
|
|
4494
|
-
readonly parentHarness: string;
|
|
4495
|
-
/**
|
|
4496
|
-
* FEATURE_217 (v0.7.49): set by the workflow agent backend to enable the
|
|
4497
|
-
* one-turn, no-tool self-distill digest for workflow-launched children.
|
|
4498
|
-
* Distinct from `parentHarness` because workflow children must keep
|
|
4499
|
-
* `parentHarness:'tool-dispatch'` so `validateWriteBundles` still admits
|
|
4500
|
-
* write children — the two concerns cannot share one field.
|
|
4501
|
-
*/
|
|
4502
|
-
readonly workflowChild?: boolean;
|
|
4503
|
-
/**
|
|
4504
|
-
* Workflow child digest mode. `blocking` preserves FEATURE_217 behavior.
|
|
4505
|
-
* `async` returns the child result immediately and reports the digest through
|
|
4506
|
-
* `onWorkflowChildDigest`; worktree-isolated children still use blocking mode
|
|
4507
|
-
* so the digest runs before cleanup removes the worktree.
|
|
4508
|
-
*/
|
|
4509
|
-
readonly workflowDigestMode?: 'blocking' | 'async';
|
|
4510
|
-
readonly onWorkflowChildDigest?: (update: WorkflowChildDigestUpdate) => void;
|
|
4511
|
-
readonly workflowCorrelation?: WorkflowEventCorrelation;
|
|
4512
|
-
/** User-facing child label for live telemetry surfaces. Defaults to bundle id. */
|
|
4513
|
-
readonly childActivityName?: string;
|
|
4514
|
-
/** Progress callback for REPL status display. Called when children start, progress, and complete. */
|
|
4515
|
-
readonly onProgress?: (status: string) => void;
|
|
4516
|
-
/**
|
|
4517
|
-
* FEATURE_074: Predicate provided by the parent REPL to evaluate plan-mode block
|
|
4518
|
-
* reasons at each child tool call. The predicate closes over parent state so
|
|
4519
|
-
* mid-run mode toggles propagate to in-flight children. When absent, children
|
|
4520
|
-
* run without plan-mode enforcement.
|
|
4521
|
-
*/
|
|
4522
|
-
readonly planModeBlockCheck?: PlanModeBlockCheck;
|
|
4523
|
-
/**
|
|
4524
|
-
* FEATURE_092 phase 2b.7b slice D: parent-Runner guardrails forwarded into
|
|
4525
|
-
* each child's `Runner.run` via `KodaXOptions.guardrails`. The auto-mode
|
|
4526
|
-
* guardrail's mutable review-denial and circuit-breaker state is shared by
|
|
4527
|
-
* passing the SAME instance, so children cannot restart the parent's bounded
|
|
4528
|
-
* denial budget.
|
|
4529
|
-
*/
|
|
4530
|
-
readonly guardrails?: readonly Guardrail[];
|
|
4531
|
-
/** Runtime-minted principal inherited by the child runtime for recursive collaboration. */
|
|
4532
|
-
readonly actorControl?: AgentActorClient;
|
|
4533
|
-
/** Exact non-root parent identity for nested live-context attribution. */
|
|
4534
|
-
readonly actorParentAgentId?: string;
|
|
4535
|
-
/** Exact admitted Actor Turn id used as the child run's live Turn identity. */
|
|
4536
|
-
readonly actorTurnId?: string;
|
|
4537
|
-
/** Trusted host bridge inherited beside the principal for nested Workflow owners. */
|
|
4538
|
-
readonly actorHost?: KodaXActorHost;
|
|
4539
|
-
/** Prior Actor turns and committed mailbox facts projected into this turn. */
|
|
4540
|
-
readonly initialMessages?: readonly KodaXMessage[];
|
|
4541
|
-
/** Runtime-minted ceiling applied after specialist/default tool resolution. */
|
|
4542
|
-
readonly actorCapabilities?: AgentCapabilities;
|
|
4543
|
-
/** Logical diagnostics identity when bundle ids are local to a Workflow backend. */
|
|
4544
|
-
readonly contextAgentId?: string;
|
|
4545
|
-
/** Logical diagnostics parent paired with contextAgentId. */
|
|
4546
|
-
readonly contextParentAgentId?: string;
|
|
4547
|
-
}
|
|
4548
|
-
|
|
4549
|
-
/** Coding Workflow adapter over the Runtime-owned Actor control plane. */
|
|
4550
|
-
|
|
4551
|
-
/** The subset of `ChildExecutorOptions` the caller fixes once per run. */
|
|
4552
|
-
type WorkflowChildOptions = Omit<ChildExecutorOptions, 'maxParallel' | 'abortSignal' | 'workflowChild' | 'workflowDigestMode' | 'onWorkflowChildDigest' | 'workflowCorrelation'>;
|
|
4553
|
-
interface CodingWorkflowBackendDeps {
|
|
4554
|
-
/** Parent tool-execution context carrying the Workflow owner's Actor binding. */
|
|
4555
|
-
readonly ctx: KodaXToolExecutionContext;
|
|
4556
|
-
/** Fixed per-run child options (parentRole / parentHarness / parentOptions
|
|
4557
|
-
* / maxIterationsPerChild / guardrails / …). */
|
|
4558
|
-
readonly childOptions: WorkflowChildOptions;
|
|
4559
|
-
/** Seam: child runner. Defaults to `executeChildAgents`. */
|
|
4560
|
-
readonly runChild?: (bundles: readonly KodaXChildContextBundle[], ctx: KodaXToolExecutionContext, options: ChildExecutorOptions) => Promise<KodaXChildExecutionResult>;
|
|
4561
|
-
/** Seam: unique child id generator. */
|
|
4562
|
-
readonly generateId?: () => string;
|
|
4563
|
-
/** Workflow run id for correlating child-agent SDK callbacks. */
|
|
4564
|
-
readonly runId?: string;
|
|
4565
|
-
/** Default child write policy from the workflow manifest. */
|
|
4566
|
-
readonly defaultChildReadOnly?: boolean;
|
|
4567
|
-
/** Seam: workspace changed path reader. Defaults to git status/diff. */
|
|
4568
|
-
readonly listChangedFiles?: (ctx: KodaXToolExecutionContext) => Promise<readonly string[]>;
|
|
4569
|
-
readonly onTaskSummary?: (taskId: string, update: WorkflowTaskSummaryEventUpdate) => void;
|
|
4570
|
-
/** True only for scripts generated by KodaX in this run; never inferred from schema content. */
|
|
4571
|
-
readonly kodaxAuthored?: boolean;
|
|
4572
|
-
}
|
|
4573
|
-
/**
|
|
4574
|
-
* Build a `WorkflowAgentBackend` over the coding child-dispatch substrate.
|
|
4575
|
-
*/
|
|
4576
|
-
declare function createCodingWorkflowBackend(deps: CodingWorkflowBackendDeps): WorkflowAgentBackend;
|
|
4577
|
-
|
|
4578
4419
|
/**
|
|
4579
4420
|
* FEATURE_217 (v0.7.49) Phase C — Built-in read-only workflow.
|
|
4580
4421
|
*
|
|
@@ -4759,49 +4600,6 @@ declare function normalizeScopedReviewResult(packetHash: string, requirementsPre
|
|
|
4759
4600
|
declare function mergeScopedReviewResults(results: readonly ScopedReviewResult[]): MergedScopedReviewResult;
|
|
4760
4601
|
declare function applyFindingVerification(review: MergedScopedReviewResult, verification: FindingVerificationResult): VerifiedScopedReviewResult;
|
|
4761
4602
|
|
|
4762
|
-
interface ReviewPacketBudget {
|
|
4763
|
-
readonly maxBytes: number;
|
|
4764
|
-
readonly maxLines: number;
|
|
4765
|
-
readonly maxLineChars: number;
|
|
4766
|
-
}
|
|
4767
|
-
interface ReviewPacketChunk {
|
|
4768
|
-
readonly path: string;
|
|
4769
|
-
readonly contentHash: string;
|
|
4770
|
-
}
|
|
4771
|
-
interface ReviewPacketMetadata {
|
|
4772
|
-
readonly packetPath: string;
|
|
4773
|
-
readonly contentHash: string;
|
|
4774
|
-
readonly rangeId: string;
|
|
4775
|
-
readonly partitionKey: string;
|
|
4776
|
-
readonly label: string;
|
|
4777
|
-
readonly baseRef?: string;
|
|
4778
|
-
readonly headRef?: string;
|
|
4779
|
-
readonly scopePaths: readonly string[];
|
|
4780
|
-
readonly riskFlags: readonly 'routing-high'[];
|
|
4781
|
-
readonly budget: ReviewPacketBudget;
|
|
4782
|
-
readonly evidenceChunks: readonly ReviewPacketChunk[];
|
|
4783
|
-
readonly requirementsPresent: boolean;
|
|
4784
|
-
readonly testEvidencePresent: boolean;
|
|
4785
|
-
}
|
|
4786
|
-
interface ReviewPacketInput {
|
|
4787
|
-
readonly cwd: string;
|
|
4788
|
-
readonly sessionId: string;
|
|
4789
|
-
readonly label: string;
|
|
4790
|
-
/** Exact captured diff bytes. The builder never rereads Git. */
|
|
4791
|
-
readonly diff: string;
|
|
4792
|
-
readonly scope?: 'staged' | 'unstaged' | 'all' | 'compare' | 'commit';
|
|
4793
|
-
readonly baseRef?: string;
|
|
4794
|
-
readonly headRef?: string;
|
|
4795
|
-
readonly customPrompt?: string;
|
|
4796
|
-
readonly requirements?: readonly string[];
|
|
4797
|
-
readonly testEvidence?: readonly string[];
|
|
4798
|
-
/** Must come from KodaXTaskRoutingDecision; no local semantic inference occurs. */
|
|
4799
|
-
readonly routingRisk?: 'low' | 'medium' | 'high';
|
|
4800
|
-
/** Test seam only; production snapshots the existing Read-tool caps. */
|
|
4801
|
-
readonly budget?: ReviewPacketBudget;
|
|
4802
|
-
}
|
|
4803
|
-
declare function writeReviewPackets(input: ReviewPacketInput): Promise<readonly ReviewPacketMetadata[]>;
|
|
4804
|
-
|
|
4805
4603
|
interface ScopedReviewWorkflowArgs {
|
|
4806
4604
|
readonly packets: readonly ReviewPacketMetadata[];
|
|
4807
4605
|
readonly lean?: boolean;
|
|
@@ -4834,169 +4632,6 @@ declare function getBuiltinWorkflow(name: string): WorkflowModule | undefined;
|
|
|
4834
4632
|
/** List built-in workflow metadata (for `/workflow` listing). */
|
|
4835
4633
|
declare function listBuiltinWorkflows(): readonly WorkflowModule['meta'][];
|
|
4836
4634
|
|
|
4837
|
-
/**
|
|
4838
|
-
* FEATURE_217 (v0.7.49) Phase D — Durable workflow run graph.
|
|
4839
|
-
*
|
|
4840
|
-
* Persists a workflow run as `run.json` + append-only `events.jsonl` +
|
|
4841
|
-
* `artifacts/` under a caller-supplied run directory (the REPL points
|
|
4842
|
-
* this at `~/.kodax/workflow-runs/<project-key>/<runId>/` via
|
|
4843
|
-
* `getAgentConfigPath`). Modelling the run as an event stream — not a
|
|
4844
|
-
* single summary blob — keeps the agent relationships (spawn / message /
|
|
4845
|
-
* complete / synthesize) inspectable after the fact.
|
|
4846
|
-
*
|
|
4847
|
-
* `appendFileSync` is used for events so the on-disk order matches the
|
|
4848
|
-
* recorder's `seq` order with no async interleave.
|
|
4849
|
-
*/
|
|
4850
|
-
|
|
4851
|
-
type WorkflowRunProcessMetadata = Pick<WorkflowProcessTrackerOptions, 'displayName' | 'goal' | 'source' | 'savedWorkflowName' | 'sourceRunId' | 'sourceWorkflowName' | 'revisionOf' | 'resumedFromRunId' | 'hostMetadata'>;
|
|
4852
|
-
interface RunGraphWriterDeps {
|
|
4853
|
-
/** Clock for the per-event `ts` stamp. Defaults to `Date.now`. */
|
|
4854
|
-
readonly now?: () => number;
|
|
4855
|
-
}
|
|
4856
|
-
interface RunJsonInput {
|
|
4857
|
-
readonly meta: WorkflowMeta;
|
|
4858
|
-
readonly args: unknown;
|
|
4859
|
-
readonly state: WorkflowRunState;
|
|
4860
|
-
readonly startedAt: number;
|
|
4861
|
-
readonly endedAt: number;
|
|
4862
|
-
readonly scriptSnapshot?: WorkflowScriptSnapshotRef;
|
|
4863
|
-
readonly resultSummary?: string;
|
|
4864
|
-
readonly processMetadata?: WorkflowRunProcessMetadata;
|
|
4865
|
-
}
|
|
4866
|
-
interface WorkflowScriptSnapshotInput {
|
|
4867
|
-
readonly source: string;
|
|
4868
|
-
readonly manifest?: WorkflowScriptManifest;
|
|
4869
|
-
}
|
|
4870
|
-
interface WorkflowScriptSnapshotRef {
|
|
4871
|
-
readonly scriptPath: string;
|
|
4872
|
-
readonly manifestPath?: string;
|
|
4873
|
-
}
|
|
4874
|
-
interface RunGraphWriter {
|
|
4875
|
-
readonly runDir: string;
|
|
4876
|
-
/** Append one event to `events.jsonl`. */
|
|
4877
|
-
onEvent(event: WorkflowEvent): void;
|
|
4878
|
-
/** Persist an artifact under `artifacts/<safe-name>.json`. */
|
|
4879
|
-
writeArtifact(name: string, value: unknown): WorkflowArtifactRef;
|
|
4880
|
-
/** Persist generated workflow source + optional manifest beside run.json. */
|
|
4881
|
-
writeScriptSnapshot(input: WorkflowScriptSnapshotInput): WorkflowScriptSnapshotRef;
|
|
4882
|
-
/** Write the terminal `run.json` summary. */
|
|
4883
|
-
writeRunJson(input: RunJsonInput): void;
|
|
4884
|
-
}
|
|
4885
|
-
declare function safeWorkflowArtifactName(name: string): string;
|
|
4886
|
-
declare function createRunGraphWriter(runDir: string, deps?: RunGraphWriterDeps): RunGraphWriter;
|
|
4887
|
-
|
|
4888
|
-
interface WorktreeSweepDeps {
|
|
4889
|
-
/** Run a git subcommand from `cwd`, resolving stdout. Defaults to `execFile`. */
|
|
4890
|
-
readonly runGit?: (args: readonly string[], cwd: string) => Promise<string>;
|
|
4891
|
-
/** Worktree directory mtime in ms. Defaults to `statSync`. Layer 3 only. */
|
|
4892
|
-
readonly mtimeMs?: (path: string) => number;
|
|
4893
|
-
/** Clock for staleness comparison. Defaults to `Date.now`. Layer 3 only. */
|
|
4894
|
-
readonly now?: () => number;
|
|
4895
|
-
}
|
|
4896
|
-
|
|
4897
|
-
/**
|
|
4898
|
-
* FEATURE_217 (v0.7.49) Phase D — Headless workflow orchestrator.
|
|
4899
|
-
*
|
|
4900
|
-
* Ties together: the approval gate, the coding agent backend (Phase B),
|
|
4901
|
-
* the durable run-graph writer, and the agent-layer `runWorkflow`
|
|
4902
|
-
* envelope. This is the REPL-agnostic core the `/workflow` command
|
|
4903
|
-
* (Phase D.2) drives; it is fully testable with a fake backend + temp
|
|
4904
|
-
* run dir + a stub approval callback.
|
|
4905
|
-
*/
|
|
4906
|
-
|
|
4907
|
-
declare const SYSTEM_WORKFLOW_LIMITS: {
|
|
4908
|
-
readonly maxAgents: 64;
|
|
4909
|
-
readonly tokenBudget: 200000;
|
|
4910
|
-
};
|
|
4911
|
-
interface RunWorkflowModuleOptions {
|
|
4912
|
-
readonly module: WorkflowModule;
|
|
4913
|
-
readonly args: unknown;
|
|
4914
|
-
readonly runId: string;
|
|
4915
|
-
/** Directory for the durable run graph (run.json / events.jsonl / artifacts). */
|
|
4916
|
-
readonly runDir: string;
|
|
4917
|
-
/** Parent context — required when the backend is built internally. */
|
|
4918
|
-
readonly ctx?: KodaXToolExecutionContext;
|
|
4919
|
-
/** Per-run child options — required when the backend is built internally. */
|
|
4920
|
-
readonly childOptions?: WorkflowChildOptions;
|
|
4921
|
-
/** Pre-built backend (test seam). When omitted, built from ctx + childOptions. */
|
|
4922
|
-
readonly backend?: WorkflowAgentBackend;
|
|
4923
|
-
/** Approval gate. When omitted, the run auto-proceeds (SDK / headless). */
|
|
4924
|
-
readonly approval?: WorkflowApproval;
|
|
4925
|
-
/** Optional host/SDK ceilings. These may only lower manifest/system limits. */
|
|
4926
|
-
readonly hostPolicy?: WorkflowHostPolicy;
|
|
4927
|
-
readonly signal?: AbortSignal;
|
|
4928
|
-
/** Extra event sink (e.g. live UI), in addition to the durable writer. */
|
|
4929
|
-
readonly onEvent?: (event: WorkflowEvent) => void;
|
|
4930
|
-
/** Host/SDK process snapshot stream. */
|
|
4931
|
-
readonly onWorkflowProcessEvent?: (event: WorkflowProcessEvent) => void;
|
|
4932
|
-
readonly now?: () => number;
|
|
4933
|
-
readonly scriptSnapshot?: WorkflowScriptSnapshotInput;
|
|
4934
|
-
/** FEATURE_246 Part D (ADR-048): a prior run dir to seed the result cache from
|
|
4935
|
-
* for same-session resume. Unchanged effects replay from it; only changed
|
|
4936
|
-
* effects re-run live. */
|
|
4937
|
-
readonly resumeFromRunDir?: string;
|
|
4938
|
-
readonly processMetadata?: WorkflowRunProcessMetadata;
|
|
4939
|
-
/** Optional lifecycle gate, used by WorkflowRunManager pause/resume. */
|
|
4940
|
-
readonly beforeSpawn?: () => Promise<void>;
|
|
4941
|
-
/** Test seam: inject git/mtime for the worktree sweep (FEATURE_217 Layer 2/3). */
|
|
4942
|
-
readonly worktreeSweepDeps?: WorktreeSweepDeps;
|
|
4943
|
-
}
|
|
4944
|
-
type RunWorkflowModuleOutcome = {
|
|
4945
|
-
readonly kind: 'denied';
|
|
4946
|
-
readonly summary: WorkflowApprovalSummary;
|
|
4947
|
-
} | {
|
|
4948
|
-
readonly kind: 'completed';
|
|
4949
|
-
readonly result: unknown;
|
|
4950
|
-
readonly state: WorkflowRunState;
|
|
4951
|
-
} | {
|
|
4952
|
-
readonly kind: 'failed';
|
|
4953
|
-
readonly error: Error;
|
|
4954
|
-
readonly state: WorkflowRunState;
|
|
4955
|
-
};
|
|
4956
|
-
/** Build the pre-run approval summary from a workflow module's metadata. */
|
|
4957
|
-
declare function buildApprovalSummary(module: WorkflowModule, hostPolicy?: WorkflowHostPolicy): WorkflowApprovalSummary;
|
|
4958
|
-
declare function clampWorkflowLimits(meta: WorkflowMeta, hostPolicy?: WorkflowHostPolicy): WorkflowLimits;
|
|
4959
|
-
/**
|
|
4960
|
-
* Run a workflow module end-to-end: approval → runtime + backend +
|
|
4961
|
-
* durable run graph → terminal `run.json`. A workflow execution failure
|
|
4962
|
-
* surfaces as `{ kind: 'failed' }` and a denied approval as
|
|
4963
|
-
* `{ kind: 'denied' }`. Only a misconfiguration (no backend AND no
|
|
4964
|
-
* ctx+childOptions) throws — that is a programmer precondition error.
|
|
4965
|
-
*/
|
|
4966
|
-
declare function runWorkflowModule(opts: RunWorkflowModuleOptions): Promise<RunWorkflowModuleOutcome>;
|
|
4967
|
-
interface RunWorkflowFromOptionsInput {
|
|
4968
|
-
readonly module: WorkflowModule;
|
|
4969
|
-
readonly args: unknown;
|
|
4970
|
-
readonly options: KodaXOptions;
|
|
4971
|
-
readonly runId: string;
|
|
4972
|
-
readonly runDir: string;
|
|
4973
|
-
readonly approval?: WorkflowApproval;
|
|
4974
|
-
readonly signal?: AbortSignal;
|
|
4975
|
-
readonly onEvent?: (event: WorkflowEvent) => void;
|
|
4976
|
-
readonly onWorkflowProcessEvent?: (event: WorkflowProcessEvent) => void;
|
|
4977
|
-
readonly now?: () => number;
|
|
4978
|
-
readonly scriptSnapshot?: WorkflowScriptSnapshotInput;
|
|
4979
|
-
/** FEATURE_246 Part D (ADR-048): prior run dir to seed the resume cache. */
|
|
4980
|
-
readonly resumeFromRunDir?: string;
|
|
4981
|
-
readonly processMetadata?: WorkflowRunProcessMetadata;
|
|
4982
|
-
readonly beforeSpawn?: () => Promise<void>;
|
|
4983
|
-
}
|
|
4984
|
-
/**
|
|
4985
|
-
* ADR-049: forward a single workflow child-agent terminal/summary event to the
|
|
4986
|
-
* REPL's per-agent digest hook. Coarse gate here (the four summary event types);
|
|
4987
|
-
* the REPL's `formatWorkflowAgentDigest` does the fine filtering (status, pending
|
|
4988
|
-
* summaries) so inline and slash `/workflow` digests stay identical.
|
|
4989
|
-
*/
|
|
4990
|
-
declare function emitWorkflowAgentDigest(events: KodaXEvents | undefined, runId: string, event: WorkflowEvent): void;
|
|
4991
|
-
/**
|
|
4992
|
-
* High-level entry: build a tool-execution context + child options from
|
|
4993
|
-
* `KodaXOptions` (provider / model / extensionRuntime) and run the
|
|
4994
|
-
* workflow module. ctx construction stays inside `@kodax-ai/coding` — the
|
|
4995
|
-
* REPL passes plain `KodaXOptions` (from `createKodaXOptions`) rather than
|
|
4996
|
-
* reaching into run-loop internals.
|
|
4997
|
-
*/
|
|
4998
|
-
declare function runWorkflowFromOptions(input: RunWorkflowFromOptionsInput): Promise<RunWorkflowModuleOutcome>;
|
|
4999
|
-
|
|
5000
4635
|
/**
|
|
5001
4636
|
* FEATURE_217 (v0.7.49) Phase E — Saved workflow discovery + loading.
|
|
5002
4637
|
*
|
|
@@ -5114,55 +4749,6 @@ declare function loadGeneratedWorkflowFromRun(input: LoadGeneratedWorkflowFromRu
|
|
|
5114
4749
|
declare function saveGeneratedWorkflowFromRun(input: SaveGeneratedWorkflowFromRunInput): Promise<SavedWorkflowRef>;
|
|
5115
4750
|
declare function preflightWorkflowCapsule(capsule: WorkflowCapsule, env?: WorkflowCapsulePreflightEnvironment): WorkflowCapsulePreflightResult;
|
|
5116
4751
|
|
|
5117
|
-
/**
|
|
5118
|
-
* FEATURE_246 Part A0b (ADR-046) — coding adapter over the neutral agent-layer
|
|
5119
|
-
* workflow run manager.
|
|
5120
|
-
*
|
|
5121
|
-
* The lifecycle core (registry / pause / resume / stop / process tracking /
|
|
5122
|
-
* settle) now lives in `@kodax-ai/agent` (`createWorkflowRunManager`). This
|
|
5123
|
-
* adapter preserves the coding-facing API (`start` / `startFromOptions` driven
|
|
5124
|
-
* by `RunWorkflowModuleOptions` / `KodaXOptions` + durable run dirs) by building
|
|
5125
|
-
* the agent manager's injected `runFn` from `runWorkflowModule` /
|
|
5126
|
-
* `runWorkflowFromOptions`, and augments the neutral snapshot with the
|
|
5127
|
-
* coding-specific `runDir`. Dependency arrows point coding → agent only.
|
|
5128
|
-
*/
|
|
5129
|
-
|
|
5130
|
-
/** Coding snapshot = the neutral agent snapshot plus the durable run dir. */
|
|
5131
|
-
interface ManagedWorkflowSnapshot extends ManagedWorkflowSnapshot$1 {
|
|
5132
|
-
readonly runDir: string;
|
|
5133
|
-
}
|
|
5134
|
-
interface ManagedWorkflowRun {
|
|
5135
|
-
readonly runId: string;
|
|
5136
|
-
readonly done: Promise<RunWorkflowModuleOutcome>;
|
|
5137
|
-
readonly getSnapshot?: () => ManagedWorkflowSnapshot | undefined;
|
|
5138
|
-
readonly getProcessSnapshot?: () => WorkflowProcessSnapshot | undefined;
|
|
5139
|
-
}
|
|
5140
|
-
interface WorkflowRunManager {
|
|
5141
|
-
start(opts: RunWorkflowModuleOptions): ManagedWorkflowRun;
|
|
5142
|
-
startFromOptions(input: RunWorkflowFromOptionsInput): ManagedWorkflowRun;
|
|
5143
|
-
list(): readonly ManagedWorkflowSnapshot[];
|
|
5144
|
-
get(runId: string): ManagedWorkflowSnapshot | undefined;
|
|
5145
|
-
subscribeWorkflowProcess(listener: (event: WorkflowProcessEvent) => void): () => void;
|
|
5146
|
-
getWorkflowProcessSnapshot(runId: string): WorkflowProcessSnapshot | undefined;
|
|
5147
|
-
listWorkflowProcessSnapshots(options?: {
|
|
5148
|
-
readonly activeOnly?: boolean;
|
|
5149
|
-
readonly limit?: number;
|
|
5150
|
-
}): readonly WorkflowProcessSnapshot[];
|
|
5151
|
-
pause(runId: string): boolean;
|
|
5152
|
-
resume(runId: string): boolean;
|
|
5153
|
-
stop(runId: string, reason?: string): boolean;
|
|
5154
|
-
}
|
|
5155
|
-
declare function createWorkflowRunManager(deps?: {
|
|
5156
|
-
readonly now?: () => number;
|
|
5157
|
-
}, agent?: WorkflowRunManager$1): WorkflowRunManager;
|
|
5158
|
-
/** UI control is scoped to the Session that admitted the workflow. */
|
|
5159
|
-
declare function requestSessionWorkflowStop(manager: WorkflowRunManager, sessionId: string, runId: string, reason?: string): {
|
|
5160
|
-
runId: string;
|
|
5161
|
-
accepted: boolean;
|
|
5162
|
-
state: 'unknown' | 'confirmed';
|
|
5163
|
-
};
|
|
5164
|
-
declare function getDefaultWorkflowRunManager(): WorkflowRunManager;
|
|
5165
|
-
|
|
5166
4752
|
type WorkflowIdentityResolution = {
|
|
5167
4753
|
readonly kind: 'run';
|
|
5168
4754
|
readonly target: string;
|
|
@@ -5481,6 +5067,8 @@ interface WorkflowCostReport {
|
|
|
5481
5067
|
}
|
|
5482
5068
|
declare function buildWorkflowCostReport(events: readonly WorkflowEvent[]): WorkflowCostReport;
|
|
5483
5069
|
|
|
5070
|
+
declare function resolveSkillModelOverride(provider: string, model: string | undefined): string | undefined;
|
|
5071
|
+
|
|
5484
5072
|
/** KodaX-owned direct SDK entry with the native trusted-text authority bound. */
|
|
5485
5073
|
declare function runKodaX(options: KodaXOptions, prompt: string): Promise<KodaXResult>;
|
|
5486
5074
|
/** Non-blocking KodaX-owned direct SDK entry with the same trusted-text authority. */
|
|
@@ -5496,5 +5084,5 @@ declare class KodaXClient extends KodaXClient$1 {
|
|
|
5496
5084
|
constructor(options: KodaXOptions);
|
|
5497
5085
|
}
|
|
5498
5086
|
|
|
5499
|
-
export { Agent, AgentMessage, AutoModePermissionReview, AutoModeRulesContext, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_AGENT_MARKER, 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_WINDOW_MS as DEFAULT_SPECULATIVE_WINDOW_MS, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, EMIT_VERDICT_TOOL_NAME, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalCompleteResult, Guardrail, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentScope, KodaXBaseProvider, KodaXChildAgentResult, KodaXChildContextBundle, 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, 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, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, PROTOCOL_EMITTER_TOOLS, 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, RunScopedToolDefinition, RuntimeContextBudgetSnapshot, RuntimeContextPressure, RuntimeDefaultsSnapshot, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, SYSTEM_WORKFLOW_LIMITS, ScriptSource, SessionErrorMetadata, SignalCollector, StableBoundaryTracker, StagedHandle, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestResult, TodoStatus, ToolHandler, ToolRegistrationOptions, ToolResult, ToolResultBatchCapacityError, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowEventCorrelation, WorkflowHostPolicy, _resetRuntimeForTesting, acquireExclusiveFileSystemEffectLease, acquireFileSystemMutationLease, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildApprovalSummary, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, clampWorkflowLimits, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCodingWorkflowBackend, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createRunGraphWriter, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, createWorkflowRunManager, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, emitVerdict, emitWorkflowAgentDigest, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDefaultWorkflowRunManager, 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, preflightWorkflowCapsule, prewarmRepoIntelligenceCaches, readArtifact, readAuditEntries, readBudget, readDisableState, readWindowFromEnv as readSpeculativeWindowFromEnv, 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, requestSessionWorkflowStop, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, runWorkflowFromOptions, runWorkflowModule, safeWorkflowArtifactName, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, speculativeRace, 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, verifyGoalCompletion, withManualToolBranding, workerAgent, writeReviewPackets };
|
|
5500
|
-
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,
|
|
5087
|
+
export { Agent, AgentMessage, AutoModePermissionReview, AutoModeRulesContext, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_AGENT_MARKER, 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, EMIT_VERDICT_TOOL_NAME, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalCompleteResult, 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, 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, ManagedWorkflowRun, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, PROTOCOL_EMITTER_TOOLS, 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, TodoStatus, 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, 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, emitVerdict, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, 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, verifyGoalCompletion, withExtensionRuntimeContext, withManualToolBranding, workerAgent };
|
|
5088
|
+
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, GoalCompletionVerifier, 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, ProtocolEmitterMetadata, 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, VerifyGoalCompletionOptions, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunRetentionOptions, WorkflowRunRetentionResult };
|