@kodax-ai/kodax 0.7.96 → 0.7.97-alpha.2
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 +86 -0
- package/README.md +85 -62
- package/README_CN.md +57 -67
- package/config-templates/config.example.jsonc +0 -14
- package/dist/chunks/{agent-7N427EVB.js → agent-J7SHFM5N.js} +1 -1
- package/dist/chunks/argument-completer-ZJQOWTIS.js +2 -0
- package/dist/chunks/{chunk-ABZDFK2X.js → chunk-2GV6MQ4T.js} +14 -14
- package/dist/chunks/{chunk-6QI3GOYG.js → chunk-3PS3YEDS.js} +1 -1
- package/dist/chunks/chunk-4VJMQDTH.js +417 -0
- package/dist/chunks/{chunk-NI7PBPUR.js → chunk-5DSUVP46.js} +1 -1
- package/dist/chunks/chunk-5P7RTSZT.js +21 -0
- package/dist/chunks/{chunk-XXNR6S4Q.js → chunk-6ZAQKFIM.js} +1 -1
- package/dist/chunks/chunk-7V2QBZ73.js +137 -0
- package/dist/chunks/{chunk-C7U542KM.js → chunk-F7DHZH6T.js} +1 -1
- package/dist/chunks/{chunk-7IMWOR34.js → chunk-HSRYDDPF.js} +1 -1
- package/dist/chunks/chunk-K3DQGSQU.js +372 -0
- package/dist/chunks/chunk-NO23K2CB.js +2 -0
- package/dist/chunks/{chunk-NKT3B3DR.js → chunk-OT5WHAX4.js} +1 -1
- package/dist/chunks/{chunk-YEAUDI6U.js → chunk-QGWHJIO4.js} +1 -1
- package/dist/chunks/chunk-QOFFAY5C.js +261 -0
- package/dist/chunks/{chunk-4PFZ7BEE.js → chunk-QVDTORL3.js} +11 -11
- package/dist/chunks/chunk-QZ4B4AWG.js +473 -0
- package/dist/chunks/chunk-RXDS6CNA.js +355 -0
- package/dist/chunks/{chunk-WV3DJVW4.js → chunk-VDGPJQL7.js} +135 -135
- package/dist/chunks/chunk-VEZ4WHPN.js +641 -0
- package/dist/chunks/chunk-ZPPAT25E.js +5 -0
- package/dist/chunks/chunk-ZQYWDI4O.js +1 -0
- package/dist/chunks/chunk-ZS2GUADU.js +498 -0
- package/dist/chunks/{chunk-GN2IY5YE.js → chunk-ZTYZYXGV.js} +1 -1
- package/dist/chunks/{chunk-EM4XJBTK.js → chunk-ZZQ4GDVU.js} +1 -1
- package/dist/chunks/{client-6WZZTTSV.js → client-MXOJ5XUN.js} +1 -1
- package/dist/chunks/{compaction-config-ZMEJU4U7.js → compaction-config-5VZSGKBQ.js} +1 -1
- package/dist/chunks/{construction-bootstrap-RX4DMHI7.js → construction-bootstrap-U2ZU2WAT.js} +1 -1
- package/dist/chunks/dist-CSLNWLOE.js +2 -0
- package/dist/chunks/dist-XXMJMJDU.js +2 -0
- package/dist/chunks/host-RUXYZFYN.js +2 -0
- package/dist/chunks/readline-helpers-JCVULR4C.js +2 -0
- package/dist/chunks/run-manager-DRIM5VNE.js +2 -0
- package/dist/chunks/utils-MQEBGKIX.js +2 -0
- package/dist/index.d.ts +63 -30
- package/dist/index.js +10 -6
- package/dist/kodax_bootstrap.js +1 -1
- package/dist/kodax_cli.js +1745 -1734
- package/dist/kodax_resume.js +32 -35
- package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
- package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/sandbox-network-broker.js +77 -77
- package/dist/sdk-a2a.d.ts +33 -18
- package/dist/sdk-a2a.js +8 -9
- package/dist/sdk-agent.d.ts +33 -26
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-client.d.ts +40 -0
- package/dist/sdk-client.js +2 -0
- package/dist/sdk-coding.d.ts +87 -499
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +3 -4
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +11 -9
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.d.ts +3 -3
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +3 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +317 -70
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +580 -452
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +13 -9
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +57 -57
- package/dist/types-chunks/{base.d-Bt9lhwSV.d.ts → base.d-ZBOdjDUT.d.ts} +2 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-DWFIMg0v.d.ts → bash-prefix-extractor.d-DvswAXKS.d.ts} +136 -66
- package/dist/types-chunks/{capability-learning.d-gRtO03f6.d.ts → capability-learning.d-B4pxKwP4.d.ts} +1 -1
- package/dist/types-chunks/{capability.d-Ch5Vos33.d.ts → capability.d-DOF3r0fJ.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-Dj1n6s0Y.d.ts → capsule.d-B4atvlxE.d.ts} +7 -19
- package/dist/types-chunks/client-contract-A1jdk6xz.d.ts +1993 -0
- package/dist/types-chunks/{controller.d-C0IM1Tud.d.ts → controller.d-BkUJ_3sl.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-J2t1q8Ly.d.ts → controller.d-yyKajPTi.d.ts} +140 -1380
- package/dist/types-chunks/{cost-tracker.d-BWI4lFWn.d.ts → cost-tracker.d-BeaenODW.d.ts} +2 -47
- package/dist/types-chunks/{history-retrieval.d-CPN5PMBV.d.ts → history-retrieval.d-JdFfkeF3.d.ts} +2 -2
- package/dist/types-chunks/{manager.d-rtmywU9M.d.ts → manager.d-C_20XqCV.d.ts} +8 -1
- package/dist/types-chunks/manifest.d-Bw2i-zQi.d.ts +18 -0
- package/dist/types-chunks/provider-credential-context.d-BH2OaB1b.d.ts +47 -0
- package/dist/types-chunks/provider-request-observation.d-jL8T6wVO.d.ts +34 -0
- package/dist/types-chunks/{public-api.d-amBop8Nk.d.ts → public-api.d-Cq8ILMte.d.ts} +52 -13
- package/dist/types-chunks/{resolver.d-BrwLoWNr.d.ts → resolver.d-DLY01RHx.d.ts} +4 -2
- package/dist/types-chunks/{types.d-CSv0_cZC.d.ts → review-inbox.d-BeaLRNHx.d.ts} +251 -3
- package/dist/types-chunks/{shell-command-sets.d-oejwpP_7.d.ts → review-packet.d-D4bbTbq3.d.ts} +46 -3
- package/dist/types-chunks/{exec-policy.d-BPESl90L.d.ts → run-manager.d-C7Q71rin.d.ts} +385 -62
- package/dist/types-chunks/runtime-client-info-CxnlZlW5.d.ts +175 -0
- package/dist/types-chunks/{sdk-session-B6XjHNU1.d.ts → sdk-session-BDFjCpDn.d.ts} +12 -4
- package/dist/types-chunks/{side-query.d-DHWG1JZg.d.ts → side-query.d-DTrhVd_r.d.ts} +4 -3
- package/dist/types-chunks/trusted-repl-entry-vbUM8R6P.d.ts +445 -0
- package/dist/types-chunks/{types.d-CtO8mR1s.d.ts → types.d-BJTN-RZr.d.ts} +5 -5
- package/dist/types-chunks/{types.d-BrQMB-hy.d.ts → types.d-BjOq57-z.d.ts} +6 -0
- package/dist/types-chunks/types.d-o7t9dds4.d.ts +1484 -0
- package/dist/types-chunks/{utils.d-DcznBeQ3.d.ts → utils.d-CWiMhFfu.d.ts} +202 -36
- package/docs/CLIENT_CONTRACT.md +441 -0
- package/docs/SDK_MIGRATION.md +123 -0
- package/docs/SPACE_SDK_SEAMS.md +139 -0
- package/package.json +10 -5
- package/public_docs/README.md +12 -133
- package/public_docs/configuration/config-files.md +8 -14
- package/public_docs/sdk/embedder-guide.md +494 -420
- package/dist/chunks/argument-completer-FAIHW7HZ.js +0 -2
- package/dist/chunks/chunk-66XN5AFU.js +0 -417
- package/dist/chunks/chunk-7O2AIFNE.js +0 -373
- package/dist/chunks/chunk-DSXUXUZG.js +0 -5
- package/dist/chunks/chunk-GYO73UYQ.js +0 -275
- package/dist/chunks/chunk-HPCS3LZ5.js +0 -324
- package/dist/chunks/chunk-HZYRLIOC.js +0 -137
- package/dist/chunks/chunk-SC2ELSUS.js +0 -675
- package/dist/chunks/chunk-TEUD5VPJ.js +0 -471
- package/dist/chunks/chunk-TYZ2ZAYL.js +0 -487
- package/dist/chunks/dist-3UCCMCYR.js +0 -2
- package/dist/chunks/dist-F5IWZSAY.js +0 -2
- package/dist/chunks/host-W2JJ3V3Q.js +0 -2
- package/dist/chunks/run-manager-RBWU3EVE.js +0 -2
- package/dist/chunks/utils-DJ4ZFJGL.js +0 -2
- package/dist/runtime-worker.js +0 -5381
- package/dist/types-chunks/review-inbox.d-CTeUIKda.d.ts +0 -225
- package/dist/types-chunks/run-manager.d-hm1XgEou.d.ts +0 -94
- package/dist/types-chunks/trusted-repl-entry-D0w5M0UZ.d.ts +0 -323
- package/dist/types-chunks/types.d-B1l9pWyX.d.ts +0 -146
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{
|
|
2
|
+
import{Bb as r,Rb as o}from"./chunk-RXDS6CNA.js";import{a as n}from"./chunk-6ZAQKFIM.js";import{a as e}from"./chunk-ONUPGMER.js";function u(t){return o(n(t))}e(u,"runInteractiveMode");function a(t){return r(n(t))}e(a,"runInkInteractiveMode");export{u as a,a as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{
|
|
2
|
+
import{E as o}from"./chunk-7V2QBZ73.js";import{a as i}from"./chunk-ONUPGMER.js";function r(u){let e=o(u?.llm);if(!e)return;let t={};return e.requestTimeoutMs!==void 0&&(t.requestTimeoutMs=e.requestTimeoutMs),e.streamIdleTimeoutMs!==void 0&&(t.streamIdleTimeoutMs=e.streamIdleTimeoutMs),e.chunkTimeoutMs!==void 0&&(t.chunkTimeoutMs=e.chunkTimeoutMs),e.maxRetryDelayMs!==void 0&&(t.maxRetryDelayMs=e.maxRetryDelayMs),Object.keys(t).length>0?t:void 0}i(r,"providerResilienceConfigFromTimeouts");export{r as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{a as B,b as P,c as K}from"./chunk-
|
|
2
|
+
import{a as B,b as P,c as K}from"./chunk-5DSUVP46.js";import{mb as z,nb as G,pb as V}from"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import{a as n}from"./chunk-ONUPGMER.js";import{readFile as Ie}from"fs/promises";import{pathToFileURL as m,fileURLToPath as Me}from"url";var _e=150,be=1e4,Ne=3e4,Oe=1500,X=500;function F(r,a,i){return r.catch(()=>{}),new Promise((u,w)=>{let R=setTimeout(()=>w(new Error(i)),a);r.then(p=>{clearTimeout(R),u(p)},p=>{clearTimeout(R),w(p)})})}n(F,"withTimeout");function ve(r){return r.targetUri!==void 0}n(ve,"isLocationLink");function Q(r){return r?(Array.isArray(r)?r:[r]).map(i=>ve(i)?{uri:i.targetUri,range:i.targetSelectionRange}:i):[]}n(Q,"normalizeLocations");function Ue(r,a){if(!r)return{};if(!a)return r;let i=r;for(let u of a.split("."))if(i&&typeof i=="object"&&u in i)i=i[u];else return null;return i}n(Ue,"configurationValue");function Le(r,a){let i=m(r).href;return{processId:process.pid,rootUri:i,workspaceFolders:[{name:"workspace",uri:i}],capabilities:{workspace:{configuration:!0,workspaceFolders:!0,symbol:{dynamicRegistration:!0},didChangeConfiguration:{dynamicRegistration:!0},didChangeWatchedFiles:{dynamicRegistration:!0}},textDocument:{synchronization:{dynamicRegistration:!0,didSave:!0},publishDiagnostics:{relatedInformation:!0},definition:{dynamicRegistration:!0,linkSupport:!0},implementation:{dynamicRegistration:!0,linkSupport:!0},hover:{dynamicRegistration:!0,contentFormat:["markdown","plaintext"]},references:{dynamicRegistration:!0},documentSymbol:{dynamicRegistration:!0,hierarchicalDocumentSymbolSupport:!0},callHierarchy:{dynamicRegistration:!0}},window:{workDoneProgress:!0}},initializationOptions:a}}n(Le,"buildInitializeParams");async function ze({proc:r,isClosed:a,killProcess:i,unregisterManagedChild:u,exitGraceMs:w=Oe,killReapGraceMs:R=X}){return new Promise(p=>{let g=!1,C,T,x=n(()=>{C&&clearTimeout(C),T&&clearTimeout(T)},"clearTimers"),D=n(()=>{g||(g=!0,x(),r.off("close",D),u(),p(!0))},"finishClosed"),_=n(()=>{g||(g=!0,x(),r.off("close",D),p(!1))},"finishUnreaped");if(r.once("close",D),a?.()){D();return}C=setTimeout(()=>{i().catch(()=>{}).finally(()=>{g||(T=setTimeout(_,R),T.unref?.())})},w),C.unref?.()})}n(ze,"waitForLspProcessExitOrGiveUp");async function Ve(r){let{serverId:a,root:i,launch:u,debug:w}=r,R=r.initializeTimeoutMs??Ne,[p,g]=await Promise.all([import("vscode-languageserver-protocol/node"),import("vscode-languageserver-protocol")]),{createProtocolConnection:C,StreamMessageReader:T,StreamMessageWriter:x}=p,{InitializeRequest:D,InitializedNotification:_,DidChangeConfigurationNotification:Z,DidOpenTextDocumentNotification:J,DidChangeTextDocumentNotification:Y,PublishDiagnosticsNotification:j,DefinitionRequest:ee,HoverRequest:te,ReferencesRequest:ne,DocumentSymbolRequest:ie,WorkspaceSymbolRequest:oe,ImplementationRequest:re,CallHierarchyPrepareRequest:se,CallHierarchyIncomingCallsRequest:ae,CallHierarchyOutgoingCallsRequest:ce,ShutdownRequest:ue,ExitNotification:le}=g,l=K(u.command,u.args,{cwd:i,stdio:["pipe","pipe","pipe"],env:process.env,detached:process.platform!=="win32"},u.kind),de=V(l,{kind:`lsp:${a}`,command:u.command,args:u.args,cwd:i},{manualUnregister:!0}),A=!0,b=n(()=>{A&&(A=!1,de())},"unregisterManagedChildOnce"),$=!1;l.once("close",()=>{$=!0,b()}),l.stderr.on("data",e=>w?.(`[${a}] stderr: ${e.toString().trim()}`));let S=new x(l.stdin),k=!1,E,I=n(()=>{},"disposeConnection"),fe={onError:S.onError,onClose:S.onClose,dispose:n(()=>S.dispose(),"dispose"),end:n(()=>S.end(),"end"),async write(e){try{await S.write(e)}catch(t){k||(k=!0,E=t,I())}}},o=C(new T(l.stdout),fe),H=!1;I=n(()=>{if(!H){H=!0;try{o.dispose()}catch(e){w?.(`[${a}] connection dispose failed: ${e.message}`)}}},"disposeConnection");async function c(e){if(k)throw E;try{let t=await e();if(k)throw E;return t}catch(t){throw k?E:t}}n(c,"sendProtocol");let N=new Map,O=new Set;o.onNotification(j.type,e=>{let t;try{t=P(Me(e.uri))}catch{return}N.set(t,e.diagnostics??[]);let s=Date.now();for(let d of O)d(t,s)}),o.onRequest("workspace/configuration",e=>(e.items??[]).map(t=>Ue(u.initializationOptions,t.section))),o.onRequest("workspace/workspaceFolders",()=>[{name:"workspace",uri:m(i).href}]),o.onRequest("window/workDoneProgress/create",()=>null),o.onRequest("client/registerCapability",()=>null),o.onRequest("client/unregisterCapability",()=>null),o.listen();let W=new Promise((e,t)=>{l.once("error",s=>t(new Error(`spawn failed: ${s.message}`))),l.once("exit",s=>t(new Error(`server exited early (code ${s??"null"})`)))});try{let e=n(async()=>{await c(()=>o.sendRequest(D.type,Le(i,u.initializationOptions))),await c(()=>o.sendNotification(_.type,{})),await c(()=>o.sendNotification(Z.type,{settings:u.initializationOptions??{}}))},"initialize");await Promise.race([F(e(),R,`LSP initialize timed out for ${a}`),W])}catch(e){throw I(),await z(l),b(),e}finally{W.catch(()=>{})}let v=new Map,U=new Set;async function me(e){let t=P(e),s=await Ie(e,"utf8"),d=B(e)??"plaintext",q=m(e).href,y=v.get(t);if(y===void 0){v.set(t,1),N.delete(t);let L=Date.now();return await c(()=>o.sendNotification(J.type,{textDocument:{uri:q,languageId:d,version:1,text:s}})),L}let h=y+1;v.set(t,h);let M=Date.now();return await c(()=>o.sendNotification(Y.type,{textDocument:{uri:q,version:h},contentChanges:[{text:s}]})),M}n(me,"notifyOpenOrChange");function pe(e,t){let s=P(e);return new Promise(d=>{let q=!1,y,h=n(()=>{q||(q=!0,clearTimeout(L),y&&clearTimeout(y),O.delete(M),U.delete(h),d())},"finish"),M=n((xe,Ee)=>{xe!==s||Ee<t.afterMs||(y&&clearTimeout(y),y=setTimeout(h,_e))},"listener");O.add(M),U.add(h);let L=setTimeout(h,t.timeoutMs)})}n(pe,"waitForDiagnostics");function ye(e){return N.get(P(e))??[]}n(ye,"diagnostics");function f(e,t){return F(e,be,`${a} ${t} timed out`)}n(f,"navTimeout");async function we(e,t){let s={uri:m(e).href},d=await f(c(()=>o.sendRequest(ee.type,{textDocument:s,position:t})),"definition");return Q(d)}n(we,"definition");async function ge(e,t){let s={uri:m(e).href};return f(c(()=>o.sendRequest(te.type,{textDocument:s,position:t})),"hover")}n(ge,"hover");async function he(e,t){let s={uri:m(e).href};return await f(c(()=>o.sendRequest(ne.type,{textDocument:s,position:t,context:{includeDeclaration:!0}})),"references")??[]}n(he,"references");async function Re(e){let t={uri:m(e).href};return await f(c(()=>o.sendRequest(ie.type,{textDocument:t})),"documentSymbol")??[]}n(Re,"documentSymbols");async function Ce(e){return await f(c(()=>o.sendRequest(oe.type,{query:e})),"workspaceSymbol")??[]}n(Ce,"workspaceSymbols");async function Te(e,t){let s={uri:m(e).href},d=await f(c(()=>o.sendRequest(re.type,{textDocument:s,position:t})),"implementation");return Q(d)}n(Te,"implementation");async function De(e,t){let s={uri:m(e).href};return await f(c(()=>o.sendRequest(se.type,{textDocument:s,position:t})),"prepareCallHierarchy")??[]}n(De,"prepareCallHierarchy");async function Se(e){return await f(c(()=>o.sendRequest(ae.type,{item:e})),"incomingCalls")??[]}n(Se,"incomingCalls");async function ke(e){return await f(c(()=>o.sendRequest(ce.type,{item:e})),"outgoingCalls")??[]}n(ke,"outgoingCalls");function qe(){G(l)}n(qe,"killSync");async function Pe(){for(let e of[...U])e();try{await F(c(()=>o.sendRequest(ue.type)),2e3,"shutdown timeout"),await c(()=>o.sendNotification(le.type))}catch{}I(),await ze({proc:l,isClosed:n(()=>$,"isClosed"),killProcess:n(async()=>{await z(l,{forceMs:X,taskkillMs:2e3})},"killProcess"),unregisterManagedChild:b})}return n(Pe,"shutdown"),{serverId:a,root:i,notifyOpenOrChange:me,waitForDiagnostics:pe,diagnostics:ye,definition:we,hover:ge,references:he,documentSymbols:Re,workspaceSymbols:Ce,implementation:Te,prepareCallHierarchy:De,incomingCalls:Se,outgoingCalls:ke,shutdown:Pe,killSync:qe}}n(Ve,"createLspClient");export{Ve as createLspClient,ze as waitForLspProcessExitOrGiveUp};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-QGWHJIO4.js";import"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{a as loadCompactionConfig};
|
package/dist/chunks/{construction-bootstrap-RX4DMHI7.js → construction-bootstrap-U2ZU2WAT.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-QZ4B4AWG.js";import"./chunk-K3DQGSQU.js";import"./chunk-OT5WHAX4.js";import"./chunk-ZZQ4GDVU.js";import"./chunk-2GV6MQ4T.js";import{Zc as a,cd as i,jd as l,od as c}from"./chunk-4VJMQDTH.js";import"./chunk-F7DHZH6T.js";import"./chunk-5DSUVP46.js";import"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import{a as n}from"./chunk-ONUPGMER.js";var r=null;function y(e){r=e}n(y,"bindAskUserForConstruction");function p(e){return e.content?.capabilities?.tools??[]}n(p,"readDeclaredTools");var m=n(async e=>{if(!r)return"reject";let t=p(e),o=t.length>0?t.join(", "):"<none>";return await r({question:`Activate constructed tool ${e.name}@${e.version}?
|
|
3
3
|
It declares capabilities.tools = [${o}].`,allowCustomInput:!1,options:[{label:"Approve \u2014 register and make callable",description:"The tool will be added to the active tool registry and the LLM can invoke it on the next turn.",value:"approve"},{label:"Reject \u2014 do not register",description:"The artifact stays staged on disk; rerun activate_tool to retry.",value:"reject"}]})==="approve"?"approve":"reject"},"replConstructionPolicy"),v=n(async e=>{if(!r)return"reject";let t=e.llmSummary.flaggedConcerns.length>0?e.llmSummary.flaggedConcerns.map(u=>` \u2022 ${u}`).join(`
|
|
4
4
|
`):" \u2022 <none>",o=e.prevContent.instructions??"<no instructions>",s=e.nextContent.instructions??"<no instructions>",d=[`Self-modify activation: ${e.agentName}@${e.fromVersion} \u2192 ${e.toVersion}`,"",`LLM diff summary (severity=${e.llmSummary.severity}):`,` ${e.llmSummary.summary}`,"","Flagged concerns:",t,"",`Budget remaining (after approve): ${e.budgetRemaining-1}/${e.budgetLimit}`,"","\u2500\u2500 Previous instructions \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",o,"\u2500\u2500 Proposed instructions \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",s,"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500","","The LLM summary is advisory \u2014 read the proposed instructions above before approving."].join(`
|
|
5
5
|
`);return await r({question:d,allowCustomInput:!1,options:[{label:"Approve \u2014 activate the new version on the next run",description:"Resolver swap is deferred to the next Runner.run boundary so the in-flight conversation keeps the prior reference.",value:"approve"},{label:"Reject \u2014 stay on the previous version",description:"Budget is not consumed on rejection; the staged version is left on disk for diff inspection.",value:"reject"}]})==="approve"?"approve":"reject"},"replSelfModifyAskUser");async function h(e){a({cwd:e,policy:m,selfModifyAskUser:v});let t=await i();await c();let o=await l({cwd:e});return{loaded:t.loaded,failed:t.failed,tampered:t.tampered,markdownLoaded:o.loaded,markdownFailures:o.failed}}n(h,"bootstrapConstructionRuntime");export{y as bindAskUserForConstruction,h as bootstrapConstructionRuntime};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{$ as Hi,$a as Hj,A as gi,Aa as gj,Ab as gk,B as hi,Ba as hj,Bb as hk,C as ii,Ca as ij,Cb as ik,D as ji,Da as jj,Db as jk,E as ki,Ea as kj,Eb as kk,F as li,Fa as lj,Fb as lk,G as mi,Ga as mj,Gb as mk,H as ni,Ha as nj,Hb as nk,I as oi,Ia as oj,Ib as ok,J as pi,Ja as pj,Jb as pk,K as qi,Ka as qj,Kb as qk,L as ri,La as rj,M as si,Ma as sj,N as ti,Na as tj,O as ui,Oa as uj,P as vi,Pa as vj,Q as wi,Qa as wj,R as xi,Ra as xj,S as yi,Sa as yj,T as zi,Ta as zj,U as Ai,Ua as Aj,V as Bi,Va as Bj,W as Ci,Wa as Cj,X as Di,Xa as Dj,Y as Ei,Ya as Ej,Z as Fi,Za as Fj,_ as Gi,_a as Gj,a,aa as Ii,ab as Ij,b as ba,ba as Ji,bb as Jj,c as ca,ca as Ki,cb as Kj,d as da,da as Li,db as Lj,e as hc,ea as Mi,eb as Mj,f as ic,fa as Ni,fb as Nj,g as jc,ga as Oi,gb as Oj,h as Ph,ha as Pi,hb as Pj,i as Qh,ia as Qi,ib as Qj,j as Rh,ja as Ri,jb as Rj,k as Sh,ka as Si,kb as Sj,l as Th,la as Ti,lb as Tj,m as Uh,ma as Ui,mb as Uj,n as Vh,na as Vi,nb as Vj,o as Wh,oa as Wi,ob as Wj,p as Xh,pa as Xi,pb as Xj,q as Yh,qa as Yi,qb as Yj,r as Zh,ra as Zi,rb as Zj,s as _h,sa as _i,sb as _j,t as $h,ta as $i,tb as $j,u as ai,ua as aj,ub as ak,v as bi,va as bj,vb as bk,w as ci,wa as cj,wb as ck,x as di,xa as dj,xb as dk,y as ei,ya as ej,yb as ek,z as fi,za as fj,zb as fk}from"./chunk-QZ4B4AWG.js";import{Cb as Qg,Db as Rg,Fb as Sg,G as _f,H as $f,I as ag,Ib as Tg,J as bg,K as cg,Ka as tg,L as dg,La as ug,M as eg,Ma as vg,Na as wg,Oa as xg,Pa as yg,R as fg,Ra as zg,S as gg,Sa as Ag,Ta as Bg,Ua as Cg,Va as Dg,Y as hg,Z as ig,b as Mb,ba as jg,c as Nb,ca as kg,d as Ob,da as lg,e as Pb,ea as mg,f as Qb,fa as ng,fb as Fg,g as Rb,gb as Gg,i as Sb,j as Tb,ja as og,k as Ub,ka as pg,la as qg,ma as rg,mb as Hg,n as Vb,nb as Ig,o as Wb,ob as Jg,p as Xb,pb as Kg,q as _b,qb as Lg,r as kc,s as lc,tb as Mg,ua as sg,ub as Ng,vb as Og,wb as Pg}from"./chunk-K3DQGSQU.js";import{a as Xg,b as Yg,c as Zg,d as _g,e as $g,f as ah,g as bh,h as ch,i as dh,j as Oh}from"./chunk-OT5WHAX4.js";import{a as Eg}from"./chunk-ZZQ4GDVU.js";import{A as Eh,B as Fh,C as Gh,D as Hh,E as Ih,F as Jh,G as Kh,H as Lh,I as Mh,J as Nh,a as eh,b as fh,c as gh,d as hh,e as ih,f as jh,g as kh,h as lh,i as mh,j as nh,k as oh,l as ph,m as qh,n as rh,o as sh,p as th,q as uh,r as vh,s as wh,t as xh,u as yh,v as zh,w as Ah,x as Bh,y as Ch,z as Dh}from"./chunk-2GV6MQ4T.js";import{$a as jd,$b as $d,$c as Ue,$d as Pf,Ab as Hd,Ac as te,B as oc,Bb as Id,Bc as ue,C as pc,Cc as ve,Cd as rf,D as qc,Db as Jd,Dc as we,Dd as sf,E as rc,Eb as Kd,Ec as xe,Ed as tf,F as sc,Fa as Tc,Fb as Ld,Fc as ye,Fd as uf,Fe as Ug,G as tc,Gb as Md,Gc as ze,Gd as vf,Ge as Vg,H as uc,Hb as Nd,Hc as Ae,Hd as wf,He as Wg,I as vc,Ia as Uc,Ib as Od,Ic as Be,Id as xf,Ja as Vc,Jb as Pd,Jc as Ce,Jd as yf,K as wc,Kb as Qd,Kc as De,Kd as zf,L as xc,La as Wc,Lb as Rd,Lc as Ee,Ld as Af,M as yc,Ma as Xc,Mb as Sd,Mc as Fe,Md as Bf,N as zc,Na as Yc,Nc as Ge,Nd as Cf,O as Ac,Oa as Zc,Oc as He,Od as Df,P as Bc,Pa as _c,Pc as Ie,Pd as Ef,Q as Cc,Qb as Td,Qc as Je,Qd as Ff,R as Dc,Ra as $c,Rb as Ud,Rc as Ke,Rd as Gf,S as Ec,Sa as ad,Sb as Vd,Sc as Le,Sd as Hf,T as Fc,Ta as bd,Tb as Wd,Tc as Me,Td as If,U as Gc,Ua as cd,Uc as Ne,V as Hc,Va as dd,Vc as Oe,Vd as Jf,Wa as ed,Wc as Pe,Wd as Kf,Xa as fd,Xb as Xd,Xc as Qe,Xd as Lf,Ya as gd,Yb as Yd,Yc as Re,Yd as Mf,Za as hd,Zb as Zd,Zc as Se,Zd as Nf,_a as id,_b as _d,_c as Te,_d as Of,ab as kd,ac as ae,ad as Ve,ae as Qf,bb as ld,bc as be,bd as We,c as Yb,cb as md,cc as ce,cd as Xe,d as Zb,db as nd,dc as de,dd as Ye,ea as Ic,eb as od,ec as ee,ed as Ze,f as $b,fa as Jc,fb as pd,fc as fe,fd as _e,g as ac,ga as Kc,gd as $e,h as bc,ha as Lc,hd as af,i as cc,ia as Mc,ib as qd,ic as ge,id as bf,j as dc,ja as Nc,jb as rd,jc as he,jd as cf,k as ec,kb as sd,kc as ie,kd as df,l as fc,lb as td,lc as je,ld as ef,m as gc,mb as ud,mc as ke,md as ff,nb as vd,nc as le,nd as gf,ne as Sf,ob as wd,od as hf,oe as Tf,pd as jf,pe as Uf,qb as xd,qd as kf,qe as Vf,rb as yd,rc as me,rd as lf,re as Wf,sb as zd,sc as ne,sd as mf,t as mc,tb as Ad,tc as oe,td as nf,te as Xf,u as nc,ub as Bd,ud as of,ue as Yf,va as Oc,vb as Cd,vd as pf,ve as Zf,wa as Pc,wb as Dd,wc as pe,xa as Qc,xb as Ed,xc as qe,ya as Rc,yb as Fd,yc as re,za as Sc,zb as Gd,zc as se,zd as qf}from"./chunk-4VJMQDTH.js";import"./chunk-F7DHZH6T.js";import{a as Rf}from"./chunk-5DSUVP46.js";import{$e as sb,A as sa,Be as Ya,Ca as ua,Ce as Za,De as _a,Ee as $a,Fe as ab,Ge as bb,Ja as va,Je as cb,Ka as wa,Ke as db,La as xa,Lf as xb,Me as eb,Mf as yb,Ne as fb,Nf as zb,Oa as ya,Oe as gb,Of as Ab,Pe as hb,Pf as Bb,Qe as ib,Qf as Cb,Rb as Wa,Re as jb,Rf as Db,Sb as Xa,Se as kb,Te as lb,Ue as mb,Uf as Eb,Ve as nb,Vf as Fb,We as ob,Wf as Gb,Xe as pb,Xf as Hb,Ye as qb,Yf as Ib,Ze as rb,Zf as Jb,a as ea,af as tb,b as fa,bf as ub,c as ga,d as ha,dg as Kb,e as ia,ef as vb,eg as Lb,f as ja,ff as wb,h as ka,i as la,j as ma,k as na,l as oa,x as pa,y as qa,z as ra,za as ta}from"./chunk-VDGPJQL7.js";import{A as Pa,B as Qa,C as Ra,D as Sa,E as Ta,F as Ua,G as Va,d as za,l as Aa,m as Ba,n as Ca,o as Da,p as Ea,q as Fa,r as Ga,s as Ha,t as Ia,u as Ja,v as Ka,w as La,x as Ma,y as Na,z as Oa}from"./chunk-ZPPAT25E.js";import{$a as L,Aa as q,Ba as r,C as e,D as f,Ha as s,Ia as t,Ja as u,Ka as v,L as g,La as w,M as h,Ma as x,Na as y,Oa as z,Pa as A,Qa as B,Ra as C,S as i,Sa as D,T as j,Ta as E,U as k,Ua as F,V as l,Va as G,W as m,Wa as H,X as n,Xa as I,Ya as J,_a as K,ab as M,bb as N,cb as O,db as P,eb as Q,fb as R,gb as S,hb as T,ib as U,ja as o,kb as V,lb as W,mb as X,nb as Y,pb as Z,q as b,qb as _,r as c,rb as $,t as d,ta as p,ub as aa}from"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{Hg as ALWAYS_RESIDENT_TOOL_NAMES,Mj as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD,Oj as AUTO_MODE_DENIAL_WINDOW_SIZE,Nj as AUTO_MODE_RECENT_DENIAL_THRESHOLD,dk as BASH_POLICY_SPEC,Wi as BASH_SAFE_READ_COMMANDS,Vi as BASH_WRITE_COMMANDS,ci as BLOCKER_REQUIRED_CONSECUTIVE_TURNS,Tj as BREAKER_ERROR_THRESHOLD,Uj as BREAKER_WINDOW_MS,ph as BUILTIN_WORKFLOWS,nc as CANCELLED_TOOL_RESULT_MESSAGE,mc as CANCELLED_TOOL_RESULT_PREFIX,Ri as CLASSIFIER_MAX_OUTPUT_TOKENS,Ji as CODING_AGENT_MARKER,Wh as CODING_INVARIANTS,Jg as CODING_SUMMARY_PROMPT,Kg as CODING_UPDATE_SUMMARY_PROMPT,Be as CapabilityDeniedError,Yh as Client,Ug as CodingActorSession,lf as CombinedExtensionRuntime,Ce as ConstructionManifestError,Qi as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS,Pi as DEFAULT_CLASSIFIER_TIMEOUT_MS,Qg as DEFAULT_CODING_AGENT_NAME,yi as DEFAULT_DANGEROUS_PATTERNS,ze as DEFAULT_HANDLER_TIMEOUT_MS,_f as DEFAULT_RESILIENCE_CONFIG,xi as DEFAULT_SAFE_PATTERNS,Me as DEFAULT_SELF_MODIFY_BUDGET,xc as DEFAULT_TOOL_OUTPUT_MAX_BYTES,wc as DEFAULT_TOOL_OUTPUT_MAX_LINES,Yg as DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS,sa as DefaultSummaryCompaction,Gi as EMIT_VERDICT_TOOL_NAME,kc as ErrorCategory,Ti as FILE_MODIFICATION_TOOLS,hh as FINDING_VERIFICATION_OUTPUT_SCHEMA,Od as GENERATOR_AGENT_NAME,Ba as ImageResizeError,la as KODAX_API_MIN_INTERVAL,u as KODAX_DEFAULT_PROVIDER,fa as KODAX_DEFAULT_TIMEOUT,Sa as KODAX_FILE_MEDIA_TYPES,ga as KODAX_HARD_TIMEOUT,Qa as KODAX_IMAGE_MEDIA_TYPES,ja as KODAX_MAX_INCOMPLETE_RETRIES,ha as KODAX_MAX_RETRIES,ea as KODAX_MAX_TOKENS,t as KODAX_PROVIDERS,s as KODAX_PROVIDER_SNAPSHOTS,g as KODAX_REASONING_MODE_SEQUENCE,ia as KODAX_RETRY_BASE_DELAY,h as KODAX_STABLE_EFFORT_INTENTS,ka as KODAX_STAGGER_DELAY,rf as KODAX_TOOLS,Jc as KODAX_UNDERLYING_CAPABILITY_TOPICS,Ra as KODAX_VIDEO_MEDIA_TYPES,q as KodaXAnthropicCompatProvider,o as KodaXBaseProvider,Yh as KodaXClient,b as KodaXError,kf as KodaXExtensionRuntime,Aa as KodaXMediaError,r as KodaXOpenAICompatProvider,c as KodaXProviderError,d as KodaXRateLimitError,ic as KodaXSessionError,jc as KodaXTerminalError,hc as KodaXToolError,Yb as KodaXTrustedTextMutationError,Ob as LEARNING_REVIEW_PROMPT_SHA256,Pb as LEARNING_REVIEW_SCHEMA_SHA256,Mb as LEARNING_REVIEW_SYSTEM_PROMPT,Nb as LEARNING_REVIEW_TOOL,sb as LINEAGE_ENTRY_TYPES,Tf as LSP_SERVERS,ub as LineageCompaction,tb as LineageExtension,Uf as LspService,Kc as MANUAL_REGISTRY,Ic as MANUAL_TOPIC_IDS,Ha as MAX_DIMENSION,ui as MEMORY_INTERVENTION_SELECTOR_PROMPT,vi as MEMORY_INTERVENTION_SELECTOR_SHA256,Ui as MODIFICATION_TOOLS,db as McpAuthRequiredError,pb as McpCapabilityProvider,cb as McpExpiredSessionError,qb as McpManager,ob as McpServerRuntime,Ma as PASTE_TMP_DIR_ENV,Na as PASTE_TMP_TTL_MS,Nd as PLANNER_AGENT_NAME,ma as PROMISE_PATTERN,ug as PROMPT_SECTION_REGISTRY,Ii as PROTOCOL_EMITTER_TOOLS,eg as ProviderRecoveryCoordinator,yc as READ_DEFAULT_LIMIT,Ac as READ_MAX_LINE_CHARS,zc as READ_PREFLIGHT_SIZE_BYTES,ff as REPO_EXPLORER_AGENT_NAME,gf as REPO_EXPLORER_TOOL_NAMES,ua as Runner,gh as SCOPED_REVIEW_OUTPUT_SCHEMA,Md as SCOUT_AGENT_NAME,nk as SCOUT_THEN_AUTHOR_PROMPT_LINES,Ag as SELF_KNOWLEDGE_ROUTING_RULE,tg as SYSTEM_PROMPT,Gh as SYSTEM_WORKFLOW_LIMITS,cg as StableBoundaryTracker,Ia as TARGET_RAW_SIZE_BYTES,Rd as TASK_ENGINE_ROLE_AGENTS,Ki as TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME,gk as TRACING_ENV,Uc as ToolResultBatchCapacityError,Pd as WORKER_AGENT_NAME,Xg as WORKFLOW_GENERATION_SYSTEM_PROMPT,Te as _resetRuntimeForTesting,We as activate,za as actorQueueId,Dj as analyzeAutoModeCall,ed as analyzeChangedScope,aj as analyzePowerShellMutation,Ke as appendAuditEntry,Cb as appendSessionLineageLabel,ae as applyAccountingDelta,kh as applyFindingVerification,Lg as applyPostCompactAttachments,Db as applySessionCompaction,Vc as applyToolResultGuardrail,Jb as archiveOldIslands,Zb as assertTrustedTextMutationPolicy,pk as authorWorkflowViaWorker,Sj as autoModeDenialShouldFallback,Wb as awaitLatestCodingMemoryReviewDrain,$j as bashSignalCollector,hk as bootstrapTracing,Sh as boundedRevise,Xj as breakerShouldFallback,Th as budgetCeiling,Hh as buildApprovalSummary,de as buildBlockedGoal,Bg as buildCapabilityContextSections,Mi as buildClassifierPrompt,ee as buildCompleteGoal,$d as buildCreatedGoal,pg as buildFallbackRoutingDecision,gi as buildGoalRuntimeBinding,nb as buildInitializeCapabilities,He as buildLlmReviewPrompt,Mc as buildManualToolDescription,ni as buildMcpReverseCapabilities,be as buildPausedGoal,fg as buildPromptMessageContent,yg as buildPromptSnapshot,jg as buildProviderCapabilitySnapshot,qg as buildProviderPolicyHintsForDecision,kg as buildProviderPolicyPromptNotes,dd as buildRepoIntelligenceContext,qd as buildRepoIntelligenceIndex,ad as buildRepoOverview,ce as buildResumedGoal,nh as buildScopedReviewFinalPrompt,lh as buildScopedReviewPrimaryPrompt,mh as buildScopedReviewVerificationPrompt,ok as buildScoutThenAuthorPrompt,zg as buildSelfKnowledgeRoutingRule,Hb as buildSessionTree,Dg as buildSystemPrompt,Cg as buildSystemPromptSnapshot,Of as buildToolResultBudget,Pf as buildToolResultBudgetFromUsage,me as buildToolSearchIndex,Dh as buildWorkflowCostReport,ah as buildWorkflowGenerationSkillContext,$g as buildWorkflowGenerationUserPrompt,Ub as canonicalMemoryProjectId,oc as canonicalizeAgentHomePolicyPath,zj as canonicalizeAutoModePath,_j as checkAbsoluteDeny,gg as checkIncompleteToolCalls,sg as checkPromiseSignal,Qf as clampToolResultPolicyToBudget,Ih as clampWorkflowLimits,Si as classify,Ai as classifyBashCommand,lc as classifyError,$c as classifyFileCategory,ag as classifyResilienceError,Kf as cleanupExpiredToolOutputs,Xa as cleanupIncompleteToolCalls,Lf as cleanupUnreferencedToolOutputs,V as clearRuntimeModelProviders,gc as clearShellExecutionEnvironmentCache,bk as collectAllSignals,uj as collectBashWriteTargets,vj as collectDeterministicBashWriteTargets,mf as combineExtensionRuntimes,Ci as computeInputSignature,Se as configureRuntime,Og as consumeCompactionCooldown,Fd as convertCapabilityReadResult,Ed as convertProviderSearchResults,Ib as countActiveLineageMessages,oa as countTokens,pa as createAgent,Pj as createAutoModeDenialTracker,ck as createAutoModeToolGuardrail,zi as createBashClassifierConfig,fk as createBashPrefixExtractor,zf as createBuiltinToolDefinition,Vj as createCircuitBreaker,wi as createCodingMemoryInterventionRunner,eh as createCodingWorkflowBackend,Mg as createCompactionAntiThrashState,De as createCtxProxy,H as createCustomProvider,Rg as createDefaultCodingAgent,Bi as createDenialTracker,Jj as createExecPolicyOperation,nf as createExtensionRuntime,Wg as createExternalActorTurnExecutor,Fa as createFileArtifactFromPath,qa as createHandoff,Ea as createImageArtifactFromPath,ra as createInMemorySession,qi as createKodaXTaskRunner,Vg as createLocalCodingActorControl,Za as createMcpCapabilityId,rb as createMcpManager,eb as createMcpTransport,ba as createOutputSegmentProjection,Rb as createProductionLearningReviewer,vg as createPromptSection,rg as createReasoningPlan,Fh as createRunGraphWriter,Gg as createRuntimeContextBudgetSnapshot,Qh as createSessionControl,xb as createSessionLineage,Li as createToolResultTruncationGuardrail,Ga as createVideoArtifactFromPath,jk as createWorkflowLifecycleController,mk as createWorkflowPatternTemplateModule,Mh as createWorkflowRunManager,_h as decideWorkflowInvocation,ue as dedupeExtensionPathsByEntrypoint,Ya as defaultMcpCacheDir,Ae as defaultPolicy,yh as deleteSavedWorkflow,Tb as deriveCodingMemoryIdentity,Sb as deriveCodingMemoryIdentityFromRoot,Xb as deriveCodingMemoryReviewIdentities,Re as disableSelfModify,ib as discoverAuthorizationServerMetadata,ye as discoverDefaultExtensions,xe as discoverExtensionsInDirectory,we as discoverExtensionsInDirectoryDetailed,ef as discoverMarkdownAgents,jb as discoverOAuthEndpoints,hb as discoverProtectedResourceMetadata,sh as discoverSavedWorkflows,Vb as drainCodingMemoryReviewInbox,Ud as drainPendingSwaps,da as effectiveOutputSegmentText,k as effortToLegacyReasoningMode,Hi as emitVerdict,Kh as emitWorkflowAgentDigest,Va as enqueueWithArtifacts,hf as ensureBuiltinRepoExplorerAgent,na as estimateTokens,Fg as estimateToolSchemaTokens,Ij as evaluateExecPolicy,lg as evaluateProviderPolicy,Kj as evaluateShellExecPolicy,ve as excludeExtensionPathsByEntrypoint,pe as exec,le as executeRunScopedTool,Jf as executeTool,vb as extractArtifactLedger,ek as extractCommandPrefix,ig as extractComparableUserMessageText,Dd as extractHtmlTitle,gb as extractInsufficientScope,oj as extractPathsFromCommand,hg as extractPromptComparableText,fb as extractResourceMetadataUrl,Lb as extractTitleFromMessages,ak as fileSignalCollector,Hd as finalizeRetrievalResult,af as findByVersion,bj as findGitSubcommandIndex,Eb as findPreviousUserEntryId,Zi as flattenArgv,_i as flattenRedirections,Gb as forkSessionLineage,Zf as formatAgentsForPrompt,Fj as formatExecPolicyConfigurationError,Ej as formatExecPolicyRejection,si as formatParallelDispatchResult,Bc as formatSize,lj as generateSavePattern,Kb as generateSessionId,ch as generateWorkflow,dh as generateWorkflowFromOptions,pf as getActiveExtensionRuntime,wa as getAgentConfigHome,xa as getAgentConfigPath,Bf as getAllRegisteredTools,ya as getAppDataDir,Y as getAvailableProviderNames,wj as getBashOutsideProjectWriteRisk,yf as getBuiltinRegisteredToolDefinition,xf as getBuiltinToolDefinition,qh as getBuiltinWorkflow,P as getCustomModelCapabilities,J as getCustomProvider,M as getCustomProviderList,O as getCustomProviderModelDescriptors,N as getCustomProviderModels,L as getCustomProviderNames,se as getDefaultExtensionDirectory,Vf as getDefaultLspService,Nh as getDefaultWorkflowRunManager,Fi as getDenialContext,hj as getDirectShellBypassBlockReason,vd as getImpactEstimate,Xf as getKodaxGlobalDir,bb as getMcpCachePaths,E as getModelCapabilities,Ta as getModelInputCapabilities,sd as getModuleContext,sj as getPlanModeAllowedWritablePaths,xj as getPlanModeBlockReason,ud as getProcessContext,v as getProvider,z as getProviderConfiguredCapabilityProfile,y as getProviderConfiguredReasoningCapability,A as getProviderList,x as getProviderModel,D as getProviderModelDescriptors,B as getProviderModels,vf as getRegisteredToolDefinition,rd as getRepoIntelligenceIndex,bd as getRepoOverview,wd as getRepoRoutingSignals,Gf as getRequiredToolParams,S as getRuntimeModelProvider,U as getRuntimeModelProviderNames,yb as getSessionLineagePath,zb as getSessionMessagesFromLineage,td as getSymbolContext,tf as getTool,uf as getToolDefinition,wf as getToolRegistrations,Tc as getToolResultPolicy,lk as getWorkflowPatternTemplate,cj as gitSignatureInspectionMayExecute,Yd as goalTokenDelta,Zh as hasExplicitNaturalLanguageWorkflowIntent,Td as hasPendingSwap,Ca as inferImageMediaType,yj as inferPermissionMode,og as inferTaskType,Da as inferVideoMediaType,Rc as inspectEditFailure,pd as inspectRepoIntelligenceRuntime,Qb as installProductionLearningReviewer,tc as isAgentHomeHardMutationTarget,uc as isAgentHomeHardRemovalTarget,mj as isAlwaysConfirmPath,qc as isAutoReadableAgentHomePath,Bj as isAutoReadableKodaxPath,pc as isAutoWritableAgentHomePath,Cj as isAutoWritableKodaxPath,gj as isBashReadCommand,qj as isBashReadCommandAutoAllowed,ij as isBashWriteCommand,pj as isCommandOnProtectedPath,Aj as isCredentialBearingKodaxPath,K as isCustomProviderName,Ei as isDeniedRecently,fj as isHelpCommand,X as isKnownProvider,Xi as isNullDevice,ri as isParallelDispatchDirective,rj as isPathInsideProject,tj as isPlanModeAllowedPath,$i as isPowerShellMutationCommand,sc as isProtectedAgentHomeMutationTarget,rc as isProtectedAgentHomeReadTarget,vc as isProtectedAgentHomeRemovalTarget,w as isProviderConfigured,C as isProviderName,T as isRuntimeModelProviderName,bg as isSessionRecoveryCandidateError,ej as isShellReadOnlyArgv,re as isSupportedExtensionModulePath,kj as isToolCallAllowed,Df as isToolFileMutation,Ff as isToolMutation,Ef as isToolNetworkRead,Cf as isToolPlanModeAllowed,fe as isValidTokenBudget,Rf as languageIdForPath,bf as listAll,$ as listAllModelCapabilities,Ze as listArtifacts,F as listBuiltinModelCapabilities,Af as listBuiltinToolDefinitions,rh as listBuiltinWorkflows,Vd as listCodingDispatchableAgents,$e as listConstructed,Q as listCustomProviderModelCapabilities,he as listRunScopedTools,If as listToolDefinitions,Hf as listTools,kk as listWorkflowPatternTemplates,Yf as loadAgentsFiles,cf as loadAgentsFromMarkdown,Hj as loadExecPolicy,Ah as loadGeneratedWorkflowFromRun,Ee as loadHandler,df as loadMarkdownAgentScope,vh as loadSavedWorkflow,uh as loadSavedWorkflowCapsule,mb as loadValidToken,je as lookupRunScopedTool,Xd as makeDisabledGoalToolsContext,j as mapLegacyReasoningModeToEffortIntent,Nf as maybeRunReferenceAwareToolOutputGc,Mf as maybeRunToolOutputGc,mi as mcpRootsFromWorkspace,wb as mergeArtifactLedger,jh as mergeScopedReviewResults,_b as normalizeKodaXAgentMode,_a as normalizeMcpCapabilityId,Ja as normalizePastedImage,i as normalizeReasoningEffortValue,ih as normalizeScopedReviewResult,ec as normalizeShellExecutionContract,th as normalizeWorkflowModule,wg as orderPromptSections,fh as parallelInvestigation,jj as parseAllowedToolPattern,bc as parseBareInlineSlashReferences,Yi as parseBashCommand,Ni as parseClassifierOutput,Qc as parseEditToolError,Gj as parseExecPolicy,dj as parseGitGrepShortOption,ac as parseInlineSkillReferences,Ie as parseLlmReviewVerdict,$a as parseMcpCapabilityId,Yj as parseModelSpec,l as parseReasoningEffortEnv,$b as parseSandboxEnvironmentPass,f as parseTimeoutSecEnvMs,oe as parseToolSearchQuery,bh as parseWorkflowGeneration,lb as performOAuthLogin,Oa as persistImageAsBlock,Gc as persistToolOutput,hi as planGoalCreate,ii as planGoalTransition,Ig as planToolExposure,Ch as preflightWorkflowCapsule,xd as prewarmRepoIntelligenceCaches,Eg as providerResilienceConfigFromTimeouts,Pa as prunePasteTmpDir,La as readAndNormalizeClipboardImage,_e as readArtifact,Le as readAuditEntries,Ne as readBudget,a as readClientItemRange,Ka as readClipboardImage,Qe as readDisableState,ng as reasoningModeToDepth,dg as reconstructMessagesWithToolGuard,Rj as recordAutoModeAllow,Qj as recordAutoModeBlock,ai as recordBlockerAttempt,Wj as recordBreakerError,Pg as recordCompactionSavings,Di as recordDenial,ca as reduceOutputSegmentProjection,Xh as registerCodingInvariants,ki as registerConfiguredMcpCapabilityProvider,I as registerCustomProviders,R as registerModelProvider,kb as registerOAuthClient,oi as registerOfficialSandboxExtension,ta as registerPresetDispatcher,sf as registerTool,Xe as rehydrateActiveArtifacts,Oe as remainingSelfModifyBudget,xh as renameSavedWorkflow,fd as renderChangedScope,md as renderImpactEstimate,jd as renderModuleContext,ld as renderProcessContext,xg as renderPromptSections,cd as renderRepoOverview,Gd as renderRetrievalResult,kd as renderSymbolContext,li as replaceConfiguredMcpCapabilityProvider,zh as replaceSavedWorkflow,Sf as reportLspDiagnostics,bi as resetBlockerCounter,Pe as resetBudget,Zj as resolveClassifierModel,Wd as resolveCodingDispatchableAgent,Sd as resolveConstructedAgent,te as resolveExtensionEntrypoint,Lc as resolveKodaXManual,_ as resolveModelCapabilities,W as resolveProvider,Z as resolveProviderModelDescriptors,m as resolveReasoningEffort,n as resolveReasoningEffortForModelSwitch,mg as resolveReasoningMode,od as resolveRepoIntelligenceMode,nd as resolveRepoIntelligenceRuntimeConfig,$f as resolveResilienceConfig,Ab as resolveSessionLineageTarget,Sg as resolveSkillModelOverride,ge as resolveToolBridgeTarget,Uh as resolveToolCapability,Fc as resolveToolOutputDir,aa as resolveWireEffort,Zg as resolveWorkflowGenerationTimeoutMs,ik as resolveWorkflowIdentity,Ye as revoke,Fb as rewindSessionLineage,jf as rollbackSelfModify,Fe as runAstRules,Tg as runKodaX,Je as runLlmReview,ji as runManagedTask,pi as runOrchestration,ie as runScopedToolMap,Ph as runToolInvocation,Lh as runWorkflowFromOptions,Jh as runWorkflowModule,Eh as safeWorkflowArtifactName,wh as saveGeneratedWorkflow,Bh as saveGeneratedWorkflowFromRun,oh as scopedReview,ab as searchMcpCatalog,ne as searchToolIndex,of as setActiveExtensionRuntime,va as setAgentConfigHome,Bb as setSessionLineageActiveEntry,fc as shellExecutionContractFingerprint,_d as shouldFlipBudgetLimited,Ng as shouldSkipLlmCompaction,Wf as shutdownDefaultLspService,Ue as stage,Rh as startKodaX,Oh as startManagedWorkflow,Oi as stripAssistantText,Cd as stripHtmlToText,Ve as testArtifact,e as timeoutSecToMs,ke as toModelToolDefinition,nj as tokenizeRawCommandStages,Lj as tokenizeShellCommand,_c as toolAskUserQuestion,Wc as toolBash,id as toolChangedDiff,hd as toolChangedScope,Kd as toolCodeSearch,Pc as toolEdit,Xc as toolGlob,Yc as toolGrep,Bd as toolImpactEstimate,Sc as toolInsertAfterAnchor,yd as toolModuleContext,Vh as toolPermission,Ad as toolProcessContext,Hc as toolRead,gd as toolRepoOverview,Ld as toolSemanticLookup,zd as toolSymbolContext,Zc as toolUndo,Jd as toolWebFetch,Id as toolWebSearch,Oc as toolWrite,Cc as truncateHead,Ec as truncateLine,Dc as truncateTail,Zd as turnWallTimeDelta,dc as uniqueBareInlineSlashNames,cc as uniqueInlineSkillNames,Wa as validateAndFixToolHistory,G as validateCustomProviderConfig,_g as validateGeneratedWorkflowSource,p as validateImageBytes,Ua as validateInputArtifactsForModel,ti as validateSubtaskIndependence,Ge as validateToolSchemaForProvider,fi as verifyGoalCompletion,qe as webhook,qf as withExtensionRuntimeContext,di as withGoalBeforeNextTurn,ei as withGoalStopHook,Nc as withManualToolBranding,Qd as workerAgent,$h as workflowStartOutcomeConsumesTurn,qk as writeReviewPackets};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{$,$a,A,Aa,Ab,B,Ba,Bb,C,Ca,Cb,D,Da,Db,E,Ea,Eb,F,Fa,Fb,G,Ga,H,Ha,I,Ia,J,Ja,K,Ka,L,La,M,Ma,N,Na,O,Oa,P,Pa,Q,Qa,R,Ra,S,Sa,T,Ta,U,Ua,V,Va,W,Wa,X,Xa,Y,Ya,Z,Za,_,_a,a,aa,ab,b,ba,bb,c,ca,cb,d,da,db,e,ea,eb,f,fa,fb,g,ga,gb,h,ha,hb,i,ia,ib,j,ja,jb,k,ka,kb,l,la,lb,m,ma,mb,n,na,nb,o,oa,ob,p,pa,pb,q,qa,qb,r,ra,rb,s,sa,sb,t,ta,tb,u,ua,ub,v,va,vb,w,wa,wb,x,xa,xb,y,ya,yb,z,za,zb}from"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{vb as DEFAULT_COST_RATES,B as KODAX_API_MIN_INTERVAL,y as KODAX_CAPPED_MAX_OUTPUT_TOKENS,Ja as KODAX_DEFAULT_PROVIDER,N as KODAX_DEFAULT_THINKING_BUDGETS,z as KODAX_ESCALATED_MAX_OUTPUT_TOKENS,A as KODAX_INTERRUPTED_TOOL_RESULT_MARKER,x as KODAX_MAX_TOKENS,Ia as KODAX_PROVIDERS,Ha as KODAX_PROVIDER_SNAPSHOTS,L as KODAX_REASONING_MODE_SEQUENCE,O as KODAX_REASONING_SAFETY_RESERVE,M as KODAX_STABLE_EFFORT_INTENTS,Ca as KodaXAcpProvider,Aa as KodaXAnthropicCompatProvider,ja as KodaXBaseProvider,s as KodaXContextOverflowError,q as KodaXError,u as KodaXNetworkError,Ba as KodaXOpenAICompatProvider,r as KodaXProviderError,t as KodaXRateLimitError,v as KodaXReasoningEffortRejectedError,w as KodaXToolCallIdError,da as WORKFLOW_MAX_CONCURRENCY_ABSOLUTE,ca as WORKFLOW_MAX_CONCURRENCY_DEFAULT,I as addRejectedEffort,xb as calculateCost,F as capabilityCacheKey,_ as clampThinkingBudget,la as classifyStopReason,oa as classifyVerifyError,kb as clearRuntimeModelProviders,yb as createCostTracker,Wa as createCustomProvider,g as createProviderCredentialLeaseScope,k as currentProviderCredentialLeaseProviders,j as deriveCurrentProviderCredentialLeaseScope,U as effortToLegacyReasoningMode,ba as extractHeadersFromError,Cb as formatCost,Db as formatCostReport,nb as getAvailableProviderNames,Da as getCodexCliDefaultModel,Fa as getCodexCliKnownModels,wb as getCostRate,db as getCustomModelCapabilities,Ya as getCustomProvider,Za as getCustomProviderCapabilityProfile,ab as getCustomProviderList,cb as getCustomProviderModelDescriptors,bb as getCustomProviderModels,$a as getCustomProviderNames,Y as getDefaultThinkingDepthForMode,Ea as getGeminiCliDefaultModel,Ga as getGeminiCliKnownModels,Ta as getModelCapabilities,xa as getPreparedImageDiagnostic,Ka as getProvider,Oa as getProviderConfiguredCapabilityProfile,Na as getProviderConfiguredReasoningCapability,ob as getProviderCredentialEnvironmentNames,Pa as getProviderList,Ma as getProviderModel,Sa as getProviderModelDescriptors,Qa as getProviderModels,P as getReasoningCapability,H as getRejectedEfforts,e as getRejectedImageHash,ga as getRunScopedConfig,gb as getRuntimeModelProvider,jb as getRuntimeModelProviderCredentialEnvironmentNames,ib as getRuntimeModelProviderNames,m as getScopedProviderCredential,Bb as getSummary,o as hasProviderCredentialContext,n as hasScopedProviderCredentialAuthority,pa as insertCacheBoundary,ya as inspectPreparedImage,qa as isCacheBoundary,ma as isCleanStop,_a as isCustomProviderName,mb as isKnownProvider,La as isProviderConfigured,Ra as isProviderName,Q as isReasoningEnabled,hb as isRuntimeModelProviderName,rb as listAllModelCapabilities,Ua as listBuiltinModelCapabilities,eb as listCustomProviderModelCapabilities,tb as listProviderModels,ra as lowerCacheBoundaries,$ as mapDepthToOpenAIReasoningEffort,T as mapLegacyReasoningModeToEffortIntent,G as narrowReasoningProfile,ia as normalizeCapabilityProfile,S as normalizeReasoningEffortValue,R as normalizeReasoningRequest,V as parseReasoningEffortEnv,aa as parseRetryAfter,D as parseTimeoutSecEnvMs,ka as parseToolInputWithSalvage,za as prepareHistoryImages,wa as prepareValidatedImageBlock,zb as recordRetry,Ab as recordUsage,p as redactScopedProviderCredential,Xa as registerCustomProviders,fb as registerModelProvider,J as removeCacheEntry,Eb as resolveDefaultSideQueryReasoning,E as resolveLlmTimeoutConfig,qb as resolveModelCapabilities,ha as resolvePromptCacheDisabled,lb as resolveProvider,pb as resolveProviderModelDescriptors,W as resolveReasoningEffort,X as resolveReasoningEffortForModelSwitch,Z as resolveThinkingBudget,ub as resolveWireEffort,ea as resolveWorkflowMaxConcurrency,na as runVerifyCredential,f as runWithProviderCredential,h as runWithProviderCredentialLeaseScope,c as runWithProviderRequestAbortSignal,a as runWithProviderRequestAttribution,d as runWithProviderRequestObserver,b as runWithProviderRequestRoute,fa as runWithScopedConfig,i as runWithoutProviderCredentialScope,K as sanitizeCapabilityCache,Fb as sideQuery,sa as stripCacheBoundaries,C as timeoutSecToMs,Va as validateCustomProviderConfig,ta as validateImageBytes,va as validateImageBytesInRun,sb as verifyProviderCredential,ua as withPreparedImageHistory,l as withProviderRequestCredential};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{j as a}from"./chunk-OT5WHAX4.js";import"./chunk-ZZQ4GDVU.js";import"./chunk-2GV6MQ4T.js";import"./chunk-4VJMQDTH.js";import"./chunk-F7DHZH6T.js";import"./chunk-5DSUVP46.js";import"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{a as startManagedWorkflow};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{o as a,p as b,q as c,r as d}from"./chunk-5P7RTSZT.js";import"./chunk-ZQYWDI4O.js";import"./chunk-QOFFAY5C.js";import"./chunk-QZ4B4AWG.js";import"./chunk-K3DQGSQU.js";import"./chunk-OT5WHAX4.js";import"./chunk-ZZQ4GDVU.js";import"./chunk-2GV6MQ4T.js";import"./chunk-4VJMQDTH.js";import"./chunk-F7DHZH6T.js";import"./chunk-5DSUVP46.js";import"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{b as askInput,a as getPrompt,d as needsContinuation,c as openExternalEditor};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{I as a,J as b}from"./chunk-2GV6MQ4T.js";import"./chunk-4VJMQDTH.js";import"./chunk-F7DHZH6T.js";import"./chunk-5DSUVP46.js";import"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{a as createWorkflowRunManager,b as getDefaultWorkflowRunManager};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
+
import{$ as N,A as m,B as n,C as o,D as p,E as q,F as r,G as s,H as t,I as u,J as v,K as w,L as x,M as y,N as z,O as A,P as B,Q as C,R as D,S as E,T as F,U as G,V as H,W as I,X as J,Y as K,Z as L,_ as M,aa as O,b as a,ba as P,c as b,ca as Q,da as R,ea as S,fa as T,ga as U,ha as V,ia as W,q as c,r as d,s as e,t as f,u as g,v as h,w as i,x as j,y as k,z as l}from"./chunk-QOFFAY5C.js";import"./chunk-QZ4B4AWG.js";import"./chunk-K3DQGSQU.js";import"./chunk-OT5WHAX4.js";import"./chunk-ZZQ4GDVU.js";import"./chunk-2GV6MQ4T.js";import"./chunk-4VJMQDTH.js";import"./chunk-F7DHZH6T.js";import"./chunk-5DSUVP46.js";import"./chunk-VDGPJQL7.js";import"./chunk-ZPPAT25E.js";import"./chunk-7V2QBZ73.js";import"./chunk-ONUPGMER.js";export{a as CONFIG_TEMPLATES,I as KODAX_CONFIG_ENV_BINDINGS,e as KODAX_CONFIG_FILE,c as KODAX_DIR,D as KODAX_EXAMPLE_CONFIG_FILE,E as KODAX_INTEGRATION_EXAMPLE_FILES,d as KODAX_SESSIONS_DIR,k as KODAX_VERSION,f as PREVIEW_MAX_LENGTH,J as applyConfigEnvironment,K as applyExecutionConfigEnvironment,r as describeProviderCapabilitySummary,y as describeReasoningCapabilityControl,z as describeReasoningExecution,G as ensureExampleConfigFile,F as ensureExampleConfigFiles,U as formatProviderCapabilityDetailLines,T as formatProviderSourceKind,s as formatReasoningCapabilityShort,t as formatReasoningEffortForDisplay,w as formatReasoningEffortStatusLabel,b as getConfigTemplate,S as getGitRoot,m as getProviderAvailableModels,o as getProviderCapabilityProfile,p as getProviderCapabilitySnapshot,V as getProviderCommonPolicyScenarios,A as getProviderList,l as getProviderModel,q as getProviderPolicyDecision,n as getProviderReasoningCapability,v as getProviderReasoningEffortCycle,u as getProviderReasoningEffortOptions,j as getVersion,g as hydrateProcessEnvFromShell,H as inspectConfigEnvironmentSource,B as isProviderConfigured,C as loadConfig,L as prepareRuntimeConfig,W as rateLimitedCall,i as registerConfiguredCustomProviders,h as resetShellEnvironmentHydrationForTesting,N as resolveInitialEffortOverride,R as resolvePermissionModeEffort,x as resolveProviderReasoningRuntimeEffort,Q as resolveRuntimeEffortSelection,P as resolveRuntimeModelSelection,O as resolveRuntimeProviderSelection,M as saveConfig};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,40 +1,44 @@
|
|
|
1
|
-
import { ab as KodaXWireReasoningEffort, G as KodaXReasoningMode } from './types-chunks/types.d-BrQMB-hy.js';
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
export { K as
|
|
5
|
-
export { K as
|
|
6
|
-
export {
|
|
1
|
+
export { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BashClassificationResult, BashClassifierConfig, BashCommandTree, BashPipelineStage, BashRedirection, BashRiskLevel, BashStatement, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildPromptInput, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_AGENT_MARKER, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, Client, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CombinedExtensionRuntime, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EMIT_VERDICT_TOOL_NAME, EditRecoveryDiagnostic, EditToolErrorCode, ErrorCategory, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FINDING_VERIFICATION_OUTPUT_SCHEMA, FindingVerificationResult, GENERATOR_AGENT_NAME, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalCompletionVerifier, GoalPlan, GuardedToolResultBatch, ImpactEstimateResult, InlineSkillReference, InvestigationFinding, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentWorkerSpec, Client as KodaXClient, KodaXExtensionRuntime, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, KodaXSessionError, KodaXTerminalError, KodaXToolError, KodaXTrustedTextCommitUncertainReceipt, KodaXTrustedTextMutationError, KodaXTrustedTextMutationErrorCode, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, ManagedWorkflowSource, MarkdownAgentLoadWarning, MarkdownAgentToolFilter, MarkdownLoadFailure, McpReverseWorkspace, MergedScopedReviewResult, ModuleCapsule, ModuleContextResult, OfficialSandboxMode, OfficialSandboxOptions, OrchestrationArtifact, OrchestrationCompletedTask, OrchestrationRunEvents, OrchestrationRunOptions, OrchestrationRunResult, OrchestrationTaskBudget, OrchestrationTaskContext, OrchestrationTaskExecution, OrchestrationTaskStatus, OrchestrationTraceEvent, OrchestrationWorkerResult, OrchestrationWorkerRunner, OrchestrationWorkerSpec, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, PROTOCOL_EMITTER_TOOLS, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, PowerShellMutationAnalysis, PowerShellMutationOperation, ProcessCapsule, ProcessContextResult, ProcessStep, ProtocolEmitterMetadata, ProviderRecoveryCoordinator, QualityVerdict, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RawScopedReviewResult, RenameSavedWorkflowInput, ReplaceSavedWorkflowInput, ReplaceSavedWorkflowResult, RepoAreaKind, RepoAreaOverview, RepoIntelligenceIndex, RepoIntelligenceRuntimeInspection, RepoLanguageId, RepoLanguageSupport, RepoOverview, RepoSymbolKind, RepoSymbolRecord, RepoSymbolReference, ResolveClassifierModelOptions, ResolveSource, ResolvedClassifierModel, ReviewSeverity, RollbackResult, RunningSession, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, StableBoundaryTracker, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestArtifactOptions, ToolOutputGcResult, ToolResultBatchCapacityError, ToolResultBatchDebt, ToolResultBatchEntry, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, VerifyGoalCompletionOptions, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunRetentionOptions, WorkflowRunRetentionResult, _resetRuntimeForTesting, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryIdentityFromRoot, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, emitVerdict, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDenialContext, getImpactEstimate, getModuleContext, getProcessContext, getRegisteredToolDefinition, getRepoIntelligenceIndex, getRepoOverview, getRepoRoutingSignals, getRequiredToolParams, getSymbolContext, getTool, getToolDefinition, getToolRegistrations, getToolResultPolicy, getWorkflowPatternTemplate, goalTokenDelta, inferTaskType, inspectEditFailure, inspectRepoIntelligenceRuntime, installProductionLearningReviewer, isAgentHomeHardMutationTarget, isAgentHomeHardRemovalTarget, isAutoReadableAgentHomePath, isAutoReadableKodaxPath, isAutoWritableAgentHomePath, isAutoWritableKodaxPath, isCredentialBearingKodaxPath, isDeniedRecently, isNullDevice, isParallelDispatchDirective, isPowerShellMutationCommand, isProtectedAgentHomeMutationTarget, isProtectedAgentHomeReadTarget, isProtectedAgentHomeRemovalTarget, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, languageIdForPath, listAll, listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listRunScopedTools, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, lookupRunScopedTool, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseBareInlineSlashReferences, parseBashCommand, parseEditToolError, parseInlineSkillReferences, parseLlmReviewVerdict, parseModelSpec, parseSandboxEnvironmentPass, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, planGoalCreate, planGoalTransition, preflightWorkflowCapsule, prewarmRepoIntelligenceCaches, readArtifact, readAuditEntries, readBudget, readClientItemRange, readDisableState, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, reportLspDiagnostics, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveSkillModelOverride, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, testArtifact, toModelToolDefinition, toolAskUserQuestion, toolBash, toolChangedDiff, toolChangedScope, toolCodeSearch, toolEdit, toolGlob, toolGrep, toolImpactEstimate, toolInsertAfterAnchor, toolModuleContext, toolPermission, toolProcessContext, toolRead, toolRepoOverview, toolSemanticLookup, toolSymbolContext, toolUndo, toolWebFetch, toolWebSearch, toolWrite, truncateHead, truncateLine, truncateTail, turnWallTimeDelta, uniqueBareInlineSlashNames, uniqueInlineSkillNames, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, verifyGoalCompletion, withExtensionRuntimeContext, withManualToolBranding, workerAgent } from './sdk-coding.js';
|
|
2
|
+
import { ab as KodaXWireReasoningEffort, G as KodaXReasoningMode } from './types-chunks/types.d-BjOq57-z.js';
|
|
3
|
+
export { b as KodaXChildFanoutClass, c as KodaXContentBlock, d as KodaXCustomProviderConfig, f as KodaXExecutionMode, i as KodaXImageBlock, k as KodaXMessage, l as KodaXModelDescriptor, n as KodaXNormalizedReasoningRequest, p as KodaXProtocolFamily, q as KodaXProviderCapabilityProfile, r as KodaXProviderConfig, t as KodaXProviderConversationSemantics, w as KodaXProviderMcpSupport, z as KodaXProviderStreamOptions, B as KodaXProviderTransport, C as KodaXReasoningCapability, D as KodaXReasoningEffortPreset, E as KodaXReasoningEffortRequest, F as KodaXReasoningEffortWireStrategy, H as KodaXReasoningProfile, I as KodaXReasoningRequest, L as KodaXRedactedThinkingBlock, M as KodaXReviewScale, N as KodaXRiskLevel, O as KodaXStableEffortIntent, P as KodaXStreamResult, R as KodaXTaskBudgetOverrides, U as KodaXTaskResultMetadata, V as KodaXTaskResultSource, W as KodaXTaskRoutingDecision, X as KodaXTaskType, Z as KodaXTextBlock, _ as KodaXThinkingBlock, $ as KodaXThinkingBudgetMap, a0 as KodaXThinkingDepth, a1 as KodaXThinkingWireStrategy, a2 as KodaXTokenUsage, a3 as KodaXToolDefinition, a4 as KodaXToolResultBlock, a8 as KodaXToolUseBlock } from './types-chunks/types.d-BjOq57-z.js';
|
|
4
|
+
export { K as KodaXBaseProvider, c as KodaXError, f as KodaXProviderError, h as KodaXRateLimitError } from './types-chunks/base.d-ZBOdjDUT.js';
|
|
5
|
+
export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecToMs } from './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
6
|
+
export { K as KODAX_DEFAULT_PROVIDER, b as KODAX_PROVIDERS, c as KODAX_PROVIDER_SNAPSHOTS, d as KODAX_REASONING_MODE_SEQUENCE, f as KODAX_STABLE_EFFORT_INTENTS, g as KodaXAnthropicCompatProvider, h as KodaXModelCapabilities, i as KodaXOpenAICompatProvider, P as ProviderName, R as ResolveWireEffortInput, j as ResolvedWireEffort, l as clearRuntimeModelProviders, m as createCustomProvider, n as effortToLegacyReasoningMode, o as getAvailableProviderNames, p as getCustomModelCapabilities, q as getCustomProvider, s as getCustomProviderList, t as getCustomProviderModelDescriptors, u as getCustomProviderModels, v as getCustomProviderNames, x as getModelCapabilities, y as getProvider, z as getProviderConfiguredCapabilityProfile, A as getProviderConfiguredReasoningCapability, E as getProviderModelDescriptors, F as getProviderModels, H as getRuntimeModelProvider, J as getRuntimeModelProviderNames, L as isCustomProviderName, M as isKnownProvider, O as isProviderName, S as isRuntimeModelProviderName, T as listAllModelCapabilities, U as listBuiltinModelCapabilities, V as listCustomProviderModelCapabilities, Y as mapLegacyReasoningModeToEffortIntent, Z as normalizeReasoningEffortValue, $ as parseReasoningEffortEnv, a0 as registerCustomProviders, a1 as registerModelProvider, a2 as resolveModelCapabilities, a3 as resolveProvider, a4 as resolveProviderModelDescriptors, a5 as resolveReasoningEffort, a6 as resolveReasoningEffortForModelSwitch, a8 as resolveWireEffort, a9 as validateCustomProviderConfig } from './types-chunks/resolver.d-DLY01RHx.js';
|
|
7
|
+
export { C as CapabilityKind, a as CapabilityProvider, b as CapabilityResult, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DOF3r0fJ.js';
|
|
7
8
|
export { I as ImageValidation, v as validateImageBytes } from './types-chunks/image-validation.d-ACJcj02o.js';
|
|
8
|
-
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, c as BoundExtensionRuntimeController, C as CapabilityRuntimeContract, d as CodingActorCredentialAccessFactory, e as
|
|
9
|
-
export { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BashClassificationResult, BashClassifierConfig, BashCommandTree, BashPipelineStage, BashRedirection, BashRiskLevel, BashStatement, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildPromptInput, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_AGENT_MARKER, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, Client, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CodingWorkflowBackendDeps, CombinedExtensionRuntime, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_SPECULATIVE_WINDOW_MS, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EMIT_VERDICT_TOOL_NAME, EditRecoveryDiagnostic, EditToolErrorCode, ErrorCategory, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FINDING_VERIFICATION_OUTPUT_SCHEMA, FindingVerificationResult, GENERATOR_AGENT_NAME, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalCompletionVerifier, GuardedToolResultBatch, ImpactEstimateResult, InlineSkillReference, InvestigationFinding, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentWorkerSpec, Client as KodaXClient, KodaXExtensionRuntime, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, KodaXSessionError, KodaXTerminalError, KodaXToolError, KodaXTrustedTextCommitUncertainReceipt, KodaXTrustedTextMutationError, KodaXTrustedTextMutationErrorCode, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, ManagedWorkflowRun, ManagedWorkflowSnapshot, ManagedWorkflowSource, MarkdownAgentLoadWarning, MarkdownAgentToolFilter, MarkdownLoadFailure, McpReverseWorkspace, MergedScopedReviewResult, ModuleCapsule, ModuleContextResult, OfficialSandboxMode, OfficialSandboxOptions, OrchestrationArtifact, OrchestrationCompletedTask, OrchestrationRunEvents, OrchestrationRunOptions, OrchestrationRunResult, OrchestrationTaskBudget, OrchestrationTaskContext, OrchestrationTaskExecution, OrchestrationTaskStatus, OrchestrationTraceEvent, OrchestrationWorkerResult, OrchestrationWorkerRunner, OrchestrationWorkerSpec, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, PROTOCOL_EMITTER_TOOLS, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, PowerShellMutationAnalysis, PowerShellMutationOperation, ProcessCapsule, ProcessContextResult, ProcessStep, ProtocolEmitterMetadata, ProviderRecoveryCoordinator, QualityVerdict, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RawScopedReviewResult, RenameSavedWorkflowInput, ReplaceSavedWorkflowInput, ReplaceSavedWorkflowResult, RepoAreaKind, RepoAreaOverview, RepoIntelligenceIndex, RepoIntelligenceRuntimeInspection, RepoLanguageId, RepoLanguageSupport, RepoOverview, RepoSymbolKind, RepoSymbolRecord, RepoSymbolReference, ResolveClassifierModelOptions, ResolveSource, ResolvedClassifierModel, ReviewPacketBudget, ReviewPacketChunk, ReviewPacketInput, ReviewPacketMetadata, ReviewSeverity, RollbackResult, RunGraphWriter, RunGraphWriterDeps, RunJsonInput, RunWorkflowFromOptionsInput, RunWorkflowModuleOptions, RunWorkflowModuleOutcome, RunningSession, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, SYSTEM_WORKFLOW_LIMITS, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, SpeculativeResult, StableBoundaryTracker, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestArtifactOptions, ToolOutputGcResult, ToolResultBatchCapacityError, ToolResultBatchDebt, ToolResultBatchEntry, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, VerifyGoalCompletionOptions, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowChildOptions, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunManager, WorkflowRunProcessMetadata, WorkflowRunRetentionOptions, WorkflowRunRetentionResult, WorkflowScriptSnapshotInput, WorkflowScriptSnapshotRef, _resetRuntimeForTesting, acquireExclusiveFileSystemEffectLease, acquireFileSystemMutationLease, activate, analyzeAutoModeCall, analyzeChangedScope, analyzePowerShellMutation, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyPostCompactAttachments, applyToolResultGuardrail, assertTrustedTextMutationPolicy, authorWorkflowViaWorker, awaitLatestCodingMemoryReviewDrain, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildApprovalSummary, buildBlockedGoal, buildCapabilityContextSections, buildCompleteGoal, buildCreatedGoal, buildFallbackRoutingDecision, buildLlmReviewPrompt, buildManualToolDescription, buildMcpReverseCapabilities, buildPausedGoal, buildPromptMessageContent, buildPromptSnapshot, buildProviderCapabilitySnapshot, buildProviderPolicyHintsForDecision, buildProviderPolicyPromptNotes, buildRepoIntelligenceContext, buildRepoIntelligenceIndex, buildRepoOverview, buildResumedGoal, buildScopedReviewFinalPrompt, buildScopedReviewPrimaryPrompt, buildScopedReviewVerificationPrompt, buildScoutThenAuthorPrompt, buildSelfKnowledgeRoutingRule, buildSystemPrompt, buildSystemPromptSnapshot, buildToolResultBudget, buildToolResultBudgetFromUsage, buildToolSearchIndex, buildWorkflowCostReport, buildWorkflowGenerationSkillContext, buildWorkflowGenerationUserPrompt, canonicalMemoryProjectId, canonicalizeAgentHomePolicyPath, canonicalizeAutoModePath, checkIncompleteToolCalls, checkPromiseSignal, clampToolResultPolicyToBudget, clampWorkflowLimits, classifyBashCommand, classifyError, classifyFileCategory, classifyResilienceError, cleanupExpiredToolOutputs, cleanupUnreferencedToolOutputs, clearShellExecutionEnvironmentCache, combineExtensionRuntimes, computeInputSignature, configureRuntime, convertCapabilityReadResult, convertProviderSearchResults, createBashClassifierConfig, createBuiltinToolDefinition, createCodingMemoryInterventionRunner, createCodingWorkflowBackend, createCtxProxy, createDefaultCodingAgent, createDenialTracker, createExtensionRuntime, createKodaXTaskRunner, createProductionLearningReviewer, createPromptSection, createReasoningPlan, createRunGraphWriter, createSessionControl, createToolResultTruncationGuardrail, createWorkflowLifecycleController, createWorkflowPatternTemplateModule, createWorkflowRunManager, dedupeExtensionPathsByEntrypoint, deleteSavedWorkflow, deriveCodingMemoryIdentity, deriveCodingMemoryReviewIdentities, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, drainCodingMemoryReviewInbox, emitVerdict, emitWorkflowAgentDigest, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeRunScopedTool, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, flattenArgv, flattenRedirections, formatParallelDispatchResult, formatSize, generateWorkflow, generateWorkflowFromOptions, getActiveExtensionRuntime, getAllRegisteredTools, getBuiltinRegisteredToolDefinition, getBuiltinToolDefinition, getBuiltinWorkflow, getDefaultExtensionDirectory, getDefaultWorkflowRunManager, getDenialContext, getImpactEstimate, getModuleContext, getProcessContext, getRegisteredToolDefinition, getRepoIntelligenceIndex, getRepoOverview, getRepoRoutingSignals, getRequiredToolParams, getSymbolContext, getTool, getToolDefinition, getToolRegistrations, getToolResultPolicy, getWorkflowPatternTemplate, goalTokenDelta, inferTaskType, inspectEditFailure, inspectRepoIntelligenceRuntime, installProductionLearningReviewer, isAgentHomeHardMutationTarget, isAgentHomeHardRemovalTarget, isAutoReadableAgentHomePath, isAutoReadableKodaxPath, isAutoWritableAgentHomePath, isAutoWritableKodaxPath, isCredentialBearingKodaxPath, isDeniedRecently, isNullDevice, isParallelDispatchDirective, isPowerShellMutationCommand, isProtectedAgentHomeMutationTarget, isProtectedAgentHomeReadTarget, isProtectedAgentHomeRemovalTarget, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, languageIdForPath, listAll, listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listRunScopedTools, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, lookupRunScopedTool, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseBareInlineSlashReferences, parseBashCommand, parseEditToolError, parseInlineSkillReferences, parseLlmReviewVerdict, parseModelSpec, parseSandboxEnvironmentPass, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, preflightWorkflowCapsule, prewarmRepoIntelligenceCaches, readArtifact, readAuditEntries, readBudget, readDisableState, readSpeculativeWindowFromEnv, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, reportLspDiagnostics, requestSessionWorkflowStop, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runScopedToolMap, runToolInvocation, runWorkflowFromOptions, runWorkflowModule, safeWorkflowArtifactName, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, speculativeRace, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, testArtifact, toModelToolDefinition, toolAskUserQuestion, toolBash, toolChangedDiff, toolChangedScope, toolCodeSearch, toolEdit, toolGlob, toolGrep, toolImpactEstimate, toolInsertAfterAnchor, toolModuleContext, toolPermission, toolProcessContext, toolRead, toolRepoOverview, toolSemanticLookup, toolSymbolContext, toolUndo, toolWebFetch, toolWebSearch, toolWrite, truncateHead, truncateLine, truncateTail, turnWallTimeDelta, uniqueBareInlineSlashNames, uniqueInlineSkillNames, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, verifyGoalCompletion, withManualToolBranding, workerAgent, writeReviewPackets } from './sdk-coding.js';
|
|
9
|
+
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, c as BoundExtensionRuntimeController, C as CapabilityRuntimeContract, d as CodingActorCredentialAccessFactory, e as CodingActorEnvironmentFactory, f as CodingActorSession, g as CodingActorSessionOptions, h as CompactionAntiThrashConfig, i as CompactionAntiThrashState, j as CompactionSavingsDecision, k as CompactionSavingsSample, l as CompactionSkipReason, m as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, E as ExtensionExecutionScope, n as ExtensionRuntimeContract, o as ExtractCommandPrefixOptions, F as FailureStage, G as GoalBlockedResult, p as GoalCompleteResult, q as GoalCreateInput, r as GoalLifecycleContext, s as GoalRuntimeBinding, t as GoalRuntimeBindingDeps, u as GoalToolsContext, K as KodaXActivityEventMeta, w as KodaXAgentMode, x as KodaXAgentProfile, y as KodaXAgentScope, z as KodaXBudgetDisclosureZone, H as KodaXBudgetExtensionRequest, I as KodaXCanonicalAgentMode, J as KodaXChildAgentResult, L as KodaXChildContextBundle, N as KodaXCompactionEndResult, O as KodaXCompactionFailureReason, P as KodaXCompactionOverride, Q as KodaXContextCompactionFinishedEvent, R as KodaXContextIdentity, S as KodaXContextOptions, T as KodaXContextTokenSnapshot, U as KodaXEffectiveTaskConfig, V as KodaXEvents, W as KodaXExecutionFailure, X as KodaXInterruptedRunEvidence, Y as KodaXInterruptedRunOperation, Z as KodaXInterruptedRunReply, _ as KodaXLiveEventMeta, $ as KodaXManagedBudgetSnapshot, a1 as KodaXManagedTask, a2 as KodaXManagedTaskRuntimeState, a3 as KodaXManagedTaskStatusEvent, a4 as KodaXManualIndexTopic, a5 as KodaXManualSource, a6 as KodaXManualTopic, a7 as KodaXManualTopicId, a8 as KodaXManualTopicInput, a9 as KodaXMemoryStrategy, aa as KodaXOptions, ab as KodaXOrchestrationVerdict, ac as KodaXOutputSegmentActiveState, ad as KodaXOutputSegmentDelta, ae as KodaXOutputSegmentMode, af as KodaXOutputSegmentProjection, ag as KodaXOutputSegmentProjectionEvent, ah as KodaXOutputSegmentProjectionResult, ai as KodaXOutputSegmentStarted, aj as KodaXParentReductionContract, ak as KodaXPreparedShellSandboxInvocation, al as KodaXPromptCacheDiagnosticEvent, am as KodaXProviderPolicyHints, an as KodaXRepoIntelligenceCapability, ao as KodaXRepoIntelligenceMode, ap as KodaXRepoIntelligenceResolvedMode, aq as KodaXRepoIntelligenceTrace, ar as KodaXRepoIntelligenceTraceEvent, as as KodaXRepoRoutingSignals, at as KodaXResult, au as KodaXRoleRoundSummary, av as KodaXRuntimeVerificationContract, aw as KodaXSandboxOptions, ax as KodaXSelfManualConfig, ay as KodaXSessionControl, az as KodaXSessionMutators, aA as KodaXSessionOptions, aB as KodaXShellExecutionContract, aC as KodaXShellHostExecutionAuthorizer, aD as KodaXShellHostExecutionRequest, aE as KodaXShellKind, aF as KodaXShellPermissionMode, aG as KodaXShellProfileMode, aH as KodaXShellSandbox, aI as KodaXShellSandboxBackend, aJ as KodaXShellSandboxCleanupResult, aK as KodaXShellSandboxObservation, aL as KodaXShellSandboxPrepareInput, aM as KodaXShellSandboxProcessControl, aN as KodaXSidecarMessageEvent, aO as KodaXSkillDynamicContextPolicy, aP as KodaXSkillInvocationContext, aQ as KodaXSkillMap, aR as KodaXSkillProjectionConfidence, aS as KodaXSkillScriptInputFile, aT as KodaXSkillScriptOutputFile, aU as KodaXSkillScriptRunInput, aV as KodaXSkillScriptRunner, aW as KodaXTaskCapabilityHint, aX as KodaXTaskContract, aY as KodaXTaskEvidenceArtifact, aZ as KodaXTaskEvidenceBundle, a_ as KodaXTaskEvidenceEntry, a$ as KodaXTaskRole, b0 as KodaXTaskRoleAssignment, b1 as KodaXTaskStatus, b2 as KodaXTaskSurface, b3 as KodaXTaskToolPolicy, b4 as KodaXTaskVerificationContract, b5 as KodaXTaskVerificationCriterion, b6 as KodaXTaskWorkItem, b7 as KodaXTimeoutConfig, b8 as KodaXToolEventMeta, b9 as KodaXToolExecutionContext, ba as KodaXToolSandboxObservationUpdate, bb as KodaXToolVisibilityMeta, bc as KodaXToolVisibilityPolicy, bd as KodaXTrustedTextCommitInput, be as KodaXTrustedTextCommitOutcome, bf as KodaXTrustedTextFileSnapshot, bg as KodaXTrustedTextMutationHost, bh as KodaXTrustedTextToolCall, bi as KodaXTurnCompletedEvent, bj as KodaXTurnDeliveryKind, bk as KodaXTurnFailedEvent, bl as KodaXTurnStartedEvent, bm as KodaXUserInputPromptContext, bn as KodaXVerificationScorecard, bo as KodaXVerificationScorecardCriterion, bp as KodaXWorkflowAgentDigestEvent, bq as KodaXWorkflowEventMeta, br as KodaXWorkflowTimeoutConfig, bs as KodaXWorkspaceSandboxRootRegistry, bt as KodaXWrittenFile, bu as LSP_SERVERS, bv as LspServerInfo, bw as LspService, bx as LspServiceConfig, by as ProviderExecutionState, bz as ProviderRecoveryEvent, bA as ProviderResilienceConfig, bB as ProviderResiliencePolicy, bC as RecoveryAction, bD as RecoveryDecision, bE as RecoveryLadderStep, bF as RecoveryResult, bG as ResilienceClassification, bH as ResilienceErrorClass, bI as ResolveKodaXManualInput, bJ as ResolveKodaXManualOptions, bK as ResolveKodaXManualResult, bL as RunScopedToolDefinition, bM as RuntimeCompactionSkippedEvent, bN as RuntimeContextBudgetBreakdown, bO as RuntimeContextBudgetRecommendation, bP as RuntimeContextBudgetSnapshot, bQ as RuntimeContextBudgetSnapshotInput, bR as RuntimeContextOptimizationProfile, bS as RuntimeContextPressure, bT as RuntimeDefaultsSnapshot, bU as RuntimeToolExposureDecision, bV as RuntimeToolExposureMode, bW as RuntimeToolExposurePlan, bX as RuntimeToolExposurePlanInput, bY as RuntimeToolExposureReason, bZ as TodoItem, b_ as TodoList, b$ as TodoStatus, c0 as ToolSideEffect, c1 as WorkflowHostPolicy, c2 as WorkflowInvocationAction, c3 as WorkflowInvocationPolicyDecision, c4 as WorkflowInvocationPolicyInput, c5 as WorkflowInvocationSource, c6 as WorkflowStartOutcome, c7 as WorkflowToolHost, c8 as WorkflowToolHostInlineInput, c9 as WorkflowToolHostResult, ca as WorkflowToolHostStartResult, cb as buildGoalRuntimeBinding, cc as consumeCompactionCooldown, cd as createBashPrefixExtractor, ce as createCompactionAntiThrashState, cf as createExternalActorTurnExecutor, cg as createLocalCodingActorControl, ch as createOutputSegmentProjection, ci as createRuntimeContextBudgetSnapshot, cj as decideWorkflowInvocation, ck as drainPendingSwaps, cl as effectiveOutputSegmentText, cm as estimateToolSchemaTokens, cn as extractCommandPrefix, co as getDefaultLspService, cp as hasExplicitNaturalLanguageWorkflowIntent, cq as hasPendingSwap, cr as makeDisabledGoalToolsContext, cs as normalizeKodaXAgentMode, ct as planToolExposure, cu as providerResilienceConfigFromTimeouts, cv as recordCompactionSavings, cw as reduceOutputSegmentProjection, cx as resolveConstructedAgent, cy as shouldSkipLlmCompaction, cz as shutdownDefaultLspService, cA as withGoalBeforeNextTurn, cB as withGoalStopHook, cC as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-DvswAXKS.js';
|
|
10
10
|
export { CreateFileArtifactFromPathOptions, CreateImageArtifactFromPathOptions, CreateVideoArtifactFromPathOptions, EnqueueWithArtifactsInput, GetModelInputCapabilitiesInput, ImageResizeError, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXInputCapabilityStatus, KodaXMediaError, KodaXMediaErrorCode, KodaXMediaErrorOptions, KodaXModalityInputCapability, MAX_DIMENSION, ModelInputCapabilities, NormalizeImageOptions, NormalizedImage, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, PersistImageAsBlockOptions, TARGET_RAW_SIZE_BYTES, ValidateInputArtifactsOptions, createFileArtifactFromPath, createImageArtifactFromPath, createVideoArtifactFromPath, enqueueWithArtifacts, getModelInputCapabilities, inferImageMediaType, inferVideoMediaType, normalizePastedImage, persistImageAsBlock, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, validateInputArtifactsForModel } from './sdk-media.js';
|
|
11
|
-
export { A as AgentArtifact, b as ArtifactStatus, C as Capabilities, c as CapabilityDeniedError, d as ConstructionArtifact, e as ConstructionManifestError, f as ConstructionPolicy, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCapabilityProvider, j as ExtensionCommandContext, k as ExtensionCommandDefinition, l as ExtensionCommandInvocation, m as ExtensionCommandResult, n as ExtensionContributionSource, o as ExtensionEventMap, p as ExtensionFailureDiagnostic, q as ExtensionFailureStage, r as ExtensionHookMap, s as ExtensionLoadSource, t as ExtensionLogger, u as ExtensionRuntimeController, v as ExtensionRuntimeDiagnostics, w as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, x as KodaXExtensionActivationResult, y as KodaXExtensionModule, z as KodaXRetrievalArtifact, B as KodaXRetrievalFreshness, F as KodaXRetrievalItem, G as KodaXRetrievalResult, H as KodaXRetrievalScope, I as KodaXRetrievalToolName, J as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, M as LocalToolDefinition, N as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, O as RegisteredCommandDiagnostic, P as RegisteredHookDiagnostic, Q as RegisteredToolDefinition, S as RegisteredToolDiagnostic, T as RuntimeRemoteToolContext, U as RuntimeRemoteToolContract, V as RuntimeRemoteToolDecision, W as RuntimeRemoteWorkspaceBroker, X as ScriptSource, Y as StagedHandle, Z as TestResult, _ as ToolContent, $ as ToolDefinitionSource, a0 as ToolHandler, a2 as ToolRegistrationOptions, a3 as ToolRegistry, a4 as ToolResult, a5 as WebhookOptions, a6 as WebhookResult, a7 as defaultPolicy, a8 as exec, a9 as webhook } from './types-chunks/types.d-
|
|
12
|
-
export {
|
|
13
|
-
export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, D as DefaultSummaryCompaction, e as DefaultSummaryCompactionOptions, K as KODAX_API_MIN_INTERVAL, f as KODAX_DEFAULT_TIMEOUT, g as KODAX_HARD_TIMEOUT, h as KODAX_MAX_INCOMPLETE_RETRIES, j as KODAX_MAX_RETRIES, k as KODAX_MAX_TOKENS, l as KODAX_RETRY_BASE_DELAY, m as KODAX_STAGGER_DELAY, L as LINEAGE_ENTRY_TYPES, n as LineageArtifactLedgerPayload, o as LineageCompaction, p as LineageCompactionDelegates, q as LineageEntryType, r as LineageExtension, s as LineageLabelPayload, t as LineageTreeNode, P as PROMISE_PATTERN,
|
|
14
|
-
export {
|
|
11
|
+
export { A as AgentArtifact, b as ArtifactStatus, C as Capabilities, c as CapabilityDeniedError, d as ConstructionArtifact, e as ConstructionManifestError, f as ConstructionPolicy, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCapabilityProvider, j as ExtensionCommandContext, k as ExtensionCommandDefinition, l as ExtensionCommandInvocation, m as ExtensionCommandResult, n as ExtensionContributionSource, o as ExtensionEventMap, p as ExtensionFailureDiagnostic, q as ExtensionFailureStage, r as ExtensionHookMap, s as ExtensionLoadSource, t as ExtensionLogger, u as ExtensionRuntimeController, v as ExtensionRuntimeDiagnostics, w as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, x as KodaXExtensionActivationResult, y as KodaXExtensionModule, z as KodaXRetrievalArtifact, B as KodaXRetrievalFreshness, F as KodaXRetrievalItem, G as KodaXRetrievalResult, H as KodaXRetrievalScope, I as KodaXRetrievalToolName, J as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, M as LocalToolDefinition, N as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, O as RegisteredCommandDiagnostic, P as RegisteredHookDiagnostic, Q as RegisteredToolDefinition, S as RegisteredToolDiagnostic, T as RuntimeRemoteToolContext, U as RuntimeRemoteToolContract, V as RuntimeRemoteToolDecision, W as RuntimeRemoteWorkspaceBroker, X as ScriptSource, Y as StagedHandle, Z as TestResult, _ as ToolContent, $ as ToolDefinitionSource, a0 as ToolHandler, a2 as ToolRegistrationOptions, a3 as ToolRegistry, a4 as ToolResult, a5 as WebhookOptions, a6 as WebhookResult, a7 as defaultPolicy, a8 as exec, a9 as webhook } from './types-chunks/types.d-BJTN-RZr.js';
|
|
12
|
+
export { a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ai as KodaXJsonValue, ao as KodaXSessionArtifactLedgerEntry, ap as KodaXSessionBranchSummaryEntry, ar as KodaXSessionCompactionEntry, as as KodaXSessionData, at as KodaXSessionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, ax as KodaXSessionLineage, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aE as KodaXSessionRuntimeInfo, aF as KodaXSessionScope, aG as KodaXSessionStorage, aH as KodaXSessionTreeNode, aI as KodaXSessionUiHistoryItem, aJ as KodaXSessionUiHistoryItemType, aK as KodaXSessionUiTextHistoryItem, aL as KodaXSessionUiTextHistoryItemType, aM as KodaXSessionUiToolCall, aN as KodaXSessionUiToolCallStatus, aO as KodaXSessionUiToolGroupHistoryItem, aP as KodaXSessionWorkspaceKind, bB as SessionErrorMetadata } from './types-chunks/review-inbox.d-BeaLRNHx.js';
|
|
13
|
+
export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, D as DefaultSummaryCompaction, e as DefaultSummaryCompactionOptions, K as KODAX_API_MIN_INTERVAL, f as KODAX_DEFAULT_TIMEOUT, g as KODAX_HARD_TIMEOUT, h as KODAX_MAX_INCOMPLETE_RETRIES, j as KODAX_MAX_RETRIES, k as KODAX_MAX_TOKENS, l as KODAX_RETRY_BASE_DELAY, m as KODAX_STAGGER_DELAY, L as LINEAGE_ENTRY_TYPES, n as LineageArtifactLedgerPayload, o as LineageCompaction, p as LineageCompactionDelegates, q as LineageEntryType, r as LineageExtension, s as LineageLabelPayload, t as LineageTreeNode, P as PROMISE_PATTERN, I as actorQueueId, J as appendSessionLineageLabel, N as applySessionCompaction, O as archiveOldIslands, R as buildSessionTree, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, $ as estimateTokens, a1 as extractArtifactLedger, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ad as getSessionMessagesFromLineage, ag as mergeArtifactLedger, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory } from './types-chunks/capsule.d-B4atvlxE.js';
|
|
14
|
+
export { d as Agent, i as AgentMessage, k as AgentReasoningProfile, m as AgentTool, x as Guardrail, K as Handoff, M as InMemorySessionOptions, ac as MessageEntry, aj as PresetDispatcher, ar as ReasoningDepth, at as RunEvent, au as RunOptions, av as RunResult, ax as Runner, aJ as Session, aL as SessionEntry, aM as SessionExtension, aN as SessionForkOptions, bu as createAgent, bw as createHandoff, bx as createInMemorySession, bY as registerPresetDispatcher } from './types-chunks/controller.d-yyKajPTi.js';
|
|
15
|
+
export { W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a1 as CompactionAnchor, a6 as CompactionResult, a7 as CompactionUpdate, aj as KodaXFileInputArtifact, ak as KodaXImageInputArtifact, al as KodaXImageMediaType, am as KodaXInputArtifact, an as KodaXInputArtifactSource, ao as KodaXVideoInputArtifact, ap as KodaXVideoMediaType, aW as ManagedWorkflowStatus, b5 as WorkflowEventCorrelation } from './types-chunks/types.d-o7t9dds4.js';
|
|
15
16
|
export { M as McpConnectMode, a as McpServerConfig, b as McpServersConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
|
|
16
|
-
export { M as McpCapabilityDescriptor, a as McpCapabilityKind, b as McpCapabilityProvider, c as McpCapabilityRisk, d as McpCatalogItem, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, j as McpProviderOptions, k as McpReverseCapabilities, l as McpRoot, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-
|
|
17
|
+
export { M as McpCapabilityDescriptor, a as McpCapabilityKind, b as McpCapabilityProvider, c as McpCapabilityRisk, d as McpCatalogItem, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, j as McpProviderOptions, k as McpReverseCapabilities, l as McpRoot, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-C_20XqCV.js';
|
|
17
18
|
export { A as AuthorizationServerMetadata, D as DiscoveredOAuthEndpoints, M as McpAuthRequiredError, a as McpExpiredSessionError, b as McpTransport, d as McpTransportEvents, O as OAuthClientInfo, e as OAuthLoginConsent, P as PerformOAuthLoginOptions, f as ProtectedResourceMetadata, W as WwwAuthenticateChallenge, g as createMcpTransport, h as discoverAuthorizationServerMetadata, i as discoverOAuthEndpoints, j as discoverProtectedResourceMetadata, k as extractInsufficientScope, l as extractResourceMetadataUrl, m as loadValidToken, p as performOAuthLogin, r as registerOAuthClient } from './types-chunks/oauth-login.d-6i-vidxv.js';
|
|
18
|
-
export { d as
|
|
19
|
-
export {
|
|
20
|
-
export { B as BASH_SAFE_READ_COMMANDS, a as BASH_WRITE_COMMANDS, F as FILE_MODIFICATION_TOOLS, G as GitGrepShortOption, M as MODIFICATION_TOOLS, P as PermissionMode, R as RawCommandWord, c as collectBashWriteTargets, b as collectDeterministicBashWriteTargets, e as extractPathsFromCommand, f as findGitSubcommandIndex, g as generateSavePattern, d as getBashOutsideProjectWriteRisk, h as getDirectShellBypassBlockReason, i as getPlanModeAllowedWritablePaths, j as getPlanModeBlockReason, k as gitSignatureInspectionMayExecute, l as inferPermissionMode, m as isAlwaysConfirmPath, n as isBashReadCommand, o as isBashReadCommandAutoAllowed, p as isBashWriteCommand, q as isCommandOnProtectedPath, r as isHelpCommand, s as isPathInsideProject, t as isPlanModeAllowedPath, u as isShellReadOnlyArgv, v as isToolCallAllowed, w as parseAllowedToolPattern, x as parseGitGrepShortOption, y as tokenizeRawCommandStages } from './types-chunks/shell-command-sets.d-oejwpP_7.js';
|
|
19
|
+
export { t as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, a7 as AUTO_MODE_DENIAL_WINDOW_SIZE, a6 as AUTO_MODE_RECENT_DENIAL_THRESHOLD, A as AbsoluteDenyCheck, a as AbsoluteDenyMatch, b as AbsoluteDenyMiss, c as AbsoluteDenyResult, d as AgentsFile, e as AutoModeAskUser, f as AutoModeAskUserVerdict, g as AutoModeCallAnalyzer, h as AutoModeDecisionDiagnostics, O as AutoModeDenialTracker, i as AutoModeGuardrailConfig, j as AutoModePermissionBoundary, k as AutoModePermissionOperation, l as AutoModePermissionReview, m as AutoModePermissionTarget, n as AutoModeRulesContext, o as AutoModeRulesDecision, p as AutoModeRulesEvaluator, q as AutoModeSharedState, r as AutoModeStats, s as AutoModeToolGuardrail, P as BREAKER_ERROR_THRESHOLD, ai as BREAKER_WINDOW_MS, B as BuildClassifierPromptInput, C as CLASSIFIER_MAX_OUTPUT_TOKENS, u as CircuitBreaker, v as ClassifierAttemptDiagnostics, w as ClassifierAttemptOutcome, x as ClassifierDecision, y as ClassifierFailureKind, z as ClassifierHazard, D as ClassifierObservedProtocol, E as ClassifierOutputWarningCode, F as ClassifierParseFailureCode, G as ClassifierPrompt, H as ClassifierProtocol, J as ClassifyDecision, K as ClassifyOptions, L as CodingWorkflowBackendDeps, M as DEFAULT_CLASSIFIER_RETRY_TIMEOUT_MS, N as DEFAULT_CLASSIFIER_TIMEOUT_MS, Q as ExecPolicyCriticalEffect, R as ExecPolicyDecision, S as ExecPolicyEvaluation, T as ExecPolicyOperation, U as ExecPolicyRejection, V as ExecPolicyRule, W as ExecPolicyRuleInput, X as ExecPolicySource, Y as KodaXMcpConnectMode, Z as KodaXMcpServerConfig, _ as KodaXMcpServersConfig, $ as KodaXMcpTransport, a0 as LoadAgentsOptions, a1 as LoadExecPolicyOptions, a2 as LoadExecPolicyResult, a3 as ManagedWorkflowRun, a4 as ManagedWorkflowSnapshot, a5 as ParseExecPolicyResult, a8 as RunGraphWriter, a9 as RunGraphWriterDeps, aa as RunJsonInput, ab as RunWorkflowFromOptionsInput, ac as RunWorkflowModuleOptions, ad as RunWorkflowModuleOutcome, ae as SYSTEM_WORKFLOW_LIMITS, af as SignalCollector, ag as TierZeroPatternId, ah as ToolCallSignal, aj as WorkflowChildOptions, ak as WorkflowRunManager, al as WorkflowRunProcessMetadata, am as WorkflowScriptSnapshotInput, an as WorkflowScriptSnapshotRef, aT as autoModeDenialShouldFallback, aU as breakerShouldFallback, ao as buildApprovalSummary, ap as buildClassifierPrompt, aq as checkAbsoluteDeny, ar as clampWorkflowLimits, as as classify, at as collectAllSignals, ax as createAutoModeDenialTracker, au as createAutoModeToolGuardrail, av as createCircuitBreaker, aw as createCodingWorkflowBackend, ay as createExecPolicyOperation, az as createRunGraphWriter, aA as createWorkflowRunManager, aB as emitWorkflowAgentDigest, aC as evaluateExecPolicy, aD as evaluateShellExecPolicy, aE as formatAgentsForPrompt, aF as formatExecPolicyConfigurationError, aG as formatExecPolicyRejection, aH as getDefaultWorkflowRunManager, aI as getKodaxGlobalDir, aJ as loadAgentsFiles, aK as loadExecPolicy, aL as parseClassifierOutput, aM as parseExecPolicy, aN as recordAutoModeAllow, aO as recordAutoModeBlock, aP as recordBreakerError, aQ as runWorkflowFromOptions, aR as runWorkflowModule, aS as safeWorkflowArtifactName, aV as tokenizeShellCommand } from './types-chunks/run-manager.d-C7Q71rin.js';
|
|
20
|
+
export { B as BASH_SAFE_READ_COMMANDS, a as BASH_WRITE_COMMANDS, F as FILE_MODIFICATION_TOOLS, G as GitGrepShortOption, M as MODIFICATION_TOOLS, P as PermissionMode, R as RawCommandWord, b as ReviewPacketBudget, c as ReviewPacketChunk, d as ReviewPacketInput, e as ReviewPacketMetadata, f as collectBashWriteTargets, g as collectDeterministicBashWriteTargets, h as extractPathsFromCommand, i as findGitSubcommandIndex, j as generateSavePattern, k as getBashOutsideProjectWriteRisk, l as getDirectShellBypassBlockReason, m as getPlanModeAllowedWritablePaths, n as getPlanModeBlockReason, o as gitSignatureInspectionMayExecute, p as inferPermissionMode, q as isAlwaysConfirmPath, r as isBashReadCommand, s as isBashReadCommandAutoAllowed, t as isBashWriteCommand, u as isCommandOnProtectedPath, v as isHelpCommand, w as isPathInsideProject, x as isPlanModeAllowedPath, y as isShellReadOnlyArgv, z as isToolCallAllowed, A as parseAllowedToolPattern, C as parseGitGrepShortOption, D as tokenizeRawCommandStages, E as writeReviewPackets } from './types-chunks/review-packet.d-D4bbTbq3.js';
|
|
21
21
|
import { KodaXRuntime } from './sdk-runtime.js';
|
|
22
|
-
export { CreateKodaXRuntimeOptions, KODAX_RUNTIME_SDK_CAPABILITIES, KodaXDaemonRuntime, KodaXRuntimeMode, RuntimeAutoReviewOptions, RuntimeCapabilityRequirements, RuntimeConnectionService, RuntimeConnectionState, RuntimeCreateSessionInput,
|
|
22
|
+
export { CreateKodaXRuntimeOptions, KODAX_RUNTIME_SDK_CAPABILITIES, KodaXDaemonRuntime, KodaXRuntimeMode, RuntimeAutoReviewOptions, RuntimeCapabilityRequirements, RuntimeConnectionService, RuntimeConnectionState, RuntimeCreateSessionInput, RuntimeDaemonContextOptions, RuntimeDaemonKodaXOptions, RuntimeDaemonManagementService, RuntimeDaemonManagementState, RuntimeDaemonPreflight, RuntimeDaemonRunService, RuntimeDaemonShutdownVerification, RuntimeDaemonShutdownVerificationInput, RuntimeDaemonShutdownVerificationOwner, RuntimeDaemonStartRunInput, RuntimeDeliveredInterruptInput, RuntimeEvent, RuntimeEventEnvelope, RuntimeEventFilter, RuntimeEventListener, RuntimeEventParseResult, RuntimeEventPayloadMap, RuntimeEventService, RuntimeEventType, RuntimeExactCallPermissionMatcher, RuntimeExactCommandPermissionMatcher, RuntimeExactPathPermissionMatcher, RuntimeExecPolicyOptions, RuntimeFailureDetail, RuntimeFailureStage, RuntimeForkSessionInput, RuntimeIdentity, RuntimeInlineOwnerHandle, RuntimeInteractionResolvedEventPayload, RuntimeInterruptInputStatus, RuntimeKodaXOptions, RuntimeLearningService, RuntimeOwnerIdentity, RuntimeOwnerPolicyState, RuntimeOwnerState, RuntimePermissionDecision, RuntimePermissionFilter, RuntimePermissionGrant, RuntimePermissionGrantChangedEventPayload, RuntimePermissionGrantSuggestion, RuntimePermissionHostPlatform, RuntimePermissionMatcher, RuntimePermissionMode, RuntimePermissionModeInput, RuntimePermissionPrompt, RuntimePermissionPromptContext, RuntimePermissionPromptResolution, RuntimePermissionRequest, RuntimePermissionRequestInput, RuntimePermissionRespondOptions, RuntimePermissionRisk, RuntimePermissionScope, RuntimePermissionScopeUpgradeRequiredError, RuntimePermissionService, RuntimeProviderErrorCode, RuntimeRunFailureKind, RuntimeRunFilter, RuntimeRunHandle, RuntimeRunInputDeliveredEventPayload, RuntimeRunInputQueuedEventPayload, RuntimeRunLifecycleError, RuntimeRunMode, RuntimeRunPhase, RuntimeRunProgressEventPayload, RuntimeRunRequirements, RuntimeRunResult, RuntimeRunService, RuntimeRunSessionLoadedEventPayload, RuntimeRunStatus, RuntimeRunStopReceipt, RuntimeRunStopStatus, RuntimeSession, RuntimeSessionFilter, RuntimeSessionLoadedEventPayload, RuntimeSessionObservationSnapshot, RuntimeSessionService, RuntimeSessionSettings, RuntimeSessionSettingsPatch, RuntimeSessionSettingsUpdatedEventPayload, RuntimeSessionSummary, RuntimeStatusService, RuntimeStatusSnapshot, RuntimeSubmitInput, RuntimeSubmitInputResult, RuntimeSubscription, RuntimeTerminalFact, RuntimeTextDeltaEventPayload, RuntimeTextInput, RuntimeThinkingFinishedEventPayload, RuntimeTodoUpdatedEventPayload, RuntimeToolFinishedEventPayload, RuntimeToolProgressEventPayload, RuntimeToolStartedEventPayload, RuntimeTranscript, RuntimeTransportBoundaryError, RuntimeTypedEvent, RuntimeTypedEventListener, RuntimeUserInputFilter, RuntimeUserInputKind, RuntimeUserInputRequest, RuntimeUserInputRequestedEventPayload, RuntimeUserInputResolution, RuntimeUserInputService, RuntimeWarningEventPayload, RuntimeWorkflowFilter, RuntimeWorkflowListener, RuntimeWorkflowService, RuntimeWorkflowSnapshot, RuntimeWorkflowSummary, acquireKodaXInlineOwner, connectKodaXRuntime, createKodaXRuntime, enableKodaXDaemonOwner, getKodaXRuntimeOwnerState, handleRuntimePermissionRequest, parseRuntimeEvent, setKodaXRuntimeOwnerMode, waitForRuntimeDaemonShutdown } from './sdk-runtime.js';
|
|
23
23
|
export { KODAX_ASRT_VERSION, KodaXSandboxCapability, KodaXSandboxDoctorResult, KodaXSandboxFilesystemPolicy, KodaXSandboxNetworkPolicy, KodaXSandboxRunInput, KodaXSandboxRunResult, KodaXSandboxSetupOutcome, activateKodaXSandbox, doctorKodaXSandbox, getKodaXSandboxCapability, getKodaXSandboxSetupGuidance, runKodaXSandboxed, setupKodaXSandbox } from './sdk-sandbox.js';
|
|
24
24
|
import { Agent, AgentSideConnection, InitializeRequest, InitializeResponse, NewSessionRequest, NewSessionResponse, SetSessionModeRequest, SetSessionModeResponse, PromptRequest, PromptResponse } from '@agentclientprotocol/sdk';
|
|
25
|
-
import { F as FileSessionStorage } from './types-chunks/public-api.d-
|
|
26
|
-
export { V as PreparedSessionAppendBaseline, W as PreparedSessionTailDelta } from './types-chunks/public-api.d-
|
|
27
|
-
export { B as BUILTIN_COMMANDS,
|
|
28
|
-
export { A as AutoModeSettings, a as CommandCallbacks,
|
|
25
|
+
import { F as FileSessionStorage } from './types-chunks/public-api.d-Cq8ILMte.js';
|
|
26
|
+
export { V as PreparedSessionAppendBaseline, W as PreparedSessionTailDelta } from './types-chunks/public-api.d-Cq8ILMte.js';
|
|
27
|
+
export { B as BUILTIN_COMMANDS, c as Command, d as InkREPLOptions, g as RepLOptions, t as executeCommand, A as parseCommand, D as processSpecialSyntax, F as runInkInteractiveMode, G as runInteractiveMode } from './types-chunks/trusted-repl-entry-vbUM8R6P.js';
|
|
28
|
+
export { A as AutoModeSettings, a as CommandCallbacks, j as CurrentConfig, I as InteractiveContext, l as KODAX_CONFIG_FILE, m as KODAX_DIR, p as KODAX_SESSIONS_DIR, q as KODAX_VERSION, R as ResolveAutoModeSettingsInput, r as ResolvedAutoModeSettings, x as createInteractiveContext, B as getGitRoot, D as getProviderList, E as getProviderModel, G as getVersion, H as hydrateProcessEnvFromShell, L as isProviderConfigured, M as loadAutoModeSettings, N as loadConfig, O as prepareRuntimeConfig, Q as rateLimitedCall, T as registerConfiguredCustomProviders, U as resolveAutoModeSettings, Y as saveConfig, Z as touchContext } from './types-chunks/utils.d-CWiMhFfu.js';
|
|
29
|
+
export { d as RuntimeCredentialLease, f as RuntimeCredentialService, l as RuntimeHostToolInvocationStatus, m as RuntimeHostToolLease, o as RuntimeHostToolService } from './types-chunks/runtime-client-info-CxnlZlW5.js';
|
|
30
|
+
import './types-chunks/types-DDJu9iWX.js';
|
|
31
|
+
import './types-chunks/manifest.d-Bw2i-zQi.js';
|
|
32
|
+
import 'vscode-languageserver-protocol';
|
|
29
33
|
import '@anthropic-ai/sdk';
|
|
30
34
|
import 'openai';
|
|
31
|
-
import '
|
|
35
|
+
import './types-chunks/provider-credential-context.d-BH2OaB1b.js';
|
|
32
36
|
import 'node:child_process';
|
|
33
37
|
import './types-chunks/types.d-Cb8RdrjU.js';
|
|
34
|
-
import './types-chunks/
|
|
35
|
-
import './types-chunks/
|
|
36
|
-
import './types-chunks/
|
|
37
|
-
import './types-chunks/history-retrieval.d-
|
|
38
|
+
import './types-chunks/side-query.d-DTrhVd_r.js';
|
|
39
|
+
import './types-chunks/client-contract-A1jdk6xz.js';
|
|
40
|
+
import './types-chunks/provider-request-observation.d-jL8T6wVO.js';
|
|
41
|
+
import './types-chunks/history-retrieval.d-JdFfkeF3.js';
|
|
38
42
|
import 'readline';
|
|
39
43
|
import 'child_process';
|
|
40
44
|
|
|
@@ -203,9 +207,11 @@ interface KodaXAcpServerOptions {
|
|
|
203
207
|
eventSinks?: AcpEventSink[];
|
|
204
208
|
agentName?: string;
|
|
205
209
|
agentVersion?: string;
|
|
206
|
-
/** Base home
|
|
210
|
+
/** Base home of the shared Host. */
|
|
207
211
|
homeDir?: string;
|
|
212
|
+
/** Low-level embedding only; requires an explicitly injected Runtime. */
|
|
208
213
|
storage?: FileSessionStorage;
|
|
214
|
+
/** Explicit low-level embedding. The production default connects to the shared Host. */
|
|
209
215
|
runtime?: KodaXRuntime;
|
|
210
216
|
}
|
|
211
217
|
declare class KodaXAcpServer implements Agent {
|
|
@@ -215,14 +221,22 @@ declare class KodaXAcpServer implements Agent {
|
|
|
215
221
|
private readonly planModeEffort?;
|
|
216
222
|
private readonly thinking;
|
|
217
223
|
private readonly reasoningMode;
|
|
224
|
+
private readonly repoIntelligence;
|
|
218
225
|
private readonly defaultPermissionMode;
|
|
219
226
|
private readonly defaultCwd;
|
|
220
227
|
private readonly hasFixedCwd;
|
|
221
228
|
private readonly agentName;
|
|
222
229
|
private readonly agentVersion;
|
|
223
|
-
private readonly storage
|
|
224
|
-
private readonly runtimeReady
|
|
225
|
-
|
|
230
|
+
private readonly storage?;
|
|
231
|
+
private readonly runtimeReady?;
|
|
232
|
+
/**
|
|
233
|
+
* FEATURE_298 T19 — the same Host seen through the product client face.
|
|
234
|
+
* Default ACP execution uses only this face. Explicit Runtime injection
|
|
235
|
+
* retains the lower-level in-process embedding callbacks below.
|
|
236
|
+
*/
|
|
237
|
+
private readonly clientReady;
|
|
238
|
+
private readonly ownsClient;
|
|
239
|
+
private readonly initialHostSettings;
|
|
226
240
|
private readonly logger;
|
|
227
241
|
private readonly events;
|
|
228
242
|
private readonly configuredExtensions;
|
|
@@ -241,16 +255,35 @@ declare class KodaXAcpServer implements Agent {
|
|
|
241
255
|
authenticate(): Promise<void>;
|
|
242
256
|
setSessionMode(params: SetSessionModeRequest): Promise<SetSessionModeResponse>;
|
|
243
257
|
prompt(params: PromptRequest): Promise<PromptResponse>;
|
|
258
|
+
private promptThroughHost;
|
|
244
259
|
private ensureRuntimeSession;
|
|
245
260
|
cancel(params: {
|
|
246
261
|
sessionId: string;
|
|
247
262
|
}): Promise<void>;
|
|
248
263
|
private abortSessionRuns;
|
|
249
264
|
private requireSession;
|
|
265
|
+
private resolveSessionEffort;
|
|
266
|
+
private applyHostSettings;
|
|
250
267
|
private buildKodaXOptions;
|
|
268
|
+
/**
|
|
269
|
+
* Adapts Host permission escalations onto the ACP permission dialog.
|
|
270
|
+
* Boundary: ACP 0.15 has no elicitation reverse request, so non-permission
|
|
271
|
+
* interactions raised during an ACP run (MCP form/url elicitation,
|
|
272
|
+
* user-input questions) stay Host-side pending interactions — answerable by
|
|
273
|
+
* any other client of this Host — and settle via the interaction phase
|
|
274
|
+
* timeout in a pure ACP-only connection rather than an ACP dialog.
|
|
275
|
+
*/
|
|
251
276
|
private createRuntimePermissionBridge;
|
|
252
277
|
private respondToRuntimePermission;
|
|
253
278
|
private requestPermissionFromClient;
|
|
279
|
+
/**
|
|
280
|
+
* FEATURE_298 T19 — ACP `agent_message_chunk` is an append-only stream: the
|
|
281
|
+
* protocol has no way to express output replacement, so revised or re-sent
|
|
282
|
+
* assistant text arrives as additional chunks within the connection. A new
|
|
283
|
+
* connection starts from persisted session state, not a replay — transient
|
|
284
|
+
* chunks, thought deltas, and tool-status updates observed by an earlier
|
|
285
|
+
* client are not recreated by a later snapshot.
|
|
286
|
+
*/
|
|
254
287
|
private sendTextChunk;
|
|
255
288
|
private sendSessionUpdate;
|
|
256
289
|
private dispatchNotification;
|