@maiaos/cli 0.1.0-canary.7 → 0.1.0-canary.71
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 +21 -0
- package/README.md +22 -15
- package/dist/address-space/address-space.js +21 -2
- package/dist/address-space/index.js +1 -1
- package/dist/agents/client.d.ts +48 -27
- package/dist/agents/client.js +10 -3
- package/dist/agents/commands.d.ts +1 -0
- package/dist/agents/commands.js +24 -2
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/agents/input.js +6 -0
- package/dist/agents/output/format.js +11 -0
- package/dist/agents/tree/tree.js +16 -4
- package/dist/bin/maia.NOTICES.txt +1 -1
- package/dist/bin/maia.cdx.json +70 -19
- package/dist/bin/maia.mjs +1 -1
- package/dist/board/client.d.ts +27 -0
- package/dist/board/client.js +40 -0
- package/dist/board/commands.d.ts +28 -0
- package/dist/board/commands.js +52 -0
- package/dist/board/index.d.ts +3 -0
- package/dist/board/index.js +3 -0
- package/dist/board/input.js +339 -0
- package/dist/board/output/format.js +175 -0
- package/dist/board/output/index.js +2 -0
- package/dist/board/plan.js +47 -0
- package/dist/board/tree/index.js +2 -0
- package/dist/board/tree/tree.js +161 -0
- package/dist/cli/cli.d.ts +11 -3
- package/dist/cli/cli.js +208 -12
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/log-level.d.ts +11 -0
- package/dist/cli/log-level.js +14 -0
- package/dist/command-line/context.d.ts +21 -6
- package/dist/command-line/emit/index.d.ts +4 -0
- package/dist/command-line/emit/index.js +4 -0
- package/dist/command-line/{output.d.ts → emit/output.d.ts} +7 -3
- package/dist/command-line/{output.js → emit/output.js} +13 -5
- package/dist/command-line/{rows.d.ts → emit/rows.d.ts} +2 -0
- package/dist/command-line/{rows.js → emit/rows.js} +6 -0
- package/dist/command-line/index.d.ts +6 -6
- package/dist/command-line/index.js +5 -6
- package/dist/command-line/input/arguments.d.ts +13 -0
- package/dist/command-line/input/arguments.js +42 -10
- package/dist/command-line/input/index.d.ts +3 -2
- package/dist/command-line/input/index.js +3 -2
- package/dist/command-line/input/manager-options.d.ts +10 -0
- package/dist/command-line/input/manager-options.js +38 -0
- package/dist/command-line/input/prompt.d.ts +1 -0
- package/dist/command-line/input/prompt.js +1 -0
- package/dist/command-line/two-phase/index.d.ts +2 -0
- package/dist/command-line/two-phase/index.js +2 -0
- package/dist/command-line/{two-phase.d.ts → two-phase/two-phase.d.ts} +14 -14
- package/dist/command-line/{two-phase.js → two-phase/two-phase.js} +11 -11
- package/dist/command-receipt/command.js +1 -1
- package/dist/command-tree/commands.d.ts +1 -1
- package/dist/command-tree/commands.js +1 -5
- package/dist/command-tree/deprecated.d.ts +2 -0
- package/dist/command-tree/deprecated.js +29 -0
- package/dist/command-tree/grammar.js +2 -0
- package/dist/command-tree/help.d.ts +2 -2
- package/dist/command-tree/help.js +13 -15
- package/dist/command-tree/index.d.ts +1 -0
- package/dist/command-tree/index.js +1 -0
- package/dist/command-tree/local.js +27 -7
- package/dist/command-tree/placeholder.js +1 -1
- package/dist/command-tree/row.d.ts +1 -0
- package/dist/command-tree/tree.d.ts +2 -1
- package/dist/command-tree/tree.js +35 -4
- package/dist/connection/client.d.ts +36 -18
- package/dist/connection/client.js +1 -0
- package/dist/connection/executors/executors.d.ts +18 -0
- package/dist/connection/executors/executors.js +95 -0
- package/dist/connection/executors/index.d.ts +2 -0
- package/dist/connection/executors/index.js +2 -0
- package/dist/connection/executors/reading.js +22 -0
- package/dist/connection/index.d.ts +1 -0
- package/dist/connection/index.js +1 -0
- package/dist/connection/input.js +4 -4
- package/dist/connection/login.d.ts +1 -1
- package/dist/connection/login.js +4 -3
- package/dist/connection/output/format.js +2 -2
- package/dist/connection/output/index.d.ts +1 -1
- package/dist/connection/output/index.js +1 -1
- package/dist/connection/resolve.d.ts +1 -0
- package/dist/connection/setup-file.js +161 -0
- package/dist/connection/system.js +93 -47
- package/dist/connection/tree/tree.js +150 -9
- package/dist/container/client.d.ts +2 -0
- package/dist/events/commands.js +65 -0
- package/dist/events/index.js +2 -0
- package/dist/events/tree/index.js +2 -0
- package/dist/events/tree/tree.js +17 -0
- package/dist/fleet/fleet.d.ts +7 -8
- package/dist/fleet/fleet.js +18 -6
- package/dist/fleet/index.d.ts +1 -1
- package/dist/fleet/index.js +1 -1
- package/dist/github/client.d.ts +189 -0
- package/dist/github/client.js +16 -0
- package/dist/github/commands.d.ts +17 -0
- package/dist/github/commands.js +81 -0
- package/dist/github/index.d.ts +3 -0
- package/dist/github/index.js +3 -0
- package/dist/github/input.js +114 -0
- package/dist/github/output/format.js +78 -0
- package/dist/github/output/index.js +2 -0
- package/dist/github/tree/index.js +2 -0
- package/dist/github/tree/tree.js +28 -0
- package/dist/goal/client.d.ts +246 -0
- package/dist/goal/client.js +13 -0
- package/dist/goal/commands.d.ts +22 -0
- package/dist/goal/commands.js +110 -0
- package/dist/goal/index.d.ts +4 -0
- package/dist/goal/index.js +4 -0
- package/dist/goal/input.js +118 -0
- package/dist/goal/output/format.js +29 -0
- package/dist/goal/output/index.js +2 -0
- package/dist/goal/pause.d.ts +16 -0
- package/dist/goal/pause.js +91 -0
- package/dist/goal/tree/index.js +2 -0
- package/dist/goal/tree/tree.js +49 -0
- package/dist/hold/client.d.ts +2 -0
- package/dist/hold/tree/tree.js +2 -2
- package/dist/import/batch/batch.js +196 -0
- package/dist/import/batch/index.js +3 -0
- package/dist/import/batch/manifest.js +108 -0
- package/dist/import/client.d.ts +3 -3
- package/dist/import/client.js +1 -1
- package/dist/import/commands.d.ts +2 -0
- package/dist/import/commands.js +104 -18
- package/dist/import/detach.d.ts +12 -0
- package/dist/import/detach.js +70 -0
- package/dist/import/index.d.ts +2 -1
- package/dist/import/index.js +2 -1
- package/dist/import/input.js +68 -11
- package/dist/import/output.js +57 -8
- package/dist/inbox/client.d.ts +310 -0
- package/dist/inbox/client.js +15 -0
- package/dist/inbox/index.d.ts +2 -0
- package/dist/inbox/index.js +2 -0
- package/dist/integration/client.d.ts +457 -1
- package/dist/integration/client.js +31 -1
- package/dist/integration/commands.d.ts +12 -0
- package/dist/integration/commands.js +73 -10
- package/dist/integration/index.d.ts +1 -1
- package/dist/integration/index.js +1 -1
- package/dist/local-node/client.d.ts +13 -1
- package/dist/local-node/client.js +189 -234
- package/dist/local-node/index.d.ts +2 -1
- package/dist/local-node/index.js +2 -1
- package/dist/local-node/wait.d.ts +10 -0
- package/dist/local-node/wait.js +17 -0
- package/dist/login/commands.js +7 -1
- package/dist/login/gateway.js +36 -13
- package/dist/login/menu.js +2 -1
- package/dist/login/vendor-account.js +3 -2
- package/dist/login/vendor-input.js +5 -4
- package/dist/mcp/calls.js +47 -221
- package/dist/mcp/routing.d.ts +3 -2
- package/dist/mcp/routing.js +38 -8
- package/dist/mcp/server.d.ts +10 -1
- package/dist/mcp/server.js +16 -6
- package/dist/migrate/classes.js +158 -0
- package/dist/migrate/commands.js +46 -0
- package/dist/migrate/format.js +199 -0
- package/dist/migrate/index.js +2 -0
- package/dist/migrate/item.js +59 -0
- package/dist/migrate/plan.js +79 -0
- package/dist/migrate/tree/index.js +2 -0
- package/dist/migrate/tree/tree.js +23 -0
- package/dist/node-update/client.d.ts +17 -0
- package/dist/node-update/client.js +27 -0
- package/dist/node-update/commands.d.ts +20 -0
- package/dist/node-update/commands.js +150 -0
- package/dist/node-update/index.d.ts +4 -0
- package/dist/node-update/index.js +4 -0
- package/dist/node-update/output.d.ts +12 -0
- package/dist/node-update/output.js +165 -0
- package/dist/node-update/tree/index.js +2 -0
- package/dist/node-update/tree/tree.js +73 -0
- package/dist/pairing/client.d.ts +13 -0
- package/dist/pairing/client.js +36 -0
- package/dist/pairing/commands.d.ts +15 -0
- package/dist/pairing/commands.js +131 -0
- package/dist/pairing/index.d.ts +4 -0
- package/dist/pairing/index.js +4 -0
- package/dist/pairing/output.d.ts +12 -0
- package/dist/pairing/output.js +53 -0
- package/dist/pairing/tree/index.js +2 -0
- package/dist/pairing/tree/tree.js +35 -0
- package/dist/panel/client.d.ts +9 -0
- package/dist/panel/client.js +24 -0
- package/dist/panel/commands.d.ts +19 -0
- package/dist/panel/commands.js +112 -0
- package/dist/panel/index.d.ts +3 -0
- package/dist/panel/index.js +3 -0
- package/dist/panel/tree/index.js +2 -0
- package/dist/panel/tree/tree.js +14 -0
- package/dist/port-lease/client.d.ts +3 -0
- package/dist/principal/client.d.ts +9 -0
- package/dist/principal/client.js +7 -0
- package/dist/principal/commands.d.ts +14 -0
- package/dist/principal/commands.js +84 -0
- package/dist/principal/index.d.ts +4 -0
- package/dist/principal/index.js +4 -0
- package/dist/principal/output.d.ts +8 -0
- package/dist/principal/output.js +43 -0
- package/dist/principal/tree/index.js +2 -0
- package/dist/principal/tree/tree.js +31 -0
- package/dist/project-guard/client.d.ts +13 -0
- package/dist/project-guard/input.js +15 -1
- package/dist/project-guard/output/format.js +5 -0
- package/dist/project-instructions/client.d.ts +56 -0
- package/dist/project-instructions/client.js +7 -0
- package/dist/project-instructions/commands.d.ts +13 -0
- package/dist/project-instructions/commands.js +89 -0
- package/dist/project-instructions/index.d.ts +3 -0
- package/dist/project-instructions/index.js +3 -0
- package/dist/project-instructions/input.js +33 -0
- package/dist/project-instructions/output/format.js +22 -0
- package/dist/project-instructions/output/index.js +2 -0
- package/dist/project-knowledge/change.js +22 -0
- package/dist/project-knowledge/client.d.ts +127 -0
- package/dist/project-knowledge/client.js +17 -0
- package/dist/project-knowledge/commands.d.ts +14 -0
- package/dist/project-knowledge/commands.js +100 -0
- package/dist/project-knowledge/index.d.ts +3 -0
- package/dist/project-knowledge/index.js +3 -0
- package/dist/project-knowledge/input.js +32 -0
- package/dist/project-knowledge/output/format.js +64 -0
- package/dist/project-knowledge/output/index.js +2 -0
- package/dist/project-knowledge/sources.js +108 -0
- package/dist/project-knowledge/upload.js +27 -0
- package/dist/project-workspace/git-reads.d.ts +12 -0
- package/dist/project-workspace/git-reads.js +71 -0
- package/dist/project-workspace/index.d.ts +1 -0
- package/dist/project-workspace/index.js +1 -0
- package/dist/project-workspace/metadata-client.d.ts +2 -0
- package/dist/project-workspace/output/human.js +1 -1
- package/dist/project-workspace/tree/tree.js +95 -5
- package/dist/reach/client.d.ts +9 -0
- package/dist/reach/client.js +7 -0
- package/dist/reach/commands.d.ts +14 -0
- package/dist/reach/commands.js +72 -0
- package/dist/reach/index.d.ts +3 -0
- package/dist/reach/index.js +3 -0
- package/dist/reach/output.js +41 -0
- package/dist/reach/tree/index.js +2 -0
- package/dist/reach/tree/tree.js +28 -0
- package/dist/reference/resolve.js +9 -2
- package/dist/remote-node/client.d.ts +85 -0
- package/dist/remote-node/commands.js +32 -17
- package/dist/remote-node/connector.d.ts +16 -0
- package/dist/remote-node/connector.js +10 -3
- package/dist/remote-node/reachability.js +31 -18
- package/dist/remote-node/reading.js +31 -0
- package/dist/remote-node/text.js +68 -5
- package/dist/remote-node/tree/tree.js +14 -3
- package/dist/routine/client.d.ts +547 -13
- package/dist/routine/client.js +19 -1
- package/dist/routine/commands.d.ts +5 -0
- package/dist/routine/commands.js +73 -15
- package/dist/routine/index.d.ts +2 -1
- package/dist/routine/index.js +2 -1
- package/dist/routine/input.js +66 -3
- package/dist/routine/output/format.js +80 -19
- package/dist/routine/output/index.js +1 -1
- package/dist/routine/portable/import-files.js +74 -0
- package/dist/routine/portable/import-output.js +21 -0
- package/dist/routine/portable/import.js +274 -0
- package/dist/routine/portable/index.js +3 -0
- package/dist/routine/portable/portable.js +185 -0
- package/dist/routine/tree/tree.js +80 -8
- package/dist/routine/trigger/commands.d.ts +20 -0
- package/dist/routine/trigger/commands.js +74 -0
- package/dist/routine/trigger/format.js +42 -0
- package/dist/routine/trigger/index.d.ts +2 -0
- package/dist/routine/trigger/index.js +2 -0
- package/dist/routine/trigger/input.js +81 -0
- package/dist/run-ledger/client.d.ts +47 -0
- package/dist/secret/client.d.ts +39 -0
- package/dist/secret/client.js +6 -0
- package/dist/secret/commands.d.ts +12 -0
- package/dist/secret/commands.js +91 -0
- package/dist/secret/index.d.ts +3 -0
- package/dist/secret/index.js +3 -0
- package/dist/secret/input.js +22 -0
- package/dist/secret/output/format.js +10 -0
- package/dist/secret/output/index.js +2 -0
- package/dist/secret/tree/index.js +2 -0
- package/dist/secret/tree/tree.js +16 -0
- package/dist/session/agent-permission.d.ts +3 -2
- package/dist/session/approval/client.d.ts +9 -5
- package/dist/session/approval/client.js +2 -2
- package/dist/session/approval/commands.d.ts +8 -0
- package/dist/session/approval/commands.js +272 -22
- package/dist/session/approval/index.d.ts +1 -1
- package/dist/session/approval/index.js +1 -1
- package/dist/session/approval/output/format.js +53 -1
- package/dist/session/approval/output/index.js +1 -1
- package/dist/session/attach.d.ts +1 -1
- package/dist/session/attach.js +7 -2
- package/dist/session/client.d.ts +23 -12
- package/dist/session/client.js +50 -18
- package/dist/session/coding-client.d.ts +2 -0
- package/dist/session/coding-client.js +1 -2
- package/dist/session/coding-commands.js +24 -7
- package/dist/session/command/commands.js +109 -0
- package/dist/session/command/index.js +2 -0
- package/dist/session/commands.d.ts +6 -1
- package/dist/session/commands.js +391 -62
- package/dist/session/create-tasks.js +10 -47
- package/dist/session/creation/creation.js +51 -0
- package/dist/session/creation/index.js +2 -0
- package/dist/session/fork/fork.js +135 -0
- package/dist/session/fork/index.js +2 -0
- package/dist/session/git-status.d.ts +11 -0
- package/dist/session/git-status.js +30 -0
- package/dist/session/index.d.ts +4 -3
- package/dist/session/index.js +3 -2
- package/dist/session/interaction/client.d.ts +3 -0
- package/dist/session/move/index.js +2 -0
- package/dist/session/move/move.js +439 -0
- package/dist/session/output/held.js +28 -0
- package/dist/session/output/human.js +64 -10
- package/dist/session/output/index.js +1 -1
- package/dist/session/output/tasks.js +68 -7
- package/dist/session/setup/index.js +2 -0
- package/dist/session/setup/setup.js +69 -0
- package/dist/session/spawn/caps.js +128 -0
- package/dist/session/spawn/index.js +5 -0
- package/dist/session/spawn/spawn.js +203 -0
- package/dist/session/spawn/standing.js +62 -0
- package/dist/session/spawn/supervision.js +62 -0
- package/dist/session/switch/index.js +2 -0
- package/dist/session/switch/switch.js +103 -0
- package/dist/session/tree/tree.js +324 -29
- package/dist/session/turn/attachments.js +54 -0
- package/dist/session/turn/client.d.ts +3 -1
- package/dist/session/turn/client.js +13 -10
- package/dist/session/turn/commands.d.ts +5 -1
- package/dist/session/turn/commands.js +204 -36
- package/dist/session/turn/index.d.ts +2 -2
- package/dist/session/turn/index.js +1 -1
- package/dist/session/turn/output.d.ts +31 -1
- package/dist/session/turn/output.js +45 -2
- package/dist/skills-sync/client.d.ts +9 -0
- package/dist/skills-sync/client.js +7 -0
- package/dist/skills-sync/commands.d.ts +15 -0
- package/dist/skills-sync/commands.js +241 -0
- package/dist/skills-sync/index.d.ts +3 -0
- package/dist/skills-sync/index.js +3 -0
- package/dist/skills-sync/output.js +168 -0
- package/dist/skills-sync/set-file.js +23 -0
- package/dist/skills-sync/tree/index.js +2 -0
- package/dist/skills-sync/tree/tree.js +38 -0
- package/dist/status/client.d.ts +21 -3
- package/dist/status/command.js +6 -3
- package/dist/status/doctor.d.ts +5 -1
- package/dist/status/doctor.js +14 -7
- package/dist/status/output/compact.d.ts +3 -0
- package/dist/status/output/compact.js +17 -7
- package/dist/status/output/human.js +25 -0
- package/dist/team-workspace/client.d.ts +1 -0
- package/dist/terminal/control-commands.js +26 -9
- package/dist/terminal/keys.js +62 -0
- package/dist/terminal/output/compact-list.js +3 -0
- package/dist/terminal/output/human.js +2 -2
- package/dist/terminal/tree/tree.js +1 -1
- package/dist/text-input/index.js +2 -0
- package/dist/text-input/text-input.js +35 -0
- package/dist/webhooks/client.d.ts +157 -0
- package/dist/webhooks/client.js +8 -0
- package/dist/webhooks/commands.d.ts +17 -0
- package/dist/webhooks/commands.js +76 -0
- package/dist/webhooks/index.d.ts +3 -0
- package/dist/webhooks/index.js +3 -0
- package/dist/webhooks/input.js +125 -0
- package/dist/webhooks/output/format.js +75 -0
- package/dist/webhooks/output/index.js +2 -0
- package/dist/webhooks/tree/index.js +2 -0
- package/dist/webhooks/tree/tree.js +49 -0
- package/guidance/maia-cli/SKILL.md +1 -1
- package/guidance/maia-node/SKILL.md +54 -0
- package/guidance/maia-orchestration/SKILL.md +1 -2
- package/guidance/maia-sessions/SKILL.md +103 -0
- package/package.json +7 -6
- package/dist/address-space/address-space.d.ts +0 -38
- package/dist/address-space/index.d.ts +0 -2
- package/dist/agents/input.d.ts +0 -130
- package/dist/agents/output/format.d.ts +0 -8
- package/dist/agents/output/index.d.ts +0 -2
- package/dist/agents/tree/index.d.ts +0 -2
- package/dist/agents/tree/tree.d.ts +0 -3
- package/dist/bootstrap/exit.d.ts +0 -14
- package/dist/bootstrap/exit.js +0 -42
- package/dist/bootstrap/index.d.ts +0 -3
- package/dist/bootstrap/index.js +0 -3
- package/dist/bootstrap/process.d.ts +0 -5
- package/dist/bootstrap/process.js +0 -23
- package/dist/bootstrap/run.d.ts +0 -25
- package/dist/bootstrap/run.js +0 -95
- package/dist/bootstrap/stdio.d.ts +0 -4
- package/dist/bootstrap/stdio.js +0 -9
- package/dist/cli/environment.d.ts +0 -8
- package/dist/cli/services.d.ts +0 -4
- package/dist/command-line/context.js +0 -2
- package/dist/command-line/input/stdin-stream.d.ts +0 -4
- package/dist/command-line/json-decoder.d.ts +0 -3
- package/dist/command-receipt/command.d.ts +0 -4
- package/dist/command-receipt/compact-list.d.ts +0 -20
- package/dist/command-receipt/index.d.ts +0 -3
- package/dist/command-tree/completion.d.ts +0 -6
- package/dist/command-tree/local.d.ts +0 -3
- package/dist/command-tree/row.js +0 -2
- package/dist/connection/access/format.d.ts +0 -8
- package/dist/connection/access/input.d.ts +0 -53
- package/dist/connection/input.d.ts +0 -50
- package/dist/connection/signin.d.ts +0 -4
- package/dist/connection/tree/index.d.ts +0 -2
- package/dist/connection/tree/tree.d.ts +0 -3
- package/dist/container/output/format.d.ts +0 -11
- package/dist/container/output/index.d.ts +0 -2
- package/dist/context/client.d.ts +0 -7
- package/dist/context/commands.d.ts +0 -3
- package/dist/context/index.d.ts +0 -3
- package/dist/dashboard/cockpit-client.d.ts +0 -6
- package/dist/dashboard/cockpit-client.js +0 -27
- package/dist/dashboard/cockpits.d.ts +0 -29
- package/dist/dashboard/cockpits.js +0 -65
- package/dist/dashboard/dashboard.d.ts +0 -7
- package/dist/dashboard/draw.d.ts +0 -15
- package/dist/dashboard/frame.d.ts +0 -4
- package/dist/dashboard/index.d.ts +0 -2
- package/dist/dashboard/modes.d.ts +0 -5
- package/dist/dashboard/node-connection.d.ts +0 -15
- package/dist/dashboard/node-connection.js +0 -51
- package/dist/dashboard/pi-tui.d.ts +0 -6
- package/dist/dashboard/status-bar.d.ts +0 -4
- package/dist/dashboard/terminal.d.ts +0 -53
- package/dist/dashboard/tree-model.d.ts +0 -28
- package/dist/dashboard/tree.d.ts +0 -10
- package/dist/development/cli.d.ts +0 -3
- package/dist/development/cli.js +0 -44
- package/dist/execution/tree/index.d.ts +0 -2
- package/dist/execution/tree/tree.d.ts +0 -3
- package/dist/hold/output/format.d.ts +0 -11
- package/dist/hold/output/index.d.ts +0 -2
- package/dist/hold/tree/index.d.ts +0 -2
- package/dist/hold/tree/tree.d.ts +0 -3
- package/dist/import/input.d.ts +0 -16
- package/dist/import/output.d.ts +0 -6
- package/dist/integration/output.d.ts +0 -22
- package/dist/login/failure.d.ts +0 -3
- package/dist/login/gateway.d.ts +0 -12
- package/dist/login/menu.d.ts +0 -4
- package/dist/login/output/format.d.ts +0 -16
- package/dist/login/output/index.d.ts +0 -2
- package/dist/login/vendor-account.d.ts +0 -95
- package/dist/login/vendor-input.d.ts +0 -14
- package/dist/mcp/calls.d.ts +0 -8
- package/dist/orchestration/output/compact-aggregate.d.ts +0 -121
- package/dist/orchestration/output/compact-run-list.d.ts +0 -20
- package/dist/orchestration/output/human.d.ts +0 -80
- package/dist/orchestration/output/index.d.ts +0 -4
- package/dist/orchestration/tree/index.d.ts +0 -2
- package/dist/orchestration/tree/tree.d.ts +0 -3
- package/dist/port-lease/input.d.ts +0 -65
- package/dist/port-lease/output/format.d.ts +0 -11
- package/dist/port-lease/output/index.d.ts +0 -2
- package/dist/presentation/output/format.d.ts +0 -11
- package/dist/presentation/output/index.d.ts +0 -3
- package/dist/project-guard/input.d.ts +0 -18
- package/dist/project-guard/output/format.d.ts +0 -11
- package/dist/project-guard/output/index.d.ts +0 -2
- package/dist/project-workspace/output/human.d.ts +0 -139
- package/dist/project-workspace/output/index.d.ts +0 -3
- package/dist/project-workspace/output/metadata.d.ts +0 -11
- package/dist/project-workspace/tree/index.d.ts +0 -2
- package/dist/project-workspace/tree/tree.d.ts +0 -3
- package/dist/provider/client.d.ts +0 -6
- package/dist/provider/commands.d.ts +0 -3
- package/dist/provider/index.d.ts +0 -3
- package/dist/reference/commands.d.ts +0 -3
- package/dist/reference/index.d.ts +0 -3
- package/dist/reference/resolve.d.ts +0 -31
- package/dist/reference/tree/index.d.ts +0 -2
- package/dist/reference/tree/tree.d.ts +0 -3
- package/dist/remote-node/reachability.d.ts +0 -64
- package/dist/remote-node/text.d.ts +0 -10
- package/dist/remote-node/tree/index.d.ts +0 -2
- package/dist/remote-node/tree/tree.d.ts +0 -3
- package/dist/routine/input.d.ts +0 -28
- package/dist/routine/output/format.d.ts +0 -23
- package/dist/routine/output/index.d.ts +0 -2
- package/dist/routine/tree/index.d.ts +0 -2
- package/dist/routine/tree/tree.d.ts +0 -3
- package/dist/run-ledger/input.d.ts +0 -42
- package/dist/run-ledger/output/format.d.ts +0 -11
- package/dist/run-ledger/output/index.d.ts +0 -2
- package/dist/session/approval/output/format.d.ts +0 -23
- package/dist/session/approval/output/index.d.ts +0 -2
- package/dist/session/attach-render.d.ts +0 -16
- package/dist/session/create-tasks.d.ts +0 -20
- package/dist/session/interaction/input.d.ts +0 -15
- package/dist/session/interaction/output/format.d.ts +0 -11
- package/dist/session/interaction/output/index.d.ts +0 -2
- package/dist/session/output/diff.d.ts +0 -3
- package/dist/session/output/failure.d.ts +0 -11
- package/dist/session/output/human.d.ts +0 -112
- package/dist/session/output/index.d.ts +0 -6
- package/dist/session/output/observe.d.ts +0 -4
- package/dist/session/output/tasks.d.ts +0 -34
- package/dist/session/task-file.d.ts +0 -5
- package/dist/session/tree/index.d.ts +0 -2
- package/dist/session/tree/tree.d.ts +0 -3
- package/dist/team-workspace/ceremony.d.ts +0 -19
- package/dist/team-workspace/confirmation.d.ts +0 -4
- package/dist/team-workspace/dependencies.js +0 -2
- package/dist/team-workspace/output.d.ts +0 -15
- package/dist/terminal/arguments.d.ts +0 -13
- package/dist/terminal/output/compact-list.d.ts +0 -148
- package/dist/terminal/output/human.d.ts +0 -42
- package/dist/terminal/output/index.d.ts +0 -3
- package/dist/terminal/tree/index.d.ts +0 -2
- package/dist/terminal/tree/tree.d.ts +0 -3
- /package/dist/command-line/{json-decoder.js → emit/json-decoder.js} +0 -0
- /package/dist/command-line/{json.d.ts → emit/json.d.ts} +0 -0
- /package/dist/command-line/{json.js → emit/json.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type IntegrationApplyClaudeCodeParameters, type IntegrationApplyCodexParameters, type IntegrationPlanClaudeCodeParameters, type IntegrationPlanCodexParameters, type IntegrationRemoveClaudeCodeParameters, type IntegrationRemoveCodexParameters, type IntegrationStatusClaudeCodeParameters, type IntegrationStatusCodexParameters } from "@maiaos/sdk";
|
|
1
|
+
import { type IntegrationApplyAntigravityParameters, type IntegrationApplyClaudeCodeParameters, type IntegrationApplyCodexParameters, type IntegrationApplyMaiaAgentParameters, type IntegrationApplyPiParameters, type IntegrationPlanAntigravityParameters, type IntegrationPlanClaudeCodeParameters, type IntegrationPlanCodexParameters, type IntegrationPlanMaiaAgentParameters, type IntegrationPlanPiParameters, type IntegrationRemoveAntigravityParameters, type IntegrationRemoveClaudeCodeParameters, type IntegrationRemoveCodexParameters, type IntegrationRemoveMaiaAgentParameters, type IntegrationRemovePiParameters, type IntegrationStatusAntigravityParameters, type IntegrationStatusClaudeCodeParameters, type IntegrationStatusCodexParameters, type IntegrationStatusMaiaAgentParameters, type IntegrationStatusPiParameters } from "@maiaos/sdk";
|
|
2
2
|
import type { CliNodeOperations } from "../local-node/index.js";
|
|
3
3
|
export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
4
4
|
planCodexIntegration: (input: IntegrationPlanCodexParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
@@ -423,6 +423,7 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
423
423
|
readonly createdAt: string;
|
|
424
424
|
readonly eventCursor: string;
|
|
425
425
|
readonly method: string;
|
|
426
|
+
readonly proposedBy?: string | undefined;
|
|
426
427
|
readonly receiptId: string;
|
|
427
428
|
readonly schemaVersion: 1;
|
|
428
429
|
readonly state: "succeeded";
|
|
@@ -509,6 +510,7 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
509
510
|
readonly createdAt: string;
|
|
510
511
|
readonly eventCursor: string;
|
|
511
512
|
readonly method: string;
|
|
513
|
+
readonly proposedBy?: string | undefined;
|
|
512
514
|
readonly receiptId: string;
|
|
513
515
|
readonly schemaVersion: 1;
|
|
514
516
|
readonly state: "succeeded";
|
|
@@ -612,6 +614,7 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
612
614
|
readonly createdAt: string;
|
|
613
615
|
readonly eventCursor: string;
|
|
614
616
|
readonly method: string;
|
|
617
|
+
readonly proposedBy?: string | undefined;
|
|
615
618
|
readonly receiptId: string;
|
|
616
619
|
readonly schemaVersion: 1;
|
|
617
620
|
readonly state: "succeeded";
|
|
@@ -1062,6 +1065,7 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
1062
1065
|
readonly createdAt: string;
|
|
1063
1066
|
readonly eventCursor: string;
|
|
1064
1067
|
readonly method: string;
|
|
1068
|
+
readonly proposedBy?: string | undefined;
|
|
1065
1069
|
readonly receiptId: string;
|
|
1066
1070
|
readonly schemaVersion: 1;
|
|
1067
1071
|
readonly state: "succeeded";
|
|
@@ -1148,6 +1152,7 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
1148
1152
|
readonly createdAt: string;
|
|
1149
1153
|
readonly eventCursor: string;
|
|
1150
1154
|
readonly method: string;
|
|
1155
|
+
readonly proposedBy?: string | undefined;
|
|
1151
1156
|
readonly receiptId: string;
|
|
1152
1157
|
readonly schemaVersion: 1;
|
|
1153
1158
|
readonly state: "succeeded";
|
|
@@ -1251,6 +1256,7 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
1251
1256
|
readonly createdAt: string;
|
|
1252
1257
|
readonly eventCursor: string;
|
|
1253
1258
|
readonly method: string;
|
|
1259
|
+
readonly proposedBy?: string | undefined;
|
|
1254
1260
|
readonly receiptId: string;
|
|
1255
1261
|
readonly schemaVersion: 1;
|
|
1256
1262
|
readonly state: "succeeded";
|
|
@@ -1279,6 +1285,456 @@ export declare const makeIntegrationClient: (node: CliNodeOperations) => {
|
|
|
1279
1285
|
};
|
|
1280
1286
|
readonly outcome: "revoked";
|
|
1281
1287
|
})>;
|
|
1288
|
+
planMaiaAgentIntegration: (input: IntegrationPlanMaiaAgentParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1289
|
+
readonly integration: "maia-agent";
|
|
1290
|
+
readonly releaseQualified: false;
|
|
1291
|
+
readonly schemaVersion: 1;
|
|
1292
|
+
readonly method: "integration.plan.maia-agent";
|
|
1293
|
+
readonly plan: {
|
|
1294
|
+
readonly createdAt: string;
|
|
1295
|
+
readonly expiresAt: string;
|
|
1296
|
+
readonly integration: "maia-agent";
|
|
1297
|
+
readonly planBytes: number;
|
|
1298
|
+
readonly planDigest: string;
|
|
1299
|
+
readonly planId: string;
|
|
1300
|
+
readonly target: {
|
|
1301
|
+
readonly adapterVersion: string;
|
|
1302
|
+
readonly executableIdentity: {
|
|
1303
|
+
readonly device: string;
|
|
1304
|
+
readonly inode: string;
|
|
1305
|
+
readonly sizeBytes: string;
|
|
1306
|
+
};
|
|
1307
|
+
readonly executablePath: string;
|
|
1308
|
+
readonly executableSha256: string;
|
|
1309
|
+
readonly sandboxPolicyRevision: string;
|
|
1310
|
+
readonly vouchPolicyRevision: string;
|
|
1311
|
+
readonly adapter: "maia-agent";
|
|
1312
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
}>;
|
|
1316
|
+
statusMaiaAgentIntegration: (input: IntegrationStatusMaiaAgentParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1317
|
+
readonly integration: "maia-agent";
|
|
1318
|
+
readonly releaseQualified: false;
|
|
1319
|
+
readonly schemaVersion: 1;
|
|
1320
|
+
readonly items: readonly [{
|
|
1321
|
+
readonly authorizationAvailable: false;
|
|
1322
|
+
readonly nextAction: "plan_and_apply";
|
|
1323
|
+
readonly reason: "no_authorization";
|
|
1324
|
+
} | {
|
|
1325
|
+
readonly activeUnsettledPermits: 0;
|
|
1326
|
+
readonly authorization: {
|
|
1327
|
+
readonly adapterVersion: string;
|
|
1328
|
+
readonly executableSha256: string;
|
|
1329
|
+
readonly planDigest: string;
|
|
1330
|
+
readonly planId: string;
|
|
1331
|
+
readonly revision: string;
|
|
1332
|
+
readonly sandboxPolicyRevision: string;
|
|
1333
|
+
readonly vouchPolicyRevision: string;
|
|
1334
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1335
|
+
readonly state: "cleanup_unknown";
|
|
1336
|
+
};
|
|
1337
|
+
readonly authorizationAvailable: true;
|
|
1338
|
+
readonly nextAction: "inspect_cleanup_unknown";
|
|
1339
|
+
readonly revokingUnsettledPermits: number;
|
|
1340
|
+
} | {
|
|
1341
|
+
readonly activeUnsettledPermits: 0;
|
|
1342
|
+
readonly authorization: {
|
|
1343
|
+
readonly adapterVersion: string;
|
|
1344
|
+
readonly executableSha256: string;
|
|
1345
|
+
readonly planDigest: string;
|
|
1346
|
+
readonly planId: string;
|
|
1347
|
+
readonly revision: string;
|
|
1348
|
+
readonly sandboxPolicyRevision: string;
|
|
1349
|
+
readonly vouchPolicyRevision: string;
|
|
1350
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1351
|
+
readonly state: "replaced";
|
|
1352
|
+
} | {
|
|
1353
|
+
readonly adapterVersion: string;
|
|
1354
|
+
readonly executableSha256: string;
|
|
1355
|
+
readonly planDigest: string;
|
|
1356
|
+
readonly planId: string;
|
|
1357
|
+
readonly revision: string;
|
|
1358
|
+
readonly sandboxPolicyRevision: string;
|
|
1359
|
+
readonly vouchPolicyRevision: string;
|
|
1360
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1361
|
+
readonly state: "revoked";
|
|
1362
|
+
};
|
|
1363
|
+
readonly authorizationAvailable: true;
|
|
1364
|
+
readonly nextAction: "plan_and_apply";
|
|
1365
|
+
readonly revokingUnsettledPermits: 0;
|
|
1366
|
+
} | {
|
|
1367
|
+
readonly activeUnsettledPermits: 0;
|
|
1368
|
+
readonly authorization: {
|
|
1369
|
+
readonly adapterVersion: string;
|
|
1370
|
+
readonly executableSha256: string;
|
|
1371
|
+
readonly planDigest: string;
|
|
1372
|
+
readonly planId: string;
|
|
1373
|
+
readonly revision: string;
|
|
1374
|
+
readonly sandboxPolicyRevision: string;
|
|
1375
|
+
readonly vouchPolicyRevision: string;
|
|
1376
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1377
|
+
readonly state: "revoking";
|
|
1378
|
+
};
|
|
1379
|
+
readonly authorizationAvailable: true;
|
|
1380
|
+
readonly nextAction: "wait_for_revocation";
|
|
1381
|
+
readonly revokingUnsettledPermits: number;
|
|
1382
|
+
} | {
|
|
1383
|
+
readonly activeUnsettledPermits: number;
|
|
1384
|
+
readonly authorization: {
|
|
1385
|
+
readonly adapterVersion: string;
|
|
1386
|
+
readonly executableSha256: string;
|
|
1387
|
+
readonly planDigest: string;
|
|
1388
|
+
readonly planId: string;
|
|
1389
|
+
readonly revision: string;
|
|
1390
|
+
readonly sandboxPolicyRevision: string;
|
|
1391
|
+
readonly vouchPolicyRevision: string;
|
|
1392
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1393
|
+
readonly state: "active";
|
|
1394
|
+
};
|
|
1395
|
+
readonly authorizationAvailable: true;
|
|
1396
|
+
readonly nextAction: "none";
|
|
1397
|
+
readonly revokingUnsettledPermits: 0;
|
|
1398
|
+
}];
|
|
1399
|
+
readonly method: "integration.status.maia-agent";
|
|
1400
|
+
}>;
|
|
1401
|
+
applyMaiaAgentIntegration: (input: IntegrationApplyMaiaAgentParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1402
|
+
readonly integration: "maia-agent";
|
|
1403
|
+
readonly releaseQualified: false;
|
|
1404
|
+
readonly schemaVersion: 1;
|
|
1405
|
+
readonly authorization: {
|
|
1406
|
+
readonly adapterVersion: string;
|
|
1407
|
+
readonly executableSha256: string;
|
|
1408
|
+
readonly planDigest: string;
|
|
1409
|
+
readonly planId: string;
|
|
1410
|
+
readonly revision: string;
|
|
1411
|
+
readonly sandboxPolicyRevision: string;
|
|
1412
|
+
readonly vouchPolicyRevision: string;
|
|
1413
|
+
readonly ownerKinds: readonly ["maia-agent-session"];
|
|
1414
|
+
readonly state: "active";
|
|
1415
|
+
};
|
|
1416
|
+
readonly delivery: "duplicate" | "new";
|
|
1417
|
+
readonly method: "integration.apply.maia-agent";
|
|
1418
|
+
readonly outcome: "applied";
|
|
1419
|
+
readonly receipt: {
|
|
1420
|
+
readonly actorId: string;
|
|
1421
|
+
readonly aggregateRevision: string;
|
|
1422
|
+
readonly commandId: string;
|
|
1423
|
+
readonly createdAt: string;
|
|
1424
|
+
readonly eventCursor: string;
|
|
1425
|
+
readonly method: string;
|
|
1426
|
+
readonly proposedBy?: string | undefined;
|
|
1427
|
+
readonly receiptId: string;
|
|
1428
|
+
readonly schemaVersion: 1;
|
|
1429
|
+
readonly state: "succeeded";
|
|
1430
|
+
readonly target: {
|
|
1431
|
+
readonly id: string;
|
|
1432
|
+
readonly type: string;
|
|
1433
|
+
};
|
|
1434
|
+
readonly updatedAt: string;
|
|
1435
|
+
};
|
|
1436
|
+
}>;
|
|
1437
|
+
removeMaiaAgentIntegration: (input: IntegrationRemoveMaiaAgentParameters) => import("../local-node/client.js").CliNodeEffect<import("@maiaos/sdk").IntegrationRemoveMaiaAgentResult>;
|
|
1438
|
+
planPiIntegration: (input: IntegrationPlanPiParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1439
|
+
readonly integration: "pi";
|
|
1440
|
+
readonly releaseQualified: false;
|
|
1441
|
+
readonly schemaVersion: 1;
|
|
1442
|
+
readonly method: "integration.plan.pi";
|
|
1443
|
+
readonly plan: {
|
|
1444
|
+
readonly createdAt: string;
|
|
1445
|
+
readonly expiresAt: string;
|
|
1446
|
+
readonly integration: "pi";
|
|
1447
|
+
readonly planBytes: number;
|
|
1448
|
+
readonly planDigest: string;
|
|
1449
|
+
readonly planId: string;
|
|
1450
|
+
readonly target: {
|
|
1451
|
+
readonly adapterVersion: string;
|
|
1452
|
+
readonly executableIdentity: {
|
|
1453
|
+
readonly device: string;
|
|
1454
|
+
readonly inode: string;
|
|
1455
|
+
readonly sizeBytes: string;
|
|
1456
|
+
};
|
|
1457
|
+
readonly executablePath: string;
|
|
1458
|
+
readonly executableSha256: string;
|
|
1459
|
+
readonly sandboxPolicyRevision: string;
|
|
1460
|
+
readonly vouchPolicyRevision: string;
|
|
1461
|
+
readonly adapter: "pi";
|
|
1462
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
}>;
|
|
1466
|
+
statusPiIntegration: (input: IntegrationStatusPiParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1467
|
+
readonly integration: "pi";
|
|
1468
|
+
readonly releaseQualified: false;
|
|
1469
|
+
readonly schemaVersion: 1;
|
|
1470
|
+
readonly items: readonly [{
|
|
1471
|
+
readonly authorizationAvailable: false;
|
|
1472
|
+
readonly nextAction: "plan_and_apply";
|
|
1473
|
+
readonly reason: "no_authorization";
|
|
1474
|
+
} | {
|
|
1475
|
+
readonly activeUnsettledPermits: 0;
|
|
1476
|
+
readonly authorization: {
|
|
1477
|
+
readonly adapterVersion: string;
|
|
1478
|
+
readonly executableSha256: string;
|
|
1479
|
+
readonly planDigest: string;
|
|
1480
|
+
readonly planId: string;
|
|
1481
|
+
readonly revision: string;
|
|
1482
|
+
readonly sandboxPolicyRevision: string;
|
|
1483
|
+
readonly vouchPolicyRevision: string;
|
|
1484
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1485
|
+
readonly state: "cleanup_unknown";
|
|
1486
|
+
};
|
|
1487
|
+
readonly authorizationAvailable: true;
|
|
1488
|
+
readonly nextAction: "inspect_cleanup_unknown";
|
|
1489
|
+
readonly revokingUnsettledPermits: number;
|
|
1490
|
+
} | {
|
|
1491
|
+
readonly activeUnsettledPermits: 0;
|
|
1492
|
+
readonly authorization: {
|
|
1493
|
+
readonly adapterVersion: string;
|
|
1494
|
+
readonly executableSha256: string;
|
|
1495
|
+
readonly planDigest: string;
|
|
1496
|
+
readonly planId: string;
|
|
1497
|
+
readonly revision: string;
|
|
1498
|
+
readonly sandboxPolicyRevision: string;
|
|
1499
|
+
readonly vouchPolicyRevision: string;
|
|
1500
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1501
|
+
readonly state: "replaced";
|
|
1502
|
+
} | {
|
|
1503
|
+
readonly adapterVersion: string;
|
|
1504
|
+
readonly executableSha256: string;
|
|
1505
|
+
readonly planDigest: string;
|
|
1506
|
+
readonly planId: string;
|
|
1507
|
+
readonly revision: string;
|
|
1508
|
+
readonly sandboxPolicyRevision: string;
|
|
1509
|
+
readonly vouchPolicyRevision: string;
|
|
1510
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1511
|
+
readonly state: "revoked";
|
|
1512
|
+
};
|
|
1513
|
+
readonly authorizationAvailable: true;
|
|
1514
|
+
readonly nextAction: "plan_and_apply";
|
|
1515
|
+
readonly revokingUnsettledPermits: 0;
|
|
1516
|
+
} | {
|
|
1517
|
+
readonly activeUnsettledPermits: 0;
|
|
1518
|
+
readonly authorization: {
|
|
1519
|
+
readonly adapterVersion: string;
|
|
1520
|
+
readonly executableSha256: string;
|
|
1521
|
+
readonly planDigest: string;
|
|
1522
|
+
readonly planId: string;
|
|
1523
|
+
readonly revision: string;
|
|
1524
|
+
readonly sandboxPolicyRevision: string;
|
|
1525
|
+
readonly vouchPolicyRevision: string;
|
|
1526
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1527
|
+
readonly state: "revoking";
|
|
1528
|
+
};
|
|
1529
|
+
readonly authorizationAvailable: true;
|
|
1530
|
+
readonly nextAction: "wait_for_revocation";
|
|
1531
|
+
readonly revokingUnsettledPermits: number;
|
|
1532
|
+
} | {
|
|
1533
|
+
readonly activeUnsettledPermits: number;
|
|
1534
|
+
readonly authorization: {
|
|
1535
|
+
readonly adapterVersion: string;
|
|
1536
|
+
readonly executableSha256: string;
|
|
1537
|
+
readonly planDigest: string;
|
|
1538
|
+
readonly planId: string;
|
|
1539
|
+
readonly revision: string;
|
|
1540
|
+
readonly sandboxPolicyRevision: string;
|
|
1541
|
+
readonly vouchPolicyRevision: string;
|
|
1542
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1543
|
+
readonly state: "active";
|
|
1544
|
+
};
|
|
1545
|
+
readonly authorizationAvailable: true;
|
|
1546
|
+
readonly nextAction: "none";
|
|
1547
|
+
readonly revokingUnsettledPermits: 0;
|
|
1548
|
+
}];
|
|
1549
|
+
readonly method: "integration.status.pi";
|
|
1550
|
+
}>;
|
|
1551
|
+
applyPiIntegration: (input: IntegrationApplyPiParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1552
|
+
readonly integration: "pi";
|
|
1553
|
+
readonly releaseQualified: false;
|
|
1554
|
+
readonly schemaVersion: 1;
|
|
1555
|
+
readonly authorization: {
|
|
1556
|
+
readonly adapterVersion: string;
|
|
1557
|
+
readonly executableSha256: string;
|
|
1558
|
+
readonly planDigest: string;
|
|
1559
|
+
readonly planId: string;
|
|
1560
|
+
readonly revision: string;
|
|
1561
|
+
readonly sandboxPolicyRevision: string;
|
|
1562
|
+
readonly vouchPolicyRevision: string;
|
|
1563
|
+
readonly ownerKinds: readonly ["pi-session"];
|
|
1564
|
+
readonly state: "active";
|
|
1565
|
+
};
|
|
1566
|
+
readonly delivery: "duplicate" | "new";
|
|
1567
|
+
readonly method: "integration.apply.pi";
|
|
1568
|
+
readonly outcome: "applied";
|
|
1569
|
+
readonly receipt: {
|
|
1570
|
+
readonly actorId: string;
|
|
1571
|
+
readonly aggregateRevision: string;
|
|
1572
|
+
readonly commandId: string;
|
|
1573
|
+
readonly createdAt: string;
|
|
1574
|
+
readonly eventCursor: string;
|
|
1575
|
+
readonly method: string;
|
|
1576
|
+
readonly proposedBy?: string | undefined;
|
|
1577
|
+
readonly receiptId: string;
|
|
1578
|
+
readonly schemaVersion: 1;
|
|
1579
|
+
readonly state: "succeeded";
|
|
1580
|
+
readonly target: {
|
|
1581
|
+
readonly id: string;
|
|
1582
|
+
readonly type: string;
|
|
1583
|
+
};
|
|
1584
|
+
readonly updatedAt: string;
|
|
1585
|
+
};
|
|
1586
|
+
}>;
|
|
1587
|
+
removePiIntegration: (input: IntegrationRemovePiParameters) => import("../local-node/client.js").CliNodeEffect<import("@maiaos/sdk").IntegrationRemovePiResult>;
|
|
1588
|
+
planAntigravityIntegration: (input: IntegrationPlanAntigravityParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1589
|
+
readonly integration: "antigravity";
|
|
1590
|
+
readonly releaseQualified: false;
|
|
1591
|
+
readonly schemaVersion: 1;
|
|
1592
|
+
readonly method: "integration.plan.antigravity";
|
|
1593
|
+
readonly plan: {
|
|
1594
|
+
readonly createdAt: string;
|
|
1595
|
+
readonly expiresAt: string;
|
|
1596
|
+
readonly integration: "antigravity";
|
|
1597
|
+
readonly planBytes: number;
|
|
1598
|
+
readonly planDigest: string;
|
|
1599
|
+
readonly planId: string;
|
|
1600
|
+
readonly target: {
|
|
1601
|
+
readonly adapterVersion: string;
|
|
1602
|
+
readonly executableIdentity: {
|
|
1603
|
+
readonly device: string;
|
|
1604
|
+
readonly inode: string;
|
|
1605
|
+
readonly sizeBytes: string;
|
|
1606
|
+
};
|
|
1607
|
+
readonly executablePath: string;
|
|
1608
|
+
readonly executableSha256: string;
|
|
1609
|
+
readonly sandboxPolicyRevision: string;
|
|
1610
|
+
readonly vouchPolicyRevision: string;
|
|
1611
|
+
readonly adapter: "antigravity";
|
|
1612
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
}>;
|
|
1616
|
+
statusAntigravityIntegration: (input: IntegrationStatusAntigravityParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1617
|
+
readonly integration: "antigravity";
|
|
1618
|
+
readonly releaseQualified: false;
|
|
1619
|
+
readonly schemaVersion: 1;
|
|
1620
|
+
readonly items: readonly [{
|
|
1621
|
+
readonly authorizationAvailable: false;
|
|
1622
|
+
readonly nextAction: "plan_and_apply";
|
|
1623
|
+
readonly reason: "no_authorization";
|
|
1624
|
+
} | {
|
|
1625
|
+
readonly activeUnsettledPermits: 0;
|
|
1626
|
+
readonly authorization: {
|
|
1627
|
+
readonly adapterVersion: string;
|
|
1628
|
+
readonly executableSha256: string;
|
|
1629
|
+
readonly planDigest: string;
|
|
1630
|
+
readonly planId: string;
|
|
1631
|
+
readonly revision: string;
|
|
1632
|
+
readonly sandboxPolicyRevision: string;
|
|
1633
|
+
readonly vouchPolicyRevision: string;
|
|
1634
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1635
|
+
readonly state: "cleanup_unknown";
|
|
1636
|
+
};
|
|
1637
|
+
readonly authorizationAvailable: true;
|
|
1638
|
+
readonly nextAction: "inspect_cleanup_unknown";
|
|
1639
|
+
readonly revokingUnsettledPermits: number;
|
|
1640
|
+
} | {
|
|
1641
|
+
readonly activeUnsettledPermits: 0;
|
|
1642
|
+
readonly authorization: {
|
|
1643
|
+
readonly adapterVersion: string;
|
|
1644
|
+
readonly executableSha256: string;
|
|
1645
|
+
readonly planDigest: string;
|
|
1646
|
+
readonly planId: string;
|
|
1647
|
+
readonly revision: string;
|
|
1648
|
+
readonly sandboxPolicyRevision: string;
|
|
1649
|
+
readonly vouchPolicyRevision: string;
|
|
1650
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1651
|
+
readonly state: "replaced";
|
|
1652
|
+
} | {
|
|
1653
|
+
readonly adapterVersion: string;
|
|
1654
|
+
readonly executableSha256: string;
|
|
1655
|
+
readonly planDigest: string;
|
|
1656
|
+
readonly planId: string;
|
|
1657
|
+
readonly revision: string;
|
|
1658
|
+
readonly sandboxPolicyRevision: string;
|
|
1659
|
+
readonly vouchPolicyRevision: string;
|
|
1660
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1661
|
+
readonly state: "revoked";
|
|
1662
|
+
};
|
|
1663
|
+
readonly authorizationAvailable: true;
|
|
1664
|
+
readonly nextAction: "plan_and_apply";
|
|
1665
|
+
readonly revokingUnsettledPermits: 0;
|
|
1666
|
+
} | {
|
|
1667
|
+
readonly activeUnsettledPermits: 0;
|
|
1668
|
+
readonly authorization: {
|
|
1669
|
+
readonly adapterVersion: string;
|
|
1670
|
+
readonly executableSha256: string;
|
|
1671
|
+
readonly planDigest: string;
|
|
1672
|
+
readonly planId: string;
|
|
1673
|
+
readonly revision: string;
|
|
1674
|
+
readonly sandboxPolicyRevision: string;
|
|
1675
|
+
readonly vouchPolicyRevision: string;
|
|
1676
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1677
|
+
readonly state: "revoking";
|
|
1678
|
+
};
|
|
1679
|
+
readonly authorizationAvailable: true;
|
|
1680
|
+
readonly nextAction: "wait_for_revocation";
|
|
1681
|
+
readonly revokingUnsettledPermits: number;
|
|
1682
|
+
} | {
|
|
1683
|
+
readonly activeUnsettledPermits: number;
|
|
1684
|
+
readonly authorization: {
|
|
1685
|
+
readonly adapterVersion: string;
|
|
1686
|
+
readonly executableSha256: string;
|
|
1687
|
+
readonly planDigest: string;
|
|
1688
|
+
readonly planId: string;
|
|
1689
|
+
readonly revision: string;
|
|
1690
|
+
readonly sandboxPolicyRevision: string;
|
|
1691
|
+
readonly vouchPolicyRevision: string;
|
|
1692
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1693
|
+
readonly state: "active";
|
|
1694
|
+
};
|
|
1695
|
+
readonly authorizationAvailable: true;
|
|
1696
|
+
readonly nextAction: "none";
|
|
1697
|
+
readonly revokingUnsettledPermits: 0;
|
|
1698
|
+
}];
|
|
1699
|
+
readonly method: "integration.status.antigravity";
|
|
1700
|
+
}>;
|
|
1701
|
+
applyAntigravityIntegration: (input: IntegrationApplyAntigravityParameters) => import("../local-node/client.js").CliNodeEffect<{
|
|
1702
|
+
readonly integration: "antigravity";
|
|
1703
|
+
readonly releaseQualified: false;
|
|
1704
|
+
readonly schemaVersion: 1;
|
|
1705
|
+
readonly authorization: {
|
|
1706
|
+
readonly adapterVersion: string;
|
|
1707
|
+
readonly executableSha256: string;
|
|
1708
|
+
readonly planDigest: string;
|
|
1709
|
+
readonly planId: string;
|
|
1710
|
+
readonly revision: string;
|
|
1711
|
+
readonly sandboxPolicyRevision: string;
|
|
1712
|
+
readonly vouchPolicyRevision: string;
|
|
1713
|
+
readonly ownerKinds: readonly ["antigravity-session"];
|
|
1714
|
+
readonly state: "active";
|
|
1715
|
+
};
|
|
1716
|
+
readonly delivery: "duplicate" | "new";
|
|
1717
|
+
readonly method: "integration.apply.antigravity";
|
|
1718
|
+
readonly outcome: "applied";
|
|
1719
|
+
readonly receipt: {
|
|
1720
|
+
readonly actorId: string;
|
|
1721
|
+
readonly aggregateRevision: string;
|
|
1722
|
+
readonly commandId: string;
|
|
1723
|
+
readonly createdAt: string;
|
|
1724
|
+
readonly eventCursor: string;
|
|
1725
|
+
readonly method: string;
|
|
1726
|
+
readonly proposedBy?: string | undefined;
|
|
1727
|
+
readonly receiptId: string;
|
|
1728
|
+
readonly schemaVersion: 1;
|
|
1729
|
+
readonly state: "succeeded";
|
|
1730
|
+
readonly target: {
|
|
1731
|
+
readonly id: string;
|
|
1732
|
+
readonly type: string;
|
|
1733
|
+
};
|
|
1734
|
+
readonly updatedAt: string;
|
|
1735
|
+
};
|
|
1736
|
+
}>;
|
|
1737
|
+
removeAntigravityIntegration: (input: IntegrationRemoveAntigravityParameters) => import("../local-node/client.js").CliNodeEffect<import("@maiaos/sdk").IntegrationRemoveAntigravityResult>;
|
|
1282
1738
|
};
|
|
1283
1739
|
export type IntegrationCliDependencies = ReturnType<typeof makeIntegrationClient>;
|
|
1284
1740
|
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { integrationApplyClaudeCodeParametersSchema, integrationApplyCodexParametersSchema, integrationPlanClaudeCodeParametersSchema, integrationPlanCodexParametersSchema, integrationRemoveClaudeCodeParametersSchema, integrationRemoveCodexParametersSchema, integrationStatusClaudeCodeParametersSchema, integrationStatusCodexParametersSchema, } from "@maiaos/sdk";
|
|
1
|
+
import { integrationApplyAntigravityParametersSchema, integrationApplyClaudeCodeParametersSchema, integrationApplyCodexParametersSchema, integrationApplyMaiaAgentParametersSchema, integrationApplyPiParametersSchema, integrationPlanAntigravityParametersSchema, integrationPlanClaudeCodeParametersSchema, integrationPlanCodexParametersSchema, integrationPlanMaiaAgentParametersSchema, integrationPlanPiParametersSchema, integrationRemoveAntigravityParametersSchema, integrationRemoveClaudeCodeParametersSchema, integrationRemoveCodexParametersSchema, integrationRemoveMaiaAgentParametersSchema, integrationRemovePiParametersSchema, integrationStatusAntigravityParametersSchema, integrationStatusClaudeCodeParametersSchema, integrationStatusCodexParametersSchema, integrationStatusMaiaAgentParametersSchema, integrationStatusPiParametersSchema, } from "@maiaos/sdk";
|
|
2
2
|
const readClient = (node) => ({
|
|
3
3
|
planCodexIntegration: (input) => node.runValidatedNodeOperation(input, integrationPlanCodexParametersSchema, (client, parameters, options) => client.planCodexIntegration(parameters, options)),
|
|
4
4
|
statusCodexIntegration: (input) => node.runValidatedNodeOperation(input, integrationStatusCodexParametersSchema, (client, parameters, options) => client.statusCodexIntegration(parameters, options)),
|
|
@@ -15,10 +15,40 @@ const claudeCodeMutationClient = (node) => ({
|
|
|
15
15
|
applyClaudeCodeIntegration: (input) => node.runValidatedNodeOperation(input, integrationApplyClaudeCodeParametersSchema, (client, parameters, options) => client.applyClaudeCodeIntegration(parameters, options), { commandId: input.commandId }),
|
|
16
16
|
removeClaudeCodeIntegration: (input) => node.runValidatedNodeOperation(input, integrationRemoveClaudeCodeParametersSchema, (client, parameters, options) => client.removeClaudeCodeIntegration(parameters, options), { commandId: input.commandId }),
|
|
17
17
|
});
|
|
18
|
+
const maiaAgentReadClient = (node) => ({
|
|
19
|
+
planMaiaAgentIntegration: (input) => node.runValidatedNodeOperation(input, integrationPlanMaiaAgentParametersSchema, (client, parameters, options) => client.planMaiaAgentIntegration(parameters, options)),
|
|
20
|
+
statusMaiaAgentIntegration: (input) => node.runValidatedNodeOperation(input, integrationStatusMaiaAgentParametersSchema, (client, parameters, options) => client.statusMaiaAgentIntegration(parameters, options)),
|
|
21
|
+
});
|
|
22
|
+
const maiaAgentMutationClient = (node) => ({
|
|
23
|
+
applyMaiaAgentIntegration: (input) => node.runValidatedNodeOperation(input, integrationApplyMaiaAgentParametersSchema, (client, parameters, options) => client.applyMaiaAgentIntegration(parameters, options), { commandId: input.commandId }),
|
|
24
|
+
removeMaiaAgentIntegration: (input) => node.runValidatedNodeOperation(input, integrationRemoveMaiaAgentParametersSchema, (client, parameters, options) => client.removeMaiaAgentIntegration(parameters, options), { commandId: input.commandId }),
|
|
25
|
+
});
|
|
26
|
+
const piReadClient = (node) => ({
|
|
27
|
+
planPiIntegration: (input) => node.runValidatedNodeOperation(input, integrationPlanPiParametersSchema, (client, parameters, options) => client.planPiIntegration(parameters, options)),
|
|
28
|
+
statusPiIntegration: (input) => node.runValidatedNodeOperation(input, integrationStatusPiParametersSchema, (client, parameters, options) => client.statusPiIntegration(parameters, options)),
|
|
29
|
+
});
|
|
30
|
+
const piMutationClient = (node) => ({
|
|
31
|
+
applyPiIntegration: (input) => node.runValidatedNodeOperation(input, integrationApplyPiParametersSchema, (client, parameters, options) => client.applyPiIntegration(parameters, options), { commandId: input.commandId }),
|
|
32
|
+
removePiIntegration: (input) => node.runValidatedNodeOperation(input, integrationRemovePiParametersSchema, (client, parameters, options) => client.removePiIntegration(parameters, options), { commandId: input.commandId }),
|
|
33
|
+
});
|
|
34
|
+
const antigravityReadClient = (node) => ({
|
|
35
|
+
planAntigravityIntegration: (input) => node.runValidatedNodeOperation(input, integrationPlanAntigravityParametersSchema, (client, parameters, options) => client.planAntigravityIntegration(parameters, options)),
|
|
36
|
+
statusAntigravityIntegration: (input) => node.runValidatedNodeOperation(input, integrationStatusAntigravityParametersSchema, (client, parameters, options) => client.statusAntigravityIntegration(parameters, options)),
|
|
37
|
+
});
|
|
38
|
+
const antigravityMutationClient = (node) => ({
|
|
39
|
+
applyAntigravityIntegration: (input) => node.runValidatedNodeOperation(input, integrationApplyAntigravityParametersSchema, (client, parameters, options) => client.applyAntigravityIntegration(parameters, options), { commandId: input.commandId }),
|
|
40
|
+
removeAntigravityIntegration: (input) => node.runValidatedNodeOperation(input, integrationRemoveAntigravityParametersSchema, (client, parameters, options) => client.removeAntigravityIntegration(parameters, options), { commandId: input.commandId }),
|
|
41
|
+
});
|
|
18
42
|
export const makeIntegrationClient = (node) => ({
|
|
19
43
|
...readClient(node),
|
|
20
44
|
...mutationClient(node),
|
|
21
45
|
...claudeCodeReadClient(node),
|
|
22
46
|
...claudeCodeMutationClient(node),
|
|
47
|
+
...maiaAgentReadClient(node),
|
|
48
|
+
...maiaAgentMutationClient(node),
|
|
49
|
+
...piReadClient(node),
|
|
50
|
+
...piMutationClient(node),
|
|
51
|
+
...antigravityReadClient(node),
|
|
52
|
+
...antigravityMutationClient(node),
|
|
23
53
|
});
|
|
24
54
|
//# sourceMappingURL=client.js.map
|
|
@@ -7,4 +7,16 @@ export declare const runPlanClaudeCode: (tokens: readonly string[], context: Com
|
|
|
7
7
|
export declare const runStatusClaudeCode: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
8
8
|
export declare const runApplyClaudeCode: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
9
9
|
export declare const runRemoveClaudeCode: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
10
|
+
export declare const runPlanMaiaAgent: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
11
|
+
export declare const runStatusMaiaAgent: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
12
|
+
export declare const runApplyMaiaAgent: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
13
|
+
export declare const runRemoveMaiaAgent: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
14
|
+
export declare const runPlanPi: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
15
|
+
export declare const runStatusPi: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
16
|
+
export declare const runApplyPi: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
17
|
+
export declare const runRemovePi: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
18
|
+
export declare const runPlanAntigravity: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
19
|
+
export declare const runStatusAntigravity: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
20
|
+
export declare const runApplyAntigravity: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
21
|
+
export declare const runRemoveAntigravity: (tokens: readonly string[], context: CommandContext) => CommandEffect;
|
|
10
22
|
//# sourceMappingURL=commands.d.ts.map
|