@keystrokehq/cli 0.0.18 → 0.0.20
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/README.md +1 -1
- package/dist/{accept.handler-B7QzdKCh.mjs → accept.handler-CiqqUxKN.mjs} +1 -1
- package/dist/{admin-CYpulx_A.mjs → admin-B0U2Aghv.mjs} +9 -9
- package/dist/{agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs → agent-bundle-package-DWV6B_5q-BsbCEeMw.mjs} +1 -1
- package/dist/{agents-Co6Jy_N8.mjs → agents-DBebUEwk.mjs} +6 -6
- package/dist/{api-DsK8M-ZH.mjs → api-BjBpWWlm.mjs} +4 -5
- package/dist/{api-keys-BUCLzRv_.mjs → api-keys-BHAgmC4E.mjs} +5 -5
- package/dist/{auth-niNm-yNT.mjs → auth-D-PZAjdd.mjs} +6 -6
- package/dist/{auth.handler-BTH-Qb00.mjs → auth.handler-CxTDSO6O.mjs} +3 -3
- package/dist/{build-agents-DseUtzd4-CthuIecx.mjs → build-agents-DseUtzd4-BNtZrqoY.mjs} +5 -5
- package/dist/{build-metadata-C8Ra_Gi--L3l8w0rh.mjs → build-metadata-BB_L45ZS-d5-QLDZ5.mjs} +10 -10
- package/dist/{build-progress-AR8xow4_.mjs → build-progress-BVwDg6lC.mjs} +1 -1
- package/dist/{build-tasks-GVuMLS0h-CCxCqd02.mjs → build-tasks-C09SdfjC-DxKcmENc.mjs} +4 -4
- package/dist/{build-workflows-CV4tBo6S-DhFBlp6m.mjs → build-workflows-BZ_m97Pr-DwcnRlyh.mjs} +9 -10
- package/dist/{build.handler-BmlXPhed.mjs → build.handler-CTX80S1K.mjs} +4 -4
- package/dist/{chunk-CH6r78ws.mjs → chunk-DYxdGL9S.mjs} +2 -1
- package/dist/{clear.handler-BDlwBzX4.mjs → clear.handler-Bksm2HI4.mjs} +1 -1
- package/dist/{commander-BE37hxR3.mjs → commander-DQLrBSIW.mjs} +1 -1
- package/dist/{connect-C9NMD8Ky.mjs → connect-DV_EztVs.mjs} +2 -2
- package/dist/{connect.handler-C7kysvhz.mjs → connect.handler-DbuGt3Xb.mjs} +3 -3
- package/dist/{context-Bid-Rqj7.mjs → context-BUzxM3QI.mjs} +2 -2
- package/dist/{create.handler-Cp9CV6SN.mjs → create.handler-CQCRk-Na.mjs} +1 -1
- package/dist/{credentials-fMfKVlEn.mjs → credentials-m18a1_hw.mjs} +6 -6
- package/dist/{credentials-DUkVbhvj.mjs → credentials-xPtLFTjW.mjs} +2 -2
- package/dist/{current-deployment-workflow-DiwUcKoB.mjs → current-deployment-workflow-pyBoobIm.mjs} +4 -4
- package/dist/{current.handler-eCR4nClu.mjs → current.handler-BJGJgdGP.mjs} +1 -1
- package/dist/{default-urls-CTQqM1_A.mjs → default-urls-BoSm4s9C.mjs} +1 -1
- package/dist/{delete.handler-D4ElSAcr.mjs → delete.handler-DNoehdOH.mjs} +1 -1
- package/dist/{deploy-B7LRWcp6.mjs → deploy-3tHCBGky.mjs} +2 -2
- package/dist/{deploy-DyZh--f7.mjs → deploy-BKjcO_sm.mjs} +1 -1
- package/dist/{deploy-progress-DK87VKJ-.mjs → deploy-progress-CyolzjRB.mjs} +1 -1
- package/dist/{deploy.handler-DVnH-Niv.mjs → deploy.handler-TnPNBYXZ.mjs} +27 -15
- package/dist/{detect-env-access-CwkOYeYM-CNTyUzme.mjs → detect-env-access-CwkOYeYM-D8-hxij0.mjs} +2 -2
- package/dist/{diff.handler-lIA2pRBX.mjs → diff.handler-DO2WzdGB.mjs} +3 -3
- package/dist/{dist-WFPTDQB3.mjs → dist-BGrWr5fp.mjs} +32 -37
- package/dist/{env.handler-BIzQLlmo.mjs → env.handler-C5GNyiJt.mjs} +6 -6
- package/dist/{error-boundary-B8cmSwJH.mjs → error-boundary-GtRvP2oP.mjs} +1 -1
- package/dist/{file-metadata-lrX05iRt.mjs → file-metadata-B8c7Y5yg.mjs} +2 -7
- package/dist/{import-module--8x5SLum-D7EiPjwl.mjs → import-module-y0glInUe-CfNsQNia.mjs} +48 -839
- package/dist/{init-jaqNLGmB.mjs → init-D9RIT2CY.mjs} +3 -3
- package/dist/{init.handler-DamvbPEw.mjs → init.handler-0TJY1YNy.mjs} +2 -2
- package/dist/{inspect.handler-_UcN7dxE.mjs → inspect.handler-BrYFfN4H.mjs} +3 -3
- package/dist/{integration-catalog-m8tj_XlD.mjs → integration-catalog-BrJsBkfx.mjs} +1 -1
- package/dist/integrations-vSyAQ6HA.mjs +185 -0
- package/dist/{invites-VntHNMYk.mjs → invites-BASM4PJr.mjs} +4 -4
- package/dist/{invites.list.handler-CPl4QHfc.mjs → invites.list.handler-c-aw6g5o.mjs} +1 -1
- package/dist/{invites.resend.handler-BAtb3AX4.mjs → invites.resend.handler-MnMEjP_Z.mjs} +1 -1
- package/dist/{invites.revoke.handler-qXOF1Vgx.mjs → invites.revoke.handler-CHX6Z8kj.mjs} +1 -1
- package/dist/keystroke.mjs +25 -24
- package/dist/{list-enrichment-DYvr3XDb.mjs → list-enrichment-DcplcioC.mjs} +1 -1
- package/dist/{list.handler-C_iBLBmS.mjs → list.handler-BBzB1_1l.mjs} +1 -1
- package/dist/{list.handler-pHnPFep8.mjs → list.handler-BsgCd1oF.mjs} +5 -5
- package/dist/{list.handler-BdRsjRlf.mjs → list.handler-CDtjm-6d.mjs} +1 -1
- package/dist/{list.handler-DUz1bJ4x.mjs → list.handler-DJNtXw7C.mjs} +1 -1
- package/dist/{list.handler-CEjKSezx.mjs → list.handler-DXwKdfIv.mjs} +2 -2
- package/dist/{list.handler-CJUFdmaU.mjs → list2.handler-BdE1k2kl.mjs} +3 -3
- package/dist/{listen-DLGZEQRL.mjs → listen-Ca9KdiB2.mjs} +2 -2
- package/dist/{listen.handler-kaAvYk-B.mjs → listen.handler-KWPN03S8.mjs} +2 -2
- package/dist/{logs-CcYqFKRU.mjs → logs-BEDf7hZ0.mjs} +3 -3
- package/dist/{logs.handler-lboRKNoE.mjs → logs.handler-mk1lcZbU.mjs} +2 -2
- package/dist/{members.add.handler-DBydP0SR.mjs → members.add.handler-CTvlxBZU.mjs} +1 -1
- package/dist/{members.invite.handler-D4-7fiYC.mjs → members.invite.handler-wFO0r7Pi.mjs} +1 -1
- package/dist/{members.list.handler-Z4cIbcNg.mjs → members.list.handler-PPdqs4nI.mjs} +1 -1
- package/dist/{members.remove.handler-J56D83O7.mjs → members.remove.handler-a5WI6zE4.mjs} +1 -1
- package/dist/{members.update.handler-B5rBv6dt.mjs → members.update.handler-3xblTzmz.mjs} +1 -1
- package/dist/{metadata-layout-Bv-B0nHj-B1c5giJ7.mjs → metadata-layout-Bv-B0nHj-DtMWZ7Cc.mjs} +1 -1
- package/dist/{normalize-path-CojS-CgQ-D4wSBHgG.mjs → normalize-path-CojS-CgQ-CRqBc6D6.mjs} +1 -1
- package/dist/{org-DGS91uc-.mjs → org-CzLw3neZ.mjs} +15 -15
- package/dist/{orgs.create.handler-B4naNUSN.mjs → orgs.create.handler-CcPpDweZ.mjs} +1 -1
- package/dist/{orgs.get.handler-Ci_JrT08.mjs → orgs.get.handler-BACPg7vR.mjs} +1 -1
- package/dist/{orgs.list.handler-CJ2byIEj.mjs → orgs.list.handler-DEF8OyvM.mjs} +1 -1
- package/dist/{paused.handler-BQSQvQhB.mjs → paused.handler-D4j8_Za4.mjs} +1 -1
- package/dist/{projects-D90_uEC2.mjs → projects-CJCKxG2u.mjs} +4 -4
- package/dist/{projects-fWvIJQ80.mjs → projects-s5ehKLil.mjs} +6 -4
- package/dist/{register.handler-CleQJhtQ.mjs → register.handler-CSvlOMF6.mjs} +18 -9
- package/dist/{requirements.handler-B51sxQSy.mjs → requirements.handler-Bk-sAE9C.mjs} +5 -5
- package/dist/{run-polling-CC6y2XXI.mjs → run-polling-DKclfet-.mjs} +3 -3
- package/dist/{run.handler-B31BpZJP.mjs → run.handler-x0B-CjNF.mjs} +4 -4
- package/dist/{runs-Bg_qDeQi.mjs → runs-DoMVOCNj.mjs} +2 -2
- package/dist/{schemas-B8c7Z5Iy.mjs → schemas-U2OzP9gP.mjs} +3 -2
- package/dist/{skills-sync.handler-DOxudKmV.mjs → skills-sync.handler-CYkCeuQn.mjs} +1 -1
- package/dist/{skills.command-JwKWpGvU.mjs → skills.command-DeAgMGGw.mjs} +4 -4
- package/dist/{source-analysis-BBg2E_6G-Ut7kYHOz.mjs → source-analysis-BBg2E_6G-BJTRqWrQ.mjs} +3 -3
- package/dist/{source-analysis-Cs0CTBQk.mjs → source-analysis-BMMPIHN9.mjs} +1 -1
- package/dist/src-BHTjsZ9V.mjs +456 -0
- package/dist/{src-B0tNjKMg.mjs → src-BYQwp8Ig.mjs} +1 -1
- package/dist/{switch.handler-Cu81T2HY.mjs → switch.handler-CV4ZBXAu.mjs} +1 -1
- package/dist/{sync-CXNveL61.mjs → sync-KCVM02IY.mjs} +2 -2
- package/dist/{sync.handler-7g1yDt0H.mjs → sync.handler-Cuw89341.mjs} +6 -6
- package/dist/task-BSCN9cU4.mjs +945 -0
- package/dist/{task-target-build-BaMtXnN7.mjs → task-target-build-B0HF2_At.mjs} +41 -55
- package/dist/task-target-deploy-ClbwKJ8K.mjs +4 -0
- package/dist/{task-target-deploy-CZBGNC0H-I-tvkGCC.mjs → task-target-deploy-dQYnMO8n-CeTmRcDw.mjs} +15 -17
- package/dist/task-target-deploy-runner.mjs +6 -6
- package/dist/{test-A5hz3c7j.mjs → test-Rm3thni3.mjs} +2 -2
- package/dist/{test.handler-CJtaMZVy.mjs → test.handler-CTd-heRS.mjs} +8 -8
- package/dist/{test.handler-Cq2l7SAr.mjs → test.handler-DhhcsvHN.mjs} +1 -1
- package/dist/{tool.handler-B-mOL128.mjs → tool.handler-C3LNyQbc.mjs} +9 -63
- package/dist/{trigger-artifacts-RizI57RC-DjhOsdOm.mjs → trigger-artifacts-BcRScRSp-DqFgzl_B.mjs} +53 -119
- package/dist/trigger-manifest-DTni4NaZ.mjs +42 -0
- package/dist/{upgrade-DhfpoyRV.mjs → upgrade-Cf7y38xR.mjs} +2 -2
- package/dist/{upload-BbcMkyVl.mjs → upload-CJWApEgz.mjs} +1 -1
- package/dist/{upload.handler-D3-W_1kq.mjs → upload.handler-BHIWYPph.mjs} +7 -7
- package/dist/{users.get.handler-Bd0OBI-E.mjs → users.get.handler-spWaHG8h.mjs} +1 -1
- package/dist/{users.list.handler-CacJz6eC.mjs → users.list.handler-DLuU7cd_.mjs} +1 -1
- package/dist/{users.set-role.handler-bZMQtUR0.mjs → users.set-role.handler-CojFmpcD.mjs} +1 -1
- package/dist/{utils-BMUWnz1P.mjs → utils-Ddltm1sR.mjs} +1 -1
- package/dist/{validate.handler-Ccq66ki4.mjs → validate.handler-DIJBuX1P.mjs} +4 -4
- package/dist/{workflow-build-_WNsLKwW.mjs → workflow-build-IGYhEC8Y.mjs} +22 -22
- package/dist/{workflow-bundler-BzHk73PM-WI31RJjH.mjs → workflow-bundler-BzHk73PM-Cs-4Ml-p.mjs} +2 -2
- package/dist/{workflows-Dy2M9bEr.mjs → workflows-MANdvLft.mjs} +19 -21
- package/dist/{writer-B-SpZ0G2-tq1MFgid.mjs → writer-byNNUjRm-w5O7-VT_.mjs} +24 -33
- package/package.json +11 -11
- package/dist/common-AK0q0Oz0.mjs +0 -20
- package/dist/credential-requirements-DrrQ9x9P.mjs +0 -250
- package/dist/cron-parser-Dw_cWzFu.mjs +0 -393
- package/dist/declared-credential-requirements-D6KT-r-e.mjs +0 -103
- package/dist/integrations-DRL3JmC8.mjs +0 -85
- package/dist/task-BguWXIiH.mjs +0 -486
- package/dist/task-target-deploy-DmpCWE3u.mjs +0 -4
- package/dist/trigger-manifest-Bq2zRbkV.mjs +0 -29
- package/dist/workflow-build-manifest-B2GqHyWE.mjs +0 -259
- /package/dist/{agent-manifest-tIsqF2OP.mjs → agent-manifest-CZ7BeUSG.mjs} +0 -0
- /package/dist/{browser-BpJ8ut9z.mjs → browser-Cu4k-wT_.mjs} +0 -0
- /package/dist/{clear-cache.handler-CTLQ1PIN.mjs → clear-cache.handler-8RFmjHoo.mjs} +0 -0
- /package/dist/{clear.handler-C_pXAeBG.mjs → clear.handler-mfNmIUYP.mjs} +0 -0
- /package/dist/{concurrency-gXn9Rw8x-BTlfau8D.mjs → concurrency-gXn9Rw8x-BSBbRfVp.mjs} +0 -0
- /package/dist/{credential-env-map-BA4LNI7x.mjs → credential-env-map-qLCR_QbO.mjs} +0 -0
- /package/dist/{credential-schema-mismatch-z74ud-YZ.mjs → credential-schema-mismatch-BHI_B-U-.mjs} +0 -0
- /package/dist/{diff-utils-B0ED-Igv.mjs → diff-utils-x5pi8SrL.mjs} +0 -0
- /package/dist/{layout-P1v-Gssz.mjs → layout-DRf9qUf8.mjs} +0 -0
- /package/dist/{list.handler-BLkQKiV1.mjs → list.handler-CynN-ezD.mjs} +0 -0
- /package/dist/{logs.handler-DyRoevtO.mjs → logs.handler-CcA1UzJm.mjs} +0 -0
- /package/dist/{oxc-B3KI3rf_-Cvx4Z-4H.mjs → oxc-B3KI3rf_-Cnk0L10M.mjs} +0 -0
- /package/dist/{read-credential-keys-77a91T8M-B0eiobOd.mjs → read-credential-keys-77a91T8M-CzXPGxdU.mjs} +0 -0
- /package/dist/{resolve-project-CNQtOWE4.mjs → resolve-project-CWP2fji3.mjs} +0 -0
- /package/dist/{rolldown-runtime-twds-ZHy-8uqgIurC.mjs → rolldown-runtime-twds-ZHy-BoF7MLzP.mjs} +0 -0
- /package/dist/{run-polling-DARidqo-.mjs → run-polling-CzyVv7Ba.mjs} +0 -0
- /package/dist/{schema-BjH_e4Fo.mjs → schema-CvSZqa3t.mjs} +0 -0
- /package/dist/{schema-display-NVEl_DFY.mjs → schema-display-DxLA3j5H.mjs} +0 -0
- /package/dist/{skill-installer-BBgN2tzW.mjs → skill-installer-CYFshTBy.mjs} +0 -0
- /package/dist/{skills.handler-Do9I3dQS.mjs → skills.handler-Bma-MJX-.mjs} +0 -0
- /package/dist/{spinner-progress-Bx-fYItP.mjs → spinner-progress-DV28G4tP.mjs} +0 -0
- /package/dist/{status.handler-BsVtDW_V.mjs → status.handler-BOV0eX3J.mjs} +0 -0
- /package/dist/{types-BMBuhHhW.mjs → types-DamInJD6.mjs} +0 -0
- /package/dist/{upgrade.handler-5qSzPC7D.mjs → upgrade.handler-Bz_oQcAw.mjs} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
-
import { t as SKILL_INSTALL_METHODS } from "./types-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
|
|
4
|
+
import { t as SKILL_INSTALL_METHODS } from "./types-DamInJD6.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/init/init.command.ts
|
|
7
7
|
const InitOptionsSchema = z.object({
|
|
@@ -45,7 +45,7 @@ function createInitCommand() {
|
|
|
45
45
|
description: "Initialize a Keystroke project (creates keystroke.config.ts)",
|
|
46
46
|
schema: InitOptionsSchema,
|
|
47
47
|
optionsConfig: INIT_OPTIONS_CONFIG,
|
|
48
|
-
loadHandler: async () => (await import("./init.handler-
|
|
48
|
+
loadHandler: async () => (await import("./init.handler-0TJY1YNy.mjs")).handleInit
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { D as CliExitError, a as ui, i as fetchLatestNpmPackageVersion } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-DudGRFPO.mjs";
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
7
|
-
import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-
|
|
6
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
7
|
+
import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-CYFshTBy.mjs";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { access, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
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-
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-BUzxM3QI.mjs";
|
|
7
|
+
import { i as resolveTypeHint } from "./schema-display-DxLA3j5H.mjs";
|
|
8
|
+
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-pyBoobIm.mjs";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
11
11
|
function formatBuildTimestamp(iso) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { D as CliExitError, _ as isAuthError, a as ui, j as throwReportedCliExit, m as REAUTH_HINT, v as isNetworkError, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { a as writeJsonError } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
//#region src/lib/integration-catalog.ts
|
|
7
7
|
const catalogCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function buildView(entries) {
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
|
|
5
|
+
import { t as ConnectionKindValues } from "./api-BjBpWWlm.mjs";
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
//#region ../../packages/shared-types/src/platform-providers/index.ts
|
|
8
|
+
const platformProviderRegistry = {
|
|
9
|
+
airtable: {
|
|
10
|
+
supportsMessagingGateway: false,
|
|
11
|
+
messagingAdapterType: null
|
|
12
|
+
},
|
|
13
|
+
slack: {
|
|
14
|
+
supportsMessagingGateway: true,
|
|
15
|
+
messagingAdapterType: "slack"
|
|
16
|
+
},
|
|
17
|
+
linear: {
|
|
18
|
+
supportsMessagingGateway: true,
|
|
19
|
+
messagingAdapterType: "linear"
|
|
20
|
+
},
|
|
21
|
+
github: {
|
|
22
|
+
supportsMessagingGateway: true,
|
|
23
|
+
messagingAdapterType: "github"
|
|
24
|
+
},
|
|
25
|
+
google: {
|
|
26
|
+
supportsMessagingGateway: true,
|
|
27
|
+
messagingAdapterType: null
|
|
28
|
+
},
|
|
29
|
+
notion: {
|
|
30
|
+
supportsMessagingGateway: false,
|
|
31
|
+
messagingAdapterType: null
|
|
32
|
+
},
|
|
33
|
+
salesforce: {
|
|
34
|
+
supportsMessagingGateway: false,
|
|
35
|
+
messagingAdapterType: null
|
|
36
|
+
},
|
|
37
|
+
shopify: {
|
|
38
|
+
supportsMessagingGateway: false,
|
|
39
|
+
messagingAdapterType: null
|
|
40
|
+
},
|
|
41
|
+
spotify: {
|
|
42
|
+
supportsMessagingGateway: false,
|
|
43
|
+
messagingAdapterType: null
|
|
44
|
+
},
|
|
45
|
+
strava: {
|
|
46
|
+
supportsMessagingGateway: false,
|
|
47
|
+
messagingAdapterType: null
|
|
48
|
+
},
|
|
49
|
+
zoom: {
|
|
50
|
+
supportsMessagingGateway: false,
|
|
51
|
+
messagingAdapterType: null
|
|
52
|
+
},
|
|
53
|
+
calendly: {
|
|
54
|
+
supportsMessagingGateway: false,
|
|
55
|
+
messagingAdapterType: null
|
|
56
|
+
},
|
|
57
|
+
docusign: {
|
|
58
|
+
supportsMessagingGateway: false,
|
|
59
|
+
messagingAdapterType: null
|
|
60
|
+
},
|
|
61
|
+
ramp: {
|
|
62
|
+
supportsMessagingGateway: false,
|
|
63
|
+
messagingAdapterType: null
|
|
64
|
+
},
|
|
65
|
+
zendesk: {
|
|
66
|
+
supportsMessagingGateway: false,
|
|
67
|
+
messagingAdapterType: null
|
|
68
|
+
},
|
|
69
|
+
supabase: {
|
|
70
|
+
supportsMessagingGateway: false,
|
|
71
|
+
messagingAdapterType: null
|
|
72
|
+
},
|
|
73
|
+
gusto: {
|
|
74
|
+
supportsMessagingGateway: false,
|
|
75
|
+
messagingAdapterType: null
|
|
76
|
+
},
|
|
77
|
+
sentry: {
|
|
78
|
+
supportsMessagingGateway: false,
|
|
79
|
+
messagingAdapterType: null
|
|
80
|
+
},
|
|
81
|
+
typeform: {
|
|
82
|
+
supportsMessagingGateway: false,
|
|
83
|
+
messagingAdapterType: null
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
function toNonEmptyTuple(values) {
|
|
87
|
+
if (values.length === 0) throw new Error("Expected at least one provider value");
|
|
88
|
+
return values;
|
|
89
|
+
}
|
|
90
|
+
const PlatformProviderValues = toNonEmptyTuple(Object.freeze(Object.keys(platformProviderRegistry)));
|
|
91
|
+
const MessagingGatewayProviderValues = toNonEmptyTuple(Object.freeze(PlatformProviderValues.filter((provider) => platformProviderRegistry[provider].supportsMessagingGateway)));
|
|
92
|
+
const PlatformProviderSchema = z.enum(PlatformProviderValues);
|
|
93
|
+
z.enum(MessagingGatewayProviderValues);
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region src/commands/integrations/integrations.command.ts
|
|
96
|
+
const IntegrationsListOptionsSchema = JsonOptionSchema.extend({
|
|
97
|
+
kind: z.enum(ConnectionKindValues).optional(),
|
|
98
|
+
search: z.string().optional(),
|
|
99
|
+
connected: z.boolean().optional(),
|
|
100
|
+
details: z.boolean().optional()
|
|
101
|
+
});
|
|
102
|
+
const INTEGRATIONS_LIST_OPTIONS_CONFIG = {
|
|
103
|
+
...JSON_OPTION_CONFIG,
|
|
104
|
+
kind: {
|
|
105
|
+
flag: "--kind <kind>",
|
|
106
|
+
description: `Filter by connection kind: ${ConnectionKindValues.join(" | ")}`
|
|
107
|
+
},
|
|
108
|
+
search: {
|
|
109
|
+
flag: "--search <query>",
|
|
110
|
+
description: "Case-insensitive substring match against publicId, name, and aliases"
|
|
111
|
+
},
|
|
112
|
+
connected: {
|
|
113
|
+
flag: "--connected",
|
|
114
|
+
description: "Only show integrations with at least one configured connection in the current org"
|
|
115
|
+
},
|
|
116
|
+
details: {
|
|
117
|
+
flag: "--details",
|
|
118
|
+
description: "Show connection names, IDs, scope, status, and default selection"
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
const IntegrationsRegisterOptionsSchema = JsonOptionSchema.extend({
|
|
122
|
+
integrationId: z.string().optional(),
|
|
123
|
+
clientApp: z.string().optional().describe("Internal credential set id holding clientId + clientSecret"),
|
|
124
|
+
provider: PlatformProviderSchema.optional().describe("Provider id for the provider app"),
|
|
125
|
+
externalAppId: z.string().optional().describe("External provider app id"),
|
|
126
|
+
displayName: z.string().optional().describe("Human-readable display name for the workspace integration")
|
|
127
|
+
});
|
|
128
|
+
const INTEGRATIONS_REGISTER_OPTIONS_CONFIG = {
|
|
129
|
+
...JSON_OPTION_CONFIG,
|
|
130
|
+
clientApp: {
|
|
131
|
+
flag: "--client-app <credentialSetId>",
|
|
132
|
+
description: "Internal credential set id holding clientId + clientSecret (required)"
|
|
133
|
+
},
|
|
134
|
+
provider: {
|
|
135
|
+
flag: "--provider <provider>",
|
|
136
|
+
description: `Provider app provider: ${PlatformProviderValues.join(" | ")} (required)`
|
|
137
|
+
},
|
|
138
|
+
externalAppId: {
|
|
139
|
+
flag: "--external-app-id <id>",
|
|
140
|
+
description: "External provider app id from the provider (required)"
|
|
141
|
+
},
|
|
142
|
+
displayName: {
|
|
143
|
+
flag: "--display-name <name>",
|
|
144
|
+
description: "Human-readable display name for the workspace integration"
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
function createIntegrationsCommand() {
|
|
148
|
+
return createTypedCommand({
|
|
149
|
+
name: "integrations",
|
|
150
|
+
description: "List Keystroke integrations available to your organization",
|
|
151
|
+
schema: IntegrationsListOptionsSchema,
|
|
152
|
+
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
153
|
+
loadHandler: async () => (await import("./list.handler-DXwKdfIv.mjs")).handleIntegrationsList,
|
|
154
|
+
subcommands: [createTypedCommand({
|
|
155
|
+
name: "list",
|
|
156
|
+
description: "List Keystroke integrations available to your organization",
|
|
157
|
+
schema: IntegrationsListOptionsSchema,
|
|
158
|
+
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
159
|
+
loadHandler: async () => (await import("./list.handler-DXwKdfIv.mjs")).handleIntegrationsList
|
|
160
|
+
}), createTypedCommand({
|
|
161
|
+
name: "register",
|
|
162
|
+
description: "Register an org-scoped custom provider app for workspace-authored OAuth support",
|
|
163
|
+
schema: IntegrationsRegisterOptionsSchema,
|
|
164
|
+
optionsConfig: INTEGRATIONS_REGISTER_OPTIONS_CONFIG,
|
|
165
|
+
handler: async (opts, ctx) => {
|
|
166
|
+
const { handleIntegrationsRegister } = await import("./register.handler-CSvlOMF6.mjs");
|
|
167
|
+
await handleIntegrationsRegister({
|
|
168
|
+
integrationId: opts.integrationId,
|
|
169
|
+
clientAppCredentialSetId: opts.clientApp,
|
|
170
|
+
provider: opts.provider,
|
|
171
|
+
externalAppId: opts.externalAppId,
|
|
172
|
+
displayName: opts.displayName,
|
|
173
|
+
json: opts.json
|
|
174
|
+
}, ctx);
|
|
175
|
+
},
|
|
176
|
+
argument: {
|
|
177
|
+
name: "integrationId",
|
|
178
|
+
description: "Workspace integration id to register (e.g., acmeCrm)",
|
|
179
|
+
key: "integrationId"
|
|
180
|
+
}
|
|
181
|
+
})]
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
//#endregion
|
|
185
|
+
export { createIntegrationsCommand };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DQLrBSIW.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-DJNtXw7C.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-DJNtXw7C.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-CiqqUxKN.mjs")).handleInvitesAccept
|
|
40
40
|
})]
|
|
41
41
|
});
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/org/invites.list.handler.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/org/invites.resend.handler.ts
|
|
8
8
|
async function handleOrgInvitesResend(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/org/invites.revoke.handler.ts
|
|
8
8
|
async function handleOrgInvitesRevoke(options, ctx) {
|
package/dist/keystroke.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as getKeystrokeBaseDir } from "./paths-JzzFkXQA-CEipIeVl.mjs";
|
|
4
|
-
import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-
|
|
4
|
+
import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-BoSm4s9C.mjs";
|
|
5
5
|
import * as os from "node:os";
|
|
6
6
|
import * as path$1 from "node:path";
|
|
7
7
|
import path from "node:path";
|
|
@@ -521,7 +521,7 @@ const logger = {
|
|
|
521
521
|
};
|
|
522
522
|
//#endregion
|
|
523
523
|
//#region package.json
|
|
524
|
-
var version = "0.0.
|
|
524
|
+
var version = "0.0.20";
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/command-registry.ts
|
|
527
527
|
const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
|
|
@@ -533,84 +533,84 @@ const ROOT_VERSION_FLAGS = new Set(["-V", "--version"]);
|
|
|
533
533
|
const lazyCommandDefinitions = [
|
|
534
534
|
{
|
|
535
535
|
name: "agents",
|
|
536
|
-
loadCommand: async () => (await import("./agents-
|
|
536
|
+
loadCommand: async () => (await import("./agents-DBebUEwk.mjs")).createAgentsCommand()
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
name: "admin",
|
|
540
|
-
loadCommand: async () => (await import("./admin-
|
|
540
|
+
loadCommand: async () => (await import("./admin-B0U2Aghv.mjs")).createAdminCommand()
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
name: "api-keys",
|
|
544
|
-
loadCommand: async () => (await import("./api-keys-
|
|
544
|
+
loadCommand: async () => (await import("./api-keys-BHAgmC4E.mjs")).createApiKeysCommand()
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
name: "auth",
|
|
548
|
-
loadCommand: async () => (await import("./auth-
|
|
548
|
+
loadCommand: async () => (await import("./auth-D-PZAjdd.mjs")).createAuthCommand()
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
551
|
name: "connect",
|
|
552
|
-
loadCommand: async () => (await import("./connect-
|
|
552
|
+
loadCommand: async () => (await import("./connect-DV_EztVs.mjs")).createConnectCommand()
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
name: "credentials",
|
|
556
|
-
loadCommand: async () => (await import("./credentials-
|
|
556
|
+
loadCommand: async () => (await import("./credentials-m18a1_hw.mjs")).createCredentialsCommand(),
|
|
557
557
|
copyInheritedSettings: true
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
560
|
name: "org",
|
|
561
|
-
loadCommand: async () => (await import("./org-
|
|
561
|
+
loadCommand: async () => (await import("./org-CzLw3neZ.mjs")).createOrgCommand()
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
564
|
name: "deploy",
|
|
565
|
-
loadCommand: async () => (await import("./deploy-
|
|
565
|
+
loadCommand: async () => (await import("./deploy-3tHCBGky.mjs")).createDeployCommand()
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
name: "init",
|
|
569
|
-
loadCommand: async () => (await import("./init-
|
|
569
|
+
loadCommand: async () => (await import("./init-D9RIT2CY.mjs")).createInitCommand()
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
name: "integrations",
|
|
573
|
-
loadCommand: async () => (await import("./integrations-
|
|
573
|
+
loadCommand: async () => (await import("./integrations-vSyAQ6HA.mjs")).createIntegrationsCommand()
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
name: "invites",
|
|
577
|
-
loadCommand: async () => (await import("./invites-
|
|
577
|
+
loadCommand: async () => (await import("./invites-BASM4PJr.mjs")).createInvitesCommand()
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
580
|
name: "logs",
|
|
581
|
-
loadCommand: async () => (await import("./logs-
|
|
581
|
+
loadCommand: async () => (await import("./logs-BEDf7hZ0.mjs")).createLogsCommand()
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
584
|
name: "listen",
|
|
585
|
-
loadCommand: async () => (await import("./listen-
|
|
585
|
+
loadCommand: async () => (await import("./listen-Ca9KdiB2.mjs")).createListenCommand()
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: "projects",
|
|
589
|
-
loadCommand: async () => (await import("./projects-
|
|
589
|
+
loadCommand: async () => (await import("./projects-CJCKxG2u.mjs")).createProjectsCommand()
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
name: "runs",
|
|
593
|
-
loadCommand: async () => (await import("./runs-
|
|
593
|
+
loadCommand: async () => (await import("./runs-DoMVOCNj.mjs")).createRunsCommand()
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
name: "skills",
|
|
597
|
-
loadCommand: async () => (await import("./skills.command-
|
|
597
|
+
loadCommand: async () => (await import("./skills.command-DeAgMGGw.mjs")).createSkillsCommand()
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
name: "sync",
|
|
601
|
-
loadCommand: async () => (await import("./sync-
|
|
601
|
+
loadCommand: async () => (await import("./sync-KCVM02IY.mjs")).createSyncCommand()
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
name: "test",
|
|
605
|
-
loadCommand: async () => (await import("./test-
|
|
605
|
+
loadCommand: async () => (await import("./test-Rm3thni3.mjs")).createTestCommand()
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
608
|
name: "upgrade",
|
|
609
|
-
loadCommand: async () => (await import("./upgrade-
|
|
609
|
+
loadCommand: async () => (await import("./upgrade-Cf7y38xR.mjs")).createUpgradeCommand()
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
612
|
name: "workflows",
|
|
613
|
-
loadCommand: async () => (await import("./workflows-
|
|
613
|
+
loadCommand: async () => (await import("./workflows-MANdvLft.mjs")).createWorkflowsCommand()
|
|
614
614
|
}
|
|
615
615
|
];
|
|
616
616
|
function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
|
|
@@ -1015,11 +1015,12 @@ z.enum([
|
|
|
1015
1015
|
//#endregion
|
|
1016
1016
|
//#region src/lib/env.ts
|
|
1017
1017
|
loadRootEnv();
|
|
1018
|
+
const optionalNonEmptyString = z.preprocess((value) => value === "" ? void 0 : value, z.string().min(1).optional());
|
|
1018
1019
|
const cliEnvSchema = z.object({
|
|
1019
1020
|
WEB_URL: z.url().optional().default(DEFAULT_CLI_WEB_URL),
|
|
1020
1021
|
SERVER_URL: z.url().optional().default(DEFAULT_CLI_SERVER_URL),
|
|
1021
|
-
KEYSTROKE_API_KEY:
|
|
1022
|
-
KEYSTROKE_ORG_ID:
|
|
1022
|
+
KEYSTROKE_API_KEY: optionalNonEmptyString,
|
|
1023
|
+
KEYSTROKE_ORG_ID: optionalNonEmptyString,
|
|
1023
1024
|
ENVIRONMENT: EnvironmentSchema.optional().default("production")
|
|
1024
1025
|
});
|
|
1025
1026
|
let cachedEnv;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui, n as style, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-
|
|
4
|
+
import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-xPtLFTjW.mjs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
7
7
|
import { parse } from "dotenv";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
5
5
|
//#region src/commands/org/list.handler.ts
|
|
6
6
|
async function handleOrgList(_options, ctx) {
|
|
7
7
|
const { user } = await requireClient(ctx).users.getMe();
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui, c as getProcessEnv, j as throwReportedCliExit } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
7
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
8
|
-
import { t as readCredentialEnvMap } from "./credential-env-map-
|
|
9
|
-
import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
|
+
import { a as readManifestsFromOutDir } from "./dist-BGrWr5fp.mjs";
|
|
7
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-CWP2fji3.mjs";
|
|
8
|
+
import { t as readCredentialEnvMap } from "./credential-env-map-qLCR_QbO.mjs";
|
|
9
|
+
import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-DcplcioC.mjs";
|
|
10
10
|
import dayjs from "dayjs";
|
|
11
11
|
//#region src/commands/credentials/list/fetch-all-credential-sets.ts
|
|
12
12
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import Table from "cli-table3";
|
|
7
7
|
//#region src/commands/api-keys/list.handler.ts
|
|
8
8
|
async function handleApiKeysList(_options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/invites/list.handler.ts
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui, n as style, t as ANSI, v as isNetworkError, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-BrJsBkfx.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/integrations/list.handler.ts
|
|
9
9
|
function summarizeConnections(entry, connections) {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, n as style, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-CIInPRGh.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.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-CWP2fji3.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-DV28G4tP.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-IGYhEC8Y.mjs";
|
|
9
9
|
//#region src/commands/workflows/list.handler.ts
|
|
10
10
|
function formatWorkflow(artifact) {
|
|
11
11
|
const name = style(artifact.manifest.name, `${ANSI.bold}${ANSI.cyan}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/listen/listen.command.ts
|
|
7
7
|
const ListenOptionsSchema = JsonOptionSchema.extend({ timeout: z.coerce.number().int().min(1).default(300) });
|
|
@@ -18,7 +18,7 @@ function createListenCommand() {
|
|
|
18
18
|
description: "Listen for one incoming request and print its body",
|
|
19
19
|
schema: ListenOptionsSchema,
|
|
20
20
|
optionsConfig: LISTEN_OPTIONS_CONFIG,
|
|
21
|
-
loadHandler: async () => (await import("./listen.handler-
|
|
21
|
+
loadHandler: async () => (await import("./listen.handler-KWPN03S8.mjs")).handleListen
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { D as CliExitError, a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { a as writeJsonError, i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as sleep } from "./run-polling-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
|
+
import { n as sleep } from "./run-polling-CzyVv7Ba.mjs";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
//#region src/lib/clipboard.ts
|
|
9
9
|
function getClipboardCommands() {
|
|
@@ -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-DQLrBSIW.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/logs/logs.command.ts
|
|
6
6
|
const LogsOptionsSchema = z.object({
|
|
@@ -44,13 +44,13 @@ function createLogsCommand() {
|
|
|
44
44
|
description: "Display recent CLI log entries",
|
|
45
45
|
schema: LogsOptionsSchema,
|
|
46
46
|
optionsConfig: LOGS_OPTIONS_CONFIG,
|
|
47
|
-
loadHandler: async () => (await import("./logs.handler-
|
|
47
|
+
loadHandler: async () => (await import("./logs.handler-CcA1UzJm.mjs")).handleLogs,
|
|
48
48
|
subcommands: [createTypedCommand({
|
|
49
49
|
name: "clear",
|
|
50
50
|
description: "Clear the CLI log file",
|
|
51
51
|
schema: z.object({}),
|
|
52
52
|
optionsConfig: {},
|
|
53
|
-
loadHandler: async () => (await import("./clear.handler-
|
|
53
|
+
loadHandler: async () => (await import("./clear.handler-mfNmIUYP.mjs")).handleLogsClear
|
|
54
54
|
})]
|
|
55
55
|
});
|
|
56
56
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
|
+
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-CzyVv7Ba.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/workflows/_shared/run-query.ts
|
|
9
9
|
async function listRunsByWorkflowRef(client, options) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/org/members.add.handler.ts
|
|
8
8
|
async function handleMembersAdd(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/org/members.invite.handler.ts
|
|
8
8
|
async function handleMembersInvite(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/org/members.list.handler.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-BUzxM3QI.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
|
|
7
7
|
//#region src/commands/org/members.remove.handler.ts
|
|
8
8
|
async function handleMembersRemove(options, ctx) {
|