@kodax-ai/kodax 0.7.85 → 0.7.86
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 +93 -1
- package/README.md +1867 -1841
- package/README_CN.md +1136 -1130
- package/dist/chunks/{agent-OQ37XUWF.js → agent-IO6TXNCV.js} +1 -1
- package/dist/chunks/argument-completer-JMICSGL6.js +2 -0
- package/dist/chunks/chunk-2RAXDUC7.js +379 -0
- package/dist/chunks/{chunk-MJ4G5ZCW.js → chunk-A5VQGXH2.js} +1 -1
- package/dist/chunks/{chunk-TBBY2DKE.js → chunk-AAFFS6RU.js} +2 -2
- package/dist/chunks/{chunk-IA246OAN.js → chunk-B36G256E.js} +2 -2
- package/dist/chunks/{chunk-3E4OSFP2.js → chunk-G5FGIRDJ.js} +136 -137
- package/dist/chunks/{chunk-RSOAHVUR.js → chunk-GVGLYVG4.js} +1 -1
- package/dist/chunks/chunk-MFCPQZ7E.js +519 -0
- package/dist/chunks/chunk-Q6UAGROD.js +415 -0
- package/dist/chunks/{chunk-IWRNGH4M.js → chunk-R4EHASEN.js} +5 -5
- package/dist/chunks/{chunk-ZVOXWLT6.js → chunk-U6HNMLNN.js} +226 -214
- package/dist/chunks/{chunk-ODRLFQQH.js → chunk-UKCDCVMD.js} +1 -1
- package/dist/chunks/{chunk-CZCEFGQG.js → chunk-XA4ENCAH.js} +1 -1
- package/dist/chunks/{chunk-SR4E5FQK.js → chunk-XUKLF26Q.js} +2 -2
- package/dist/chunks/{compaction-config-3WLLNN57.js → compaction-config-5RMG22CY.js} +1 -1
- package/dist/chunks/{construction-bootstrap-CZ6NWEWQ.js → construction-bootstrap-4DGAYOWH.js} +1 -1
- package/dist/chunks/{dist-NFLLOZWF.js → dist-DFW7MXT7.js} +1 -1
- package/dist/chunks/host-6MMHYTI5.js +2 -0
- package/dist/chunks/run-manager-ISQSWCAM.js +2 -0
- package/dist/chunks/{utils-KFLK3EHJ.js → utils-LV7FHKYN.js} +1 -1
- package/dist/index.d.ts +8 -8
- 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/runtime-worker.js +1467 -1419
- package/dist/sandbox-workspace-session.js +346 -302
- package/dist/sdk-a2a.d.ts +5 -5
- package/dist/sdk-a2a.js +1 -1
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +8 -8
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-repl.d.ts +9 -11
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +14 -6
- 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 +3 -3
- 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/{bash-prefix-extractor.d-BnZQDirs.d.ts → bash-prefix-extractor.d-QqKtuLZm.d.ts} +9 -3
- package/dist/types-chunks/{guardrail.d-BCkgaWT1.d.ts → guardrail.d-Y_AIh8-I.d.ts} +1 -7
- package/dist/types-chunks/{public-api.d-N6G6Jw8X.d.ts → public-api.d-Cg-4GTbK.d.ts} +1 -1
- package/dist/types-chunks/{repl.d-BkTIOkJD.d.ts → repl.d-Bhrbueab.d.ts} +4 -4
- package/dist/types-chunks/{sdk-session-DLkZTOc-.d.ts → sdk-session-fQ_KENev.d.ts} +1 -1
- package/dist/types-chunks/{shell-command-sets.d-BrLw-WN9.d.ts → shell-command-sets.d-DRGjd_7Q.d.ts} +1 -1
- package/dist/types-chunks/{types.d-Ch3BD97c.d.ts → types.d-BRrJU4pb.d.ts} +1 -1
- package/dist/types-chunks/{utils.d-BI-kjuev.d.ts → utils.d-BIhh_BqE.d.ts} +3 -3
- 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/host-LWUSSCWH.js +0 -2
- package/dist/chunks/run-manager-PBMOVP7A.js +0 -2
|
@@ -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
|
|
@@ -4,7 +4,7 @@ import { a as CostTracker } from './cost-tracker.d-BeaenODW.js';
|
|
|
4
4
|
import { c5 as RunnerToolCall, cB as ToolGuardrail } from './controller.d-Dzxz22X-.js';
|
|
5
5
|
import { k as KodaXMessage } from './types.d-CgrXrFrq.js';
|
|
6
6
|
import { S as SideQueryDiagnostics } from './side-query.d-CP1LiRiH.js';
|
|
7
|
-
import { bB as ToolSideEffect } from './bash-prefix-extractor.d-
|
|
7
|
+
import { bB as ToolSideEffect } from './bash-prefix-extractor.d-QqKtuLZm.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
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as BashPrefixExtractor, t as KodaXAgentMode } from './bash-prefix-extractor.d-
|
|
1
|
+
import { a as BashPrefixExtractor, t as KodaXAgentMode } from './bash-prefix-extractor.d-QqKtuLZm.js';
|
|
2
2
|
import { G as KodaXReasoningMode, k as KodaXMessage, T as KodaXTaskResultMetadata } from './types.d-CgrXrFrq.js';
|
|
3
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-Dzxz22X-.js';
|
|
4
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-DlLBRqZ9.js';
|
|
@@ -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-
|
|
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-BIhh_BqE.js';
|
|
2
|
+
import { ae as SessionStorage$1, S as PermissionMode, L as LearningBinding } from './public-api.d-Cg-4GTbK.js';
|
|
3
|
+
import { a4 as KodaXOptions, ag as KodaXResult } from './bash-prefix-extractor.d-QqKtuLZm.js';
|
|
4
4
|
import { ak as KodaXSessionStorage, a6 as KodaXSessionData } from './types.d-DlLBRqZ9.js';
|
|
5
|
-
import { t as AutoModeStats } from './guardrail.d-
|
|
5
|
+
import { t as AutoModeStats } from './guardrail.d-Y_AIh8-I.js';
|
|
6
6
|
|
|
7
7
|
interface ReplRuntimePermissionGrantSuggestion {
|
|
8
8
|
readonly id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as CreatableHistoryItem, ar as ToolCall } from './public-api.d-
|
|
1
|
+
import { h as CreatableHistoryItem, ar as ToolCall } from './public-api.d-Cg-4GTbK.js';
|
|
2
2
|
import { k as KodaXMessage, c as KodaXContentBlock } from './types.d-CgrXrFrq.js';
|
|
3
3
|
import { am as KodaXSessionUiHistoryItem, aq as KodaXSessionUiToolCall } from './types.d-DlLBRqZ9.js';
|
|
4
4
|
|
|
@@ -2,7 +2,7 @@ import { aa as KodaXWireReasoningEffort, a2 as KodaXToolDefinition, a4 as KodaXT
|
|
|
2
2
|
import { K as KodaXBaseProvider } from './base.d-DxG0m09Z.js';
|
|
3
3
|
import { C as CapabilityKind, a as CapabilityProvider } from './capability.d-K664nHOS.js';
|
|
4
4
|
import { Y as KodaXJsonValue, Q as KodaXExtensionSessionRecord, S as KodaXExtensionStore } from './types.d-DlLBRqZ9.js';
|
|
5
|
-
import { aT as KodaXToolExecutionContext, bB as ToolSideEffect } from './bash-prefix-extractor.d-
|
|
5
|
+
import { aT as KodaXToolExecutionContext, bB as ToolSideEffect } from './bash-prefix-extractor.d-QqKtuLZm.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* KodaX Constructed-World types (FEATURE_087, v0.7.28).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { k as KodaXMessage, G as KodaXReasoningMode, d as KodaXCustomProviderConfig, q as KodaXProviderCapabilityProfile } from './types.d-CgrXrFrq.js';
|
|
2
2
|
import { de as WorkflowProcessSource } from './controller.d-Dzxz22X-.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-
|
|
4
|
-
import { e as AgentsFile, t as AutoModeStats, T as KodaXMcpServersConfig } from './guardrail.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-QqKtuLZm.js';
|
|
4
|
+
import { e as AgentsFile, t as AutoModeStats, T as KodaXMcpServersConfig } from './guardrail.d-Y_AIh8-I.js';
|
|
5
5
|
import * as readline from 'readline';
|
|
6
6
|
import { am as KodaXSessionUiHistoryItem, ab as KodaXSessionLineage, a2 as KodaXSessionArtifactLedgerEntry, R as KodaXExtensionSessionState, Q as KodaXExtensionSessionRecord, ai as KodaXSessionRuntimeInfo } from './types.d-DlLBRqZ9.js';
|
|
7
|
-
import { S as PermissionMode, L as LearningBinding, G as LearningSurfaceSnapshot } from './public-api.d-
|
|
7
|
+
import { S as PermissionMode, L as LearningBinding, G as LearningSurfaceSnapshot } from './public-api.d-Cg-4GTbK.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.86",
|
|
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};
|