@kodax-ai/kodax 0.7.76 → 0.7.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +758 -371
- package/LICENSE +158 -158
- package/README.md +1702 -1508
- package/README_CN.md +1019 -869
- package/config-templates/config.example.jsonc +86 -4
- package/config-templates/integrations/a2a.example.jsonc +98 -98
- package/config-templates/integrations/extensions.example.jsonc +7 -7
- package/config-templates/integrations/mcp.example.jsonc +16 -16
- package/dist/builtin/code-review/SKILL.md +22 -22
- package/dist/builtin/skill-creator/scripts/aggregate-benchmark.d.ts +46 -46
- package/dist/builtin/skill-creator/scripts/analyze-benchmark.d.ts +46 -46
- package/dist/builtin/skill-creator/scripts/compare-runs.d.ts +62 -62
- package/dist/builtin/skill-creator/scripts/generate-review.d.ts +33 -33
- package/dist/builtin/skill-creator/scripts/grade-evals.d.ts +73 -73
- package/dist/builtin/skill-creator/scripts/improve-description.d.ts +23 -23
- package/dist/builtin/skill-creator/scripts/init-skill.d.ts +14 -14
- package/dist/builtin/skill-creator/scripts/install-skill.d.ts +29 -29
- package/dist/builtin/skill-creator/scripts/package-skill.d.ts +38 -38
- package/dist/builtin/skill-creator/scripts/quick-validate.d.ts +8 -8
- package/dist/builtin/skill-creator/scripts/run-eval.d.ts +66 -66
- package/dist/builtin/skill-creator/scripts/run-loop.d.ts +49 -49
- package/dist/builtin/skill-creator/scripts/run-trigger-eval.d.ts +58 -58
- package/dist/chunks/agent-ASP4MS3X.js +2 -0
- package/dist/chunks/argument-completer-JYQ7FX3W.js +2 -0
- package/dist/chunks/chunk-2CFHBKRE.js +5 -0
- package/dist/chunks/chunk-35PPHOQ2.js +292 -0
- package/dist/chunks/chunk-43QNNDHR.js +29 -0
- package/dist/chunks/chunk-5BNQXXGY.js +1 -0
- package/dist/chunks/chunk-5GO6FH7L.js +458 -0
- package/dist/chunks/chunk-5NDCSFOP.js +78 -0
- package/dist/chunks/chunk-6FOJVETH.js +22 -0
- package/dist/chunks/chunk-6XM4B6K2.js +48 -0
- package/dist/chunks/chunk-6YZUE6NC.js +240 -0
- package/dist/chunks/{chunk-RDXRM3UI.js → chunk-7OEBJGHK.js} +1 -1
- package/dist/chunks/chunk-KQLQYHWU.js +386 -0
- package/dist/chunks/chunk-NXO6GWSY.js +46 -0
- package/dist/chunks/chunk-T2XZTLYE.js +316 -0
- package/dist/chunks/chunk-TQDBTTIM.js +348 -0
- package/dist/chunks/{chunk-SMT2JSM3.js → chunk-UID7BLAB.js} +9 -9
- package/dist/chunks/chunk-VAT2QYXM.js +765 -0
- package/dist/chunks/chunk-YAZQTC2L.js +5 -0
- package/dist/chunks/chunk-YVRYHC4C.js +655 -0
- package/dist/chunks/{chunk-PXKSE54E.js → chunk-Z3KFRTSB.js} +1 -1
- package/dist/chunks/compaction-config-BQSSIWK5.js +2 -0
- package/dist/chunks/{construction-bootstrap-5F5KF2BZ.js → construction-bootstrap-VQLQGWPY.js} +1 -1
- package/dist/chunks/dist-BFT5YIGU.js +2 -0
- package/dist/chunks/dist-PCFE24YP.js +2 -0
- package/dist/chunks/host-UTFXCYYM.js +2 -0
- package/dist/chunks/run-manager-PJU3WIFJ.js +2 -0
- package/dist/chunks/utils-SID4HW2Q.js +2 -0
- package/dist/index.d.ts +21 -19
- package/dist/index.js +6 -6
- package/dist/kodax_bootstrap.js +25 -25
- package/dist/kodax_cli.js +1787 -1341
- package/dist/kodax_resume.js +17 -17
- package/dist/provider-capabilities.json +392 -362
- package/dist/runtime-worker.js +1707 -1279
- package/dist/sandbox-workspace-session.js +563 -0
- package/dist/sdk-a2a.d.ts +18 -17
- package/dist/sdk-a2a.js +8 -8
- package/dist/sdk-agent.d.ts +320 -70
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-coding.d.ts +135 -168
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +14 -597
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +219 -6
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +1 -1
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +70 -27
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +212 -149
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.d.ts +93 -0
- package/dist/sdk-sandbox.js +2 -0
- package/dist/sdk-session.d.ts +8 -8
- package/dist/sdk-session.js +1 -1
- package/dist/sdk-skills.d.ts +2 -2
- package/dist/sdk-skills.js +1 -1
- package/dist/semantic-worker.js +15 -15
- package/dist/types-chunks/{base.d-ChvpaKjZ.d.ts → base.d-4e74xDdy.d.ts} +13 -1
- package/dist/types-chunks/{bash-prefix-extractor.d-r1beOESM.d.ts → bash-prefix-extractor.d-uAe2Oqda.d.ts} +319 -9
- package/dist/types-chunks/{capability-learning.d-DPrYxRjF.d.ts → capability-learning.d-CVsdHw4j.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-zeqV4IQX.d.ts → capsule.d-BlSv9l3V.d.ts} +2 -2
- package/dist/types-chunks/{guardrail.d-CWYD1bdL.d.ts → guardrail.d-BRE_ErEj.d.ts} +1 -1
- package/dist/types-chunks/{guardrail.d-qjuKJZ31.d.ts → guardrail.d-CXDYRgZ3.d.ts} +201 -35
- package/dist/types-chunks/{history-retrieval.d-BKTJIrVd.d.ts → history-retrieval.d-DtCy7x64.d.ts} +2 -2
- package/dist/types-chunks/{integration-config.d-ojG4swOP.d.ts → integration-config.d-BNowXE8k.d.ts} +23 -8
- package/dist/types-chunks/{public-api.d-CX4B11qY.d.ts → public-api.d-B3AohsxN.d.ts} +37 -8
- package/dist/types-chunks/{commands.d-DUxnK2TU.d.ts → repl.d-Ie_ZXb_U.d.ts} +89 -78
- package/dist/types-chunks/{side-query.d-DWTMsndP.d.ts → resolver.d-iAQ9ocLB.d.ts} +23 -74
- package/dist/types-chunks/{run-manager.d-B9fEIjZk.d.ts → run-manager.d-D1twIhF9.d.ts} +1 -1
- package/dist/types-chunks/{sdk-session-B0fhAOPa.d.ts → sdk-session-DB9KksIx.d.ts} +3 -3
- package/dist/types-chunks/side-query.d-DTuLPcC5.d.ts +77 -0
- package/dist/types-chunks/types-D3g6XUQr.d.ts +662 -0
- package/dist/types-chunks/{types.d-sRLugmjy.d.ts → types.d-BA-Jwpfs.d.ts} +506 -11
- package/dist/types-chunks/{types.d-DEctY20M.d.ts → types.d-BH0ZkTGf.d.ts} +2 -2
- package/dist/types-chunks/{types.d-DCQVBqVn.d.ts → types.d-BbtGlKZu.d.ts} +25 -3
- package/dist/types-chunks/{types.d-CSmF0t0n.d.ts → types.d-DIpZJKUl.d.ts} +15 -0
- package/dist/types-chunks/{types.d-Bm_y6YuM.d.ts → types.d-DVDTIfB_.d.ts} +4 -4
- package/dist/types-chunks/{utils.d-D0wPxz8y.d.ts → utils.d-CVp6bFl9.d.ts} +23 -7
- package/docs/SDK_EMBEDDER_GUIDE.md +592 -119
- package/package.json +9 -1
- package/scripts/kodax-bin.cjs +28 -28
- package/scripts/production-env.cjs +25 -25
- package/dist/chunks/agent-7X5CFET2.js +0 -2
- package/dist/chunks/argument-completer-3NHIKB4N.js +0 -2
- package/dist/chunks/chunk-4PWPNCNK.js +0 -158
- package/dist/chunks/chunk-7FJNLJLF.js +0 -369
- package/dist/chunks/chunk-COQYLD4U.js +0 -5
- package/dist/chunks/chunk-D3T24FJW.js +0 -78
- package/dist/chunks/chunk-EI4JBQKL.js +0 -46
- package/dist/chunks/chunk-HGT6WQ24.js +0 -321
- package/dist/chunks/chunk-HS3XHF3R.js +0 -622
- package/dist/chunks/chunk-IDCGNQ4H.js +0 -5
- package/dist/chunks/chunk-KAY2XLCP.js +0 -74
- package/dist/chunks/chunk-OD6LVXU6.js +0 -329
- package/dist/chunks/chunk-OSF3H4RR.js +0 -22
- package/dist/chunks/chunk-TGMBHGZO.js +0 -427
- package/dist/chunks/chunk-VWSLC2WO.js +0 -770
- package/dist/chunks/chunk-Y3AMP22L.js +0 -37
- package/dist/chunks/compaction-config-7J2XE35D.js +0 -2
- package/dist/chunks/dist-2RA7LSH3.js +0 -2
- package/dist/chunks/dist-URKXBOC6.js +0 -2
- package/dist/chunks/host-RKZ2OGFT.js +0 -2
- package/dist/chunks/run-manager-7RM4HEH6.js +0 -2
- package/dist/chunks/utils-X3TEH6IO.js +0 -2
- package/dist/types-chunks/center-types.d-BBT122uJ.d.ts +0 -91
package/dist/sdk-agent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @kodax-ai/kodax — bundled distribution. See docs/ADR.md ADR-022 + ADR-024.
|
|
2
|
-
import{$ as Jo,$a as Pr,$b as Rf,$c as Rm,$d as Rp,A as xo,Aa as ar,Ab as kf,Ac as km,Ad as kp,Ae as kt,B as ao,Ba as br,Bb as lf,Bc as lm,Bd as lp,Be as lt,C as bo,Ca as kr,Cb as nf,Cc as nm,Cd as np,Ce as nt,D as co,Da as lr,Db as qf,Dc as qm,Dd as qp,De as qt,E as go,Ea as nr,Eb as sf,Ec as sm,Ed as sp,F as ho,Fa as qr,Fb as uf,Fc as um,Fd as up,G as io,Ga as sr,Gb as vf,Gc as vm,Gd as vp,H as jo,Ha as ur,Hb as wf,Hc as wm,Hd as wp,I as ko,Ia as vr,Ib as yf,Ic as ym,Id as yp,J as lo,Ja as wr,Jb as zf,Jc as zm,Jd as zp,K as no,Ka as yr,Kb as Af,Kc as Am,Kd as Ap,L as qo,La as zr,Lb as Bf,Lc as Bm,Ld as Bp,M as so,Ma as Ar,Mb as Cf,Mc as Cm,Md as Cp,N as uo,Na as Br,Nb as Df,Nc as Dm,Nd as Dp,O as vo,Oa as Cr,Ob as Ef,Oc as Em,Od as Ep,P as wo,Pa as Dr,Pb as Ff,Pc as Fm,Pd as Fp,Q as yo,Qa as Er,Qb as Gf,Qc as Gm,Qd as Gp,R as zo,Ra as Fr,Rb as Hf,Rc as Hm,Rd as Hp,S as Ao,Sa as Gr,Sb as If,Sc as Im,Sd as Ip,T as Bo,Ta as Hr,Tb as Jf,Tc as Jm,Td as Jp,U as Co,Ua as Ir,Ub as Kf,Uc as Km,Ud as Kp,V as Do,Va as Jr,Vb as Lf,Vc as Lm,Vd as Lp,W as Eo,Wa as Kr,Wb as Mf,Wc as Mm,Wd as Mp,X as Fo,Xa as Lr,Xb as Nf,Xc as Nm,Xd as Np,Y as Go,Ya as Mr,Yb as Of,Yc as Om,Yd as Op,Z as Ho,Za as Nr,Zb as Pf,Zc as Pm,Zd as Pp,_ as Io,_a as Or,_b as Qf,_c as Qm,_d as Qp,a as G,aa as Ko,ab as Qr,ac as Sf,ad as Sm,ae as Sp,b as H,ba as Lo,bb as Rr,bc as Tf,bd as Tm,be as Tp,c as I,ca as Mo,cb as Sr,cc as Uf,cd as Um,ce as Up,d as J,da as No,db as Tr,dc as Vf,dd as Vm,de as Vp,e as K,ea as Oo,eb as Ur,ec as Wf,ed as Wm,ee as Wp,f as L,fa as Po,fb as Vr,fc as Xf,fd as Xm,fe as Xp,g as M,ga as Qo,gb as Wr,gc as Yf,gd as Ym,ge as Yp,h as N,ha as Ro,hb as Xr,hc as Zf,hd as Zm,he as Zp,i as O,ia as So,ib as Yr,ic as _f,id as _m,ie as _p,j as P,ja as To,jb as Zr,jc as $f,jd as $m,je as $p,k as Q,ka as Uo,kb as _r,kc as om,kd as op,ke as ot,l as R,la as Vo,lb as $r,lc as rm,ld as rp,le as rt,m as S,ma as Wo,mb as oe,mc as em,md as ep,me as et,n as T,na as Xo,nb as re,nc as fm,nd as fp,ne as ft,o as U,oa as Yo,ob as ee,oc as mm,od as mp,oe as mt,p as V,pa as Zo,pb as fe,pc as pm,pd as pp,pe as pt,q as W,qa as _o,qb as me,qc as tm,qd as tp,qe as tt,r as X,ra as $o,rb as pe,rc as xm,rd as xp,re as xt,s as $,sa as or,sb as te,sc as am,sd as ap,se as at,t as oo,ta as rr,tb as xe,tc as bm,td as bp,te as bt,u as ro,ua as er,ub as ae,uc as cm,ud as cp,ue as ct,v as eo,va as fr,vb as be,vc as dm,vd as dp,ve as dt,w as fo,wa as mr,wb as ce,wc as gm,wd as gp,we as gt,x as mo,xa as pr,xb as de,xc as hm,xd as hp,xe as ht,y as po,ya as tr,yb as hf,yc as im,yd as ip,ye as it,z as to,za as xr,zb as jf,zc as jm,zd as jp,ze as jt}from"./chunks/chunk-VWSLC2WO.js";import{$ as $e,A as De,B as Ee,C as Fe,D as Ge,E as He,F as Ie,G as Je,K as Ke,L as Le,M as Me,N as Ne,O as Oe,P as Pe,Q as Qe,R as Re,S as Se,T as Te,U as Ue,V as Ve,W as We,X as Xe,Y as Ye,Z as Ze,_ as _e,a as Y,aa as of,b as Z,ba as rf,c as _,ca as ef,d as cr,da as ff,e as dr,ea as mf,f as gr,fa as pf,g as hr,ga as tf,h as ir,ha as xf,i as jr,ia as af,j as ge,ja as bf,k as he,ka as cf,l as ie,la as df,m as je,ma as gf,n as ke,o as le,p as ne,q as qe,r as se,s as ue,t as ve,u as we,v as ye,w as ze,x as Ae,y as Be,z as Ce}from"./chunks/chunk-Y3AMP22L.js";import{A,B,C,D,E,F,a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s,v as u,w as v,x as w,y,z}from"./chunks/chunk-COQYLD4U.js";import"./chunks/chunk-EI4JBQKL.js";import"./chunks/chunk-ONUPGMER.js";export{Mr as ASK_USER_BACK_SIGNAL,Nr as ASK_USER_CUSTOM_INPUT_SIGNAL,nt as AgentActorController,it as AgentBudgetExhaustedError,bt as AgentCancellationUncertainError,kt as AgentControlError,ht as AgentLimitReachedError,jt as AgentRevisionConflictError,at as AgentStartUncertainError,lt as AgentTurnScheduler,kr as CAPABILITY_CACHE_FILENAME,Sm as COMPACTED_HISTORY_RECOVERY_GUIDANCE,Jm as COMPACTION_PROTECTION_RATIO,Rm as COMPACTION_SUMMARY_PREFIX,S as CONTEXT_SAFETY_FLOOR_TOKENS,T as CONTEXT_SAFETY_RATIO,ar as CORE_INVARIANTS,jo as ConsoleTracingProcessor,U as ContextCapacityError,Gm as DEFAULT_COMPACTION_TRIGGER_PERCENT,Ep as DEFAULT_CONTEXT_WINDOW,Yr as DEFAULT_IDLE_YIELD_MAX_ITERATIONS,vp as DEFAULT_MICROCOMPACTION_CONFIG,Ym as DEFAULT_POST_COMPACT_CONFIG,Bm as DEFAULT_SUMMARY_PROMPT,Co as DEFAULT_SYSTEM_CAP,Cm as DEFAULT_UPDATE_SUMMARY_PROMPT,eo as DefaultSummaryCompaction,Ar as ELECTRON_NODE_ENV_SCRUB_IMPORT,zr as ELECTRON_RUN_AS_NODE_ENV,ct as ExternalAgentRegistrationConflictError,Ap as FileExtensionStore,Pf as FileLearningCenterService,ko as FileTracingProcessor,Qo as GuardrailBlockedError,Ro as GuardrailEscalateError,wr as HARDENED_ENV_VARS,yr as HARDENING_OPT_OUT_ENV,r as ImageResizeError,Io as InvariantSession,O as KODAX_API_MIN_INTERVAL,H as KODAX_DEFAULT_TIMEOUT,n as KODAX_FILE_MEDIA_TYPES,I as KODAX_HARD_TIMEOUT,k as KODAX_IMAGE_MEDIA_TYPES,L as KODAX_MAX_INCOMPLETE_RETRIES,M as KODAX_MAX_MAXTOKENS_RETRIES,J as KODAX_MAX_RETRIES,G as KODAX_MAX_TOKENS,K as KODAX_RETRY_BASE_DELAY,N as KODAX_STAGGER_DELAY,l as KODAX_VIDEO_MEDIA_TYPES,o as KodaXMediaError,im as LINEAGE_ENTRY_TYPES,Mf as LearnedAreaStore,Ff as LearningCapabilityError,km as LineageCompaction,jm as LineageExtension,Im as MAX_COMPACTION_TRIGGER_PERCENT,x as MAX_DIMENSION,Ce as MAX_ENTRYPOINT_BYTES,Be as MAX_ENTRYPOINT_LINES,lf as MAX_SKILL_MD_BYTES,nf as MAX_SKILL_SUPPORT_FILE_BYTES,Ko as MAX_TOOL_LOOP_ITERATIONS,je as MEMORY_POLICY_VERSION,Hm as MIN_COMPACTION_TRIGGER_PERCENT,_f as McpAuthRequiredError,cm as McpCapabilityProvider,Zf as McpExpiredSessionError,dm as McpManager,bm as McpServerRuntime,xf as MemoryControlPlane,u as MessageQueue,g as PASTE_TMP_DIR_ENV,h as PASTE_TMP_TTL_MS,Xm as POST_COMPACT_MAX_TOKENS_PER_FILE,Wm as POST_COMPACT_TOKEN_BUDGET,P as PROMISE_PATTERN,Qm as PROTECTED_TOOL_NAMES,Sr as QueuedInputArtifactError,fr as Runner,Ze as SkillExecutor,Ve as SkillRegistry,fo as SpanImpl,a as TARGET_RAW_SIZE_BYTES,ho as Tracer,Se as VariableResolver,Vp as WORKFLOW_CAPSULE_API_VERSION,Tp as WORKFLOW_CAPSULE_FORMAT,Up as WORKFLOW_CAPSULE_VERSION,Lp as WORKFLOW_PATTERN_IDS,_p as WorkflowAbortError,ot as WorkflowBudgetError,Hp as WorkflowEventRecorder,$p as WorkflowLimitError,Pp as WorkflowScriptExecutionError,rt as WorkflowTaskFailedError,C as YIELD_TOOL_NAMES,bo as _emitSpanEnd,ao as _emitSpanStart,co as _emitTraceEnd,xo as _getRegisteredProcessors,B as _resetActiveRootQueueRoutesForTests,Ao as _resetAdmissionMetrics,Ho as _resetAdmittedAgentBindings,vo as _resetInvariantRegistry,w as _resetMessageQueueForTests,rr as _resetPresetDispatchers,y as actorQueueId,po as addTracingProcessor,sp as appendGoalEntry,qm as appendMemoryClientNotice,lm as appendMemoryOutcomeDigest,nm as appendMemoryReviewReceipt,pp as appendSessionLineageLabel,xp as applyLineageTruncation,lo as applyManifestPatch,Br as applyProcessHardening,tp as applySessionCompaction,sf as applySkillLearningProposal,uf as approveStoredLearningProposal,ip as archiveOldIslands,Pr as asSingleSelection,Hf as assertLearnedCapabilityTransition,Op as assertRestrictedWorkflowQuality,_o as attachRunnerRecoveryTranscript,pe as bootstrapTeamMode,Oo as buildAssistantMessageFromLlmResult,Dm as buildCompactionCacheInstruction,Em as buildCompactionPromptSnapshot,$m as buildFileContentMessages,am as buildInitializeCapabilities,re as buildOtherInstancesPromptBlock,Zm as buildPostCompactAttachments,zp as buildRecoverySeed,gp as buildSessionTree,er as buildSystemPrompt,Po as buildToolResultMessage,Zp as buildWorkflowCapsuleIntent,Gp as buildWorkflowOutcome,V as calculateContextSafetyMargin,X as calculateMaxContextInputTokens,jf as canMarkCreatedByAgent,Gf as canTransitionLearnedCapability,xe as cleanupIncompleteToolCalls,Lr as cleanupRegisteredManagedChildren,ur as clearCapabilityCache,He as clearPluginSkillPaths,So as collectGuardrails,Mm as collectUserQueryLedger,Vm as compact,cf as completeEpisodeReview,Xr as composeIdleYieldUserMessage,no as composePatches,Df as computeSkillConsumerImpact,hp as countActiveLineageMessages,Ur as countLastAssistantToolCalls,R as countTokens,$ as createAgent,qt as createAgentActorController,dt as createAgentExecutorPlane,_e as createExecutor,Bp as createExtensionStore,p as createFileArtifactFromPath,oo as createHandoff,m as createImageArtifactFromPath,ro as createInMemorySession,Jo as createInvariantSessionForAgent,Qf as createLearningCenterService,de as createLlmJudgedStopHook,Uf as createMcpCapabilityId,gm as createMcpManager,hm as createMcpTestServerFixture,$f as createMcpTransport,xt as createMemoryAgentExecutorPlaneStore,tf as createMemoryControlPlane,gt as createReferenceAgentExecutorFactory,Te as createResolver,Sp as createRestrictedWorkflowModule,op as createSessionLineage,$r as createStateWriter,mo as createTrace,t as createVideoArtifactFromPath,Xp as createWorkflowCapsule,Yp as createWorkflowModuleFromCapsule,Kp as createWorkflowProcessTracker,pt as createWorkflowRunManager,ft as createWorkflowRuntime,kf as decideSkillGovernance,Tf as defaultMcpCacheDir,io as defaultTracer,Xo as detectHandoffSignal,Vr as detectIdleYield,Do as detectInstructionsInjection,fm as discoverAuthorizationServerMetadata,oe as discoverInstances,mm as discoverOAuthEndpoints,em as discoverProtectedResourceMetadata,Oe as discoverSkills,Qe as discoverSkillsWithMonorepo,gf as drainPendingEpisodeReviews,ae as editDistance,Zo as emitHandoffSpan,Z as emitKodaXDiagnostic,F as enqueueWithArtifacts,Q as estimateTokens,Nf as eventFromCapability,ap as evictOldIslandMessageContent,pr as evidenceTrail,W as exceedsContextCapacity,No as executeRunnerToolCall,$e as executeSkill,of as expandSkillForLLM,ym as extractArtifactLedger,mr as extractAssistantTextFromMessage,vm as extractFileOps,rm as extractInsufficientScope,om as extractResourceMetadataUrl,um as extractTitleFromMessages,tr as finalOwner,be as findFuzzyToolMatch,bp as findPreviousUserEntryId,dp as forkSessionLineage,_ as formatKodaXDiagnostic,rf as formatSkillActivationMessage,sm as generateSessionId,Fm as generateSummary,fe as getActiveTeamModeWriter,Rr as getActiveUserInteraction,zo as getAdmissionMetricsSnapshot,Go as getAdmittedAgentBindings,dr as getAgentConfigHome,gr as getAgentConfigPath,jr as getAppDataDir,qr as getCachedRejectedEfforts,lr as getCapabilityCacheFile,Ie as getDefaultSkillPaths,tt as getDefaultWorkflowRunManager,so as getInvariant,Rf as getLearnedExtensionToolName,Yf as getMcpCachePaths,v as getMessageQueue,q as getModelInputCapabilities,Pe as getNestedSkillPaths,rp as getSessionLineagePath,ep as getSessionMessagesFromLineage,Je as getSkillPathsFlat,We as getSkillRegistry,Dp as gracefulCompactDegradation,xr as handoffLegality,le as hashCwd,he as hashMemoryIdentityComponent,e as inferImageMediaType,f as inferVideoMediaType,Xe as initializeSkillRegistry,_m as injectPostCompactAttachments,ce as invokeLlmJudge,Bo as isAdmissionDebugEnabled,Or as isAskUserCustomInputAnswer,ve as isAutoManagedMemoryFile,Er as isChildProcessExited,Tm as isEmptyLikeSummary,Ip as isFinalWorkflowProcessStatus,up as isGoalEntry,Tr as isIdleYieldEnabled,Sf as isLearnedExtensionCommandAllowed,hr as isPathInsideDirectory,Lo as isRunnableTool,Mo as isRunnerLlmResult,Ir as killChildProcessTree,Jr as killChildProcessTreeSync,Gr as killPidTree,Hr as killPidTreeSync,Kf as learningEventIdFor,Jf as learningEventKindForLifecycle,Np as lintRestrictedWorkflowSource,bf as listPendingEpisodeReviews,Ge as listPluginSkillPaths,uo as listRegisteredInvariants,nr as loadCapabilityCache,Me as loadFullSkill,Ne as loadSkillFileContent,Le as loadSkillMetadata,xm as loadValidToken,ge as matchesMemoryApplicability,E as maybeDrainMidTurn,ie as memoryApplicabilityFingerprint,zm as mergeArtifactLedger,wm as mergeFileOps,Nm as mergeUserQueryLedger,wp as microcompact,D as midTurnDrainPriority,Um as needsCompaction,Km as normalizeCompactionConfig,Jp as normalizeHostMetadata,Vf as normalizeMcpCapabilityId,b as normalizePastedImage,yp as normalizeRecoveryPrompt,et as normalizeWorkflowLimits,Re as parseArguments,Wf as parseMcpCapabilityId,ze as parseMemoryFile,ye as parseMemoryType,we as parseMemoryTypeFromFilename,Ae as parseScalarFields,Ke as parseSkillMarkdown,Pm as parseUserQueryLedger,tm as performOAuthLogin,lp as persistCompactedSessionHistory,i as persistImageAsBlock,af as persistPendingEpisodeReview,Cr as prepareInternalNodeLaunch,Of as projectLearningProposals,j as prunePasteTmpDir,d as readAndNormalizeClipboardImage,c as readClipboardImage,np as readLatestGoalFromBranch,qp as readLatestGoalState,ef as readLearningProposalStore,$o as readRunnerRecoveryTranscript,kp as readSessionHistoryEntry,Bf as readSkillTrustLedger,zf as readSkillUsageLedger,Ef as recordCompletedTurnLearning,vf as recordProceduralLearning,sr as recordRejectedEffort,Af as recordSkillUsage,z as registerActiveRootQueueRoute,br as registerCoreInvariants,qo as registerInvariant,Kr as registerManagedChildProcess,pm as registerOAuthClient,Ee as registerPluginSkillPath,or as registerPresetDispatcher,Om as renderUserQueryLedger,Yo as replaceSystemMessage,vr as resetCapabilityCacheMemoForTesting,Ye as resetSkillRegistry,A as resolveActiveRootQueueRoute,Lm as resolveCompactionPolicy,Fp as resolveContextWindow,yo as resolveEffectiveInvariants,ir as resolveExecutionPath,Lf as resolveLearnedAreaPaths,mf as resolveLearningProposalStore,se as resolveMemoryEntrypoint,qe as resolveMemoryRoot,wo as resolveRequiredInvariants,ue as resolveScopedMemoryRoot,fp as resolveSessionLineageTarget,Ue as resolveSkillContent,qf as resolveSkillSnapshotLocation,yf as resolveSkillTrustLedger,wf as resolveSkillUsageLedger,df as rewindPendingEpisodeReviews,cp as rewindSessionLineage,Eo as runAdmissionAudit,_r as runFanOut,To as runInputGuardrails,Uo as runOutputGuardrails,Rp as runRestrictedWorkflowScript,Wo as runToolAfterGuardrails,Vo as runToolBeforeGuardrails,Zr as runWithIdleYield,mt as runWorkflow,ke as sanitizeProjectKey,Xf as searchMcpCatalog,jp as searchSessionHistory,Am as serializeConversation,ee as setActiveTeamModeWriter,Qr as setActiveUserInteraction,Fo as setAdmittedAgentBindings,cr as setAgentConfigHome,Y as setKodaXDiagnosticSink,mp as setSessionLineageActiveEntry,to as setTracingProcessors,Cp as shouldCompact,go as shutdownTracing,If as slugifyLearnedCapabilityName,Dr as stripHardenedEnvVars,hf as triageProceduralLearning,De as truncateEntrypointContent,ne as tryGitRemote,Fe as unregisterPluginSkillPath,me as updateActiveTeamMode,pf as updateLearningProposalStatus,Cf as updateSkillTrustLedger,ff as upsertLearningProposal,te as validateAndFixToolHistory,s as validateInputArtifactsForModel,Qp as validateRestrictedWorkflowSource,Wp as validateWorkflowCapsule,Mp as validateWorkflowScriptManifest,Fr as waitForChildProcessExit,Wr as waitForWakeEvent};
|
|
2
|
+
import{$ as mo,$a as dr,$b as dp,$c as dt,$d as dx,A as F,Aa as Mo,Ab as Mm,Ac as Mp,Ad as Mt,B as G,Ba as No,Bb as Nm,Bc as Np,Bd as Nt,C as H,Ca as Oo,Cb as Om,Cc as Op,Cd as Ot,D as I,Da as Po,Db as Pm,Dc as Pp,Dd as Pt,E as J,Ea as Qo,Eb as Qm,Ec as Qp,Ed as Qt,F as K,Fa as Ro,Fb as Rm,Fc as Rp,Fd as Rt,G as L,Ga as So,Gb as Sm,Gc as Sp,Gd as St,H as M,Ha as To,Hb as Tm,Hc as Tp,Hd as Tt,I as N,Ia as Uo,Ib as Um,Ic as Up,Id as Ut,J as O,Ja as Vo,Jb as Vm,Jc as Vp,Jd as Vt,K as P,Ka as Wo,Kb as Wm,Kc as Wp,Kd as Wt,L as Q,La as Xo,Lb as Xm,Lc as Xp,Ld as Xt,M as R,Ma as Yo,Mb as Ym,Mc as Yp,Md as Yt,N as S,Na as Zo,Nb as Zm,Nc as Zp,Nd as Zt,O as T,Oa as _o,Ob as _m,Oc as _p,Od as _t,P as U,Pa as $o,Pb as $m,Pc as $p,Pd as $t,Q as V,Qa as or,Qb as op,Qc as ot,Qd as ox,R as W,Ra as rr,Rb as rp,Rc as rt,Rd as rx,S as X,Sa as er,Sb as ep,Sc as et,Sd as ex,T as Y,Ta as fr,Tb as fp,Tc as ft,Td as fx,U as Z,Ua as mr,Ub as mp,Uc as mt,Ud as mx,V as _,Va as pr,Vb as pp,Vc as pt,Vd as px,W as $,Wa as tr,Wb as tp,Wc as tt,Wd as tx,X as oo,Xa as xr,Xb as xp,Xc as xt,Xd as xx,Y as ro,Ya as ar,Yb as ap,Yc as at,Yd as ax,Z as eo,Za as br,Zb as bp,Zc as bt,Zd as bx,_ as fo,_a as cr,_b as cp,_c as ct,_d as cx,a as o,aa as po,ab as Sr,ac as gp,ad as gt,ae as gx,b as r,ba as to,bb as Tr,bc as hp,bd as ht,c as e,ca as xo,cb as Ur,cc as ip,cd as it,d as f,da as ao,db as Vr,dc as jp,dd as jt,e as m,ea as bo,eb as Wr,ec as kp,ed as kt,f as p,fa as co,fb as Xr,fc as lp,fd as lt,g as t,ga as go,gb as Yr,gc as np,gd as nt,h as x,ha as ho,hb as Zr,hc as qp,hd as qt,i as a,ia as io,ib as _r,ic as sp,id as st,j as b,ja as jo,jb as $r,jc as up,jd as ut,k as g,ka as ko,kb as oe,kc as vp,kd as vt,l as h,la as lo,lb as re,lc as wp,ld as wt,m as i,ma as no,mb as ee,mc as yp,md as yt,n as j,na as qo,nb as fe,nc as zp,nd as zt,o as k,oa as so,ob as me,oc as Ap,od as At,p as l,pa as uo,pb as pe,pc as Bp,pd as Bt,q as u,qa as vo,qb as te,qc as Cp,qd as Ct,r as v,ra as wo,rb as xe,rc as Dp,rd as Dt,s as w,sa as yo,sb as ae,sc as Ep,sd as Et,t as y,ta as zo,tb as be,tc as Fp,td as Ft,u as z,ua as Ao,ub as ce,uc as Gp,ud as Gt,v as A,va as Bo,vb as de,vc as Hp,vd as Ht,w as B,wa as Co,wb as Im,wc as Ip,wd as It,x as C,xa as Do,xb as Jm,xc as Jp,xd as Jt,y as D,ya as Eo,yb as Km,yc as Kp,yd as Kt,z as E,za as Fo,zb as Lm,zc as Lp,zd as Lt}from"./chunks/chunk-VAT2QYXM.js";import{$ as Ze,$a as _f,A as Be,Aa as zf,Ab as ym,B as Ce,Ba as Af,Bb as zm,C as De,Ca as Bf,Cb as Am,D as Ee,Da as Cf,Db as Bm,E as Fe,Ea as Df,Eb as Cm,F as Ge,Fa as Ef,Fb as Dm,G as He,Ga as Ff,Gb as Em,H as Ie,Ha as Gf,Hb as Fm,I as Je,Ia as Hf,Ib as Gm,Ja as If,Jb as Hm,Ka as Jf,La as Kf,M as Ke,Ma as Lf,N as Le,Na as Mf,O as Me,Oa as Nf,P as Ne,Pa as Of,Q as Oe,Qa as Pf,R as Pe,Ra as Qf,S as Qe,Sa as Rf,T as Re,Ta as Sf,U as Se,Ua as Tf,V as Te,Va as Uf,W as Ue,Wa as Vf,X as Ve,Xa as Wf,Y as We,Ya as Xf,Z as Xe,Za as Yf,_ as Ye,_a as Zf,a as c,aa as _e,ab as $f,b as d,ba as $e,bb as om,c as n,ca as of,cb as rm,d as q,da as rf,db as em,e as s,ea as ef,eb as fm,f as Go,fa as ff,fb as mm,g as Ho,ga as mf,gb as pm,h as Io,ha as pf,i as Jo,ia as tf,ib as tm,j as Ko,ja as xf,jb as xm,k as Lo,ka as af,kb as am,l as ge,la as bf,lb as bm,m as he,ma as cf,mb as cm,n as ie,na as df,nb as dm,o as je,oa as gf,ob as gm,p as ke,pa as hf,pb as hm,q as le,qa as jf,qb as im,r as ne,ra as kf,rb as jm,s as qe,sa as lf,sb as km,t as se,ta as nf,tb as lm,u as ue,ua as qf,ub as nm,v as ve,va as sf,vb as qm,w as we,wa as uf,wb as sm,x as ye,xa as vf,xb as um,y as ze,ya as wf,yb as vm,z as Ae,za as yf,zb as wm}from"./chunks/chunk-6XM4B6K2.js";import{A as Mr,B as Nr,C as Or,D as Pr,E as Qr,F as Rr,a as gr,b as hr,c as ir,d as jr,e as kr,f as lr,g as nr,h as qr,i as sr,j as ur,k as vr,l as wr,m as yr,n as zr,o as Ar,p as Br,q as Cr,r as Dr,s as Er,t as Fr,u as Gr,v as Hr,w as Ir,x as Jr,y as Kr,z as Lr}from"./chunks/chunk-2CFHBKRE.js";import"./chunks/chunk-NXO6GWSY.js";import"./chunks/chunk-ONUPGMER.js";export{tr as ASK_USER_BACK_SIGNAL,xr as ASK_USER_CUSTOM_INPUT_SIGNAL,dx as AgentActorController,tx as AgentActorStoreConflictError,mx as AgentBudgetExhaustedError,$t as AgentCancellationUncertainError,bx as AgentControlError,fx as AgentLimitReachedError,xx as AgentOwnerConflictError,ax as AgentOwnerUnknownError,px as AgentRevisionConflictError,_t as AgentStartUncertainError,cx as AgentTurnScheduler,Mo as CAPABILITY_CACHE_FILENAME,Cp as COMPACTED_HISTORY_RECOVERY_GUIDANCE,qp as COMPACTION_PROTECTION_RATIO,Bp as COMPACTION_SUMMARY_PREFIX,g as CONTEXT_SAFETY_FLOOR_TOKENS,h as CONTEXT_SAFETY_RATIO,Eo as CORE_INVARIANTS,K as ConsoleTracingProcessor,i as ContextCapacityError,kp as DEFAULT_COMPACTION_TRIGGER_PERCENT,st as DEFAULT_CONTEXT_WINDOW,Yr as DEFAULT_IDLE_YIELD_MAX_ITERATIONS,gt as DEFAULT_MICROCOMPACTION_CONFIG,Ip as DEFAULT_POST_COMPACT_CONFIG,dp as DEFAULT_SUMMARY_PROMPT,X as DEFAULT_SYSTEM_CAP,gp as DEFAULT_UPDATE_SUMMARY_PROMPT,y as DefaultSummaryCompaction,Wo as ELECTRON_NODE_ENV_SCRUB_IMPORT,Vo as ELECTRON_RUN_AS_NODE_ENV,cm as EpisodeReviewBranchChangedError,bm as EpisodeReviewFailure,ox as ExternalAgentRegistrationConflictError,kt as FileExtensionStore,qf as FileLearningCenterService,L as FileTracingProcessor,bo as GuardrailBlockedError,co as GuardrailEscalateError,To as HARDENED_ENV_VARS,Uo as HARDENING_OPT_OUT_ENV,wr as ImageResizeError,ro as InvariantSession,a as KODAX_API_MIN_INTERVAL,r as KODAX_DEFAULT_TIMEOUT,Or as KODAX_FILE_MEDIA_TYPES,e as KODAX_HARD_TIMEOUT,Mr as KODAX_IMAGE_MEDIA_TYPES,p as KODAX_MAX_INCOMPLETE_RETRIES,t as KODAX_MAX_MAXTOKENS_RETRIES,f as KODAX_MAX_RETRIES,o as KODAX_MAX_TOKENS,m as KODAX_RETRY_BASE_DELAY,x as KODAX_STAGGER_DELAY,Nr as KODAX_VIDEO_MEDIA_TYPES,vr as KodaXMediaError,fp as LINEAGE_ENTRY_TYPES,kf as LearnedAreaStore,af as LearningCapabilityError,pp as LineageCompaction,mp as LineageExtension,np as MAX_COMPACTION_TRIGGER_PERCENT,Dr as MAX_DIMENSION,Ce as MAX_ENTRYPOINT_BYTES,Be as MAX_ENTRYPOINT_LINES,Re as MAX_SKILL_MD_BYTES,Se as MAX_SKILL_SUPPORT_FILE_BYTES,fo as MAX_TOOL_LOOP_ITERATIONS,je as MEMORY_POLICY_VERSION,lp as MIN_COMPACTION_TRIGGER_PERCENT,Pm as McpAuthRequiredError,$m as McpCapabilityProvider,Om as McpExpiredSessionError,op as McpManager,_m as McpServerRuntime,am as MemoryControlPlane,gr as MessageQueue,Ir as PASTE_TMP_DIR_ENV,Jr as PASTE_TMP_TTL_MS,Hp as POST_COMPACT_MAX_TOKENS_PER_FILE,Gp as POST_COMPACT_TOKEN_BUDGET,b as PROMISE_PATTERN,Ap as PROTECTED_TOOL_NAMES,Sr as QueuedInputArtifactError,zo as Runner,rm as SkillExecutor,Zf as SkillRegistry,z as SpanImpl,Er as TARGET_RAW_SIZE_BYTES,I as Tracer,Wf as VariableResolver,Lt as WORKFLOW_CAPSULE_API_VERSION,Jt as WORKFLOW_CAPSULE_FORMAT,Kt as WORKFLOW_CAPSULE_VERSION,Bt as WORKFLOW_PATTERN_IDS,Qt as WorkflowAbortError,St as WorkflowBudgetError,wt as WorkflowEventRecorder,Rt as WorkflowLimitError,Ft as WorkflowScriptExecutionError,Tt as WorkflowTaskFailedError,qr as YIELD_TOOL_NAMES,F as _emitSpanEnd,E as _emitSpanStart,G as _emitTraceEnd,D as _getRegisteredProcessors,nr as _resetActiveRootQueueRoutesForTests,V as _resetAdmissionMetrics,oo as _resetAdmittedAgentBindings,R as _resetInvariantRegistry,ir as _resetMessageQueueForTests,wo as _resetPresetDispatchers,jr as actorQueueId,B as addTracingProcessor,Nf as admitAndRecordLearnedSkillInvocation,Ef as admitLearnedSkillBinding,ct as appendGoalEntry,et as appendMemoryClientNotice,$p as appendMemoryOutcomeDigest,ot as appendMemoryReviewReceipt,Rp as appendSessionLineageLabel,Tp as applyLineageTruncation,M as applyManifestPatch,Xo as applyProcessHardening,Sp as applySessionCompaction,Ze as applySkillLearningProposal,_e as approveStoredLearningProposal,_p as archiveOldIslands,br as asSingleSelection,cf as assertLearnedCapabilityTransition,Et as assertRestrictedWorkflowQuality,so as attachRunnerRecoveryTranscript,pe as bootstrapTeamMode,xo as buildAssistantMessageFromLlmResult,hp as buildCompactionCacheInstruction,ip as buildCompactionPromptSnapshot,Lp as buildFileContentMessages,Zm as buildInitializeCapabilities,re as buildOtherInstancesPromptBlock,Jp as buildPostCompactAttachments,jt as buildRecoverySeed,Yp as buildSessionTree,yo as buildSystemPrompt,ao as buildToolResultMessage,Pt as buildWorkflowCapsuleIntent,vt as buildWorkflowOutcome,j as calculateContextSafetyMargin,l as calculateMaxContextInputTokens,Pe as canMarkCreatedByAgent,bf as canTransitionLearnedCapability,dm as captureEpisodeReviewBranchEpoch,hm as claimEpisodeReview,xe as cleanupIncompleteToolCalls,pr as cleanupRegisteredManagedChildren,Ro as clearCapabilityCache,He as clearPluginSkillPaths,go as collectGuardrails,vp as collectUserQueryLedger,km as commitEpisodeReviewAction,jm as commitEpisodeReviewDecision,Df as commitLearnedSkillRevision,Fp as compact,zm as completeEpisodeReview,um as completeFencedEpisodeReview,Hf as completeLearnedSkillOutcome,Of as completeLearnedSkillSessionOutcomes,Xr as composeIdleYieldUserMessage,N as composePatches,tf as computeSkillConsumerImpact,Zp as countActiveLineageMessages,Ur as countLastAssistantToolCalls,d as countTokens,u as createAgent,gx as createAgentActorController,rx as createAgentExecutorPlane,em as createExecutor,lt as createExtensionStore,Br as createFileArtifactFromPath,v as createHandoff,Ar as createImageArtifactFromPath,w as createInMemorySession,eo as createInvariantSessionForAgent,yf as createLearnedCapabilityScope,Kf as createLearnedSkillActionDriver,Cf as createLearnedSkillRecord,sf as createLearningCenterService,de as createLlmJudgedStopHook,Jm as createMcpCapabilityId,rp as createMcpManager,ep as createMcpTestServerFixture,Qm as createMcpTransport,Zt as createMemoryAgentExecutorPlaneStore,xm as createMemoryControlPlane,ex as createReferenceAgentExecutorFactory,Xf as createResolver,It as createRestrictedWorkflowModule,Mp as createSessionLineage,$r as createStateWriter,A as createTrace,Cr as createVideoArtifactFromPath,Nt as createWorkflowCapsule,Ot as createWorkflowModuleFromCapsule,At as createWorkflowProcessTracker,Xt as createWorkflowRunManager,Vt as createWorkflowRuntime,Qe as decideSkillGovernance,Im as defaultMcpCacheDir,J as defaultTracer,sm as deferEpisodeReview,lo as detectHandoffSignal,Vr as detectIdleYield,Y as detectInstructionsInjection,vm as discardFencedEpisodeReview,Um as discoverAuthorizationServerMetadata,oe as discoverInstances,Vm as discoverOAuthEndpoints,Tm as discoverProtectedResourceMetadata,Sf as discoverSkills,Uf as discoverSkillsWithMonorepo,Em as drainPendingEpisodeReviews,ae as editDistance,qo as emitHandoffSpan,q as emitKodaXDiagnostic,Rr as enqueueWithArtifacts,c as estimateTokens,lf as eventFromCapability,Up as evictOldIslandMessageContent,Bo as evidenceTrail,Rf as exactInvokedSkillSnapshotForSession,k as exceedsContextCapacity,to as executeRunnerToolCall,fm as executeSkill,mm as expandSkillForLLM,ap as extractArtifactLedger,Ao as extractAssistantTextFromMessage,tp as extractFileOps,Sm as extractInsufficientScope,Rm as extractResourceMetadataUrl,mt as extractTitleFromMessages,qm as failEpisodeReviewApply,nm as failEpisodeReviewAttempt,Cm as fencePendingEpisodeReviewsForSession,Co as finalOwner,be as findFuzzyToolMatch,Vp as findPreviousUserEntryId,Xp as forkSessionLineage,s as formatKodaXDiagnostic,pm as formatSkillActivationMessage,im as freezeEpisodeReviewInput,ft as generateSessionId,jp as generateSummary,rt as getActiveMemoryOutcomeReviewIds,fe as getActiveTeamModeWriter,dr as getActiveUserInteraction,U as getAdmissionMetricsSnapshot,$ as getAdmittedAgentBindings,Ho as getAgentConfigHome,Io as getAgentConfigPath,Lo as getAppDataDir,Po as getCachedRejectedEfforts,No as getCapabilityCacheFile,Ie as getDefaultSkillPaths,Yt as getDefaultWorkflowRunManager,P as getInvariant,uf as getLearnedExtensionToolName,Nm as getMcpCachePaths,hr as getMessageQueue,Pr as getModelInputCapabilities,Tf as getNestedSkillPaths,Np as getSessionLineagePath,Op as getSessionMessagesFromLineage,Je as getSkillPathsFlat,_f as getSkillRegistry,qt as gracefulCompactDegradation,Do as handoffLegality,le as hashCwd,he as hashMemoryIdentityComponent,yr as inferImageMediaType,zr as inferVideoMediaType,$f as initializeSkillRegistry,Kp as injectPostCompactAttachments,wm as inspectEpisodeReviewJob,Gf as invokeLearnedSkillCanary,ce as invokeLlmJudge,W as isAdmissionDebugEnabled,ar as isAskUserCustomInputAnswer,ve as isAutoManagedMemoryFile,_o as isChildProcessExited,Dp as isEmptyLikeSummary,yt as isFinalWorkflowProcessStatus,dt as isGoalEntry,Tr as isIdleYieldEnabled,Jf as isLearnedCapabilityRecordV2,vf as isLearnedExtensionCommandAllowed,Jo as isPathInsideDirectory,mo as isRunnableTool,po as isRunnerLlmResult,Gm as isUnifiedLearningReviewModelInput,er as killChildProcessTree,fr as killChildProcessTreeSync,or as killPidTree,rr as killPidTreeSync,hf as learningEventIdFor,gf as learningEventKindForLifecycle,Dt as lintRestrictedWorkflowSource,Qf as listLearnedSkillUsageReceipts,ym as listPendingEpisodeReviews,Ge as listPluginSkillPaths,Q as listRegisteredInvariants,Oo as loadCapabilityCache,Me as loadFullSkill,Ne as loadSkillFileContent,Le as loadSkillMetadata,Ym as loadValidToken,ge as matchesMemoryApplicability,ur as maybeDrainMidTurn,ie as memoryApplicabilityFingerprint,bp as mergeArtifactLedger,xp as mergeFileOps,wp as mergeUserQueryLedger,ht as microcompact,sr as midTurnDrainPriority,Lf as migrateLegacyLearnedSkillsForProject,Ep as needsCompaction,sp as normalizeCompactionConfig,zt as normalizeHostMetadata,Km as normalizeMcpCapabilityId,Fr as normalizePastedImage,it as normalizeRecoveryPrompt,Hm as normalizeUnifiedLearningReview,Ut as normalizeWorkflowLimits,Vf as parseArguments,Lm as parseMcpCapabilityId,ze as parseMemoryFile,ye as parseMemoryType,we as parseMemoryTypeFromFilename,Ae as parseScalarFields,Ke as parseSkillMarkdown,zp as parseUserQueryLedger,Xm as performOAuthLogin,xt as persistCompactedSessionHistory,Kr as persistImageAsBlock,gm as persistPendingEpisodeReview,Yo as prepareInternalNodeLaunch,nf as projectLearningProposals,Lr as prunePasteTmpDir,If as quarantineLearnedSkillRevision,Hr as readAndNormalizeClipboardImage,Gr as readClipboardImage,at as readLatestGoalFromBranch,bt as readLatestGoalState,Ve as readLearningProposalStore,uo as readRunnerRecoveryTranscript,tt as readSessionHistoryEntry,mf as readSkillTrustLedger,ef as readSkillUsageLedger,Pf as reconcileLearnedSkillBindingOutcomes,xf as recordCompletedTurnLearning,Mf as recordLearnedSkillOffered,$e as recordProceduralLearning,Qo as recordRejectedEffort,ff as recordSkillUsage,kr as registerActiveRootQueueRoute,Fo as registerCoreInvariants,O as registerInvariant,mr as registerManagedChildProcess,Wm as registerOAuthClient,Ee as registerPluginSkillPath,vo as registerPresetDispatcher,Ff as releaseLearnedSkillBinding,Af as renderDeclarativeSkill,yp as renderUserQueryLedger,no as replaceSystemMessage,So as resetCapabilityCacheMemoForTesting,om as resetSkillRegistry,lr as resolveActiveRootQueueRoute,up as resolveCompactionPolicy,ut as resolveContextWindow,T as resolveEffectiveInvariants,Ko as resolveExecutionPath,jf as resolveLearnedAreaPaths,Xe as resolveLearningProposalStore,se as resolveMemoryEntrypoint,qe as resolveMemoryRoot,wf as resolveProjectLearnedAreaRoot,S as resolveRequiredInvariants,ue as resolveScopedMemoryRoot,Pp as resolveSessionLineageTarget,Yf as resolveSkillContent,Te as resolveSkillSnapshotLocation,rf as resolveSkillTrustLedger,of as resolveSkillUsageLedger,Am as rewindPendingEpisodeReviews,Bm as rewindPendingEpisodeReviewsForSession,Wp as rewindSessionLineage,Z as runAdmissionAudit,_r as runFanOut,ho as runInputGuardrails,io as runOutputGuardrails,Ht as runRestrictedWorkflowScript,ko as runToolAfterGuardrails,jo as runToolBeforeGuardrails,Zr as runWithIdleYield,Wt as runWorkflow,ke as sanitizeProjectKey,tm as sanitizePromptSafeMemoryClaim,Fm as sanitizeUnifiedLearningReviewInput,Mm as searchMcpCatalog,pt as searchSessionHistory,cp as serializeConversation,ee as setActiveTeamModeWriter,cr as setActiveUserInteraction,_ as setAdmittedAgentBindings,Go as setAgentConfigHome,n as setKodaXDiagnosticSink,Qp as setSessionLineageActiveEntry,C as setTracingProcessors,nt as shouldCompact,H as shutdownTracing,df as slugifyLearnedCapabilityName,Bf as stageLearnedSkillRevision,Zo as stripHardenedEnvVars,Oe as triageProceduralLearning,De as truncateEntrypointContent,ne as tryGitRemote,Fe as unregisterPluginSkillPath,me as updateActiveTeamMode,Ye as updateLearningProposalStatus,pf as updateSkillTrustLedger,We as upsertLearningProposal,te as validateAndFixToolHistory,zf as validateDeclarativeSkillSpec,Qr as validateInputArtifactsForModel,Gt as validateRestrictedWorkflowSource,Mt as validateWorkflowCapsule,Ct as validateWorkflowScriptManifest,$o as waitForChildProcessExit,Wr as waitForWakeEvent,lm as withEpisodeReviewClaimAuthority,Ue as withKodaXFileLock,Dm as withPendingEpisodeReviewSessionFence};
|
package/dist/sdk-coding.d.ts
CHANGED
|
@@ -1,35 +1,52 @@
|
|
|
1
|
-
import { a1 as KodaXToolDefinition, a3 as KodaXToolResultContentItem, a6 as KodaXToolUseBlock, c as KodaXContentBlock, k as KodaXMessage, p as KodaXProviderCapabilityProfile, B as KodaXReasoningCapability, F as KodaXReasoningMode, V as KodaXTaskType, f as KodaXExecutionMode, U as KodaXTaskRoutingDecision, a9 as KodaXWireReasoningEffort, _ as KodaXThinkingDepth, a0 as KodaXTokenUsage } from './types-chunks/types.d-
|
|
2
|
-
export { b as KodaXChildFanoutClass, d as KodaXCustomProviderConfig, i as KodaXImageBlock, l as KodaXModelDescriptor, n as KodaXNormalizedReasoningRequest, o as KodaXProtocolFamily, q as KodaXProviderConfig, s as KodaXProviderConversationSemantics, v as KodaXProviderMcpSupport, y as KodaXProviderStreamOptions, A as KodaXProviderTransport, C as KodaXReasoningEffortPreset, D as KodaXReasoningEffortRequest, E as KodaXReasoningEffortWireStrategy, G as KodaXReasoningProfile, H as KodaXReasoningRequest, I as KodaXRedactedThinkingBlock, J as KodaXReviewScale, L as KodaXRiskLevel, M as KodaXStableEffortIntent, N as KodaXStreamResult, P as KodaXTaskBudgetOverrides, S as KodaXTaskResultMetadata, T as KodaXTaskResultSource, X as KodaXTextBlock, Y as KodaXThinkingBlock, Z as KodaXThinkingBudgetMap, $ as KodaXThinkingWireStrategy, a2 as KodaXToolResultBlock } from './types-chunks/types.d-
|
|
3
|
-
|
|
4
|
-
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 KodaXError, i as KodaXModelCapabilities, k as KodaXOpenAICompatProvider, l as KodaXProviderError, m as KodaXRateLimitError, P as ProviderName, R as ResolveWireEffortInput, o as ResolvedWireEffort, u as clearRuntimeModelProviders, v as createCustomProvider, w as effortToLegacyReasoningMode, x as getAvailableProviderNames, y as getCustomModelCapabilities, z as getCustomProvider, A as getCustomProviderList, B as getCustomProviderModelDescriptors, C as getCustomProviderModels, D as getCustomProviderNames, F as getModelCapabilities, G as getProvider, H as getProviderConfiguredCapabilityProfile, I as getProviderConfiguredReasoningCapability, J as getProviderList, L as getProviderModel, M as getProviderModelDescriptors, N as getProviderModels, Q as getRuntimeModelProvider, T as getRuntimeModelProviderNames, U as isCustomProviderName, V as isKnownProvider, W as isProviderConfigured, X as isProviderName, Z as isRuntimeModelProviderName, _ as listAllModelCapabilities, $ as listBuiltinModelCapabilities, a0 as listCustomProviderModelCapabilities, a3 as mapLegacyReasoningModeToEffortIntent, a4 as normalizeReasoningEffortValue, a6 as parseReasoningEffortEnv, a7 as registerCustomProviders, a8 as registerModelProvider, a9 as resolveModelCapabilities, aa as resolveProvider, ab as resolveProviderModelDescriptors, ac as resolveReasoningEffort, ad as resolveReasoningEffortForModelSwitch, af as resolveWireEffort, ah as validateCustomProviderConfig } from './types-chunks/side-query.d-DWTMsndP.js';
|
|
5
|
-
import { a as CostTracker } from './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
1
|
+
import { a1 as KodaXToolDefinition, a3 as KodaXToolResultContentItem, a6 as KodaXToolUseBlock, c as KodaXContentBlock, k as KodaXMessage, p as KodaXProviderCapabilityProfile, B as KodaXReasoningCapability, F as KodaXReasoningMode, V as KodaXTaskType, f as KodaXExecutionMode, U as KodaXTaskRoutingDecision, a9 as KodaXWireReasoningEffort, _ as KodaXThinkingDepth, a0 as KodaXTokenUsage } from './types-chunks/types.d-DIpZJKUl.js';
|
|
2
|
+
export { b as KodaXChildFanoutClass, d as KodaXCustomProviderConfig, i as KodaXImageBlock, l as KodaXModelDescriptor, n as KodaXNormalizedReasoningRequest, o as KodaXProtocolFamily, q as KodaXProviderConfig, s as KodaXProviderConversationSemantics, v as KodaXProviderMcpSupport, y as KodaXProviderStreamOptions, A as KodaXProviderTransport, C as KodaXReasoningEffortPreset, D as KodaXReasoningEffortRequest, E as KodaXReasoningEffortWireStrategy, G as KodaXReasoningProfile, H as KodaXReasoningRequest, I as KodaXRedactedThinkingBlock, J as KodaXReviewScale, L as KodaXRiskLevel, M as KodaXStableEffortIntent, N as KodaXStreamResult, P as KodaXTaskBudgetOverrides, S as KodaXTaskResultMetadata, T as KodaXTaskResultSource, X as KodaXTextBlock, Y as KodaXThinkingBlock, Z as KodaXThinkingBudgetMap, $ as KodaXThinkingWireStrategy, a2 as KodaXToolResultBlock } from './types-chunks/types.d-DIpZJKUl.js';
|
|
3
|
+
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 KodaXError, i as KodaXModelCapabilities, k as KodaXOpenAICompatProvider, l as KodaXProviderError, m as KodaXRateLimitError, P as ProviderName, R as ResolveWireEffortInput, o as ResolvedWireEffort, q as clearRuntimeModelProviders, r as createCustomProvider, s as effortToLegacyReasoningMode, t as getAvailableProviderNames, u as getCustomModelCapabilities, v as getCustomProvider, w as getCustomProviderList, x as getCustomProviderModelDescriptors, y as getCustomProviderModels, z as getCustomProviderNames, B as getModelCapabilities, C as getProvider, D as getProviderConfiguredCapabilityProfile, E as getProviderConfiguredReasoningCapability, G as getProviderList, H as getProviderModel, I as getProviderModelDescriptors, J as getProviderModels, M as getRuntimeModelProvider, O as getRuntimeModelProviderNames, Q as isCustomProviderName, S as isKnownProvider, T as isProviderConfigured, U as isProviderName, W as isRuntimeModelProviderName, X as listAllModelCapabilities, Y as listBuiltinModelCapabilities, Z as listCustomProviderModelCapabilities, a0 as mapLegacyReasoningModeToEffortIntent, a1 as normalizeReasoningEffortValue, a3 as parseReasoningEffortEnv, a4 as registerCustomProviders, a5 as registerModelProvider, a6 as resolveModelCapabilities, a7 as resolveProvider, a8 as resolveProviderModelDescriptors, a9 as resolveReasoningEffort, aa as resolveReasoningEffortForModelSwitch, ac as resolveWireEffort, ad as validateCustomProviderConfig } from './types-chunks/resolver.d-iAQ9ocLB.js';
|
|
6
4
|
export { K as KodaXLlmTimeoutConfig, p as parseTimeoutSecEnvMs, t as timeoutSecToMs } from './types-chunks/cost-tracker.d-BeaenODW.js';
|
|
7
|
-
import { K as KodaXBaseProvider } from './types-chunks/base.d-
|
|
5
|
+
import { K as KodaXBaseProvider } from './types-chunks/base.d-4e74xDdy.js';
|
|
8
6
|
import { b as CapabilityResult, a as CapabilityProvider, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-K664nHOS.js';
|
|
9
7
|
export { C as CapabilityKind, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions } from './types-chunks/capability.d-K664nHOS.js';
|
|
10
|
-
import {
|
|
11
|
-
export {
|
|
8
|
+
import { eu as UnifiedLearningReviewRunner, ab as AgentMessage, f as Agent, dR as RunnerLlmReturn, dT as RunnerToolCall, bD as KodaXInputArtifact, e0 as SessionErrorMetadata, dF as QualityInvariant, em as ToolCapability, dN as RunnableTool, b4 as DispatchableAgentDescriptor, F as AgentDispatchContext, bz as KodaXGoalState, a3 as AgentForkTurns, c1 as KodaXSessionStorage, eD as WorkflowEventCorrelation, bi as Guardrail, h as AgentActorClient, x as AgentCapabilities, ff as WorkflowTaskSummaryEventUpdate, ew as WorkflowAgentBackend, eL as WorkflowModule, f4 as WorkflowProcessTrackerOptions, eC as WorkflowEvent, eA as WorkflowArtifactRef, eJ as WorkflowMeta, f6 as WorkflowRunState, ey as WorkflowApproval, eU as WorkflowProcessEvent, ez as WorkflowApprovalSummary, eH as WorkflowLimits, e_ as WorkflowProcessSnapshot } from './types-chunks/types.d-BA-Jwpfs.js';
|
|
9
|
+
export { al as AgentReasoningProfile, aC as AgentTool, aJ as AskUserAnswer, aK as AskUserCustomInputAnswer, aL as AskUserMultiOptions, aM as AskUserQuestionItem, aN as AskUserQuestionOptions, aO as AskUserSelectionAnswer, aR as CompactionAnchor, aV as CompactionResult, aX as CompactionUpdate, bk as Handoff, bm as InMemorySessionOptions, br as KodaXCompactMemoryProgress, bs as KodaXCompactMemorySeed, bt as KodaXExtensionSessionRecord, bu as KodaXExtensionSessionState, bx as KodaXFileInputArtifact, bB as KodaXImageInputArtifact, bC as KodaXImageMediaType, bE as KodaXInputArtifactSource, bF as KodaXJsonValue, bL as KodaXSessionArtifactLedgerEntry, bM as KodaXSessionBranchSummaryEntry, bO as KodaXSessionCompactionEntry, bP as KodaXSessionData, bQ as KodaXSessionEntry, bR as KodaXSessionEntryBase, bT as KodaXSessionLabelEntry, bU as KodaXSessionLineage, bX as KodaXSessionMessageEntry, bY as KodaXSessionMeta, bZ as KodaXSessionNavigationOptions, b$ as KodaXSessionRuntimeInfo, c0 as KodaXSessionScope, c2 as KodaXSessionTreeNode, c3 as KodaXSessionUiHistoryItem, c4 as KodaXSessionUiHistoryItemType, c5 as KodaXSessionUiTextHistoryItem, c6 as KodaXSessionUiTextHistoryItemType, c7 as KodaXSessionUiToolCall, c8 as KodaXSessionUiToolCallStatus, c9 as KodaXSessionUiToolGroupHistoryItem, ca as KodaXSessionWorkspaceKind, cb as KodaXVideoInputArtifact, cc as KodaXVideoMediaType, dz as MessageEntry, dD as PresetDispatcher, dI as ReasoningDepth, dK as RunEvent, dL as RunOptions, dM as RunResult, dO as Runner, dZ as Session, d$ as SessionEntry, e1 as SessionExtension, e2 as SessionForkOptions, fA as createAgent, fB as createHandoff, fC as createInMemorySession, g9 as registerPresetDispatcher } from './types-chunks/types.d-BA-Jwpfs.js';
|
|
10
|
+
import { ak as KodaXShellExecutionContract, aP as KodaXToolExecutionContext, v as KodaXAgentScope, bn as RuntimeContextPressure, bk as RuntimeContextBudgetSnapshot, a7 as KodaXRepoIntelligenceCapability, aa as KodaXRepoIntelligenceTrace, a8 as KodaXRepoIntelligenceMode, a9 as KodaXRepoIntelligenceResolvedMode, ac as KodaXRepoRoutingSignals, a1 as KodaXOptions, N as KodaXContextOptions, a6 as KodaXProviderPolicyHints, b6 as ProviderResilienceConfig, b7 as ProviderResiliencePolicy, F as FailureStage, bc as ResilienceClassification, b4 as ProviderExecutionState, b9 as RecoveryDecision, bb as RecoveryResult, ad as KodaXResult, ah as KodaXSessionControl, ai as KodaXSessionMutators, T as KodaXManagedProtocolPayload, E as ExtensionRuntimeContract, bo as RuntimeDefaultsSnapshot, c as BoundExtensionRuntimeController, Q as KodaXEvents, bw as TodoStatus, m as GoalCompleteResult, be as ResolveKodaXManualInput, bf as ResolveKodaXManualOptions, bg as ResolveKodaXManualResult, _ as KodaXManualTopicId, Z as KodaXManualTopic, s as KodaXActorHost, H as KodaXChildContextBundle, I as KodaXChildExecutionResult, by as WorkflowHostPolicy, aN as KodaXTimeoutConfig } from './types-chunks/bash-prefix-extractor.d-uAe2Oqda.js';
|
|
11
|
+
export { A as ALWAYS_RESIDENT_TOOL_NAMES, B as BASH_POLICY_SPEC, a as BashPrefixExtractor, b as BashPrefixResult, C as CapabilityRuntimeContract, d as CodingActorSession, e as CodingActorSessionOptions, f as CompactionAntiThrashConfig, g as CompactionAntiThrashState, h as CompactionSavingsDecision, i as CompactionSavingsSample, j as CompactionSkipReason, k as CreateBashPrefixExtractorOptions, D as DiagnosticsRequest, l as ExtractCommandPrefixOptions, G as GoalBlockedResult, n as GoalCreateInput, o as GoalLifecycleContext, p as GoalRuntimeBinding, q as GoalRuntimeBindingDeps, r as GoalToolsContext, K as KodaXActivityEventMeta, t as KodaXAgentMode, u as KodaXAgentProfile, w as KodaXBudgetDisclosureZone, x as KodaXBudgetExtensionRequest, y as KodaXCanonicalAgentMode, z as KodaXChildAgentResult, J as KodaXCompactionOverride, L as KodaXContextCompactionFinishedEvent, M as KodaXContextIdentity, O as KodaXContextTokenSnapshot, P as KodaXEffectiveTaskConfig, R as KodaXLiveEventMeta, S as KodaXManagedBudgetSnapshot, U as KodaXManagedTask, V as KodaXManagedTaskRuntimeState, W as KodaXManagedTaskStatusEvent, X as KodaXManualIndexTopic, Y as KodaXManualSource, $ as KodaXManualTopicInput, a0 as KodaXMemoryStrategy, a2 as KodaXOrchestrationVerdict, a3 as KodaXParentReductionContract, a4 as KodaXPreparedShellSandboxInvocation, a5 as KodaXPromptCacheDiagnosticEvent, ab as KodaXRepoIntelligenceTraceEvent, ae as KodaXRoleRoundSummary, af as KodaXRuntimeVerificationContract, ag as KodaXSelfManualConfig, aj as KodaXSessionOptions, al as KodaXShellKind, am as KodaXShellProfileMode, an as KodaXShellSandbox, ao as KodaXShellSandboxBackend, ap as KodaXShellSandboxObservation, aq as KodaXShellSandboxPrepareInput, ar as KodaXSidecarMessageEvent, as as KodaXSkillDynamicContextPolicy, at as KodaXSkillInvocationContext, au as KodaXSkillMap, av as KodaXSkillProjectionConfidence, aw as KodaXSkillScriptInputFile, ax as KodaXSkillScriptOutputFile, ay as KodaXSkillScriptRunInput, az as KodaXSkillScriptRunner, aA as KodaXTaskCapabilityHint, aB as KodaXTaskContract, aC as KodaXTaskEvidenceArtifact, aD as KodaXTaskEvidenceBundle, aE as KodaXTaskEvidenceEntry, aF as KodaXTaskRole, aG as KodaXTaskRoleAssignment, aH as KodaXTaskStatus, aI as KodaXTaskSurface, aJ as KodaXTaskToolPolicy, aK as KodaXTaskVerificationContract, aL as KodaXTaskVerificationCriterion, aM as KodaXTaskWorkItem, aO as KodaXToolEventMeta, aQ as KodaXToolSandboxObservationUpdate, aR as KodaXToolVisibilityMeta, aS as KodaXToolVisibilityPolicy, aT as KodaXTurnCompletedEvent, aU as KodaXTurnDeliveryKind, aV as KodaXTurnFailedEvent, aW as KodaXTurnStartedEvent, aX as KodaXVerificationScorecard, aY as KodaXVerificationScorecardCriterion, aZ as KodaXWorkflowAgentDigestEvent, a_ as KodaXWorkflowEventMeta, a$ as KodaXWorkflowTimeoutConfig, b0 as LSP_SERVERS, b1 as LspServerInfo, b2 as LspService, b3 as LspServiceConfig, b5 as ProviderRecoveryEvent, b8 as RecoveryAction, ba as RecoveryLadderStep, bd as ResilienceErrorClass, bh as RuntimeCompactionSkippedEvent, bi as RuntimeContextBudgetBreakdown, bj as RuntimeContextBudgetRecommendation, bl as RuntimeContextBudgetSnapshotInput, bm as RuntimeContextOptimizationProfile, bp as RuntimeToolExposureDecision, bq as RuntimeToolExposureMode, br as RuntimeToolExposurePlan, bs as RuntimeToolExposurePlanInput, bt as RuntimeToolExposureReason, bu as TodoItem, bv as TodoList, bx as ToolSideEffect, bz as WorkflowInvocationAction, bA as WorkflowInvocationPolicyDecision, bB as WorkflowInvocationPolicyInput, bC as WorkflowInvocationSource, bD as WorkflowStartOutcome, bE as WorkflowToolHost, bF as WorkflowToolHostInlineInput, bG as WorkflowToolHostResult, bH as WorkflowToolHostStartResult, bI as buildGoalRuntimeBinding, bJ as consumeCompactionCooldown, bK as createBashPrefixExtractor, bL as createCompactionAntiThrashState, bM as createExternalActorTurnExecutor, bN as createLocalCodingActorControl, bO as createRuntimeContextBudgetSnapshot, bP as decideWorkflowInvocation, bQ as drainPendingSwaps, bR as estimateToolSchemaTokens, bS as extractCommandPrefix, bT as getDefaultLspService, bU as hasExplicitNaturalLanguageWorkflowIntent, bV as hasPendingSwap, bW as makeDisabledGoalToolsContext, bX as normalizeKodaXAgentMode, bY as planToolExposure, bZ as providerResilienceConfigFromTimeouts, b_ as recordCompactionSavings, b$ as resolveConstructedAgent, c0 as shouldSkipLlmCompaction, c1 as shutdownDefaultLspService, c2 as withGoalBeforeNextTurn, c3 as withGoalStopHook, c4 as workflowStartOutcomeConsumesTurn } from './types-chunks/bash-prefix-extractor.d-uAe2Oqda.js';
|
|
12
12
|
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';
|
|
13
|
-
import { J as LocalToolDefinition, P as RegisteredToolDefinition, $ as ToolHandler, a1 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, X as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Y as TestResult, W as ScriptSource, a0 as ToolHandlerSync, H as KodaXRetrievalToolName, F as KodaXRetrievalResult, B as KodaXRetrievalItem, r as ExtensionLoadSource, p as ExtensionFailureStage, m as ExtensionContributionSource, q as ExtensionHookMap, n as ExtensionEventMap, j as ExtensionCommandDefinition, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-
|
|
14
|
-
export { A as AgentArtifact, b as ArtifactStatus, c as CapabilityDeniedError, e as ConstructionManifestError, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCommandContext, k as ExtensionCommandInvocation, l as ExtensionCommandResult, o as ExtensionFailureDiagnostic, s as ExtensionLogger, t as ExtensionRuntimeController, v as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, w as KodaXExtensionActivationResult, x as KodaXExtensionModule, y as KodaXRetrievalArtifact, z as KodaXRetrievalFreshness, G as KodaXRetrievalScope, I as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, M as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, N as RegisteredCommandDiagnostic, O as RegisteredHookDiagnostic, Q as RegisteredToolDiagnostic, S as RuntimeRemoteToolContext, T as RuntimeRemoteToolContract, U as RuntimeRemoteToolDecision, V as RuntimeRemoteWorkspaceBroker, Z as ToolContent, _ as ToolDefinitionSource, a2 as ToolRegistry, a3 as WebhookOptions, a4 as WebhookResult, a5 as defaultPolicy, a6 as exec, a7 as webhook } from './types-chunks/types.d-
|
|
15
|
-
import {
|
|
16
|
-
export {
|
|
17
|
-
import { M as WorkflowScriptManifest, y as WorkflowCapsule, B as WorkflowCapsuleIntent, A as WorkflowCapsuleInputs, F as WorkflowCapsuleRequirements, E as WorkflowCapsuleProvenance, H as WorkflowQualityLintFinding, G as WorkflowPatternId } from './types-chunks/capsule.d-zeqV4IQX.js';
|
|
18
|
-
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, N as actorQueueId, O as appendSessionLineageLabel, R as applySessionCompaction, S as archiveOldIslands, U as buildSessionTree, X as cleanupIncompleteToolCalls, Y as countActiveLineageMessages, Z as countTokens, $ as createSessionLineage, a2 as estimateTokens, a4 as extractArtifactLedger, a6 as extractTitleFromMessages, a7 as findPreviousUserEntryId, a8 as forkSessionLineage, a9 as generateSessionId, aa as getAgentConfigHome, ab as getAgentConfigPath, ac as getAppDataDir, ad as getSessionLineagePath, ae as getSessionMessagesFromLineage, ah as mergeArtifactLedger, am as resolveSessionLineageTarget, an as rewindSessionLineage, ao as setAgentConfigHome, ap as setSessionLineageActiveEntry, aq as validateAndFixToolHistory } from './types-chunks/capsule.d-zeqV4IQX.js';
|
|
13
|
+
import { J as LocalToolDefinition, P as RegisteredToolDefinition, $ as ToolHandler, a1 as ToolRegistrationOptions, C as Capabilities, a as AgentContent, X as StagedHandle, f as ConstructionPolicy, d as ConstructionArtifact, Y as TestResult, W as ScriptSource, a0 as ToolHandlerSync, H as KodaXRetrievalToolName, F as KodaXRetrievalResult, B as KodaXRetrievalItem, r as ExtensionLoadSource, p as ExtensionFailureStage, m as ExtensionContributionSource, q as ExtensionHookMap, n as ExtensionEventMap, j as ExtensionCommandDefinition, u as ExtensionRuntimeDiagnostics } from './types-chunks/types.d-DVDTIfB_.js';
|
|
14
|
+
export { A as AgentArtifact, b as ArtifactStatus, c as CapabilityDeniedError, e as ConstructionManifestError, g as ConstructionPolicyVerdict, D as DEFAULT_HANDLER_TIMEOUT_MS, E as ExecOptions, h as ExecResult, i as ExtensionCommandContext, k as ExtensionCommandInvocation, l as ExtensionCommandResult, o as ExtensionFailureDiagnostic, s as ExtensionLogger, t as ExtensionRuntimeController, v as ExtensionToolBeforeHookContext, K as KodaXExtensionAPI, w as KodaXExtensionActivationResult, x as KodaXExtensionModule, y as KodaXRetrievalArtifact, z as KodaXRetrievalFreshness, G as KodaXRetrievalScope, I as KodaXRetrievalTrust, L as LoadedExtensionDiagnostic, M as ModelProviderRegistration, R as RegisteredCapabilityProviderDiagnostic, N as RegisteredCommandDiagnostic, O as RegisteredHookDiagnostic, Q as RegisteredToolDiagnostic, S as RuntimeRemoteToolContext, T as RuntimeRemoteToolContract, U as RuntimeRemoteToolDecision, V as RuntimeRemoteWorkspaceBroker, Z as ToolContent, _ as ToolDefinitionSource, a2 as ToolRegistry, a3 as WebhookOptions, a4 as WebhookResult, a5 as defaultPolicy, a6 as exec, a7 as webhook } from './types-chunks/types.d-DVDTIfB_.js';
|
|
15
|
+
import { G as WorkflowPatternId, M as WorkflowScriptManifest, y as WorkflowCapsule, B as WorkflowCapsuleIntent, A as WorkflowCapsuleInputs, F as WorkflowCapsuleRequirements, E as WorkflowCapsuleProvenance, H as WorkflowQualityLintFinding } from './types-chunks/capsule.d-BlSv9l3V.js';
|
|
16
|
+
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, N as actorQueueId, O as appendSessionLineageLabel, R as applySessionCompaction, S as archiveOldIslands, U as buildSessionTree, X as cleanupIncompleteToolCalls, Y as countActiveLineageMessages, Z as countTokens, $ as createSessionLineage, a2 as estimateTokens, a4 as extractArtifactLedger, a6 as extractTitleFromMessages, a7 as findPreviousUserEntryId, a8 as forkSessionLineage, a9 as generateSessionId, aa as getAgentConfigHome, ab as getAgentConfigPath, ac as getAppDataDir, ad as getSessionLineagePath, ae as getSessionMessagesFromLineage, ah as mergeArtifactLedger, am as resolveSessionLineageTarget, an as rewindSessionLineage, ao as setAgentConfigHome, ap as setSessionLineageActiveEntry, aq as validateAndFixToolHistory } from './types-chunks/capsule.d-BlSv9l3V.js';
|
|
19
17
|
import { b as McpServersConfig } from './types-chunks/config.d-CJy1WENT.js';
|
|
20
18
|
export { M as McpConnectMode, a as McpServerConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
|
|
21
19
|
import { j as McpProviderOptions, b as McpCapabilityProvider, k as McpReverseCapabilities, l as McpRoot } from './types-chunks/manager.d-B67TmPO1.js';
|
|
22
20
|
export { M as McpCapabilityDescriptor, a as McpCapabilityKind, c as McpCapabilityRisk, d as McpCatalogItem, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, 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-B67TmPO1.js';
|
|
23
21
|
export { A as AuthorizationServerMetadata, D as DiscoveredOAuthEndpoints, M as McpAuthRequiredError, a as McpExpiredSessionError, b as McpTransport, c as McpTransportEvents, O as OAuthClientInfo, d as OAuthLoginConsent, P as PerformOAuthLoginOptions, e as ProtectedResourceMetadata, W as WwwAuthenticateChallenge, f as createMcpTransport, g as discoverAuthorizationServerMetadata, h as discoverOAuthEndpoints, i as discoverProtectedResourceMetadata, j as extractInsufficientScope, k as extractResourceMetadataUrl, l as loadValidToken, p as performOAuthLogin, r as registerOAuthClient } from './types-chunks/oauth-login.d-Bgb4rdLN.js';
|
|
24
|
-
import { c as ManagedWorkflowSnapshot$1, e as WorkflowRunManager$1 } from './types-chunks/run-manager.d-
|
|
25
|
-
export { d as ManagedWorkflowStatus } from './types-chunks/run-manager.d-
|
|
26
|
-
import { t as
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
import { c as ManagedWorkflowSnapshot$1, e as WorkflowRunManager$1 } from './types-chunks/run-manager.d-D1twIhF9.js';
|
|
23
|
+
export { d as ManagedWorkflowStatus } from './types-chunks/run-manager.d-D1twIhF9.js';
|
|
24
|
+
import { t as MemoryRecallRunner } from './types-chunks/types-D3g6XUQr.js';
|
|
25
|
+
import { u as AutoRules, P as PermissionIntentEvidence, U as ToolCallSignal, B as ClassifierToolProjectionResolver, S as SignalCollector } from './types-chunks/guardrail.d-CXDYRgZ3.js';
|
|
26
|
+
export { C as AUTO_MODE_DENIAL_CONSECUTIVE_THRESHOLD, v as AUTO_MODE_DENIAL_CUMULATIVE_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, G as AutoModeDenialTracker, i as AutoModeEngine, j as AutoModeGuardrailConfig, k as AutoModePermissionBoundary, l as AutoModePermissionOperation, m as AutoModePermissionReview, n as AutoModePermissionTarget, o as AutoModeRulesContext, p as AutoModeRulesDecision, q as AutoModeRulesEvaluator, r as AutoModeSharedState, s as AutoModeStats, t as AutoModeToolGuardrail, H as BREAKER_ERROR_THRESHOLD, W as BREAKER_WINDOW_MS, w as CircuitBreaker, x as ClassifierAttemptDiagnostics, y as ClassifierAttemptOutcome, z as ClassifierFailureKind, D as ClassifyDecision, E as ClassifyOptions, F as DEFAULT_CLASSIFIER_TIMEOUT_MS, K as KodaXMcpConnectMode, I as KodaXMcpServerConfig, J as KodaXMcpServersConfig, L as KodaXMcpTransport, M as LoadAgentsOptions, N as LoadedRulesSource, R as RulesLoadError, O as RulesLoadResult, Q as SkippedRulesSource, T as TierZeroPatternId, V as TrustState, ab as autoModeDenialShouldFallback, ac as breakerShouldFallback, X as checkAbsoluteDeny, Y as classify, Z as collectAllSignals, _ as computeRulesFingerprint, a1 as createAutoModeDenialTracker, $ as createAutoModeToolGuardrail, a0 as createCircuitBreaker, a2 as formatAgentsForPrompt, a3 as getKodaxGlobalDir, a4 as loadAgentsFiles, a5 as loadAutoRules, a6 as parseAutoRules, a7 as readTrustState, a8 as recordAutoModeAllow, a9 as recordAutoModeBlock, aa as recordBreakerError, ad as trustProjectRules } from './types-chunks/guardrail.d-CXDYRgZ3.js';
|
|
27
|
+
import { d as ToolGuardrail } from './types-chunks/guardrail.d-BRE_ErEj.js';
|
|
29
28
|
import { Diagnostic } from 'vscode-languageserver-protocol';
|
|
30
29
|
import '@anthropic-ai/sdk';
|
|
31
30
|
import 'openai';
|
|
32
|
-
import './types-chunks/types.d-
|
|
31
|
+
import './types-chunks/types.d-BbtGlKZu.js';
|
|
32
|
+
import './types-chunks/side-query.d-DTuLPcC5.js';
|
|
33
|
+
|
|
34
|
+
declare function canonicalMemoryProjectId(remoteUrl: string): string;
|
|
35
|
+
|
|
36
|
+
declare const LEARNING_REVIEW_SYSTEM_PROMPT: string;
|
|
37
|
+
declare const LEARNING_REVIEW_TOOL: KodaXToolDefinition;
|
|
38
|
+
declare const LEARNING_REVIEW_PROMPT_SHA256: string;
|
|
39
|
+
declare const LEARNING_REVIEW_SCHEMA_SHA256: string;
|
|
40
|
+
interface CreateProductionLearningReviewerOptions {
|
|
41
|
+
readonly provider: KodaXBaseProvider;
|
|
42
|
+
readonly model?: string;
|
|
43
|
+
}
|
|
44
|
+
declare function createProductionLearningReviewer(options: CreateProductionLearningReviewerOptions): UnifiedLearningReviewRunner;
|
|
45
|
+
|
|
46
|
+
declare function normalizeShellExecutionContract(value: unknown): KodaXShellExecutionContract;
|
|
47
|
+
declare function shellExecutionContractFingerprint(contract: KodaXShellExecutionContract): string;
|
|
48
|
+
|
|
49
|
+
declare function clearShellExecutionEnvironmentCache(): void;
|
|
33
50
|
|
|
34
51
|
/**
|
|
35
52
|
* KodaX Core Errors
|
|
@@ -3077,6 +3094,14 @@ declare function formatParallelDispatchResult(result: ParallelDispatchResult): s
|
|
|
3077
3094
|
*/
|
|
3078
3095
|
declare function validateSubtaskIndependence(subtasks: readonly ParallelSubtask[]): string | null;
|
|
3079
3096
|
|
|
3097
|
+
declare const MEMORY_INTERVENTION_SELECTOR_PROMPT: string;
|
|
3098
|
+
declare const MEMORY_INTERVENTION_SELECTOR_SHA256: string;
|
|
3099
|
+
interface CodingMemoryInterventionRunnerOptions {
|
|
3100
|
+
readonly provider: KodaXBaseProvider;
|
|
3101
|
+
readonly model?: string;
|
|
3102
|
+
}
|
|
3103
|
+
declare function createCodingMemoryInterventionRunner(options: CodingMemoryInterventionRunnerOptions): MemoryRecallRunner;
|
|
3104
|
+
|
|
3080
3105
|
/**
|
|
3081
3106
|
* KodaX Bash Command Risk Classifier
|
|
3082
3107
|
*
|
|
@@ -3242,154 +3267,11 @@ interface CodingDispatchableAgentRoute {
|
|
|
3242
3267
|
readonly kind: 'native' | 'constructed';
|
|
3243
3268
|
readonly descriptor: DispatchableAgentDescriptor;
|
|
3244
3269
|
readonly subagentType?: string;
|
|
3270
|
+
readonly toolCeiling?: readonly string[];
|
|
3245
3271
|
}
|
|
3246
3272
|
declare function listCodingDispatchableAgents(context: AgentDispatchContext, scope?: KodaXAgentScope): readonly DispatchableAgentDescriptor[];
|
|
3247
3273
|
declare function resolveCodingDispatchableAgent(agentId: string, context: AgentDispatchContext, scope?: KodaXAgentScope): CodingDispatchableAgentRoute | undefined;
|
|
3248
3274
|
|
|
3249
|
-
interface PermissionIntentEvidence {
|
|
3250
|
-
readonly status: 'complete' | 'targeted' | 'missing';
|
|
3251
|
-
readonly content: string;
|
|
3252
|
-
readonly sourceBytes: number;
|
|
3253
|
-
readonly includedBytes: number;
|
|
3254
|
-
readonly omittedBytes: number;
|
|
3255
|
-
readonly sha256: string;
|
|
3256
|
-
}
|
|
3257
|
-
|
|
3258
|
-
/**
|
|
3259
|
-
* Classifier Projection Helpers — FEATURE_092 (v0.7.33)
|
|
3260
|
-
*
|
|
3261
|
-
* Typed tools implement `toClassifierInput(input): string` to project their
|
|
3262
|
-
* input into a compact action the auto-mode classifier evaluates. Runtime
|
|
3263
|
-
* registration supplies a fail-closed semantic fallback for legacy JavaScript,
|
|
3264
|
-
* extension, and constructed tools that lack a trusted projector.
|
|
3265
|
-
*
|
|
3266
|
-
* ============== EXAMPLES BY CATEGORY ==============
|
|
3267
|
-
*
|
|
3268
|
-
* --- FILE OPERATIONS (path + size, never raw contents) ---
|
|
3269
|
-
* write.ts: (i) => `Write ${i.path} (${i.content.length} bytes)`
|
|
3270
|
-
* edit.ts: (i) => `Edit ${i.path} [${describeEdit(i)}]`
|
|
3271
|
-
* multi-edit: (i) => `MultiEdit ${i.path}: ${i.edits.length} edits`
|
|
3272
|
-
*
|
|
3273
|
-
* --- SHELL / EXEC (command verbatim, ignore noise fields) ---
|
|
3274
|
-
* bash.ts: (i) => `Bash: ${i.command}`
|
|
3275
|
-
*
|
|
3276
|
-
* --- NETWORK (URL is THE risk surface) ---
|
|
3277
|
-
* web_fetch: (i) => `WebFetch ${i.url}`
|
|
3278
|
-
*
|
|
3279
|
-
* --- CHILD AGENT SPAWN (routing + execution controls) ---
|
|
3280
|
-
* spawn_agent: objective size + scope/read_only/isolation/provider/model
|
|
3281
|
-
*
|
|
3282
|
-
* --- MCP CALLS (semantic fields + shape-only unknowns) ---
|
|
3283
|
-
* mcp_call: (i) => mcpToClassifierInput(i.server, i.tool, i.input)
|
|
3284
|
-
*
|
|
3285
|
-
* --- READ-ONLY (Tier 1 — fully skipped) ---
|
|
3286
|
-
* read.ts: () => ''
|
|
3287
|
-
* grep.ts: () => ''
|
|
3288
|
-
* glob.ts: () => ''
|
|
3289
|
-
*
|
|
3290
|
-
* --- UNKNOWN / CONSTRUCTED (semantic fail-closed fallback) ---
|
|
3291
|
-
* extension: (i) => safeFallbackToClassifierInput(name, i)
|
|
3292
|
-
*
|
|
3293
|
-
* ============== ANTI-PATTERNS ==============
|
|
3294
|
-
*
|
|
3295
|
-
* ❌ JSON.stringify(input) as default
|
|
3296
|
-
* → leaks raw content; hard for LLM to scan
|
|
3297
|
-
*
|
|
3298
|
-
* ❌ Returning input.description / input.rationale verbatim
|
|
3299
|
-
* → these are LLM-emitted, manipulable; classifier should see facts
|
|
3300
|
-
*
|
|
3301
|
-
* ❌ Including raw file contents in Write/Edit projections
|
|
3302
|
-
* → privacy + token cost; use bytes/line count as proxy
|
|
3303
|
-
*
|
|
3304
|
-
* ❌ Returning '' for a high-risk tool to "skip the classifier"
|
|
3305
|
-
* → defeats Tier 1's "safe-only" semantics
|
|
3306
|
-
*
|
|
3307
|
-
* ❌ Truncating without indicating it ('foo' instead of 'foo…')
|
|
3308
|
-
* → classifier may make decisions on false-complete information
|
|
3309
|
-
*/
|
|
3310
|
-
type ClassifierToolProjectionResolver = (toolName: string) => ((input: unknown) => string) | undefined;
|
|
3311
|
-
|
|
3312
|
-
/**
|
|
3313
|
-
* Auto-Mode Classifier Orchestrator — FEATURE_092 Phase 2b.3 (v0.7.33).
|
|
3314
|
-
*
|
|
3315
|
-
* Wires the classifier prompt + sideQuery + output parser into a single
|
|
3316
|
-
* `classify(...)` call. Caller supplies the rules, transcript, and the
|
|
3317
|
-
* tool-call action being classified; gets back a `ClassifyDecision`.
|
|
3318
|
-
*
|
|
3319
|
-
* Failure → decision mapping:
|
|
3320
|
-
*
|
|
3321
|
-
* sideQuery.stopReason parsedOutput → ClassifyDecision
|
|
3322
|
-
* ───────────────────────────────────────────────────────
|
|
3323
|
-
* end_turn / max_tokens block → block (with reason)
|
|
3324
|
-
* end_turn / max_tokens allow → allow
|
|
3325
|
-
* end_turn / max_tokens unparseable → block (fail-closed)
|
|
3326
|
-
* end_turn / max_tokens + tool_use → block (contract violation)
|
|
3327
|
-
* (sideQuery returns stopReason='error' here)
|
|
3328
|
-
* timeout — → escalate (user confirms)
|
|
3329
|
-
* aborted — → escalate (treated as caller-abort)
|
|
3330
|
-
* error — → escalate (5xx / 429 / network)
|
|
3331
|
-
*
|
|
3332
|
-
* Why fail-closed on unparseable but escalate on timeout/error:
|
|
3333
|
-
* Unparseable = model spoke but didn't follow the contract → likely
|
|
3334
|
-
* trying to bypass; treating as block is conservative and safe.
|
|
3335
|
-
* Timeout/error = transient; blocking would punish the user for our
|
|
3336
|
-
* infra hiccup. Escalating to a confirm dialog preserves user
|
|
3337
|
-
* agency without putting safety on the line.
|
|
3338
|
-
*/
|
|
3339
|
-
|
|
3340
|
-
interface ClassifyOptions {
|
|
3341
|
-
readonly provider: KodaXBaseProvider;
|
|
3342
|
-
readonly model: string;
|
|
3343
|
-
readonly rules: AutoRules;
|
|
3344
|
-
readonly claudeMd?: string;
|
|
3345
|
-
readonly transcript: readonly KodaXMessage[];
|
|
3346
|
-
readonly action: string;
|
|
3347
|
-
readonly intentEvidence?: PermissionIntentEvidence;
|
|
3348
|
-
/** Resolve canonical per-tool projections for safe historical context. */
|
|
3349
|
-
readonly getToolProjection?: ClassifierToolProjectionResolver;
|
|
3350
|
-
/**
|
|
3351
|
-
* FEATURE_158 (v0.7.39): static-analysis signals forwarded to the
|
|
3352
|
-
* classifier prompt. Empty / undefined preserves the FEATURE_092 prompt
|
|
3353
|
-
* shape (no `<signals>` block emitted). When supplied, the classifier
|
|
3354
|
-
* sees signals between `<transcript>` and `<action>` as informational
|
|
3355
|
-
* input — not verdicts.
|
|
3356
|
-
*/
|
|
3357
|
-
readonly signals?: readonly ToolCallSignal[];
|
|
3358
|
-
readonly timeoutMs?: number;
|
|
3359
|
-
readonly abortSignal?: AbortSignal;
|
|
3360
|
-
readonly costTracker?: CostTracker;
|
|
3361
|
-
/**
|
|
3362
|
-
* Optional setter — invoked once after `sideQuery` returns when the
|
|
3363
|
-
* classifier successfully recorded its token usage. The CostTracker is
|
|
3364
|
-
* immutable, so `sideQuery` produces a fresh tracker copy with the new
|
|
3365
|
-
* record; without this setter the recorded call is silently dropped.
|
|
3366
|
-
* Wired by the AutoModeToolGuardrail so the agent's tracker accumulates
|
|
3367
|
-
* classifier calls under role='auto_mode'.
|
|
3368
|
-
*/
|
|
3369
|
-
readonly setCostTracker?: (next: CostTracker) => void;
|
|
3370
|
-
}
|
|
3371
|
-
interface ClassifyDecisionDetails {
|
|
3372
|
-
readonly reason: string;
|
|
3373
|
-
/** False for a local representation-limit block that should not degrade the engine. */
|
|
3374
|
-
readonly trackDenial?: boolean;
|
|
3375
|
-
/** Structured request metadata only; never includes prompt or response text. */
|
|
3376
|
-
readonly diagnostics?: SideQueryDiagnostics;
|
|
3377
|
-
}
|
|
3378
|
-
type ClassifyDecision = ({
|
|
3379
|
-
readonly kind: 'allow';
|
|
3380
|
-
} & ClassifyDecisionDetails) | ({
|
|
3381
|
-
readonly kind: 'block';
|
|
3382
|
-
} & ClassifyDecisionDetails) | ({
|
|
3383
|
-
readonly kind: 'escalate';
|
|
3384
|
-
} & ClassifyDecisionDetails);
|
|
3385
|
-
/**
|
|
3386
|
-
* The deadline includes connection setup, provider-side queueing, inference,
|
|
3387
|
-
* and any Retry-After/backoff handled by the provider adapter. Keep it bounded
|
|
3388
|
-
* so infrastructure failure degrades to an explicit user decision.
|
|
3389
|
-
*/
|
|
3390
|
-
declare const DEFAULT_CLASSIFIER_TIMEOUT_MS = 20000;
|
|
3391
|
-
declare function classify(opts: ClassifyOptions): Promise<ClassifyDecision>;
|
|
3392
|
-
|
|
3393
3275
|
/**
|
|
3394
3276
|
* Classifier prompt builder — FEATURE_092 Phase 2b.3 (v0.7.33).
|
|
3395
3277
|
*
|
|
@@ -3473,7 +3355,8 @@ declare function stripAssistantText(messages: readonly KodaXMessage[], opts?: St
|
|
|
3473
3355
|
* Robustness:
|
|
3474
3356
|
* - case-insensitive yes/no
|
|
3475
3357
|
* - whitespace inside / around tags tolerated
|
|
3476
|
-
* - allow reason is optional; a blocking decision
|
|
3358
|
+
* - allow reason is optional; a blocking decision without a reason is a
|
|
3359
|
+
* contract failure so the caller can retry instead of inventing a reason
|
|
3477
3360
|
* - if block tag missing or value is neither yes/no → unparseable (caller
|
|
3478
3361
|
* fail-closes to block, per design doc)
|
|
3479
3362
|
* - reasons longer than 500 chars are truncated (defense against
|
|
@@ -3860,6 +3743,66 @@ declare function buildCompleteGoal(current: KodaXGoalState, now?: number): KodaX
|
|
|
3860
3743
|
*/
|
|
3861
3744
|
declare function isValidTokenBudget(value: unknown): value is number | null;
|
|
3862
3745
|
|
|
3746
|
+
type CollaborationPatternId = WorkflowPatternId;
|
|
3747
|
+
|
|
3748
|
+
type ActorStrategyRole = 'classifier' | 'investigator' | 'generator' | 'filter' | 'judge' | 'challenger';
|
|
3749
|
+
type ActorLaneRelation = 'coverage' | 'replication' | 'opposition';
|
|
3750
|
+
interface ActorTurnIdentity {
|
|
3751
|
+
readonly actorPath: string;
|
|
3752
|
+
readonly turnId: string;
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
type PatternDisposition = 'confirmed' | 'refuted' | 'unresolved';
|
|
3756
|
+
|
|
3757
|
+
interface PatternTraceParticipantContext {
|
|
3758
|
+
readonly turnRef: ActorTurnIdentity;
|
|
3759
|
+
readonly role: ActorStrategyRole;
|
|
3760
|
+
readonly forkTurns: AgentForkTurns;
|
|
3761
|
+
readonly effectiveProviderGroup?: string;
|
|
3762
|
+
readonly effectiveModelGroup?: string;
|
|
3763
|
+
readonly evidenceRefCount: number;
|
|
3764
|
+
}
|
|
3765
|
+
interface PatternTraceDispositionFact {
|
|
3766
|
+
readonly targetEvidenceRef: string;
|
|
3767
|
+
readonly disposition: PatternDisposition;
|
|
3768
|
+
readonly evidenceRefs: readonly string[];
|
|
3769
|
+
readonly omittedEvidenceRefCount: number;
|
|
3770
|
+
}
|
|
3771
|
+
interface PatternTraceStage {
|
|
3772
|
+
readonly schemaVersion: 1;
|
|
3773
|
+
readonly ownerTurnRef: ActorTurnIdentity;
|
|
3774
|
+
readonly stageId: string;
|
|
3775
|
+
readonly pattern: CollaborationPatternId;
|
|
3776
|
+
readonly declaredPurpose?: string;
|
|
3777
|
+
readonly laneRelation?: ActorLaneRelation;
|
|
3778
|
+
readonly participantTurnRefs: readonly ActorTurnIdentity[];
|
|
3779
|
+
readonly targetActorTurnRefs: readonly ActorTurnIdentity[];
|
|
3780
|
+
readonly targetEvidenceRefs: readonly string[];
|
|
3781
|
+
readonly contextFacts: {
|
|
3782
|
+
readonly participants: readonly PatternTraceParticipantContext[];
|
|
3783
|
+
readonly sharedEvidenceRefCount: number;
|
|
3784
|
+
readonly omittedParticipantCount: number;
|
|
3785
|
+
readonly commonParentActorPath?: string;
|
|
3786
|
+
readonly contextProjectionOmitted: boolean;
|
|
3787
|
+
};
|
|
3788
|
+
readonly status: 'started' | 'completed' | 'degraded' | 'failed' | 'stopped';
|
|
3789
|
+
readonly dispositionCounts?: {
|
|
3790
|
+
readonly confirmed: number;
|
|
3791
|
+
readonly refuted: number;
|
|
3792
|
+
readonly unresolved: number;
|
|
3793
|
+
};
|
|
3794
|
+
readonly dispositionFacts?: readonly PatternTraceDispositionFact[];
|
|
3795
|
+
readonly omittedDispositionCount?: number;
|
|
3796
|
+
readonly actorAssertedCoverage?: readonly string[];
|
|
3797
|
+
readonly stopReason?: string;
|
|
3798
|
+
readonly degradedReasons?: readonly string[];
|
|
3799
|
+
}
|
|
3800
|
+
interface PatternTrace {
|
|
3801
|
+
readonly schemaVersion: 1;
|
|
3802
|
+
readonly stages: readonly PatternTraceStage[];
|
|
3803
|
+
readonly omittedStageCount: number;
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3863
3806
|
/**
|
|
3864
3807
|
* FEATURE_184 (v0.7.45) — Sidecar Verifier invoker + Stop hook factory.
|
|
3865
3808
|
*
|
|
@@ -3902,6 +3845,14 @@ declare function isValidTokenBudget(value: unknown): value is number | null;
|
|
|
3902
3845
|
|
|
3903
3846
|
/** Accepted verdict values. Pinned by `VERIFIER_REPORT_TOOL.input_schema`. */
|
|
3904
3847
|
type SidecarVerifierVerdictValue = 'accept' | 'revise' | 'blocked';
|
|
3848
|
+
type SidecarStrategyReasonCode = 'missing_requirement' | 'contradicted_evidence' | 'unsupported_claim' | 'unresolved_high_risk' | 'verification_degraded';
|
|
3849
|
+
interface SidecarQualitySignals {
|
|
3850
|
+
readonly riskLevel?: string;
|
|
3851
|
+
readonly needsIndependentQA?: boolean;
|
|
3852
|
+
readonly assuranceIntent?: string;
|
|
3853
|
+
readonly reviewScale?: string;
|
|
3854
|
+
readonly requiresBrainstorm?: boolean;
|
|
3855
|
+
}
|
|
3905
3856
|
/**
|
|
3906
3857
|
* Diagnostic trace tag — explains why the verdict took its final shape.
|
|
3907
3858
|
* Not forwarded to the Main Agent; surfaces in spans + tests.
|
|
@@ -3924,6 +3875,10 @@ interface SidecarVerifierVerdict {
|
|
|
3924
3875
|
readonly reason: string;
|
|
3925
3876
|
/** Optional one-line how-to-fix hint. */
|
|
3926
3877
|
readonly suggestedFix?: string;
|
|
3878
|
+
/** Optional focused advice; Root remains free to choose another response. */
|
|
3879
|
+
readonly reasonCode?: SidecarStrategyReasonCode;
|
|
3880
|
+
readonly recommendedPattern?: CollaborationPatternId;
|
|
3881
|
+
readonly targetEvidenceRefs?: readonly string[];
|
|
3927
3882
|
/** Diagnostic only — not forwarded to Main Agent. */
|
|
3928
3883
|
readonly trace: SidecarVerifierTrace;
|
|
3929
3884
|
}
|
|
@@ -3961,6 +3916,10 @@ interface SidecarVerifierContextInputs {
|
|
|
3961
3916
|
* specific section.
|
|
3962
3917
|
*/
|
|
3963
3918
|
readonly additionalCriteria?: string;
|
|
3919
|
+
/** Existing routing facts, supplied only after the ordinary Sidecar gate fires. */
|
|
3920
|
+
readonly qualitySignals?: SidecarQualitySignals;
|
|
3921
|
+
/** Runtime-derived collaboration facts. Never a quality receipt. */
|
|
3922
|
+
readonly patternTrace?: PatternTrace;
|
|
3964
3923
|
}
|
|
3965
3924
|
interface SidecarTaskEvidence {
|
|
3966
3925
|
readonly source: 'workflow' | 'child_task';
|
|
@@ -4208,7 +4167,7 @@ interface ChildExecutorOptions {
|
|
|
4208
4167
|
readonly abortSignal?: AbortSignal;
|
|
4209
4168
|
/** Parent-provided persistence capability for an isolated child-owned lineage. */
|
|
4210
4169
|
readonly historyStorage?: KodaXSessionStorage;
|
|
4211
|
-
readonly parentOptions: Readonly<Partial<Pick<KodaXOptions, 'provider' | 'model' | 'effort' | 'reasoningMode' | 'extensionRuntime' | 'events' | 'compaction'> & Pick<KodaXContextOptions, 'repoIntelligenceMode' | 'repoIntelligenceTrace'>>>;
|
|
4170
|
+
readonly parentOptions: Readonly<Partial<Pick<KodaXOptions, 'provider' | 'model' | 'effort' | 'reasoningMode' | 'extensionRuntime' | 'events' | 'compaction' | 'disablePromptCache'> & Pick<KodaXContextOptions, 'repoIntelligenceMode' | 'repoIntelligenceTrace' | 'contextDiagnostics' | 'shellExecution'>>>;
|
|
4212
4171
|
readonly parentRole: string;
|
|
4213
4172
|
readonly parentHarness: string;
|
|
4214
4173
|
/**
|
|
@@ -4249,12 +4208,20 @@ interface ChildExecutorOptions {
|
|
|
4249
4208
|
readonly guardrails?: readonly Guardrail[];
|
|
4250
4209
|
/** Runtime-minted principal inherited by the child runtime for recursive collaboration. */
|
|
4251
4210
|
readonly actorControl?: AgentActorClient;
|
|
4211
|
+
/** Exact non-root parent identity for nested live-context attribution. */
|
|
4212
|
+
readonly actorParentAgentId?: string;
|
|
4213
|
+
/** Exact admitted Actor Turn id used as the child run's live Turn identity. */
|
|
4214
|
+
readonly actorTurnId?: string;
|
|
4252
4215
|
/** Trusted host bridge inherited beside the principal for nested Workflow owners. */
|
|
4253
4216
|
readonly actorHost?: KodaXActorHost;
|
|
4254
4217
|
/** Prior Actor turns and committed mailbox facts projected into this turn. */
|
|
4255
4218
|
readonly initialMessages?: readonly KodaXMessage[];
|
|
4256
4219
|
/** Runtime-minted ceiling applied after specialist/default tool resolution. */
|
|
4257
4220
|
readonly actorCapabilities?: AgentCapabilities;
|
|
4221
|
+
/** Logical diagnostics identity when bundle ids are local to a Workflow backend. */
|
|
4222
|
+
readonly contextAgentId?: string;
|
|
4223
|
+
/** Logical diagnostics parent paired with contextAgentId. */
|
|
4224
|
+
readonly contextParentAgentId?: string;
|
|
4258
4225
|
}
|
|
4259
4226
|
|
|
4260
4227
|
/** Coding Workflow adapter over the Runtime-owned Actor control plane. */
|
|
@@ -5186,5 +5153,5 @@ interface WorkflowCostReport {
|
|
|
5186
5153
|
}
|
|
5187
5154
|
declare function buildWorkflowCostReport(events: readonly WorkflowEvent[]): WorkflowCostReport;
|
|
5188
5155
|
|
|
5189
|
-
export { Agent, AgentMessage, AutoRules, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_AGENT_MARKER, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, Capabilities, CapabilityProvider, CapabilityResult, CapabilitySearchSnapshot, KodaXClient as Client, CombinedExtensionRuntime, ConstructionArtifact, ConstructionPolicy,
|
|
5190
|
-
export type { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BashClassificationResult, BashClassifierConfig, BashRiskLevel, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildClassifierPromptInput, BuildPromptInput, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, ClassifierDecision, ClassifierPrompt,
|
|
5156
|
+
export { Agent, AgentMessage, AutoRules, BLOCKER_REQUIRED_CONSECUTIVE_TURNS, BUILTIN_WORKFLOWS, BoundExtensionRuntimeController, CANCELLED_TOOL_RESULT_MESSAGE, CANCELLED_TOOL_RESULT_PREFIX, CODING_AGENT_MARKER, CODING_INVARIANTS, CODING_SUMMARY_PROMPT, CODING_UPDATE_SUMMARY_PROMPT, Capabilities, CapabilityProvider, CapabilityResult, CapabilitySearchSnapshot, KodaXClient as Client, CombinedExtensionRuntime, ConstructionArtifact, ConstructionPolicy, DEFAULT_CODING_AGENT_NAME, DEFAULT_DANGEROUS_PATTERNS, DEFAULT_RESILIENCE_CONFIG, DEFAULT_SAFE_PATTERNS, DEFAULT_SELF_MODIFY_BUDGET, DEFAULT_WINDOW_MS as DEFAULT_SPECULATIVE_WINDOW_MS, DEFAULT_TOOL_OUTPUT_MAX_BYTES, DEFAULT_TOOL_OUTPUT_MAX_LINES, DEFAULT_WORKFLOW_GENERATION_TIMEOUT_MS, EMIT_VERDICT_TOOL_NAME, ErrorCategory, ExtensionCommandDefinition, ExtensionContributionSource, ExtensionEventMap, ExtensionFailureStage, ExtensionHookMap, ExtensionLoadSource, ExtensionRuntimeContract, ExtensionRuntimeDiagnostics, FINDING_VERIFICATION_OUTPUT_SCHEMA, FailureStage, GENERATOR_AGENT_NAME, GoalCompleteResult, Guardrail, KODAX_TOOLS, KODAX_UNDERLYING_CAPABILITY_TOPICS, KodaXAgentScope, KodaXBaseProvider, KodaXChildContextBundle, KodaXClient, KodaXContentBlock, KodaXContextOptions, KodaXEvents, KodaXExecutionMode, KodaXExtensionRuntime, KodaXInputArtifact, KodaXManualTopic, KodaXManualTopicId, KodaXMessage, KodaXOptions, KodaXProviderCapabilityProfile, KodaXProviderPolicyHints, KodaXReasoningCapability, KodaXReasoningMode, KodaXRepoIntelligenceCapability, KodaXRepoIntelligenceMode, KodaXRepoIntelligenceResolvedMode, KodaXRepoIntelligenceTrace, KodaXRepoRoutingSignals, KodaXResult, KodaXRetrievalItem, KodaXRetrievalResult, KodaXRetrievalToolName, KodaXSessionControl, KodaXSessionError, KodaXSessionMutators, KodaXSessionStorage, KodaXShellExecutionContract, KodaXTaskRoutingDecision, KodaXTaskType, KodaXTerminalError, KodaXThinkingDepth, KodaXTimeoutConfig, KodaXTokenUsage, KodaXToolDefinition, KodaXToolError, KodaXToolExecutionContext, KodaXToolUseBlock, KodaXWireReasoningEffort, LEARNING_REVIEW_PROMPT_SHA256, LEARNING_REVIEW_SCHEMA_SHA256, LEARNING_REVIEW_SYSTEM_PROMPT, LEARNING_REVIEW_TOOL, LocalToolDefinition, MANUAL_REGISTRY, MANUAL_TOPIC_IDS, MEMORY_INTERVENTION_SELECTOR_PROMPT, MEMORY_INTERVENTION_SELECTOR_SHA256, McpCapabilityProvider, McpProviderOptions, McpReverseCapabilities, McpRoot, McpServersConfig, PLANNER_AGENT_NAME, PROMPT_SECTION_REGISTRY, PROTOCOL_EMITTER_TOOLS, ProviderExecutionState, ProviderRecoveryCoordinator, ProviderResilienceConfig, ProviderResiliencePolicy, READ_DEFAULT_LIMIT, READ_MAX_LINE_CHARS, READ_PREFLIGHT_SIZE_BYTES, REPO_EXPLORER_AGENT_NAME, REPO_EXPLORER_TOOL_NAMES, RecoveryDecision, RecoveryResult, RegisteredToolDefinition, ResilienceClassification, ResolveKodaXManualInput, ResolveKodaXManualOptions, ResolveKodaXManualResult, RuntimeContextBudgetSnapshot, RuntimeContextPressure, RuntimeDefaultsSnapshot, SCOPED_REVIEW_OUTPUT_SCHEMA, SCOUT_AGENT_NAME, SCOUT_THEN_AUTHOR_PROMPT_LINES, SELF_KNOWLEDGE_ROUTING_RULE, SYSTEM_PROMPT, SYSTEM_WORKFLOW_LIMITS, ScriptSource, SessionErrorMetadata, SignalCollector, StableBoundaryTracker, StagedHandle, TASK_ENGINE_ROLE_AGENTS, TOOL_RESULT_TRUNCATION_GUARDRAIL_NAME, TRACING_ENV, TestResult, TodoStatus, ToolCallSignal, ToolHandler, ToolRegistrationOptions, WORKER_AGENT_NAME, WORKFLOW_GENERATION_SYSTEM_PROMPT, WorkflowEventCorrelation, WorkflowHostPolicy, _resetRuntimeForTesting, activate, analyzeChangedScope, appendAuditEntry, applyAccountingDelta, applyFindingVerification, applyToolResultGuardrail, authorWorkflowViaWorker, bashSignalCollector, bootstrapTracing, boundedRevise, budgetCeiling, buildApprovalSummary, buildBlockedGoal, buildCapabilityContextSections, buildClassifierPrompt, 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, 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, disableSelfModify, discoverDefaultExtensions, discoverExtensionsInDirectory, discoverExtensionsInDirectoryDetailed, discoverMarkdownAgents, discoverSavedWorkflows, emitVerdict, emitWorkflowAgentDigest, ensureBuiltinRepoExplorerAgent, evaluateProviderPolicy, excludeExtensionPathsByEntrypoint, executeTool, extractComparableUserMessageText, extractHtmlTitle, extractPromptComparableText, fileSignalCollector, finalizeRetrievalResult, findByVersion, 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, isDeniedRecently, isParallelDispatchDirective, isSessionRecoveryCandidateError, isSupportedExtensionModulePath, isToolFileMutation, isToolMutation, isToolNetworkRead, isToolPlanModeAllowed, isValidTokenBudget, languageIdForPath, listAll, list as listArtifacts, listBuiltinToolDefinitions, listBuiltinWorkflows, listCodingDispatchableAgents, listConstructed, listToolDefinitions, listTools, listWorkflowPatternTemplates, loadAgentsFromMarkdown, loadGeneratedWorkflowFromRun, loadHandler, loadMarkdownAgentScope, loadSavedWorkflow, loadSavedWorkflowCapsule, maybeRunReferenceAwareToolOutputGc, maybeRunToolOutputGc, mcpRootsFromWorkspace, mergeScopedReviewResults, normalizeScopedReviewResult, normalizeShellExecutionContract, normalizeWorkflowModule, orderPromptSections, parallelInvestigation, parseClassifierOutput, parseEditToolError, parseLlmReviewVerdict, parseModelSpec, parseToolSearchQuery, parseWorkflowGeneration, persistToolOutput, preflightWorkflowCapsule, prewarmRepoIntelligenceCaches, readArtifact, readAuditEntries, readBudget, readDisableState, readWindowFromEnv as readSpeculativeWindowFromEnv, reasoningModeToDepth, reconstructMessagesWithToolGuard, recordBlockerAttempt, recordDenial, registerCodingInvariants, registerConfiguredMcpCapabilityProvider, registerOfficialSandboxExtension, registerTool, rehydrateActiveArtifacts, remaining as remainingSelfModifyBudget, renameSavedWorkflow, renderChangedScope, renderImpactEstimate, renderModuleContext, renderProcessContext, renderPromptSections, renderRepoOverview, renderRetrievalResult, renderSymbolContext, replaceConfiguredMcpCapabilityProvider, replaceSavedWorkflow, report as reportLspDiagnostics, resetBlockerCounter, resetBudget, resolveClassifierModel, resolveCodingDispatchableAgent, resolveExtensionEntrypoint, resolveKodaXManual, resolveReasoningMode, resolveRepoIntelligenceMode, resolveRepoIntelligenceRuntimeConfig, resolveResilienceConfig, resolveToolBridgeTarget, resolveToolCapability, resolveToolOutputDir, resolveWorkflowGenerationTimeoutMs, resolveWorkflowIdentity, revoke, rollbackSelfModify, runAstRules, runKodaX, runLlmReview, runManagedTask, runOrchestration, runWorkflowFromOptions, runWorkflowModule, safeWorkflowArtifactName, saveGeneratedWorkflow, saveGeneratedWorkflowFromRun, scopedReview, searchToolIndex, setActiveExtensionRuntime, shellExecutionContractFingerprint, shouldFlipBudgetLimited, speculativeRace, stage, startKodaX, startManagedWorkflow, stripAssistantText, stripHtmlToText, test as testArtifact, 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, validateGeneratedWorkflowSource, validateSubtaskIndependence, validateToolSchemaForProvider, verifyGoalCompletion, withManualToolBranding, workerAgent, writeReviewPackets };
|
|
5157
|
+
export type { AstCheckResult, AstRuleId, AstRuleViolation, AuditEntry, AuditEventKind, AuthorWorkflowViaWorkerHandle, AuthorWorkflowViaWorkerInput, BashClassificationResult, BashClassifierConfig, BashRiskLevel, BlockerAttemptResult, BootstrapTracingOptions, BudgetState, BuildClassifierPromptInput, BuildPromptInput, ChangedFileEntry, ChangedFileStatus, ChangedScopeAreaSummary, ChangedScopeReport, ClassifierDecision, ClassifierPrompt, CodingDispatchableAgentRoute, CodingMemoryInterventionRunnerOptions, CodingWorkflowBackendDeps, CreateCtxProxyOptions, CreateKodaXTaskRunnerOptions, CreateProductionLearningReviewerOptions, CreateWorkflowLifecycleControllerOptions, DeleteSavedWorkflowInput, DeleteWorkflowRunOptions, DenialRecord, DenialTracker, DisableState, DiscoverMarkdownAgentsResult, DiscoveredMarkdownAgent, EditRecoveryDiagnostic, EditToolErrorCode, ErrorClassification, ExtensionDiscoveryResult, ExtensionDiscoverySkipReason, FindingVerificationResult, GenerateWorkflowFromOptionsInput, GenerateWorkflowInput, GeneratedWorkflow, GoalCompletionVerifier, ImpactEstimateResult, InvestigationFinding, KodaXAgentWorkerSpec, KodaXPromptSection, KodaXPromptSectionDefinition, KodaXPromptSectionSlot, KodaXPromptSectionStability, KodaXPromptSnapshot, KodaXPromptSnapshotMetadata, KodaXProviderCapabilitySnapshot, KodaXProviderPolicyDecision, KodaXProviderPolicyIssue, KodaXProviderPolicyIssueSeverity, KodaXProviderSourceKind, LanguageCapabilityTier, LlmReviewClient, LlmReviewResult, LlmReviewVerdict, LoadAgentsFromMarkdownOptions, LoadAgentsFromMarkdownResult, LoadGeneratedWorkflowFromRunInput, LoadHandlerOptions, LoadHandlerScope, LoadMarkdownAgentScopeOptions, LoadMarkdownAgentScopeResult, LoadedGeneratedWorkflowFromRun, LoadedMarkdownAgent, 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, ParallelDispatchDirective, ParallelDispatchResult, ParallelInvestigationArgs, ParallelInvestigationResult, ParallelSubtask, ParsedModelSpec, ProcessCapsule, ProcessContextResult, ProcessStep, ProtocolEmitterMetadata, QualityVerdict, 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, SaveGeneratedWorkflowFromRunInput, SaveGeneratedWorkflowInput, SavedGeneratedWorkflowFile, SavedWorkflowDirs, SavedWorkflowExecution, SavedWorkflowRef, SavedWorkflowSource, SchemaProvider, SchemaValidationResult, ScopedReviewResult, ScopedReviewWorkflowArgs, ScopedReviewWorkflowResult, SelfModifyAskUser, SelfModifyAskUserInput, SelfModifyDiffSeverity, SelfModifyDiffSummary, SkippedExtensionDiscoveryEntry, SpecVerdict, SpeculativeResult, StartManagedWorkflowInput, StartManagedWorkflowResult, StripOptions, SymbolContextResult, TestArtifactOptions, ToolOutputGcResult, ToolResultBudget, ToolResultBudgetReason, ToolResultBudgetUsageInput, ToolResultCapacity, ToolSearchIndex, ToolSearchIndexEntry, ToolSearchIndexOptions, ToolSearchQueryParts, ToolSearchResult, VerifiedScopedReviewResult, VerifyGoalCompletionOptions, WorkflowCapsulePreflightEnvironment, WorkflowCapsulePreflightInput, WorkflowCapsulePreflightIssue, WorkflowCapsulePreflightResult, WorkflowChildOptions, WorkflowCostReport, WorkflowGenerationResult, WorkflowGenerationTextFn, WorkflowGenerationTextRequest, WorkflowIdentityResolution, WorkflowIdentityResolverInput, WorkflowLifecycleController, WorkflowPacketReadCost, WorkflowPatternTemplate, WorkflowRunListOptions, WorkflowRunManager, WorkflowRunProcessMetadata, WorkflowRunRetentionOptions, WorkflowRunRetentionResult, WorkflowScriptSnapshotInput, WorkflowScriptSnapshotRef };
|