@kodax-ai/kodax 0.7.85 → 0.7.87
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 +125 -1
- package/README.md +1879 -1841
- package/README_CN.md +1138 -1130
- package/dist/chunks/{agent-OQ37XUWF.js → agent-Z64QF7KG.js} +1 -1
- package/dist/chunks/argument-completer-HIJBXRUT.js +2 -0
- package/dist/chunks/chunk-3PGNESV3.js +415 -0
- package/dist/chunks/{chunk-IA246OAN.js → chunk-4OLXWSCQ.js} +2 -2
- package/dist/chunks/chunk-7XTUXMAI.js +379 -0
- package/dist/chunks/{chunk-TBBY2DKE.js → chunk-ASFCAPIG.js} +3 -3
- package/dist/chunks/{chunk-CZCEFGQG.js → chunk-BCYJIACJ.js} +2 -2
- package/dist/chunks/{chunk-ZVOXWLT6.js → chunk-DB4O33RR.js} +226 -214
- package/dist/chunks/{chunk-RSOAHVUR.js → chunk-GRJ7NKWP.js} +1 -1
- package/dist/chunks/{chunk-3E4OSFP2.js → chunk-ITP7J5HX.js} +136 -137
- package/dist/chunks/{chunk-HTVLCHWH.js → chunk-JS4RSF4B.js} +1 -1
- package/dist/chunks/chunk-SKELDH3G.js +123 -0
- package/dist/chunks/{chunk-MJ4G5ZCW.js → chunk-U44C5STU.js} +1 -1
- package/dist/chunks/{chunk-IWRNGH4M.js → chunk-UWKM3HNY.js} +5 -5
- package/dist/chunks/chunk-XH7UM4GO.js +92 -0
- package/dist/chunks/{chunk-ODRLFQQH.js → chunk-XKLVC7F6.js} +1 -1
- package/dist/chunks/chunk-YB7YVAPL.js +519 -0
- package/dist/chunks/{chunk-SR4E5FQK.js → chunk-ZQNOEKOB.js} +2 -2
- package/dist/chunks/compaction-config-E4TFBCDJ.js +2 -0
- package/dist/chunks/{construction-bootstrap-CZ6NWEWQ.js → construction-bootstrap-YTFOT4M2.js} +1 -1
- package/dist/chunks/{dist-NFLLOZWF.js → dist-M3JV4PNA.js} +1 -1
- package/dist/chunks/{dist-WWL2DNIJ.js → dist-X55TWIK4.js} +1 -1
- package/dist/chunks/host-SJHHJBPB.js +2 -0
- package/dist/chunks/run-manager-T5QGWNON.js +2 -0
- package/dist/chunks/{utils-KFLK3EHJ.js → utils-2FHVIO6X.js} +1 -1
- package/dist/index.d.ts +19 -19
- package/dist/index.js +1 -1
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1459 -1411
- package/dist/kodax_resume.js +78 -76
- package/dist/provider-capabilities.json +239 -133
- package/dist/runtime-worker.js +1467 -1419
- package/dist/sandbox-workspace-session.js +346 -302
- package/dist/sdk-a2a.d.ts +12 -12
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-agent.d.ts +17 -17
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +22 -22
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +4 -4
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +7 -7
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +1 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +16 -18
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +22 -14
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.d.ts +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +7 -7
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +63 -64
- package/dist/types-chunks/{base.d-DxG0m09Z.d.ts → base.d-vopO1rml.d.ts} +1 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-BnZQDirs.d.ts → bash-prefix-extractor.d-B36OQwNA.d.ts} +13 -7
- package/dist/types-chunks/{capability-learning.d-iPSiAmc_.d.ts → capability-learning.d-CE1tm29C.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-CN_iMqAS.d.ts → capsule.d-DEncDNzD.d.ts} +3 -3
- package/dist/types-chunks/{controller.d-A73Kf6tH.d.ts → controller.d-C1YdP_pQ.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-Dzxz22X-.d.ts → controller.d-Dif9pbC9.d.ts} +2 -2
- package/dist/types-chunks/{guardrail.d-BCkgaWT1.d.ts → guardrail.d-DhpnJv4Y.d.ts} +5 -11
- package/dist/types-chunks/{history-retrieval.d-Debbzn1z.d.ts → history-retrieval.d-YJQpQt7h.d.ts} +2 -2
- package/dist/types-chunks/{public-api.d-N6G6Jw8X.d.ts → public-api.d-D4q3WxKq.d.ts} +4 -4
- package/dist/types-chunks/{repl.d-BkTIOkJD.d.ts → repl.d-D4ye29Kk.d.ts} +5 -5
- package/dist/types-chunks/{resolver.d-C9IW4fmU.d.ts → resolver.d-RyPo99tB.d.ts} +2 -2
- package/dist/types-chunks/{review-inbox.d-DuZqFX-z.d.ts → review-inbox.d-C1_xZ-yg.d.ts} +1 -1
- package/dist/types-chunks/{run-manager.d-BS4lJfL3.d.ts → run-manager.d-D30IvnwV.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-DLkZTOc-.d.ts → sdk-session-DIU6sHa2.d.ts} +3 -3
- package/dist/types-chunks/{shell-command-sets.d-BrLw-WN9.d.ts → shell-command-sets.d-rIHkZ_VR.d.ts} +1 -1
- package/dist/types-chunks/{side-query.d-CP1LiRiH.d.ts → side-query.d-iH0P9ASy.d.ts} +2 -2
- package/dist/types-chunks/{types.d-Ch3BD97c.d.ts → types.d-Bz5Y-PD9.d.ts} +4 -4
- package/dist/types-chunks/{types.d-CgrXrFrq.d.ts → types.d-CK9A9rpP.d.ts} +1 -1
- package/dist/types-chunks/{types.d-Bo4fyMLu.d.ts → types.d-COhAF5Xo.d.ts} +2 -2
- package/dist/types-chunks/{types.d-DlLBRqZ9.d.ts → types.d-sW-OqiFt.d.ts} +1 -1
- package/dist/types-chunks/{utils.d-BI-kjuev.d.ts → utils.d-B65ozSTV.d.ts} +6 -6
- package/package.json +1 -1
- package/dist/chunks/argument-completer-IMRSIF2N.js +0 -2
- package/dist/chunks/chunk-2XJQNFVR.js +0 -379
- package/dist/chunks/chunk-CDWYKVZC.js +0 -482
- package/dist/chunks/chunk-RTFVMEF6.js +0 -415
- package/dist/chunks/chunk-TRNAWSXP.js +0 -123
- package/dist/chunks/chunk-UH5WNJXF.js +0 -92
- package/dist/chunks/compaction-config-3WLLNN57.js +0 -2
- package/dist/chunks/host-LWUSSCWH.js +0 -2
- package/dist/chunks/run-manager-PBMOVP7A.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as KodaXProviderConfig, k as KodaXMessage, a2 as KodaXToolDefinition, I as KodaXReasoningRequest, z as KodaXProviderStreamOptions, O as KodaXStreamResult, a8 as KodaXVerifyCredentialResult, l as KodaXModelDescriptor, q as KodaXProviderCapabilityProfile, C as KodaXReasoningCapability, H as KodaXReasoningProfile, n as KodaXNormalizedReasoningRequest, aa as KodaXWireReasoningEffort } from './types.d-
|
|
1
|
+
import { r as KodaXProviderConfig, k as KodaXMessage, a2 as KodaXToolDefinition, I as KodaXReasoningRequest, z as KodaXProviderStreamOptions, O as KodaXStreamResult, a8 as KodaXVerifyCredentialResult, l as KodaXModelDescriptor, q as KodaXProviderCapabilityProfile, C as KodaXReasoningCapability, H as KodaXReasoningProfile, n as KodaXNormalizedReasoningRequest, aa as KodaXWireReasoningEffort } from './types.d-CK9A9rpP.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Retry-After header parsing — FEATURE_130 (v0.7.36).
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { V as KodaXGoalState, ab as KodaXSessionLineage, g as AgentActorStore, K as AgentTurnExecutor, l as AgentBudgetPort, b as AgentActorOwner, a as AgentActorClient, t as AgentExecutionResult, Y as KodaXJsonValue, Q as KodaXExtensionSessionRecord, R as KodaXExtensionSessionState, a2 as KodaXSessionArtifactLedgerEntry, ba as SessionErrorMetadata, aj as KodaXSessionScope, ak as KodaXSessionStorage, aE as MemoryContextIdentity, aQ as MemoryPack, b4 as MemoryReviewPlan, $ as KodaXMemoryOutcomeDigest, b5 as MemoryReviewRunner } from './types.d-
|
|
1
|
+
import { V as KodaXGoalState, ab as KodaXSessionLineage, g as AgentActorStore, K as AgentTurnExecutor, l as AgentBudgetPort, b as AgentActorOwner, a as AgentActorClient, t as AgentExecutionResult, Y as KodaXJsonValue, Q as KodaXExtensionSessionRecord, R as KodaXExtensionSessionState, a2 as KodaXSessionArtifactLedgerEntry, ba as SessionErrorMetadata, aj as KodaXSessionScope, ak as KodaXSessionStorage, aE as MemoryContextIdentity, aQ as MemoryPack, b4 as MemoryReviewPlan, $ as KodaXMemoryOutcomeDigest, b5 as MemoryReviewRunner } from './types.d-sW-OqiFt.js';
|
|
2
2
|
import { Diagnostic, Position, Location, Hover, DocumentSymbol, SymbolInformation, WorkspaceSymbol, CallHierarchyItem, CallHierarchyIncomingCall, CallHierarchyOutgoingCall } from 'vscode-languageserver-protocol';
|
|
3
|
-
import { a1 as KodaXTokenUsage, k as KodaXMessage, a2 as KodaXToolDefinition, aa as KodaXWireReasoningEffort, V as KodaXTaskRoutingDecision, W as KodaXTaskType, X as KodaXTaskWorkIntent, R as KodaXTaskComplexity, M as KodaXRiskLevel, h as KodaXHarnessProfile, f as KodaXExecutionMode, b as KodaXChildFanoutClass, G as KodaXReasoningMode, L as KodaXReviewScale } from './types.d-
|
|
4
|
-
import { P as AgentMessage, ct as StopHookFn, o as AgentControllerHealth, G as AgentExecutorPlaneBinding, f as Agent, cV as WorkflowIsolation, aN as GuardrailPermissionIntent, ac as AskUserQuestionOptions, a8 as AskUserAnswer, aa as AskUserMultiOptions, cS as WorkflowEventCorrelation, am as CompactionUpdate, d7 as WorkflowProcessEvent, cR as WorkflowEvent, aJ as Guardrail, at as DiscoveredInstance, a$ as KodaXInputArtifact, cJ as UnifiedLearningReviewRunner } from './controller.d-
|
|
3
|
+
import { a1 as KodaXTokenUsage, k as KodaXMessage, a2 as KodaXToolDefinition, aa as KodaXWireReasoningEffort, V as KodaXTaskRoutingDecision, W as KodaXTaskType, X as KodaXTaskWorkIntent, R as KodaXTaskComplexity, M as KodaXRiskLevel, h as KodaXHarnessProfile, f as KodaXExecutionMode, b as KodaXChildFanoutClass, G as KodaXReasoningMode, L as KodaXReviewScale } from './types.d-CK9A9rpP.js';
|
|
4
|
+
import { P as AgentMessage, ct as StopHookFn, o as AgentControllerHealth, G as AgentExecutorPlaneBinding, f as Agent, cV as WorkflowIsolation, aN as GuardrailPermissionIntent, ac as AskUserQuestionOptions, a8 as AskUserAnswer, aa as AskUserMultiOptions, cS as WorkflowEventCorrelation, am as CompactionUpdate, d7 as WorkflowProcessEvent, cR as WorkflowEvent, aJ as Guardrail, at as DiscoveredInstance, a$ as KodaXInputArtifact, cJ as UnifiedLearningReviewRunner } from './controller.d-Dif9pbC9.js';
|
|
5
5
|
import { d as SkillDynamicContextExecutor, I as ISkillRegistry } from './types.d-BSPlmJqf.js';
|
|
6
6
|
import { K as KodaXLlmTimeoutConfig, a as CostTracker } from './cost-tracker.d-BeaenODW.js';
|
|
7
7
|
import { p as MemoryRecallRunner } from './types-PHjfwebT.js';
|
|
8
8
|
import { C as CapabilityKind, f as CapabilitySearchSnapshot, b as CapabilityResult } from './capability.d-K664nHOS.js';
|
|
9
|
-
import { K as KodaXBaseProvider } from './base.d-
|
|
9
|
+
import { K as KodaXBaseProvider } from './base.d-vopO1rml.js';
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* FEATURE_192 v0.7.44 Phase C — Goal-tools execution context.
|
|
@@ -2854,12 +2854,18 @@ interface KodaXPreparedShellSandboxInvocation {
|
|
|
2854
2854
|
readonly env: NodeJS.ProcessEnv;
|
|
2855
2855
|
readonly windowsVerbatimArguments?: boolean;
|
|
2856
2856
|
readonly fileSystemEffectLease?: KodaXFileSystemEffectLease;
|
|
2857
|
-
|
|
2857
|
+
/** Full sandbox policy identity used to coordinate compatible Windows ACL sessions. */
|
|
2858
|
+
readonly fileSystemEffectPolicyKey?: string;
|
|
2859
|
+
/** Final synchronous sandbox-safety check immediately before the effect gate starts the target. */
|
|
2860
|
+
readonly authorizeStart?: () => void;
|
|
2861
|
+
cleanup(input?: {
|
|
2862
|
+
readonly execution: 'not_started' | 'started_or_unknown';
|
|
2863
|
+
}): Promise<KodaXShellSandboxObservation | undefined>;
|
|
2864
|
+
/** Evicts a cleanup-requested sandbox session; its safe reset may drain asynchronously. */
|
|
2865
|
+
readonly retire?: () => Promise<void>;
|
|
2858
2866
|
}
|
|
2859
2867
|
/** Runtime-owned OS sandbox broker for selected concrete shell calls. */
|
|
2860
2868
|
interface KodaXShellSandbox {
|
|
2861
|
-
/** Selected calls must not fall back to ordinary host execution. */
|
|
2862
|
-
readonly failClosed?: boolean;
|
|
2863
2869
|
/**
|
|
2864
2870
|
* Host-trusted proof that the prepared root cannot settle while one of its
|
|
2865
2871
|
* descendants remains alive. Omitted adapters remain source-compatible but
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as KodaXMessage } from './types.d-
|
|
2
|
-
import { P as AgentMessage, cd as SessionEntry, cb as Session, ce as SessionExtension, ai as CompactionDetails, aH as FileOperations, cY as WorkflowMeta, cZ as WorkflowModelHint, c_ as WorkflowModule } from './controller.d-
|
|
3
|
-
import { ab as KodaXSessionLineage, Y as KodaXJsonValue, P as KodaXCompactMemorySeed, a7 as KodaXSessionEntry, al as KodaXSessionTreeNode, aa as KodaXSessionLabelEntry, a9 as KodaXSessionGoalEntry, a4 as KodaXSessionClientNoticeEntry, ah as KodaXSessionRewindMarkerEntry, ac as KodaXSessionMemoryOutcomeDigestEntry, ad as KodaXSessionMemoryReviewReceiptEntry, ag as KodaXSessionNavigationOptions, a2 as KodaXSessionArtifactLedgerEntry } from './types.d-
|
|
1
|
+
import { k as KodaXMessage } from './types.d-CK9A9rpP.js';
|
|
2
|
+
import { P as AgentMessage, cd as SessionEntry, cb as Session, ce as SessionExtension, ai as CompactionDetails, aH as FileOperations, cY as WorkflowMeta, cZ as WorkflowModelHint, c_ as WorkflowModule } from './controller.d-Dif9pbC9.js';
|
|
3
|
+
import { ab as KodaXSessionLineage, Y as KodaXJsonValue, P as KodaXCompactMemorySeed, a7 as KodaXSessionEntry, al as KodaXSessionTreeNode, aa as KodaXSessionLabelEntry, a9 as KodaXSessionGoalEntry, a4 as KodaXSessionClientNoticeEntry, ah as KodaXSessionRewindMarkerEntry, ac as KodaXSessionMemoryOutcomeDigestEntry, ad as KodaXSessionMemoryReviewReceiptEntry, ag as KodaXSessionNavigationOptions, a2 as KodaXSessionArtifactLedgerEntry } from './types.d-sW-OqiFt.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @kodax-ai/agent Constants
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aE as MemoryContextIdentity, aM as MemoryItemRef, ab as KodaXSessionLineage, a2 as KodaXSessionArtifactLedgerEntry, aI as MemoryEvent, b5 as MemoryReviewRunner, aP as MemoryManagementController, au as MemoryActionProposal, ax as MemoryApplyResult, aX as MemoryRejectResult, aV as MemoryRefFilter, aC as MemoryBodySnapshot, aY as MemoryRememberInput, aZ as MemoryRememberResult, aO as MemoryLifecycleOperationResult, aG as MemoryCuratorInput, aL as MemoryGovernanceReport, aA as MemoryAutoCuratorInput, aB as MemoryAutoCuratorResult, aS as MemoryPackInput, aQ as MemoryPack, b0 as MemoryReviewInput, b4 as MemoryReviewPlan, $ as KodaXMemoryOutcomeDigest, b1 as MemoryReviewModelInput, aH as MemoryEpisodeReviewResult } from './types.d-
|
|
1
|
+
import { aE as MemoryContextIdentity, aM as MemoryItemRef, ab as KodaXSessionLineage, a2 as KodaXSessionArtifactLedgerEntry, aI as MemoryEvent, b5 as MemoryReviewRunner, aP as MemoryManagementController, au as MemoryActionProposal, ax as MemoryApplyResult, aX as MemoryRejectResult, aV as MemoryRefFilter, aC as MemoryBodySnapshot, aY as MemoryRememberInput, aZ as MemoryRememberResult, aO as MemoryLifecycleOperationResult, aG as MemoryCuratorInput, aL as MemoryGovernanceReport, aA as MemoryAutoCuratorInput, aB as MemoryAutoCuratorResult, aS as MemoryPackInput, aQ as MemoryPack, b0 as MemoryReviewInput, b4 as MemoryReviewPlan, $ as KodaXMemoryOutcomeDigest, b1 as MemoryReviewModelInput, aH as MemoryEpisodeReviewResult } from './types.d-sW-OqiFt.js';
|
|
2
2
|
|
|
3
3
|
interface CreateMemoryControlPlaneOptions {
|
|
4
4
|
readonly cwd: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a2 as KodaXToolDefinition, k as KodaXMessage, G as KodaXReasoningMode, aa as KodaXWireReasoningEffort, a4 as KodaXToolResultContentItem, Z as KodaXThinkingBlock, J as KodaXRedactedThinkingBlock } from './types.d-
|
|
2
|
-
import { b1 as MemoryReviewModelInput, $ as KodaXMemoryOutcomeDigest, b4 as MemoryReviewPlan, P as KodaXCompactMemorySeed, a2 as KodaXSessionArtifactLedgerEntry, m as AgentCapabilities, K as AgentTurnExecutor, s as AgentExecutionKind, l as AgentBudgetPort, g as AgentActorStore, b as AgentActorOwner, p as AgentEvent, z as AgentMailboxMessage, a as AgentActorClient, t as AgentExecutionResult, H as AgentSpawnInput, C as AgentMutationOptions, L as AgentTurnRef, n as AgentDataClassification, B as AgentMetadataValue, u as AgentFollowupResult, w as AgentInterruptScope, I as AgentTreeSnapshot, o as AgentDetail, D as AgentOutput } from './types.d-
|
|
1
|
+
import { a2 as KodaXToolDefinition, k as KodaXMessage, G as KodaXReasoningMode, aa as KodaXWireReasoningEffort, a4 as KodaXToolResultContentItem, Z as KodaXThinkingBlock, J as KodaXRedactedThinkingBlock } from './types.d-CK9A9rpP.js';
|
|
2
|
+
import { b1 as MemoryReviewModelInput, $ as KodaXMemoryOutcomeDigest, b4 as MemoryReviewPlan, P as KodaXCompactMemorySeed, a2 as KodaXSessionArtifactLedgerEntry, m as AgentCapabilities, K as AgentTurnExecutor, s as AgentExecutionKind, l as AgentBudgetPort, g as AgentActorStore, b as AgentActorOwner, p as AgentEvent, z as AgentMailboxMessage, a as AgentActorClient, t as AgentExecutionResult, H as AgentSpawnInput, C as AgentMutationOptions, L as AgentTurnRef, n as AgentDataClassification, B as AgentMetadataValue, u as AgentFollowupResult, w as AgentInterruptScope, I as AgentTreeSnapshot, o as AgentDetail, D as AgentOutput } from './types.d-sW-OqiFt.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Layer A Primitive: Agent / Handoff / Guardrail / AgentReasoningProfile
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { b as McpServersConfig, M as McpConnectMode, a as McpServerConfig, c as McpTransportKind } from './config.d-CJy1WENT.js';
|
|
2
|
-
import { K as KodaXBaseProvider } from './base.d-
|
|
2
|
+
import { K as KodaXBaseProvider } from './base.d-vopO1rml.js';
|
|
3
3
|
import { a as CostTracker } from './cost-tracker.d-BeaenODW.js';
|
|
4
|
-
import { c5 as RunnerToolCall, cB as ToolGuardrail } from './controller.d-
|
|
5
|
-
import { k as KodaXMessage } from './types.d-
|
|
6
|
-
import { S as SideQueryDiagnostics } from './side-query.d-
|
|
7
|
-
import { bB as ToolSideEffect } from './bash-prefix-extractor.d-
|
|
4
|
+
import { c5 as RunnerToolCall, cB as ToolGuardrail } from './controller.d-Dif9pbC9.js';
|
|
5
|
+
import { k as KodaXMessage } from './types.d-CK9A9rpP.js';
|
|
6
|
+
import { S as SideQueryDiagnostics } from './side-query.d-iH0P9ASy.js';
|
|
7
|
+
import { bB as ToolSideEffect } from './bash-prefix-extractor.d-B36OQwNA.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* FEATURE_200 Phase F (v0.7.45) — MCP domain types extracted from types.ts.
|
|
@@ -727,10 +727,6 @@ interface AutoModeGuardrailConfig {
|
|
|
727
727
|
* infrastructure or its response contract fails.
|
|
728
728
|
*/
|
|
729
729
|
readonly allowOnClassifierFailure?: (call: RunnerToolCall) => boolean | Promise<boolean>;
|
|
730
|
-
/** Whether ordinary bash calls can be enforced by an OS workspace sandbox. */
|
|
731
|
-
readonly workspaceShellSandboxAvailable?: boolean;
|
|
732
|
-
/** Host invariant: every allowed Bash call must receive exact fail-closed admission. */
|
|
733
|
-
readonly requireWorkspaceShellSandbox?: boolean;
|
|
734
730
|
/** Mint one exact bash call for workspace-sandboxed execution. */
|
|
735
731
|
readonly admitWorkspaceSandboxCall?: (call: RunnerToolCall, review: AutoModePermissionReview) => void;
|
|
736
732
|
/**
|
|
@@ -875,8 +871,6 @@ interface AutoModeGuardrailConfig {
|
|
|
875
871
|
interface AgentHomeShellBoundaryGuardrailOptions {
|
|
876
872
|
readonly projectRoot: string;
|
|
877
873
|
readonly executionCwd: string;
|
|
878
|
-
readonly failClosedShellSandbox: boolean;
|
|
879
|
-
readonly effectTreeContainmentAvailable?: boolean;
|
|
880
874
|
readonly protectedReadReviewAvailable?: boolean;
|
|
881
875
|
}
|
|
882
876
|
/**
|
package/dist/types-chunks/{history-retrieval.d-Debbzn1z.d.ts → history-retrieval.d-YJQpQt7h.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as KodaXMessage } from './types.d-
|
|
2
|
-
import { ab as KodaXSessionLineage } from './types.d-
|
|
1
|
+
import { k as KodaXMessage } from './types.d-CK9A9rpP.js';
|
|
2
|
+
import { ab as KodaXSessionLineage } from './types.d-sW-OqiFt.js';
|
|
3
3
|
|
|
4
4
|
type KodaXSessionHistoryScope = 'compacted' | 'all';
|
|
5
5
|
type KodaXSessionHistorySource = 'user' | 'assistant' | 'system' | 'tool' | 'child_task';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as BashPrefixExtractor, t as KodaXAgentMode } from './bash-prefix-extractor.d-
|
|
2
|
-
import { G as KodaXReasoningMode, k as KodaXMessage, T as KodaXTaskResultMetadata } from './types.d-
|
|
3
|
-
import { bF as LearningSurfaceSnapshot$1, bA as LearningQuery, bz as LearningPage, bc as LearnedCapabilityRecord, bv as LearningEvent, bE as LearningSubscribeOptions, aj as CompactionReport } from './controller.d-
|
|
4
|
-
import { a6 as KodaXSessionData, ab as KodaXSessionLineage, ag as KodaXSessionNavigationOptions, ai as KodaXSessionRuntimeInfo, ak as KodaXSessionStorage, a7 as KodaXSessionEntry, a2 as KodaXSessionArtifactLedgerEntry, Q as KodaXExtensionSessionRecord, am as KodaXSessionUiHistoryItem, aj as KodaXSessionScope, c as AgentActorSnapshot, Y as KodaXJsonValue } from './types.d-
|
|
1
|
+
import { a as BashPrefixExtractor, t as KodaXAgentMode } from './bash-prefix-extractor.d-B36OQwNA.js';
|
|
2
|
+
import { G as KodaXReasoningMode, k as KodaXMessage, T as KodaXTaskResultMetadata } from './types.d-CK9A9rpP.js';
|
|
3
|
+
import { bF as LearningSurfaceSnapshot$1, bA as LearningQuery, bz as LearningPage, bc as LearnedCapabilityRecord, bv as LearningEvent, bE as LearningSubscribeOptions, aj as CompactionReport } from './controller.d-Dif9pbC9.js';
|
|
4
|
+
import { a6 as KodaXSessionData, ab as KodaXSessionLineage, ag as KodaXSessionNavigationOptions, ai as KodaXSessionRuntimeInfo, ak as KodaXSessionStorage, a7 as KodaXSessionEntry, a2 as KodaXSessionArtifactLedgerEntry, Q as KodaXExtensionSessionRecord, am as KodaXSessionUiHistoryItem, aj as KodaXSessionScope, c as AgentActorSnapshot, Y as KodaXJsonValue } from './types.d-sW-OqiFt.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* TextBuffer - Text buffer management class - 文本缓冲区管理类
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as ResolvedAutoModeSettings, b as CommandDefinition, e as CommandSource, c as CommandInfo, C as Command$1, I as InteractiveContext, a as CommandCallbacks, g as CurrentConfig, d as CommandInvocationRequest, f as CommandWorkflowInvocationRequest, p as RuntimeSurfaceStatus } from './utils.d-
|
|
2
|
-
import { ae as SessionStorage$1, S as PermissionMode, L as LearningBinding } from './public-api.d-
|
|
3
|
-
import { a4 as KodaXOptions, ag as KodaXResult } from './bash-prefix-extractor.d-
|
|
4
|
-
import { ak as KodaXSessionStorage, a6 as KodaXSessionData } from './types.d-
|
|
5
|
-
import { t as AutoModeStats } from './guardrail.d-
|
|
1
|
+
import { n as ResolvedAutoModeSettings, b as CommandDefinition, e as CommandSource, c as CommandInfo, C as Command$1, I as InteractiveContext, a as CommandCallbacks, g as CurrentConfig, d as CommandInvocationRequest, f as CommandWorkflowInvocationRequest, p as RuntimeSurfaceStatus } from './utils.d-B65ozSTV.js';
|
|
2
|
+
import { ae as SessionStorage$1, S as PermissionMode, L as LearningBinding } from './public-api.d-D4q3WxKq.js';
|
|
3
|
+
import { a4 as KodaXOptions, ag as KodaXResult } from './bash-prefix-extractor.d-B36OQwNA.js';
|
|
4
|
+
import { ak as KodaXSessionStorage, a6 as KodaXSessionData } from './types.d-sW-OqiFt.js';
|
|
5
|
+
import { t as AutoModeStats } from './guardrail.d-DhpnJv4Y.js';
|
|
6
6
|
|
|
7
7
|
interface ReplRuntimePermissionGrantSuggestion {
|
|
8
8
|
readonly id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as KodaXReasoningMode, N as KodaXStableEffortIntent, aa as KodaXWireReasoningEffort, H as KodaXReasoningProfile, _ as KodaXThinkingBudgetMap, $ as KodaXThinkingDepth, r as KodaXProviderConfig, C as KodaXReasoningCapability, I as KodaXReasoningRequest, n as KodaXNormalizedReasoningRequest, W as KodaXTaskType, a8 as KodaXVerifyCredentialResult, a2 as KodaXToolDefinition, k as KodaXMessage, z as KodaXProviderStreamOptions, O as KodaXStreamResult, l as KodaXModelDescriptor, q as KodaXProviderCapabilityProfile, o as KodaXOpenAICompatMaxOutputTokensField, a9 as KodaXVerifyStrategy, d as KodaXCustomProviderConfig, j as KodaXListModelsResult } from './types.d-
|
|
1
|
+
import { G as KodaXReasoningMode, N as KodaXStableEffortIntent, aa as KodaXWireReasoningEffort, H as KodaXReasoningProfile, _ as KodaXThinkingBudgetMap, $ as KodaXThinkingDepth, r as KodaXProviderConfig, C as KodaXReasoningCapability, I as KodaXReasoningRequest, n as KodaXNormalizedReasoningRequest, W as KodaXTaskType, a8 as KodaXVerifyCredentialResult, a2 as KodaXToolDefinition, k as KodaXMessage, z as KodaXProviderStreamOptions, O as KodaXStreamResult, l as KodaXModelDescriptor, q as KodaXProviderCapabilityProfile, o as KodaXOpenAICompatMaxOutputTokensField, a9 as KodaXVerifyStrategy, d as KodaXCustomProviderConfig, j as KodaXListModelsResult } from './types.d-CK9A9rpP.js';
|
|
2
2
|
import Anthropic from '@anthropic-ai/sdk';
|
|
3
|
-
import { K as KodaXBaseProvider } from './base.d-
|
|
3
|
+
import { K as KodaXBaseProvider } from './base.d-vopO1rml.js';
|
|
4
4
|
import OpenAI from 'openai';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { dj as WorkflowProcessTrackerOptions, cR as WorkflowEvent, dd as WorkflowProcessSnapshot, d7 as WorkflowProcessEvent } from './controller.d-
|
|
1
|
+
import { dj as WorkflowProcessTrackerOptions, cR as WorkflowEvent, dd as WorkflowProcessSnapshot, d7 as WorkflowProcessEvent } from './controller.d-Dif9pbC9.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* FEATURE_246 Part A0 (ADR-046) — neutral workflow run lifecycle manager.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as CreatableHistoryItem, ar as ToolCall } from './public-api.d-
|
|
2
|
-
import { k as KodaXMessage, c as KodaXContentBlock } from './types.d-
|
|
3
|
-
import { am as KodaXSessionUiHistoryItem, aq as KodaXSessionUiToolCall } from './types.d-
|
|
1
|
+
import { h as CreatableHistoryItem, ar as ToolCall } from './public-api.d-D4q3WxKq.js';
|
|
2
|
+
import { k as KodaXMessage, c as KodaXContentBlock } from './types.d-CK9A9rpP.js';
|
|
3
|
+
import { am as KodaXSessionUiHistoryItem, aq as KodaXSessionUiToolCall } from './types.d-sW-OqiFt.js';
|
|
4
4
|
|
|
5
5
|
interface RestoreHistoryItemsFromSessionInput {
|
|
6
6
|
messages: readonly KodaXMessage[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as KodaXMessage, I as KodaXReasoningRequest, a1 as KodaXTokenUsage } from './types.d-
|
|
2
|
-
import { K as KodaXBaseProvider } from './base.d-
|
|
1
|
+
import { k as KodaXMessage, I as KodaXReasoningRequest, a1 as KodaXTokenUsage } from './types.d-CK9A9rpP.js';
|
|
2
|
+
import { K as KodaXBaseProvider } from './base.d-vopO1rml.js';
|
|
3
3
|
import { a as CostTracker } from './cost-tracker.d-BeaenODW.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aa as KodaXWireReasoningEffort, a2 as KodaXToolDefinition, a4 as KodaXToolResultContentItem, k as KodaXMessage } from './types.d-
|
|
2
|
-
import { K as KodaXBaseProvider } from './base.d-
|
|
1
|
+
import { aa as KodaXWireReasoningEffort, a2 as KodaXToolDefinition, a4 as KodaXToolResultContentItem, k as KodaXMessage } from './types.d-CK9A9rpP.js';
|
|
2
|
+
import { K as KodaXBaseProvider } from './base.d-vopO1rml.js';
|
|
3
3
|
import { C as CapabilityKind, a as CapabilityProvider } from './capability.d-K664nHOS.js';
|
|
4
|
-
import { Y as KodaXJsonValue, Q as KodaXExtensionSessionRecord, S as KodaXExtensionStore } from './types.d-
|
|
5
|
-
import { aT as KodaXToolExecutionContext, bB as ToolSideEffect } from './bash-prefix-extractor.d-
|
|
4
|
+
import { Y as KodaXJsonValue, Q as KodaXExtensionSessionRecord, S as KodaXExtensionStore } from './types.d-sW-OqiFt.js';
|
|
5
|
+
import { aT as KodaXToolExecutionContext, bB as ToolSideEffect } from './bash-prefix-extractor.d-B36OQwNA.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* KodaX Constructed-World types (FEATURE_087, v0.7.28).
|
|
@@ -198,7 +198,7 @@ interface KodaXToolDefinition {
|
|
|
198
198
|
type KodaXReasoningCapability = 'native-effort' | 'native-budget' | 'native-toggle' | 'native-adaptive' | 'none' | 'prompt-only' | 'unknown';
|
|
199
199
|
type KodaXStableEffortIntent = 'auto' | 'none' | 'low' | 'medium' | 'high';
|
|
200
200
|
type KodaXWireReasoningEffort = string;
|
|
201
|
-
type KodaXReasoningPresetName = 'zai-glm-5.2' | 'zai-glm-toggle' | 'deepseek-v4-flash-openai' | 'deepseek-v4-pro-openai' | 'deepseek-v4-openai' | 'deepseek-v4-anthropic' | 'deepseek-toggle' | 'kimi-k3' | 'kimi-k2.7-code' | 'kimi-hybrid-toggle' | 'minimax-m3' | 'minimax-m2-always' | 'mimo-v2.5-toggle' | 'qwen-hybrid-thinking' | 'openai-chat-reasoning' | 'openai-responses-reasoning' | 'codex-cli-effort' | 'claude-adaptive-xhigh' | 'claude-adaptive-max' | 'anthropic-budget' | 'generic-thinking-toggle' | 'none';
|
|
201
|
+
type KodaXReasoningPresetName = 'zai-glm-5.3' | 'zai-glm-5.2' | 'zai-glm-toggle' | 'deepseek-v4-flash-openai' | 'deepseek-v4-pro-openai' | 'deepseek-v4-openai' | 'deepseek-v4-anthropic' | 'deepseek-toggle' | 'kimi-k3' | 'kimi-k2.7-code' | 'kimi-hybrid-toggle' | 'minimax-m3' | 'minimax-m2-always' | 'mimo-v2.5-toggle' | 'qwen-hybrid-thinking' | 'openai-chat-reasoning' | 'openai-responses-reasoning' | 'codex-cli-effort' | 'claude-adaptive-xhigh' | 'claude-adaptive-max' | 'anthropic-budget' | 'generic-thinking-toggle' | 'none';
|
|
202
202
|
interface KodaXReasoningEffortRequest {
|
|
203
203
|
readonly value: KodaXWireReasoningEffort;
|
|
204
204
|
readonly isExplicit: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a$ as KodaXInputArtifact } from './controller.d-
|
|
2
|
-
import { T as KodaXTaskResultMetadata } from './types.d-
|
|
1
|
+
import { a$ as KodaXInputArtifact } from './controller.d-Dif9pbC9.js';
|
|
2
|
+
import { T as KodaXTaskResultMetadata } from './types.d-CK9A9rpP.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @kodax-ai/agent/messaging — Message queue types
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { k as KodaXMessage, G as KodaXReasoningMode, d as KodaXCustomProviderConfig, q as KodaXProviderCapabilityProfile } from './types.d-
|
|
2
|
-
import { de as WorkflowProcessSource } from './controller.d-
|
|
3
|
-
import { Q as KodaXContextTokenSnapshot, aw as KodaXSkillDynamicContextPolicy, t as KodaXAgentMode, ab as KodaXRepoIntelligenceMode, a4 as KodaXOptions, ax as KodaXSkillInvocationContext } from './bash-prefix-extractor.d-
|
|
4
|
-
import { e as AgentsFile, t as AutoModeStats, T as KodaXMcpServersConfig } from './guardrail.d-
|
|
1
|
+
import { k as KodaXMessage, G as KodaXReasoningMode, d as KodaXCustomProviderConfig, q as KodaXProviderCapabilityProfile } from './types.d-CK9A9rpP.js';
|
|
2
|
+
import { de as WorkflowProcessSource } from './controller.d-Dif9pbC9.js';
|
|
3
|
+
import { Q as KodaXContextTokenSnapshot, aw as KodaXSkillDynamicContextPolicy, t as KodaXAgentMode, ab as KodaXRepoIntelligenceMode, a4 as KodaXOptions, ax as KodaXSkillInvocationContext } from './bash-prefix-extractor.d-B36OQwNA.js';
|
|
4
|
+
import { e as AgentsFile, t as AutoModeStats, T as KodaXMcpServersConfig } from './guardrail.d-DhpnJv4Y.js';
|
|
5
5
|
import * as readline from 'readline';
|
|
6
|
-
import { am as KodaXSessionUiHistoryItem, ab as KodaXSessionLineage, a2 as KodaXSessionArtifactLedgerEntry, R as KodaXExtensionSessionState, Q as KodaXExtensionSessionRecord, ai as KodaXSessionRuntimeInfo } from './types.d-
|
|
7
|
-
import { S as PermissionMode, L as LearningBinding, G as LearningSurfaceSnapshot } from './public-api.d-
|
|
6
|
+
import { am as KodaXSessionUiHistoryItem, ab as KodaXSessionLineage, a2 as KodaXSessionArtifactLedgerEntry, R as KodaXExtensionSessionState, Q as KodaXExtensionSessionRecord, ai as KodaXSessionRuntimeInfo } from './types.d-sW-OqiFt.js';
|
|
7
|
+
import { S as PermissionMode, L as LearningBinding, G as LearningSurfaceSnapshot } from './public-api.d-D4q3WxKq.js';
|
|
8
8
|
import { SpawnSyncReturns } from 'child_process';
|
|
9
9
|
|
|
10
10
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kodax-ai/kodax",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.87",
|
|
4
4
|
"description": "KodaX lightweight coding agent - TypeScript implementation with 16 built-in LLM provider aliases, published as a Node-free single-file CLI and SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{Ea as a,Fa as b}from"./chunk-IA246OAN.js";import"./chunk-TBBY2DKE.js";import"./chunk-MJ4G5ZCW.js";import"./chunk-CZCEFGQG.js";import"./chunk-RTFVMEF6.js";import"./chunk-ODRLFQQH.js";import"./chunk-HTVLCHWH.js";import"./chunk-SR4E5FQK.js";import"./chunk-ZVOXWLT6.js";import"./chunk-RSOAHVUR.js";import"./chunk-TRNAWSXP.js";import"./chunk-3E4OSFP2.js";import"./chunk-UH5WNJXF.js";import"./chunk-ONUPGMER.js";export{a as ArgumentCompleter,b as createArgumentCompleter};
|