@kodax-ai/kodax 0.7.69 → 0.7.70
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 +53 -1
- package/LICENSE +158 -191
- package/README.md +38 -5
- package/README_CN.md +31 -7
- package/config-templates/integrations/a2a.example.jsonc +1 -1
- package/dist/chunks/{agent-DQRXT6M7.js → agent-T72XYPW4.js} +1 -1
- package/dist/chunks/argument-completer-QXJC36UP.js +2 -0
- package/dist/chunks/chunk-34L74PEG.js +60 -0
- package/dist/chunks/{chunk-ZG4DMYBS.js → chunk-4P4L3WEK.js} +1 -1
- package/dist/chunks/{chunk-VYKFM3TB.js → chunk-7PV577LP.js} +67 -63
- package/dist/chunks/{chunk-PQ3XUSY2.js → chunk-AQGNRBEJ.js} +189 -180
- package/dist/chunks/{chunk-URC6ZI6P.js → chunk-F4NOOBRZ.js} +1 -1
- package/dist/chunks/{chunk-PA76WUBL.js → chunk-GOQRVDFP.js} +2 -2
- package/dist/chunks/{chunk-VAZ25MDX.js → chunk-K7RYV2SE.js} +2 -2
- package/dist/chunks/{chunk-M7TCFYTO.js → chunk-P2UKNYYS.js} +3 -3
- package/dist/chunks/{chunk-4WIODYOH.js → chunk-RY5OLVQV.js} +1 -1
- package/dist/chunks/{chunk-NGJURAY5.js → chunk-XNQ2O7NI.js} +4 -4
- package/dist/chunks/{compaction-config-ABLL6UH3.js → compaction-config-TC6C2PJ6.js} +1 -1
- package/dist/chunks/{construction-bootstrap-GH6RW6ST.js → construction-bootstrap-BPRXZK4A.js} +1 -1
- package/dist/chunks/{dist-RWL2RBO4.js → dist-UENHF5OS.js} +1 -1
- package/dist/chunks/{host-7SAB4WEC.js → host-XUVAICP7.js} +1 -1
- package/dist/chunks/{run-manager-XMDKTONJ.js → run-manager-T7ALQZNT.js} +1 -1
- package/dist/chunks/{utils-QYE5Y73D.js → utils-TMMH6PKT.js} +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +6 -6
- package/dist/kodax_cli.js +1207 -1192
- package/dist/runtime-worker.js +1104 -1090
- package/dist/sdk-a2a.d.ts +6 -6
- package/dist/sdk-a2a.js +8 -7
- package/dist/sdk-agent.d.ts +2 -2
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +19 -11
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-llm.d.ts +1 -1
- package/dist/sdk-mcp.d.ts +2 -2
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-repl.d.ts +10 -10
- package/dist/sdk-repl.js +1 -1
- package/dist/sdk-runtime.d.ts +80 -11
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-session.d.ts +4 -4
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +10 -10
- package/dist/types-chunks/{bash-prefix-extractor.d-BkIA8Wto.d.ts → bash-prefix-extractor.d-h9AwGqmO.d.ts} +12 -2
- package/dist/types-chunks/{capability.d-3C62G8Eq.d.ts → capability.d-K664nHOS.d.ts} +21 -6
- package/dist/types-chunks/{commands.d-DkPfcQWG.d.ts → commands.d-DxiVanpI.d.ts} +3 -3
- package/dist/types-chunks/{manager.d-CoEuPRAo.d.ts → manager.d-B67TmPO1.d.ts} +27 -3
- package/dist/types-chunks/{public-api.d-7G4--RZE.d.ts → public-api.d-BqFKI5fK.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-BQccrODn.d.ts → sdk-session-tcoxrMHQ.d.ts} +2 -2
- package/dist/types-chunks/{types.d-C9YHEAmA.d.ts → types.d-DZaYznxo.d.ts} +2 -2
- package/dist/types-chunks/{utils.d-BbB5jzi1.d.ts → utils.d-B4zc7oot.d.ts} +2 -2
- package/docs/SDK_EMBEDDER_GUIDE.md +112 -19
- package/package.json +2 -2
- package/dist/chunks/argument-completer-RSK6CCGP.js +0 -2
- package/dist/chunks/chunk-Z4PPLJF2.js +0 -60
package/dist/sdk-runtime.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { F as KodaXReasoningMode, d as KodaXCustomProviderConfig } from './types-chunks/types.d-TTvpAGWf.js';
|
|
2
2
|
export { k as KodaXMessage } from './types-chunks/types.d-TTvpAGWf.js';
|
|
3
|
-
import { Y as KodaXOptions, R as KodaXManagedTaskStatusEvent, L as KodaXEvents, a6 as KodaXResult, b5 as RuntimeContextBudgetSnapshot, bc as RuntimeToolExposurePlan, H as KodaXContextOptions, K as KodaXActivityEventMeta, aA as KodaXToolEventMeta, aH as KodaXTurnStartedEvent, aE as KodaXTurnCompletedEvent, aG as KodaXTurnFailedEvent } from './types-chunks/bash-prefix-extractor.d-
|
|
4
|
-
import { o as AgentDispatchContext, x as AgentExecutorFactory, p as AgentDispatchPolicy, n as AgentCredentialBroker, g as AgentArtifactPolicy, aP as KodaXImageInputArtifact, aS as KodaXInputArtifactSource, bo as KodaXVideoInputArtifact, dt as WorkflowProcessSnapshot, dm as WorkflowProcessEvent, N as AgentRegistrationService, am as DispatchableAgentQuery, ak as DispatchableAgentListing, K as AgentPreflightInput, L as AgentPreflightResult, V as AgentTaskService } from './types-chunks/types.d-BtC4yLYO.js';
|
|
3
|
+
import { Y as KodaXOptions, R as KodaXManagedTaskStatusEvent, L as KodaXEvents, a6 as KodaXResult, b5 as RuntimeContextBudgetSnapshot, bc as RuntimeToolExposurePlan, H as KodaXContextOptions, K as KodaXActivityEventMeta, aA as KodaXToolEventMeta, aH as KodaXTurnStartedEvent, aE as KodaXTurnCompletedEvent, aG as KodaXTurnFailedEvent } from './types-chunks/bash-prefix-extractor.d-h9AwGqmO.js';
|
|
4
|
+
import { o as AgentDispatchContext, x as AgentExecutorFactory, p as AgentDispatchPolicy, n as AgentCredentialBroker, g as AgentArtifactPolicy, aP as KodaXImageInputArtifact, aS as KodaXInputArtifactSource, bo as KodaXVideoInputArtifact, dt as WorkflowProcessSnapshot, dm as WorkflowProcessEvent, W as AgentTaskSnapshot, N as AgentRegistrationService, am as DispatchableAgentQuery, ak as DispatchableAgentListing, K as AgentPreflightInput, L as AgentPreflightResult, V as AgentTaskService } from './types-chunks/types.d-BtC4yLYO.js';
|
|
5
5
|
import { i as SkillMetadata } from './types-chunks/types.d-vJExiRje.js';
|
|
6
6
|
import { a as McpServerConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
7
|
-
import {
|
|
7
|
+
import { t as McpServerStatus, u as McpServerToolList } from './types-chunks/manager.d-B67TmPO1.js';
|
|
8
8
|
import { c as ManagedWorkflowSnapshot } from './types-chunks/run-manager.d-BaXtkryp.js';
|
|
9
|
-
import { L as LoadedExtensionDiagnostic, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-
|
|
10
|
-
import { F as saveConfig, c as CommandInfo } from './types-chunks/utils.d-
|
|
11
|
-
import { d as FullTranscriptSessionData, j as SessionTranscriptEntry, a as CompactSessionResult } from './types-chunks/public-api.d-
|
|
9
|
+
import { L as LoadedExtensionDiagnostic, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-DZaYznxo.js';
|
|
10
|
+
import { F as saveConfig, c as CommandInfo } from './types-chunks/utils.d-B4zc7oot.js';
|
|
11
|
+
import { d as FullTranscriptSessionData, j as SessionTranscriptEntry, a as CompactSessionResult } from './types-chunks/public-api.d-BqFKI5fK.js';
|
|
12
12
|
import 'vscode-languageserver-protocol';
|
|
13
13
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
14
|
-
import './types-chunks/capability.d-
|
|
14
|
+
import './types-chunks/capability.d-K664nHOS.js';
|
|
15
15
|
import './types-chunks/base.d-CYjtB68X.js';
|
|
16
16
|
import './types-chunks/guardrail.d-R7AiGfrI.js';
|
|
17
17
|
import './types-chunks/guardrail.d-6ZDbNbHO.js';
|
|
@@ -131,7 +131,7 @@ interface RuntimeAgentBindingService {
|
|
|
131
131
|
|
|
132
132
|
declare const KODAX_DAEMON_PROTOCOL = "kodax-runtime-daemon";
|
|
133
133
|
declare const KODAX_DAEMON_PROTOCOL_VERSION = 1;
|
|
134
|
-
type RuntimeDaemonMethod = 'initialize' | 'runtime.initialize' | 'ping' | 'runtime.identity' | 'runtime.status' | 'runtime.shutdown' | 'runtime.capabilities' | 'daemon.status' | 'daemon.stop' | 'daemon.logs' | 'daemon.preflight' | 'operation.get' | 'session.create' | 'session.load' | 'session.list' | 'session.transcript' | 'session.observe' | 'session.fork' | 'session.notice.append' | 'session.rewind' | 'session.active_entry.set' | 'session.activeEntry.set' | 'session.compact' | 'session.archive' | 'session.unarchive' | 'session.delete' | 'session.settings.get' | 'session.settings.getVersioned' | 'session.settings.update' | 'session.settings.updateVersioned' | 'run.start' | 'run.input.submit' | 'run.get' | 'run.list' | 'run.await' | 'run.abort' | 'run.model.set' | 'run.provider.set' | 'run.reasoning.set' | 'run.setModel' | 'run.setProvider' | 'run.setReasoning' | 'event.subscribe' | 'event.unsubscribe' | 'event.replay' | 'permission.list' | 'permission.listPending' | 'permission.request' | 'permission.respond' | 'permission.grants.list' | 'permission.grants.revoke' | 'user_input.listPending' | 'user_input.respond' | 'user_input.dismiss' | 'credential.register' | 'credential.get' | 'credential.revoke' | 'credential.supply' | 'host_tool.register' | 'host_tool.get' | 'host_tool.invocation.get' | 'host_tool.revoke' | 'host_tool.complete' | 'workflow.list' | 'workflow.get' | 'workflow.subscribe' | 'workflow.unsubscribe' | 'workflow.pause' | 'workflow.resume' | 'workflow.stop' | 'config.read' | 'config.patch' | 'config.reload' | 'model.list' | 'provider.list' | 'provider.custom.list' | 'provider.custom.upsert' | 'provider.custom.remove' | 'mcp.server.list' | 'mcp.server.get' | 'mcp.server.validate' | 'mcp.server.upsert' | 'mcp.server.delete' | 'mcp.server.remove' | 'mcp.server.reload' | 'mcp.tool.list' | 'extension.list' | 'extension.reload' | 'command.list' | 'command.resolve' | 'skill.list' | 'skill.describe' | 'skill.read' | 'artifact.create' | 'artifact.get' | 'artifact.delete' | 'agentRegistrations.list' | 'agentRegistrations.upsert' | 'agentRegistrations.remove' | 'agents.listDispatchable' | 'agents.describe' | 'agents.preflight' | 'agentTasks.list' | 'agentTasks.start' | 'agentTasks.get' | 'agentTasks.events' | 'agentTasks.wait' | 'agentTasks.sendInput' | 'agentTasks.cancel' | 'agentTasks.reconcile' | 'context.budget.get' | 'tool.exposure.preview';
|
|
134
|
+
type RuntimeDaemonMethod = 'initialize' | 'runtime.initialize' | 'ping' | 'runtime.identity' | 'runtime.status' | 'runtime.shutdown' | 'runtime.capabilities' | 'daemon.status' | 'daemon.stop' | 'daemon.logs' | 'daemon.preflight' | 'daemon.management.get' | 'daemon.rollbackToInline' | 'operation.get' | 'session.create' | 'session.load' | 'session.list' | 'session.transcript' | 'session.observe' | 'session.fork' | 'session.notice.append' | 'session.rewind' | 'session.active_entry.set' | 'session.activeEntry.set' | 'session.compact' | 'session.archive' | 'session.unarchive' | 'session.delete' | 'session.settings.get' | 'session.settings.getVersioned' | 'session.settings.update' | 'session.settings.updateVersioned' | 'run.start' | 'run.input.submit' | 'run.get' | 'run.list' | 'run.await' | 'run.abort' | 'run.model.set' | 'run.provider.set' | 'run.reasoning.set' | 'run.setModel' | 'run.setProvider' | 'run.setReasoning' | 'event.subscribe' | 'event.unsubscribe' | 'event.replay' | 'permission.list' | 'permission.listPending' | 'permission.request' | 'permission.respond' | 'permission.grants.list' | 'permission.grants.revoke' | 'user_input.listPending' | 'user_input.respond' | 'user_input.dismiss' | 'credential.register' | 'credential.get' | 'credential.revoke' | 'credential.supply' | 'host_tool.register' | 'host_tool.get' | 'host_tool.invocation.get' | 'host_tool.revoke' | 'host_tool.complete' | 'workflow.list' | 'workflow.get' | 'workflow.subscribe' | 'workflow.unsubscribe' | 'workflow.pause' | 'workflow.resume' | 'workflow.stop' | 'config.read' | 'config.patch' | 'config.reload' | 'model.list' | 'provider.list' | 'provider.custom.list' | 'provider.custom.upsert' | 'provider.custom.remove' | 'mcp.server.list' | 'mcp.server.get' | 'mcp.server.validate' | 'mcp.server.upsert' | 'mcp.server.delete' | 'mcp.server.remove' | 'mcp.server.reload' | 'mcp.tool.list' | 'extension.list' | 'extension.reload' | 'command.list' | 'command.resolve' | 'skill.list' | 'skill.describe' | 'skill.read' | 'artifact.create' | 'artifact.get' | 'artifact.delete' | 'agentRegistrations.list' | 'agentRegistrations.upsert' | 'agentRegistrations.remove' | 'agents.listDispatchable' | 'agents.describe' | 'agents.preflight' | 'agentTasks.list' | 'agentTasks.start' | 'agentTasks.get' | 'agentTasks.events' | 'agentTasks.wait' | 'agentTasks.sendInput' | 'agentTasks.cancel' | 'agentTasks.reconcile' | 'context.budget.get' | 'tool.exposure.preview';
|
|
135
135
|
type RuntimeDaemonNotificationMethod = 'event' | 'credential.request' | 'host_tool.invoke' | 'runtime.warning';
|
|
136
136
|
interface RuntimeDaemonError {
|
|
137
137
|
readonly code: RuntimeDaemonErrorCode;
|
|
@@ -273,6 +273,14 @@ declare const RUNTIME_DAEMON_METHOD_SCHEMAS: {
|
|
|
273
273
|
params: RuntimeDaemonJsonSchema;
|
|
274
274
|
result: RuntimeDaemonJsonSchema;
|
|
275
275
|
};
|
|
276
|
+
'daemon.management.get': {
|
|
277
|
+
params: RuntimeDaemonJsonSchema;
|
|
278
|
+
result: RuntimeDaemonJsonSchema;
|
|
279
|
+
};
|
|
280
|
+
'daemon.rollbackToInline': {
|
|
281
|
+
params: RuntimeDaemonJsonSchema;
|
|
282
|
+
result: RuntimeDaemonJsonSchema;
|
|
283
|
+
};
|
|
276
284
|
'operation.get': {
|
|
277
285
|
params: RuntimeDaemonJsonSchema;
|
|
278
286
|
result: RuntimeDaemonJsonSchema;
|
|
@@ -720,8 +728,26 @@ type KodaXRuntimeIsolation = 'inline' | 'worker' | 'process';
|
|
|
720
728
|
interface RuntimeInlineOwnerHandle {
|
|
721
729
|
readonly profile: string;
|
|
722
730
|
readonly ownerId: string;
|
|
731
|
+
readonly ownerPolicy: RuntimeOwnerPolicyState;
|
|
723
732
|
close(): void;
|
|
724
733
|
}
|
|
734
|
+
interface RuntimeOwnerPolicyState {
|
|
735
|
+
readonly mode: 'daemon' | 'inline';
|
|
736
|
+
readonly revision: number;
|
|
737
|
+
readonly updatedAt: string;
|
|
738
|
+
}
|
|
739
|
+
interface RuntimeOwnerIdentity {
|
|
740
|
+
readonly runtimeId: string;
|
|
741
|
+
readonly pid: number;
|
|
742
|
+
readonly createdAt: string;
|
|
743
|
+
readonly kind?: 'daemon' | 'inline';
|
|
744
|
+
}
|
|
745
|
+
interface RuntimeOwnerState {
|
|
746
|
+
readonly profile: string;
|
|
747
|
+
readonly policy: RuntimeOwnerPolicyState;
|
|
748
|
+
readonly ownerStatus: 'unowned' | 'owned' | 'unreadable';
|
|
749
|
+
readonly owner: RuntimeOwnerIdentity | null;
|
|
750
|
+
}
|
|
725
751
|
/**
|
|
726
752
|
* Reserve the Coder profile for inline rollback. Partner runtimes must not use
|
|
727
753
|
* this fence; they remain in their independent embedded namespace.
|
|
@@ -731,6 +757,19 @@ declare function acquireKodaXInlineOwner(input?: {
|
|
|
731
757
|
readonly profile?: string;
|
|
732
758
|
readonly enableRollback?: boolean;
|
|
733
759
|
}): RuntimeInlineOwnerHandle;
|
|
760
|
+
declare function getKodaXRuntimeOwnerPolicy(input?: {
|
|
761
|
+
readonly homeDir?: string;
|
|
762
|
+
readonly profile?: string;
|
|
763
|
+
}): RuntimeOwnerPolicyState;
|
|
764
|
+
declare function getKodaXRuntimeOwnerState(input?: {
|
|
765
|
+
readonly homeDir?: string;
|
|
766
|
+
readonly profile?: string;
|
|
767
|
+
}): RuntimeOwnerState;
|
|
768
|
+
/** Enable daemon auto-start after the inline owner has released its fence. */
|
|
769
|
+
declare function enableKodaXDaemonOwner(input?: {
|
|
770
|
+
readonly homeDir?: string;
|
|
771
|
+
readonly profile?: string;
|
|
772
|
+
}): RuntimeOwnerPolicyState;
|
|
734
773
|
declare function setKodaXRuntimeOwnerMode(input: {
|
|
735
774
|
readonly mode: 'daemon' | 'inline';
|
|
736
775
|
readonly expectedRevision: number;
|
|
@@ -853,6 +892,7 @@ interface RuntimeCapabilityRequirements {
|
|
|
853
892
|
readonly daemonSafeRunInput?: 1;
|
|
854
893
|
readonly sharedSessionSettings?: 1;
|
|
855
894
|
readonly durableRecoveryQueries?: 1;
|
|
895
|
+
readonly daemonManagement?: 1;
|
|
856
896
|
}
|
|
857
897
|
type RuntimeOperationState = 'accepted' | 'dispatched' | 'applied' | 'rejected' | 'interrupted' | 'unknown';
|
|
858
898
|
interface RuntimeOperationReceipt {
|
|
@@ -1351,6 +1391,7 @@ interface RuntimeDaemonRunService extends Omit<RuntimeRunService, 'start'> {
|
|
|
1351
1391
|
}
|
|
1352
1392
|
type KodaXDaemonRuntime = Omit<KodaXRuntime, 'runs'> & {
|
|
1353
1393
|
readonly runs: RuntimeDaemonRunService;
|
|
1394
|
+
readonly daemon: RuntimeDaemonManagementService;
|
|
1354
1395
|
};
|
|
1355
1396
|
interface RuntimeRunStatus {
|
|
1356
1397
|
readonly runId: string;
|
|
@@ -1774,11 +1815,39 @@ interface RuntimeDaemonPreflight {
|
|
|
1774
1815
|
readonly clientCount: number;
|
|
1775
1816
|
readonly activeRuns: readonly RuntimeRunStatus[];
|
|
1776
1817
|
readonly queuedRuns: readonly RuntimeRunStatus[];
|
|
1818
|
+
readonly activeWorkflows: readonly RuntimeWorkflowSummary[];
|
|
1819
|
+
readonly activeAgentTasks: readonly AgentTaskSnapshot[];
|
|
1777
1820
|
readonly pendingPermissions: readonly RuntimePermissionRequest[];
|
|
1778
1821
|
readonly pendingUserInputs: readonly RuntimeUserInputRequest[];
|
|
1779
|
-
readonly blockers: readonly ('connected_clients' | 'active_runs' | 'queued_runs' | 'pending_interactions')[];
|
|
1822
|
+
readonly blockers: readonly ('connected_clients' | 'active_runs' | 'queued_runs' | 'active_workflows' | 'active_agent_tasks' | 'pending_interactions')[];
|
|
1780
1823
|
readonly canStop: boolean;
|
|
1781
1824
|
}
|
|
1825
|
+
interface RuntimeDaemonManagementState {
|
|
1826
|
+
readonly runtimeId: string;
|
|
1827
|
+
/** Monotonic for logical client, mutation, Runtime event, and preflight state changes. */
|
|
1828
|
+
readonly revision: number;
|
|
1829
|
+
readonly ownerPolicy: RuntimeOwnerPolicyState;
|
|
1830
|
+
readonly owner: RuntimeOwnerIdentity;
|
|
1831
|
+
readonly preflight: RuntimeDaemonPreflight;
|
|
1832
|
+
}
|
|
1833
|
+
interface RuntimeDaemonRollbackInput {
|
|
1834
|
+
readonly expectedRuntimeId: string;
|
|
1835
|
+
readonly expectedRevision: number;
|
|
1836
|
+
readonly expectedOwnerPolicyRevision: number;
|
|
1837
|
+
readonly operation?: RuntimeOperationOptions;
|
|
1838
|
+
}
|
|
1839
|
+
interface RuntimeDaemonRollbackResult {
|
|
1840
|
+
readonly accepted: true;
|
|
1841
|
+
readonly runtimeId: string;
|
|
1842
|
+
readonly revision: number;
|
|
1843
|
+
readonly ownerPolicy: RuntimeOwnerPolicyState & {
|
|
1844
|
+
readonly mode: 'inline';
|
|
1845
|
+
};
|
|
1846
|
+
}
|
|
1847
|
+
interface RuntimeDaemonManagementService {
|
|
1848
|
+
inspect(): Promise<RuntimeDaemonManagementState>;
|
|
1849
|
+
stopForInline(input: RuntimeDaemonRollbackInput): Promise<RuntimeDaemonRollbackResult>;
|
|
1850
|
+
}
|
|
1782
1851
|
interface RuntimeStatusService {
|
|
1783
1852
|
snapshot(): Promise<RuntimeStatusSnapshot>;
|
|
1784
1853
|
preflight(): Promise<RuntimeDaemonPreflight>;
|
|
@@ -1789,5 +1858,5 @@ declare function createKodaXRuntime(options: CreateKodaXRuntimeOptions & {
|
|
|
1789
1858
|
declare function createKodaXRuntime(options?: CreateKodaXRuntimeOptions): Promise<KodaXRuntime>;
|
|
1790
1859
|
declare function connectKodaXRuntime(options?: ConnectKodaXRuntimeOptions): Promise<KodaXDaemonRuntime>;
|
|
1791
1860
|
|
|
1792
|
-
export { KODAX_DAEMON_PROTOCOL, KODAX_DAEMON_PROTOCOL_VERSION, KodaXEvents, KodaXResult, RUNTIME_DAEMON_METHODS, RUNTIME_DAEMON_METHOD_SCHEMAS, RUNTIME_DAEMON_NOTIFICATION_SCHEMAS, RUNTIME_DAEMON_PROTOCOL_SCHEMA, RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON, RuntimeContextBudgetSnapshot, RuntimeToolExposurePlan, RuntimeTransportBoundaryError, SessionTranscriptEntry, acquireKodaXInlineOwner, connectKodaXRuntime, createKodaXRuntime, listRuntimeDaemonSchemaMethods, parseRuntimeEvent, setKodaXRuntimeOwnerMode };
|
|
1793
|
-
export type { ConnectKodaXRuntimeOptions, CreateKodaXRuntimeOptions, KodaXDaemonRuntime, KodaXRuntime, KodaXRuntimeIsolation, KodaXRuntimeMode, RuntimeActiveToolProjection, RuntimeAdminService, RuntimeAgentBindingService, RuntimeAgentOwnerSession, RuntimeAgentService, RuntimeAgentTaskService, RuntimeAppendNoticeInput, RuntimeArtifact, RuntimeArtifactKind, RuntimeArtifactRefInput, RuntimeArtifactService, RuntimeBoundDefaultAgent, RuntimeBoundLocalAgent, RuntimeCapabilityRequirements, RuntimeCatalogService, RuntimeClientCapabilities, RuntimeClientInfo, RuntimeCommandInfo, RuntimeCommandResolveInput, RuntimeCompactSessionInput, RuntimeCompactSessionResult, RuntimeConfigPatch, RuntimeConfigReloadResult, RuntimeConfigService, RuntimeConnectionService, RuntimeConnectionState, RuntimeContinuationStatus, RuntimeCreateArtifactInput, RuntimeCreateSessionInput, RuntimeCredentialBroker, RuntimeCredentialLease, RuntimeCredentialRequest, RuntimeCredentialService, RuntimeDaemonClientTransport, RuntimeDaemonContextOptions, RuntimeDaemonEndpoint, RuntimeDaemonError, RuntimeDaemonErrorCode, RuntimeDaemonFrame, RuntimeDaemonJsonSchema, RuntimeDaemonKodaXOptions, RuntimeDaemonMethod, RuntimeDaemonMethodSchema, RuntimeDaemonNotification, RuntimeDaemonNotificationMethod, RuntimeDaemonPreflight, RuntimeDaemonProtocolSchema, RuntimeDaemonRequest, RuntimeDaemonRunService, RuntimeDaemonStartRunInput, RuntimeDaemonTransportLifecycleState, RuntimeDefaultAgentStartInput, RuntimeDiagnosticFilter, RuntimeDiagnosticsService, RuntimeEffectiveSkillRef, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventReplayFilter, RuntimeEventService, RuntimeEventType, RuntimeExecutionToolPolicy, RuntimeExtensionListResult, RuntimeExtensionReloadResult, RuntimeExternalAgentsOptions, RuntimeFileInput, RuntimeForkSessionInput, RuntimeGrantedScope, RuntimeHostToolDescriptor, RuntimeHostToolHandler, RuntimeHostToolInvocation, RuntimeHostToolInvocationStatus, RuntimeHostToolLease, RuntimeHostToolResult, RuntimeHostToolService, RuntimeIdentity, RuntimeImageInput, RuntimeInlineOwnerHandle, RuntimeInput, RuntimeInteractionResolvedEventPayload, RuntimeKodaXOptions, RuntimeLocalAgentStartInput, RuntimeManagedTaskProjection, RuntimeMcpReloadResult, RuntimeMcpService, RuntimeMcpToolListFilter, RuntimeMcpValidateResult, RuntimeModelListFilter, RuntimeOperationOptions, RuntimeOperationReceipt, RuntimeOperationService, RuntimeOperationState, RuntimePendingUserInputProjection, RuntimePermissionBroker, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionService, RuntimeResolvedLocalAgent, RuntimeRewindSessionInput, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStatus, RuntimeSession, RuntimeSessionFilter, RuntimeSessionLiveProjection, RuntimeSessionLoadedEventPayload, RuntimeSessionObservation, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionSummary, RuntimeSetActiveEntryInput, RuntimeSkillDescribeInput, RuntimeSkillDescription, RuntimeSkillFileSummary, RuntimeSkillListFilter, RuntimeSkillSummary, RuntimeStartRunInput, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalCode, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTypedEvent, RuntimeTypedEventListener, RuntimeUserInputFilter, RuntimeUserInputKind, RuntimeUserInputRequest, RuntimeUserInputRequestedEventPayload, RuntimeUserInputResolution, RuntimeUserInputService, RuntimeUserMarkdownAgentRef, RuntimeVersionedUpdateOptions, RuntimeVersionedValue, RuntimeVideoInput, RuntimeWarningEventPayload, RuntimeWorkerOptions, RuntimeWorkerResourceLimits, RuntimeWorkflowFilter, RuntimeWorkflowListener, RuntimeWorkflowService, RuntimeWorkflowSnapshot, RuntimeWorkflowSummary, RuntimeWorkspaceBinding };
|
|
1861
|
+
export { KODAX_DAEMON_PROTOCOL, KODAX_DAEMON_PROTOCOL_VERSION, KodaXEvents, KodaXResult, RUNTIME_DAEMON_METHODS, RUNTIME_DAEMON_METHOD_SCHEMAS, RUNTIME_DAEMON_NOTIFICATION_SCHEMAS, RUNTIME_DAEMON_PROTOCOL_SCHEMA, RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON, RuntimeContextBudgetSnapshot, RuntimeToolExposurePlan, RuntimeTransportBoundaryError, SessionTranscriptEntry, acquireKodaXInlineOwner, connectKodaXRuntime, createKodaXRuntime, enableKodaXDaemonOwner, getKodaXRuntimeOwnerPolicy, getKodaXRuntimeOwnerState, listRuntimeDaemonSchemaMethods, parseRuntimeEvent, setKodaXRuntimeOwnerMode };
|
|
1862
|
+
export type { ConnectKodaXRuntimeOptions, CreateKodaXRuntimeOptions, KodaXDaemonRuntime, KodaXRuntime, KodaXRuntimeIsolation, KodaXRuntimeMode, RuntimeActiveToolProjection, RuntimeAdminService, RuntimeAgentBindingService, RuntimeAgentOwnerSession, RuntimeAgentService, RuntimeAgentTaskService, RuntimeAppendNoticeInput, RuntimeArtifact, RuntimeArtifactKind, RuntimeArtifactRefInput, RuntimeArtifactService, RuntimeBoundDefaultAgent, RuntimeBoundLocalAgent, RuntimeCapabilityRequirements, RuntimeCatalogService, RuntimeClientCapabilities, RuntimeClientInfo, RuntimeCommandInfo, RuntimeCommandResolveInput, RuntimeCompactSessionInput, RuntimeCompactSessionResult, RuntimeConfigPatch, RuntimeConfigReloadResult, RuntimeConfigService, RuntimeConnectionService, RuntimeConnectionState, RuntimeContinuationStatus, RuntimeCreateArtifactInput, RuntimeCreateSessionInput, RuntimeCredentialBroker, RuntimeCredentialLease, RuntimeCredentialRequest, RuntimeCredentialService, RuntimeDaemonClientTransport, RuntimeDaemonContextOptions, RuntimeDaemonEndpoint, RuntimeDaemonError, RuntimeDaemonErrorCode, RuntimeDaemonFrame, RuntimeDaemonJsonSchema, RuntimeDaemonKodaXOptions, RuntimeDaemonManagementService, RuntimeDaemonManagementState, RuntimeDaemonMethod, RuntimeDaemonMethodSchema, RuntimeDaemonNotification, RuntimeDaemonNotificationMethod, RuntimeDaemonPreflight, RuntimeDaemonProtocolSchema, RuntimeDaemonRequest, RuntimeDaemonRollbackInput, RuntimeDaemonRollbackResult, RuntimeDaemonRunService, RuntimeDaemonStartRunInput, RuntimeDaemonTransportLifecycleState, RuntimeDefaultAgentStartInput, RuntimeDiagnosticFilter, RuntimeDiagnosticsService, RuntimeEffectiveSkillRef, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventReplayFilter, RuntimeEventService, RuntimeEventType, RuntimeExecutionToolPolicy, RuntimeExtensionListResult, RuntimeExtensionReloadResult, RuntimeExternalAgentsOptions, RuntimeFileInput, RuntimeForkSessionInput, RuntimeGrantedScope, RuntimeHostToolDescriptor, RuntimeHostToolHandler, RuntimeHostToolInvocation, RuntimeHostToolInvocationStatus, RuntimeHostToolLease, RuntimeHostToolResult, RuntimeHostToolService, RuntimeIdentity, RuntimeImageInput, RuntimeInlineOwnerHandle, RuntimeInput, RuntimeInteractionResolvedEventPayload, RuntimeKodaXOptions, RuntimeLocalAgentStartInput, RuntimeManagedTaskProjection, RuntimeMcpReloadResult, RuntimeMcpService, RuntimeMcpToolListFilter, RuntimeMcpValidateResult, RuntimeModelListFilter, RuntimeOperationOptions, RuntimeOperationReceipt, RuntimeOperationService, RuntimeOperationState, RuntimeOwnerIdentity, RuntimeOwnerPolicyState, RuntimeOwnerState, RuntimePendingUserInputProjection, RuntimePermissionBroker, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionService, RuntimeResolvedLocalAgent, RuntimeRewindSessionInput, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStatus, RuntimeSession, RuntimeSessionFilter, RuntimeSessionLiveProjection, RuntimeSessionLoadedEventPayload, RuntimeSessionObservation, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionSummary, RuntimeSetActiveEntryInput, RuntimeSkillDescribeInput, RuntimeSkillDescription, RuntimeSkillFileSummary, RuntimeSkillListFilter, RuntimeSkillSummary, RuntimeStartRunInput, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalCode, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTypedEvent, RuntimeTypedEventListener, RuntimeUserInputFilter, RuntimeUserInputKind, RuntimeUserInputRequest, RuntimeUserInputRequestedEventPayload, RuntimeUserInputResolution, RuntimeUserInputService, RuntimeUserMarkdownAgentRef, RuntimeVersionedUpdateOptions, RuntimeVersionedValue, RuntimeVideoInput, RuntimeWarningEventPayload, RuntimeWorkerOptions, RuntimeWorkerResourceLimits, RuntimeWorkflowFilter, RuntimeWorkflowListener, RuntimeWorkflowService, RuntimeWorkflowSnapshot, RuntimeWorkflowSummary, RuntimeWorkspaceBinding };
|
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}from"./chunks/chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q}from"./chunks/chunk-34L74PEG.js";import"./chunks/chunk-XNQ2O7NI.js";import"./chunks/chunk-K7RYV2SE.js";import"./chunks/chunk-P2UKNYYS.js";import"./chunks/chunk-WW2O2DEP.js";import"./chunks/chunk-4P4L3WEK.js";import"./chunks/chunk-F4NOOBRZ.js";import"./chunks/chunk-GOQRVDFP.js";import"./chunks/chunk-RY5OLVQV.js";import"./chunks/chunk-I4TPQEJN.js";import"./chunks/chunk-Y4WOTWUC.js";import"./chunks/chunk-AQGNRBEJ.js";import"./chunks/chunk-UJEMSPM5.js";import"./chunks/chunk-7PV577LP.js";import"./chunks/chunk-AWMTNUDS.js";import"./chunks/chunk-F7C7J6IM.js";import"./chunks/chunk-NGHQIGVW.js";import"./chunks/chunk-ONUPGMER.js";export{b as KODAX_DAEMON_PROTOCOL,c as KODAX_DAEMON_PROTOCOL_VERSION,d as RUNTIME_DAEMON_METHODS,f as RUNTIME_DAEMON_METHOD_SCHEMAS,g as RUNTIME_DAEMON_NOTIFICATION_SCHEMAS,h as RUNTIME_DAEMON_PROTOCOL_SCHEMA,i as RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON,e as RuntimeTransportBoundaryError,k as acquireKodaXInlineOwner,q as connectKodaXRuntime,p as createKodaXRuntime,n as enableKodaXDaemonOwner,l as getKodaXRuntimeOwnerPolicy,m as getKodaXRuntimeOwnerState,j as listRuntimeDaemonSchemaMethods,a as parseRuntimeEvent,o as setKodaXRuntimeOwnerMode};
|
package/dist/sdk-session.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { c as CreatableHistoryItem, r as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, x as RestoredHistorySeed, Y as extractHistorySeedsFromMessage, Z as extractHistorySeedsFromMessages, a1 as restoreHistoryItemsFromSession } from './types-chunks/sdk-session-
|
|
1
|
+
export { c as CreatableHistoryItem, r as HistorySeedSourceMessage, R as RestoreHistoryItemsFromSessionInput, x as RestoredHistorySeed, Y as extractHistorySeedsFromMessage, Z as extractHistorySeedsFromMessages, a1 as restoreHistoryItemsFromSession } from './types-chunks/sdk-session-tcoxrMHQ.js';
|
|
2
2
|
export { S as KodaXTaskResultMetadata, T as KodaXTaskResultSource } from './types-chunks/types.d-TTvpAGWf.js';
|
|
3
3
|
export { bg as KodaXSessionUiHistoryItem, bh as KodaXSessionUiHistoryItemType, bi as KodaXSessionUiTextHistoryItem, bj as KodaXSessionUiTextHistoryItemType, bk as KodaXSessionUiToolCall, bl as KodaXSessionUiToolCallStatus, bm as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/types.d-BtC4yLYO.js';
|
|
4
|
-
export { A as AppendClientNoticeOptions, C as CompactSessionOptions, a as CompactSessionResult, D as DeleteSessionResult, d as FullTranscriptSessionData, L as ListSessionsOptions, R as RunningSessionInfo, g as SessionManager, i as SessionSummary, j as SessionTranscriptEntry, k as SessionTranscriptEntryType, W as WatchSessionsCallback, l as appendClientNotice, m as archiveSession, n as compactSession, q as createSessionManager, r as deleteSession, s as forkSession, u as listRunningSessions, v as listSessions, w as loadFullTranscript, x as loadSession, B as rewindSession, E as setActiveEntry, G as unarchiveSession, H as watchSessions } from './types-chunks/public-api.d-
|
|
5
|
-
import './types-chunks/bash-prefix-extractor.d-
|
|
4
|
+
export { A as AppendClientNoticeOptions, C as CompactSessionOptions, a as CompactSessionResult, D as DeleteSessionResult, d as FullTranscriptSessionData, L as ListSessionsOptions, R as RunningSessionInfo, g as SessionManager, i as SessionSummary, j as SessionTranscriptEntry, k as SessionTranscriptEntryType, W as WatchSessionsCallback, l as appendClientNotice, m as archiveSession, n as compactSession, q as createSessionManager, r as deleteSession, s as forkSession, u as listRunningSessions, v as listSessions, w as loadFullTranscript, x as loadSession, B as rewindSession, E as setActiveEntry, G as unarchiveSession, H as watchSessions } from './types-chunks/public-api.d-BqFKI5fK.js';
|
|
5
|
+
import './types-chunks/bash-prefix-extractor.d-h9AwGqmO.js';
|
|
6
6
|
import './types-chunks/types.d-vJExiRje.js';
|
|
7
7
|
import 'vscode-languageserver-protocol';
|
|
8
8
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
9
|
-
import './types-chunks/capability.d-
|
|
9
|
+
import './types-chunks/capability.d-K664nHOS.js';
|
|
10
10
|
import './types-chunks/base.d-CYjtB68X.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{$a as o,Kb as t,Lb as i,Mb as n,Nb as a,Ob as r,Pb as S,Qb as l,Rb as p,Sb as d,Tb as c,Ub as y,Vb as m,Wb as u,Xb as T}from"./chunks/chunk-
|
|
2
|
+
import{$a as o,Kb as t,Lb as i,Mb as n,Nb as a,Ob as r,Pb as S,Qb as l,Rb as p,Sb as d,Tb as c,Ub as y,Vb as m,Wb as u,Xb as T}from"./chunks/chunk-XNQ2O7NI.js";import{K as s,L as e}from"./chunks/chunk-K7RYV2SE.js";import"./chunks/chunk-P2UKNYYS.js";import"./chunks/chunk-WW2O2DEP.js";import"./chunks/chunk-4P4L3WEK.js";import"./chunks/chunk-F4NOOBRZ.js";import"./chunks/chunk-GOQRVDFP.js";import"./chunks/chunk-RY5OLVQV.js";import"./chunks/chunk-I4TPQEJN.js";import"./chunks/chunk-Y4WOTWUC.js";import"./chunks/chunk-AQGNRBEJ.js";import"./chunks/chunk-UJEMSPM5.js";import"./chunks/chunk-7PV577LP.js";import"./chunks/chunk-AWMTNUDS.js";import"./chunks/chunk-F7C7J6IM.js";import"./chunks/chunk-NGHQIGVW.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.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-7PV577LP.js";import{$ as E,A as e,B as i,C as t,D as a,E as o,I as k,J as r,K as S,L as s,M as n,N as g,O as u,P as c,Q as x,R as d,S as P,T as R,U as h,V as p,W as v,X as y,Y as M,Z as f,_ as m,z as l}from"./chunks/chunk-AWMTNUDS.js";import"./chunks/chunk-F7C7J6IM.js";import"./chunks/chunk-NGHQIGVW.js";import"./chunks/chunk-ONUPGMER.js";export{y as SkillExecutor,R as SkillRegistry,x as VariableResolver,t as clearPluginSkillPaths,M as createExecutor,d as createResolver,n as discoverSkills,u as discoverSkillsWithMonorepo,f as executeSkill,m as expandSkillForLLM,E as formatSkillActivationMessage,a as getDefaultSkillPaths,g as getNestedSkillPaths,o 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};
|