@mynthio/cli 0.0.22 → 0.0.23
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 +14 -11
- package/dist/bin.js +2602 -9
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -237,19 +237,22 @@ mynth webhook delete whk_... --yes
|
|
|
237
237
|
The signing secret is printed once, on create, and cannot be retrieved again.
|
|
238
238
|
|
|
239
239
|
By default a webhook only receives tasks created with an **API key** — that matches where webhooks
|
|
240
|
-
are actually consumed, on a server.
|
|
241
|
-
|
|
240
|
+
are actually consumed, on a server. Tasks from this CLI carry the key from `auth login`, so they
|
|
241
|
+
deliver on the default. Pass `--oauth-events` to also receive tasks that have no API key, such as
|
|
242
|
+
playground runs.
|
|
242
243
|
|
|
243
244
|
## Documentation
|
|
244
245
|
|
|
245
246
|
```bash
|
|
246
|
-
mynth docs get
|
|
247
|
+
mynth docs get concepts/tasks
|
|
247
248
|
mynth docs list
|
|
248
|
-
mynth docs get reference/
|
|
249
|
+
mynth docs get api-reference/webhook-payloads --json
|
|
249
250
|
```
|
|
250
251
|
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
Pages come from `https://mynth.io/docs/<path>.md` and the index from `https://mynth.io/llms.txt`.
|
|
253
|
+
Set `MYNTH_DOCS_URL` to read another host. Paths take an optional leading slash and must not
|
|
254
|
+
include the `.md` suffix. `index` is the introduction. Documentation commands need no
|
|
255
|
+
authentication.
|
|
253
256
|
|
|
254
257
|
## Exit codes
|
|
255
258
|
|
|
@@ -283,11 +286,11 @@ failure exits 1.
|
|
|
283
286
|
|
|
284
287
|
```bash
|
|
285
288
|
cd packages/cli
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
pnpm install
|
|
290
|
+
pnpm dev --help # run from source (Node 24 strips the types)
|
|
291
|
+
pnpm build # bundle to dist/bin.js
|
|
292
|
+
pnpm test
|
|
293
|
+
pnpm typecheck
|
|
291
294
|
```
|
|
292
295
|
|
|
293
296
|
### Layout
|