@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.
Files changed (3) hide show
  1. package/README.md +14 -11
  2. package/dist/bin.js +2602 -9
  3. 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. Pass `--oauth-events` to also receive tasks created by OAuth
241
- sessions (this CLI, the playground).
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 guides/async-and-polling
247
+ mynth docs get concepts/tasks
247
248
  mynth docs list
248
- mynth docs get reference/webhooks --json
249
+ mynth docs get api-reference/webhook-payloads --json
249
250
  ```
250
251
 
251
- Paths take an optional leading slash and must not include the `.md` suffix. Documentation commands
252
- need no authentication.
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
- bun install
287
- bun run dev -- --help # run from source
288
- bun run build # bundle to dist/bin.js
289
- bun run test
290
- bun run typecheck
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