@keystrokehq/cli 0.0.38 → 0.0.40
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 +6 -2
- package/dist/{accept.handler-CykuBpt6.mjs → accept.handler-Ca7uzwxi.mjs} +3 -3
- package/dist/{admin-gRjPC3eD.mjs → admin-dG6GUb3q.mjs} +11 -11
- package/dist/{agents-BpyuvM9p.mjs → agents-sPFPgn4f.mjs} +8 -8
- package/dist/{api-sWkB_Wta.mjs → api-b0DzMwXP.mjs} +1 -1
- package/dist/{api-keys-BSKhdD_x.mjs → api-keys-4tXQbpkQ.mjs} +6 -6
- package/dist/{auth-DCgToFf5.mjs → auth-CWW1yAyX.mjs} +6 -6
- package/dist/{auth.handler-QRQAEUJC.mjs → auth.handler-BdIVmlEw.mjs} +4 -4
- package/dist/{authored-workflow-ref-BRCQgyWl.mjs → authored-workflow-ref-DpaMDcsV.mjs} +6 -6
- package/dist/{build-agents-CUzBnlAG-3ePFZiJ6.mjs → build-agents-CUzBnlAG-BlVdU8WI.mjs} +5 -5
- package/dist/{build-metadata-BB_L45ZS-DRQsV6JK.mjs → build-metadata-BB_L45ZS-DF9jjlo7.mjs} +6 -6
- package/dist/{build-progress-D_SQqdHA.mjs → build-progress-ClHW7cxW.mjs} +1 -1
- package/dist/{build-tasks-5eOvI19S-tbN6CRx9.mjs → build-tasks-5eOvI19S-DOJYTRNL.mjs} +3 -3
- package/dist/{build-workflows-C-gQM3l5-_zcBHE3M.mjs → build-workflows-C-gQM3l5-B1By02sw.mjs} +8 -8
- package/dist/{build.handler-DGQn_clk.mjs → build.handler-oSb0aOLO.mjs} +6 -6
- package/dist/{clear-cache.handler-gJpwslkK.mjs → clear-cache.handler-nH67vXdu.mjs} +1 -1
- package/dist/{clear.handler-CuXYvUj2.mjs → clear.handler-b7T3XjAx.mjs} +2 -2
- package/dist/{commander-B_8QwPpe.mjs → commander-DIOuj6NJ.mjs} +2 -2
- package/dist/{connect-DV9lhP6C.mjs → connect-Cg4oFCFZ.mjs} +3 -3
- package/dist/{connect.handler-D6JzuFuT.mjs → connect.handler-BsMTctjd.mjs} +241 -187
- package/dist/{context-Brc9VGV9.mjs → context-DaBLwEWi.mjs} +4 -4
- package/dist/{create.handler-D_tmjANR.mjs → create.handler-CAj7e5w2.mjs} +2 -2
- package/dist/{credential-env-map-5a41jLwM.mjs → credential-env-map-rXDibCDT.mjs} +1 -1
- package/dist/{credential-schema-mismatch-CStYUB2h.mjs → credential-schema-mismatch-BvcO7KgE.mjs} +1 -1
- package/dist/{credentials-DtwLbee6.mjs → credentials-Bud9r1JE.mjs} +1 -1
- package/dist/{credentials-UDrvrKj-.mjs → credentials-CZ7HaiPb.mjs} +11 -11
- package/dist/{current.handler-Cy91EeLU.mjs → current.handler-BJvDHSmV.mjs} +3 -3
- package/dist/{delete.handler-rUDDUrDQ.mjs → delete.handler-DivhWFrZ.mjs} +1 -1
- package/dist/{deploy-DgWPlEKO.mjs → deploy-9ySqfoem.mjs} +2 -2
- package/dist/{deploy-BiKBH25R.mjs → deploy-NSrCthrD.mjs} +1 -1
- package/dist/{deploy-progress-BDOCSm_U.mjs → deploy-progress-DccPUWfp.mjs} +1 -1
- package/dist/{deploy.handler-BDCHCk_A.mjs → deploy.handler-DltgOetG.mjs} +15 -15
- package/dist/{detect-env-access-CwkOYeYM-r4aynBU0.mjs → detect-env-access-CwkOYeYM-CetSMqeq.mjs} +1 -1
- package/dist/{diff.handler-CGERP-Qn.mjs → diff.handler-OIzXMsHB.mjs} +4 -4
- package/dist/{dist-BmbFJq8U.mjs → dist-BpLSQDJX.mjs} +12 -12
- package/dist/{env.handler--8FRrSlJ.mjs → env.handler-DdIhJ4mO.mjs} +9 -9
- package/dist/{error-boundary-D2DiCLAp.mjs → error-boundary-IUSz7k4x.mjs} +2 -2
- package/dist/{file-metadata-DQVDjr7M.mjs → file-metadata-bzAf3GqL.mjs} +1 -1
- package/dist/{iam-command-utils-D01Gw8-M.mjs → iam-command-utils-CPkuyDrD.mjs} +1 -1
- package/dist/{import-module-y0glInUe-EuAWaw9g.mjs → import-module-y0glInUe-CVKziY2H.mjs} +6 -6
- package/dist/{init-Mpe_8lA_.mjs → init-BuVaQkZl.mjs} +2 -2
- package/dist/{init.handler-BjLAIAmm.mjs → init.handler-CX3OQdjn.mjs} +3 -3
- package/dist/{inspect.handler-CXCi7fhH.mjs → inspect.handler-CgJkF6RH.mjs} +5 -5
- package/dist/{integration-catalog-mZs6EAlN.mjs → integration-catalog-DEHwWAO6.mjs} +2 -2
- package/dist/{integrations-D_IH5Ud1.mjs → integrations-DdKOCj3U.mjs} +8 -95
- package/dist/{invites-CWWz4wmY.mjs → invites-DWE6Zmj1.mjs} +5 -5
- package/dist/{invites.list.handler-CQLWSoWo.mjs → invites.list.handler-DO7Wq2u0.mjs} +4 -4
- package/dist/{invites.resend.handler-CeIGE_qM.mjs → invites.resend.handler-BcW922nx.mjs} +4 -4
- package/dist/{invites.revoke.handler-9K6jkym_.mjs → invites.revoke.handler-BdMoZOqx.mjs} +4 -4
- package/dist/keystroke.mjs +38 -42
- package/dist/{list-enrichment-dqbkXJzy.mjs → list-enrichment-mOKJXdJW.mjs} +1 -1
- package/dist/{list.handler-DUTNS8du.mjs → list.handler-6h-dCWy7.mjs} +3 -3
- package/dist/{list.handler-CDWPmiMy.mjs → list.handler-BWEBemPq.mjs} +3 -3
- package/dist/{list.handler-Cuw1fWO_.mjs → list.handler-C1Okanaq.mjs} +3 -3
- package/dist/{list.handler-D-rSyrX0.mjs → list.handler-CD6T_BXB.mjs} +3 -3
- package/dist/{list.handler-BvuxTFLe.mjs → list.handler-CGD1JBJW.mjs} +6 -6
- package/dist/{list.handler-Co32_F3n.mjs → list.handler-CXsHFhRg.mjs} +6 -6
- package/dist/{list.handler-Dz-Yeijp.mjs → list.handler-DYIKuoAv.mjs} +2 -2
- package/dist/{list.handler-DMvq96UA.mjs → list.handler-Dny_G7yA.mjs} +2 -2
- package/dist/{list2.handler-BpqKZTZk.mjs → list2.handler-v14fD-Wx.mjs} +3 -3
- package/dist/{listen-CeNwufij.mjs → listen-DWLGKM9p.mjs} +3 -3
- package/dist/{listen.handler-CfRoaOwu.mjs → listen.handler-BHY0khAc.mjs} +3 -3
- package/dist/{logs-B7k2_W1R.mjs → logs-CAgOxZQ1.mjs} +3 -3
- package/dist/{logs.handler-CSqOzxCU.mjs → logs.handler-BcGJIjn1.mjs} +5 -5
- package/dist/{members.add.handler-CBjoA6vG.mjs → members.add.handler-3y_jsYI5.mjs} +4 -4
- package/dist/{members.invite.handler-D8KcKJ9Y.mjs → members.invite.handler-CLbxTp-x.mjs} +4 -4
- package/dist/{members.list.handler-CB_qSJK0.mjs → members.list.handler--r0ibk1q.mjs} +4 -4
- package/dist/{members.remove.handler-DNhO81mo.mjs → members.remove.handler-DFfOjRmq.mjs} +4 -4
- package/dist/{members.update.handler-Bjdk_uz4.mjs → members.update.handler-pY5ZKxyE.mjs} +4 -4
- package/dist/{normalize-path-CojS-CgQ-aOM0agxS.mjs → normalize-path-CojS-CgQ-lQUBXXzi.mjs} +1 -1
- package/dist/official-providers-DF1Wt_-m.mjs +92 -0
- package/dist/{operations-HHwoArwE.mjs → operations-mpOhoA0C.mjs} +5 -5
- package/dist/{org-context-CNh2p2DP.mjs → org-context-BAbQ9nhH.mjs} +2 -2
- package/dist/{org-output-BcI17Uan.mjs → org-output-Chcob8vH.mjs} +2 -2
- package/dist/{org-f-qo68Em.mjs → org-xlZOYXfd.mjs} +17 -17
- package/dist/{orgs.create.handler-DOE9ZIed.mjs → orgs.create.handler-C_zVtI05.mjs} +3 -3
- package/dist/{orgs.get.handler-sWErVI7r.mjs → orgs.get.handler-CCr0tawz.mjs} +3 -3
- package/dist/{orgs.list.handler-Cp-mXsA0.mjs → orgs.list.handler-C6H6LEdf.mjs} +3 -3
- package/dist/{paused.handler-DWdoKYY8.mjs → paused.handler-BVrzjvyP.mjs} +4 -4
- package/dist/{projects-CCC36zbJ.mjs → projects-CpLiEcTK.mjs} +4 -4
- package/dist/{projects-ZNcKwds2.mjs → projects-DOYjjoZ-.mjs} +2 -2
- package/dist/{register.handler-Dxae5iq8.mjs → register.handler-CSpRM1p1.mjs} +41 -28
- package/dist/{requirements.handler-Bg3mRnER.mjs → requirements.handler-CA4zeT3J.mjs} +6 -6
- package/dist/{resolve-cli-credentials-GVOOedoQ.mjs → resolve-cli-credentials-BecTgRE7.mjs} +1 -1
- package/dist/{resolve-project-CoCN9xfi.mjs → resolve-project-Cto7y-K3.mjs} +2 -2
- package/dist/{run-polling-htHWhG0T.mjs → run-polling-DVis_pob.mjs} +3 -3
- package/dist/{run.handler-C-CM-xZG.mjs → run.handler-Dyo7_OIO.mjs} +7 -7
- package/dist/{runs-BRJPNq4B.mjs → runs-DFWRUETL.mjs} +3 -3
- package/dist/{search-CQMgdp51.mjs → search-ByKPk0l-.mjs} +15 -6
- package/dist/search.handler-CE2432ah.mjs +112 -0
- package/dist/{show.handler-DUDxnNiZ.mjs → show.handler-BD5i6EV5.mjs} +4 -4
- package/dist/{show.handler-D3nDc1MJ.mjs → show.handler-BupYRNqw.mjs} +3 -3
- package/dist/{show.handler-CdZF0aao.mjs → show.handler-C_d60AOd.mjs} +2 -2
- package/dist/{skills-sync.handler-_LVhIMRH.mjs → skills-sync.handler-CbQQaKv7.mjs} +1 -1
- package/dist/{skills.command-DSHGwXPX.mjs → skills.command-D-OoLKTF.mjs} +4 -4
- package/dist/{source-analysis-BBg2E_6G-wPP9mjQx.mjs → source-analysis-BBg2E_6G-CS88X3nS.mjs} +3 -3
- package/dist/{src-DI-ybNjR.mjs → src-DOCKWJRW.mjs} +59 -13
- package/dist/{status.handler-1hEzX5oB.mjs → status.handler-7411LjJt.mjs} +1 -1
- package/dist/{switch.handler-D135WwfB.mjs → switch.handler-CfCy8yzX.mjs} +3 -3
- package/dist/{sync-CFScllh3.mjs → sync-Dp57sXlR.mjs} +2 -2
- package/dist/{sync.handler-x8v53-TT.mjs → sync.handler-B6p_PFqf.mjs} +7 -7
- package/dist/{task-DTvLzUkA.mjs → task-DzwZiru5.mjs} +1 -1
- package/dist/{task-target-build-CtvRyVjH.mjs → task-target-build-bIN-ngtL.mjs} +5 -5
- package/dist/{task-target-deploy-m9LfE488.mjs → task-target-deploy-DhlZNykk.mjs} +1 -1
- package/dist/{task-target-deploy-dQYnMO8n-d2vdeqXH.mjs → task-target-deploy-dQYnMO8n-Cx_r9Kzk.mjs} +1 -1
- package/dist/task-target-deploy-runner.mjs +8 -8
- package/dist/{test-Dx4RXoLZ.mjs → test-BHj1LMHN.mjs} +3 -3
- package/dist/{test.handler-Mz_XOnJl.mjs → test.handler-BmrgrK08.mjs} +1 -1
- package/dist/{test.handler-BmvL5vF8.mjs → test.handler-mo5agj6w.mjs} +11 -11
- package/dist/{tool.handler-DsbpocYI.mjs → tool.handler-wH-lWk7T.mjs} +8 -8
- package/dist/{trigger-artifacts-BcRScRSp-BRpU-He5.mjs → trigger-artifacts-BcRScRSp-CbuG4AfM.mjs} +4 -4
- package/dist/{trigger-manifest-BVqjDhxU.mjs → trigger-manifest-EaOKzq4D.mjs} +2 -2
- package/dist/{upgrade-C9G6HksL.mjs → upgrade-BXgpsNcQ.mjs} +2 -2
- package/dist/{upload.handler-DscKDQ63.mjs → upload.handler-Y-yOXVYC.mjs} +9 -9
- package/dist/{users.get.handler-CaUv_maM.mjs → users.get.handler-BGOCxdkB.mjs} +3 -3
- package/dist/{users.list.handler-DzsOvAtd.mjs → users.list.handler-CeCdVYny.mjs} +3 -3
- package/dist/{users.set-role.handler-koRzA0V9.mjs → users.set-role.handler-ChUvfPm9.mjs} +3 -3
- package/dist/{utils-BaxDlCsW.mjs → utils-DZkAd_Yh.mjs} +2 -2
- package/dist/{validate.handler-BkBsS8BL.mjs → validate.handler-Cf6Hv_La.mjs} +7 -7
- package/dist/{workflow-build-Db6at6IA.mjs → workflow-build-BdjQ_VZx.mjs} +21 -21
- package/dist/{workflow-build-manifest-CV6bBmDO.mjs → workflow-build-manifest-EnRP3HRK.mjs} +3 -3
- package/dist/{workflow-bundler-Bs3zQNQv-Dy7lXxy3.mjs → workflow-bundler-Bs3zQNQv-DeOFaxmV.mjs} +2 -2
- package/dist/{workflows-B8VG6nKg.mjs → workflows-CLWyveLm.mjs} +16 -16
- package/dist/{writer-BLg0RuZa-Y6ExdYH9.mjs → writer-BLg0RuZa-ynLkRVCU.mjs} +5 -5
- package/package.json +7 -7
- package/dist/search.handler-Dn5jjyF-.mjs +0 -79
- package/dist/{agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs → agent-bundle-package-DWV6B_5q-DyuZcU-M.mjs} +0 -0
- package/dist/{agent-manifest-DfWD5tvv.mjs → agent-manifest-IKErxq4q.mjs} +0 -0
- package/dist/{browser-Dvv5OQrt.mjs → browser-CvuyMLhI.mjs} +0 -0
- package/dist/{clear.handler-DnjvgyMj.mjs → clear.handler-C52FDzQh.mjs} +0 -0
- package/dist/{common-AK0q0Oz0.mjs → common-BcLVOrEe.mjs} +0 -0
- package/dist/{concurrency-gXn9Rw8x-CnBnF2cg.mjs → concurrency-gXn9Rw8x-DL-HGvhT.mjs} +0 -0
- package/dist/{credential-requirements-B5Alhu1v-DanlSKnT.mjs → credential-requirements-B5Alhu1v-C26qMgU_.mjs} +0 -0
- package/dist/{declared-credential-requirements-B6h4WRv4.mjs → declared-credential-requirements-D6KT-r-e.mjs} +0 -0
- package/dist/{default-urls-BoSm4s9C.mjs → default-urls-jMHepw2q.mjs} +0 -0
- package/dist/{dist-B5jy238v.mjs → dist-rsDq3fTk.mjs} +0 -0
- package/dist/{layout-B95Tku8F.mjs → layout-CqQq4MmI.mjs} +0 -0
- package/dist/{logs.handler-BIqJ0FED.mjs → logs.handler-BvOCKckB.mjs} +0 -0
- package/dist/{metadata-layout-Bv-B0nHj-CO8mjjSl.mjs → metadata-layout-Bv-B0nHj-qhsuNON1.mjs} +0 -0
- package/dist/{output-BPydP5tG.mjs → output-C0pbsv39.mjs} +0 -0
- package/dist/{oxc-B3KI3rf_-B9omBIuN.mjs → oxc-B3KI3rf_-ghZc3xZ5.mjs} +0 -0
- package/dist/{project-config-DudGRFPO.mjs → project-config-VloWJirJ.mjs} +1 -1
- /package/dist/{read-credential-keys-77a91T8M-I07NYwfH.mjs → read-credential-keys-77a91T8M-C4dOpzvX.mjs} +0 -0
- /package/dist/{render-operation-iF7Wblv2.mjs → render-operation-BhivW7cA.mjs} +0 -0
- /package/dist/{rolldown-runtime-twds-ZHy-RuJszab7.mjs → rolldown-runtime-twds-ZHy-BvwnxyIt.mjs} +0 -0
- /package/dist/{run-polling-1c0ckC1A.mjs → run-polling-CJWe6cxy.mjs} +0 -0
- /package/dist/{schema-Lbp5lGJu.mjs → schema-GwRMmuKB.mjs} +0 -0
- /package/dist/{schema-DFJiNWyd.mjs → schema-QbiBSbhG.mjs} +0 -0
- /package/dist/{schema-display-sZ6ConJd.mjs → schema-display-DKreWhh1.mjs} +0 -0
- /package/dist/{schemas-ClAIoIrX.mjs → schemas-COSVuCFH.mjs} +0 -0
- /package/dist/{skills.handler-DqLXJepA.mjs → skills.handler-CvXcuOf5.mjs} +0 -0
- /package/dist/{source-analysis-z2RSZw6X.mjs → source-analysis-BYwAbHx2.mjs} +0 -0
- /package/dist/{spinner-progress-fLaD0sjH.mjs → spinner-progress-QqK2bvTQ.mjs} +0 -0
- /package/dist/{upgrade.handler-DsFeAFF4.mjs → upgrade.handler-COptE2fK.mjs} +0 -0
- /package/dist/{upload-CE4H5R1h.mjs → upload-XFKnNumW.mjs} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
5
|
-
import { c as resolveEffectiveOrganization, o as requireEffectiveOrganization } from "./org-context-
|
|
6
|
-
import { n as renderOrgCurrentJson, t as renderOrgCurrentHuman } from "./org-output-
|
|
4
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
5
|
+
import { c as resolveEffectiveOrganization, o as requireEffectiveOrganization } from "./org-context-BAbQ9nhH.mjs";
|
|
6
|
+
import { n as renderOrgCurrentJson, t as renderOrgCurrentHuman } from "./org-output-Chcob8vH.mjs";
|
|
7
7
|
//#region src/commands/org/current.handler.ts
|
|
8
8
|
async function handleOrgCurrent(_options, ctx) {
|
|
9
9
|
const { user } = await requireClient(ctx).users.getMe();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
5
5
|
//#region src/commands/api-keys/delete.handler.ts
|
|
6
6
|
async function handleApiKeysDelete(options, ctx) {
|
|
7
7
|
const client = requireClient(ctx);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.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-DltgOetG.mjs")).handleDeploy
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
70
70
|
cmd.passThroughOptions();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { a as createKyInstance, n as auth,
|
|
3
|
+
import { a as createKyInstance, n as auth, o as getClientEnv, r as bundles, t as projects } from "./projects-DOYjjoZ-.mjs";
|
|
4
4
|
//#region ../../packages/workflow-sdk/src/deploy.ts
|
|
5
5
|
function createDeployClient(config = {}) {
|
|
6
6
|
const env = getClientEnv();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
4
|
+
import { t as createSpinnerProgress } from "./spinner-progress-QqK2bvTQ.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,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, L as logger, l as isLocalMode, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { t as assertWorkflowProjectRoot } from "./project-config-
|
|
6
|
-
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-
|
|
8
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
9
|
-
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
10
|
-
import { t as createBuildProgress } from "./build-progress-
|
|
11
|
-
import { t as createDeployProgress } from "./deploy-progress-
|
|
12
|
-
import { t as withErrorBoundary } from "./error-boundary-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { t as assertWorkflowProjectRoot } from "./project-config-VloWJirJ.mjs";
|
|
6
|
+
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DaBLwEWi.mjs";
|
|
7
|
+
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-BpLSQDJX.mjs";
|
|
8
|
+
import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-BdjQ_VZx.mjs";
|
|
10
|
+
import { t as createBuildProgress } from "./build-progress-ClHW7cxW.mjs";
|
|
11
|
+
import { t as createDeployProgress } from "./deploy-progress-DccPUWfp.mjs";
|
|
12
|
+
import { t as withErrorBoundary } from "./error-boundary-IUSz7k4x.mjs";
|
|
13
13
|
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
14
14
|
import { t as computeWorkflowDiff } from "./diff-utils-YEUYtSRs.mjs";
|
|
15
15
|
import path from "node:path";
|
|
@@ -198,7 +198,7 @@ async function handleDeploy(options, ctx) {
|
|
|
198
198
|
let outDir;
|
|
199
199
|
let artifactFilter;
|
|
200
200
|
try {
|
|
201
|
-
const { runWorkflowBuild } = await import("./workflow-build-
|
|
201
|
+
const { runWorkflowBuild } = await import("./workflow-build-BdjQ_VZx.mjs").then((n) => n.o);
|
|
202
202
|
const buildOutcome = await runWorkflowBuild({
|
|
203
203
|
workflowsDir,
|
|
204
204
|
verbose: options.verbose,
|
|
@@ -233,7 +233,7 @@ async function handleDeploy(options, ctx) {
|
|
|
233
233
|
const progress = createDeployProgress();
|
|
234
234
|
let result;
|
|
235
235
|
try {
|
|
236
|
-
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-
|
|
236
|
+
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-BpLSQDJX.mjs").then((n) => n.r)).deployFromDir)({
|
|
237
237
|
outDir,
|
|
238
238
|
workflowsDir,
|
|
239
239
|
client,
|
|
@@ -271,7 +271,7 @@ function emitNewWebhookCredentials(result) {
|
|
|
271
271
|
}
|
|
272
272
|
async function handleTaskTargetDeploy(options) {
|
|
273
273
|
renderBuildHeader(void 0);
|
|
274
|
-
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-
|
|
274
|
+
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-bIN-ngtL.mjs")).buildTaskTargets)({
|
|
275
275
|
projectRoot: options.workflowsDir,
|
|
276
276
|
targetFiles: options.targetFiles,
|
|
277
277
|
disableSourcemaps: options.options.disableSourcemaps
|
|
@@ -289,7 +289,7 @@ async function handleTaskTargetDeploy(options) {
|
|
|
289
289
|
const progress = createDeployProgress();
|
|
290
290
|
let result;
|
|
291
291
|
try {
|
|
292
|
-
result = await (deployHandlerDependencies.deployTaskTargets ?? (await import("./task-target-deploy-
|
|
292
|
+
result = await (deployHandlerDependencies.deployTaskTargets ?? (await import("./task-target-deploy-DhlZNykk.mjs")).deployTaskTargets)({
|
|
293
293
|
preparedTasks: buildResult.preparedTasks,
|
|
294
294
|
client,
|
|
295
295
|
organizationId: options.projectConfig.organizationId,
|
|
@@ -312,7 +312,7 @@ async function handleTaskTargetDeploy(options) {
|
|
|
312
312
|
}
|
|
313
313
|
async function createFullDeployClient(ctx) {
|
|
314
314
|
const authOptions = requireAuthOptions(ctx);
|
|
315
|
-
const { createClient } = await import("./src-
|
|
315
|
+
const { createClient } = await import("./src-DOCKWJRW.mjs").then((n) => n.t);
|
|
316
316
|
return createClient({
|
|
317
317
|
...authOptions,
|
|
318
318
|
onRequest: (info) => logger.debug(`-> ${info.method} ${info.url}`, {
|
|
@@ -327,7 +327,7 @@ async function createFullDeployClient(ctx) {
|
|
|
327
327
|
}
|
|
328
328
|
async function createTaskDeployClient(ctx) {
|
|
329
329
|
const authOptions = requireAuthOptions(ctx);
|
|
330
|
-
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-
|
|
330
|
+
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-NSrCthrD.mjs")).createDeployClient)(authOptions);
|
|
331
331
|
}
|
|
332
332
|
function renderSuccessSummary(result) {
|
|
333
333
|
const tasks = result.tasks || [];
|
package/dist/{detect-env-access-CwkOYeYM-r4aynBU0.mjs → detect-env-access-CwkOYeYM-CetSMqeq.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-BvwnxyIt.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,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DaBLwEWi.mjs";
|
|
7
7
|
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
8
8
|
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-YEUYtSRs.mjs";
|
|
9
|
-
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
9
|
+
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
|
|
10
10
|
//#region src/commands/workflows/diff/diff.handler.ts
|
|
11
11
|
async function handleWorkflowsDiff(options, ctx) {
|
|
12
12
|
const resolved = await requireLocalWorkflowManifest({
|
|
@@ -1,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 { n as SHA256HashSchema } from "./common-
|
|
6
|
-
import { f as collectCredentialRequirementEntries, u as TriggerUploadDataSchema } from "./credential-requirements-B5Alhu1v-
|
|
7
|
-
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-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-dQYnMO8n-
|
|
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-VloWJirJ.mjs";
|
|
5
|
+
import { n as SHA256HashSchema } from "./common-BcLVOrEe.mjs";
|
|
6
|
+
import { f as collectCredentialRequirementEntries, u as TriggerUploadDataSchema } from "./credential-requirements-B5Alhu1v-C26qMgU_.mjs";
|
|
7
|
+
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-EnRP3HRK.mjs";
|
|
8
|
+
import { t as AgentVersionManifestSchema } from "./agent-manifest-IKErxq4q.mjs";
|
|
9
|
+
import { n as TaskBuildManifestSchema } from "./task-DzwZiru5.mjs";
|
|
10
|
+
import { n as FileMetadataSchema } from "./file-metadata-bzAf3GqL.mjs";
|
|
11
|
+
import { t as computeProjectSnapshotHash } from "./task-target-deploy-dQYnMO8n-Cx_r9Kzk.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-CqQq4MmI.mjs";
|
|
13
|
+
import { n as resolveProjectBuildOutputDir } from "./utils-DZkAd_Yh.mjs";
|
|
14
|
+
import { t as TriggerBuildManifestSchema } from "./trigger-manifest-EaOKzq4D.mjs";
|
|
15
|
+
import { t as batchUpload } from "./upload-XFKnNumW.mjs";
|
|
16
16
|
import * as path$1 from "node:path";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import * as fs from "node:fs/promises";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, g as REAUTH_HINT, n as style, p as ui, t as ANSI, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
7
|
-
import { n as CredentialConnectionIdSchema, r 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 getIntegrationCatalog } from "./integration-catalog-
|
|
11
|
-
import { t as groupCredentialRequirements } from "./credentials-
|
|
12
|
-
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
7
|
+
import { n as CredentialConnectionIdSchema, r as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-QbiBSbhG.mjs";
|
|
8
|
+
import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
|
|
9
|
+
import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
10
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-DEHwWAO6.mjs";
|
|
11
|
+
import { t as groupCredentialRequirements } from "./credentials-Bud9r1JE.mjs";
|
|
12
|
+
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
import Table from "cli-table3";
|
|
15
15
|
//#region ../../packages/shared-types/src/credentials/api/responses.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, L as logger, S as toErrorMessage, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
-
import { r as isJsonMode } from "./output-
|
|
5
|
-
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-
|
|
4
|
+
import { r as isJsonMode } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-BvcO7KgE.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-BYwAbHx2.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
3
|
import { P as throwReportedCliExit, S as toErrorMessage, p as ui, y as getHttpStatus } from "./keystroke.mjs";
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
4
|
+
import { a as writeJsonError } from "./output-C0pbsv39.mjs";
|
|
5
5
|
//#region src/lib/iam-command-utils.ts
|
|
6
6
|
function isIamJsonMode(options, ctx) {
|
|
7
7
|
return options.json === true || ctx.jsonMode;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as findProjectRoot } from "./project-config-
|
|
4
|
-
import { _ as descriptionString, b as trimmedNonEmptyString, g as createStructuralSchema, h as anyZodSchemaSchema, l as TriggerTypeSchema, m as CredentialSetManifestSchema, n as DeclaredCredentialRequirementSchema, r as ExecutionIdentityPolicySchema, v as jsonSchemaObject, y as jsonValueSchema } from "./credential-requirements-B5Alhu1v-
|
|
5
|
-
import { a as FlowGraphSchema, i as WorkflowCoreManifestSchema, n as WORKFLOW_MANIFEST_SCHEMA_VERSION } from "./workflow-build-manifest-
|
|
6
|
-
import { c as optionalDescriptionString, i as createStructuralSchema$1, l as optionalTrimmedNonEmptyString, o as idNoSpacesString, r as anyZodSchemaSchema$1, s as jsonSchemaObject$1, t as CredentialSetManifestSchema$1, u as trimmedNonEmptyString$1 } from "./schemas-
|
|
7
|
-
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-
|
|
3
|
+
import { n as findProjectRoot } from "./project-config-VloWJirJ.mjs";
|
|
4
|
+
import { _ as descriptionString, b as trimmedNonEmptyString, g as createStructuralSchema, h as anyZodSchemaSchema, l as TriggerTypeSchema, m as CredentialSetManifestSchema, n as DeclaredCredentialRequirementSchema, r as ExecutionIdentityPolicySchema, v as jsonSchemaObject, y as jsonValueSchema } from "./credential-requirements-B5Alhu1v-C26qMgU_.mjs";
|
|
5
|
+
import { a as FlowGraphSchema, i as WorkflowCoreManifestSchema, n as WORKFLOW_MANIFEST_SCHEMA_VERSION } from "./workflow-build-manifest-EnRP3HRK.mjs";
|
|
6
|
+
import { c as optionalDescriptionString, i as createStructuralSchema$1, l as optionalTrimmedNonEmptyString, o as idNoSpacesString, r as anyZodSchemaSchema$1, s as jsonSchemaObject$1, t as CredentialSetManifestSchema$1, u as trimmedNonEmptyString$1 } from "./schemas-COSVuCFH.mjs";
|
|
7
|
+
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-DL-HGvhT.mjs";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import * as path$1 from "node:path";
|
|
10
10
|
import * as os from "node:os";
|
|
11
|
-
import { pathToFileURL } from "node:url";
|
|
12
11
|
import { z } from "zod";
|
|
12
|
+
import { pathToFileURL } from "node:url";
|
|
13
13
|
import { execFile } from "node:child_process";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
15
15
|
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-DIOuj6NJ.mjs";
|
|
4
4
|
import { t as SKILL_INSTALL_METHODS } from "./types-Cb0eWmUU.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/init/init.command.ts
|
|
@@ -50,7 +50,7 @@ function createInitCommand() {
|
|
|
50
50
|
description: "Initialize a Keystroke project (creates keystroke.config.ts)",
|
|
51
51
|
schema: InitOptionsSchema,
|
|
52
52
|
optionsConfig: INIT_OPTIONS_CONFIG,
|
|
53
|
-
loadHandler: async () => (await import("./init.handler-
|
|
53
|
+
loadHandler: async () => (await import("./init.handler-CX3OQdjn.mjs")).handleInit
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, i as fetchLatestNpmPackageVersion, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-VloWJirJ.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
7
7
|
import { n as buildProjectInstallCommand, o as resolvePackageManagerResolution, s as runProjectInstall } from "./package-manager-BwJ6muas.mjs";
|
|
8
8
|
import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-DYNH_MJT.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { s as resolveTypeHint } from "./schema-display-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DaBLwEWi.mjs";
|
|
7
|
+
import { s as resolveTypeHint } from "./schema-display-DKreWhh1.mjs";
|
|
8
8
|
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
9
|
-
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
9
|
+
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
|
|
10
10
|
import dayjs from "dayjs";
|
|
11
11
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
12
12
|
function formatBuildTimestamp(iso) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, g as REAUTH_HINT, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { a as writeJsonError } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
6
|
//#region src/lib/integration-catalog.ts
|
|
7
7
|
const catalogCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function buildView(entries) {
|
|
@@ -1,97 +1,10 @@
|
|
|
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 { t as ConnectionKindValues } from "./api-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
|
|
5
|
+
import { t as ConnectionKindValues } from "./api-b0DzMwXP.mjs";
|
|
6
|
+
import { n as OfficialProviderValues, t as OfficialProviderSchema } from "./official-providers-DF1Wt_-m.mjs";
|
|
6
7
|
import { z } from "zod";
|
|
7
|
-
//#region ../../packages/shared-types/src/official-providers/index.ts
|
|
8
|
-
const officialProviderRegistry = {
|
|
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 OfficialProviderValues = toNonEmptyTuple(Object.freeze(Object.keys(officialProviderRegistry)));
|
|
91
|
-
const MessagingGatewayProviderValues = toNonEmptyTuple(Object.freeze(OfficialProviderValues.filter((provider) => officialProviderRegistry[provider].supportsMessagingGateway)));
|
|
92
|
-
const OfficialProviderSchema = z.enum(OfficialProviderValues);
|
|
93
|
-
z.enum(MessagingGatewayProviderValues);
|
|
94
|
-
//#endregion
|
|
95
8
|
//#region src/commands/integrations/integrations.command.ts
|
|
96
9
|
const IntegrationsListOptionsSchema = JsonOptionSchema.extend({
|
|
97
10
|
kind: z.enum(ConnectionKindValues).optional(),
|
|
@@ -158,14 +71,14 @@ function createIntegrationsCommand() {
|
|
|
158
71
|
description: "List Keystroke integrations available to your organization",
|
|
159
72
|
schema: IntegrationsListOptionsSchema,
|
|
160
73
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
161
|
-
loadHandler: async () => (await import("./list.handler-
|
|
74
|
+
loadHandler: async () => (await import("./list.handler-C1Okanaq.mjs")).handleIntegrationsList,
|
|
162
75
|
subcommands: [
|
|
163
76
|
createTypedCommand({
|
|
164
77
|
name: "list",
|
|
165
78
|
description: "List Keystroke integrations available to your organization",
|
|
166
79
|
schema: IntegrationsListOptionsSchema,
|
|
167
80
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
168
|
-
loadHandler: async () => (await import("./list.handler-
|
|
81
|
+
loadHandler: async () => (await import("./list.handler-C1Okanaq.mjs")).handleIntegrationsList
|
|
169
82
|
}),
|
|
170
83
|
createTypedCommand({
|
|
171
84
|
name: "show",
|
|
@@ -177,7 +90,7 @@ function createIntegrationsCommand() {
|
|
|
177
90
|
description: "Integration id, e.g. aws-s3",
|
|
178
91
|
key: "id"
|
|
179
92
|
},
|
|
180
|
-
loadHandler: async () => (await import("./show.handler-
|
|
93
|
+
loadHandler: async () => (await import("./show.handler-C_d60AOd.mjs")).handleIntegrationShow
|
|
181
94
|
}),
|
|
182
95
|
createTypedCommand({
|
|
183
96
|
name: "register",
|
|
@@ -185,7 +98,7 @@ function createIntegrationsCommand() {
|
|
|
185
98
|
schema: IntegrationsRegisterOptionsSchema,
|
|
186
99
|
optionsConfig: INTEGRATIONS_REGISTER_OPTIONS_CONFIG,
|
|
187
100
|
handler: async (opts, ctx) => {
|
|
188
|
-
const { handleIntegrationsRegister } = await import("./register.handler-
|
|
101
|
+
const { handleIntegrationsRegister } = await import("./register.handler-CSpRM1p1.mjs");
|
|
189
102
|
await handleIntegrationsRegister({
|
|
190
103
|
integrationId: opts.integrationId,
|
|
191
104
|
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-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.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-6h-dCWy7.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-6h-dCWy7.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-Ca7uzwxi.mjs")).handleInvitesAccept
|
|
40
40
|
})]
|
|
41
41
|
});
|
|
42
42
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
7
|
-
import { s as requireOrganizationId } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
|
|
7
|
+
import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
|
|
8
8
|
import Table from "cli-table3";
|
|
9
9
|
//#region src/commands/org/invites.list.handler.ts
|
|
10
10
|
async function handleOrgInvitesList(_options, ctx) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
7
|
-
import { s as requireOrganizationId } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
|
|
7
|
+
import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
|
|
8
8
|
//#region src/commands/org/invites.resend.handler.ts
|
|
9
9
|
async function handleOrgInvitesResend(options, ctx) {
|
|
10
10
|
const client = requireClient(ctx);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-
|
|
7
|
-
import { s as requireOrganizationId } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
|
|
7
|
+
import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
|
|
8
8
|
//#region src/commands/org/invites.revoke.handler.ts
|
|
9
9
|
async function handleOrgInvitesRevoke(options, ctx) {
|
|
10
10
|
const client = requireClient(ctx);
|