@conveno/cli 0.2.0-rc.15 → 0.2.0-rc.17
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/{acp-DZf0zyNC.js → acp-C-o3rtAB.js} +39 -7
- package/dist/{agy-relay-DSRJtMz3.js → agy-relay-D17zTd_Z.js} +2 -2
- package/dist/{args-CpAvszNY.js → args-CtyKPZuN.js} +12 -0
- package/dist/bin.js +2 -2
- package/dist/daemon.js +134 -67
- package/dist/{daemonError-Bj22X-4V.js → daemonError-BwdtKOCy.js} +1 -1
- package/dist/{dist-Bx22a5AV.js → dist-B1pfP_d5.js} +1 -1
- package/dist/{dist-BRjg9CLd.js → dist-BOwFdixw.js} +23 -50
- package/dist/{dist-C4KljaIP.js → dist-Bb2opAjB.js} +3 -3
- package/dist/{dist-C59LTq60.js → dist-BgAfkqeX.js} +2 -1
- package/dist/{dist-Bv1bmmme.js → dist-CTw3arJP.js} +5 -5
- package/dist/{dist-DDzIkwf9.js → dist-CvKAege3.js} +1 -1
- package/dist/{dist-ZL7d4_97.js → dist-Dc50_P_f.js} +537 -163
- package/dist/{dist-fI_XSoCQ.js → dist-hyKfBSdF.js} +242 -38
- package/dist/{hook-BFZTvd7M.js → hook-BLSrNkFF.js} +2 -2
- package/dist/hook-entry-B1Yt2cwr.js +1 -0
- package/dist/{hook-entry-CvzyjOo4.js → hook-entry-DYXjVztc.js} +8 -8
- package/dist/{main-1QSm5UjR.js → main-CQx2xc_w.js} +36 -12
- package/dist/{pick-DaCRjuyz.js → pick-iuG24FX9.js} +1 -1
- package/dist/{run-CKiYjNqx.js → run-B01nDeos.js} +4079 -1815
- package/dist/{runtime-CeFKWoIL.js → runtime-hZwjrEPc.js} +37 -15
- package/dist/{uninstall-DK25hyWX.js → uninstall-B-deU_wY.js} +33 -19
- package/dist/{watch-De3wbdQL.js → watch-CPZ2X-yt.js} +4 -4
- package/package.json +14 -13
- package/dist/hook-entry-CmuvppGf.js +0 -1
|
@@ -4,18 +4,18 @@ import { homedir } from "node:os";
|
|
|
4
4
|
import { delimiter, join, win32 } from "node:path";
|
|
5
5
|
import { createInterface } from "node:readline";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
|
-
import { n as antigravityAdapter } from "./dist-
|
|
8
|
-
import { a as opencodeAdapter, o as claudeAdapter, r as readAllStdin } from "./hook-entry-
|
|
9
|
-
import { t as codexAdapter } from "./dist-
|
|
10
|
-
import { t as grokAdapter } from "./dist-
|
|
11
|
-
import { t as createTheme } from "./dist-
|
|
12
|
-
import { n as connect$1 } from "./dist-
|
|
13
|
-
import {
|
|
14
|
-
import "./dist-
|
|
7
|
+
import { n as antigravityAdapter } from "./dist-CTw3arJP.js";
|
|
8
|
+
import { a as opencodeAdapter, o as claudeAdapter, r as readAllStdin } from "./hook-entry-DYXjVztc.js";
|
|
9
|
+
import { t as codexAdapter } from "./dist-CvKAege3.js";
|
|
10
|
+
import { t as grokAdapter } from "./dist-Bb2opAjB.js";
|
|
11
|
+
import { t as createTheme } from "./dist-BOwFdixw.js";
|
|
12
|
+
import { n as connect$1 } from "./dist-BgAfkqeX.js";
|
|
13
|
+
import { $t as realSpawnDeps, En as validateRename, Et as needsQuoting, Fn as CLI_KINDS, G as detectRepo, H as dataPaths, Hn as MessageId, It as pendingTurn, Kt as readAncestry, Lt as pidAlive, Mt as parsePs1ShimTarget, O as baseName, T as attachAcpSession, Un as OWNER_SESSION_ID, V as dataDir, Vt as planSpawn, Yt as readModelMenus, Zn as SessionId, _t as launcherText, a as HEARTBEAT_INTERVAL_MS, f as SpawnError, gn as spawnSession, gr as boolean, gt as launcherPath, hr as array, j as claimSpawnRecord, jt as parseCmdShimTarget, mr as _enum, o as NOT_FROM_USER_NOTICE, qn as RpcErrorCode, qt as readCommandLine, r as ConvenoError, rt as formatInbox, sn as resolveWindowsCommand, u as SPAWN_CLIS, ut as isAntigravityApp, xr as string, yr as number } from "./dist-Dc50_P_f.js";
|
|
14
|
+
import "./dist-B1pfP_d5.js";
|
|
15
15
|
import { access } from "node:fs/promises";
|
|
16
16
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
17
17
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
18
|
-
// ../daemon/dist/server-
|
|
18
|
+
// ../daemon/dist/server-B-6PHvmV.js
|
|
19
19
|
/** `kill(pid, 0)` liveness: EPERM means the process exists but belongs to someone else. */
|
|
20
20
|
function defaultIsAlive(pid) {
|
|
21
21
|
try {
|
|
@@ -28,7 +28,26 @@ function defaultIsAlive(pid) {
|
|
|
28
28
|
`${OWNER_SESSION_ID}`;
|
|
29
29
|
SessionId.parse("0".repeat(26));
|
|
30
30
|
// ../mcp/dist/index.js
|
|
31
|
-
const SERVER_VERSION = "0.2.0-rc.
|
|
31
|
+
const SERVER_VERSION = "0.2.0-rc.17";
|
|
32
|
+
const MENU_NAMES_MAX = 12;
|
|
33
|
+
/**
|
|
34
|
+
* One sentence for the spawn_session description: the models and efforts each CLI offered the
|
|
35
|
+
* last time a worker of it started. Empty when none are remembered.
|
|
36
|
+
*/
|
|
37
|
+
function modelMenuNote(menus) {
|
|
38
|
+
const parts = [];
|
|
39
|
+
const cap = (xs) => {
|
|
40
|
+
const names = xs.slice(0, MENU_NAMES_MAX).map((x) => x.value);
|
|
41
|
+
return xs.length > MENU_NAMES_MAX ? `${names.join(", ")}, ...` : names.join(", ");
|
|
42
|
+
};
|
|
43
|
+
for (const cli of CLI_KINDS) {
|
|
44
|
+
const m = menus[cli];
|
|
45
|
+
if (!m || m.models.length === 0 && m.efforts.length === 0) continue;
|
|
46
|
+
const efforts = m.efforts.length > 0 ? ` (effort: ${cap(m.efforts)})` : "";
|
|
47
|
+
parts.push(`${cli}: ${cap(m.models)}${efforts}`);
|
|
48
|
+
}
|
|
49
|
+
return parts.length > 0 ? ` Models offered last time: ${parts.join("; ")}.` : "";
|
|
50
|
+
}
|
|
32
51
|
const ok = (text) => ({ content: [{
|
|
33
52
|
type: "text",
|
|
34
53
|
text
|
|
@@ -136,6 +155,7 @@ function createServer(opts) {
|
|
|
136
155
|
version: SERVER_VERSION
|
|
137
156
|
}, { instructions: SERVER_INSTRUCTIONS });
|
|
138
157
|
const spawnDataDir = opts.dataDir ?? dataDir(process.platform, process.env, homedir());
|
|
158
|
+
const menuNote = modelMenuNote(readModelMenus(dataPaths(process.platform, spawnDataDir).workerModels));
|
|
139
159
|
let registering;
|
|
140
160
|
let timer;
|
|
141
161
|
let shutting;
|
|
@@ -155,7 +175,6 @@ function createServer(opts) {
|
|
|
155
175
|
const parentGone = () => opts.parentPid !== void 0 && !isAlive(opts.parentPid);
|
|
156
176
|
const register = async () => {
|
|
157
177
|
const repo = await detectRepo(cwd, { exists: pathExists });
|
|
158
|
-
const cliVersion = process.env.CONVENO_CLI_VERSION?.trim().slice(0, 64);
|
|
159
178
|
const { hostPid, hostPids, variant } = await host;
|
|
160
179
|
const record = claimSpawnRecord(spawnDataDir, cli, hostPids);
|
|
161
180
|
if (record?.acp) {
|
|
@@ -169,7 +188,6 @@ function createServer(opts) {
|
|
|
169
188
|
pid: process.pid,
|
|
170
189
|
...hostPid !== void 0 ? { hostPid } : {},
|
|
171
190
|
...hostPids.length > 0 ? { hostPids: hostPids.slice(0, 8) } : {},
|
|
172
|
-
...cliVersion ? { cliVersion } : {},
|
|
173
191
|
...variant ? { variant } : {},
|
|
174
192
|
...repo.root ? { repo: { root: repo.root } } : {},
|
|
175
193
|
...spawnedBy.success ? { spawnedBy: spawnedBy.data } : {},
|
|
@@ -472,7 +490,7 @@ function createServer(opts) {
|
|
|
472
490
|
return `Handed off to ${res.deliveredTo.name} (message id ${res.message.id}). ${DELIVERY_NOTE[res.delivery] ?? ""}`.trimEnd();
|
|
473
491
|
}));
|
|
474
492
|
mcp.registerTool("spawn_session", {
|
|
475
|
-
description: "Start a new worker session of a coding CLI with a first task, and return its name once it registers. It runs in the background and keeps running: each message you send becomes its next prompt, and it reports back the same way. Set window to open it in a visible terminal instead. The new session is yours to direct: message it by name with send. Only the listed CLIs can be started, and only inside the user's home folder.",
|
|
493
|
+
description: "Start a new worker session of a coding CLI with a first task, and return its name once it registers. It runs in the background and keeps running: each message you send becomes its next prompt, and it reports back the same way. Set window to open it in a visible terminal instead. The new session is yours to direct: message it by name with send. Only the listed CLIs can be started, and only inside the user's home folder." + menuNote,
|
|
476
494
|
inputSchema: {
|
|
477
495
|
cli: _enum(SPAWN_CLIS).describe("Which CLI to start."),
|
|
478
496
|
cwd: string().min(1).optional().describe("Folder to work in, inside the home folder. Default: this session's folder."),
|
|
@@ -483,7 +501,9 @@ function createServer(opts) {
|
|
|
483
501
|
"read",
|
|
484
502
|
"edit",
|
|
485
503
|
"full"
|
|
486
|
-
]).optional().describe("Optional. What the worker may do without asking: read (look only), edit (also change files) or full (everything; the default unless the user changed it). Not for window workers.")
|
|
504
|
+
]).optional().describe("Optional. What the worker may do without asking: read (look only), edit (also change files) or full (everything; the default unless the user changed it). Not for window workers."),
|
|
505
|
+
model: string().max(200).optional().describe("Optional. The model, by the CLI's own name. Omit to use the user's default for that CLI, else the CLI's own default."),
|
|
506
|
+
effort: string().max(200).optional().describe("Optional. The effort or reasoning level, by the CLI's own name. Omit to use the user's default for that CLI, else the CLI's own default.")
|
|
487
507
|
}
|
|
488
508
|
}, tool(async (me, a) => {
|
|
489
509
|
const deps = opts.spawnDeps ?? realSpawnDeps({
|
|
@@ -503,6 +523,8 @@ function createServer(opts) {
|
|
|
503
523
|
task: a.task,
|
|
504
524
|
window: a.window ?? false,
|
|
505
525
|
access: a.access,
|
|
526
|
+
model: a.model,
|
|
527
|
+
effort: a.effort,
|
|
506
528
|
requester: me,
|
|
507
529
|
confineToHome: true,
|
|
508
530
|
timeoutMs: 45e3
|
|
@@ -820,4 +842,4 @@ function createRuntimeCtx() {
|
|
|
820
842
|
hookTimeoutMs: 2e3
|
|
821
843
|
};
|
|
822
844
|
}
|
|
823
|
-
export { ask,
|
|
845
|
+
export { ask, convenoCommand, convenoLauncher, createRuntimeCtx, resolveDaemonEntry, windowsShortPath };
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { An as workerAskTimeoutOf, Fn as CLI_KINDS, Gt as readAccountTokens, H as dataPaths, Ht as pollDeviceCode, I as compatStatus, L as completeLogin, Pn as writeSettings, Q as fetchAccountStatus, Rt as pinnedAdapter, St as logoutAccount, Vt as planSpawn, Zt as readSettings, an as resolveAcpProgram, b as adapterNpxCommand, d as SPAWN_TABLE, et as findOnPath, jn as workerUnansweredOf, kn as workerAccessOf, nn as requestDeviceCode, p as WORKER_ACCESS, pn as signedInAccountApi, t as AccountError, v as acpOverrideVar, xt as loginAccountApi, y as adapterInstallCommand } from "./dist-Dc50_P_f.js";
|
|
2
2
|
import { a as fail, c as plural, d as warnBlock, i as errorBlock, l as seconds, n as cmd, o as localStamp, r as columns, s as plainError, t as closest, u as tilde } from "./fmt-C2SsP5Y0.js";
|
|
3
|
-
import { a as parseFlags, n as COMMANDS } from "./args-
|
|
3
|
+
import { a as parseFlags, n as COMMANDS } from "./args-CtyKPZuN.js";
|
|
4
4
|
import { n as connectOpts, t as adapterEnv } from "./ctx-tYftvhz_.js";
|
|
5
|
-
import { t as daemonProblem } from "./daemonError-
|
|
5
|
+
import { t as daemonProblem } from "./daemonError-BwdtKOCy.js";
|
|
6
6
|
import { basename, dirname, isAbsolute, join } from "node:path";
|
|
7
7
|
import { execFile, spawn } from "node:child_process";
|
|
8
8
|
import { access, chmod, mkdir, open, readFile, readdir, realpath, rename as rename$1, rm, rmdir, stat, writeFile } from "node:fs/promises";
|
|
9
9
|
import { createHash, randomBytes } from "node:crypto";
|
|
10
10
|
// src/account.ts
|
|
11
|
-
const
|
|
12
|
-
|
|
11
|
+
const tokenFile = (ctx) => dataPaths(ctx.platform, ctx.dataDir).account;
|
|
12
|
+
/** The account server of the saved login, the one its tokens may be sent to. */
|
|
13
|
+
const accountServer = (ctx) => signedInAccountApi(tokenFile(ctx), ctx.env);
|
|
14
|
+
const accountIo = (ctx, io, apiBase = accountServer(ctx)) => ({
|
|
15
|
+
apiBase,
|
|
13
16
|
now: () => ctx.now().getTime(),
|
|
14
17
|
...io.fetch ? { fetch: io.fetch } : {}
|
|
15
18
|
});
|
|
16
|
-
const tokenFile = (ctx) => dataPaths(ctx.platform, ctx.dataDir).account;
|
|
17
19
|
/** Show the code as ABCD-1234, the way the page asks for it. */
|
|
18
20
|
const showCode = (code) => /^[A-Za-z0-9]{8}$/.test(code) ? `${code.slice(0, 4)}-${code.slice(4)}` : code;
|
|
19
21
|
/** Open a page with the system's own opener. No shell is involved, so the URL is one argument. */
|
|
@@ -65,7 +67,7 @@ async function runLogin(ctx, argv, io = {}) {
|
|
|
65
67
|
const parsed = parseFlags(ctx, spec, argv);
|
|
66
68
|
if (typeof parsed === "number") return parsed;
|
|
67
69
|
const t = ctx.theme;
|
|
68
|
-
const aio = accountIo(ctx, io);
|
|
70
|
+
const aio = accountIo(ctx, io, loginAccountApi(ctx.env));
|
|
69
71
|
try {
|
|
70
72
|
const code = await requestDeviceCode(aio);
|
|
71
73
|
ctx.err([
|
|
@@ -98,13 +100,14 @@ async function runLogout(ctx, argv, io = {}) {
|
|
|
98
100
|
if (!spec) return 2;
|
|
99
101
|
const parsed = parseFlags(ctx, spec, argv);
|
|
100
102
|
if (typeof parsed === "number") return parsed;
|
|
101
|
-
const
|
|
103
|
+
const server = accountServer(ctx);
|
|
104
|
+
const r = await logoutAccount(tokenFile(ctx), accountIo(ctx, io, server));
|
|
102
105
|
if (!r.hadLogin) {
|
|
103
106
|
ctx.out("You were not signed in.\n");
|
|
104
107
|
return 0;
|
|
105
108
|
}
|
|
106
109
|
ctx.out(`${ctx.theme.status("ok")} Signed out.\n`);
|
|
107
|
-
if (!r.revoked) ctx.err(`${ctx.theme.status("warn")} The account server could not be reached, so the login was only removed from this machine. Sign out everywhere at
|
|
110
|
+
if (!r.revoked) ctx.err(`${ctx.theme.status("warn")} The account server could not be reached, so the login was only removed from this machine. Sign out everywhere at ${server}/account.\n`);
|
|
108
111
|
return 0;
|
|
109
112
|
}
|
|
110
113
|
/** `conveno account`: plan and trial. */
|
|
@@ -123,7 +126,8 @@ async function runAccount(ctx, argv, io = {}) {
|
|
|
123
126
|
ref: "e_account_not_logged_in"
|
|
124
127
|
});
|
|
125
128
|
try {
|
|
126
|
-
const
|
|
129
|
+
const server = accountServer(ctx);
|
|
130
|
+
const s = await fetchAccountStatus(tokens.refreshToken, accountIo(ctx, io, server));
|
|
127
131
|
const rows = [["Account", s.user.name], ["Plan", planLine(ctx, s)]];
|
|
128
132
|
if (s.status === "trialing" && s.trialEnd !== null) {
|
|
129
133
|
const left = s.trialDaysLeft ?? 0;
|
|
@@ -132,8 +136,8 @@ async function runAccount(ctx, argv, io = {}) {
|
|
|
132
136
|
if (s.paymentFailed) rows.push(["Billing", t.paint("warn", "last payment failed")]);
|
|
133
137
|
const width = Math.max(...rows.map(([k]) => k.length)) + 2;
|
|
134
138
|
const lines = rows.map(([k, v]) => `${t.paint("quiet", k.padEnd(width))}${v}`);
|
|
135
|
-
if (s.plan === "free") lines.push("", `Upgrade or start the 14-day trial at ${t.bold(
|
|
136
|
-
else if (s.status === "trialing") lines.push("",
|
|
139
|
+
if (s.plan === "free") lines.push("", `Upgrade or start the 14-day trial at ${t.bold(`${server}/account`)}.`);
|
|
140
|
+
else if (s.status === "trialing") lines.push("", `No card is on file. Add one at ${server}/account to keep Pro.`);
|
|
137
141
|
ctx.out(`${lines.join("\n")}\n`);
|
|
138
142
|
return 0;
|
|
139
143
|
} catch (e) {
|
|
@@ -141,7 +145,7 @@ async function runAccount(ctx, argv, io = {}) {
|
|
|
141
145
|
}
|
|
142
146
|
}
|
|
143
147
|
// src/version.ts
|
|
144
|
-
const VERSION = "0.2.0-rc.
|
|
148
|
+
const VERSION = "0.2.0-rc.17";
|
|
145
149
|
// src/daemon.ts
|
|
146
150
|
async function lockPid(ctx) {
|
|
147
151
|
try {
|
|
@@ -294,7 +298,7 @@ async function replaceStaleDaemon(ctx) {
|
|
|
294
298
|
} catch {
|
|
295
299
|
return null;
|
|
296
300
|
}
|
|
297
|
-
if (running === void 0 || running ===
|
|
301
|
+
if (running === void 0 || running === VERSION) return null;
|
|
298
302
|
return await stopDaemon({
|
|
299
303
|
...ctx,
|
|
300
304
|
out: () => void 0,
|
|
@@ -395,6 +399,7 @@ function listLine(ctx, list) {
|
|
|
395
399
|
function conflictBlock(ctx, c) {
|
|
396
400
|
if (!c) return "";
|
|
397
401
|
const t = ctx.theme;
|
|
402
|
+
const account = signedInAccountApi(dataPaths(ctx.platform, ctx.dataDir).account, ctx.env);
|
|
398
403
|
const head = (l) => l ? `${l.head.slice(0, 16)} ${t.paint("quiet", `(${plural(l.length, "entry", "entries")})`)}` : "none";
|
|
399
404
|
const why = c.kind === "split_view" ? [` ${c.peer?.name ?? "Another device"} signed a message with a device list this device does not hold.`, " The relay may be showing your devices different lists, for example to hide a revocation."] : [" The relay holds a device list that this device's list is not part of.", " Someone changed the list in a way this device cannot follow, or the relay is lying."];
|
|
400
405
|
return `${[
|
|
@@ -411,7 +416,7 @@ function conflictBlock(ctx, c) {
|
|
|
411
416
|
" If it lists only devices you recognize, type the head it shows (the full 64 characters) here:",
|
|
412
417
|
` ${cmd(t, "conveno devices accept <head>")}. Then revoke any device you do not recognize.`,
|
|
413
418
|
" If no device you trust is left, or you did not reset the devices yourself, reset them at",
|
|
414
|
-
`
|
|
419
|
+
` ${account}/account. After a reset, run ${cmd(t, "conveno devices reset")} here and pair again.`,
|
|
415
420
|
""
|
|
416
421
|
].join("\n")}\n`;
|
|
417
422
|
}
|
|
@@ -638,7 +643,8 @@ const STATE_TEXT = {
|
|
|
638
643
|
connecting: "connecting",
|
|
639
644
|
connected: "connected",
|
|
640
645
|
disconnected: "disconnected, retrying",
|
|
641
|
-
revoked: "off, this device was revoked"
|
|
646
|
+
revoked: "off, this device was revoked",
|
|
647
|
+
upgrade_required: "off, Conveno needs an update"
|
|
642
648
|
};
|
|
643
649
|
async function runRelay(ctx, argv) {
|
|
644
650
|
const t = ctx.theme;
|
|
@@ -787,6 +793,9 @@ ${missing.map((m) => ` ${pinnedAdapter(m.pkg) ?? m.pkg}\n`).join("")}`);
|
|
|
787
793
|
printManual(ctx, missing);
|
|
788
794
|
}
|
|
789
795
|
}
|
|
796
|
+
// src/acp-warm.ts
|
|
797
|
+
/** Longest a download may take. */
|
|
798
|
+
const WARM_TIMEOUT_MS = 3e5;
|
|
790
799
|
function realWarmRunner(ctx) {
|
|
791
800
|
return { run: (file, args, timeoutMs) => {
|
|
792
801
|
const plan = planSpawn(file, args);
|
|
@@ -851,7 +860,7 @@ async function warmAcpAdapters(ctx, clis, opts = {}) {
|
|
|
851
860
|
opts.onLine?.(`$ npm ${args.join(" ")}`);
|
|
852
861
|
let code = null;
|
|
853
862
|
try {
|
|
854
|
-
code = await runner.run("npm", args, opts.timeoutMs ??
|
|
863
|
+
code = await runner.run("npm", args, opts.timeoutMs ?? WARM_TIMEOUT_MS);
|
|
855
864
|
} catch {
|
|
856
865
|
code = null;
|
|
857
866
|
}
|
|
@@ -1925,7 +1934,7 @@ async function runSetup(ctx, argv) {
|
|
|
1925
1934
|
});
|
|
1926
1935
|
if (ctx.interactive && v.yes !== true && v["dry-run"] !== true) {
|
|
1927
1936
|
if (isWorkerAccess(access)) saveWorkerAccess(ctx, { access });
|
|
1928
|
-
return (await import("./run-
|
|
1937
|
+
return (await import("./run-B01nDeos.js")).runTui(ctx, { start: "setup" });
|
|
1929
1938
|
}
|
|
1930
1939
|
return runInit(ctx, argv, "setup");
|
|
1931
1940
|
}
|
|
@@ -2045,8 +2054,13 @@ async function runDoctor(ctx, argv = []) {
|
|
|
2045
2054
|
const client = await ctx.connect(connectOpts(ctx, false));
|
|
2046
2055
|
try {
|
|
2047
2056
|
const { sessions } = await client["session.list"]({});
|
|
2057
|
+
const relay = await (async () => client["relay.status"]({}))().catch(() => void 0);
|
|
2058
|
+
if (relay?.state === "upgrade_required") {
|
|
2059
|
+
warnings++;
|
|
2060
|
+
notes.push(warnBlock(t, "The relay no longer accepts this version of Conveno.", relay.detail ?? "Update Conveno to keep using your other computers.", "Your other computers cannot be reached until Conveno is updated."));
|
|
2061
|
+
}
|
|
2048
2062
|
const running = client.daemonVersion;
|
|
2049
|
-
if (running !== void 0 && running !==
|
|
2063
|
+
if (running !== void 0 && running !== VERSION) {
|
|
2050
2064
|
daemonLine = [` ${t.status("warn")} daemon`, `running ${running}, this is ${VERSION}`];
|
|
2051
2065
|
warnings++;
|
|
2052
2066
|
notes.push(warnBlock(t, "Conveno's background service is from an older version.", `Run ${cmd(t, "conveno")} to restart it, or ${cmd(t, "conveno daemon stop")} and open your AI tools again.`, `The service running now is ${running}; this install is ${VERSION}. ${cmd(t, "conveno")} and ${cmd(t, "conveno setup")} restart it for you.`));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as isOneShotGrok } from "./dist-
|
|
2
|
-
import {
|
|
1
|
+
import { n as isOneShotGrok } from "./dist-Bb2opAjB.js";
|
|
2
|
+
import { dt as isFromOwner, fn as senderOf, tn as renderBody, un as runWaker } from "./dist-Dc50_P_f.js";
|
|
3
3
|
import { n as connectOpts } from "./ctx-tYftvhz_.js";
|
|
4
|
-
import { t as daemonProblem } from "./daemonError-
|
|
5
|
-
import { t as findSession } from "./pick-
|
|
4
|
+
import { t as daemonProblem } from "./daemonError-BwdtKOCy.js";
|
|
5
|
+
import { t as findSession } from "./pick-iuG24FX9.js";
|
|
6
6
|
// src/watch.ts
|
|
7
7
|
const CONNECT_MAX_RETRY_MS = 3e4;
|
|
8
8
|
const CONNECT_GIVE_UP_MS = 3e5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@conveno/cli",
|
|
3
|
-
"version": "0.2.0-rc.
|
|
3
|
+
"version": "0.2.0-rc.17",
|
|
4
4
|
"description": "Connect AI coding CLI sessions so they can message each other.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -48,22 +48,23 @@
|
|
|
48
48
|
"ink": "8.0.0",
|
|
49
49
|
"jsonc-parser": "3.3.1",
|
|
50
50
|
"react": "19.3.1",
|
|
51
|
+
"string-width": "8.3.0",
|
|
51
52
|
"ulid": "3.0.2",
|
|
52
53
|
"zod": "4.6.7"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
|
-
"@conveno/acp": "0.2.0-rc.
|
|
56
|
-
"@conveno/adapter-antigravity": "0.2.0-rc.
|
|
57
|
-
"@conveno/adapter-claude": "0.2.0-rc.
|
|
58
|
-
"@conveno/adapter-codex": "0.2.0-rc.
|
|
59
|
-
"@conveno/adapter-grok": "0.2.0-rc.
|
|
60
|
-
"@conveno/adapter-opencode": "0.2.0-rc.
|
|
61
|
-
"@conveno/brand": "0.2.0-rc.
|
|
62
|
-
"@conveno/client": "0.2.0-rc.
|
|
63
|
-
"@conveno/core": "0.2.0-rc.
|
|
64
|
-
"@conveno/daemon": "0.2.0-rc.
|
|
65
|
-
"@conveno/mcp": "0.2.0-rc.
|
|
66
|
-
"@conveno/protocol": "0.2.0-rc.
|
|
56
|
+
"@conveno/acp": "0.2.0-rc.17",
|
|
57
|
+
"@conveno/adapter-antigravity": "0.2.0-rc.17",
|
|
58
|
+
"@conveno/adapter-claude": "0.2.0-rc.17",
|
|
59
|
+
"@conveno/adapter-codex": "0.2.0-rc.17",
|
|
60
|
+
"@conveno/adapter-grok": "0.2.0-rc.17",
|
|
61
|
+
"@conveno/adapter-opencode": "0.2.0-rc.17",
|
|
62
|
+
"@conveno/brand": "0.2.0-rc.17",
|
|
63
|
+
"@conveno/client": "0.2.0-rc.17",
|
|
64
|
+
"@conveno/core": "0.2.0-rc.17",
|
|
65
|
+
"@conveno/daemon": "0.2.0-rc.17",
|
|
66
|
+
"@conveno/mcp": "0.2.0-rc.17",
|
|
67
|
+
"@conveno/protocol": "0.2.0-rc.17",
|
|
67
68
|
"@types/react": "19.3.0",
|
|
68
69
|
"ink-testing-library": "4.0.0"
|
|
69
70
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { i as runHookEntry } from "./hook-entry-CvzyjOo4.js";
|