@ainecto/cli 0.16.10 → 0.16.12
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 +2 -2
- package/dist/bin/ainecto.js +110 -20
- package/dist/bin/ainecto.js.map +1 -1
- package/dist/bin/mcp.js +12 -4
- package/dist/bin/mcp.js.map +1 -1
- package/dist/term/compute.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -253,7 +253,7 @@ ainecto term restore # after a reboot: start again
|
|
|
253
253
|
command stops with an error and removes nothing.
|
|
254
254
|
- Starting the background process waits up to 10 seconds per try for it to report ready, at most 3 tries.
|
|
255
255
|
- `wait` itself waits until `--timeout` (without it, until the pattern appears or the session ends).
|
|
256
|
-
- Platforms: macOS; Linux with glibc on Node.js 20.8.0 or newer; Windows
|
|
256
|
+
- Platforms: macOS; Linux with glibc on Node.js 20.8.0 or newer; Windows 11 on x64
|
|
257
257
|
and arm64 (the rest of the CLI runs on Node 18). It uses the optional dependency `node-pty`, which ships
|
|
258
258
|
prebuilt binaries — no compiler needed. If it could not be installed, `ainecto term` says so and the other
|
|
259
259
|
commands keep working.
|
|
@@ -277,7 +277,7 @@ This is the entry `setup --local` and `init --mcp --local` write — you normall
|
|
|
277
277
|
"mcpServers": {
|
|
278
278
|
"ainecto": {
|
|
279
279
|
"command": "npx",
|
|
280
|
-
"args": ["-y", "@ainecto/mcp@0.16.
|
|
280
|
+
"args": ["-y", "@ainecto/mcp@0.16.12"]
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
}
|
package/dist/bin/ainecto.js
CHANGED
|
@@ -5699,9 +5699,9 @@ function legacyRoleInput(flag, envVars = process.env) {
|
|
|
5699
5699
|
|
|
5700
5700
|
// src/core/version.ts
|
|
5701
5701
|
var UNBUNDLED_VERSION = "dev";
|
|
5702
|
-
var CLI_VERSION = true ? "0.16.
|
|
5702
|
+
var CLI_VERSION = true ? "0.16.12" : UNBUNDLED_VERSION;
|
|
5703
5703
|
var CLI_BUNDLED = true;
|
|
5704
|
-
var CLI_BUILD = true ? "
|
|
5704
|
+
var CLI_BUILD = true ? "b7901ba" : void 0;
|
|
5705
5705
|
function cliVersionLabel(version, build, release2) {
|
|
5706
5706
|
return release2 || build === void 0 ? version : `${version}-dev+${build}`;
|
|
5707
5707
|
}
|
|
@@ -6007,6 +6007,7 @@ function isRecord5(value) {
|
|
|
6007
6007
|
var CHANNEL_HEADER = "X-AiNecto-Channel";
|
|
6008
6008
|
var AGENT_HEADER = "X-AiNecto-Agent";
|
|
6009
6009
|
var AGENT_NAME_HEADER = "X-AiNecto-Agent-Name";
|
|
6010
|
+
var CONNECT_TURN_HEADER = "X-Ainecto-Connect-Turn";
|
|
6010
6011
|
var MAX_AGENT_NAME_LENGTH = 100;
|
|
6011
6012
|
var McpRpcError = class extends Error {
|
|
6012
6013
|
constructor(message2, code, details) {
|
|
@@ -6166,6 +6167,9 @@ var McpRpcClient = class {
|
|
|
6166
6167
|
if (this.options.agentName) {
|
|
6167
6168
|
headers[AGENT_NAME_HEADER.toLowerCase()] = this.options.agentName;
|
|
6168
6169
|
}
|
|
6170
|
+
if (this.options.connectTurn) {
|
|
6171
|
+
headers[CONNECT_TURN_HEADER.toLowerCase()] = "1";
|
|
6172
|
+
}
|
|
6169
6173
|
return this.fetchImpl(this.options.endpoint, {
|
|
6170
6174
|
method: "POST",
|
|
6171
6175
|
headers,
|
|
@@ -7713,7 +7717,8 @@ async function runConnector(options) {
|
|
|
7713
7717
|
legacyRole,
|
|
7714
7718
|
agentName: options.agentFlag ?? await readAgentName(options.cwd ?? process.cwd()),
|
|
7715
7719
|
// 에이전트의 MCP 연결 — 에이전트 «종류»는 브리지가 호스트의 initialize 에서 읽어 싣는다(«이름»은 위 agentName).
|
|
7716
|
-
channel: "mcp"
|
|
7720
|
+
channel: "mcp",
|
|
7721
|
+
...options.connectTurn ? { connectTurn: true } : {}
|
|
7717
7722
|
});
|
|
7718
7723
|
await runStdioBridge({
|
|
7719
7724
|
input: options.input,
|
|
@@ -7726,7 +7731,7 @@ async function runConnector(options) {
|
|
|
7726
7731
|
|
|
7727
7732
|
// src/adapters/mcp/args.ts
|
|
7728
7733
|
function parseMcpArgs(argv) {
|
|
7729
|
-
const result = { readOnly: false, help: false };
|
|
7734
|
+
const result = { readOnly: false, connectTurn: false, help: false };
|
|
7730
7735
|
for (let index = 0; index < argv.length; index += 1) {
|
|
7731
7736
|
const arg = argv[index];
|
|
7732
7737
|
if (!arg) {
|
|
@@ -7744,6 +7749,8 @@ function parseMcpArgs(argv) {
|
|
|
7744
7749
|
result.agent = name;
|
|
7745
7750
|
} else if (arg === "--read-only") {
|
|
7746
7751
|
result.readOnly = true;
|
|
7752
|
+
} else if (arg === "--connect-turn") {
|
|
7753
|
+
result.connectTurn = true;
|
|
7747
7754
|
} else if (arg === "--role") {
|
|
7748
7755
|
const value = argv[index + 1];
|
|
7749
7756
|
if (value !== void 0 && !value.startsWith("--")) {
|
|
@@ -10087,6 +10094,9 @@ function findExecutable(command, env, isFile) {
|
|
|
10087
10094
|
}
|
|
10088
10095
|
return void 0;
|
|
10089
10096
|
}
|
|
10097
|
+
function envNameKey(name, platform = process.platform) {
|
|
10098
|
+
return platform === "win32" ? name.toUpperCase() : name;
|
|
10099
|
+
}
|
|
10090
10100
|
function envValue(env, name) {
|
|
10091
10101
|
const key = Object.keys(env).find((candidate) => candidate.toLowerCase() === name.toLowerCase());
|
|
10092
10102
|
return key === void 0 ? void 0 : env[key];
|
|
@@ -14716,7 +14726,8 @@ var DetachKeyScanner = class {
|
|
|
14716
14726
|
function pickTarget(sessions, ref) {
|
|
14717
14727
|
const byInstance = sessions.find((session) => session.instance === ref);
|
|
14718
14728
|
if (byInstance) return toTarget(byInstance);
|
|
14719
|
-
const
|
|
14729
|
+
const byLabel = !isUuid(ref);
|
|
14730
|
+
const byName = sessions.filter((session) => session.name === ref || byLabel && session.label === ref);
|
|
14720
14731
|
if (byName.length === 1) return toTarget(byName[0]);
|
|
14721
14732
|
if (byName.length > 1) {
|
|
14722
14733
|
throw new TermError("TERM_AMBIGUOUS_NAME", `There are ${byName.length} sessions named "${ref}" \u2014 name one by its uuid (see term ls).`);
|
|
@@ -15108,10 +15119,28 @@ function print(input, data, human) {
|
|
|
15108
15119
|
function usage(text2) {
|
|
15109
15120
|
return new TermError("TERM_USAGE", `Usage: ainecto ${text2}`);
|
|
15110
15121
|
}
|
|
15111
|
-
|
|
15122
|
+
var PARENT_AGENT_ENV = /* @__PURE__ */ new Set([
|
|
15123
|
+
"CLAUDECODE",
|
|
15124
|
+
"CLAUDE_CODE_SESSION_ID",
|
|
15125
|
+
"CLAUDE_CODE_ENTRYPOINT",
|
|
15126
|
+
"CLAUDE_CODE_CHILD_SESSION",
|
|
15127
|
+
"CLAUDE_CODE_CHILD_NOTES_DIR",
|
|
15128
|
+
"CLAUDE_CODE_MESSAGING_SOCKET",
|
|
15129
|
+
"CLAUDE_CODE_MESSAGING_TOKEN",
|
|
15130
|
+
"CLAUDE_CODE_SESSION_ATTENDED",
|
|
15131
|
+
"CLAUDE_CODE_EXECPATH",
|
|
15132
|
+
"CLAUDE_PID",
|
|
15133
|
+
"CLAUDE_EFFORT",
|
|
15134
|
+
"CODEX_CI",
|
|
15135
|
+
"CODEX_SESSION_ID",
|
|
15136
|
+
"CODEX_THREAD_ID",
|
|
15137
|
+
"CODEX_TOOL_CALL_ID",
|
|
15138
|
+
"CODEX_VERSION"
|
|
15139
|
+
]);
|
|
15140
|
+
function stringEnv(source = process.env, platform) {
|
|
15112
15141
|
const env = {};
|
|
15113
|
-
for (const [key, value] of Object.entries(
|
|
15114
|
-
if (typeof value === "string") {
|
|
15142
|
+
for (const [key, value] of Object.entries(source)) {
|
|
15143
|
+
if (typeof value === "string" && !PARENT_AGENT_ENV.has(envNameKey(key, platform))) {
|
|
15115
15144
|
env[key] = value;
|
|
15116
15145
|
}
|
|
15117
15146
|
}
|
|
@@ -15307,7 +15336,8 @@ function ainectoBridge(nodePath, cliScript, endpoint, agentName, readOnly = fals
|
|
|
15307
15336
|
endpoint,
|
|
15308
15337
|
"mcp",
|
|
15309
15338
|
...agentName ? ["--agent", agentName] : [],
|
|
15310
|
-
...readOnly ? ["--read-only"] : []
|
|
15339
|
+
...readOnly ? ["--read-only"] : [],
|
|
15340
|
+
"--connect-turn"
|
|
15311
15341
|
] };
|
|
15312
15342
|
}
|
|
15313
15343
|
function agentEnv(env) {
|
|
@@ -15949,7 +15979,11 @@ async function runToEnd(spawnImpl, command, args, options) {
|
|
|
15949
15979
|
async function detectByVersion(spawnImpl, command, options) {
|
|
15950
15980
|
const run = await runToEnd(spawnImpl, command, ["--version"], options);
|
|
15951
15981
|
if (run.spawnError || run.timedOut || run.code !== 0) {
|
|
15952
|
-
return {
|
|
15982
|
+
return {
|
|
15983
|
+
installed: false,
|
|
15984
|
+
broken: run.spawnError === "EACCES" || run.spawnError === void 0 && !run.timedOut && run.code !== null,
|
|
15985
|
+
detail: run.spawnError ?? (run.timedOut ? "timed out" : `exit ${run.code}`)
|
|
15986
|
+
};
|
|
15953
15987
|
}
|
|
15954
15988
|
return { installed: true, version: run.stdout.trim().split("\n")[0]?.trim() };
|
|
15955
15989
|
}
|
|
@@ -18254,7 +18288,14 @@ var RemoteViewer = class {
|
|
|
18254
18288
|
let data;
|
|
18255
18289
|
try {
|
|
18256
18290
|
if (!this.client) throw new TermError("TERM_DAEMON_GONE", "The term daemon connection is being opened again.");
|
|
18257
|
-
data = await this.client.request({
|
|
18291
|
+
data = await this.client.request({
|
|
18292
|
+
op: "read",
|
|
18293
|
+
name,
|
|
18294
|
+
...this.instance ? { instance: this.instance } : {},
|
|
18295
|
+
scrollback: true,
|
|
18296
|
+
lines: FRAME_SCROLLBACK_LINES + rows,
|
|
18297
|
+
styles: true
|
|
18298
|
+
});
|
|
18258
18299
|
} catch (error) {
|
|
18259
18300
|
if (error instanceof TermError && error.code === "TERM_DAEMON_GONE" && !this.stopped) {
|
|
18260
18301
|
if (await this.reconnect()) continue;
|
|
@@ -18603,14 +18644,18 @@ async function runPairing(input) {
|
|
|
18603
18644
|
}
|
|
18604
18645
|
};
|
|
18605
18646
|
let outcome;
|
|
18647
|
+
let failed = "error";
|
|
18606
18648
|
try {
|
|
18607
18649
|
outcome = await pairOnce();
|
|
18608
18650
|
if (cancelled && outcome.kind === "timeout") outcome = { kind: "cancelled" };
|
|
18609
18651
|
return outcome;
|
|
18652
|
+
} catch (error) {
|
|
18653
|
+
if (error instanceof Error && error.code === "PAIR_REMOVE_PENDING") failed = "remove-pending";
|
|
18654
|
+
throw error;
|
|
18610
18655
|
} finally {
|
|
18611
18656
|
clearTimeout(timer);
|
|
18612
18657
|
input.cancel?.removeEventListener("abort", onCancel);
|
|
18613
|
-
if (outcome?.kind !== "paired") await input.transport.abort(outcome?.kind ??
|
|
18658
|
+
if (outcome?.kind !== "paired") await input.transport.abort(outcome?.kind ?? failed);
|
|
18614
18659
|
}
|
|
18615
18660
|
async function pairOnce() {
|
|
18616
18661
|
const pcPublicRaw = publicRawFromJwk(input.pcKey);
|
|
@@ -19439,6 +19484,20 @@ var DaemonControl = class {
|
|
|
19439
19484
|
paths;
|
|
19440
19485
|
client;
|
|
19441
19486
|
async request(body) {
|
|
19487
|
+
for (let retries = 0; ; ) {
|
|
19488
|
+
const client = await this.connected();
|
|
19489
|
+
try {
|
|
19490
|
+
return await client.request(body);
|
|
19491
|
+
} catch (error) {
|
|
19492
|
+
if (!(error instanceof TermError && error.code === RETRY_CODE)) throw error;
|
|
19493
|
+
if (this.client === client) this.client = void 0;
|
|
19494
|
+
client.close();
|
|
19495
|
+
retries += 1;
|
|
19496
|
+
if (retries >= DAEMON_START_ATTEMPTS) throw error;
|
|
19497
|
+
}
|
|
19498
|
+
}
|
|
19499
|
+
}
|
|
19500
|
+
async connected() {
|
|
19442
19501
|
if (!this.client) {
|
|
19443
19502
|
const client = await openTermClient(this.paths, { start: false });
|
|
19444
19503
|
if (!client) throw new TermError("TERM_DAEMON_GONE", "No term daemon is running.");
|
|
@@ -19447,7 +19506,7 @@ var DaemonControl = class {
|
|
|
19447
19506
|
});
|
|
19448
19507
|
this.client = client;
|
|
19449
19508
|
}
|
|
19450
|
-
return
|
|
19509
|
+
return this.client;
|
|
19451
19510
|
}
|
|
19452
19511
|
close() {
|
|
19453
19512
|
this.client?.close();
|
|
@@ -20308,14 +20367,13 @@ async function registerBrowserOnStart(deps, account2) {
|
|
|
20308
20367
|
const settings = await loadPcSettings(deps.settingsPath, deps.hostName);
|
|
20309
20368
|
if (settings.accounts[account2.key]?.remoteTerminal !== true) return;
|
|
20310
20369
|
const stored = (await loadPcKeys(deps.keysPath)).accounts[account2.key];
|
|
20311
|
-
const registered = stored?.browsers.length ?? 0;
|
|
20312
20370
|
const note = (line) => {
|
|
20313
20371
|
deps.io.stderr.write(`${line}
|
|
20314
20372
|
`);
|
|
20315
20373
|
};
|
|
20316
20374
|
const noBrowser = "This PC can't open a browser here (for example over ssh). Run `npx -y ainecto@latest` in a terminal on this PC's own screen to register your browser.";
|
|
20317
20375
|
if (register.overSsh) {
|
|
20318
|
-
|
|
20376
|
+
note(noBrowser);
|
|
20319
20377
|
return;
|
|
20320
20378
|
}
|
|
20321
20379
|
const userId = transcriptUserId(account2.userId);
|
|
@@ -20609,7 +20667,7 @@ async function stopPc(deps, pc) {
|
|
|
20609
20667
|
resolve4("ended");
|
|
20610
20668
|
}
|
|
20611
20669
|
});
|
|
20612
|
-
client.onClose(() => resolve4("
|
|
20670
|
+
client.onClose(() => resolve4("closed"));
|
|
20613
20671
|
});
|
|
20614
20672
|
try {
|
|
20615
20673
|
await client.request({ op: "watch", ...target });
|
|
@@ -20620,9 +20678,11 @@ async function stopPc(deps, pc) {
|
|
|
20620
20678
|
}
|
|
20621
20679
|
throw error;
|
|
20622
20680
|
}
|
|
20623
|
-
const
|
|
20681
|
+
const deadline = Date.now() + deps.stopDeadlineMs;
|
|
20682
|
+
const raced = await Promise.race([ended, new Promise((resolve4) => {
|
|
20624
20683
|
timer = setTimeout(() => resolve4("late"), deps.stopDeadlineMs);
|
|
20625
20684
|
})]);
|
|
20685
|
+
const outcome = raced === "closed" ? await goneBy(deps, target, deadline) : raced;
|
|
20626
20686
|
if (outcome === "ended") {
|
|
20627
20687
|
return `Disconnected this PC (session ${pc.session}).`;
|
|
20628
20688
|
}
|
|
@@ -20650,6 +20710,15 @@ async function listed2(deps, connect2 = { start: false }) {
|
|
|
20650
20710
|
const result = await termRequest(deps.paths, { op: "ls" }, connect2);
|
|
20651
20711
|
return listedSessions(result.daemon ? result.data : void 0);
|
|
20652
20712
|
}
|
|
20713
|
+
async function goneBy(deps, target, deadline) {
|
|
20714
|
+
for (; ; ) {
|
|
20715
|
+
const listedNow = await listedToTurnOff(deps);
|
|
20716
|
+
const still = listedNow.some((session) => session.name === target.name && (target.instance === void 0 || sessionInstance(session) === target.instance));
|
|
20717
|
+
if (!still) return "ended";
|
|
20718
|
+
if (Date.now() >= deadline) return "late";
|
|
20719
|
+
await new Promise((resolve4) => setTimeout(resolve4, STOP_CONFIRM_POLL_MS));
|
|
20720
|
+
}
|
|
20721
|
+
}
|
|
20653
20722
|
async function listedToTurnOff(deps) {
|
|
20654
20723
|
return await listed2(deps, { start: false, resetFails: true });
|
|
20655
20724
|
}
|
|
@@ -22245,6 +22314,7 @@ var CodexSession = class {
|
|
|
22245
22314
|
await this.rpc.request("initialize", codexInitializeParams(this.deps.clientVersion));
|
|
22246
22315
|
this.rpc.notify("initialized");
|
|
22247
22316
|
const read = await this.rpc.request("config/read", { cwd: this.deps.cwd }).catch((error) => {
|
|
22317
|
+
if (this.child.exit) throw toError(error);
|
|
22248
22318
|
throw new CodexConfigError(toError(error).message);
|
|
22249
22319
|
});
|
|
22250
22320
|
const off = codexOtherMcpServersOff(read.config);
|
|
@@ -22381,7 +22451,13 @@ async function checkAgents(adapters, log) {
|
|
|
22381
22451
|
(d) => ({ installed: d.installed, version: d.version, detail: d.detail })
|
|
22382
22452
|
);
|
|
22383
22453
|
if (!detected?.installed) {
|
|
22384
|
-
return {
|
|
22454
|
+
return {
|
|
22455
|
+
id: adapter.id,
|
|
22456
|
+
installed: false,
|
|
22457
|
+
...detected?.broken !== void 0 ? { broken: detected.broken } : {},
|
|
22458
|
+
ready: false,
|
|
22459
|
+
detail: detected?.detail
|
|
22460
|
+
};
|
|
22385
22461
|
}
|
|
22386
22462
|
const auth = await probe(
|
|
22387
22463
|
log,
|
|
@@ -22402,6 +22478,9 @@ async function checkAgents(adapters, log) {
|
|
|
22402
22478
|
}
|
|
22403
22479
|
function agentStartLine(check, name, billedTo) {
|
|
22404
22480
|
const reconnect = "(`ainecto stop`, then `ainecto start`)";
|
|
22481
|
+
if (!check.installed && check.broken) {
|
|
22482
|
+
return `${name} is on this PC, but it did not run${check.detail ? ` (${check.detail})` : ""} \u2014 the install may be broken. Reinstall it, then reconnect this PC ${reconnect}.`;
|
|
22483
|
+
}
|
|
22405
22484
|
if (!check.installed) {
|
|
22406
22485
|
return `${name} was not found on this PC, or did not run${check.detail ? ` (${check.detail})` : ""}. To use it from AiNecto, check that it is installed where this PC's \`ainecto\` can run it (PATH), then reconnect this PC ${reconnect}.`;
|
|
22407
22486
|
}
|
|
@@ -22414,6 +22493,7 @@ function agentStartRecords(checks, nameOf, billedTo) {
|
|
|
22414
22493
|
return checks.map((check) => ({
|
|
22415
22494
|
id: check.id,
|
|
22416
22495
|
installed: check.installed,
|
|
22496
|
+
...check.broken !== void 0 ? { broken: check.broken } : {},
|
|
22417
22497
|
ready: check.ready,
|
|
22418
22498
|
...check.auth ? { auth: check.auth } : {},
|
|
22419
22499
|
...check.version ? { version: check.version } : {},
|
|
@@ -22421,6 +22501,14 @@ function agentStartRecords(checks, nameOf, billedTo) {
|
|
|
22421
22501
|
line: agentStartLine(check, nameOf(check.id), billedTo(check.id))
|
|
22422
22502
|
}));
|
|
22423
22503
|
}
|
|
22504
|
+
function noAgentToRun(checks, nameOf) {
|
|
22505
|
+
const broken = checks.filter((check) => !check.installed && check.broken).map((check) => `${nameOf(check.id)}${check.detail ? ` (${check.detail})` : ""}`);
|
|
22506
|
+
if (broken.length === 0) {
|
|
22507
|
+
return "None of Claude Code (`claude`), Codex (`codex`) or Antigravity (`agy`) is on PATH, and terminals from the web are off on this PC. Install one and sign in, or allow terminals from the web with `ainecto remote on`, then run `ainecto` again.";
|
|
22508
|
+
}
|
|
22509
|
+
const list = broken.length === 1 ? broken[0] : `${broken.slice(0, -1).join(", ")} and ${broken.at(-1)}`;
|
|
22510
|
+
return `${list} ${broken.length === 1 ? "is" : "are"} on this PC, but did not run \u2014 the install may be broken, and terminals from the web are off on this PC. Reinstall one and sign in, or allow terminals from the web with \`ainecto remote on\`, then run \`ainecto\` again.`;
|
|
22511
|
+
}
|
|
22424
22512
|
function openAgents(checks) {
|
|
22425
22513
|
return checks.filter((check) => check.installed).map((check) => ({ id: check.id, ready: check.ready, ...check.auth ? { auth: check.auth } : {} }));
|
|
22426
22514
|
}
|
|
@@ -22644,7 +22732,8 @@ async function executeAgentServe(input) {
|
|
|
22644
22732
|
})
|
|
22645
22733
|
];
|
|
22646
22734
|
const checks = await checkAgents(all, log);
|
|
22647
|
-
const
|
|
22735
|
+
const nameOf = (id) => all.find((adapter) => adapter.id === id)?.displayName ?? id;
|
|
22736
|
+
const started = agentStartRecords(checks, nameOf, (id) => BILLED_TO[id]);
|
|
22648
22737
|
log.write({ event: "serve_start", pid: process.pid, version: CLI_VERSION_LABEL, endpoint: input.endpoint, host, agents: started });
|
|
22649
22738
|
for (const agent of started) input.io.stderr.write(`${agent.line}
|
|
22650
22739
|
`);
|
|
@@ -22652,7 +22741,7 @@ async function executeAgentServe(input) {
|
|
|
22652
22741
|
const remote = await pcRemoteSetup({ endpoint: input.endpoint, auth: input.auth, account: () => readAccount(client()), io: input.io });
|
|
22653
22742
|
const plan = pcPlan({ agents: agents.length, remoteEnabled: remote.remoteEnabled });
|
|
22654
22743
|
if (plan === "nothing") {
|
|
22655
|
-
throw new Error(
|
|
22744
|
+
throw new Error(noAgentToRun(checks, nameOf));
|
|
22656
22745
|
}
|
|
22657
22746
|
let agentBusy = () => false;
|
|
22658
22747
|
const upgrades = upgradeWatch({
|
|
@@ -22759,6 +22848,7 @@ async function runAinectoCli(argv, io) {
|
|
|
22759
22848
|
legacyRoleFlag: parsed.legacyRole,
|
|
22760
22849
|
agentFlag: bridgeArgs.agent,
|
|
22761
22850
|
readOnly: bridgeArgs.readOnly,
|
|
22851
|
+
connectTurn: bridgeArgs.connectTurn,
|
|
22762
22852
|
input: io.stdin,
|
|
22763
22853
|
output: io.stdout,
|
|
22764
22854
|
errorOutput: io.stderr
|