@kodax-ai/kodax 0.7.84 → 0.7.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +218 -5
- package/README.md +1888 -1850
- package/README_CN.md +1146 -1137
- package/dist/chunks/agent-IO6TXNCV.js +2 -0
- package/dist/chunks/argument-completer-JMICSGL6.js +2 -0
- package/dist/chunks/chunk-2RAXDUC7.js +379 -0
- package/dist/chunks/chunk-A5VQGXH2.js +2 -0
- package/dist/chunks/{chunk-OHZFGQEH.js → chunk-AAFFS6RU.js} +2 -2
- package/dist/chunks/chunk-B36G256E.js +679 -0
- package/dist/chunks/chunk-G5FGIRDJ.js +1278 -0
- package/dist/chunks/chunk-GVGLYVG4.js +5 -0
- package/dist/chunks/chunk-MFCPQZ7E.js +519 -0
- package/dist/chunks/chunk-Q6UAGROD.js +415 -0
- package/dist/chunks/chunk-R4EHASEN.js +319 -0
- package/dist/chunks/chunk-U6HNMLNN.js +410 -0
- package/dist/chunks/chunk-UH5WNJXF.js +92 -0
- package/dist/chunks/{chunk-WTYAZOWO.js → chunk-UKCDCVMD.js} +1 -1
- package/dist/chunks/chunk-XA4ENCAH.js +412 -0
- package/dist/chunks/{chunk-ZVPTDYDI.js → chunk-XUKLF26Q.js} +2 -2
- package/dist/chunks/compaction-config-5RMG22CY.js +2 -0
- package/dist/chunks/{construction-bootstrap-EVQ6VWSX.js → construction-bootstrap-4DGAYOWH.js} +1 -1
- package/dist/chunks/dist-DFW7MXT7.js +2 -0
- package/dist/chunks/host-6MMHYTI5.js +2 -0
- package/dist/chunks/run-manager-ISQSWCAM.js +2 -0
- package/dist/chunks/utils-LV7FHKYN.js +2 -0
- package/dist/index.d.ts +17 -15
- package/dist/index.js +2 -2
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +2074 -1615
- package/dist/kodax_resume.js +271 -90
- package/dist/runtime-worker.js +1812 -1359
- package/dist/sandbox-workspace-session.js +1069 -112
- package/dist/sdk-a2a.d.ts +11 -10
- package/dist/sdk-a2a.js +9 -8
- package/dist/sdk-agent.d.ts +39 -299
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +103 -16
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +7 -20
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +14 -15
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +73 -24
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.d.ts +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +7 -6
- 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 +250 -64
- package/dist/types-chunks/{bash-prefix-extractor.d-CkdGL4rM.d.ts → bash-prefix-extractor.d-QqKtuLZm.d.ts} +137 -14
- package/dist/types-chunks/{capsule.d-7wQ_kM1C.d.ts → capsule.d-CN_iMqAS.d.ts} +2 -1
- package/dist/types-chunks/controller.d-A73Kf6tH.d.ts +105 -0
- package/dist/types-chunks/{controller.d-CesRxFL5.d.ts → controller.d-Dzxz22X-.d.ts} +26 -1020
- package/dist/types-chunks/{guardrail.d-KaIeVree.d.ts → guardrail.d-Y_AIh8-I.d.ts} +21 -21
- package/dist/types-chunks/{history-retrieval.d-CbCls7r0.d.ts → history-retrieval.d-Debbzn1z.d.ts} +1 -1
- package/dist/types-chunks/{public-api.d-DpRj8b7d.d.ts → public-api.d-Cg-4GTbK.d.ts} +3 -2
- package/dist/types-chunks/{repl.d-DWeC3PLW.d.ts → repl.d-Bhrbueab.d.ts} +5 -5
- package/dist/types-chunks/review-inbox.d-DuZqFX-z.d.ts +221 -0
- package/dist/types-chunks/{run-manager.d-BXBkLT0A.d.ts → run-manager.d-BS4lJfL3.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-DEtS6u20.d.ts → sdk-session-fQ_KENev.d.ts} +2 -2
- package/dist/types-chunks/{shell-command-sets.d-P2h4_KKL.d.ts → shell-command-sets.d-DRGjd_7Q.d.ts} +3 -2
- package/dist/types-chunks/{types-Bf3Y3mW-.d.ts → types-PHjfwebT.d.ts} +62 -190
- package/dist/types-chunks/{types.d-0m3PS7Ng.d.ts → types.d-BRrJU4pb.d.ts} +2 -2
- package/dist/types-chunks/{types.d-BbtGlKZu.d.ts → types.d-BSPlmJqf.d.ts} +25 -6
- package/dist/types-chunks/{types.d-CUtMr2IG.d.ts → types.d-Bo4fyMLu.d.ts} +1 -1
- package/dist/types-chunks/types.d-DlLBRqZ9.d.ts +1057 -0
- package/dist/types-chunks/{utils.d-C-eSIZ9n.d.ts → utils.d-BIhh_BqE.d.ts} +7 -4
- package/package.json +4 -2
- package/dist/chunks/agent-VMXNVYRK.js +0 -2
- package/dist/chunks/argument-completer-QCS6GUAE.js +0 -2
- package/dist/chunks/chunk-4ZI2CPUQ.js +0 -885
- package/dist/chunks/chunk-6UENDY33.js +0 -89
- package/dist/chunks/chunk-726WJGGY.js +0 -2
- package/dist/chunks/chunk-A7L7XTUH.js +0 -292
- package/dist/chunks/chunk-BBBS644N.js +0 -319
- package/dist/chunks/chunk-E7C4DRD2.js +0 -5
- package/dist/chunks/chunk-ET2BMEQQ.js +0 -655
- package/dist/chunks/chunk-EVXIJPZ6.js +0 -218
- package/dist/chunks/chunk-F44YYR6Z.js +0 -479
- package/dist/chunks/chunk-GRLC3N46.js +0 -385
- package/dist/chunks/chunk-KHEFUT6O.js +0 -5
- package/dist/chunks/chunk-TDJS5SFS.js +0 -348
- package/dist/chunks/chunk-WXHHZZRJ.js +0 -379
- package/dist/chunks/compaction-config-QTMFP7AF.js +0 -2
- package/dist/chunks/dist-XRH6CRLL.js +0 -2
- package/dist/chunks/host-F4TPD6WY.js +0 -2
- package/dist/chunks/run-manager-PYD46OGY.js +0 -2
- package/dist/chunks/utils-TOTTXU2I.js +0 -2
- package/docs/SDK_EMBEDDER_GUIDE.md +0 -5752
package/dist/sdk-repl.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{$ as
|
|
3
|
-
`)[0]?.replace(/^#\s*/,"").trim()??"").slice(0,60)||"(prompt command)";t.set(g,{name:g,description:l,content:m,type:"prompt"})}catch{}continue}if(s===".js"||s===".ts"){let m=i.join(e,o);try{let l=await import(h(m).href);for(let[C,p]of Object.entries(l))if(C.startsWith("command_")&&typeof p=="function"){let c=C.replace("command_",""),y=p.description??c;t.set(c,{name:c,description:String(y).slice(0,60),content:`[Programmable command: ${c}]`,type:"programmable",execute:p})}}catch(d){x({source:"cli:commands",level:"warn",message:s===".ts"?`Failed to load TypeScript programmable command ${m}; enable a TypeScript loader or compile it to .js.`:`Failed to load programmable command module ${m}.`,detail:d})}}}}catch{}return t}a(D,"loadCommands");async function w(n,t,e,r){let o=e.get(n);return o?o.type==="prompt"?t?o.content.replace(/{args}/g,t):o.content:o.type==="programmable"&&o.execute?o.execute({args:t,runAgent:r}):null:null}a(w,"processCommandCall");function M(n){if(!n.startsWith("/"))return null;let t=n.slice(1).trim();if(!t)return null;let e=t.search(/\s/);if(e===-1)return[t];let r=t.slice(0,e),o=t.slice(e).trim();return o?[r,o]:[r]}a(M,"parseCommandCall");export{
|
|
2
|
+
import{$ as ee,$a as en,$b as nr,A as dt,Aa as ke,Ab as Nn,B as lt,Ba as Ne,Bb as Sn,C as pt,Ca as Se,Cb as Un,D as ut,Da as Ue,Db as _n,E as ft,Ea as _e,Eb as vn,F as gt,Fa as ve,Fb as An,G as Ct,Ga as Ae,Gb as On,H as xt,Ha as Oe,Hb as Fn,I as yt,Ia as Fe,Ib as Ln,J as Kt,Ja as Le,Jb as $n,K as Xt,Ka as $e,Kb as Tn,L as bt,La as Te,Lb as In,M as jt,Ma as Ie,Mb as Wn,N as Rt,Na as We,Nb as En,O as kt,Oa as Ee,Ob as qn,P as Nt,Pa as qe,Pb as zn,Q as zo,Qa as ze,Qb as Bn,R as Bo,Ra as Be,Rb as Gn,S as Go,Sa as Ge,Sb as Hn,T as Ho,Ta as He,Tb as Jn,U as Jo,Ua as Je,Ub as Qn,V as Qo,Va as Qe,Vb as Vn,W as Vo,Wa as Ve,Wb as Yn,X as Yo,Xa as Ye,Xb as Zn,Y as Zo,Ya as Ze,Yb as tr,Z as te,Za as tn,Zb as or,_ as oe,_a as on,_b as er,a as L,aa as ne,ab as nn,ac as rr,b as $,ba as re,bb as rn,bc as mr,c as T,ca as me,cb as mn,cc as ar,d as I,da as ae,db as an,dc as ir,e as W,ea as ie,eb as sn,ec as sr,f as E,fa as se,fb as cn,fc as cr,g as q,ga as ce,gb as dn,gc as dr,h as z,ha as de,hb as ln,hc as lr,i as B,ia as le,ib as pn,ic as pr,j as G,ja as pe,jb as un,jc as ur,k as H,ka as ue,kb as fn,l as J,la as fe,lb as gn,m as Q,ma as ge,mb as Cn,n as V,na as Ce,nb as xn,o as Y,oa as xe,ob as yn,p as Z,pa as ye,pb as Kn,q as tt,qa as Ke,qb as Xn,r as ot,ra as Xe,rb as bn,s as et,sa as be,sb as hn,t as nt,ta as he,tb as Dn,u as rt,ua as De,ub as wn,v as mt,va as we,vb as Mn,w as at,wa as Me,wb as Pn,x as it,xa as Pe,xb as jn,y as st,ya as je,yb as Rn,z as ct,za as Re,zb as kn}from"./chunks/chunk-R4EHASEN.js";import{A as So,Aa as Wo,B as Uo,Ba as Eo,Ca as qo,L as _o,M as vo,N as Ao,O as Oo,P as Fo,U as Lo,V as $o,a as ht,b as Dt,c as wt,d as Mt,e as Pt,f as St,i as Ut,k as _t,l as vt,m as At,n as bo,o as ho,p as Do,q as wo,r as Mo,s as Po,t as jo,v as Ro,w as ko,y as No,ya as To,za as Io}from"./chunks/chunk-B36G256E.js";import{$ as xo,O as ao,P as io,Q as so,R as co,S as lo,T as po,U as uo,X as fo,Y as go,_ as Co,aa as yo,b as Ot,c as Ft,ca as Ko,d as Lt,e as $t,f as Tt,g as It,ga as Xo,h as Wt,i as Et,j as qt,k as zt,l as Bt,m as Gt,n as Ht,o as Jt,p as Qt,q as Vt,r as Yt,s as Zt,t as to,u as oo,w as eo,x as no,y as ro,z as mo}from"./chunks/chunk-AAFFS6RU.js";import"./chunks/chunk-A5VQGXH2.js";import"./chunks/chunk-XA4ENCAH.js";import{Bb as U,Cb as _,Db as v,Gb as A,Ib as O,Jb as F,hb as P,sb as j,ub as R,wb as k,xb as N,yb as S}from"./chunks/chunk-Q6UAGROD.js";import"./chunks/chunk-UKCDCVMD.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XUKLF26Q.js";import"./chunks/chunk-U6HNMLNN.js";import"./chunks/chunk-GVGLYVG4.js";import"./chunks/chunk-TRNAWSXP.js";import{t as x}from"./chunks/chunk-G5FGIRDJ.js";import"./chunks/chunk-UH5WNJXF.js";import{a}from"./chunks/chunk-ONUPGMER.js";import u from"fs/promises";import i from"path";import K from"os";import{pathToFileURL as X}from"node:url";var f=i.join(K.homedir(),".kodax","commands");function b(){return f}a(b,"getDefaultCommandDir");function h(n){let t=i.extname(n);if(t!==".js"&&t!==".ts")throw new Error(`Unsupported programmable command module extension: ${t||"<none>"}.`);return X(i.resolve(n))}a(h,"resolveProgrammableCommandModuleUrl");async function D(n){let t=new Map,e=n??f;try{await u.mkdir(e,{recursive:!0});let r=await u.readdir(e);for(let o of r){let s=i.extname(o),g=o.replace(s,"");if(s===".md"){try{let m=await u.readFile(i.join(e,o),"utf-8"),l=(m.split(`
|
|
3
|
+
`)[0]?.replace(/^#\s*/,"").trim()??"").slice(0,60)||"(prompt command)";t.set(g,{name:g,description:l,content:m,type:"prompt"})}catch{}continue}if(s===".js"||s===".ts"){let m=i.join(e,o);try{let l=await import(h(m).href);for(let[C,p]of Object.entries(l))if(C.startsWith("command_")&&typeof p=="function"){let c=C.replace("command_",""),y=p.description??c;t.set(c,{name:c,description:String(y).slice(0,60),content:`[Programmable command: ${c}]`,type:"programmable",execute:p})}}catch(d){x({source:"cli:commands",level:"warn",message:s===".ts"?`Failed to load TypeScript programmable command ${m}; enable a TypeScript loader or compile it to .js.`:`Failed to load programmable command module ${m}.`,detail:d})}}}}catch{}return t}a(D,"loadCommands");async function w(n,t,e,r){let o=e.get(n);return o?o.type==="prompt"?t?o.content.replace(/{args}/g,t):o.content:o.type==="programmable"&&o.execute?o.execute({args:t,runAgent:r}):null:null}a(w,"processCommandCall");function M(n){if(!n.startsWith("/"))return null;let t=n.slice(1).trim();if(!t)return null;let e=t.search(/\s/);if(e===-1)return[t];let r=t.slice(0,e),o=t.slice(e).trim();return o?[r,o]:[r]}a(M,"parseCommandCall");export{ce as App,zo as AutocompleteContextProvider,Io as BUILTIN_COMMANDS,ve as BackgroundTaskBar,Ot as CONFIG_TEMPLATES,Oe as ChildActivitySurface,jn as ConsoleCapturer,zn as ConversationPageCacheCapacityError,Lt as CoreConfigWriteConflictError,Pt as DEFAULT_UI_STATE,ke as DialogSurface,te as DotsIndicator,P as FILE_MODIFICATION_TOOLS,Gn as FileSessionStorage,le as FullscreenTranscriptLayout,re as HistoryItemRenderer,Vo as InputPrompt,It as IntegrationConfigConflictError,Qt as IntegrationConfigController,f as KODAX_COMMANDS_DIR,Zt as KODAX_CONFIG_FILE,Vt as KODAX_DIR,co as KODAX_EXAMPLE_CONFIG_FILE,lo as KODAX_INTEGRATION_EXAMPLE_FILES,Yt as KODAX_SESSIONS_DIR,ro as KODAX_VERSION,Nt as KeyMatchers,Mt as KeypressHandlerPriority,yt as KeypressParser,Rt as KeypressProvider,Z as LRUCache,ne as LoadingIndicator,Ye as MemorySessionStorage,pe as MessageActions,me as MessageList,ue as MessageSelector,Se as NotificationsSurface,St as PERMISSION_MODES,to as PREVIEW_MAX_LENGTH,Kn as PendingInputsIndicator,oe as ProgressIndicator,ge as PromptComposer,ye as PromptFooter,Ce as PromptFooterLeftSide,xe as PromptFooterRightSide,Ke as PromptHelpMenu,Re as PromptSuggestionsSurface,bo as ProviderSetupConfigConflictError,ho as ProviderSetupInvalidConfigError,Ne as QueuedCommandsSurface,Ge as RUNTIME_PERMISSION_PENDING_NOTICE,Bn as SessionReadError,de as SimpleApp,Yo as SimpleInputPrompt,ae as SimpleMessageDisplay,se as SimpleStatusBar,Ct as SingleLineTextInput,Zo as Spinner,_e as StashNotice,ie as StatusBar,Ue as StatusNoticesSurface,Le as StreamingProvider,ht as StreamingState,je as SuggestionsDisplay,wt as TOOL_STATUS_ICONS,Jo as TextBuffer,gt as TextInput,ee as ThinkingIndicator,xn as ToolCallDisplay,Dt as ToolCallStatus,yn as ToolGroup,Cn as ToolProgressBar,gn as ToolStatusBadge,fe as TranscriptViewport,De as UIStateProvider,Be as _resetQueuedPromptsCacheForTests,rr as appendClientNotice,dr as archiveSession,Ve as bootstrapAutoMode,ct as calculateVisualCursorFromLayout,st as calculateVisualLayout,A as collectBashWriteTargets,Jn as compactSession,_t as computeConfirmTools,or as conversationHistoryFromCapture,$t as coreConfigWriteLockPath,un as createCliEvents,En as createConversationEntryChain,be as createHistoryItem,Je as createInteractiveContext,fn as createJsonEvents,Ee as createKeyMatcher,jt as createKeypressManager,Ze as createMemorySessionStorage,cn as createRecoveryHistoryItem,an as createRetryHistoryItem,qn as createSessionConversationHistoryRevision,ur as createSessionManager,Fe as createStreamingManager,he as createToolCall,dt as darkTheme,Hn as dedupeSessions,cr as deleteSession,Pn as detectTerminalCapabilities,z as detectTerminalHostProfile,q as detectTerminalRenderHost,dn as emitRecoveryHistoryItem,sn as emitRetryHistoryItem,In as emptyConversationEntryChain,uo as ensureExampleConfigFile,po as ensureExampleConfigFiles,qo as executeCommand,tn as executeShellCommand,nr as exportSessionBundle,Wn as extendConversationEntryChain,Ao as extractHistorySeedsFromMessage,Oo as extractHistorySeedsFromMessages,Fo as extractTextContent,Lo as extractTitle,mn as findMostRecentResumableSession,mr as forkSession,$o as formatMessagePreview,Xe as generateId,N as generateSavePattern,O as getBashOutsideProjectWriteRisk,nt as getCharAtCodePoint,tt as getCodePointLength,Wo as getCommandRegistry,Ft as getConfigTemplate,_n as getCustomProviderConfig,b as getDefaultCommandDir,Ko as getGitRoot,bt as getKeyDisplayName,Fn as getMcpServerConfig,F as getPlanModeBlockReason,ao as getProviderList,mo as getProviderModel,Do as getProviderSetupCatalog,Q as getTerminalHostCapabilities,wn as getTerminalWidth,ut as getTheme,ft as getThemeNames,no as getVersion,et as getVisualWidth,it as getVisualWidthCached,$ as hasCursorUpViewportYankRisk,I as hasMainScreenRenderScrollRisk,oo as hydrateProcessEnvFromShell,jo as initializeSetupConfiguration,wo as inspectProviderSetupReadiness,S as isAlwaysConfirmPath,j as isBashReadCommand,_ as isBashReadCommandAutoAllowed,R as isBashWriteCommand,Y as isClassicReplForced,U as isCommandOnProtectedPath,Kt as isFunctionKey,V as isOwnedRendererPreferred,v as isPathInsideProject,vt as isPermissionMode,Xt as isPrintable,io as isProviderConfigured,T as isRemoteConptyHost,Mn as isScreenReader,on as isShellCommand,en as isShellCommandSuccess,W as isTmuxControlMode,k as isToolCallAllowed,L as isVsCodeTerminalHostEnv,ot as isWideChar,Un as listCustomProviders,On as listMcpServers,To as listRegisteredCommands,sr as listRunningSessions,Qn as listSessions,So as loadAutoModeSettings,D as loadCommands,so as loadConfig,Yn as loadFullTranscript,Vn as loadSession,Ae as measureChildActivitySurfaceRows,Ht as migrateLegacyIntegrationConfig,lt as minimalTheme,At as normalizePermissionMode,Eo as parseCommand,M as parseCommandCall,Et as parseExtensionsIntegrationDocument,xt as parseKeypress,Wt as parseMcpIntegrationDocument,Ut as permissionModeDisplayName,Mo as persistProviderSetupChoice,Gt as planLegacyIntegrationMigration,fo as prepareRuntimeConfig,w as processCommandCall,Sn as processSpecialSyntax,Po as providerSetupRestartInstructions,Xo as rateLimitedCall,tr as readConversationHistory,Bt as readExtensionsIntegration,Zn as readFullTranscript,zt as readMcpIntegration,er as readSessionCapture,eo as registerConfiguredCustomProviders,An as removeCustomProvider,$n as removeMcpServer,Ro as renderSetupGuide,No as replBashPathSignalCollector,E as resetTmuxControlModeProbeForTesting,Uo as resolveAutoModeSettings,B as resolveConfiguredTuiRendererMode,G as resolveEffectiveTuiRendererMode,J as resolveFullscreenPolicy,qt as resolveIntegrationConfigPath,H as resolveInteractiveSurfacePreference,yo as resolveRuntimeEffortSelection,xo as resolveRuntimeModelSelection,Co as resolveRuntimeProviderSelection,rn as restoreHistoryItemsFromSession,ar as rewindSession,ln as runInkInteractiveMode,Nn as runInteractiveMode,ko as runProviderSetupWizard,pn as runSessionPicker,go as saveConfig,_o as seedToHistoryItem,ir as setActiveEntry,rt as splitByCodePoints,bn as supports256Colors,Dn as supportsEmoji,Xn as supportsTrueColor,hn as supportsUnicode,pt as themes,He as toReplRuntimeAutoModeSettings,vo as toolCallSeedToHistoryToolCall,Qe as touchContext,nn as trimPersistedUiHistorySnapshot,mt as truncateByVisualWidth,lr as unarchiveSession,vn as upsertCustomProvider,Ln as upsertMcpServer,Go as useAutocomplete,Bo as useAutocompleteContext,Ho as useInputHistory,We as useKeypress,kt as useKeypressManager,ze as useQueuedPromptContents,qe as useQueuedPrompts,Ie as useStreaming,Te as useStreamingActions,$e as useStreamingState,Qo as useTextBuffer,Pe as useUI,Me as useUIActions,we as useUIState,Tn as validateMcpServerConfig,at as visualWidthCache,pr as watchSessions,Rn as withCapture,kn as withCaptureSync,Tt as withCoreConfigWriteLock,Jt as writeIntegrationDocument};
|
package/dist/sdk-runtime.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { G as KodaXReasoningMode, d as KodaXCustomProviderConfig } from './types-chunks/types.d-CgrXrFrq.js';
|
|
2
2
|
export { k as KodaXMessage } from './types-chunks/types.d-CgrXrFrq.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { s as AgentExecutionKind, I as AgentTreeSnapshot, o as AgentDetail, H as AgentSpawnInput, L as AgentTurnRef, n as AgentDataClassification, u as AgentFollowupResult, D as AgentOutput, p as AgentEvent } from './types-chunks/types.d-DlLBRqZ9.js';
|
|
4
|
+
import { r as AgentDispatchContext, bA as LearningQuery, bz as LearningPage, bc as LearnedCapabilityRecord, bF as LearningSurfaceSnapshot, bv as LearningEvent, bE as LearningSubscribeOptions, B as AgentExecutorFactory, s as AgentDispatchPolicy, q as AgentCredentialBroker, h as AgentArtifactPolicy, aZ as KodaXImageInputArtifact, b0 as KodaXInputArtifactSource, b1 as KodaXVideoInputArtifact, dd as WorkflowProcessSnapshot, d7 as WorkflowProcessEvent, W as AgentRegistrationService, ay as DispatchableAgentQuery, aw as DispatchableAgentListing, R as AgentPreflightInput, S as AgentPreflightResult } from './types-chunks/controller.d-Dzxz22X-.js';
|
|
5
|
+
import { i as SkillMetadata } from './types-chunks/types.d-BSPlmJqf.js';
|
|
5
6
|
import { a as McpServerConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
6
7
|
import { t as McpServerStatus, u as McpServerToolList } from './types-chunks/manager.d-B67TmPO1.js';
|
|
7
|
-
import { K as KodaXSessionHistoryHit } from './types-chunks/history-retrieval.d-
|
|
8
|
-
import { c as ManagedWorkflowSnapshot } from './types-chunks/run-manager.d-
|
|
9
|
-
import {
|
|
10
|
-
import { L as LoadedExtensionDiagnostic, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-
|
|
11
|
-
import {
|
|
12
|
-
import { M as saveConfig, c as CommandInfo } from './types-chunks/utils.d-
|
|
13
|
-
import { l as FullTranscriptSessionData, ag as SessionTranscriptEntry, a2 as SessionConversationHistoryData, a6 as SessionConversationHistoryStatus, a4 as SessionConversationHistoryIssue, a3 as SessionConversationHistoryEntry, c as CompactSessionResult } from './types-chunks/public-api.d-
|
|
8
|
+
import { K as KodaXSessionHistoryHit } from './types-chunks/history-retrieval.d-Debbzn1z.js';
|
|
9
|
+
import { c as ManagedWorkflowSnapshot } from './types-chunks/run-manager.d-BS4lJfL3.js';
|
|
10
|
+
import { a4 as KodaXOptions, ao as KodaXShellExecutionContract, aU as KodaXToolSandboxObservationUpdate, aS as KodaXToolEventMeta, Z as KodaXManagedTaskStatusEvent, S as KodaXEvents, ag as KodaXResult, bo as RuntimeContextBudgetSnapshot, bv as RuntimeToolExposurePlan, a8 as KodaXPromptCacheDiagnosticEvent, P as KodaXContextOptions, K as KodaXActivityEventMeta, a_ as KodaXTurnStartedEvent, aX as KodaXTurnCompletedEvent, aZ as KodaXTurnFailedEvent, U as KodaXLiveEventMeta, J as KodaXCompactionEndResult, bl as RuntimeCompactionSkippedEvent, N as KodaXContextCompactionFinishedEvent, O as KodaXContextIdentity } from './types-chunks/bash-prefix-extractor.d-QqKtuLZm.js';
|
|
11
|
+
import { L as LoadedExtensionDiagnostic, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-BRrJU4pb.js';
|
|
12
|
+
import { i as AutoModeDecisionDiagnostics, t as AutoModeStats } from './types-chunks/guardrail.d-Y_AIh8-I.js';
|
|
13
|
+
import { M as saveConfig, c as CommandInfo } from './types-chunks/utils.d-BIhh_BqE.js';
|
|
14
|
+
import { l as FullTranscriptSessionData, ag as SessionTranscriptEntry, a2 as SessionConversationHistoryData, a6 as SessionConversationHistoryStatus, a4 as SessionConversationHistoryIssue, a3 as SessionConversationHistoryEntry, c as CompactSessionResult } from './types-chunks/public-api.d-Cg-4GTbK.js';
|
|
14
15
|
import './types-chunks/capability.d-K664nHOS.js';
|
|
15
16
|
import 'vscode-languageserver-protocol';
|
|
16
17
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
17
|
-
import './types-chunks/types-
|
|
18
|
+
import './types-chunks/types-PHjfwebT.js';
|
|
18
19
|
import './types-chunks/base.d-DxG0m09Z.js';
|
|
19
20
|
import './types-chunks/side-query.d-CP1LiRiH.js';
|
|
20
21
|
import 'readline';
|
|
@@ -323,6 +324,8 @@ interface RuntimeDaemonJsonSchema {
|
|
|
323
324
|
readonly items?: RuntimeDaemonJsonSchema;
|
|
324
325
|
readonly oneOf?: readonly RuntimeDaemonJsonSchema[];
|
|
325
326
|
readonly maxLength?: number;
|
|
327
|
+
readonly maximum?: number;
|
|
328
|
+
readonly minimum?: number;
|
|
326
329
|
}
|
|
327
330
|
interface RuntimeDaemonMethodSchema {
|
|
328
331
|
readonly params: RuntimeDaemonJsonSchema;
|
|
@@ -969,6 +972,8 @@ interface RuntimeOwnerIdentity {
|
|
|
969
972
|
readonly pid: number;
|
|
970
973
|
readonly createdAt: string;
|
|
971
974
|
readonly kind?: "daemon" | "inline";
|
|
975
|
+
/** OS-issued identity used to distinguish a live owner from PID reuse. */
|
|
976
|
+
readonly processStartIdentity?: string;
|
|
972
977
|
readonly processContainment?: "windows-job";
|
|
973
978
|
readonly supervisorPid?: number;
|
|
974
979
|
}
|
|
@@ -995,7 +1000,10 @@ declare function getKodaXRuntimeOwnerState(input?: {
|
|
|
995
1000
|
readonly homeDir?: string;
|
|
996
1001
|
readonly profile?: string;
|
|
997
1002
|
}): RuntimeOwnerState;
|
|
998
|
-
/**
|
|
1003
|
+
/**
|
|
1004
|
+
* Enable daemon auto-start, atomically reclaiming an inline fence only when
|
|
1005
|
+
* the SDK can prove that its owner process is gone.
|
|
1006
|
+
*/
|
|
999
1007
|
declare function enableKodaXDaemonOwner(input?: {
|
|
1000
1008
|
readonly homeDir?: string;
|
|
1001
1009
|
readonly profile?: string;
|
|
@@ -1110,9 +1118,12 @@ interface ConnectKodaXRuntimeOptions {
|
|
|
1110
1118
|
}
|
|
1111
1119
|
/** SDK facts that embedders can inspect before auto-starting a daemon. */
|
|
1112
1120
|
declare const KODAX_RUNTIME_SDK_CAPABILITIES: Readonly<{
|
|
1121
|
+
readonly actorSettlementConvergence: 1;
|
|
1113
1122
|
readonly daemonOrphanExit: 1;
|
|
1114
1123
|
readonly daemonShutdownVerification: 1;
|
|
1115
1124
|
readonly managedRunDurability: 1;
|
|
1125
|
+
readonly sandboxRuntime: 3;
|
|
1126
|
+
readonly sessionEventJournal: 1;
|
|
1116
1127
|
readonly runtimeEventCoalescing: 1;
|
|
1117
1128
|
}>;
|
|
1118
1129
|
interface RuntimeCapabilityRequirements {
|
|
@@ -1154,6 +1165,10 @@ interface RuntimeCapabilityRequirements {
|
|
|
1154
1165
|
readonly durableRecoveryQueries?: 1;
|
|
1155
1166
|
/** Require durable accepted-input and completed-turn boundaries for managed Runs. */
|
|
1156
1167
|
readonly managedRunDurability?: 1;
|
|
1168
|
+
/** Require fail-closed root fencing plus automatic same-owner Actor settlement repair. */
|
|
1169
|
+
readonly actorSettlementConvergence?: 1;
|
|
1170
|
+
/** Require Session-local sequences, epoch-bound cursors, and scoped event access. */
|
|
1171
|
+
readonly sessionEventJournal?: 1;
|
|
1157
1172
|
readonly daemonManagement?: 1;
|
|
1158
1173
|
/** Require an auto-started daemon whose current host has orphan idle-exit enabled. */
|
|
1159
1174
|
readonly daemonOrphanExit?: 1;
|
|
@@ -1164,6 +1179,8 @@ interface RuntimeCapabilityRequirements {
|
|
|
1164
1179
|
/** Optional integration failures are isolated, observable, and hot-recoverable. */
|
|
1165
1180
|
readonly integrationConfigResilience?: 1;
|
|
1166
1181
|
readonly actorControlPlane?: 1;
|
|
1182
|
+
/** Require the sandbox-first execution chain and permission fallback revision. */
|
|
1183
|
+
readonly sandboxRuntime?: 1 | 2 | 3;
|
|
1167
1184
|
/** Runtime owns Auto LLM/rules classification before shared permission brokering. */
|
|
1168
1185
|
readonly runtimeAutoModeGuardrail?: 1 | 2 | 3 | 4;
|
|
1169
1186
|
}
|
|
@@ -1527,7 +1544,7 @@ interface RuntimeSessionDiagnostics {
|
|
|
1527
1544
|
readonly runtimeMode: KodaXRuntimeMode;
|
|
1528
1545
|
readonly sessionId: string;
|
|
1529
1546
|
readonly observation: {
|
|
1530
|
-
readonly cursor:
|
|
1547
|
+
readonly cursor: RuntimeSessionCursor;
|
|
1531
1548
|
readonly transcriptRevision: string;
|
|
1532
1549
|
};
|
|
1533
1550
|
readonly run: RuntimeSessionDiagnosticRun;
|
|
@@ -1698,7 +1715,7 @@ interface RuntimeSessionLiveProjection {
|
|
|
1698
1715
|
}
|
|
1699
1716
|
interface RuntimeSessionObservationSnapshot {
|
|
1700
1717
|
readonly runtimeId: string;
|
|
1701
|
-
readonly cursor:
|
|
1718
|
+
readonly cursor: RuntimeSessionCursor;
|
|
1702
1719
|
/** Content-derived token for the transcript captured at this observation boundary. */
|
|
1703
1720
|
readonly transcriptRevision: string;
|
|
1704
1721
|
readonly session: RuntimeSession;
|
|
@@ -1968,7 +1985,7 @@ interface RuntimeRunStopReceipt {
|
|
|
1968
1985
|
/** Durable Run control-record revision observed by this receipt. */
|
|
1969
1986
|
readonly revision: number;
|
|
1970
1987
|
}
|
|
1971
|
-
type RuntimeTerminalCode = "completed" | "run_failed" | "blocked" | "cancelled" | "interrupted" | "runtime_restarted" | "daemon_crashed" | "credential_unavailable" | "host_not_dispatched" | "host_outcome_unknown" | "control_history_untrusted";
|
|
1988
|
+
type RuntimeTerminalCode = "completed" | "run_failed" | "blocked" | "cancelled" | "interrupted" | "runtime_restarted" | "daemon_crashed" | "credential_unavailable" | "host_not_dispatched" | "host_outcome_unknown" | "actor_settlement_not_persisted" | "control_history_untrusted";
|
|
1972
1989
|
interface RuntimeTerminalFact {
|
|
1973
1990
|
readonly revision: number;
|
|
1974
1991
|
readonly kind: "completed" | "failed" | "cancelled" | "interrupted";
|
|
@@ -2105,6 +2122,21 @@ interface RuntimeWarningEventPayload {
|
|
|
2105
2122
|
readonly severity?: string;
|
|
2106
2123
|
readonly sourceEventId?: string;
|
|
2107
2124
|
}
|
|
2125
|
+
interface RuntimeContextCompactionStartedEventPayload {
|
|
2126
|
+
readonly meta?: KodaXActivityEventMeta;
|
|
2127
|
+
}
|
|
2128
|
+
type RuntimeContextCompactionStatsEventPayload = {
|
|
2129
|
+
readonly tokensBefore: number;
|
|
2130
|
+
readonly tokensAfter: number;
|
|
2131
|
+
} & Partial<KodaXLiveEventMeta>;
|
|
2132
|
+
/** Legacy events and non-managed compaction paths may omit the structured outcome. */
|
|
2133
|
+
type RuntimeContextCompactionEndedEventPayload = ({
|
|
2134
|
+
readonly meta?: KodaXActivityEventMeta;
|
|
2135
|
+
} & KodaXCompactionEndResult) | {
|
|
2136
|
+
readonly meta?: KodaXActivityEventMeta;
|
|
2137
|
+
readonly outcome?: undefined;
|
|
2138
|
+
};
|
|
2139
|
+
type RuntimeContextCompactionSkippedEventPayload = RuntimeCompactionSkippedEvent & Partial<KodaXLiveEventMeta>;
|
|
2108
2140
|
type RuntimeContextCompactionFinishedEventPayload = KodaXContextCompactionFinishedEvent & KodaXContextIdentity & {
|
|
2109
2141
|
readonly beforeRevision: number;
|
|
2110
2142
|
readonly afterRevision: number;
|
|
@@ -2138,7 +2170,7 @@ type RuntimeUserInputRequestedEventPayload = RuntimeUserInputRequest | {
|
|
|
2138
2170
|
type RuntimeEventPayloadDefaults = {
|
|
2139
2171
|
readonly [K in RuntimeEventType]: unknown;
|
|
2140
2172
|
};
|
|
2141
|
-
type RuntimeEventPayloadMap = Omit<RuntimeEventPayloadDefaults, "session.created" | "session.loaded" | "run.queued" | "run.started" | "run.updated" | "run.completed" | "run.failed" | "run.cancelled" | "run.interrupted" | "assistant.delta" | "thinking.delta" | "thinking.finished" | "tool.started" | "tool.progress" | "tool.sandbox" | "tool.finished" | "run.progress" | "run.input.queued" | "run.input.delivered" | "todo.updated" | "user_input.requested" | "user_input.resolved" | "permission.requested" | "permission.resolved" | "permission.grant.changed" | "session.settings.updated" | "turn.started" | "turn.completed" | "turn.failed" | "workflow.started" | "workflow.updated" | "workflow.finished" | "context.budget.snapshot" | "provider.cache.diagnostics" | "tool.exposure.planned" | "context.compaction.messages" | "context.compaction.finished" | "runtime.warning"> & {
|
|
2173
|
+
type RuntimeEventPayloadMap = Omit<RuntimeEventPayloadDefaults, "session.created" | "session.loaded" | "run.queued" | "run.started" | "run.updated" | "run.completed" | "run.failed" | "run.cancelled" | "run.interrupted" | "assistant.delta" | "thinking.delta" | "thinking.finished" | "tool.started" | "tool.progress" | "tool.sandbox" | "tool.finished" | "run.progress" | "run.input.queued" | "run.input.delivered" | "todo.updated" | "user_input.requested" | "user_input.resolved" | "permission.requested" | "permission.resolved" | "permission.grant.changed" | "session.settings.updated" | "turn.started" | "turn.completed" | "turn.failed" | "workflow.started" | "workflow.updated" | "workflow.finished" | "context.budget.snapshot" | "provider.cache.diagnostics" | "tool.exposure.planned" | "context.compaction.started" | "context.compaction.stats" | "context.compaction.ended" | "context.compaction.skipped" | "context.compaction.messages" | "context.compaction.finished" | "runtime.warning"> & {
|
|
2142
2174
|
readonly "session.created": RuntimeSession;
|
|
2143
2175
|
readonly "session.loaded": RuntimeSessionLoadedEventPayload;
|
|
2144
2176
|
readonly "run.queued": RuntimeRunStatus;
|
|
@@ -2174,6 +2206,10 @@ type RuntimeEventPayloadMap = Omit<RuntimeEventPayloadDefaults, "session.created
|
|
|
2174
2206
|
readonly "context.budget.snapshot": RuntimeContextBudgetSnapshot;
|
|
2175
2207
|
readonly "provider.cache.diagnostics": KodaXPromptCacheDiagnosticEvent;
|
|
2176
2208
|
readonly "tool.exposure.planned": RuntimeToolExposurePlan;
|
|
2209
|
+
readonly "context.compaction.started": RuntimeContextCompactionStartedEventPayload;
|
|
2210
|
+
readonly "context.compaction.stats": RuntimeContextCompactionStatsEventPayload;
|
|
2211
|
+
readonly "context.compaction.ended": RuntimeContextCompactionEndedEventPayload;
|
|
2212
|
+
readonly "context.compaction.skipped": RuntimeContextCompactionSkippedEventPayload;
|
|
2177
2213
|
readonly "context.compaction.messages": RuntimeContextCompactionMessagesEventPayload;
|
|
2178
2214
|
readonly "context.compaction.finished": RuntimeContextCompactionFinishedEventPayload;
|
|
2179
2215
|
readonly "runtime.warning": RuntimeWarningEventPayload;
|
|
@@ -2181,6 +2217,8 @@ type RuntimeEventPayloadMap = Omit<RuntimeEventPayloadDefaults, "session.created
|
|
|
2181
2217
|
interface RuntimeEventEnvelope<TPayload = unknown> {
|
|
2182
2218
|
readonly id: string;
|
|
2183
2219
|
readonly seq: number;
|
|
2220
|
+
/** Session-bound replay position. Numeric seq values are not comparable across Sessions. */
|
|
2221
|
+
readonly cursor: RuntimeSessionCursor;
|
|
2184
2222
|
readonly time: string;
|
|
2185
2223
|
readonly sessionId: string;
|
|
2186
2224
|
readonly runId: string;
|
|
@@ -2188,12 +2226,17 @@ interface RuntimeEventEnvelope<TPayload = unknown> {
|
|
|
2188
2226
|
readonly type: RuntimeEventType;
|
|
2189
2227
|
readonly payload: TPayload;
|
|
2190
2228
|
}
|
|
2229
|
+
interface RuntimeSessionCursor {
|
|
2230
|
+
readonly sessionId: string;
|
|
2231
|
+
readonly journalEpoch: string;
|
|
2232
|
+
readonly seq: number;
|
|
2233
|
+
}
|
|
2191
2234
|
type RuntimeTypedEvent<TType extends RuntimeEventType = RuntimeEventType> = {
|
|
2192
2235
|
readonly [K in TType]: RuntimeEventEnvelope<RuntimeEventPayloadMap[K]> & {
|
|
2193
2236
|
readonly type: K;
|
|
2194
2237
|
};
|
|
2195
2238
|
}[TType];
|
|
2196
|
-
/**
|
|
2239
|
+
/** Raw event envelope; use parseRuntimeEvent for payload narrowing. */
|
|
2197
2240
|
type RuntimeEvent = RuntimeEventEnvelope;
|
|
2198
2241
|
type RuntimeEventParseResult = {
|
|
2199
2242
|
readonly ok: true;
|
|
@@ -2202,15 +2245,21 @@ type RuntimeEventParseResult = {
|
|
|
2202
2245
|
readonly ok: false;
|
|
2203
2246
|
readonly error: string;
|
|
2204
2247
|
};
|
|
2205
|
-
interface
|
|
2206
|
-
readonly sessionId?: string;
|
|
2207
|
-
readonly runId?: string;
|
|
2248
|
+
interface RuntimeEventFilterFields {
|
|
2208
2249
|
readonly type?: RuntimeEventType | readonly RuntimeEventType[];
|
|
2209
2250
|
}
|
|
2210
|
-
|
|
2211
|
-
readonly
|
|
2251
|
+
type RuntimeEventFilter = RuntimeEventFilterFields & ({
|
|
2252
|
+
readonly sessionId: string;
|
|
2253
|
+
readonly runId?: string;
|
|
2254
|
+
} | {
|
|
2255
|
+
readonly sessionId?: string;
|
|
2256
|
+
readonly runId: string;
|
|
2257
|
+
});
|
|
2258
|
+
type RuntimeEventReplayFilter = RuntimeEventFilter & {
|
|
2259
|
+
readonly after?: RuntimeSessionCursor;
|
|
2260
|
+
/** Positive safe-integer result bound. */
|
|
2212
2261
|
readonly limit?: number;
|
|
2213
|
-
}
|
|
2262
|
+
};
|
|
2214
2263
|
type RuntimeEventListener = (event: RuntimeEvent) => void;
|
|
2215
2264
|
type RuntimeTypedEventListener = (event: RuntimeTypedEvent) => void;
|
|
2216
2265
|
interface RuntimeSubscription {
|
|
@@ -2220,7 +2269,7 @@ interface RuntimeSubscription {
|
|
|
2220
2269
|
}
|
|
2221
2270
|
interface RuntimeEventService {
|
|
2222
2271
|
subscribe(filter: RuntimeEventFilter, listener: RuntimeEventListener): RuntimeSubscription;
|
|
2223
|
-
replay(filter
|
|
2272
|
+
replay(filter: RuntimeEventReplayFilter): Promise<readonly RuntimeEvent[]>;
|
|
2224
2273
|
}
|
|
2225
2274
|
type RuntimePermissionRisk = "low" | "medium" | "high";
|
|
2226
2275
|
interface RuntimePermissionScope {
|
|
@@ -2515,4 +2564,4 @@ declare function createKodaXRuntime(options?: CreateKodaXRuntimeOptions): Promis
|
|
|
2515
2564
|
declare function connectKodaXRuntime(options?: ConnectKodaXRuntimeOptions): Promise<KodaXDaemonRuntime>;
|
|
2516
2565
|
|
|
2517
2566
|
export { KODAX_DAEMON_PROTOCOL, KODAX_DAEMON_PROTOCOL_VERSION, KODAX_RUNTIME_SDK_CAPABILITIES, KodaXEvents, KodaXPromptCacheDiagnosticEvent, KodaXResult, RUNTIME_DAEMON_METHODS, RUNTIME_DAEMON_METHOD_SCHEMAS, RUNTIME_DAEMON_NOTIFICATION_SCHEMAS, RUNTIME_DAEMON_PROTOCOL_SCHEMA, RUNTIME_DAEMON_PROTOCOL_SCHEMA_JSON, RuntimeAutoModeConfigurationError, RuntimeContextBudgetSnapshot, RuntimeDaemonCapabilityUpgradeError, RuntimePermissionScopeUpgradeRequiredError, RuntimeToolExposurePlan, RuntimeTransportBoundaryError, SessionTranscriptEntry, acquireKodaXInlineOwner, captureRuntimeSessionDiagnostics, connectKodaXRuntime, createKodaXRuntime, enableKodaXDaemonOwner, getKodaXRuntimeOwnerPolicy, getKodaXRuntimeOwnerState, listRuntimeDaemonSchemaMethods, parseRuntimeEvent, setKodaXRuntimeOwnerMode, waitForRuntimeDaemonShutdown };
|
|
2518
|
-
export type { ConnectKodaXRuntimeOptions, CreateKodaXRuntimeOptions, KodaXDaemonRuntime, KodaXRuntime, KodaXRuntimeIsolation, KodaXRuntimeMode, RuntimeActiveAgentTurn, RuntimeActiveToolProjection, RuntimeAdminService, RuntimeAgentBindingService, RuntimeAgentOwnerSession, RuntimeAgentService, RuntimeAppendNoticeInput, RuntimeArtifact, RuntimeArtifactKind, RuntimeArtifactRefInput, RuntimeArtifactService, RuntimeBoundDefaultAgent, RuntimeBoundLocalAgent, RuntimeCapabilityRequirements, RuntimeCatalogService, RuntimeClientCapabilities, RuntimeClientInfo, RuntimeCommandInfo, RuntimeCommandResolveInput, RuntimeCompactSessionInput, RuntimeCompactSessionResult, RuntimeConfigPatch, RuntimeConfigReloadResult, RuntimeConfigService, RuntimeConnectionService, RuntimeConnectionState, RuntimeContextCompactionFinishedEventPayload, RuntimeContextCompactionMessagesEventPayload, RuntimeContinuationStatus, RuntimeConversationHistory, RuntimeConversationHistoryBoundary, RuntimeConversationHistoryEntryChunk, RuntimeConversationHistoryEntryChunkInput, RuntimeConversationHistoryPageInput, RuntimeConversationHistorySlice, RuntimeConversationHistorySliceEntry, RuntimeCreateArtifactInput, RuntimeCreateSessionInput, RuntimeCredentialBroker, RuntimeCredentialLease, RuntimeCredentialRequest, RuntimeCredentialService, RuntimeDaemonClientTransport, RuntimeDaemonContextOptions, RuntimeDaemonEndpoint, RuntimeDaemonError, RuntimeDaemonErrorCode, RuntimeDaemonFrame, RuntimeDaemonJsonSchema, RuntimeDaemonKodaXOptions, RuntimeDaemonManagementService, RuntimeDaemonManagementState, RuntimeDaemonMethod, RuntimeDaemonMethodSchema, RuntimeDaemonNotification, RuntimeDaemonNotificationMethod, RuntimeDaemonPreflight, RuntimeDaemonProtocolSchema, RuntimeDaemonRequest, RuntimeDaemonRequestControl, RuntimeDaemonRollbackInput, RuntimeDaemonRollbackResult, RuntimeDaemonRunService, RuntimeDaemonShutdownVerification, RuntimeDaemonShutdownVerificationInput, RuntimeDaemonShutdownVerificationOwner, RuntimeDaemonStartRunInput, RuntimeDaemonTransportLifecycleState, RuntimeDefaultAgentStartInput, RuntimeDeliveredInterruptInput, RuntimeDiagnosticFilter, RuntimeDiagnosticsService, RuntimeEffectiveSkillRef, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventReplayFilter, RuntimeEventService, RuntimeEventType, RuntimeExactCallPermissionMatcher, RuntimeExactCommandPermissionMatcher, RuntimeExactPathPermissionMatcher, RuntimeExecutionToolPolicy, RuntimeExtensionListResult, RuntimeExtensionReloadResult, RuntimeExternalAgentsOptions, RuntimeFileInput, RuntimeForkSessionInput, RuntimeGrantedScope, RuntimeHostToolDescriptor, RuntimeHostToolHandler, RuntimeHostToolInvocation, RuntimeHostToolInvocationStatus, RuntimeHostToolLease, RuntimeHostToolResult, RuntimeHostToolService, RuntimeIdentity, RuntimeImageInput, RuntimeInlineOwnerHandle, RuntimeInput, RuntimeIntegrationDiagnostic, RuntimeIntegrationDomainStatus, RuntimeIntegrationHealth, RuntimeInteractionResolvedEventPayload, RuntimeInterruptInputStatus, RuntimeKodaXOptions, RuntimeLearningService, RuntimeLocalAgentStartInput, RuntimeManagedTaskProjection, RuntimeMcpReloadResult, RuntimeMcpService, RuntimeMcpToolListFilter, RuntimeMcpValidateResult, RuntimeModelListFilter, RuntimeObservationInvalidation, RuntimeOperationOptions, RuntimeOperationReceipt, RuntimeOperationService, RuntimeOperationState, RuntimeOwnerIdentity, RuntimeOwnerPolicyState, RuntimeOwnerState, RuntimePendingUserInputProjection, RuntimePermissionBroker, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionGrantChangedEventPayload, RuntimePermissionGrantSuggestion, RuntimePermissionHostPlatform, RuntimePermissionMatcher, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionService, RuntimeReadOptions, RuntimeResolvedLocalAgent, RuntimeRewindSessionInput, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunInputDeliveredEventPayload, RuntimeRunInputQueuedEventPayload, RuntimeRunLifecycleError, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStage, RuntimeRunStatus, RuntimeRunStopReceipt, RuntimeRunStopStatus, RuntimeSession, RuntimeSessionDiagnosticError, RuntimeSessionDiagnosticErrorCode, RuntimeSessionDiagnosticRun, RuntimeSessionDiagnostics, RuntimeSessionDiagnosticsInput, RuntimeSessionFilter, RuntimeSessionLiveProjection, RuntimeSessionLoadedEventPayload, RuntimeSessionObservation, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionStatus, RuntimeSessionSummary, RuntimeSetActiveEntryInput, RuntimeSkillDescribeInput, RuntimeSkillDescription, RuntimeSkillFileSummary, RuntimeSkillListFilter, RuntimeSkillSummary, RuntimeStartRunInput, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalCode, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolSandboxEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTranscriptEntryChunk, RuntimeTranscriptEntryChunkInput, RuntimeTranscriptPageInput, RuntimeTranscriptSearchHit, RuntimeTranscriptSearchInput, RuntimeTranscriptSearchResult, RuntimeTranscriptSlice, RuntimeTranscriptSliceEntry, RuntimeTypedEvent, RuntimeTypedEventListener, RuntimeUserInputFilter, RuntimeUserInputKind, RuntimeUserInputRequest, RuntimeUserInputRequestedEventPayload, RuntimeUserInputResolution, RuntimeUserInputService, RuntimeUserMarkdownAgentRef, RuntimeVersionedUpdateOptions, RuntimeVersionedValue, RuntimeVideoInput, RuntimeWarningEventPayload, RuntimeWorkerOptions, RuntimeWorkerResourceLimits, RuntimeWorkflowFilter, RuntimeWorkflowListener, RuntimeWorkflowService, RuntimeWorkflowSnapshot, RuntimeWorkflowSummary, RuntimeWorkspaceBinding };
|
|
2567
|
+
export type { ConnectKodaXRuntimeOptions, CreateKodaXRuntimeOptions, KodaXDaemonRuntime, KodaXRuntime, KodaXRuntimeIsolation, KodaXRuntimeMode, RuntimeActiveAgentTurn, RuntimeActiveToolProjection, RuntimeAdminService, RuntimeAgentBindingService, RuntimeAgentOwnerSession, RuntimeAgentService, RuntimeAppendNoticeInput, RuntimeArtifact, RuntimeArtifactKind, RuntimeArtifactRefInput, RuntimeArtifactService, RuntimeBoundDefaultAgent, RuntimeBoundLocalAgent, RuntimeCapabilityRequirements, RuntimeCatalogService, RuntimeClientCapabilities, RuntimeClientInfo, RuntimeCommandInfo, RuntimeCommandResolveInput, RuntimeCompactSessionInput, RuntimeCompactSessionResult, RuntimeConfigPatch, RuntimeConfigReloadResult, RuntimeConfigService, RuntimeConnectionService, RuntimeConnectionState, RuntimeContextCompactionEndedEventPayload, RuntimeContextCompactionFinishedEventPayload, RuntimeContextCompactionMessagesEventPayload, RuntimeContextCompactionSkippedEventPayload, RuntimeContextCompactionStartedEventPayload, RuntimeContextCompactionStatsEventPayload, RuntimeContinuationStatus, RuntimeConversationHistory, RuntimeConversationHistoryBoundary, RuntimeConversationHistoryEntryChunk, RuntimeConversationHistoryEntryChunkInput, RuntimeConversationHistoryPageInput, RuntimeConversationHistorySlice, RuntimeConversationHistorySliceEntry, RuntimeCreateArtifactInput, RuntimeCreateSessionInput, RuntimeCredentialBroker, RuntimeCredentialLease, RuntimeCredentialRequest, RuntimeCredentialService, RuntimeDaemonClientTransport, RuntimeDaemonContextOptions, RuntimeDaemonEndpoint, RuntimeDaemonError, RuntimeDaemonErrorCode, RuntimeDaemonFrame, RuntimeDaemonJsonSchema, RuntimeDaemonKodaXOptions, RuntimeDaemonManagementService, RuntimeDaemonManagementState, RuntimeDaemonMethod, RuntimeDaemonMethodSchema, RuntimeDaemonNotification, RuntimeDaemonNotificationMethod, RuntimeDaemonPreflight, RuntimeDaemonProtocolSchema, RuntimeDaemonRequest, RuntimeDaemonRequestControl, RuntimeDaemonRollbackInput, RuntimeDaemonRollbackResult, RuntimeDaemonRunService, RuntimeDaemonShutdownVerification, RuntimeDaemonShutdownVerificationInput, RuntimeDaemonShutdownVerificationOwner, RuntimeDaemonStartRunInput, RuntimeDaemonTransportLifecycleState, RuntimeDefaultAgentStartInput, RuntimeDeliveredInterruptInput, RuntimeDiagnosticFilter, RuntimeDiagnosticsService, RuntimeEffectiveSkillRef, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventReplayFilter, RuntimeEventService, RuntimeEventType, RuntimeExactCallPermissionMatcher, RuntimeExactCommandPermissionMatcher, RuntimeExactPathPermissionMatcher, RuntimeExecutionToolPolicy, RuntimeExtensionListResult, RuntimeExtensionReloadResult, RuntimeExternalAgentsOptions, RuntimeFileInput, RuntimeForkSessionInput, RuntimeGrantedScope, RuntimeHostToolDescriptor, RuntimeHostToolHandler, RuntimeHostToolInvocation, RuntimeHostToolInvocationStatus, RuntimeHostToolLease, RuntimeHostToolResult, RuntimeHostToolService, RuntimeIdentity, RuntimeImageInput, RuntimeInlineOwnerHandle, RuntimeInput, RuntimeIntegrationDiagnostic, RuntimeIntegrationDomainStatus, RuntimeIntegrationHealth, RuntimeInteractionResolvedEventPayload, RuntimeInterruptInputStatus, RuntimeKodaXOptions, RuntimeLearningService, RuntimeLocalAgentStartInput, RuntimeManagedTaskProjection, RuntimeMcpReloadResult, RuntimeMcpService, RuntimeMcpToolListFilter, RuntimeMcpValidateResult, RuntimeModelListFilter, RuntimeObservationInvalidation, RuntimeOperationOptions, RuntimeOperationReceipt, RuntimeOperationService, RuntimeOperationState, RuntimeOwnerIdentity, RuntimeOwnerPolicyState, RuntimeOwnerState, RuntimePendingUserInputProjection, RuntimePermissionBroker, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionGrantChangedEventPayload, RuntimePermissionGrantSuggestion, RuntimePermissionHostPlatform, RuntimePermissionMatcher, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionService, RuntimeReadOptions, RuntimeResolvedLocalAgent, RuntimeRewindSessionInput, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunInputDeliveredEventPayload, RuntimeRunInputQueuedEventPayload, RuntimeRunLifecycleError, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStage, RuntimeRunStatus, RuntimeRunStopReceipt, RuntimeRunStopStatus, RuntimeSession, RuntimeSessionCursor, RuntimeSessionDiagnosticError, RuntimeSessionDiagnosticErrorCode, RuntimeSessionDiagnosticRun, RuntimeSessionDiagnostics, RuntimeSessionDiagnosticsInput, RuntimeSessionFilter, RuntimeSessionLiveProjection, RuntimeSessionLoadedEventPayload, RuntimeSessionObservation, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionStatus, RuntimeSessionSummary, RuntimeSetActiveEntryInput, RuntimeSkillDescribeInput, RuntimeSkillDescription, RuntimeSkillFileSummary, RuntimeSkillListFilter, RuntimeSkillSummary, RuntimeStartRunInput, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalCode, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolSandboxEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTranscriptEntryChunk, RuntimeTranscriptEntryChunkInput, RuntimeTranscriptPageInput, RuntimeTranscriptSearchHit, RuntimeTranscriptSearchInput, RuntimeTranscriptSearchResult, RuntimeTranscriptSlice, RuntimeTranscriptSliceEntry, 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,o,p,q,r,s,t,u,v,w}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,v,w}from"./chunks/chunk-2RAXDUC7.js";import"./chunks/chunk-MFCPQZ7E.js";import"./chunks/chunk-R4EHASEN.js";import"./chunks/chunk-B36G256E.js";import"./chunks/chunk-AAFFS6RU.js";import"./chunks/chunk-A5VQGXH2.js";import"./chunks/chunk-XA4ENCAH.js";import"./chunks/chunk-Q6UAGROD.js";import"./chunks/chunk-UKCDCVMD.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XUKLF26Q.js";import"./chunks/chunk-U6HNMLNN.js";import"./chunks/chunk-GVGLYVG4.js";import"./chunks/chunk-TRNAWSXP.js";import"./chunks/chunk-G5FGIRDJ.js";import"./chunks/chunk-UH5WNJXF.js";import"./chunks/chunk-ONUPGMER.js";export{b as KODAX_DAEMON_PROTOCOL,c as KODAX_DAEMON_PROTOCOL_VERSION,t 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,n as RuntimeAutoModeConfigurationError,m as RuntimeDaemonCapabilityUpgradeError,f as RuntimePermissionScopeUpgradeRequiredError,e as RuntimeTransportBoundaryError,o as acquireKodaXInlineOwner,u as captureRuntimeSessionDiagnostics,w as connectKodaXRuntime,v as createKodaXRuntime,r as enableKodaXDaemonOwner,p as getKodaXRuntimeOwnerPolicy,q as getKodaXRuntimeOwnerState,k as listRuntimeDaemonSchemaMethods,a as parseRuntimeEvent,s as setKodaXRuntimeOwnerMode,l as waitForRuntimeDaemonShutdown};
|
package/dist/sdk-sandbox.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ interface SandboxSetupOutcome {
|
|
|
59
59
|
readonly error?: string;
|
|
60
60
|
}
|
|
61
61
|
interface KodaXSandboxCapability {
|
|
62
|
-
readonly version:
|
|
62
|
+
readonly version: 3;
|
|
63
63
|
readonly asrtVersion: string;
|
|
64
64
|
readonly platform: NodeJS.Platform;
|
|
65
65
|
readonly backend: 'windows-restricted-user' | 'macos-seatbelt' | 'linux-bubblewrap' | 'unsupported';
|
package/dist/sdk-sandbox.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-5BNQXXGY.js";import{a,b,c,d,e,f,g}from"./chunks/chunk-
|
|
2
|
+
import"./chunks/chunk-5BNQXXGY.js";import{a,b,c,d,e,f,g}from"./chunks/chunk-MFCPQZ7E.js";import"./chunks/chunk-XA4ENCAH.js";import"./chunks/chunk-Q6UAGROD.js";import"./chunks/chunk-UKCDCVMD.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XUKLF26Q.js";import"./chunks/chunk-U6HNMLNN.js";import"./chunks/chunk-GVGLYVG4.js";import"./chunks/chunk-TRNAWSXP.js";import"./chunks/chunk-G5FGIRDJ.js";import"./chunks/chunk-UH5WNJXF.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,12 @@
|
|
|
1
|
-
export { b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, h as CreatableHistoryItem, j as DeleteSessionResult, k as ForkSessionOptions, l as FullTranscriptSessionData, M as ListSessionsOptions, T as PreparedSessionAppendBaseline, U as PreparedSessionTailDelta, X as RewindSessionOptions, Y as RunningSessionInfo, Z as SessionBundleExportDiagnostic, _ as SessionBundleExportFile, $ as SessionBundleExportOptions, a0 as SessionBundleExportResult, a1 as SessionBundleExportStatus, a2 as SessionConversationHistoryData, a3 as SessionConversationHistoryEntry, a4 as SessionConversationHistoryIssue, a5 as SessionConversationHistoryIssueCode, a6 as SessionConversationHistoryStatus, a7 as SessionConversationMutationBoundary, a9 as SessionManager, ab as SessionReadError, ac as SessionReadErrorCode, ad as SessionReadOptions, af as SessionSummary, ag as SessionTranscriptEntry, ah as SessionTranscriptEntryType, ay as WatchSessionsCallback, az as appendClientNotice, aA as archiveSession, aB as compactSession, aH as createSessionManager, aI as deleteSession, aK as exportSessionBundle, aM as forkSession, aO as listRunningSessions, aP as listSessions, aQ as loadFullTranscript, aR as loadSession, aU as readConversationHistory, aV as readFullTranscript, aX as rewindSession, aY as setActiveEntry, aZ as unarchiveSession, a_ as watchSessions } from './types-chunks/public-api.d-
|
|
1
|
+
export { b as AppendClientNoticeOptions, C as CompactSessionOptions, c as CompactSessionResult, h as CreatableHistoryItem, j as DeleteSessionResult, k as ForkSessionOptions, l as FullTranscriptSessionData, M as ListSessionsOptions, T as PreparedSessionAppendBaseline, U as PreparedSessionTailDelta, X as RewindSessionOptions, Y as RunningSessionInfo, Z as SessionBundleExportDiagnostic, _ as SessionBundleExportFile, $ as SessionBundleExportOptions, a0 as SessionBundleExportResult, a1 as SessionBundleExportStatus, a2 as SessionConversationHistoryData, a3 as SessionConversationHistoryEntry, a4 as SessionConversationHistoryIssue, a5 as SessionConversationHistoryIssueCode, a6 as SessionConversationHistoryStatus, a7 as SessionConversationMutationBoundary, a9 as SessionManager, ab as SessionReadError, ac as SessionReadErrorCode, ad as SessionReadOptions, af as SessionSummary, ag as SessionTranscriptEntry, ah as SessionTranscriptEntryType, ay as WatchSessionsCallback, az as appendClientNotice, aA as archiveSession, aB as compactSession, aH as createSessionManager, aI as deleteSession, aK as exportSessionBundle, aM as forkSession, aO as listRunningSessions, aP as listSessions, aQ as loadFullTranscript, aR as loadSession, aU as readConversationHistory, aV as readFullTranscript, aX as rewindSession, aY as setActiveEntry, aZ as unarchiveSession, a_ as watchSessions } from './types-chunks/public-api.d-Cg-4GTbK.js';
|
|
2
2
|
export { T as KodaXTaskResultMetadata, U as KodaXTaskResultSource } from './types-chunks/types.d-CgrXrFrq.js';
|
|
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-
|
|
3
|
+
export { am as KodaXSessionUiHistoryItem, an as KodaXSessionUiHistoryItemType, ao as KodaXSessionUiTextHistoryItem, ap as KodaXSessionUiTextHistoryItemType, aq as KodaXSessionUiToolCall, ar as KodaXSessionUiToolCallStatus, as as KodaXSessionUiToolGroupHistoryItem } from './types-chunks/types.d-DlLBRqZ9.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-fQ_KENev.js';
|
|
5
|
+
import './types-chunks/bash-prefix-extractor.d-QqKtuLZm.js';
|
|
6
6
|
import 'vscode-languageserver-protocol';
|
|
7
|
-
import './types-chunks/
|
|
7
|
+
import './types-chunks/controller.d-Dzxz22X-.js';
|
|
8
|
+
import './types-chunks/types.d-BSPlmJqf.js';
|
|
8
9
|
import './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
9
|
-
import './types-chunks/types-
|
|
10
|
+
import './types-chunks/types-PHjfwebT.js';
|
|
10
11
|
import './types-chunks/capability.d-K664nHOS.js';
|
|
11
12
|
import './types-chunks/base.d-DxG0m09Z.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{$b as l,Qb as i,Tb as n,Ub as t,Vb as r,Wb as a,Xb as S,Yb as d,ac as p,bb as o,bc as u,cc as y,dc as c,ec as m,fc as H,gc as C,hc as T,ic as x,jc as R}from"./chunks/chunk-
|
|
2
|
+
import{$b as l,Qb as i,Tb as n,Ub as t,Vb as r,Wb as a,Xb as S,Yb as d,ac as p,bb as o,bc as u,cc as y,dc as c,ec as m,fc as H,gc as C,hc as T,ic as x,jc as R}from"./chunks/chunk-R4EHASEN.js";import{N as s,O as e}from"./chunks/chunk-B36G256E.js";import"./chunks/chunk-AAFFS6RU.js";import"./chunks/chunk-A5VQGXH2.js";import"./chunks/chunk-XA4ENCAH.js";import"./chunks/chunk-Q6UAGROD.js";import"./chunks/chunk-UKCDCVMD.js";import"./chunks/chunk-HTVLCHWH.js";import"./chunks/chunk-XUKLF26Q.js";import"./chunks/chunk-U6HNMLNN.js";import"./chunks/chunk-GVGLYVG4.js";import"./chunks/chunk-TRNAWSXP.js";import"./chunks/chunk-G5FGIRDJ.js";import"./chunks/chunk-UH5WNJXF.js";import"./chunks/chunk-ONUPGMER.js";export{i as SessionReadError,p as appendClientNotice,C as archiveSession,n as compactSession,R as createSessionManager,H as deleteSession,l as exportSessionBundle,s as extractHistorySeedsFromMessage,e as extractHistorySeedsFromMessages,u as forkSession,m as listRunningSessions,t as listSessions,a as loadFullTranscript,r as loadSession,d as readConversationHistory,S as readFullTranscript,o as restoreHistoryItemsFromSession,y as rewindSession,c as setActiveEntry,T as unarchiveSession,x 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-BSPlmJqf.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-BSPlmJqf.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
|
|
2
|
+
import{Ad as c,Bd as d,Cd as x,Dd as P,Ed as R,Fd as h,Gd as p,Hd as v,Id as y,Jd as M,Kd as f,Ld as m,Md as E,gc as l,hc as e,ic as i,jc as t,kc as o,lc as a,pc as k,qc as r,rc as S,sc as s,xd as n,yd as g,zd as u}from"./chunks/chunk-G5FGIRDJ.js";import"./chunks/chunk-UH5WNJXF.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};
|