@maiaos/cli 0.1.0-canary.2 → 0.1.0-canary.3
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 +38 -265
- 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.cdx.json +37 -14
- package/dist/bin/maia.mjs +1 -1
- package/dist/bootstrap/exit.d.ts +14 -0
- package/dist/bootstrap/exit.js +42 -0
- package/dist/bootstrap/process.js +4 -26
- package/dist/cli/cli.js +70 -13
- package/dist/command-line/context.d.ts +13 -4
- package/dist/command-line/context.js +1 -1
- package/dist/command-line/index.d.ts +5 -5
- package/dist/command-line/index.js +5 -4
- package/dist/command-line/input/index.d.ts +1 -1
- package/dist/command-line/input/index.js +1 -1
- package/dist/command-line/input/stdin.d.ts +1 -0
- package/dist/command-line/input/stdin.js +1 -0
- package/dist/command-line/json.d.ts +1 -0
- package/dist/command-line/json.js +23 -0
- package/dist/command-line/output.d.ts +8 -1
- package/dist/command-line/output.js +33 -14
- package/dist/command-line/rows.d.ts +2 -0
- package/dist/command-line/rows.js +10 -1
- package/dist/command-line/two-phase.d.ts +5 -0
- package/dist/command-line/two-phase.js +33 -8
- package/dist/command-tree/help.d.ts +1 -1
- package/dist/command-tree/help.js +1 -0
- package/dist/command-tree/index.d.ts +2 -2
- package/dist/command-tree/index.js +1 -1
- package/dist/command-tree/local.js +12 -0
- package/dist/command-tree/placeholder.d.ts +1 -0
- package/dist/command-tree/placeholder.js +1 -0
- package/dist/command-tree/row.d.ts +2 -0
- package/dist/command-tree/tree.d.ts +3 -2
- package/dist/command-tree/tree.js +18 -2
- package/dist/connection/client.d.ts +93 -1
- package/dist/connection/client.js +7 -1
- package/dist/connection/index.d.ts +1 -1
- package/dist/connection/index.js +1 -1
- package/dist/connection/system.d.ts +1 -0
- package/dist/connection/system.js +109 -5
- package/dist/connection/tree/tree.js +17 -4
- package/dist/container/output/format.js +1 -2
- 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/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/output/format.js +1 -5
- package/dist/hold/tree/tree.js +1 -0
- package/dist/import/commands.js +3 -4
- package/dist/import/output.js +1 -4
- package/dist/local-node/client.d.ts +8 -4
- package/dist/local-node/client.js +20 -9
- package/dist/local-node/index.d.ts +1 -1
- package/dist/local-node/index.js +1 -1
- package/dist/login/commands.js +2 -1
- package/dist/mcp/calls.d.ts +1 -0
- package/dist/mcp/calls.js +36 -3
- package/dist/mcp/commands.d.ts +5 -2
- package/dist/mcp/commands.js +30 -4
- package/dist/mcp/routing.d.ts +24 -0
- package/dist/mcp/routing.js +188 -0
- package/dist/mcp/server.d.ts +13 -4
- package/dist/mcp/server.js +35 -12
- package/dist/presentation/output/format.js +4 -3
- package/dist/project-guard/commands.js +11 -2
- package/dist/project-workspace/commands.js +16 -6
- package/dist/project-workspace/output/human.d.ts +13 -0
- package/dist/project-workspace/output/human.js +17 -5
- package/dist/project-workspace/output/index.d.ts +1 -1
- package/dist/project-workspace/output/index.js +1 -1
- package/dist/project-workspace/output/metadata.js +1 -1
- package/dist/project-workspace/tree/tree.js +27 -12
- package/dist/reference/commands.js +4 -2
- package/dist/reference/index.d.ts +1 -1
- package/dist/reference/index.js +1 -1
- package/dist/reference/resolve.d.ts +2 -0
- package/dist/reference/resolve.js +20 -17
- package/dist/remote-node/client.d.ts +89 -9
- package/dist/remote-node/client.js +6 -1
- package/dist/remote-node/commands.d.ts +9 -0
- package/dist/remote-node/commands.js +96 -18
- package/dist/remote-node/connector.d.ts +12 -4
- package/dist/remote-node/connector.js +46 -25
- package/dist/remote-node/index.d.ts +2 -2
- package/dist/remote-node/index.js +2 -2
- package/dist/remote-node/reachability.d.ts +43 -1
- package/dist/remote-node/reachability.js +13 -3
- package/dist/remote-node/text.d.ts +2 -1
- package/dist/remote-node/text.js +74 -27
- package/dist/remote-node/tree/tree.js +21 -1
- 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/session/agent-permission.d.ts +2 -2
- package/dist/session/approval/commands.js +24 -6
- package/dist/session/approval/output/format.d.ts +11 -0
- package/dist/session/approval/output/format.js +8 -0
- package/dist/session/approval/output/index.d.ts +1 -1
- package/dist/session/approval/output/index.js +1 -1
- package/dist/session/attach-client.d.ts +1 -1
- package/dist/session/attach-client.js +12 -3
- package/dist/session/attach-render.js +15 -7
- package/dist/session/attach.js +17 -3
- package/dist/session/client.d.ts +4 -2
- package/dist/session/client.js +4 -15
- package/dist/session/commands.js +76 -9
- package/dist/session/create-tasks.js +29 -11
- package/dist/session/index.d.ts +1 -1
- package/dist/session/index.js +1 -0
- package/dist/session/interaction/output/format.js +2 -1
- package/dist/session/output/diff.js +3 -10
- package/dist/session/output/failure.js +3 -10
- package/dist/session/output/human.js +21 -10
- package/dist/session/output/index.d.ts +1 -1
- package/dist/session/output/index.js +1 -1
- package/dist/session/output/tasks.d.ts +16 -1
- package/dist/session/output/tasks.js +41 -27
- package/dist/session/tree/tree.js +56 -8
- package/dist/session/turn/client.d.ts +4 -1
- package/dist/session/turn/client.js +15 -2
- package/dist/session/turn/commands.d.ts +2 -0
- package/dist/session/turn/commands.js +38 -5
- package/dist/session/turn/index.d.ts +3 -3
- package/dist/session/turn/index.js +1 -1
- package/dist/session/turn/output.d.ts +7 -2
- package/dist/session/turn/output.js +36 -13
- package/dist/status/client.d.ts +7 -2
- package/dist/status/output/compact.d.ts +1 -0
- package/dist/status/output/compact.js +3 -0
- package/dist/status/output/human.d.ts +1 -1
- package/dist/status/output/human.js +71 -14
- 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/client.d.ts +4 -0
- package/dist/terminal/client.js +3 -0
- package/dist/terminal/commands.js +37 -25
- package/dist/terminal/output/compact-list.d.ts +1 -0
- package/dist/terminal/output/compact-list.js +1 -0
- package/dist/terminal/output/human.d.ts +2 -19
- package/dist/terminal/output/human.js +6 -6
- package/dist/terminal/tree/tree.js +15 -15
- package/package.json +8 -6
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import type { LiveTerminalCloseResult, LiveTerminalControllerAcquireResult, LiveTerminalControllerReleaseResult, LiveTerminalControllerRequestResult, LiveTerminalControllerRequestShowResult, LiveTerminalResizeResult, LiveTerminalSignalResult, LiveTerminalWriteResult, TerminalCreateResult
|
|
1
|
+
import type { LiveTerminalCloseResult, LiveTerminalControllerAcquireResult, LiveTerminalControllerReleaseResult, LiveTerminalControllerRequestResult, LiveTerminalControllerRequestShowResult, LiveTerminalResizeResult, LiveTerminalSignalResult, LiveTerminalWriteResult, TerminalCreateResult } from "@maiaos/sdk";
|
|
2
2
|
import { type CliIo } from "../../command-line/index.js";
|
|
3
3
|
import type { CliNodeResult } from "../../local-node/index.js";
|
|
4
4
|
import type { CliOutputAudience, CliTerminalEventsResult, CliTerminalListResult, CliTerminalReadResult, CliTerminalShowResult } from "./compact-list.js";
|
|
5
|
-
type UnavailableTerminal = Extract<TerminalListResult["items"][number], {
|
|
6
|
-
readonly state: "unavailable";
|
|
7
|
-
}>;
|
|
8
|
-
type UnavailableTerminalCreateResult = Extract<TerminalCreateResult, {
|
|
9
|
-
readonly accepted: false;
|
|
10
|
-
}>;
|
|
11
|
-
type InteractiveTerminalCreateResult = Exclude<TerminalCreateResult, UnavailableTerminalCreateResult>;
|
|
12
5
|
export type CliTerminalResult = CliTerminalEventsResult<CliOutputAudience> | CliTerminalListResult<CliOutputAudience> | CliTerminalReadResult | CliTerminalShowResult<CliOutputAudience> | {
|
|
13
6
|
readonly command: "terminal.close";
|
|
14
7
|
readonly result: LiveTerminalCloseResult;
|
|
@@ -26,16 +19,7 @@ export type CliTerminalResult = CliTerminalEventsResult<CliOutputAudience> | Cli
|
|
|
26
19
|
readonly result: LiveTerminalControllerRequestShowResult;
|
|
27
20
|
} | {
|
|
28
21
|
readonly command: "terminal.create";
|
|
29
|
-
readonly result:
|
|
30
|
-
readonly accepted: false;
|
|
31
|
-
readonly delivery: UnavailableTerminalCreateResult["delivery"];
|
|
32
|
-
readonly receipt: UnavailableTerminalCreateResult["receipt"];
|
|
33
|
-
readonly state: UnavailableTerminal["state"];
|
|
34
|
-
readonly terminalId: string;
|
|
35
|
-
readonly unavailability: UnavailableTerminal["unavailability"];
|
|
36
|
-
readonly workspaceId: string;
|
|
37
|
-
readonly workspaceRevision: string;
|
|
38
|
-
};
|
|
22
|
+
readonly result: TerminalCreateResult;
|
|
39
23
|
} | {
|
|
40
24
|
readonly command: "terminal.input.write";
|
|
41
25
|
readonly result: LiveTerminalWriteResult;
|
|
@@ -55,5 +39,4 @@ export declare const writeTerminalResult: <TValue>(result: CliNodeResult<TValue>
|
|
|
55
39
|
readonly io: CliIo;
|
|
56
40
|
readonly json: boolean;
|
|
57
41
|
}, map: (value: TValue) => CliTerminalResult) => number;
|
|
58
|
-
export {};
|
|
59
42
|
//# sourceMappingURL=human.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cell, formatRows, writeNodeResult, } from "../../command-line/index.js";
|
|
1
|
+
import { cell, formatRows, jsonLine, writeNodeResult, } from "../../command-line/index.js";
|
|
2
2
|
const isHumanLiveTerminal = (terminal) => terminal.state !== "unavailable" && "capability" in terminal;
|
|
3
3
|
const formatTerminalProjection = (terminal) => {
|
|
4
4
|
if (terminal.state === "unavailable") {
|
|
@@ -22,13 +22,13 @@ const formatTerminalEvent = (event) => {
|
|
|
22
22
|
return `${cell(event.cursor)}\t${cell(event.type)}`;
|
|
23
23
|
};
|
|
24
24
|
export const formatTerminalEvents = (result) => formatRows(result.items, formatTerminalEvent);
|
|
25
|
-
export const formatTerminalRead = (result) =>
|
|
25
|
+
export const formatTerminalRead = (result) => (result.gap === undefined
|
|
26
|
+
? ""
|
|
27
|
+
: `gap\t${result.gap.reason}\t${cell(result.gap.oldestAvailableCursor)}\n`) +
|
|
28
|
+
formatRows(result.items, (chunk) => `${cell(chunk.cursor)}\t${chunk.bytesBase64}`);
|
|
26
29
|
export const formatTerminalResult = (result) => {
|
|
27
30
|
switch (result.command) {
|
|
28
31
|
case "terminal.create":
|
|
29
|
-
return "accepted" in result.result && !result.result.accepted
|
|
30
|
-
? `${result.result.terminalId}\t${result.result.state}\t${result.result.unavailability.code}\n`
|
|
31
|
-
: `${JSON.stringify(result.result)}\n`;
|
|
32
32
|
case "terminal.close":
|
|
33
33
|
case "terminal.controller.acquire":
|
|
34
34
|
case "terminal.controller.release":
|
|
@@ -37,7 +37,7 @@ export const formatTerminalResult = (result) => {
|
|
|
37
37
|
case "terminal.input.write":
|
|
38
38
|
case "terminal.resize":
|
|
39
39
|
case "terminal.signal":
|
|
40
|
-
return
|
|
40
|
+
return jsonLine(result.result);
|
|
41
41
|
case "terminal.events":
|
|
42
42
|
return formatTerminalEvents(result);
|
|
43
43
|
case "terminal.list":
|
|
@@ -9,95 +9,95 @@ export const TERMINAL_TREE = {
|
|
|
9
9
|
],
|
|
10
10
|
leaves: [
|
|
11
11
|
[
|
|
12
|
-
"terminal create --workspace <workspace-id> [--interactive --columns <2..500> --rows <2..300>] [--command-id <id>]",
|
|
12
|
+
"terminal create --workspace <workspace-id> [--interactive --columns <2..500> --rows <2..300>] [--command-id <id>] [-- <program> [arguments...]]",
|
|
13
13
|
1,
|
|
14
14
|
"terminal.create",
|
|
15
|
-
"Create a terminal
|
|
16
|
-
{ run: [terminal, "runTerminalCreate"] },
|
|
15
|
+
"Create a terminal: a login shell, or a listed program after '--'.",
|
|
16
|
+
{ route: "--workspace", run: [terminal, "runTerminalCreate"] },
|
|
17
17
|
],
|
|
18
18
|
[
|
|
19
19
|
"terminal list --workspace <workspace-id> [--limit <1..100>] [--after <cursor>]",
|
|
20
20
|
1,
|
|
21
21
|
"terminal.list",
|
|
22
22
|
"List a Workspace's terminals.",
|
|
23
|
-
{ run: [terminal, "runTerminalList"] },
|
|
23
|
+
{ route: "--workspace", run: [terminal, "runTerminalList"] },
|
|
24
24
|
],
|
|
25
25
|
[
|
|
26
26
|
"terminal show <terminal-id>",
|
|
27
27
|
1,
|
|
28
28
|
"terminal.show",
|
|
29
29
|
"Show one terminal.",
|
|
30
|
-
{ run: [terminal, "runTerminalShow"] },
|
|
30
|
+
{ route: "<terminal-id>", run: [terminal, "runTerminalShow"] },
|
|
31
31
|
],
|
|
32
32
|
[
|
|
33
33
|
"terminal read <terminal-id> [--limit <1..8>] [--after <chunk-cursor>]",
|
|
34
34
|
1,
|
|
35
35
|
"terminal.read",
|
|
36
36
|
"Read a terminal's output.",
|
|
37
|
-
{ run: [terminal, "runTerminalRead"] },
|
|
37
|
+
{ route: "<terminal-id>", run: [terminal, "runTerminalRead"] },
|
|
38
38
|
],
|
|
39
39
|
[
|
|
40
40
|
"terminal events list --terminal <terminal-id> [--limit <1..32>] [--after <terminal-cursor>]",
|
|
41
41
|
1,
|
|
42
42
|
"terminal.events.list",
|
|
43
43
|
"List a terminal's events.",
|
|
44
|
-
{ run: [terminal, "runTerminalEventsList"] },
|
|
44
|
+
{ route: "--terminal", run: [terminal, "runTerminalEventsList"] },
|
|
45
45
|
],
|
|
46
46
|
[
|
|
47
47
|
"terminal controller request create --terminal <terminal-id> --terminal-generation <1..65535> --lease-ms <1000..30000> [--command-id <id>]",
|
|
48
48
|
1,
|
|
49
49
|
"terminal.controller.request",
|
|
50
50
|
"Request control of a terminal.",
|
|
51
|
-
{ run: [terminal, "runControllerRequestCreate"] },
|
|
51
|
+
{ route: "--terminal", run: [terminal, "runControllerRequestCreate"] },
|
|
52
52
|
],
|
|
53
53
|
[
|
|
54
54
|
"terminal controller request show <controller-request-id> --terminal <terminal-id> --terminal-generation <1..65535>",
|
|
55
55
|
1,
|
|
56
56
|
"terminal.controller.request.show",
|
|
57
57
|
"Show a terminal control request.",
|
|
58
|
-
{ run: [terminal, "runControllerRequestShow"] },
|
|
58
|
+
{ route: "--terminal", run: [terminal, "runControllerRequestShow"] },
|
|
59
59
|
],
|
|
60
60
|
[
|
|
61
61
|
"terminal controller acquire <terminal-id> --request <controller-request-id> --terminal-generation <1..65535> --expected-revision <revision> [--command-id <id>]",
|
|
62
62
|
1,
|
|
63
63
|
"terminal.controller.acquire",
|
|
64
64
|
"Acquire control of a terminal.",
|
|
65
|
-
{ run: [terminal, "runControllerAcquire"] },
|
|
65
|
+
{ route: "<terminal-id>", run: [terminal, "runControllerAcquire"] },
|
|
66
66
|
],
|
|
67
67
|
[
|
|
68
68
|
"terminal controller release <terminal-id> --controller-id <id> --controller-epoch <epoch> --controller-revision <revision> --controller-expires-at <timestamp> --terminal-generation <1..65535> --expected-revision <revision> [--command-id <id>]",
|
|
69
69
|
1,
|
|
70
70
|
"terminal.controller.release",
|
|
71
71
|
"Release control of a terminal.",
|
|
72
|
-
{ run: [terminal, "runControllerRelease"] },
|
|
72
|
+
{ route: "<terminal-id>", run: [terminal, "runControllerRelease"] },
|
|
73
73
|
],
|
|
74
74
|
[
|
|
75
75
|
"terminal input write <terminal-id> --input-stdin --input-id <id> --input-sequence <1..2147483647> --controller-id <id> --controller-epoch <epoch> --controller-revision <revision> --controller-expires-at <timestamp> --terminal-generation <1..65535> --expected-revision <revision> [--command-id <id>]",
|
|
76
76
|
1,
|
|
77
77
|
"terminal.input.write",
|
|
78
78
|
"Write input to a terminal you control.",
|
|
79
|
-
{ run: [terminal, "runTerminalInputWrite"] },
|
|
79
|
+
{ route: "<terminal-id>", run: [terminal, "runTerminalInputWrite"] },
|
|
80
80
|
],
|
|
81
81
|
[
|
|
82
82
|
"terminal resize <terminal-id> --columns <2..500> --rows <2..300> --controller-id <id> --controller-epoch <epoch> --controller-revision <revision> --controller-expires-at <timestamp> --terminal-generation <1..65535> --expected-revision <revision> [--command-id <id>]",
|
|
83
83
|
1,
|
|
84
84
|
"terminal.session.resize",
|
|
85
85
|
"Resize a terminal you control.",
|
|
86
|
-
{ run: [terminal, "runTerminalResize"] },
|
|
86
|
+
{ route: "<terminal-id>", run: [terminal, "runTerminalResize"] },
|
|
87
87
|
],
|
|
88
88
|
[
|
|
89
89
|
"terminal signal <terminal-id> --signal <hangup|interrupt|terminate> --controller-id <id> --controller-epoch <epoch> --controller-revision <revision> --controller-expires-at <timestamp> --terminal-generation <1..65535> --expected-revision <revision> [--command-id <id>]",
|
|
90
90
|
1,
|
|
91
91
|
"terminal.session.signal",
|
|
92
92
|
"Signal a terminal you control.",
|
|
93
|
-
{ run: [terminal, "runTerminalSignal"] },
|
|
93
|
+
{ route: "<terminal-id>", run: [terminal, "runTerminalSignal"] },
|
|
94
94
|
],
|
|
95
95
|
[
|
|
96
96
|
"terminal close <terminal-id> --controller-id <id> --controller-epoch <epoch> --controller-revision <revision> --controller-expires-at <timestamp> --terminal-generation <1..65535> --expected-revision <revision> [--command-id <id>]",
|
|
97
97
|
1,
|
|
98
98
|
"terminal.session.close",
|
|
99
99
|
"Close a terminal you control.",
|
|
100
|
-
{ run: [terminal, "runTerminalClose"] },
|
|
100
|
+
{ route: "<terminal-id>", run: [terminal, "runTerminalClose"] },
|
|
101
101
|
],
|
|
102
102
|
],
|
|
103
103
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maiaos/cli",
|
|
3
|
-
"version": "0.1.0-canary.
|
|
3
|
+
"version": "0.1.0-canary.3",
|
|
4
4
|
"description": "The maia CLI and MCP server: start, drive, observe and stop swarms of Claude Code and Codex agents from a terminal, a script or another agent.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maia",
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
"codex",
|
|
18
18
|
"typescript"
|
|
19
19
|
],
|
|
20
|
-
"homepage": "https://github.com/
|
|
21
|
-
"bugs": "https://github.com/
|
|
20
|
+
"homepage": "https://github.com/vllnt/maia/tree/main/apps/cli#readme",
|
|
21
|
+
"bugs": "https://github.com/vllnt/maia/issues",
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/
|
|
24
|
+
"url": "git+https://github.com/vllnt/maia.git",
|
|
25
25
|
"directory": "apps/cli"
|
|
26
26
|
},
|
|
27
27
|
"type": "module",
|
|
@@ -62,9 +62,11 @@
|
|
|
62
62
|
"typescript": "npm:@typescript/typescript6@6.0.2"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
+
"@earendil-works/pi-tui": "1.0.0",
|
|
65
66
|
"@effect/platform-node-shared": "4.0.0",
|
|
66
|
-
"@maiaos/agent": "0.1.0-canary.
|
|
67
|
-
"@maiaos/
|
|
67
|
+
"@maiaos/agent": "0.1.0-canary.3",
|
|
68
|
+
"@maiaos/client-core": "0.1.0-canary.3",
|
|
69
|
+
"@maiaos/sdk": "0.1.0-canary.3",
|
|
68
70
|
"effect": "4.0.0"
|
|
69
71
|
},
|
|
70
72
|
"scripts": {
|