@kodax-ai/kodax 0.7.76 → 0.7.78
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 +758 -371
- package/LICENSE +158 -158
- package/README.md +1702 -1508
- package/README_CN.md +1019 -869
- package/config-templates/config.example.jsonc +86 -4
- package/config-templates/integrations/a2a.example.jsonc +98 -98
- package/config-templates/integrations/extensions.example.jsonc +7 -7
- package/config-templates/integrations/mcp.example.jsonc +16 -16
- package/dist/builtin/code-review/SKILL.md +22 -22
- package/dist/builtin/skill-creator/scripts/aggregate-benchmark.d.ts +46 -46
- package/dist/builtin/skill-creator/scripts/analyze-benchmark.d.ts +46 -46
- package/dist/builtin/skill-creator/scripts/compare-runs.d.ts +62 -62
- package/dist/builtin/skill-creator/scripts/generate-review.d.ts +33 -33
- package/dist/builtin/skill-creator/scripts/grade-evals.d.ts +73 -73
- package/dist/builtin/skill-creator/scripts/improve-description.d.ts +23 -23
- package/dist/builtin/skill-creator/scripts/init-skill.d.ts +14 -14
- package/dist/builtin/skill-creator/scripts/install-skill.d.ts +29 -29
- package/dist/builtin/skill-creator/scripts/package-skill.d.ts +38 -38
- package/dist/builtin/skill-creator/scripts/quick-validate.d.ts +8 -8
- package/dist/builtin/skill-creator/scripts/run-eval.d.ts +66 -66
- package/dist/builtin/skill-creator/scripts/run-loop.d.ts +49 -49
- package/dist/builtin/skill-creator/scripts/run-trigger-eval.d.ts +58 -58
- package/dist/chunks/agent-ASP4MS3X.js +2 -0
- package/dist/chunks/argument-completer-JYQ7FX3W.js +2 -0
- package/dist/chunks/chunk-2CFHBKRE.js +5 -0
- package/dist/chunks/chunk-35PPHOQ2.js +292 -0
- package/dist/chunks/chunk-43QNNDHR.js +29 -0
- package/dist/chunks/chunk-5BNQXXGY.js +1 -0
- package/dist/chunks/chunk-5GO6FH7L.js +458 -0
- package/dist/chunks/chunk-5NDCSFOP.js +78 -0
- package/dist/chunks/chunk-6FOJVETH.js +22 -0
- package/dist/chunks/chunk-6XM4B6K2.js +48 -0
- package/dist/chunks/chunk-6YZUE6NC.js +240 -0
- package/dist/chunks/{chunk-RDXRM3UI.js → chunk-7OEBJGHK.js} +1 -1
- package/dist/chunks/chunk-KQLQYHWU.js +386 -0
- package/dist/chunks/chunk-NXO6GWSY.js +46 -0
- package/dist/chunks/chunk-T2XZTLYE.js +316 -0
- package/dist/chunks/chunk-TQDBTTIM.js +348 -0
- package/dist/chunks/{chunk-SMT2JSM3.js → chunk-UID7BLAB.js} +9 -9
- package/dist/chunks/chunk-VAT2QYXM.js +765 -0
- package/dist/chunks/chunk-YAZQTC2L.js +5 -0
- package/dist/chunks/chunk-YVRYHC4C.js +655 -0
- package/dist/chunks/{chunk-PXKSE54E.js → chunk-Z3KFRTSB.js} +1 -1
- package/dist/chunks/compaction-config-BQSSIWK5.js +2 -0
- package/dist/chunks/{construction-bootstrap-5F5KF2BZ.js → construction-bootstrap-VQLQGWPY.js} +1 -1
- package/dist/chunks/dist-BFT5YIGU.js +2 -0
- package/dist/chunks/dist-PCFE24YP.js +2 -0
- package/dist/chunks/host-UTFXCYYM.js +2 -0
- package/dist/chunks/run-manager-PJU3WIFJ.js +2 -0
- package/dist/chunks/utils-SID4HW2Q.js +2 -0
- package/dist/index.d.ts +21 -19
- package/dist/index.js +6 -6
- package/dist/kodax_bootstrap.js +25 -25
- package/dist/kodax_cli.js +1787 -1341
- package/dist/kodax_resume.js +17 -17
- package/dist/provider-capabilities.json +392 -362
- package/dist/runtime-worker.js +1707 -1279
- package/dist/sandbox-workspace-session.js +563 -0
- package/dist/sdk-a2a.d.ts +18 -17
- package/dist/sdk-a2a.js +8 -8
- package/dist/sdk-agent.d.ts +320 -70
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +135 -168
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +14 -597
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +219 -6
- 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 +70 -27
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +212 -149
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.d.ts +93 -0
- package/dist/sdk-sandbox.js +2 -0
- package/dist/sdk-session.d.ts +8 -8
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.d.ts +2 -2
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +15 -15
- package/dist/types-chunks/{base.d-ChvpaKjZ.d.ts → base.d-4e74xDdy.d.ts} +13 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-r1beOESM.d.ts → bash-prefix-extractor.d-uAe2Oqda.d.ts} +319 -9
- package/dist/types-chunks/{capability-learning.d-DPrYxRjF.d.ts → capability-learning.d-CVsdHw4j.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-zeqV4IQX.d.ts → capsule.d-BlSv9l3V.d.ts} +2 -2
- package/dist/types-chunks/{guardrail.d-CWYD1bdL.d.ts → guardrail.d-BRE_ErEj.d.ts} +1 -1
- package/dist/types-chunks/{guardrail.d-qjuKJZ31.d.ts → guardrail.d-CXDYRgZ3.d.ts} +201 -35
- package/dist/types-chunks/{history-retrieval.d-BKTJIrVd.d.ts → history-retrieval.d-DtCy7x64.d.ts} +2 -2
- package/dist/types-chunks/{integration-config.d-ojG4swOP.d.ts → integration-config.d-BNowXE8k.d.ts} +23 -8
- package/dist/types-chunks/{public-api.d-CX4B11qY.d.ts → public-api.d-B3AohsxN.d.ts} +37 -8
- package/dist/types-chunks/{commands.d-DUxnK2TU.d.ts → repl.d-Ie_ZXb_U.d.ts} +89 -78
- package/dist/types-chunks/{side-query.d-DWTMsndP.d.ts → resolver.d-iAQ9ocLB.d.ts} +23 -74
- package/dist/types-chunks/{run-manager.d-B9fEIjZk.d.ts → run-manager.d-D1twIhF9.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-B0fhAOPa.d.ts → sdk-session-DB9KksIx.d.ts} +3 -3
- package/dist/types-chunks/side-query.d-DTuLPcC5.d.ts +77 -0
- package/dist/types-chunks/types-D3g6XUQr.d.ts +662 -0
- package/dist/types-chunks/{types.d-sRLugmjy.d.ts → types.d-BA-Jwpfs.d.ts} +506 -11
- package/dist/types-chunks/{types.d-DEctY20M.d.ts → types.d-BH0ZkTGf.d.ts} +2 -2
- package/dist/types-chunks/{types.d-DCQVBqVn.d.ts → types.d-BbtGlKZu.d.ts} +25 -3
- package/dist/types-chunks/{types.d-CSmF0t0n.d.ts → types.d-DIpZJKUl.d.ts} +15 -0
- package/dist/types-chunks/{types.d-Bm_y6YuM.d.ts → types.d-DVDTIfB_.d.ts} +4 -4
- package/dist/types-chunks/{utils.d-D0wPxz8y.d.ts → utils.d-CVp6bFl9.d.ts} +23 -7
- package/docs/SDK_EMBEDDER_GUIDE.md +592 -119
- package/package.json +9 -1
- package/scripts/kodax-bin.cjs +28 -28
- package/scripts/production-env.cjs +25 -25
- package/dist/chunks/agent-7X5CFET2.js +0 -2
- package/dist/chunks/argument-completer-3NHIKB4N.js +0 -2
- package/dist/chunks/chunk-4PWPNCNK.js +0 -158
- package/dist/chunks/chunk-7FJNLJLF.js +0 -369
- package/dist/chunks/chunk-COQYLD4U.js +0 -5
- package/dist/chunks/chunk-D3T24FJW.js +0 -78
- package/dist/chunks/chunk-EI4JBQKL.js +0 -46
- package/dist/chunks/chunk-HGT6WQ24.js +0 -321
- package/dist/chunks/chunk-HS3XHF3R.js +0 -622
- package/dist/chunks/chunk-IDCGNQ4H.js +0 -5
- package/dist/chunks/chunk-KAY2XLCP.js +0 -74
- package/dist/chunks/chunk-OD6LVXU6.js +0 -329
- package/dist/chunks/chunk-OSF3H4RR.js +0 -22
- package/dist/chunks/chunk-TGMBHGZO.js +0 -427
- package/dist/chunks/chunk-VWSLC2WO.js +0 -770
- package/dist/chunks/chunk-Y3AMP22L.js +0 -37
- package/dist/chunks/compaction-config-7J2XE35D.js +0 -2
- package/dist/chunks/dist-2RA7LSH3.js +0 -2
- package/dist/chunks/dist-URKXBOC6.js +0 -2
- package/dist/chunks/host-RKZ2OGFT.js +0 -2
- package/dist/chunks/run-manager-7RM4HEH6.js +0 -2
- package/dist/chunks/utils-X3TEH6IO.js +0 -2
- package/dist/types-chunks/center-types.d-BBT122uJ.d.ts +0 -91
package/dist/sdk-runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t}from"./chunks/chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"./chunks/chunk-43QNNDHR.js";import"./chunks/chunk-35PPHOQ2.js";import"./chunks/chunk-T2XZTLYE.js";import"./chunks/chunk-YVRYHC4C.js";import"./chunks/chunk-6YZUE6NC.js";import"./chunks/chunk-7OEBJGHK.js";import"./chunks/chunk-5GO6FH7L.js";import"./chunks/chunk-TQDBTTIM.js";import"./chunks/chunk-UID7BLAB.js";import"./chunks/chunk-Z3KFRTSB.js";import"./chunks/chunk-6FOJVETH.js";import"./chunks/chunk-KQLQYHWU.js";import"./chunks/chunk-YAZQTC2L.js";import"./chunks/chunk-5NDCSFOP.js";import"./chunks/chunk-VAT2QYXM.js";import"./chunks/chunk-6XM4B6K2.js";import"./chunks/chunk-2CFHBKRE.js";import"./chunks/chunk-NXO6GWSY.js";import"./chunks/chunk-ONUPGMER.js";export{b as KODAX_DAEMON_PROTOCOL,c as KODAX_DAEMON_PROTOCOL_VERSION,s as KODAX_RUNTIME_SDK_CAPABILITIES,d as RUNTIME_DAEMON_METHODS,g as RUNTIME_DAEMON_METHOD_SCHEMAS,h as RUNTIME_DAEMON_NOTIFICATION_SCHEMAS,i as RUNTIME_DAEMON_PROTOCOL_SCHEMA,j as RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON,m as RuntimeAutoModeConfigurationError,l as RuntimeDaemonCapabilityUpgradeError,f as RuntimePermissionScopeUpgradeRequiredError,e as RuntimeTransportBoundaryError,n as acquireKodaXInlineOwner,u as connectKodaXRuntime,t as createKodaXRuntime,q as enableKodaXDaemonOwner,o as getKodaXRuntimeOwnerPolicy,p as getKodaXRuntimeOwnerState,k as listRuntimeDaemonSchemaMethods,a as parseRuntimeEvent,r as setKodaXRuntimeOwnerMode};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const KODAX_ASRT_VERSION = "0.0.65";
|
|
2
|
+
interface SandboxRuntimeDoctorResult {
|
|
3
|
+
readonly ready: boolean;
|
|
4
|
+
readonly platform: NodeJS.Platform;
|
|
5
|
+
readonly version: string;
|
|
6
|
+
readonly diagnostics: readonly string[];
|
|
7
|
+
readonly setupRequired: boolean;
|
|
8
|
+
}
|
|
9
|
+
type KodaXSandboxNetworkPolicy = {
|
|
10
|
+
readonly mode: 'allow';
|
|
11
|
+
} | {
|
|
12
|
+
readonly mode: 'deny';
|
|
13
|
+
} | {
|
|
14
|
+
readonly mode: 'allowlist';
|
|
15
|
+
readonly origins: readonly string[];
|
|
16
|
+
};
|
|
17
|
+
interface KodaXSandboxFilesystemPolicy {
|
|
18
|
+
/**
|
|
19
|
+
* Read roots required by the command. ASRT permits ordinary reads by
|
|
20
|
+
* default; these roots also carve back access beneath a broader denyRead.
|
|
21
|
+
*/
|
|
22
|
+
readonly allowRead: readonly string[];
|
|
23
|
+
/** The only roots in which the command may create, modify, or remove data. */
|
|
24
|
+
readonly allowWrite: readonly string[];
|
|
25
|
+
/** Read-denied roots; a more specific allowRead entry takes precedence. */
|
|
26
|
+
readonly denyRead?: readonly string[];
|
|
27
|
+
/** Write-denied roots; denyWrite takes precedence over allowWrite. */
|
|
28
|
+
readonly denyWrite?: readonly string[];
|
|
29
|
+
}
|
|
30
|
+
interface KodaXSandboxRunInput {
|
|
31
|
+
readonly command: string;
|
|
32
|
+
readonly args?: readonly string[];
|
|
33
|
+
readonly cwd: string;
|
|
34
|
+
readonly filesystem: KodaXSandboxFilesystemPolicy;
|
|
35
|
+
readonly network?: KodaXSandboxNetworkPolicy;
|
|
36
|
+
/** Defaults to a minimal process environment. */
|
|
37
|
+
readonly inheritEnvironment?: boolean;
|
|
38
|
+
readonly env?: NodeJS.ProcessEnv;
|
|
39
|
+
readonly timeoutMs?: number;
|
|
40
|
+
readonly maxOutputBytes?: number;
|
|
41
|
+
readonly signal?: AbortSignal;
|
|
42
|
+
}
|
|
43
|
+
type KodaXSandboxRunResult = {
|
|
44
|
+
readonly status: 'completed';
|
|
45
|
+
readonly sandboxed: true;
|
|
46
|
+
readonly exitCode: number;
|
|
47
|
+
readonly stdout: string;
|
|
48
|
+
readonly stderr: string;
|
|
49
|
+
} | {
|
|
50
|
+
readonly status: 'unavailable';
|
|
51
|
+
readonly sandboxed: false;
|
|
52
|
+
readonly doctor: SandboxRuntimeDoctorResult;
|
|
53
|
+
};
|
|
54
|
+
interface SandboxSetupOutcome {
|
|
55
|
+
readonly status: 'ready' | 'cancelled' | 'unavailable';
|
|
56
|
+
readonly attempted: boolean;
|
|
57
|
+
readonly doctor: SandboxRuntimeDoctorResult;
|
|
58
|
+
readonly guidance: readonly string[];
|
|
59
|
+
readonly error?: string;
|
|
60
|
+
}
|
|
61
|
+
interface KodaXSandboxCapability {
|
|
62
|
+
readonly version: 1;
|
|
63
|
+
readonly asrtVersion: string;
|
|
64
|
+
readonly platform: NodeJS.Platform;
|
|
65
|
+
readonly backend: 'windows-restricted-user' | 'macos-seatbelt' | 'linux-bubblewrap' | 'unsupported';
|
|
66
|
+
readonly genericCommandExecution: true;
|
|
67
|
+
readonly controls: readonly ['filesystem', 'network', 'environment', 'timeout', 'output'];
|
|
68
|
+
readonly ordinaryCallsTriggerSetup: false;
|
|
69
|
+
readonly setupMayElevate: boolean;
|
|
70
|
+
readonly unavailableBehavior: 'structured-no-execution';
|
|
71
|
+
readonly permissionFallback: 'normal-permission-policy';
|
|
72
|
+
}
|
|
73
|
+
declare function sandboxRuntimeCapability(): KodaXSandboxCapability;
|
|
74
|
+
declare function doctorSandboxRuntime(options?: {
|
|
75
|
+
readonly refresh?: boolean;
|
|
76
|
+
}): Promise<SandboxRuntimeDoctorResult>;
|
|
77
|
+
declare function setupSandboxRuntime(): Promise<SandboxRuntimeDoctorResult>;
|
|
78
|
+
declare function sandboxSetupGuidance(doctor: SandboxRuntimeDoctorResult): readonly string[];
|
|
79
|
+
/**
|
|
80
|
+
* Setup/onboarding helper. It may trigger the Windows UAC installer, but never
|
|
81
|
+
* invokes a macOS/Linux package manager or silently widens execution.
|
|
82
|
+
*/
|
|
83
|
+
declare function prepareSandboxRuntimeForSetup(options?: {
|
|
84
|
+
readonly allowElevation?: boolean;
|
|
85
|
+
}): Promise<SandboxSetupOutcome>;
|
|
86
|
+
/**
|
|
87
|
+
* Public SDK executor. An unavailable sandbox is returned as structured state;
|
|
88
|
+
* this function never runs the command without containment.
|
|
89
|
+
*/
|
|
90
|
+
declare function runKodaXSandboxed(input: KodaXSandboxRunInput): Promise<KodaXSandboxRunResult>;
|
|
91
|
+
|
|
92
|
+
export { KODAX_ASRT_VERSION, prepareSandboxRuntimeForSetup as activateKodaXSandbox, doctorSandboxRuntime as doctorKodaXSandbox, sandboxRuntimeCapability as getKodaXSandboxCapability, sandboxSetupGuidance as getKodaXSandboxSetupGuidance, runKodaXSandboxed, setupSandboxRuntime as setupKodaXSandbox };
|
|
93
|
+
export type { KodaXSandboxCapability, SandboxRuntimeDoctorResult as KodaXSandboxDoctorResult, KodaXSandboxFilesystemPolicy, KodaXSandboxNetworkPolicy, KodaXSandboxRunInput, KodaXSandboxRunResult, SandboxSetupOutcome as KodaXSandboxSetupOutcome };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import"./chunks/chunk-5BNQXXGY.js";import{a,b,c,d,e,f,g}from"./chunks/chunk-35PPHOQ2.js";import"./chunks/chunk-VAT2QYXM.js";import"./chunks/chunk-6XM4B6K2.js";import"./chunks/chunk-2CFHBKRE.js";import"./chunks/chunk-NXO6GWSY.js";import"./chunks/chunk-ONUPGMER.js";export{a as KODAX_ASRT_VERSION,f as activateKodaXSandbox,c as doctorKodaXSandbox,b as getKodaXSandboxCapability,e as getKodaXSandboxSetupGuidance,g as runKodaXSandboxed,d as setupKodaXSandbox};
|
package/dist/sdk-session.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, g as CreatableHistoryItem, i as DeleteSessionResult, k as FullTranscriptSessionData, J as ListSessionsOptions, U as RunningSessionInfo, W as SessionManager, Y as SessionSummary, Z as SessionTranscriptEntry, _ as SessionTranscriptEntryType, af as WatchSessionsCallback, ag as appendClientNotice, ah as archiveSession, ai as compactSession, al as createSessionManager, am as deleteSession, an as forkSession, ap as listRunningSessions, aq as listSessions, ar as loadFullTranscript, as as loadSession, av as rewindSession, aw as setActiveEntry, ax as unarchiveSession, ay as watchSessions } from './types-chunks/public-api.d-
|
|
2
|
-
export { S as KodaXTaskResultMetadata, T as KodaXTaskResultSource } from './types-chunks/types.d-
|
|
3
|
-
export {
|
|
4
|
-
export { H as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, a as RestoredHistorySeed, e as extractHistorySeedsFromMessage, b as extractHistorySeedsFromMessages, r as restoreHistoryItemsFromSession } from './types-chunks/sdk-session-
|
|
5
|
-
import './types-chunks/bash-prefix-extractor.d-
|
|
6
|
-
import './types-chunks/types.d-
|
|
1
|
+
export { b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, g as CreatableHistoryItem, i as DeleteSessionResult, k as FullTranscriptSessionData, J as ListSessionsOptions, U as RunningSessionInfo, W as SessionManager, Y as SessionSummary, Z as SessionTranscriptEntry, _ as SessionTranscriptEntryType, af as WatchSessionsCallback, ag as appendClientNotice, ah as archiveSession, ai as compactSession, al as createSessionManager, am as deleteSession, an as forkSession, ap as listRunningSessions, aq as listSessions, ar as loadFullTranscript, as as loadSession, av as rewindSession, aw as setActiveEntry, ax as unarchiveSession, ay as watchSessions } from './types-chunks/public-api.d-B3AohsxN.js';
|
|
2
|
+
export { S as KodaXTaskResultMetadata, T as KodaXTaskResultSource } from './types-chunks/types.d-DIpZJKUl.js';
|
|
3
|
+
export { c3 as KodaXSessionUiHistoryItem, c4 as KodaXSessionUiHistoryItemType, c5 as KodaXSessionUiTextHistoryItem, c6 as KodaXSessionUiTextHistoryItemType, c7 as KodaXSessionUiToolCall, c8 as KodaXSessionUiToolCallStatus, c9 as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/types.d-BA-Jwpfs.js';
|
|
4
|
+
export { H as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, a as RestoredHistorySeed, e as extractHistorySeedsFromMessage, b as extractHistorySeedsFromMessages, r as restoreHistoryItemsFromSession } from './types-chunks/sdk-session-DB9KksIx.js';
|
|
5
|
+
import './types-chunks/bash-prefix-extractor.d-uAe2Oqda.js';
|
|
6
|
+
import './types-chunks/types.d-BbtGlKZu.js';
|
|
7
7
|
import 'vscode-languageserver-protocol';
|
|
8
8
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
9
|
+
import './types-chunks/types-D3g6XUQr.js';
|
|
9
10
|
import './types-chunks/capability.d-K664nHOS.js';
|
|
10
|
-
import './types-chunks/base.d-
|
|
11
|
-
import './types-chunks/center-types.d-BBT122uJ.js';
|
|
11
|
+
import './types-chunks/base.d-4e74xDdy.js';
|
package/dist/sdk-session.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{
|
|
2
|
+
import{Nb as t,Ob as i,Pb as n,Qb as a,Rb as r,Sb as S,Tb as l,Ub as p,Vb as d,Wb as c,Xb as y,Yb as m,Zb as u,_b as T,bb as o}from"./chunks/chunk-T2XZTLYE.js";import{ba as s,ca as e}from"./chunks/chunk-YVRYHC4C.js";import"./chunks/chunk-6YZUE6NC.js";import"./chunks/chunk-7OEBJGHK.js";import"./chunks/chunk-5GO6FH7L.js";import"./chunks/chunk-TQDBTTIM.js";import"./chunks/chunk-UID7BLAB.js";import"./chunks/chunk-Z3KFRTSB.js";import"./chunks/chunk-6FOJVETH.js";import"./chunks/chunk-KQLQYHWU.js";import"./chunks/chunk-YAZQTC2L.js";import"./chunks/chunk-5NDCSFOP.js";import"./chunks/chunk-VAT2QYXM.js";import"./chunks/chunk-6XM4B6K2.js";import"./chunks/chunk-2CFHBKRE.js";import"./chunks/chunk-NXO6GWSY.js";import"./chunks/chunk-ONUPGMER.js";export{r as appendClientNotice,y as archiveSession,t as compactSession,T as createSessionManager,c as deleteSession,s as extractHistorySeedsFromMessage,e as extractHistorySeedsFromMessages,S as forkSession,d as listRunningSessions,i as listSessions,a as loadFullTranscript,n as loadSession,o as restoreHistoryItemsFromSession,l as rewindSession,p as setActiveEntry,m as unarchiveSession,u as watchSessions};
|
package/dist/sdk-skills.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ResolvedSkillSource, S as Skill, e as SkillFile, i as SkillMetadata, f as SkillFrontmatter, j as SkillPathsConfig, a as IVariableResolver, c as SkillContext, I as ISkillRegistry, k as SkillResult } from './types-chunks/types.d-
|
|
2
|
-
export { b as SkillArtifact, d as SkillDynamicContextExecutor, g as SkillHook, h as SkillHooks, l as SkillSource, m as getDefaultSkillPaths, n as getSkillPathsFlat } from './types-chunks/types.d-
|
|
1
|
+
import { R as ResolvedSkillSource, S as Skill, e as SkillFile, i as SkillMetadata, f as SkillFrontmatter, j as SkillPathsConfig, a as IVariableResolver, c as SkillContext, I as ISkillRegistry, k as SkillResult } from './types-chunks/types.d-BbtGlKZu.js';
|
|
2
|
+
export { b as SkillArtifact, d as SkillDynamicContextExecutor, g as SkillHook, h as SkillHooks, l as SkillSource, m as getDefaultSkillPaths, n as getSkillPathsFlat } from './types-chunks/types.d-BbtGlKZu.js';
|
|
3
3
|
|
|
4
4
|
declare function registerPluginSkillPath(skillPath: string): () => void;
|
|
5
5
|
declare function unregisterPluginSkillPath(skillPath: string): boolean;
|
package/dist/sdk-skills.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import"./chunks/chunk-
|
|
2
|
+
import"./chunks/chunk-VAT2QYXM.js";import{$a as h,D as l,E as e,F as i,G as t,H as o,I as a,M as k,N as r,O as S,P as s,Ta as n,Ua as g,Va as u,Wa as c,Xa as d,Ya as x,Za as P,_a as R,ab as p,bb as v,cb as y,db as M,eb as f,fb as m,gb as E}from"./chunks/chunk-6XM4B6K2.js";import"./chunks/chunk-2CFHBKRE.js";import"./chunks/chunk-NXO6GWSY.js";import"./chunks/chunk-ONUPGMER.js";export{y as SkillExecutor,R as SkillRegistry,d as VariableResolver,t as clearPluginSkillPaths,M as createExecutor,x as createResolver,n as discoverSkills,u as discoverSkillsWithMonorepo,f as executeSkill,m as expandSkillForLLM,E as formatSkillActivationMessage,o as getDefaultSkillPaths,g as getNestedSkillPaths,a as getSkillPathsFlat,h as getSkillRegistry,p as initializeSkillRegistry,i as listPluginSkillPaths,S as loadFullSkill,s as loadSkillFileContent,r as loadSkillMetadata,c as parseArguments,k as parseSkillMarkdown,l as registerPluginSkillPath,v as resetSkillRegistry,P as resolveSkillContent,e as unregisterPluginSkillPath};
|