@kodax-ai/kodax 0.7.61 → 0.7.63
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 +115 -1
- package/README.md +2 -2
- package/README_CN.md +2 -2
- package/dist/chunks/{agent-E74WVAFR.js → agent-SL444XLN.js} +1 -1
- package/dist/chunks/argument-completer-EN63ZVJK.js +2 -0
- package/dist/chunks/{chunk-XHOPSZVL.js → chunk-4MIHVNB7.js} +96 -96
- package/dist/chunks/chunk-7MPU7TP6.js +624 -0
- package/dist/chunks/{chunk-QCBKLNN5.js → chunk-HP4FXMEM.js} +2 -2
- package/dist/chunks/{chunk-CGGX3FXE.js → chunk-KCFVGXVK.js} +1 -1
- package/dist/chunks/chunk-KHICMJIR.js +310 -0
- package/dist/chunks/{chunk-KIVYMSRH.js → chunk-L3MF5V64.js} +1 -1
- package/dist/chunks/chunk-LGR7ACBQ.js +326 -0
- package/dist/chunks/{chunk-7COB3EKF.js → chunk-RR7W7UF6.js} +152 -152
- package/dist/chunks/chunk-UGTK2JIJ.js +731 -0
- package/dist/chunks/{chunk-2OEKUAV4.js → chunk-VSWROENP.js} +1 -1
- package/dist/chunks/{compaction-config-GESEZQVA.js → compaction-config-4VIONMFB.js} +1 -1
- package/dist/chunks/{construction-bootstrap-OSXHEIBB.js → construction-bootstrap-EFZBONTK.js} +3 -3
- package/dist/chunks/dist-EDF2YUF6.js +2 -0
- package/dist/chunks/host-J4HPDLFC.js +2 -0
- package/dist/chunks/{run-manager-FGCG7DFF.js → run-manager-ZVSW2OWM.js} +1 -1
- package/dist/chunks/{utils-47QI5MSP.js → utils-5HDLYTZJ.js} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2 -2
- package/dist/kodax_cli.js +970 -937
- package/dist/sdk-agent.d.ts +67 -8
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +425 -464
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-repl.d.ts +9 -9
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-session.d.ts +4 -4
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-e1LD2IRl.d.ts → bash-prefix-extractor.d-CZW9fRoa.d.ts} +137 -11
- package/dist/types-chunks/{guardrail.d-CdqJwwN7.d.ts → guardrail.d-MR6LwMB2.d.ts} +2 -2
- package/dist/types-chunks/{process.d-C93UMgPK.d.ts → process.d-CY2g03Mb.d.ts} +274 -15
- package/dist/types-chunks/{run-manager.d-DHPlNYkK.d.ts → run-manager.d-CYTnWhZY.d.ts} +6 -17
- package/dist/types-chunks/{sdk-session-DINrM1pF.d.ts → sdk-session-RBSBBKol.d.ts} +8 -6
- package/dist/types-chunks/{storage.d-xiw7Vgx0.d.ts → storage.d-C6kkAEch.d.ts} +2 -2
- package/dist/types-chunks/{types.d-CSZAMmU-.d.ts → types.d-1CnTg7Sd.d.ts} +1 -1
- package/dist/types-chunks/{utils.d-Dy19-1XR.d.ts → utils.d-C14jZ9ZM.d.ts} +4 -4
- package/package.json +1 -1
- package/dist/chunks/argument-completer-BBFYCVTM.js +0 -2
- package/dist/chunks/chunk-4NSOBQCU.js +0 -322
- package/dist/chunks/chunk-D7CC6YZC.js +0 -600
- package/dist/chunks/chunk-NJW2LQOP.js +0 -722
- package/dist/chunks/chunk-PJXKBM3Y.js +0 -310
- package/dist/chunks/dist-W3OOJP66.js +0 -2
- package/dist/chunks/host-FRQXOEHH.js +0 -2
|
@@ -90,6 +90,13 @@ interface KodaXSessionArchiveMarkerEntry extends KodaXSessionEntryBase {
|
|
|
90
90
|
/** Brief summary of the archived content */
|
|
91
91
|
summary: string;
|
|
92
92
|
}
|
|
93
|
+
interface KodaXSessionRewindMarkerEntry extends KodaXSessionEntryBase {
|
|
94
|
+
type: 'rewind_marker';
|
|
95
|
+
targetId: string;
|
|
96
|
+
fromId?: string;
|
|
97
|
+
truncatedCount: number;
|
|
98
|
+
summary: string;
|
|
99
|
+
}
|
|
93
100
|
interface KodaXSessionClientNoticeEntry extends KodaXSessionEntryBase {
|
|
94
101
|
type: 'client_notice';
|
|
95
102
|
source: string;
|
|
@@ -135,7 +142,7 @@ interface KodaXSessionGoalEntry extends KodaXSessionEntryBase {
|
|
|
135
142
|
goal: KodaXGoalState | null;
|
|
136
143
|
event: KodaXGoalEventType;
|
|
137
144
|
}
|
|
138
|
-
type KodaXSessionEntry = KodaXSessionMessageEntry | KodaXSessionCompactionEntry | KodaXSessionBranchSummaryEntry | KodaXSessionLabelEntry | KodaXSessionArchiveMarkerEntry | KodaXSessionClientNoticeEntry | KodaXSessionGoalEntry;
|
|
145
|
+
type KodaXSessionEntry = KodaXSessionMessageEntry | KodaXSessionCompactionEntry | KodaXSessionBranchSummaryEntry | KodaXSessionLabelEntry | KodaXSessionArchiveMarkerEntry | KodaXSessionRewindMarkerEntry | KodaXSessionClientNoticeEntry | KodaXSessionGoalEntry;
|
|
139
146
|
interface KodaXSessionArtifactLedgerEntry {
|
|
140
147
|
id: string;
|
|
141
148
|
kind: 'file_read' | 'file_modified' | 'file_created' | 'file_deleted' | 'path_scope' | 'search_scope' | 'command_scope' | 'check_result' | 'decision' | 'image_input' | 'tombstone';
|
|
@@ -172,7 +179,7 @@ interface KodaXSessionNavigationOptions {
|
|
|
172
179
|
summarizeCurrentBranch?: boolean;
|
|
173
180
|
}
|
|
174
181
|
interface KodaXSessionTreeNode {
|
|
175
|
-
entry: Exclude<KodaXSessionEntry, KodaXSessionLabelEntry | KodaXSessionGoalEntry | KodaXSessionClientNoticeEntry>;
|
|
182
|
+
entry: Exclude<KodaXSessionEntry, KodaXSessionLabelEntry | KodaXSessionGoalEntry | KodaXSessionClientNoticeEntry | KodaXSessionRewindMarkerEntry>;
|
|
176
183
|
children: KodaXSessionTreeNode[];
|
|
177
184
|
label?: string;
|
|
178
185
|
active: boolean;
|
|
@@ -2053,6 +2060,14 @@ interface AskUserQuestionItem {
|
|
|
2053
2060
|
* of parsing it out of natural-language question text.
|
|
2054
2061
|
*/
|
|
2055
2062
|
maxSelections?: number;
|
|
2063
|
+
/**
|
|
2064
|
+
* Choice surfaces are open-ended by default: hosts SHOULD offer a synthetic
|
|
2065
|
+
* custom-input option unless this is explicitly false.
|
|
2066
|
+
*/
|
|
2067
|
+
allowCustomInput?: boolean;
|
|
2068
|
+
customInputLabel?: string;
|
|
2069
|
+
customInputPrompt?: string;
|
|
2070
|
+
customInputDefault?: string;
|
|
2056
2071
|
}
|
|
2057
2072
|
/** Options for multi-question mode — multiple independent questions in one call. */
|
|
2058
2073
|
interface AskUserMultiOptions {
|
|
@@ -2074,7 +2089,23 @@ interface AskUserQuestionOptions {
|
|
|
2074
2089
|
/** FEATURE_222 — see {@link AskUserQuestionItem.maxSelections}. */
|
|
2075
2090
|
maxSelections?: number;
|
|
2076
2091
|
default?: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* Choice surfaces are open-ended by default: hosts SHOULD offer a synthetic
|
|
2094
|
+
* custom-input option unless this is explicitly false.
|
|
2095
|
+
*/
|
|
2096
|
+
allowCustomInput?: boolean;
|
|
2097
|
+
customInputLabel?: string;
|
|
2098
|
+
customInputPrompt?: string;
|
|
2099
|
+
customInputDefault?: string;
|
|
2077
2100
|
}
|
|
2101
|
+
/** Host return value for a user-entered answer chosen through a select dialog's
|
|
2102
|
+
* synthetic "Other..." option. */
|
|
2103
|
+
interface AskUserCustomInputAnswer {
|
|
2104
|
+
kind: 'customInput';
|
|
2105
|
+
value: string;
|
|
2106
|
+
}
|
|
2107
|
+
type AskUserSelectionAnswer = string | AskUserCustomInputAnswer;
|
|
2108
|
+
type AskUserAnswer = AskUserSelectionAnswer | AskUserSelectionAnswer[];
|
|
2078
2109
|
/**
|
|
2079
2110
|
* FEATURE_222 — reserved option value a host may append as a synthetic option
|
|
2080
2111
|
* (e.g. a "← Back" entry) in `askUserMulti`'s per-question flow to mean "return
|
|
@@ -2086,6 +2117,9 @@ interface AskUserQuestionOptions {
|
|
|
2086
2117
|
* back-navigation — the default multi-question flow is unaffected either way.
|
|
2087
2118
|
*/
|
|
2088
2119
|
declare const ASK_USER_BACK_SIGNAL = "__back__";
|
|
2120
|
+
/** Reserved synthetic option value for a host-provided custom input entry. */
|
|
2121
|
+
declare const ASK_USER_CUSTOM_INPUT_SIGNAL = "__custom_input__";
|
|
2122
|
+
declare function isAskUserCustomInputAnswer(value: unknown): value is AskUserCustomInputAnswer;
|
|
2089
2123
|
/**
|
|
2090
2124
|
* FEATURE_222 — narrow an `askUser` result to a single string for the many
|
|
2091
2125
|
* callers that only ever ask single-select questions (they never set
|
|
@@ -2093,7 +2127,7 @@ declare const ASK_USER_BACK_SIGNAL = "__back__";
|
|
|
2093
2127
|
* an unexpected array to its first element so a mis-configured host degrades
|
|
2094
2128
|
* predictably instead of leaking `[object Array]` into a string comparison.
|
|
2095
2129
|
*/
|
|
2096
|
-
declare function asSingleSelection(answer:
|
|
2130
|
+
declare function asSingleSelection(answer: AskUserAnswer): string;
|
|
2097
2131
|
/**
|
|
2098
2132
|
* The host-provided user-interaction surface. Each method is optional — a
|
|
2099
2133
|
* headless host omits them and callers degrade gracefully. This is the single
|
|
@@ -2102,18 +2136,17 @@ declare function asSingleSelection(answer: string | string[]): string;
|
|
|
2102
2136
|
*/
|
|
2103
2137
|
interface UserInteraction {
|
|
2104
2138
|
/**
|
|
2105
|
-
* Ask one question (select mode by default). Single-select
|
|
2106
|
-
*
|
|
2107
|
-
*
|
|
2108
|
-
*
|
|
2109
|
-
*
|
|
2110
|
-
* so option values containing `, ` are not corrupted by a join.
|
|
2139
|
+
* Ask one question (select mode by default). Single-select resolves the
|
|
2140
|
+
* chosen option value as a string. Multi-select resolves the selected values
|
|
2141
|
+
* as an array. If the user chooses the host-provided custom-input option,
|
|
2142
|
+
* return `{ kind: 'customInput', value }` in the single or array position.
|
|
2143
|
+
* Plain string/string[] hosts remain valid for backward compatibility.
|
|
2111
2144
|
*/
|
|
2112
|
-
askUser?: (options: AskUserQuestionOptions) => Promise<
|
|
2145
|
+
askUser?: (options: AskUserQuestionOptions) => Promise<AskUserAnswer>;
|
|
2113
2146
|
/** Ask several independent questions sequentially. Resolves a per-question
|
|
2114
|
-
* value map
|
|
2115
|
-
*
|
|
2116
|
-
askUserMulti?: (options: AskUserMultiOptions) => Promise<Record<string,
|
|
2147
|
+
* value map using the same `AskUserAnswer` shape as `askUser`, or undefined
|
|
2148
|
+
* when the user cancels. */
|
|
2149
|
+
askUserMulti?: (options: AskUserMultiOptions) => Promise<Record<string, AskUserAnswer> | undefined>;
|
|
2117
2150
|
/** Ask for free-text input. Resolves the text, or undefined when cancelled. */
|
|
2118
2151
|
askUserInput?: (options: {
|
|
2119
2152
|
question: string;
|
|
@@ -2530,6 +2563,232 @@ interface DiscoveryOptions {
|
|
|
2530
2563
|
*/
|
|
2531
2564
|
declare function discoverInstances(options?: DiscoveryOptions): DiscoveredInstance[];
|
|
2532
2565
|
|
|
2566
|
+
type MemoryRefKind = 'working_context' | 'session_trace' | 'artifact_ledger' | 'learning_proposal' | 'memdir' | 'skill' | 'workflow_run' | 'reasoning_report' | 'self_manual' | 'project_doc';
|
|
2567
|
+
type MemoryScope = 'turn' | 'session' | 'project' | 'user' | 'builtin';
|
|
2568
|
+
type MemoryLifecycle = 'pending' | 'active' | 'provisional' | 'trusted' | 'stale' | 'quarantined' | 'archived' | 'readonly';
|
|
2569
|
+
type MemoryAuthority = 'read_only' | 'proposal_only' | 'approved_write';
|
|
2570
|
+
type MemoryVisibility = 'prompt_safe' | 'private' | 'sensitive';
|
|
2571
|
+
interface MemoryItemRef {
|
|
2572
|
+
readonly kind: MemoryRefKind;
|
|
2573
|
+
readonly id: string;
|
|
2574
|
+
readonly scope: MemoryScope;
|
|
2575
|
+
readonly title?: string;
|
|
2576
|
+
readonly owner: 'user' | 'project' | 'kodax' | 'external';
|
|
2577
|
+
readonly lifecycle: MemoryLifecycle;
|
|
2578
|
+
readonly authority: MemoryAuthority;
|
|
2579
|
+
readonly visibility: MemoryVisibility;
|
|
2580
|
+
readonly sourceRefs: readonly string[];
|
|
2581
|
+
readonly relatedRefs: readonly string[];
|
|
2582
|
+
readonly version?: string;
|
|
2583
|
+
readonly bodyFingerprint?: string;
|
|
2584
|
+
readonly storageUri?: string;
|
|
2585
|
+
readonly createdAt?: string;
|
|
2586
|
+
readonly updatedAt?: string;
|
|
2587
|
+
readonly lastUsedAt?: string;
|
|
2588
|
+
readonly pinned?: boolean;
|
|
2589
|
+
}
|
|
2590
|
+
interface MemoryRefFilter {
|
|
2591
|
+
readonly kinds?: readonly MemoryRefKind[];
|
|
2592
|
+
readonly scopes?: readonly MemoryScope[];
|
|
2593
|
+
readonly lifecycles?: readonly MemoryLifecycle[];
|
|
2594
|
+
readonly includePrivate?: boolean;
|
|
2595
|
+
readonly includeSensitive?: boolean;
|
|
2596
|
+
readonly query?: string;
|
|
2597
|
+
}
|
|
2598
|
+
interface MemoryBodySnapshot {
|
|
2599
|
+
readonly ref: MemoryItemRef;
|
|
2600
|
+
readonly body: string;
|
|
2601
|
+
readonly bodyFingerprint: string;
|
|
2602
|
+
readonly frontmatter?: Readonly<Record<string, string>>;
|
|
2603
|
+
readonly readAt: string;
|
|
2604
|
+
readonly warnings: readonly string[];
|
|
2605
|
+
}
|
|
2606
|
+
type MemoryProposalAction = 'no_op' | 'link_refs' | 'write_memdir' | 'patch_memdir' | 'handoff_to_skill_loop' | 'quarantine' | 'archive' | 'conflict_report';
|
|
2607
|
+
interface MemoryApplyPreview {
|
|
2608
|
+
readonly summary: string;
|
|
2609
|
+
readonly changedRefs: readonly MemoryItemRef[];
|
|
2610
|
+
readonly changedPaths: readonly string[];
|
|
2611
|
+
readonly beforeFingerprints: Readonly<Record<string, string>>;
|
|
2612
|
+
readonly afterFingerprints?: Readonly<Record<string, string>>;
|
|
2613
|
+
readonly diff?: string;
|
|
2614
|
+
readonly warnings: readonly string[];
|
|
2615
|
+
}
|
|
2616
|
+
interface MemoryActionProposal {
|
|
2617
|
+
readonly id: string;
|
|
2618
|
+
readonly action: MemoryProposalAction;
|
|
2619
|
+
readonly targetRefs: readonly MemoryItemRef[];
|
|
2620
|
+
readonly sourceRefs: readonly MemoryItemRef[];
|
|
2621
|
+
readonly expectedFingerprints: Readonly<Record<string, string>>;
|
|
2622
|
+
readonly rationale: string;
|
|
2623
|
+
readonly risk: 'low' | 'medium' | 'high';
|
|
2624
|
+
readonly preview: MemoryApplyPreview;
|
|
2625
|
+
readonly requiresApproval: true;
|
|
2626
|
+
readonly createdAt: string;
|
|
2627
|
+
}
|
|
2628
|
+
interface MemoryApproval {
|
|
2629
|
+
readonly proposalId: string;
|
|
2630
|
+
readonly approvedBy: 'user' | 'host';
|
|
2631
|
+
readonly approvedAt: string;
|
|
2632
|
+
readonly expectedFingerprints: Readonly<Record<string, string>>;
|
|
2633
|
+
}
|
|
2634
|
+
interface MemoryApplyResult {
|
|
2635
|
+
readonly proposalId: string;
|
|
2636
|
+
readonly applied: boolean;
|
|
2637
|
+
readonly changedRefs: readonly MemoryItemRef[];
|
|
2638
|
+
readonly changedPaths: readonly string[];
|
|
2639
|
+
readonly skippedReason?: string;
|
|
2640
|
+
readonly warnings: readonly string[];
|
|
2641
|
+
}
|
|
2642
|
+
interface MemoryRejectResult {
|
|
2643
|
+
readonly proposalId: string;
|
|
2644
|
+
readonly rejected: boolean;
|
|
2645
|
+
readonly skippedReason?: string;
|
|
2646
|
+
readonly review?: MemoryReviewPlan;
|
|
2647
|
+
readonly warnings: readonly string[];
|
|
2648
|
+
}
|
|
2649
|
+
interface MemorySourceAdapter {
|
|
2650
|
+
readonly kind: MemoryRefKind;
|
|
2651
|
+
listRefs(filter?: MemoryRefFilter): Promise<readonly MemoryItemRef[]>;
|
|
2652
|
+
readRef(ref: MemoryItemRef): Promise<MemoryBodySnapshot>;
|
|
2653
|
+
previewProposal(proposal: MemoryActionProposal): Promise<MemoryApplyPreview>;
|
|
2654
|
+
applyProposal(proposal: MemoryActionProposal, approval: MemoryApproval): Promise<MemoryApplyResult>;
|
|
2655
|
+
}
|
|
2656
|
+
interface MemoryCuratorInput {
|
|
2657
|
+
readonly includePrivate?: boolean;
|
|
2658
|
+
readonly includeSensitive?: boolean;
|
|
2659
|
+
}
|
|
2660
|
+
interface MemoryAutoCuratorInput extends MemoryCuratorInput {
|
|
2661
|
+
readonly enabled?: boolean;
|
|
2662
|
+
readonly intervalMs?: number;
|
|
2663
|
+
readonly minRefs?: number;
|
|
2664
|
+
}
|
|
2665
|
+
type MemoryAutoCuratorSkipReason = 'disabled' | 'not_due' | 'insufficient_refs';
|
|
2666
|
+
interface MemoryAutoCuratorResult {
|
|
2667
|
+
readonly ran: boolean;
|
|
2668
|
+
readonly skippedReason?: MemoryAutoCuratorSkipReason;
|
|
2669
|
+
readonly report?: MemoryGovernanceReport;
|
|
2670
|
+
readonly reportPath?: string;
|
|
2671
|
+
readonly nextEligibleAt?: string;
|
|
2672
|
+
}
|
|
2673
|
+
type MemoryGovernanceFindingKind = 'duplicate' | 'conflict' | 'stale' | 'quarantined' | 'orphaned' | 'no_op';
|
|
2674
|
+
interface MemoryGovernanceFinding {
|
|
2675
|
+
readonly kind: MemoryGovernanceFindingKind;
|
|
2676
|
+
readonly severity: 'info' | 'warning' | 'error';
|
|
2677
|
+
readonly refIds: readonly string[];
|
|
2678
|
+
readonly summary: string;
|
|
2679
|
+
readonly suggestedAction: MemoryProposalAction;
|
|
2680
|
+
}
|
|
2681
|
+
interface MemoryGovernanceReport {
|
|
2682
|
+
readonly reportId: string;
|
|
2683
|
+
readonly generatedAt: string;
|
|
2684
|
+
readonly findings: readonly MemoryGovernanceFinding[];
|
|
2685
|
+
readonly warnings: readonly string[];
|
|
2686
|
+
}
|
|
2687
|
+
interface MemoryPackInput {
|
|
2688
|
+
readonly task: string;
|
|
2689
|
+
readonly maxHints?: number;
|
|
2690
|
+
readonly includePrivate?: boolean;
|
|
2691
|
+
readonly includeSensitive?: boolean;
|
|
2692
|
+
readonly includeSnippets?: boolean;
|
|
2693
|
+
readonly ignoreMemory?: boolean;
|
|
2694
|
+
}
|
|
2695
|
+
interface MemoryPackHint {
|
|
2696
|
+
readonly ref: MemoryItemRef;
|
|
2697
|
+
readonly hook: string;
|
|
2698
|
+
readonly reason: string;
|
|
2699
|
+
readonly bodySnippet?: string;
|
|
2700
|
+
readonly bodyFingerprint?: string;
|
|
2701
|
+
}
|
|
2702
|
+
interface MemoryPack {
|
|
2703
|
+
readonly generatedAt: string;
|
|
2704
|
+
readonly taskFingerprint: string;
|
|
2705
|
+
readonly hints: readonly MemoryPackHint[];
|
|
2706
|
+
readonly omitted: readonly string[];
|
|
2707
|
+
readonly traceMetadata: MemoryPackTraceMetadata;
|
|
2708
|
+
}
|
|
2709
|
+
interface MemoryPackTraceMetadata {
|
|
2710
|
+
readonly selectedRefIds: readonly string[];
|
|
2711
|
+
readonly omittedRefIds: readonly string[];
|
|
2712
|
+
readonly taskFingerprint: string;
|
|
2713
|
+
readonly suppressed: boolean;
|
|
2714
|
+
}
|
|
2715
|
+
type MemoryReviewTrigger = 'user_correction' | 'explicit_remember' | 'explicit_forget' | 'proposal_rejected' | 'conflict_detected';
|
|
2716
|
+
interface MemoryReviewCandidateRef {
|
|
2717
|
+
readonly ref: MemoryItemRef;
|
|
2718
|
+
readonly bodySnippet?: string;
|
|
2719
|
+
readonly bodyFingerprint?: string;
|
|
2720
|
+
readonly warnings: readonly string[];
|
|
2721
|
+
}
|
|
2722
|
+
interface MemoryReviewInput {
|
|
2723
|
+
readonly trigger: MemoryReviewTrigger;
|
|
2724
|
+
readonly userFeedback: string;
|
|
2725
|
+
readonly task?: string;
|
|
2726
|
+
readonly sourceRefs?: readonly string[];
|
|
2727
|
+
readonly candidateRefIds?: readonly string[];
|
|
2728
|
+
readonly includePrivate?: boolean;
|
|
2729
|
+
readonly includeSensitive?: boolean;
|
|
2730
|
+
readonly maxRefs?: number;
|
|
2731
|
+
}
|
|
2732
|
+
interface MemoryReviewModelInput {
|
|
2733
|
+
readonly trigger: MemoryReviewTrigger;
|
|
2734
|
+
readonly userFeedback: string;
|
|
2735
|
+
readonly task?: string;
|
|
2736
|
+
readonly sourceRefs: readonly string[];
|
|
2737
|
+
readonly candidateRefs: readonly MemoryReviewCandidateRef[];
|
|
2738
|
+
readonly warnings: readonly string[];
|
|
2739
|
+
}
|
|
2740
|
+
interface MemoryReviewDraftAction {
|
|
2741
|
+
readonly action: MemoryProposalAction;
|
|
2742
|
+
readonly targetRefIds: readonly string[];
|
|
2743
|
+
readonly summary: string;
|
|
2744
|
+
readonly rationale: string;
|
|
2745
|
+
readonly confidence: 'low' | 'medium' | 'high';
|
|
2746
|
+
readonly risk: 'low' | 'medium' | 'high';
|
|
2747
|
+
readonly requiresApproval: true;
|
|
2748
|
+
readonly proposedBody?: string;
|
|
2749
|
+
}
|
|
2750
|
+
interface MemoryReviewPlan {
|
|
2751
|
+
readonly trigger: MemoryReviewTrigger;
|
|
2752
|
+
readonly createdAt: string;
|
|
2753
|
+
readonly sourceRefs: readonly string[];
|
|
2754
|
+
readonly candidateRefs: readonly MemoryReviewCandidateRef[];
|
|
2755
|
+
readonly actions: readonly MemoryReviewDraftAction[];
|
|
2756
|
+
readonly warnings: readonly string[];
|
|
2757
|
+
}
|
|
2758
|
+
type MemoryReviewRunner = (input: MemoryReviewModelInput) => Promise<MemoryReviewPlan>;
|
|
2759
|
+
interface MemoryController {
|
|
2760
|
+
listInbox(): Promise<readonly MemoryActionProposal[]>;
|
|
2761
|
+
showProposal(id: string): Promise<MemoryActionProposal | undefined>;
|
|
2762
|
+
approveProposal(id: string, expectedFingerprints: Readonly<Record<string, string>>): Promise<MemoryApplyResult>;
|
|
2763
|
+
rejectProposal(id: string, reason?: string): Promise<MemoryRejectResult>;
|
|
2764
|
+
listRefs(filter?: MemoryRefFilter): Promise<readonly MemoryItemRef[]>;
|
|
2765
|
+
readRef(ref: MemoryItemRef): Promise<MemoryBodySnapshot>;
|
|
2766
|
+
runCurator(input?: MemoryCuratorInput): Promise<MemoryGovernanceReport>;
|
|
2767
|
+
maybeRunAutoCurator(input?: MemoryAutoCuratorInput): Promise<MemoryAutoCuratorResult>;
|
|
2768
|
+
buildMemoryPack(input: MemoryPackInput): Promise<MemoryPack>;
|
|
2769
|
+
reviewMemoryFeedback(input: MemoryReviewInput): Promise<MemoryReviewPlan>;
|
|
2770
|
+
}
|
|
2771
|
+
type MemoryEvent = {
|
|
2772
|
+
readonly type: 'proposal.created';
|
|
2773
|
+
readonly proposalId: string;
|
|
2774
|
+
} | {
|
|
2775
|
+
readonly type: 'proposal.approved';
|
|
2776
|
+
readonly proposalId: string;
|
|
2777
|
+
} | {
|
|
2778
|
+
readonly type: 'proposal.rejected';
|
|
2779
|
+
readonly proposalId: string;
|
|
2780
|
+
} | {
|
|
2781
|
+
readonly type: 'curator.completed';
|
|
2782
|
+
readonly reportId: string;
|
|
2783
|
+
} | {
|
|
2784
|
+
readonly type: 'pack.selected';
|
|
2785
|
+
readonly refIds: readonly string[];
|
|
2786
|
+
} | {
|
|
2787
|
+
readonly type: 'review.completed';
|
|
2788
|
+
readonly trigger: MemoryReviewTrigger;
|
|
2789
|
+
readonly actionCount: number;
|
|
2790
|
+
};
|
|
2791
|
+
|
|
2533
2792
|
/**
|
|
2534
2793
|
* ../../index.js Compaction Types
|
|
2535
2794
|
*/
|
|
@@ -3099,5 +3358,5 @@ declare function isFinalWorkflowProcessStatus(status: WorkflowProcessStatus): bo
|
|
|
3099
3358
|
declare function normalizeHostMetadata(value: unknown): Record<string, string> | undefined;
|
|
3100
3359
|
declare function createWorkflowProcessTracker(options: WorkflowProcessTrackerOptions): WorkflowProcessTracker;
|
|
3101
3360
|
|
|
3102
|
-
export { ASK_USER_BACK_SIGNAL as A, DEFAULT_SYSTEM_CAP as D, InvariantSession as
|
|
3103
|
-
export type {
|
|
3361
|
+
export { ASK_USER_BACK_SIGNAL as A, DEFAULT_SYSTEM_CAP as D, InvariantSession as R, ASK_USER_CUSTOM_INPUT_SIGNAL as a, MAX_TOOL_LOOP_ITERATIONS as ay, SpanImpl as bF, Tracer as bX, Runner as bm, executeRunnerToolCall as c$, WorkflowEventRecorder as c6, _resetAdmittedAgentBindings as cL, _resetPresetDispatchers as cM, asSingleSelection as cN, buildAssistantMessageFromLlmResult as cO, buildSystemPrompt as cP, buildToolResultMessage as cQ, createAgent as cR, createHandoff as cS, createInMemorySession as cT, createInvariantSessionForAgent as cU, createStateWriter as cV, createTrace as cW, createWorkflowProcessTracker as cX, defaultTracer as cY, detectInstructionsInjection as cZ, discoverInstances as c_, extractAssistantTextFromMessage as d0, getActiveUserInteraction as d1, getAdmittedAgentBindings as d2, isAskUserCustomInputAnswer as d3, isFinalWorkflowProcessStatus as d4, isRunnableTool as d5, isRunnerLlmResult as d6, normalizeHostMetadata as d7, registerChildTask as d8, registerPresetDispatcher as d9, requestTaskStop as da, runAdmissionAudit as db, setActiveUserInteraction as dc, setAdmittedAgentBindings as dd };
|
|
3362
|
+
export type { KodaXGoalStatus as $, DiscoveredInstance as B, ChildTaskRegistry as C, DiscoveryOptions as E, EvidenceSpanData as F, FanoutSpanData as G, FileOperations as H, GenerationSpanData as I, Guardrail as J, GuardrailSpanData as K, Handoff as L, HandoffSpanData as M, InMemorySessionOptions as N, InstanceDiscoveryFs as O, InvariantId as P, InvariantResult as Q, KodaXCompactMemoryProgress as S, KodaXCompactMemorySeed as T, KodaXExtensionSessionRecord as U, KodaXExtensionSessionState as V, KodaXExtensionStore as W, KodaXExtensionStoreEntry as X, KodaXFileInputArtifact as Y, KodaXGoalEventType as Z, KodaXGoalState as _, MemoryReviewModelInput as a$, KodaXImageInputArtifact as a0, KodaXImageMediaType as a1, KodaXInputArtifact as a2, KodaXInputArtifactSource as a3, KodaXJsonValue as a4, KodaXSessionArchiveMarkerEntry as a5, KodaXSessionArtifactLedgerEntry as a6, KodaXSessionBranchSummaryEntry as a7, KodaXSessionClientNoticeEntry as a8, KodaXSessionCompactionEntry as a9, MemoryActionProposal as aA, MemoryApplyPreview as aB, MemoryApplyResult as aC, MemoryApproval as aD, MemoryAuthority as aE, MemoryAutoCuratorInput as aF, MemoryAutoCuratorResult as aG, MemoryBodySnapshot as aH, MemoryController as aI, MemoryCuratorInput as aJ, MemoryEvent as aK, MemoryGovernanceFinding as aL, MemoryGovernanceFindingKind as aM, MemoryGovernanceReport as aN, MemoryItemRef as aO, MemoryLifecycle as aP, MemoryPack as aQ, MemoryPackHint as aR, MemoryPackInput as aS, MemoryPackTraceMetadata as aT, MemoryProposalAction as aU, MemoryRefFilter as aV, MemoryRefKind as aW, MemoryRejectResult as aX, MemoryReviewCandidateRef as aY, MemoryReviewDraftAction as aZ, MemoryReviewInput as a_, KodaXSessionData as aa, KodaXSessionEntry as ab, KodaXSessionEntryBase as ac, KodaXSessionGoalEntry as ad, KodaXSessionLabelEntry as ae, KodaXSessionLineage as af, KodaXSessionMessageEntry as ag, KodaXSessionMeta as ah, KodaXSessionNavigationOptions as ai, KodaXSessionRewindMarkerEntry as aj, KodaXSessionRuntimeInfo as ak, KodaXSessionScope as al, KodaXSessionStorage as am, KodaXSessionTreeNode as an, KodaXSessionUiHistoryItem as ao, KodaXSessionUiHistoryItemType as ap, KodaXSessionUiTextHistoryItem as aq, KodaXSessionUiTextHistoryItemType as ar, KodaXSessionUiToolCall as as, KodaXSessionUiToolCallStatus as at, KodaXSessionUiToolGroupHistoryItem as au, KodaXSessionWorkspaceKind as av, KodaXVideoInputArtifact as aw, KodaXVideoMediaType as ax, ManifestPatch as az, AdmissionAuditOptions as b, WorkflowApi as b$, MemoryReviewPlan as b0, MemoryReviewRunner as b1, MemoryReviewTrigger as b2, MemoryScope as b3, MemorySourceAdapter as b4, MemoryVisibility as b5, MessageEntry as b6, ObserveCtx as b7, PersistedSessionState as b8, PresetDispatcher as b9, SessionMeta as bA, SessionStateSnapshot as bB, Span as bC, SpanData as bD, SpanError as bE, SpanImplOptions as bG, StartTraceOptions as bH, StateWriter as bI, StateWriterFs as bJ, StateWriterOptions as bK, StopHookContext as bL, StopHookFn as bM, StopHookResult as bN, StopHookSpanData as bO, SystemCap as bP, TaskAbortRegistry as bQ, TerminalCtx as bR, ToolCallSpanData as bS, ToolCapability as bT, ToolPermission as bU, Trace as bV, TraceOptions as bW, TracerOptions as bY, UserInteraction as bZ, WorkflowAgentBackend as b_, PresetTracingContext as ba, QualityInvariant as bb, ReadonlyMutationTracker as bc, ReadonlyRecorder as bd, ReasoningDepth as be, RecentlyModifiedFile as bf, RequestTaskStopOptions as bg, RequestTaskStopResult as bh, RunEvent as bi, RunOptions as bj, RunResult as bk, RunnableTool as bl, RunnerEvent as bn, RunnerLlmResult as bo, RunnerLlmReturn as bp, RunnerToolCall as bq, RunnerToolContext as br, RunnerToolObserver as bs, RunnerToolResult as bt, Session as bu, SessionDispatchResult as bv, SessionEntry as bw, SessionErrorMetadata as bx, SessionExtension as by, SessionForkOptions as bz, AdmissionCtx as c, WorkflowApproval as c0, WorkflowApprovalSummary as c1, WorkflowArtifactRef as c2, WorkflowBudget as c3, WorkflowEvent as c4, WorkflowEventCorrelation as c5, WorkflowEventType as c7, WorkflowIsolation as c8, WorkflowLimits as c9, WorkflowTaskHandle as cA, WorkflowTaskResult as cB, WorkflowTaskSnapshot as cC, WorkflowTaskStatus as cD, WorkflowTaskSummaryEventUpdate as cE, WorkflowTaskSummaryKind as cF, WorkflowTaskSummaryUpdate as cG, WorkflowTaskUsage as cH, WorkflowTaskVerification as cI, WorkflowTaskVerificationResult as cJ, WorkflowWaitOptions as cK, WorkflowLogEvent as ca, WorkflowMeta as cb, WorkflowModelHint as cc, WorkflowModule as cd, WorkflowParallelOptions as ce, WorkflowProcessArtifact as cf, WorkflowProcessCounts as cg, WorkflowProcessEvent as ch, WorkflowProcessItem as ci, WorkflowProcessItemKind as cj, WorkflowProcessItemOrigin as ck, WorkflowProcessItemStatus as cl, WorkflowProcessProgress as cm, WorkflowProcessSnapshot as cn, WorkflowProcessSource as co, WorkflowProcessStatus as cp, WorkflowProcessSummaryStatus as cq, WorkflowProcessTokenUsage as cr, WorkflowProcessTracker as cs, WorkflowProcessTrackerOptions as ct, WorkflowRun as cu, WorkflowRunState as cv, WorkflowRunStatus as cw, WorkflowSpawnAgentInput as cx, WorkflowSynthesis as cy, WorkflowSynthesizeInput as cz, AdmissionVerdict as d, AdmittedHandle as e, Agent as f, AgentManifest as g, AgentMessage as h, AgentMiddlewareDeclaration as i, AgentReasoningProfile as j, AgentSpanData as k, AgentTool as l, AskUserAnswer as m, AskUserCustomInputAnswer as n, AskUserMultiOptions as o, AskUserQuestionItem as p, AskUserQuestionOptions as q, AskUserSelectionAnswer as r, CompactionAnchor as s, CompactionConfig as t, CompactionDetails as u, CompactionResult as v, CompactionSpanData as w, CompactionUpdate as x, CurrentTodoSummary as y, Deliverable as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as KodaXMessage } from './types.d-Bp4Lm1jv.js';
|
|
2
|
-
import { Q as QueueEventListener, f as QueuedMessage, E as EnqueueInput, D as DequeueFilter } from './types.d-
|
|
3
|
-
import {
|
|
2
|
+
import { Q as QueueEventListener, f as QueuedMessage, E as EnqueueInput, D as DequeueFilter } from './types.d-1CnTg7Sd.js';
|
|
3
|
+
import { h as AgentMessage, bw as SessionEntry, bu as Session, by as SessionExtension, af as KodaXSessionLineage, a4 as KodaXJsonValue, u as CompactionDetails, T as KodaXCompactMemorySeed, ab as KodaXSessionEntry, an as KodaXSessionTreeNode, ae as KodaXSessionLabelEntry, ad as KodaXSessionGoalEntry, a8 as KodaXSessionClientNoticeEntry, aj as KodaXSessionRewindMarkerEntry, ai as KodaXSessionNavigationOptions, a6 as KodaXSessionArtifactLedgerEntry, H as FileOperations, cb as WorkflowMeta, cc as WorkflowModelHint, cd as WorkflowModule, ct as WorkflowProcessTrackerOptions, c4 as WorkflowEvent, cn as WorkflowProcessSnapshot, ch as WorkflowProcessEvent } from './process.d-CY2g03Mb.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @kodax-ai/agent Constants
|
|
@@ -568,7 +568,7 @@ declare function generateSessionId(): Promise<string>;
|
|
|
568
568
|
*/
|
|
569
569
|
declare function extractTitleFromMessages(messages: KodaXMessage[]): string;
|
|
570
570
|
|
|
571
|
-
type NavigableSessionEntry = Exclude<KodaXSessionEntry, KodaXSessionLabelEntry | KodaXSessionGoalEntry | KodaXSessionClientNoticeEntry>;
|
|
571
|
+
type NavigableSessionEntry = Exclude<KodaXSessionEntry, KodaXSessionLabelEntry | KodaXSessionGoalEntry | KodaXSessionClientNoticeEntry | KodaXSessionRewindMarkerEntry>;
|
|
572
572
|
/**
|
|
573
573
|
* Reconcile a linear message list against an existing lineage tree.
|
|
574
574
|
*
|
|
@@ -591,6 +591,9 @@ declare function getSessionLineagePath(lineage: KodaXSessionLineage, targetId?:
|
|
|
591
591
|
* slicer-layer concern, which preserves the contract
|
|
592
592
|
* `entryMatchesContextMessage` and FEATURE_073's future firstKeptEntryId-based
|
|
593
593
|
* slicing both depend on.
|
|
594
|
+
* Native rewind audits are `rewind_marker` entries and never reach this path;
|
|
595
|
+
* the `reason !== 'rewind'` guard keeps legacy persisted rewind compactions
|
|
596
|
+
* context-silent.
|
|
594
597
|
*/
|
|
595
598
|
declare function getSessionMessagesFromLineage(lineage: KodaXSessionLineage, targetId?: string | null): KodaXMessage[];
|
|
596
599
|
/**
|
|
@@ -651,20 +654,6 @@ declare function applySessionCompaction(lineage: KodaXSessionLineage | undefined
|
|
|
651
654
|
* defines the helper; no production caller yet.
|
|
652
655
|
*/
|
|
653
656
|
declare function applyLineageTruncation(lineage: KodaXSessionLineage | undefined, trimmedMessages: KodaXMessage[]): KodaXSessionLineage;
|
|
654
|
-
/**
|
|
655
|
-
* Rewind the current session lineage to a target entry, truncating all entries after it.
|
|
656
|
-
* Records a rewind event in the lineage for auditability.
|
|
657
|
-
* Returns null if targetEntryId is not found.
|
|
658
|
-
*
|
|
659
|
-
* @param lineage - The session lineage to rewind
|
|
660
|
-
* @param targetEntryId - The entry ID to rewind to (inclusive)
|
|
661
|
-
* @returns A new lineage with entries truncated after the target, or null if target not found
|
|
662
|
-
*/
|
|
663
|
-
/**
|
|
664
|
-
* Find the entry ID of the second-to-last user message in the lineage.
|
|
665
|
-
* Used by `/rewind` (no argument) to go back one conversational turn.
|
|
666
|
-
* Returns null if fewer than 2 user messages exist.
|
|
667
|
-
*/
|
|
668
657
|
declare function findPreviousUserEntryId(lineage: KodaXSessionLineage): string | null;
|
|
669
658
|
declare function rewindSessionLineage(lineage: KodaXSessionLineage, targetEntryId: string): KodaXSessionLineage | null;
|
|
670
659
|
declare function forkSessionLineage(lineage: KodaXSessionLineage, selector?: string): KodaXSessionLineage | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as PermissionMode, F as FileSessionStorage, S as SessionData } from './storage.d-
|
|
1
|
+
import { b as PermissionMode, F as FileSessionStorage, S as SessionData } from './storage.d-C6kkAEch.js';
|
|
2
2
|
import { E as KodaXReasoningMode, j as KodaXMessage, c as KodaXContentBlock, R as KodaXTaskResultMetadata } from './types.d-Bp4Lm1jv.js';
|
|
3
|
-
import { m as KodaXAgentMode } from './bash-prefix-extractor.d-
|
|
4
|
-
import {
|
|
3
|
+
import { m as KodaXAgentMode } from './bash-prefix-extractor.d-CZW9fRoa.js';
|
|
4
|
+
import { ao as KodaXSessionUiHistoryItem, as as KodaXSessionUiToolCall, a4 as KodaXJsonValue } from './process.d-CY2g03Mb.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* TextBuffer - Text buffer management class - 文本缓冲区管理类
|
|
@@ -865,7 +865,9 @@ interface SessionSummary {
|
|
|
865
865
|
* surfaced when `includeArchived` is set). */
|
|
866
866
|
readonly archived?: boolean;
|
|
867
867
|
}
|
|
868
|
-
type SessionTranscriptEntryType = 'message' | 'compaction' | 'branch_summary'
|
|
868
|
+
type SessionTranscriptEntryType = 'message' | 'compaction' | 'branch_summary'
|
|
869
|
+
/** Rewind audit marker; not included in `FullTranscriptSessionData.messages`. */
|
|
870
|
+
| 'rewind_marker' | 'client_notice'
|
|
869
871
|
/**
|
|
870
872
|
* Synthetic task/workflow completion entry derived from `_taskResult`,
|
|
871
873
|
* `_taskResults`, or legacy `<task-completed>` banners. The original
|
|
@@ -1086,5 +1088,5 @@ declare function createSessionManager(opts?: {
|
|
|
1086
1088
|
sessionsDir?: string;
|
|
1087
1089
|
}): SessionManager;
|
|
1088
1090
|
|
|
1089
|
-
export {
|
|
1090
|
-
export type { AppProps as A,
|
|
1091
|
+
export { DEFAULT_UI_STATE as D, StreamingState as U, TOOL_STATUS_ICONS as W, TextBuffer as X, ToolCallStatus as a1, appendClientNotice as a8, archiveSession as a9, compactSession as aa, createSessionManager as ab, deleteSession as ac, extractHistorySeedsFromMessage as ad, extractHistorySeedsFromMessages as ae, extractTextContent as af, extractTitle as ag, forkSession as ah, formatMessagePreview as ai, listRunningSessions as aj, listSessions as ak, loadFullTranscript as al, loadSession as am, restoreHistoryItemsFromSession as an, rewindSession as ao, seedToHistoryItem as ap, setActiveEntry as aq, toolCallSeedToHistoryToolCall as ar, trimPersistedUiHistorySnapshot as as, unarchiveSession as at, watchSessions as au, KeypressHandlerPriority as y };
|
|
1092
|
+
export type { ThemeSymbols as $, AppProps as A, PromptEditingMode as B, CompactSessionOptions as C, PromptSubmitPayload as E, FullTranscriptSessionData as F, RestoredHistorySeed as G, HistoryEntry as H, InputPromptProps as I, RunningSessionInfo as J, KeyInfo as K, LegacyMessageListProps as L, Message as M, SessionSummary as N, SessionTranscriptEntry as O, PastedContent as P, SessionTranscriptEntryType as Q, RestoreHistoryItemsFromSessionInput as R, SessionManager as S, StatusBarProps as T, Suggestion as V, TextBufferOptions as Y, Theme as Z, ThemeColors as _, AppState as a, ToolCall as a0, UIActions as a2, UIState as a3, UseTextBufferReturn as a4, VisualCursor as a5, VisualLayout as a6, WatchSessionsCallback as a7, AppendClientNoticeOptions as b, CompactSessionResult as c, Completer as d, Completion as e, CreatableHistoryItem as f, CursorPosition as g, DeleteSessionResult as h, HistoryItem as i, HistoryItemAssistant as j, HistoryItemBase as k, HistoryItemError as l, HistoryItemEvent as m, HistoryItemHint as n, HistoryItemInfo as o, HistoryItemSidecar as p, HistoryItemSystem as q, HistoryItemThinking as r, HistoryItemToolGroup as s, HistoryItemType as t, HistoryItemUser as u, HistorySeedSourceMessage as v, KeypressEvent as w, KeypressHandler as x, ListSessionsOptions as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as BashPrefixExtractor } from './bash-prefix-extractor.d-
|
|
2
|
-
import {
|
|
1
|
+
import { a as BashPrefixExtractor } from './bash-prefix-extractor.d-CZW9fRoa.js';
|
|
2
|
+
import { aa as KodaXSessionData, af as KodaXSessionLineage, ai as KodaXSessionNavigationOptions, ak as KodaXSessionRuntimeInfo, am as KodaXSessionStorage } from './process.d-CY2g03Mb.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Permission Types
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as Guardrail, bq as RunnerToolCall, f as Agent, h as AgentMessage, bt as RunnerToolResult, bC as Span, a2 as KodaXInputArtifact } from './process.d-CY2g03Mb.js';
|
|
2
2
|
import { R as KodaXTaskResultMetadata } from './types.d-Bp4Lm1jv.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as SessionStorage$1, b as PermissionMode } from './storage.d-
|
|
3
|
-
import {
|
|
1
|
+
import { R as KodaXOptions, w as KodaXContextTokenSnapshot, a7 as KodaXSkillDynamicContextPolicy, m as KodaXAgentMode, W as KodaXRepoIntelligenceMode, a8 as KodaXSkillInvocationContext } from './bash-prefix-extractor.d-CZW9fRoa.js';
|
|
2
|
+
import { c as SessionStorage$1, b as PermissionMode } from './storage.d-C6kkAEch.js';
|
|
3
|
+
import { ao as KodaXSessionUiHistoryItem, af as KodaXSessionLineage, a6 as KodaXSessionArtifactLedgerEntry, V as KodaXExtensionSessionState, U as KodaXExtensionSessionRecord, ak as KodaXSessionRuntimeInfo, am as KodaXSessionStorage, aa as KodaXSessionData, co as WorkflowProcessSource } from './process.d-CY2g03Mb.js';
|
|
4
4
|
import { j as KodaXMessage, E as KodaXReasoningMode, o as KodaXProviderCapabilityProfile, d as KodaXCustomProviderConfig } from './types.d-Bp4Lm1jv.js';
|
|
5
|
-
import { A as AgentsFile, f as AutoModeStats, l as KodaXMcpServersConfig } from './guardrail.d-
|
|
5
|
+
import { A as AgentsFile, f as AutoModeStats, l as KodaXMcpServersConfig } from './guardrail.d-MR6LwMB2.js';
|
|
6
6
|
import * as readline from 'readline';
|
|
7
7
|
import { SpawnSyncReturns } from 'child_process';
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kodax-ai/kodax",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.63",
|
|
4
4
|
"description": "KodaX lightweight coding agent - TypeScript implementation with 15 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{Aa as b,za as a}from"./chunk-D7CC6YZC.js";import"./chunk-KIVYMSRH.js";import"./chunk-2OEKUAV4.js";import"./chunk-XHOPSZVL.js";import"./chunk-CGGX3FXE.js";import"./chunk-QCBKLNN5.js";import"./chunk-4NSOBQCU.js";import"./chunk-D6QVXQNI.js";import"./chunk-UA744TZM.js";import"./chunk-7COB3EKF.js";import"./chunk-S4GVQO3W.js";import"./chunk-NJW2LQOP.js";import"./chunk-ZL5CEANW.js";import"./chunk-V4WSBIXB.js";export{a as ArgumentCompleter,b as createArgumentCompleter};
|