@keystrokehq/cli 0.0.9 → 0.0.10
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/dist/{accept.handler-PpOOUemk.mjs → accept.handler-DWuxmMuY.mjs} +4 -4
- package/dist/{admin-Dga-_lDF.mjs → admin-BK4bFTTd.mjs} +10 -10
- package/dist/{agents-DII_JbCa.mjs → agents-DYnw2VPX.mjs} +6 -6
- package/dist/{api-keys-DeTqHzI4.mjs → api-keys-Dizx3YqE.mjs} +6 -6
- package/dist/{auth-C0fuZ0_P.mjs → auth-BqsKd4IA.mjs} +6 -6
- package/dist/{auth.handler-BLU7LnW2.mjs → auth.handler-BsoWeCFD.mjs} +1 -1
- package/dist/{build-progress-Mzsk4RKr.mjs → build-progress-DigAP-BN.mjs} +2 -2
- package/dist/{build.handler-D15NjKkT.mjs → build.handler-B2UDhh72.mjs} +5 -5
- package/dist/{clear-cache.handler-BuSx_ZDn.mjs → clear-cache.handler-D-wboLB6.mjs} +1 -1
- package/dist/{clear.handler-DgIXlYTs.mjs → clear.handler-BR97yudD.mjs} +1 -1
- package/dist/{commander-B6_tg5_w.mjs → commander-DcftG6dX.mjs} +3 -3
- package/dist/{connect-D9PVABIW.mjs → connect-DQ4xIcyE.mjs} +3 -3
- package/dist/{connect.handler-BmOVKYSN.mjs → connect.handler-CWSLgf87.mjs} +3 -3
- package/dist/{context-DT06adrn.mjs → context-1VgRbzr-.mjs} +2 -2
- package/dist/{create.handler-BWaULspg.mjs → create.handler-C2CkPWsy.mjs} +3 -3
- package/dist/{credential-schema-mismatch-C-4kBAFw.mjs → credential-schema-mismatch-DM9Y91jL.mjs} +1 -1
- package/dist/{credentials-BW-v9xVQ.mjs → credentials-D8_AwH9o.mjs} +6 -6
- package/dist/{current-deployment-workflow-j5DlVkb2.mjs → current-deployment-workflow-B05z0EQa.mjs} +4 -4
- package/dist/{current.handler-CUVgMZ-O.mjs → current.handler-CuAtMZmm.mjs} +2 -2
- package/dist/{delete.handler-CzW7Rm5M.mjs → delete.handler-DDY3X1Zm.mjs} +2 -2
- package/dist/{deploy-BU04ehfM.mjs → deploy-Cn6FFnOM.mjs} +2 -2
- package/dist/{deploy-progress-BkpuGfGt.mjs → deploy-progress-XAfautnA.mjs} +2 -2
- package/dist/{deploy.handler-CbYYyVOg.mjs → deploy.handler-D1DcAe-h.mjs} +10 -10
- package/dist/{diff-utils-D1jYu6ny.mjs → diff-utils-AATn2n56.mjs} +1 -1
- package/dist/{diff.handler-Dtjc7Y4O.mjs → diff.handler-BU6IewNG.mjs} +5 -5
- package/dist/{env.handler-DbxnyBYf.mjs → env.handler-C6YAmHLi.mjs} +5 -5
- package/dist/{error-boundary-D6KTx1HL.mjs → error-boundary-CpaVvFXk.mjs} +3 -3
- package/dist/{iam-command-utils-B5G-N3Hx.mjs → iam-command-utils-ByLX0A-V.mjs} +2 -2
- package/dist/{init-BITuemMR.mjs → init-Da6_obl0.mjs} +2 -2
- package/dist/{init.handler-HsCte00n.mjs → init.handler-Cq2nk8DO.mjs} +22 -11
- package/dist/{inspect.handler-Buv68Vm9.mjs → inspect.handler-D4YGryQB.mjs} +4 -4
- package/dist/{integration-catalog-4T5Yad-n.mjs → integration-catalog-DtNWaMvh.mjs} +3 -3
- package/dist/{integrations-Dib-OfdN.mjs → integrations-CB_Ukq2g.mjs} +5 -5
- package/dist/{invites-CJtInw9Q.mjs → invites-BOhuBtoq.mjs} +5 -5
- package/dist/{invites.list.handler-CBtOq8W4.mjs → invites.list.handler-C-Wv6E1g.mjs} +4 -4
- package/dist/{invites.resend.handler-D-E2NxY1.mjs → invites.resend.handler-CI78XlQS.mjs} +4 -4
- package/dist/{invites.revoke.handler-DFTxBZcm.mjs → invites.revoke.handler-DigAgNwB.mjs} +4 -4
- package/dist/keystroke.mjs +53 -49
- package/dist/{list-enrichment-Bou_BqL0.mjs → list-enrichment-Cxlq6BB9.mjs} +1 -1
- package/dist/{list.handler-BFjtABDv.mjs → list.handler--a1JEGSD.mjs} +4 -4
- package/dist/{list.handler-fGaEAMUZ.mjs → list.handler-B6IByHHB.mjs} +5 -5
- package/dist/{list.handler-BHmG2GY8.mjs → list.handler-BpVNYShU.mjs} +2 -2
- package/dist/{list.handler-CXT-te4G.mjs → list.handler-BsyGhXns.mjs} +4 -4
- package/dist/{list.handler-gjAg1aM6.mjs → list.handler-CsODcH6e.mjs} +3 -3
- package/dist/{list.handler-Bi28Gsee.mjs → list.handler-Dr9Ti-dt.mjs} +5 -5
- package/dist/{list.handler-BWGnEnM8.mjs → list.handler-OiLEylzS.mjs} +2 -2
- package/dist/{listen-_GvXm7iI.mjs → listen-DUPk6cZC.mjs} +3 -3
- package/dist/{listen.handler-BKfcYsfv.mjs → listen.handler-B5WimrfF.mjs} +3 -3
- package/dist/{logs-De7ITMv1.mjs → logs-C5_4lh3p.mjs} +2 -2
- package/dist/{logs.handler-COtiXeqn.mjs → logs.handler-CBHPwDuC.mjs} +3 -3
- package/dist/{logs.handler-CB2FtCvP.mjs → logs.handler-ClIIOeQB.mjs} +1 -1
- package/dist/{members.add.handler-BXldE_ec.mjs → members.add.handler-LcQJYBsu.mjs} +4 -4
- package/dist/{members.invite.handler-CWFsj5Gz.mjs → members.invite.handler-p279O2aC.mjs} +4 -4
- package/dist/{members.list.handler-DFg6VThp.mjs → members.list.handler-Cjukjuot.mjs} +4 -4
- package/dist/{members.remove.handler-lStbH_4M.mjs → members.remove.handler-CzxPiQFv.mjs} +4 -4
- package/dist/{members.update.handler-CzcdsbtG.mjs → members.update.handler-CX5q86e3.mjs} +4 -4
- package/dist/{org-DLY5V_Uw.mjs → org-CnlKW-Hl.mjs} +16 -16
- package/dist/{orgs.create.handler-CiYGUXBZ.mjs → orgs.create.handler-DRILhxdn.mjs} +4 -4
- package/dist/{orgs.get.handler-BgFsnpme.mjs → orgs.get.handler-Cue6stoX.mjs} +4 -4
- package/dist/{orgs.list.handler-BuyOTc8K.mjs → orgs.list.handler-fuDLNI5X.mjs} +4 -4
- package/dist/{output-BCDZb3Gy.mjs → output-CGdYhH0p.mjs} +1 -1
- package/dist/{paused.handler-BX_71fzx.mjs → paused.handler-CuOVH4DZ.mjs} +3 -3
- package/dist/{projects-lN-4ZR9Q.mjs → projects-DdgHbUpR.mjs} +5 -5
- package/dist/{register.handler-BA6p-TmU.mjs → register.handler-CpP_KB2u.mjs} +2 -2
- package/dist/{requirements.handler-DI4mgZ2l.mjs → requirements.handler-CX13XiXT.mjs} +4 -4
- package/dist/{resolve-project-BREjwFKO.mjs → resolve-project-C6UAOfAG.mjs} +1 -1
- package/dist/{run-polling-BLT-uS2e.mjs → run-polling-1CTIeDea.mjs} +1 -1
- package/dist/{run.handler-B5NodlNi.mjs → run.handler-BxLH75WW.mjs} +6 -6
- package/dist/{runs-BfgL8BR_.mjs → runs-lfE7r6i2.mjs} +4 -4
- package/dist/{skills-sync.handler-CuuCiUGT.mjs → skills-sync.handler-CntKndFm.mjs} +2 -2
- package/dist/{skills.command-z-sOQpkN.mjs → skills.command-X5zZwz2d.mjs} +4 -4
- package/dist/{skills.handler-BQ3Qfej3.mjs → skills.handler-CofL4oKs.mjs} +1 -1
- package/dist/{spinner-progress-BB2EHL-l.mjs → spinner-progress-Bt8zXPOc.mjs} +1 -1
- package/dist/{status.handler-Bh0MtNu1.mjs → status.handler-6cuHa0R0.mjs} +1 -1
- package/dist/{switch.handler-CSOycIbR.mjs → switch.handler-RaeKZ3ZB.mjs} +2 -2
- package/dist/{sync-CIibxcUe.mjs → sync-C89mJp7Y.mjs} +2 -2
- package/dist/{sync.handler-D2cY3bia.mjs → sync.handler-BoAHHUQs.mjs} +6 -6
- package/dist/{test-Dsx4cRnE.mjs → test-gPQJRkqa.mjs} +9 -9
- package/dist/{test.handler-Duqj67Qi.mjs → test.handler-B5GF5txS.mjs} +2 -2
- package/dist/{try-deploy.handler-Lq69ON02.mjs → try-deploy.handler-dA_YGWRq.mjs} +7 -7
- package/dist/{upgrade-DQrHCNR8.mjs → upgrade-xByIxaYu.mjs} +2 -2
- package/dist/{upgrade.handler-B0NxKINA.mjs → upgrade.handler-DhKeyCy5.mjs} +1 -1
- package/dist/{upload.handler-BMJiaCzk.mjs → upload.handler-BFDM6n_6.mjs} +6 -6
- package/dist/{users.get.handler-eJtaB-2G.mjs → users.get.handler-CzaYM2bi.mjs} +4 -4
- package/dist/{users.list.handler-DE6s08i0.mjs → users.list.handler-CpOWwzBb.mjs} +4 -4
- package/dist/{users.set-role.handler-BVNvaKKS.mjs → users.set-role.handler-BjiSNP2d.mjs} +4 -4
- package/dist/{validate.handler-BUga7Umz.mjs → validate.handler-BtDSKAFY.mjs} +5 -5
- package/dist/{workflow-build-Be6RMTb2.mjs → workflow-build-Z2_jkOsZ.mjs} +1 -1
- package/dist/{workflows-Cdo-AgjV.mjs → workflows-V09d2r2H.mjs} +13 -13
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
3
|
+
import { n as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/admin/users.get.handler.ts
|
|
8
8
|
async function handleAdminUsersGet(options, ctx) {
|
|
9
9
|
const client = requireClient(ctx);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
3
|
+
import { n as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/admin/users.list.handler.ts
|
|
9
9
|
async function handleAdminUsersList(options, ctx) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-
|
|
3
|
+
import { n as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
6
|
+
import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/admin/users.set-role.handler.ts
|
|
8
8
|
async function handleAdminUsersSetRole(options, ctx) {
|
|
9
9
|
const client = requireClient(ctx);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { N as throwReportedCliExit, n as ui, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { s as build, t as WorkflowNotFoundError } from "./workflow-build-
|
|
8
|
-
import { t as createBuildProgress } from "./build-progress-
|
|
5
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-C6UAOfAG.mjs";
|
|
7
|
+
import { s as build, t as WorkflowNotFoundError } from "./workflow-build-Z2_jkOsZ.mjs";
|
|
8
|
+
import { t as createBuildProgress } from "./build-progress-DigAP-BN.mjs";
|
|
9
9
|
import { mkdtemp, rm } from "node:fs/promises";
|
|
10
10
|
import * as os from "node:os";
|
|
11
11
|
import * as path$1 from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { i as __toESM, n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { d as originalConsole, f as ANSI, n as ui, p as style, u as logger, x as toErrorMessage } from "./keystroke.mjs";
|
|
5
5
|
import { a as getKeystrokeTmpDir } from "./dist-BF6r1hfv.mjs";
|
|
6
6
|
import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
7
7
|
import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-BfL74mjp.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DcftG6dX.mjs";
|
|
5
5
|
import { r as SHA256HashSchema, t as JsonSchemaSchema } from "./common-B3bLe3Mk.mjs";
|
|
6
6
|
import { l as TriggerUploadDataSchema } from "./credential-requirements-BCW8aQWS.mjs";
|
|
7
7
|
import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-BfL74mjp.mjs";
|
|
@@ -321,7 +321,7 @@ function createWorkflowsBuildCommand() {
|
|
|
321
321
|
description: "Build workflows locally",
|
|
322
322
|
schema: WorkflowsBuildOptionsSchema,
|
|
323
323
|
optionsConfig: BUILD_OPTIONS_CONFIG,
|
|
324
|
-
loadHandler: async () => (await import("./build.handler-
|
|
324
|
+
loadHandler: async () => (await import("./build.handler-B2UDhh72.mjs")).handleWorkflowsBuild
|
|
325
325
|
});
|
|
326
326
|
}
|
|
327
327
|
//#endregion
|
|
@@ -348,7 +348,7 @@ function createWorkflowsDiffCommand() {
|
|
|
348
348
|
description: "Authored workflow id (preferred) or workflow name",
|
|
349
349
|
key: "workflow"
|
|
350
350
|
},
|
|
351
|
-
loadHandler: async () => (await import("./diff.handler-
|
|
351
|
+
loadHandler: async () => (await import("./diff.handler-BU6IewNG.mjs")).handleWorkflowsDiff
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
//#endregion
|
|
@@ -381,7 +381,7 @@ function createWorkflowsEnvCommand() {
|
|
|
381
381
|
key: "workflow",
|
|
382
382
|
required: false
|
|
383
383
|
},
|
|
384
|
-
loadHandler: async () => (await import("./env.handler-
|
|
384
|
+
loadHandler: async () => (await import("./env.handler-C6YAmHLi.mjs")).handleWorkflowsEnv
|
|
385
385
|
});
|
|
386
386
|
}
|
|
387
387
|
//#endregion
|
|
@@ -413,7 +413,7 @@ function createWorkflowsInspectCommand() {
|
|
|
413
413
|
description: "Authored workflow id (preferred) or workflow name",
|
|
414
414
|
key: "workflow"
|
|
415
415
|
},
|
|
416
|
-
loadHandler: async () => (await import("./inspect.handler-
|
|
416
|
+
loadHandler: async () => (await import("./inspect.handler-D4YGryQB.mjs")).handleWorkflowsInspect
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
//#endregion
|
|
@@ -509,7 +509,7 @@ function createWorkflowsLogsCommand() {
|
|
|
509
509
|
key: "workflow",
|
|
510
510
|
required: false
|
|
511
511
|
},
|
|
512
|
-
loadHandler: async () => (await import("./logs.handler-
|
|
512
|
+
loadHandler: async () => (await import("./logs.handler-CBHPwDuC.mjs")).handleWorkflowsLogs
|
|
513
513
|
});
|
|
514
514
|
}
|
|
515
515
|
//#endregion
|
|
@@ -700,7 +700,7 @@ function createWorkflowsPausedCommand() {
|
|
|
700
700
|
key: "workflow",
|
|
701
701
|
required: false
|
|
702
702
|
},
|
|
703
|
-
loadHandler: async () => (await import("./paused.handler-
|
|
703
|
+
loadHandler: async () => (await import("./paused.handler-CuOVH4DZ.mjs")).handleWorkflowsPaused
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
706
|
//#endregion
|
|
@@ -794,7 +794,7 @@ function createWorkflowsRunCommand() {
|
|
|
794
794
|
key: "payload",
|
|
795
795
|
required: false
|
|
796
796
|
}],
|
|
797
|
-
loadHandler: async () => (await import("./run.handler-
|
|
797
|
+
loadHandler: async () => (await import("./run.handler-BxLH75WW.mjs")).handleWorkflowsRun
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
800
|
//#endregion
|
|
@@ -810,7 +810,7 @@ function createWorkflowsTryDeployCommand() {
|
|
|
810
810
|
description: "Authored workflow id (preferred) or workflow name. Multiple workflows with the same name run sequentially.",
|
|
811
811
|
key: "workflow"
|
|
812
812
|
},
|
|
813
|
-
loadHandler: async () => (await import("./try-deploy.handler-
|
|
813
|
+
loadHandler: async () => (await import("./try-deploy.handler-dA_YGWRq.mjs").then((n) => n.n)).handleWorkflowsTryDeploy
|
|
814
814
|
});
|
|
815
815
|
}
|
|
816
816
|
//#endregion
|
|
@@ -848,7 +848,7 @@ function createWorkflowsValidateCommand() {
|
|
|
848
848
|
key: "workflow",
|
|
849
849
|
required: false
|
|
850
850
|
},
|
|
851
|
-
loadHandler: async () => (await import("./validate.handler-
|
|
851
|
+
loadHandler: async () => (await import("./validate.handler-BtDSKAFY.mjs")).handleWorkflowsValidate
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
854
|
//#endregion
|
|
@@ -867,14 +867,14 @@ function createWorkflowsCommand() {
|
|
|
867
867
|
description: "Manage, run, inspect, and debug workflows",
|
|
868
868
|
schema: WorkflowsOptionsSchema,
|
|
869
869
|
optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
|
|
870
|
-
loadHandler: async () => (await import("./list.handler-
|
|
870
|
+
loadHandler: async () => (await import("./list.handler-Dr9Ti-dt.mjs")).handleWorkflowsList,
|
|
871
871
|
subcommands: [
|
|
872
872
|
createTypedCommand({
|
|
873
873
|
name: "list",
|
|
874
874
|
description: "List all workflows in the project",
|
|
875
875
|
schema: WorkflowsOptionsSchema,
|
|
876
876
|
optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
|
|
877
|
-
loadHandler: async () => (await import("./list.handler-
|
|
877
|
+
loadHandler: async () => (await import("./list.handler-Dr9Ti-dt.mjs")).handleWorkflowsList
|
|
878
878
|
}),
|
|
879
879
|
createWorkflowsBuildCommand(),
|
|
880
880
|
createWorkflowsRunCommand(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Command-line interface for creating, managing, and deploying Keystroke automations.",
|
|
6
6
|
"type": "module",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"@keystroke/local-memory": "0.0.0",
|
|
44
44
|
"@keystroke/project-config": "0.0.1",
|
|
45
45
|
"@keystroke/shared-types": "0.0.1",
|
|
46
|
+
"@keystroke/test-utils": "0.0.0",
|
|
46
47
|
"@keystroke/typescript-config": "0.0.0",
|
|
47
48
|
"@keystroke/utils": "0.0.0",
|
|
48
49
|
"@keystroke/workflow-builder": "0.0.2",
|
|
49
50
|
"@keystrokehq/core": "0.0.4",
|
|
50
51
|
"@keystroke/workflow-deploy": "0.0.1",
|
|
51
|
-
"@keystroke/workflow-sdk": "0.0.0"
|
|
52
|
-
"@keystroke/test-utils": "0.0.0"
|
|
52
|
+
"@keystroke/workflow-sdk": "0.0.0"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"automation",
|