@keystrokehq/cli 0.0.7 → 0.0.9
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-CudtwdDV.mjs → accept.handler-PpOOUemk.mjs} +3 -3
- package/dist/{admin-ByNq50FH.mjs → admin-Dga-_lDF.mjs} +10 -10
- package/dist/{agents-DbekD_Vx.mjs → agents-DII_JbCa.mjs} +8 -8
- package/dist/{api-keys-kvwq9Jb4.mjs → api-keys-DeTqHzI4.mjs} +6 -6
- package/dist/{auth-D2vYD0E8.mjs → auth-C0fuZ0_P.mjs} +6 -6
- package/dist/{auth.handler-BFnFI2fQ.mjs → auth.handler-BLU7LnW2.mjs} +2 -3
- package/dist/{build-agents-DfbiMZ_e-in-if4_C.mjs → build-agents-DfbiMZ_e-CgnKa9A6.mjs} +5 -5
- package/dist/{build-metadata-zidV9Cai-BAS0FMxT.mjs → build-metadata-zidV9Cai-Bq37kBOM.mjs} +7 -7
- package/dist/{build-progress-Cn2j1LqF.mjs → build-progress-Mzsk4RKr.mjs} +2 -2
- package/dist/{build-tasks-O1jYtlv1-B2Dm4hFj.mjs → build-tasks-O1jYtlv1-Bkw0w1r3.mjs} +3 -3
- package/dist/{build-workflows-3fdvdHHf-Bg5XV7hM.mjs → build-workflows-3fdvdHHf-BDTy9QgT.mjs} +8 -8
- package/dist/{build.handler-BzQRnkC3.mjs → build.handler-D15NjKkT.mjs} +5 -5
- package/dist/{clear.handler-U9n_V1IM.mjs → clear.handler-DgIXlYTs.mjs} +2 -2
- package/dist/{commander-pxSPDCZ4.mjs → commander-B6_tg5_w.mjs} +12 -12
- package/dist/{connect-B_uc0wqI.mjs → connect-D9PVABIW.mjs} +3 -3
- package/dist/{connect.handler-VJgm2ZQG.mjs → connect.handler-BmOVKYSN.mjs} +5 -5
- package/dist/{context-D-YKFNxL.mjs → context-DT06adrn.mjs} +3 -4
- package/dist/{create.handler-d9nfcKfp.mjs → create.handler-BWaULspg.mjs} +3 -3
- package/dist/{credential-requirements-DjDFthio.mjs → credential-requirements-BCW8aQWS.mjs} +3 -3
- package/dist/{credential-schema-mismatch-B-wwbCvw.mjs → credential-schema-mismatch-C-4kBAFw.mjs} +1 -1
- package/dist/{credentials-CL_PCuhM.mjs → credentials-BW-v9xVQ.mjs} +7 -7
- package/dist/{credentials-DHlK_O4L.mjs → credentials-DAQfKqn0.mjs} +7 -7
- package/dist/{current-deployment-workflow-BRYuEubW.mjs → current-deployment-workflow-j5DlVkb2.mjs} +6 -6
- package/dist/{current.handler-vJG2Dohx.mjs → current.handler-CUVgMZ-O.mjs} +1 -1
- package/dist/{declared-credential-requirements-Bwlb-KZE.mjs → declared-credential-requirements-BtlcsEVn.mjs} +1 -1
- package/dist/{delete.handler-RsYTkJLV.mjs → delete.handler-CzW7Rm5M.mjs} +2 -2
- package/dist/{deploy-B_bkUlIL.mjs → deploy-B8TYutOi.mjs} +1 -1
- package/dist/{deploy-BE3F62Mz.mjs → deploy-BU04ehfM.mjs} +2 -2
- package/dist/{deploy-progress-CZ2rPlOj.mjs → deploy-progress-BkpuGfGt.mjs} +1 -1
- package/dist/{deploy.handler-Dlyd8Zqs.mjs → deploy.handler-CbYYyVOg.mjs} +17 -18
- package/dist/{detect-env-access-CwkOYeYM-CsrSOCcj.mjs → detect-env-access-CwkOYeYM-D4o8gRZs.mjs} +1 -1
- package/dist/{diff-utils-DWNcRA8g.mjs → diff-utils-D1jYu6ny.mjs} +1 -1
- package/dist/{diff.handler-CH0xP8pk.mjs → diff.handler-Dtjc7Y4O.mjs} +5 -5
- package/dist/{dist-C2Dq_nx3.mjs → dist-DvO0q6Fo.mjs} +12 -12
- package/dist/{env.handler-BkCO2vjR.mjs → env.handler-DbxnyBYf.mjs} +8 -8
- package/dist/{error-boundary-B9PgBkv8.mjs → error-boundary-D6KTx1HL.mjs} +3 -3
- package/dist/{file-metadata-CdFXMMIw.mjs → file-metadata-BvGM-B2v.mjs} +1 -1
- package/dist/{iam-command-utils-CNC8JfZ5.mjs → iam-command-utils-B5G-N3Hx.mjs} +2 -2
- package/dist/{import-module-DDPnzlJ1-CYJD2n2b.mjs → import-module-DDPnzlJ1-BIBSgOhK.mjs} +8 -8
- package/dist/{init-BXwx0QA4.mjs → init-BITuemMR.mjs} +2 -2
- package/dist/{init.handler-Cs5YXM5Z.mjs → init.handler-HsCte00n.mjs} +5 -5
- package/dist/{inspect.handler-DRMKUJsh.mjs → inspect.handler-Buv68Vm9.mjs} +5 -5
- package/dist/{integration-catalog-ClP7YGqM.mjs → integration-catalog-4T5Yad-n.mjs} +3 -3
- package/dist/{integrations-CoBzLNEe.mjs → integrations-Dib-OfdN.mjs} +5 -5
- package/dist/{invites-BmNy1RHp.mjs → invites-CJtInw9Q.mjs} +5 -5
- package/dist/{invites.list.handler-ICP2V3p4.mjs → invites.list.handler-CBtOq8W4.mjs} +3 -3
- package/dist/{invites.resend.handler-BGaTTMka.mjs → invites.resend.handler-D-E2NxY1.mjs} +3 -3
- package/dist/{invites.revoke.handler-DBwF5Lxc.mjs → invites.revoke.handler-DFTxBZcm.mjs} +3 -3
- package/dist/keystroke.mjs +276 -28
- package/dist/{list-enrichment-CTqx0Rk_.mjs → list-enrichment-Bou_BqL0.mjs} +2 -2
- package/dist/{list.handler-Vv9KmhB9.mjs → list.handler-BFjtABDv.mjs} +4 -4
- package/dist/{list.handler-B2bN8NsQ.mjs → list.handler-BHmG2GY8.mjs} +1 -1
- package/dist/{list.handler-DO0PnyWP.mjs → list.handler-BWGnEnM8.mjs} +3 -3
- package/dist/{list.handler-BXTGPazY.mjs → list.handler-Bi28Gsee.mjs} +5 -5
- package/dist/{list.handler-b4qYQtwn.mjs → list.handler-CXT-te4G.mjs} +3 -3
- package/dist/{list.handler-BjihvxHn.mjs → list.handler-fGaEAMUZ.mjs} +7 -8
- package/dist/{list.handler-rnyzLJDy.mjs → list.handler-gjAg1aM6.mjs} +3 -3
- package/dist/{listen-DVV1fp5c.mjs → listen-_GvXm7iI.mjs} +3 -3
- package/dist/{listen.handler-CyFpUSOu.mjs → listen.handler-BKfcYsfv.mjs} +4 -4
- package/dist/{logs-BRticZ00.mjs → logs-De7ITMv1.mjs} +3 -3
- package/dist/{logs.handler-ddQu_MXN.mjs → logs.handler-CB2FtCvP.mjs} +1 -1
- package/dist/{logs.handler-CsnG7Bb0.mjs → logs.handler-COtiXeqn.mjs} +4 -4
- package/dist/{members.add.handler-CH0RhbgE.mjs → members.add.handler-BXldE_ec.mjs} +3 -3
- package/dist/{members.invite.handler-CYB7RQ9A.mjs → members.invite.handler-CWFsj5Gz.mjs} +3 -3
- package/dist/{members.list.handler-DrDtmMei.mjs → members.list.handler-DFg6VThp.mjs} +3 -3
- package/dist/{members.remove.handler-uGoZt2Me.mjs → members.remove.handler-lStbH_4M.mjs} +3 -3
- package/dist/{members.update.handler-DXCWkzOc.mjs → members.update.handler-CzcdsbtG.mjs} +3 -3
- package/dist/{normalize-path-CojS-CgQ-BKRFUzWW.mjs → normalize-path-CojS-CgQ-D_WTiHKw.mjs} +1 -1
- package/dist/{org-GdHhuSNk.mjs → org-DLY5V_Uw.mjs} +16 -16
- package/dist/{orgs.create.handler-5AaPgTZV.mjs → orgs.create.handler-CiYGUXBZ.mjs} +3 -3
- package/dist/{orgs.get.handler-BTfopRVm.mjs → orgs.get.handler-BgFsnpme.mjs} +3 -3
- package/dist/{orgs.list.handler-DKJgs6x0.mjs → orgs.list.handler-BuyOTc8K.mjs} +3 -3
- package/dist/{output-q4KljAhu.mjs → output-BCDZb3Gy.mjs} +1 -1
- package/dist/{paused.handler-BUifVTyQ.mjs → paused.handler-BX_71fzx.mjs} +3 -3
- package/dist/{projects-Bdl6-Z8l.mjs → projects-DN7dX6nN.mjs} +2 -2
- package/dist/{projects-BjnCG-pc.mjs → projects-lN-4ZR9Q.mjs} +5 -5
- package/dist/{register.handler-WzpvVXHx.mjs → register.handler-BA6p-TmU.mjs} +2 -2
- package/dist/{requirements.handler-coArDE8x.mjs → requirements.handler-DI4mgZ2l.mjs} +7 -8
- package/dist/{resolve-project-DgfftdPm.mjs → resolve-project-BREjwFKO.mjs} +2 -2
- package/dist/{try-deploy.handler-YDOirkk1.mjs → run-polling-BLT-uS2e.mjs} +87 -187
- package/dist/run.handler-B5NodlNi.mjs +136 -0
- package/dist/{runs-2BdRfql3.mjs → runs-BfgL8BR_.mjs} +4 -4
- package/dist/{schemas-DsvCZfF0.mjs → schemas-9FmGqrPT.mjs} +2 -2
- package/dist/{skills-sync.handler-CwwnzDiO.mjs → skills-sync.handler-CuuCiUGT.mjs} +3 -3
- package/dist/{skills.command-C2NXqc5h.mjs → skills.command-z-sOQpkN.mjs} +4 -4
- package/dist/{source-analysis-DEEChuND-eixwPnPP.mjs → source-analysis-DEEChuND-Csu0oOlw.mjs} +3 -3
- package/dist/{spinner-progress-bvKd1jXc.mjs → spinner-progress-BB2EHL-l.mjs} +1 -1
- package/dist/{src-CBL7AJ0H.mjs → src--fCtOxNX.mjs} +1 -1
- package/dist/{status.handler-D9GBEmao.mjs → status.handler-Bh0MtNu1.mjs} +1 -1
- package/dist/{switch.handler-DV0wiJP8.mjs → switch.handler-CSOycIbR.mjs} +2 -2
- package/dist/{sync-D098Vbv2.mjs → sync-CIibxcUe.mjs} +2 -2
- package/dist/{sync.handler-BocldSG_.mjs → sync.handler-D2cY3bia.mjs} +7 -8
- package/dist/{task-DsrXI6XH.mjs → task-1qz1XNq7.mjs} +4 -4
- package/dist/{task-target-build-Di8gflnj.mjs → task-target-build-D5IrHqSl.mjs} +4 -4
- package/dist/{task-target-deploy-Bf5i3ox1-BU16VPsE.mjs → task-target-deploy-Bf5i3ox1-2K0hAwzk.mjs} +1 -1
- package/dist/{task-target-deploy-BzGRNDiv.mjs → task-target-deploy-Bzfftyru.mjs} +1 -1
- package/dist/task-target-deploy-runner.mjs +5 -5
- package/dist/{test-BZt0Duhs.mjs → test-Dsx4cRnE.mjs} +14 -14
- package/dist/{test.handler-iCUotLes.mjs → test.handler-Duqj67Qi.mjs} +1 -1
- package/dist/{trigger-artifacts-B3OCTX9K-Cgt51KLh.mjs → trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs} +4 -4
- package/dist/{trigger-manifest-CXD9I7Rb.mjs → trigger-manifest-B3Gq1739.mjs} +1 -1
- package/dist/try-deploy.handler-Lq69ON02.mjs +169 -0
- package/dist/{upgrade-Bdez-X6_.mjs → upgrade-DQrHCNR8.mjs} +2 -2
- package/dist/{upgrade.handler-DhH_Cuza.mjs → upgrade.handler-B0NxKINA.mjs} +1 -1
- package/dist/{upload.handler-BmqZAPxZ.mjs → upload.handler-BMJiaCzk.mjs} +10 -11
- package/dist/{users.get.handler-uoEgEwI-.mjs → users.get.handler-eJtaB-2G.mjs} +3 -3
- package/dist/{users.list.handler-DLWPOIHD.mjs → users.list.handler-DE6s08i0.mjs} +3 -3
- package/dist/{users.set-role.handler-BCJhTsyb.mjs → users.set-role.handler-BVNvaKKS.mjs} +3 -3
- package/dist/{utils-DlYHjGg9.mjs → utils-C_qCshBA.mjs} +2 -2
- package/dist/{validate.handler-ROzzUI85.mjs → validate.handler-BUga7Umz.mjs} +5 -5
- package/dist/{workflow-build-DD8TLlPu.mjs → workflow-build-Be6RMTb2.mjs} +21 -21
- package/dist/{workflow-bundler-BzHk73PM-Bt-poFqX.mjs → workflow-bundler-BzHk73PM-tt09RbIA.mjs} +2 -2
- package/dist/{workflow-manifest-CAW5FlX0.mjs → workflow-manifest-BfL74mjp.mjs} +4 -4
- package/dist/{workflows-DypSJM0t.mjs → workflows-Cdo-AgjV.mjs} +111 -16
- package/dist/{writer-CtvttJdP-DrJruQgR.mjs → writer-CtvttJdP-DZJ0mZCm.mjs} +5 -5
- package/package.json +5 -5
- package/dist/env-YTZGKGIu.mjs +0 -139
- package/dist/{agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs → agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs} +0 -0
- package/dist/{agent-manifest-Bfa3DBgc.mjs → agent-manifest-sJFbH5H8.mjs} +0 -0
- package/dist/{browser-gddMccBQ.mjs → browser-CvuyMLhI.mjs} +0 -0
- package/dist/{clear-cache.handler-BDV-a3ku.mjs → clear-cache.handler-BuSx_ZDn.mjs} +0 -0
- package/dist/{clear.handler-Dh6QoVO1.mjs → clear.handler-BC6pz0x-.mjs} +0 -0
- package/dist/{common-BrVAdUyD.mjs → common-B3bLe3Mk.mjs} +0 -0
- package/dist/{concurrency-gXn9Rw8x-BTlfau8D.mjs → concurrency-gXn9Rw8x-CnBnF2cg.mjs} +0 -0
- package/dist/{constants-DHdiT5hc.mjs → constants-BUgIAu2a.mjs} +0 -0
- package/dist/{credential-env-map-C8P7uTD-.mjs → credential-env-map-C23GV6LN.mjs} +0 -0
- package/dist/{get-intrinsic-ZMBBjBEr.mjs → get-intrinsic-BjqiGgLt.mjs} +0 -0
- package/dist/{hosted-action-dispatcher-registry-TOVzMhUR.mjs → hosted-action-dispatcher-registry-BWEtn13o.mjs} +0 -0
- package/dist/{layout-B95Tku8F.mjs → layout-CXkZEsXI.mjs} +0 -0
- package/dist/{metadata-layout-C6ed-9dl-aBmqqvD5.mjs → metadata-layout-C6ed-9dl-C6Bylr_z.mjs} +0 -0
- package/dist/{options-BhB9qA5P.mjs → options-CIVqkc8V.mjs} +0 -0
- package/dist/{oxc-B3KI3rf_-BeimiQ2U.mjs → oxc-B3KI3rf_-ghZc3xZ5.mjs} +0 -0
- package/dist/{project-config-opj6DsPF.mjs → project-config-D9eFU8Jk.mjs} +1 -1
- /package/dist/{read-credential-keys-77a91T8M-aLuQvlIq.mjs → read-credential-keys-77a91T8M-B0eiobOd.mjs} +0 -0
- /package/dist/{rolldown-runtime-twds-ZHy-8uqgIurC.mjs → rolldown-runtime-twds-ZHy-RuJszab7.mjs} +0 -0
- /package/dist/{run-polling-CF9OeLWl.mjs → run-polling-DDpkIvwy.mjs} +0 -0
- /package/dist/{schedule-BRN4hzQM.mjs → schedule-BWAI6qLx.mjs} +0 -0
- /package/dist/{schema-kbMHVnhm.mjs → schema-B-Wgo4rJ.mjs} +0 -0
- /package/dist/{schema-Di90TXoX.mjs → schema-BgGlAs8a.mjs} +0 -0
- /package/dist/{schema-display-D4A1gQEM.mjs → schema-display-DuWBmkwk.mjs} +0 -0
- /package/dist/{skills.handler-BTUhxO37.mjs → skills.handler-BQ3Qfej3.mjs} +0 -0
- /package/dist/{source-analysis-BspLa3E5.mjs → source-analysis-CHkWMC40.mjs} +0 -0
- /package/dist/{sync-keystroke-agent-skills-CBMQ4fh_.mjs → sync-keystroke-agent-skills-D746f2W_.mjs} +0 -0
- /package/dist/{upload-B8fiWveA.mjs → upload-C1qFWMm0.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { t 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-BCDZb3Gy.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.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-BCDZb3Gy.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.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-BuyOTc8K.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-CiYGUXBZ.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-BuyOTc8K.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-BgFsnpme.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-DE6s08i0.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-DE6s08i0.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-eJtaB-2G.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-BVNvaKKS.mjs")).handleAdminUsersSetRole
|
|
192
192
|
})
|
|
193
193
|
]
|
|
194
194
|
});
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { M as throwReportedCliExit, b as toErrorMessage, d as ANSI, f as style, t as ui } 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-
|
|
7
|
-
import { i as readAgentManifestsFromOutDir } from "./dist-
|
|
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-
|
|
11
|
-
import { i as resolveTypeHint } from "./schema-display-
|
|
5
|
+
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BCDZb3Gy.mjs";
|
|
6
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
7
|
+
import { i as readAgentManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
9
|
+
import { t as createSpinnerProgress } from "./spinner-progress-BB2EHL-l.mjs";
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Be6RMTb2.mjs";
|
|
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
|
|
14
14
|
function renderAgentManifestInspect(manifest, options = {}) {
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.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-gjAg1aM6.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-gjAg1aM6.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-BWaULspg.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-CzW7Rm5M.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 { x as AUTH_TIMEOUT_SECONDS } from "./keystroke.mjs";
|
|
5
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.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-BLU7LnW2.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-DgIXlYTs.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-Duqj67Qi.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-Bh0MtNu1.mjs")).handleAuthStatus
|
|
50
50
|
})
|
|
51
51
|
]
|
|
52
52
|
});
|
|
@@ -1,10 +1,9 @@
|
|
|
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 CliExitError,
|
|
4
|
+
import { C as CALLBACK_LOOPBACK_HOST, E as CLI_AUTH_COMMAND, O as CliExitError, S as AUTH_URL_PATH, T as CALLBACK_PATH, b as toErrorMessage, l as logger, o as resolveCliServerUrl, s as resolveCliWebUrl, t as ui, w as CALLBACK_LOOPBACK_ORIGIN } from "./keystroke.mjs";
|
|
5
5
|
import { f as upsertOrgCredentials, i as getCredentialsFilePath } from "./dist-BF6r1hfv.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as openBrowser } from "./browser-gddMccBQ.mjs";
|
|
6
|
+
import { t as openBrowser } from "./browser-CvuyMLhI.mjs";
|
|
8
7
|
import { hostname } from "node:os";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
import { confirm, isCancel } from "@clack/prompts";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as readOptionalJsonSchemaKeys, t as manifestToDeclaredCredentialRequirement } from "./declared-credential-requirements-
|
|
4
|
-
import { t as AgentVersionManifestSchema } from "./agent-manifest-
|
|
5
|
-
import { i as createAgentSandboxPackage, n as AGENT_VM_PI_SKILLS_ROOT, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH, t as AGENT_VM_HOST_CALL_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-
|
|
6
|
-
import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-
|
|
7
|
-
import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-
|
|
3
|
+
import { n as readOptionalJsonSchemaKeys, t as manifestToDeclaredCredentialRequirement } from "./declared-credential-requirements-BtlcsEVn.mjs";
|
|
4
|
+
import { t as AgentVersionManifestSchema } from "./agent-manifest-sJFbH5H8.mjs";
|
|
5
|
+
import { i as createAgentSandboxPackage, n as AGENT_VM_PI_SKILLS_ROOT, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH, t as AGENT_VM_HOST_CALL_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs";
|
|
6
|
+
import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-B0eiobOd.mjs";
|
|
7
|
+
import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-tt09RbIA.mjs";
|
|
8
8
|
import { builtinModules } from "node:module";
|
|
9
9
|
import { lstat, readFile, readdir, realpath } from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { i as __toESM } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import { n as FileMetadataSchema, t as FILE_METADATA_SCHEMA_VERSION } from "./file-metadata-
|
|
5
|
-
import { d as getMetadataRoot, l as createMetadataOutputFile, n as BUILD_OUTPUT_DIR_NAME, u as getFileMetadataPath } from "./layout-
|
|
6
|
-
import { l as require_out, s as sha256String, t as BASE_IGNORE_PATTERNS } from "./metadata-layout-C6ed-9dl-
|
|
7
|
-
import { a as literalString, c as readStringProperty, i as literalNumber, l as unwrapExpression, n as identifierName, o as parseSourceFile, r as isNode, s as readPropertyValue, t as getFirstObjectArgument, u as visitNode } from "./oxc-B3KI3rf_-
|
|
8
|
-
import { a as getLocalModuleSpecifier, f as resolveLocalModulePath, l as removeEmptyMetadataDirectories, o as getVariableDeclarators, s as isExportedVariableStatement } from "./source-analysis-DEEChuND-
|
|
9
|
-
import { n as parseRelativeFilePath, r as toRelativeFilePath, t as normalizeRelativeFilePath } from "./normalize-path-CojS-CgQ-
|
|
10
|
-
import { t as RESERVED_NAMESPACES } from "./constants-
|
|
4
|
+
import { n as FileMetadataSchema, t as FILE_METADATA_SCHEMA_VERSION } from "./file-metadata-BvGM-B2v.mjs";
|
|
5
|
+
import { d as getMetadataRoot, l as createMetadataOutputFile, n as BUILD_OUTPUT_DIR_NAME, u as getFileMetadataPath } from "./layout-CXkZEsXI.mjs";
|
|
6
|
+
import { l as require_out, s as sha256String, t as BASE_IGNORE_PATTERNS } from "./metadata-layout-C6ed-9dl-C6Bylr_z.mjs";
|
|
7
|
+
import { a as literalString, c as readStringProperty, i as literalNumber, l as unwrapExpression, n as identifierName, o as parseSourceFile, r as isNode, s as readPropertyValue, t as getFirstObjectArgument, u as visitNode } from "./oxc-B3KI3rf_-ghZc3xZ5.mjs";
|
|
8
|
+
import { a as getLocalModuleSpecifier, f as resolveLocalModulePath, l as removeEmptyMetadataDirectories, o as getVariableDeclarators, s as isExportedVariableStatement } from "./source-analysis-DEEChuND-Csu0oOlw.mjs";
|
|
9
|
+
import { n as parseRelativeFilePath, r as toRelativeFilePath, t as normalizeRelativeFilePath } from "./normalize-path-CojS-CgQ-D_WTiHKw.mjs";
|
|
10
|
+
import { t as RESERVED_NAMESPACES } from "./constants-BUgIAu2a.mjs";
|
|
11
11
|
import { mkdir, readFile, rm, stat, writeFile } from "node:fs/promises";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import { performance } from "node:perf_hooks";
|
|
@@ -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-BB2EHL-l.mjs";
|
|
5
5
|
//#region src/lib/build-progress.ts
|
|
6
6
|
const NEW_STAGE_LABELS = {
|
|
7
7
|
start: "Starting build",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as TaskBuildManifestSchema } from "./task-
|
|
4
|
-
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-
|
|
5
|
-
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-
|
|
3
|
+
import { n as TaskBuildManifestSchema } from "./task-1qz1XNq7.mjs";
|
|
4
|
+
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-tt09RbIA.mjs";
|
|
5
|
+
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs";
|
|
6
6
|
import { performance } from "node:perf_hooks";
|
|
7
7
|
//#region ../../packages/workflow-builder/dist/build-tasks-O1jYtlv1.mjs
|
|
8
8
|
async function buildTaskArtifact(options) {
|
package/dist/{build-workflows-3fdvdHHf-Bg5XV7hM.mjs → build-workflows-3fdvdHHf-BDTy9QgT.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { p as deduplicateCredentialRequirementEntries } from "./credential-requirements-
|
|
4
|
-
import { i as WorkflowManifestSchema, t as WORKFLOW_MANIFEST_GENERATOR } from "./workflow-manifest-
|
|
5
|
-
import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s as SOURCE_MAP_FILE_NAME, t as BUILD_DIR_NAME } from "./layout-
|
|
6
|
-
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-
|
|
7
|
-
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module-DDPnzlJ1-
|
|
8
|
-
import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-
|
|
9
|
-
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-
|
|
10
|
-
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-
|
|
3
|
+
import { p as deduplicateCredentialRequirementEntries } from "./credential-requirements-BCW8aQWS.mjs";
|
|
4
|
+
import { i as WorkflowManifestSchema, t as WORKFLOW_MANIFEST_GENERATOR } from "./workflow-manifest-BfL74mjp.mjs";
|
|
5
|
+
import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s as SOURCE_MAP_FILE_NAME, t as BUILD_DIR_NAME } from "./layout-CXkZEsXI.mjs";
|
|
6
|
+
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-CnBnF2cg.mjs";
|
|
7
|
+
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module-DDPnzlJ1-BIBSgOhK.mjs";
|
|
8
|
+
import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-D_WTiHKw.mjs";
|
|
9
|
+
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-tt09RbIA.mjs";
|
|
10
|
+
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs";
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { readFile } from "node:fs/promises";
|
|
13
13
|
import * as path$1 from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { O 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-BREjwFKO.mjs";
|
|
6
|
+
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Be6RMTb2.mjs";
|
|
7
|
+
import { t as createBuildProgress } from "./build-progress-Mzsk4RKr.mjs";
|
|
8
|
+
import { t as withErrorBoundary } from "./error-boundary-D6KTx1HL.mjs";
|
|
9
9
|
//#region src/commands/workflows/build.handler.ts
|
|
10
10
|
async function handleWorkflowsBuild(options, _ctx) {
|
|
11
11
|
return withErrorBoundary("Build", async () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { b as toErrorMessage, l as logger, m as AUTH_HINT, t as ui } from "./keystroke.mjs";
|
|
4
4
|
import { c as removeOrgCredentials, r as deleteStoredCredentials } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { createClient } from "./src
|
|
5
|
+
import { createClient } from "./src--fCtOxNX.mjs";
|
|
6
6
|
//#region src/commands/auth/clear.handler.ts
|
|
7
7
|
async function tryRevokeKey(apiKey, apiKeyId, baseUrl, organizationId) {
|
|
8
8
|
try {
|
|
@@ -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 { O as CliExitError, b as toErrorMessage, c as captureCliTelemetryResolvedContext, k as InputValidationError, l as logger, m as AUTH_HINT, n as createHiddenGlobalOptions, t as ui, v as isAuthError } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError, r as isJsonMode } from "./output-BCDZb3Gy.mjs";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
//#region src/lib/commander.ts
|
|
7
7
|
/**
|
|
@@ -47,21 +47,21 @@ function createTypedCommand(params) {
|
|
|
47
47
|
const { name, description, schema, optionsConfig, resolve, subcommands } = params;
|
|
48
48
|
const command = new Command(name).description(description);
|
|
49
49
|
for (const opt of createHiddenGlobalOptions()) command.addOption(opt);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
const positionalArguments = params.arguments ?? (params.argument ? [params.argument] : []);
|
|
51
|
+
for (const arg of positionalArguments) {
|
|
52
|
+
const bracket = arg.required === false ? ["[", "]"] : ["<", ">"];
|
|
53
|
+
command.argument(`${bracket[0]}${arg.name}${bracket[1]}`, arg.description);
|
|
53
54
|
}
|
|
54
|
-
applyTypedOptionsToCommand(command, schema, optionsConfig,
|
|
55
|
+
applyTypedOptionsToCommand(command, schema, optionsConfig, positionalArguments.length > 0 ? new Set(positionalArguments.map((arg) => arg.key)) : void 0);
|
|
55
56
|
command.action(async (...args) => {
|
|
56
57
|
let jsonMode = false;
|
|
57
58
|
try {
|
|
58
59
|
let rawOptions;
|
|
59
60
|
let cmd;
|
|
60
|
-
if (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
rawOptions[params.argument.key] = argValue;
|
|
61
|
+
if (positionalArguments.length > 0) {
|
|
62
|
+
rawOptions = args[positionalArguments.length];
|
|
63
|
+
cmd = args[positionalArguments.length + 1];
|
|
64
|
+
for (const [index, arg] of positionalArguments.entries()) rawOptions[arg.key] = args[index];
|
|
65
65
|
} else {
|
|
66
66
|
rawOptions = args[0];
|
|
67
67
|
cmd = args[1];
|
|
@@ -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-DT06adrn.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-BCDZb3Gy.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.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-BmOVKYSN.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-
|
|
5
|
-
import { n as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-
|
|
6
|
-
import { t as openBrowser } from "./browser-
|
|
7
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
3
|
+
import { M as throwReportedCliExit, b as toErrorMessage, m as AUTH_HINT, t as ui, y as isNetworkError } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
5
|
+
import { n as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-BgGlAs8a.mjs";
|
|
6
|
+
import { t as openBrowser } from "./browser-CvuyMLhI.mjs";
|
|
7
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-4T5Yad-n.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
//#region ../../packages/shared-types/src/connections/api.ts
|
|
10
10
|
/**
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { D as AuthenticationError, O as CliExitError, b as toErrorMessage, h as REAUTH_HINT, l as logger, m as AUTH_HINT, r as getEnv, t as ui, v as isAuthError } from "./keystroke.mjs";
|
|
5
5
|
import { l as resolveAuthOptions } from "./dist-BF6r1hfv.mjs";
|
|
6
|
-
import { a as writeJsonError } from "./output-
|
|
7
|
-
import { t as getEnv } from "./env-YTZGKGIu.mjs";
|
|
6
|
+
import { a as writeJsonError } from "./output-BCDZb3Gy.mjs";
|
|
8
7
|
//#region src/lib/context.ts
|
|
9
8
|
var context_exports = /* @__PURE__ */ __exportAll({
|
|
10
9
|
assertProjectConfigMatchesAuthenticatedOrg: () => assertProjectConfigMatchesAuthenticatedOrg,
|
|
@@ -37,7 +36,7 @@ async function resolveBaseContext(overrides = {}) {
|
|
|
37
36
|
const authContext = await resolveAuthContext(overrides);
|
|
38
37
|
let client = null;
|
|
39
38
|
if (authContext.apiKey && authContext.baseUrl) try {
|
|
40
|
-
const { createClient } = await import("./src
|
|
39
|
+
const { createClient } = await import("./src--fCtOxNX.mjs");
|
|
41
40
|
client = createClient({
|
|
42
41
|
apiKey: authContext.apiKey,
|
|
43
42
|
baseUrl: authContext.baseUrl,
|
|
@@ -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 { M as throwReportedCliExit, b as toErrorMessage, t as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
6
6
|
//#region src/commands/api-keys/create.handler.ts
|
|
7
7
|
async function handleApiKeysCreate(options, ctx) {
|
|
8
8
|
const client = requireClient(ctx);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as JsonSchemaSchema } from "./common-
|
|
4
|
-
import { c as optionalDescriptionString, f as trimmedNonEmptyString, h as zodObjectSchema, l as optionalTrimmedNonEmptyString, o as jsonSchemaObject, r as credentialSetIdString, u as resolvedCredentialSetIdString } from "./schema-
|
|
5
|
-
import { a as SourceLocationSchema, i as ImportSourceSchema, t as CallKindSchema } from "./source-analysis-
|
|
3
|
+
import { t as JsonSchemaSchema } from "./common-B3bLe3Mk.mjs";
|
|
4
|
+
import { c as optionalDescriptionString, f as trimmedNonEmptyString, h as zodObjectSchema, l as optionalTrimmedNonEmptyString, o as jsonSchemaObject, r as credentialSetIdString, u as resolvedCredentialSetIdString } from "./schema-B-Wgo4rJ.mjs";
|
|
5
|
+
import { a as SourceLocationSchema, i as ImportSourceSchema, t as CallKindSchema } from "./source-analysis-CHkWMC40.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../../packages/core/src/credential-set/constants.ts
|
|
8
8
|
/**
|
package/dist/{credential-schema-mismatch-B-wwbCvw.mjs → credential-schema-mismatch-C-4kBAFw.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-BCDZb3Gy.mjs";
|
|
4
4
|
//#region src/lib/credential-schema-mismatch.ts
|
|
5
5
|
/**
|
|
6
6
|
* Structured detection and rendering for `CredentialSchemaMismatchError`
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { n as CredentialScopeSchema, r as CredentialScopeValues } from "./schema-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BCDZb3Gy.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
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
|
|
8
8
|
const ListOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -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-fGaEAMUZ.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-DI4mgZ2l.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-BMJiaCzk.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-fGaEAMUZ.mjs");
|
|
156
156
|
await handleCredentialsList({
|
|
157
157
|
...opts,
|
|
158
158
|
scope: void 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { i as __toESM, n as __exportAll$1, r as __require, t as __commonJSMin$1 } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import { n as RetryConfigSchema } from "./common-
|
|
5
|
-
import { d as schemaToJsonSchema, f as trimmedNonEmptyString, i as descriptionString, m as validateConfig, n as createStructuralSchema, o as jsonSchemaObject, t as anyZodSchemaSchema } from "./schema-
|
|
6
|
-
import { _ as CREDENTIAL_VISIBILITIES, f as collectCredentialRequirementEntries, g as CREDENTIAL_KINDS, h as credentialSetConfigSchema, m as CredentialSetManifestSchema } from "./credential-requirements-
|
|
7
|
-
import { r as toDeclaredCredentialRequirements } from "./declared-credential-requirements-
|
|
8
|
-
import { i as parseDurationToMs, t as DurationSchema } from "./schedule-
|
|
9
|
-
import { _ as registerOfficialIntegrationOperation, d as getRegisteredOperationContext, g as getOfficialIntegrationMetadata, i as getRegisteredHostedActionDispatcher, l as resolveRegisteredOperationCredentials, m as getRegisteredRuntime, r as getHostedActionExecutionPolicy } from "./hosted-action-dispatcher-registry-
|
|
10
|
-
import { a as require_type, i as require_shams$1, n as require_hasown, t as require_get_intrinsic } from "./get-intrinsic-
|
|
4
|
+
import { n as RetryConfigSchema } from "./common-B3bLe3Mk.mjs";
|
|
5
|
+
import { d as schemaToJsonSchema, f as trimmedNonEmptyString, i as descriptionString, m as validateConfig, n as createStructuralSchema, o as jsonSchemaObject, t as anyZodSchemaSchema } from "./schema-B-Wgo4rJ.mjs";
|
|
6
|
+
import { _ as CREDENTIAL_VISIBILITIES, f as collectCredentialRequirementEntries, g as CREDENTIAL_KINDS, h as credentialSetConfigSchema, m as CredentialSetManifestSchema } from "./credential-requirements-BCW8aQWS.mjs";
|
|
7
|
+
import { r as toDeclaredCredentialRequirements } from "./declared-credential-requirements-BtlcsEVn.mjs";
|
|
8
|
+
import { i as parseDurationToMs, t as DurationSchema } from "./schedule-BWAI6qLx.mjs";
|
|
9
|
+
import { _ as registerOfficialIntegrationOperation, d as getRegisteredOperationContext, g as getOfficialIntegrationMetadata, i as getRegisteredHostedActionDispatcher, l as resolveRegisteredOperationCredentials, m as getRegisteredRuntime, r as getHostedActionExecutionPolicy } from "./hosted-action-dispatcher-registry-BWEtn13o.mjs";
|
|
10
|
+
import { a as require_type, i as require_shams$1, n as require_hasown, t as require_get_intrinsic } from "./get-intrinsic-BjqiGgLt.mjs";
|
|
11
11
|
import { readFile } from "node:fs/promises";
|
|
12
12
|
import { ZodType, z } from "zod";
|
|
13
13
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
package/dist/{current-deployment-workflow-BRYuEubW.mjs → current-deployment-workflow-j5DlVkb2.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { t as assertWorkflowProjectRoot } from "./project-config-
|
|
5
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
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-
|
|
3
|
+
import { _ as getHttpStatus, g as getApiErrorCode, j as WorkflowResolutionError, t as ui } from "./keystroke.mjs";
|
|
4
|
+
import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
5
|
+
import { a as readManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-BB2EHL-l.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Be6RMTb2.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
3
|
import { t as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
5
5
|
//#region src/commands/org/current.handler.ts
|
|
6
6
|
async function handleOrgCurrent(_options, ctx) {
|
|
7
7
|
if (!ctx.organizationId) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { d as schemaToJsonSchema } from "./schema-
|
|
3
|
+
import { d as schemaToJsonSchema } from "./schema-B-Wgo4rJ.mjs";
|
|
4
4
|
import "zod";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
//#region ../../packages/core/src/artifacts/schema-fingerprint.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { M as throwReportedCliExit, b as toErrorMessage, t as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
5
5
|
//#region src/commands/api-keys/delete.handler.ts
|
|
6
6
|
async function handleApiKeysDelete(options, ctx) {
|
|
7
7
|
const client = requireClient(ctx);
|