@keystrokehq/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/dist/{accept.handler-C6KBLKmW.mjs → accept.handler-tvT9pleH.mjs} +1 -1
- package/dist/{admin-D2CQoZAN.mjs → admin-DsAQ0WWj.mjs} +9 -9
- package/dist/{agents-Bn0g5o0o.mjs → agents-Ccw0IZCx.mjs} +4 -4
- package/dist/{api-keys-BixCnZJW.mjs → api-keys-tle_m3kk.mjs} +5 -5
- package/dist/{auth-yCNMT8sJ.mjs → auth-DLaY5yCZ.mjs} +6 -11
- package/dist/{auth.handler-BedGpKh1.mjs → auth.handler-Dq2fXO3S.mjs} +16 -47
- package/dist/{build.handler-CyDc8jiZ.mjs → build.handler-ChqSwsT_.mjs} +3 -3
- package/dist/{clear-cache.handler-FmJPHdWG.mjs → clear-cache.handler-DpP1VlbR.mjs} +1 -1
- package/dist/{clear.handler-Cvb9chs4.mjs → clear.handler-FzohTmpU.mjs} +2 -6
- package/dist/{commander-9Kro0Dl3.mjs → commander-BTMzBiLq.mjs} +1 -1
- package/dist/{connect-_l7Lkfxi.mjs → connect-BUu2ojK7.mjs} +2 -2
- package/dist/{connect.handler-tqk-DOv8.mjs → connect.handler-D7oO_5WS.mjs} +2 -2
- package/dist/{context-B2cQ-Nt3.mjs → context-DHOTSgPb.mjs} +5 -10
- package/dist/{create.handler-v9B0Z9Yf.mjs → create.handler-BuxP18uj.mjs} +1 -1
- package/dist/{credential-env-map-Dvp00a4M.mjs → credential-env-map-CtmzNkwU.mjs} +1 -1
- package/dist/{credentials-Dr5lD7Hm.mjs → credentials-CELZ0QHu.mjs} +5 -5
- package/dist/{current-deployment-workflow-qMfOrRIu.mjs → current-deployment-workflow-CnzlDCBv.mjs} +2 -2
- package/dist/{current.handler-Cm_-JLyZ.mjs → current.handler-BXec-Bhy.mjs} +1 -1
- package/dist/{delete.handler-DtP_zUaq.mjs → delete.handler-CpYOMtsv.mjs} +1 -1
- package/dist/{deploy-CB6pfCuB.mjs → deploy-Cn3jN7Rl.mjs} +2 -2
- package/dist/{deploy.handler-Bg0dpSTj.mjs → deploy.handler-BikVS9ER.mjs} +7 -7
- package/dist/{diff.handler-CJPrszL1.mjs → diff.handler-C3EWVBOj.mjs} +3 -3
- package/dist/dist-D_KgdxW5.mjs +539 -0
- package/dist/{env.handler-6TrLd3fo.mjs → env.handler-BuFdzUoX.mjs} +4 -4
- package/dist/{init-DBMtY3eO.mjs → init-6tGGTpYO.mjs} +2 -2
- package/dist/{init.handler-BoYbE-6H.mjs → init.handler-Dcg9MOqx.mjs} +2 -2
- package/dist/{inspect.handler-Juu2vGbB.mjs → inspect.handler-BN6p2hI_.mjs} +3 -3
- package/dist/{integration-catalog-cYlTmOSb.mjs → integration-catalog-Cub_7xCw.mjs} +1 -1
- package/dist/{integrations-Cdq7iSLj.mjs → integrations-BRMzYHz1.mjs} +3 -3
- package/dist/{invites-DHyHZOY_.mjs → invites-RO4Dy-m6.mjs} +4 -4
- package/dist/{invites.list.handler-C-QpsG2J.mjs → invites.list.handler-B2RoiFCu.mjs} +1 -1
- package/dist/{invites.resend.handler-KFKbSPzR.mjs → invites.resend.handler-C4rzRkqX.mjs} +1 -1
- package/dist/{invites.revoke.handler-Cuz7jrGC.mjs → invites.revoke.handler-CMf6PpeL.mjs} +1 -1
- package/dist/keystroke.mjs +21 -21
- package/dist/{list.handler-DRe38pAj.mjs → list.handler-BjKZ9-QO.mjs} +2 -2
- package/dist/{list.handler-Cc-V1TNz.mjs → list.handler-DpdVFRYl.mjs} +1 -1
- package/dist/{list.handler-Do2tVOnu.mjs → list.handler-DrY5bgm1.mjs} +1 -1
- package/dist/{list.handler-CLGQDuo5.mjs → list.handler-cK8Y-daR.mjs} +3 -3
- package/dist/{list.handler-BWsl4iYw.mjs → list.handler-fcyAKTQe.mjs} +3 -3
- package/dist/{list.handler-6x3GVumu.mjs → list.handler-ijBH6Ow_.mjs} +1 -1
- package/dist/{list.handler-RtHhrTZ3.mjs → list.handler-wYGZhl1g.mjs} +1 -1
- package/dist/{listen-DZdSevsB.mjs → listen-CEn4PucV.mjs} +2 -2
- package/dist/{listen.handler-BccHe1jh.mjs → listen.handler-B7s6mz82.mjs} +1 -1
- package/dist/{logs-Bh_PBnu6.mjs → logs-DiH8JXn1.mjs} +1 -1
- package/dist/{logs.handler-DItDS1zw.mjs → logs.handler-D0sNlOz4.mjs} +1 -1
- package/dist/{members.add.handler-D3nQ_Ln6.mjs → members.add.handler-Dr9SCjrS.mjs} +1 -1
- package/dist/{members.invite.handler-rKhg5n_C.mjs → members.invite.handler-8-pTOtw_.mjs} +1 -1
- package/dist/{members.list.handler-C9Yh469k.mjs → members.list.handler-CUZGd-3B.mjs} +1 -1
- package/dist/{members.remove.handler-Dnrck-E6.mjs → members.remove.handler-BCiLt3pa.mjs} +1 -1
- package/dist/{members.update.handler-qo5r6arJ.mjs → members.update.handler-BAbB9ssa.mjs} +1 -1
- package/dist/{org-DnES84sS.mjs → org-BD4fj8Yh.mjs} +15 -15
- package/dist/{orgs.create.handler-DF4eEL-2.mjs → orgs.create.handler-B_7WjV3s.mjs} +1 -1
- package/dist/{orgs.get.handler-BmJnseQa.mjs → orgs.get.handler-BgjeDmfl.mjs} +1 -1
- package/dist/{orgs.list.handler-DDVvSbsT.mjs → orgs.list.handler-ZRdb-yu5.mjs} +1 -1
- package/dist/{paused.handler-BLUchSMD.mjs → paused.handler-CzQkBKS6.mjs} +1 -1
- package/dist/{projects-Cv14bBGy.mjs → projects-CgtfPFGu.mjs} +4 -4
- package/dist/{requirements.handler-BKFocUof.mjs → requirements.handler-ZZfHV6f0.mjs} +2 -2
- package/dist/{resolve-cli-credentials-DaMDaamj.mjs → resolve-cli-credentials-B4crOe_y.mjs} +5 -5
- package/dist/{resolve-project-Cj3MFnU0.mjs → resolve-project-DJJZIOmu.mjs} +1 -1
- package/dist/{run.handler-DZuUx0fi.mjs → run.handler-xeUVmlFk.mjs} +4 -4
- package/dist/{runs-BOo3j297.mjs → runs-CZRwB58H.mjs} +2 -2
- package/dist/{skills.command-B-MhRN3J.mjs → skills.command-DGIIIRX_.mjs} +1 -1
- package/dist/{status.handler-CW-EFhy3.mjs → status.handler-Ch_DtyBp.mjs} +4 -11
- package/dist/{switch.handler-BFGvj5c6.mjs → switch.handler-B3QBoSSl.mjs} +2 -2
- package/dist/{sync-CZ3iUPTA.mjs → sync-BlmgsC2W.mjs} +2 -2
- package/dist/{sync.handler-B1L8I9lF.mjs → sync.handler-xVxeG-S0.mjs} +4 -4
- package/dist/{task-target-build-CTgl4L42.mjs → task-target-build-CrPLSXnu.mjs} +1 -1
- package/dist/task-target-deploy-runner.mjs +4 -4
- package/dist/{test-Byq4hG3C.mjs → test-cuU0rf9C.mjs} +2 -2
- package/dist/{test.handler-BsrMMj5O.mjs → test.handler-B_C-T_IM.mjs} +4 -4
- package/dist/{test.handler-CAsVgOpT.mjs → test.handler-CLqnDqY6.mjs} +1 -1
- package/dist/{tool.handler-BHS5Z4J_.mjs → tool.handler-CmpzYYiC.mjs} +6 -6
- package/dist/{upgrade-bZVjVXnu.mjs → upgrade-B6Prb1K-.mjs} +1 -1
- package/dist/{upload.handler-DXVx2u3A.mjs → upload.handler-81mbKHTY.mjs} +4 -4
- package/dist/{users.get.handler-DqD2ELK2.mjs → users.get.handler-DoajzImx.mjs} +1 -1
- package/dist/{users.list.handler-DZSPvpGF.mjs → users.list.handler-CRk2J8mi.mjs} +1 -1
- package/dist/{users.set-role.handler-73smNUVF.mjs → users.set-role.handler-CHYjbx5M.mjs} +1 -1
- package/dist/{validate.handler-CmfcMX0t.mjs → validate.handler-CWG5HyO3.mjs} +3 -3
- package/dist/{workflow-build-Bi1Aacc5.mjs → workflow-build-CVG4DSCw.mjs} +1 -1
- package/dist/{workflows-C_C13Zr0.mjs → workflows-eztTnue4.mjs} +12 -12
- package/package.json +5 -5
- package/dist/dist-DuJjDZIf.mjs +0 -1094
|
@@ -84,17 +84,11 @@ function printValidationStatus(validation) {
|
|
|
84
84
|
}
|
|
85
85
|
function printCredentialStorage(ctx) {
|
|
86
86
|
const info = ctx.credentialStorageInfo;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
ui.hint("Unlock your keychain or rerun `keystroke auth`.");
|
|
92
|
-
ui.hint(`Credential store error: ${ctx.credentialReadError}`);
|
|
93
|
-
}
|
|
94
|
-
return;
|
|
87
|
+
ui.hint(`Credentials: ${info.credentialsFilePath}`);
|
|
88
|
+
if (ctx.credentialReadError) {
|
|
89
|
+
ui.warn("Saved credentials exist, but the saved API key could not be read.");
|
|
90
|
+
ui.hint(`Credential read error: ${ctx.credentialReadError}`);
|
|
95
91
|
}
|
|
96
|
-
ui.warn("Credential storage: plaintext file (insecure)");
|
|
97
|
-
ui.hint(`Secrets: ${info.legacySecretsFilePath}`);
|
|
98
92
|
}
|
|
99
93
|
async function handleAuthStatus(_options, ctx) {
|
|
100
94
|
const validation = await getValidationStatus(ctx);
|
|
@@ -110,7 +104,6 @@ async function handleAuthStatus(_options, ctx) {
|
|
|
110
104
|
printValidationStatus(validation);
|
|
111
105
|
if (ctx.baseUrl) ui.hint(`API URL: ${ctx.baseUrl}`);
|
|
112
106
|
printCredentialStorage(ctx);
|
|
113
|
-
ui.hint(`Credentials: ${ctx.metadataFilePath}`);
|
|
114
107
|
}
|
|
115
108
|
//#endregion
|
|
116
109
|
export { handleAuthStatus };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit } from "./keystroke.mjs";
|
|
4
|
-
import { n as credentials } from "./dist-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { n as credentials } from "./dist-D_KgdxW5.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
6
|
import { select } from "@clack/prompts";
|
|
7
7
|
//#region src/commands/org/switch.handler.ts
|
|
8
8
|
async function handleOrgSwitch(_options, ctx) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-BTMzBiLq.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/sync/sync.command.ts
|
|
6
6
|
/**
|
|
@@ -32,7 +32,7 @@ function createSyncCommand() {
|
|
|
32
32
|
description: "Sync local workflows with Keystroke",
|
|
33
33
|
schema: SyncOptionsSchema,
|
|
34
34
|
optionsConfig: SYNC_OPTIONS_CONFIG,
|
|
35
|
-
loadHandler: async () => (await import("./sync.handler-
|
|
35
|
+
loadHandler: async () => (await import("./sync.handler-xVxeG-S0.mjs")).handleSync
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as logger, a as ui, j as throwReportedCliExit, l as isLocalMode, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { a as validateApiKey, i as requireClient } from "./context-
|
|
4
|
+
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
|
+
import { a as validateApiKey, i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
6
|
import { n as deployFromDir } from "./dist-Br4m3sFZ.mjs";
|
|
7
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
7
|
+
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-CVG4DSCw.mjs";
|
|
9
9
|
import { t as createBuildProgress } from "./build-progress-nYa14iBP.mjs";
|
|
10
10
|
import { t as createDeployProgress } from "./deploy-progress-Dlp9aBDW.mjs";
|
|
11
11
|
//#region src/commands/sync/sync.handler.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { r as getKeystrokeProjectPath } from "./paths-JzzFkXQA-CEipIeVl.mjs";
|
|
4
|
-
import "./dist-
|
|
4
|
+
import "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-aLuQvlIq.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { mkdir, writeFile } from "node:fs/promises";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { r as getKeystrokeProjectPath } from "./paths-JzzFkXQA-CEipIeVl.mjs";
|
|
4
4
|
import "./default-urls-BoSm4s9C.mjs";
|
|
5
|
-
import "./dist-
|
|
5
|
+
import "./dist-D_KgdxW5.mjs";
|
|
6
6
|
import { n as findProjectRoot, t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
7
|
-
import { t as resolveCliCredentials } from "./resolve-cli-credentials-
|
|
7
|
+
import { t as resolveCliCredentials } from "./resolve-cli-credentials-B4crOe_y.mjs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
10
10
|
import { spawnSync } from "node:child_process";
|
|
@@ -119,7 +119,7 @@ function restartStage(options, projectRoot, stage) {
|
|
|
119
119
|
}
|
|
120
120
|
async function runBuildPhase(options, projectRoot) {
|
|
121
121
|
const projectConfig = await assertWorkflowProjectRoot(projectRoot);
|
|
122
|
-
const { buildTaskTargetEntries } = await import("./task-target-build-
|
|
122
|
+
const { buildTaskTargetEntries } = await import("./task-target-build-CrPLSXnu.mjs");
|
|
123
123
|
await writeBuildDescriptor(projectRoot, {
|
|
124
124
|
projectRoot,
|
|
125
125
|
projectConfig,
|
|
@@ -132,7 +132,7 @@ async function runBuildPhase(options, projectRoot) {
|
|
|
132
132
|
}
|
|
133
133
|
async function runPreparePhase(projectRoot) {
|
|
134
134
|
const buildDescriptor = await readBuildDescriptor(projectRoot);
|
|
135
|
-
const { prepareTaskTargetBuiltTasks } = await import("./task-target-build-
|
|
135
|
+
const { prepareTaskTargetBuiltTasks } = await import("./task-target-build-CrPLSXnu.mjs");
|
|
136
136
|
const prepareResult = await prepareTaskTargetBuiltTasks({
|
|
137
137
|
builtTasks: buildDescriptor.builtTasks,
|
|
138
138
|
projectRoot
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { t as createTypedCommand } from "./commander-
|
|
5
|
+
import { t as createTypedCommand } from "./commander-BTMzBiLq.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/test/test.command.ts
|
|
8
8
|
const TestOptionsSchema = JsonOptionSchema;
|
|
@@ -63,7 +63,7 @@ function createTestCommand() {
|
|
|
63
63
|
description: "Agent tool name from the built manifest",
|
|
64
64
|
key: "toolName"
|
|
65
65
|
},
|
|
66
|
-
loadHandler: async () => (await import("./tool.handler-
|
|
66
|
+
loadHandler: async () => (await import("./tool.handler-CmpzYYiC.mjs")).handleTestTool
|
|
67
67
|
})]
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { D as CliExitError, a as ui, l as isLocalMode, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
4
|
+
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
7
7
|
import { o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-Br4m3sFZ.mjs";
|
|
8
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
9
|
-
import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
|
+
import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-CVG4DSCw.mjs";
|
|
10
10
|
import { r as isUnknownSchema } from "./schema-display-XrRCdFL0.mjs";
|
|
11
11
|
import { t as createBuildProgress } from "./build-progress-nYa14iBP.mjs";
|
|
12
12
|
import { t as withErrorBoundary } from "./error-boundary-DVZipk-A.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
|
-
import { a as validateApiKey, i as requireClient } from "./context-
|
|
4
|
+
import { a as validateApiKey, i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
5
5
|
//#region src/commands/auth/test.handler.ts
|
|
6
6
|
async function handleAuthTest(_options, ctx) {
|
|
7
7
|
const result = await validateApiKey(requireClient(ctx));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { D as CliExitError, a as ui, c as getProcessEnv, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
-
import { t as Credentials } from "./dist-
|
|
4
|
+
import { t as Credentials } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
6
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
7
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
8
8
|
import { a as readManifestsFromOutDir } from "./dist-Br4m3sFZ.mjs";
|
|
9
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
10
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
11
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
9
|
+
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-CVG4DSCw.mjs";
|
|
11
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CnzlDCBv.mjs";
|
|
12
12
|
import { n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-3XOGl4hh.mjs";
|
|
13
13
|
import * as os from "node:os";
|
|
14
14
|
import { tmpdir } from "node:os";
|
|
@@ -414,7 +414,7 @@ async function executeOperationTool(params) {
|
|
|
414
414
|
mode: "auto",
|
|
415
415
|
apiKey: ctx.apiKey,
|
|
416
416
|
baseUrl: ctx.baseUrl,
|
|
417
|
-
credentialsPath: ctx.
|
|
417
|
+
credentialsPath: ctx.credentialsFilePath
|
|
418
418
|
},
|
|
419
419
|
source: "cli",
|
|
420
420
|
sourceLabel: "CLI"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-BTMzBiLq.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/upgrade/upgrade.command.ts
|
|
6
6
|
const PackageManagerSchema = z.enum([
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { a as ui, c as getProcessEnv, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
5
|
import { a as writeJsonError, i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
6
|
+
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
7
7
|
import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-Br4m3sFZ.mjs";
|
|
8
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
9
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
10
|
-
import { t as readCredentialEnvMap } from "./credential-env-map-
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-Cub_7xCw.mjs";
|
|
10
|
+
import { t as readCredentialEnvMap } from "./credential-env-map-CtmzNkwU.mjs";
|
|
11
11
|
import { a as verifyCredentialResolvable, i as validateManualCredentialWithHook, n as resolveCredentialValuesFromEnv, r as uploadCredential, t as groupCredentialRequirements } from "./credentials-DQW8xxof.mjs";
|
|
12
12
|
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-kfGeiSB1.mjs";
|
|
13
13
|
import * as path$1 from "node:path";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
6
|
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/admin/users.get.handler.ts
|
|
8
8
|
async function handleAdminUsersGet(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
6
|
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/admin/users.list.handler.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
6
|
import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/admin/users.set-role.handler.ts
|
|
8
8
|
async function handleAdminUsersSetRole(options, ctx) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
4
|
+
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { s as build, t as WorkflowNotFoundError } from "./workflow-build-
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
7
|
+
import { s as build, t as WorkflowNotFoundError } from "./workflow-build-CVG4DSCw.mjs";
|
|
8
8
|
import { t as createBuildProgress } from "./build-progress-nYa14iBP.mjs";
|
|
9
9
|
import * as os from "node:os";
|
|
10
10
|
import * as path$1 from "node:path";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { i as __toESM, n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
4
|
import { F as originalConsole, P as logger, a as ui, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
|
|
5
|
-
import { r as getKeystrokeTmpDir } from "./dist-
|
|
5
|
+
import { r as getKeystrokeTmpDir } from "./dist-D_KgdxW5.mjs";
|
|
6
6
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
7
7
|
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-1sC52TIG.mjs";
|
|
8
8
|
import { t as AgentVersionManifestSchema } from "./agent-manifest-Pg0aURo7.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-BTMzBiLq.mjs";
|
|
5
5
|
import { n as SHA256HashSchema, t as JsonSchemaSchema } from "./common-AK0q0Oz0.mjs";
|
|
6
6
|
import { u as TriggerUploadDataSchema } from "./credential-requirements-D0mavK8j-CFMf0Xwu.mjs";
|
|
7
7
|
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-1sC52TIG.mjs";
|
|
@@ -320,7 +320,7 @@ function createWorkflowsBuildCommand() {
|
|
|
320
320
|
description: "Build workflows locally",
|
|
321
321
|
schema: WorkflowsBuildOptionsSchema,
|
|
322
322
|
optionsConfig: BUILD_OPTIONS_CONFIG,
|
|
323
|
-
loadHandler: async () => (await import("./build.handler-
|
|
323
|
+
loadHandler: async () => (await import("./build.handler-ChqSwsT_.mjs")).handleWorkflowsBuild
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
326
|
//#endregion
|
|
@@ -347,7 +347,7 @@ function createWorkflowsDiffCommand() {
|
|
|
347
347
|
description: "Authored workflow id (preferred) or workflow name",
|
|
348
348
|
key: "workflow"
|
|
349
349
|
},
|
|
350
|
-
loadHandler: async () => (await import("./diff.handler-
|
|
350
|
+
loadHandler: async () => (await import("./diff.handler-C3EWVBOj.mjs")).handleWorkflowsDiff
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
353
|
//#endregion
|
|
@@ -380,7 +380,7 @@ function createWorkflowsEnvCommand() {
|
|
|
380
380
|
key: "workflow",
|
|
381
381
|
required: false
|
|
382
382
|
},
|
|
383
|
-
loadHandler: async () => (await import("./env.handler-
|
|
383
|
+
loadHandler: async () => (await import("./env.handler-BuFdzUoX.mjs")).handleWorkflowsEnv
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
//#endregion
|
|
@@ -412,7 +412,7 @@ function createWorkflowsInspectCommand() {
|
|
|
412
412
|
description: "Authored workflow id (preferred) or workflow name",
|
|
413
413
|
key: "workflow"
|
|
414
414
|
},
|
|
415
|
-
loadHandler: async () => (await import("./inspect.handler-
|
|
415
|
+
loadHandler: async () => (await import("./inspect.handler-BN6p2hI_.mjs")).handleWorkflowsInspect
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
//#endregion
|
|
@@ -508,7 +508,7 @@ function createWorkflowsLogsCommand() {
|
|
|
508
508
|
key: "workflow",
|
|
509
509
|
required: false
|
|
510
510
|
},
|
|
511
|
-
loadHandler: async () => (await import("./logs.handler-
|
|
511
|
+
loadHandler: async () => (await import("./logs.handler-D0sNlOz4.mjs")).handleWorkflowsLogs
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
//#endregion
|
|
@@ -698,7 +698,7 @@ function createWorkflowsPausedCommand() {
|
|
|
698
698
|
key: "workflow",
|
|
699
699
|
required: false
|
|
700
700
|
},
|
|
701
|
-
loadHandler: async () => (await import("./paused.handler-
|
|
701
|
+
loadHandler: async () => (await import("./paused.handler-CzQkBKS6.mjs")).handleWorkflowsPaused
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
704
|
//#endregion
|
|
@@ -792,7 +792,7 @@ function createWorkflowsRunCommand() {
|
|
|
792
792
|
key: "payload",
|
|
793
793
|
required: false
|
|
794
794
|
}],
|
|
795
|
-
loadHandler: async () => (await import("./run.handler-
|
|
795
|
+
loadHandler: async () => (await import("./run.handler-xeUVmlFk.mjs")).handleWorkflowsRun
|
|
796
796
|
});
|
|
797
797
|
}
|
|
798
798
|
//#endregion
|
|
@@ -847,7 +847,7 @@ function createWorkflowsTestCommand() {
|
|
|
847
847
|
description: "Authored workflow id (preferred) or workflow name. Multiple workflows with the same name run sequentially.",
|
|
848
848
|
key: "workflow"
|
|
849
849
|
},
|
|
850
|
-
loadHandler: async () => (await import("./test.handler-
|
|
850
|
+
loadHandler: async () => (await import("./test.handler-B_C-T_IM.mjs")).handleWorkflowsTest
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
853
|
//#endregion
|
|
@@ -885,7 +885,7 @@ function createWorkflowsValidateCommand() {
|
|
|
885
885
|
key: "workflow",
|
|
886
886
|
required: false
|
|
887
887
|
},
|
|
888
|
-
loadHandler: async () => (await import("./validate.handler-
|
|
888
|
+
loadHandler: async () => (await import("./validate.handler-CWG5HyO3.mjs")).handleWorkflowsValidate
|
|
889
889
|
});
|
|
890
890
|
}
|
|
891
891
|
//#endregion
|
|
@@ -904,14 +904,14 @@ function createWorkflowsCommand() {
|
|
|
904
904
|
description: "Manage, run, inspect, and debug workflows",
|
|
905
905
|
schema: WorkflowsOptionsSchema,
|
|
906
906
|
optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
|
|
907
|
-
loadHandler: async () => (await import("./list.handler-
|
|
907
|
+
loadHandler: async () => (await import("./list.handler-fcyAKTQe.mjs")).handleWorkflowsList,
|
|
908
908
|
subcommands: [
|
|
909
909
|
createTypedCommand({
|
|
910
910
|
name: "list",
|
|
911
911
|
description: "List all workflows in the project",
|
|
912
912
|
schema: WorkflowsOptionsSchema,
|
|
913
913
|
optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
|
|
914
|
-
loadHandler: async () => (await import("./list.handler-
|
|
914
|
+
loadHandler: async () => (await import("./list.handler-fcyAKTQe.mjs")).handleWorkflowsList
|
|
915
915
|
}),
|
|
916
916
|
createWorkflowsBuildCommand(),
|
|
917
917
|
createWorkflowsTestCommand(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Command-line interface for creating, managing, and deploying Keystroke automations.",
|
|
6
6
|
"type": "module",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"tsdown": "0.21.10",
|
|
40
40
|
"typescript": "^5.9.3",
|
|
41
41
|
"vitest": "^4.1.5",
|
|
42
|
-
"@keystroke/env-utils": "0.0.0",
|
|
43
42
|
"@keystroke/local-memory": "0.0.1",
|
|
43
|
+
"@keystroke/env-utils": "0.0.0",
|
|
44
44
|
"@keystrokehq/config": "0.0.2",
|
|
45
45
|
"@keystroke/shared-types": "0.0.5",
|
|
46
46
|
"@keystroke/typescript-config": "0.0.0",
|
|
47
47
|
"@keystroke/utils": "0.0.0",
|
|
48
|
-
"@keystroke/test-utils": "0.0.3",
|
|
49
48
|
"@keystroke/workflow-builder": "0.0.7",
|
|
50
|
-
"@keystrokehq/core": "0.0.7",
|
|
51
49
|
"@keystrokehq/workflow-build-contracts": "0.0.3",
|
|
52
50
|
"@keystrokehq/testing": "0.2.2",
|
|
53
51
|
"@keystroke/workflow-deploy": "0.0.6",
|
|
54
|
-
"@keystroke/workflow-sdk": "0.0.4"
|
|
52
|
+
"@keystroke/workflow-sdk": "0.0.4",
|
|
53
|
+
"@keystrokehq/core": "0.0.7",
|
|
54
|
+
"@keystroke/test-utils": "0.0.3"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"automation",
|