@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/invites/accept.handler.ts
|
|
8
8
|
async function handleInvitesAccept(options, ctx) {
|
|
9
9
|
const client = requireClient(ctx);
|
|
@@ -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 { t as OrgRoleSchema } from "./schema-_FQrHcIS.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/admin/orgs.command.ts
|
|
@@ -28,21 +28,21 @@ function createAdminOrgsCommand() {
|
|
|
28
28
|
description: "Manage organizations as a platform admin",
|
|
29
29
|
schema: AdminOrgsListOptionsSchema,
|
|
30
30
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
31
|
-
loadHandler: async () => (await import("./orgs.list.handler-
|
|
31
|
+
loadHandler: async () => (await import("./orgs.list.handler-fuDLNI5X.mjs")).handleAdminOrgsList,
|
|
32
32
|
subcommands: [
|
|
33
33
|
createTypedCommand({
|
|
34
34
|
name: "create",
|
|
35
35
|
description: "Create an organization (requires system.create_org)",
|
|
36
36
|
schema: AdminOrgsCreateOptionsSchema,
|
|
37
37
|
optionsConfig: CREATE_OPTIONS_CONFIG,
|
|
38
|
-
loadHandler: async () => (await import("./orgs.create.handler-
|
|
38
|
+
loadHandler: async () => (await import("./orgs.create.handler-DRILhxdn.mjs")).handleAdminOrgsCreate
|
|
39
39
|
}),
|
|
40
40
|
createTypedCommand({
|
|
41
41
|
name: "list",
|
|
42
42
|
description: "List organizations (requires system.view_orgs)",
|
|
43
43
|
schema: AdminOrgsListOptionsSchema,
|
|
44
44
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
45
|
-
loadHandler: async () => (await import("./orgs.list.handler-
|
|
45
|
+
loadHandler: async () => (await import("./orgs.list.handler-fuDLNI5X.mjs")).handleAdminOrgsList
|
|
46
46
|
}),
|
|
47
47
|
createTypedCommand({
|
|
48
48
|
name: "get",
|
|
@@ -54,7 +54,7 @@ function createAdminOrgsCommand() {
|
|
|
54
54
|
description: "Organization ID",
|
|
55
55
|
key: "orgId"
|
|
56
56
|
},
|
|
57
|
-
loadHandler: async () => (await import("./orgs.get.handler-
|
|
57
|
+
loadHandler: async () => (await import("./orgs.get.handler-Cue6stoX.mjs")).handleAdminOrgsGet
|
|
58
58
|
})
|
|
59
59
|
]
|
|
60
60
|
});
|
|
@@ -157,14 +157,14 @@ function createAdminUsersCommand() {
|
|
|
157
157
|
description: "Manage platform users",
|
|
158
158
|
schema: AdminUsersListOptionsSchema,
|
|
159
159
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
160
|
-
loadHandler: async () => (await import("./users.list.handler-
|
|
160
|
+
loadHandler: async () => (await import("./users.list.handler-CpOWwzBb.mjs")).handleAdminUsersList,
|
|
161
161
|
subcommands: [
|
|
162
162
|
createTypedCommand({
|
|
163
163
|
name: "list",
|
|
164
164
|
description: "List platform users",
|
|
165
165
|
schema: AdminUsersListOptionsSchema,
|
|
166
166
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
167
|
-
loadHandler: async () => (await import("./users.list.handler-
|
|
167
|
+
loadHandler: async () => (await import("./users.list.handler-CpOWwzBb.mjs")).handleAdminUsersList
|
|
168
168
|
}),
|
|
169
169
|
createTypedCommand({
|
|
170
170
|
name: "get",
|
|
@@ -176,7 +176,7 @@ function createAdminUsersCommand() {
|
|
|
176
176
|
description: "User ID",
|
|
177
177
|
key: "userId"
|
|
178
178
|
},
|
|
179
|
-
loadHandler: async () => (await import("./users.get.handler-
|
|
179
|
+
loadHandler: async () => (await import("./users.get.handler-CzaYM2bi.mjs")).handleAdminUsersGet
|
|
180
180
|
}),
|
|
181
181
|
createTypedCommand({
|
|
182
182
|
name: "set-role",
|
|
@@ -188,7 +188,7 @@ function createAdminUsersCommand() {
|
|
|
188
188
|
description: "User ID",
|
|
189
189
|
key: "userId"
|
|
190
190
|
},
|
|
191
|
-
loadHandler: async () => (await import("./users.set-role.handler-
|
|
191
|
+
loadHandler: async () => (await import("./users.set-role.handler-BjiSNP2d.mjs")).handleAdminUsersSetRole
|
|
192
192
|
})
|
|
193
193
|
]
|
|
194
194
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { N as throwReportedCliExit, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
6
|
-
import { t as createTypedCommand } from "./commander-
|
|
5
|
+
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
|
|
6
|
+
import { t as createTypedCommand } from "./commander-DcftG6dX.mjs";
|
|
7
7
|
import { i as readAgentManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
8
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
9
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
10
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-C6UAOfAG.mjs";
|
|
9
|
+
import { t as createSpinnerProgress } from "./spinner-progress-Bt8zXPOc.mjs";
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Z2_jkOsZ.mjs";
|
|
11
11
|
import { i as resolveTypeHint } from "./schema-display-DuWBmkwk.mjs";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
//#region src/commands/agents/inspect-display.ts
|
|
@@ -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 { z } from "zod";
|
|
6
6
|
//#region src/commands/api-keys/api-keys.command.ts
|
|
7
7
|
const ApiKeysCreateOptionsSchema = JsonOptionSchema.extend({ name: z.string().optional() });
|
|
@@ -23,21 +23,21 @@ function createApiKeysCommand() {
|
|
|
23
23
|
description: "Manage API keys for your organization",
|
|
24
24
|
schema: JsonOptionSchema,
|
|
25
25
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
26
|
-
loadHandler: async () => (await import("./list.handler-
|
|
26
|
+
loadHandler: async () => (await import("./list.handler-CsODcH6e.mjs")).handleApiKeysList,
|
|
27
27
|
subcommands: [
|
|
28
28
|
createTypedCommand({
|
|
29
29
|
name: "list",
|
|
30
30
|
description: "List all API keys for your organization",
|
|
31
31
|
schema: JsonOptionSchema,
|
|
32
32
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
33
|
-
loadHandler: async () => (await import("./list.handler-
|
|
33
|
+
loadHandler: async () => (await import("./list.handler-CsODcH6e.mjs")).handleApiKeysList
|
|
34
34
|
}),
|
|
35
35
|
createTypedCommand({
|
|
36
36
|
name: "create",
|
|
37
37
|
description: "Create a new API key (raw key shown once)",
|
|
38
38
|
schema: ApiKeysCreateOptionsSchema,
|
|
39
39
|
optionsConfig: CREATE_OPTIONS_CONFIG,
|
|
40
|
-
loadHandler: async () => (await import("./create.handler-
|
|
40
|
+
loadHandler: async () => (await import("./create.handler-C2CkPWsy.mjs")).handleApiKeysCreate
|
|
41
41
|
}),
|
|
42
42
|
createTypedCommand({
|
|
43
43
|
name: "delete",
|
|
@@ -49,7 +49,7 @@ function createApiKeysCommand() {
|
|
|
49
49
|
description: "API key ID to delete",
|
|
50
50
|
key: "apiKeyId"
|
|
51
51
|
},
|
|
52
|
-
loadHandler: async () => (await import("./delete.handler-
|
|
52
|
+
loadHandler: async () => (await import("./delete.handler-DDY3X1Zm.mjs")).handleApiKeysDelete
|
|
53
53
|
})
|
|
54
54
|
]
|
|
55
55
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as DEFAULT_CLI_WEB_URL } from "./default-urls-BS4twrsS.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { S as AUTH_TIMEOUT_SECONDS } from "./keystroke.mjs";
|
|
5
|
+
import { t as createTypedCommand } from "./commander-DcftG6dX.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/auth/auth.command.ts
|
|
8
8
|
const AuthOptionsSchema = z.object({
|
|
@@ -25,28 +25,28 @@ function createAuthCommand() {
|
|
|
25
25
|
description: "Authenticate Keystroke CLI via device flow",
|
|
26
26
|
schema: AuthOptionsSchema,
|
|
27
27
|
optionsConfig: AUTH_OPTIONS_CONFIG,
|
|
28
|
-
loadHandler: async () => (await import("./auth.handler-
|
|
28
|
+
loadHandler: async () => (await import("./auth.handler-BsoWeCFD.mjs")).handleAuth,
|
|
29
29
|
subcommands: [
|
|
30
30
|
createTypedCommand({
|
|
31
31
|
name: "clear",
|
|
32
32
|
description: "Revoke the saved API key and remove local credentials",
|
|
33
33
|
schema: z.object({}),
|
|
34
34
|
optionsConfig: {},
|
|
35
|
-
loadHandler: async () => (await import("./clear.handler-
|
|
35
|
+
loadHandler: async () => (await import("./clear.handler-BR97yudD.mjs")).handleAuthClear
|
|
36
36
|
}),
|
|
37
37
|
createTypedCommand({
|
|
38
38
|
name: "test",
|
|
39
39
|
description: "Verify that the saved API key is valid",
|
|
40
40
|
schema: z.object({}),
|
|
41
41
|
optionsConfig: {},
|
|
42
|
-
loadHandler: async () => (await import("./test.handler-
|
|
42
|
+
loadHandler: async () => (await import("./test.handler-B5GF5txS.mjs")).handleAuthTest
|
|
43
43
|
}),
|
|
44
44
|
createTypedCommand({
|
|
45
45
|
name: "status",
|
|
46
46
|
description: "Show the current signed-in identity and organization context",
|
|
47
47
|
schema: z.object({}),
|
|
48
48
|
optionsConfig: {},
|
|
49
|
-
loadHandler: async () => (await import("./status.handler-
|
|
49
|
+
loadHandler: async () => (await import("./status.handler-6cuHa0R0.mjs")).handleAuthStatus
|
|
50
50
|
})
|
|
51
51
|
]
|
|
52
52
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-BS4twrsS.mjs";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as AUTH_URL_PATH, D as CLI_AUTH_COMMAND, E as CALLBACK_PATH, T as CALLBACK_LOOPBACK_ORIGIN, c as resolveCliWebUrl, k as CliExitError, n as ui, s as resolveCliServerUrl, u as logger, w as CALLBACK_LOOPBACK_HOST, x as toErrorMessage } from "./keystroke.mjs";
|
|
5
5
|
import { f as upsertOrgCredentials, i as getCredentialsFilePath } from "./dist-BF6r1hfv.mjs";
|
|
6
6
|
import { t as openBrowser } from "./browser-CvuyMLhI.mjs";
|
|
7
7
|
import { hostname } from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { n as formatProgressDuration, t as createSpinnerProgress } from "./spinner-progress-
|
|
3
|
+
import { u as logger } from "./keystroke.mjs";
|
|
4
|
+
import { n as formatProgressDuration, t as createSpinnerProgress } from "./spinner-progress-Bt8zXPOc.mjs";
|
|
5
5
|
//#region src/lib/build-progress.ts
|
|
6
6
|
const NEW_STAGE_LABELS = {
|
|
7
7
|
start: "Starting build",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { k as CliExitError } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
6
|
-
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
7
|
-
import { t as createBuildProgress } from "./build-progress-
|
|
8
|
-
import { t as withErrorBoundary } from "./error-boundary-
|
|
5
|
+
import { t as requireWorkflowsDir } from "./resolve-project-C6UAOfAG.mjs";
|
|
6
|
+
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Z2_jkOsZ.mjs";
|
|
7
|
+
import { t as createBuildProgress } from "./build-progress-DigAP-BN.mjs";
|
|
8
|
+
import { t as withErrorBoundary } from "./error-boundary-CpaVvFXk.mjs";
|
|
9
9
|
//#region src/commands/workflows/build.handler.ts
|
|
10
10
|
async function handleWorkflowsBuild(options, _ctx) {
|
|
11
11
|
return withErrorBoundary("Build", async () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { n as clearStoredProjects } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
//#region src/commands/projects/clear-cache.handler.ts
|
|
6
6
|
async function handleProjectsClearCache(_options, _ctx) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { h as AUTH_HINT, n as ui, u as logger, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { c as removeOrgCredentials, r as deleteStoredCredentials } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { createClient } from "./src--fCtOxNX.mjs";
|
|
6
6
|
//#region src/commands/auth/clear.handler.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as writeJsonError, r as isJsonMode } from "./output-
|
|
3
|
+
import { A as InputValidationError, h as AUTH_HINT, k as CliExitError, l as captureCliTelemetryResolvedContext, n as ui, r as createHiddenGlobalOptions, u as logger, x as toErrorMessage, y as isAuthError } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError, r as isJsonMode } from "./output-CGdYhH0p.mjs";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
//#region src/lib/commander.ts
|
|
7
7
|
/**
|
|
@@ -78,7 +78,7 @@ function createTypedCommand(params) {
|
|
|
78
78
|
const globalOpts = cmd.optsWithGlobals();
|
|
79
79
|
if (globalOpts.debug) logger.setDebug(true);
|
|
80
80
|
const contextMode = params.contextMode ?? "full";
|
|
81
|
-
const contextModule = await import("./context-
|
|
81
|
+
const contextModule = await import("./context-1VgRbzr-.mjs").then((n) => n.n);
|
|
82
82
|
const base = contextMode === "auth" ? await contextModule.resolveAuthContext({
|
|
83
83
|
apiKey: globalOpts.apiKey,
|
|
84
84
|
serverUrl: globalOpts.serverUrl,
|
|
@@ -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 { z } from "zod";
|
|
6
6
|
//#region src/commands/connect/connect.command.ts
|
|
7
7
|
const ConnectOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -31,7 +31,7 @@ function createConnectCommand() {
|
|
|
31
31
|
description: "Connect an official integration via OAuth (e.g., keystroke connect slack)",
|
|
32
32
|
schema: ConnectOptionsSchema,
|
|
33
33
|
optionsConfig: CONNECT_OPTIONS_CONFIG,
|
|
34
|
-
loadHandler: async () => (await import("./connect.handler-
|
|
34
|
+
loadHandler: async () => (await import("./connect.handler-CWSLgf87.mjs")).handleConnect,
|
|
35
35
|
argument: {
|
|
36
36
|
name: "integrationId",
|
|
37
37
|
description: "Integration to connect (e.g., slack, linear)",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
3
|
+
import { N as throwReportedCliExit, b as isNetworkError, h as AUTH_HINT, n as ui, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
5
|
import { n as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-BgGlAs8a.mjs";
|
|
6
6
|
import { t as openBrowser } from "./browser-CvuyMLhI.mjs";
|
|
7
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
7
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-DtNWaMvh.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
//#region ../../packages/shared-types/src/connections/api.ts
|
|
10
10
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { O as AuthenticationError, g as REAUTH_HINT, h as AUTH_HINT, i as getEnv, k as CliExitError, n as ui, u as logger, x as toErrorMessage, y as isAuthError } from "./keystroke.mjs";
|
|
5
5
|
import { l as resolveAuthOptions } from "./dist-BF6r1hfv.mjs";
|
|
6
|
-
import { a as writeJsonError } from "./output-
|
|
6
|
+
import { a as writeJsonError } from "./output-CGdYhH0p.mjs";
|
|
7
7
|
//#region src/lib/context.ts
|
|
8
8
|
var context_exports = /* @__PURE__ */ __exportAll({
|
|
9
9
|
assertProjectConfigMatchesAuthenticatedOrg: () => assertProjectConfigMatchesAuthenticatedOrg,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { N as throwReportedCliExit, n as ui, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
6
6
|
//#region src/commands/api-keys/create.handler.ts
|
|
7
7
|
async function handleApiKeysCreate(options, ctx) {
|
|
8
8
|
const client = requireClient(ctx);
|
package/dist/{credential-schema-mismatch-C-4kBAFw.mjs → credential-schema-mismatch-DM9Y91jL.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { i as writeJson } from "./output-
|
|
3
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
4
4
|
//#region src/lib/credential-schema-mismatch.ts
|
|
5
5
|
/**
|
|
6
6
|
* Structured detection and rendering for `CredentialSchemaMismatchError`
|
|
@@ -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 { n as CredentialScopeSchema, r as CredentialScopeValues } from "./schema-BgGlAs8a.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/credentials/list/list.command.ts
|
|
@@ -46,7 +46,7 @@ function createCredentialsListCommand() {
|
|
|
46
46
|
description: "List credential sets on the server",
|
|
47
47
|
schema: ListOptionsSchema,
|
|
48
48
|
optionsConfig: LIST_OPTIONS_CONFIG,
|
|
49
|
-
loadHandler: async () => (await import("./list.handler-
|
|
49
|
+
loadHandler: async () => (await import("./list.handler-B6IByHHB.mjs")).handleCredentialsList
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
@@ -65,7 +65,7 @@ function createCredentialsRequirementsCommand() {
|
|
|
65
65
|
description: "Show what credentials built workflows need (keys, KEYSTROKE_* env names, workflows) — from dist manifests, no API call",
|
|
66
66
|
schema: RequirementsOptionsSchema,
|
|
67
67
|
optionsConfig: REQUIREMENTS_OPTIONS_CONFIG,
|
|
68
|
-
loadHandler: async () => (await import("./requirements.handler-
|
|
68
|
+
loadHandler: async () => (await import("./requirements.handler-CX13XiXT.mjs")).handleCredentialsRequirements
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
@@ -121,7 +121,7 @@ function createCredentialsUploadCommand() {
|
|
|
121
121
|
description: "Upload credentials from env vars to the server. Default: reads requirements from built workflow manifests. Use --integration for an official integration or --credential-set + --keys for a custom explicit upload.",
|
|
122
122
|
schema: UploadOptionsSchema,
|
|
123
123
|
optionsConfig: UPLOAD_OPTIONS_CONFIG,
|
|
124
|
-
loadHandler: async () => (await import("./upload.handler-
|
|
124
|
+
loadHandler: async () => (await import("./upload.handler-BFDM6n_6.mjs")).handleCredentialsUpload
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
//#endregion
|
|
@@ -152,7 +152,7 @@ function createCredentialsCommand() {
|
|
|
152
152
|
}
|
|
153
153
|
},
|
|
154
154
|
handler: async (opts, ctx) => {
|
|
155
|
-
const { handleCredentialsList } = await import("./list.handler-
|
|
155
|
+
const { handleCredentialsList } = await import("./list.handler-B6IByHHB.mjs");
|
|
156
156
|
await handleCredentialsList({
|
|
157
157
|
...opts,
|
|
158
158
|
scope: void 0,
|
package/dist/{current-deployment-workflow-j5DlVkb2.mjs → current-deployment-workflow-B05z0EQa.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { M as WorkflowResolutionError, _ as getApiErrorCode, n as ui, v as getHttpStatus } from "./keystroke.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
5
5
|
import { a as readManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
6
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-C6UAOfAG.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-Bt8zXPOc.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Z2_jkOsZ.mjs";
|
|
9
9
|
//#region src/commands/workflows/_shared/current-deployment-workflow.ts
|
|
10
10
|
/**
|
|
11
11
|
* Lightweight resolution: gets projectId from keystroke.config.ts and authoredWorkflowId
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { n as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
5
5
|
//#region src/commands/org/current.handler.ts
|
|
6
6
|
async function handleOrgCurrent(_options, ctx) {
|
|
7
7
|
if (!ctx.organizationId) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { N as throwReportedCliExit, n as ui, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
5
5
|
//#region src/commands/api-keys/delete.handler.ts
|
|
6
6
|
async function handleApiKeysDelete(options, ctx) {
|
|
7
7
|
const client = requireClient(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-DcftG6dX.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/deploy/deploy.command.ts
|
|
6
6
|
/**
|
|
@@ -64,7 +64,7 @@ function createDeployCommand() {
|
|
|
64
64
|
schema: DeployOptionsSchema,
|
|
65
65
|
optionsConfig: DEPLOY_OPTIONS_CONFIG,
|
|
66
66
|
contextMode: "auth",
|
|
67
|
-
loadHandler: async () => (await import("./deploy.handler-
|
|
67
|
+
loadHandler: async () => (await import("./deploy.handler-D1DcAe-h.mjs")).handleDeploy
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
70
70
|
cmd.passThroughOptions();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
3
|
+
import { n as ui } from "./keystroke.mjs";
|
|
4
|
+
import { t as createSpinnerProgress } from "./spinner-progress-Bt8zXPOc.mjs";
|
|
5
5
|
//#region src/lib/deploy-progress.ts
|
|
6
6
|
function renderItemFailure(event, kind, spinner) {
|
|
7
7
|
if (event.result === "failure") spinner.fail(`${kind} failed (${event.name})`, void 0, event.error);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { f as ANSI, k as CliExitError, n as ui, o as isLocalMode, p as style, u as logger } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
6
|
-
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
6
|
+
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-1VgRbzr-.mjs";
|
|
7
7
|
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-DvO0q6Fo.mjs";
|
|
8
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
9
|
-
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
10
|
-
import { t as createBuildProgress } from "./build-progress-
|
|
11
|
-
import { t as createDeployProgress } from "./deploy-progress-
|
|
12
|
-
import { t as withErrorBoundary } from "./error-boundary-
|
|
13
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
14
|
-
import { t as computeWorkflowDiff } from "./diff-utils-
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-C6UAOfAG.mjs";
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Z2_jkOsZ.mjs";
|
|
10
|
+
import { t as createBuildProgress } from "./build-progress-DigAP-BN.mjs";
|
|
11
|
+
import { t as createDeployProgress } from "./deploy-progress-XAfautnA.mjs";
|
|
12
|
+
import { t as withErrorBoundary } from "./error-boundary-CpaVvFXk.mjs";
|
|
13
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-B05z0EQa.mjs";
|
|
14
|
+
import { t as computeWorkflowDiff } from "./diff-utils-AATn2n56.mjs";
|
|
15
15
|
import { access } from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
//#region src/commands/deploy/deploy-diff.ts
|
|
@@ -198,7 +198,7 @@ async function handleDeploy(options, ctx) {
|
|
|
198
198
|
let outDir;
|
|
199
199
|
let artifactFilter;
|
|
200
200
|
try {
|
|
201
|
-
const { runWorkflowBuild } = await import("./workflow-build-
|
|
201
|
+
const { runWorkflowBuild } = await import("./workflow-build-Z2_jkOsZ.mjs").then((n) => n.o);
|
|
202
202
|
const buildOutcome = await runWorkflowBuild({
|
|
203
203
|
workflowsDir,
|
|
204
204
|
verbose: options.verbose,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { f as ANSI, n as ui, p as style } from "./keystroke.mjs";
|
|
4
4
|
//#region src/commands/workflows/diff/diff-utils.ts
|
|
5
5
|
function computeWorkflowDiff(local, deployed, meta) {
|
|
6
6
|
if (!deployed) return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { N as throwReportedCliExit, k as CliExitError, 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 { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
8
|
-
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-
|
|
5
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-1VgRbzr-.mjs";
|
|
7
|
+
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-B05z0EQa.mjs";
|
|
8
|
+
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-AATn2n56.mjs";
|
|
9
9
|
//#region src/commands/workflows/diff/diff.handler.ts
|
|
10
10
|
async function handleWorkflowsDiff(options, ctx) {
|
|
11
11
|
const resolved = await resolveLocalWorkflowManifest(options.workflow, options.path, { jsonMode: ctx.jsonMode });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { N as throwReportedCliExit, b as isNetworkError, f as ANSI, g as REAUTH_HINT, k as CliExitError, n as ui, p as style, x as toErrorMessage, y as isAuthError } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-1VgRbzr-.mjs";
|
|
7
7
|
import { n as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-BgGlAs8a.mjs";
|
|
8
8
|
import { a as readManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
9
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
9
|
+
import { t as requireWorkflowsDir } from "./resolve-project-C6UAOfAG.mjs";
|
|
10
10
|
import { t as groupCredentialRequirements } from "./credentials-DAQfKqn0.mjs";
|
|
11
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
11
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-DtNWaMvh.mjs";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import Table from "cli-table3";
|
|
14
14
|
//#region ../../packages/shared-types/src/credentials/api/responses.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { r as isJsonMode } from "./output-
|
|
5
|
-
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-
|
|
3
|
+
import { b as isNetworkError, k as CliExitError, n as ui, u as logger, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
+
import { r as isJsonMode } from "./output-CGdYhH0p.mjs";
|
|
5
|
+
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-DM9Y91jL.mjs";
|
|
6
6
|
//#region src/lib/error-boundary.ts
|
|
7
7
|
async function withErrorBoundary(commandName, fn, options = {}) {
|
|
8
8
|
const jsonMode = options.json ?? isJsonMode({});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
3
|
+
import { N as throwReportedCliExit, n as ui, v as getHttpStatus, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError } from "./output-CGdYhH0p.mjs";
|
|
5
5
|
//#region src/lib/iam-command-utils.ts
|
|
6
6
|
function requireOrganizationId(ctx) {
|
|
7
7
|
if (ctx.organizationId) return ctx.organizationId;
|
|
@@ -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-DcftG6dX.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/init/init.command.ts
|
|
6
6
|
const InitOptionsSchema = z.object({
|
|
@@ -33,7 +33,7 @@ function createInitCommand() {
|
|
|
33
33
|
description: "Initialize a Keystroke project (creates keystroke.config.ts)",
|
|
34
34
|
schema: InitOptionsSchema,
|
|
35
35
|
optionsConfig: INIT_OPTIONS_CONFIG,
|
|
36
|
-
loadHandler: async () => (await import("./init.handler-
|
|
36
|
+
loadHandler: async () => (await import("./init.handler-Cq2nk8DO.mjs")).handleInit
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|