@kodax-ai/kodax 0.7.97-alpha.9 → 0.7.97-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +393 -0
- package/README.md +170 -29
- package/README_CN.md +116 -17
- package/config-templates/config.example.jsonc +2 -3
- package/dist/artifacts/skills/artifact-review/SKILL.md +44 -7
- package/dist/builtin/code-review/SKILL.md +5 -17
- package/dist/builtin/git-workflow/SKILL.md +9 -8
- package/dist/builtin/skill-creator/SKILL.md +38 -108
- package/dist/builtin/skill-creator/references/evaluation.md +50 -0
- package/dist/builtin/skill-creator/scripts/analyze-benchmark.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/analyze-benchmark.js +6 -3
- package/dist/builtin/skill-creator/scripts/compare-runs.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/compare-runs.js +6 -3
- package/dist/builtin/skill-creator/scripts/grade-evals.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/grade-evals.js +6 -3
- package/dist/builtin/skill-creator/scripts/run-eval.js +3 -3
- package/dist/builtin/skill-creator/scripts/run-loop.js +2 -1
- package/dist/builtin/skill-creator/scripts/run-trigger-eval.d.ts +2 -0
- package/dist/builtin/skill-creator/scripts/run-trigger-eval.js +3 -1
- package/dist/builtin/skill-creator/scripts/utils.d.ts +1 -1
- package/dist/builtin/skill-creator/scripts/utils.js +8 -0
- package/dist/builtin/tdd/SKILL.md +24 -40
- package/dist/builtin/visual-review/SKILL.md +7 -3
- package/dist/chunks/agent-DS7M57WD.js +2 -0
- package/dist/chunks/agent-adapter-TLWGGK3V.js +2 -0
- package/dist/chunks/argument-completer-OGCXKTRQ.js +2 -0
- package/dist/chunks/bedrock-native-Z5VNWF5U.js +4 -0
- package/dist/chunks/cell-LV7MNPNQ.js +2 -0
- package/dist/chunks/chunk-2HH5AS7E.js +1157 -0
- package/dist/chunks/chunk-3CP7AUWY.js +2 -0
- package/dist/chunks/chunk-45ZP2YHG.js +2 -0
- package/dist/chunks/chunk-4Y6U7AH4.js +9 -0
- package/dist/chunks/chunk-52EN2777.js +2 -0
- package/dist/chunks/{chunk-HXCY52Z2.js → chunk-53CJDQS2.js} +1 -1
- package/dist/chunks/{chunk-JNB2FL6P.js → chunk-5MUVRFMU.js} +1 -1
- package/dist/chunks/chunk-65652LR4.js +2 -0
- package/dist/chunks/chunk-6TITQQAI.js +351 -0
- package/dist/chunks/chunk-AGUM5SWX.js +2 -0
- package/dist/chunks/chunk-BBZWF2EA.js +2 -0
- package/dist/chunks/chunk-C6JGLEYD.js +2 -0
- package/dist/chunks/chunk-D36OIMV7.js +142 -0
- package/dist/chunks/chunk-D425EZGC.js +2 -0
- package/dist/chunks/chunk-D5OW7UD5.js +2 -0
- package/dist/chunks/chunk-DCE7XQUG.js +2 -0
- package/dist/chunks/chunk-DV5YPYLW.js +10 -0
- package/dist/chunks/chunk-EISRVOBJ.js +4 -0
- package/dist/chunks/chunk-EPK6EWRI.js +12 -0
- package/dist/chunks/chunk-F6GJXQNA.js +29 -0
- package/dist/chunks/chunk-GJXOTOZB.js +465 -0
- package/dist/chunks/chunk-GZUWQZJD.js +2 -0
- package/dist/chunks/chunk-I325ER7D.js +2 -0
- package/dist/chunks/chunk-ISLK6R2P.js +2 -0
- package/dist/chunks/chunk-J2L2NK6E.js +366 -0
- package/dist/chunks/chunk-JAF2YLZO.js +14 -0
- package/dist/chunks/chunk-KDLOPBFZ.js +2 -0
- package/dist/chunks/chunk-KDSO7V4O.js +5 -0
- package/dist/chunks/chunk-KE2NBMAP.js +20 -0
- package/dist/chunks/chunk-MCDZNQWD.js +634 -0
- package/dist/chunks/chunk-NSR4RW2F.js +3 -0
- package/dist/chunks/chunk-OGTRDK4Q.js +359 -0
- package/dist/chunks/chunk-P55RJIOG.js +18 -0
- package/dist/chunks/chunk-P7OJRV5Z.js +2 -0
- package/dist/chunks/chunk-QP47JIWP.js +3 -0
- package/dist/chunks/chunk-QSZCR5GC.js +190 -0
- package/dist/chunks/chunk-R2HTPDI7.js +2 -0
- package/dist/chunks/chunk-R42S4BLA.js +2 -0
- package/dist/chunks/chunk-RYBUYHDL.js +5 -0
- package/dist/chunks/chunk-SDPZFH6M.js +4 -0
- package/dist/chunks/chunk-SK3RRGHJ.js +142 -0
- package/dist/chunks/chunk-TQ475LOI.js +2 -0
- package/dist/chunks/chunk-UF3GZ5PO.js +2 -0
- package/dist/chunks/chunk-UL6YIT4M.js +2 -0
- package/dist/chunks/chunk-V2XJSFFE.js +19 -0
- package/dist/chunks/chunk-V4WSBIXB.js +2 -0
- package/dist/chunks/chunk-V5RCDBKU.js +2 -0
- package/dist/chunks/{chunk-FX4R5PB3.js → chunk-W2CWO4PQ.js} +1 -1
- package/dist/chunks/chunk-W33QJA3M.js +2 -0
- package/dist/chunks/chunk-WMMESRP3.js +9 -0
- package/dist/chunks/chunk-WWPVEK6B.js +127 -0
- package/dist/chunks/chunk-X5M7TLJV.js +2 -0
- package/dist/chunks/chunk-XDMNJW6J.js +42 -0
- package/dist/chunks/{chunk-L22BDZGE.js → chunk-XZSFUGPN.js} +1 -1
- package/dist/chunks/client-LTIFNED5.js +2 -0
- package/dist/chunks/compaction-config-ECMOFP5H.js +2 -0
- package/dist/chunks/{construction-bootstrap-XBHM6NON.js → construction-bootstrap-OAZKGI5Y.js} +1 -1
- package/dist/chunks/devtools-MVOFT6N7.js +2 -0
- package/dist/chunks/devtools-TXYDDL2A.js +2 -0
- package/dist/chunks/dist-5J53DGAO.js +2 -0
- package/dist/chunks/errors-ER7ZRPWC.js +2 -0
- package/dist/chunks/google-native-WLL27OV7.js +2 -0
- package/dist/chunks/host-65E5NM5P.js +2 -0
- package/dist/chunks/mistral-native-JXPIDDYZ.js +5 -0
- package/dist/chunks/model-DZF6URW3.js +2 -0
- package/dist/chunks/permission-YVVMLQ5I.js +2 -0
- package/dist/chunks/pi-messages-5LLOZH57.js +16 -0
- package/dist/chunks/readline-helpers-UZXWBRXQ.js +2 -0
- package/dist/chunks/responses-websocket-Y4N5GXD3.js +2 -0
- package/dist/chunks/run-manager-ZFACIZM2.js +2 -0
- package/dist/chunks/running-session-Q5Y6A2QV.js +2 -0
- package/dist/chunks/skills-TJP6BLZJ.js +2 -0
- package/dist/chunks/tool-dispatch-MLM3QTSU.js +2 -0
- package/dist/chunks/utils-2QNMYRGA.js +2 -0
- package/dist/generated-config-templates.json +6 -0
- package/dist/index.d.ts +34 -32
- package/dist/index.js +6 -6
- package/dist/kodax_bootstrap.js +4 -2
- package/dist/kodax_cli.js +1755 -2979
- package/dist/kodax_doctor.js +3 -0
- package/dist/kodax_resume.js +30 -30
- package/dist/manual-topics.json +2211 -0
- package/dist/native/darwin-arm64/kodax-text-transaction.node +0 -0
- package/dist/native/darwin-arm64/manifest.json +1 -1
- package/dist/native/win32-x64/kodax-windows-sandbox.exe +0 -0
- package/dist/native/win32-x64/kodax-windows-text-transaction.node +0 -0
- package/dist/native/win32-x64/manifest.json +2 -2
- package/dist/one-shot-task.js +2 -0
- package/dist/provider-auth-cli.js +16 -0
- package/dist/provider-capabilities.json +560 -40
- package/dist/runtime-daemon-schema.json +1 -0
- package/dist/sandbox-network-broker.js +260 -795
- package/dist/script-cell.js +1 -0
- package/dist/script-worker.cjs +2189 -0
- package/dist/sdk-a2a.d.ts +23 -22
- package/dist/sdk-a2a.js +6 -8
- package/dist/sdk-agent.d.ts +125 -98
- package/dist/sdk-agent.js +1 -1
- package/dist/sdk-client.d.ts +16 -10
- package/dist/sdk-client.js +1 -1
- package/dist/sdk-coding.d.ts +109 -80
- package/dist/sdk-coding.js +1 -1
- package/dist/sdk-experimental-memory.d.ts +3 -3
- package/dist/sdk-experimental-memory.js +1 -1
- package/dist/sdk-llm.d.ts +265 -14
- package/dist/sdk-llm.js +1 -1
- package/dist/sdk-mcp.d.ts +3 -3
- package/dist/sdk-mcp.js +1 -1
- package/dist/sdk-media.d.ts +41 -166
- package/dist/sdk-media.js +1 -1
- package/dist/sdk-repl.d.ts +81 -51
- package/dist/sdk-repl.js +2 -2
- package/dist/sdk-runtime.d.ts +216 -2989
- package/dist/sdk-runtime.js +1 -1
- package/dist/sdk-sandbox.js +1 -1
- package/dist/sdk-session.d.ts +15 -14
- 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 +121 -75
- package/dist/static-text.json +371 -0
- package/dist/storage-repair-cli.js +3 -0
- package/dist/types-chunks/auth-file.d-ovsHEqD4.d.ts +178 -0
- package/dist/types-chunks/{bash-prefix-extractor.d-DFH463j2.d.ts → bash-prefix-extractor.d-CJliu5-D.d.ts} +326 -168
- package/dist/types-chunks/{capability-learning.d-B4pxKwP4.d.ts → capability-learning.d-BXDEOON2.d.ts} +4 -4
- package/dist/types-chunks/{capability.d-DOF3r0fJ.d.ts → capability.d-DapzKxy3.d.ts} +1 -1
- package/dist/types-chunks/{capsule.d-CwpmHGFB.d.ts → capsule.d-EMwSALqK.d.ts} +5 -5
- package/dist/types-chunks/{client-contract-CRm9ZpL2.d.ts → client-contract-B7q69yMA.d.ts} +265 -67
- package/dist/types-chunks/{controller.d-B4GyqWri.d.ts → controller.d-C0SAuNKu.d.ts} +1 -1
- package/dist/types-chunks/{controller.d-P3H97ddz.d.ts → controller.d-D-hPLKaA.d.ts} +71 -11
- package/dist/types-chunks/{cost-tracker.d-BeaenODW.d.ts → cost-tracker.d-D1CTx-IO.d.ts} +37 -7
- package/dist/types-chunks/{base.d-ZBOdjDUT.d.ts → errors.d-D73qdYbS.d.ts} +91 -74
- package/dist/types-chunks/{history-retrieval.d-BzKWDjzG.d.ts → history-retrieval.d-BwEUR9cb.d.ts} +2 -2
- package/dist/types-chunks/{manager.d-C8OlTe2J.d.ts → manager.d-BMH8Q6TV.d.ts} +1 -1
- package/dist/types-chunks/{manifest.d-COreAnXG.d.ts → manifest.d-YE3-AIeO.d.ts} +1 -1
- package/dist/types-chunks/{provider-credential-context.d-BH2OaB1b.d.ts → provider-credential-context.d-Dw-sWcnu.d.ts} +11 -2
- package/dist/types-chunks/{provider-request-observation.d-C_bEqr4m.d.ts → provider-request-observation.d-CNe9vse3.d.ts} +4 -2
- package/dist/types-chunks/{public-api.d-BLmqDi73.d.ts → public-api.d-BhDU643p.d.ts} +13 -10
- package/dist/types-chunks/queue-BxQhqhFM.d.ts +166 -0
- package/dist/types-chunks/{resolver.d-DLY01RHx.d.ts → resolver.d-DrkpD8wY.d.ts} +142 -103
- package/dist/types-chunks/{review-inbox.d-BTLDdpG2.d.ts → review-inbox.d-Bgt46S7L.d.ts} +16 -3
- package/dist/types-chunks/{review-packet.d-Crra1Q7t.d.ts → review-packet.d-ChOfJaNI.d.ts} +7 -7
- package/dist/types-chunks/{run-manager.d-DmS1edk4.d.ts → run-manager.d-ChzguipG.d.ts} +48 -12
- package/dist/types-chunks/{runtime-client-info-BBBxdU8V.d.ts → runtime-client-info-P_mRDG7j.d.ts} +93 -7
- package/dist/types-chunks/runtime-event-BW5Pla7a.d.ts +48 -0
- package/dist/types-chunks/sdk-runtime-cDe7qmN3.d.ts +2244 -0
- package/dist/types-chunks/{sdk-session-DipY_CCd.d.ts → sdk-session-D3pcSbnA.d.ts} +13 -4
- package/dist/types-chunks/{sdk-skills-DokfOoJF.d.ts → sdk-skills-C-UA1A6I.d.ts} +3 -1
- package/dist/types-chunks/{side-query.d-DTrhVd_r.d.ts → side-query.d-UFKdWSw7.d.ts} +4 -4
- package/dist/types-chunks/{types.d-Jxj49rqO.d.ts → skill-invocation-error.d-gsNNDnnt.d.ts} +24 -14
- package/dist/types-chunks/task-results.d-XMdWq0eA.d.ts +15 -0
- package/dist/types-chunks/{trusted-repl-entry-B1cb7lAn.d.ts → trusted-repl-entry-Bbkd2HlO.d.ts} +10 -10
- package/dist/types-chunks/{types.d-BjOq57-z.d.ts → types.d-Bi8iUd6x.d.ts} +248 -4
- package/dist/types-chunks/{types.d-NyCB6ztO.d.ts → types.d-BlXTogOo.d.ts} +24 -13
- package/dist/types-chunks/types.d-BvEGNdN-.d.ts +131 -0
- package/dist/types-chunks/{types.d-Cb8RdrjU.d.ts → types.d-D8qQjMeo.d.ts} +5 -1
- package/dist/types-chunks/{utils.d-Bt6USYa5.d.ts → utils.d-CxHyBvO6.d.ts} +11 -7
- package/dist/windows-native-scripts.json +5 -0
- package/docs/ARTIFACT_SDK.md +8 -0
- package/docs/CLIENT_CONTRACT.md +195 -9
- package/docs/SDK_MIGRATION.md +887 -2
- package/docs/SPACE_SDK_SEAMS.md +255 -2
- package/package.json +33 -6
- package/public_docs/README.md +27 -2
- package/public_docs/configuration/config-files.md +6 -0
- package/public_docs/configuration/custom-providers.md +62 -0
- package/public_docs/configuration/providers.md +238 -3
- package/public_docs/configuration/sandbox.md +30 -0
- package/public_docs/getting-started/quickstart.md +10 -1
- package/public_docs/sdk/embedder-guide.md +476 -206
- package/dist/chunks/agent-C7MMIRIH.js +0 -2
- package/dist/chunks/argument-completer-WIQAV5GP.js +0 -2
- package/dist/chunks/chunk-2AM3FRQ7.js +0 -137
- package/dist/chunks/chunk-2TBKGO2Q.js +0 -497
- package/dist/chunks/chunk-35P7QL2Q.js +0 -2
- package/dist/chunks/chunk-5DQTOU2E.js +0 -69
- package/dist/chunks/chunk-7NH5BGE4.js +0 -350
- package/dist/chunks/chunk-AWYO4MH3.js +0 -635
- package/dist/chunks/chunk-CIPS75XZ.js +0 -260
- package/dist/chunks/chunk-CRQWSDHV.js +0 -429
- package/dist/chunks/chunk-HD5BDOPC.js +0 -2
- package/dist/chunks/chunk-JXZMES45.js +0 -12
- package/dist/chunks/chunk-KJSZTP5N.js +0 -2
- package/dist/chunks/chunk-KYHMB6XR.js +0 -431
- package/dist/chunks/chunk-ONUPGMER.js +0 -2
- package/dist/chunks/chunk-P42PHZWC.js +0 -351
- package/dist/chunks/chunk-SHG3EIH5.js +0 -19
- package/dist/chunks/chunk-UH6VOCVP.js +0 -2
- package/dist/chunks/chunk-V26LAWJY.js +0 -2
- package/dist/chunks/chunk-WOHHMGEF.js +0 -394
- package/dist/chunks/chunk-WONYJBAA.js +0 -2
- package/dist/chunks/chunk-XJWNIFC2.js +0 -298
- package/dist/chunks/chunk-XMWTEVFZ.js +0 -1481
- package/dist/chunks/chunk-YJTIPSNW.js +0 -22
- package/dist/chunks/chunk-YVBBU6K5.js +0 -5
- package/dist/chunks/client-XFASU74S.js +0 -2
- package/dist/chunks/compaction-config-JZNGDKWW.js +0 -2
- package/dist/chunks/devtools-CD6KSIHE.js +0 -2
- package/dist/chunks/devtools-XR5F2C6T.js +0 -2
- package/dist/chunks/dist-M4HLQAX7.js +0 -2
- package/dist/chunks/dist-ZLR4OTDD.js +0 -2
- package/dist/chunks/host-EHVJWNGS.js +0 -2
- package/dist/chunks/readline-helpers-KIDMSK76.js +0 -2
- package/dist/chunks/run-manager-HNGIYMG7.js +0 -2
- package/dist/chunks/tool-dispatch-ON33NJR5.js +0 -2
- package/dist/chunks/utils-RHR6YHB2.js +0 -2
package/dist/sdk-agent.d.ts
CHANGED
|
@@ -1,61 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as AgentActor, a as AgentActorClient, b as AgentActorOwner, c as AgentActorSaveAttempt, d as AgentActorSaveDiagnostics, e as AgentActorSavePhase, f as AgentActorSaveTiming, g as AgentActorSnapshot, h as AgentActorSnapshotV1, i as AgentActorSnapshotV2, j as AgentActorState, k as AgentActorStore, l as AgentArtifactDescriptor, m as AgentBudgetAdmission, n as AgentBudgetAdmissionInput, p as AgentBudgetPort, q as AgentCapabilities, r as AgentDataClassification, s as AgentDetail, t as AgentEvent, u as AgentEventKind, v as AgentExecutionInput, w as AgentExecutionKind, x as AgentExecutionResult, y as AgentFollowupResult, z as AgentForkTurns, B as AgentInterruptScope, C as AgentIterationProgress, E as AgentListEntry, F as AgentMailboxMessage, H as AgentMutationOptions, I as AgentOutput, J as AgentProgressItem, K as AgentProgressKind, L as AgentProgressUpdate, M as AgentSpawnInput, N as AgentTreeSnapshot, O as AgentTurn, P as AgentTurnExecutor, Q as AgentTurnRef, R as AgentTurnState, S as AgentTurnSummary, T as EpisodeReviewActionInput, U as EpisodeReviewActionReceipt, V as EpisodeReviewBranchChangedError, W as EpisodeReviewClaim, X as EpisodeReviewDecision, Y as EpisodeReviewDecisionInput, Z as EpisodeReviewDrainEligibility, _ as EpisodeReviewDrainOptions, $ as EpisodeReviewDrainResult, a0 as EpisodeReviewFailure, a1 as EpisodeReviewFailureKind, a2 as EpisodeReviewInputCheckpoint, a3 as EpisodeReviewInputSpec, a4 as EpisodeReviewJobSnapshot, a5 as EpisodeReviewJobState, a6 as EpisodeReviewJobStatus, a7 as EpisodeReviewReceipt, a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ag as KodaXGoalStatus, ah as KodaXHandledMemoryOperation, aj as KodaXMemoryInfluenceRef, ak as KodaXMemoryIntent, am as KodaXMemoryOutcomeEvidence, an as KodaXSessionArchiveMarkerEntry, ap as KodaXSessionBranchSummaryEntry, aq as KodaXSessionClientNoticeEntry, ar as KodaXSessionCompactionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, ay as KodaXSessionMemoryOutcomeDigestEntry, az as KodaXSessionMemoryReviewReceiptEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions,
|
|
3
|
-
export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, d as CreateWorkflowCapsuleInput, 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, i as KODAX_MAX_MAXTOKENS_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, u as PolicyCompactionResult, W as WORKFLOW_CAPSULE_API_VERSION, v as WORKFLOW_CAPSULE_FORMAT, w as WORKFLOW_CAPSULE_VERSION, x as WorkflowCapsule, y as WorkflowCapsuleEnvironmentRequirement, z as WorkflowCapsuleInputs, A as WorkflowCapsuleIntent, B as WorkflowCapsuleProvenance, E as WorkflowCapsuleRequirements, F as WorkflowQualityLintFinding, G as WorkflowQualityLintOptions, H as WorkflowQualityLintSeverity, _ as _resetActiveRootQueueRoutesForTests, I as actorQueueId, J as appendSessionLineageLabel, M as applyLineageTruncation, N as applySessionCompaction, O as archiveOldIslands, Q as assertRestrictedWorkflowQuality, R as buildSessionTree, S as buildWorkflowCapsuleIntent, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, Y as createWorkflowCapsule, Z as createWorkflowModuleFromCapsule, $ as estimateTokens, a0 as evictOldIslandMessageContent, a1 as extractArtifactLedger, a2 as extractFileOps, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a7 as generateSessionIdSync, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ac as getSessionMessageEntryId, ad as getSessionMessagesFromLineage, ae as isPathInsideDirectory, af as lintRestrictedWorkflowSource, ag as mergeArtifactLedger, ah as mergeFileOps, ai as registerActiveRootQueueRoute, aj as resolveActiveRootQueueRoute, ak as resolveExecutionPath, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory, aq as validateWorkflowCapsule } from './types-chunks/capsule.d-
|
|
4
|
-
import {
|
|
5
|
-
export { A as AdmissionAuditOptions, a as AdmissionCtx, b as AdmissionVerdict, c as AdmittedHandle, e as AgentActorController, f as AgentControllerHealth, g as AgentControllerOptions, j as AgentMiddlewareDeclaration, k as AgentReasoningProfile, l as AgentSpanData, m as AgentTool, C as
|
|
6
|
-
import {
|
|
7
|
-
export {
|
|
8
|
-
import { C as CapabilityCache, b as CapabilityCacheSource } from './types-chunks/capability-learning.d-
|
|
9
|
-
export { a as CapabilityCacheEntry } from './types-chunks/capability-learning.d-
|
|
10
|
-
export { C as CapabilityKind, a as CapabilityProvider, b as CapabilityResult, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-
|
|
1
|
+
import { as as KodaXSessionData, aD as KodaXSessionPromotionRecord, ac as KodaXExtensionStore, ad as KodaXExtensionStoreEntry, ai as KodaXJsonValue, a$ as MemoryContextIdentity, aR as MemoryActionProposal, b7 as MemoryItemRef, aS as MemoryApplicability, ax as KodaXSessionLineage, al as KodaXMemoryOutcomeDigest, at as KodaXSessionEntry, aH as KodaXSessionStorage, af as KodaXGoalState, ae as KodaXGoalEventType, av as KodaXSessionGoalEntry, ao as KodaXSessionArtifactLedgerEntry, o as AgentBudgetExhausted, G as AgentMetadataValue, D as AgentLimitReached } from './types-chunks/review-inbox.d-Bgt46S7L.js';
|
|
2
|
+
export { A as AgentActor, a as AgentActorClient, b as AgentActorOwner, c as AgentActorSaveAttempt, d as AgentActorSaveDiagnostics, e as AgentActorSavePhase, f as AgentActorSaveTiming, g as AgentActorSnapshot, h as AgentActorSnapshotV1, i as AgentActorSnapshotV2, j as AgentActorState, k as AgentActorStore, l as AgentArtifactDescriptor, m as AgentBudgetAdmission, n as AgentBudgetAdmissionInput, p as AgentBudgetPort, q as AgentCapabilities, r as AgentDataClassification, s as AgentDetail, t as AgentEvent, u as AgentEventKind, v as AgentExecutionInput, w as AgentExecutionKind, x as AgentExecutionResult, y as AgentFollowupResult, z as AgentForkTurns, B as AgentInterruptScope, C as AgentIterationProgress, E as AgentListEntry, F as AgentMailboxMessage, H as AgentMutationOptions, I as AgentOutput, J as AgentProgressItem, K as AgentProgressKind, L as AgentProgressUpdate, M as AgentSpawnInput, N as AgentTreeSnapshot, O as AgentTurn, P as AgentTurnExecutor, Q as AgentTurnRef, R as AgentTurnState, S as AgentTurnSummary, T as EpisodeReviewActionInput, U as EpisodeReviewActionReceipt, V as EpisodeReviewBranchChangedError, W as EpisodeReviewClaim, X as EpisodeReviewDecision, Y as EpisodeReviewDecisionInput, Z as EpisodeReviewDrainEligibility, _ as EpisodeReviewDrainOptions, $ as EpisodeReviewDrainResult, a0 as EpisodeReviewFailure, a1 as EpisodeReviewFailureKind, a2 as EpisodeReviewInputCheckpoint, a3 as EpisodeReviewInputSpec, a4 as EpisodeReviewJobSnapshot, a5 as EpisodeReviewJobState, a6 as EpisodeReviewJobStatus, a7 as EpisodeReviewReceipt, a8 as KodaXCompactMemoryProgress, a9 as KodaXCompactMemorySeed, aa as KodaXExtensionSessionRecord, ab as KodaXExtensionSessionState, ag as KodaXGoalStatus, ah as KodaXHandledMemoryOperation, aj as KodaXMemoryInfluenceRef, ak as KodaXMemoryIntent, am as KodaXMemoryOutcomeEvidence, an as KodaXSessionArchiveMarkerEntry, ap as KodaXSessionBranchSummaryEntry, aq as KodaXSessionClientNoticeEntry, ar as KodaXSessionCompactionEntry, au as KodaXSessionEntryBase, aw as KodaXSessionLabelEntry, ay as KodaXSessionMemoryOutcomeDigestEntry, az as KodaXSessionMemoryReviewReceiptEntry, aA as KodaXSessionMessageEntry, aB as KodaXSessionMeta, aC as KodaXSessionNavigationOptions, aE as KodaXSessionRewindMarkerEntry, aF as KodaXSessionRuntimeInfo, aG as KodaXSessionScope, aI as KodaXSessionTreeNode, aJ as KodaXSessionUiHistoryItem, aK as KodaXSessionUiHistoryItemType, aL as KodaXSessionUiTextHistoryItem, aM as KodaXSessionUiTextHistoryItemType, aN as KodaXSessionUiToolCall, aO as KodaXSessionUiToolCallStatus, aP as KodaXSessionUiToolGroupHistoryItem, aQ as KodaXSessionWorkspaceKind, aT as MemoryApplyPreview, aU as MemoryApplyResult, aV as MemoryApproval, aW as MemoryAuthority, aZ as MemoryBodySnapshot, a_ as MemoryClaimKind, b0 as MemoryController, b1 as MemoryCuratorInput, b2 as MemoryEpisodeReviewResult, b3 as MemoryEvent, b4 as MemoryGovernanceFinding, b5 as MemoryGovernanceFindingKind, b6 as MemoryGovernanceReport, b8 as MemoryLifecycle, b9 as MemoryLifecycleOperationResult, ba as MemoryManagementController, bb as MemoryPack, bc as MemoryPackHint, bd as MemoryPackInput, be as MemoryPackTraceMetadata, bf as MemoryProposalAction, bg as MemoryRefFilter, bh as MemoryRefKind, bi as MemoryRejectResult, bj as MemoryRememberInput, bk as MemoryRememberResult, bl as MemoryReviewCandidateRef, bm as MemoryReviewDraftAction, bn as MemoryReviewInput, bo as MemoryReviewModelInput, bp as MemoryReviewPersistenceDecision, bq as MemoryReviewPersistenceKind, br as MemoryReviewPlan, bs as MemoryReviewRunner, bt as MemoryReviewTrigger, bu as MemoryScope, bv as MemorySourceAdapter, bw as MemoryVisibility, bx as PendingEpisodeReview, by as PendingEpisodeReviewFilter, bz as PendingEpisodeReviewSummary, bA as PendingEpisodeReviewV1, bB as PendingEpisodeReviewV2, bC as SessionErrorMetadata, bD as captureEpisodeReviewBranchEpoch, bE as claimEpisodeReview, bF as commitEpisodeReviewAction, bG as commitEpisodeReviewDecision, bH as completeEpisodeReview, bI as completeFencedEpisodeReview, bJ as deferEpisodeReview, bK as discardFencedEpisodeReview, bL as drainPendingEpisodeReviews, bM as failEpisodeReviewApply, bN as failEpisodeReviewAttempt, bO as freezeEpisodeReviewInput, bP as hashMemoryIdentityComponent, bQ as inspectEpisodeReviewJob, bR as isMemoryManagementController, bS as listPendingEpisodeReviewSummaries, bT as listPendingEpisodeReviews, bU as matchesMemoryApplicability, bV as memoryApplicabilityFingerprint, bW as persistPendingEpisodeReview, bX as withEpisodeReviewClaimAuthority, bY as withPendingEpisodeReviewSessionFence } from './types-chunks/review-inbox.d-Bgt46S7L.js';
|
|
3
|
+
export { C as CompactionContext, a as CompactionEntry, b as CompactionEntryPayload, c as CompactionPolicy, d as CreateWorkflowCapsuleInput, 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, i as KODAX_MAX_MAXTOKENS_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, u as PolicyCompactionResult, W as WORKFLOW_CAPSULE_API_VERSION, v as WORKFLOW_CAPSULE_FORMAT, w as WORKFLOW_CAPSULE_VERSION, x as WorkflowCapsule, y as WorkflowCapsuleEnvironmentRequirement, z as WorkflowCapsuleInputs, A as WorkflowCapsuleIntent, B as WorkflowCapsuleProvenance, E as WorkflowCapsuleRequirements, F as WorkflowQualityLintFinding, G as WorkflowQualityLintOptions, H as WorkflowQualityLintSeverity, _ as _resetActiveRootQueueRoutesForTests, I as actorQueueId, J as appendSessionLineageLabel, M as applyLineageTruncation, N as applySessionCompaction, O as archiveOldIslands, Q as assertRestrictedWorkflowQuality, R as buildSessionTree, S as buildWorkflowCapsuleIntent, T as cleanupIncompleteToolCalls, U as countActiveLineageMessages, V as countTokens, X as createSessionLineage, Y as createWorkflowCapsule, Z as createWorkflowModuleFromCapsule, $ as estimateTokens, a0 as evictOldIslandMessageContent, a1 as extractArtifactLedger, a2 as extractFileOps, a3 as extractTitleFromMessages, a4 as findPreviousUserEntryId, a5 as forkSessionLineage, a6 as generateSessionId, a7 as generateSessionIdSync, a8 as getAgentConfigHome, a9 as getAgentConfigPath, aa as getAppDataDir, ab as getSessionLineagePath, ac as getSessionMessageEntryId, ad as getSessionMessagesFromLineage, ae as isPathInsideDirectory, af as lintRestrictedWorkflowSource, ag as mergeArtifactLedger, ah as mergeFileOps, ai as registerActiveRootQueueRoute, aj as resolveActiveRootQueueRoute, ak as resolveExecutionPath, al as resolveSessionLineageTarget, am as rewindSessionLineage, an as setAgentConfigHome, ao as setSessionLineageActiveEntry, ap as validateAndFixToolHistory, aq as validateWorkflowCapsule } from './types-chunks/capsule.d-EMwSALqK.js';
|
|
4
|
+
import { aW as Span, bf as Trace, d as Agent, P as Handoff, aJ as RunnerToolCall, aM as RunnerToolResult, i as AgentMessage, h as AgentManifest, ae as ManifestPatch, U as InvariantId, aq as QualityInvariant, ar as QueueEventListener, at as QueuedMessage, E as EnqueueInput, w as DequeueFilter, aj as MessagePriority, as as QueuedInputArtifact, x as DiscoveredInstance, aU as SessionMeta, aV as SessionStateSnapshot, b2 as StateWriterFs, T as InstanceDiscoveryFs, b1 as StateWriter, b4 as StopHookContext, b6 as StopHookResult, b5 as StopHookFn, Y as LearnedAreaStore } from './types-chunks/controller.d-D-hPLKaA.js';
|
|
5
|
+
export { A as AdmissionAuditOptions, a as AdmissionCtx, b as AdmissionVerdict, c as AdmittedHandle, e as AgentActorController, f as AgentControllerHealth, g as AgentControllerOptions, j as AgentMiddlewareDeclaration, k as AgentReasoningProfile, l as AgentSpanData, m as AgentTool, C as CONTEXT_SAFETY_FLOOR_TOKENS, n as CONTEXT_SAFETY_RATIO, o as CommitLearnedSkillRevisionInput, p as CompactionSpanData, q as ContextCapacityError, r as ContextCapacityInput, s as CreateLearnedSkillRecordInput, t as CurrentTodoSummary, D as DEFAULT_SYSTEM_CAP, u as DeclarativeSkillSpec, v as Deliverable, y as DiscoveryOptions, z as EvidenceSpanData, B as ExactInvokedSkillSnapshot, F as FanoutSpanData, G as GenerationSpanData, H as GenerationSuspensionError, I as Guardrail, J as GuardrailBlockedError, K as GuardrailContext, L as GuardrailEscalateError, M as GuardrailPermissionIntent, N as GuardrailSpanData, O as GuardrailVerdict, Q as HandoffSpanData, R as InMemorySessionOptions, S as InputGuardrail, V as InvariantResult, W as InvariantSession, X as LearnedAreaPaths, Z as LearnedSkillBindingAdmission, _ as LearnedSkillCanaryOutcome, $ as LearnedSkillDecisionDisposition, a0 as LearnedSkillInvocationAdmission, a1 as LearnedSkillInvokedReceipt, a2 as LearnedSkillOfferedReceipt, a3 as LearnedSkillOutcomeReceipt, a4 as LearnedSkillUsageReceipt, a5 as LearningReviewEvidencePacket, a6 as LearningReviewQualification, a7 as LearningReviewVerifierFact, a8 as MAX_TOOL_LOOP_ITERATIONS, a9 as ManagedChildCleanupSummary, aa as ManagedChildProcessMetadata, ab as ManagedChildRegistrationOptions, ac as ManagedRunChildCleanupResult, ad as ManagedRunChildProcessReference, af as MemoryDecisionTraceReceipt, ag as MessageDelivery, ah as MessageEntry, ai as MessageMode, ak as NormalizedLearnedSkillDecision, al as ObserveCtx, am as OutputGuardrail, an as PersistedSessionState, ao as PresetDispatcher, ap as PresetTracingContext, au as RESERVE_SHRINK_FLOOR_TOKENS, av as ReadonlyMutationTracker, aw as ReadonlyRecorder, ax as ReasoningDepth, ay as RecentlyModifiedFile, az as RunEvent, aA as RunOptions, aB as RunResult, aC as RunnableTool, aD as Runner, aE as RunnerEvent, aF as RunnerIterationLimitError, aG as RunnerLlmResult, aH as RunnerLlmReturn, aI as RunnerRecoveryTranscriptCarrier, aK as RunnerToolContext, aL as RunnerToolObserver, aN as RunnerToolResultBatch, aO as RunnerToolResultBatchTransform, aP as Session, aQ as SessionDispatchResult, aR as SessionEntry, aS as SessionExtension, aT as SessionForkOptions, aX as SpanData, aY as SpanError, aZ as SpanImpl, a_ as SpanImplOptions, a$ as StagedLearnedSkillArtifact, b0 as StartTraceOptions, b3 as StateWriterOptions, b7 as StopHookSpanData, b8 as SystemCap, b9 as TerminalCtx, ba as ToolBeforeOutcome, bb as ToolCallSpanData, bc as ToolCapability, bd as ToolGuardrail, be as ToolPermission, bg as TraceOptions, bh as Tracer, bi as TracerOptions, bj as UnifiedLearningReviewModelInput, bk as UnifiedLearningReviewResult, bl as UnifiedLearningReviewRunner, bm as _resetAdmittedAgentBindings, bn as _resetPresetDispatchers, bo as admitAndRecordLearnedSkillInvocation, bp as admitLearnedSkillBinding, bq as attachRunnerRecoveryTranscript, br as buildAssistantMessageFromLlmResult, bs as buildSystemPrompt, bt as buildToolResultMessage, bu as calculateContextSafetyMargin, bv as calculateMaxContextInputTokens, bw as cleanupManagedRunChildProcess, bx as cleanupRegisteredManagedChildren, by as collectGuardrails, bz as commitLearnedSkillRevision, bA as completeLearnedSkillOutcome, bB as completeLearnedSkillSessionOutcomes, bC as createAgent, bD as createAgentActorController, bE as createHandoff, bF as createInMemorySession, bG as createInvariantSessionForAgent, bH as createLearnedCapabilityScope, bI as createLearnedSkillRecord, bJ as createStateWriter, bK as createTrace, bL as defaultTracer, bM as detectInstructionsInjection, bN as discoverInstances, bO as eventFromCapability, bP as exactInvokedSkillSnapshotForSession, bQ as exceedsContextCapacity, bR as executeRunnerToolCall, bS as extractAssistantTextFromMessage, bT as getAdmittedAgentBindings, bU as invokeLearnedSkillCanary, bV as isLearnedCapabilityRecordV2, bW as isRunnableTool, bX as isRunnerIterationLimitError, bY as isRunnerLlmResult, bZ as isUnifiedLearningReviewModelInput, b_ as listLearnedSkillUsageReceipts, b$ as normalizeAgentReasoningProfile, c0 as normalizeUnifiedLearningReview, c1 as quarantineLearnedSkillRevision, c2 as readRunnerRecoveryTranscript, c3 as reclaimReservedResponseTokens, c4 as reconcileLearnedSkillBindingOutcomes, c5 as recordLearnedSkillOffered, c6 as registerManagedChildProcess, c7 as registerPresetDispatcher, c8 as releaseLearnedSkillBinding, c9 as renderDeclarativeSkill, ca as resolveLearnedAreaPaths, cb as resolveProjectLearnedAreaRoot, cc as runAdmissionAudit, cd as runInputGuardrails, ce as runOutputGuardrails, cf as runToolAfterGuardrails, cg as runToolBeforeGuardrails, ch as sanitizeUnifiedLearningReviewInput, ci as setAdmittedAgentBindings, cj as stageLearnedSkillRevision, ck as validateDeclarativeSkillSpec, cl as withManagedChildProcessConfigHome } from './types-chunks/controller.d-D-hPLKaA.js';
|
|
6
|
+
import { N as KodaXProviderStreamOptions, s as KodaXImageBlock, v as KodaXMessage, aj as KodaXToolDefinition, ao as KodaXToolUseBlock, W as KodaXReasoningRequest, j as KodaXEphemeralSuffix, L as KodaXProviderRequestProjection, ah as KodaXTokenUsage } from './types-chunks/types.d-Bi8iUd6x.js';
|
|
7
|
+
export { b as KodaXAssuranceIntent, h as KodaXContentBlock, k as KodaXExecutionMode, l as KodaXExecutionPattern, x as KodaXMutationSurface, C as KodaXProviderConfig, Q as KodaXReasoningCapability, U as KodaXReasoningMode, Y as KodaXRedactedThinkingBlock, a0 as KodaXRiskLevel, a2 as KodaXStreamResult, a3 as KodaXTaskActionability, a4 as KodaXTaskBudgetOverrides, a5 as KodaXTaskComplexity, a6 as KodaXTaskFamily, a7 as KodaXTaskResultMetadata, a8 as KodaXTaskResultSource, a9 as KodaXTaskRoutingDecision, aa as KodaXTaskType, ab as KodaXTaskWorkIntent, ac as KodaXTextBlock, ad as KodaXThinkingBlock, ae as KodaXThinkingBudgetMap, af as KodaXThinkingDepth, ak as KodaXToolResultBlock } from './types-chunks/types.d-Bi8iUd6x.js';
|
|
8
|
+
import { C as CapabilityCache, b as CapabilityCacheSource } from './types-chunks/capability-learning.d-BXDEOON2.js';
|
|
9
|
+
export { a as CapabilityCacheEntry } from './types-chunks/capability-learning.d-BXDEOON2.js';
|
|
10
|
+
export { C as CapabilityKind, a as CapabilityProvider, b as CapabilityResult, c as CapabilitySearchFailure, d as CapabilitySearchFreshness, e as CapabilitySearchOptions, f as CapabilitySearchSnapshot } from './types-chunks/capability.d-DapzKxy3.js';
|
|
11
11
|
export { I as ImageValidation, v as validateImageBytes } from './types-chunks/image-validation.d-ACJcj02o.js';
|
|
12
|
+
import { K as KodaXBaseProvider } from './types-chunks/errors.d-D73qdYbS.js';
|
|
12
13
|
import { ChildProcess } from 'node:child_process';
|
|
13
|
-
import {
|
|
14
|
-
export { A as ASK_USER_BACK_SIGNAL, a as ASK_USER_CUSTOM_INPUT_SIGNAL, b as AgentArtifactPolicy, c as AgentArtifactPolicyDecision, d as AgentArtifactPolicyInput, e as AgentArtifactReference, f as AgentCapabilityDeclaration, g as AgentCapabilityRequirements, h as AgentContinuationInput, i as AgentCredentialBroker, j as AgentDispatchContext, k as AgentDispatchPolicy, l as AgentDispatchPolicyDecision, m as AgentDispatchPolicyInput, n as AgentDispatchabilitySnapshot, o as AgentDispatchabilityStatus, p as AgentEffectDeclaration, q as AgentExecutor, r as AgentExecutorEvent, t as AgentExecutorFactoryContext, v as AgentExecutorPlaneBackgroundErrorContext, w as AgentExecutorPlaneBackgroundErrorHandler, x as AgentExecutorPlaneBinding, z as AgentExecutorPreflightResult, B as AgentExecutorProtocol, C as AgentExecutorTaskReference, D as AgentExecutorTaskSnapshot, E as AgentJsonObject, F as AgentJsonValue, G as AgentPreflightInput, H as AgentPreflightResult, I as AgentRegistrationEnabledMutationOptions, J as AgentRegistrationMutationOptions, K as AgentRegistrationService, L as AgentTaskCancellation, M as AgentTaskCorrelation, N as AgentTaskEvent, O as AgentTaskFilter, P as AgentTaskProgress, Q as AgentTaskRegistrationSnapshot, R as AgentTaskService, S as AgentTaskSnapshot, T as AgentTaskStartInput, U as AgentTaskState, V as AgentTaskUsage, W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a0 as
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export { I as ISkillRegistry, a as IVariableResolver, L as LearnedSkillDiscoveryConfig, S as Skill, b as SkillArtifact, c as SkillContext, d as SkillDynamicContextExecutor, e as SkillFile, f as SkillFrontmatter, g as SkillHook, h as SkillHooks, i as SkillMetadata, j as SkillPathsConfig, k as SkillResult, l as SkillSource, m as getDefaultSkillPaths, n as getSkillPathsFlat } from './types-chunks/types.d-Cb8RdrjU.js';
|
|
14
|
+
import { ao as KodaXInputArtifactSource, am as KodaXImageMediaType, aq as KodaXVideoMediaType, ak as KodaXFileInputArtifact, al as KodaXImageInputArtifact, ap as KodaXVideoInputArtifact, an as KodaXInputArtifact, aE as LearningActionDriver, aO as LearningQuery, aN as LearningPage, ay as LearnedCapabilityRecord, aQ as LearningSurfaceSnapshot, aJ as LearningEvent, aP as LearningSubscribeOptions, aL as LearningExplicitUserAuthority, aB as LearnedCapabilityScope, a8 as CompactionUpdate, a3 as CompactionConfig, a6 as CompactionRequestMetrics, a4 as CompactionDetails, a7 as CompactionResult, bD as WorkflowRunState, bf as WorkflowOutcome, b0 as WorkflowApi, be as WorkflowModule, a$ as WorkflowAgentBackend, ba as WorkflowLimits, b5 as WorkflowEvent, bb as WorkflowLogEvent, bJ as WorkflowTaskResult, y as AgentExecutorPlaneStore, a9 as CreateAgentExecutorPlaneOptions, u as AgentExecutorPlane, ag as ExternalAgentProtocol, s as AgentExecutorFactory } from './types-chunks/types.d-BlXTogOo.js';
|
|
15
|
+
export { A as ASK_USER_BACK_SIGNAL, a as ASK_USER_CUSTOM_INPUT_SIGNAL, b as AgentArtifactPolicy, c as AgentArtifactPolicyDecision, d as AgentArtifactPolicyInput, e as AgentArtifactReference, f as AgentCapabilityDeclaration, g as AgentCapabilityRequirements, h as AgentContinuationInput, i as AgentCredentialBroker, j as AgentDispatchContext, k as AgentDispatchPolicy, l as AgentDispatchPolicyDecision, m as AgentDispatchPolicyInput, n as AgentDispatchabilitySnapshot, o as AgentDispatchabilityStatus, p as AgentEffectDeclaration, q as AgentExecutor, r as AgentExecutorEvent, t as AgentExecutorFactoryContext, v as AgentExecutorPlaneBackgroundErrorContext, w as AgentExecutorPlaneBackgroundErrorHandler, x as AgentExecutorPlaneBinding, z as AgentExecutorPreflightResult, B as AgentExecutorProtocol, C as AgentExecutorTaskReference, D as AgentExecutorTaskSnapshot, E as AgentJsonObject, F as AgentJsonValue, G as AgentPreflightInput, H as AgentPreflightResult, I as AgentRegistrationEnabledMutationOptions, J as AgentRegistrationMutationOptions, K as AgentRegistrationService, L as AgentTaskCancellation, M as AgentTaskCorrelation, N as AgentTaskEvent, O as AgentTaskFilter, P as AgentTaskProgress, Q as AgentTaskRegistrationSnapshot, R as AgentTaskService, S as AgentTaskSnapshot, T as AgentTaskStartInput, U as AgentTaskState, V as AgentTaskUsage, W as AskUserAnswer, X as AskUserCustomInputAnswer, Y as AskUserMultiOptions, Z as AskUserQuestionItem, _ as AskUserQuestionOptions, $ as AskUserSelectionAnswer, a0 as AskUserUnanswered, a1 as CapabilitySupport, a2 as CompactionAnchor, a5 as CompactionReport, aa as DispatchableAgentDescriptor, ab as DispatchableAgentListing, ac as DispatchableAgentOrigin, ad as DispatchableAgentQuery, ae as ExternalAgentEffectDeclaration, af as ExternalAgentHealth, ah as ExternalAgentRegistration, ai as ExternalAgentRegistrationSummary, aj as FileOperations, ar as LearnedCapabilityArtifact, as as LearnedCapabilityCanary, at as LearnedCapabilityCanaryBinding, au as LearnedCapabilityCanaryInvocation, av as LearnedCapabilityCarrier, aw as LearnedCapabilityLifecycle, ax as LearnedCapabilityProvenance, az as LearnedCapabilityRecordV1, aA as LearnedCapabilityRecordV2, aC as LearnedCapabilitySource, aD as LearningAction, aF as LearningCapabilityError, aG as LearningCapabilityErrorCode, aH as LearningClientEventState, aI as LearningClientRecord, aK as LearningEventKind, aM as LearningNotificationState, aR as LocalAgentTaskInput, aS as LocalAgentTaskUpdate, aT as ManagedRunClassification, aU as ManagedRunHooks, aV as ManagedWorkflowRun, aW as ManagedWorkflowSnapshot, aX as ManagedWorkflowStatus, aY as StartManagedRunInput, aZ as UserInteraction, a_ as UserInteractionPromptContext, b1 as WorkflowApproval, b2 as WorkflowApprovalSummary, b3 as WorkflowArtifactRef, b4 as WorkflowBudget, b6 as WorkflowEventCorrelation, b7 as WorkflowEventRecorder, b8 as WorkflowEventType, b9 as WorkflowIsolation, bc as WorkflowMeta, bd as WorkflowModelHint, bg as WorkflowOutcomeError, bh as WorkflowOutcomeResult, bi as WorkflowOutcomeStatus, bj as WorkflowOutcomeUsage, bk as WorkflowParallelOptions, bl as WorkflowProcessArtifact, bm as WorkflowProcessCounts, bn as WorkflowProcessEvent, bo as WorkflowProcessItem, bp as WorkflowProcessItemKind, bq as WorkflowProcessItemOrigin, br as WorkflowProcessItemStatus, bs as WorkflowProcessMetadata, bt as WorkflowProcessProgress, bu as WorkflowProcessSnapshot, bv as WorkflowProcessSource, bw as WorkflowProcessStatus, bx as WorkflowProcessSummaryStatus, by as WorkflowProcessTokenUsage, bz as WorkflowProcessTracker, bA as WorkflowProcessTrackerOptions, bB as WorkflowRun, bC as WorkflowRunManager, bE as WorkflowRunStatus, bF as WorkflowSpawnAgentInput, bG as WorkflowSynthesis, bH as WorkflowSynthesizeInput, bI as WorkflowTaskHandle, bK as WorkflowTaskSnapshot, bL as WorkflowTaskStatus, bM as WorkflowTaskSummaryEventUpdate, bN as WorkflowTaskSummaryKind, bO as WorkflowTaskSummaryUpdate, bP as WorkflowTaskUsage, bQ as WorkflowTaskVerification, bR as WorkflowTaskVerificationResult, bS as WorkflowWaitOptions, bT as asSingleSelection, bU as assertLearnedCapabilityTransition, bV as canTransitionLearnedCapability, bW as createWorkflowProcessTracker, bX as createWorkflowRunManager, bY as getActiveUserInteraction, bZ as getDefaultWorkflowRunManager, b_ as isAskUserCustomInputAnswer, b$ as isAskUserUnanswered, c0 as isFinalWorkflowProcessStatus, c1 as learningEventIdFor, c2 as learningEventKindForLifecycle, c3 as normalizeHostMetadata, c4 as setActiveUserInteraction, c5 as slugifyLearnedCapabilityName } from './types-chunks/types.d-BlXTogOo.js';
|
|
16
|
+
export { C as CreateMemoryControlPlaneOptions, M as MemoryControlPlane, c as createMemoryControlPlane } from './types-chunks/controller.d-C0SAuNKu.js';
|
|
17
|
+
import { R as ResolvedSkillSource } from './types-chunks/types.d-D8qQjMeo.js';
|
|
18
|
+
export { I as ISkillRegistry, a as IVariableResolver, L as LearnedSkillDiscoveryConfig, S as Skill, b as SkillArtifact, c as SkillContext, d as SkillDynamicContextExecutor, e as SkillFile, f as SkillFrontmatter, g as SkillHook, h as SkillHooks, i as SkillMetadata, j as SkillPathsConfig, k as SkillResult, l as SkillSource, m as getDefaultSkillPaths, n as getSkillPathsFlat } from './types-chunks/types.d-D8qQjMeo.js';
|
|
19
19
|
export { M as McpConnectMode, a as McpServerConfig, b as McpServersConfig, c as McpTransportKind } from './types-chunks/config.d-CJy1WENT.js';
|
|
20
|
-
export { M as McpCapabilityDescriptor, a as McpCapabilityKind, b as McpCapabilityProvider, c as McpCapabilityRisk, d as McpCatalogItem, e as McpDiscoveryCatalog, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, j as McpProviderOptions, k as McpReverseCapabilities, l as McpRoot, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-
|
|
20
|
+
export { M as McpCapabilityDescriptor, a as McpCapabilityKind, b as McpCapabilityProvider, c as McpCapabilityRisk, d as McpCatalogItem, e as McpDiscoveryCatalog, f as McpElicitRequest, g as McpElicitResult, h as McpIcon, i as McpManager, j as McpProviderOptions, k as McpReverseCapabilities, l as McpRoot, m as McpSamplingRequest, n as McpSamplingResult, o as McpServerCatalog, p as McpServerCatalogSnapshot, q as McpServerLogs, r as McpServerRuntime, s as McpServerRuntimeDiagnostics, t as McpServerStatus, u as McpServerToolList, v as McpToolTaskSupport, w as buildInitializeCapabilities, x as createMcpCapabilityId, y as createMcpManager, z as defaultMcpCacheDir, A as getMcpCachePaths, B as normalizeMcpCapabilityId, C as parseMcpCapabilityId, D as searchMcpCatalog } from './types-chunks/manager.d-BMH8Q6TV.js';
|
|
21
21
|
export { A as AuthorizationServerMetadata, D as DiscoveredOAuthEndpoints, M as McpAuthRequiredError, a as McpExpiredSessionError, b as McpTransport, c as McpTransportCleanupIncompleteError, d as McpTransportEvents, O as OAuthClientInfo, e as OAuthLoginConsent, P as PerformOAuthLoginOptions, f as ProtectedResourceMetadata, W as WwwAuthenticateChallenge, g as createMcpTransport, h as discoverAuthorizationServerMetadata, i as discoverOAuthEndpoints, j as discoverProtectedResourceMetadata, k as extractInsufficientScope, l as extractResourceMetadataUrl, m as loadValidToken, p as performOAuthLogin, r as registerOAuthClient } from './types-chunks/oauth-login.d-DsvsksTD.js';
|
|
22
22
|
export { createMcpTestServerFixture } from './sdk-mcp.js';
|
|
23
|
-
export { D as DiscoveryResult, E as ExecutionMode, a as ExecutionOptions, S as SkillExecutor, b as SkillExpansionResult, c as SkillRegistry, V as VariableResolver, d as clearPluginSkillPaths, e as createExecutor, f as createResolver, g as discoverSkills, h as discoverSkillsWithMonorepo, i as executeSkill, j as expandSkillForLLM, k as formatSkillActivationMessage, l as formatSkillsSystemPrompt, m as getNestedSkillPaths, n as getSkillRegistry, o as initializeSkillRegistry, p as listPluginSkillPaths, q as loadFullSkill, r as loadSkillFileContent, s as loadSkillMetadata, t as parseArguments, u as parseSkillMarkdown, v as registerPluginSkillPath, w as resetSkillRegistry, x as resolveSkillContent, y as unregisterPluginSkillPath } from './types-chunks/sdk-skills-
|
|
24
|
-
export { K as
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
declare
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
23
|
+
export { D as DiscoveryResult, E as ExecutionMode, a as ExecutionOptions, S as SkillExecutor, b as SkillExpansionResult, c as SkillRegistry, V as VariableResolver, d as clearPluginSkillPaths, e as createExecutor, f as createResolver, g as discoverSkills, h as discoverSkillsWithMonorepo, i as executeSkill, j as expandSkillForLLM, k as formatSkillActivationMessage, l as formatSkillsSystemPrompt, m as getNestedSkillPaths, n as getSkillRegistry, o as initializeSkillRegistry, p as listPluginSkillPaths, q as loadFullSkill, r as loadSkillFileContent, s as loadSkillMetadata, t as parseArguments, u as parseSkillMarkdown, v as registerPluginSkillPath, w as resetSkillRegistry, x as resolveSkillContent, y as unregisterPluginSkillPath } from './types-chunks/sdk-skills-C-UA1A6I.js';
|
|
24
|
+
export { K as KodaXTaskResultReport, r as readTaskResultReports } from './types-chunks/task-results.d-XMdWq0eA.js';
|
|
25
|
+
export { K as KodaXSessionHistoryHit, a as KodaXSessionHistoryReadOptions, b as KodaXSessionHistoryReadResult, c as KodaXSessionHistoryScope, d as KodaXSessionHistorySearchOptions, e as KodaXSessionHistorySearchResult, f as KodaXSessionHistorySource, r as readSessionHistoryEntry, s as searchSessionHistory, g as searchSessionHistoryCooperatively, v as validateSessionHistorySearchQuery } from './types-chunks/history-retrieval.d-BwEUR9cb.js';
|
|
26
|
+
import { b as WorkflowScriptManifest } from './types-chunks/manifest.d-YE3-AIeO.js';
|
|
27
|
+
export { W as WORKFLOW_PATTERN_IDS, a as WorkflowPatternId, v as validateWorkflowScriptManifest } from './types-chunks/manifest.d-YE3-AIeO.js';
|
|
28
|
+
|
|
29
|
+
declare function sessionMetadataRevision(id: string, data: Pick<KodaXSessionData, 'tag' | 'runtimeInfo'>): string;
|
|
30
|
+
/** Evaluate under the Session's writer lock; promotion and its receipt commit together. */
|
|
31
|
+
declare function promoteSessionMetadata(id: string, data: KodaXSessionData, input: KodaXSessionPromotionRecord): KodaXSessionData;
|
|
32
|
+
|
|
33
|
+
interface StorageFileLock {
|
|
34
|
+
readonly path: string;
|
|
35
|
+
assertOwned(): void;
|
|
36
|
+
release(): void;
|
|
34
37
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
/** Complete owner publication; unknown locks and reclamation claims are never transferred by age. */
|
|
39
|
+
declare function tryAcquireStorageFileLock(file: string, options?: {
|
|
40
|
+
legacyPidRecord?: boolean;
|
|
41
|
+
}): StorageFileLock | undefined;
|
|
42
|
+
declare function withStorageFileLock<T>(file: string, operation: () => Promise<T>, timeoutMs?: number): Promise<T>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* ../index.js Extension Persistence Store
|
|
46
|
+
*
|
|
47
|
+
* JSONL-backed key-value store scoped to a single extension identity.
|
|
48
|
+
* Each store instance owns one `.jsonl` file inside the extension store
|
|
49
|
+
* directory. Mutations serialize across cooperating processes sharing the namespace.
|
|
50
|
+
*
|
|
51
|
+
* File format (one JSON object per line):
|
|
52
|
+
*
|
|
53
|
+
* {"_type":"entry","key":"...","value":...,"version":"...","updatedAt":...}
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
/** Complete snapshot validation for trusted offline maintenance; no partial KV baseline. */
|
|
57
|
+
declare function validateExtensionStoreSnapshot(raw: string): void;
|
|
58
|
+
/**
|
|
59
|
+
* JSONL-backed implementation of {@link KodaXExtensionStore}.
|
|
60
|
+
*
|
|
61
|
+
* All data for a single extension namespace lives in one JSONL file under
|
|
62
|
+
* `~/.kodax/extension-store/<namespace>/store.jsonl`. The file is rewritten
|
|
63
|
+
* atomically on every mutation (replace-then-rename).
|
|
64
|
+
*/
|
|
65
|
+
declare class FileExtensionStore implements KodaXExtensionStore {
|
|
66
|
+
private readonly filePath;
|
|
67
|
+
constructor(namespaceId: string);
|
|
68
|
+
get(key: string): Promise<KodaXExtensionStoreEntry | undefined>;
|
|
69
|
+
put(key: string, value: KodaXJsonValue, options?: {
|
|
70
|
+
expectedVersion?: string;
|
|
71
|
+
}): Promise<KodaXExtensionStoreEntry | false>;
|
|
72
|
+
delete(key: string): Promise<boolean>;
|
|
73
|
+
list(options?: {
|
|
74
|
+
prefix?: string;
|
|
75
|
+
}): Promise<string[]>;
|
|
76
|
+
clear(options?: {
|
|
77
|
+
prefix?: string;
|
|
78
|
+
}): Promise<number>;
|
|
79
|
+
private assertWritable;
|
|
80
|
+
private readAllEntries;
|
|
81
|
+
private writeAllEntries;
|
|
45
82
|
}
|
|
46
|
-
declare function calculateContextSafetyMargin(currentTokens: number): number;
|
|
47
|
-
declare function exceedsContextCapacity(input: ContextCapacityInput): boolean;
|
|
48
|
-
/** Largest complete request input that leaves response and safety capacity. */
|
|
49
|
-
declare function calculateMaxContextInputTokens(contextWindow: number, reservedResponseTokens?: number): number;
|
|
50
83
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* max_tokens decision (T6). Compaction pressure detection keeps the true
|
|
55
|
-
* reserve so relief still triggers conservatively.
|
|
84
|
+
* Create a {@link FileExtensionStore} for the given extension namespace.
|
|
85
|
+
*
|
|
86
|
+
* The namespace is typically the `extensionId` (e.g. `cli:extension:/path/to/ext.mjs`).
|
|
56
87
|
*/
|
|
57
|
-
declare
|
|
58
|
-
declare function reclaimReservedResponseTokens(input: ContextCapacityInput): number;
|
|
88
|
+
declare function createExtensionStore(namespaceId: string): KodaXExtensionStore;
|
|
59
89
|
|
|
60
90
|
type KodaXDiagnosticLevel = 'debug' | 'info' | 'warn' | 'error';
|
|
61
91
|
interface KodaXDiagnostic {
|
|
@@ -510,8 +540,10 @@ declare function registerCoreInvariants(): void;
|
|
|
510
540
|
declare const CAPABILITY_CACHE_FILENAME = "capability-cache.json";
|
|
511
541
|
declare function getCapabilityCacheFile(configHome?: string): string;
|
|
512
542
|
declare function loadCapabilityCache(configHome?: string): CapabilityCache;
|
|
513
|
-
declare function getCachedRejectedEfforts(provider: string, model: string | undefined, configHome?: string): readonly string[];
|
|
514
|
-
|
|
543
|
+
declare function getCachedRejectedEfforts(provider: string, model: string | undefined, configHome?: string, scope?: string): readonly string[];
|
|
544
|
+
/** Native protocol identity becomes available only after the request acquires its lease. */
|
|
545
|
+
declare function getProviderReasoningCacheOptions(provider: KodaXBaseProvider, model: string | undefined, configHome?: string): Pick<KodaXProviderStreamOptions, 'rejectedReasoningEfforts' | 'resolveRejectedReasoningEfforts'>;
|
|
546
|
+
declare function recordRejectedEffort(provider: string, model: string | undefined, effort: string, source: CapabilityCacheSource, updatedAt: string, configHome?: string, scope?: string): void;
|
|
515
547
|
declare function clearCapabilityCache(provider?: string, model?: string, configHome?: string): void;
|
|
516
548
|
declare function resetCapabilityCacheMemoForTesting(): void;
|
|
517
549
|
|
|
@@ -657,6 +689,27 @@ declare function terminateWindowsEffectJob(jobName: string, timeoutMs?: number):
|
|
|
657
689
|
declare function windowsSandboxSidHasActiveProcesses(sid: string, timeoutMs?: number): Promise<boolean>;
|
|
658
690
|
declare function windowsSandboxSidHasOtherProcesses(sid: string, launcher: WindowsSandboxSidProbeLauncher, timeoutMs?: number): Promise<boolean>;
|
|
659
691
|
|
|
692
|
+
/** The admitted gate proves the requested executable never started. */
|
|
693
|
+
declare class WindowsManagedProcessStartError extends Error {
|
|
694
|
+
}
|
|
695
|
+
interface WindowsManagedProcessInput {
|
|
696
|
+
readonly executable: string;
|
|
697
|
+
readonly args: readonly string[];
|
|
698
|
+
readonly cwd: string;
|
|
699
|
+
readonly env: NodeJS.ProcessEnv;
|
|
700
|
+
readonly windowsVerbatimArguments?: boolean;
|
|
701
|
+
readonly controlPipe?: boolean;
|
|
702
|
+
readonly signal?: AbortSignal;
|
|
703
|
+
readonly deadlineAt: number;
|
|
704
|
+
}
|
|
705
|
+
/** Prepare a non-interactive command inside a Job before admitting its effects. */
|
|
706
|
+
declare function prepareWindowsManagedProcess(input: WindowsManagedProcessInput): Promise<{
|
|
707
|
+
readonly child: ChildProcess;
|
|
708
|
+
readonly drained: Promise<void>;
|
|
709
|
+
/** Call only after durable registration; subsequent writes are target stdin. */
|
|
710
|
+
start(): Promise<void>;
|
|
711
|
+
}>;
|
|
712
|
+
|
|
660
713
|
/**
|
|
661
714
|
* @kodax-ai/agent/messaging/queue — 2-tier agentId-scoped FIFO message queue.
|
|
662
715
|
*
|
|
@@ -2541,9 +2594,13 @@ declare class KodaXFileLockTimeoutError extends Error {
|
|
|
2541
2594
|
constructor(lockPath: string);
|
|
2542
2595
|
}
|
|
2543
2596
|
declare function withLearningFileLock<T>(lockPath: string, operation: () => Promise<T>, acquireTimeoutMs?: number): Promise<T>;
|
|
2544
|
-
declare function acquireLearningFileLock(lockPath: string, acquireTimeoutMs?: number
|
|
2597
|
+
declare function acquireLearningFileLock(lockPath: string, acquireTimeoutMs?: number, options?: {
|
|
2598
|
+
readonly requireKnownOwner?: boolean;
|
|
2599
|
+
}): Promise<() => Promise<void>>;
|
|
2545
2600
|
/** Reclaim an abandoned lock through the same ticket queue used by writers. */
|
|
2546
|
-
declare function reclaimStaleLearningFileLock(lockPath: string
|
|
2601
|
+
declare function reclaimStaleLearningFileLock(lockPath: string, options?: {
|
|
2602
|
+
readonly requireKnownOwner?: boolean;
|
|
2603
|
+
}): Promise<boolean>;
|
|
2547
2604
|
|
|
2548
2605
|
/** Run an operation with a host call context that MCP reverse requests inherit. */
|
|
2549
2606
|
declare function runWithMcpCallContext<T>(context: unknown, operation: () => T): T;
|
|
@@ -2628,7 +2685,14 @@ interface PersistCompactedSessionHistoryInput {
|
|
|
2628
2685
|
readonly update: CompactionUpdate;
|
|
2629
2686
|
/** Explicit metadata used only when a new Session compacts before its first routine snapshot. */
|
|
2630
2687
|
readonly initialSessionData?: Omit<KodaXSessionData, 'messages' | 'lineage'>;
|
|
2688
|
+
readonly signal?: AbortSignal;
|
|
2631
2689
|
}
|
|
2690
|
+
/** Retry only transient persistence I/O; never rerun generation or tool dispatch. */
|
|
2691
|
+
declare function retryContextPersistence<T>(perform: (attempt: number) => Promise<T>, input: {
|
|
2692
|
+
readonly signal?: AbortSignal;
|
|
2693
|
+
readonly sessionId?: string;
|
|
2694
|
+
readonly operation: string;
|
|
2695
|
+
}): Promise<T>;
|
|
2632
2696
|
/** Persist one exact root compaction transaction before its replacement is used. */
|
|
2633
2697
|
declare function persistCompactedSessionHistory(input: PersistCompactedSessionHistoryInput): Promise<KodaXSessionLineage>;
|
|
2634
2698
|
|
|
@@ -2826,6 +2890,7 @@ interface CompactionProviderRequest {
|
|
|
2826
2890
|
readonly promptCacheKey?: string;
|
|
2827
2891
|
}
|
|
2828
2892
|
interface CompactionProviderObserver {
|
|
2893
|
+
readonly onPrepared?: (request: CompactionProviderRequest, projection: KodaXProviderRequestProjection) => void;
|
|
2829
2894
|
readonly onMetrics?: (metrics: CompactionRequestMetrics) => void;
|
|
2830
2895
|
readonly onRequest?: (request: CompactionProviderRequest) => void;
|
|
2831
2896
|
readonly onResponse?: (request: CompactionProviderRequest, usage: KodaXTokenUsage | undefined) => void;
|
|
@@ -3045,49 +3110,6 @@ interface RecoverySeed {
|
|
|
3045
3110
|
declare function normalizeRecoveryPrompt(prompt?: string): string;
|
|
3046
3111
|
declare function buildRecoverySeed(input: RecoverySeedInput): RecoverySeed;
|
|
3047
3112
|
|
|
3048
|
-
/**
|
|
3049
|
-
* ../index.js Extension Persistence Store
|
|
3050
|
-
*
|
|
3051
|
-
* JSONL-backed key-value store scoped to a single extension identity.
|
|
3052
|
-
* Each store instance owns one `.jsonl` file inside the extension store
|
|
3053
|
-
* directory. All I/O is async and safe for single-writer use.
|
|
3054
|
-
*
|
|
3055
|
-
* File format (one JSON object per line):
|
|
3056
|
-
*
|
|
3057
|
-
* {"_type":"entry","key":"...","value":...,"version":"...","updatedAt":...}
|
|
3058
|
-
*/
|
|
3059
|
-
|
|
3060
|
-
/**
|
|
3061
|
-
* JSONL-backed implementation of {@link KodaXExtensionStore}.
|
|
3062
|
-
*
|
|
3063
|
-
* All data for a single extension namespace lives in one JSONL file under
|
|
3064
|
-
* `~/.kodax/extension-store/<namespace>/store.jsonl`. The file is rewritten
|
|
3065
|
-
* atomically on every mutation (replace-then-rename).
|
|
3066
|
-
*/
|
|
3067
|
-
declare class FileExtensionStore implements KodaXExtensionStore {
|
|
3068
|
-
private readonly filePath;
|
|
3069
|
-
constructor(namespaceId: string);
|
|
3070
|
-
get(key: string): Promise<KodaXExtensionStoreEntry | undefined>;
|
|
3071
|
-
put(key: string, value: KodaXJsonValue, options?: {
|
|
3072
|
-
expectedVersion?: string;
|
|
3073
|
-
}): Promise<KodaXExtensionStoreEntry | false>;
|
|
3074
|
-
delete(key: string): Promise<boolean>;
|
|
3075
|
-
list(options?: {
|
|
3076
|
-
prefix?: string;
|
|
3077
|
-
}): Promise<string[]>;
|
|
3078
|
-
clear(options?: {
|
|
3079
|
-
prefix?: string;
|
|
3080
|
-
}): Promise<number>;
|
|
3081
|
-
private readAllEntries;
|
|
3082
|
-
private writeAllEntries;
|
|
3083
|
-
}
|
|
3084
|
-
/**
|
|
3085
|
-
* Create a {@link FileExtensionStore} for the given extension namespace.
|
|
3086
|
-
*
|
|
3087
|
-
* The namespace is typically the `extensionId` (e.g. `cli:extension:/path/to/ext.mjs`).
|
|
3088
|
-
*/
|
|
3089
|
-
declare function createExtensionStore(namespaceId: string): KodaXExtensionStore;
|
|
3090
|
-
|
|
3091
3113
|
/**
|
|
3092
3114
|
* Compaction trigger decision — CAP-059
|
|
3093
3115
|
*
|
|
@@ -3403,6 +3425,11 @@ declare class ExternalAgentRegistrationConflictError extends Error {
|
|
|
3403
3425
|
readonly code: "external_agent_registration_conflict";
|
|
3404
3426
|
constructor(agentId: string);
|
|
3405
3427
|
}
|
|
3428
|
+
/** Initialization failed after acquiring resources; retain cleanup authority until disposal is verified. */
|
|
3429
|
+
declare class AgentExecutorPlaneInitializationError extends AggregateError {
|
|
3430
|
+
readonly retryCleanup: () => Promise<void>;
|
|
3431
|
+
constructor(error: unknown, cleanup: unknown, retryCleanup: () => Promise<void>);
|
|
3432
|
+
}
|
|
3406
3433
|
declare function createAgentExecutorPlane(options: CreateAgentExecutorPlaneOptions): Promise<AgentExecutorPlane>;
|
|
3407
3434
|
|
|
3408
3435
|
interface ReferenceAgentExecutorFactoryOptions {
|
|
@@ -3486,5 +3513,5 @@ declare class AgentTurnScheduler {
|
|
|
3486
3513
|
restore(turnIds: readonly string[]): void;
|
|
3487
3514
|
}
|
|
3488
3515
|
|
|
3489
|
-
export { Agent, AgentActorStoreConflictError, AgentBudgetExhausted, AgentBudgetExhaustedError, AgentCancellationUncertainError, AgentControlError, AgentExecutionError, AgentExecutorFactory, AgentExecutorPlane, AgentExecutorPlaneStore, AgentLimitReached, AgentLimitReachedError, AgentManifest, AgentMessage, AgentMetadataValue, AgentOwnerConflictError, AgentOwnerUnknownError, AgentRevisionConflictError, AgentSettlementPersistenceError, AgentShutdownPersistenceError, AgentStartUncertainError, AgentTurnScheduler, BUN_BE_BUN_ENV, CAPABILITY_CACHE_FILENAME, COMPACTED_HISTORY_RECOVERY_GUIDANCE, COMPACTION_PROTECTION_RATIO, COMPACTION_SUMMARY_PREFIX,
|
|
3490
|
-
export type { AdmissionMetricsSnapshot, AgentControlErrorCode, ApproveStoredLearningProposalOptions, BuildWorkflowOutcomeInput, CompactionCacheContext, CompactionProviderObserver, CompactionProviderRequest, CompactionProviderRouting, CompactionTriggerSource, CompletedTurnLearningCandidate, CompletedTurnLearningInput, CompletedTurnLearningRecordResult, ConsoleTracingProcessorOptions,
|
|
3516
|
+
export { Agent, AgentActorStoreConflictError, AgentBudgetExhausted, AgentBudgetExhaustedError, AgentCancellationUncertainError, AgentControlError, AgentExecutionError, AgentExecutorFactory, AgentExecutorPlane, AgentExecutorPlaneInitializationError, AgentExecutorPlaneStore, AgentLimitReached, AgentLimitReachedError, AgentManifest, AgentMessage, AgentMetadataValue, AgentOwnerConflictError, AgentOwnerUnknownError, AgentRevisionConflictError, AgentSettlementPersistenceError, AgentShutdownPersistenceError, AgentStartUncertainError, AgentTurnScheduler, BUN_BE_BUN_ENV, CAPABILITY_CACHE_FILENAME, COMPACTED_HISTORY_RECOVERY_GUIDANCE, COMPACTION_PROTECTION_RATIO, COMPACTION_SUMMARY_PREFIX, CORE_INVARIANTS, CapabilityCache, CapabilityCacheSource, CompactionConfig, CompactionDetails, CompactionRequestMetrics, CompactionResult, CompactionUpdate, ConsoleTracingProcessor, CreateAgentExecutorPlaneOptions, DEFAULT_COMPACTION_TRIGGER_PERCENT, DEFAULT_CONTEXT_WINDOW, DEFAULT_IDLE_YIELD_MAX_ITERATIONS, DEFAULT_MICROCOMPACTION_CONFIG, DEFAULT_POST_COMPACT_CONFIG, DEFAULT_SUMMARY_PROMPT, DEFAULT_UPDATE_SUMMARY_PROMPT, DequeueFilter, DiscoveredInstance, ELECTRON_NODE_ENV_SCRUB_IMPORT, ELECTRON_RUN_AS_NODE_ENV, EnqueueInput, ExternalAgentProtocol, ExternalAgentRegistrationConflictError, FileExtensionStore, FileLearningCenterService, FileTracingProcessor, HARDENED_ENV_VARS, HARDENING_OPT_OUT_ENV, Handoff, ImageResizeError, InstanceDiscoveryFs, InvariantId, KODAX_FILE_MEDIA_TYPES, KODAX_IMAGE_MEDIA_TYPES, KODAX_VIDEO_MEDIA_TYPES, KodaXExtensionStore, KodaXExtensionStoreEntry, KodaXFileInputArtifact, KodaXFileLockTimeoutError, KodaXGoalEventType, KodaXGoalState, KodaXImageBlock, KodaXImageInputArtifact, KodaXImageMediaType, KodaXInputArtifact, KodaXInputArtifactSource, KodaXJsonValue, KodaXMediaError, KodaXMemoryOutcomeDigest, KodaXMessage, KodaXProviderStreamOptions, KodaXReasoningRequest, KodaXSessionArtifactLedgerEntry, KodaXSessionData, KodaXSessionEntry, KodaXSessionGoalEntry, KodaXSessionLineage, KodaXSessionPromotionRecord, KodaXSessionStorage, KodaXTokenUsage, KodaXToolDefinition, KodaXToolUseBlock, KodaXVideoInputArtifact, KodaXVideoMediaType, LearnedAreaStore, LearnedCapabilityRecord, LearnedCapabilityScope, LearningActionDriver, LearningEvent, LearningExplicitUserAuthority, LearningPage, LearningQuery, LearningSubscribeOptions, LearningSurfaceSnapshot, MAX_COMPACTION_TRIGGER_PERCENT, MAX_DIMENSION, MAX_ENTRYPOINT_BYTES, MAX_ENTRYPOINT_LINES, MAX_SKILL_MD_BYTES, MAX_SKILL_SUPPORT_FILE_BYTES, MEMORY_POLICY_VERSION, MIN_COMPACTION_TRIGGER_PERCENT, ManifestPatch, MemoryActionProposal, MemoryApplicability, MemoryContextIdentity, MemoryItemRef, MessagePriority, MessageQueue, PASTE_TMP_DIR_ENV, PASTE_TMP_TTL_MS, POST_COMPACT_MAX_TOKENS_PER_FILE, POST_COMPACT_TOKEN_BUDGET, PROTECTED_TOOL_NAMES, QualityInvariant, QueuedInputArtifact, QueuedInputArtifactError, QueuedMessage, ResolvedSkillSource, RunnerToolCall, RunnerToolResult, SessionMeta, SessionStateSnapshot, Span, StateWriter, StateWriterFs, StopHookContext, StopHookFn, StopHookResult, TARGET_RAW_SIZE_BYTES, Trace, WindowsManagedProcessStartError, WorkflowAbortError, WorkflowAgentBackend, WorkflowApi, WorkflowBudgetError, WorkflowEvent, WorkflowLimitError, WorkflowLimits, WorkflowLogEvent, WorkflowModule, WorkflowOutcome, WorkflowRunState, WorkflowScriptExecutionError, WorkflowScriptManifest, WorkflowTaskFailedError, WorkflowTaskResult, YIELD_TOOL_NAMES, _emitSpanEnd, _emitSpanStart, _emitTraceEnd, _getRegisteredProcessors, _resetAdmissionMetrics, _resetInvariantRegistry, _resetMessageQueueForTests, acquireLearningFileLock as acquireKodaXFileLock, addTracingProcessor, appendGoalEntry, appendMemoryClientNotice, appendMemoryOutcomeDigest, appendMemoryReviewReceipt, applyManifestPatch, applyProcessHardening, applySkillLearningProposal, approveStoredLearningProposal, assertNoGitInstallPrompt, assertNoGitInstallPromptSync, bootstrapTeamMode, buildCompactionCacheInstruction, buildCompactionPromptSnapshot, buildFileContentMessages, buildOtherInstancesPromptBlock, buildPostCompactAttachments, buildRecoverySeed, buildWorkflowOutcome, canMarkCreatedByAgent, clearCapabilityCache, collectUserQueryLedger, compact, composeIdleYieldUserMessage, composePatches, computeSkillConsumerImpact, containWindowsEffectProcess, countLastAssistantToolCalls, createAgentExecutorPlane, createExtensionStore, createFileArtifactFromPath, createImageArtifactFromPath, createLearnedSkillActionDriver, createLearningCenterService, createLegacyToolPairingLookup, createLlmJudgedStopHook, createMemoryAgentExecutorPlaneStore, createReferenceAgentExecutorFactory, createRestrictedWorkflowModule, createRuntimeDeliveryPredicate, createVideoArtifactFromPath, createWorkflowRuntime, decideSkillGovernance, detectHandoffSignal, detectIdleYield, dispatchSkillCreatorTool, editDistance, emitHandoffSpan, emitKodaXDiagnostic, enqueueWithArtifacts, evidenceTrail, finalOwner, findFuzzyToolMatch, findLegacyToolPairingRestorations, formatKodaXDiagnostic, generateSummary, getActiveMcpCallContext, getActiveMemoryOutcomeReviewIds, getActiveTeamModeWriter, getAdmissionMetricsSnapshot, getCachedRejectedEfforts, getCapabilityCacheFile, getInvariant, getLearnedExtensionToolName, getMessageQueue, getModelInputCapabilities, getProviderReasoningCacheOptions, gracefulCompactDegradation, handoffLegality, hashCwd, inferImageMediaType, inferVideoMediaType, injectPostCompactAttachments, invokeLlmJudge, isAdmissionDebugEnabled, isAutoManagedMemoryFile, isChildProcessExited, isCurrentProcessWindowsJobContained, isEmptyLikeSummary, isGoalEntry, isIdleYieldEnabled, isLearnedExtensionCommandAllowed, isSkillCreatorDispatchAction, killChildProcessTree, killChildProcessTreeSync, killPidTree, killPidTreeSync, listRegisteredInvariants, loadCapabilityCache, maybeDrainMidTurn, memoryMutationHandle, memoryProposalRevision, mergeUserQueryLedger, microcompact, midTurnDrainPriority, migrateLegacyLearnedSkillsForProject, needsCompaction, normalizeCompactionConfig, normalizePastedImage, normalizeRecoveryPrompt, normalizeWorkflowLimits, parseMemoryFile, parseMemoryType, parseMemoryTypeFromFilename, parseScalarFields, parseUserQueryLedger, persistCompactedSessionHistory, persistImageAsBlock, prepareInternalNodeLaunch, prepareJavaScriptChildLaunch, prepareWindowsManagedProcess, projectLearningProposals, promoteSessionMetadata, prunePasteTmpDir, readAndNormalizeClipboardImage, readClipboardImage, readCurrentProcessWindowsJobIdentity, readLatestGoalFromBranch, readLatestGoalState, readLearningProposalStore, readProcessStartIdentities, readProcessStartIdentity, readSkillTrustLedger, readSkillUsageLedger, reclaimStaleLearningFileLock as reclaimStaleKodaXFileLock, recordCompletedTurnLearning, recordProceduralLearning, recordRejectedEffort, recordSkillUsage, registerCoreInvariants, registerInvariant, rememberChildProcessTree, renderUserQueryLedger, replaceSystemMessage, resetCapabilityCacheMemoForTesting, resolveCompactionPolicy, resolveContextWindow, resolveEffectiveInvariants, resolveLearningProposalStore, resolveMemoryEntrypoint, resolveMemoryRoot, resolveRequiredInvariants, resolveScopedMemoryRoot, resolveSkillSnapshotLocation, resolveSkillTrustLedger, resolveSkillUsageLedger, retryContextPersistence, runFanOut, runRestrictedWorkflowScript, runWithIdleYield, runWithMcpCallContext, runWorkflow, sanitizeProjectKey, sanitizePromptSafeMemoryClaim, serializeConversation, sessionMetadataRevision, setActiveTeamModeWriter, setKodaXDiagnosticSink, setTracingProcessors, shouldCompact, shutdownTracing, stripHardenedEnvVars, terminateWindowsEffectJob, triageProceduralLearning, truncateEntrypointContent, tryAcquireStorageFileLock, tryGitRemote, updateActiveTeamMode, updateLearningProposalStatus, updateSkillTrustLedger, upsertLearningProposal, validateExtensionStoreSnapshot, validateInputArtifactsForModel, validateRestrictedWorkflowSource, waitForChildProcessExit, waitForWakeEvent, windowsSandboxSidHasActiveProcesses, windowsSandboxSidHasOtherProcesses, withLearningFileLock as withKodaXFileLock, withStorageFileLock };
|
|
3517
|
+
export type { AdmissionMetricsSnapshot, AgentControlErrorCode, ApproveStoredLearningProposalOptions, BuildWorkflowOutcomeInput, CompactionCacheContext, CompactionProviderObserver, CompactionProviderRequest, CompactionProviderRouting, CompactionTriggerSource, CompletedTurnLearningCandidate, CompletedTurnLearningInput, CompletedTurnLearningRecordResult, ConsoleTracingProcessorOptions, CreateFileArtifactFromPathOptions, CreateImageArtifactFromPathOptions, CreateLearnedSkillActionDriverOptions, CreateLearningCenterServiceOptions, CreateLlmJudgedStopHookOptions, CreateVideoArtifactFromPathOptions, CreateWorkflowRuntimeOptions, DiscardedLearningReport, DurableMemoryScope, EnqueueWithArtifactsInput, EntrypointTruncation, EnvelopeAggregateCapacityContext, EnvelopeAggregateEnforcer, FanOutOutcome, FanOutProgressEvent, FileTracingProcessorOptions, GetModelInputCapabilitiesInput, GitInstallPromptOptions, GovernedSkillSource, GracefulCompactionCapacity, HandoffSignal, IdleYieldSnapshot, InternalNodeLaunch, InvokeLlmJudgeOptions, JavaScriptChildLaunch, KodaXCompactionPromptSection, KodaXCompactionPromptSnapshot, KodaXCompactionPromptVariant, KodaXDiagnostic, KodaXDiagnosticLevel, KodaXDiagnosticSink, KodaXInputCapabilityStatus, KodaXMediaErrorCode, KodaXMediaErrorOptions, KodaXModalityInputCapability, LearningCandidate, LearningCenterService, LearningIntakeRecordResult, LearningProposalProjection, LearningProposalReviewStatus, LearningProposalStoreReadResult, LearningRisk, LearningUserLabel, LegacyLearnedSkillMigrationResult, LegacyToolPairingLookup, LegacyToolPairingRestoration, LlmJudgeFailureReason, MaybeDrainMidTurnInput, MemoryExecutionContext, MemoryFrontmatter, MemoryHandoffMetadata, MemoryLearningHandoff, MemoryType, MemoryWriteOrigin, MicrocompactionConfig, ModelInputCapabilities, NormalizeImageOptions, NormalizedImage, ParsedMemoryFile, PersistCompactedSessionHistoryInput, PersistImageAsBlockOptions, PostCompactAttachments, PostCompactConfig, PrepareInternalNodeLaunchOptions, PrepareJavaScriptChildLaunchOptions, ProceduralLearningDestination, ProceduralLearningInput, ProceduralLearningResult, ProcessTreeKillOptions, ProcessTreeKillResult, ProcessTreeKillStatus, ReasoningLearningHandoff, RecordProceduralLearningInput, RecoverySeed, RecoverySeedInput, ReferenceAgentExecutorFactoryOptions, RenderOptions, ResolvedCompactionPolicy, RestrictedWorkflowModuleInput, ReviewableLearningProposal, RunFanOutOptions, RunFanOutResult, RunRestrictedWorkflowScriptOptions, RunWithIdleYieldOptions, RunWithIdleYieldRunResult, ShouldCompactInput, SkillConsumerImpact, SkillConsumerImpactScanInput, SkillGovernanceAction, SkillGovernanceDecision, SkillGovernanceInput, SkillGovernanceMode, SkillLearningApplyInput, SkillLearningProposal, SkillMutationApplyResult, SkillMutationChange, SkillOwnership, SkillSnapshotLocation, SkillTrustLedgerReadResult, SkillTrustRecord, SkillTrustState, SkillTrustUpdateInput, SkillTrustUpdateResult, SkillUsageEvent, SkillUsageEventInput, SkillUsageLedgerReadResult, SkillUsageRecord, SkillUsageRecordResult, SkillWriteOrigin, StorageFileLock, StoredLearningApplyPlan, StoredLearningApprovalResult, StoredLearningProposal, StoredSkillLearningApplyPlan, TeamModeBootstrapOptions, TeamModeHandle, TraceOnlyLearningReport, TracingProcessor, UserQueryLedgerEntry, ValidateInputArtifactsOptions, ValidateRestrictedWorkflowSourceOptions, WaitForWakeEventOptions, WakeEvent, WindowsEffectJob, WindowsManagedProcessInput, WindowsSandboxSidProbeLauncher, WorkflowLearningHandoff, WorkflowLearningSuggestedAction, WorkflowModuleResolver, WorkflowResultCache, WorkflowRunOutcome, WorkflowRuntimeHandle };
|
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 oo,$a as rr,$b as Ie,$c as Gf,$d as Gm,$e as Fp,$f as Ft,$g as Fx,A as B,Aa as Co,Ab as Cr,Ac as mf,Ad as pm,Ae as mp,Af as mt,Ag as mx,B as C,Ba as Do,Bb as Dr,Bc as pf,Bd as tm,Be as pp,Bf as pt,Bg as px,C as D,Ca as Eo,Cb as Er,Cc as tf,Cd as xm,Ce as tp,Cf as tt,Cg as tx,D as E,Da as Fo,Db as Fr,Dc as xf,Dd as am,De as xp,Df as xt,Dg as xx,E as F,Ea as Go,Eb as de,Ec as af,Ed as bm,Ee as ap,Ef as at,Eg as ax,F as G,Fa as Ho,Fb as ge,Fc as bf,Fd as cm,Fe as bp,Ff as bt,Fg as bx,G as H,Ga as Io,Gb as he,Gc as cf,Gd as dm,Ge as cp,Gf as ct,Gg as cx,H as I,Ha as Jo,Hb as ie,Hc as df,Hd as gm,He as dp,Hf as dt,Hg as dx,I as J,Ia as Ko,Ib as je,Ic as gf,Id as hm,Ie as gp,If as gt,Ig as gx,J as K,Ja as Lo,Jb as ke,Jc as hf,Jd as im,Je as hp,Jf as ht,Jg as hx,K as L,Ka as Mo,Kb as le,Kc as jf,Kd as jm,Ke as ip,Kf as it,Kg as ix,L as M,La as No,Lb as ne,Lc as kf,Ld as km,Le as jp,Lf as jt,Lg as jx,M as N,Ma as Oo,Mb as qe,Mc as lf,Md as lm,Me as kp,Mf as kt,Mg as kx,N as O,Na as Po,Nb as se,Nc as nf,Nd as nm,Ne as lp,Nf as lt,Ng as lx,O as P,Oa as Qo,Ob as ue,Oc as qf,Od as qm,Oe as np,Of as nt,Og as nx,P as Q,Pa as Ro,Pb as ve,Pc as sf,Pd as sm,Pe as qp,Pf as qt,Pg as qx,Q as R,Qa as So,Qb as we,Qc as uf,Qd as um,Qe as sp,Qf as st,Qg as sx,R as S,Ra as To,Rb as ye,Rc as vf,Rd as vm,Re as up,Rf as ut,Rg as ux,S as T,Sa as Uo,Sb as ze,Sc as wf,Sd as wm,Se as vp,Sf as vt,Sg as vx,T as U,Ta as Vo,Tb as Ae,Tc as yf,Td as ym,Te as wp,Tf as wt,Tg as wx,U as V,Ua as Wo,Ub as Be,Uc as zf,Ud as zm,Ue as yp,Uf as yt,Ug as yx,V as W,Va as Xo,Vb as Ce,Vc as Af,Vd as Am,Ve as zp,Vf as zt,Vg as zx,W as X,Wa as Yo,Wb as De,Wc as Bf,Wd as Bm,We as Ap,Wf as At,Wg as Ax,X as Y,Xa as Zo,Xb as Ee,Xc as Cf,Xd as Cm,Xe as Bp,Xf as Bt,Xg as Bx,Y as Z,Ya as _o,Yb as Fe,Yc as Df,Yd as Dm,Ye as Cp,Yf as Ct,Yg as Cx,Z as _,Za as $o,Zb as Ge,Zc as Ef,Zd as Em,Ze as Dp,Zf as Dt,Zg as Dx,_ as $,_a as or,_b as He,_c as Ff,_d as Fm,_e as Ep,_f as Et,_g as Ex,a as r,aa as ro,ab as er,ac as Je,ad as Hf,ae as Hm,af as Gp,ag as Gt,ah as Gx,b as e,ba as eo,bb as fr,bc as Ke,bd as If,be as Im,bf as Hp,bg as Ht,bh as Hx,c as f,ca as fo,cb as mr,cc as Le,cd as Jf,ce as Jm,cf as Ip,cg as It,ch as Ix,d as m,da as mo,db as pr,dc as Me,dd as Kf,df as Jp,dg as Jt,dh as Jx,e as p,ea as po,eb as tr,ec as Ne,ed as Lf,ee as Km,ef as Kp,eg as Kt,eh as Kx,f as t,fa as to,fb as xr,fc as Oe,fd as Mf,fe as Lm,ff as Lp,fg as Lt,fh as Lx,g as x,ga as xo,gb as ar,gc as Pe,gd as Nf,ge as Mm,gf as Mp,gg as Mt,gh as Mx,h as a,ha as ao,hb as br,hc as Qe,hd as Of,he as Nm,hf as Np,hg as Nt,hh as Nx,i as b,ia as bo,ib as cr,ic as Re,id as Pf,ie as Om,if as Op,ig as Ot,ih as Ox,j as c,ja as co,jb as dr,jc as Se,jd as Qf,je as Pm,jf as Pp,jg as Pt,jh as Px,k as d,ka as go,kb as gr,kc as Te,kd as Rf,ke as Qm,kf as Qp,kg as Qt,kh as Qx,l as g,la as ho,lb as hr,lc as Ue,ld as Sf,le as Rm,lf as Rp,lg as Rt,lh as Rx,m as h,ma as io,mb as ir,mc as Ve,md as Tf,me as Sm,mf as Sp,mg as St,mh as Sx,n as i,na as jo,nb as jr,nc as We,nd as Uf,ne as Tm,nf as Tp,ng as Tt,nh as Tx,o as j,oa as ko,ob as kr,oc as Xe,od as Vf,oe as Um,of as Up,og as Ut,oh as Ux,p as k,pa as lo,pb as lr,pc as Ye,pd as Wf,pe as Vm,pf as Vp,pg as Vt,ph as Vx,q as l,qa as no,qb as nr,qc as Ze,qd as Xf,qe as Wm,qf as Wp,qg as Wt,qh as Wx,r as n,ra as qo,rb as qr,rc as _e,rd as Yf,re as Xm,rf as Xp,rg as Xt,rh as Xx,s as q,sa as so,sb as sr,sc as $e,sd as Zf,se as Ym,sf as Yp,sg as Yt,sh as Yx,t as s,ta as uo,tb as ur,tc as of,td as _f,te as Zm,tf as Zp,tg as Zt,th as Zx,u,ua as vo,ub as vr,uc as rf,ud as $f,ue as _m,uf as _p,ug as _t,uh as _x,v,va as wo,vb as wr,vc as ef,vd as om,ve as $m,vf as $p,vg as $t,w,wa as yo,wb as yr,wc as ff,wd as rm,we as op,wf as ot,wg as ox,x as y,xa as zo,xb as zr,xd as em,xe as rp,xf as rt,xg as rx,y as z,ya as Ao,yb as Ar,yd as fm,ye as ep,yf as et,yg as ex,z as A,za as Bo,zb as Br,zd as mm,ze as fp,zf as ft,zg as fx}from"./chunks/chunk-XMWTEVFZ.js";import{A as me,B as pe,C as te,D as xe,E as ae,F as be,G as ce,a as Gr,b as Hr,c as Ir,d as Jr,e as Kr,f as Lr,g as Mr,h as Nr,i as Or,j as Pr,k as Qr,l as Rr,m as Sr,n as Tr,o as Ur,p as Vr,q as Wr,r as Xr,s as Yr,t as Zr,u as _r,v as $r,w as oe,x as re,y as ee,z as fe}from"./chunks/chunk-YVBBU6K5.js";import{ua as o}from"./chunks/chunk-2AM3FRQ7.js";import"./chunks/chunk-ONUPGMER.js";export{Ar as ASK_USER_BACK_SIGNAL,Br as ASK_USER_CUSTOM_INPUT_SIGNAL,Zx as AgentActorController,Sx as AgentActorStoreConflictError,Qx as AgentBudgetExhaustedError,Kx as AgentCancellationUncertainError,Xx as AgentControlError,Ox as AgentExecutionError,Px as AgentLimitReachedError,Tx as AgentOwnerConflictError,Ux as AgentOwnerUnknownError,Rx as AgentRevisionConflictError,Vx as AgentSettlementPersistenceError,Wx as AgentShutdownPersistenceError,Jx as AgentStartUncertainError,Yx as AgentTurnScheduler,rr as BUN_BE_BUN_ENV,Ro as CAPABILITY_CACHE_FILENAME,pt as COMPACTED_HISTORY_RECOVERY_GUIDANCE,Yp as COMPACTION_PROTECTION_RATIO,mt as COMPACTION_SUMMARY_PREFIX,h as CONTEXT_SAFETY_FLOOR_TOKENS,i as CONTEXT_SAFETY_RATIO,Jo as CORE_INVARIANTS,N as ConsoleTracingProcessor,j as ContextCapacityError,Vp as DEFAULT_COMPACTION_TRIGGER_PERCENT,fx as DEFAULT_CONTEXT_WINDOW,le as DEFAULT_IDLE_YIELD_MAX_ITERATIONS,Xt as DEFAULT_MICROCOMPACTION_CONFIG,dt as DEFAULT_POST_COMPACT_CONFIG,Qp as DEFAULT_SUMMARY_PROMPT,_ as DEFAULT_SYSTEM_CAP,Rp as DEFAULT_UPDATE_SUMMARY_PROMPT,B as DefaultSummaryCompaction,er as ELECTRON_NODE_ENV_SCRUB_IMPORT,or as ELECTRON_RUN_AS_NODE_ENV,Om as EpisodeReviewBranchChangedError,Nm as EpisodeReviewFailure,Lx as ExternalAgentRegistrationConflictError,$t as FileExtensionStore,Sf as FileLearningCenterService,O as FileTracingProcessor,ho as GuardrailBlockedError,io as GuardrailEscalateError,_o as HARDENED_ENV_VARS,$o as HARDENING_OPT_OUT_ENV,Sr as ImageResizeError,mo as InvariantSession,b as KODAX_API_MIN_INTERVAL,e as KODAX_DEFAULT_TIMEOUT,xe as KODAX_FILE_MEDIA_TYPES,f as KODAX_HARD_TIMEOUT,pe as KODAX_IMAGE_MEDIA_TYPES,t as KODAX_MAX_INCOMPLETE_RETRIES,x as KODAX_MAX_MAXTOKENS_RETRIES,m as KODAX_MAX_RETRIES,r as KODAX_MAX_TOKENS,p as KODAX_RETRY_BASE_DELAY,a as KODAX_STAGGER_DELAY,te as KODAX_VIDEO_MEDIA_TYPES,jf as KodaXFileLockTimeoutError,Rr as KodaXMediaError,Ip as LINEAGE_ENTRY_TYPES,Pf as LearnedAreaStore,If as LearningCapabilityError,Kp as LineageCompaction,Jp as LineageExtension,Xp as MAX_COMPACTION_TRIGGER_PERCENT,Yr as MAX_DIMENSION,Xe as MAX_ENTRYPOINT_BYTES,We as MAX_ENTRYPOINT_LINES,df as MAX_SKILL_MD_BYTES,gf as MAX_SKILL_SUPPORT_FILE_BYTES,to as MAX_TOOL_LOOP_ITERATIONS,Ke as MEMORY_POLICY_VERSION,Wp as MIN_COMPACTION_TRIGGER_PERCENT,lp as McpAuthRequiredError,Ep as McpCapabilityProvider,kp as McpExpiredSessionError,Fp as McpManager,Dp as McpServerRuntime,np as McpTransportCleanupIncompleteError,Mm as MemoryControlPlane,Gr as MessageQueue,re as PASTE_TMP_DIR_ENV,ee as PASTE_TMP_TTL_MS,ct as POST_COMPACT_MAX_TOKENS_PER_FILE,bt as POST_COMPACT_TOKEN_BUDGET,c as PROMISE_PATTERN,ft as PROTECTED_TOOL_NAMES,de as QueuedInputArtifactError,q as RESERVE_SHRINK_FLOOR_TOKENS,Eo as Runner,zo as RunnerIterationLimitError,Bm as SkillExecutor,wm as SkillRegistry,C as SpanImpl,Zr as TARGET_RAW_SIZE_BYTES,L as Tracer,qm as VariableResolver,sx as WORKFLOW_CAPSULE_API_VERSION,nx as WORKFLOW_CAPSULE_FORMAT,qx as WORKFLOW_CAPSULE_VERSION,cx as WORKFLOW_PATTERN_IDS,zx as WorkflowAbortError,Bx as WorkflowBudgetError,tx as WorkflowEventRecorder,Ax as WorkflowLimitError,ix as WorkflowScriptExecutionError,Cx as WorkflowTaskFailedError,Nr as YIELD_TOOL_NAMES,I as _emitSpanEnd,H as _emitSpanStart,J as _emitTraceEnd,G as _getRegisteredProcessors,Mr as _resetActiveRootQueueRoutesForTests,Y as _resetAdmissionMetrics,fo as _resetAdmittedAgentBindings,U as _resetInvariantRegistry,Ir as _resetMessageQueueForTests,Co as _resetPresetDispatchers,lf as acquireKodaXFileLock,Jr as actorQueueId,E as addTracingProcessor,cm as admitAndRecordLearnedSkillInvocation,rm as admitLearnedSkillBinding,Vt as appendGoalEntry,Kt as appendMemoryClientNotice,Ht as appendMemoryOutcomeDigest,It as appendMemoryReviewReceipt,wt as appendSessionLineageLabel,zt as applyLineageTruncation,P as applyManifestPatch,fr as applyProcessHardening,yt as applySessionCompaction,wf as applySkillLearningProposal,yf as approveStoredLearningProposal,Gt as archiveOldIslands,Dr as asSingleSelection,Kf as assertLearnedCapabilityTransition,Yo as assertNoGitInstallPrompt,Zo as assertNoGitInstallPromptSync,hx as assertRestrictedWorkflowQuality,wo as attachRunnerRecoveryTranscript,Ae as bootstrapTeamMode,co as buildAssistantMessageFromLlmResult,Sp as buildCompactionCacheInstruction,Tp as buildCompactionPromptSnapshot,it as buildFileContentMessages,Cp as buildInitializeCapabilities,ve as buildOtherInstancesPromptBlock,gt as buildPostCompactAttachments,_t as buildRecoverySeed,Et as buildSessionTree,Do as buildSystemPrompt,go as buildToolResultMessage,yx as buildWorkflowCapsuleIntent,px as buildWorkflowOutcome,k as calculateContextSafetyMargin,n as calculateMaxContextInputTokens,bf as canMarkCreatedByAgent,Jf as canTransitionLearnedCapability,Pm as captureEpisodeReviewBranchEpoch,Rm as claimEpisodeReview,Ce as cleanupIncompleteToolCalls,nr as cleanupManagedRunChildProcess,ur as cleanupRegisteredManagedChildren,Wo as clearCapabilityCache,rf as clearPluginSkillPaths,jo as collectGuardrails,$p as collectUserQueryLedger,Um as commitEpisodeReviewAction,Tm as commitEpisodeReviewDecision,om as commitLearnedSkillRevision,at as compact,ep as completeEpisodeReview,Zm as completeFencedEpisodeReview,mm as completeLearnedSkillOutcome,dm as completeLearnedSkillSessionOutcomes,ke as composeIdleYieldUserMessage,Q as composePatches,Gf as computeSkillConsumerImpact,vr as containWindowsEffectProcess,Ft as countActiveLineageMessages,he as countLastAssistantToolCalls,g as countTokens,y as createAgent,_x as createAgentActorController,Mx as createAgentExecutorPlane,Cm as createExecutor,ox as createExtensionStore,Wr as createFileArtifactFromPath,z as createHandoff,Vr as createImageArtifactFromPath,A as createInMemorySession,po as createInvariantSessionForAgent,Xf as createLearnedCapabilityScope,xm as createLearnedSkillActionDriver,$f as createLearnedSkillRecord,Tf as createLearningCenterService,jt as createLegacyToolPairingLookup,Ge as createLlmJudgedStopHook,bp as createMcpCapabilityId,Gp as createMcpManager,Hp as createMcpTestServerFixture,qp as createMcpTransport,Ix as createMemoryAgentExecutorPlaneStore,Lm as createMemoryControlPlane,Nx as createReferenceAgentExecutorFactory,sm as createResolver,lx as createRestrictedWorkflowModule,Pr as createRuntimeDeliveryPredicate,nt as createSessionLineage,se as createStateWriter,D as createTrace,Xr as createVideoArtifactFromPath,vx as createWorkflowCapsule,wx as createWorkflowModuleFromCapsule,bx as createWorkflowProcessTracker,Gx as createWorkflowRunManager,Ex as createWorkflowRuntime,cf as decideSkillGovernance,ap as defaultMcpCacheDir,M as defaultTracer,Ym as deferEpisodeReview,so as detectHandoffSignal,ie as detectIdleYield,$ as detectInstructionsInjection,_m as discardFencedEpisodeReview,wp as discoverAuthorizationServerMetadata,ue as discoverInstances,yp as discoverOAuthEndpoints,vp as discoverProtectedResourceMetadata,jm as discoverSkills,lm as discoverSkillsWithMonorepo,Hm as dispatchSkillCreatorTool,mp as drainPendingEpisodeReviews,De as editDistance,vo as emitHandoffSpan,v as emitKodaXDiagnostic,ce as enqueueWithArtifacts,d as estimateTokens,Qf as eventFromCapability,At as evictOldIslandMessageContent,Go as evidenceTrail,im as exactInvokedSkillSnapshotForSession,l as exceedsContextCapacity,bo as executeRunnerToolCall,Dm as executeSkill,Em as expandSkillForLLM,Np as extractArtifactLedger,Fo as extractAssistantTextFromMessage,Lp as extractFileOps,up as extractInsufficientScope,sp as extractResourceMetadataUrl,Nt as extractTitleFromMessages,Xm as failEpisodeReviewApply,Wm as failEpisodeReviewAttempt,Ho as finalOwner,Ee as findFuzzyToolMatch,kt as findLegacyToolPairingRestorations,Bt as findPreviousUserEntryId,Dt as forkSessionLineage,w as formatKodaXDiagnostic,Fm as formatSkillActivationMessage,vm as formatSkillsSystemPrompt,Sm as freezeEpisodeReviewInput,Mt as generateSessionId,Lt as generateSessionIdSync,Up as generateSummary,jp as getActiveMcpCallContext,Jt as getActiveMemoryOutcomeReviewIds,ye as getActiveTeamModeWriter,Fr as getActiveUserInteraction,X as getAdmissionMetricsSnapshot,eo as getAdmittedAgentBindings,Mo as getAgentConfigHome,No as getAgentConfigPath,Qo as getAppDataDir,Uo as getCachedRejectedEfforts,So as getCapabilityCacheFile,ef as getDefaultSkillPaths,Hx as getDefaultWorkflowRunManager,S as getInvariant,Uf as getLearnedExtensionToolName,hp as getMcpCachePaths,Hr as getMessageQueue,ae as getModelInputCapabilities,km as getNestedSkillPaths,qt as getSessionLineagePath,lt as getSessionMessageEntryId,st as getSessionMessagesFromLineage,ff as getSkillPathsFlat,ym as getSkillRegistry,ex as gracefulCompactDegradation,Io as handoffLegality,Me as hashCwd,Ie as hashMemoryIdentityComponent,Tr as inferImageMediaType,Ur as inferVideoMediaType,zm as initializeSkillRegistry,ht as injectPostCompactAttachments,$m as inspectEpisodeReviewJob,fm as invokeLearnedSkillCanary,Fe as invokeLlmJudge,Z as isAdmissionDebugEnabled,Cr as isAskUserCustomInputAnswer,Re as isAutoManagedMemoryFile,xr as isChildProcessExited,dr as isCurrentProcessWindowsJobContained,tt as isEmptyLikeSummary,xx as isFinalWorkflowProcessStatus,Wt as isGoalEntry,ge as isIdleYieldEnabled,tm as isLearnedCapabilityRecordV2,Vf as isLearnedExtensionCommandAllowed,Ze as isMemoryManagementController,Oo as isPathInsideDirectory,xo as isRunnableTool,Ao as isRunnerIterationLimitError,ao as isRunnerLlmResult,Gm as isSkillCreatorDispatchAction,tp as isUnifiedLearningReviewModelInput,kr as killChildProcessTree,lr as killChildProcessTreeSync,ir as killPidTree,jr as killPidTreeSync,Nf as learningEventIdFor,Mf as learningEventKindForLifecycle,gx as lintRestrictedWorkflowSource,hm as listLearnedSkillUsageReceipts,rp as listPendingEpisodeReviewSummaries,op as listPendingEpisodeReviews,of as listPluginSkillPaths,T as listRegisteredInvariants,To as loadCapabilityCache,tf as loadFullSkill,xf as loadSkillFileContent,pf as loadSkillMetadata,Bp as loadValidToken,He as matchesMemoryApplicability,Qr as maybeDrainMidTurn,Je as memoryApplicabilityFingerprint,Jm as memoryMutationHandle,Im as memoryProposalRevision,Op as mergeArtifactLedger,Mp as mergeFileOps,ot as mergeUserQueryLedger,Yt as microcompact,Or as midTurnDrainPriority,am as migrateLegacyLearnedSkillsForProject,xt as needsCompaction,Zp as normalizeCompactionConfig,ax as normalizeHostMetadata,cp as normalizeMcpCapabilityId,_r as normalizePastedImage,Zt as normalizeRecoveryPrompt,xp as normalizeUnifiedLearningReview,Dx as normalizeWorkflowLimits,nm as parseArguments,dp as parseMcpCapabilityId,Ue as parseMemoryFile,Te as parseMemoryType,Se as parseMemoryTypeFromFilename,Ve as parseScalarFields,mf as parseSkillMarkdown,et as parseUserQueryLedger,Ap as performOAuthLogin,St as persistCompactedSessionHistory,fe as persistImageAsBlock,Qm as persistPendingEpisodeReview,mr as prepareInternalNodeLaunch,pr as prepareJavaScriptChildLaunch,Rf as projectLearningProposals,me as prunePasteTmpDir,pm as quarantineLearnedSkillRevision,oe as readAndNormalizeClipboardImage,$r as readClipboardImage,gr as readCurrentProcessWindowsJobIdentity,Tt as readLatestGoalFromBranch,Ut as readLatestGoalState,qf as readLearningProposalStore,br as readProcessStartIdentities,cr as readProcessStartIdentity,yo as readRunnerRecoveryTranscript,Rt as readSessionHistoryEntry,Ef as readSkillTrustLedger,Cf as readSkillUsageLedger,s as reclaimReservedResponseTokens,nf as reclaimStaleKodaXFileLock,gm as reconcileLearnedSkillBindingOutcomes,Hf as recordCompletedTurnLearning,bm as recordLearnedSkillOffered,zf as recordProceduralLearning,Vo as recordRejectedEffort,Df as recordSkillUsage,Kr as registerActiveRootQueueRoute,Ko as registerCoreInvariants,R as registerInvariant,sr as registerManagedChildProcess,zp as registerOAuthClient,_e as registerPluginSkillPath,Bo as registerPresetDispatcher,em as releaseLearnedSkillBinding,hr as rememberChildProcessTree,Zf as renderDeclarativeSkill,rt as renderUserQueryLedger,uo as replaceSystemMessage,Xo as resetCapabilityCacheMemoForTesting,Am as resetSkillRegistry,Lr as resolveActiveRootQueueRoute,_p as resolveCompactionPolicy,mx as resolveContextWindow,W as resolveEffectiveInvariants,Po as resolveExecutionPath,Of as resolveLearnedAreaPaths,uf as resolveLearningProposalStore,Pe as resolveMemoryEntrypoint,Oe as resolveMemoryRoot,Wf as resolveProjectLearnedAreaRoot,V as resolveRequiredInvariants,Qe as resolveScopedMemoryRoot,ut as resolveSessionLineageTarget,um as resolveSkillContent,hf as resolveSkillSnapshotLocation,Bf as resolveSkillTrustLedger,Af as resolveSkillUsageLedger,Ct as rewindSessionLineage,oo as runAdmissionAudit,qe as runFanOut,ko as runInputGuardrails,lo as runOutputGuardrails,kx as runRestrictedWorkflowScript,qo as runToolAfterGuardrails,no as runToolBeforeGuardrails,ne as runWithIdleYield,ip as runWithMcpCallContext,Fx as runWorkflow,Le as sanitizeProjectKey,Km as sanitizePromptSafeMemoryClaim,pp as sanitizeUnifiedLearningReviewInput,gp as searchMcpCatalog,Ot as searchSessionHistory,Qt as searchSessionHistoryCooperatively,Pp as serializeConversation,we as setActiveTeamModeWriter,Er as setActiveUserInteraction,ro as setAdmittedAgentBindings,Lo as setAgentConfigHome,u as setKodaXDiagnosticSink,vt as setSessionLineageActiveEntry,F as setTracingProcessors,rx as shouldCompact,K as shutdownTracing,Lf as slugifyLearnedCapabilityName,_f as stageLearnedSkillRevision,tr as stripHardenedEnvVars,wr as terminateWindowsEffectJob,af as triageProceduralLearning,Ye as truncateEntrypointContent,Ne as tryGitRemote,$e as unregisterPluginSkillPath,ze as updateActiveTeamMode,vf as updateLearningProposalStatus,Ff as updateSkillTrustLedger,sf as upsertLearningProposal,Be as validateAndFixToolHistory,Yf as validateDeclarativeSkillSpec,o as validateImageBytes,be as validateInputArtifactsForModel,jx as validateRestrictedWorkflowSource,Pt as validateSessionHistorySearchQuery,ux as validateWorkflowCapsule,dx as validateWorkflowScriptManifest,ar as waitForChildProcessExit,je as waitForWakeEvent,yr as windowsSandboxSidHasActiveProcesses,zr as windowsSandboxSidHasOtherProcesses,Vm as withEpisodeReviewClaimAuthority,kf as withKodaXFileLock,qr as withManagedChildProcessConfigHome,fp as withPendingEpisodeReviewSessionFence};
|
|
2
|
+
import{$ as bo,$a as gr,$c as Wp,$d as Wt,$e as Wx,A as G,Aa as Lo,Ab as De,Ac as up,Ad as ut,Ae as ux,B as H,Ba as Mo,Bb as Ee,Bc as vp,Bd as vt,Be as vx,C as M,Ca as No,Cb as Fe,Cc as wp,Cd as wt,Ce as wx,D as N,Da as Oo,Db as Ge,Dc as yp,Dd as yt,De as yx,E as O,Ea as Po,Eb as He,Ec as zp,Ed as zt,Ee as zx,F as P,Fa as Qo,Fb as Ie,Fc as Ap,Fd as At,Fe as Ax,G as Q,Ga as Ro,Gb as Je,Gc as Bp,Gd as Bt,Ge as Bx,H as R,Ha as So,Hb as Ke,Hc as Cp,Hd as Ct,He as Cx,I as S,Ia as To,Ib as Le,Ic as Dp,Id as Dt,Ie as Dx,J as T,Ja as Uo,Jb as Me,Jc as Ep,Jd as Et,Je as Ex,K as U,Ka as Vo,Kb as Ne,Kc as Fp,Kd as Ft,Ke as Fx,L as V,La as Wo,Lb as Oe,Lc as Gp,Ld as Gt,Le as Gx,M as W,Ma as Xo,Mb as Pe,Mc as Hp,Md as Ht,Me as Hx,N as X,Na as Yo,Nb as Qe,Nc as Ip,Nd as It,Ne as Ix,O as Y,Oa as Zo,Ob as Re,Oc as Jp,Od as Jt,Oe as Jx,P as Z,Pa as _o,Pb as Se,Pc as Kp,Pd as Kt,Pe as Kx,Q as _,Qa as $o,Qb as Te,Qc as Lp,Qd as Lt,Qe as Lx,R as $,Ra as or,Rb as Xe,Rc as Mp,Rd as Mt,Re as Mx,S as oo,Sa as rr,Sb as mf,Sc as Np,Sd as Nt,Se as Nx,T as ro,Ta as er,Tb as pf,Tc as Op,Td as Ot,Te as Ox,U as eo,Ua as fr,Ub as tf,Uc as Pp,Ud as Pt,Ue as Px,V as fo,Va as mr,Vb as xf,Vc as Qp,Vd as Qt,Ve as Qx,W as mo,Wa as pr,Wb as af,Wc as Rp,Wd as Rt,We as Rx,X as po,Xa as ar,Xb as bf,Xc as Sp,Xd as St,Xe as Sx,Y as to,Ya as br,Yb as cf,Yc as Tp,Yd as Tt,Ye as Tx,Z as xo,Za as cr,Zb as Vm,Zc as Up,Zd as Ut,Ze as Ux,_ as ao,_a as dr,_b as Wm,_c as Vp,_d as Vt,_e as Vx,a as o,aa as co,ab as hr,ac as Xm,ad as Xp,ae as Xt,af as Xx,b as r,ba as go,bb as ir,bc as Ym,bd as Yp,be as Yt,bf as Yx,c as e,ca as ho,cb as jr,cc as Zm,cd as Zp,ce as Zt,cf as Zx,d as f,da as io,db as kr,dc as _m,dd as _p,de as _t,df as _x,e as c,ea as jo,eb as Cr,ec as $m,ed as $p,ee as $t,ef as $x,f as d,fa as ko,fb as Dr,fc as op,fd as ot,fe as ox,ff as oa,g,ga as lo,gb as Er,gc as rp,gd as rt,ge as rx,gf as ra,h,ha as no,hb as Fr,hc as ep,hd as et,he as ex,hf as ea,i,ia as qo,ib as Gr,ic as fp,id as ft,ie as fx,if as fa,j,ja as so,jb as Hr,jc as mp,jd as mt,je as mx,jf as ma,k,ka as uo,kb as Ir,kc as pp,kd as pt,ke as px,kf as pa,l,la as vo,lb as Jr,lc as tp,ld as tt,le as tx,lf as ta,m as n,ma as wo,mb as Kr,mc as xp,md as xt,me as xx,mf as xa,n as q,na as yo,nb as Lr,nc as ap,nd as at,ne as ax,nf as aa,o as s,oa as zo,ob as Mr,oc as bp,od as bt,oe as bx,of as ba,p as u,pa as Ao,pb as Nr,pc as cp,pd as ct,pe as cx,pf as ca,q as v,qa as Bo,qb as Or,qc as dp,qd as dt,qe as dx,qf as da,r as w,ra as Co,rb as Pr,rc as gp,rd as gt,re as gx,rf as ga,s as y,sa as Do,sb as Qr,sc as hp,sd as ht,se as hx,t as z,ta as Eo,tb as Rr,tc as ip,td as it,te as ix,u as A,ua as Fo,ub as Sr,uc as jp,ud as jt,ue as jx,v as B,va as Go,vb as ye,vc as kp,vd as kt,ve as kx,w as C,wa as Ho,wb as ze,wc as lp,wd as lt,we as lx,x as D,xa as Io,xb as Ae,xc as np,xd as nt,xe as nx,y as E,ya as Jo,yb as Be,yc as qp,yd as qt,ye as qx,z as F,za as Ko,zb as Ce,zc as sp,zd as st,ze as sx}from"./chunks/chunk-2HH5AS7E.js";import{$ as sf,$a as sm,Aa as Vf,B as yr,Ba as Wf,C as zr,Ca as Xf,D as Ar,Da as Yf,E as Br,Ea as Zf,F as Ue,Fa as _f,G as Ve,Ga as $f,H as We,Ha as om,I as Ye,Ia as rm,J as Ze,Ja as em,K as _e,Ka as fm,L as $e,La as mm,M as of,Ma as pm,N as rf,Na as tm,O as ef,Oa as xm,P as ff,Pa as am,Q as df,Qa as bm,R as gf,Ra as cm,S as hf,Sa as dm,T as jf,Ta as gm,U as kf,Ua as hm,V as lf,Va as im,Wa as jm,Xa as km,Ya as lm,Z as nf,Za as nm,_ as qf,_a as qm,a as m,aa as uf,ab as um,b as p,ba as vf,bb as vm,c as t,ca as wf,cb as wm,d as x,da as yf,db as ym,e as a,ea as zf,eb as zm,f as b,fa as Af,fb as Am,g as J,ga as Bf,gb as Bm,h as K,ha as Cf,hb as Cm,i as L,ia as Df,ib as Dm,j as tr,ja as Ef,jb as Em,k as xr,ka as Ff,kb as Fm,l as lr,la as Gf,lb as Gm,m as nr,ma as Hf,mb as Hm,na as If,nb as Im,o as qr,oa as Jf,ob as Jm,p as sr,pa as Kf,pb as Km,q as ur,qa as Lf,qb as Lm,r as vr,ra as Mf,rb as Mm,sa as Nf,sb as Nm,ta as Of,tb as Om,ua as Pf,ub as Pm,va as Qf,vb as Qm,w as wr,wa as Rf,wb as Rm,xa as Sf,xb as Sm,ya as Tf,yb as Tm,za as Uf,zb as Um}from"./chunks/chunk-J2L2NK6E.js";import{A as le,B as ne,C as qe,D as se,E as ue,F as ve,G as we,a as Tr,b as Ur,c as Vr,d as Wr,e as Xr,f as Yr,g as Zr,h as _r,i as $r,j as oe,k as re,l as ee,m as fe,n as me,o as pe,p as te,q as xe,r as ae,s as be,t as ce,u as de,v as ge,w as he,x as ie,y as je,z as ke}from"./chunks/chunk-KDSO7V4O.js";import"./chunks/chunk-SK3RRGHJ.js";import"./chunks/chunk-WMMESRP3.js";import"./chunks/chunk-QP47JIWP.js";import"./chunks/chunk-52EN2777.js";import"./chunks/chunk-UF3GZ5PO.js";import{$ as I}from"./chunks/chunk-KE2NBMAP.js";import"./chunks/chunk-V5RCDBKU.js";import"./chunks/chunk-KDLOPBFZ.js";import"./chunks/chunk-V4WSBIXB.js";export{Nr as ASK_USER_BACK_SIGNAL,Or as ASK_USER_CUSTOM_INPUT_SIGNAL,da as AgentActorController,ma as AgentActorStoreConflictError,ea as AgentBudgetExhaustedError,Xx as AgentCancellationUncertainError,ba as AgentControlError,oa as AgentExecutionError,Zx as AgentExecutorPlaneInitializationError,ra as AgentLimitReachedError,pa as AgentOwnerConflictError,ta as AgentOwnerUnknownError,fa as AgentRevisionConflictError,xa as AgentSettlementPersistenceError,aa as AgentShutdownPersistenceError,Wx as AgentStartUncertainError,ca as AgentTurnScheduler,dr as BUN_BE_BUN_ENV,_o as CAPABILITY_CACHE_FILENAME,qt as COMPACTED_HISTORY_RECOVERY_GUIDANCE,ct as COMPACTION_PROTECTION_RATIO,nt as COMPACTION_SUMMARY_PREFIX,z as CONTEXT_SAFETY_FLOOR_TOKENS,A as CONTEXT_SAFETY_RATIO,Yo as CORE_INVARIANTS,oo as ConsoleTracingProcessor,C as ContextCapacityError,xt as DEFAULT_COMPACTION_TRIGGER_PERCENT,kx as DEFAULT_CONTEXT_WINDOW,Ee as DEFAULT_IDLE_YIELD_MAX_ITERATIONS,cx as DEFAULT_MICROCOMPACTION_CONFIG,zt as DEFAULT_POST_COMPACT_CONFIG,et as DEFAULT_SUMMARY_PROMPT,io as DEFAULT_SYSTEM_CAP,ft as DEFAULT_UPDATE_SUMMARY_PROMPT,Q as DefaultSummaryCompaction,gr as ELECTRON_NODE_ENV_SCRUB_IMPORT,cr as ELECTRON_RUN_AS_NODE_ENV,$m as EpisodeReviewBranchChangedError,_m as EpisodeReviewFailure,Yx as ExternalAgentRegistrationConflictError,d as FileExtensionStore,fm as FileLearningCenterService,ro as FileTracingProcessor,B as GenerationSuspensionError,Co as GuardrailBlockedError,Do as GuardrailEscalateError,ar as HARDENED_ENV_VARS,br as HARDENING_OPT_OUT_ENV,fe as ImageResizeError,so as InvariantSession,u as KODAX_API_MIN_INTERVAL,i as KODAX_DEFAULT_TIMEOUT,se as KODAX_FILE_MEDIA_TYPES,j as KODAX_HARD_TIMEOUT,ne as KODAX_IMAGE_MEDIA_TYPES,n as KODAX_MAX_INCOMPLETE_RETRIES,q as KODAX_MAX_MAXTOKENS_RETRIES,k as KODAX_MAX_RETRIES,h as KODAX_MAX_TOKENS,l as KODAX_RETRY_BASE_DELAY,s as KODAX_STAGGER_DELAY,qe as KODAX_VIDEO_MEDIA_TYPES,Cf as KodaXFileLockTimeoutError,ee as KodaXMediaError,Vp as LINEAGE_ENTRY_TYPES,om as LearnedAreaStore,Vf as LearningCapabilityError,Yp as LineageCompaction,Wp as LineageExtension,bt as MAX_COMPACTION_TRIGGER_PERCENT,be as MAX_DIMENSION,af as MAX_ENTRYPOINT_BYTES,xf as MAX_ENTRYPOINT_LINES,zf as MAX_SKILL_MD_BYTES,Af as MAX_SKILL_SUPPORT_FILE_BYTES,vo as MAX_TOOL_LOOP_ITERATIONS,Xe as MEMORY_POLICY_VERSION,at as MIN_COMPACTION_TRIGGER_PERCENT,Ep as McpAuthRequiredError,Rp as McpCapabilityProvider,Dp as McpExpiredSessionError,Sp as McpManager,Qp as McpServerRuntime,Fp as McpTransportCleanupIncompleteError,Zm as MemoryControlPlane,Tr as MessageQueue,ie as PASTE_TMP_DIR_ENV,je as PASTE_TMP_TTL_MS,yt as POST_COMPACT_MAX_TOKENS_PER_FILE,wt as POST_COMPACT_TOKEN_BUDGET,v as PROMISE_PATTERN,lt as PROTECTED_TOOL_NAMES,ye as QueuedInputArtifactError,G as RESERVE_SHRINK_FLOOR_TOKENS,To as Runner,Oo as RunnerIterationLimitError,Om as SkillExecutor,Km as SkillRegistry,R as SpanImpl,ce as TARGET_RAW_SIZE_BYTES,_ as Tracer,Gm as VariableResolver,Ox as WORKFLOW_CAPSULE_API_VERSION,Mx as WORKFLOW_CAPSULE_FORMAT,Nx as WORKFLOW_CAPSULE_VERSION,wx as WORKFLOW_PATTERN_IDS,Kr as WindowsManagedProcessStartError,Bx as WorkflowAbortError,Dx as WorkflowBudgetError,qx as WorkflowEventRecorder,Cx as WorkflowLimitError,Ix as WorkflowScriptExecutionError,Ex as WorkflowTaskFailedError,_r as YIELD_TOOL_NAMES,X as _emitSpanEnd,W as _emitSpanStart,Y as _emitTraceEnd,V as _getRegisteredProcessors,Zr as _resetActiveRootQueueRoutesForTests,go as _resetAdmissionMetrics,qo as _resetAdmittedAgentBindings,xo as _resetInvariantRegistry,Vr as _resetMessageQueueForTests,Ro as _resetPresetDispatchers,Ef as acquireKodaXFileLock,Wr as actorQueueId,T as addTracingProcessor,wm as admitAndRecordLearnedSkillInvocation,im as admitLearnedSkillBinding,ax as appendGoalEntry,Yt as appendMemoryClientNotice,Vt as appendMemoryOutcomeDigest,Wt as appendMemoryReviewReceipt,Lt as appendSessionLineageLabel,Nt as applyLineageTruncation,eo as applyManifestPatch,hr as applyProcessHardening,Mt as applySessionCompaction,Kf as applySkillLearningProposal,Lf as approveStoredLearningProposal,Ut as archiveOldIslands,Qr as asSingleSelection,Xf as assertLearnedCapabilityTransition,tr as assertNoGitInstallPrompt,xr as assertNoGitInstallPromptSync,Ax as assertRestrictedWorkflowQuality,Mo as attachRunnerRecoveryTranscript,Ne as bootstrapTeamMode,Ao as buildAssistantMessageFromLlmResult,mt as buildCompactionCacheInstruction,pt as buildCompactionPromptSnapshot,Ct as buildFileContentMessages,Pp as buildInitializeCapabilities,Je as buildOtherInstancesPromptBlock,At as buildPostCompactAttachments,hx as buildRecoverySeed,St as buildSessionTree,So as buildSystemPrompt,Bo as buildToolResultMessage,Sx as buildWorkflowCapsuleIntent,nx as buildWorkflowOutcome,D as calculateContextSafetyMargin,F as calculateMaxContextInputTokens,wf as canMarkCreatedByAgent,Wf as canTransitionLearnedCapability,op as captureEpisodeReviewBranchEpoch,ep as claimEpisodeReview,Pe as cleanupIncompleteToolCalls,Cr as cleanupManagedRunChildProcess,Fr as cleanupRegisteredManagedChildren,mr as clearCapabilityCache,jf as clearPluginSkillPaths,Eo as collectGuardrails,ht as collectUserQueryLedger,pp as commitEpisodeReviewAction,mp as commitEpisodeReviewDecision,hm as commitLearnedSkillRevision,vt as compact,jp as completeEpisodeReview,cp as completeFencedEpisodeReview,lm as completeLearnedSkillOutcome,ym as completeLearnedSkillSessionOutcomes,De as composeIdleYieldUserMessage,fo as composePatches,Tf as computeSkillConsumerImpact,Gr as containWindowsEffectProcess,Tt as countActiveLineageMessages,Ae as countLastAssistantToolCalls,y as countTokens,N as createAgent,ga as createAgentActorController,_x as createAgentExecutorPlane,Pm as createExecutor,g as createExtensionStore,xe as createFileArtifactFromPath,O as createHandoff,te as createImageArtifactFromPath,P as createInMemorySession,uo as createInvariantSessionForAgent,am as createLearnedCapabilityScope,sm as createLearnedSkillActionDriver,gm as createLearnedSkillRecord,mm as createLearningCenterService,Dt as createLegacyToolPairingLookup,Te as createLlmJudgedStopHook,vp as createMcpCapabilityId,Tp as createMcpManager,Up as createMcpTestServerFixture,Gp as createMcpTransport,Vx as createMemoryAgentExecutorPlaneStore,Ym as createMemoryControlPlane,$x as createReferenceAgentExecutorFactory,Hm as createResolver,Lx as createRestrictedWorkflowModule,oe as createRuntimeDeliveryPredicate,Gt as createSessionLineage,He as createStateWriter,S as createTrace,ae as createVideoArtifactFromPath,Qx as createWorkflowCapsule,Rx as createWorkflowModuleFromCapsule,vx as createWorkflowProcessTracker,Tx as createWorkflowRunManager,Gx as createWorkflowRuntime,yf as decideSkillGovernance,up as defaultMcpCacheDir,$ as defaultTracer,bp as deferEpisodeReview,Jo as detectHandoffSignal,Be as detectIdleYield,jo as detectInstructionsInjection,dp as discardFencedEpisodeReview,Kp as discoverAuthorizationServerMetadata,Ie as discoverInstances,Lp as discoverOAuthEndpoints,Jp as discoverProtectedResourceMetadata,Cm as discoverSkills,Em as discoverSkillsWithMonorepo,Um as dispatchSkillCreatorTool,lp as drainPendingEpisodeReviews,Qe as editDistance,Lo as emitHandoffSpan,K as emitKodaXDiagnostic,we as enqueueWithArtifacts,w as estimateTokens,rm as eventFromCapability,Ot as evictOldIslandMessageContent,Vo as evidenceTrail,Bm as exactInvokedSkillSnapshotForSession,E as exceedsContextCapacity,zo as executeRunnerToolCall,Qm as executeSkill,Rm as expandSkillForLLM,$p as extractArtifactLedger,Uo as extractAssistantTextFromMessage,Zp as extractFileOps,Ip as extractInsufficientScope,Hp as extractResourceMetadataUrl,$t as extractTitleFromMessages,ap as failEpisodeReviewApply,xp as failEpisodeReviewAttempt,Wo as finalOwner,Re as findFuzzyToolMatch,Et as findLegacyToolPairingRestorations,Pt as findPreviousUserEntryId,Rt as forkSessionLineage,L as formatKodaXDiagnostic,Sm as formatSkillActivationMessage,Jm as formatSkillsSystemPrompt,fp as freezeEpisodeReviewInput,_t as generateSessionId,Zt as generateSessionIdSync,tt as generateSummary,Cp as getActiveMcpCallContext,Xt as getActiveMemoryOutcomeReviewIds,Le as getActiveTeamModeWriter,Sr as getActiveUserInteraction,co as getAdmissionMetricsSnapshot,no as getAdmittedAgentBindings,p as getAgentConfigHome,t as getAgentConfigPath,b as getAppDataDir,rr as getCachedRejectedEfforts,$o as getCapabilityCacheFile,kf as getDefaultSkillPaths,Ux as getDefaultWorkflowRunManager,po as getInvariant,pm as getLearnedExtensionToolName,Ap as getMcpCachePaths,Ur as getMessageQueue,ue as getModelInputCapabilities,Dm as getNestedSkillPaths,er as getProviderReasoningCacheOptions,Ht as getSessionLineagePath,Ft as getSessionMessageEntryId,It as getSessionMessagesFromLineage,lf as getSkillPathsFlat,Lm as getSkillRegistry,jx as gracefulCompactDegradation,Xo as handoffLegality,Ze as hashCwd,Ve as hashMemoryIdentityComponent,me as inferImageMediaType,pe as inferVideoMediaType,Mm as initializeSkillRegistry,Bt as injectPostCompactAttachments,gp as inspectEpisodeReviewJob,km as invokeLearnedSkillCanary,Se as invokeLlmJudge,ho as isAdmissionDebugEnabled,Pr as isAskUserCustomInputAnswer,Mr as isAskUserUnanswered,ef as isAutoManagedMemoryFile,lr as isChildProcessExited,ur as isCurrentProcessWindowsJobContained,st as isEmptyLikeSummary,sx as isFinalWorkflowProcessStatus,bx as isGoalEntry,ze as isIdleYieldEnabled,qm as isLearnedCapabilityRecordV2,tm as isLearnedExtensionCommandAllowed,cf as isMemoryManagementController,x as isPathInsideDirectory,wo as isRunnableTool,Po as isRunnerIterationLimitError,yo as isRunnerLlmResult,Tm as isSkillCreatorDispatchAction,qp as isUnifiedLearningReviewModelInput,Ar as killChildProcessTree,Br as killChildProcessTreeSync,yr as killPidTree,zr as killPidTreeSync,_f as learningEventIdFor,Zf as learningEventKindForLifecycle,zx as lintRestrictedWorkflowSource,Am as listLearnedSkillUsageReceipts,ip as listPendingEpisodeReviewSummaries,hp as listPendingEpisodeReviews,hf as listPluginSkillPaths,to as listRegisteredInvariants,or as loadCapabilityCache,sf as loadFullSkill,uf as loadSkillFileContent,qf as loadSkillMetadata,Op as loadValidToken,Ue as matchesMemoryApplicability,re as maybeDrainMidTurn,We as memoryApplicabilityFingerprint,Wm as memoryMutationHandle,Vm as memoryProposalRevision,ot as mergeArtifactLedger,_p as mergeFileOps,it as mergeUserQueryLedger,dx as microcompact,$r as midTurnDrainPriority,um as migrateLegacyLearnedSkillsForProject,ut as needsCompaction,M as normalizeAgentReasoningProfile,dt as normalizeCompactionConfig,ux as normalizeHostMetadata,wp as normalizeMcpCapabilityId,de as normalizePastedImage,gx as normalizeRecoveryPrompt,sp as normalizeUnifiedLearningReview,Fx as normalizeWorkflowLimits,Fm as parseArguments,yp as parseMcpCapabilityId,pf as parseMemoryFile,mf as parseMemoryType,ff as parseMemoryTypeFromFilename,tf as parseScalarFields,nf as parseSkillMarkdown,kt as parseUserQueryLedger,Np as performOAuthLogin,px as persistCompactedSessionHistory,ke as persistImageAsBlock,rp as persistPendingEpisodeReview,ir as prepareInternalNodeLaunch,jr as prepareJavaScriptChildLaunch,Lr as prepareWindowsManagedProcess,em as projectLearningProposals,r as promoteSessionMetadata,le as prunePasteTmpDir,nm as quarantineLearnedSkillRevision,he as readAndNormalizeClipboardImage,ge as readClipboardImage,vr as readCurrentProcessWindowsJobIdentity,tx as readLatestGoalFromBranch,xx as readLatestGoalState,Gf as readLearningProposalStore,qr as readProcessStartIdentities,sr as readProcessStartIdentity,No as readRunnerRecoveryTranscript,fx as readSessionHistoryEntry,Rf as readSkillTrustLedger,Pf as readSkillUsageLedger,Xp as readTaskResultReports,H as reclaimReservedResponseTokens,Ff as reclaimStaleKodaXFileLock,zm as reconcileLearnedSkillBindingOutcomes,Uf as recordCompletedTurnLearning,vm as recordLearnedSkillOffered,Mf as recordProceduralLearning,fr as recordRejectedEffort,Qf as recordSkillUsage,Xr as registerActiveRootQueueRoute,Zo as registerCoreInvariants,mo as registerInvariant,Er as registerManagedChildProcess,Mp as registerOAuthClient,df as registerPluginSkillPath,Qo as registerPresetDispatcher,jm as releaseLearnedSkillBinding,wr as rememberChildProcessTree,cm as renderDeclarativeSkill,jt as renderUserQueryLedger,Ko as replaceSystemMessage,pr as resetCapabilityCacheMemoForTesting,Nm as resetSkillRegistry,Yr as resolveActiveRootQueueRoute,gt as resolveCompactionPolicy,lx as resolveContextWindow,bo as resolveEffectiveInvariants,a as resolveExecutionPath,$f as resolveLearnedAreaPaths,If as resolveLearningProposalStore,of as resolveMemoryEntrypoint,$e as resolveMemoryRoot,xm as resolveProjectLearnedAreaRoot,ao as resolveRequiredInvariants,rf as resolveScopedMemoryRoot,Jt as resolveSessionLineageTarget,Im as resolveSkillContent,Bf as resolveSkillSnapshotLocation,Of as resolveSkillTrustLedger,Nf as resolveSkillUsageLedger,mx as retryContextPersistence,Qt as rewindSessionLineage,ko as runAdmissionAudit,Ge as runFanOut,Fo as runInputGuardrails,Go as runOutputGuardrails,Kx as runRestrictedWorkflowScript,Io as runToolAfterGuardrails,Ho as runToolBeforeGuardrails,Fe as runWithIdleYield,Bp as runWithMcpCallContext,Hx as runWorkflow,Ye as sanitizeProjectKey,Xm as sanitizePromptSafeMemoryClaim,np as sanitizeUnifiedLearningReviewInput,zp as searchMcpCatalog,ox as searchSessionHistory,ex as searchSessionHistoryCooperatively,rt as serializeConversation,o as sessionMetadataRevision,Ke as setActiveTeamModeWriter,Rr as setActiveUserInteraction,lo as setAdmittedAgentBindings,m as setAgentConfigHome,J as setKodaXDiagnosticSink,Kt as setSessionLineageActiveEntry,U as setTracingProcessors,ix as shouldCompact,Z as shutdownTracing,Yf as slugifyLearnedCapabilityName,dm as stageLearnedSkillRevision,kr as stripHardenedEnvVars,Hr as terminateWindowsEffectJob,vf as triageProceduralLearning,bf as truncateEntrypointContent,e as tryAcquireStorageFileLock,_e as tryGitRemote,gf as unregisterPluginSkillPath,Me as updateActiveTeamMode,Jf as updateLearningProposalStatus,Sf as updateSkillTrustLedger,Hf as upsertLearningProposal,Oe as validateAndFixToolHistory,bm as validateDeclarativeSkillSpec,c as validateExtensionStoreSnapshot,I as validateImageBytes,ve as validateInputArtifactsForModel,Jx as validateRestrictedWorkflowSource,rx as validateSessionHistorySearchQuery,Px as validateWorkflowCapsule,yx as validateWorkflowScriptManifest,nr as waitForChildProcessExit,Ce as waitForWakeEvent,Ir as windowsSandboxSidHasActiveProcesses,Jr as windowsSandboxSidHasOtherProcesses,tp as withEpisodeReviewClaimAuthority,Df as withKodaXFileLock,Dr as withManagedChildProcessConfigHome,kp as withPendingEpisodeReviewSessionFence,f as withStorageFileLock};
|
package/dist/sdk-client.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { C as ClientAutoModeStats, a as ClientCapabilityProbeResult, b as ClientCommandInfo, c as ClientCommandInput, d as ClientCommandResult, e as ClientCommandService, f as ClientCompactSessionResult, g as ClientConfig, h as ClientContextBudget, i as ClientContextBudgetFact, j as ClientCreateSessionInput, k as ClientEffectiveConfigValue, l as ClientEffectiveExecutionConfig, m as ClientExecutionFactsPage, n as ClientExecutionTarget, p as
|
|
3
|
-
import {
|
|
4
|
-
export { K as KodaXClientExecutionRequest, b as KodaXClientWorkflowHostPolicy,
|
|
5
|
-
import './types-chunks/review-inbox.d-
|
|
6
|
-
import './types-chunks/types.d-
|
|
7
|
-
import './types-chunks/provider-request-observation.d-
|
|
8
|
-
import './types-chunks/provider-credential-context.d-
|
|
9
|
-
import './types-chunks/types.d-
|
|
1
|
+
import { aS as KodaXToolVisibilityMeta, ax as ClientStartupProgress, aN as KodaXProductClient, o as ClientExitReceipt } from './types-chunks/client-contract-B7q69yMA.js';
|
|
2
|
+
export { C as ClientAutoModeStats, a as ClientCapabilityProbeResult, b as ClientCommandInfo, c as ClientCommandInput, d as ClientCommandResult, e as ClientCommandService, f as ClientCompactSessionResult, g as ClientConfig, h as ClientContextBudget, i as ClientContextBudgetFact, j as ClientCreateSessionInput, k as ClientEffectiveConfigValue, l as ClientEffectiveExecutionConfig, m as ClientExecutionFactsPage, n as ClientExecutionTarget, p as ClientExitRecovery, q as ClientExtensionDiagnostics, r as ClientExtensionSource, s as ClientGoalCreateInput, t as ClientHistoryBoundary, u as ClientHistoryIssue, v as ClientHistoryPage, w as ClientHistoryReadOptions, x as ClientHistorySearchInput, y as ClientHistorySearchResult, z as ClientHostStartupPhase, A as ClientImageAttachmentContent, B as ClientInputAcceptance, D as ClientInputAdmissionError, E as ClientInteraction, F as ClientInteractionResponse, G as ClientInteractionResult, H as ClientItemContent, I as ClientItemReadOptions, J as ClientLearningService, K as ClientLearningSubscription, L as ClientLifecycleService, M as ClientLineageEntry, N as ClientLineageLabelInput, O as ClientLineageSummary, P as ClientLoadedExtension, Q as ClientMcpServerConfig, R as ClientMcpServerStatus, S as ClientMcpTool, T as ClientMemoryController, U as ClientMemoryPlane, V as ClientMemoryProposal, W as ClientMemoryRebuildResult, X as ClientMemoryService, Y as ClientModelCatalog, Z as ClientModelSelection, _ as ClientObservation, $ as ClientObservationStatus, a0 as ClientObserveOptions, a1 as ClientPermissionDecision, a2 as ClientPermissionGrant, a3 as ClientPermissionGrants, a4 as ClientPermissionInteractionOptions, a5 as ClientPromoteSessionInput, a6 as ClientProviderInfo, a7 as ClientProviderRequestFact, a8 as ClientQueuedInput, a9 as ClientRepoIntelligenceHostStatus, aa as ClientRepoIntelligenceStatus, ab as ClientReviewInput, ac as ClientReviewService, ad as ClientRunFailureDetail, ae as ClientRunOutcome, af as ClientRunStatus, ag as ClientRunStopReceipt, ah as ClientRunTerminal, ai as ClientSession, aj as ClientSessionActivity, ak as ClientSessionCancelInput, al as ClientSessionCancelReceipt, am as ClientSessionFilter, an as ClientSessionForkInput, ao as ClientSessionGoal, ap as ClientSessionPromotionResult, aq as ClientSessionRecoverInput, ar as ClientSessionSettings, as as ClientSessionSettingsPatch, at as ClientSessionSettingsSnapshot, au as ClientSessionSummary, av as ClientSessionView, aw as ClientSkillInfo, ay as ClientStatisticsService, az as ClientSubmitInput, aA as ClientToolExecutionFact, aB as ClientToolInvocationInput, aC as ClientUsageTotals, aD as ClientViewItem, aE as ClientWorkflowEvent, aF as ClientWorkflowProcess, aG as ClientWorkflowRun, aH as ClientWorkflowStartInput, aI as ClientWorkflowStartMetadata, aJ as ClientWorkflowStartResult, aK as ClientWorkflowStartSource, aL as KodaXAgentProfile, aM as KodaXEffectiveTaskConfig, aO as KodaXRuntimeVerificationContract, aP as KodaXTaskCapabilityHint, aQ as KodaXTaskVerificationContract, aR as KodaXTaskVerificationCriterion, aT as KodaXToolVisibilityPolicy } from './types-chunks/client-contract-B7q69yMA.js';
|
|
3
|
+
import { r as RuntimeExecutionProfileSource, q as RuntimeExecutionProfile, d as RuntimeClientInfo, a as KodaXClientHostAuthorization } from './types-chunks/runtime-client-info-P_mRDG7j.js';
|
|
4
|
+
export { K as KodaXClientExecutionRequest, b as KodaXClientHostServices, c as KodaXClientWorkflowHostPolicy, R as RuntimeBusinessBinding, k as RuntimeDefaultSkill, l as RuntimeExecutionAuthorization, m as RuntimeExecutionBindingRequest, n as RuntimeExecutionBindingResolver, o as RuntimeExecutionBindingService, p as RuntimeExecutionBindingSnapshot } from './types-chunks/runtime-client-info-P_mRDG7j.js';
|
|
5
|
+
import './types-chunks/review-inbox.d-Bgt46S7L.js';
|
|
6
|
+
import './types-chunks/types.d-Bi8iUd6x.js';
|
|
7
|
+
import './types-chunks/provider-request-observation.d-CNe9vse3.js';
|
|
8
|
+
import './types-chunks/provider-credential-context.d-Dw-sWcnu.js';
|
|
9
|
+
import './types-chunks/types.d-BlXTogOo.js';
|
|
10
|
+
import './types-chunks/task-results.d-XMdWq0eA.js';
|
|
11
|
+
|
|
12
|
+
/** Pure builder. Predicates require a Host catalog; Main's registry is never authoritative. */
|
|
13
|
+
declare function createExecutionProfile(context: RuntimeExecutionProfileSource, catalog?: readonly KodaXToolVisibilityMeta[]): RuntimeExecutionProfile;
|
|
10
14
|
|
|
11
15
|
/** Product SDK entry — @kodax-ai/kodax/client. */
|
|
12
16
|
|
|
@@ -26,6 +30,8 @@ interface ConnectKodaXClientOptions {
|
|
|
26
30
|
}
|
|
27
31
|
interface EnsureKodaXClientOptions extends Omit<ConnectKodaXClientOptions, 'endpoint' | 'token'> {
|
|
28
32
|
readonly daemonStartupTimeoutMs?: number;
|
|
33
|
+
/** Deadline for ordinary questions on a newly started Host; 0 (default) waits indefinitely. */
|
|
34
|
+
readonly userInputTimeoutMs?: number;
|
|
29
35
|
}
|
|
30
36
|
/** Offline recovery query. Does not connect, start a Host, replay work, or clean Space resources. */
|
|
31
37
|
declare function readKodaXClientExits(options: {
|
|
@@ -38,5 +44,5 @@ declare function ensureKodaXClient(options?: EnsureKodaXClientOptions): Promise<
|
|
|
38
44
|
/** Connect to an existing compatible Host without starting or replacing one. */
|
|
39
45
|
declare function connectKodaXClient(options?: ConnectKodaXClientOptions): Promise<KodaXProductClient>;
|
|
40
46
|
|
|
41
|
-
export { ClientExitReceipt, ClientStartupProgress, KodaXClientHostAuthorization, KodaXProductClient, RuntimeClientInfo, connectKodaXClient, ensureKodaXClient, readKodaXClientExits };
|
|
47
|
+
export { ClientExitReceipt, ClientStartupProgress, KodaXClientHostAuthorization, KodaXProductClient, KodaXToolVisibilityMeta, RuntimeClientInfo, RuntimeExecutionProfile, RuntimeExecutionProfileSource, connectKodaXClient, createExecutionProfile, ensureKodaXClient, readKodaXClientExits };
|
|
42
48
|
export type { ConnectKodaXClientOptions, EnsureKodaXClientOptions };
|