@keystrokehq/cli 0.0.37 → 0.0.38
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-DCsud1s5.mjs → accept.handler-CykuBpt6.mjs} +3 -3
- package/dist/{admin-BaOtHeZ2.mjs → admin-gRjPC3eD.mjs} +10 -10
- package/dist/{agents-BVAVfMR_.mjs → agents-BpyuvM9p.mjs} +6 -6
- package/dist/{api-keys-BhEEsHUh.mjs → api-keys-BSKhdD_x.mjs} +6 -6
- package/dist/{auth-BnsitjzT.mjs → auth-DCgToFf5.mjs} +6 -6
- package/dist/{auth.handler-W_xk14TL.mjs → auth.handler-QRQAEUJC.mjs} +1 -1
- package/dist/{authored-workflow-ref-fkHEEVnd.mjs → authored-workflow-ref-BRCQgyWl.mjs} +4 -4
- package/dist/{build-progress-CM-b6Bby.mjs → build-progress-D_SQqdHA.mjs} +2 -2
- package/dist/{build.handler-CpAsAsBc.mjs → build.handler-DGQn_clk.mjs} +6 -6
- package/dist/{clear.handler-_sR33Hp8.mjs → clear.handler-CuXYvUj2.mjs} +1 -1
- package/dist/{clear.handler-CDyG6-dk.mjs → clear.handler-DnjvgyMj.mjs} +1 -1
- package/dist/{commander-C6SSTQJ2.mjs → commander-B_8QwPpe.mjs} +3 -3
- package/dist/{connect-27EgnljZ.mjs → connect-DV9lhP6C.mjs} +3 -3
- package/dist/{connect.handler-COM1LnNg.mjs → connect.handler-D6JzuFuT.mjs} +4 -4
- package/dist/{context-ebZssGCY.mjs → context-Brc9VGV9.mjs} +2 -2
- package/dist/{create.handler-CAWJAGzQ.mjs → create.handler-D_tmjANR.mjs} +3 -3
- package/dist/{credential-schema-mismatch-c17ktoNU.mjs → credential-schema-mismatch-CStYUB2h.mjs} +1 -1
- package/dist/{credentials-C0ssbMlp.mjs → credentials-UDrvrKj-.mjs} +9 -9
- package/dist/{current-deployment-workflow-C6x65imE.mjs → current-deployment-workflow-CknsHF5T.mjs} +1 -1
- package/dist/{current.handler-DP1L_hm3.mjs → current.handler-Cy91EeLU.mjs} +3 -3
- package/dist/{delete.handler-C-5XFkgN.mjs → delete.handler-rUDDUrDQ.mjs} +2 -2
- package/dist/{deploy-BcVQJza8.mjs → deploy-DgWPlEKO.mjs} +2 -2
- package/dist/{deploy-progress-Bt86Yc1r.mjs → deploy-progress-BDOCSm_U.mjs} +1 -1
- package/dist/{deploy.handler-GPS9lxGk.mjs → deploy.handler-BDCHCk_A.mjs} +9 -9
- package/dist/{diff.handler-DkM5dhaN.mjs → diff.handler-CGERP-Qn.mjs} +5 -5
- package/dist/{env.handler-V_isbSi2.mjs → env.handler--8FRrSlJ.mjs} +6 -6
- package/dist/{error-boundary-BRxUsPi7.mjs → error-boundary-D2DiCLAp.mjs} +3 -3
- package/dist/{iam-command-utils-DNDN0wT6.mjs → iam-command-utils-D01Gw8-M.mjs} +2 -2
- package/dist/{init-D1OmmclX.mjs → init-Mpe_8lA_.mjs} +2 -2
- package/dist/{init.handler-CUbYlUgP.mjs → init.handler-BjLAIAmm.mjs} +4 -4
- package/dist/{inspect.handler-BE6coOuW.mjs → inspect.handler-CXCi7fhH.mjs} +5 -5
- package/dist/{integration-catalog-pSmWHFLQ.mjs → integration-catalog-mZs6EAlN.mjs} +3 -3
- package/dist/{integrations-DZD5t8n2.mjs → integrations-D_IH5Ud1.mjs} +6 -6
- package/dist/{invites-BuR1H-tA.mjs → invites-CWWz4wmY.mjs} +5 -5
- package/dist/{invites.list.handler-Dj4a6XOg.mjs → invites.list.handler-CQLWSoWo.mjs} +4 -4
- package/dist/{invites.resend.handler-DEGF4vlB.mjs → invites.resend.handler-CeIGE_qM.mjs} +4 -4
- package/dist/{invites.revoke.handler-Dg4ZvlFS.mjs → invites.revoke.handler-9K6jkym_.mjs} +4 -4
- package/dist/keystroke.mjs +41 -29
- package/dist/{list.handler-Choc4SZz.mjs → list.handler-BvuxTFLe.mjs} +5 -5
- package/dist/{list.handler-BTYVIn6z.mjs → list.handler-CDWPmiMy.mjs} +3 -3
- package/dist/{list.handler-DYE48apa.mjs → list.handler-Co32_F3n.mjs} +4 -4
- package/dist/{list.handler-D47C1z3m.mjs → list.handler-Cuw1fWO_.mjs} +41 -12
- package/dist/{list.handler-7MkJfkak.mjs → list.handler-D-rSyrX0.mjs} +4 -4
- package/dist/{list.handler-KcCaG3PZ.mjs → list.handler-DMvq96UA.mjs} +2 -2
- package/dist/{list.handler-2g1CZAvB.mjs → list.handler-DUTNS8du.mjs} +3 -3
- package/dist/{list.handler-Bchcr3-e.mjs → list.handler-Dz-Yeijp.mjs} +3 -3
- package/dist/{list2.handler-BIaIyrQf.mjs → list2.handler-BpqKZTZk.mjs} +1 -1
- package/dist/{listen-CVY-_F29.mjs → listen-CeNwufij.mjs} +3 -3
- package/dist/{listen.handler-D_nEvXRn.mjs → listen.handler-CfRoaOwu.mjs} +3 -3
- package/dist/{logs-CZ2qnsSH.mjs → logs-B7k2_W1R.mjs} +3 -3
- package/dist/{logs.handler-Wk6mYyAZ.mjs → logs.handler-BIqJ0FED.mjs} +1 -1
- package/dist/{logs.handler-BRUzZC9Z.mjs → logs.handler-CSqOzxCU.mjs} +5 -5
- package/dist/{members.add.handler-BJ0wr6rP.mjs → members.add.handler-CBjoA6vG.mjs} +4 -4
- package/dist/{members.invite.handler-DyveDMuq.mjs → members.invite.handler-D8KcKJ9Y.mjs} +4 -4
- package/dist/{members.list.handler-CyQxH_zS.mjs → members.list.handler-CB_qSJK0.mjs} +4 -4
- package/dist/{members.remove.handler-Dtv9PooY.mjs → members.remove.handler-DNhO81mo.mjs} +4 -4
- package/dist/{members.update.handler-CeK-tCjT.mjs → members.update.handler-Bjdk_uz4.mjs} +4 -4
- package/dist/{operations-CxQlt0S0.mjs → operations-HHwoArwE.mjs} +5 -5
- package/dist/{org-context-BI9OSpbb.mjs → org-context-CNh2p2DP.mjs} +3 -3
- package/dist/{org-B8MPHJJu.mjs → org-f-qo68Em.mjs} +16 -16
- package/dist/{org-output-DffU7DKn.mjs → org-output-BcI17Uan.mjs} +2 -2
- package/dist/{orgs.create.handler-BKvSmkU3.mjs → orgs.create.handler-DOE9ZIed.mjs} +3 -3
- package/dist/{orgs.get.handler-BA-CexIY.mjs → orgs.get.handler-sWErVI7r.mjs} +3 -3
- package/dist/{orgs.list.handler-eCEg5kC1.mjs → orgs.list.handler-Cp-mXsA0.mjs} +3 -3
- package/dist/{output-DnIFEmi5.mjs → output-BPydP5tG.mjs} +1 -1
- package/dist/{package-manager-BP3-q8hh.mjs → package-manager-BwJ6muas.mjs} +1 -1
- package/dist/{paused.handler-4wKMTKZ-.mjs → paused.handler-DWdoKYY8.mjs} +5 -5
- package/dist/{projects-Wu_2fB_x.mjs → projects-CCC36zbJ.mjs} +3 -3
- package/dist/{register.handler-BvAkXCwE.mjs → register.handler-Dxae5iq8.mjs} +3 -3
- package/dist/{render-operation-VdEPhoII.mjs → render-operation-iF7Wblv2.mjs} +1 -1
- package/dist/{requirements.handler-Bab4kBtw.mjs → requirements.handler-Bg3mRnER.mjs} +2 -2
- package/dist/{resolve-project-DLKlAy0z.mjs → resolve-project-CoCN9xfi.mjs} +1 -1
- package/dist/{run-polling-C5fI7xTp.mjs → run-polling-htHWhG0T.mjs} +1 -1
- package/dist/{run.handler-BKD5Xu0A.mjs → run.handler-C-CM-xZG.mjs} +7 -7
- package/dist/{runs-CT31dczt.mjs → runs-BRJPNq4B.mjs} +4 -4
- package/dist/{search-BeQW_pf4.mjs → search-CQMgdp51.mjs} +3 -3
- package/dist/{search.handler-BJ-ZlDL4.mjs → search.handler-Dn5jjyF-.mjs} +4 -4
- package/dist/show.handler-CdZF0aao.mjs +79 -0
- package/dist/{show.handler-Cqe_hCqU.mjs → show.handler-D3nDc1MJ.mjs} +2 -2
- package/dist/{show.handler-DB8xl5FU.mjs → show.handler-DUDxnNiZ.mjs} +4 -4
- package/dist/{skill-installer-DuMhavmM.mjs → skill-installer-DYNH_MJT.mjs} +1 -1
- package/dist/{skills-sync.handler-BGs-_YD9.mjs → skills-sync.handler-_LVhIMRH.mjs} +3 -3
- package/dist/{skills.command-DUWn6FbL.mjs → skills.command-DSHGwXPX.mjs} +3 -3
- package/dist/{spinner-progress-BYxlr3lY.mjs → spinner-progress-fLaD0sjH.mjs} +1 -1
- package/dist/{status.handler-DAId4bVU.mjs → status.handler-1hEzX5oB.mjs} +1 -1
- package/dist/{switch.handler-Cd4Yg2n8.mjs → switch.handler-D135WwfB.mjs} +3 -3
- package/dist/{sync-DgC4lcxh.mjs → sync-CFScllh3.mjs} +2 -2
- package/dist/{sync.handler-Cm_WtGmH.mjs → sync.handler-x8v53-TT.mjs} +6 -6
- package/dist/{test-4V7nh67i.mjs → test-Dx4RXoLZ.mjs} +3 -3
- package/dist/{test.handler-Bo4YTs2Z.mjs → test.handler-BmvL5vF8.mjs} +8 -8
- package/dist/{test.handler-BdCYcwR4.mjs → test.handler-Mz_XOnJl.mjs} +1 -1
- package/dist/{tool.handler-CPCrSDq2.mjs → tool.handler-DsbpocYI.mjs} +7 -7
- package/dist/{upgrade-2qUOcjxb.mjs → upgrade-C9G6HksL.mjs} +3 -3
- package/dist/{upgrade.handler-PqlKSuUE.mjs → upgrade.handler-DsFeAFF4.mjs} +2 -2
- package/dist/{upload.handler-CS-vLpzC.mjs → upload.handler-DscKDQ63.mjs} +6 -6
- package/dist/{users.get.handler-CH1c6Lnj.mjs → users.get.handler-CaUv_maM.mjs} +3 -3
- package/dist/{users.list.handler-CxbZFgjO.mjs → users.list.handler-DzsOvAtd.mjs} +3 -3
- package/dist/{users.set-role.handler-CBRE-Ws6.mjs → users.set-role.handler-koRzA0V9.mjs} +3 -3
- package/dist/{validate.handler-1d-UmtXB.mjs → validate.handler-BkBsS8BL.mjs} +6 -6
- package/dist/{workflow-build-Bm8JoVv4.mjs → workflow-build-Db6at6IA.mjs} +1 -1
- package/dist/{workflows-ny7rOdeH.mjs → workflows-B8VG6nKg.mjs} +13 -13
- package/package.json +5 -5
- package/dist/show.handler-BrIHUH28.mjs +0 -31
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
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-
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-D01Gw8-M.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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
5
5
|
import { t as OrgRoleSchema } from "./schema-Lbp5lGJu.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-Cp-mXsA0.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-DOE9ZIed.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-Cp-mXsA0.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-sWErVI7r.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-DzsOvAtd.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-DzsOvAtd.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-CaUv_maM.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-koRzA0V9.mjs")).handleAdminUsersSetRole
|
|
192
192
|
})
|
|
193
193
|
]
|
|
194
194
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.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-BPydP5tG.mjs";
|
|
6
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
7
7
|
import { i as readAgentManifestsFromOutDir } from "./dist-BmbFJq8U.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-CoCN9xfi.mjs";
|
|
9
|
+
import { t as createSpinnerProgress } from "./spinner-progress-fLaD0sjH.mjs";
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Db6at6IA.mjs";
|
|
11
11
|
import { s as resolveTypeHint } from "./schema-display-sZ6ConJd.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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.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-Dz-Yeijp.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-Dz-Yeijp.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-D_tmjANR.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-rUDDUrDQ.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-BoSm4s9C.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { C as AUTH_TIMEOUT_SECONDS } from "./keystroke.mjs";
|
|
5
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/auth/auth.command.ts
|
|
8
8
|
const AuthOptionsSchema = z.object({
|
|
@@ -31,7 +31,7 @@ function createAuthCommand() {
|
|
|
31
31
|
schema: AuthOptionsSchema,
|
|
32
32
|
optionsConfig: AUTH_OPTIONS_CONFIG,
|
|
33
33
|
contextMode: "auth-metadata",
|
|
34
|
-
loadHandler: async () => (await import("./auth.handler-
|
|
34
|
+
loadHandler: async () => (await import("./auth.handler-QRQAEUJC.mjs")).handleAuth,
|
|
35
35
|
subcommands: [
|
|
36
36
|
createTypedCommand({
|
|
37
37
|
name: "clear",
|
|
@@ -39,21 +39,21 @@ function createAuthCommand() {
|
|
|
39
39
|
schema: AuthClearOptionsSchema,
|
|
40
40
|
optionsConfig: AUTH_CLEAR_OPTIONS_CONFIG,
|
|
41
41
|
contextMode: "auth-metadata",
|
|
42
|
-
loadHandler: async () => (await import("./clear.handler-
|
|
42
|
+
loadHandler: async () => (await import("./clear.handler-CuXYvUj2.mjs")).handleAuthClear
|
|
43
43
|
}),
|
|
44
44
|
createTypedCommand({
|
|
45
45
|
name: "test",
|
|
46
46
|
description: "Verify that the saved API key is valid",
|
|
47
47
|
schema: z.object({}),
|
|
48
48
|
optionsConfig: {},
|
|
49
|
-
loadHandler: async () => (await import("./test.handler-
|
|
49
|
+
loadHandler: async () => (await import("./test.handler-Mz_XOnJl.mjs")).handleAuthTest
|
|
50
50
|
}),
|
|
51
51
|
createTypedCommand({
|
|
52
52
|
name: "status",
|
|
53
53
|
description: "Show the current signed-in identity and organization context",
|
|
54
54
|
schema: z.object({}),
|
|
55
55
|
optionsConfig: {},
|
|
56
|
-
loadHandler: async () => (await import("./status.handler-
|
|
56
|
+
loadHandler: async () => (await import("./status.handler-1hEzX5oB.mjs")).handleAuthStatus
|
|
57
57
|
})
|
|
58
58
|
]
|
|
59
59
|
});
|
|
@@ -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-BoSm4s9C.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { A as CliExitError, D as CALLBACK_PATH, E as CALLBACK_LOOPBACK_ORIGIN, L as logger, O as CLI_AUTH_COMMAND, S as toErrorMessage, T as CALLBACK_LOOPBACK_HOST, d as resolveCliWebUrl, p as ui, u as resolveCliServerUrl, w as AUTH_URL_PATH } from "./keystroke.mjs";
|
|
5
5
|
import { n as credentials } from "./dist-B5jy238v.mjs";
|
|
6
6
|
import { t as openBrowser } from "./browser-Dvv5OQrt.mjs";
|
|
7
7
|
import { hostname } from "node:os";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { N as WorkflowResolutionError, P as throwReportedCliExit, p as ui } from "./keystroke.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
5
|
import { a as readManifestsFromOutDir } from "./dist-BmbFJq8U.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-CoCN9xfi.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-fLaD0sjH.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Db6at6IA.mjs";
|
|
9
9
|
import { i as formatWorkflowInputFlag } from "./schema-display-sZ6ConJd.mjs";
|
|
10
10
|
//#region src/commands/workflows/_shared/authored-workflow-ref.ts
|
|
11
11
|
function workflowIdCommand(label, example) {
|
|
@@ -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 { L as logger } from "./keystroke.mjs";
|
|
4
|
+
import { n as formatProgressDuration, t as createSpinnerProgress } from "./spinner-progress-fLaD0sjH.mjs";
|
|
5
5
|
//#region src/lib/build-progress.ts
|
|
6
6
|
const NEW_STAGE_LABELS = {
|
|
7
7
|
start: "Starting build",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { A as CliExitError, B as setDebug } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.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-
|
|
9
|
-
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
5
|
+
import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
|
|
6
|
+
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Db6at6IA.mjs";
|
|
7
|
+
import { t as createBuildProgress } from "./build-progress-D_SQqdHA.mjs";
|
|
8
|
+
import { t as withErrorBoundary } from "./error-boundary-D2DiCLAp.mjs";
|
|
9
|
+
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
|
|
10
10
|
//#region src/commands/workflows/build.handler.ts
|
|
11
11
|
async function handleWorkflowsBuild(options, _ctx) {
|
|
12
12
|
return withErrorBoundary("Build", async () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { L as logger, S as toErrorMessage, h as AUTH_HINT, p as ui } from "./keystroke.mjs";
|
|
4
4
|
import { n as credentials } from "./dist-B5jy238v.mjs";
|
|
5
5
|
import { createClient } from "./src-DI-ybNjR.mjs";
|
|
6
6
|
//#region src/commands/auth/clear.handler.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { F as
|
|
3
|
+
import { F as clearLog, I as closeLogger } from "./keystroke.mjs";
|
|
4
4
|
import { log } from "@clack/prompts";
|
|
5
5
|
//#region src/commands/logs/clear.handler.ts
|
|
6
6
|
async function handleLogsClear(_options, _ctx) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { A as
|
|
4
|
-
import { a as writeJsonError, r as isJsonMode } from "./output-
|
|
3
|
+
import { A as CliExitError, B as setDebug, S as toErrorMessage, b as isAuthError, f as applyCommanderOutput, h as AUTH_HINT, j as InputValidationError, m as captureCliTelemetryResolvedContext, o as createHiddenGlobalOptions, p as ui } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError, r as isJsonMode } from "./output-BPydP5tG.mjs";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
//#region src/lib/commander.ts
|
|
7
7
|
function mergeParentCommandPath(rawOptions, command, schema) {
|
|
@@ -97,7 +97,7 @@ function createTypedCommand(params) {
|
|
|
97
97
|
const globalOpts = cmd.optsWithGlobals();
|
|
98
98
|
if (globalOpts.debug) setDebug(true);
|
|
99
99
|
const contextMode = params.contextMode ?? "full";
|
|
100
|
-
const contextModule = await import("./context-
|
|
100
|
+
const contextModule = await import("./context-Brc9VGV9.mjs").then((n) => n.n);
|
|
101
101
|
const contextOptions = {
|
|
102
102
|
apiKey: globalOpts.apiKey,
|
|
103
103
|
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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/connect/connect.command.ts
|
|
7
7
|
const ConnectOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -61,7 +61,7 @@ function createConnectCommand() {
|
|
|
61
61
|
description: "Connect an official integration via OAuth (e.g., keystroke connect slack)",
|
|
62
62
|
schema: ConnectOptionsSchema,
|
|
63
63
|
optionsConfig: CONNECT_OPTIONS_CONFIG,
|
|
64
|
-
loadHandler: async () => (await import("./connect.handler-
|
|
64
|
+
loadHandler: async () => (await import("./connect.handler-D6JzuFuT.mjs")).handleConnect,
|
|
65
65
|
argument: {
|
|
66
66
|
name: "integrationId",
|
|
67
67
|
description: "Integration to connect (e.g., slack, linear)",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { P as throwReportedCliExit, S as toErrorMessage, h as AUTH_HINT, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
5
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
6
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
|
|
7
7
|
import { t as openBrowser } from "./browser-Dvv5OQrt.mjs";
|
|
8
8
|
import { i as InitiateConnectionResponseSchema, n as ConnectionStatusResponseSchema, r as InitiateConnectionRequestSchema } from "./api-sWkB_Wta.mjs";
|
|
9
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
9
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-mZs6EAlN.mjs";
|
|
10
10
|
//#region src/commands/connect/connect.handler.ts
|
|
11
11
|
function formatIntegrationLabel(catalog, integrationId) {
|
|
12
12
|
return catalog.lookupByPublicId(integrationId)?.name ?? integrationId;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { A as CliExitError, L as logger, S as toErrorMessage, b as isAuthError, c as getProcessEnv, g as REAUTH_HINT, h as AUTH_HINT, k as AuthenticationError, p as ui, s as getEnv } from "./keystroke.mjs";
|
|
5
5
|
import { n as credentials } from "./dist-B5jy238v.mjs";
|
|
6
6
|
import { t as resolveCliCredentials } from "./resolve-cli-credentials-GVOOedoQ.mjs";
|
|
7
|
-
import { a as writeJsonError } from "./output-
|
|
7
|
+
import { a as writeJsonError } from "./output-BPydP5tG.mjs";
|
|
8
8
|
//#region src/lib/context.ts
|
|
9
9
|
var context_exports = /* @__PURE__ */ __exportAll({
|
|
10
10
|
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 { P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.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-c17ktoNU.mjs → credential-schema-mismatch-CStYUB2h.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-BPydP5tG.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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
5
5
|
import { i as CredentialScopeValues, n as CredentialConnectionIdSchema, r as CredentialScopeSchema } from "./schema-DFJiNWyd.mjs";
|
|
6
6
|
import { t as ConnectionKindValues } from "./api-sWkB_Wta.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -265,13 +265,13 @@ function createCredentialsDefinitionsCommand() {
|
|
|
265
265
|
description: "Browse and inspect credential definitions (catalog metadata; not per-org credential sets)",
|
|
266
266
|
schema: CredentialDefinitionsListOptionsSchema,
|
|
267
267
|
optionsConfig: DEFINITIONS_LIST_OPTIONS_CONFIG,
|
|
268
|
-
loadHandler: async () => (await import("./list.handler-
|
|
268
|
+
loadHandler: async () => (await import("./list.handler-DMvq96UA.mjs")).handleCredentialDefinitionsList,
|
|
269
269
|
subcommands: [createTypedCommand({
|
|
270
270
|
name: "list",
|
|
271
271
|
description: "List credential definitions",
|
|
272
272
|
schema: CredentialDefinitionsListOptionsSchema,
|
|
273
273
|
optionsConfig: DEFINITIONS_LIST_OPTIONS_CONFIG,
|
|
274
|
-
loadHandler: async () => (await import("./list.handler-
|
|
274
|
+
loadHandler: async () => (await import("./list.handler-DMvq96UA.mjs")).handleCredentialDefinitionsList
|
|
275
275
|
}), createTypedCommand({
|
|
276
276
|
name: "show",
|
|
277
277
|
description: "Show one credential definition including auth schema",
|
|
@@ -282,7 +282,7 @@ function createCredentialsDefinitionsCommand() {
|
|
|
282
282
|
description: "Credential definition id, e.g. keystroke:aws-s3",
|
|
283
283
|
key: "id"
|
|
284
284
|
},
|
|
285
|
-
loadHandler: async () => (await import("./show.handler-
|
|
285
|
+
loadHandler: async () => (await import("./show.handler-D3nDc1MJ.mjs")).handleCredentialDefinitionShow
|
|
286
286
|
})]
|
|
287
287
|
});
|
|
288
288
|
}
|
|
@@ -329,7 +329,7 @@ function createCredentialsListCommand() {
|
|
|
329
329
|
description: "List credential sets on the server",
|
|
330
330
|
schema: ListOptionsSchema,
|
|
331
331
|
optionsConfig: LIST_OPTIONS_CONFIG,
|
|
332
|
-
loadHandler: async () => (await import("./list.handler-
|
|
332
|
+
loadHandler: async () => (await import("./list.handler-Co32_F3n.mjs")).handleCredentialsList
|
|
333
333
|
});
|
|
334
334
|
}
|
|
335
335
|
//#endregion
|
|
@@ -348,7 +348,7 @@ function createCredentialsRequirementsCommand() {
|
|
|
348
348
|
description: "Show what credentials built workflows need (keys, KEYSTROKE_* env names, workflows) — from dist manifests, no API call",
|
|
349
349
|
schema: RequirementsOptionsSchema,
|
|
350
350
|
optionsConfig: REQUIREMENTS_OPTIONS_CONFIG,
|
|
351
|
-
loadHandler: async () => (await import("./requirements.handler-
|
|
351
|
+
loadHandler: async () => (await import("./requirements.handler-Bg3mRnER.mjs")).handleCredentialsRequirements
|
|
352
352
|
});
|
|
353
353
|
}
|
|
354
354
|
//#endregion
|
|
@@ -409,7 +409,7 @@ function createCredentialsUploadCommand() {
|
|
|
409
409
|
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.",
|
|
410
410
|
schema: UploadOptionsSchema,
|
|
411
411
|
optionsConfig: UPLOAD_OPTIONS_CONFIG,
|
|
412
|
-
loadHandler: async () => (await import("./upload.handler-
|
|
412
|
+
loadHandler: async () => (await import("./upload.handler-DscKDQ63.mjs")).handleCredentialsUpload
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
//#endregion
|
|
@@ -440,7 +440,7 @@ function createCredentialsCommand() {
|
|
|
440
440
|
}
|
|
441
441
|
},
|
|
442
442
|
handler: async (opts, ctx) => {
|
|
443
|
-
const { handleCredentialsList } = await import("./list.handler-
|
|
443
|
+
const { handleCredentialsList } = await import("./list.handler-Co32_F3n.mjs");
|
|
444
444
|
await handleCredentialsList({
|
|
445
445
|
...opts,
|
|
446
446
|
scope: void 0,
|
package/dist/{current-deployment-workflow-C6x65imE.mjs → current-deployment-workflow-CknsHF5T.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { _ as getApiErrorCode,
|
|
3
|
+
import { _ as getApiErrorCode, y as getHttpStatus } from "./keystroke.mjs";
|
|
4
4
|
//#region src/commands/workflows/_shared/current-deployment-workflow.ts
|
|
5
5
|
async function lookupCurrentDeploymentWorkflow(client, params) {
|
|
6
6
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
5
|
-
import { c as resolveEffectiveOrganization, o as requireEffectiveOrganization } from "./org-context-
|
|
6
|
-
import { n as renderOrgCurrentJson, t as renderOrgCurrentHuman } from "./org-output-
|
|
4
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
5
|
+
import { c as resolveEffectiveOrganization, o as requireEffectiveOrganization } from "./org-context-CNh2p2DP.mjs";
|
|
6
|
+
import { n as renderOrgCurrentJson, t as renderOrgCurrentHuman } from "./org-output-BcI17Uan.mjs";
|
|
7
7
|
//#region src/commands/org/current.handler.ts
|
|
8
8
|
async function handleOrgCurrent(_options, ctx) {
|
|
9
9
|
const { user } = await requireClient(ctx).users.getMe();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as requireClient } from "./context-Brc9VGV9.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-B_8QwPpe.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-BDCHCk_A.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
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
4
|
+
import { t as createSpinnerProgress } from "./spinner-progress-fLaD0sjH.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,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { A as CliExitError, L as logger, l as isLocalMode, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
|
-
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
6
|
+
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-Brc9VGV9.mjs";
|
|
7
7
|
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-BmbFJq8U.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-
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Db6at6IA.mjs";
|
|
10
|
+
import { t as createBuildProgress } from "./build-progress-D_SQqdHA.mjs";
|
|
11
|
+
import { t as createDeployProgress } from "./deploy-progress-BDOCSm_U.mjs";
|
|
12
|
+
import { t as withErrorBoundary } from "./error-boundary-D2DiCLAp.mjs";
|
|
13
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
14
14
|
import { t as computeWorkflowDiff } from "./diff-utils-YEUYtSRs.mjs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { access } from "node:fs/promises";
|
|
@@ -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-Db6at6IA.mjs").then((n) => n.o);
|
|
202
202
|
const buildOutcome = await runWorkflowBuild({
|
|
203
203
|
workflowsDir,
|
|
204
204
|
verbose: options.verbose,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
5
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-Brc9VGV9.mjs";
|
|
7
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
8
8
|
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-YEUYtSRs.mjs";
|
|
9
|
-
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
9
|
+
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
|
|
10
10
|
//#region src/commands/workflows/diff/diff.handler.ts
|
|
11
11
|
async function handleWorkflowsDiff(options, ctx) {
|
|
12
12
|
const resolved = await requireLocalWorkflowManifest({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, g as REAUTH_HINT, n as style, p as ui, t as ANSI, x as isNetworkError } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
7
7
|
import { n as CredentialConnectionIdSchema, r as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-DFJiNWyd.mjs";
|
|
8
8
|
import { a as readManifestsFromOutDir } from "./dist-BmbFJq8U.mjs";
|
|
9
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
10
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
9
|
+
import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
|
|
10
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-mZs6EAlN.mjs";
|
|
11
11
|
import { t as groupCredentialRequirements } from "./credentials-DtwLbee6.mjs";
|
|
12
|
-
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
12
|
+
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
import Table from "cli-table3";
|
|
15
15
|
//#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 { A as CliExitError, L as logger, S as toErrorMessage, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
+
import { r as isJsonMode } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-CStYUB2h.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 { P as throwReportedCliExit, S as toErrorMessage, p as ui, y as getHttpStatus } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError } from "./output-BPydP5tG.mjs";
|
|
5
5
|
//#region src/lib/iam-command-utils.ts
|
|
6
6
|
function isIamJsonMode(options, ctx) {
|
|
7
7
|
return options.json === true || ctx.jsonMode;
|