@keystrokehq/cli 0.1.78 → 0.1.80

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
@@ -45,6 +45,7 @@ keystroke workflows run <slug> --input '{...}'
45
45
  keystroke workflows runs list|get|cancel <slug> [<run-id>]
46
46
  keystroke agents prompt <slug> --message "…"
47
47
  keystroke agents sessions list|get|cancel <slug> [<session-id>]
48
+ keystroke triggers invoke <slug> [--input '{…}'] [--workflow <s> | --agent <s>]
48
49
  keystroke triggers disable|enable <slug> [--workflow <s> | --agent <s>]
49
50
  keystroke triggers runs list|get <slug> [--workflow <s> | --agent <s>]
50
51
  keystroke apps actions list|get <app> [<tool>]
@@ -100,15 +101,17 @@ keystroke --project <slug> project settings update --description "Notes" --defau
100
101
 
101
102
  ### `trigger`
102
103
 
103
- List triggers and resolve webhook URLs after deploy (requires `keystroke auth login`):
104
+ List triggers, resolve webhook URLs, and manually invoke after deploy (requires `keystroke auth login`):
104
105
 
105
106
  ```bash
106
107
  keystroke triggers list
107
108
  keystroke triggers get incoming-message
108
109
  keystroke triggers url incoming-message
110
+ keystroke triggers invoke inbox-sync
111
+ keystroke triggers invoke signup --input '{"name":"Ada","email":"ada@example.com"}'
109
112
  ```
110
113
 
111
- `url` prints a single line suitable for piping into curl or pasting into external webhook config.
114
+ `url` prints a single line suitable for piping into curl or pasting into external webhook config. `invoke` is platform-only (not `--local`): webhook invokes take `--input`; cron and poll take none (cron always uses its static payload). Narrow with `--workflow` / `--agent` when a trigger has multiple attachments.
112
115
 
113
116
  ### `init`
114
117
 
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { r as __toESM, t as __commonJSMin } from "./chunk-DiodbrVj.mjs";
3
- import { Cr as parseStoredRouteManifest, Fr as array, Gr as optional, Hr as looseObject, Ir as boolean, Jr as string, Kr as preprocess, Lr as custom, Nr as _null, Pr as any, Qr as datetime, Rr as discriminatedUnion, Ur as number, Vr as literal, Wr as object, Xr as unknown, Yr as union, Zr as url, ei as safeParse$1, jr as _enum, kr as number$1, mn as ROUTE_MANIFEST_REL_PATH, qr as record, ti as NEVER, zr as intersection } from "./dist-DI9IeZPy.mjs";
3
+ import { $r as datetime, Ar as number$1, Br as intersection, Fr as any, Gr as object, Hr as literal, Ir as array, Jr as record, Kr as optional, Lr as boolean, Mr as _enum, Pr as _null, Qr as url, Rr as custom, Ur as looseObject, Wr as number, Xr as union, Yr as string, Zr as unknown, ni as NEVER, pn as ROUTE_MANIFEST_REL_PATH, qr as preprocess, ti as safeParse$1, wr as parseStoredRouteManifest, zr as discriminatedUnion } from "./dist-hlO_zOcR.mjs";
4
4
  import { tmpdir } from "node:os";
5
5
  import { dirname, join } from "node:path";
6
6
  import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
@@ -11558,4 +11558,4 @@ async function mapInParallelBatches(items, batchSize, fn) {
11558
11558
  //#endregion
11559
11559
  export { packProjectArtifact as i, withMcpReadClient as n, mergeFilteredArtifact as r, mapInParallelBatches as t };
11560
11560
 
11561
- //# sourceMappingURL=dist-DONjp1Vu.mjs.map
11561
+ //# sourceMappingURL=dist-BIB3Iubo.mjs.map