@ghostystudio/cli 0.7.2 → 0.9.0
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 +26 -2
- package/dist/index.js +870 -59
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,12 +18,21 @@ ghosty agents ls
|
|
|
18
18
|
ghosty agents get <id> [--fields name,model,prompt]
|
|
19
19
|
ghosty agents set <id> [--name] [--model] [--prompt | --prompt-file FILE]
|
|
20
20
|
ghosty agents restart <id>
|
|
21
|
+
ghosty agents doctor <id> [--verbose] # exits 1 when it finds a problem
|
|
22
|
+
ghosty agents docs ls|grant|revoke <id> [doc] [--write] [--no-deliver]
|
|
23
|
+
ghosty agents set <id> --voice elevenlabs:ID --voice-replies auto --auto-stage on
|
|
21
24
|
|
|
22
25
|
ghosty files ls|get|put|rm <id> [path] [--file LOCAL] [--out LOCAL]
|
|
23
|
-
ghosty skills ls|add|rm <id> [slug]
|
|
26
|
+
ghosty skills ls|get|add|rm <id> [slug] [--file SKILL.md | --dir FOLDER] [--out DIR]
|
|
27
|
+
ghosty dbs ls|tables|query|import|grant|revoke <id> [db] [--write] [--external-write t1,t2] [--from easybits:ID --dry-run]
|
|
28
|
+
ghosty turns ls <id> [--errors] [--since 1h] [--limit N]
|
|
29
|
+
ghosty channels whatsapp ls|enable|disable <id> [number] [--dry-run]
|
|
30
|
+
ghosty board archive <id> --integration X | --column X | --before 30d [--dry-run]
|
|
24
31
|
ghosty mcp get|set <id> [--file servers.json]
|
|
25
32
|
|
|
26
|
-
ghosty try <id> "message" [--session] [--reset]
|
|
33
|
+
ghosty try <id> "message" [--session] [--reset]
|
|
34
|
+
ghosty try <id> "message" --waba --session PHONE [--media FILE] [--history FILE] # real WhatsApp path, nothing sent
|
|
35
|
+
ghosty try <id> --replay FILE --out DIR [--max 15] [--concurrency 8] [--resume]
|
|
27
36
|
ghosty chat <id> ["message"] [--conversation ID]
|
|
28
37
|
ghosty conversations ls <id>
|
|
29
38
|
|
|
@@ -32,11 +41,26 @@ ghosty schedule ls <id>
|
|
|
32
41
|
ghosty schedule rm <id> <schedule-id>
|
|
33
42
|
|
|
34
43
|
ghosty me files ls|upload|rm [--kind image|video|audio|document|other]
|
|
44
|
+
ghosty credentials ls|set|rm [provider] [--from-env VAR] # never as an argument
|
|
35
45
|
ghosty docs
|
|
36
46
|
```
|
|
37
47
|
|
|
38
48
|
Global: `--json` (stdout is JSON only), `--token <token>` / `GHOSTY_TOKEN` (a `gat_…` agent token reaches only that agent), `--help`, `--version`.
|
|
39
49
|
|
|
50
|
+
Every command has its own help with examples: `ghosty <command> --help` or `ghosty help <command>`.
|
|
51
|
+
|
|
40
52
|
Exit codes: `0` ok · `1` API error · `2` usage error · `3` not signed in.
|
|
41
53
|
|
|
54
|
+
### Changes in 0.9.0
|
|
55
|
+
|
|
56
|
+
- `try --waba`: a test turn through the **real** WhatsApp Business path (inherited context, price rule, board, voice decision). It prints what it would have sent (text, voice note, files) and sends nothing. `--media` for photos/audio/PDF and `--history` to seed what was said before. `--whatsapp` is now an alias.
|
|
57
|
+
- `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.
|
|
58
|
+
- `agents doctor` speaks English like the rest of the CLI; `channels whatsapp ls` returns a full URL.
|
|
59
|
+
|
|
60
|
+
### Changes in 0.8.0
|
|
61
|
+
|
|
62
|
+
- Destructive commands (`agents rm`, `files rm`, `skills rm`, `credentials rm`, `board archive`, `dbs import` over existing rows, `channels whatsapp enable`) ask first. **Without a terminal they need `--yes`** or exit `2`.
|
|
63
|
+
- `skills rm` keeps a local copy under `~/.config/ghosty/trash/` and prints the undo command.
|
|
64
|
+
- New: `agents doctor`, `agents docs`, `dbs`, `turns`, `channels whatsapp`, `board archive`, `credentials`, `skills get`, `skills add --dir`, voice and auto-stage flags on `agents set`, per-command help and "did you mean".
|
|
65
|
+
|
|
42
66
|
Requires Node 22+. Docs: https://www.ghosty.studio/docs/cli · Skill for coding agents: `npx skills add https://www.ghosty.studio`
|