@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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { a as createKyInstance, n as auth, r as bundles, s as getClientEnv, t as projects } from "./projects-
|
|
3
|
+
import { a as createKyInstance, n as auth, r as bundles, s as getClientEnv, t as projects } from "./projects-DN7dX6nN.mjs";
|
|
4
4
|
//#region ../../packages/workflow-sdk/src/deploy.ts
|
|
5
5
|
function createDeployClient(config = {}) {
|
|
6
6
|
const env = getClientEnv();
|
|
@@ -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-B6_tg5_w.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-CbYYyVOg.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 { t as ui } from "./keystroke.mjs";
|
|
4
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
4
|
+
import { t as createSpinnerProgress } from "./spinner-progress-BB2EHL-l.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,18 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { O as CliExitError, a as isLocalMode, d as ANSI, f as style, l as logger, t as ui } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { t as assertWorkflowProjectRoot } from "./project-config-
|
|
6
|
-
import { r as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as computeWorkflowDiff } from "./diff-utils-DWNcRA8g.mjs";
|
|
5
|
+
import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
6
|
+
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
|
|
7
|
+
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-DvO0q6Fo.mjs";
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Be6RMTb2.mjs";
|
|
10
|
+
import { t as createBuildProgress } from "./build-progress-Mzsk4RKr.mjs";
|
|
11
|
+
import { t as createDeployProgress } from "./deploy-progress-BkpuGfGt.mjs";
|
|
12
|
+
import { t as withErrorBoundary } from "./error-boundary-D6KTx1HL.mjs";
|
|
13
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-j5DlVkb2.mjs";
|
|
14
|
+
import { t as computeWorkflowDiff } from "./diff-utils-D1jYu6ny.mjs";
|
|
16
15
|
import { access } from "node:fs/promises";
|
|
17
16
|
import path from "node:path";
|
|
18
17
|
//#region src/commands/deploy/deploy-diff.ts
|
|
@@ -199,7 +198,7 @@ async function handleDeploy(options, ctx) {
|
|
|
199
198
|
let outDir;
|
|
200
199
|
let artifactFilter;
|
|
201
200
|
try {
|
|
202
|
-
const { runWorkflowBuild } = await import("./workflow-build-
|
|
201
|
+
const { runWorkflowBuild } = await import("./workflow-build-Be6RMTb2.mjs").then((n) => n.o);
|
|
203
202
|
const buildOutcome = await runWorkflowBuild({
|
|
204
203
|
workflowsDir,
|
|
205
204
|
verbose: options.verbose,
|
|
@@ -234,7 +233,7 @@ async function handleDeploy(options, ctx) {
|
|
|
234
233
|
const progress = createDeployProgress();
|
|
235
234
|
let result;
|
|
236
235
|
try {
|
|
237
|
-
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-
|
|
236
|
+
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-DvO0q6Fo.mjs").then((n) => n.r)).deployFromDir)({
|
|
238
237
|
outDir,
|
|
239
238
|
workflowsDir,
|
|
240
239
|
client,
|
|
@@ -261,7 +260,7 @@ async function handleDeploy(options, ctx) {
|
|
|
261
260
|
}
|
|
262
261
|
async function handleTaskTargetDeploy(options) {
|
|
263
262
|
renderBuildHeader(void 0);
|
|
264
|
-
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-
|
|
263
|
+
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-D5IrHqSl.mjs")).buildTaskTargets)({
|
|
265
264
|
projectRoot: options.workflowsDir,
|
|
266
265
|
targetFiles: options.targetFiles,
|
|
267
266
|
disableSourcemaps: options.options.disableSourcemaps
|
|
@@ -279,7 +278,7 @@ async function handleTaskTargetDeploy(options) {
|
|
|
279
278
|
const progress = createDeployProgress();
|
|
280
279
|
let result;
|
|
281
280
|
try {
|
|
282
|
-
result = await (deployHandlerDependencies.deployTaskTargets ?? (await import("./task-target-deploy-
|
|
281
|
+
result = await (deployHandlerDependencies.deployTaskTargets ?? (await import("./task-target-deploy-Bzfftyru.mjs")).deployTaskTargets)({
|
|
283
282
|
preparedTasks: buildResult.preparedTasks,
|
|
284
283
|
client,
|
|
285
284
|
organizationId: options.projectConfig.organizationId,
|
|
@@ -301,7 +300,7 @@ async function handleTaskTargetDeploy(options) {
|
|
|
301
300
|
}
|
|
302
301
|
async function createFullDeployClient(ctx) {
|
|
303
302
|
const authOptions = requireAuthOptions(ctx);
|
|
304
|
-
const { createClient } = await import("./src
|
|
303
|
+
const { createClient } = await import("./src--fCtOxNX.mjs");
|
|
305
304
|
return createClient({
|
|
306
305
|
...authOptions,
|
|
307
306
|
onRequest: (info) => logger.debug(`-> ${info.method} ${info.url}`, {
|
|
@@ -316,7 +315,7 @@ async function createFullDeployClient(ctx) {
|
|
|
316
315
|
}
|
|
317
316
|
async function createTaskDeployClient(ctx) {
|
|
318
317
|
const authOptions = requireAuthOptions(ctx);
|
|
319
|
-
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-
|
|
318
|
+
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-B8TYutOi.mjs")).createDeployClient)(authOptions);
|
|
320
319
|
}
|
|
321
320
|
function renderSuccessSummary(result) {
|
|
322
321
|
const tasks = result.tasks || [];
|
package/dist/{detect-env-access-CwkOYeYM-CsrSOCcj.mjs → detect-env-access-CwkOYeYM-D4o8gRZs.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import { t as __exportAll$1 } from "./rolldown-runtime-twds-ZHy-
|
|
4
|
+
import { t as __exportAll$1 } from "./rolldown-runtime-twds-ZHy-RuJszab7.mjs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
//#region ../../packages/workflow-builder/dist/detect-env-access-CwkOYeYM.mjs
|
|
7
7
|
var detect_env_access_CwkOYeYM_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { d as ANSI, f as style, t as ui } 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 { M as throwReportedCliExit, O as CliExitError, b as toErrorMessage, t as ui } 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-BCDZb3Gy.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
|
|
7
|
+
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-j5DlVkb2.mjs";
|
|
8
|
+
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-D1jYu6ny.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,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
|
|
4
|
-
import { t as assertWorkflowProjectRoot } from "./project-config-
|
|
5
|
-
import { r as SHA256HashSchema } from "./common-
|
|
6
|
-
import { f as collectCredentialRequirementEntries, l as TriggerUploadDataSchema } from "./credential-requirements-
|
|
7
|
-
import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-
|
|
8
|
-
import { t as AgentVersionManifestSchema } from "./agent-manifest-
|
|
9
|
-
import { n as TaskBuildManifestSchema } from "./task-
|
|
10
|
-
import { n as FileMetadataSchema } from "./file-metadata-
|
|
11
|
-
import { t as computeProjectSnapshotHash } from "./task-target-deploy-Bf5i3ox1-
|
|
12
|
-
import { a as MANIFEST_FILE_NAME, d as getMetadataRoot, f as getTriggersDir, m as getWorkflowManifestPath, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-
|
|
13
|
-
import { n as resolveProjectBuildOutputDir } from "./utils-
|
|
14
|
-
import { t as TriggerBuildManifestSchema } from "./trigger-manifest-
|
|
15
|
-
import { t as batchUpload } from "./upload-
|
|
4
|
+
import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
5
|
+
import { r as SHA256HashSchema } from "./common-B3bLe3Mk.mjs";
|
|
6
|
+
import { f as collectCredentialRequirementEntries, l as TriggerUploadDataSchema } from "./credential-requirements-BCW8aQWS.mjs";
|
|
7
|
+
import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-BfL74mjp.mjs";
|
|
8
|
+
import { t as AgentVersionManifestSchema } from "./agent-manifest-sJFbH5H8.mjs";
|
|
9
|
+
import { n as TaskBuildManifestSchema } from "./task-1qz1XNq7.mjs";
|
|
10
|
+
import { n as FileMetadataSchema } from "./file-metadata-BvGM-B2v.mjs";
|
|
11
|
+
import { t as computeProjectSnapshotHash } from "./task-target-deploy-Bf5i3ox1-2K0hAwzk.mjs";
|
|
12
|
+
import { a as MANIFEST_FILE_NAME, d as getMetadataRoot, f as getTriggersDir, m as getWorkflowManifestPath, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-CXkZEsXI.mjs";
|
|
13
|
+
import { n as resolveProjectBuildOutputDir } from "./utils-C_qCshBA.mjs";
|
|
14
|
+
import { t as TriggerBuildManifestSchema } from "./trigger-manifest-B3Gq1739.mjs";
|
|
15
|
+
import { t as batchUpload } from "./upload-C1qFWMm0.mjs";
|
|
16
16
|
import { createReadStream } from "node:fs";
|
|
17
17
|
import * as fs from "node:fs/promises";
|
|
18
18
|
import { stat } from "node:fs/promises";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { M as throwReportedCliExit, O as CliExitError, b as toErrorMessage, d as ANSI, f as style, h as REAUTH_HINT, t as ui, v as isAuthError, y as isNetworkError } 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-
|
|
7
|
-
import { n as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-
|
|
8
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
9
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
10
|
-
import { t as groupCredentialRequirements } from "./credentials-
|
|
11
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
5
|
+
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
7
|
+
import { n as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-BgGlAs8a.mjs";
|
|
8
|
+
import { a as readManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
9
|
+
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
10
|
+
import { t as groupCredentialRequirements } from "./credentials-DAQfKqn0.mjs";
|
|
11
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-4T5Yad-n.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 { O as CliExitError, b as toErrorMessage, l as logger, t as ui, y as isNetworkError } from "./keystroke.mjs";
|
|
4
|
+
import { r as isJsonMode } from "./output-BCDZb3Gy.mjs";
|
|
5
|
+
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-C-4kBAFw.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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { a as SourceLocationSchema, r as CapturedVariableSchema } from "./source-analysis-
|
|
3
|
+
import { a as SourceLocationSchema, r as CapturedVariableSchema } from "./source-analysis-CHkWMC40.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
z.enum([
|
|
6
6
|
"pending",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
3
|
+
import { M as throwReportedCliExit, _ as getHttpStatus, b as toErrorMessage, t as ui } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError } from "./output-BCDZb3Gy.mjs";
|
|
5
5
|
//#region src/lib/iam-command-utils.ts
|
|
6
6
|
function requireOrganizationId(ctx) {
|
|
7
7
|
if (ctx.organizationId) return ctx.organizationId;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as findProjectRoot } from "./project-config-
|
|
4
|
-
import { a as idNoSpacesString, c as optionalDescriptionString, f as trimmedNonEmptyString, i as descriptionString, l as optionalTrimmedNonEmptyString, n as createStructuralSchema, o as jsonSchemaObject, s as jsonValueSchema, t as anyZodSchemaSchema } from "./schema-
|
|
5
|
-
import { m as CredentialSetManifestSchema, n as DeclaredCredentialRequirementSchema } from "./credential-requirements-
|
|
6
|
-
import { a as FlowGraphSchema, n as WORKFLOW_MANIFEST_SCHEMA_VERSION, r as WorkflowCoreManifestSchema } from "./workflow-manifest-
|
|
7
|
-
import { n as IANATimezoneSchema, r as ScheduleSchema } from "./schedule-
|
|
8
|
-
import { n as TriggerRuntimeDescriptorSchema, r as triggerBaseConfigSchema } from "./schemas-
|
|
9
|
-
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-
|
|
3
|
+
import { n as findProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
4
|
+
import { a as idNoSpacesString, c as optionalDescriptionString, f as trimmedNonEmptyString, i as descriptionString, l as optionalTrimmedNonEmptyString, n as createStructuralSchema, o as jsonSchemaObject, s as jsonValueSchema, t as anyZodSchemaSchema } from "./schema-B-Wgo4rJ.mjs";
|
|
5
|
+
import { m as CredentialSetManifestSchema, n as DeclaredCredentialRequirementSchema } from "./credential-requirements-BCW8aQWS.mjs";
|
|
6
|
+
import { a as FlowGraphSchema, n as WORKFLOW_MANIFEST_SCHEMA_VERSION, r as WorkflowCoreManifestSchema } from "./workflow-manifest-BfL74mjp.mjs";
|
|
7
|
+
import { n as IANATimezoneSchema, r as ScheduleSchema } from "./schedule-BWAI6qLx.mjs";
|
|
8
|
+
import { n as TriggerRuntimeDescriptorSchema, r as triggerBaseConfigSchema } from "./schemas-9FmGqrPT.mjs";
|
|
9
|
+
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-CnBnF2cg.mjs";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import * as os from "node:os";
|
|
12
12
|
import * as path$1 from "node:path";
|
|
13
|
-
import { z } from "zod";
|
|
14
13
|
import { pathToFileURL } from "node:url";
|
|
14
|
+
import { z } from "zod";
|
|
15
15
|
import { execFile } from "node:child_process";
|
|
16
16
|
import { randomUUID } from "node:crypto";
|
|
17
17
|
import { promisify } from "node:util";
|
|
@@ -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-B6_tg5_w.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-HsCte00n.mjs")).handleInit
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { O as CliExitError, t as ui } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
7
|
-
import { t as syncKeystrokeAgentSkills } from "./sync-keystroke-agent-skills-
|
|
5
|
+
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-D9eFU8Jk.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
7
|
+
import { t as syncKeystrokeAgentSkills } from "./sync-keystroke-agent-skills-D746f2W_.mjs";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import { readFileSync } from "node:fs";
|
|
10
10
|
import { access, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
11
11
|
import * as path$1 from "node:path";
|
|
12
12
|
import path from "node:path";
|
|
13
|
-
import { cancel, isCancel, text } from "@clack/prompts";
|
|
14
13
|
import { fileURLToPath } from "node:url";
|
|
14
|
+
import { cancel, isCancel, text } from "@clack/prompts";
|
|
15
15
|
//#region src/lib/keystroke-scaffold-version-ranges.ts
|
|
16
16
|
/** When the CLI cannot resolve `@keystrokehq/core` on disk (e.g. bundled installs). */
|
|
17
17
|
const FALLBACK_WORKFLOW_CORE_VERSION_RANGE = "^0.0.1";
|
|
@@ -1,11 +1,11 @@
|
|
|
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 } from "./output-
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { i as resolveTypeHint } from "./schema-display-
|
|
8
|
-
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
5
|
+
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
|
|
7
|
+
import { i as resolveTypeHint } from "./schema-display-DuWBmkwk.mjs";
|
|
8
|
+
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-j5DlVkb2.mjs";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
11
11
|
function formatBuildTimestamp(iso) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { M as throwReportedCliExit, O as CliExitError, b as toErrorMessage, h as REAUTH_HINT, t as ui, v as isAuthError, y as isNetworkError } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError } from "./output-BCDZb3Gy.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DT06adrn.mjs";
|
|
6
6
|
//#region src/lib/integration-catalog.ts
|
|
7
7
|
const catalogCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function buildView(entries) {
|
|
@@ -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/integrations/integrations.command.ts
|
|
7
7
|
const IntegrationsListOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -46,20 +46,20 @@ function createIntegrationsCommand() {
|
|
|
46
46
|
description: "List Keystroke integrations available to your organization",
|
|
47
47
|
schema: IntegrationsListOptionsSchema,
|
|
48
48
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
49
|
-
loadHandler: async () => (await import("./list.handler-
|
|
49
|
+
loadHandler: async () => (await import("./list.handler-BFjtABDv.mjs")).handleIntegrationsList,
|
|
50
50
|
subcommands: [createTypedCommand({
|
|
51
51
|
name: "list",
|
|
52
52
|
description: "List Keystroke integrations available to your organization",
|
|
53
53
|
schema: IntegrationsListOptionsSchema,
|
|
54
54
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
55
|
-
loadHandler: async () => (await import("./list.handler-
|
|
55
|
+
loadHandler: async () => (await import("./list.handler-BFjtABDv.mjs")).handleIntegrationsList
|
|
56
56
|
}), createTypedCommand({
|
|
57
57
|
name: "register",
|
|
58
58
|
description: "Register a workspace provider app for future workspace-authored OAuth support",
|
|
59
59
|
schema: IntegrationsRegisterOptionsSchema,
|
|
60
60
|
optionsConfig: INTEGRATIONS_REGISTER_OPTIONS_CONFIG,
|
|
61
61
|
handler: async (opts, ctx) => {
|
|
62
|
-
const { handleIntegrationsRegister } = await import("./register.handler-
|
|
62
|
+
const { handleIntegrationsRegister } = await import("./register.handler-BA6p-TmU.mjs");
|
|
63
63
|
await handleIntegrationsRegister({
|
|
64
64
|
integrationId: opts.integrationId,
|
|
65
65
|
clientAppCredentialSetId: opts.clientApp,
|
|
@@ -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/invites/invites.command.ts
|
|
7
7
|
const InvitesListOptionsSchema = JsonOptionSchema;
|
|
@@ -19,13 +19,13 @@ function createInvitesCommand() {
|
|
|
19
19
|
description: "Manage invitations for the current user",
|
|
20
20
|
schema: InvitesListOptionsSchema,
|
|
21
21
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
22
|
-
loadHandler: async () => (await import("./list.handler-
|
|
22
|
+
loadHandler: async () => (await import("./list.handler-CXT-te4G.mjs")).handleInvitesList,
|
|
23
23
|
subcommands: [createTypedCommand({
|
|
24
24
|
name: "list",
|
|
25
25
|
description: "List pending invites for the current user",
|
|
26
26
|
schema: InvitesListOptionsSchema,
|
|
27
27
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
28
|
-
loadHandler: async () => (await import("./list.handler-
|
|
28
|
+
loadHandler: async () => (await import("./list.handler-CXT-te4G.mjs")).handleInvitesList
|
|
29
29
|
}), createTypedCommand({
|
|
30
30
|
name: "accept",
|
|
31
31
|
description: "Accept a pending invite",
|
|
@@ -36,7 +36,7 @@ function createInvitesCommand() {
|
|
|
36
36
|
description: "Invite ID to accept",
|
|
37
37
|
key: "inviteId"
|
|
38
38
|
},
|
|
39
|
-
loadHandler: async () => (await import("./accept.handler-
|
|
39
|
+
loadHandler: async () => (await import("./accept.handler-PpOOUemk.mjs")).handleInvitesAccept
|
|
40
40
|
})]
|
|
41
41
|
});
|
|
42
42
|
}
|
|
@@ -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 { i as requireOrganizationId, 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 { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/org/invites.list.handler.ts
|
|
9
9
|
async function handleOrgInvitesList(_options, ctx) {
|
|
@@ -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 { i as requireOrganizationId, 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 { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.mjs";
|
|
7
7
|
//#region src/commands/org/invites.resend.handler.ts
|
|
8
8
|
async function handleOrgInvitesResend(options, ctx) {
|
|
9
9
|
const client = requireClient(ctx);
|
|
@@ -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 { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, 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 { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.mjs";
|
|
7
7
|
//#region src/commands/org/invites.revoke.handler.ts
|
|
8
8
|
async function handleOrgInvitesRevoke(options, ctx) {
|
|
9
9
|
const client = requireClient(ctx);
|