@cabane/cli 0.1.9 → 0.1.11
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/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1029,7 +1029,7 @@ async function setupAgent(opts) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
const token = await resolvePat(opts, base);
|
|
1031
1031
|
const client = makeClient(base, token);
|
|
1032
|
-
const me = await client.get("/api/
|
|
1032
|
+
const me = await client.get("/api/me");
|
|
1033
1033
|
ok(`owner resolved (${me.user.id})`);
|
|
1034
1034
|
const assignment = await defaultAgentAssignment(client);
|
|
1035
1035
|
info("");
|
|
@@ -1372,7 +1372,7 @@ var Supervisor = class {
|
|
|
1372
1372
|
// Persisted `cabane set-env` creds (generic server env) are layered beneath
|
|
1373
1373
|
// the composed infra vars.
|
|
1374
1374
|
...config.companionEnv ? { persistedEnv: config.companionEnv } : {},
|
|
1375
|
-
//
|
|
1375
|
+
// The artifact's build version → the server reports it on the companion
|
|
1376
1376
|
// heartbeat so a companion/server skew is detectable. Read from the installed
|
|
1377
1377
|
// tree's package.json (stamped at build); best-effort.
|
|
1378
1378
|
...(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabane/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The cabane CLI — install, run, and update a self-hosted Cabane on your own machine (server + embedded Postgres; agents run on a companion you pair).",
|
|
6
6
|
"license": "UNLICENSED",
|