@keystrokehq/cli 0.0.30 → 0.0.31
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
|
@@ -89,8 +89,10 @@ keystroke --api-key sk_... --server-url https://api.example.com workflows list
|
|
|
89
89
|
| `keystroke test` | Test agent-callable tools. |
|
|
90
90
|
| `keystroke connect` | Connect official integrations through OAuth. |
|
|
91
91
|
| `keystroke listen` | Create a temporary URL and print the first captured request body. |
|
|
92
|
-
| `keystroke
|
|
93
|
-
| `keystroke
|
|
92
|
+
| `keystroke search` | Ranked discovery across operations, integrations, or credential definitions. |
|
|
93
|
+
| `keystroke operations` | List and show operations (catalog metadata, including JSON schemas). |
|
|
94
|
+
| `keystroke integrations` | List integrations; `integrations show` returns one integration and its operations. |
|
|
95
|
+
| `keystroke credentials` | Per-org credential sets, requirements, and upload. Use `credentials definitions` for catalog auth shapes. |
|
|
94
96
|
| `keystroke org` | View and switch organization context. |
|
|
95
97
|
| `keystroke projects` | List or clear locally tracked projects. |
|
|
96
98
|
| `keystroke runs inspect` | Inspect workflow and agent runs. |
|
|
@@ -174,6 +176,37 @@ The relevant configuration sources are:
|
|
|
174
176
|
|
|
175
177
|
Use `--debug` on any command to show diagnostic output.
|
|
176
178
|
|
|
179
|
+
## Catalog discovery
|
|
180
|
+
|
|
181
|
+
Discovery commands call the server catalog API via `@keystroke/workflow-sdk`. They require the same auth as deploy: API key plus organization context.
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
export KEYSTROKE_API_KEY=sk_...
|
|
185
|
+
export KEYSTROKE_ORG_ID=<your-org-uuid>
|
|
186
|
+
export SERVER_URL=http://localhost:3001 # local API (port 3001, not the web app on 3000)
|
|
187
|
+
|
|
188
|
+
keystroke search "put object"
|
|
189
|
+
keystroke search "slack" --type integrations
|
|
190
|
+
keystroke search "oauth" --type credentials --integration keystroke:slack
|
|
191
|
+
|
|
192
|
+
keystroke operations list --integration aws-s3
|
|
193
|
+
keystroke operations show aws-s3.put-object
|
|
194
|
+
keystroke operations show aws-s3.put-object --schema --json
|
|
195
|
+
|
|
196
|
+
keystroke integrations list
|
|
197
|
+
keystroke integrations show keystroke:slack # bare `slack` also works today
|
|
198
|
+
|
|
199
|
+
keystroke credentials definitions list --role connection
|
|
200
|
+
keystroke credentials definitions show keystroke:aws-s3
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
Flags shared across discovery commands:
|
|
204
|
+
|
|
205
|
+
- `--json` — machine-readable output (field names match shared-types schemas).
|
|
206
|
+
- `--full` on `search`, `operations list`, and `credentials definitions list` — pass `include=full` for schemas and extended fields in one round-trip.
|
|
207
|
+
|
|
208
|
+
`keystroke credentials list` lists **your organization's credential sets**, not catalog definitions.
|
|
209
|
+
|
|
177
210
|
## Integrations And Credentials
|
|
178
211
|
|
|
179
212
|
Connect an OAuth integration:
|
|
@@ -188,6 +221,7 @@ Inspect integration and credential state:
|
|
|
188
221
|
|
|
189
222
|
```bash
|
|
190
223
|
keystroke integrations list
|
|
224
|
+
keystroke credentials definitions list --role connection
|
|
191
225
|
keystroke credentials requirements --path .
|
|
192
226
|
keystroke credentials list
|
|
193
227
|
```
|
|
@@ -279,7 +279,7 @@ function createCredentialsDefinitionsCommand() {
|
|
|
279
279
|
optionsConfig: DEFINITION_SHOW_OPTIONS_CONFIG,
|
|
280
280
|
argument: {
|
|
281
281
|
name: "id",
|
|
282
|
-
description: "Credential definition id, e.g.
|
|
282
|
+
description: "Credential definition id, e.g. keystroke:aws-s3",
|
|
283
283
|
key: "id"
|
|
284
284
|
},
|
|
285
285
|
loadHandler: async () => (await import("./show.handler-CsidInW8.mjs")).handleCredentialDefinitionShow
|
package/dist/keystroke.mjs
CHANGED
|
@@ -521,7 +521,7 @@ const logger = {
|
|
|
521
521
|
};
|
|
522
522
|
//#endregion
|
|
523
523
|
//#region package.json
|
|
524
|
-
var version = "0.0.
|
|
524
|
+
var version = "0.0.31";
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/command-registry.ts
|
|
527
527
|
const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
|
|
@@ -553,7 +553,7 @@ const lazyCommandDefinitions = [
|
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
name: "credentials",
|
|
556
|
-
loadCommand: async () => (await import("./credentials-
|
|
556
|
+
loadCommand: async () => (await import("./credentials-CsncZ52a.mjs")).createCredentialsCommand(),
|
|
557
557
|
copyInheritedSettings: true
|
|
558
558
|
},
|
|
559
559
|
{
|
|
@@ -586,7 +586,7 @@ const lazyCommandDefinitions = [
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: "operations",
|
|
589
|
-
loadCommand: async () => (await import("./operations-
|
|
589
|
+
loadCommand: async () => (await import("./operations-AWMLs6mE.mjs")).createOperationsCommand()
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
name: "projects",
|
|
@@ -70,7 +70,7 @@ function createOperationsCommand() {
|
|
|
70
70
|
optionsConfig: OPERATION_SHOW_OPTIONS_CONFIG,
|
|
71
71
|
argument: {
|
|
72
72
|
name: "id",
|
|
73
|
-
description: "Operation id, e.g. aws-s3.
|
|
73
|
+
description: "Operation id, e.g. aws-s3.put-object",
|
|
74
74
|
key: "id"
|
|
75
75
|
},
|
|
76
76
|
loadHandler: async () => (await import("./show.handler-Wmv0tkxx.mjs")).handleOperationShow
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.31",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Command-line interface for creating, managing, and deploying Keystroke automations.",
|
|
6
6
|
"type": "module",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"rolldown": "1.0.0",
|
|
33
33
|
"tsx": "^4.21.0",
|
|
34
34
|
"zod": "4.4.3",
|
|
35
|
-
"@keystrokehq/skills": "0.0.
|
|
35
|
+
"@keystrokehq/skills": "0.0.9"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"tsdown": "0.21.10",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vitest": "^4.1.5",
|
|
41
41
|
"@keystroke/local-memory": "0.0.2",
|
|
42
|
+
"@keystroke/env-utils": "0.0.0",
|
|
42
43
|
"@keystrokehq/config": "0.0.2",
|
|
43
44
|
"@keystroke/shared-types": "0.0.11",
|
|
45
|
+
"@keystroke/test-utils": "0.0.6",
|
|
44
46
|
"@keystroke/typescript-config": "0.0.0",
|
|
45
|
-
"@keystroke/env-utils": "0.0.0",
|
|
46
47
|
"@keystroke/utils": "0.0.0",
|
|
47
|
-
"@keystroke/test-utils": "0.0.6",
|
|
48
48
|
"@keystroke/workflow-builder": "0.0.15",
|
|
49
49
|
"@keystrokehq/core": "0.0.10",
|
|
50
50
|
"@keystrokehq/runtime": "0.0.7",
|