@brew.new/cli 0.6.0 → 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 +8 -3
- package/dist/bin.js +2215 -640
- package/dist/bin.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -64,7 +64,8 @@ Designed for AI agents as first-class users:
|
|
|
64
64
|
|
|
65
65
|
- **Structured everything** — `--json` prints API envelopes verbatim;
|
|
66
66
|
auto-enabled when stdout is not a TTY. Errors are JSON envelopes on
|
|
67
|
-
stderr with stable `code`s
|
|
67
|
+
stderr with stable `code`s, the `x-request-id`, and `details` when
|
|
68
|
+
the API names the offending fields (a trigger fire's `400 INVALID_PAYLOAD`).
|
|
68
69
|
- **Semantic exit codes** — `0` ok · `1` API/runtime · `2` usage ·
|
|
69
70
|
`3` auth · `4` confirmation required.
|
|
70
71
|
- **Confirmation protocol** — irreversible commands (sends, deletes,
|
|
@@ -88,8 +89,12 @@ Designed for AI agents as first-class users:
|
|
|
88
89
|
The full generated reference lives in
|
|
89
90
|
[`docs/commands/README.md`](./docs/commands/README.md). Resource groups:
|
|
90
91
|
`contacts`, `fields`, `emails`, `sends`, `audiences`, `automations`
|
|
91
|
-
(+ `triggers`, `runs
|
|
92
|
-
|
|
92
|
+
(+ `triggers`, `runs`, `audience-runs`, `trigger-instances`), `analytics`,
|
|
93
|
+
`brand`, `content`, `templates`, `flows`, plus
|
|
94
|
+
`login`/`logout`/`whoami`/`config`/`usage`/`health`/`docs`/`api`.
|
|
95
|
+
|
|
96
|
+
Every collection has a real detail read — `<group> get <id>` returns the
|
|
97
|
+
bare row, and an unknown id surfaces the API's own typed `404`.
|
|
93
98
|
|
|
94
99
|
## How this repo stays in sync with the API, MCP, and SDK
|
|
95
100
|
|