@ghostystudio/cli 0.24.0 → 0.24.1

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 CHANGED
@@ -90,6 +90,10 @@ Exit codes: `0` ok · `1` API error · `2` usage error · `3` not signed in.
90
90
  - `try --replay FILE --out DIR`: replays real conversations from your machine. The report is written after every step, survives Ghosty deploys (it honors `Retry-After`), and `--resume` continues a partial run.
91
91
  - `agents doctor` speaks English like the rest of the CLI; `channels whatsapp ls` returns a full URL.
92
92
 
93
+ ### Changes in 0.24.1
94
+
95
+ - `dbs rename` and `dbs rm` also work for Ghosty staff (migrations), not only the database's owner.
96
+
93
97
  ### Changes in 0.24.0
94
98
 
95
99
  - `dbs rename <agent> <db> <new> [--dry-run]`: renames the database and rewrites every prompt, env value and SKILL.md that names it (the dry run lists them).
package/dist/index.js CHANGED
@@ -8267,7 +8267,7 @@ async function postLong(path, body, timeoutMs = 9e5) {
8267
8267
  const req = httpsRequest(`${base}${path}`, {
8268
8268
  method: "POST",
8269
8269
  timeout: timeoutMs,
8270
- headers: { authorization: `Bearer ${token}`, "user-agent": `ghosty-cli/${"0.24.0"}`, "content-type": "application/json", "content-length": Buffer.byteLength(data) }
8270
+ headers: { authorization: `Bearer ${token}`, "user-agent": `ghosty-cli/${"0.24.1"}`, "content-type": "application/json", "content-length": Buffer.byteLength(data) }
8271
8271
  }, (res) => {
8272
8272
  let buf = "";
8273
8273
  res.on("data", (c) => buf += c);
@@ -8309,7 +8309,7 @@ async function request(path, opts = {}, retried = false) {
8309
8309
  method: opts.method ?? (opts.body !== void 0 || opts.raw !== void 0 ? "POST" : "GET"),
8310
8310
  headers: {
8311
8311
  authorization: `Bearer ${token}`,
8312
- "user-agent": `ghosty-cli/${"0.24.0"}`,
8312
+ "user-agent": `ghosty-cli/${"0.24.1"}`,
8313
8313
  "accept-language": lang(),
8314
8314
  ...opts.body !== void 0 ? { "content-type": "application/json" } : {},
8315
8315
  ...opts.headers
@@ -9304,7 +9304,7 @@ async function call(path, v, init = {}) {
9304
9304
  "x-ghosty-ts": ts,
9305
9305
  "x-ghosty-sig": sig,
9306
9306
  "content-type": "application/json",
9307
- "user-agent": `ghosty-cli/${"0.24.0"}`
9307
+ "user-agent": `ghosty-cli/${"0.24.1"}`
9308
9308
  },
9309
9309
  body: method === "GET" ? void 0 : raw
9310
9310
  });
@@ -10417,7 +10417,7 @@ var HELPS_ES = {
10417
10417
  "<db> es el id de la base o su nombre. Desde canales del due\xF1o el agente lee y escribe todo lo concedido.",
10418
10418
  "tables dice, por columna de fotos/ligas, cu\xE1ntas son permanentes (img.ghosty.studio), de fuera o vac\xEDas; import avisa antes de reemplazar ligas permanentes por ligas de fuera.",
10419
10419
  "import con replace avisa de las filas escritas en gs que EasyBits no tiene (una base compartida con agentes que ya corren en gs) y pregunta antes de borrarlas.",
10420
- "rename tambi\xE9n reescribe cada prompt, valor de env y SKILL.md que nombra la base; un prompt derivado sigue a su base. rm borra la base misma (revoke s\xF3lo le quita el acceso a este agente); las dos son s\xF3lo del due\xF1o."
10420
+ "rename tambi\xE9n reescribe cada prompt, valor de env y SKILL.md que nombra la base; un prompt derivado sigue a su base. rm borra la base misma (revoke s\xF3lo le quita el acceso a este agente); las dos son s\xF3lo del due\xF1o (o del staff de Ghosty)."
10421
10421
  ]
10422
10422
  },
10423
10423
  turns: {
@@ -10754,7 +10754,7 @@ var HELPS = {
10754
10754
  "<db> is the database id or its name. From owner channels the agent reads and writes everything granted.",
10755
10755
  "tables shows, per photo/link column, how many links are permanent (img.ghosty.studio), external or empty; import warns before replacing permanent links with external ones.",
10756
10756
  "import with replace warns about rows written in gs that EasyBits doesn't have (a database shared with agents already running in gs) and asks before deleting them.",
10757
- "rename also rewrites every prompt, env value and SKILL.md that names the database; a derived prompt follows its base. rm deletes the database itself (revoke only removes this agent's access); only its owner can do either."
10757
+ "rename also rewrites every prompt, env value and SKILL.md that names the database; a derived prompt follows its base. rm deletes the database itself (revoke only removes this agent's access); only its owner (or Ghosty staff) can do either."
10758
10758
  ],
10759
10759
  learn: `${REF}#bases-de-datos`
10760
10760
  },
@@ -11755,7 +11755,7 @@ async function main() {
11755
11755
  const tokens = splitTokens(pos, v);
11756
11756
  globals.token = tokens.session;
11757
11757
  globals.profile = v.profile;
11758
- if (v.version) return out({ version: "0.24.0" }, () => "0.24.0");
11758
+ if (v.version) return out({ version: "0.24.1" }, () => "0.24.1");
11759
11759
  for (const n of normalizeArgs(pos, v)) if (!globals.json) info(dim(n));
11760
11760
  const context = (await readConfig()).workspace;
11761
11761
  if (!explicitToken()?.startsWith("gat_")) {
@@ -11874,7 +11874,7 @@ async function main() {
11874
11874
  throw unknown(cmd, cmd, COMMANDS, "ghosty --help");
11875
11875
  }
11876
11876
  }
11877
- var notice = updateNotice("0.24.0").catch(() => null);
11877
+ var notice = updateNotice("0.24.1").catch(() => null);
11878
11878
  main().then(
11879
11879
  async () => {
11880
11880
  const n = await notice;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghostystudio/cli",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Official Ghosty Studio CLI — configure, test and chat with your agents from the terminal. Built for humans and coding agents.",
5
5
  "type": "module",
6
6
  "bin": {