@powerhousedao/shared 6.2.3-dev.79 → 6.2.3-dev.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/clis/args/access-token.d.mts +14 -2
- package/dist/clis/args/access-token.d.mts.map +1 -0
- package/dist/clis/args/access-token.mjs +21 -1
- package/dist/clis/args/access-token.mjs.map +1 -0
- package/dist/clis/args/{common-Bnm859xU.d.mts → common-BpLj4peE.d.mts} +4 -4
- package/dist/clis/args/{common-Bnm859xU.d.mts.map → common-BpLj4peE.d.mts.map} +1 -1
- package/dist/clis/args/{common-CHSGBvxM.mjs → common-CBLen_yt.mjs} +3 -4
- package/dist/clis/args/common-CBLen_yt.mjs.map +1 -0
- package/dist/clis/args/common.d.mts +1 -1
- package/dist/clis/args/common.mjs +1 -1
- package/dist/clis/args/connect.d.mts +448 -2
- package/dist/clis/args/connect.d.mts.map +1 -0
- package/dist/clis/args/connect.mjs +202 -1
- package/dist/clis/args/connect.mjs.map +1 -0
- package/dist/clis/args/{generate-DLPqkD9L.mjs → generate-a36SaAn4.mjs} +2 -2
- package/dist/clis/args/{generate-DLPqkD9L.mjs.map → generate-a36SaAn4.mjs.map} +1 -1
- package/dist/clis/args/generate.d.mts +101 -2
- package/dist/clis/args/generate.d.mts.map +1 -0
- package/dist/clis/args/generate.mjs +1 -1
- package/dist/clis/args/{help-B16JXhxy.mjs → help-Cb66IK-J.mjs} +18 -18
- package/dist/clis/args/{help-B16JXhxy.mjs.map → help-Cb66IK-J.mjs.map} +1 -1
- package/dist/clis/args/help.mjs +14 -1
- package/dist/clis/args/host.d.mts +22 -2
- package/dist/clis/args/host.d.mts.map +1 -0
- package/dist/clis/args/host.mjs +34 -1
- package/dist/clis/args/host.mjs.map +1 -0
- package/dist/clis/args/index.d.mts +19 -19
- package/dist/clis/args/index.mjs +20 -20
- package/dist/clis/args/init.d.mts +53 -2
- package/dist/clis/args/init.d.mts.map +1 -0
- package/dist/clis/args/init.mjs +71 -1
- package/dist/clis/args/init.mjs.map +1 -0
- package/dist/clis/args/inspect.d.mts +11 -2
- package/dist/clis/args/inspect.d.mts.map +1 -0
- package/dist/clis/args/inspect.mjs +14 -1
- package/dist/clis/args/inspect.mjs.map +1 -0
- package/dist/clis/args/install.d.mts +35 -2
- package/dist/clis/args/install.d.mts.map +1 -0
- package/dist/clis/args/install.mjs +31 -1
- package/dist/clis/args/install.mjs.map +1 -0
- package/dist/clis/args/list.d.mts +8 -2
- package/dist/clis/args/list.d.mts.map +1 -0
- package/dist/clis/args/list.mjs +6 -1
- package/dist/clis/args/list.mjs.map +1 -0
- package/dist/clis/args/login.d.mts +23 -2
- package/dist/clis/args/login.d.mts.map +1 -0
- package/dist/clis/args/login.mjs +39 -1
- package/dist/clis/args/login.mjs.map +1 -0
- package/dist/clis/args/mcp.d.mts +14 -2
- package/dist/clis/args/mcp.d.mts.map +1 -0
- package/dist/clis/args/mcp.mjs +21 -1
- package/dist/clis/args/mcp.mjs.map +1 -0
- package/dist/clis/args/migrate.d.mts +17 -2
- package/dist/clis/args/migrate.d.mts.map +1 -0
- package/dist/clis/args/migrate.mjs +27 -1
- package/dist/clis/args/migrate.mjs.map +1 -0
- package/dist/clis/args/publish.d.mts +14 -2
- package/dist/clis/args/publish.d.mts.map +1 -0
- package/dist/clis/args/publish.mjs +18 -1
- package/dist/clis/args/publish.mjs.map +1 -0
- package/dist/clis/args/registry.d.mts +15 -2
- package/dist/clis/args/registry.d.mts.map +1 -0
- package/dist/clis/args/registry.mjs +22 -1
- package/dist/clis/args/registry.mjs.map +1 -0
- package/dist/clis/args/run.mjs +27 -1
- package/dist/clis/args/run.mjs.map +1 -0
- package/dist/clis/args/{service-DiTFThbn.d.mts → service-IZ0Aq58z.d.mts} +2 -2
- package/dist/clis/args/{service-DiTFThbn.d.mts.map → service-IZ0Aq58z.d.mts.map} +1 -1
- package/dist/clis/args/service.d.mts +1 -1
- package/dist/clis/args/service.mjs +10 -1
- package/dist/clis/args/service.mjs.map +1 -0
- package/dist/clis/args/switchboard.d.mts +68 -2
- package/dist/clis/args/switchboard.d.mts.map +1 -0
- package/dist/clis/args/switchboard.mjs +84 -1
- package/dist/clis/args/switchboard.mjs.map +1 -0
- package/dist/clis/args/uninstall.d.mts +26 -2
- package/dist/clis/args/uninstall.d.mts.map +1 -0
- package/dist/clis/args/uninstall.mjs +15 -1
- package/dist/clis/args/uninstall.mjs.map +1 -0
- package/dist/clis/args/unpublish.d.mts +20 -2
- package/dist/clis/args/unpublish.d.mts.map +1 -0
- package/dist/clis/args/unpublish.mjs +29 -1
- package/dist/clis/args/unpublish.mjs.map +1 -0
- package/dist/clis/args/{vetra-F4zGu_hG.mjs → vetra-DlAEC_Mv.mjs} +2 -2
- package/dist/clis/args/{vetra-F4zGu_hG.mjs.map → vetra-DlAEC_Mv.mjs.map} +1 -1
- package/dist/clis/args/vetra.d.mts +112 -2
- package/dist/clis/args/vetra.d.mts.map +1 -0
- package/dist/clis/args/vetra.mjs +1 -1
- package/dist/clis/{build-config-tJhHVdPm.mjs → build-config-xZgi0nyb.mjs} +3 -2
- package/dist/clis/build-config-xZgi0nyb.mjs.map +1 -0
- package/dist/clis/build-config.d.mts.map +1 -1
- package/dist/clis/build-config.mjs +1 -1
- package/dist/clis/build-pieces.d.mts +1 -1
- package/dist/clis/build-pieces.mjs +2 -2
- package/dist/clis/build-pieces.mjs.map +1 -1
- package/dist/clis/constants.d.mts +1 -1
- package/dist/clis/constants.mjs +6 -0
- package/dist/clis/constants.mjs.map +1 -1
- package/dist/clis/index.d.mts +20 -9
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +28 -8
- package/dist/clis/index.mjs.map +1 -1
- package/dist/clis/{types-BKM2kIEW.d.mts → types-DKuZRMVO.d.mts} +6 -1
- package/dist/clis/{types-BKM2kIEW.d.mts.map → types-DKuZRMVO.d.mts.map} +1 -1
- package/dist/clis/utils.d.mts.map +1 -1
- package/dist/clis/utils.mjs.map +1 -1
- package/dist/connect/config-loader.d.ts +1 -1
- package/dist/connect/connect-config-schema.d.ts +1 -1
- package/dist/connect/connect-config-schema.js +1 -1
- package/dist/connect/index.d.ts +2 -2
- package/dist/connect/origin-placeholder.d.ts +52 -0
- package/dist/connect/origin-placeholder.d.ts.map +1 -0
- package/dist/connect/origin-placeholder.js +101 -0
- package/dist/connect/origin-placeholder.js.map +1 -0
- package/dist/{connect-config-schema-hSe_84zI.d.ts → connect-config-schema-CsotSch2.d.ts} +2 -2
- package/dist/{connect-config-schema-hSe_84zI.d.ts.map → connect-config-schema-CsotSch2.d.ts.map} +1 -1
- package/dist/{constants-4Y5b-joA.d.ts → constants-5UFY_rXh.d.ts} +2 -2
- package/dist/constants-5UFY_rXh.d.ts.map +1 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/document-drive/index.d.ts +3 -3
- package/dist/document-model/dispatch.d.ts +1 -1
- package/dist/document-model/errors.d.ts +1 -1
- package/dist/document-model/errors.js.map +1 -1
- package/dist/document-model/index.d.ts +1 -1
- package/dist/host-tokens/index.d.ts +2 -2
- package/dist/host-tokens/index.js +2 -278
- package/dist/host-tokens-DOeyxqLi.js +322 -0
- package/dist/host-tokens-DOeyxqLi.js.map +1 -0
- package/dist/{index-DIM6qtzj.d.ts → index-D58WVj_E.d.ts} +21 -2
- package/dist/index-D58WVj_E.d.ts.map +1 -0
- package/dist/{index-BzueQ7B3.d.ts → index-DrmluGJD.d.ts} +2 -2
- package/dist/{index-BzueQ7B3.d.ts.map → index-DrmluGJD.d.ts.map} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/processors/index.d.ts +1 -1
- package/dist/processors/testing.d.ts +1 -1
- package/dist/registry/index.d.ts +2 -2
- package/dist/registry/index.js +13 -3
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/manifest-slim.d.ts +2 -2
- package/dist/{types-BoYyqmJ2.d.ts → types-CZ0rTsKm.d.ts} +2 -2
- package/dist/{types-BoYyqmJ2.d.ts.map → types-CZ0rTsKm.d.ts.map} +1 -1
- package/dist/{types-B1HqOXqL.d.ts → types-VCTwbNTD.d.ts} +3 -3
- package/dist/{types-B1HqOXqL.d.ts.map → types-VCTwbNTD.d.ts.map} +1 -1
- package/package.json +1 -1
- package/dist/clis/args/access-token-C5sKsH2O.d.mts +0 -16
- package/dist/clis/args/access-token-C5sKsH2O.d.mts.map +0 -1
- package/dist/clis/args/access-token-D28cJ6Ov.mjs +0 -22
- package/dist/clis/args/access-token-D28cJ6Ov.mjs.map +0 -1
- package/dist/clis/args/common-CHSGBvxM.mjs.map +0 -1
- package/dist/clis/args/connect-CmErgUlp.mjs +0 -203
- package/dist/clis/args/connect-CmErgUlp.mjs.map +0 -1
- package/dist/clis/args/connect-DjeiqXus.d.mts +0 -450
- package/dist/clis/args/connect-DjeiqXus.d.mts.map +0 -1
- package/dist/clis/args/dist-CorQTQL-.mjs +0 -1533
- package/dist/clis/args/dist-CorQTQL-.mjs.map +0 -1
- package/dist/clis/args/generate-BPBBLeUD.d.mts +0 -103
- package/dist/clis/args/generate-BPBBLeUD.d.mts.map +0 -1
- package/dist/clis/args/host-BRXA3WP5.mjs +0 -35
- package/dist/clis/args/host-BRXA3WP5.mjs.map +0 -1
- package/dist/clis/args/host-BX7KQ0Fp.d.mts +0 -24
- package/dist/clis/args/host-BX7KQ0Fp.d.mts.map +0 -1
- package/dist/clis/args/init-CTaK80wE.d.mts +0 -55
- package/dist/clis/args/init-CTaK80wE.d.mts.map +0 -1
- package/dist/clis/args/init-DYFFSkxI.mjs +0 -72
- package/dist/clis/args/init-DYFFSkxI.mjs.map +0 -1
- package/dist/clis/args/inspect-BjRmtB86.d.mts +0 -13
- package/dist/clis/args/inspect-BjRmtB86.d.mts.map +0 -1
- package/dist/clis/args/inspect-BniSlWn2.mjs +0 -15
- package/dist/clis/args/inspect-BniSlWn2.mjs.map +0 -1
- package/dist/clis/args/install-B0tMyUMw.d.mts +0 -37
- package/dist/clis/args/install-B0tMyUMw.d.mts.map +0 -1
- package/dist/clis/args/install-sBi-hWv6.mjs +0 -32
- package/dist/clis/args/install-sBi-hWv6.mjs.map +0 -1
- package/dist/clis/args/list-DcBHE_2X.mjs +0 -7
- package/dist/clis/args/list-DcBHE_2X.mjs.map +0 -1
- package/dist/clis/args/list-DrbxA7JJ.d.mts +0 -10
- package/dist/clis/args/list-DrbxA7JJ.d.mts.map +0 -1
- package/dist/clis/args/login-C8lWLGqU.mjs +0 -40
- package/dist/clis/args/login-C8lWLGqU.mjs.map +0 -1
- package/dist/clis/args/login-CXRJXg71.d.mts +0 -25
- package/dist/clis/args/login-CXRJXg71.d.mts.map +0 -1
- package/dist/clis/args/mcp-9ETsMr71.mjs +0 -22
- package/dist/clis/args/mcp-9ETsMr71.mjs.map +0 -1
- package/dist/clis/args/mcp-Cl5PPlkl.d.mts +0 -16
- package/dist/clis/args/mcp-Cl5PPlkl.d.mts.map +0 -1
- package/dist/clis/args/migrate-39GBHGb-.mjs +0 -28
- package/dist/clis/args/migrate-39GBHGb-.mjs.map +0 -1
- package/dist/clis/args/migrate-DKG-NVd5.d.mts +0 -19
- package/dist/clis/args/migrate-DKG-NVd5.d.mts.map +0 -1
- package/dist/clis/args/publish-CeW4bOrl.d.mts +0 -16
- package/dist/clis/args/publish-CeW4bOrl.d.mts.map +0 -1
- package/dist/clis/args/publish-Rtu9dx7q.mjs +0 -19
- package/dist/clis/args/publish-Rtu9dx7q.mjs.map +0 -1
- package/dist/clis/args/registry-DNH8xuaE.d.mts +0 -17
- package/dist/clis/args/registry-DNH8xuaE.d.mts.map +0 -1
- package/dist/clis/args/registry-Pt5yN9xS.mjs +0 -23
- package/dist/clis/args/registry-Pt5yN9xS.mjs.map +0 -1
- package/dist/clis/args/run-l_LiMplO.mjs +0 -28
- package/dist/clis/args/run-l_LiMplO.mjs.map +0 -1
- package/dist/clis/args/service-B3FHLTcp.mjs +0 -11
- package/dist/clis/args/service-B3FHLTcp.mjs.map +0 -1
- package/dist/clis/args/switchboard-BXLSuEoC.mjs +0 -85
- package/dist/clis/args/switchboard-BXLSuEoC.mjs.map +0 -1
- package/dist/clis/args/switchboard-RrNb1fUH.d.mts +0 -70
- package/dist/clis/args/switchboard-RrNb1fUH.d.mts.map +0 -1
- package/dist/clis/args/uninstall-CDx7lwxn.d.mts +0 -28
- package/dist/clis/args/uninstall-CDx7lwxn.d.mts.map +0 -1
- package/dist/clis/args/uninstall-ChFF846g.mjs +0 -16
- package/dist/clis/args/uninstall-ChFF846g.mjs.map +0 -1
- package/dist/clis/args/unpublish-CEDsk6uv.d.mts +0 -22
- package/dist/clis/args/unpublish-CEDsk6uv.d.mts.map +0 -1
- package/dist/clis/args/unpublish-MW7IKVH6.mjs +0 -30
- package/dist/clis/args/unpublish-MW7IKVH6.mjs.map +0 -1
- package/dist/clis/args/vetra-CviuwTcH.d.mts +0 -114
- package/dist/clis/args/vetra-CviuwTcH.d.mts.map +0 -1
- package/dist/clis/args/vetra-ports.test.d.mts +0 -2
- package/dist/clis/args/vetra-ports.test.mjs +0 -14887
- package/dist/clis/args/vetra-ports.test.mjs.map +0 -1
- package/dist/clis/build-config-tJhHVdPm.mjs.map +0 -1
- package/dist/constants-4Y5b-joA.d.ts.map +0 -1
- package/dist/host-tokens/index.js.map +0 -1
- package/dist/index-DIM6qtzj.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host.mjs","names":[],"sources":["../../../clis/args/host.ts"],"sourcesContent":["import { option, optional, positional, string } from \"cmd-ts\";\n\n// `ph host check` (FEATURE_UNIFORM_RUNNERS_ENABLED); ph-cli registers it, ph-cmd's help describes it.\nexport const hostCheckArgs = {\n host: positional({\n type: string,\n displayName: \"host\",\n description: \"the host to check (a directory under hosts/)\",\n }),\n // Not --env-file: node takes that flag even after the script name.\n envFile: option({\n type: optional(string),\n long: \"env\",\n description:\n \"check against this env file alone instead of the project .env and the process env\",\n }),\n verb: option({\n type: optional(string),\n long: \"verb\",\n description: \"the verb to check at (default: run)\",\n }),\n};\n\n// `ph host export` (FEATURE_UNIFORM_RUNNERS_ENABLED).\nexport const hostExportArgs = {\n host: positional({\n type: string,\n displayName: \"host\",\n description: \"the host to export (a directory under hosts/)\",\n }),\n out: option({\n type: optional(string),\n long: \"out\",\n description: \"write the JSON to this file instead of stdout\",\n }),\n};\n"],"mappings":";;AAGA,MAAa,gBAAgB;CAC3B,MAAM,WAAW;EACf,MAAM;EACN,aAAa;EACb,aAAa;CACf,CAAC;CAED,SAAS,OAAO;EACd,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,aACE;CACJ,CAAC;CACD,MAAM,OAAO;EACX,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,aAAa;CACf,CAAC;AACH;AAGA,MAAa,iBAAiB;CAC5B,MAAM,WAAW;EACf,MAAM;EACN,aAAa;EACb,aAAa;CACf,CAAC;CACD,KAAK,OAAO;EACV,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,aAAa;CACf,CAAC;AACH"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as packageManagerArgs, a as connectBasePath, b as renownSwitchboardUrl, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, x as vetraSwitchboardArgs, y as renownNamespace } from "./common-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { accessTokenArgs } from "./access-token.mjs";
|
|
2
|
+
import { _ as packageManagerArgs, a as connectBasePath, b as renownSwitchboardUrl, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, x as vetraSwitchboardArgs, y as renownNamespace } from "./common-BpLj4peE.mjs";
|
|
3
|
+
import { connectArgs, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs } from "./connect.mjs";
|
|
4
|
+
import { generateArgs } from "./generate.mjs";
|
|
5
5
|
import { n as phCliCommandNames, t as phCliHelpCommands } from "./help-CmnOv3z3.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { n as ServiceAction, t as serviceArgs } from "./service-
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
6
|
+
import { hostCheckArgs, hostExportArgs } from "./host.mjs";
|
|
7
|
+
import { initArgs } from "./init.mjs";
|
|
8
|
+
import { inspectArgs } from "./inspect.mjs";
|
|
9
|
+
import { installArgs } from "./install.mjs";
|
|
10
|
+
import { listArgs } from "./list.mjs";
|
|
11
|
+
import { loginArgs } from "./login.mjs";
|
|
12
|
+
import { mcpArgs } from "./mcp.mjs";
|
|
13
|
+
import { migrateArgs } from "./migrate.mjs";
|
|
14
|
+
import { publishArgs } from "./publish.mjs";
|
|
15
|
+
import { DEFAULT_REGISTRY_LOGIN_EXPIRY, registryLoginArgs } from "./registry.mjs";
|
|
16
|
+
import { n as ServiceAction, t as serviceArgs } from "./service-IZ0Aq58z.mjs";
|
|
17
|
+
import { switchboardArgs } from "./switchboard.mjs";
|
|
18
|
+
import { uninstallArgs } from "./uninstall.mjs";
|
|
19
|
+
import { unpublishArgs } from "./unpublish.mjs";
|
|
20
|
+
import { resolveConnectPortDefault, resolveSwitchboardPortDefault, vetraArgs } from "./vetra.mjs";
|
|
21
21
|
export { AGENTS, DEFAULT_REGISTRY_LOGIN_EXPIRY, type ServiceAction, accessTokenArgs, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, disableLocalPackages, drivesPreserveStrategy, force, generateArgs, getPackageManagerCommand, hostCheckArgs, hostExportArgs, https, httpsCertFile, httpsKeyFile, initArgs, inspectArgs, installArgs, listArgs, localPackage, logLevel, loginArgs, mcpArgs, migrateArgs, packageManagerArgs, packages, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, renownNamespace, renownSwitchboardUrl, resolveConnectPortDefault, resolveSwitchboardPortDefault, serviceArgs, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs };
|
|
22
22
|
export {};
|
package/dist/clis/args/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { _ as packageManagerArgs, a as connectBasePath, b as renownSwitchboardUrl, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, x as vetraSwitchboardArgs, y as renownNamespace } from "./common-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as generateArgs } from "./generate-
|
|
5
|
-
import { n as phCliCommandNames, t as phCliHelpCommands } from "./help-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { n as resolveSwitchboardPortDefault, r as vetraArgs, t as resolveConnectPortDefault } from "./vetra-
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
1
|
+
import { _ as packageManagerArgs, a as connectBasePath, b as renownSwitchboardUrl, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, x as vetraSwitchboardArgs, y as renownNamespace } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { accessTokenArgs } from "./access-token.mjs";
|
|
3
|
+
import { connectArgs, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs } from "./connect.mjs";
|
|
4
|
+
import { t as generateArgs } from "./generate-a36SaAn4.mjs";
|
|
5
|
+
import { n as phCliCommandNames, t as phCliHelpCommands } from "./help-Cb66IK-J.mjs";
|
|
6
|
+
import { hostCheckArgs, hostExportArgs } from "./host.mjs";
|
|
7
|
+
import { inspectArgs } from "./inspect.mjs";
|
|
8
|
+
import { installArgs } from "./install.mjs";
|
|
9
|
+
import { listArgs } from "./list.mjs";
|
|
10
|
+
import { loginArgs } from "./login.mjs";
|
|
11
|
+
import { mcpArgs } from "./mcp.mjs";
|
|
12
|
+
import { migrateArgs } from "./migrate.mjs";
|
|
13
|
+
import { publishArgs } from "./publish.mjs";
|
|
14
|
+
import { DEFAULT_REGISTRY_LOGIN_EXPIRY, registryLoginArgs } from "./registry.mjs";
|
|
15
|
+
import { switchboardArgs } from "./switchboard.mjs";
|
|
16
|
+
import { uninstallArgs } from "./uninstall.mjs";
|
|
17
|
+
import { n as resolveSwitchboardPortDefault, r as vetraArgs, t as resolveConnectPortDefault } from "./vetra-DlAEC_Mv.mjs";
|
|
18
|
+
import { initArgs } from "./init.mjs";
|
|
19
|
+
import { serviceArgs } from "./service.mjs";
|
|
20
|
+
import { unpublishArgs } from "./unpublish.mjs";
|
|
21
21
|
export { AGENTS, DEFAULT_REGISTRY_LOGIN_EXPIRY, accessTokenArgs, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, disableLocalPackages, drivesPreserveStrategy, force, generateArgs, getPackageManagerCommand, hostCheckArgs, hostExportArgs, https, httpsCertFile, httpsKeyFile, initArgs, inspectArgs, installArgs, listArgs, localPackage, logLevel, loginArgs, mcpArgs, migrateArgs, packageManagerArgs, packages, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, renownNamespace, renownSwitchboardUrl, resolveConnectPortDefault, resolveSwitchboardPortDefault, serviceArgs, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs };
|
|
@@ -1,3 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/init.d.ts
|
|
2
|
+
export declare const initArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
packageManager: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
7
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<import("package-manager-detector").Agent | undefined>>;
|
|
8
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
9
|
+
npm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
10
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
11
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
12
|
+
pnpm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
13
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
14
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
15
|
+
yarn: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
16
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
17
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
18
|
+
bun: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
19
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
20
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
21
|
+
namePositional: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
22
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
23
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
24
|
+
nameOption: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
25
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
26
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
27
|
+
tag: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
28
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<"dev" | "latest" | "rc" | "staging" | undefined>>;
|
|
29
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
30
|
+
version: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
31
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
32
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
33
|
+
dev: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
34
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
35
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
36
|
+
staging: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
37
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
38
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
39
|
+
rc: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
40
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
41
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
42
|
+
remoteDrive: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
43
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
44
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
45
|
+
uniformRunners: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
46
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
47
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
48
|
+
clone: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
49
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
50
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
3
53
|
export {};
|
|
54
|
+
//# sourceMappingURL=init.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.mts","names":[],"sources":["../../../clis/args/init.ts"],"mappings":";qBAWa"}
|
package/dist/clis/args/init.mjs
CHANGED
|
@@ -1,2 +1,72 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as packageManagerArgs, o as debugArgs } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { boolean, flag, oneOf, option, optional, positional, string } from "cmd-ts";
|
|
3
|
+
//#region clis/args/init.ts
|
|
4
|
+
const initArgs = {
|
|
5
|
+
namePositional: positional({
|
|
6
|
+
type: optional(string),
|
|
7
|
+
displayName: "name",
|
|
8
|
+
description: "The name of your project. A new directory will be created in your current directory with this name."
|
|
9
|
+
}),
|
|
10
|
+
nameOption: option({
|
|
11
|
+
type: optional(string),
|
|
12
|
+
long: "name",
|
|
13
|
+
short: "n",
|
|
14
|
+
description: "The name of your project. A new directory will be created in your current directory with this name."
|
|
15
|
+
}),
|
|
16
|
+
...packageManagerArgs,
|
|
17
|
+
tag: option({
|
|
18
|
+
type: optional(oneOf([
|
|
19
|
+
"latest",
|
|
20
|
+
"staging",
|
|
21
|
+
"dev",
|
|
22
|
+
"rc"
|
|
23
|
+
])),
|
|
24
|
+
long: "tag",
|
|
25
|
+
short: "t",
|
|
26
|
+
description: `Specify the release tag to use for your project. Can be one of: "latest", "staging", "dev", or "rc".`
|
|
27
|
+
}),
|
|
28
|
+
version: option({
|
|
29
|
+
type: optional(string),
|
|
30
|
+
long: "version",
|
|
31
|
+
short: "v",
|
|
32
|
+
description: "Specify the exact semver release version to use for your project."
|
|
33
|
+
}),
|
|
34
|
+
dev: flag({
|
|
35
|
+
type: optional(boolean),
|
|
36
|
+
long: "dev",
|
|
37
|
+
short: "d",
|
|
38
|
+
description: "Use the `dev` release tag."
|
|
39
|
+
}),
|
|
40
|
+
staging: flag({
|
|
41
|
+
type: optional(boolean),
|
|
42
|
+
long: "staging",
|
|
43
|
+
short: "s",
|
|
44
|
+
description: "Use the `staging` release tag."
|
|
45
|
+
}),
|
|
46
|
+
rc: flag({
|
|
47
|
+
type: optional(boolean),
|
|
48
|
+
long: "rc",
|
|
49
|
+
description: "Use the `rc` release tag."
|
|
50
|
+
}),
|
|
51
|
+
remoteDrive: option({
|
|
52
|
+
type: optional(string),
|
|
53
|
+
long: "remote-drive",
|
|
54
|
+
short: "r",
|
|
55
|
+
description: "Remote drive identifier."
|
|
56
|
+
}),
|
|
57
|
+
uniformRunners: flag({
|
|
58
|
+
type: optional(boolean),
|
|
59
|
+
long: "uniform-runners",
|
|
60
|
+
description: "Scaffold the hosts/ folder (uniform-runners architecture). Also enabled project-wide by FEATURE_UNIFORM_RUNNERS_ENABLED."
|
|
61
|
+
}),
|
|
62
|
+
clone: option({
|
|
63
|
+
type: optional(string),
|
|
64
|
+
long: "clone",
|
|
65
|
+
description: "Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the cloned project's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored)."
|
|
66
|
+
}),
|
|
67
|
+
...debugArgs
|
|
68
|
+
};
|
|
69
|
+
//#endregion
|
|
2
70
|
export { initArgs };
|
|
71
|
+
|
|
72
|
+
//# sourceMappingURL=init.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.mjs","names":[],"sources":["../../../clis/args/init.ts"],"sourcesContent":["import {\n boolean,\n flag,\n oneOf,\n option,\n optional,\n positional,\n string,\n} from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const initArgs = {\n namePositional: positional({\n type: optional(string),\n displayName: \"name\",\n description:\n \"The name of your project. A new directory will be created in your current directory with this name.\",\n }),\n nameOption: option({\n type: optional(string),\n long: \"name\",\n short: \"n\",\n description:\n \"The name of your project. A new directory will be created in your current directory with this name.\",\n }),\n ...packageManagerArgs,\n tag: option({\n type: optional(oneOf([\"latest\", \"staging\", \"dev\", \"rc\"])),\n long: \"tag\",\n short: \"t\",\n description: `Specify the release tag to use for your project. Can be one of: \"latest\", \"staging\", \"dev\", or \"rc\".`,\n }),\n version: option({\n type: optional(string),\n long: \"version\",\n short: \"v\",\n description:\n \"Specify the exact semver release version to use for your project.\",\n }),\n dev: flag({\n type: optional(boolean),\n long: \"dev\",\n short: \"d\",\n description: \"Use the `dev` release tag.\",\n }),\n staging: flag({\n type: optional(boolean),\n long: \"staging\",\n short: \"s\",\n description: \"Use the `staging` release tag.\",\n }),\n rc: flag({\n type: optional(boolean),\n long: \"rc\",\n description: \"Use the `rc` release tag.\",\n }),\n remoteDrive: option({\n type: optional(string),\n long: \"remote-drive\",\n short: \"r\",\n description: \"Remote drive identifier.\",\n }),\n uniformRunners: flag({\n type: optional(boolean),\n long: \"uniform-runners\",\n description:\n \"Scaffold the hosts/ folder (uniform-runners architecture). Also enabled project-wide by FEATURE_UNIFORM_RUNNERS_ENABLED.\",\n }),\n clone: option({\n type: optional(string),\n long: \"clone\",\n description:\n \"Path to an existing scaffolded project to clone instead of resolving deps from scratch. Install runs offline from the cloned project's pnpm-lock.yaml (requires --pnpm; --version/--tag are ignored).\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAWA,MAAa,WAAW;CACtB,gBAAgB,WAAW;EACzB,MAAM,SAAS,MAAM;EACrB,aAAa;EACb,aACE;CACJ,CAAC;CACD,YAAY,OAAO;EACjB,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,OAAO;EACP,aACE;CACJ,CAAC;CACD,GAAG;CACH,KAAK,OAAO;EACV,MAAM,SAAS,MAAM;GAAC;GAAU;GAAW;GAAO;EAAI,CAAC,CAAC;EACxD,MAAM;EACN,OAAO;EACP,aAAa;CACf,CAAC;CACD,SAAS,OAAO;EACd,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,OAAO;EACP,aACE;CACJ,CAAC;CACD,KAAK,KAAK;EACR,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aAAa;CACf,CAAC;CACD,SAAS,KAAK;EACZ,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,OAAO;EACP,aAAa;CACf,CAAC;CACD,IAAI,KAAK;EACP,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;CACf,CAAC;CACD,aAAa,OAAO;EAClB,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,OAAO;EACP,aAAa;CACf,CAAC;CACD,gBAAgB,KAAK;EACnB,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;CACJ,CAAC;CACD,OAAO,OAAO;EACZ,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,aACE;CACJ,CAAC;CACD,GAAG;AACL"}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/inspect.d.ts
|
|
2
|
+
export declare const inspectArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
packageName: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
7
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string>>;
|
|
8
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
3
11
|
export {};
|
|
12
|
+
//# sourceMappingURL=inspect.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inspect.d.mts","names":[],"sources":["../../../clis/args/inspect.ts"],"mappings":";qBAGa"}
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as debugArgs } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { positional, string } from "cmd-ts";
|
|
3
|
+
//#region clis/args/inspect.ts
|
|
4
|
+
const inspectArgs = {
|
|
5
|
+
packageName: positional({
|
|
6
|
+
type: string,
|
|
7
|
+
displayName: "package-name",
|
|
8
|
+
description: "The name of the package to inspect"
|
|
9
|
+
}),
|
|
10
|
+
...debugArgs
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
2
13
|
export { inspectArgs };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=inspect.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inspect.mjs","names":[],"sources":["../../../clis/args/inspect.ts"],"sourcesContent":["import { positional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const inspectArgs = {\n packageName: positional({\n type: string,\n displayName: \"package-name\",\n description: \"The name of the package to inspect\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,cAAc;CACzB,aAAa,WAAW;EACtB,MAAM;EACN,aAAa;EACb,aAAa;CACf,CAAC;CACD,GAAG;AACL"}
|
|
@@ -1,3 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/install.d.ts
|
|
2
|
+
export declare const installArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
packageManager: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
7
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<import("package-manager-detector").Agent | undefined>>;
|
|
8
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
9
|
+
npm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
10
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
11
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
12
|
+
pnpm: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
13
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
14
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
15
|
+
yarn: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
16
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
17
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
18
|
+
bun: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
19
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
20
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
21
|
+
dependencies: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
22
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
|
|
23
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp;
|
|
24
|
+
registry: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
25
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
26
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
27
|
+
local: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
28
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
29
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
30
|
+
allowBuild: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
31
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string[]>>;
|
|
32
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register;
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
3
35
|
export {};
|
|
36
|
+
//# sourceMappingURL=install.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.d.mts","names":[],"sources":["../../../clis/args/install.ts"],"mappings":";qBAYa"}
|
|
@@ -1,2 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as packageManagerArgs, o as debugArgs } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { array, boolean, flag, multioption, option, optional, restPositionals, string } from "cmd-ts";
|
|
3
|
+
//#region clis/args/install.ts
|
|
4
|
+
const installArgs = {
|
|
5
|
+
dependencies: restPositionals({
|
|
6
|
+
type: string,
|
|
7
|
+
displayName: "dependencies",
|
|
8
|
+
description: "Names of the dependencies to install"
|
|
9
|
+
}),
|
|
10
|
+
registry: option({
|
|
11
|
+
type: optional(string),
|
|
12
|
+
long: "registry",
|
|
13
|
+
description: "Registry URL to install from (overrides config and environment)"
|
|
14
|
+
}),
|
|
15
|
+
local: flag({
|
|
16
|
+
type: optional(boolean),
|
|
17
|
+
long: "local",
|
|
18
|
+
description: "Also install packages into node_modules (marks them as provider: \"local\" so they get bundled into ph connect build)"
|
|
19
|
+
}),
|
|
20
|
+
allowBuild: multioption({
|
|
21
|
+
type: array(string),
|
|
22
|
+
long: "allow-build",
|
|
23
|
+
description: "A list of package names that are allowed to run postinstall scripts during installation.",
|
|
24
|
+
defaultValue: () => []
|
|
25
|
+
}),
|
|
26
|
+
...packageManagerArgs,
|
|
27
|
+
...debugArgs
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
2
30
|
export { installArgs };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=install.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.mjs","names":[],"sources":["../../../clis/args/install.ts"],"sourcesContent":["import {\n array,\n boolean,\n flag,\n multioption,\n option,\n optional,\n restPositionals,\n string,\n} from \"cmd-ts\";\nimport { debugArgs, packageManagerArgs } from \"./common.js\";\n\nexport const installArgs = {\n dependencies: restPositionals({\n type: string,\n displayName: \"dependencies\",\n description: \"Names of the dependencies to install\",\n }),\n registry: option({\n type: optional(string),\n long: \"registry\",\n description:\n \"Registry URL to install from (overrides config and environment)\",\n }),\n local: flag({\n type: optional(boolean),\n long: \"local\",\n description:\n 'Also install packages into node_modules (marks them as provider: \"local\" so they get bundled into ph connect build)',\n }),\n allowBuild: multioption({\n type: array(string),\n long: \"allow-build\",\n description:\n \"A list of package names that are allowed to run postinstall scripts during installation.\",\n defaultValue: () => [],\n }),\n ...packageManagerArgs,\n ...debugArgs,\n};\n"],"mappings":";;;AAYA,MAAa,cAAc;CACzB,cAAc,gBAAgB;EAC5B,MAAM;EACN,aAAa;EACb,aAAa;CACf,CAAC;CACD,UAAU,OAAO;EACf,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,aACE;CACJ,CAAC;CACD,OAAO,KAAK;EACV,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aACE;CACJ,CAAC;CACD,YAAY,YAAY;EACtB,MAAM,MAAM,MAAM;EAClB,MAAM;EACN,aACE;EACF,oBAAoB,CAAC;CACvB,CAAC;CACD,GAAG;CACH,GAAG;AACL"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/list.d.ts
|
|
2
|
+
export declare const listArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
3
8
|
export {};
|
|
9
|
+
//# sourceMappingURL=list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.mts","names":[],"sources":["../../../clis/args/list.ts"],"mappings":";qBAEa"}
|
package/dist/clis/args/list.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.mjs","names":[],"sources":["../../../clis/args/list.ts"],"sourcesContent":["import { debugArgs } from \"./common.js\";\n\nexport const listArgs = {\n ...debugArgs,\n};\n"],"mappings":";;AAEA,MAAa,WAAW,EACtB,GAAG,UACL"}
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/login.d.ts
|
|
2
|
+
export declare const loginArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
renownUrl: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
7
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string>>;
|
|
8
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
9
|
+
timeout: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
10
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<number>>;
|
|
11
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
12
|
+
logout: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
13
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
14
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
15
|
+
status: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
16
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
17
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
18
|
+
showDid: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
19
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
20
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
3
23
|
export {};
|
|
24
|
+
//# sourceMappingURL=login.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.d.mts","names":[],"sources":["../../../clis/args/login.ts"],"mappings":";qBAIa"}
|
package/dist/clis/args/login.mjs
CHANGED
|
@@ -1,2 +1,40 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as DEFAULT_RENOWN_URL, o as debugArgs } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { boolean, flag, number, option, optional, string } from "cmd-ts";
|
|
3
|
+
//#region clis/args/login.ts
|
|
4
|
+
const loginArgs = {
|
|
5
|
+
renownUrl: option({
|
|
6
|
+
type: string,
|
|
7
|
+
long: "renown-url",
|
|
8
|
+
defaultValue: () => DEFAULT_RENOWN_URL,
|
|
9
|
+
description: `Renown server URL.`,
|
|
10
|
+
defaultValueIsSerializable: true,
|
|
11
|
+
env: "PH_CONNECT_RENOWN_URL"
|
|
12
|
+
}),
|
|
13
|
+
timeout: option({
|
|
14
|
+
type: number,
|
|
15
|
+
long: "timeout",
|
|
16
|
+
defaultValue: () => 300,
|
|
17
|
+
description: "Authentication timeout in seconds.",
|
|
18
|
+
defaultValueIsSerializable: true
|
|
19
|
+
}),
|
|
20
|
+
logout: flag({
|
|
21
|
+
type: optional(boolean),
|
|
22
|
+
long: "logout",
|
|
23
|
+
description: "Sign out and clear stored credentials"
|
|
24
|
+
}),
|
|
25
|
+
status: flag({
|
|
26
|
+
type: optional(boolean),
|
|
27
|
+
long: "status",
|
|
28
|
+
description: "Show current authentication status"
|
|
29
|
+
}),
|
|
30
|
+
showDid: flag({
|
|
31
|
+
type: optional(boolean),
|
|
32
|
+
long: "show-did",
|
|
33
|
+
description: "Show the CLI's DID and exit"
|
|
34
|
+
}),
|
|
35
|
+
...debugArgs
|
|
36
|
+
};
|
|
37
|
+
//#endregion
|
|
2
38
|
export { loginArgs };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=login.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.mjs","names":[],"sources":["../../../clis/args/login.ts"],"sourcesContent":["import { boolean, flag, number, option, optional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\nimport { DEFAULT_RENOWN_URL, DEFAULT_TIMEOUT } from \"../constants.js\";\n\nexport const loginArgs = {\n renownUrl: option({\n type: string,\n long: \"renown-url\",\n defaultValue: () => DEFAULT_RENOWN_URL,\n description: `Renown server URL.`,\n defaultValueIsSerializable: true,\n env: \"PH_CONNECT_RENOWN_URL\",\n }),\n timeout: option({\n type: number,\n long: \"timeout\",\n defaultValue: () => DEFAULT_TIMEOUT,\n description: \"Authentication timeout in seconds.\",\n defaultValueIsSerializable: true,\n }),\n logout: flag({\n type: optional(boolean),\n long: \"logout\",\n description: \"Sign out and clear stored credentials\",\n }),\n status: flag({\n type: optional(boolean),\n long: \"status\",\n description: \"Show current authentication status\",\n }),\n showDid: flag({\n type: optional(boolean),\n long: \"show-did\",\n description: \"Show the CLI's DID and exit\",\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAIA,MAAa,YAAY;CACvB,WAAW,OAAO;EAChB,MAAM;EACN,MAAM;EACN,oBAAoB;EACpB,aAAa;EACb,4BAA4B;EAC5B,KAAK;CACP,CAAC;CACD,SAAS,OAAO;EACd,MAAM;EACN,MAAM;EACN,oBAAA;EACA,aAAa;EACb,4BAA4B;CAC9B,CAAC;CACD,QAAQ,KAAK;EACX,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;CACf,CAAC;CACD,QAAQ,KAAK;EACX,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;CACf,CAAC;CACD,SAAS,KAAK;EACZ,MAAM,SAAS,OAAO;EACtB,MAAM;EACN,aAAa;CACf,CAAC;CACD,GAAG;AACL"}
|
package/dist/clis/args/mcp.d.mts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/mcp.d.ts
|
|
2
|
+
export declare const mcpArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
projectDir: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
7
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
8
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
9
|
+
startTimeout: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
10
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<number>>;
|
|
11
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
3
14
|
export {};
|
|
15
|
+
//# sourceMappingURL=mcp.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.d.mts","names":[],"sources":["../../../clis/args/mcp.ts"],"mappings":";qBAGa"}
|
package/dist/clis/args/mcp.mjs
CHANGED
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as debugArgs } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { number, option, optional, string } from "cmd-ts";
|
|
3
|
+
//#region clis/args/mcp.ts
|
|
4
|
+
const mcpArgs = {
|
|
5
|
+
projectDir: option({
|
|
6
|
+
type: optional(string),
|
|
7
|
+
long: "project-dir",
|
|
8
|
+
description: "Powerhouse project to serve. Defaults to the nearest directory above the working directory that holds powerhouse.config.json."
|
|
9
|
+
}),
|
|
10
|
+
startTimeout: option({
|
|
11
|
+
type: number,
|
|
12
|
+
long: "start-timeout",
|
|
13
|
+
description: "Seconds to wait for Vetra to answer /ready after starting it on the first tool call",
|
|
14
|
+
defaultValue: () => 120,
|
|
15
|
+
defaultValueIsSerializable: true
|
|
16
|
+
}),
|
|
17
|
+
...debugArgs
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
2
20
|
export { mcpArgs };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=mcp.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.mjs","names":[],"sources":["../../../clis/args/mcp.ts"],"sourcesContent":["import { number, option, optional, string } from \"cmd-ts\";\nimport { debugArgs } from \"./common.js\";\n\nexport const mcpArgs = {\n projectDir: option({\n type: optional(string),\n long: \"project-dir\",\n description:\n \"Powerhouse project to serve. Defaults to the nearest directory above the working directory that holds powerhouse.config.json.\",\n }),\n startTimeout: option({\n type: number,\n long: \"start-timeout\",\n description:\n \"Seconds to wait for Vetra to answer /ready after starting it on the first tool call\",\n defaultValue: () => 120,\n defaultValueIsSerializable: true,\n }),\n ...debugArgs,\n};\n"],"mappings":";;;AAGA,MAAa,UAAU;CACrB,YAAY,OAAO;EACjB,MAAM,SAAS,MAAM;EACrB,MAAM;EACN,aACE;CACJ,CAAC;CACD,cAAc,OAAO;EACnB,MAAM;EACN,MAAM;EACN,aACE;EACF,oBAAoB;EACpB,4BAA4B;CAC9B,CAAC;CACD,GAAG;AACL"}
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
//#region clis/args/migrate.d.ts
|
|
2
|
+
export declare const migrateArgs: {
|
|
3
|
+
debug: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
4
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
5
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
6
|
+
versionPositional: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
7
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
8
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
9
|
+
version: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
10
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<string | undefined>>;
|
|
11
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
12
|
+
force: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
13
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean | undefined>>;
|
|
14
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/argparser.js").Register & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Descriptive>;
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
3
17
|
export {};
|
|
18
|
+
//# sourceMappingURL=migrate.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"migrate.d.mts","names":[],"sources":["../../../clis/args/migrate.ts"],"mappings":";qBAMa"}
|
|
@@ -1,2 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as debugArgs } from "./common-CBLen_yt.mjs";
|
|
2
|
+
import { boolean, flag, option, optional, positional, string } from "cmd-ts";
|
|
3
|
+
//#region clis/args/migrate.ts
|
|
4
|
+
const versionDescription = "The version to migrate to. Accepts a valid semver version or `staging`, `dev`, `latest`. Defaults to the release channel of the project's installed Powerhouse packages.";
|
|
5
|
+
const migrateArgs = {
|
|
6
|
+
versionPositional: positional({
|
|
7
|
+
type: optional(string),
|
|
8
|
+
displayName: "version",
|
|
9
|
+
description: versionDescription
|
|
10
|
+
}),
|
|
11
|
+
version: option({
|
|
12
|
+
long: "version",
|
|
13
|
+
short: "v",
|
|
14
|
+
type: optional(string),
|
|
15
|
+
description: versionDescription
|
|
16
|
+
}),
|
|
17
|
+
force: flag({
|
|
18
|
+
type: optional(boolean),
|
|
19
|
+
long: "force",
|
|
20
|
+
short: "f",
|
|
21
|
+
description: "Run migrate from the bundled codegen even if the target version cannot be resolved from the npm registry or differs from the installed ph-cli version."
|
|
22
|
+
}),
|
|
23
|
+
...debugArgs
|
|
24
|
+
};
|
|
25
|
+
//#endregion
|
|
2
26
|
export { migrateArgs };
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=migrate.mjs.map
|