@cuylabs/agent-core 4.9.0 → 4.10.0
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/README.md +11 -12
- package/dist/agent/chat-loop/commit-batch.d.ts +10 -0
- package/dist/agent/chat-loop/commit-batch.d.ts.map +1 -0
- package/dist/agent/chat-loop/context-recovery.d.ts +29 -0
- package/dist/agent/chat-loop/context-recovery.d.ts.map +1 -0
- package/dist/agent/chat-loop/finalize-turn.d.ts +19 -0
- package/dist/agent/chat-loop/finalize-turn.d.ts.map +1 -0
- package/dist/agent/chat-loop/index.d.ts +7 -0
- package/dist/agent/chat-loop/index.d.ts.map +1 -0
- package/dist/agent/chat-loop/loop.d.ts +8 -0
- package/dist/agent/chat-loop/loop.d.ts.map +1 -0
- package/dist/agent/chat-loop/model-step-runner.d.ts +26 -0
- package/dist/agent/chat-loop/model-step-runner.d.ts.map +1 -0
- package/dist/agent/chat-loop/model-step-snapshot.d.ts +49 -0
- package/dist/agent/chat-loop/model-step-snapshot.d.ts.map +1 -0
- package/dist/agent/chat-loop/turn-tools.d.ts +19 -0
- package/dist/agent/chat-loop/turn-tools.d.ts.map +1 -0
- package/dist/agent/chat-loop/types.d.ts +60 -0
- package/dist/agent/chat-loop/types.d.ts.map +1 -0
- package/dist/agent/defaults.d.ts +69 -0
- package/dist/agent/defaults.d.ts.map +1 -0
- package/dist/agent/event-printer.d.ts +94 -0
- package/dist/agent/event-printer.d.ts.map +1 -0
- package/dist/agent/fork.d.ts +59 -0
- package/dist/agent/fork.d.ts.map +1 -0
- package/dist/agent/index.d.ts +17 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/instance/context-management.d.ts +29 -0
- package/dist/agent/instance/context-management.d.ts.map +1 -0
- package/dist/agent/instance/forking.d.ts +26 -0
- package/dist/agent/instance/forking.d.ts.map +1 -0
- package/dist/agent/instance/index.d.ts +170 -0
- package/dist/agent/instance/index.d.ts.map +1 -0
- package/dist/agent/instance/interventions.d.ts +10 -0
- package/dist/agent/instance/interventions.d.ts.map +1 -0
- package/dist/agent/instance/mcp.d.ts +21 -0
- package/dist/agent/instance/mcp.d.ts.map +1 -0
- package/dist/agent/instance/sessions.d.ts +8 -0
- package/dist/agent/instance/sessions.d.ts.map +1 -0
- package/dist/agent/instance/tools.d.ts +16 -0
- package/dist/agent/instance/tools.d.ts.map +1 -0
- package/dist/agent/instance/turn-lifecycle.d.ts +61 -0
- package/dist/agent/instance/turn-lifecycle.d.ts.map +1 -0
- package/dist/agent/session.d.ts +16 -0
- package/dist/agent/session.d.ts.map +1 -0
- package/dist/agent/setup/config.d.ts +8 -0
- package/dist/agent/setup/config.d.ts.map +1 -0
- package/dist/agent/setup/context-window.d.ts +4 -0
- package/dist/agent/setup/context-window.d.ts.map +1 -0
- package/dist/agent/setup/environment.d.ts +5 -0
- package/dist/agent/setup/environment.d.ts.map +1 -0
- package/dist/agent/setup/middleware.d.ts +9 -0
- package/dist/agent/setup/middleware.d.ts.map +1 -0
- package/dist/agent/setup/runtime-config.d.ts +9 -0
- package/dist/agent/setup/runtime-config.d.ts.map +1 -0
- package/dist/agent/setup/state.d.ts +4 -0
- package/dist/agent/setup/state.d.ts.map +1 -0
- package/dist/agent/setup/tools.d.ts +8 -0
- package/dist/agent/setup/tools.d.ts.map +1 -0
- package/dist/agent/setup.d.ts +47 -0
- package/dist/agent/setup.d.ts.map +1 -0
- package/dist/agent/stream-provider.d.ts +27 -0
- package/dist/agent/stream-provider.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/agent-context.d.ts +53 -0
- package/dist/agent/turn-context/compaction/agent-context.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/budget.d.ts +4 -0
- package/dist/agent/turn-context/compaction/budget.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/check.d.ts +39 -0
- package/dist/agent/turn-context/compaction/check.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/fragments.d.ts +4 -0
- package/dist/agent/turn-context/compaction/fragments.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/index.d.ts +5 -0
- package/dist/agent/turn-context/compaction/index.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/memory.d.ts +17 -0
- package/dist/agent/turn-context/compaction/memory.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/results.d.ts +19 -0
- package/dist/agent/turn-context/compaction/results.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/summary.d.ts +3 -0
- package/dist/agent/turn-context/compaction/summary.d.ts.map +1 -0
- package/dist/agent/turn-context/compaction/types.d.ts +24 -0
- package/dist/agent/turn-context/compaction/types.d.ts.map +1 -0
- package/dist/agent/turn-context/fit-model-context.d.ts +29 -0
- package/dist/agent/turn-context/fit-model-context.d.ts.map +1 -0
- package/dist/agent/turn-context/index.d.ts +5 -0
- package/dist/agent/turn-context/index.d.ts.map +1 -0
- package/dist/agent/turn-context/system-prompts.d.ts +12 -0
- package/dist/agent/turn-context/system-prompts.d.ts.map +1 -0
- package/dist/agent/types/config.d.ts +199 -0
- package/dist/agent/types/config.d.ts.map +1 -0
- package/dist/agent/types/index.d.ts +11 -0
- package/dist/agent/types/index.d.ts.map +1 -0
- package/dist/agent/types/state.d.ts +16 -0
- package/dist/agent/types/state.d.ts.map +1 -0
- package/dist/agent/types/tracing.d.ts +12 -0
- package/dist/agent/types/tracing.d.ts.map +1 -0
- package/dist/{chunk-KYLPMBHD.js → chunk-336EDIBL.js} +1 -1
- package/dist/chunk-AAGKWUXR.js +539 -0
- package/dist/chunk-AHDCR7SX.js +83 -0
- package/dist/{chunk-CSR75JVC.js → chunk-ASXF5AC6.js} +1 -1
- package/dist/{chunk-2TTOLHBT.js → chunk-CFBSQLP5.js} +1 -1
- package/dist/{chunk-GJFP5L2V.js → chunk-CNM6OROH.js} +15 -3
- package/dist/chunk-E66PKKDL.js +772 -0
- package/dist/{chunk-HSUPTXNV.js → chunk-EBVSPHXA.js} +13 -10
- package/dist/chunk-EEAGM5MS.js +257 -0
- package/dist/chunk-IQA64CAO.js +84 -0
- package/dist/chunk-JFH6HBUG.js +227 -0
- package/dist/{chunk-MWPU2EVV.js → chunk-JUIL2NJC.js} +4 -81
- package/dist/{chunk-NS7D7JJU.js → chunk-K453AFTL.js} +35 -16
- package/dist/chunk-LX4AHGI3.js +960 -0
- package/dist/chunk-MJRZ2ZRI.js +498 -0
- package/dist/chunk-NMJNN6LS.js +1155 -0
- package/dist/{chunk-UMIVJDEJ.js → chunk-SAWRDGBE.js} +30 -7
- package/dist/{chunk-GEBFHREI.js → chunk-TU5KDFWI.js} +30 -5
- package/dist/{chunk-QJV5XPPS.js → chunk-UEEHZ4QH.js} +1 -1
- package/dist/chunk-UG5PVNZV.js +53 -0
- package/dist/{chunk-BGG2HVIR.js → chunk-V4MIDL5B.js} +9 -0
- package/dist/{chunk-BJC46FIF.js → chunk-V4YQ6MBK.js} +2 -2
- package/dist/{chunk-H3GRHFFG.js → chunk-VMGZKIFT.js} +30 -9
- package/dist/chunk-W6LWIMIX.js +8 -0
- package/dist/context/assembly/index.d.ts +3 -0
- package/dist/context/assembly/index.d.ts.map +1 -0
- package/dist/context/assembly/prepare.d.ts +11 -0
- package/dist/context/assembly/prepare.d.ts.map +1 -0
- package/dist/context/assembly/types.d.ts +60 -0
- package/dist/context/assembly/types.d.ts.map +1 -0
- package/dist/context/config.d.ts +11 -0
- package/dist/context/config.d.ts.map +1 -0
- package/dist/context/fragments/index.d.ts +4 -0
- package/dist/context/fragments/index.d.ts.map +1 -0
- package/dist/context/fragments/messages.d.ts +10 -0
- package/dist/context/fragments/messages.d.ts.map +1 -0
- package/dist/context/fragments/render.d.ts +16 -0
- package/dist/context/fragments/render.d.ts.map +1 -0
- package/dist/context/fragments/types.d.ts +87 -0
- package/dist/context/fragments/types.d.ts.map +1 -0
- package/dist/context/index.d.ts +13 -0
- package/dist/context/index.d.ts.map +1 -0
- package/dist/context/index.js +90 -0
- package/dist/context/text/truncation.d.ts +13 -0
- package/dist/context/text/truncation.d.ts.map +1 -0
- package/dist/context/window/budget.d.ts +108 -0
- package/dist/context/window/budget.d.ts.map +1 -0
- package/dist/context/window/compactor.d.ts +74 -0
- package/dist/context/window/compactor.d.ts.map +1 -0
- package/dist/context/window/cut-planner.d.ts +64 -0
- package/dist/context/window/cut-planner.d.ts.map +1 -0
- package/dist/context/window/decision.d.ts +41 -0
- package/dist/context/window/decision.d.ts.map +1 -0
- package/dist/context/window/estimation.d.ts +45 -0
- package/dist/context/window/estimation.d.ts.map +1 -0
- package/dist/context/window/index.d.ts +26 -0
- package/dist/context/window/index.d.ts.map +1 -0
- package/dist/context/window/manager.d.ts +80 -0
- package/dist/context/window/manager.d.ts.map +1 -0
- package/dist/context/window/summary-policy.d.ts +50 -0
- package/dist/context/window/summary-policy.d.ts.map +1 -0
- package/dist/context/window/summary.d.ts +56 -0
- package/dist/context/window/summary.d.ts.map +1 -0
- package/dist/context/window/tool-pruning.d.ts +62 -0
- package/dist/context/window/tool-pruning.d.ts.map +1 -0
- package/dist/dispatch/executor.d.ts +56 -0
- package/dist/dispatch/executor.d.ts.map +1 -0
- package/dist/dispatch/index.d.ts +7 -95
- package/dist/dispatch/index.d.ts.map +1 -0
- package/dist/dispatch/index.js +4 -3
- package/dist/dispatch/results.d.ts +9 -0
- package/dist/dispatch/results.d.ts.map +1 -0
- package/dist/dispatch/runtime.d.ts +19 -0
- package/dist/dispatch/runtime.d.ts.map +1 -0
- package/dist/dispatch/tool-factories.d.ts +8 -0
- package/dist/dispatch/tool-factories.d.ts.map +1 -0
- package/dist/dispatch/tools.d.ts +10 -0
- package/dist/dispatch/tools.d.ts.map +1 -0
- package/dist/dispatch/types.d.ts +131 -0
- package/dist/dispatch/types.d.ts.map +1 -0
- package/dist/events/event-bus/index.d.ts +13 -0
- package/dist/events/event-bus/index.d.ts.map +1 -0
- package/dist/events/event-bus/index.js +6 -0
- package/dist/events/event-bus/local.d.ts +14 -0
- package/dist/events/event-bus/local.d.ts.map +1 -0
- package/dist/events/event-bus/types.d.ts +78 -0
- package/dist/events/event-bus/types.d.ts.map +1 -0
- package/dist/events/index.d.ts +10 -89
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +6 -1
- package/dist/events/signal/index.d.ts +18 -0
- package/dist/events/signal/index.d.ts.map +1 -0
- package/dist/events/signal/index.js +6 -0
- package/dist/events/signal/local.d.ts +22 -0
- package/dist/events/signal/local.d.ts.map +1 -0
- package/dist/events/signal/types.d.ts +69 -0
- package/dist/events/signal/types.d.ts.map +1 -0
- package/dist/execution/index.d.ts +33 -481
- package/dist/execution/index.d.ts.map +1 -0
- package/dist/execution/index.js +45 -19
- package/dist/execution/scope/index.d.ts +10 -0
- package/dist/execution/scope/index.d.ts.map +1 -0
- package/dist/execution/scope/index.js +12 -0
- package/dist/execution/scope/run.d.ts +8 -0
- package/dist/execution/scope/run.d.ts.map +1 -0
- package/dist/execution/scope/store.d.ts +6 -0
- package/dist/execution/scope/store.d.ts.map +1 -0
- package/dist/execution/scope/types.d.ts +28 -0
- package/dist/execution/scope/types.d.ts.map +1 -0
- package/dist/execution/shared/usage.d.ts +9 -0
- package/dist/execution/shared/usage.d.ts.map +1 -0
- package/dist/execution/task/index.d.ts +6 -0
- package/dist/execution/task/index.d.ts.map +1 -0
- package/dist/execution/task/observer.d.ts +80 -0
- package/dist/execution/task/observer.d.ts.map +1 -0
- package/dist/execution/task/runner.d.ts +39 -0
- package/dist/execution/task/runner.d.ts.map +1 -0
- package/dist/execution/task/types.d.ts +85 -0
- package/dist/execution/task/types.d.ts.map +1 -0
- package/dist/execution/turn/engine/commit-batch.d.ts +16 -0
- package/dist/execution/turn/engine/commit-batch.d.ts.map +1 -0
- package/dist/execution/turn/engine/engine.d.ts +32 -0
- package/dist/execution/turn/engine/engine.d.ts.map +1 -0
- package/dist/execution/turn/engine/index.d.ts +12 -0
- package/dist/execution/turn/engine/index.d.ts.map +1 -0
- package/dist/execution/turn/engine/types.d.ts +67 -0
- package/dist/execution/turn/engine/types.d.ts.map +1 -0
- package/dist/execution/turn/index.d.ts +18 -0
- package/dist/execution/turn/index.d.ts.map +1 -0
- package/dist/execution/turn/index.js +52 -0
- package/dist/execution/turn/runner/commit.d.ts +11 -0
- package/dist/execution/turn/runner/commit.d.ts.map +1 -0
- package/dist/execution/turn/runner/index.d.ts +16 -0
- package/dist/execution/turn/runner/index.d.ts.map +1 -0
- package/dist/execution/turn/runner/prepare.d.ts +6 -0
- package/dist/execution/turn/runner/prepare.d.ts.map +1 -0
- package/dist/execution/turn/runner/stream-step.d.ts +8 -0
- package/dist/execution/turn/runner/stream-step.d.ts.map +1 -0
- package/dist/execution/turn/runner/tool-batch.d.ts +13 -0
- package/dist/execution/turn/runner/tool-batch.d.ts.map +1 -0
- package/dist/execution/turn/runner/types.d.ts +111 -0
- package/dist/execution/turn/runner/types.d.ts.map +1 -0
- package/dist/execution/turn/state.d.ts +110 -0
- package/dist/execution/turn/state.d.ts.map +1 -0
- package/dist/execution/turn/step-ledger.d.ts +89 -0
- package/dist/execution/turn/step-ledger.d.ts.map +1 -0
- package/dist/execution/turn/step-processing/doom-loop.d.ts +28 -0
- package/dist/execution/turn/step-processing/doom-loop.d.ts.map +1 -0
- package/dist/execution/turn/step-processing/index.d.ts +14 -0
- package/dist/execution/turn/step-processing/index.d.ts.map +1 -0
- package/dist/execution/turn/step-processing/overflow.d.ts +17 -0
- package/dist/execution/turn/step-processing/overflow.d.ts.map +1 -0
- package/dist/execution/turn/step-processing/process.d.ts +7 -0
- package/dist/execution/turn/step-processing/process.d.ts.map +1 -0
- package/dist/execution/turn/step-processing/types.d.ts +65 -0
- package/dist/execution/turn/step-processing/types.d.ts.map +1 -0
- package/dist/execution/workflow/index.d.ts +12 -0
- package/dist/execution/workflow/index.d.ts.map +1 -0
- package/dist/execution/workflow/index.js +39 -0
- package/dist/execution/workflow/planner/apply.d.ts +30 -0
- package/dist/execution/workflow/planner/apply.d.ts.map +1 -0
- package/dist/execution/workflow/planner/helpers.d.ts +6 -0
- package/dist/execution/workflow/planner/helpers.d.ts.map +1 -0
- package/dist/execution/workflow/planner/index.d.ts +13 -0
- package/dist/execution/workflow/planner/index.d.ts.map +1 -0
- package/dist/execution/workflow/planner/plan.d.ts +7 -0
- package/dist/execution/workflow/planner/plan.d.ts.map +1 -0
- package/dist/execution/workflow/planner/types.d.ts +49 -0
- package/dist/execution/workflow/planner/types.d.ts.map +1 -0
- package/dist/execution/workflow/snapshot.d.ts +11 -0
- package/dist/execution/workflow/snapshot.d.ts.map +1 -0
- package/dist/execution/workflow/state.d.ts +161 -0
- package/dist/execution/workflow/state.d.ts.map +1 -0
- package/dist/human/controller.d.ts +24 -0
- package/dist/human/controller.d.ts.map +1 -0
- package/dist/human/handler.d.ts +15 -0
- package/dist/human/handler.d.ts.map +1 -0
- package/dist/human/index.d.ts +5 -0
- package/dist/human/index.d.ts.map +1 -0
- package/dist/human/tool.d.ts +17 -0
- package/dist/human/tool.d.ts.map +1 -0
- package/dist/human/types.d.ts +62 -0
- package/dist/human/types.d.ts.map +1 -0
- package/dist/index.d.ts +66 -567
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2482 -1846
- package/dist/inference/defaults.d.ts +8 -0
- package/dist/inference/defaults.d.ts.map +1 -0
- package/dist/inference/errors/classify.d.ts +5 -0
- package/dist/inference/errors/classify.d.ts.map +1 -0
- package/dist/inference/errors/extract.d.ts +3 -0
- package/dist/inference/errors/extract.d.ts.map +1 -0
- package/dist/inference/errors/index.d.ts +8 -11
- package/dist/inference/errors/index.d.ts.map +1 -0
- package/dist/inference/errors/llm-error.d.ts +14 -0
- package/dist/inference/errors/llm-error.d.ts.map +1 -0
- package/dist/inference/errors/types.d.ts +18 -0
- package/dist/inference/errors/types.d.ts.map +1 -0
- package/dist/inference/errors/utils.d.ts +5 -0
- package/dist/inference/errors/utils.d.ts.map +1 -0
- package/dist/inference/index.d.ts +17 -49
- package/dist/inference/index.d.ts.map +1 -0
- package/dist/inference/index.js +7 -7
- package/dist/inference/middleware-support.d.ts +14 -0
- package/dist/inference/middleware-support.d.ts.map +1 -0
- package/dist/{model-messages-n_ZMZwIm.d.ts → inference/model-messages.d.ts} +4 -6
- package/dist/inference/model-messages.d.ts.map +1 -0
- package/dist/inference/retry.d.ts +73 -0
- package/dist/inference/retry.d.ts.map +1 -0
- package/dist/inference/stream.d.ts +16 -0
- package/dist/inference/stream.d.ts.map +1 -0
- package/dist/inference/toolset.d.ts +26 -0
- package/dist/inference/toolset.d.ts.map +1 -0
- package/dist/inference/types.d.ts +129 -0
- package/dist/inference/types.d.ts.map +1 -0
- package/dist/intervention/follow-up-policy.d.ts +41 -0
- package/dist/intervention/follow-up-policy.d.ts.map +1 -0
- package/dist/intervention/index.d.ts +5 -0
- package/dist/intervention/index.d.ts.map +1 -0
- package/dist/intervention/intervention.d.ts +130 -0
- package/dist/intervention/intervention.d.ts.map +1 -0
- package/dist/intervention/types.d.ts +74 -0
- package/dist/intervention/types.d.ts.map +1 -0
- package/dist/logger/index.d.ts +5 -47
- package/dist/logger/index.d.ts.map +1 -0
- package/dist/logger/logger.d.ts +46 -0
- package/dist/logger/logger.d.ts.map +1 -0
- package/dist/{types-RSCv7nQ4.d.ts → logger/types.d.ts} +6 -7
- package/dist/logger/types.d.ts.map +1 -0
- package/dist/mcp/auth.d.ts +109 -0
- package/dist/mcp/auth.d.ts.map +1 -0
- package/dist/mcp/diagnostics.d.ts +23 -0
- package/dist/mcp/diagnostics.d.ts.map +1 -0
- package/dist/mcp/factories.d.ts +47 -0
- package/dist/mcp/factories.d.ts.map +1 -0
- package/dist/mcp/index.d.ts +14 -175
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/manager.d.ts +45 -0
- package/dist/mcp/manager.d.ts.map +1 -0
- package/dist/mcp/modules.d.ts +6 -0
- package/dist/mcp/modules.d.ts.map +1 -0
- package/dist/{types-DMjoFKKv.d.ts → mcp/types.d.ts} +18 -19
- package/dist/mcp/types.d.ts.map +1 -0
- package/dist/memory/config.d.ts +4 -0
- package/dist/memory/config.d.ts.map +1 -0
- package/dist/memory/format.d.ts +8 -0
- package/dist/memory/format.d.ts.map +1 -0
- package/dist/memory/index.d.ts +5 -0
- package/dist/memory/index.d.ts.map +1 -0
- package/dist/memory/index.js +14 -0
- package/dist/memory/middleware.d.ts +14 -0
- package/dist/memory/middleware.d.ts.map +1 -0
- package/dist/memory/types.d.ts +232 -0
- package/dist/memory/types.d.ts.map +1 -0
- package/dist/middleware/approval.d.ts +70 -0
- package/dist/middleware/approval.d.ts.map +1 -0
- package/dist/middleware/index.d.ts +24 -110
- package/dist/middleware/index.d.ts.map +1 -0
- package/dist/middleware/index.js +2 -2
- package/dist/middleware/prompt-cache/cache.d.ts +44 -0
- package/dist/middleware/prompt-cache/cache.d.ts.map +1 -0
- package/dist/middleware/prompt-cache/index.d.ts +14 -0
- package/dist/middleware/prompt-cache/index.d.ts.map +1 -0
- package/dist/middleware/prompt-cache/types.d.ts +50 -0
- package/dist/middleware/prompt-cache/types.d.ts.map +1 -0
- package/dist/middleware/runner.d.ts +100 -0
- package/dist/middleware/runner.d.ts.map +1 -0
- package/dist/middleware/telemetry/index.d.ts +12 -0
- package/dist/middleware/telemetry/index.d.ts.map +1 -0
- package/dist/middleware/telemetry/otel.d.ts +4 -0
- package/dist/middleware/telemetry/otel.d.ts.map +1 -0
- package/dist/middleware/telemetry/provider.d.ts +3 -0
- package/dist/middleware/telemetry/provider.d.ts.map +1 -0
- package/dist/middleware/telemetry/types.d.ts +150 -0
- package/dist/middleware/telemetry/types.d.ts.map +1 -0
- package/dist/middleware/types.d.ts +371 -0
- package/dist/middleware/types.d.ts.map +1 -0
- package/dist/models/cache/adapters.d.ts +4 -0
- package/dist/models/cache/adapters.d.ts.map +1 -0
- package/dist/models/cache/index.d.ts +5 -0
- package/dist/models/cache/index.d.ts.map +1 -0
- package/dist/models/cache/manager.d.ts +32 -0
- package/dist/models/cache/manager.d.ts.map +1 -0
- package/dist/models/cache/types.d.ts +17 -0
- package/dist/models/cache/types.d.ts.map +1 -0
- package/dist/models/capability-resolver.d.ts +104 -0
- package/dist/models/capability-resolver.d.ts.map +1 -0
- package/dist/models/identifiers.d.ts +23 -0
- package/dist/models/identifiers.d.ts.map +1 -0
- package/dist/models/index.d.ts +35 -256
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +1 -1
- package/dist/models/overrides.d.ts +10 -0
- package/dist/models/overrides.d.ts.map +1 -0
- package/dist/models/profiles.d.ts +38 -0
- package/dist/models/profiles.d.ts.map +1 -0
- package/dist/models/reasoning/config.d.ts +49 -0
- package/dist/models/reasoning/config.d.ts.map +1 -0
- package/dist/models/reasoning/index.d.ts +12 -4
- package/dist/models/reasoning/index.d.ts.map +1 -0
- package/dist/models/reasoning/index.js +1 -1
- package/dist/models/reasoning/providers.d.ts +63 -0
- package/dist/models/reasoning/providers.d.ts.map +1 -0
- package/dist/{types-CQaXbRsS.d.ts → models/reasoning/types.d.ts} +7 -8
- package/dist/models/reasoning/types.d.ts.map +1 -0
- package/dist/models/remote/fetcher.d.ts +13 -0
- package/dist/models/remote/fetcher.d.ts.map +1 -0
- package/dist/models/remote/index.d.ts +8 -0
- package/dist/models/remote/index.d.ts.map +1 -0
- package/dist/models/remote/network.d.ts +6 -0
- package/dist/models/remote/network.d.ts.map +1 -0
- package/dist/models/remote/source.d.ts +16 -0
- package/dist/models/remote/source.d.ts.map +1 -0
- package/dist/models/remote/transform.d.ts +4 -0
- package/dist/models/remote/transform.d.ts.map +1 -0
- package/dist/models/remote/types.d.ts +28 -0
- package/dist/models/remote/types.d.ts.map +1 -0
- package/dist/models/resolver.d.ts +26 -0
- package/dist/models/resolver.d.ts.map +1 -0
- package/dist/models/types.d.ts +137 -0
- package/dist/models/types.d.ts.map +1 -0
- package/dist/plugin/compatibility.d.ts +11 -0
- package/dist/plugin/compatibility.d.ts.map +1 -0
- package/dist/plugin/define.d.ts +77 -0
- package/dist/plugin/define.d.ts.map +1 -0
- package/dist/plugin/event-bus.d.ts +31 -0
- package/dist/plugin/event-bus.d.ts.map +1 -0
- package/dist/plugin/index.d.ts +9 -458
- package/dist/plugin/index.d.ts.map +1 -0
- package/dist/plugin/loader.d.ts +63 -0
- package/dist/plugin/loader.d.ts.map +1 -0
- package/dist/plugin/registry.d.ts +81 -0
- package/dist/plugin/registry.d.ts.map +1 -0
- package/dist/plugin/settings.d.ts +36 -0
- package/dist/plugin/settings.d.ts.map +1 -0
- package/dist/plugin/types.d.ts +168 -0
- package/dist/plugin/types.d.ts.map +1 -0
- package/dist/profiles/apply.d.ts +17 -0
- package/dist/profiles/apply.d.ts.map +1 -0
- package/dist/profiles/builtins.d.ts +18 -0
- package/dist/profiles/builtins.d.ts.map +1 -0
- package/dist/profiles/index.d.ts +12 -55
- package/dist/profiles/index.d.ts.map +1 -0
- package/dist/profiles/patterns.d.ts +12 -0
- package/dist/profiles/patterns.d.ts.map +1 -0
- package/dist/profiles/types.d.ts +48 -0
- package/dist/profiles/types.d.ts.map +1 -0
- package/dist/prompt/builder/builder.d.ts +27 -0
- package/dist/prompt/builder/builder.d.ts.map +1 -0
- package/dist/prompt/builder/index.d.ts +11 -0
- package/dist/prompt/builder/index.d.ts.map +1 -0
- package/dist/prompt/builder/priorities.d.ts +13 -0
- package/dist/prompt/builder/priorities.d.ts.map +1 -0
- package/dist/prompt/builder/sections.d.ts +30 -0
- package/dist/prompt/builder/sections.d.ts.map +1 -0
- package/dist/prompt/environment.d.ts +46 -0
- package/dist/prompt/environment.d.ts.map +1 -0
- package/dist/prompt/index.d.ts +31 -220
- package/dist/prompt/index.d.ts.map +1 -0
- package/dist/prompt/index.js +3 -1
- package/dist/prompt/instructions.d.ts +104 -0
- package/dist/prompt/instructions.d.ts.map +1 -0
- package/dist/prompt/templates.d.ts +56 -0
- package/dist/prompt/templates.d.ts.map +1 -0
- package/dist/prompt/types.d.ts +218 -0
- package/dist/prompt/types.d.ts.map +1 -0
- package/dist/safety/errors.d.ts +18 -0
- package/dist/safety/errors.d.ts.map +1 -0
- package/dist/safety/handler.d.ts +16 -0
- package/dist/safety/handler.d.ts.map +1 -0
- package/dist/safety/index.d.ts +11 -133
- package/dist/safety/index.d.ts.map +1 -0
- package/dist/safety/patterns.d.ts +17 -0
- package/dist/safety/patterns.d.ts.map +1 -0
- package/dist/safety/policy.d.ts +31 -0
- package/dist/safety/policy.d.ts.map +1 -0
- package/dist/safety/presets.d.ts +43 -0
- package/dist/safety/presets.d.ts.map +1 -0
- package/dist/safety/risk.d.ts +14 -0
- package/dist/safety/risk.d.ts.map +1 -0
- package/dist/safety/types.d.ts +165 -0
- package/dist/safety/types.d.ts.map +1 -0
- package/dist/sandbox/index.d.ts +2 -81
- package/dist/sandbox/index.d.ts.map +1 -0
- package/dist/sandbox/types.d.ts +79 -0
- package/dist/sandbox/types.d.ts.map +1 -0
- package/dist/skill/discovery/constants.d.ts +6 -0
- package/dist/skill/discovery/constants.d.ts.map +1 -0
- package/dist/skill/discovery/dedupe.d.ts +3 -0
- package/dist/skill/discovery/dedupe.d.ts.map +1 -0
- package/dist/skill/discovery/discover.d.ts +3 -0
- package/dist/skill/discovery/discover.d.ts.map +1 -0
- package/dist/skill/discovery/fs.d.ts +4 -0
- package/dist/skill/discovery/fs.d.ts.map +1 -0
- package/dist/skill/discovery/index.d.ts +6 -0
- package/dist/skill/discovery/index.d.ts.map +1 -0
- package/dist/skill/discovery/scan.d.ts +3 -0
- package/dist/skill/discovery/scan.d.ts.map +1 -0
- package/dist/skill/discovery/types.d.ts +15 -0
- package/dist/skill/discovery/types.d.ts.map +1 -0
- package/dist/skill/index.d.ts +67 -89
- package/dist/skill/index.d.ts.map +1 -0
- package/dist/skill/index.js +2 -2
- package/dist/skill/loader/constants.d.ts +5 -0
- package/dist/skill/loader/constants.d.ts.map +1 -0
- package/dist/skill/loader/frontmatter.d.ts +5 -0
- package/dist/skill/loader/frontmatter.d.ts.map +1 -0
- package/dist/skill/loader/index.d.ts +8 -0
- package/dist/skill/loader/index.d.ts.map +1 -0
- package/dist/skill/loader/metadata.d.ts +3 -0
- package/dist/skill/loader/metadata.d.ts.map +1 -0
- package/dist/skill/loader/resources.d.ts +5 -0
- package/dist/skill/loader/resources.d.ts.map +1 -0
- package/dist/skill/registry.d.ts +177 -0
- package/dist/skill/registry.d.ts.map +1 -0
- package/dist/skill/tools.d.ts +77 -0
- package/dist/skill/tools.d.ts.map +1 -0
- package/dist/skill/types.d.ts +291 -0
- package/dist/skill/types.d.ts.map +1 -0
- package/dist/storage/file/helpers.d.ts +16 -0
- package/dist/storage/file/helpers.d.ts.map +1 -0
- package/dist/storage/file/index.d.ts +6 -0
- package/dist/storage/file/index.d.ts.map +1 -0
- package/dist/storage/file/storage.d.ts +29 -0
- package/dist/storage/file/storage.d.ts.map +1 -0
- package/dist/storage/file/types.d.ts +6 -0
- package/dist/storage/file/types.d.ts.map +1 -0
- package/dist/storage/index.d.ts +11 -188
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +2 -1
- package/dist/storage/lock.d.ts +18 -0
- package/dist/storage/lock.d.ts.map +1 -0
- package/dist/storage/manager/default.d.ts +11 -0
- package/dist/storage/manager/default.d.ts.map +1 -0
- package/dist/storage/manager/index.d.ts +12 -0
- package/dist/storage/manager/index.d.ts.map +1 -0
- package/dist/storage/manager/session-manager.d.ts +57 -0
- package/dist/storage/manager/session-manager.d.ts.map +1 -0
- package/dist/storage/manager/types.d.ts +42 -0
- package/dist/storage/manager/types.d.ts.map +1 -0
- package/dist/storage/memory.d.ts +22 -0
- package/dist/storage/memory.d.ts.map +1 -0
- package/dist/storage/paths.d.ts +37 -0
- package/dist/storage/paths.d.ts.map +1 -0
- package/dist/storage/types.d.ts +205 -0
- package/dist/storage/types.d.ts.map +1 -0
- package/dist/storage/utils.d.ts +77 -0
- package/dist/storage/utils.d.ts.map +1 -0
- package/dist/subagents/index.d.ts +8 -179
- package/dist/subagents/index.d.ts.map +1 -0
- package/dist/subagents/index.js +5 -4
- package/dist/subagents/installation.d.ts +23 -0
- package/dist/subagents/installation.d.ts.map +1 -0
- package/dist/subagents/results.d.ts +15 -0
- package/dist/subagents/results.d.ts.map +1 -0
- package/dist/subagents/roles/discovery.d.ts +38 -0
- package/dist/subagents/roles/discovery.d.ts.map +1 -0
- package/dist/subagents/roles/index.d.ts +5 -0
- package/dist/subagents/roles/index.d.ts.map +1 -0
- package/dist/subagents/roles/markdown-profile.d.ts +61 -0
- package/dist/subagents/roles/markdown-profile.d.ts.map +1 -0
- package/dist/subagents/tool-factories.d.ts +11 -0
- package/dist/subagents/tool-factories.d.ts.map +1 -0
- package/dist/subagents/tools.d.ts +13 -0
- package/dist/subagents/tools.d.ts.map +1 -0
- package/dist/subagents/types.d.ts +21 -0
- package/dist/subagents/types.d.ts.map +1 -0
- package/dist/team/coordinator/coordinator.d.ts +342 -0
- package/dist/team/coordinator/coordinator.d.ts.map +1 -0
- package/dist/team/coordinator/inbox.d.ts +99 -0
- package/dist/team/coordinator/inbox.d.ts.map +1 -0
- package/dist/team/coordinator/index.d.ts +19 -0
- package/dist/team/coordinator/index.d.ts.map +1 -0
- package/dist/team/coordinator/planning.d.ts +33 -0
- package/dist/team/coordinator/planning.d.ts.map +1 -0
- package/dist/team/coordinator/policy.d.ts +31 -0
- package/dist/team/coordinator/policy.d.ts.map +1 -0
- package/dist/team/coordinator/round-engine.d.ts +25 -0
- package/dist/team/coordinator/round-engine.d.ts.map +1 -0
- package/dist/team/coordinator/synthesis.d.ts +20 -0
- package/dist/team/coordinator/synthesis.d.ts.map +1 -0
- package/dist/team/coordinator/turn.d.ts +107 -0
- package/dist/team/coordinator/turn.d.ts.map +1 -0
- package/dist/team/coordinator/types.d.ts +344 -0
- package/dist/team/coordinator/types.d.ts.map +1 -0
- package/dist/team/events.d.ts +148 -0
- package/dist/team/events.d.ts.map +1 -0
- package/dist/team/execution.d.ts +51 -0
- package/dist/team/execution.d.ts.map +1 -0
- package/dist/team/index.d.ts +23 -545
- package/dist/team/index.d.ts.map +1 -0
- package/dist/team/index.js +2 -2
- package/dist/team/mailbox.d.ts +91 -0
- package/dist/team/mailbox.d.ts.map +1 -0
- package/dist/team/notifications.d.ts +23 -0
- package/dist/team/notifications.d.ts.map +1 -0
- package/dist/team/permissions.d.ts +88 -0
- package/dist/team/permissions.d.ts.map +1 -0
- package/dist/team/shutdown.d.ts +38 -0
- package/dist/team/shutdown.d.ts.map +1 -0
- package/dist/team/task-board.d.ts +161 -0
- package/dist/team/task-board.d.ts.map +1 -0
- package/dist/team/types.d.ts +233 -0
- package/dist/team/types.d.ts.map +1 -0
- package/dist/team/work-loop.d.ts +30 -0
- package/dist/team/work-loop.d.ts.map +1 -0
- package/dist/tool/executor.d.ts +59 -0
- package/dist/tool/executor.d.ts.map +1 -0
- package/dist/tool/host/index.d.ts +7 -38
- package/dist/tool/host/index.d.ts.map +1 -0
- package/dist/tool/host/local.d.ts +15 -0
- package/dist/tool/host/local.d.ts.map +1 -0
- package/dist/tool/host/registry.d.ts +17 -0
- package/dist/tool/host/registry.d.ts.map +1 -0
- package/dist/{types-C_LCeYNg.d.ts → tool/host/types.d.ts} +6 -7
- package/dist/tool/host/types.d.ts.map +1 -0
- package/dist/tool/index.d.ts +21 -285
- package/dist/tool/index.d.ts.map +1 -0
- package/dist/tool/index.js +4 -3
- package/dist/tool/registry.d.ts +130 -0
- package/dist/tool/registry.d.ts.map +1 -0
- package/dist/tool/replay.d.ts +11 -0
- package/dist/tool/replay.d.ts.map +1 -0
- package/dist/tool/tool-search.d.ts +50 -0
- package/dist/tool/tool-search.d.ts.map +1 -0
- package/dist/tool/tool.d.ts +308 -0
- package/dist/tool/tool.d.ts.map +1 -0
- package/dist/tool/truncation.d.ts +34 -0
- package/dist/tool/truncation.d.ts.map +1 -0
- package/dist/tool/turn-tools.d.ts +71 -0
- package/dist/tool/turn-tools.d.ts.map +1 -0
- package/dist/tracking/file-tracking.d.ts +25 -0
- package/dist/tracking/file-tracking.d.ts.map +1 -0
- package/dist/tracking/index.d.ts +9 -0
- package/dist/tracking/index.d.ts.map +1 -0
- package/dist/tracking/turn-tracker/diff.d.ts +11 -0
- package/dist/tracking/turn-tracker/diff.d.ts.map +1 -0
- package/dist/tracking/turn-tracker/index.d.ts +11 -0
- package/dist/tracking/turn-tracker/index.d.ts.map +1 -0
- package/dist/tracking/turn-tracker/tracker.d.ts +31 -0
- package/dist/tracking/turn-tracker/tracker.d.ts.map +1 -0
- package/dist/tracking/turn-tracker/types.d.ts +66 -0
- package/dist/tracking/turn-tracker/types.d.ts.map +1 -0
- package/dist/types/compaction.d.ts +142 -0
- package/dist/types/compaction.d.ts.map +1 -0
- package/dist/types/doom-loop.d.ts +25 -0
- package/dist/types/doom-loop.d.ts.map +1 -0
- package/dist/types/events.d.ts +194 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/messages.d.ts +119 -0
- package/dist/types/messages.d.ts.map +1 -0
- package/dist/types/stream.d.ts +172 -0
- package/dist/types/stream.d.ts.map +1 -0
- package/dist/types/tool.d.ts +309 -0
- package/dist/types/tool.d.ts.map +1 -0
- package/dist/types/turn-source.d.ts +36 -0
- package/dist/types/turn-source.d.ts.map +1 -0
- package/dist/utils/sleep.d.ts +7 -0
- package/dist/utils/sleep.d.ts.map +1 -0
- package/package.json +45 -8
- package/dist/chunk-CJI7PVS2.js +0 -58
- package/dist/chunk-V6ETEYST.js +0 -2091
- package/dist/index-BCqEGzBj.d.ts +0 -251
- package/dist/instance-Bg61WSyz.d.ts +0 -6004
- package/dist/llm-error-D93FNNLY.d.ts +0 -32
- package/dist/turn-tools/index.d.ts +0 -12
- package/dist/turn-tools/index.js +0 -1
- package/dist/{chunk-O2WCYSXQ.js → chunk-3NBTQHVV.js} +0 -0
- package/dist/{chunk-Q742PSH3.js → chunk-MJML3A2F.js} +36 -36
package/dist/index.d.ts
CHANGED
|
@@ -1,568 +1,67 @@
|
|
|
1
|
-
import { H as HumanInputController, p as HumanInputConfig, T as Tool, M as Message, S as SessionManager, E as EffectiveAgentConfig, q as TurnChangeTracker, r as InterventionController, b as MiddlewareRunner, P as PromptBuilder, t as AgentTurnToolProvider, c as ToolExecutionMode, A as AgentEvent, u as StreamProvider, v as Scope, x as ScopeSnapshot, y as ScopeOptions, F as FileOperationMeta, z as AgentSignal, B as TypedHandler, U as Unsubscribe, W as WildcardHandler } from './instance-Bg61WSyz.js';
|
|
2
|
-
export { C as Agent, G as AgentConfig, J as AgentDefaults, K as AgentDefaultsContext, L as AgentDefaultsProvider, N as AgentMiddleware, O as AgentModelHooks, Q as AgentStatus, V as AgentTurnActiveToolCall, X as AgentTurnBoundaryKind, Y as AgentTurnBoundaryMetadata, Z as AgentTurnBoundarySnapshot, _ as AgentTurnCommitApplier, $ as AgentTurnCommitBatch, a0 as AgentTurnCommitOptions, a1 as AgentTurnEngine, a2 as AgentTurnEngineOptions, a3 as AgentTurnPhase, a4 as AgentTurnResolvedToolCall, a5 as AgentTurnSource, a6 as AgentTurnSourceChatOptions, a7 as AgentTurnState, a8 as AgentTurnStateAdvanceOptions, a9 as AgentTurnStepCommitSnapshot, aa as AgentTurnStepCommitToolCall, ab as AgentTurnStepCommitToolResult, ac as AgentTurnStepRuntimeConfig, ad as AgentTurnToolContext, ae as AgentTurnToolProviderResult, e as AnyInferenceResult, af as AppliedProfile, ag as ApprovalAction, ah as ApprovalAgentMiddleware, ai as ApprovalCascadeMode, aj as ApprovalCascadePolicy, ak as ApprovalConfig, al as ApprovalCorrection, am as ApprovalDecision, an as ApprovalEvaluation, ao as ApprovalEvent, ap as ApprovalEventContext, aq as ApprovalHandler, ar as ApprovalLifecycleEvent, as as ApprovalMiddlewareConfig, at as ApprovalRememberScope, au as ApprovalRequest, av as ApprovalResolution, aw as ApprovalRule, ax as ApprovalRuleContext, ay as AssistantMessage, az as BlockedModelCall, aA as BranchEntry, aB as ChatLifecycleContext, aC as CommitOutputOptions, aD as CommitStepOptions, aE as CompactionConfig, aF as CompactionEntry, aG as CompatibleSchema, aH as ConfigChangeEntry, aI as CoordinatorNotification, aJ as CoordinatorNotificationKind, aK as CoordinatorRoundEvent, aL as CreateAgentTurnStateOptions, aM as CreateAgentTurnStepCommitBatchOptions, aN as CreateSessionOptions, aO as DEFAULT_AGENT_NAME, aP as DEFAULT_DISPATCH_TOOL_IDS, aQ as DEFAULT_LOCAL_DISPATCH_CONCURRENCY, aR as DEFAULT_LOCAL_DISPATCH_DEPTH, aS as DEFAULT_LOCAL_DISPATCH_TITLE_PREFIX, D as DEFAULT_MAX_OUTPUT_TOKENS, aT as DEFAULT_MAX_STEPS, D as DEFAULT_MAX_TOKENS, f as DEFAULT_RETRY_CONFIG, aU as DEFAULT_SYSTEM_PROMPT, aV as DISPATCH_STATES, aW as DispatchCheckOptions, aX as DispatchListOptions, aY as DispatchRecord, aZ as DispatchResult, a_ as DispatchRole, a$ as DispatchRuntime, b0 as DispatchStartInput, b1 as DispatchState, b2 as DispatchTarget, b3 as DispatchTargetInspection, b4 as DispatchTargetStartInput, b5 as DispatchTargetStartResult, b6 as DispatchTargetSummary, b7 as DispatchUsage, b8 as DoomLoopAction, b9 as DoomLoopHandler, ba as DoomLoopRequest, bb as EnhancedTools, bc as EntryBase, bd as EnvironmentInfo, be as ExternalTaskControl, bf as FileEntry, bg as GuidancePayload, bh as HistoryAccessor, bi as HumanInputEventContext, bj as HumanInputOption, bk as HumanInputRequest, bl as HumanInputRequestKind, bm as HumanInputRequestListOptions, bn as HumanInputRequestRecord, bo as HumanInputRequestStatus, bp as HumanInputResponse, bq as HumanInputTimeoutError, br as HumanInputToolArgs, bs as HumanInputUnavailableError, bt as IdleNotificationPayload, bu as InMemoryMailboxStore, bv as InMemoryTaskBoardStore, bw as InferSchemaOutput, g as InferenceCustomResult, h as InferenceStepInfo, I as InferenceStreamInput, i as InferenceStreamResult, bx as InputCheckResult, by as InstructionFile, bz as LocalDispatchRuntimeOptions, bA as LocalSessionTurnLock, bB as Mailbox, bC as MailboxStore, bD as MailboxSubscriber, bE as MemberRegisteredEvent, bF as MemberRuntime, bG as MemberStats, bH as MemberStatus, bI as MemberStatusChangedEvent, bJ as MessageBase, bK as MessageEntry, bL as MessageError, bM as MessageInput, bN as MessageKind, bO as MessageListFilter, bP as MessagePayload, bQ as MessageRole, bR as MessageSentEvent, bS as MetadataEntry, d as ModelCallContext, bT as ModelCallInput, bU as ModelCallOutput, bV as ModelFamily, bW as NormalizedToolReplayPolicy, bX as NotificationPriority, bY as OnFollowUpQueued, bZ as OnInterventionApplied, b_ as OtelMiddlewareConfig, b$ as PRUNE_PROTECTED_TOOLS, c0 as PendingIntervention, c1 as PermissionForwardedEvent, c2 as PermissionHandler, c3 as PermissionRequestPayload, c4 as PermissionResolvedEvent, c5 as PermissionResponsePayload, c6 as PlanCreatedEvent, c7 as PlannedTask, c8 as PrepareModelStepOptions, c9 as PreparedAgentModelStep, ca as PreparedExternalTask, cb as Profile, cc as PromptBuildContext, cd as PromptConfig, ce as PromptSection, cf as QueueTaskInput, cg as RecentMessagesOptions, ch as ReleaseSessionTurnLock, ci as RemoteSkillEntry, cj as RemoteSkillIndex, R as RetryConfig, j as RetryHandlerOptions, k as RetryState, ck as RiskLevel, cl as RuleSource, cm as RunModelStepOptions, cn as RunToolBatchOptions, co as RunToolBatchResult, cp as STORAGE_VERSION, cq as SerializedMessage, cr as Session, cs as SessionContext, ct as SessionEntry, cu as SessionHeader, cv as SessionInfo, cw as SessionStorage, cx as SessionTurnLock, cy as SessionTurnLockAcquireOptions, cz as ShutdownRequestPayload, cA as ShutdownRequestedEvent, cB as ShutdownResolvedEvent, cC as ShutdownResponsePayload, cD as SkillConfig, cE as SkillContent, cF as SkillDiscoveryError, cG as SkillDiscoveryResult, cH as SkillMetadata, cI as SkillRegistry, cJ as SkillResource, cK as SkillResourceType, cL as SkillScope, cM as SkillSource, cN as SkillSourceType, cO as StepProcessingOptions, cP as StepProcessingOutput, cQ as StepProcessingResult, cR as StreamChunk, cS as StreamInput, cT as StreamProviderConfig, cU as StreamProviderFactory, cV as StreamProviderInput, cW as StreamProviderResult, cX as SynthesisCompleteEvent, cY as SynthesisResult, cZ as SystemMessage, c_ as TERMINAL_STATUSES, c$ as TaskAbortedEvent, d0 as TaskBoard, d1 as TaskBoardStore, d2 as TaskCompletedEvent, d3 as TaskCompletion, d4 as TaskConflictError, d5 as TaskCreateInput, d6 as TaskCreatedEvent, d7 as TaskDispatchMode, d8 as TaskExecutor, d9 as TaskExecutorInput, da as TaskFailedEvent, db as TaskListFilter, dc as TaskResult, dd as TaskStatus, de as TaskTransition, df as TaskTransitionEvent, dg as TaskTransitionReason, dh as TeamCoordinatorConfig, di as TeamEvent, dj as TeamMember, dk as TeamMessage, dl as TeamNotificationEvent, dm as TeamPlan, dn as TeamSnapshot, dp as TeamStartedEvent, dq as TeamStoppedEvent, dr as TeamTask, ds as TelemetryConfig, dt as TelemetryConfigResult, du as TokenUsage, dv as ToolCallDecision, dw as ToolCallOutput, dx as ToolCapabilities, dy as ToolContext, dz as ToolHostRequirements, dA as ToolMessage, dB as ToolMetadata, dC as ToolReplayMode, dD as ToolReplayPolicy, dE as ToolResult, dF as ToolSideEffectLevel, dG as TracingConfig, a as TurnTrackerContext, dH as UndoResult, dI as UserMessage, dJ as WorkerReportPayload, dK as accumulateUsage, dL as advanceAgentTurnState, dM as approvalMiddleware, dN as buildCoordinatorNotificationEvent, l as calculateDelay, dO as createAgent, dP as createAgentTurnEngine, dQ as createAgentTurnState, dR as createApprovalHandler, dS as createHumanInputController, dT as createPromptBuilder, m as createRetryHandler, n as createRetryState, dU as createSkillRegistry, dV as createTurnTracker, dW as emptySkillRegistry, dX as failAgentTurnState, dY as getRequiredToolHost, dZ as isApprovalMiddleware, d_ as isBlockedModelCall, d$ as isHumanInputController, e0 as requiresToolHost, e1 as resolveAgentDefaults, e2 as resolveCapability, e3 as sandboxDefaultsProvider, s as shouldRetry, w as withRetry } from './instance-Bg61WSyz.js';
|
|
3
|
-
import { LanguageModel, ModelMessage, Tool as Tool$1, TelemetryOptions } from 'ai';
|
|
4
|
-
import { T as ToolHost } from './types-C_LCeYNg.js';
|
|
5
|
-
export { D as DirEntry, E as ExecOptions, a as ExecResult, F as FileStat } from './types-C_LCeYNg.js';
|
|
6
|
-
import { L as Logger } from './types-RSCv7nQ4.js';
|
|
7
|
-
export { C as ConsoleLoggerOptions, F as FileLoggerOptions, a as LogLevel, b as LogMeta } from './types-RSCv7nQ4.js';
|
|
8
|
-
import { R as ReasoningLevel } from './types-CQaXbRsS.js';
|
|
9
|
-
export { E as EXTENDED_LEVELS, F as FIXED_LEVELS, a as ReasoningConfig, S as STANDARD_LEVELS, s as shouldIncludeReasoningSummary } from './types-CQaXbRsS.js';
|
|
10
|
-
export { ExecuteAgentToolCallOptions, ExecuteAgentToolCallResult, MAX_BYTES, MAX_LINES, ToolRegistry, ToolSearchOptions, ToolSpec, TruncateResult, createToolSearchTool, defaultRegistry, executeAgentToolCall, normalizeToolReplayPolicy, truncateOutput } from './tool/index.js';
|
|
11
|
-
export { ToolHostProvider, ToolHostProviderSummary, ToolHostRegistry, defaultToolHostRegistry, localHost } from './tool/host/index.js';
|
|
12
|
-
export { AdapterSettings, CacheCapabilitySource, CapabilityCache, CapabilityOverrides, Directory, EngineSpec, ModelCapabilityResolver, ModelSpec, NetworkStatus, PatternCapabilitySource, RemoteCapabilityFetcher, RemoteCapabilitySource, ResolutionResult, Resolver, applyCapabilityOverride, configureResolver, createResolver, extractModelId, extractProvider, findCapabilityOverride, getDefaultResolver, getModelId, getNetworkStatus, getProviderCompatibility, getProviderId, inferContextWindow, inferProvider, likelySupportsReasoning } from './models/index.js';
|
|
13
|
-
export { C as CapabilitySource, D as DEFAULT_RESOLVER_OPTIONS, I as InputModality, M as ModelCapabilities, a as ModelEntry, O as OutputModality, P as ProviderCompatibility, R as ResolverOptions, S as SourcePriority, b as SourceResult, c as buildAnthropicOptions, d as buildBedrockOptions, e as buildGoogleOptions, f as buildGroqOptions, g as buildOpenAIOptions, h as buildOpenRouterOptions, i as buildReasoningOptions, j as buildReasoningOptionsSync, k as buildXAIOptions, l as getProviderOptionsKey, m as getReasoningConfig, n as getReasoningConfigSync, s as supportsReasoning, o as supportsReasoningSync } from './index-BCqEGzBj.js';
|
|
14
|
-
export { H as HttpTransportConfig, M as MCPConfig, a as MCPManager, b as MCPPromptInfo, c as MCPResourceInfo, d as MCPResourceTemplateInfo, e as MCPServerConfig, f as MCPServerStatus, R as RemoteTransportConfig, S as SseTransportConfig, g as StdioTransportConfig } from './types-DMjoFKKv.js';
|
|
15
|
-
export { ClientCredentialsOptions, ClientCredentialsProvider, DiagnosticFetchOptions, ServiceAccountServerConfig, ServiceAccountServerOptions, createDiagnosticFetch, createMCPManager, httpServer, serviceAccountServer, sseServer, stdioServer } from './mcp/index.js';
|
|
16
|
-
export { AgentTaskChatAdapter, AgentTaskCheckpointReason, AgentTaskCheckpointStrategy, AgentTaskCheckpointStrategyInput, AgentTaskExecutionCheckpoint, AgentTaskExecutionContext, AgentTaskExecutionRun, AgentTaskExecutionSnapshot, AgentTaskObserver, AgentTaskPayload, AgentTaskResult, AgentTaskResumeSnapshot, AgentTaskRunner, AgentTaskRunnerOptions, AgentWorkflowAssistantMessageSnapshot, AgentWorkflowCommitResult, AgentWorkflowInputCommitPlan, AgentWorkflowInterventionSnapshot, AgentWorkflowMessageSnapshot, AgentWorkflowModelStepPlan, AgentWorkflowModelStepResult, AgentWorkflowOperationPlan, AgentWorkflowOutputCommitPlan, AgentWorkflowReplayDecision, AgentWorkflowStepCommitPlan, AgentWorkflowSystemMessageSnapshot, AgentWorkflowToolBatchPlan, AgentWorkflowToolBatchResult, AgentWorkflowToolCallPlan, AgentWorkflowToolCallResult, AgentWorkflowToolCallSnapshot, AgentWorkflowToolMessageSnapshot, AgentWorkflowTurnPhase, AgentWorkflowTurnState, AgentWorkflowUserMessageSnapshot, ContextOverflowError, CreateAgentWorkflowTurnStateOptions, DoomLoopError, applyAgentWorkflowCommitResult, applyAgentWorkflowModelStepResult, applyAgentWorkflowToolBatchResult, applyAgentWorkflowToolCallResult, applyWorkflowInterventions, cloneAgentWorkflowTurnState, commitOutput, commitStep, createAgentTaskRunner, createAgentTurnStepCommitBatch, createAgentWorkflowTurnState, defaultAgentTaskCheckpointStrategy, drainWorkflowInterventions, failAgentWorkflowTurnState, planNextAgentWorkflowOperation, prepareModelStep, processStepStream, queueWorkflowFollowUps, recordAgentWorkflowReplayDecision, restoreAgentWorkflowMessage, restoreAgentWorkflowMessages, runModelStep, runToolBatch, snapshotAgentWorkflowMessage, snapshotAgentWorkflowMessages } from './execution/index.js';
|
|
17
|
-
export { c as convertAgentMessagesToModelMessages } from './model-messages-n_ZMZwIm.js';
|
|
18
|
-
export { CacheTTL, PromptCacheConfig, createTelemetryConfig, otelMiddleware, promptCacheMiddleware } from './middleware/index.js';
|
|
19
|
-
export { DEFAULT_INSTRUCTION_PATTERNS, DEFAULT_MAX_DEPTH, DEFAULT_MAX_FILE_SIZE, PRIORITY_BASE, PRIORITY_CUSTOM, PRIORITY_ENVIRONMENT, PRIORITY_INSTRUCTIONS, PRIORITY_OVERRIDE, PRIORITY_SKILLS, detectModelFamily, discoverInstructions, formatEnvironment, formatInstructions, gatherEnvironment, getAvailableFamilies, getTemplate, loadGlobalInstructions, summarizeEnvironment } from './prompt/index.js';
|
|
20
|
-
export { Profiles, applyProfile, careful, code, createProfile, explore, filterTools, mergeProfiles, plan, quick, review, watch } from './profiles/index.js';
|
|
21
|
-
export { SandboxPreview, SandboxProvider, SandboxSession, SandboxSessionMetadata, SandboxSnapshotResult } from './sandbox/index.js';
|
|
22
|
-
export { Inference, buildModelCallContext, buildToolSet, stream, streamOnce, streamStep } from './inference/index.js';
|
|
23
|
-
export { BuildRecentMessagesOptions, FileStorage, FileStorageOptions, MemoryStorage, buildEntryPath, buildMessagesFromEntries, buildRecentMessagesFromEntries, buildRecentMessagesFromEntryMap, configureDefaultSessionManager, createMessageEntry, createMetadataEntry, deserializeMessage, extractSessionInfo, generateEntryId, getDataDir, getDefaultSessionManager, getGitRootHash, getLeafId, getProjectId, getProjectSessionsDir, getSessionsDir, parseJSONL, serializeMessage, toJSONL, toJSONLBatch } from './storage/index.js';
|
|
24
|
-
export { ApprovalDeniedError, ApprovalPolicyPresetName, ApprovalPolicyPresetOptions, ApprovalRuleCondition, ApprovalTimeoutError, RiskTierApprovalPolicyOptions, ThresholdApprovalRuleOptions, TrustedSessionApprovalPolicyOptions, allApprovalConditions, anyApprovalConditions, approvalRequestsOverlap, buildApprovalRuleContext, createApprovalCorrection, createApprovalPolicyPreset, createConditionalApprovalRule, createDangerouslyAllowAllApprovalPolicy, createHeadlessDenyApprovalPolicy, createInteractiveApprovalPolicy, createRememberedApprovalRules, createRiskTierApprovalPolicy, createThresholdApprovalRule, createTrustedSessionApprovalPolicy, describeApprovalOperation, extractApprovalPatterns, formatApprovalDeniedReason, getToolRisk, matchApprovalArgValue, matchApprovalNumericArg, matchApprovalPattern, matchApprovalRisks, matchApprovalSessions, matchApprovalStringPrefixes, normalizeApprovalCascadePolicy, normalizeRememberScopes, selectRememberScope, shouldCascadeApprovalDecision } from './safety/index.js';
|
|
25
|
-
export { E as ErrorCategory, L as LLMError, a as LLMErrorOptions, R as ResponseHeaders } from './llm-error-D93FNNLY.js';
|
|
26
|
-
export { getErrorCategory, getRetryDelay, isRetryable, isRetryableCategory, parseRetryDelay } from './inference/errors/index.js';
|
|
27
|
-
export { DEFAULT_EXTERNAL_DIRS, DEFAULT_MAX_SCAN_DEPTH, DEFAULT_SKILL_MAX_SIZE, SKILL_FILENAME, createSkillResourceTool, createSkillTool, createSkillTools, discoverSkills, inferResourceType, loadResourceContent, loadSkillContent, loadSkillMetadata, parseFrontmatter } from './skill/index.js';
|
|
28
|
-
export { CompositeDispatchTaskExecutorOptions, DispatchExternalTaskControlOptions, DispatchTaskExecutorOptions, DispatchTaskExecutorRoute, RuntimeDispatchExecutorOptions, RuntimeDispatchTargetOptions, createCompositeDispatchTaskExecutor, createDispatchExternalTaskControl, createDispatchTaskExecutor, createDispatchTools, createLocalDispatchRuntime, createRuntimeDispatchExecutor, createRuntimeDispatchTargets, ensureNonEmpty, mergeInspection } from './dispatch/index.js';
|
|
29
|
-
export { DEFAULT_SUBAGENT_CONCURRENCY, DEFAULT_SUBAGENT_DEPTH, DEFAULT_SUBAGENT_SESSION_PREFIX, DiscoveredSubAgentRole, LOCAL_SUBAGENT_BACKEND, MarkdownSubAgentRole, MarkdownSubAgentRoleFrontmatter, ParsedMarkdownSubAgentRole, ParsedSubAgentToolSpec, SUBAGENT_TOOL_IDS, SubAgentCompletedResult, SubAgentConfig, SubAgentRole, SubAgentRoleDiscoveryOptions, SubAgentRoleDiscoveryResult, SubAgentRoleResolvers, SubAgentRoleSource, SubAgentToolModifier, SubAgentToolsOptions, clearInstalledSubAgents, configureSubAgents, createCloseAgentTool, createInvokeAgentTool, createSubAgentTools, createWaitAgentTool, discoverSubAgentRoles, formatAsyncSpawnedResult, formatCancelledAgentResult, formatCloseAlreadyResolvedResult, formatCloseMissingAgentResult, formatInvalidAgentTypeResult, formatMissingAgentsResult, formatSpawnBlockedResult, formatSyncSubAgentErrorResult, formatSyncSubAgentResult, formatWaitErrorResult, formatWaitResult, formatWaitTimeoutResult, getConfiguredSubAgents, getInstalledSubAgentBackend, getProjectSubAgentRolesDir, getUserSubAgentRolesDir, installLocalSubAgents, installSubAgentTools, isMarkdownSubAgentRole, parseMarkdownSubAgentRole, parseSubAgentRoleFrontmatter, parseSubAgentToolSpec, toSubAgentRole } from './subagents/index.js';
|
|
30
|
-
export { DefinePluginInit, DiscoveredPlugin, LayeredSettings, NullSettings, PluginActivateContext, PluginCapabilityTag, PluginCommand, PluginCommandMetadata, PluginCompatibility, PluginContext, PluginContributions, PluginDefinition, PluginEventBus, PluginEventBusAPI, PluginEventHandler, PluginInit, PluginLifecycleHooks, PluginLoaderOptions, PluginManifest, PluginRegistry, PluginRegistryCompatibilityOptions, PluginRegistryOptions, PluginRegistryTimeoutOptions, PluginSessionContext, PluginSettingsDefinition, PluginSettingsProvider, PluginSettingsSchema, PluginSurfaceContract, PluginUnsubscribe, StaticSettings, ValidatedSettings, definePlugin, discoverPlugins, getPluginLoader, isDefinedPlugin, loadPluginModule, resetFrameworkAliases, resetPluginLoader, resolveFrameworkAliases } from './plugin/index.js';
|
|
31
|
-
export { EventBus, EventBusMessage, EventBusOptions, EventBusSubscribeOptions, EventBusSubscription, createEventBus } from './events/index.js';
|
|
32
|
-
export { ApprovalForwarder, CoordinatorInboxItem, CoordinatorLoopOptions, CoordinatorLoopResult, CoordinatorRosterMember, CoordinatorRound, CoordinatorRoundTransition, CoordinatorRoundTransitionInput, CoordinatorRuntimeStatus, CoordinatorStatus, CoordinatorTaskNotificationLike, CoordinatorWorkerReportLike, TeamCoordinator, TeamPermissionPolicyConfig, TeamPermissionRule, WorkerReport, addTokenUsage, buildCoordinatorSystemPrompt, coordinatorToolDescriptions, createTeamCoordinator, evaluateCoordinatorRoundTransition, formatCoordinatorRoundMessage, formatCoordinatorTaskNotifications, formatCoordinatorWorkerReports, teamPermissionPolicy } from './team/index.js';
|
|
33
|
-
export { createConsoleLogger, createFileLogger, silentLogger } from './logger/index.js';
|
|
34
|
-
import 'zod';
|
|
35
|
-
import '@ai-sdk/provider-utils';
|
|
36
|
-
import '@modelcontextprotocol/sdk/client/auth.js';
|
|
37
|
-
import '@modelcontextprotocol/sdk/types.js';
|
|
38
|
-
import '@modelcontextprotocol/sdk/shared/auth.js';
|
|
39
|
-
import 'jiti';
|
|
40
|
-
|
|
41
1
|
/**
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
|
|
108
|
-
declare function estimateTokens(text: string): number;
|
|
109
|
-
/**
|
|
110
|
-
* Estimate token count for a single message.
|
|
111
|
-
*
|
|
112
|
-
* Handles:
|
|
113
|
-
* - Plain string content
|
|
114
|
-
* - Multi-part / multimodal arrays (text parts + images)
|
|
115
|
-
*
|
|
116
|
-
* @param message - A `Message` (internal) or `ModelMessage` (AI SDK)
|
|
117
|
-
* @returns Estimated token count
|
|
118
|
-
*/
|
|
119
|
-
declare function estimateMessageTokens(message: Message | ModelMessage): number;
|
|
120
|
-
/**
|
|
121
|
-
* Estimate total tokens for an entire conversation.
|
|
122
|
-
*
|
|
123
|
-
* Adds a small per-message overhead (≈ 4 tokens) for message
|
|
124
|
-
* framing (`role`, delimiters, etc.).
|
|
125
|
-
*
|
|
126
|
-
* @param messages - Array of messages to estimate
|
|
127
|
-
* @returns Estimated total token count
|
|
128
|
-
*/
|
|
129
|
-
declare function estimateConversationTokens(messages: (Message | ModelMessage)[]): number;
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* Context Overflow Detection & Pruning
|
|
133
|
-
*
|
|
134
|
-
* Detects when a conversation is approaching the model's context-window
|
|
135
|
-
* limit and prunes old / redundant content to stay within bounds.
|
|
136
|
-
*
|
|
137
|
-
* Two pruning strategies are available:
|
|
138
|
-
* 1. **Tool-result pruning** — replaces large, stale tool outputs with
|
|
139
|
-
* compact placeholders (lightweight, no model call).
|
|
140
|
-
* 2. **Conversation cutting** — identifies a safe cut-point and removes
|
|
141
|
-
* older messages entirely (optionally summarised by the manager).
|
|
142
|
-
*/
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Context limits configuration.
|
|
146
|
-
*
|
|
147
|
-
* All values are in *estimated* tokens (see {@link estimateTokens}).
|
|
148
|
-
*/
|
|
149
|
-
interface ContextLimits {
|
|
150
|
-
/** Maximum context window size in tokens */
|
|
151
|
-
contextWindow: number;
|
|
152
|
-
/** Reserve tokens for output generation */
|
|
153
|
-
reserveTokens: number;
|
|
154
|
-
/** Protect this many recent tokens from pruning */
|
|
155
|
-
protectedTokens: number;
|
|
156
|
-
/** Minimum tokens to trigger pruning (avoid pruning tiny contexts) */
|
|
157
|
-
pruneMinimum: number;
|
|
158
|
-
}
|
|
159
|
-
/**
|
|
160
|
-
* Default context limits.
|
|
161
|
-
* Based on typical 128 k context-window models.
|
|
162
|
-
*/
|
|
163
|
-
declare const DEFAULT_CONTEXT_LIMITS: ContextLimits;
|
|
164
|
-
/**
|
|
165
|
-
* Compute the usable token budget: the context window minus reserved output tokens.
|
|
166
|
-
*
|
|
167
|
-
* This is the single formula for the "safe input threshold" used by
|
|
168
|
-
* overflow detection, auto-compaction event emission, and step-processing limits.
|
|
169
|
-
*/
|
|
170
|
-
declare function getUsableTokenLimit(limits: Pick<ContextLimits, "contextWindow" | "reserveTokens">): number;
|
|
171
|
-
/**
|
|
172
|
-
* Result of a pruning operation.
|
|
173
|
-
*/
|
|
174
|
-
interface PruneResult {
|
|
175
|
-
/** Messages after pruning (may include a summary message) */
|
|
176
|
-
messages: Message[];
|
|
177
|
-
/** Number of messages removed */
|
|
178
|
-
removedCount: number;
|
|
179
|
-
/** Estimated tokens removed */
|
|
180
|
-
tokensRemoved: number;
|
|
181
|
-
/** Whether summarisation was used */
|
|
182
|
-
summarized: boolean;
|
|
183
|
-
/** The summary content, if generated */
|
|
184
|
-
summary?: string;
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* Find a safe index at which the conversation can be "cut".
|
|
188
|
-
*
|
|
189
|
-
* Rules:
|
|
190
|
-
* - Never cut in the middle of a tool-call sequence
|
|
191
|
-
* - Prefer cutting after assistant / user messages
|
|
192
|
-
* - Keep at least {@link protectedTokens} tokens at the end
|
|
193
|
-
*
|
|
194
|
-
* @param messages - Full message array
|
|
195
|
-
* @param protectedTokens - Tokens to preserve at the end
|
|
196
|
-
* @returns Cut index (exclusive — remove messages *before* this index).
|
|
197
|
-
* Returns `0` when no safe cut-point exists.
|
|
198
|
-
*/
|
|
199
|
-
declare function findCutPoint(messages: Message[], protectedTokens?: number): number;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Context Manager
|
|
203
|
-
*
|
|
204
|
-
* Stateful wrapper around the context-management primitives.
|
|
205
|
-
* Tracks per-session context limits and provides a single entry
|
|
206
|
-
* point for token estimation, overflow detection, and pruning.
|
|
207
|
-
*/
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Per-session context manager.
|
|
211
|
-
*
|
|
212
|
-
* Holds the active context-window limits and provides convenience
|
|
213
|
-
* methods for checking, reporting, and pruning context.
|
|
214
|
-
*
|
|
215
|
-
* @example
|
|
216
|
-
* ```typescript
|
|
217
|
-
* const ctx = new ContextManager({ limits: { contextWindow: 200_000 } });
|
|
218
|
-
*
|
|
219
|
-
* if (ctx.shouldPrune(messages)) {
|
|
220
|
-
* const result = await ctx.prune(messages);
|
|
221
|
-
* console.log(`Removed ${result.removedCount} messages`);
|
|
222
|
-
* }
|
|
223
|
-
* ```
|
|
224
|
-
*/
|
|
225
|
-
declare class ContextManager {
|
|
226
|
-
private limits;
|
|
227
|
-
private model?;
|
|
228
|
-
private summaryPrompt?;
|
|
229
|
-
constructor(options?: {
|
|
230
|
-
limits?: Partial<ContextLimits>;
|
|
231
|
-
model?: LanguageModel;
|
|
232
|
-
summaryPrompt?: string;
|
|
233
|
-
});
|
|
234
|
-
/** Get a copy of the current context limits. */
|
|
235
|
-
getLimits(): ContextLimits;
|
|
236
|
-
/** Update context limits (e.g. when switching models). */
|
|
237
|
-
setLimits(limits: Partial<ContextLimits>): void;
|
|
238
|
-
/** Set the model used for summarisation. */
|
|
239
|
-
setModel(model: LanguageModel): void;
|
|
240
|
-
/** Estimate total tokens for a message array. */
|
|
241
|
-
estimateTokens(messages: (Message | ModelMessage)[]): number;
|
|
242
|
-
/** Check whether the context is overflowing. */
|
|
243
|
-
isOverflowing(messages: (Message | ModelMessage)[]): boolean;
|
|
244
|
-
/** Check whether pruning should be triggered. */
|
|
245
|
-
shouldPrune(messages: (Message | ModelMessage)[]): boolean;
|
|
246
|
-
/** Prune context to fit within limits. */
|
|
247
|
-
prune(messages: Message[]): Promise<PruneResult>;
|
|
248
|
-
/**
|
|
249
|
-
* Get a snapshot of token statistics.
|
|
250
|
-
*
|
|
251
|
-
* Useful for dashboards, logging, or deciding whether to prune.
|
|
252
|
-
*/
|
|
253
|
-
getStats(messages: (Message | ModelMessage)[]): {
|
|
254
|
-
tokens: number;
|
|
255
|
-
limit: number;
|
|
256
|
-
available: number;
|
|
257
|
-
utilizationPercent: number;
|
|
258
|
-
isOverflowing: boolean;
|
|
259
|
-
shouldPrune: boolean;
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/** Everything the chat loop needs from the Agent instance. */
|
|
264
|
-
interface ChatLoopDeps {
|
|
265
|
-
sessionId: string;
|
|
266
|
-
turnId: string;
|
|
267
|
-
message: string;
|
|
268
|
-
abort: AbortSignal;
|
|
269
|
-
systemOverride?: string;
|
|
270
|
-
sessions: SessionManager;
|
|
271
|
-
/**
|
|
272
|
-
* Live reference to the agent's tools Map.
|
|
273
|
-
*
|
|
274
|
-
* The loop rebuilds a `Record<string, Tool.Info>` from this Map at
|
|
275
|
-
* the start of each model step so that mid-turn additions (e.g.
|
|
276
|
-
* tools loaded by `tool_search` via `agent.addTool()`) are visible
|
|
277
|
-
* to the next step without restarting the turn.
|
|
278
|
-
*/
|
|
279
|
-
tools: Map<string, Tool.AnyInfo>;
|
|
280
|
-
config: EffectiveAgentConfig;
|
|
281
|
-
turnTracker: TurnChangeTracker;
|
|
282
|
-
interventionCtrl: InterventionController;
|
|
283
|
-
middlewareRunner: MiddlewareRunner;
|
|
284
|
-
contextManager: ContextManager;
|
|
285
|
-
rememberedDoomLoopTools: Set<string>;
|
|
286
|
-
reasoningLevel: ReasoningLevel;
|
|
287
|
-
promptBuilder?: PromptBuilder;
|
|
288
|
-
host: ToolHost;
|
|
289
|
-
humanInputController?: HumanInputController;
|
|
290
|
-
mcpTools: Record<string, Tool$1>;
|
|
291
|
-
turnToolProviders: AgentTurnToolProvider[];
|
|
292
|
-
telemetrySettings?: TelemetryOptions;
|
|
293
|
-
toModelMessages: (messages: Message[]) => ModelMessage[];
|
|
294
|
-
setIsStreaming: (value: boolean) => void;
|
|
295
|
-
/**
|
|
296
|
-
* Tool execution mode for this chat loop.
|
|
297
|
-
* - `"auto"` — tools auto-execute via AI SDK (default)
|
|
298
|
-
* - `"plan"` — tools are planned, then dispatched via `runToolBatch()`
|
|
299
|
-
*/
|
|
300
|
-
toolExecutionMode?: ToolExecutionMode;
|
|
301
|
-
/** Logger for diagnostic output. */
|
|
302
|
-
logger?: Logger;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* Run the core chat loop: input commit → step loop → output commit →
|
|
307
|
-
* auto-compaction → turn summary → complete.
|
|
308
|
-
*/
|
|
309
|
-
declare function runChatLoop(deps: ChatLoopDeps): AsyncGenerator<AgentEvent>;
|
|
310
|
-
|
|
311
|
-
declare function ensureSessionLoaded(options: {
|
|
312
|
-
sessionId: string;
|
|
313
|
-
sessions: SessionManager;
|
|
314
|
-
cwd: string;
|
|
315
|
-
}): Promise<void>;
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* CLI-friendly event printer for `agent.chat()` streams.
|
|
319
|
-
*
|
|
320
|
-
* Provides a zero-config function that handles the full `AgentEvent`
|
|
321
|
-
* union, writing text deltas to stdout, tool calls with emoji prefixes,
|
|
322
|
-
* and lifecycle events to stderr. Covers the same ground as the
|
|
323
|
-
* 80-line `handleEvent()` in example 03–streaming but as a reusable
|
|
324
|
-
* one-liner:
|
|
325
|
-
*
|
|
326
|
-
* ```ts
|
|
327
|
-
* const print = createEventPrinter();
|
|
328
|
-
* for await (const event of agent.chat("demo", "Hello")) {
|
|
329
|
-
* print(event);
|
|
330
|
-
* }
|
|
331
|
-
* ```
|
|
332
|
-
*
|
|
333
|
-
* All options are optional — sensible defaults work out of the box.
|
|
334
|
-
*/
|
|
335
|
-
|
|
336
|
-
/** Controls which event categories the printer renders. */
|
|
337
|
-
interface EventPrinterOptions {
|
|
338
|
-
/**
|
|
339
|
-
* Show tool start/result/error events.
|
|
340
|
-
* @default true
|
|
341
|
-
*/
|
|
342
|
-
tools?: boolean;
|
|
343
|
-
/**
|
|
344
|
-
* Show reasoning tokens (thinking models like o3, o4-mini).
|
|
345
|
-
* @default true
|
|
346
|
-
*/
|
|
347
|
-
reasoning?: boolean;
|
|
348
|
-
/**
|
|
349
|
-
* Show step/lifecycle banners.
|
|
350
|
-
* @default false
|
|
351
|
-
*/
|
|
352
|
-
steps?: boolean;
|
|
353
|
-
/**
|
|
354
|
-
* Show approval, intervention, and safety events.
|
|
355
|
-
* @default true
|
|
356
|
-
*/
|
|
357
|
-
safety?: boolean;
|
|
358
|
-
/**
|
|
359
|
-
* Show the completion summary line.
|
|
360
|
-
* @default true
|
|
361
|
-
*/
|
|
362
|
-
completion?: boolean;
|
|
363
|
-
/**
|
|
364
|
-
* Show team coordination events (team-*).
|
|
365
|
-
* @default false
|
|
366
|
-
*/
|
|
367
|
-
team?: boolean;
|
|
368
|
-
/**
|
|
369
|
-
* Writable stream for text output.
|
|
370
|
-
* @default process.stdout
|
|
371
|
-
*/
|
|
372
|
-
stdout?: NodeJS.WritableStream;
|
|
373
|
-
/**
|
|
374
|
-
* Writable stream for diagnostic/lifecycle output.
|
|
375
|
-
* @default process.stderr
|
|
376
|
-
*/
|
|
377
|
-
stderr?: NodeJS.WritableStream;
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Create a stateless event handler for printing `AgentEvent`s to the
|
|
381
|
-
* terminal.
|
|
382
|
-
*
|
|
383
|
-
* @param options - Fine-tune which event categories are rendered.
|
|
384
|
-
* @returns A function that accepts one `AgentEvent` and writes to stdout/stderr.
|
|
385
|
-
*
|
|
386
|
-
* @example
|
|
387
|
-
* ```ts
|
|
388
|
-
* import { createAgent, createEventPrinter } from "@cuylabs/agent-core";
|
|
389
|
-
*
|
|
390
|
-
* const agent = createAgent({ model, systemPrompt: "Be concise." });
|
|
391
|
-
* const print = createEventPrinter();
|
|
392
|
-
*
|
|
393
|
-
* for await (const event of agent.chat("demo", "Hello")) {
|
|
394
|
-
* print(event);
|
|
395
|
-
* }
|
|
396
|
-
* ```
|
|
397
|
-
*
|
|
398
|
-
* @example
|
|
399
|
-
* ```ts
|
|
400
|
-
* // Quiet mode — text only, no tool or lifecycle output
|
|
401
|
-
* const print = createEventPrinter({
|
|
402
|
-
* tools: false,
|
|
403
|
-
* reasoning: false,
|
|
404
|
-
* steps: false,
|
|
405
|
-
* completion: false,
|
|
406
|
-
* });
|
|
407
|
-
* ```
|
|
408
|
-
*/
|
|
409
|
-
declare function createEventPrinter(options?: EventPrinterOptions): (event: AgentEvent) => void;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* Auto-detect and configure stream provider from model and tools.
|
|
413
|
-
*
|
|
414
|
-
* Returns the configured stream provider, or undefined if standard
|
|
415
|
-
* AI SDK streaming should be used.
|
|
416
|
-
*/
|
|
417
|
-
declare function autoDetectStreamProvider(model: LanguageModel, tools: unknown, explicitProvider: unknown): StreamProvider | undefined;
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Shared intervention/follow-up types for @cuylabs/agent-core.
|
|
421
|
-
*
|
|
422
|
-
* These types give runtimes (agent-server, agent-runtime-dapr) a common
|
|
423
|
-
* vocabulary for user-directed turn control:
|
|
424
|
-
* - immediate mid-turn steering
|
|
425
|
-
* - deferred follow-ups queued for the next turn
|
|
426
|
-
*
|
|
427
|
-
* The `InterventionController` remains the in-process implementation;
|
|
428
|
-
* these types are the protocol-level representation for cross-process
|
|
429
|
-
* and durable scenarios.
|
|
430
|
-
*/
|
|
431
|
-
/**
|
|
432
|
-
* A steering request surfaced to runtime consumers.
|
|
433
|
-
*
|
|
434
|
-
* Created when a client calls `steerTurn()` (agent-server) or
|
|
435
|
-
* `POST /agents/:id/steer` (agent-runtime-dapr). Runtimes publish
|
|
436
|
-
* an `intervention-applied` event so UIs can show the injection.
|
|
437
|
-
*/
|
|
438
|
-
interface SteeringRequest {
|
|
439
|
-
/** Unique identifier (maps to `PendingIntervention.id` in direct mode) */
|
|
440
|
-
id: string;
|
|
441
|
-
/** Session the steering targets */
|
|
442
|
-
sessionId: string;
|
|
443
|
-
/** The user message to inject */
|
|
444
|
-
message: string;
|
|
445
|
-
/** When the steering was requested */
|
|
446
|
-
timestamp: number;
|
|
447
|
-
}
|
|
448
|
-
/**
|
|
449
|
-
* Acknowledgement returned after a steering message is accepted.
|
|
450
|
-
*
|
|
451
|
-
* In direct mode, the message is already queued in the
|
|
452
|
-
* `InterventionController`. In durable mode, it is persisted in
|
|
453
|
-
* state and will be picked up at the next workflow activity boundary.
|
|
454
|
-
*/
|
|
455
|
-
interface SteeringResponse {
|
|
456
|
-
/** The steering request ID */
|
|
457
|
-
id: string;
|
|
458
|
-
/** Whether the message was accepted */
|
|
459
|
-
accepted: boolean;
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* A deferred follow-up request surfaced to runtime consumers.
|
|
463
|
-
*
|
|
464
|
-
* Created when a client calls `followUpTurn()` (agent-server) or
|
|
465
|
-
* `POST /agents/:id/follow-up` (agent-runtime-dapr). Runtimes publish
|
|
466
|
-
* a `follow-up-queued` event so UIs can show that the message will be
|
|
467
|
-
* available after the current turn completes.
|
|
468
|
-
*/
|
|
469
|
-
interface FollowUpRequest {
|
|
470
|
-
/** Unique identifier (maps to `PendingIntervention.id` in direct mode) */
|
|
471
|
-
id: string;
|
|
472
|
-
/** Session the follow-up targets */
|
|
473
|
-
sessionId: string;
|
|
474
|
-
/** The user message to queue for the next turn */
|
|
475
|
-
message: string;
|
|
476
|
-
/** When the follow-up was requested */
|
|
477
|
-
timestamp: number;
|
|
478
|
-
}
|
|
479
|
-
/**
|
|
480
|
-
* Acknowledgement returned after a follow-up message is accepted.
|
|
481
|
-
*
|
|
482
|
-
* In direct mode, the message is queued in the `InterventionController`.
|
|
483
|
-
* In durable mode, it is persisted in the runtime's durable follow-up store
|
|
484
|
-
* and becomes seedable on the next turn for the same session.
|
|
485
|
-
*/
|
|
486
|
-
interface FollowUpResponse {
|
|
487
|
-
/** The follow-up request ID */
|
|
488
|
-
id: string;
|
|
489
|
-
/** Whether the message was accepted */
|
|
490
|
-
accepted: boolean;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
type FollowUpMode = "suggest" | "confirm" | "auto-run";
|
|
494
|
-
type FollowUpStatus = "queued" | "accepted" | "discarded" | "applied";
|
|
495
|
-
type FollowUpDecisionAction = "accept" | "discard";
|
|
496
|
-
interface FollowUpPolicy {
|
|
497
|
-
/**
|
|
498
|
-
* `suggest`:
|
|
499
|
-
* queue the follow-up and expose it for the host/UI to surface.
|
|
500
|
-
* `confirm`:
|
|
501
|
-
* queue it, but require an explicit accept/discard decision before seeding.
|
|
502
|
-
* `auto-run`:
|
|
503
|
-
* automatically seed the next turn with queued follow-ups for the session.
|
|
504
|
-
*/
|
|
505
|
-
mode?: FollowUpMode;
|
|
506
|
-
}
|
|
507
|
-
interface QueuedFollowUpRecord {
|
|
508
|
-
id: string;
|
|
509
|
-
sessionId: string;
|
|
510
|
-
message: string;
|
|
511
|
-
createdAt: string;
|
|
512
|
-
updatedAt: string;
|
|
513
|
-
mode: FollowUpMode;
|
|
514
|
-
status: FollowUpStatus;
|
|
515
|
-
sourceTurnId?: string;
|
|
516
|
-
workflowInstanceId?: string;
|
|
517
|
-
decidedAt?: string;
|
|
518
|
-
appliedAt?: string;
|
|
519
|
-
seededTurnId?: string;
|
|
520
|
-
}
|
|
521
|
-
declare function normalizeFollowUpMode(mode?: FollowUpMode): FollowUpMode;
|
|
522
|
-
declare function createQueuedFollowUpRecord(request: FollowUpRequest, options?: {
|
|
523
|
-
mode?: FollowUpMode;
|
|
524
|
-
sourceTurnId?: string;
|
|
525
|
-
workflowInstanceId?: string;
|
|
526
|
-
createdAt?: string;
|
|
527
|
-
updatedAt?: string;
|
|
528
|
-
}): QueuedFollowUpRecord;
|
|
529
|
-
declare function resolveQueuedFollowUp(record: QueuedFollowUpRecord, action: FollowUpDecisionAction, updatedAt: string): QueuedFollowUpRecord;
|
|
530
|
-
declare function markQueuedFollowUpApplied(record: QueuedFollowUpRecord, updatedAt: string, seededTurnId?: string): QueuedFollowUpRecord;
|
|
531
|
-
declare function canSeedQueuedFollowUp(record: QueuedFollowUpRecord): boolean;
|
|
532
|
-
|
|
533
|
-
declare function currentScope(): Scope | undefined;
|
|
534
|
-
declare function snapshotScope(scope?: Scope | undefined): ScopeSnapshot | undefined;
|
|
535
|
-
declare function withinScope<T>(options: ScopeOptions, fn: () => T | Promise<T>): Promise<T>;
|
|
536
|
-
declare function restoreScope<T>(snapshot: ScopeSnapshot | undefined, fn: () => T | Promise<T>): Promise<T>;
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* Extract file paths from tool arguments based on metadata.
|
|
540
|
-
*/
|
|
541
|
-
declare function extractFilePathsFromArgs(args: Record<string, unknown>, meta: FileOperationMeta): string[];
|
|
542
|
-
/**
|
|
543
|
-
* Check whether a tool operation should trigger baseline capture.
|
|
544
|
-
*/
|
|
545
|
-
declare function shouldCaptureBaseline(meta: FileOperationMeta): boolean;
|
|
546
|
-
|
|
547
|
-
/**
|
|
548
|
-
* LocalSignal — in-process event dispatch.
|
|
549
|
-
*
|
|
550
|
-
* Dispatches events synchronously via direct function calls.
|
|
551
|
-
* Zero dependencies, zero serialization, zero network.
|
|
552
|
-
*
|
|
553
|
-
* Handler errors are caught silently — a broken listener must never
|
|
554
|
-
* interrupt the agent's streaming pipeline.
|
|
555
|
-
*/
|
|
556
|
-
|
|
557
|
-
declare class LocalSignal implements AgentSignal {
|
|
558
|
-
/** type → Set<handler> for typed subscriptions */
|
|
559
|
-
private readonly typed;
|
|
560
|
-
/** handlers that receive every event */
|
|
561
|
-
private readonly wildcard;
|
|
562
|
-
on<T extends AgentEvent["type"]>(type: T, handler: TypedHandler<T>): Unsubscribe;
|
|
563
|
-
onAny(handler: WildcardHandler): Unsubscribe;
|
|
564
|
-
emit(event: AgentEvent): void;
|
|
565
|
-
clear(): void;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
export { AgentEvent, AgentSignal, type AgentState, AgentTurnToolProvider, type ChatLoopDeps, type ContextLimits, ContextManager, type CreateHumanInputToolOptions, DEFAULT_CONTEXT_LIMITS, EffectiveAgentConfig, type EventPrinterOptions, FileOperationMeta, type FollowUpDecisionAction, type FollowUpMode, type FollowUpPolicy, type FollowUpRequest, type FollowUpResponse, type FollowUpStatus, HumanInputConfig, HumanInputController, type HumanInputHandler, InterventionController, LocalSignal, Logger, Message, MiddlewareRunner, PromptBuilder, type QueuedFollowUpRecord, ReasoningLevel, ScopeSnapshot, SessionManager, type SteeringRequest, type SteeringResponse, StreamProvider, Tool, ToolExecutionMode, ToolHost, TurnChangeTracker, autoDetectStreamProvider, canSeedQueuedFollowUp, createEventPrinter, createHumanInputHandler, createHumanInputTool, createHumanInputToolWithController, createHumanInputToolWithHandler, createQueuedFollowUpRecord, currentScope, ensureSessionLoaded, estimateConversationTokens, estimateMessageTokens, estimateTokens, extractFilePathsFromArgs, findCutPoint, getUsableTokenLimit, markQueuedFollowUpApplied, normalizeFollowUpMode, resolveQueuedFollowUp, restoreScope, runChatLoop, shouldCaptureBaseline, sleep, snapshotScope, withinScope };
|
|
2
|
+
* @cuylabs/agent-core
|
|
3
|
+
*
|
|
4
|
+
* Embeddable AI agent infrastructure using the Vercel AI SDK.
|
|
5
|
+
*
|
|
6
|
+
* This root barrel re-exports from each module barrel.
|
|
7
|
+
* Prefer focused subpath imports when you want the import path
|
|
8
|
+
* to match the concept you're working with:
|
|
9
|
+
*
|
|
10
|
+
* @cuylabs/agent-core/tool — Tool, ToolRegistry
|
|
11
|
+
* @cuylabs/agent-core/models — resolver, identifiers, capabilities
|
|
12
|
+
* @cuylabs/agent-core/mcp — MCP server integration
|
|
13
|
+
* @cuylabs/agent-core/execution — task, scope, turn, workflow primitives
|
|
14
|
+
* @cuylabs/agent-core/execution/turn — turn state, engine, runner
|
|
15
|
+
* @cuylabs/agent-core/execution/workflow — durable workflow state/planner
|
|
16
|
+
* @cuylabs/agent-core/middleware — approval, telemetry, prompt-cache
|
|
17
|
+
* @cuylabs/agent-core/prompt — builder, templates, instructions
|
|
18
|
+
* @cuylabs/agent-core/reasoning — level config, provider builders
|
|
19
|
+
* @cuylabs/agent-core/tool/host — tool execution host interfaces and local host
|
|
20
|
+
* @cuylabs/agent-core/sandbox — managed environment sessions above ToolHost
|
|
21
|
+
* @cuylabs/agent-core/storage — sessions, file/memory backends
|
|
22
|
+
* @cuylabs/agent-core/skill — discovery, loading, registry
|
|
23
|
+
* @cuylabs/agent-core/events — typed signals and channel event bus
|
|
24
|
+
* @cuylabs/agent-core/execution/scope — ambient execution context
|
|
25
|
+
* @cuylabs/agent-core/errors — LLMError, classification, retry
|
|
26
|
+
* @cuylabs/agent-core/profiles — built-in & custom presets
|
|
27
|
+
* @cuylabs/agent-core/safety — approval handler, risk levels
|
|
28
|
+
* @cuylabs/agent-core/inference — model streaming, toolset bridge
|
|
29
|
+
* @cuylabs/agent-core/context — context fragments, window management, compaction helpers
|
|
30
|
+
* @cuylabs/agent-core/memory — durable memory providers, middleware, and tools
|
|
31
|
+
* @cuylabs/agent-core/tracking — turn tracker, file diffs
|
|
32
|
+
* @cuylabs/agent-core/dispatch — async dispatch control plane, runtime adapters
|
|
33
|
+
* @cuylabs/agent-core/subagents — local child-agent tools, profiles, discovery
|
|
34
|
+
* @cuylabs/agent-core/plugin — extension system, event bus, settings
|
|
35
|
+
* @cuylabs/agent-core/team — multi-agent coordination, task board, mailbox
|
|
36
|
+
*/
|
|
37
|
+
export * from "./agent/index.js";
|
|
38
|
+
export * from "./intervention/index.js";
|
|
39
|
+
export * from "./tool/index.js";
|
|
40
|
+
export * from "./models/index.js";
|
|
41
|
+
export * from "./mcp/index.js";
|
|
42
|
+
export * from "./execution/index.js";
|
|
43
|
+
export * from "./middleware/index.js";
|
|
44
|
+
export * from "./prompt/index.js";
|
|
45
|
+
export * from "./profiles/index.js";
|
|
46
|
+
export * from "./tool/host/index.js";
|
|
47
|
+
export * from "./sandbox/index.js";
|
|
48
|
+
export * from "./execution/scope/index.js";
|
|
49
|
+
export * from "./inference/index.js";
|
|
50
|
+
export * from "./storage/index.js";
|
|
51
|
+
export * from "./tracking/index.js";
|
|
52
|
+
export * from "./context/index.js";
|
|
53
|
+
export * from "./memory/index.js";
|
|
54
|
+
export * from "./safety/index.js";
|
|
55
|
+
export * from "./human/index.js";
|
|
56
|
+
export * from "./inference/errors/index.js";
|
|
57
|
+
export * from "./inference/retry.js";
|
|
58
|
+
export * from "./skill/index.js";
|
|
59
|
+
export * from "./dispatch/index.js";
|
|
60
|
+
export { sleep } from "./utils/sleep.js";
|
|
61
|
+
export * from "./subagents/index.js";
|
|
62
|
+
export * from "./plugin/index.js";
|
|
63
|
+
export * from "./events/index.js";
|
|
64
|
+
export * from "./team/index.js";
|
|
65
|
+
export * from "./logger/index.js";
|
|
66
|
+
export * from "./types/index.js";
|
|
67
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAIH,cAAc,kBAAkB,CAAC;AAGjC,cAAc,yBAAyB,CAAC;AAKxC,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,gBAAgB,CAAC;AAG/B,cAAc,sBAAsB,CAAC;AAGrC,cAAc,uBAAuB,CAAC;AAKtC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,qBAAqB,CAAC;AAKpC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,4BAA4B,CAAC;AAG3C,cAAc,sBAAsB,CAAC;AAKrC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,qBAAqB,CAAC;AAGpC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,mBAAmB,CAAC;AAKlC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,6BAA6B,CAAC;AAG5C,cAAc,sBAAsB,CAAC;AAKrC,cAAc,kBAAkB,CAAC;AAGjC,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAGzC,cAAc,sBAAsB,CAAC;AAGrC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,iBAAiB,CAAC;AAGhC,cAAc,mBAAmB,CAAC;AAKlC,cAAc,kBAAkB,CAAC"}
|