@interf/compiler 0.13.0 → 0.18.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/LICENSE.md +1 -0
- package/README.md +50 -7
- package/TRADEMARKS.md +4 -4
- package/agent-skills/interf-actions/SKILL.md +51 -5
- package/agent-skills/interf-actions/references/cli.md +82 -82
- package/builtin-methods/interf-default/README.md +6 -7
- package/builtin-methods/interf-default/method.json +7 -68
- package/builtin-methods/interf-default/method.schema.json +52 -50
- package/dist/cli/commands/agents.d.ts +2 -0
- package/dist/cli/commands/agents.js +213 -0
- package/dist/cli/commands/compile.js +10 -1
- package/dist/cli/commands/doctor.js +1 -1
- package/dist/cli/commands/login.js +1 -1
- package/dist/cli/commands/logout.js +1 -1
- package/dist/cli/commands/mcp.d.ts +42 -0
- package/dist/cli/commands/mcp.js +239 -0
- package/dist/cli/commands/method.js +1 -1
- package/dist/cli/commands/prep.js +81 -7
- package/dist/cli/commands/reset.js +1 -1
- package/dist/cli/commands/runs.js +1 -1
- package/dist/cli/commands/status.js +1 -1
- package/dist/cli/commands/verify.d.ts +10 -0
- package/dist/cli/commands/{test.js → verify.js} +30 -15
- package/dist/cli/commands/web.js +71 -18
- package/dist/cli/commands/wizard.js +462 -107
- package/dist/cli/index.d.ts +4 -2
- package/dist/cli/index.js +7 -3
- package/dist/compiler-ui/404.html +1 -1
- package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
- package/dist/compiler-ui/__next._full.txt +3 -3
- package/dist/compiler-ui/__next._head.txt +1 -1
- package/dist/compiler-ui/__next._index.txt +2 -2
- package/dist/compiler-ui/__next._tree.txt +2 -2
- package/dist/compiler-ui/_next/static/chunks/{045gole2ojo3g.css → 0_c_tvh-cukjz.css} +1 -1
- package/dist/compiler-ui/_next/static/chunks/0f_geuwdesg_c.js +114 -0
- package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
- package/dist/compiler-ui/_not-found.html +1 -1
- package/dist/compiler-ui/_not-found.txt +2 -2
- package/dist/compiler-ui/index.html +1 -1
- package/dist/compiler-ui/index.txt +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/packages/contracts/index.d.ts +2 -1
- package/dist/packages/contracts/index.js +1 -0
- package/dist/packages/contracts/lib/schema.d.ts +324 -31
- package/dist/packages/contracts/lib/schema.js +281 -21
- package/dist/packages/{local-service → engine}/action-definitions.js +9 -2
- package/dist/packages/{local-service → engine}/action-planner.d.ts +1 -1
- package/dist/packages/{local-service → engine}/action-planner.js +1 -1
- package/dist/packages/{agents → engine/agents}/index.d.ts +3 -0
- package/dist/packages/{agents → engine/agents}/index.js +3 -0
- package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.js +2 -2
- package/dist/packages/engine/agents/lib/detection.d.ts +13 -0
- package/dist/packages/{agents → engine/agents}/lib/detection.js +11 -0
- package/dist/packages/{agents → engine/agents}/lib/executors.d.ts +2 -2
- package/dist/packages/{agents → engine/agents}/lib/shells.d.ts +14 -6
- package/dist/packages/{agents → engine/agents}/lib/shells.js +133 -126
- package/dist/packages/{agents → engine/agents}/lib/user-config.js +2 -2
- package/dist/packages/engine/agents/registry.d.ts +91 -0
- package/dist/packages/engine/agents/registry.js +321 -0
- package/dist/packages/engine/agents/role-executors.d.ts +35 -0
- package/dist/packages/engine/agents/role-executors.js +88 -0
- package/dist/packages/engine/agents/role-router.d.ts +66 -0
- package/dist/packages/engine/agents/role-router.js +73 -0
- package/dist/packages/{local-service → engine}/client.d.ts +9 -9
- package/dist/packages/{local-service → engine}/client.js +11 -11
- package/dist/packages/engine/cloud-seams.d.ts +115 -0
- package/dist/packages/engine/cloud-seams.js +84 -0
- package/dist/packages/engine/compile/artifact-counts.d.ts +1 -0
- package/dist/packages/{compiler → engine/compile}/artifact-counts.js +4 -4
- package/dist/packages/engine/compile/artifact-status.d.ts +41 -0
- package/dist/packages/engine/compile/artifact-status.js +166 -0
- package/dist/packages/engine/compile/billing-events.d.ts +89 -0
- package/dist/packages/engine/compile/billing-events.js +74 -0
- package/dist/packages/engine/compile/check-evaluator.d.ts +66 -0
- package/dist/packages/engine/compile/check-evaluator.js +298 -0
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.d.ts +12 -1
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.js +16 -6
- package/dist/packages/engine/compile/compiled-schema.d.ts +21 -0
- package/dist/packages/engine/compile/compiled-schema.js +126 -0
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.d.ts +2 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.js +35 -18
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.js +4 -4
- package/dist/packages/{compiler → engine/compile}/compiled-target.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/compiled-target.js +2 -2
- package/dist/packages/{compiler → engine/compile}/discovery.js +1 -1
- package/dist/packages/{compiler → engine/compile}/index.d.ts +0 -1
- package/dist/packages/{compiler → engine/compile}/index.js +0 -1
- package/dist/packages/{compiler → engine/compile}/lib/schema.d.ts +113 -94
- package/dist/packages/{compiler → engine/compile}/lib/schema.js +35 -39
- package/dist/packages/engine/compile/method-primitives.d.ts +2 -0
- package/dist/packages/{compiler → engine/compile}/method-primitives.js +1 -1
- package/dist/packages/{compiler → engine/compile}/method-runs.d.ts +3 -3
- package/dist/packages/{compiler → engine/compile}/method-runs.js +3 -3
- package/dist/packages/{compiler → engine/compile}/reset.js +4 -4
- package/dist/packages/{compiler → engine/compile}/runtime-contracts.js +2 -1
- package/dist/packages/{compiler → engine/compile}/runtime-prompt.js +3 -2
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.js +47 -45
- package/dist/packages/{compiler → engine/compile}/runtime-runs.d.ts +1 -2
- package/dist/packages/{compiler → engine/compile}/runtime-runs.js +3 -44
- package/dist/packages/{compiler → engine/compile}/runtime-types.d.ts +7 -12
- package/dist/packages/engine/compile/runtime.d.ts +5 -0
- package/dist/packages/{compiler → engine/compile}/runtime.js +1 -2
- package/dist/packages/{compiler → engine/compile}/source-files.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/source-files.js +3 -3
- package/dist/packages/{compiler → engine/compile}/state-health.js +8 -8
- package/dist/packages/{compiler → engine/compile}/state-io.js +2 -2
- package/dist/packages/{compiler → engine/compile}/state-view.js +9 -8
- package/dist/packages/{compiler → engine/compile}/validate-compiled.js +63 -32
- package/dist/packages/{compiler → engine/compile}/validate.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/validate.js +29 -27
- package/dist/packages/{execution → engine/execution}/lib/schema.d.ts +81 -55
- package/dist/packages/{execution → engine/execution}/lib/schema.js +14 -6
- package/dist/packages/engine/index.d.ts +22 -0
- package/dist/packages/engine/index.js +15 -0
- package/dist/packages/{local-service → engine}/lib/schema.d.ts +620 -435
- package/dist/packages/{local-service → engine}/lib/schema.js +103 -63
- package/dist/packages/{local-service → engine}/native-run-handlers.d.ts +7 -5
- package/dist/packages/{local-service → engine}/native-run-handlers.js +81 -29
- package/dist/packages/{local-service → engine}/preparation-store.d.ts +22 -4
- package/dist/packages/{local-service → engine}/preparation-store.js +56 -25
- package/dist/packages/{local-service → engine}/readiness-check-draft.d.ts +2 -2
- package/dist/packages/{local-service → engine}/routes.d.ts +36 -1
- package/dist/packages/{local-service → engine}/routes.js +38 -1
- package/dist/packages/{local-service → engine}/run-observability.d.ts +3 -3
- package/dist/packages/{local-service → engine}/run-observability.js +15 -15
- package/dist/packages/{local-service → engine}/runtime-event-applier.d.ts +1 -1
- package/dist/packages/{local-service → engine}/runtime-event-applier.js +7 -0
- package/dist/packages/{local-service → engine}/runtime-persistence.d.ts +6 -6
- package/dist/packages/{local-service → engine}/runtime-persistence.js +9 -9
- package/dist/packages/{local-service → engine}/runtime-proposal-helpers.d.ts +1 -1
- package/dist/packages/{local-service → engine}/runtime-proposal-helpers.js +5 -5
- package/dist/packages/{local-service → engine}/runtime-resource-builders.d.ts +12 -12
- package/dist/packages/{local-service → engine}/runtime-resource-builders.js +6 -5
- package/dist/packages/{local-service → engine}/runtime.d.ts +147 -56
- package/dist/packages/{local-service → engine}/runtime.js +333 -205
- package/dist/packages/{local-service → engine}/server.d.ts +25 -0
- package/dist/packages/{local-service → engine}/server.js +338 -17
- package/dist/packages/engine/verify/index.d.ts +13 -0
- package/dist/packages/engine/verify/index.js +10 -0
- package/dist/packages/{testing → engine/verify}/lib/schema.d.ts +1 -1
- package/dist/packages/{testing → engine/verify}/lib/schema.js +1 -1
- package/dist/packages/{testing → engine/verify}/readiness-check-run.d.ts +27 -11
- package/dist/packages/{testing → engine/verify}/readiness-check-run.js +72 -60
- package/dist/packages/{testing/test-execution.d.ts → engine/verify/verify-execution.d.ts} +2 -2
- package/dist/packages/{testing/test-execution.js → engine/verify/verify-execution.js} +2 -2
- package/dist/packages/{testing/test-paths.d.ts → engine/verify/verify-paths.d.ts} +1 -1
- package/dist/packages/{testing/test-paths.js → engine/verify/verify-paths.js} +2 -2
- package/dist/packages/{testing/test-sandbox.d.ts → engine/verify/verify-sandbox.d.ts} +1 -1
- package/dist/packages/{testing/test-sandbox.js → engine/verify/verify-sandbox.js} +6 -6
- package/dist/packages/{testing/test-specs.d.ts → engine/verify/verify-specs.d.ts} +1 -1
- package/dist/packages/{testing/test-specs.js → engine/verify/verify-specs.js} +2 -2
- package/dist/packages/{testing/test-targets.d.ts → engine/verify/verify-targets.d.ts} +1 -1
- package/dist/packages/{testing/test-targets.js → engine/verify/verify-targets.js} +3 -3
- package/dist/packages/{testing/test.d.ts → engine/verify/verify.d.ts} +4 -4
- package/dist/packages/{testing/test.js → engine/verify/verify.js} +3 -3
- package/dist/packages/engine/wire-schemas.d.ts +545 -0
- package/dist/packages/engine/wire-schemas.js +59 -0
- package/dist/packages/methods/authoring/method-authoring.d.ts +34 -0
- package/dist/packages/methods/authoring/method-authoring.js +260 -0
- package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.d.ts +2 -2
- package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.js +5 -5
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.d.ts +4 -4
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.js +16 -10
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.d.ts +12 -12
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.js +27 -24
- package/dist/packages/methods/package/context-interface.d.ts +73 -0
- package/dist/packages/{method-package → methods/package}/context-interface.js +50 -41
- package/dist/packages/{method-package → methods/package}/interf-method-package.js +31 -49
- package/dist/packages/{method-package → methods/package}/lib/package-root.js +2 -2
- package/dist/packages/{method-package → methods/package}/local-methods.d.ts +10 -5
- package/dist/packages/{method-package → methods/package}/local-methods.js +41 -68
- package/dist/packages/{method-package → methods/package}/method-definitions.d.ts +11 -7
- package/dist/packages/{method-package → methods/package}/method-definitions.js +5 -8
- package/dist/packages/{method-package → methods/package}/method-helpers.d.ts +1 -3
- package/dist/packages/{method-package → methods/package}/method-helpers.js +4 -8
- package/dist/packages/{method-package → methods/package}/method-review-paths.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/method-review-paths.js +1 -1
- package/dist/packages/{method-package → methods/package}/method-stage-runner.d.ts +4 -9
- package/dist/packages/{method-package → methods/package}/method-stage-runner.js +1 -29
- package/dist/packages/{method-package → methods/package}/user-methods.js +2 -2
- package/dist/packages/{project-model → project}/interf-bootstrap.d.ts +1 -1
- package/dist/packages/{project-model → project}/interf-bootstrap.js +1 -1
- package/dist/packages/{project-model → project}/interf-detect.js +4 -4
- package/dist/packages/{project-model → project}/interf-scaffold.js +18 -18
- package/dist/packages/{project-model → project}/lib/schema.d.ts +2 -2
- package/dist/packages/{project-model → project}/lib/schema.js +1 -1
- package/dist/packages/{project-model → project}/source-config.d.ts +1 -1
- package/dist/packages/{project-model → project}/source-config.js +9 -8
- package/dist/packages/{project-model → project}/source-folders.js +2 -2
- package/package.json +7 -16
- package/dist/cli/commands/test.d.ts +0 -9
- package/dist/compiler-ui/_next/static/chunks/17t-lulmyawg5.js +0 -89
- package/dist/packages/agents/lib/detection.d.ts +0 -7
- package/dist/packages/compiler/artifact-counts.d.ts +0 -1
- package/dist/packages/compiler/compiled-schema.d.ts +0 -31
- package/dist/packages/compiler/compiled-schema.js +0 -141
- package/dist/packages/compiler/method-primitives.d.ts +0 -2
- package/dist/packages/compiler/runtime-acceptance.d.ts +0 -9
- package/dist/packages/compiler/runtime-acceptance.js +0 -262
- package/dist/packages/compiler/runtime.d.ts +0 -6
- package/dist/packages/local-service/index.d.ts +0 -22
- package/dist/packages/local-service/index.js +0 -15
- package/dist/packages/method-authoring/method-authoring.d.ts +0 -24
- package/dist/packages/method-authoring/method-authoring.js +0 -116
- package/dist/packages/method-package/context-interface.d.ts +0 -60
- package/dist/packages/testing/index.d.ts +0 -13
- package/dist/packages/testing/index.js +0 -10
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → 6qyE1u9m_oBUkvAhhoCmO}/_buildManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → 6qyE1u9m_oBUkvAhhoCmO}/_clientMiddlewareManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{C6vVfy3aeYuIO3d2AoNvC → 6qyE1u9m_oBUkvAhhoCmO}/_ssgManifest.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/filesystem.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/filesystem.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.js +0 -0
- /package/dist/packages/{local-service → engine}/action-definitions.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/executors.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/user-config.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/discovery.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/reset.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-contracts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-prompt.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-types.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-artifacts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-artifacts.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-health.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-io.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-view.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/state.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-compiled.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.js +0 -0
- /package/dist/packages/{local-service → engine}/connection-config.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/connection-config.js +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.js +0 -0
- /package/dist/packages/{execution → engine/execution}/events.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/events.js +0 -0
- /package/dist/packages/{execution → engine/execution}/index.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/index.js +0 -0
- /package/dist/packages/{local-service → engine}/instance-paths.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/instance-paths.js +0 -0
- /package/dist/packages/{local-service → engine}/readiness-check-draft.js +0 -0
- /package/dist/packages/{local-service → engine}/runtime-caches.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/runtime-caches.js +0 -0
- /package/dist/packages/{local-service → engine}/service-registry.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/service-registry.js +0 -0
- /package/dist/packages/{testing/test-profile-presets.d.ts → engine/verify/verify-profile-presets.d.ts} +0 -0
- /package/dist/packages/{testing/test-profile-presets.js → engine/verify/verify-profile-presets.js} +0 -0
- /package/dist/packages/{testing/test-types.d.ts → engine/verify/verify-types.d.ts} +0 -0
- /package/dist/packages/{testing/test-types.js → engine/verify/verify-types.js} +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.js +0 -0
- /package/dist/packages/{method-package → methods/package}/interf-method-package.d.ts +0 -0
- /package/dist/packages/{method-package → methods/package}/lib/package-root.d.ts +0 -0
- /package/dist/packages/{method-package → methods/package}/user-methods.d.ts +0 -0
- /package/dist/packages/{project-model → project}/index.d.ts +0 -0
- /package/dist/packages/{project-model → project}/index.js +0 -0
- /package/dist/packages/{project-model → project}/interf-detect.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf-scaffold.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.js +0 -0
- /package/dist/packages/{project-model → project}/preparation-entries.d.ts +0 -0
- /package/dist/packages/{project-model → project}/preparation-entries.js +0 -0
- /package/dist/packages/{project-model → project}/source-folders.d.ts +0 -0
|
@@ -3,71 +3,73 @@
|
|
|
3
3
|
"version": 1,
|
|
4
4
|
"target_type": "compiled",
|
|
5
5
|
"label": "Interf built-in Method schema",
|
|
6
|
-
"
|
|
6
|
+
"artifacts": [
|
|
7
|
+
{
|
|
8
|
+
"id": "atlas",
|
|
9
|
+
"description": "Primary entrypoint note that agents read first. Routes to summaries, knowledge entities, claims, and indexes.",
|
|
10
|
+
"shape": { "kind": "path", "path": "home.md", "artifact_kind": "file" },
|
|
11
|
+
"checks": [
|
|
12
|
+
{ "id": "exists", "kind": "file_exists", "required": true },
|
|
13
|
+
{
|
|
14
|
+
"id": "no-placeholder",
|
|
15
|
+
"kind": "must_not_contain",
|
|
16
|
+
"required": true,
|
|
17
|
+
"params": { "phrases": ["Not yet compiled."] }
|
|
18
|
+
},
|
|
19
|
+
{ "id": "wikilinks", "kind": "wikilinks_valid", "required": true }
|
|
20
|
+
],
|
|
21
|
+
"built_by_stages": ["shape"]
|
|
22
|
+
},
|
|
7
23
|
{
|
|
8
24
|
"id": "summaries",
|
|
9
|
-
"
|
|
10
|
-
"path": "summaries",
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
25
|
+
"description": "Per-file evidence notes that preserve the source-grounded synthesis agents quote against.",
|
|
26
|
+
"shape": { "kind": "path", "path": "summaries", "artifact_kind": "directory" },
|
|
27
|
+
"checks": [
|
|
28
|
+
{
|
|
29
|
+
"id": "all-files-summarized",
|
|
30
|
+
"kind": "min_file_count_matches_source",
|
|
31
|
+
"required": true,
|
|
32
|
+
"params": { "match": "source_total" }
|
|
33
|
+
},
|
|
34
|
+
{ "id": "frontmatter-valid", "kind": "frontmatter_valid", "required": true },
|
|
35
|
+
{
|
|
36
|
+
"id": "evidence-keys",
|
|
37
|
+
"kind": "frontmatter_required_keys",
|
|
38
|
+
"required": true,
|
|
39
|
+
"params": { "keys": ["source", "source_kind", "evidence_tier", "truth_mode", "state"] }
|
|
40
|
+
}
|
|
15
41
|
],
|
|
16
|
-
"
|
|
42
|
+
"built_by_stages": ["summarize"]
|
|
17
43
|
},
|
|
18
44
|
{
|
|
19
45
|
"id": "knowledge-entities",
|
|
20
|
-
"
|
|
21
|
-
"path": "knowledge/entities",
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"structure"
|
|
46
|
+
"description": "Canonical entity notes that anchor the cross-file knowledge structure.",
|
|
47
|
+
"shape": { "kind": "path", "path": "knowledge/entities", "artifact_kind": "directory" },
|
|
48
|
+
"checks": [
|
|
49
|
+
{ "id": "exists", "kind": "min_file_count", "required": true, "params": { "min": 1 } },
|
|
50
|
+
{ "id": "wikilinks", "kind": "wikilinks_valid", "required": true }
|
|
26
51
|
],
|
|
27
|
-
"
|
|
52
|
+
"built_by_stages": ["structure"]
|
|
28
53
|
},
|
|
29
54
|
{
|
|
30
55
|
"id": "knowledge-claims",
|
|
31
|
-
"
|
|
32
|
-
"path": "knowledge/claims",
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"structure"
|
|
56
|
+
"description": "Claim notes extracted from summaries with evidence references.",
|
|
57
|
+
"shape": { "kind": "path", "path": "knowledge/claims", "artifact_kind": "directory" },
|
|
58
|
+
"checks": [
|
|
59
|
+
{ "id": "exists", "kind": "min_file_count", "required": true, "params": { "min": 1 } },
|
|
60
|
+
{ "id": "wikilinks", "kind": "wikilinks_valid", "required": true }
|
|
37
61
|
],
|
|
38
|
-
"
|
|
62
|
+
"built_by_stages": ["structure"]
|
|
39
63
|
},
|
|
40
64
|
{
|
|
41
65
|
"id": "knowledge-indexes",
|
|
42
|
-
"
|
|
43
|
-
"path": "knowledge/indexes",
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"structure",
|
|
48
|
-
"shape"
|
|
49
|
-
],
|
|
50
|
-
"description": "Retrieval indexes and navigation notes produced by structure and shape stages."
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"id": "home",
|
|
54
|
-
"role": "output",
|
|
55
|
-
"path": "home.md",
|
|
56
|
-
"kind": "file",
|
|
57
|
-
"required": true,
|
|
58
|
-
"owned_by": [
|
|
59
|
-
"shape"
|
|
66
|
+
"description": "Retrieval indexes and navigation notes for the knowledge structure.",
|
|
67
|
+
"shape": { "kind": "path", "path": "knowledge/indexes", "artifact_kind": "directory" },
|
|
68
|
+
"checks": [
|
|
69
|
+
{ "id": "exists", "kind": "min_file_count", "required": true, "params": { "min": 1 } },
|
|
70
|
+
{ "id": "wikilinks", "kind": "wikilinks_valid", "required": true }
|
|
60
71
|
],
|
|
61
|
-
"
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"id": "runtime",
|
|
65
|
-
"role": "runtime",
|
|
66
|
-
"path": ".interf/runtime",
|
|
67
|
-
"kind": "runtime",
|
|
68
|
-
"required": true,
|
|
69
|
-
"owned_by": [],
|
|
70
|
-
"description": "CLI-owned runtime state, health, stage contracts, and proof artifacts."
|
|
72
|
+
"built_by_stages": ["structure", "shape"]
|
|
71
73
|
}
|
|
72
74
|
]
|
|
73
75
|
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `interf agents` — manage connected agents + role mapping.
|
|
3
|
+
*
|
|
4
|
+
* interf agents ls # list registered + detected
|
|
5
|
+
* interf agents use <name> # set active agent
|
|
6
|
+
* interf agents register <name> --command <cmd> [--display-name <s>]
|
|
7
|
+
* interf agents unregister <name> # custom CLIs only
|
|
8
|
+
* interf agents map <role> <agent> # pin a role to an agent
|
|
9
|
+
* interf agents unmap <role> # clear a role
|
|
10
|
+
*
|
|
11
|
+
* All subcommands hit the connected local service. They never touch
|
|
12
|
+
* `~/.interf/agents.json` directly — the service is the source of truth.
|
|
13
|
+
*/
|
|
14
|
+
import chalk from "chalk";
|
|
15
|
+
import { CONNECT_OR_ERROR_HINT, readActiveConnection, } from "../../packages/engine/connection-config.js";
|
|
16
|
+
function resolveConnection(args) {
|
|
17
|
+
const conn = readActiveConnection({
|
|
18
|
+
urlOverride: args.url,
|
|
19
|
+
authTokenOverride: args.token,
|
|
20
|
+
});
|
|
21
|
+
if (!conn) {
|
|
22
|
+
console.error(CONNECT_OR_ERROR_HINT);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
}
|
|
25
|
+
return { url: conn.url.replace(/\/+$/, ""), token: conn.auth_token };
|
|
26
|
+
}
|
|
27
|
+
async function callJson(url, token, init = {}) {
|
|
28
|
+
const headers = new Headers(init.headers ?? {});
|
|
29
|
+
if (token)
|
|
30
|
+
headers.set("authorization", `Bearer ${token}`);
|
|
31
|
+
if (init.body && !headers.has("content-type")) {
|
|
32
|
+
headers.set("content-type", "application/json");
|
|
33
|
+
}
|
|
34
|
+
const response = await fetch(url, { ...init, headers });
|
|
35
|
+
const raw = await response.text();
|
|
36
|
+
let body = null;
|
|
37
|
+
if (raw.length > 0) {
|
|
38
|
+
try {
|
|
39
|
+
body = JSON.parse(raw);
|
|
40
|
+
}
|
|
41
|
+
catch {
|
|
42
|
+
body = null;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return { status: response.status, body, raw };
|
|
46
|
+
}
|
|
47
|
+
function formatAgentLine(agent, registry) {
|
|
48
|
+
const isActive = agent.name === registry.active_agent?.name;
|
|
49
|
+
const sourceLabel = agent.source === "builtin" ? "builtin" : "user";
|
|
50
|
+
const activeMarker = isActive ? chalk.green(" (active)") : "";
|
|
51
|
+
const availabilityMarker = agent.available === false ? chalk.yellow(" (not installed)") : "";
|
|
52
|
+
return ` ${chalk.bold(agent.name)} ${chalk.dim(`[${sourceLabel}]`)} ${chalk.dim(agent.display_name)} — ${chalk.dim(agent.command)}${activeMarker}${availabilityMarker}`;
|
|
53
|
+
}
|
|
54
|
+
function printRegistry(registry) {
|
|
55
|
+
if (registry.agents.length === 0) {
|
|
56
|
+
console.log();
|
|
57
|
+
console.log(chalk.yellow(" No agents available."));
|
|
58
|
+
console.log();
|
|
59
|
+
console.log(" Install Claude Code, Codex, Gemini, or another agent CLI,");
|
|
60
|
+
console.log(" or register a custom CLI: `interf agents register <name> --command <cmd>`.");
|
|
61
|
+
console.log();
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
console.log();
|
|
65
|
+
console.log(chalk.bold(" Connected agents"));
|
|
66
|
+
for (const agent of registry.agents) {
|
|
67
|
+
console.log(formatAgentLine(agent, registry));
|
|
68
|
+
}
|
|
69
|
+
if (Object.keys(registry.role_map).length > 0) {
|
|
70
|
+
console.log();
|
|
71
|
+
console.log(chalk.bold(" Role mapping"));
|
|
72
|
+
for (const [role, agentName] of Object.entries(registry.role_map)) {
|
|
73
|
+
console.log(` ${chalk.bold(role.padEnd(11))} → ${agentName}`);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
console.log();
|
|
77
|
+
}
|
|
78
|
+
export const agentsCommand = {
|
|
79
|
+
command: "agents <subcommand>",
|
|
80
|
+
describe: "Manage connected agents and role mapping",
|
|
81
|
+
builder: (yargs) => yargs
|
|
82
|
+
.option("url", { type: "string", describe: "Override the active connection URL" })
|
|
83
|
+
.option("token", { type: "string", describe: "Override the active bearer token" })
|
|
84
|
+
.command("ls", "List registered + detected agents", (y) => y, async (args) => {
|
|
85
|
+
const { url, token } = resolveConnection(args);
|
|
86
|
+
const { status, body, raw } = await callJson(`${url}/v1/agents`, token);
|
|
87
|
+
if (status !== 200 || !body) {
|
|
88
|
+
console.error(chalk.red(`Failed to list agents (HTTP ${status}).`));
|
|
89
|
+
if (raw)
|
|
90
|
+
console.error(raw);
|
|
91
|
+
process.exit(1);
|
|
92
|
+
}
|
|
93
|
+
printRegistry(body);
|
|
94
|
+
})
|
|
95
|
+
.command("use <name>", "Set the active agent (mirrors to role_map.general + sweeps roles still on the prior active)", (y) => y.positional("name", {
|
|
96
|
+
type: "string",
|
|
97
|
+
demandOption: true,
|
|
98
|
+
describe: "Agent name (e.g. claude-code, codex, opencode)",
|
|
99
|
+
}), async (args) => {
|
|
100
|
+
const { url, token } = resolveConnection(args);
|
|
101
|
+
const { status, body, raw } = await callJson(`${url}/v1/executor`, token, {
|
|
102
|
+
method: "POST",
|
|
103
|
+
body: JSON.stringify({ agent: args.name }),
|
|
104
|
+
});
|
|
105
|
+
if (status !== 200 && status !== 202) {
|
|
106
|
+
console.error(chalk.red(`Failed to set active agent (HTTP ${status}).`));
|
|
107
|
+
if (raw)
|
|
108
|
+
console.error(raw);
|
|
109
|
+
process.exit(1);
|
|
110
|
+
}
|
|
111
|
+
const display = body?.executor?.display_name ?? args.name;
|
|
112
|
+
console.log(chalk.green(` Active agent: ${chalk.bold(display)}.`));
|
|
113
|
+
})
|
|
114
|
+
.command("register <name>", "Register a custom agent CLI", (y) => y
|
|
115
|
+
.positional("name", {
|
|
116
|
+
type: "string",
|
|
117
|
+
demandOption: true,
|
|
118
|
+
describe: "Agent name (lowercase identifier, e.g. opencode)",
|
|
119
|
+
})
|
|
120
|
+
.option("command", {
|
|
121
|
+
type: "string",
|
|
122
|
+
demandOption: true,
|
|
123
|
+
describe: "Command to invoke (e.g. \"opencode --prompt\")",
|
|
124
|
+
})
|
|
125
|
+
.option("display-name", {
|
|
126
|
+
type: "string",
|
|
127
|
+
describe: "Human-readable name (defaults to the agent name)",
|
|
128
|
+
}), async (args) => {
|
|
129
|
+
const { url, token } = resolveConnection(args);
|
|
130
|
+
const displayName = args.displayName ?? args.name;
|
|
131
|
+
const { status, body, raw } = await callJson(`${url}/v1/agents`, token, {
|
|
132
|
+
method: "POST",
|
|
133
|
+
body: JSON.stringify({
|
|
134
|
+
name: args.name,
|
|
135
|
+
display_name: displayName,
|
|
136
|
+
command: args.command,
|
|
137
|
+
}),
|
|
138
|
+
});
|
|
139
|
+
if (status !== 201 || !body) {
|
|
140
|
+
console.error(chalk.red(`Failed to register agent (HTTP ${status}).`));
|
|
141
|
+
if (raw)
|
|
142
|
+
console.error(raw);
|
|
143
|
+
process.exit(1);
|
|
144
|
+
}
|
|
145
|
+
console.log(chalk.green(` Registered ${chalk.bold(args.name)} → ${args.command}.`));
|
|
146
|
+
printRegistry(body);
|
|
147
|
+
})
|
|
148
|
+
.command("unregister <name>", "Unregister a custom agent (built-ins cannot be unregistered)", (y) => y.positional("name", {
|
|
149
|
+
type: "string",
|
|
150
|
+
demandOption: true,
|
|
151
|
+
describe: "Agent name to remove",
|
|
152
|
+
}), async (args) => {
|
|
153
|
+
const { url, token } = resolveConnection(args);
|
|
154
|
+
const { status, body, raw } = await callJson(`${url}/v1/agents/${encodeURIComponent(args.name)}`, token, { method: "DELETE" });
|
|
155
|
+
if (status !== 200 || !body) {
|
|
156
|
+
console.error(chalk.red(`Failed to unregister agent (HTTP ${status}).`));
|
|
157
|
+
if (raw)
|
|
158
|
+
console.error(raw);
|
|
159
|
+
process.exit(1);
|
|
160
|
+
}
|
|
161
|
+
console.log(chalk.green(` Unregistered ${chalk.bold(args.name)}.`));
|
|
162
|
+
printRegistry(body);
|
|
163
|
+
})
|
|
164
|
+
.command("map <role> <agent>", "Map a role to an agent", (y) => y
|
|
165
|
+
.positional("role", {
|
|
166
|
+
type: "string",
|
|
167
|
+
demandOption: true,
|
|
168
|
+
describe: "Role name (e.g. extractor, summarizer, verifier, general)",
|
|
169
|
+
})
|
|
170
|
+
.positional("agent", {
|
|
171
|
+
type: "string",
|
|
172
|
+
demandOption: true,
|
|
173
|
+
describe: "Agent name to bind to the role",
|
|
174
|
+
}), async (args) => {
|
|
175
|
+
const { url, token } = resolveConnection(args);
|
|
176
|
+
const patch = { [args.role]: args.agent };
|
|
177
|
+
const { status, body, raw } = await callJson(`${url}/v1/agents/role-map`, token, {
|
|
178
|
+
method: "PATCH",
|
|
179
|
+
body: JSON.stringify(patch),
|
|
180
|
+
});
|
|
181
|
+
if (status !== 200 || !body) {
|
|
182
|
+
console.error(chalk.red(`Failed to update role map (HTTP ${status}).`));
|
|
183
|
+
if (raw)
|
|
184
|
+
console.error(raw);
|
|
185
|
+
process.exit(1);
|
|
186
|
+
}
|
|
187
|
+
console.log(chalk.green(` Mapped ${chalk.bold(args.role)} → ${args.agent}.`));
|
|
188
|
+
})
|
|
189
|
+
.command("unmap <role>", "Clear a role mapping (falls back to active agent)", (y) => y.positional("role", {
|
|
190
|
+
type: "string",
|
|
191
|
+
demandOption: true,
|
|
192
|
+
describe: "Role name to clear",
|
|
193
|
+
}), async (args) => {
|
|
194
|
+
const { url, token } = resolveConnection(args);
|
|
195
|
+
const patch = { [args.role]: "" };
|
|
196
|
+
const { status, raw } = await callJson(`${url}/v1/agents/role-map`, token, {
|
|
197
|
+
method: "PATCH",
|
|
198
|
+
body: JSON.stringify(patch),
|
|
199
|
+
});
|
|
200
|
+
if (status !== 200) {
|
|
201
|
+
console.error(chalk.red(`Failed to clear role mapping (HTTP ${status}).`));
|
|
202
|
+
if (raw)
|
|
203
|
+
console.error(raw);
|
|
204
|
+
process.exit(1);
|
|
205
|
+
}
|
|
206
|
+
console.log(chalk.green(` Cleared role ${chalk.bold(args.role)}.`));
|
|
207
|
+
})
|
|
208
|
+
.demandCommand(1)
|
|
209
|
+
.strict(),
|
|
210
|
+
handler: () => {
|
|
211
|
+
/* yargs subcommand handlers do the work */
|
|
212
|
+
},
|
|
213
|
+
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Requires an active connection. Hits POST /v1/preparations/<id>/compile-runs.
|
|
9
9
|
*/
|
|
10
10
|
import chalk from "chalk";
|
|
11
|
-
import { CONNECT_OR_ERROR_HINT, readActiveConnection } from "../../packages/
|
|
11
|
+
import { CONNECT_OR_ERROR_HINT, readActiveConnection } from "../../packages/engine/connection-config.js";
|
|
12
12
|
function resolveConnection(args) {
|
|
13
13
|
const conn = readActiveConnection({
|
|
14
14
|
urlOverride: args.url,
|
|
@@ -51,6 +51,15 @@ export const compileCommand = {
|
|
|
51
51
|
.option("token", { type: "string", describe: "Override the active bearer token" }),
|
|
52
52
|
handler: async (args) => {
|
|
53
53
|
const { url, token } = resolveConnection(args);
|
|
54
|
+
// 0.15 hard-error: refuse to start a compile if the engine has zero
|
|
55
|
+
// connected agents — the compile pipeline can't run without one.
|
|
56
|
+
const instance = await callJson(`${url}/v1/instance`, token);
|
|
57
|
+
if (instance.body && instance.body.agent_count === 0) {
|
|
58
|
+
console.error(chalk.red(" Cannot compile — no agents available."));
|
|
59
|
+
console.error(" Install Claude Code, Codex, Gemini, or another agent CLI, or");
|
|
60
|
+
console.error(" register a custom CLI: `interf agents register <name> --command <cmd>`.");
|
|
61
|
+
process.exit(1);
|
|
62
|
+
}
|
|
54
63
|
const headers = {};
|
|
55
64
|
if (args.idempotencyKey)
|
|
56
65
|
headers["x-interf-idempotency-key"] = args.idempotencyKey;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* startup).
|
|
11
11
|
*/
|
|
12
12
|
import chalk from "chalk";
|
|
13
|
-
import { ConnectionRecordSchema, writeConnection, } from "../../packages/
|
|
13
|
+
import { ConnectionRecordSchema, writeConnection, } from "../../packages/engine/connection-config.js";
|
|
14
14
|
export const loginCommand = {
|
|
15
15
|
command: "login",
|
|
16
16
|
describe: "Set the active Interf instance connection (URL + optional bearer token)",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* non-zero with the connect-or-error hint until a new connection is set.
|
|
6
6
|
*/
|
|
7
7
|
import chalk from "chalk";
|
|
8
|
-
import { clearConnection } from "../../packages/
|
|
8
|
+
import { clearConnection } from "../../packages/engine/connection-config.js";
|
|
9
9
|
export const logoutCommand = {
|
|
10
10
|
command: "logout",
|
|
11
11
|
describe: "Clear the active Interf instance connection",
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `interf mcp` — Model Context Protocol server.
|
|
3
|
+
*
|
|
4
|
+
* Wraps the local-service HTTP API as a typed agent surface so coding
|
|
5
|
+
* agents can interact with Interf the same way they call other MCP tools
|
|
6
|
+
* (instead of shelling out to the CLI).
|
|
7
|
+
*
|
|
8
|
+
* interf mcp # stdio transport (default)
|
|
9
|
+
* interf mcp --transport=http --port=4889 # advanced: HTTP transport
|
|
10
|
+
*
|
|
11
|
+
* The server reads `~/.interf/connection.json` (the same file every other
|
|
12
|
+
* client uses) and exits non-zero with the connect-or-error hint if no
|
|
13
|
+
* instance is reachable. Tools call straight through to the API; the
|
|
14
|
+
* server itself holds no state. The transport options are intentionally
|
|
15
|
+
* minimal — agents speaking MCP today are stdio-first.
|
|
16
|
+
*
|
|
17
|
+
* Tool list mirrors the API verbatim:
|
|
18
|
+
* prep_list GET /v1/preparations
|
|
19
|
+
* prep_create POST /v1/preparations
|
|
20
|
+
* prep_show GET /v1/preparations/{id}
|
|
21
|
+
* prep_set_method PATCH /v1/preparations/{id}
|
|
22
|
+
* prep_remove DELETE /v1/preparations/{id}
|
|
23
|
+
* prep_compile POST /v1/preparations/{id}/compile-runs
|
|
24
|
+
* prep_verify POST /v1/preparations/{id}/verify-runs
|
|
25
|
+
* method_list GET /v1/methods
|
|
26
|
+
* method_install POST /v1/methods (preparation-scoped via `prep_id`)
|
|
27
|
+
* method_draft POST /v1/preparations/{id}/method-authoring-runs
|
|
28
|
+
* method_improve POST /v1/preparations/{id}/method-improvement-runs
|
|
29
|
+
* runs_status GET /v1/runs/{run-id}
|
|
30
|
+
* runs_watch GET /v1/runs/{run-id}/events (snapshot, not SSE)
|
|
31
|
+
* runs_cancel POST /v1/runs/{run-id}/cancel
|
|
32
|
+
* runs_fetch GET /v1/runs/{run-id}/artifacts
|
|
33
|
+
* instance_status GET /v1/instance
|
|
34
|
+
*/
|
|
35
|
+
import type { CommandModule } from "yargs";
|
|
36
|
+
interface McpArgs {
|
|
37
|
+
transport?: "stdio" | "http";
|
|
38
|
+
url?: string;
|
|
39
|
+
token?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const mcpCommand: CommandModule<unknown, McpArgs>;
|
|
42
|
+
export {};
|