@deksden-com/dd-flow-cli 0.9.0-beta.14 → 0.9.0-beta.141
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 +740 -0
- package/README.md +143 -1
- package/dist/build-info.json +8 -8
- package/dist/cli/argument-values.js +38 -0
- package/dist/cli/command-inputs.js +376 -0
- package/dist/cli/command-metadata.js +197 -0
- package/dist/cli/command-option-descriptions.js +191 -0
- package/dist/cli/completion-cli.js +70 -0
- package/dist/cli/completion.js +57 -0
- package/dist/cli/error-output.js +52 -0
- package/dist/cli/executor-onboarding.js +76 -0
- package/dist/cli/flows.js +29 -0
- package/dist/cli/harnesses.js +84 -0
- package/dist/cli/help.js +328 -18
- package/dist/cli/hook-ingress.js +78 -0
- package/dist/cli/input-preparation.js +165 -0
- package/dist/cli/memory-flow-admission.js +44 -0
- package/dist/cli/memory-init-invocation.js +78 -0
- package/dist/cli/memory-init.js +240 -0
- package/dist/cli/memory-storage-admission.js +53 -0
- package/dist/cli/models.js +39 -0
- package/dist/cli/native-hook-ingress.js +80 -0
- package/dist/cli/operator-profiles.js +61 -0
- package/dist/cli/output-options.js +35 -0
- package/dist/cli/response-file.js +71 -0
- package/dist/cli/run-cli.js +1689 -545
- package/dist/cli/runtime-maintenance-diagnostics.js +46 -0
- package/dist/cli/runtime-maintenance-ingress.js +52 -0
- package/dist/cli/runtime-process.js +153 -0
- package/dist/cli/setup.js +149 -0
- package/dist/cli.js +71 -2
- package/dist/domain/stage-catalog.js +1 -1
- package/dist/domain/stage-handler-identities.js +20 -0
- package/dist/harness-runtime/DD-ZCODE.md +112 -0
- package/dist/harness-runtime/OPENCODE-LICENSE.txt +24 -0
- package/dist/harness-runtime/bin/dd-agy.mjs +56 -0
- package/dist/harness-runtime/bin/dd-codex.mjs +27 -0
- package/dist/harness-runtime/bin/dd-droid.mjs +34 -0
- package/dist/harness-runtime/bin/dd-grok.mjs +40 -0
- package/dist/harness-runtime/bin/dd-opencode.mjs +22 -0
- package/dist/harness-runtime/bin/dd-zcode.mjs +87 -0
- package/dist/harness-runtime/lib/adapter-timeouts.d.mts +5 -0
- package/dist/harness-runtime/lib/adapter-timeouts.mjs +34 -0
- package/dist/harness-runtime/lib/agy-hooks.d.mts +1 -0
- package/dist/harness-runtime/lib/agy-hooks.mjs +9 -0
- package/dist/harness-runtime/lib/daemon-observation.d.mts +2 -0
- package/dist/harness-runtime/lib/daemon-observation.mjs +163 -0
- package/dist/harness-runtime/lib/daemon-operations.d.mts +1 -0
- package/dist/harness-runtime/lib/daemon-operations.mjs +371 -0
- package/dist/harness-runtime/lib/dd-agy-daemon.d.mts +6 -0
- package/dist/harness-runtime/lib/dd-agy-daemon.mjs +728 -0
- package/dist/harness-runtime/lib/dd-agy.mjs +70 -0
- package/dist/harness-runtime/lib/dd-codex-daemon.d.mts +1 -0
- package/dist/harness-runtime/lib/dd-codex-daemon.mjs +196 -0
- package/dist/harness-runtime/lib/dd-codex.d.mts +1 -0
- package/dist/harness-runtime/lib/dd-codex.mjs +817 -0
- package/dist/harness-runtime/lib/dd-droid-daemon.mjs +140 -0
- package/dist/harness-runtime/lib/dd-droid.mjs +584 -0
- package/dist/harness-runtime/lib/dd-grok-daemon.mjs +498 -0
- package/dist/harness-runtime/lib/dd-grok.mjs +177 -0
- package/dist/harness-runtime/lib/dd-opencode-daemon.mjs +557 -0
- package/dist/harness-runtime/lib/dd-opencode.mjs +363 -0
- package/dist/harness-runtime/lib/dd-zcode-daemon.mjs +751 -0
- package/dist/harness-runtime/lib/dd-zcode.mjs +1145 -0
- package/dist/harness-runtime/lib/delegation-instructions.d.mts +14 -0
- package/dist/harness-runtime/lib/delegation-instructions.mjs +157 -0
- package/dist/harness-runtime/lib/dispatch-fence.mjs +14 -0
- package/dist/harness-runtime/lib/driver-recovery.mjs +139 -0
- package/dist/harness-runtime/lib/droid-observation.mjs +66 -0
- package/dist/harness-runtime/lib/lease-renewal.d.mts +8 -0
- package/dist/harness-runtime/lib/lease-renewal.mjs +37 -0
- package/dist/harness-runtime/lib/lifecycle-command.d.mts +20 -0
- package/dist/harness-runtime/lib/lifecycle-command.mjs +273 -0
- package/dist/harness-runtime/lib/lifecycle-contract.d.mts +10 -0
- package/dist/harness-runtime/lib/lifecycle-contract.mjs +19 -0
- package/dist/harness-runtime/lib/managed-daemon.d.mts +16 -0
- package/dist/harness-runtime/lib/managed-daemon.mjs +683 -0
- package/dist/harness-runtime/lib/managed-flow-env.mjs +15 -0
- package/dist/harness-runtime/lib/model-observations.mjs +101 -0
- package/dist/harness-runtime/lib/native-children.d.mts +16 -0
- package/dist/harness-runtime/lib/native-children.mjs +113 -0
- package/dist/harness-runtime/lib/native-hook-command.d.mts +7 -0
- package/dist/harness-runtime/lib/native-hook-command.mjs +251 -0
- package/dist/harness-runtime/lib/native-request-proof.d.mts +2 -0
- package/dist/harness-runtime/lib/native-request-proof.mjs +65 -0
- package/dist/harness-runtime/lib/native-streams.mjs +45 -0
- package/dist/harness-runtime/lib/observation-clock.d.mts +18 -0
- package/dist/harness-runtime/lib/observation-clock.mjs +92 -0
- package/dist/harness-runtime/lib/opencode-plugin.mjs +85 -0
- package/dist/harness-runtime/lib/operation-context.mjs +5 -0
- package/dist/harness-runtime/lib/operation-errors.d.mts +16 -0
- package/dist/harness-runtime/lib/operation-errors.mjs +127 -0
- package/dist/harness-runtime/lib/operation-progress.d.mts +7 -0
- package/dist/harness-runtime/lib/operation-progress.mjs +114 -0
- package/dist/harness-runtime/lib/process-json.d.mts +5 -0
- package/dist/harness-runtime/lib/process-json.mjs +201 -0
- package/dist/harness-runtime/lib/process-snapshot.mjs +10 -0
- package/dist/harness-runtime/lib/provider-overload-policy.d.mts +13 -0
- package/dist/harness-runtime/lib/provider-overload-policy.mjs +138 -0
- package/dist/harness-runtime/lib/runner-events.mjs +200 -0
- package/dist/harness-runtime/lib/runner-lock.mjs +42 -0
- package/dist/harness-runtime/lib/session-settlement.mjs +30 -0
- package/dist/harness-runtime/lib/setup-progress.d.mts +9 -0
- package/dist/harness-runtime/lib/setup-progress.mjs +51 -0
- package/dist/harness-runtime/lib/tool-observations.d.mts +21 -0
- package/dist/harness-runtime/lib/tool-observations.mjs +228 -0
- package/dist/harness-runtime/lib/zcode-usage.mjs +55 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-1y4a697q.js +81 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-2ny4vxct.js +92 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-6mptkzbc.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-7x67cf1q.js +52 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-9rqn6x4v.js +16 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-9vdz0zwn.js +1661 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ecs5ftka.js +1466 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-frbwqjmf.js +145 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-gne7h7mq.js +50 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-gx9wnkzr.js +105 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-m2eywc8w.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-nwcpakzx.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-q4g3afnw.js +623 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-qav6mfdz.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-sxt88q69.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-t1xa31vm.js +39 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ve4aws36.js +103 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vmytr4q8.js +4 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vt9jbch8.js +36 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-vyas3vgt.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-wjyeq25y.js +30 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-xgnj2w4v.js +20 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-y2etg5bs.js +9 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-ydhz1zrh.js +238 -0
- package/dist/harness-runtime/vendor/opencode-client/chunks/service-probe-z6qdwcsf.js +62 -0
- package/dist/harness-runtime/vendor/opencode-client/contract.d.ts +1 -0
- package/dist/harness-runtime/vendor/opencode-client/contract.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api/api.d.ts +2806 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api/api.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api.d.ts +4 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/api.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/client.d.ts +2530 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/client.js +15 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client-error.d.ts +7 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client-error.js +6 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client.d.ts +2529 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/client.js +8 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/index.d.ts +2 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/generated/index.js +12 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/index.d.ts +35 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/index.js +75 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/rpc.d.ts +20 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/rpc.js +11 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/service.d.ts +90 -0
- package/dist/harness-runtime/vendor/opencode-client/effect/service.js +187 -0
- package/dist/harness-runtime/vendor/opencode-client/package.json +84 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/api.d.ts +21 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/api.js +0 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/client.d.ts +252 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/client.js +14 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client-error.d.ts +8 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client-error.js +6 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client.d.ts +259 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/client.js +7 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/index.d.ts +3 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/index.js +79 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/types.d.ts +8932 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/generated/types.js +70 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/index.d.ts +6 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/index.js +83 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/rpc.d.ts +32 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/rpc.js +7 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/service.d.ts +24 -0
- package/dist/harness-runtime/vendor/opencode-client/promise/service.js +187 -0
- package/dist/harness-runtime/vendor/opencode-client/pty-handoff.d.ts +12 -0
- package/dist/harness-runtime/vendor/opencode-client/pty-handoff.js +14 -0
- package/dist/harness-runtime/vendor/opencode-client/rpc-runtime.d.ts +20 -0
- package/dist/harness-runtime/vendor/opencode-client/rpc-runtime.js +14 -0
- package/dist/harness-runtime/vendor/opencode-client/service-contender.d.ts +37 -0
- package/dist/harness-runtime/vendor/opencode-client/service-contender.js +10 -0
- package/dist/harness-runtime/vendor/opencode-client/service-probe.d.ts +70 -0
- package/dist/harness-runtime/vendor/opencode-client/service-probe.js +16 -0
- package/dist/harness-runtime/vendor/opencode-client/service-timing.d.ts +12 -0
- package/dist/harness-runtime/vendor/opencode-client/service-timing.js +10 -0
- package/dist/harness-runtime/vendor/opencode-client/service-version.d.ts +2 -0
- package/dist/harness-runtime/vendor/opencode-client/service-version.js +6 -0
- package/dist/harness-runtime/vendor/opencode-client/service.d.ts +52 -0
- package/dist/harness-runtime/vendor/opencode-client/service.js +1 -0
- package/dist/harness-runtime/vendor/opencode-client/shared-events.d.ts +11 -0
- package/dist/harness-runtime/vendor/opencode-client/shared-events.js +8 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/connection.d.ts +37 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/connection.js +10 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/data.d.ts +211 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/data.js +18 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/index.d.ts +3 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/index.js +32 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/pty.d.ts +22 -0
- package/dist/harness-runtime/vendor/opencode-client/solid/pty.js +8 -0
- package/dist/harness-runtime/vendor/opencode-plugin.mjs +3 -0
- package/dist/protocol/local-files.js +18 -9
- package/dist/runtime/context.js +8 -4
- package/dist/schemas/agent-profile.schema.json +1 -1
- package/dist/schemas/code-review-result.schema.json +1 -1
- package/dist/schemas/code-verification.schema.json +7 -5
- package/dist/schemas/code-work-batch.schema.json +2 -2
- package/dist/schemas/discovery-result.schema.json +184 -0
- package/dist/schemas/execution-bundle.schema.json +205 -0
- package/dist/schemas/execution-settings.schema.json +162 -0
- package/dist/schemas/flow-descriptor.schema.json +54 -0
- package/dist/schemas/flow-run.schema.json +28 -0
- package/dist/schemas/harness-catalog.schema.json +80 -0
- package/dist/schemas/mb-init-compose-result.schema.json +457 -0
- package/dist/schemas/mb-init-discover-result.schema.json +500 -0
- package/dist/schemas/mb-init-finish-result.schema.json +422 -0
- package/dist/schemas/mb-init-preflight-result.schema.json +367 -0
- package/dist/schemas/mb-init-review-result.schema.json +396 -0
- package/dist/schemas/mb-init-verify-result.schema.json +391 -0
- package/dist/schemas/memory-bootstrap-receipt-v2.schema.json +67 -0
- package/dist/schemas/memory-bootstrap-receipt.schema.json +354 -0
- package/dist/schemas/memory-composition-work-result.schema.json +38 -0
- package/dist/schemas/memory-repair-work-result.schema.json +49 -0
- package/dist/schemas/memory-review-correction-plan.schema.json +30 -0
- package/dist/schemas/memory-review-work-result.schema.json +43 -0
- package/dist/schemas/model-catalog.schema.json +153 -0
- package/dist/schemas/plan-review-decision.schema.json +3 -3
- package/dist/schemas/plan-review-result.schema.json +2 -2
- package/dist/schemas/profile-settings.schema.json +122 -0
- package/dist/schemas/release-manifest.schema.json +291 -0
- package/dist/schemas/run-control-receipt.schema.json +118 -0
- package/dist/schemas/run-control-request.schema.json +36 -0
- package/dist/schemas/run-engine-binding.schema.json +1 -1
- package/dist/schemas/vnext-protocol-plan.schema.json +2 -2
- package/dist/services/branch-context.js +3 -3
- package/dist/services/canon.js +11 -8
- package/dist/services/check-runner-evidence.js +250 -0
- package/dist/services/cleanup.js +133 -40
- package/dist/services/cli-operation-classifier.js +25 -62
- package/dist/services/cli-upgrade-allowlist.js +27 -0
- package/dist/services/code-checks.js +1168 -107
- package/dist/services/codex-hook-delivery.js +32 -0
- package/dist/services/command-context.js +80 -0
- package/dist/services/compatibility-preflight.js +13 -3
- package/dist/services/config.js +11 -8
- package/dist/services/continuation-outcome.js +20 -0
- package/dist/services/controller-child-capacity.js +13 -0
- package/dist/services/controller-child-observer.js +115 -0
- package/dist/services/controller-execution.js +88 -0
- package/dist/services/controller-fanout.js +202 -0
- package/dist/services/dashboard.js +143 -58
- package/dist/services/descriptor-coordinator-session.js +35 -0
- package/dist/services/descriptor-root-work.js +53 -0
- package/dist/services/descriptor-run-settlement.js +105 -0
- package/dist/services/descriptor-run-start.js +449 -0
- package/dist/services/descriptor-stage-coordinator.js +197 -0
- package/dist/services/descriptor-stage-settlement.js +222 -0
- package/dist/services/descriptor-stage-start.js +139 -0
- package/dist/services/discovery/agy-discovery.js +2 -0
- package/dist/services/discovery/codex-discovery.js +2 -0
- package/dist/services/discovery/droid-discovery.js +2 -0
- package/dist/services/discovery/grok-discovery.js +2 -0
- package/dist/services/discovery/opencode-discovery.js +2 -0
- package/dist/services/discovery/static.js +31 -0
- package/dist/services/discovery/zcode-discovery.js +2 -0
- package/dist/services/engines.js +294 -153
- package/dist/services/eval-snapshots.js +1215 -116
- package/dist/services/execution-bundles.js +263 -0
- package/dist/services/execution-policy.js +185 -0
- package/dist/services/executor-onboarding.js +56 -0
- package/dist/services/external-work-launch.js +308 -0
- package/dist/services/flow-catalog.js +21 -0
- package/dist/services/flow-descriptors.js +82 -0
- package/dist/services/frozen-engine.js +250 -0
- package/dist/services/generic-execution.js +164 -0
- package/dist/services/harness-adapter.js +355 -36
- package/dist/services/harness-config.js +2 -0
- package/dist/services/harness-discovery.js +29 -0
- package/dist/services/harness-doctor.js +75 -0
- package/dist/services/harness-probe-effects.js +51 -0
- package/dist/services/harness-version-probe.js +100 -0
- package/dist/services/hooks.js +771 -325
- package/dist/services/hybrid-contracts.js +483 -0
- package/dist/services/ids.js +29 -1
- package/dist/services/installation-lock.js +95 -0
- package/dist/services/installed-flow-source.js +183 -0
- package/dist/services/lanes.js +78 -65
- package/dist/services/lifecycle-command.js +1 -288
- package/dist/services/lifecycle-contract.js +1 -0
- package/dist/services/lifecycle-invocations.js +2007 -0
- package/dist/services/managed-daemon-binding.js +38 -0
- package/dist/services/managed-lease-monitor.js +133 -0
- package/dist/services/managed-processes.js +475 -55
- package/dist/services/memory-accepted-composition.js +77 -0
- package/dist/services/memory-baseline-preservation.js +65 -0
- package/dist/services/memory-completed-correction-wave.js +320 -0
- package/dist/services/memory-compose-handler.js +258 -0
- package/dist/services/memory-composition-acceptance.js +199 -0
- package/dist/services/memory-composition-graph.js +134 -0
- package/dist/services/memory-composition-registration.js +146 -0
- package/dist/services/memory-composition-work-custody.js +151 -0
- package/dist/services/memory-composition-work-results.js +96 -0
- package/dist/services/memory-corrected-review-acceptance.js +129 -0
- package/dist/services/memory-corrected-review-batch.js +30 -0
- package/dist/services/memory-corrected-review-findings.js +106 -0
- package/dist/services/memory-corrected-review-inputs.js +210 -0
- package/dist/services/memory-corrected-review-projection.js +78 -0
- package/dist/services/memory-corrected-review-receipt.js +170 -0
- package/dist/services/memory-corrected-review-registration.js +191 -0
- package/dist/services/memory-correction-check-receipt.js +219 -0
- package/dist/services/memory-correction-input-owner.js +6 -0
- package/dist/services/memory-discover-handler.js +104 -0
- package/dist/services/memory-finish-evidence.js +435 -0
- package/dist/services/memory-finish-handler.js +215 -0
- package/dist/services/memory-finish-integration.js +280 -0
- package/dist/services/memory-finish-readiness.js +122 -0
- package/dist/services/memory-git-integration.js +151 -0
- package/dist/services/memory-historical-corrected-review.js +206 -0
- package/dist/services/memory-historical-original-review.js +130 -0
- package/dist/services/memory-historical-repair-registration.js +99 -0
- package/dist/services/memory-historical-second-review.js +128 -0
- package/dist/services/memory-init-bootstrap-readiness.js +210 -0
- package/dist/services/memory-init-contexts.js +89 -0
- package/dist/services/memory-init-controller-start.js +84 -0
- package/dist/services/memory-init-engine-release.js +223 -0
- package/dist/services/memory-init-git-policy.js +136 -0
- package/dist/services/memory-init-lint-capability.js +185 -0
- package/dist/services/memory-init-native-capacity.js +296 -0
- package/dist/services/memory-init-preflight.js +330 -0
- package/dist/services/memory-init-project-bootstrap.js +599 -0
- package/dist/services/memory-init-request-candidate.js +157 -0
- package/dist/services/memory-init-request-input.js +66 -0
- package/dist/services/memory-init-resource-storage.js +125 -0
- package/dist/services/memory-init-run-allocation.js +81 -0
- package/dist/services/memory-init-run-bundle.js +98 -0
- package/dist/services/memory-init-start.js +181 -0
- package/dist/services/memory-init-startup-custody.js +80 -0
- package/dist/services/memory-init-startup-input.js +240 -0
- package/dist/services/memory-init-storage.js +81 -0
- package/dist/services/memory-init-stores.js +359 -0
- package/dist/services/memory-init-worktrunk-capability.js +178 -0
- package/dist/services/memory-layer-publication.js +611 -0
- package/dist/services/memory-layer.js +156 -0
- package/dist/services/memory-lint-config.js +85 -0
- package/dist/services/memory-native-review-copy.js +165 -0
- package/dist/services/memory-normal-flow-entry.js +75 -0
- package/dist/services/memory-ordinary-defaults.js +112 -0
- package/dist/services/memory-preflight-bootstrap-custody.js +115 -0
- package/dist/services/memory-preflight-handler.js +259 -0
- package/dist/services/memory-repair-current-view.js +299 -0
- package/dist/services/memory-repair-document-delta.js +451 -0
- package/dist/services/memory-repair-history.js +491 -0
- package/dist/services/memory-repair-physical-binding.js +312 -0
- package/dist/services/memory-repair-publication-files.js +152 -0
- package/dist/services/memory-repair-publication-intent.js +27 -0
- package/dist/services/memory-repair-publication-plan.js +160 -0
- package/dist/services/memory-repair-publication-source.js +225 -0
- package/dist/services/memory-repair-publication.js +794 -0
- package/dist/services/memory-repair-registration.js +239 -0
- package/dist/services/memory-repair-work-baseline.js +413 -0
- package/dist/services/memory-repair-work-completion.js +97 -0
- package/dist/services/memory-repair-work-custody.js +73 -0
- package/dist/services/memory-repair-work-results.js +89 -0
- package/dist/services/memory-repair-workspace.js +252 -0
- package/dist/services/memory-repair-writer-copy.js +735 -0
- package/dist/services/memory-result-binding.js +173 -0
- package/dist/services/memory-retained-review-authority.js +129 -0
- package/dist/services/memory-retained-review-results.js +70 -0
- package/dist/services/memory-retained-second-baseline.js +102 -0
- package/dist/services/memory-retained-second-repairs.js +156 -0
- package/dist/services/memory-review-acceptance.js +214 -0
- package/dist/services/memory-review-correction-plan.js +171 -0
- package/dist/services/memory-review-handler.js +585 -0
- package/dist/services/memory-review-inputs.js +200 -0
- package/dist/services/memory-review-receipt.js +180 -0
- package/dist/services/memory-review-registration.js +108 -0
- package/dist/services/memory-review-work-custody.js +124 -0
- package/dist/services/memory-review-work-input.js +72 -0
- package/dist/services/memory-review-work-results.js +73 -0
- package/dist/services/memory-second-corrected-review-inputs.js +165 -0
- package/dist/services/memory-second-correction-plan.js +76 -0
- package/dist/services/memory-second-repair-baseline.js +91 -0
- package/dist/services/memory-second-repair-launch.js +614 -0
- package/dist/services/memory-second-repair-registration.js +88 -0
- package/dist/services/memory-second-repair-source.js +187 -0
- package/dist/services/memory-second-review-acceptance.js +115 -0
- package/dist/services/memory-source-observations.js +117 -0
- package/dist/services/memory-stage-dispatch.js +28 -0
- package/dist/services/memory-stage-results.js +199 -0
- package/dist/services/memory-verification-acceptance.js +135 -0
- package/dist/services/memory-verification-checks.js +252 -0
- package/dist/services/memory-verification-receipt.js +159 -0
- package/dist/services/memory-verify-handler.js +135 -0
- package/dist/services/memory-work-result-preparation.js +63 -0
- package/dist/services/merge-queue.js +228 -149
- package/dist/services/merge-server.js +161 -35
- package/dist/services/migrations.js +37 -16
- package/dist/services/model-catalog.js +109 -0
- package/dist/services/model-discovery.js +46 -0
- package/dist/services/native-daemon-history.js +49 -0
- package/dist/services/native-session-control.js +39 -0
- package/dist/services/operator-profiles.js +236 -0
- package/dist/services/plan-runtime.js +26 -11
- package/dist/services/plans.js +28 -25
- package/dist/services/projects.js +37 -17
- package/dist/services/prompts.js +28 -17
- package/dist/services/protocols.js +163 -87
- package/dist/services/provider-capacity.js +385 -0
- package/dist/services/recovery-observation-budget.js +121 -0
- package/dist/services/recovery-snapshot-database.js +560 -0
- package/dist/services/release-archive-producer.js +52 -0
- package/dist/services/release-archive.js +143 -0
- package/dist/services/release-cache.js +142 -0
- package/dist/services/release-compatibility.js +18 -0
- package/dist/services/release-download.js +67 -0
- package/dist/services/release-envelope.js +104 -0
- package/dist/services/release-manifest.js +45 -0
- package/dist/services/release-payload.js +114 -0
- package/dist/services/release-producer.js +63 -0
- package/dist/services/release-provenance.js +160 -0
- package/dist/services/release-registry.js +66 -0
- package/dist/services/release-source.js +194 -0
- package/dist/services/repair-intents.js +42 -0
- package/dist/services/review-copy.js +165 -0
- package/dist/services/review-deferral.js +23 -0
- package/dist/services/run-control-receipt.js +56 -0
- package/dist/services/run-control-worker.js +411 -0
- package/dist/services/run-control.js +1056 -0
- package/dist/services/run-controller-adapter.js +399 -0
- package/dist/services/run-controller-capture.js +186 -0
- package/dist/services/run-controller-process.js +208 -0
- package/dist/services/run-controller-recovery.js +289 -0
- package/dist/services/run-controller-state.js +97 -0
- package/dist/services/run-controller.js +1205 -0
- package/dist/services/run-engine-bindings.js +1 -1
- package/dist/services/run-fork.js +147 -0
- package/dist/services/run-health.js +149 -0
- package/dist/services/run-observations.js +152 -0
- package/dist/services/run-projection.js +22 -64
- package/dist/services/run-recovery-guard.js +77 -0
- package/dist/services/run-recovery-runtime.js +112 -0
- package/dist/services/run-recovery.js +489 -0
- package/dist/services/run-start-custody.js +177 -0
- package/dist/services/runs.js +1019 -247
- package/dist/services/runtime-budget.js +430 -0
- package/dist/services/runtime-command.js +43 -0
- package/dist/services/runtime-scope-capture.js +52 -0
- package/dist/services/runtime-scope-control.js +468 -0
- package/dist/services/runtime-scope-resume.js +599 -0
- package/dist/services/runtime-scope-stop.js +210 -0
- package/dist/services/runtime-scope-worker.js +287 -0
- package/dist/services/runtime-service.js +96 -0
- package/dist/services/schema-validation.js +10 -8
- package/dist/services/scope-writer-cleanup.js +27 -0
- package/dist/services/sessions.js +35 -69
- package/dist/services/setup.js +377 -0
- package/dist/services/stage-blocker.js +17 -7
- package/dist/services/stage-context.js +193 -19
- package/dist/services/stage-handlers.js +74 -0
- package/dist/services/stage-lifecycle.js +152 -116
- package/dist/services/stage-pause.js +89 -75
- package/dist/services/stage-report-renderer.js +234 -6
- package/dist/services/stage-work-graph.js +52 -0
- package/dist/services/tooling.js +41 -30
- package/dist/services/usage.js +49 -101
- package/dist/services/verification-matrix.js +375 -0
- package/dist/services/vnext-code-review.js +223 -88
- package/dist/services/vnext-code.js +327 -226
- package/dist/services/vnext-contracts.js +10 -1
- package/dist/services/vnext-execution-profile.js +80 -5
- package/dist/services/vnext-fanout.js +311 -19
- package/dist/services/vnext-merge.js +332 -111
- package/dist/services/vnext-plan-review.js +279 -127
- package/dist/services/vnext-plan.js +228 -104
- package/dist/services/vnext-protocolize.js +531 -95
- package/dist/services/vnext-specify.js +119 -81
- package/dist/services/vnext-workspace-policy.js +7 -2
- package/dist/services/work-registry.js +1627 -199
- package/dist/services/workspace-bootstrap.js +52 -15
- package/dist/services/workspace-files.js +85 -0
- package/dist/services/worktrees.js +105 -48
- package/dist/shared/entity-references.js +8 -0
- package/dist/shared/errors.js +27 -0
- package/dist/storage/agent-output.js +26 -0
- package/dist/storage/database.js +891 -39
- package/dist/storage/foreign-key-transaction.js +39 -0
- package/dist/storage/immutable-input.js +45 -0
- package/dist/storage/import-guard.js +102 -0
- package/dist/storage/native-cleanup.js +52 -0
- package/dist/storage/paths.js +17 -4
- package/dist/storage/projection-lock.js +73 -0
- package/dist/storage/work-references.js +23 -0
- package/dist/storage/writer-contract.js +89 -0
- package/dist/storage/writer-migration.js +85 -0
- package/package.json +43 -13
- package/tools/create-canon-release.mjs +33 -0
- package/tools/produce-hybrid-release.mjs +41 -0
- package/tools/repair-paused-run-status.mjs +84 -0
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
export * as OpenCode from "./client.js";
|
|
2
|
+
import { SharedEvents } from "../shared-events.js";
|
|
3
|
+
import { OpenCode } from "./generated/index.js";
|
|
4
|
+
import type { ClientOptions } from "./generated/client.js";
|
|
5
|
+
export type { ClientOptions, RequestOptions } from "./generated/client.js";
|
|
6
|
+
export declare function make(options: ClientOptions): {
|
|
7
|
+
rpc: import("./rpc.js").RpcApi<import("./rpc.js").RpcCallOptions> & {
|
|
8
|
+
call: (input: import("./index.js").RpcCallInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").RpcOutput>;
|
|
9
|
+
};
|
|
10
|
+
event: {
|
|
11
|
+
subscribe(options?: SharedEvents.SubscribeOptions): AsyncIterable<import("./index.js").V2Event>;
|
|
12
|
+
};
|
|
13
|
+
server: {
|
|
14
|
+
info: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ServerInfo>;
|
|
15
|
+
pair: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PairingCode>;
|
|
16
|
+
connect: (input: import("./index.js").ServerConnectInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PairingSession>;
|
|
17
|
+
};
|
|
18
|
+
location: {
|
|
19
|
+
get: (input?: import("./index.js").LocationGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").LocationPublicInfo>;
|
|
20
|
+
reload: (requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
21
|
+
};
|
|
22
|
+
agent: {
|
|
23
|
+
list: (input?: import("./index.js").AgentListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").AgentListOutput>;
|
|
24
|
+
get: (input: import("./index.js").AgentGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").AgentGetOutput>;
|
|
25
|
+
};
|
|
26
|
+
plugin: {
|
|
27
|
+
list: (input?: import("./index.js").PluginListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PluginListOutput>;
|
|
28
|
+
check: (input?: import("./index.js").PluginCheckInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PluginCheckOutput>;
|
|
29
|
+
update: (input: import("./index.js").PluginUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
30
|
+
};
|
|
31
|
+
session: {
|
|
32
|
+
list: (input?: import("./index.js").SessionListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionsResponse>;
|
|
33
|
+
stats: (input?: import("./index.js").SessionStatsInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionStatsInfo>;
|
|
34
|
+
create: (input?: import("./index.js").SessionCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInfo>;
|
|
35
|
+
import: (input: import("./index.js").SessionImportInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInfo>;
|
|
36
|
+
export: (input: import("./index.js").SessionExportInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionTransferData>;
|
|
37
|
+
active: (requestOptions?: OpenCode.RequestOptions) => Promise<{
|
|
38
|
+
[x: string]: import("./index.js").SessionActive;
|
|
39
|
+
}>;
|
|
40
|
+
get: (input: import("./index.js").SessionGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInfo>;
|
|
41
|
+
remove: (input: import("./index.js").SessionRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
42
|
+
fork: (input: import("./index.js").SessionForkInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInfo>;
|
|
43
|
+
switchAgent: (input: import("./index.js").SessionSwitchAgentInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
44
|
+
switchModel: (input: import("./index.js").SessionSwitchModelInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
45
|
+
update: (input: import("./index.js").SessionUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
46
|
+
move: (input: import("./index.js").SessionMoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
47
|
+
prompt: (input: import("./index.js").SessionPromptInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInboxUser>;
|
|
48
|
+
command: (input: import("./index.js").SessionCommandInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
49
|
+
skill: (input: import("./index.js").SessionSkillInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
50
|
+
synthetic: (input: import("./index.js").SessionSyntheticInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInboxSynthetic>;
|
|
51
|
+
shell: (input: import("./index.js").SessionShellInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
52
|
+
compact: (input: import("./index.js").SessionCompactInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInboxCompaction>;
|
|
53
|
+
wait: (input: import("./index.js").SessionWaitInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
54
|
+
revert: {
|
|
55
|
+
stage: (input: import("./index.js").SessionRevertStageInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionRevert>;
|
|
56
|
+
clear: (input: import("./index.js").SessionRevertClearInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
57
|
+
commit: (input: import("./index.js").SessionRevertCommitInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
58
|
+
};
|
|
59
|
+
context: (input: import("./index.js").SessionContextInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageInfo[]>;
|
|
60
|
+
diff: (input: import("./index.js").SessionDiffInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileDiffInfo[]>;
|
|
61
|
+
inbox: {
|
|
62
|
+
list: (input: import("./index.js").SessionInboxListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInboxInfo[]>;
|
|
63
|
+
cancel: (input: import("./index.js").SessionInboxCancelInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
64
|
+
update: (input: import("./index.js").SessionInboxUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
65
|
+
};
|
|
66
|
+
instructions: {
|
|
67
|
+
entry: {
|
|
68
|
+
list: (input: import("./index.js").SessionInstructionsEntryListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").InstructionEntryInfo[]>;
|
|
69
|
+
put: (input: import("./index.js").SessionInstructionsEntryPutInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
70
|
+
remove: (input: import("./index.js").SessionInstructionsEntryRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
generate: (input: import("./index.js").SessionGenerateInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
|
|
74
|
+
text: string;
|
|
75
|
+
}>;
|
|
76
|
+
log: (input: import("./index.js").SessionLogInput, requestOptions?: OpenCode.RequestOptions) => AsyncIterable<import("./index.js").SessionLogOutput>;
|
|
77
|
+
interrupt: (input: import("./index.js").SessionInterruptInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInterruptResponse>;
|
|
78
|
+
background: (input: import("./index.js").SessionBackgroundInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
79
|
+
message: {
|
|
80
|
+
get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").SessionMessageSynthetic | import("./index.js").SessionMessageSystem | import("./index.js").SessionMessageCompactionRunning | import("./index.js").SessionMessageSkill | import("./index.js").SessionMessageShell | import("./index.js").SessionMessageCompactionFailed | import("./index.js").SessionMessageIdle | import("./index.js").SessionMessageLocationSwitched | import("./index.js").SessionMessageModelSelected | import("./index.js").SessionMessageUser | import("./index.js").SessionMessageCompactionCompleted | import("./index.js").SessionMessageAssistant>;
|
|
81
|
+
};
|
|
82
|
+
form: {
|
|
83
|
+
list: (input: import("./index.js").SessionFormListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormInfo[]>;
|
|
84
|
+
create: (input: import("./index.js").SessionFormCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormInfo>;
|
|
85
|
+
get: (input: import("./index.js").SessionFormGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormDetail>;
|
|
86
|
+
reply: (input: import("./index.js").SessionFormReplyInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
87
|
+
cancel: (input: import("./index.js").SessionFormCancelInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
88
|
+
};
|
|
89
|
+
environment: (input: import("./index.js").SessionEnvironmentInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
90
|
+
view: (input: import("./index.js").SessionViewInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
91
|
+
};
|
|
92
|
+
message: {
|
|
93
|
+
list: (input: import("./index.js").MessageListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessagesResponse>;
|
|
94
|
+
};
|
|
95
|
+
model: {
|
|
96
|
+
list: (input?: import("./index.js").ModelListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ModelListOutput>;
|
|
97
|
+
default: (input?: import("./index.js").ModelDefaultInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ModelDefaultOutput>;
|
|
98
|
+
};
|
|
99
|
+
generate: {
|
|
100
|
+
text: (input: import("./index.js").GenerateTextInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
|
|
101
|
+
text: string;
|
|
102
|
+
}>;
|
|
103
|
+
};
|
|
104
|
+
provider: {
|
|
105
|
+
list: (input?: import("./index.js").ProviderListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ProviderListOutput>;
|
|
106
|
+
get: (input: import("./index.js").ProviderGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ProviderGetOutput>;
|
|
107
|
+
};
|
|
108
|
+
integration: {
|
|
109
|
+
list: (input?: import("./index.js").IntegrationListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").IntegrationListOutput>;
|
|
110
|
+
get: (input: import("./index.js").IntegrationGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").IntegrationGetOutput>;
|
|
111
|
+
wellknown: {
|
|
112
|
+
add: (input: import("./index.js").IntegrationWellknownAddInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
113
|
+
};
|
|
114
|
+
connect: {
|
|
115
|
+
key: (input: import("./index.js").IntegrationConnectKeyInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
116
|
+
external: (input: import("./index.js").IntegrationConnectExternalInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
117
|
+
};
|
|
118
|
+
oauth: {
|
|
119
|
+
connect: (input: import("./index.js").IntegrationOauthConnectInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").IntegrationOauthConnectOutput>;
|
|
120
|
+
status: (input: import("./index.js").IntegrationOauthStatusInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").IntegrationOauthStatusOutput>;
|
|
121
|
+
complete: (input: import("./index.js").IntegrationOauthCompleteInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
122
|
+
cancel: (input: import("./index.js").IntegrationOauthCancelInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
123
|
+
};
|
|
124
|
+
command: {
|
|
125
|
+
connect: (input: import("./index.js").IntegrationCommandConnectInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").IntegrationCommandConnectOutput>;
|
|
126
|
+
status: (input: import("./index.js").IntegrationCommandStatusInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").IntegrationCommandStatusOutput>;
|
|
127
|
+
cancel: (input: import("./index.js").IntegrationCommandCancelInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
mcp: {
|
|
131
|
+
list: (input?: import("./index.js").McpListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").McpListOutput>;
|
|
132
|
+
add: (input: import("./index.js").McpAddInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
133
|
+
remove: (input: import("./index.js").McpRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
134
|
+
connect: (input: import("./index.js").McpConnectInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
135
|
+
disconnect: (input: import("./index.js").McpDisconnectInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
136
|
+
resource: {
|
|
137
|
+
catalog: (input?: import("./index.js").McpResourceCatalogInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").McpResourceCatalogOutput>;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
credential: {
|
|
141
|
+
list: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CredentialEntry[]>;
|
|
142
|
+
create: (input: import("./index.js").CredentialCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CredentialEntry>;
|
|
143
|
+
update: (input: import("./index.js").CredentialUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
144
|
+
activate: (input: import("./index.js").CredentialActivateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
145
|
+
remove: (input: import("./index.js").CredentialRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
146
|
+
};
|
|
147
|
+
project: {
|
|
148
|
+
list: (input?: import("./index.js").ProjectListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ProjectListOutput>;
|
|
149
|
+
update: (input: import("./index.js").ProjectUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").Project>;
|
|
150
|
+
};
|
|
151
|
+
form: {
|
|
152
|
+
list: (input?: import("./index.js").FormListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormListOutput>;
|
|
153
|
+
};
|
|
154
|
+
permission: {
|
|
155
|
+
request: {
|
|
156
|
+
list: (input?: import("./index.js").PermissionRequestListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionRequestListOutput>;
|
|
157
|
+
};
|
|
158
|
+
saved: {
|
|
159
|
+
list: (input?: import("./index.js").PermissionSavedListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionSavedInfo[]>;
|
|
160
|
+
remove: (input: import("./index.js").PermissionSavedRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
161
|
+
};
|
|
162
|
+
create: (input: import("./index.js").PermissionCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
|
|
163
|
+
id: import("./index.js").PermissionID;
|
|
164
|
+
effect: import("./index.js").PermissionEffect;
|
|
165
|
+
}>;
|
|
166
|
+
list: (input: import("./index.js").PermissionListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionRequest[]>;
|
|
167
|
+
get: (input: import("./index.js").PermissionGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionRequest>;
|
|
168
|
+
reply: (input: import("./index.js").PermissionReplyInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
169
|
+
};
|
|
170
|
+
file: {
|
|
171
|
+
read: (input: import("./index.js").FileReadInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileReadOutput>;
|
|
172
|
+
list: (input?: import("./index.js").FileListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileListOutput>;
|
|
173
|
+
find: (input: import("./index.js").FileFindInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileFindOutput>;
|
|
174
|
+
write: (input: import("./index.js").FileWriteInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FileWriteOutput>;
|
|
175
|
+
};
|
|
176
|
+
command: {
|
|
177
|
+
list: (input?: import("./index.js").CommandListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").CommandListOutput>;
|
|
178
|
+
};
|
|
179
|
+
skill: {
|
|
180
|
+
list: (input?: import("./index.js").SkillListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SkillListOutput>;
|
|
181
|
+
};
|
|
182
|
+
pty: {
|
|
183
|
+
list: (input?: import("./index.js").PtyListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PtyListOutput>;
|
|
184
|
+
create: (input?: import("./index.js").PtyCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PtyCreateOutput>;
|
|
185
|
+
get: (input: import("./index.js").PtyGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PtyGetOutput>;
|
|
186
|
+
update: (input: import("./index.js").PtyUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PtyUpdateOutput>;
|
|
187
|
+
remove: (input: import("./index.js").PtyRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
188
|
+
connect: {
|
|
189
|
+
token: (input: import("./index.js").PtyConnectTokenInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PtyConnectTokenOutput>;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
experimental: {
|
|
193
|
+
persistentPty: {
|
|
194
|
+
read: (input: import("./index.js").ExperimentalPersistentPtyReadInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PersistentPtyReadResult | null>;
|
|
195
|
+
list: (input: import("./index.js").ExperimentalPersistentPtyListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PersistentPtyInfo[]>;
|
|
196
|
+
create: (input: import("./index.js").ExperimentalPersistentPtyCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PersistentPtyInfo>;
|
|
197
|
+
shutdown: (requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
198
|
+
handoff: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ExperimentalPersistentPtyHandoffOutput>;
|
|
199
|
+
get: (input: import("./index.js").ExperimentalPersistentPtyGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PersistentPtyInfo>;
|
|
200
|
+
update: (input: import("./index.js").ExperimentalPersistentPtyUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PersistentPtyInfo>;
|
|
201
|
+
snapshot: (input: import("./index.js").ExperimentalPersistentPtySnapshotInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PersistentPtySnapshot>;
|
|
202
|
+
remove: (input: import("./index.js").ExperimentalPersistentPtyRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
203
|
+
connectToken: (input: import("./index.js").ExperimentalPersistentPtyConnectTokenInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PtyTicketConnectToken>;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
shell: {
|
|
207
|
+
list: (input?: import("./index.js").ShellListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ShellListOutput>;
|
|
208
|
+
create: (input: import("./index.js").ShellCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ShellCreateOutput>;
|
|
209
|
+
get: (input: import("./index.js").ShellGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ShellGetOutput>;
|
|
210
|
+
output: (input: import("./index.js").ShellOutputInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ShellOutputOutput>;
|
|
211
|
+
remove: (input: import("./index.js").ShellRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
212
|
+
};
|
|
213
|
+
reference: {
|
|
214
|
+
list: (input?: import("./index.js").ReferenceListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ReferenceListOutput>;
|
|
215
|
+
};
|
|
216
|
+
worktree: {
|
|
217
|
+
list: (input: import("./index.js").WorktreeListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").WorktreeList>;
|
|
218
|
+
create: (input: import("./index.js").WorktreeCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").WorktreeInfo>;
|
|
219
|
+
remove: (input: import("./index.js").WorktreeRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
220
|
+
refresh: (input: import("./index.js").WorktreeRefreshInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
221
|
+
};
|
|
222
|
+
vcs: {
|
|
223
|
+
init: (input?: import("./index.js").VcsInitInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
224
|
+
get: (input?: import("./index.js").VcsGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").VcsGetOutput>;
|
|
225
|
+
base: (input?: import("./index.js").VcsBaseInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").VcsBaseOutput>;
|
|
226
|
+
status: (input?: import("./index.js").VcsStatusInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").VcsStatusOutput>;
|
|
227
|
+
branch: {
|
|
228
|
+
list: (input?: import("./index.js").VcsBranchListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").VcsBranchListOutput>;
|
|
229
|
+
};
|
|
230
|
+
diff: (input: import("./index.js").VcsDiffInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").VcsDiffOutput>;
|
|
231
|
+
};
|
|
232
|
+
debug: {
|
|
233
|
+
location: {
|
|
234
|
+
list: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").DebugLocationListOutput>;
|
|
235
|
+
evict: (input?: import("./index.js").DebugLocationEvictInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
migration: {
|
|
239
|
+
v1: {
|
|
240
|
+
status: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").MigrationV1StatusOutput>;
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
websearch: {
|
|
244
|
+
providers: (input?: import("./index.js").WebsearchProvidersInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").WebsearchProvidersOutput>;
|
|
245
|
+
query: (input: import("./index.js").WebsearchQueryInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").WebsearchQueryOutput>;
|
|
246
|
+
};
|
|
247
|
+
config: {
|
|
248
|
+
get: (input?: import("./index.js").ConfigGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ConfigGetOutput>;
|
|
249
|
+
shells: (requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").ConfigShellsOutput>;
|
|
250
|
+
update: (input: import("./index.js").ConfigUpdateInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
make5,
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/service-probe-wjyeq25y.js";
|
|
5
|
+
import"../chunks/service-probe-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-probe-ecs5ftka.js";
|
|
7
|
+
import"../chunks/service-probe-1y4a697q.js";
|
|
8
|
+
import"../chunks/service-probe-nwcpakzx.js";
|
|
9
|
+
import"../chunks/service-probe-vt9jbch8.js";
|
|
10
|
+
import"../chunks/service-probe-frbwqjmf.js";
|
|
11
|
+
export {
|
|
12
|
+
exports_client3 as OpenCode,
|
|
13
|
+
make5 as make
|
|
14
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type ClientErrorReason = "Transport" | "UnexpectedStatus" | "UnsupportedContentType" | "MalformedResponse" | "SseEventTooLarge";
|
|
2
|
+
export declare class ClientError extends Error {
|
|
3
|
+
readonly reason: ClientErrorReason;
|
|
4
|
+
readonly name = "ClientError";
|
|
5
|
+
constructor(reason: ClientErrorReason, options?: ErrorOptions & {
|
|
6
|
+
readonly detail?: string | null;
|
|
7
|
+
});
|
|
8
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import type { ServerConnectInput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionStatsInput, SessionCreateInput, SessionImportInput, SessionExportInput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSkillInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionWaitInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionDiffInput, SessionInboxListInput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionInstructionsEntryListInput, SessionInstructionsEntryPutInput, SessionInstructionsEntryRemoveInput, SessionGenerateInput, SessionLogInput, SessionLogOutput, SessionInterruptInput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, MessageListInput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, GenerateTextInput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationWellknownAddInput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, McpListInput, McpListOutput, McpAddInput, McpRemoveInput, McpConnectInput, McpDisconnectInput, McpResourceCatalogInput, McpResourceCatalogOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionListInput, PermissionGetInput, PermissionReplyInput, FileReadInput, FileReadOutput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, FileWriteInput, FileWriteOutput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, EventSubscribeOutput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugLocationListOutput, DebugLocationEvictInput, MigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ConfigUpdateInput } from "./types.js";
|
|
2
|
+
export interface ClientOptions {
|
|
3
|
+
readonly baseUrl: string;
|
|
4
|
+
readonly fetch?: typeof globalThis.fetch;
|
|
5
|
+
readonly headers?: RequestInit["headers"];
|
|
6
|
+
}
|
|
7
|
+
export interface RequestOptions {
|
|
8
|
+
readonly signal?: AbortSignal;
|
|
9
|
+
readonly headers?: RequestInit["headers"];
|
|
10
|
+
/** Reports every chunk a streaming response receives, including keepalive comments that yield no event. */
|
|
11
|
+
readonly onActivity?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function make(options: ClientOptions): {
|
|
14
|
+
server: {
|
|
15
|
+
info: (requestOptions?: RequestOptions) => Promise<import("./types.js").ServerInfo>;
|
|
16
|
+
pair: (requestOptions?: RequestOptions) => Promise<import("./types.js").PairingCode>;
|
|
17
|
+
connect: (input: ServerConnectInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PairingSession>;
|
|
18
|
+
};
|
|
19
|
+
location: {
|
|
20
|
+
get: (input?: LocationGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").LocationPublicInfo>;
|
|
21
|
+
reload: (requestOptions?: RequestOptions) => Promise<void>;
|
|
22
|
+
};
|
|
23
|
+
agent: {
|
|
24
|
+
list: (input?: AgentListInput, requestOptions?: RequestOptions) => Promise<AgentListOutput>;
|
|
25
|
+
get: (input: AgentGetInput, requestOptions?: RequestOptions) => Promise<AgentGetOutput>;
|
|
26
|
+
};
|
|
27
|
+
plugin: {
|
|
28
|
+
list: (input?: PluginListInput, requestOptions?: RequestOptions) => Promise<PluginListOutput>;
|
|
29
|
+
check: (input?: PluginCheckInput, requestOptions?: RequestOptions) => Promise<PluginCheckOutput>;
|
|
30
|
+
update: (input: PluginUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
31
|
+
};
|
|
32
|
+
session: {
|
|
33
|
+
list: (input?: SessionListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionsResponse>;
|
|
34
|
+
stats: (input?: SessionStatsInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionStatsInfo>;
|
|
35
|
+
create: (input?: SessionCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
36
|
+
import: (input: SessionImportInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
37
|
+
export: (input: SessionExportInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionTransferData>;
|
|
38
|
+
active: (requestOptions?: RequestOptions) => Promise<{
|
|
39
|
+
[x: string]: import("./types.js").SessionActive;
|
|
40
|
+
}>;
|
|
41
|
+
get: (input: SessionGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
42
|
+
remove: (input: SessionRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
43
|
+
fork: (input: SessionForkInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInfo>;
|
|
44
|
+
switchAgent: (input: SessionSwitchAgentInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
45
|
+
switchModel: (input: SessionSwitchModelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
46
|
+
update: (input: SessionUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
47
|
+
move: (input: SessionMoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
48
|
+
prompt: (input: SessionPromptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxUser>;
|
|
49
|
+
command: (input: SessionCommandInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
50
|
+
skill: (input: SessionSkillInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
51
|
+
synthetic: (input: SessionSyntheticInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxSynthetic>;
|
|
52
|
+
shell: (input: SessionShellInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
53
|
+
compact: (input: SessionCompactInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxCompaction>;
|
|
54
|
+
wait: (input: SessionWaitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
55
|
+
revert: {
|
|
56
|
+
stage: (input: SessionRevertStageInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionRevert>;
|
|
57
|
+
clear: (input: SessionRevertClearInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
58
|
+
commit: (input: SessionRevertCommitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
59
|
+
};
|
|
60
|
+
context: (input: SessionContextInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageInfo[]>;
|
|
61
|
+
diff: (input: SessionDiffInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FileDiffInfo[]>;
|
|
62
|
+
inbox: {
|
|
63
|
+
list: (input: SessionInboxListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInboxInfo[]>;
|
|
64
|
+
cancel: (input: SessionInboxCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
65
|
+
update: (input: SessionInboxUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
66
|
+
};
|
|
67
|
+
instructions: {
|
|
68
|
+
entry: {
|
|
69
|
+
list: (input: SessionInstructionsEntryListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").InstructionEntryInfo[]>;
|
|
70
|
+
put: (input: SessionInstructionsEntryPutInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
71
|
+
remove: (input: SessionInstructionsEntryRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
generate: (input: SessionGenerateInput, requestOptions?: RequestOptions) => Promise<{
|
|
75
|
+
text: string;
|
|
76
|
+
}>;
|
|
77
|
+
log: (input: SessionLogInput, requestOptions?: RequestOptions) => AsyncIterable<SessionLogOutput>;
|
|
78
|
+
interrupt: (input: SessionInterruptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInterruptResponse>;
|
|
79
|
+
background: (input: SessionBackgroundInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
80
|
+
message: {
|
|
81
|
+
get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageSkill | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageUser | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageAssistant>;
|
|
82
|
+
};
|
|
83
|
+
form: {
|
|
84
|
+
list: (input: SessionFormListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo[]>;
|
|
85
|
+
create: (input: SessionFormCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo>;
|
|
86
|
+
get: (input: SessionFormGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormDetail>;
|
|
87
|
+
reply: (input: SessionFormReplyInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
88
|
+
cancel: (input: SessionFormCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
89
|
+
};
|
|
90
|
+
environment: (input: SessionEnvironmentInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
91
|
+
view: (input: SessionViewInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
92
|
+
};
|
|
93
|
+
message: {
|
|
94
|
+
list: (input: MessageListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessagesResponse>;
|
|
95
|
+
};
|
|
96
|
+
model: {
|
|
97
|
+
list: (input?: ModelListInput, requestOptions?: RequestOptions) => Promise<ModelListOutput>;
|
|
98
|
+
default: (input?: ModelDefaultInput, requestOptions?: RequestOptions) => Promise<ModelDefaultOutput>;
|
|
99
|
+
};
|
|
100
|
+
generate: {
|
|
101
|
+
text: (input: GenerateTextInput, requestOptions?: RequestOptions) => Promise<{
|
|
102
|
+
text: string;
|
|
103
|
+
}>;
|
|
104
|
+
};
|
|
105
|
+
provider: {
|
|
106
|
+
list: (input?: ProviderListInput, requestOptions?: RequestOptions) => Promise<ProviderListOutput>;
|
|
107
|
+
get: (input: ProviderGetInput, requestOptions?: RequestOptions) => Promise<ProviderGetOutput>;
|
|
108
|
+
};
|
|
109
|
+
integration: {
|
|
110
|
+
list: (input?: IntegrationListInput, requestOptions?: RequestOptions) => Promise<IntegrationListOutput>;
|
|
111
|
+
get: (input: IntegrationGetInput, requestOptions?: RequestOptions) => Promise<IntegrationGetOutput>;
|
|
112
|
+
wellknown: {
|
|
113
|
+
add: (input: IntegrationWellknownAddInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
114
|
+
};
|
|
115
|
+
connect: {
|
|
116
|
+
key: (input: IntegrationConnectKeyInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
117
|
+
external: (input: IntegrationConnectExternalInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
118
|
+
};
|
|
119
|
+
oauth: {
|
|
120
|
+
connect: (input: IntegrationOauthConnectInput, requestOptions?: RequestOptions) => Promise<IntegrationOauthConnectOutput>;
|
|
121
|
+
status: (input: IntegrationOauthStatusInput, requestOptions?: RequestOptions) => Promise<IntegrationOauthStatusOutput>;
|
|
122
|
+
complete: (input: IntegrationOauthCompleteInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
123
|
+
cancel: (input: IntegrationOauthCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
124
|
+
};
|
|
125
|
+
command: {
|
|
126
|
+
connect: (input: IntegrationCommandConnectInput, requestOptions?: RequestOptions) => Promise<IntegrationCommandConnectOutput>;
|
|
127
|
+
status: (input: IntegrationCommandStatusInput, requestOptions?: RequestOptions) => Promise<IntegrationCommandStatusOutput>;
|
|
128
|
+
cancel: (input: IntegrationCommandCancelInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
mcp: {
|
|
132
|
+
list: (input?: McpListInput, requestOptions?: RequestOptions) => Promise<McpListOutput>;
|
|
133
|
+
add: (input: McpAddInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
134
|
+
remove: (input: McpRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
135
|
+
connect: (input: McpConnectInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
136
|
+
disconnect: (input: McpDisconnectInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
137
|
+
resource: {
|
|
138
|
+
catalog: (input?: McpResourceCatalogInput, requestOptions?: RequestOptions) => Promise<McpResourceCatalogOutput>;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
credential: {
|
|
142
|
+
list: (requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry[]>;
|
|
143
|
+
create: (input: CredentialCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").CredentialEntry>;
|
|
144
|
+
update: (input: CredentialUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
145
|
+
activate: (input: CredentialActivateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
146
|
+
remove: (input: CredentialRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
147
|
+
};
|
|
148
|
+
project: {
|
|
149
|
+
list: (input?: ProjectListInput, requestOptions?: RequestOptions) => Promise<ProjectListOutput>;
|
|
150
|
+
update: (input: ProjectUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").Project>;
|
|
151
|
+
};
|
|
152
|
+
form: {
|
|
153
|
+
list: (input?: FormListInput, requestOptions?: RequestOptions) => Promise<FormListOutput>;
|
|
154
|
+
};
|
|
155
|
+
permission: {
|
|
156
|
+
request: {
|
|
157
|
+
list: (input?: PermissionRequestListInput, requestOptions?: RequestOptions) => Promise<PermissionRequestListOutput>;
|
|
158
|
+
};
|
|
159
|
+
saved: {
|
|
160
|
+
list: (input?: PermissionSavedListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionSavedInfo[]>;
|
|
161
|
+
remove: (input: PermissionSavedRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
162
|
+
};
|
|
163
|
+
create: (input: PermissionCreateInput, requestOptions?: RequestOptions) => Promise<{
|
|
164
|
+
id: import("./types.js").PermissionID;
|
|
165
|
+
effect: import("./types.js").PermissionEffect;
|
|
166
|
+
}>;
|
|
167
|
+
list: (input: PermissionListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionRequest[]>;
|
|
168
|
+
get: (input: PermissionGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionRequest>;
|
|
169
|
+
reply: (input: PermissionReplyInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
170
|
+
};
|
|
171
|
+
file: {
|
|
172
|
+
read: (input: FileReadInput, requestOptions?: RequestOptions) => Promise<FileReadOutput>;
|
|
173
|
+
list: (input?: FileListInput, requestOptions?: RequestOptions) => Promise<FileListOutput>;
|
|
174
|
+
find: (input: FileFindInput, requestOptions?: RequestOptions) => Promise<FileFindOutput>;
|
|
175
|
+
write: (input: FileWriteInput, requestOptions?: RequestOptions) => Promise<FileWriteOutput>;
|
|
176
|
+
};
|
|
177
|
+
command: {
|
|
178
|
+
list: (input?: CommandListInput, requestOptions?: RequestOptions) => Promise<CommandListOutput>;
|
|
179
|
+
};
|
|
180
|
+
skill: {
|
|
181
|
+
list: (input?: SkillListInput, requestOptions?: RequestOptions) => Promise<SkillListOutput>;
|
|
182
|
+
};
|
|
183
|
+
rpc: {
|
|
184
|
+
call: (input: RpcCallInput, requestOptions?: RequestOptions) => Promise<import("./types.js").RpcOutput>;
|
|
185
|
+
};
|
|
186
|
+
event: {
|
|
187
|
+
subscribe: (requestOptions?: RequestOptions) => AsyncIterable<EventSubscribeOutput>;
|
|
188
|
+
};
|
|
189
|
+
pty: {
|
|
190
|
+
list: (input?: PtyListInput, requestOptions?: RequestOptions) => Promise<PtyListOutput>;
|
|
191
|
+
create: (input?: PtyCreateInput, requestOptions?: RequestOptions) => Promise<PtyCreateOutput>;
|
|
192
|
+
get: (input: PtyGetInput, requestOptions?: RequestOptions) => Promise<PtyGetOutput>;
|
|
193
|
+
update: (input: PtyUpdateInput, requestOptions?: RequestOptions) => Promise<PtyUpdateOutput>;
|
|
194
|
+
remove: (input: PtyRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
195
|
+
connect: {
|
|
196
|
+
token: (input: PtyConnectTokenInput, requestOptions?: RequestOptions) => Promise<PtyConnectTokenOutput>;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
experimental: {
|
|
200
|
+
persistentPty: {
|
|
201
|
+
read: (input: ExperimentalPersistentPtyReadInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyReadResult | null>;
|
|
202
|
+
list: (input: ExperimentalPersistentPtyListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo[]>;
|
|
203
|
+
create: (input: ExperimentalPersistentPtyCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo>;
|
|
204
|
+
shutdown: (requestOptions?: RequestOptions) => Promise<void>;
|
|
205
|
+
handoff: (requestOptions?: RequestOptions) => Promise<ExperimentalPersistentPtyHandoffOutput>;
|
|
206
|
+
get: (input: ExperimentalPersistentPtyGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo>;
|
|
207
|
+
update: (input: ExperimentalPersistentPtyUpdateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtyInfo>;
|
|
208
|
+
snapshot: (input: ExperimentalPersistentPtySnapshotInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PersistentPtySnapshot>;
|
|
209
|
+
remove: (input: ExperimentalPersistentPtyRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
210
|
+
connectToken: (input: ExperimentalPersistentPtyConnectTokenInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PtyTicketConnectToken>;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
shell: {
|
|
214
|
+
list: (input?: ShellListInput, requestOptions?: RequestOptions) => Promise<ShellListOutput>;
|
|
215
|
+
create: (input: ShellCreateInput, requestOptions?: RequestOptions) => Promise<ShellCreateOutput>;
|
|
216
|
+
get: (input: ShellGetInput, requestOptions?: RequestOptions) => Promise<ShellGetOutput>;
|
|
217
|
+
output: (input: ShellOutputInput, requestOptions?: RequestOptions) => Promise<ShellOutputOutput>;
|
|
218
|
+
remove: (input: ShellRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
219
|
+
};
|
|
220
|
+
reference: {
|
|
221
|
+
list: (input?: ReferenceListInput, requestOptions?: RequestOptions) => Promise<ReferenceListOutput>;
|
|
222
|
+
};
|
|
223
|
+
worktree: {
|
|
224
|
+
list: (input: WorktreeListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").WorktreeList>;
|
|
225
|
+
create: (input: WorktreeCreateInput, requestOptions?: RequestOptions) => Promise<import("./types.js").WorktreeInfo>;
|
|
226
|
+
remove: (input: WorktreeRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
227
|
+
refresh: (input: WorktreeRefreshInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
228
|
+
};
|
|
229
|
+
vcs: {
|
|
230
|
+
init: (input?: VcsInitInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
231
|
+
get: (input?: VcsGetInput, requestOptions?: RequestOptions) => Promise<VcsGetOutput>;
|
|
232
|
+
base: (input?: VcsBaseInput, requestOptions?: RequestOptions) => Promise<VcsBaseOutput>;
|
|
233
|
+
status: (input?: VcsStatusInput, requestOptions?: RequestOptions) => Promise<VcsStatusOutput>;
|
|
234
|
+
branch: {
|
|
235
|
+
list: (input?: VcsBranchListInput, requestOptions?: RequestOptions) => Promise<VcsBranchListOutput>;
|
|
236
|
+
};
|
|
237
|
+
diff: (input: VcsDiffInput, requestOptions?: RequestOptions) => Promise<VcsDiffOutput>;
|
|
238
|
+
};
|
|
239
|
+
debug: {
|
|
240
|
+
location: {
|
|
241
|
+
list: (requestOptions?: RequestOptions) => Promise<DebugLocationListOutput>;
|
|
242
|
+
evict: (input?: DebugLocationEvictInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
migration: {
|
|
246
|
+
v1: {
|
|
247
|
+
status: (requestOptions?: RequestOptions) => Promise<MigrationV1StatusOutput>;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
websearch: {
|
|
251
|
+
providers: (input?: WebsearchProvidersInput, requestOptions?: RequestOptions) => Promise<WebsearchProvidersOutput>;
|
|
252
|
+
query: (input: WebsearchQueryInput, requestOptions?: RequestOptions) => Promise<WebsearchQueryOutput>;
|
|
253
|
+
};
|
|
254
|
+
config: {
|
|
255
|
+
get: (input?: ConfigGetInput, requestOptions?: RequestOptions) => Promise<ConfigGetOutput>;
|
|
256
|
+
shells: (requestOptions?: RequestOptions) => Promise<ConfigShellsOutput>;
|
|
257
|
+
update: (input: ConfigUpdateInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
258
|
+
};
|
|
259
|
+
};
|