@maiaos/cli 0.1.0-canary.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -0
- package/dist/address-space/address-space.d.ts +38 -0
- package/dist/address-space/address-space.js +130 -0
- package/dist/address-space/index.d.ts +2 -0
- package/dist/address-space/index.js +2 -0
- package/dist/agents/client.d.ts +171 -0
- package/dist/agents/client.js +8 -0
- package/dist/agents/commands.d.ts +7 -0
- package/dist/agents/commands.js +65 -0
- package/dist/agents/index.d.ts +3 -0
- package/dist/agents/index.js +3 -0
- package/dist/agents/input.d.ts +130 -0
- package/dist/agents/input.js +99 -0
- package/dist/agents/output/format.d.ts +8 -0
- package/dist/agents/output/format.js +47 -0
- package/dist/agents/output/index.d.ts +2 -0
- package/dist/agents/output/index.js +2 -0
- package/dist/agents/tree/index.d.ts +2 -0
- package/dist/agents/tree/index.js +2 -0
- package/dist/agents/tree/tree.d.ts +3 -0
- package/dist/agents/tree/tree.js +43 -0
- package/dist/bin/maia.NOTICES.txt +59 -0
- package/dist/bin/maia.cdx.json +168 -0
- package/dist/bin/maia.mjs +2 -0
- package/dist/bootstrap/exit.d.ts +14 -0
- package/dist/bootstrap/exit.js +42 -0
- package/dist/bootstrap/index.d.ts +3 -0
- package/dist/bootstrap/index.js +3 -0
- package/dist/bootstrap/process.d.ts +5 -0
- package/dist/bootstrap/process.js +23 -0
- package/dist/bootstrap/run.d.ts +25 -0
- package/dist/bootstrap/run.js +95 -0
- package/dist/bootstrap/stdio.d.ts +4 -0
- package/dist/bootstrap/stdio.js +9 -0
- package/dist/cli/cli.d.ts +17 -0
- package/dist/cli/cli.js +545 -0
- package/dist/cli/environment.d.ts +8 -0
- package/dist/cli/environment.js +12 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +2 -0
- package/dist/cli/services.d.ts +4 -0
- package/dist/cli/services.js +4 -0
- package/dist/command-line/context.d.ts +188 -0
- package/dist/command-line/context.js +2 -0
- package/dist/command-line/index.d.ts +7 -0
- package/dist/command-line/index.js +7 -0
- package/dist/command-line/input/arguments.d.ts +62 -0
- package/dist/command-line/input/arguments.js +232 -0
- package/dist/command-line/input/index.d.ts +4 -0
- package/dist/command-line/input/index.js +4 -0
- package/dist/command-line/input/prompt.d.ts +8 -0
- package/dist/command-line/input/prompt.js +44 -0
- package/dist/command-line/input/stdin-stream.d.ts +4 -0
- package/dist/command-line/input/stdin-stream.js +3 -0
- package/dist/command-line/input/stdin.d.ts +12 -0
- package/dist/command-line/input/stdin.js +24 -0
- package/dist/command-line/json-decoder.d.ts +3 -0
- package/dist/command-line/json-decoder.js +3 -0
- package/dist/command-line/json.d.ts +4 -0
- package/dist/command-line/json.js +27 -0
- package/dist/command-line/output.d.ts +64 -0
- package/dist/command-line/output.js +113 -0
- package/dist/command-line/rows.d.ts +12 -0
- package/dist/command-line/rows.js +41 -0
- package/dist/command-line/two-phase.d.ts +62 -0
- package/dist/command-line/two-phase.js +173 -0
- package/dist/command-receipt/command.d.ts +4 -0
- package/dist/command-receipt/command.js +59 -0
- package/dist/command-receipt/compact-list.d.ts +20 -0
- package/dist/command-receipt/compact-list.js +29 -0
- package/dist/command-receipt/index.d.ts +3 -0
- package/dist/command-receipt/index.js +3 -0
- package/dist/command-tree/commands.d.ts +17 -0
- package/dist/command-tree/commands.js +41 -0
- package/dist/command-tree/completion.d.ts +6 -0
- package/dist/command-tree/completion.js +36 -0
- package/dist/command-tree/grammar.d.ts +18 -0
- package/dist/command-tree/grammar.js +160 -0
- package/dist/command-tree/help.d.ts +62 -0
- package/dist/command-tree/help.js +220 -0
- package/dist/command-tree/index.d.ts +8 -0
- package/dist/command-tree/index.js +6 -0
- package/dist/command-tree/local.d.ts +3 -0
- package/dist/command-tree/local.js +138 -0
- package/dist/command-tree/placeholder.d.ts +4 -0
- package/dist/command-tree/placeholder.js +5 -0
- package/dist/command-tree/row.d.ts +31 -0
- package/dist/command-tree/row.js +2 -0
- package/dist/command-tree/suggest.d.ts +3 -0
- package/dist/command-tree/suggest.js +81 -0
- package/dist/command-tree/tree.d.ts +35 -0
- package/dist/command-tree/tree.js +140 -0
- package/dist/connection/access/client.d.ts +13 -0
- package/dist/connection/access/client.js +19 -0
- package/dist/connection/access/commands.d.ts +6 -0
- package/dist/connection/access/commands.js +60 -0
- package/dist/connection/access/format.d.ts +8 -0
- package/dist/connection/access/format.js +61 -0
- package/dist/connection/access/index.d.ts +3 -0
- package/dist/connection/access/index.js +3 -0
- package/dist/connection/access/input.d.ts +53 -0
- package/dist/connection/access/input.js +83 -0
- package/dist/connection/client.d.ts +790 -0
- package/dist/connection/client.js +36 -0
- package/dist/connection/commands.d.ts +15 -0
- package/dist/connection/commands.js +118 -0
- package/dist/connection/index.d.ts +8 -0
- package/dist/connection/index.js +8 -0
- package/dist/connection/input.d.ts +50 -0
- package/dist/connection/input.js +90 -0
- package/dist/connection/login.d.ts +13 -0
- package/dist/connection/login.js +69 -0
- package/dist/connection/output/format.d.ts +32 -0
- package/dist/connection/output/format.js +94 -0
- package/dist/connection/output/index.d.ts +2 -0
- package/dist/connection/output/index.js +2 -0
- package/dist/connection/resolve.d.ts +60 -0
- package/dist/connection/resolve.js +30 -0
- package/dist/connection/signin.d.ts +4 -0
- package/dist/connection/signin.js +32 -0
- package/dist/connection/system.d.ts +5 -0
- package/dist/connection/system.js +294 -0
- package/dist/connection/tree/index.d.ts +2 -0
- package/dist/connection/tree/index.js +2 -0
- package/dist/connection/tree/tree.d.ts +3 -0
- package/dist/connection/tree/tree.js +260 -0
- package/dist/container/client.d.ts +142 -0
- package/dist/container/client.js +11 -0
- package/dist/container/commands.d.ts +7 -0
- package/dist/container/commands.js +100 -0
- package/dist/container/index.d.ts +3 -0
- package/dist/container/index.js +3 -0
- package/dist/container/output/format.d.ts +11 -0
- package/dist/container/output/format.js +27 -0
- package/dist/container/output/index.d.ts +2 -0
- package/dist/container/output/index.js +2 -0
- package/dist/context/client.d.ts +7 -0
- package/dist/context/client.js +21 -0
- package/dist/context/commands.d.ts +3 -0
- package/dist/context/commands.js +27 -0
- package/dist/context/index.d.ts +3 -0
- package/dist/context/index.js +3 -0
- package/dist/dashboard/cockpit-client.d.ts +6 -0
- package/dist/dashboard/cockpit-client.js +27 -0
- package/dist/dashboard/cockpits.d.ts +29 -0
- package/dist/dashboard/cockpits.js +65 -0
- package/dist/dashboard/dashboard.d.ts +7 -0
- package/dist/dashboard/dashboard.js +47 -0
- package/dist/dashboard/draw.d.ts +15 -0
- package/dist/dashboard/draw.js +30 -0
- package/dist/dashboard/frame.d.ts +4 -0
- package/dist/dashboard/frame.js +15 -0
- package/dist/dashboard/index.d.ts +2 -0
- package/dist/dashboard/index.js +2 -0
- package/dist/dashboard/modes.d.ts +5 -0
- package/dist/dashboard/modes.js +16 -0
- package/dist/dashboard/node-connection.d.ts +15 -0
- package/dist/dashboard/node-connection.js +51 -0
- package/dist/dashboard/pi-tui.d.ts +6 -0
- package/dist/dashboard/pi-tui.js +35 -0
- package/dist/dashboard/status-bar.d.ts +4 -0
- package/dist/dashboard/status-bar.js +60 -0
- package/dist/dashboard/terminal.d.ts +53 -0
- package/dist/dashboard/terminal.js +165 -0
- package/dist/dashboard/tree-model.d.ts +28 -0
- package/dist/dashboard/tree-model.js +97 -0
- package/dist/dashboard/tree.d.ts +10 -0
- package/dist/dashboard/tree.js +76 -0
- package/dist/development/cli.d.ts +3 -0
- package/dist/development/cli.js +44 -0
- package/dist/execution/client.d.ts +25 -0
- package/dist/execution/client.js +24 -0
- package/dist/execution/index.d.ts +3 -0
- package/dist/execution/index.js +3 -0
- package/dist/execution/relocation.d.ts +6 -0
- package/dist/execution/relocation.js +123 -0
- package/dist/execution/tree/index.d.ts +2 -0
- package/dist/execution/tree/index.js +2 -0
- package/dist/execution/tree/tree.d.ts +3 -0
- package/dist/execution/tree/tree.js +137 -0
- package/dist/fleet/fleet.d.ts +70 -0
- package/dist/fleet/fleet.js +91 -0
- package/dist/fleet/index.d.ts +2 -0
- package/dist/fleet/index.js +2 -0
- package/dist/hold/client.d.ts +137 -0
- package/dist/hold/client.js +12 -0
- package/dist/hold/commands.d.ts +5 -0
- package/dist/hold/commands.js +91 -0
- package/dist/hold/index.d.ts +3 -0
- package/dist/hold/index.js +3 -0
- package/dist/hold/output/format.d.ts +11 -0
- package/dist/hold/output/format.js +25 -0
- package/dist/hold/output/index.d.ts +2 -0
- package/dist/hold/output/index.js +2 -0
- package/dist/hold/tree/index.d.ts +2 -0
- package/dist/hold/tree/index.js +2 -0
- package/dist/hold/tree/tree.d.ts +3 -0
- package/dist/hold/tree/tree.js +97 -0
- package/dist/import/client.d.ts +14 -0
- package/dist/import/client.js +16 -0
- package/dist/import/commands.d.ts +5 -0
- package/dist/import/commands.js +75 -0
- package/dist/import/index.d.ts +3 -0
- package/dist/import/index.js +3 -0
- package/dist/import/input.d.ts +16 -0
- package/dist/import/input.js +92 -0
- package/dist/import/output.d.ts +6 -0
- package/dist/import/output.js +37 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/integration/client.d.ts +1284 -0
- package/dist/integration/client.js +24 -0
- package/dist/integration/commands.d.ts +10 -0
- package/dist/integration/commands.js +104 -0
- package/dist/integration/index.d.ts +3 -0
- package/dist/integration/index.js +3 -0
- package/dist/integration/output.d.ts +22 -0
- package/dist/integration/output.js +20 -0
- package/dist/local-node/call.d.ts +7 -0
- package/dist/local-node/call.js +13 -0
- package/dist/local-node/client.d.ts +72 -0
- package/dist/local-node/client.js +253 -0
- package/dist/local-node/index.d.ts +4 -0
- package/dist/local-node/index.js +4 -0
- package/dist/local-node/wait.d.ts +10 -0
- package/dist/local-node/wait.js +17 -0
- package/dist/login/agent-provider.d.ts +20 -0
- package/dist/login/agent-provider.js +109 -0
- package/dist/login/commands.d.ts +4 -0
- package/dist/login/commands.js +94 -0
- package/dist/login/failure.d.ts +3 -0
- package/dist/login/failure.js +14 -0
- package/dist/login/gateway.d.ts +12 -0
- package/dist/login/gateway.js +71 -0
- package/dist/login/index.d.ts +3 -0
- package/dist/login/index.js +2 -0
- package/dist/login/menu.d.ts +4 -0
- package/dist/login/menu.js +105 -0
- package/dist/login/output/format.d.ts +16 -0
- package/dist/login/output/format.js +31 -0
- package/dist/login/output/index.d.ts +2 -0
- package/dist/login/output/index.js +2 -0
- package/dist/login/vendor-account.d.ts +95 -0
- package/dist/login/vendor-account.js +75 -0
- package/dist/login/vendor-input.d.ts +14 -0
- package/dist/login/vendor-input.js +36 -0
- package/dist/mcp/calls.d.ts +8 -0
- package/dist/mcp/calls.js +236 -0
- package/dist/mcp/commands.d.ts +12 -0
- package/dist/mcp/commands.js +47 -0
- package/dist/mcp/index.d.ts +2 -0
- package/dist/mcp/index.js +2 -0
- package/dist/mcp/routing.d.ts +24 -0
- package/dist/mcp/routing.js +188 -0
- package/dist/mcp/server.d.ts +20 -0
- package/dist/mcp/server.js +80 -0
- package/dist/orchestration/client.d.ts +78 -0
- package/dist/orchestration/client.js +89 -0
- package/dist/orchestration/commands.d.ts +14 -0
- package/dist/orchestration/commands.js +312 -0
- package/dist/orchestration/index.d.ts +3 -0
- package/dist/orchestration/index.js +3 -0
- package/dist/orchestration/output/compact-aggregate.d.ts +121 -0
- package/dist/orchestration/output/compact-aggregate.js +110 -0
- package/dist/orchestration/output/compact-run-list.d.ts +20 -0
- package/dist/orchestration/output/compact-run-list.js +16 -0
- package/dist/orchestration/output/human.d.ts +80 -0
- package/dist/orchestration/output/human.js +252 -0
- package/dist/orchestration/output/index.d.ts +4 -0
- package/dist/orchestration/output/index.js +4 -0
- package/dist/orchestration/tree/index.d.ts +2 -0
- package/dist/orchestration/tree/index.js +2 -0
- package/dist/orchestration/tree/tree.d.ts +3 -0
- package/dist/orchestration/tree/tree.js +142 -0
- package/dist/port-lease/client.d.ts +160 -0
- package/dist/port-lease/client.js +11 -0
- package/dist/port-lease/commands.d.ts +6 -0
- package/dist/port-lease/commands.js +17 -0
- package/dist/port-lease/index.d.ts +3 -0
- package/dist/port-lease/index.js +3 -0
- package/dist/port-lease/input.d.ts +65 -0
- package/dist/port-lease/input.js +67 -0
- package/dist/port-lease/output/format.d.ts +11 -0
- package/dist/port-lease/output/format.js +24 -0
- package/dist/port-lease/output/index.d.ts +2 -0
- package/dist/port-lease/output/index.js +2 -0
- package/dist/presentation/client.d.ts +10 -0
- package/dist/presentation/client.js +9 -0
- package/dist/presentation/commands.d.ts +6 -0
- package/dist/presentation/commands.js +78 -0
- package/dist/presentation/index.d.ts +4 -0
- package/dist/presentation/index.js +3 -0
- package/dist/presentation/output/format.d.ts +11 -0
- package/dist/presentation/output/format.js +33 -0
- package/dist/presentation/output/index.d.ts +3 -0
- package/dist/presentation/output/index.js +2 -0
- package/dist/project-guard/client.d.ts +88 -0
- package/dist/project-guard/client.js +7 -0
- package/dist/project-guard/commands.d.ts +4 -0
- package/dist/project-guard/commands.js +48 -0
- package/dist/project-guard/index.d.ts +3 -0
- package/dist/project-guard/index.js +3 -0
- package/dist/project-guard/input.d.ts +18 -0
- package/dist/project-guard/input.js +47 -0
- package/dist/project-guard/output/format.d.ts +11 -0
- package/dist/project-guard/output/format.js +35 -0
- package/dist/project-guard/output/index.d.ts +2 -0
- package/dist/project-guard/output/index.js +2 -0
- package/dist/project-workspace/client.d.ts +86 -0
- package/dist/project-workspace/client.js +159 -0
- package/dist/project-workspace/commands.d.ts +30 -0
- package/dist/project-workspace/commands.js +710 -0
- package/dist/project-workspace/index.d.ts +5 -0
- package/dist/project-workspace/index.js +5 -0
- package/dist/project-workspace/metadata-client.d.ts +99 -0
- package/dist/project-workspace/metadata-client.js +8 -0
- package/dist/project-workspace/metadata-commands.d.ts +4 -0
- package/dist/project-workspace/metadata-commands.js +56 -0
- package/dist/project-workspace/output/human.d.ts +139 -0
- package/dist/project-workspace/output/human.js +115 -0
- package/dist/project-workspace/output/index.d.ts +3 -0
- package/dist/project-workspace/output/index.js +3 -0
- package/dist/project-workspace/output/metadata.d.ts +11 -0
- package/dist/project-workspace/output/metadata.js +17 -0
- package/dist/project-workspace/tree/index.d.ts +2 -0
- package/dist/project-workspace/tree/index.js +2 -0
- package/dist/project-workspace/tree/tree.d.ts +3 -0
- package/dist/project-workspace/tree/tree.js +212 -0
- package/dist/provider/client.d.ts +6 -0
- package/dist/provider/client.js +5 -0
- package/dist/provider/commands.d.ts +3 -0
- package/dist/provider/commands.js +38 -0
- package/dist/provider/index.d.ts +3 -0
- package/dist/provider/index.js +3 -0
- package/dist/reference/commands.d.ts +3 -0
- package/dist/reference/commands.js +41 -0
- package/dist/reference/index.d.ts +3 -0
- package/dist/reference/index.js +3 -0
- package/dist/reference/resolve.d.ts +31 -0
- package/dist/reference/resolve.js +304 -0
- package/dist/reference/tree/index.d.ts +2 -0
- package/dist/reference/tree/index.js +2 -0
- package/dist/reference/tree/tree.d.ts +3 -0
- package/dist/reference/tree/tree.js +17 -0
- package/dist/remote-node/client.d.ts +338 -0
- package/dist/remote-node/client.js +17 -0
- package/dist/remote-node/commands.d.ts +15 -0
- package/dist/remote-node/commands.js +342 -0
- package/dist/remote-node/connector.d.ts +67 -0
- package/dist/remote-node/connector.js +143 -0
- package/dist/remote-node/index.d.ts +4 -0
- package/dist/remote-node/index.js +4 -0
- package/dist/remote-node/reachability.d.ts +64 -0
- package/dist/remote-node/reachability.js +44 -0
- package/dist/remote-node/text.d.ts +10 -0
- package/dist/remote-node/text.js +111 -0
- package/dist/remote-node/tree/index.d.ts +2 -0
- package/dist/remote-node/tree/index.js +2 -0
- package/dist/remote-node/tree/tree.d.ts +3 -0
- package/dist/remote-node/tree/tree.js +71 -0
- package/dist/routine/client.d.ts +398 -0
- package/dist/routine/client.js +28 -0
- package/dist/routine/commands.d.ts +9 -0
- package/dist/routine/commands.js +109 -0
- package/dist/routine/index.d.ts +3 -0
- package/dist/routine/index.js +3 -0
- package/dist/routine/input.d.ts +28 -0
- package/dist/routine/input.js +44 -0
- package/dist/routine/output/format.d.ts +23 -0
- package/dist/routine/output/format.js +83 -0
- package/dist/routine/output/index.d.ts +2 -0
- package/dist/routine/output/index.js +2 -0
- package/dist/routine/tree/index.d.ts +2 -0
- package/dist/routine/tree/index.js +2 -0
- package/dist/routine/tree/tree.d.ts +3 -0
- package/dist/routine/tree/tree.js +70 -0
- package/dist/run-ledger/client.d.ts +358 -0
- package/dist/run-ledger/client.js +13 -0
- package/dist/run-ledger/commands.d.ts +8 -0
- package/dist/run-ledger/commands.js +19 -0
- package/dist/run-ledger/index.d.ts +3 -0
- package/dist/run-ledger/index.js +3 -0
- package/dist/run-ledger/input.d.ts +42 -0
- package/dist/run-ledger/input.js +107 -0
- package/dist/run-ledger/output/format.d.ts +11 -0
- package/dist/run-ledger/output/format.js +49 -0
- package/dist/run-ledger/output/index.d.ts +2 -0
- package/dist/run-ledger/output/index.js +2 -0
- package/dist/session/agent-permission.d.ts +63 -0
- package/dist/session/agent-permission.js +20 -0
- package/dist/session/approval/client.d.ts +117 -0
- package/dist/session/approval/client.js +7 -0
- package/dist/session/approval/commands.d.ts +7 -0
- package/dist/session/approval/commands.js +145 -0
- package/dist/session/approval/index.d.ts +3 -0
- package/dist/session/approval/index.js +3 -0
- package/dist/session/approval/output/format.d.ts +23 -0
- package/dist/session/approval/output/format.js +33 -0
- package/dist/session/approval/output/index.d.ts +2 -0
- package/dist/session/approval/output/index.js +2 -0
- package/dist/session/attach-client.d.ts +16 -0
- package/dist/session/attach-client.js +17 -0
- package/dist/session/attach-render.d.ts +16 -0
- package/dist/session/attach-render.js +162 -0
- package/dist/session/attach.d.ts +5 -0
- package/dist/session/attach.js +120 -0
- package/dist/session/client.d.ts +140 -0
- package/dist/session/client.js +129 -0
- package/dist/session/coding-client.d.ts +16 -0
- package/dist/session/coding-client.js +15 -0
- package/dist/session/coding-commands.d.ts +4 -0
- package/dist/session/coding-commands.js +50 -0
- package/dist/session/commands.d.ts +14 -0
- package/dist/session/commands.js +585 -0
- package/dist/session/create-tasks.d.ts +20 -0
- package/dist/session/create-tasks.js +128 -0
- package/dist/session/index.d.ts +9 -0
- package/dist/session/index.js +8 -0
- package/dist/session/interaction/client.d.ts +347 -0
- package/dist/session/interaction/client.js +15 -0
- package/dist/session/interaction/commands.d.ts +7 -0
- package/dist/session/interaction/commands.js +101 -0
- package/dist/session/interaction/index.d.ts +3 -0
- package/dist/session/interaction/index.js +3 -0
- package/dist/session/interaction/input.d.ts +15 -0
- package/dist/session/interaction/input.js +46 -0
- package/dist/session/interaction/output/format.d.ts +11 -0
- package/dist/session/interaction/output/format.js +4 -0
- package/dist/session/interaction/output/index.d.ts +2 -0
- package/dist/session/interaction/output/index.js +2 -0
- package/dist/session/output/diff.d.ts +3 -0
- package/dist/session/output/diff.js +23 -0
- package/dist/session/output/failure.d.ts +11 -0
- package/dist/session/output/failure.js +17 -0
- package/dist/session/output/human.d.ts +113 -0
- package/dist/session/output/human.js +82 -0
- package/dist/session/output/index.d.ts +6 -0
- package/dist/session/output/index.js +6 -0
- package/dist/session/output/observe.d.ts +4 -0
- package/dist/session/output/observe.js +46 -0
- package/dist/session/output/tasks.d.ts +34 -0
- package/dist/session/output/tasks.js +48 -0
- package/dist/session/rename.d.ts +3 -0
- package/dist/session/rename.js +37 -0
- package/dist/session/task-file.d.ts +5 -0
- package/dist/session/task-file.js +23 -0
- package/dist/session/tree/index.d.ts +2 -0
- package/dist/session/tree/index.js +2 -0
- package/dist/session/tree/tree.d.ts +3 -0
- package/dist/session/tree/tree.js +368 -0
- package/dist/session/turn/client.d.ts +28 -0
- package/dist/session/turn/client.js +51 -0
- package/dist/session/turn/commands.d.ts +8 -0
- package/dist/session/turn/commands.js +185 -0
- package/dist/session/turn/index.d.ts +4 -0
- package/dist/session/turn/index.js +3 -0
- package/dist/session/turn/output.d.ts +47 -0
- package/dist/session/turn/output.js +61 -0
- package/dist/status/client.d.ts +124 -0
- package/dist/status/client.js +5 -0
- package/dist/status/command.d.ts +4 -0
- package/dist/status/command.js +40 -0
- package/dist/status/doctor.d.ts +15 -0
- package/dist/status/doctor.js +111 -0
- package/dist/status/index.d.ts +5 -0
- package/dist/status/index.js +4 -0
- package/dist/status/output/compact.d.ts +32 -0
- package/dist/status/output/compact.js +49 -0
- package/dist/status/output/human.d.ts +7 -0
- package/dist/status/output/human.js +87 -0
- package/dist/status/output/index.d.ts +3 -0
- package/dist/status/output/index.js +3 -0
- package/dist/team-workspace/ceremony.d.ts +19 -0
- package/dist/team-workspace/ceremony.js +141 -0
- package/dist/team-workspace/client.d.ts +58 -0
- package/dist/team-workspace/client.js +6 -0
- package/dist/team-workspace/commands.d.ts +3 -0
- package/dist/team-workspace/commands.js +85 -0
- package/dist/team-workspace/confirmation.d.ts +4 -0
- package/dist/team-workspace/confirmation.js +8 -0
- package/dist/team-workspace/dependencies.d.ts +8 -0
- package/dist/team-workspace/dependencies.js +2 -0
- package/dist/team-workspace/index.d.ts +6 -0
- package/dist/team-workspace/index.js +5 -0
- package/dist/team-workspace/launcher.d.ts +17 -0
- package/dist/team-workspace/launcher.js +30 -0
- package/dist/team-workspace/output.d.ts +15 -0
- package/dist/team-workspace/output.js +28 -0
- package/dist/team-workspace/terminal.d.ts +9 -0
- package/dist/team-workspace/terminal.js +46 -0
- package/dist/terminal/arguments.d.ts +13 -0
- package/dist/terminal/arguments.js +79 -0
- package/dist/terminal/client.d.ts +83 -0
- package/dist/terminal/client.js +71 -0
- package/dist/terminal/commands.d.ts +7 -0
- package/dist/terminal/commands.js +143 -0
- package/dist/terminal/control-commands.d.ts +10 -0
- package/dist/terminal/control-commands.js +212 -0
- package/dist/terminal/index.d.ts +4 -0
- package/dist/terminal/index.js +4 -0
- package/dist/terminal/output/compact-list.d.ts +148 -0
- package/dist/terminal/output/compact-list.js +153 -0
- package/dist/terminal/output/human.d.ts +42 -0
- package/dist/terminal/output/human.js +55 -0
- package/dist/terminal/output/index.d.ts +3 -0
- package/dist/terminal/output/index.js +3 -0
- package/dist/terminal/tree/index.d.ts +2 -0
- package/dist/terminal/tree/index.js +2 -0
- package/dist/terminal/tree/tree.d.ts +3 -0
- package/dist/terminal/tree/tree.js +104 -0
- package/guidance/maia-cli/SKILL.md +58 -0
- package/guidance/maia-orchestration/SKILL.md +54 -0
- package/package.json +78 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PresentationCatalogResult, PresentationDirectoryResult, PresentationProjectListResult, PresentationSessionListResult } from "@maiaos/sdk";
|
|
2
|
+
export type PresentationResult = PresentationCatalogResult | PresentationDirectoryResult | PresentationProjectListResult | PresentationSessionListResult;
|
|
3
|
+
export type CliPresentationResult = {
|
|
4
|
+
readonly command: PresentationResult["method"];
|
|
5
|
+
readonly result: PresentationResult;
|
|
6
|
+
};
|
|
7
|
+
export declare const isPresentationResult: (result: {
|
|
8
|
+
readonly command: string;
|
|
9
|
+
}) => result is CliPresentationResult;
|
|
10
|
+
export declare const formatPresentationResult: ({ result, }: CliPresentationResult) => string;
|
|
11
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { cell } from "../../command-line/index.js";
|
|
2
|
+
export const isPresentationResult = (result) => result.command === "presentation.catalog.show" ||
|
|
3
|
+
result.command === "presentation.workspace-directory.show" ||
|
|
4
|
+
result.command === "presentation.project-list.show" ||
|
|
5
|
+
result.command === "presentation.session-list.show";
|
|
6
|
+
const quoted = (value) => cell(JSON.stringify(value));
|
|
7
|
+
const page = (result) => {
|
|
8
|
+
if (result.method === "presentation.session-list.show")
|
|
9
|
+
return {
|
|
10
|
+
heading: "Sessions",
|
|
11
|
+
rows: result.resources.items
|
|
12
|
+
.map((item) => `${item.id}\t${item.state}\t${item.revision}\n`)
|
|
13
|
+
.join(""),
|
|
14
|
+
};
|
|
15
|
+
const items = result.method === "presentation.project-list.show"
|
|
16
|
+
? result.resources.projects
|
|
17
|
+
: result.resources.items;
|
|
18
|
+
return {
|
|
19
|
+
heading: result.method === "presentation.project-list.show"
|
|
20
|
+
? "Projects"
|
|
21
|
+
: "Workspace directory",
|
|
22
|
+
rows: items
|
|
23
|
+
.map((item) => `${item.id}\t${quoted(item.name)}\t${item.revision}\n`)
|
|
24
|
+
.join(""),
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export const formatPresentationResult = ({ result, }) => {
|
|
28
|
+
if (result.method === "presentation.catalog.show")
|
|
29
|
+
return `${result.catalogVersion}\t${result.catalogDigest}\toperator-local\n`;
|
|
30
|
+
const { heading, rows } = page(result);
|
|
31
|
+
return `${heading} (operator-local)\n${rows}${result.resources.nextCursor === undefined ? "" : `Next: ${quoted(result.resources.nextCursor)}\n`}`;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=format.js.map
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { type ProjectGuardConfirmParameters, type ProjectGuardPreviewParameters, type ProjectGuardShowParameters } from "@maiaos/sdk";
|
|
2
|
+
import type { CliNodeOperations } from "../local-node/index.js";
|
|
3
|
+
export declare const makeProjectGuardClient: (node: CliNodeOperations) => {
|
|
4
|
+
confirmProjectGuard: (input: ProjectGuardConfirmParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
5
|
+
readonly commandId: string;
|
|
6
|
+
readonly delivery: "duplicate" | "new";
|
|
7
|
+
readonly expectedRevision: string;
|
|
8
|
+
readonly guard: {
|
|
9
|
+
readonly limits: {
|
|
10
|
+
readonly maxDepth: number;
|
|
11
|
+
readonly maxLeasesPerSession: number;
|
|
12
|
+
readonly maxLiveChildren: number;
|
|
13
|
+
readonly maxMessagesPerMinute: number;
|
|
14
|
+
};
|
|
15
|
+
readonly projectId: string;
|
|
16
|
+
readonly revision: string;
|
|
17
|
+
readonly schemaVersion: "maia.session-guard/v1";
|
|
18
|
+
readonly source: "default" | "project";
|
|
19
|
+
readonly updatedAt?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
readonly inputDigest: string;
|
|
22
|
+
readonly method: "project.guard.confirm";
|
|
23
|
+
readonly receipt: {
|
|
24
|
+
readonly actorId: string;
|
|
25
|
+
readonly aggregateRevision: string;
|
|
26
|
+
readonly commandId: string;
|
|
27
|
+
readonly createdAt: string;
|
|
28
|
+
readonly eventCursor: string;
|
|
29
|
+
readonly method: string;
|
|
30
|
+
readonly receiptId: string;
|
|
31
|
+
readonly schemaVersion: 1;
|
|
32
|
+
readonly state: "succeeded";
|
|
33
|
+
readonly target: {
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly type: string;
|
|
36
|
+
};
|
|
37
|
+
readonly updatedAt: string;
|
|
38
|
+
};
|
|
39
|
+
}>;
|
|
40
|
+
previewProjectGuard: (input: ProjectGuardPreviewParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
41
|
+
readonly inputDigest: string;
|
|
42
|
+
readonly proof: string;
|
|
43
|
+
readonly actorId: string;
|
|
44
|
+
readonly commandId: string;
|
|
45
|
+
readonly current: {
|
|
46
|
+
readonly limits: {
|
|
47
|
+
readonly maxDepth: number;
|
|
48
|
+
readonly maxLeasesPerSession: number;
|
|
49
|
+
readonly maxLiveChildren: number;
|
|
50
|
+
readonly maxMessagesPerMinute: number;
|
|
51
|
+
};
|
|
52
|
+
readonly projectId: string;
|
|
53
|
+
readonly revision: string;
|
|
54
|
+
readonly schemaVersion: "maia.session-guard/v1";
|
|
55
|
+
readonly source: "default" | "project";
|
|
56
|
+
readonly updatedAt?: string | undefined;
|
|
57
|
+
};
|
|
58
|
+
readonly expectedRevision: string;
|
|
59
|
+
readonly expiresAt: string;
|
|
60
|
+
readonly issuedAt: string;
|
|
61
|
+
readonly limits: {
|
|
62
|
+
readonly maxDepth: number;
|
|
63
|
+
readonly maxLeasesPerSession: number;
|
|
64
|
+
readonly maxLiveChildren: number;
|
|
65
|
+
readonly maxMessagesPerMinute: number;
|
|
66
|
+
};
|
|
67
|
+
readonly method: "project.guard.preview";
|
|
68
|
+
readonly projectId: string;
|
|
69
|
+
}>;
|
|
70
|
+
showProjectGuard: (input: ProjectGuardShowParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
71
|
+
readonly guard: {
|
|
72
|
+
readonly limits: {
|
|
73
|
+
readonly maxDepth: number;
|
|
74
|
+
readonly maxLeasesPerSession: number;
|
|
75
|
+
readonly maxLiveChildren: number;
|
|
76
|
+
readonly maxMessagesPerMinute: number;
|
|
77
|
+
};
|
|
78
|
+
readonly projectId: string;
|
|
79
|
+
readonly revision: string;
|
|
80
|
+
readonly schemaVersion: "maia.session-guard/v1";
|
|
81
|
+
readonly source: "default" | "project";
|
|
82
|
+
readonly updatedAt?: string | undefined;
|
|
83
|
+
};
|
|
84
|
+
readonly method: "project.guard.show";
|
|
85
|
+
}>;
|
|
86
|
+
};
|
|
87
|
+
export type ProjectGuardCliDependencies = ReturnType<typeof makeProjectGuardClient>;
|
|
88
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { projectGuardConfirmParametersSchema, projectGuardPreviewParametersSchema, projectGuardShowParametersSchema, } from "@maiaos/sdk";
|
|
2
|
+
export const makeProjectGuardClient = (node) => ({
|
|
3
|
+
confirmProjectGuard: (input) => node.runValidatedNodeOperation(input, projectGuardConfirmParametersSchema, (client, parameters, options) => client.confirmProjectGuard(parameters, options), { commandId: input.commandId }),
|
|
4
|
+
previewProjectGuard: (input) => node.runValidatedNodeOperation(input, projectGuardPreviewParametersSchema, (client, parameters, options) => client.previewProjectGuard(parameters, options)),
|
|
5
|
+
showProjectGuard: (input) => node.runValidatedNodeOperation(input, projectGuardShowParametersSchema, (client, parameters, options) => client.showProjectGuard(parameters, options)),
|
|
6
|
+
});
|
|
7
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CommandContext, type CommandEffect } from "../command-line/index.js";
|
|
2
|
+
export declare const runProjectGuardShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
3
|
+
export declare const runProjectGuardSet: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
4
|
+
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { projectGuardConfirmParametersSchema, } from "@maiaos/sdk";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import { onHolder } from "../address-space/index.js";
|
|
4
|
+
import { CliArgumentError, confirmParameters, parseOptions, readPipedPreview, readTwoPhaseMode, requirePositionals, runTwoPhase, TWO_PHASE_FLAGS, writeNodeResult, } from "../command-line/index.js";
|
|
5
|
+
import { GUARD_OPTIONS, readGuardPreview, readGuardShow } from "./input.js";
|
|
6
|
+
import { formatProjectGuardResult, } from "./output/index.js";
|
|
7
|
+
const write = (context) => (result) => writeNodeResult(result, context, {
|
|
8
|
+
toResult: (value) => ({ command: value.method, result: value }),
|
|
9
|
+
toText: formatProjectGuardResult,
|
|
10
|
+
});
|
|
11
|
+
export const runProjectGuardShow = (tokens, context) => Effect.gen(function* () {
|
|
12
|
+
const show = context.dependencies.showProjectGuard;
|
|
13
|
+
if (show === undefined)
|
|
14
|
+
return yield* Effect.die(new Error("Missing Project guard client."));
|
|
15
|
+
return write(context)(yield* show(readGuardShow(tokens)));
|
|
16
|
+
});
|
|
17
|
+
const confirmGuardParameters = (preview) => confirmParameters(projectGuardConfirmParametersSchema, preview, ["current"]);
|
|
18
|
+
const GUARD_PROMPT = {
|
|
19
|
+
describe: (preview) => formatProjectGuardResult({ command: preview.method, result: preview }),
|
|
20
|
+
question: "Set these guards?",
|
|
21
|
+
};
|
|
22
|
+
const confirmPipedGuards = (context) => Effect.flatMap(Effect.flatMap(readPipedPreview(context), confirmGuardParameters), (confirmation) => onHolder(context, { id: confirmation.projectId, kind: "project" }, (bound) => {
|
|
23
|
+
const confirm = bound.dependencies.confirmProjectGuard;
|
|
24
|
+
if (confirm === undefined)
|
|
25
|
+
return Effect.fail(new CliArgumentError("Project guards are unavailable."));
|
|
26
|
+
return Effect.map(confirm(confirmation), write(bound));
|
|
27
|
+
}));
|
|
28
|
+
export const runProjectGuardSet = (tokens, context) => Effect.gen(function* () {
|
|
29
|
+
const parsed = parseOptions(tokens, GUARD_OPTIONS, new Set(TWO_PHASE_FLAGS));
|
|
30
|
+
const mode = readTwoPhaseMode(parsed.flags, context);
|
|
31
|
+
if (mode === "confirm-stdin") {
|
|
32
|
+
requirePositionals(parsed.positionals, 0);
|
|
33
|
+
return yield* confirmPipedGuards(context);
|
|
34
|
+
}
|
|
35
|
+
const { confirmProjectGuard, previewProjectGuard } = context.dependencies;
|
|
36
|
+
if (confirmProjectGuard === undefined || previewProjectGuard === undefined)
|
|
37
|
+
return yield* new CliArgumentError("Project guards are unavailable.");
|
|
38
|
+
return yield* runTwoPhase({
|
|
39
|
+
confirm: (preview) => Effect.flatMap(confirmGuardParameters(preview), confirmProjectGuard),
|
|
40
|
+
context,
|
|
41
|
+
mode,
|
|
42
|
+
preview: () => Effect.flatMap(readGuardPreview(parsed), previewProjectGuard),
|
|
43
|
+
prompt: GUARD_PROMPT,
|
|
44
|
+
writeConfirm: write(context),
|
|
45
|
+
writePreview: write(context),
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
//# sourceMappingURL=commands.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Effect from "effect/Effect";
|
|
2
|
+
import { type ParsedOptions } from "../command-line/index.js";
|
|
3
|
+
export declare const readGuardShow: (tokens: readonly string[]) => {
|
|
4
|
+
projectId: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const GUARD_OPTIONS: ReadonlySet<string>;
|
|
7
|
+
export declare const readGuardPreview: (parsed: ParsedOptions) => Effect.Effect<{
|
|
8
|
+
commandId: string;
|
|
9
|
+
expectedRevision: string;
|
|
10
|
+
limits: {
|
|
11
|
+
readonly maxDepth: number;
|
|
12
|
+
readonly maxLeasesPerSession: number;
|
|
13
|
+
readonly maxLiveChildren: number;
|
|
14
|
+
readonly maxMessagesPerMinute: number;
|
|
15
|
+
};
|
|
16
|
+
projectId: string;
|
|
17
|
+
}, never, import("effect/Crypto").Crypto>;
|
|
18
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SESSION_GUARD_BOUNDS } from "@maiaos/sdk";
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import { CliArgumentError, parseOptions, readExpectedRevision, requirePositionals, } from "../command-line/index.js";
|
|
4
|
+
import { commandIdentifier } from "../local-node/index.js";
|
|
5
|
+
const LIMIT_OPTIONS = {
|
|
6
|
+
maxDepth: "--max-depth",
|
|
7
|
+
maxLeasesPerSession: "--max-leases-per-session",
|
|
8
|
+
maxLiveChildren: "--max-live-children",
|
|
9
|
+
maxMessagesPerMinute: "--max-messages-per-minute",
|
|
10
|
+
};
|
|
11
|
+
const readLimit = (options, limit) => {
|
|
12
|
+
const option = LIMIT_OPTIONS[limit];
|
|
13
|
+
const value = options.get(option) ?? "";
|
|
14
|
+
const { maximum, minimum } = SESSION_GUARD_BOUNDS[limit];
|
|
15
|
+
const parsed = /^\d{1,4}$/u.test(value) ? Number(value) : 0;
|
|
16
|
+
if (parsed < minimum || parsed > maximum)
|
|
17
|
+
throw new CliArgumentError(`Option '${option}' must be an integer from ${String(minimum)} to ${String(maximum)}.`);
|
|
18
|
+
return parsed;
|
|
19
|
+
};
|
|
20
|
+
const readLimits = (options) => ({
|
|
21
|
+
maxDepth: readLimit(options, "maxDepth"),
|
|
22
|
+
maxLeasesPerSession: readLimit(options, "maxLeasesPerSession"),
|
|
23
|
+
maxLiveChildren: readLimit(options, "maxLiveChildren"),
|
|
24
|
+
maxMessagesPerMinute: readLimit(options, "maxMessagesPerMinute"),
|
|
25
|
+
});
|
|
26
|
+
export const readGuardShow = (tokens) => {
|
|
27
|
+
const parsed = parseOptions(tokens, new Set());
|
|
28
|
+
requirePositionals(parsed.positionals, 1);
|
|
29
|
+
return { projectId: parsed.positionals[0] ?? "" };
|
|
30
|
+
};
|
|
31
|
+
export const GUARD_OPTIONS = new Set([
|
|
32
|
+
"--command-id",
|
|
33
|
+
"--expected-revision",
|
|
34
|
+
...Object.values(LIMIT_OPTIONS),
|
|
35
|
+
]);
|
|
36
|
+
export const readGuardPreview = (parsed) => {
|
|
37
|
+
requirePositionals(parsed.positionals, 1);
|
|
38
|
+
const expectedRevision = readExpectedRevision(parsed.options.get("--expected-revision"));
|
|
39
|
+
const limits = readLimits(parsed.options);
|
|
40
|
+
return Effect.map(commandIdentifier(parsed.options.get("--command-id")), (commandId) => ({
|
|
41
|
+
commandId,
|
|
42
|
+
expectedRevision,
|
|
43
|
+
limits,
|
|
44
|
+
projectId: parsed.positionals[0] ?? "",
|
|
45
|
+
}));
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ProjectGuardConfirmResult, ProjectGuardPreviewResult, ProjectGuardShowResult } from "@maiaos/sdk";
|
|
2
|
+
export type ProjectGuardResult = ProjectGuardConfirmResult | ProjectGuardPreviewResult | ProjectGuardShowResult;
|
|
3
|
+
export type CliProjectGuardResult = {
|
|
4
|
+
readonly command: ProjectGuardResult["method"];
|
|
5
|
+
readonly result: ProjectGuardResult;
|
|
6
|
+
};
|
|
7
|
+
export declare const isProjectGuardResult: (result: {
|
|
8
|
+
readonly command: string;
|
|
9
|
+
}) => result is CliProjectGuardResult;
|
|
10
|
+
export declare const formatProjectGuardResult: ({ result, }: CliProjectGuardResult) => string;
|
|
11
|
+
//# sourceMappingURL=format.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const isProjectGuardResult = (result) => result.command.startsWith("project.guard.");
|
|
2
|
+
const limitCells = (limits) => [
|
|
3
|
+
`maxDepth=${String(limits.maxDepth)}`,
|
|
4
|
+
`maxLiveChildren=${String(limits.maxLiveChildren)}`,
|
|
5
|
+
`maxMessagesPerMinute=${String(limits.maxMessagesPerMinute)}`,
|
|
6
|
+
`maxLeasesPerSession=${String(limits.maxLeasesPerSession)}`,
|
|
7
|
+
];
|
|
8
|
+
const guardLine = (guard) => [
|
|
9
|
+
guard.projectId,
|
|
10
|
+
`source=${guard.source}`,
|
|
11
|
+
`revision=${guard.revision}`,
|
|
12
|
+
...limitCells(guard.limits),
|
|
13
|
+
].join("\t");
|
|
14
|
+
const previewLines = (result) => [
|
|
15
|
+
`${guardLine(result.current)}\tcurrent`,
|
|
16
|
+
[
|
|
17
|
+
result.projectId,
|
|
18
|
+
"proposed",
|
|
19
|
+
...limitCells(result.limits),
|
|
20
|
+
`command=${result.commandId}`,
|
|
21
|
+
`expires=${result.expiresAt}`,
|
|
22
|
+
].join("\t"),
|
|
23
|
+
].join("\n");
|
|
24
|
+
const formatLines = (result) => {
|
|
25
|
+
switch (result.method) {
|
|
26
|
+
case "project.guard.show":
|
|
27
|
+
return guardLine(result.guard);
|
|
28
|
+
case "project.guard.preview":
|
|
29
|
+
return previewLines(result);
|
|
30
|
+
case "project.guard.confirm":
|
|
31
|
+
return `${guardLine(result.guard)}\t${result.receipt.receiptId}\t${result.delivery}`;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export const formatProjectGuardResult = ({ result, }) => `${formatLines(result)}\n`;
|
|
35
|
+
//# sourceMappingURL=format.js.map
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ExecutionCatalogGetResult, ExecutionCommandRunParameters, ExecutionCommandRunResult, ExecutionFileReadParameters, ExecutionFileReadResult, ExecutionPlacementCreateParameters, ExecutionPlacementCreateResult, ExecutionPlacementShowParameters, ExecutionPlacementShowResult, ExecutionWorktreeCheckpointCreateParameters, ExecutionWorktreeCheckpointCreateResult, ExecutionWorktreeCheckpointShowResult, ExecutionWorktreeCreateParameters, ExecutionWorktreeCreateResult, ExecutionWorktreeImportParameters, ExecutionWorktreeImportResult, ExecutionWorktreeReconcileParameters, ExecutionWorktreeReconcileResult, ExecutionWorktreeRemoveApplyParameters, ExecutionWorktreeRemoveApplyResult, ExecutionWorktreeRemovePlanResult, ExecutionWorktreeStatusResult, ProjectContextListResult, ProjectContextRecordResult, ProjectContextShowResult, ProjectListResult, ProjectRegisterResult, ProjectShowResult, ReceiptGetResult, ReceiptListParameters, ReceiptListResult, WorkspaceContextShowResult, WorkspaceExecutionConfigureParameters, WorkspaceExecutionConfigureResult, WorkspaceExecutionShowResult, WorkspaceListResult, WorkspaceMembershipAttachParameters, WorkspaceMembershipAttachResult, WorkspaceRepositoryAttachResult, WorkspaceSelectParameters, WorkspaceSelectResult, WorkspaceShowResult } from "@maiaos/sdk";
|
|
2
|
+
import { type CliNodeEffect, type CliNodeOperations } from "../local-node/index.js";
|
|
3
|
+
export type { CliNodeResult } from "../local-node/index.js";
|
|
4
|
+
type OptionalCommand<TValue> = TValue extends unknown ? Omit<TValue, "commandId"> & {
|
|
5
|
+
readonly commandId?: string;
|
|
6
|
+
} : never;
|
|
7
|
+
export type CreateExecutionPlacementInput = OptionalCommand<ExecutionPlacementCreateParameters>;
|
|
8
|
+
export type CreateExecutionCheckpointInput = OptionalCommand<ExecutionWorktreeCheckpointCreateParameters>;
|
|
9
|
+
export type CreateExecutionWorktreeInput = OptionalCommand<ExecutionWorktreeCreateParameters>;
|
|
10
|
+
export type ImportExecutionWorktreeInput = OptionalCommand<ExecutionWorktreeImportParameters>;
|
|
11
|
+
export type ReconcileExecutionWorktreeInput = OptionalCommand<ExecutionWorktreeReconcileParameters>;
|
|
12
|
+
export type AttachWorkspaceMembershipInput = OptionalCommand<WorkspaceMembershipAttachParameters>;
|
|
13
|
+
export type SelectWorkspaceInput = OptionalCommand<WorkspaceSelectParameters>;
|
|
14
|
+
export type RemoveExecutionWorktreeInput = OptionalCommand<ExecutionWorktreeRemoveApplyParameters>;
|
|
15
|
+
export type RegisterProjectInput = {
|
|
16
|
+
readonly commandId?: string;
|
|
17
|
+
readonly name?: string;
|
|
18
|
+
readonly path: string;
|
|
19
|
+
};
|
|
20
|
+
export type RecordProjectContextInput = {
|
|
21
|
+
readonly body: string;
|
|
22
|
+
readonly commandId?: string;
|
|
23
|
+
readonly projectId: string;
|
|
24
|
+
};
|
|
25
|
+
export type AttachRepositoryInput = RegisterProjectInput & {
|
|
26
|
+
readonly expectedRevision: string;
|
|
27
|
+
readonly workspaceId: string;
|
|
28
|
+
};
|
|
29
|
+
export type RunExecutionCommandInput = Omit<ExecutionCommandRunParameters, "commandId"> & {
|
|
30
|
+
readonly commandId?: string;
|
|
31
|
+
};
|
|
32
|
+
export type ReadExecutionFileInput = Omit<ExecutionFileReadParameters, "commandId"> & {
|
|
33
|
+
readonly commandId?: string;
|
|
34
|
+
};
|
|
35
|
+
export type ConfigureWorkspaceExecutionInput = (Omit<Extract<WorkspaceExecutionConfigureParameters, {
|
|
36
|
+
operation: "clear";
|
|
37
|
+
}>, "commandId"> & {
|
|
38
|
+
readonly commandId?: string;
|
|
39
|
+
}) | (Omit<Extract<WorkspaceExecutionConfigureParameters, {
|
|
40
|
+
operation: "set";
|
|
41
|
+
}>, "commandId"> & {
|
|
42
|
+
readonly commandId?: string;
|
|
43
|
+
});
|
|
44
|
+
export declare const makeProjectWorkspaceClient: (node: CliNodeOperations) => {
|
|
45
|
+
attachWorkspaceMembership: (input: AttachWorkspaceMembershipInput) => CliNodeEffect<WorkspaceMembershipAttachResult>;
|
|
46
|
+
attachWorkspaceRepository: (input: AttachRepositoryInput) => CliNodeEffect<WorkspaceRepositoryAttachResult>;
|
|
47
|
+
configureWorkspaceExecution: (input: ConfigureWorkspaceExecutionInput) => CliNodeEffect<WorkspaceExecutionConfigureResult>;
|
|
48
|
+
createExecutionCheckpoint: (input: CreateExecutionCheckpointInput) => CliNodeEffect<ExecutionWorktreeCheckpointCreateResult>;
|
|
49
|
+
createExecutionPlacement: (input: CreateExecutionPlacementInput) => CliNodeEffect<ExecutionPlacementCreateResult>;
|
|
50
|
+
createExecutionWorktree: (input: CreateExecutionWorktreeInput) => CliNodeEffect<ExecutionWorktreeCreateResult>;
|
|
51
|
+
getReceipt: (commandId: string) => CliNodeEffect<ReceiptGetResult>;
|
|
52
|
+
importExecutionWorktree: (input: ImportExecutionWorktreeInput) => CliNodeEffect<ExecutionWorktreeImportResult>;
|
|
53
|
+
listProjectContext: (input: {
|
|
54
|
+
readonly afterCursor: string;
|
|
55
|
+
readonly limit: number;
|
|
56
|
+
readonly projectId: string;
|
|
57
|
+
}) => CliNodeEffect<ProjectContextListResult>;
|
|
58
|
+
listProjects: (input: {
|
|
59
|
+
readonly afterCursor: string;
|
|
60
|
+
readonly limit: number;
|
|
61
|
+
}) => CliNodeEffect<ProjectListResult>;
|
|
62
|
+
listReceipts: (input: ReceiptListParameters) => CliNodeEffect<ReceiptListResult>;
|
|
63
|
+
listWorkspaces: (input: {
|
|
64
|
+
readonly afterCursor: string;
|
|
65
|
+
readonly limit: number;
|
|
66
|
+
readonly projectId: string;
|
|
67
|
+
}) => CliNodeEffect<WorkspaceListResult>;
|
|
68
|
+
planExecutionWorktreeRemove: (workspaceId: string) => CliNodeEffect<ExecutionWorktreeRemovePlanResult>;
|
|
69
|
+
readExecutionCatalog: () => CliNodeEffect<ExecutionCatalogGetResult>;
|
|
70
|
+
readExecutionFile: (input: ReadExecutionFileInput) => CliNodeEffect<ExecutionFileReadResult>;
|
|
71
|
+
reconcileExecutionWorktree: (input: ReconcileExecutionWorktreeInput) => CliNodeEffect<ExecutionWorktreeReconcileResult>;
|
|
72
|
+
recordProjectContext: (input: RecordProjectContextInput) => CliNodeEffect<ProjectContextRecordResult>;
|
|
73
|
+
registerProject: (input: RegisterProjectInput) => CliNodeEffect<ProjectRegisterResult>;
|
|
74
|
+
removeExecutionWorktree: (input: RemoveExecutionWorktreeInput) => CliNodeEffect<ExecutionWorktreeRemoveApplyResult>;
|
|
75
|
+
runExecutionCommand: (input: RunExecutionCommandInput) => CliNodeEffect<ExecutionCommandRunResult>;
|
|
76
|
+
selectWorkspace: (input: SelectWorkspaceInput) => CliNodeEffect<WorkspaceSelectResult>;
|
|
77
|
+
showExecutionCheckpoint: (checkpointId: string) => CliNodeEffect<ExecutionWorktreeCheckpointShowResult>;
|
|
78
|
+
showExecutionPlacement: (input: ExecutionPlacementShowParameters) => CliNodeEffect<ExecutionPlacementShowResult>;
|
|
79
|
+
showExecutionWorktreeStatus: (workspaceId: string) => CliNodeEffect<ExecutionWorktreeStatusResult>;
|
|
80
|
+
showProject: (projectId: string) => CliNodeEffect<ProjectShowResult>;
|
|
81
|
+
showProjectContext: (noteId: string) => CliNodeEffect<ProjectContextShowResult>;
|
|
82
|
+
showWorkspace: (workspaceId: string) => CliNodeEffect<WorkspaceShowResult>;
|
|
83
|
+
showWorkspaceContext: () => CliNodeEffect<WorkspaceContextShowResult>;
|
|
84
|
+
showWorkspaceExecution: (workspaceId: string) => CliNodeEffect<WorkspaceExecutionShowResult>;
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { basename, resolve } from "node:path";
|
|
2
|
+
import { executionCommandRunParametersSchema, executionFileReadParametersSchema, executionPlacementCreateParametersSchema, executionPlacementShowParametersSchema, executionWorktreeCheckpointCreateParametersSchema, executionWorktreeCheckpointShowParametersSchema, executionWorktreeCreateParametersSchema, executionWorktreeImportParametersSchema, executionWorktreeReconcileParametersSchema, executionWorktreeRemoveApplyParametersSchema, executionWorktreeRemovePlanParametersSchema, executionWorktreeStatusParametersSchema, projectContextListParametersSchema, projectContextRecordParametersSchema, projectContextShowParametersSchema, projectListParametersSchema, projectRegisterParametersSchema, projectShowParametersSchema, receiptGetParametersSchema, receiptListParametersSchema, workspaceContextShowParametersSchema, workspaceExecutionConfigureParametersSchema, workspaceExecutionShowParametersSchema, workspaceListParametersSchema, workspaceMembershipAttachParametersSchema, workspaceRepositoryAttachParametersSchema, workspaceSelectParametersSchema, workspaceShowParametersSchema, } from "@maiaos/sdk";
|
|
3
|
+
import * as Effect from "effect/Effect";
|
|
4
|
+
import { commandIdentifier, } from "../local-node/index.js";
|
|
5
|
+
export const makeProjectWorkspaceClient = (node) => {
|
|
6
|
+
const registerProject = (input) => {
|
|
7
|
+
const rootPath = resolve(input.path);
|
|
8
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
9
|
+
return node.runValidatedNodeOperation({
|
|
10
|
+
commandId,
|
|
11
|
+
expectedRevision: "0",
|
|
12
|
+
name: input.name ?? basename(rootPath),
|
|
13
|
+
rootPath,
|
|
14
|
+
}, projectRegisterParametersSchema, (client, parameters, options) => client.registerProject(parameters, options), { commandId });
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
const listProjectContext = (input) => {
|
|
18
|
+
return node.runValidatedNodeOperation(input, projectContextListParametersSchema, (client, parameters, options) => client.listProjectContext(parameters, options));
|
|
19
|
+
};
|
|
20
|
+
const listProjects = (input) => {
|
|
21
|
+
return node.runValidatedNodeOperation(input, projectListParametersSchema, (client, parameters, options) => client.listProjects(parameters, options));
|
|
22
|
+
};
|
|
23
|
+
const recordProjectContext = (input) => {
|
|
24
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
25
|
+
return node.runValidatedNodeOperation({
|
|
26
|
+
attribution: "user",
|
|
27
|
+
body: input.body,
|
|
28
|
+
commandId,
|
|
29
|
+
projectId: input.projectId,
|
|
30
|
+
}, projectContextRecordParametersSchema, (client, parameters, options) => client.recordProjectContext(parameters, options), { commandId });
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
const showProject = (projectId) => {
|
|
34
|
+
return node.runValidatedNodeOperation({ projectId }, projectShowParametersSchema, (client, parameters, options) => client.showProject(parameters, options));
|
|
35
|
+
};
|
|
36
|
+
const showProjectContext = (noteId) => {
|
|
37
|
+
return node.runValidatedNodeOperation({ noteId }, projectContextShowParametersSchema, (client, parameters, options) => client.showProjectContext(parameters, options));
|
|
38
|
+
};
|
|
39
|
+
const listWorkspaces = (input) => {
|
|
40
|
+
return node.runValidatedNodeOperation(input, workspaceListParametersSchema, (client, parameters, options) => client.listWorkspaces(parameters, options));
|
|
41
|
+
};
|
|
42
|
+
const attachWorkspaceMembership = (input) => {
|
|
43
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
44
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, workspaceMembershipAttachParametersSchema, (client, parameters, options) => client.attachWorkspaceMembership(parameters, options), { commandId });
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
const selectWorkspace = (input) => {
|
|
48
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
49
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, workspaceSelectParametersSchema, (client, parameters, options) => client.selectWorkspace(parameters, options), { commandId });
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
const showWorkspaceContext = () => node.runValidatedNodeOperation({}, workspaceContextShowParametersSchema, (client, parameters, options) => client.showWorkspaceContext(parameters, options));
|
|
53
|
+
const showWorkspace = (workspaceId) => {
|
|
54
|
+
return node.runValidatedNodeOperation({ workspaceId }, workspaceShowParametersSchema, (client, parameters, options) => client.showWorkspace(parameters, options));
|
|
55
|
+
};
|
|
56
|
+
const createExecutionPlacement = (input) => {
|
|
57
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
58
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionPlacementCreateParametersSchema, (client, parameters, options) => client.createExecutionPlacement(parameters, options), { commandId });
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
const showExecutionPlacement = (input) => node.runValidatedNodeOperation(input, executionPlacementShowParametersSchema, (client, parameters, options) => client.showExecutionPlacement(parameters, options));
|
|
62
|
+
const createExecutionWorktree = (input) => {
|
|
63
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
64
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionWorktreeCreateParametersSchema, (client, parameters, options) => client.createExecutionWorktree(parameters, options), { commandId });
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
const importExecutionWorktree = (input) => {
|
|
68
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
69
|
+
return node.runValidatedNodeOperation({ ...input, commandId, rootPath: resolve(input.rootPath) }, executionWorktreeImportParametersSchema, (client, parameters, options) => client.importExecutionWorktree(parameters, options), { commandId });
|
|
70
|
+
});
|
|
71
|
+
};
|
|
72
|
+
const showExecutionWorktreeStatus = (workspaceId) => node.runValidatedNodeOperation({ workspaceId }, executionWorktreeStatusParametersSchema, (client, parameters, options) => client.showExecutionWorktreeStatus(parameters, options));
|
|
73
|
+
const reconcileExecutionWorktree = (input) => {
|
|
74
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
75
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionWorktreeReconcileParametersSchema, (client, parameters, options) => client.reconcileExecutionWorktree(parameters, options), { commandId });
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
const planExecutionWorktreeRemove = (workspaceId) => node.runValidatedNodeOperation({ workspaceId }, executionWorktreeRemovePlanParametersSchema, (client, parameters, options) => client.planExecutionWorktreeRemove(parameters, options));
|
|
79
|
+
const removeExecutionWorktree = (input) => {
|
|
80
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
81
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionWorktreeRemoveApplyParametersSchema, (client, parameters, options) => client.removeExecutionWorktree(parameters, options), { commandId });
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
const createExecutionCheckpoint = (input) => {
|
|
85
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
86
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionWorktreeCheckpointCreateParametersSchema, (client, parameters, options) => client.createExecutionCheckpoint(parameters, options), { commandId });
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
const showExecutionCheckpoint = (checkpointId) => node.runValidatedNodeOperation({ checkpointId }, executionWorktreeCheckpointShowParametersSchema, (client, parameters, options) => client.showExecutionCheckpoint(parameters, options));
|
|
90
|
+
const readExecutionCatalog = () => node.runNodeClientOperation((client, options) => client.readExecutionCatalog({}, options));
|
|
91
|
+
const readExecutionFile = (input) => {
|
|
92
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
93
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionFileReadParametersSchema, (client, parameters, options) => client.readExecutionFile(parameters, options), { commandId });
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
const runExecutionCommand = (input) => {
|
|
97
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
98
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, executionCommandRunParametersSchema, (client, parameters, options) => client.runExecutionCommand(parameters, options), { commandId });
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
const showWorkspaceExecution = (workspaceId) => {
|
|
102
|
+
return node.runValidatedNodeOperation({ workspaceId }, workspaceExecutionShowParametersSchema, (client, parameters, options) => client.showWorkspaceExecution(parameters, options));
|
|
103
|
+
};
|
|
104
|
+
const configureWorkspaceExecution = (input) => {
|
|
105
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
106
|
+
return node.runValidatedNodeOperation({ ...input, commandId }, workspaceExecutionConfigureParametersSchema, (client, parameters, options) => client.configureWorkspaceExecution(parameters, options), { commandId });
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
const attachWorkspaceRepository = (input) => {
|
|
110
|
+
const rootPath = resolve(input.path);
|
|
111
|
+
return Effect.flatMap(commandIdentifier(input.commandId), (commandId) => {
|
|
112
|
+
return node.runValidatedNodeOperation({
|
|
113
|
+
commandId,
|
|
114
|
+
expectedRevision: input.expectedRevision,
|
|
115
|
+
name: input.name ?? basename(rootPath),
|
|
116
|
+
rootPath,
|
|
117
|
+
workspaceId: input.workspaceId,
|
|
118
|
+
}, workspaceRepositoryAttachParametersSchema, (client, parameters, options) => client.attachWorkspaceRepository(parameters, options), { commandId });
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
const getReceipt = (commandId) => {
|
|
122
|
+
return node.runValidatedNodeOperation({ commandId }, receiptGetParametersSchema, (client, parameters, options) => client.getReceipt(parameters, options));
|
|
123
|
+
};
|
|
124
|
+
const listReceipts = (input) => {
|
|
125
|
+
return node.runValidatedNodeOperation(input, receiptListParametersSchema, (client, parameters, options) => client.listReceipts(parameters, options));
|
|
126
|
+
};
|
|
127
|
+
return {
|
|
128
|
+
attachWorkspaceMembership,
|
|
129
|
+
attachWorkspaceRepository,
|
|
130
|
+
configureWorkspaceExecution,
|
|
131
|
+
createExecutionCheckpoint,
|
|
132
|
+
createExecutionPlacement,
|
|
133
|
+
createExecutionWorktree,
|
|
134
|
+
getReceipt,
|
|
135
|
+
importExecutionWorktree,
|
|
136
|
+
listProjectContext,
|
|
137
|
+
listProjects,
|
|
138
|
+
listReceipts,
|
|
139
|
+
listWorkspaces,
|
|
140
|
+
planExecutionWorktreeRemove,
|
|
141
|
+
readExecutionCatalog,
|
|
142
|
+
readExecutionFile,
|
|
143
|
+
reconcileExecutionWorktree,
|
|
144
|
+
recordProjectContext,
|
|
145
|
+
registerProject,
|
|
146
|
+
removeExecutionWorktree,
|
|
147
|
+
runExecutionCommand,
|
|
148
|
+
selectWorkspace,
|
|
149
|
+
showExecutionCheckpoint,
|
|
150
|
+
showExecutionPlacement,
|
|
151
|
+
showExecutionWorktreeStatus,
|
|
152
|
+
showProject,
|
|
153
|
+
showProjectContext,
|
|
154
|
+
showWorkspace,
|
|
155
|
+
showWorkspaceContext,
|
|
156
|
+
showWorkspaceExecution,
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type CommandContext, type CommandEffect } from "../command-line/index.js";
|
|
2
|
+
export declare const runProjectRegister: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
3
|
+
export declare const runProjectList: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
4
|
+
export declare const runProjectShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
5
|
+
export declare const runProjectContextRecord: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
6
|
+
export declare const runProjectContextList: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
7
|
+
export declare const runProjectContextShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
8
|
+
export declare const runExecutionCatalogShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
9
|
+
export declare const runExecutionFileRead: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
10
|
+
export declare const runExecutionCommandRun: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
11
|
+
export declare const runExecutionPlacementCreate: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
12
|
+
export declare const runExecutionPlacementShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
13
|
+
export declare const runExecutionWorktreeCreate: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
14
|
+
export declare const runExecutionWorktreeImport: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
15
|
+
export declare const runExecutionWorktreeStatus: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
16
|
+
export declare const runExecutionWorktreeReconcile: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
17
|
+
export declare const runExecutionWorktreeRemovePlan: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
18
|
+
export declare const runExecutionWorktreeRemoveApply: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
19
|
+
export declare const runExecutionCheckpointShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
20
|
+
export declare const runExecutionCheckpointCreate: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
21
|
+
export declare const runWorkspaceList: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
22
|
+
export declare const runWorkspaceMembershipAttach: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
23
|
+
export declare const runWorkspaceSelect: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
24
|
+
export declare const runWorkspaceContextShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
25
|
+
export declare const runWorkspaceShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
26
|
+
export declare const runWorkspaceRepositoryAttach: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
27
|
+
export declare const runWorkspaceExecutionShow: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
28
|
+
export declare const runWorkspaceExecutionSet: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
29
|
+
export declare const runWorkspaceExecutionClear: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
30
|
+
//# sourceMappingURL=commands.d.ts.map
|