@maiaos/cli 0.1.0-canary.77 → 0.1.0-canary.79

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.
@@ -28,6 +28,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
28
28
  };
29
29
  readonly connectionId: string;
30
30
  readonly createdAt: string;
31
+ readonly endpoint?: {
32
+ readonly credential: "cli-config";
33
+ readonly host: string;
34
+ } | undefined;
31
35
  readonly executor: "claude-code" | "codex-cli" | "gateway";
32
36
  readonly gateway?: {
33
37
  readonly baseUrl: string;
@@ -77,6 +81,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
77
81
  };
78
82
  readonly connectionId: string;
79
83
  readonly createdAt: string;
84
+ readonly endpoint?: {
85
+ readonly credential: "cli-config";
86
+ readonly host: string;
87
+ } | undefined;
80
88
  readonly executor: "claude-code" | "codex-cli" | "gateway";
81
89
  readonly gateway?: {
82
90
  readonly baseUrl: string;
@@ -125,6 +133,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
125
133
  };
126
134
  readonly connectionId: string;
127
135
  readonly createdAt: string;
136
+ readonly endpoint?: {
137
+ readonly credential: "cli-config";
138
+ readonly host: string;
139
+ } | undefined;
128
140
  readonly executor: "claude-code" | "codex-cli" | "gateway";
129
141
  readonly gateway?: {
130
142
  readonly baseUrl: string;
@@ -174,6 +186,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
174
186
  };
175
187
  readonly connectionId: string;
176
188
  readonly createdAt: string;
189
+ readonly endpoint?: {
190
+ readonly credential: "cli-config";
191
+ readonly host: string;
192
+ } | undefined;
177
193
  readonly executor: "claude-code" | "codex-cli" | "gateway";
178
194
  readonly gateway?: {
179
195
  readonly baseUrl: string;
@@ -241,6 +257,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
241
257
  };
242
258
  readonly connectionId: string;
243
259
  readonly createdAt: string;
260
+ readonly endpoint?: {
261
+ readonly credential: "cli-config";
262
+ readonly host: string;
263
+ } | undefined;
244
264
  readonly executor: "claude-code" | "codex-cli" | "gateway";
245
265
  readonly gateway?: {
246
266
  readonly baseUrl: string;
@@ -309,6 +329,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
309
329
  };
310
330
  readonly connectionId: string;
311
331
  readonly createdAt: string;
332
+ readonly endpoint?: {
333
+ readonly credential: "cli-config";
334
+ readonly host: string;
335
+ } | undefined;
312
336
  readonly executor: "claude-code" | "codex-cli" | "gateway";
313
337
  readonly gateway?: {
314
338
  readonly baseUrl: string;
@@ -377,6 +401,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
377
401
  };
378
402
  readonly connectionId: string;
379
403
  readonly createdAt: string;
404
+ readonly endpoint?: {
405
+ readonly credential: "cli-config";
406
+ readonly host: string;
407
+ } | undefined;
380
408
  readonly executor: "claude-code" | "codex-cli" | "gateway";
381
409
  readonly gateway?: {
382
410
  readonly baseUrl: string;
@@ -445,6 +473,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
445
473
  };
446
474
  readonly connectionId: string;
447
475
  readonly createdAt: string;
476
+ readonly endpoint?: {
477
+ readonly credential: "cli-config";
478
+ readonly host: string;
479
+ } | undefined;
448
480
  readonly executor: "claude-code" | "codex-cli" | "gateway";
449
481
  readonly gateway?: {
450
482
  readonly baseUrl: string;
@@ -541,6 +573,10 @@ export declare const makeConnectionClient: (node: CliNodeOperations) => {
541
573
  };
542
574
  readonly connectionId: string;
543
575
  readonly createdAt: string;
576
+ readonly endpoint?: {
577
+ readonly credential: "cli-config";
578
+ readonly host: string;
579
+ } | undefined;
544
580
  readonly executor: "claude-code" | "codex-cli" | "gateway";
545
581
  readonly gateway?: {
546
582
  readonly baseUrl: string;
@@ -46,7 +46,10 @@ export const describeConnection = (connection) => {
46
46
  const gateway = connection.gateway === undefined
47
47
  ? ""
48
48
  : ` gateway=${connection.gateway.baseUrl}${connection.gateway.keyEnv === undefined ? "" : ` key=env:${connection.gateway.keyEnv}`}`;
49
- return `${connection.connectionId} ${connection.name} ${connection.executor} ${connection.state} sessions<=${String(connection.maxConcurrentSessions)} revision=${connection.revision} root=${connection.configRoot.kind}${gateway}${limited}${usage}`;
49
+ const endpoint = connection.endpoint === undefined
50
+ ? ""
51
+ : ` endpoint=${connection.endpoint.host} key=${connection.endpoint.credential}`;
52
+ return `${connection.connectionId} ${connection.name} ${connection.executor} ${connection.state} sessions<=${String(connection.maxConcurrentSessions)} revision=${connection.revision} root=${connection.configRoot.kind}${endpoint}${gateway}${limited}${usage}`;
50
53
  };
51
54
  const describeLogin = (login) => login.authUrl === undefined
52
55
  ? `Open ${login.verificationUrl ?? ""} and enter ${login.userCode ?? ""} before ${login.expiresAt}.`
@@ -21,6 +21,10 @@ export declare const findConnectionByName: (context: CommandContext, name: strin
21
21
  };
22
22
  readonly connectionId: string;
23
23
  readonly createdAt: string;
24
+ readonly endpoint?: {
25
+ readonly credential: "cli-config";
26
+ readonly host: string;
27
+ } | undefined;
24
28
  readonly executor: "claude-code" | "codex-cli" | "gateway";
25
29
  readonly gateway?: {
26
30
  readonly baseUrl: string;
@@ -66,7 +66,14 @@ const detectedText = (item) => {
66
66
  return [
67
67
  `${item.executor} ${version ?? "(version unknown)"} ${path}${onNodePath ? "" : " (not on the Node's PATH)"}`,
68
68
  ` ${signIn(item)}; ${account}; executable ${item.executableApproved ? "approved" : "not approved"}`,
69
- ...(item.endpoint?.hint === undefined ? [] : [` ${item.endpoint.hint}`]),
69
+ ...(item.endpoint?.credential === "helper" && item.connection === undefined
70
+ ? [
71
+ " next: 'maia setup' uses it with the CLI's own config; Maia keeps no key",
72
+ ]
73
+ : []),
74
+ ...(item.endpoint?.hint === undefined
75
+ ? []
76
+ : [` for worker Sessions: ${item.endpoint.hint}`]),
70
77
  ...upkeepText(item),
71
78
  "",
72
79
  ].join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maiaos/cli",
3
- "version": "0.1.0-canary.77",
3
+ "version": "0.1.0-canary.79",
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",
@@ -65,9 +65,9 @@
65
65
  "dependencies": {
66
66
  "@earendil-works/pi-tui": "1.0.0",
67
67
  "@effect/platform-node-shared": "4.0.0",
68
- "@maiaos/agent": "0.1.0-canary.77",
69
- "@maiaos/client-core": "0.1.0-canary.77",
70
- "@maiaos/sdk": "0.1.0-canary.77",
68
+ "@maiaos/agent": "0.1.0-canary.79",
69
+ "@maiaos/client-core": "0.1.0-canary.79",
70
+ "@maiaos/sdk": "0.1.0-canary.79",
71
71
  "effect": "4.0.0"
72
72
  },
73
73
  "scripts": {