@keystrokehq/cli 0.0.39 → 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 +1 -1
- 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-DdJpxHEs.mjs → search-ByKPk0l-.mjs} +3 -3
- package/dist/{search.handler-dsvkAHFo.mjs → search.handler-CE2432ah.mjs} +3 -3
- 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/{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
package/dist/keystroke.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as getKeystrokeBaseDir } from "./paths-DpHfoaXN-CdPimpky.mjs";
|
|
4
|
-
import { n as
|
|
4
|
+
import { n as createClient } from "./src-DOCKWJRW.mjs";
|
|
5
|
+
import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-jMHepw2q.mjs";
|
|
5
6
|
import * as path$1 from "node:path";
|
|
6
7
|
import path from "node:path";
|
|
7
8
|
import * as os from "node:os";
|
|
@@ -9,10 +10,10 @@ import * as fsPromises from "node:fs/promises";
|
|
|
9
10
|
import * as fs from "node:fs";
|
|
10
11
|
import { existsSync, writeFileSync } from "node:fs";
|
|
11
12
|
import { Command, CommanderError, Option } from "commander";
|
|
13
|
+
import { z } from "zod";
|
|
12
14
|
import { log } from "@clack/prompts";
|
|
13
15
|
import { fileURLToPath } from "node:url";
|
|
14
16
|
import { config } from "dotenv";
|
|
15
|
-
import { z } from "zod";
|
|
16
17
|
//#region ../../packages/local-memory/dist/logger/index.mjs
|
|
17
18
|
const LOGS_DIR = "logs";
|
|
18
19
|
const LOG_FILE = "cli.jsonl";
|
|
@@ -521,7 +522,7 @@ const logger = {
|
|
|
521
522
|
};
|
|
522
523
|
//#endregion
|
|
523
524
|
//#region package.json
|
|
524
|
-
var version = "0.0.
|
|
525
|
+
var version = "0.0.40";
|
|
525
526
|
//#endregion
|
|
526
527
|
//#region src/command-registry.ts
|
|
527
528
|
const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
|
|
@@ -533,92 +534,92 @@ const ROOT_VERSION_FLAGS = new Set(["-V", "--version"]);
|
|
|
533
534
|
const lazyCommandDefinitions = [
|
|
534
535
|
{
|
|
535
536
|
name: "agents",
|
|
536
|
-
loadCommand: async () => (await import("./agents-
|
|
537
|
+
loadCommand: async () => (await import("./agents-sPFPgn4f.mjs")).createAgentsCommand()
|
|
537
538
|
},
|
|
538
539
|
{
|
|
539
540
|
name: "admin",
|
|
540
|
-
loadCommand: async () => (await import("./admin-
|
|
541
|
+
loadCommand: async () => (await import("./admin-dG6GUb3q.mjs")).createAdminCommand()
|
|
541
542
|
},
|
|
542
543
|
{
|
|
543
544
|
name: "api-keys",
|
|
544
|
-
loadCommand: async () => (await import("./api-keys-
|
|
545
|
+
loadCommand: async () => (await import("./api-keys-4tXQbpkQ.mjs")).createApiKeysCommand()
|
|
545
546
|
},
|
|
546
547
|
{
|
|
547
548
|
name: "auth",
|
|
548
|
-
loadCommand: async () => (await import("./auth-
|
|
549
|
+
loadCommand: async () => (await import("./auth-CWW1yAyX.mjs")).createAuthCommand()
|
|
549
550
|
},
|
|
550
551
|
{
|
|
551
552
|
name: "connect",
|
|
552
|
-
loadCommand: async () => (await import("./connect-
|
|
553
|
+
loadCommand: async () => (await import("./connect-Cg4oFCFZ.mjs")).createConnectCommand()
|
|
553
554
|
},
|
|
554
555
|
{
|
|
555
556
|
name: "credentials",
|
|
556
|
-
loadCommand: async () => (await import("./credentials-
|
|
557
|
+
loadCommand: async () => (await import("./credentials-CZ7HaiPb.mjs")).createCredentialsCommand(),
|
|
557
558
|
copyInheritedSettings: true
|
|
558
559
|
},
|
|
559
560
|
{
|
|
560
561
|
name: "org",
|
|
561
|
-
loadCommand: async () => (await import("./org-
|
|
562
|
+
loadCommand: async () => (await import("./org-xlZOYXfd.mjs")).createOrgCommand()
|
|
562
563
|
},
|
|
563
564
|
{
|
|
564
565
|
name: "deploy",
|
|
565
|
-
loadCommand: async () => (await import("./deploy-
|
|
566
|
+
loadCommand: async () => (await import("./deploy-9ySqfoem.mjs")).createDeployCommand()
|
|
566
567
|
},
|
|
567
568
|
{
|
|
568
569
|
name: "init",
|
|
569
|
-
loadCommand: async () => (await import("./init-
|
|
570
|
+
loadCommand: async () => (await import("./init-BuVaQkZl.mjs")).createInitCommand()
|
|
570
571
|
},
|
|
571
572
|
{
|
|
572
573
|
name: "integrations",
|
|
573
|
-
loadCommand: async () => (await import("./integrations-
|
|
574
|
+
loadCommand: async () => (await import("./integrations-DdKOCj3U.mjs")).createIntegrationsCommand()
|
|
574
575
|
},
|
|
575
576
|
{
|
|
576
577
|
name: "invites",
|
|
577
|
-
loadCommand: async () => (await import("./invites-
|
|
578
|
+
loadCommand: async () => (await import("./invites-DWE6Zmj1.mjs")).createInvitesCommand()
|
|
578
579
|
},
|
|
579
580
|
{
|
|
580
581
|
name: "logs",
|
|
581
|
-
loadCommand: async () => (await import("./logs-
|
|
582
|
+
loadCommand: async () => (await import("./logs-CAgOxZQ1.mjs")).createLogsCommand()
|
|
582
583
|
},
|
|
583
584
|
{
|
|
584
585
|
name: "listen",
|
|
585
|
-
loadCommand: async () => (await import("./listen-
|
|
586
|
+
loadCommand: async () => (await import("./listen-DWLGKM9p.mjs")).createListenCommand()
|
|
586
587
|
},
|
|
587
588
|
{
|
|
588
589
|
name: "operations",
|
|
589
|
-
loadCommand: async () => (await import("./operations-
|
|
590
|
+
loadCommand: async () => (await import("./operations-mpOhoA0C.mjs")).createOperationsCommand()
|
|
590
591
|
},
|
|
591
592
|
{
|
|
592
593
|
name: "projects",
|
|
593
|
-
loadCommand: async () => (await import("./projects-
|
|
594
|
+
loadCommand: async () => (await import("./projects-CpLiEcTK.mjs")).createProjectsCommand()
|
|
594
595
|
},
|
|
595
596
|
{
|
|
596
597
|
name: "runs",
|
|
597
|
-
loadCommand: async () => (await import("./runs-
|
|
598
|
+
loadCommand: async () => (await import("./runs-DFWRUETL.mjs")).createRunsCommand()
|
|
598
599
|
},
|
|
599
600
|
{
|
|
600
601
|
name: "search",
|
|
601
|
-
loadCommand: async () => (await import("./search-
|
|
602
|
+
loadCommand: async () => (await import("./search-ByKPk0l-.mjs")).createSearchCommand()
|
|
602
603
|
},
|
|
603
604
|
{
|
|
604
605
|
name: "skills",
|
|
605
|
-
loadCommand: async () => (await import("./skills.command-
|
|
606
|
+
loadCommand: async () => (await import("./skills.command-D-OoLKTF.mjs")).createSkillsCommand()
|
|
606
607
|
},
|
|
607
608
|
{
|
|
608
609
|
name: "sync",
|
|
609
|
-
loadCommand: async () => (await import("./sync-
|
|
610
|
+
loadCommand: async () => (await import("./sync-Dp57sXlR.mjs")).createSyncCommand()
|
|
610
611
|
},
|
|
611
612
|
{
|
|
612
613
|
name: "test",
|
|
613
|
-
loadCommand: async () => (await import("./test-
|
|
614
|
+
loadCommand: async () => (await import("./test-BHj1LMHN.mjs")).createTestCommand()
|
|
614
615
|
},
|
|
615
616
|
{
|
|
616
617
|
name: "upgrade",
|
|
617
|
-
loadCommand: async () => (await import("./upgrade-
|
|
618
|
+
loadCommand: async () => (await import("./upgrade-BXgpsNcQ.mjs")).createUpgradeCommand()
|
|
618
619
|
},
|
|
619
620
|
{
|
|
620
621
|
name: "workflows",
|
|
621
|
-
loadCommand: async () => (await import("./workflows-
|
|
622
|
+
loadCommand: async () => (await import("./workflows-CLWyveLm.mjs")).createWorkflowsCommand()
|
|
622
623
|
}
|
|
623
624
|
];
|
|
624
625
|
function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
|
|
@@ -891,26 +892,21 @@ function cliTelemetryErrorFamilyFromError(error) {
|
|
|
891
892
|
if (candidate !== void 0) return "unknown";
|
|
892
893
|
}
|
|
893
894
|
async function sendTelemetryEvent(body, ctx) {
|
|
894
|
-
const
|
|
895
|
-
const
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
const controller = new AbortController();
|
|
901
|
-
const timeout = setTimeout(() => controller.abort(), TELEMETRY_TIMEOUT_MS);
|
|
895
|
+
const organizationId = ctx.organizationId && /^[0-9a-f-]{36}$/i.test(ctx.organizationId) ? ctx.organizationId : void 0;
|
|
896
|
+
const client = createClient({
|
|
897
|
+
apiKey: ctx.apiKey,
|
|
898
|
+
baseUrl: ctx.baseUrl.replace(/\/$/, ""),
|
|
899
|
+
...organizationId ? { organizationId } : {}
|
|
900
|
+
});
|
|
902
901
|
try {
|
|
903
|
-
|
|
904
|
-
method: "POST",
|
|
905
|
-
headers,
|
|
906
|
-
body: JSON.stringify(body),
|
|
907
|
-
signal: controller.signal
|
|
908
|
-
});
|
|
909
|
-
if (!res.ok) logger.debug("CLI telemetry request failed", { status: res.status });
|
|
902
|
+
await client.cli.telemetry.send(body, { timeoutMs: TELEMETRY_TIMEOUT_MS });
|
|
910
903
|
} catch (error) {
|
|
904
|
+
const status = getHttpStatus(error);
|
|
905
|
+
if (status !== null) {
|
|
906
|
+
logger.debug("CLI telemetry request failed", { status });
|
|
907
|
+
return;
|
|
908
|
+
}
|
|
911
909
|
logger.debug("CLI telemetry send error", { error: toErrorMessage(error) });
|
|
912
|
-
} finally {
|
|
913
|
-
clearTimeout(timeout);
|
|
914
910
|
}
|
|
915
911
|
}
|
|
916
912
|
async function flushCliTelemetryForExit(exitCode) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as style, p as ui, 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-Bud9r1JE.mjs";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
7
7
|
import { parse } from "dotenv";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
4
|
+
import { i as writeJson } from "./output-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
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/invites/list.handler.ts
|
|
9
9
|
async function handleInvitesList(_options, ctx) {
|
|
@@ -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, l as resolveListActiveOrganizationId, o as requireEffectiveOrganization, r as buildOrgListRows, u as warnUnknownOrganizationOverride } from "./org-context-
|
|
6
|
-
import { i as renderOrgListJson, r as renderOrgListHuman } from "./org-output-
|
|
4
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
5
|
+
import { c as resolveEffectiveOrganization, l as resolveListActiveOrganizationId, o as requireEffectiveOrganization, r as buildOrgListRows, u as warnUnknownOrganizationOverride } from "./org-context-BAbQ9nhH.mjs";
|
|
6
|
+
import { i as renderOrgListJson, r as renderOrgListHuman } from "./org-output-Chcob8vH.mjs";
|
|
7
7
|
//#region src/commands/org/list.handler.ts
|
|
8
8
|
async function handleOrgList(_options, ctx) {
|
|
9
9
|
const { user } = await requireClient(ctx).users.getMe();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { S as toErrorMessage, n as style, p as ui, t as ANSI, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-DEHwWAO6.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region ../../packages/shared-types/src/connections/integration-id.ts
|
|
9
9
|
/** Official catalog namespace prefix for integration and connection credential ids. */
|
|
@@ -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-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
6
|
import { r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
|
|
7
|
-
import { t as renderOperation } from "./render-operation-
|
|
7
|
+
import { t as renderOperation } from "./render-operation-BhivW7cA.mjs";
|
|
8
8
|
//#region src/commands/operations/list.handler.ts
|
|
9
9
|
async function handleOperationsList(options, ctx) {
|
|
10
10
|
const result = await requireClient(ctx).operations.list({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, 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 { 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-
|
|
9
|
-
import { i as formatWorkflowInputFlag, t as formatExampleInputJson } from "./schema-display-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-QqK2bvTQ.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-BdjQ_VZx.mjs";
|
|
9
|
+
import { i as formatWorkflowInputFlag, t as formatExampleInputJson } from "./schema-display-DKreWhh1.mjs";
|
|
10
10
|
//#region src/commands/workflows/list.handler.ts
|
|
11
11
|
function workflowListJsonEntry(artifact) {
|
|
12
12
|
const authoredWorkflowId = artifact.manifest.id;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, c as getProcessEnv, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
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-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
|
|
7
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
8
|
+
import { t as readCredentialEnvMap } from "./credential-env-map-rXDibCDT.mjs";
|
|
9
|
+
import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-mOKJXdJW.mjs";
|
|
10
10
|
import dayjs from "dayjs";
|
|
11
11
|
//#region src/commands/credentials/list/fetch-all-credential-sets.ts
|
|
12
12
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
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 writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.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) {
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
6
|
import { t as renderCredential } from "./render-credential-D-H1ECDt.mjs";
|
|
7
7
|
//#region src/commands/credentials/definitions/list.handler.ts
|
|
8
8
|
async function handleCredentialDefinitionsList(options, ctx) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { i as readProjectConfig } from "./project-config-
|
|
6
|
-
import { i as writeJson } from "./output-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { i as readProjectConfig } from "./project-config-VloWJirJ.mjs";
|
|
6
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
7
7
|
import { access } from "node:fs/promises";
|
|
8
8
|
import Table from "cli-table3";
|
|
9
9
|
//#region src/commands/projects/projects-list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.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-BHY0khAc.mjs")).handleListen
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { a as writeJsonError, i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as sleep } from "./run-polling-
|
|
4
|
+
import { a as writeJsonError, i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as sleep } from "./run-polling-CJWe6cxy.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-DIOuj6NJ.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-BvOCKckB.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-C52FDzQh.mjs")).handleLogsClear
|
|
54
54
|
})]
|
|
55
55
|
});
|
|
56
56
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-
|
|
8
|
-
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
7
|
+
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-CJWe6cxy.mjs";
|
|
8
|
+
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
|
|
9
9
|
import Table from "cli-table3";
|
|
10
10
|
//#region src/commands/workflows/_shared/run-query.ts
|
|
11
11
|
async function listRunsByAuthoredWorkflowId(client, options) {
|
|
@@ -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/members.add.handler.ts
|
|
9
9
|
async function handleMembersAdd(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/members.invite.handler.ts
|
|
9
9
|
async function handleMembersInvite(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, 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/members.list.handler.ts
|
|
10
10
|
async function handleMembersList(_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, 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/members.remove.handler.ts
|
|
9
9
|
async function handleMembersRemove(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/members.update.handler.ts
|
|
9
9
|
async function handleMembersUpdate(options, ctx) {
|
|
10
10
|
const client = requireClient(ctx);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { r as RelativeFilePathSchema } from "./file-metadata-
|
|
3
|
+
import { r as RelativeFilePathSchema } from "./file-metadata-bzAf3GqL.mjs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
//#region ../../packages/workflow-builder/dist/normalize-path-CojS-CgQ.mjs
|
|
6
6
|
function normalizeRelativeFilePath(relativePath) {
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
//#region ../../packages/shared-types/src/official-providers/index.ts
|
|
5
|
+
const officialProviderRegistry = {
|
|
6
|
+
airtable: {
|
|
7
|
+
supportsMessagingGateway: false,
|
|
8
|
+
messagingAdapterType: null
|
|
9
|
+
},
|
|
10
|
+
slack: {
|
|
11
|
+
supportsMessagingGateway: true,
|
|
12
|
+
messagingAdapterType: "slack"
|
|
13
|
+
},
|
|
14
|
+
linear: {
|
|
15
|
+
supportsMessagingGateway: true,
|
|
16
|
+
messagingAdapterType: "linear"
|
|
17
|
+
},
|
|
18
|
+
github: {
|
|
19
|
+
supportsMessagingGateway: true,
|
|
20
|
+
messagingAdapterType: "github"
|
|
21
|
+
},
|
|
22
|
+
google: {
|
|
23
|
+
supportsMessagingGateway: true,
|
|
24
|
+
messagingAdapterType: null
|
|
25
|
+
},
|
|
26
|
+
notion: {
|
|
27
|
+
supportsMessagingGateway: false,
|
|
28
|
+
messagingAdapterType: null
|
|
29
|
+
},
|
|
30
|
+
salesforce: {
|
|
31
|
+
supportsMessagingGateway: false,
|
|
32
|
+
messagingAdapterType: null
|
|
33
|
+
},
|
|
34
|
+
shopify: {
|
|
35
|
+
supportsMessagingGateway: false,
|
|
36
|
+
messagingAdapterType: null
|
|
37
|
+
},
|
|
38
|
+
spotify: {
|
|
39
|
+
supportsMessagingGateway: false,
|
|
40
|
+
messagingAdapterType: null
|
|
41
|
+
},
|
|
42
|
+
strava: {
|
|
43
|
+
supportsMessagingGateway: false,
|
|
44
|
+
messagingAdapterType: null
|
|
45
|
+
},
|
|
46
|
+
zoom: {
|
|
47
|
+
supportsMessagingGateway: false,
|
|
48
|
+
messagingAdapterType: null
|
|
49
|
+
},
|
|
50
|
+
calendly: {
|
|
51
|
+
supportsMessagingGateway: false,
|
|
52
|
+
messagingAdapterType: null
|
|
53
|
+
},
|
|
54
|
+
docusign: {
|
|
55
|
+
supportsMessagingGateway: false,
|
|
56
|
+
messagingAdapterType: null
|
|
57
|
+
},
|
|
58
|
+
ramp: {
|
|
59
|
+
supportsMessagingGateway: false,
|
|
60
|
+
messagingAdapterType: null
|
|
61
|
+
},
|
|
62
|
+
zendesk: {
|
|
63
|
+
supportsMessagingGateway: false,
|
|
64
|
+
messagingAdapterType: null
|
|
65
|
+
},
|
|
66
|
+
supabase: {
|
|
67
|
+
supportsMessagingGateway: false,
|
|
68
|
+
messagingAdapterType: null
|
|
69
|
+
},
|
|
70
|
+
gusto: {
|
|
71
|
+
supportsMessagingGateway: false,
|
|
72
|
+
messagingAdapterType: null
|
|
73
|
+
},
|
|
74
|
+
sentry: {
|
|
75
|
+
supportsMessagingGateway: false,
|
|
76
|
+
messagingAdapterType: null
|
|
77
|
+
},
|
|
78
|
+
typeform: {
|
|
79
|
+
supportsMessagingGateway: false,
|
|
80
|
+
messagingAdapterType: null
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
function toNonEmptyTuple(values) {
|
|
84
|
+
if (values.length === 0) throw new Error("Expected at least one provider value");
|
|
85
|
+
return values;
|
|
86
|
+
}
|
|
87
|
+
const OfficialProviderValues = toNonEmptyTuple(Object.freeze(Object.keys(officialProviderRegistry)));
|
|
88
|
+
const MessagingGatewayProviderValues = toNonEmptyTuple(Object.freeze(OfficialProviderValues.filter((provider) => officialProviderRegistry[provider].supportsMessagingGateway)));
|
|
89
|
+
const OfficialProviderSchema = z.enum(OfficialProviderValues);
|
|
90
|
+
z.enum(MessagingGatewayProviderValues);
|
|
91
|
+
//#endregion
|
|
92
|
+
export { OfficialProviderValues as n, OfficialProviderSchema as t };
|
|
@@ -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/operations/operations.command.ts
|
|
7
7
|
const OperationsListOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -56,13 +56,13 @@ function createOperationsCommand() {
|
|
|
56
56
|
description: "Browse and inspect operations across all integrations",
|
|
57
57
|
schema: OperationsListOptionsSchema,
|
|
58
58
|
optionsConfig: OPERATIONS_LIST_OPTIONS_CONFIG,
|
|
59
|
-
loadHandler: async () => (await import("./list.handler-
|
|
59
|
+
loadHandler: async () => (await import("./list.handler-CD6T_BXB.mjs")).handleOperationsList,
|
|
60
60
|
subcommands: [createTypedCommand({
|
|
61
61
|
name: "list",
|
|
62
62
|
description: "List operations, optionally scoped to one integration",
|
|
63
63
|
schema: OperationsListOptionsSchema,
|
|
64
64
|
optionsConfig: OPERATIONS_LIST_OPTIONS_CONFIG,
|
|
65
|
-
loadHandler: async () => (await import("./list.handler-
|
|
65
|
+
loadHandler: async () => (await import("./list.handler-CD6T_BXB.mjs")).handleOperationsList
|
|
66
66
|
}), createTypedCommand({
|
|
67
67
|
name: "show",
|
|
68
68
|
description: "Show full details for one operation, including input/output schemas",
|
|
@@ -73,7 +73,7 @@ function createOperationsCommand() {
|
|
|
73
73
|
description: "Operation id, e.g. aws-s3.put-object",
|
|
74
74
|
key: "id"
|
|
75
75
|
},
|
|
76
|
-
loadHandler: async () => (await import("./show.handler-
|
|
76
|
+
loadHandler: async () => (await import("./show.handler-BD5i6EV5.mjs")).handleOperationShow
|
|
77
77
|
})]
|
|
78
78
|
});
|
|
79
79
|
}
|