@powerhousedao/shared 6.2.3-dev.77 → 6.2.3-dev.79
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/action-id-DON1WCeY.d.ts +19 -0
- package/dist/action-id-DON1WCeY.d.ts.map +1 -0
- package/dist/clis/args/{access-token-3Hqv_U8I.mjs → access-token-D28cJ6Ov.mjs} +2 -2
- package/dist/clis/args/{access-token-3Hqv_U8I.mjs.map → access-token-D28cJ6Ov.mjs.map} +1 -1
- package/dist/clis/args/access-token.mjs +1 -1
- package/dist/clis/args/{common-BXabdhiO.mjs → common-CHSGBvxM.mjs} +29 -5
- package/dist/clis/args/common-CHSGBvxM.mjs.map +1 -0
- package/dist/clis/args/common.mjs +1 -1
- package/dist/clis/args/{connect-Bad05YS-.mjs → connect-CmErgUlp.mjs} +2 -2
- package/dist/clis/args/{connect-Bad05YS-.mjs.map → connect-CmErgUlp.mjs.map} +1 -1
- package/dist/clis/args/connect.mjs +1 -1
- package/dist/clis/args/{generate-BOItUNvP.mjs → generate-DLPqkD9L.mjs} +2 -2
- package/dist/clis/args/{generate-BOItUNvP.mjs.map → generate-DLPqkD9L.mjs.map} +1 -1
- package/dist/clis/args/generate.mjs +1 -1
- package/dist/clis/args/{help-QVFzsXQl.mjs → help-B16JXhxy.mjs} +25 -17
- package/dist/clis/args/help-B16JXhxy.mjs.map +1 -0
- package/dist/clis/args/{help-BeKM3Nce.d.mts → help-CmnOv3z3.d.mts} +14 -2
- package/dist/clis/args/help-CmnOv3z3.d.mts.map +1 -0
- package/dist/clis/args/help.d.mts +1 -1
- package/dist/clis/args/help.mjs +1 -1
- package/dist/clis/args/{host-Dzd_py0N.mjs → host-BRXA3WP5.mjs} +14 -2
- package/dist/clis/args/host-BRXA3WP5.mjs.map +1 -0
- package/dist/clis/args/{host-CblNFF4o.d.mts → host-BX7KQ0Fp.d.mts} +10 -2
- package/dist/clis/args/host-BX7KQ0Fp.d.mts.map +1 -0
- package/dist/clis/args/host.d.mts +2 -2
- package/dist/clis/args/host.mjs +2 -2
- package/dist/clis/args/index.d.mts +5 -4
- package/dist/clis/args/index.mjs +21 -20
- package/dist/clis/args/{init-xlCNZ8Oe.mjs → init-DYFFSkxI.mjs} +2 -2
- package/dist/clis/args/{init-xlCNZ8Oe.mjs.map → init-DYFFSkxI.mjs.map} +1 -1
- package/dist/clis/args/init.mjs +1 -1
- package/dist/clis/args/{inspect-UNQgtuR0.mjs → inspect-BniSlWn2.mjs} +2 -2
- package/dist/clis/args/{inspect-UNQgtuR0.mjs.map → inspect-BniSlWn2.mjs.map} +1 -1
- package/dist/clis/args/inspect.mjs +1 -1
- package/dist/clis/args/{install-F-27kF6m.mjs → install-sBi-hWv6.mjs} +2 -2
- package/dist/clis/args/{install-F-27kF6m.mjs.map → install-sBi-hWv6.mjs.map} +1 -1
- package/dist/clis/args/install.mjs +1 -1
- package/dist/clis/args/{list-Bkfn8Yuo.mjs → list-DcBHE_2X.mjs} +2 -2
- package/dist/clis/args/{list-Bkfn8Yuo.mjs.map → list-DcBHE_2X.mjs.map} +1 -1
- package/dist/clis/args/list.mjs +1 -1
- package/dist/clis/args/{login-CIFkQExi.mjs → login-C8lWLGqU.mjs} +2 -2
- package/dist/clis/args/{login-CIFkQExi.mjs.map → login-C8lWLGqU.mjs.map} +1 -1
- package/dist/clis/args/login.mjs +1 -1
- package/dist/clis/args/mcp-9ETsMr71.mjs +22 -0
- package/dist/clis/args/mcp-9ETsMr71.mjs.map +1 -0
- package/dist/clis/args/mcp-Cl5PPlkl.d.mts +16 -0
- package/dist/clis/args/mcp-Cl5PPlkl.d.mts.map +1 -0
- package/dist/clis/args/mcp.d.mts +3 -0
- package/dist/clis/args/mcp.mjs +2 -0
- package/dist/clis/args/{migrate-hHLa-0_q.mjs → migrate-39GBHGb-.mjs} +2 -2
- package/dist/clis/args/{migrate-hHLa-0_q.mjs.map → migrate-39GBHGb-.mjs.map} +1 -1
- package/dist/clis/args/migrate.mjs +1 -1
- package/dist/clis/args/{publish-DHqlGWmL.mjs → publish-Rtu9dx7q.mjs} +2 -2
- package/dist/clis/args/{publish-DHqlGWmL.mjs.map → publish-Rtu9dx7q.mjs.map} +1 -1
- package/dist/clis/args/publish.mjs +1 -1
- package/dist/clis/args/{registry-DIwES3l2.mjs → registry-Pt5yN9xS.mjs} +2 -2
- package/dist/clis/args/{registry-DIwES3l2.mjs.map → registry-Pt5yN9xS.mjs.map} +1 -1
- package/dist/clis/args/registry.mjs +1 -1
- package/dist/clis/args/{service-Cpjlyeu5.mjs → service-B3FHLTcp.mjs} +2 -2
- package/dist/clis/args/{service-Cpjlyeu5.mjs.map → service-B3FHLTcp.mjs.map} +1 -1
- package/dist/clis/args/service.mjs +1 -1
- package/dist/clis/args/{switchboard-CCaAtU56.mjs → switchboard-BXLSuEoC.mjs} +3 -3
- package/dist/clis/args/switchboard-BXLSuEoC.mjs.map +1 -0
- package/dist/clis/args/switchboard.mjs +1 -1
- package/dist/clis/args/{uninstall-3U0B8g5c.mjs → uninstall-ChFF846g.mjs} +2 -2
- package/dist/clis/args/{uninstall-3U0B8g5c.mjs.map → uninstall-ChFF846g.mjs.map} +1 -1
- package/dist/clis/args/uninstall.mjs +1 -1
- package/dist/clis/args/{unpublish-s9zUh6Gw.mjs → unpublish-MW7IKVH6.mjs} +2 -2
- package/dist/clis/args/{unpublish-s9zUh6Gw.mjs.map → unpublish-MW7IKVH6.mjs.map} +1 -1
- package/dist/clis/args/unpublish.mjs +1 -1
- package/dist/clis/args/{vetra-DkDaWFPi.d.mts → vetra-CviuwTcH.d.mts} +4 -1
- package/dist/clis/args/vetra-CviuwTcH.d.mts.map +1 -0
- package/dist/clis/args/{vetra-BCOpgM59.mjs → vetra-F4zGu_hG.mjs} +11 -2
- package/dist/clis/args/vetra-F4zGu_hG.mjs.map +1 -0
- package/dist/clis/args/vetra.d.mts +1 -1
- package/dist/clis/args/vetra.mjs +1 -1
- package/dist/clis/build-pieces.d.mts +1 -1
- package/dist/clis/command-names.d.mts +1 -1
- package/dist/clis/command-names.d.mts.map +1 -1
- package/dist/clis/command-names.mjs +1 -0
- package/dist/clis/command-names.mjs.map +1 -1
- package/dist/clis/constants.d.mts +2 -2
- package/dist/clis/constants.mjs +32 -9
- package/dist/clis/constants.mjs.map +1 -1
- package/dist/clis/index.d.mts +60 -7
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +90 -11
- package/dist/clis/index.mjs.map +1 -1
- package/dist/clis/project-env.d.mts +3 -0
- package/dist/clis/project-env.d.mts.map +1 -1
- package/dist/clis/project-env.mjs +9 -1
- package/dist/clis/project-env.mjs.map +1 -1
- package/dist/clis/{types-BNdhWTBs.d.mts → types-BKM2kIEW.d.mts} +37 -10
- package/dist/clis/types-BKM2kIEW.d.mts.map +1 -0
- package/dist/{config-loader-BWt0c0eU.js → config-loader-B7SqNz8z.js} +3 -2
- package/dist/config-loader-B7SqNz8z.js.map +1 -0
- package/dist/connect/config-loader.d.ts +1 -1
- package/dist/connect/config-loader.js +1 -1
- package/dist/connect/connect-config-schema.d.ts +1 -1
- package/dist/connect/connect-config-schema.js +4 -0
- package/dist/connect/connect-config-schema.js.map +1 -1
- package/dist/connect/index.d.ts +8 -2
- package/dist/connect/index.d.ts.map +1 -1
- package/dist/connect/index.js +13 -2
- package/dist/connect/index.js.map +1 -1
- package/dist/{connect-config-schema-1-O1CQ4v.d.ts → connect-config-schema-hSe_84zI.d.ts} +6 -1
- package/dist/connect-config-schema-hSe_84zI.d.ts.map +1 -0
- package/dist/constants-4Y5b-joA.d.ts +9 -0
- package/dist/constants-4Y5b-joA.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-drive/index.js +1 -1
- package/dist/document-model/action-id.d.ts +3 -0
- package/dist/document-model/action-id.js +59 -0
- package/dist/document-model/action-id.js.map +1 -0
- package/dist/document-model/dispatch.d.ts +25 -0
- package/dist/document-model/dispatch.d.ts.map +1 -0
- package/dist/document-model/dispatch.js +0 -0
- package/dist/document-model/errors.d.ts +1 -1
- package/dist/document-model/index.d.ts +4 -2
- package/dist/document-model/index.js +4 -5047
- package/dist/document-model/utils.d.ts +2 -1
- package/dist/document-model/utils.js +2 -1
- package/dist/document-model-D8Z3NUYl.js +5202 -0
- package/dist/document-model-D8Z3NUYl.js.map +1 -0
- package/dist/{index-69rWzMmt.d.ts → index-BzueQ7B3.d.ts} +2 -2
- package/dist/{index-69rWzMmt.d.ts.map → index-BzueQ7B3.d.ts.map} +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/processors/index.d.ts +2 -2
- package/dist/processors/index.js +121 -77
- package/dist/processors/index.js.map +1 -1
- package/dist/processors/testing.d.ts +22 -0
- package/dist/processors/testing.d.ts.map +1 -0
- package/dist/processors/testing.js +77 -0
- package/dist/processors/testing.js.map +1 -0
- package/dist/{purge-v06m_oGz.js → purge-YMJM0Vl7.js} +25 -4
- package/dist/{purge-v06m_oGz.js.map → purge-YMJM0Vl7.js.map} +1 -1
- package/dist/registry/index.d.ts +2 -2
- package/dist/registry/index.js +28 -4
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/manifest-slim.d.ts +2 -2
- package/dist/{types-NkUDXG7c.d.ts → types-B1HqOXqL.d.ts} +178 -57
- package/dist/types-B1HqOXqL.d.ts.map +1 -0
- package/dist/{types-B5-IgDft.d.ts → types-BoYyqmJ2.d.ts} +2 -2
- package/dist/{types-B5-IgDft.d.ts.map → types-BoYyqmJ2.d.ts.map} +1 -1
- package/dist/utils-BrKxCmKx.d.ts.map +1 -1
- package/dist/utils-CSF716ux.js.map +1 -1
- package/dist/utils-MrLmLEVr.js +78 -0
- package/dist/utils-MrLmLEVr.js.map +1 -0
- package/package.json +7 -1
- package/dist/clis/args/common-BXabdhiO.mjs.map +0 -1
- package/dist/clis/args/help-BeKM3Nce.d.mts.map +0 -1
- package/dist/clis/args/help-QVFzsXQl.mjs.map +0 -1
- package/dist/clis/args/host-CblNFF4o.d.mts.map +0 -1
- package/dist/clis/args/host-Dzd_py0N.mjs.map +0 -1
- package/dist/clis/args/switchboard-CCaAtU56.mjs.map +0 -1
- package/dist/clis/args/vetra-BCOpgM59.mjs.map +0 -1
- package/dist/clis/args/vetra-DkDaWFPi.d.mts.map +0 -1
- package/dist/clis/types-BNdhWTBs.d.mts.map +0 -1
- package/dist/config-loader-BWt0c0eU.js.map +0 -1
- package/dist/connect-config-schema-1-O1CQ4v.d.ts.map +0 -1
- package/dist/constants-CcaK3k1D.d.ts +0 -9
- package/dist/constants-CcaK3k1D.d.ts.map +0 -1
- package/dist/document-model/index.js.map +0 -1
- package/dist/types-NkUDXG7c.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region clis/command-names.d.ts
|
|
2
|
-
export declare const phCliCommandNames: readonly ["run", "host", "generate", "vetra", "connect", "build", "publish", "list", "l", "access-token", "registry-login", "inspect", "is", "migrate", "switchboard", "reactor", "login", "logout", "install", "add", "i", "uninstall", "remove"];
|
|
2
|
+
export declare const phCliCommandNames: readonly ["run", "host", "generate", "vetra", "connect", "build", "publish", "list", "l", "access-token", "registry-login", "inspect", "is", "mcp", "migrate", "switchboard", "reactor", "login", "logout", "install", "add", "i", "uninstall", "remove"];
|
|
3
3
|
/** The uniform-runners commands: forwarded to ph-cli only with FEATURE_UNIFORM_RUNNERS_ENABLED. */
|
|
4
4
|
export declare const uniformRunnerCommandNames: ReadonlySet<string>;
|
|
5
5
|
/** Set by ph-cmd on the ph-cli it spawns in the project root: where `ph` was run. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-names.d.mts","names":[],"sources":["../../clis/command-names.ts"],"mappings":";qBAEa;;
|
|
1
|
+
{"version":3,"file":"command-names.d.mts","names":[],"sources":["../../clis/command-names.ts"],"mappings":";qBAEa;;qBA4BA,2BAA2B;;qBAM3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-names.mjs","names":[],"sources":["../../clis/command-names.ts"],"sourcesContent":["// Hardcoded so ph-cmd's dispatch doesn't have to evaluate phCliHelpCommands.\n// The compile-time guard in args/help.ts catches drift.\nexport const phCliCommandNames = [\n \"run\",\n \"host\",\n \"generate\",\n \"vetra\",\n \"connect\",\n \"build\",\n \"publish\",\n \"list\",\n \"l\",\n \"access-token\",\n \"registry-login\",\n \"inspect\",\n \"is\",\n \"migrate\",\n \"switchboard\",\n \"reactor\",\n \"login\",\n \"logout\",\n \"install\",\n \"add\",\n \"i\",\n \"uninstall\",\n \"remove\",\n] as const;\n\n/** The uniform-runners commands: forwarded to ph-cli only with FEATURE_UNIFORM_RUNNERS_ENABLED. */\nexport const uniformRunnerCommandNames: ReadonlySet<string> = new Set([\n \"run\",\n \"host\",\n]);\n\n/** Set by ph-cmd on the ph-cli it spawns in the project root: where `ph` was run. */\nexport const CALLER_CWD_ENV = \"PH_CALLER_CWD\";\n"],"mappings":";AAEA,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,MAAa,4CAAiD,IAAI,IAAI,CACpE,OACA,MACF,CAAC;;AAGD,MAAa,iBAAiB"}
|
|
1
|
+
{"version":3,"file":"command-names.mjs","names":[],"sources":["../../clis/command-names.ts"],"sourcesContent":["// Hardcoded so ph-cmd's dispatch doesn't have to evaluate phCliHelpCommands.\n// The compile-time guard in args/help.ts catches drift.\nexport const phCliCommandNames = [\n \"run\",\n \"host\",\n \"generate\",\n \"vetra\",\n \"connect\",\n \"build\",\n \"publish\",\n \"list\",\n \"l\",\n \"access-token\",\n \"registry-login\",\n \"inspect\",\n \"is\",\n \"mcp\",\n \"migrate\",\n \"switchboard\",\n \"reactor\",\n \"login\",\n \"logout\",\n \"install\",\n \"add\",\n \"i\",\n \"uninstall\",\n \"remove\",\n] as const;\n\n/** The uniform-runners commands: forwarded to ph-cli only with FEATURE_UNIFORM_RUNNERS_ENABLED. */\nexport const uniformRunnerCommandNames: ReadonlySet<string> = new Set([\n \"run\",\n \"host\",\n]);\n\n/** Set by ph-cmd on the ph-cli it spawns in the project root: where `ph` was run. */\nexport const CALLER_CWD_ENV = \"PH_CALLER_CWD\";\n"],"mappings":";AAEA,MAAa,oBAAoB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;;AAGA,MAAa,4CAAiD,IAAI,IAAI,CACpE,OACA,MACF,CAAC;;AAGD,MAAa,iBAAiB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_DEPENDENCY_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_DRIVE_ICON, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, PIECES_FRAMEWORK_PACKAGE, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PROJECT_PORT_BAND_SIZE, PROJECT_PORT_BAND_STUDIO, PROJECT_PORT_BAND_SWITCHBOARD, PROJECT_PORT_BAND_VETRA_CONNECT, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
1
|
+
import { A as PH_GLOBAL_DIR_NAME, B as RELATIONAL_DB_PROCESSOR_CLASS, C as KYSELY_PACKAGE, D as MINIMUM_NODE_VERSION, E as LOG_LEVELS, F as PROJECT_PORT_BAND_SIZE, G as VERSIONED_PEER_DEPENDENCIES, H as SERVICE_ACTIONS, I as PROJECT_PORT_BAND_STUDIO, J as externalDevDependencies, K as defaultManifest, L as PROJECT_PORT_BAND_SWITCHBOARD, M as PIECES_FRAMEWORK_PACKAGE, N as POWERHOUSE_CONFIG_FILE, O as PEER_EXTERNAL_DEPENDENCIES, P as POWERHOUSE_GLOBAL_DIR, R as PROJECT_PORT_BAND_VETRA_CONNECT, S as HOME_DIR, T as LEGACY_LINT_FORMAT_FILES, U as VERSIONED_DEPENDENCIES, V as SECONDS_IN_DAY, W as VERSIONED_DEV_DEPENDENCIES, X as packageScripts, Y as packageJsonExports, _ as DEFAULT_VETRA_DRIVE_ID, a as DEFAULT_CONFIG, b as GRAPHQL_PACKAGE, c as DEFAULT_CONNECT_STUDIO_PORT, d as DEFAULT_EXPIRY_SECONDS, f as DEFAULT_REGISTRY_URL, g as DEFAULT_VETRA_CONNECT_PORT, h as DEFAULT_TIMEOUT, i as BOILERPLATE_DEPENDENCY_OVERRIDES, j as PH_GLOBAL_PROJECT_NAME, k as PH_BIN, l as DEFAULT_DRIVE_ICON, m as DEFAULT_SWITCHBOARD_PORT, n as ANALYTICS_ENGINE_CORE_PACKAGE, o as DEFAULT_CONNECT_OUTDIR, p as DEFAULT_RENOWN_URL, q as externalDependencies, r as BOILERPLATE_ALLOWED_BUILDS, s as DEFAULT_CONNECT_PREVIEW_PORT, u as DEFAULT_EXPIRY_DAYS, v as DRIVES_PRESERVE_STRATEGIES, w as LEGACY_LINT_FORMAT_DEPENDENCIES, x as GRAPHQL_TAG_PACKAGE, y as FEATURE_DEPENDENCIES, z as REACTOR_API_PACKAGE } from "./types-BKM2kIEW.mjs";
|
|
2
|
+
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_DEPENDENCY_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_DRIVE_ICON, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, KYSELY_PACKAGE, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, PIECES_FRAMEWORK_PACKAGE, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PROJECT_PORT_BAND_SIZE, PROJECT_PORT_BAND_STUDIO, PROJECT_PORT_BAND_SWITCHBOARD, PROJECT_PORT_BAND_VETRA_CONNECT, REACTOR_API_PACKAGE, RELATIONAL_DB_PROCESSOR_CLASS, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
3
3
|
export {};
|
package/dist/clis/constants.mjs
CHANGED
|
@@ -51,12 +51,18 @@ const PH_GLOBAL_DIR_NAME = ".ph";
|
|
|
51
51
|
const PH_GLOBAL_PROJECT_NAME = ".ph";
|
|
52
52
|
const HOME_DIR = homedir();
|
|
53
53
|
const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, ".ph");
|
|
54
|
-
const VERSIONED_PEER_DEPENDENCIES = [
|
|
54
|
+
const VERSIONED_PEER_DEPENDENCIES = [
|
|
55
|
+
"document-model",
|
|
56
|
+
"@powerhousedao/reactor-browser",
|
|
57
|
+
"@powerhousedao/connect-core"
|
|
58
|
+
];
|
|
55
59
|
const REACTOR_API_PACKAGE = "@powerhousedao/reactor-api";
|
|
56
60
|
const ANALYTICS_ENGINE_CORE_PACKAGE = "@powerhousedao/analytics-engine-core";
|
|
57
61
|
const GRAPHQL_PACKAGE = "graphql";
|
|
58
62
|
const GRAPHQL_TAG_PACKAGE = "graphql-tag";
|
|
59
63
|
const PIECES_FRAMEWORK_PACKAGE = "@powerhousedao/pieces-framework";
|
|
64
|
+
const KYSELY_PACKAGE = "kysely";
|
|
65
|
+
const RELATIONAL_DB_PROCESSOR_CLASS = "RelationalDbProcessor";
|
|
60
66
|
const PEER_EXTERNAL_DEPENDENCIES = {
|
|
61
67
|
[GRAPHQL_PACKAGE]: {
|
|
62
68
|
peer: "^16",
|
|
@@ -89,13 +95,30 @@ const FEATURE_DEPENDENCIES = {
|
|
|
89
95
|
peerExternal: {},
|
|
90
96
|
devVersioned: []
|
|
91
97
|
},
|
|
98
|
+
relationalDbProcessor: {
|
|
99
|
+
peerVersioned: [],
|
|
100
|
+
peerExternal: { [KYSELY_PACKAGE]: {
|
|
101
|
+
peer: "^0.28",
|
|
102
|
+
dev: "0.28.16"
|
|
103
|
+
} },
|
|
104
|
+
devVersioned: []
|
|
105
|
+
},
|
|
106
|
+
subgraph: {
|
|
107
|
+
peerVersioned: [REACTOR_API_PACKAGE],
|
|
108
|
+
peerExternal: {},
|
|
109
|
+
devVersioned: []
|
|
110
|
+
},
|
|
92
111
|
piece: {
|
|
93
112
|
peerVersioned: [],
|
|
94
113
|
peerExternal: {},
|
|
95
114
|
devVersioned: [PIECES_FRAMEWORK_PACKAGE]
|
|
96
115
|
}
|
|
97
116
|
};
|
|
98
|
-
const VERSIONED_DEPENDENCIES = [
|
|
117
|
+
const VERSIONED_DEPENDENCIES = [
|
|
118
|
+
...VERSIONED_PEER_DEPENDENCIES,
|
|
119
|
+
...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,
|
|
120
|
+
...FEATURE_DEPENDENCIES.subgraph.peerVersioned
|
|
121
|
+
];
|
|
99
122
|
const BOILERPLATE_ALLOWED_BUILDS = [
|
|
100
123
|
"@apollo/protobufjs",
|
|
101
124
|
"@datadog/pprof",
|
|
@@ -176,11 +199,11 @@ const packageJsonExports = {
|
|
|
176
199
|
};
|
|
177
200
|
const packageScripts = {
|
|
178
201
|
"test:watch": "vitest",
|
|
179
|
-
lint: "oxlint --type-aware --type-check",
|
|
180
|
-
"lint:fix": "oxlint --type-aware --type-check --fix",
|
|
202
|
+
lint: "ph-cli generate connect-routes && oxlint --type-aware --type-check",
|
|
203
|
+
"lint:fix": "ph-cli generate connect-routes && oxlint --type-aware --type-check --fix",
|
|
181
204
|
format: "oxfmt",
|
|
182
205
|
"format:check": "oxfmt --check",
|
|
183
|
-
tsc: "tsc",
|
|
206
|
+
tsc: "ph-cli generate connect-routes && tsc",
|
|
184
207
|
"tsc:watch": "tsc --watch",
|
|
185
208
|
generate: "ph-cli generate",
|
|
186
209
|
connect: "ph-cli connect",
|
|
@@ -188,6 +211,7 @@ const packageScripts = {
|
|
|
188
211
|
reactor: "ph-cli reactor",
|
|
189
212
|
service: "ph-cli service",
|
|
190
213
|
vetra: "ph-cli vetra",
|
|
214
|
+
mcp: "ph-cli mcp",
|
|
191
215
|
"service-startup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh",
|
|
192
216
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
193
217
|
};
|
|
@@ -238,12 +262,11 @@ const externalDevDependencies = {
|
|
|
238
262
|
"@vitejs/plugin-react": "^6.0.1",
|
|
239
263
|
"@vitest/coverage-v8": "5.0.3",
|
|
240
264
|
oxfmt: "0.68.0",
|
|
241
|
-
oxlint: "1.
|
|
242
|
-
"oxlint-tsgolint": "0.
|
|
265
|
+
oxlint: "1.83.0",
|
|
266
|
+
"oxlint-tsgolint": "7.0.2001",
|
|
243
267
|
tailwindcss: "^4.1.16",
|
|
244
268
|
typescript: "~7.0.2",
|
|
245
269
|
vite: "^8.0.10",
|
|
246
|
-
"vite-tsconfig-paths": "6.1.1",
|
|
247
270
|
vitest: "5.0.3"
|
|
248
271
|
};
|
|
249
272
|
const defaultManifest = {
|
|
@@ -274,6 +297,6 @@ const DEFAULT_CONFIG = {
|
|
|
274
297
|
}
|
|
275
298
|
};
|
|
276
299
|
//#endregion
|
|
277
|
-
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_DEPENDENCY_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_DRIVE_ICON, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, PIECES_FRAMEWORK_PACKAGE, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PROJECT_PORT_BAND_SIZE, PROJECT_PORT_BAND_STUDIO, PROJECT_PORT_BAND_SWITCHBOARD, PROJECT_PORT_BAND_VETRA_CONNECT, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
300
|
+
export { ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_DEPENDENCY_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_DRIVE_ICON, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, KYSELY_PACKAGE, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, PIECES_FRAMEWORK_PACKAGE, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, PROJECT_PORT_BAND_SIZE, PROJECT_PORT_BAND_STUDIO, PROJECT_PORT_BAND_SWITCHBOARD, PROJECT_PORT_BAND_VETRA_CONNECT, REACTOR_API_PACKAGE, RELATIONAL_DB_PROCESSOR_CLASS, SECONDS_IN_DAY, SERVICE_ACTIONS, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, defaultManifest, externalDependencies, externalDevDependencies, packageJsonExports, packageScripts };
|
|
278
301
|
|
|
279
302
|
//# sourceMappingURL=constants.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.mjs","names":[],"sources":["../../clis/constants.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\n// Per-project dev-server port bands. `ph init` assigns each project a port\n// triple derived from its name, so two projects never collide and an agent's\n// MCP URL can be baked into .mcp.json before a session starts.\n//\n// Two hard constraints picked these bands, both below 10000:\n//\n// 1. Below the OS ephemeral range. Linux allocates outbound source ports\n// from 32768-60999 (`/proc/sys/net/ipv4/ip_local_port_range`); macOS and\n// Windows start at 49152. A listener parked in that window can lose a\n// race to a transient outbound socket, which would surface as a\n// `--strictPort` failure blaming a project conflict that does not exist.\n// 2. Below 10000, which is where ph-clint starts. ph-clint derives its own\n// per-CLI ports by hashing into 10000-59900, so staying under 10000\n// keeps the two schemes from ever contending.\n//\n// Within those limits the blocks were chosen by measuring which ports the\n// Powerhouse repos actually reference: 2000-2999 has none, 7000-7999 has one,\n// 6000-6999 has five. See PROJECT_PORT_DENYLIST in project-ports.ts for the\n// individual ports skipped inside them.\nexport const PROJECT_PORT_BAND_SIZE = 1000 as const;\nexport const PROJECT_PORT_BAND_SWITCHBOARD = 7000 as const;\nexport const PROJECT_PORT_BAND_STUDIO = 6000 as const;\nexport const PROJECT_PORT_BAND_VETRA_CONNECT = 2000 as const;\n\n/**\n * Icon for the drives switchboard creates by default, inlined as a data URI.\n *\n * A remote URL is the wrong shape for this: the value is baked into the drive\n * document and rendered by every Connect that opens it, so the icon only\n * appears when that client can reach that host. A desktop or air-gapped install\n * cannot, and the ipfs.io gateway this previously pointed at now answers 403\n * regardless.\n *\n * The mark is drawn dark-on-light so it stays legible against either theme.\n */\nexport const DEFAULT_DRIVE_ICON =\n \"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20width='16'%20height='16'%20rx='3'%20fill='%23F3F5F7'/%3E%3Cpath%20fill='%23343839'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0059%200L3.41636%205.45646C2.44979%206.25682%202.3795%207.71452%203.26456%208.60418L5.54425%2010.8957C6.21311%2011.568%206.35783%2012.6012%205.89944%2013.4314L4.48126%2016H2.13333C0.955126%2016%200%2015.0449%200%2013.8667V2.13333C0%200.955126%200.955126%200%202.13333%200H10.0059ZM11.2436%200L10.0128%202.24221C9.55899%203.06891%209.70183%204.09549%2010.3641%204.7669L12.7825%207.21868C13.6656%208.11402%2013.5866%209.57512%2012.612%2010.37L5.70922%2016H13.8667C15.0449%2016%2016%2015.0449%2016%2013.8667V2.13333C16%200.955126%2015.0449%200%2013.8667%200H11.2436Z'/%3E%3C/svg%3E\" as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\nexport const PIECES_FRAMEWORK_PACKAGE = \"@powerhousedao/pieces-framework\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.6.5\" },\n // Project routes import it; Connect and connect-core take the project's copy.\n \"@tanstack/react-router\": { peer: \"^1.170.41\", dev: \"1.170.41\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required. `devVersioned`\n// is for a workspace package the build inlines, which no consumer provides.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n devVersioned: [],\n },\n // Each piece is bundled whole (build-pieces.mts), framework included, so the\n // framework is only ever needed to compile the piece's own source.\n piece: {\n peerVersioned: [],\n peerExternal: {},\n devVersioned: [PIECES_FRAMEWORK_PACKAGE],\n },\n} as const satisfies Record<\n string,\n {\n peerVersioned: readonly string[];\n peerExternal: Record<string, PeerSpec>;\n devVersioned: readonly string[];\n }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"@reown/appkit\",\n \"bufferutil\",\n \"esbuild\",\n \"keccak\",\n \"protobufjs\",\n \"utf-8-validate\",\n] as const;\n\n// Single-version pins the boilerplate enforces on generated projects,\n// avoiding duplicates from coexisting version ranges. Rendered as pnpm\n// `overrides` (pnpm-workspace.yaml) and as yarn v1 `resolutions`\n// (package.json). Generated-project only — never change the monorepo\n// catalog for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_DEPENDENCY_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n // uniform-runners: the runner modules the scaffolded hosts/*/host.js\n // files name (desktop runner, clint-runner/mastra-runner, and the generic\n // compound they build on); dormant in classic projects until the feature\n // flag defaults on.\n \"@powerhousedao/host-core\",\n \"@powerhousedao/clint\",\n \"@powerhousedao/desktop\",\n // the switchboard plugins the scaffolded switchboard host composes\n // (workflows, mcp, …) and their PHPluginConfigs types for tsc -p hosts.\n \"@powerhousedao/switchboard\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./reactor\": {\n types: \"./dist/types/reactor/index.d.ts\",\n browser: \"./dist/browser/reactor/index.js\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n // The routes the package offers other Connects; built when it has any.\n \"./connect-routes\": {\n browser: \"./dist/browser/connect-routes.js\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n // Node only, as the build is: a piece is loaded by a host process, never by\n // the browser. Without these a package can build a piece and still fail the\n // `packageName/pieces` import a host resolves it through.\n \"./pieces\": {\n types: \"./dist/types/pieces/index.d.ts\",\n node: \"./dist/node/pieces/index.mjs\",\n },\n \"./pieces/*\": {\n types: \"./dist/types/pieces/*/index.d.ts\",\n node: \"./dist/node/pieces/*/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n lint: \"oxlint --type-aware --type-check\",\n \"lint:fix\": \"oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"5.0.3\",\n oxfmt: \"0.68.0\",\n oxlint: \"1.70.0\",\n \"oxlint-tsgolint\": \"0.23.0\",\n tailwindcss: \"^4.1.16\",\n typescript: \"~7.0.2\",\n vite: \"^8.0.10\",\n \"vite-tsconfig-paths\": \"6.1.1\",\n vitest: \"5.0.3\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n"],"mappings":";;;AAKA,MAAa,kBAAkB;CAC7B;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,iBAAiB;AAC9B,MAAa,sBAAsB;AACnC,MAAa,yBAAA,IAA+C;AAE5D,MAAa,6BAA6B,CACxC,gBACA,4BACF;AAEA,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,kBAAkB;AAE/B,MAAa,8BAA8B;AAE3C,MAAa,6BAA6B;AAE1C,MAAa,+BAA+B;AAE5C,MAAa,yBAAyB;AAEtC,MAAa,qBAAqB;AAElC,MAAa,uBAAuB;AAEpC,MAAa,2BAA2B;AAqBxC,MAAa,yBAAyB;AACtC,MAAa,gCAAgC;AAC7C,MAAa,2BAA2B;AACxC,MAAa,kCAAkC;;;;;;;;;;;;AAa/C,MAAa,qBACX;AAEF,MAAa,yBAAyB;AAEtC,MAAa,uBAAuB;AACpC,MAAa,SAAS;AACtB,MAAa,yBAAyB;AACtC,MAAa,qBAAqB;AAElC,MAAa,yBAAA;AAEb,MAAa,WAAW,QAAQ;AAEhC,MAAa,wBAAwB,KAAK,UAAA,KAA4B;AAGtE,MAAa,8BAA8B,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SAAS,mCACX;CACA,gBAAgB;EACd,OAAO;EACP,SAAS;EACT,MAAM;CACR;CAIA,YAAY;EACV,OAAO;EACP,MAAM;CACR;CACA,cAAc;EACZ,OAAO;EACP,MAAM;CACR;CACA,cAAc;CACd,eAAe;AACjB;AAEA,MAAa,iBAAiB;CAC5B,cAAc;CACd,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,gBAAgB;CAChB,KAAK;CACL,aAAa;CACb,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;CACP,mBACE;CACF,qBACE;AACJ;AAEA,MAAa,uBAAuB,CAAC;AAIrC,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAIA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,0BAA0B;CACrC,wBAAwB;CACxB,8BAA8B;CAC9B,uCAAuC;CACvC,oBAAoB;CACpB,qBAAqB;CACrB,eAAe;CACf,gBAAgB;CAChB,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;CACvB,OAAO;CACP,QAAQ;CACR,mBAAmB;CACnB,aAAa;CACb,YAAY;CACZ,MAAM;CACN,uBAAuB;CACvB,QAAQ;AACV;AAEA,MAAa,kBAA4B;CACvC,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;EACT,MAAM;EACN,KAAK;CACP;CACA,gBAAgB,CAAC;CACjB,SAAS,CAAC;CACV,MAAM,CAAC;CACP,WAAW,CAAC;CACZ,YAAY,CAAC;AACf;AAUA,MAAa,iBAAmC;CAC9C,mBAAmB;CACnB,YAAY;CACZ,eAAe;CACf,cAAc;CACd,kBAAkB;CAClB,YAAY;CACZ,UAAU;CACV,MAAM;EACJ,SAAS;EACT,QAAQ,CAAC;CACX;AACF"}
|
|
1
|
+
{"version":3,"file":"constants.mjs","names":[],"sources":["../../clis/constants.ts"],"sourcesContent":["import { homedir } from \"node:os\";\nimport { join } from \"node:path\";\nimport type { Manifest } from \"../document-model/types.js\";\nimport type { PowerhouseConfig } from \"./types.js\";\n\nexport const SERVICE_ACTIONS = [\n \"start\",\n \"stop\",\n \"status\",\n \"setup\",\n \"restart\",\n] as const;\n\nexport const SECONDS_IN_DAY = 24 * 60 * 60;\nexport const DEFAULT_EXPIRY_DAYS = 7;\nexport const DEFAULT_EXPIRY_SECONDS = DEFAULT_EXPIRY_DAYS * SECONDS_IN_DAY;\n\nexport const DRIVES_PRESERVE_STRATEGIES = [\n \"preserve-all\",\n \"preserve-by-url-and-detach\",\n] as const;\n\nexport const LOG_LEVELS = [\n \"debug\",\n \"info\",\n \"warn\",\n \"error\",\n \"verbose\",\n] as const;\n\nexport const DEFAULT_TIMEOUT = 300 as const;\n\nexport const DEFAULT_CONNECT_STUDIO_PORT = 3000 as const;\n\nexport const DEFAULT_VETRA_CONNECT_PORT = 3001 as const;\n\nexport const DEFAULT_CONNECT_PREVIEW_PORT = 4173 as const;\n\nexport const DEFAULT_CONNECT_OUTDIR = \".ph/connect-build/dist/\" as const;\n\nexport const DEFAULT_RENOWN_URL = \"https://www.renown.id\" as const;\n\nexport const DEFAULT_REGISTRY_URL = \"https://registry.vetra.io\" as const;\n\nexport const DEFAULT_SWITCHBOARD_PORT = 4001 as const;\n\n// Per-project dev-server port bands. `ph init` assigns each project a port\n// triple derived from its name, so two projects never collide and an agent's\n// MCP URL can be baked into .mcp.json before a session starts.\n//\n// Two hard constraints picked these bands, both below 10000:\n//\n// 1. Below the OS ephemeral range. Linux allocates outbound source ports\n// from 32768-60999 (`/proc/sys/net/ipv4/ip_local_port_range`); macOS and\n// Windows start at 49152. A listener parked in that window can lose a\n// race to a transient outbound socket, which would surface as a\n// `--strictPort` failure blaming a project conflict that does not exist.\n// 2. Below 10000, which is where ph-clint starts. ph-clint derives its own\n// per-CLI ports by hashing into 10000-59900, so staying under 10000\n// keeps the two schemes from ever contending.\n//\n// Within those limits the blocks were chosen by measuring which ports the\n// Powerhouse repos actually reference: 2000-2999 has none, 7000-7999 has one,\n// 6000-6999 has five. See PROJECT_PORT_DENYLIST in project-ports.ts for the\n// individual ports skipped inside them.\nexport const PROJECT_PORT_BAND_SIZE = 1000 as const;\nexport const PROJECT_PORT_BAND_SWITCHBOARD = 7000 as const;\nexport const PROJECT_PORT_BAND_STUDIO = 6000 as const;\nexport const PROJECT_PORT_BAND_VETRA_CONNECT = 2000 as const;\n\n/**\n * Icon for the drives switchboard creates by default, inlined as a data URI.\n *\n * A remote URL is the wrong shape for this: the value is baked into the drive\n * document and rendered by every Connect that opens it, so the icon only\n * appears when that client can reach that host. A desktop or air-gapped install\n * cannot, and the ipfs.io gateway this previously pointed at now answers 403\n * regardless.\n *\n * The mark is drawn dark-on-light so it stays legible against either theme.\n */\nexport const DEFAULT_DRIVE_ICON =\n \"data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%3E%3Crect%20width='16'%20height='16'%20rx='3'%20fill='%23F3F5F7'/%3E%3Cpath%20fill='%23343839'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.0059%200L3.41636%205.45646C2.44979%206.25682%202.3795%207.71452%203.26456%208.60418L5.54425%2010.8957C6.21311%2011.568%206.35783%2012.6012%205.89944%2013.4314L4.48126%2016H2.13333C0.955126%2016%200%2015.0449%200%2013.8667V2.13333C0%200.955126%200.955126%200%202.13333%200H10.0059ZM11.2436%200L10.0128%202.24221C9.55899%203.06891%209.70183%204.09549%2010.3641%204.7669L12.7825%207.21868C13.6656%208.11402%2013.5866%209.57512%2012.612%2010.37L5.70922%2016H13.8667C15.0449%2016%2016%2015.0449%2016%2013.8667V2.13333C16%200.955126%2015.0449%200%2013.8667%200H11.2436Z'/%3E%3C/svg%3E\" as const;\n\nexport const DEFAULT_VETRA_DRIVE_ID = \"vetra\" as const;\n\nexport const MINIMUM_NODE_VERSION = \"24.0.0\" as const;\nexport const PH_BIN = \"ph-cli-legacy\" as const;\nexport const POWERHOUSE_CONFIG_FILE = \"powerhouse.config.json\" as const;\nexport const PH_GLOBAL_DIR_NAME = \".ph\" as const;\n// Keep PH_GLOBAL_PROJECT_NAME for backwards compatibility\nexport const PH_GLOBAL_PROJECT_NAME = PH_GLOBAL_DIR_NAME;\n\nexport const HOME_DIR = homedir();\n\nexport const POWERHOUSE_GLOBAL_DIR = join(HOME_DIR, PH_GLOBAL_DIR_NAME);\n\n// Workspace packages that go in peerDependencies of every generated project.\nexport const VERSIONED_PEER_DEPENDENCIES = [\n \"document-model\",\n \"@powerhousedao/reactor-browser\",\n // Offered routes import it; the Connect that loads the package provides it.\n \"@powerhousedao/connect-core\",\n];\n\ntype PeerSpec = { peer: string; dev: string };\n\nexport const REACTOR_API_PACKAGE = \"@powerhousedao/reactor-api\";\nexport const ANALYTICS_ENGINE_CORE_PACKAGE =\n \"@powerhousedao/analytics-engine-core\";\nexport const GRAPHQL_PACKAGE = \"graphql\";\nexport const GRAPHQL_TAG_PACKAGE = \"graphql-tag\";\nexport const PIECES_FRAMEWORK_PACKAGE = \"@powerhousedao/pieces-framework\";\nexport const KYSELY_PACKAGE = \"kysely\";\nexport const RELATIONAL_DB_PROCESSOR_CLASS = \"RelationalDbProcessor\";\n\n// External peerDependencies of every generated project.\n// `peer` is the consumer-facing range; `dev` is the exact build-tested pin.\n// graphql / graphql-tag are always-on because the workspace packages pulled\n// in by every `ph init` project (codegen, reactor-api, reactor-browser,\n// vetra-packages) declare them as peers — even projects without subgraphs\n// need them in scope so pnpm hoists a single graphql instance.\nexport const PEER_EXTERNAL_DEPENDENCIES = {\n [GRAPHQL_PACKAGE]: { peer: \"^16\", dev: \"16.12.0\" },\n [GRAPHQL_TAG_PACKAGE]: { peer: \"^2\", dev: \"2.12.6\" },\n react: { peer: \"^19\", dev: \"19.2.6\" },\n \"react-dom\": { peer: \"^19\", dev: \"19.2.6\" },\n zod: { peer: \"^4\", dev: \"4.6.5\" },\n // Project routes import it; Connect and connect-core take the project's copy.\n \"@tanstack/react-router\": { peer: \"^1.170.41\", dev: \"1.170.41\" },\n} as const satisfies Record<string, PeerSpec>;\n\n// Per-feature deps added dynamically by codegen when required. `devVersioned`\n// is for a workspace package the build inlines, which no consumer provides.\nexport const FEATURE_DEPENDENCIES = {\n analyticsProcessor: {\n peerVersioned: [ANALYTICS_ENGINE_CORE_PACKAGE],\n peerExternal: {},\n devVersioned: [],\n },\n // The schema `ph generate migration-file` writes imports kysely's types, and\n // queries import its `sql`; the host's kysely runs them.\n relationalDbProcessor: {\n peerVersioned: [],\n peerExternal: { [KYSELY_PACKAGE]: { peer: \"^0.28\", dev: \"0.28.16\" } },\n devVersioned: [],\n },\n // A subgraph's BaseSubgraph is the host's: the build leaves it external.\n subgraph: {\n peerVersioned: [REACTOR_API_PACKAGE],\n peerExternal: {},\n devVersioned: [],\n },\n // Each piece is bundled whole (build-pieces.mts), framework included, so the\n // framework is only ever needed to compile the piece's own source.\n piece: {\n peerVersioned: [],\n peerExternal: {},\n devVersioned: [PIECES_FRAMEWORK_PACKAGE],\n },\n} as const satisfies Record<\n string,\n {\n peerVersioned: readonly string[];\n peerExternal: Record<string, PeerSpec>;\n devVersioned: readonly string[];\n }\n>;\n\nexport const VERSIONED_DEPENDENCIES = [\n ...VERSIONED_PEER_DEPENDENCIES,\n ...FEATURE_DEPENDENCIES.analyticsProcessor.peerVersioned,\n ...FEATURE_DEPENDENCIES.subgraph.peerVersioned,\n];\n\n// Transitive dependencies whose postinstall scripts the generated project\n// trusts. Mirrors the `allowBuilds` map in the boilerplate's\n// pnpm-workspace.yaml and is also passed as `--allow-build` flags to\n// `pnpm dlx @powerhousedao/ph-cli init` so pnpm 11's strict-dep-builds\n// default doesn't prompt during the outer dlx download.\nexport const BOILERPLATE_ALLOWED_BUILDS = [\n \"@apollo/protobufjs\",\n \"@datadog/pprof\",\n \"@parcel/watcher\",\n \"@reown/appkit\",\n \"bufferutil\",\n \"esbuild\",\n \"keccak\",\n \"protobufjs\",\n \"utf-8-validate\",\n] as const;\n\n// Single-version pins the boilerplate enforces on generated projects,\n// avoiding duplicates from coexisting version ranges. Rendered as pnpm\n// `overrides` (pnpm-workspace.yaml) and as yarn v1 `resolutions`\n// (package.json). Generated-project only — never change the monorepo\n// catalog for this (a re-resolution there pulls a tsc-crashing TS6 beta).\nexport const BOILERPLATE_DEPENDENCY_OVERRIDES = {\n \"date-fns\": \"4.3.0\",\n vite: \"8.0.14\",\n rolldown: \"1.0.2\",\n} as const satisfies Record<string, string>;\n\nexport const VERSIONED_DEV_DEPENDENCIES = [\n \"@powerhousedao/ph-cli\",\n \"@powerhousedao/reactor\",\n \"@powerhousedao/shared\",\n \"@powerhousedao/connect\",\n \"@powerhousedao/design-system\",\n // uniform-runners: the runner modules the scaffolded hosts/*/host.js\n // files name (desktop runner, clint-runner/mastra-runner, and the generic\n // compound they build on); dormant in classic projects until the feature\n // flag defaults on.\n \"@powerhousedao/host-core\",\n \"@powerhousedao/clint\",\n \"@powerhousedao/desktop\",\n // the switchboard plugins the scaffolded switchboard host composes\n // (workflows, mcp, …) and their PHPluginConfigs types for tsc -p hosts.\n \"@powerhousedao/switchboard\",\n];\n\nexport const packageJsonExports = {\n \".\": {\n types: \"./dist/types/index.d.ts\",\n browser: \"./dist/browser/index.js\",\n node: \"./dist/node/index.mjs\",\n },\n \"./reactor\": {\n types: \"./dist/types/reactor/index.d.ts\",\n browser: \"./dist/browser/reactor/index.js\",\n },\n \"./document-models\": {\n types: \"./dist/types/document-models/index.d.ts\",\n browser: \"./dist/browser/document-models/index.js\",\n node: \"./dist/node/document-models/index.mjs\",\n },\n \"./document-models/*\": {\n types: \"./dist/types/document-models/*/index.d.ts\",\n browser: \"./dist/browser/document-models/*/index.js\",\n node: \"./dist/node/document-models/*/index.mjs\",\n },\n \"./editors\": {\n types: \"./dist/types/editors/index.d.ts\",\n browser: \"./dist/browser/editors/index.js\",\n node: \"./dist/node/editors/index.mjs\",\n },\n \"./editors/*\": {\n types: \"./dist/types/editors/*/editor.d.ts\",\n browser: \"./dist/browser/editors/*/editor.js\",\n node: \"./dist/node/editors/*/editor.mjs\",\n },\n \"./subgraphs\": {\n types: \"./dist/types/subgraphs/index.d.ts\",\n node: \"./dist/node/subgraphs/index.mjs\",\n },\n // The routes the package offers other Connects; built when it has any.\n \"./connect-routes\": {\n browser: \"./dist/browser/connect-routes.js\",\n },\n \"./processors\": {\n types: \"./dist/types/processors/index.d.ts\",\n browser: \"./dist/browser/processors/index.js\",\n node: \"./dist/node/processors/index.mjs\",\n },\n // Node only, as the build is: a piece is loaded by a host process, never by\n // the browser. Without these a package can build a piece and still fail the\n // `packageName/pieces` import a host resolves it through.\n \"./pieces\": {\n types: \"./dist/types/pieces/index.d.ts\",\n node: \"./dist/node/pieces/index.mjs\",\n },\n \"./pieces/*\": {\n types: \"./dist/types/pieces/*/index.d.ts\",\n node: \"./dist/node/pieces/*/index.mjs\",\n },\n \"./manifest\": \"./dist/powerhouse.manifest.json\",\n \"./style.css\": \"./dist/style.css\",\n} as const;\n\nexport const packageScripts = {\n \"test:watch\": \"vitest\",\n // Routes type-check against the tree, which Vetra or a build would write.\n lint: \"ph-cli generate connect-routes && oxlint --type-aware --type-check\",\n \"lint:fix\":\n \"ph-cli generate connect-routes && oxlint --type-aware --type-check --fix\",\n format: \"oxfmt\",\n \"format:check\": \"oxfmt --check\",\n tsc: \"ph-cli generate connect-routes && tsc\",\n \"tsc:watch\": \"tsc --watch\",\n generate: \"ph-cli generate\",\n connect: \"ph-cli connect\",\n build: \"ph-cli build\",\n reactor: \"ph-cli reactor\",\n service: \"ph-cli service\",\n vetra: \"ph-cli vetra\",\n // The MCP configs run it as `node --run mcp`, which needs no shell on Windows.\n mcp: \"ph-cli mcp\",\n \"service-startup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh\",\n \"service-unstartup\":\n \"bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh\",\n} as const;\n\nexport const externalDependencies = {} as const;\n\n// eslint/prettier devDependencies present in projects scaffolded before the oxc migration.\n// Stripped from package.json during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_DEPENDENCIES = [\n \"@eslint/js\",\n \"eslint\",\n \"eslint-config-prettier\",\n \"eslint-plugin-prettier\",\n \"eslint-plugin-react\",\n \"eslint-plugin-react-hooks\",\n \"globals\",\n \"prettier\",\n \"typescript-eslint\",\n] as const;\n\n// Legacy lint/format config files written by eslint/prettier boilerplate.\n// Removed from the project root during `ph migrate`.\nexport const LEGACY_LINT_FORMAT_FILES = [\n \"eslint.config.js\",\n \"eslint.config.mjs\",\n \"eslint.config.cjs\",\n \"eslint.config.ts\",\n \".eslintrc\",\n \".eslintrc.js\",\n \".eslintrc.cjs\",\n \".eslintrc.json\",\n \".eslintrc.yml\",\n \".eslintrc.yaml\",\n \".eslintignore\",\n \".prettierrc\",\n \".prettierrc.js\",\n \".prettierrc.cjs\",\n \".prettierrc.json\",\n \".prettierrc.yml\",\n \".prettierrc.yaml\",\n \"prettier.config.js\",\n \"prettier.config.cjs\",\n \"prettier.config.mjs\",\n \".prettierignore\",\n] as const;\n\nexport const externalDevDependencies = {\n \"@electric-sql/pglite\": \"0.3.15\",\n \"@electric-sql/pglite-tools\": \"0.2.20\",\n \"@powerhousedao/document-engineering\": \"1.40.5\",\n \"@tailwindcss/cli\": \"^4.1.18\",\n \"@tailwindcss/vite\": \"^4.1.18\",\n \"@types/node\": \"^24.9.2\",\n \"@types/react\": \"^19.2.3\",\n \"@types/react-dom\": \"^19.2.3\",\n \"@vitejs/plugin-react\": \"^6.0.1\",\n \"@vitest/coverage-v8\": \"5.0.3\",\n oxfmt: \"0.68.0\",\n oxlint: \"1.83.0\",\n \"oxlint-tsgolint\": \"7.0.2001\",\n tailwindcss: \"^4.1.16\",\n typescript: \"~7.0.2\",\n vite: \"^8.0.10\",\n vitest: \"5.0.3\",\n} as const;\n\nexport const defaultManifest: Manifest = {\n name: \"\",\n description: \"\",\n category: \"\",\n publisher: {\n name: \"\",\n url: \"\",\n },\n documentModels: [],\n editors: [],\n apps: [],\n subgraphs: [],\n processors: [],\n};\n\nconst DEFAULT_DOCUMENT_MODELS_DIR = \"./document-models\";\nconst DEFAULT_EDITORS_DIR = \"./editors\";\nconst DEFAULT_PROCESSORS_DIR = \"./processors\";\nconst DEFAULT_SUBGRAPHS_DIR = \"./subgraphs\";\nconst DEFAULT_IMPORT_SCRIPTS_DIR = \"./scripts\";\nconst DEFAULT_SKIP_FORMAT = false;\nconst DEFAULT_LOG_LEVEL = \"info\";\n\nexport const DEFAULT_CONFIG: PowerhouseConfig = {\n documentModelsDir: DEFAULT_DOCUMENT_MODELS_DIR,\n editorsDir: DEFAULT_EDITORS_DIR,\n processorsDir: DEFAULT_PROCESSORS_DIR,\n subgraphsDir: DEFAULT_SUBGRAPHS_DIR,\n importScriptsDir: DEFAULT_IMPORT_SCRIPTS_DIR,\n skipFormat: DEFAULT_SKIP_FORMAT,\n logLevel: DEFAULT_LOG_LEVEL,\n auth: {\n enabled: false,\n admins: [],\n },\n};\n"],"mappings":";;;AAKA,MAAa,kBAAkB;CAC7B;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,iBAAiB;AAC9B,MAAa,sBAAsB;AACnC,MAAa,yBAAA,IAA+C;AAE5D,MAAa,6BAA6B,CACxC,gBACA,4BACF;AAEA,MAAa,aAAa;CACxB;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,kBAAkB;AAE/B,MAAa,8BAA8B;AAE3C,MAAa,6BAA6B;AAE1C,MAAa,+BAA+B;AAE5C,MAAa,yBAAyB;AAEtC,MAAa,qBAAqB;AAElC,MAAa,uBAAuB;AAEpC,MAAa,2BAA2B;AAqBxC,MAAa,yBAAyB;AACtC,MAAa,gCAAgC;AAC7C,MAAa,2BAA2B;AACxC,MAAa,kCAAkC;;;;;;;;;;;;AAa/C,MAAa,qBACX;AAEF,MAAa,yBAAyB;AAEtC,MAAa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U;AACZ;AAEA,MAAa,6BAA6B;CACxC;CACA;CACA;CACA;CACA;CAKA;CACA;CACA;CAGA;AACF;AAEA,MAAa,qBAAqB;CAChC,KAAK;EACH,OAAO;EACP,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,OAAO;EACP,SAAS;CACX;CACA,qBAAqB;EACnB,OAAO;EACP,SAAS;EACT,MAAM;CACR;CACA,uBAAuB;EACrB,OAAO;EACP,SAAS;EACT,MAAM;CACR;CACA,aAAa;EACX,OAAO;EACP,SAAS;EACT,MAAM;CACR;CACA,eAAe;EACb,OAAO;EACP,SAAS;EACT,MAAM;CACR;CACA,eAAe;EACb,OAAO;EACP,MAAM;CACR;CAEA,oBAAoB,EAClB,SAAS,mCACX;CACA,gBAAgB;EACd,OAAO;EACP,SAAS;EACT,MAAM;CACR;CAIA,YAAY;EACV,OAAO;EACP,MAAM;CACR;CACA,cAAc;EACZ,OAAO;EACP,MAAM;CACR;CACA,cAAc;CACd,eAAe;AACjB;AAEA,MAAa,iBAAiB;CAC5B,cAAc;CAEd,MAAM;CACN,YACE;CACF,QAAQ;CACR,gBAAgB;CAChB,KAAK;CACL,aAAa;CACb,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,SAAS;CACT,OAAO;CAEP,KAAK;CACL,mBACE;CACF,qBACE;AACJ;AAEA,MAAa,uBAAuB,CAAC;AAIrC,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAIA,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AAEA,MAAa,0BAA0B;CACrC,wBAAwB;CACxB,8BAA8B;CAC9B,uCAAuC;CACvC,oBAAoB;CACpB,qBAAqB;CACrB,eAAe;CACf,gBAAgB;CAChB,oBAAoB;CACpB,wBAAwB;CACxB,uBAAuB;CACvB,OAAO;CACP,QAAQ;CACR,mBAAmB;CACnB,aAAa;CACb,YAAY;CACZ,MAAM;CACN,QAAQ;AACV;AAEA,MAAa,kBAA4B;CACvC,MAAM;CACN,aAAa;CACb,UAAU;CACV,WAAW;EACT,MAAM;EACN,KAAK;CACP;CACA,gBAAgB,CAAC;CACjB,SAAS,CAAC;CACV,MAAM,CAAC;CACP,WAAW,CAAC;CACZ,YAAY,CAAC;AACf;AAUA,MAAa,iBAAmC;CAC9C,mBAAmB;CACnB,YAAY;CACZ,eAAe;CACf,cAAc;CACd,kBAAkB;CAClB,YAAY;CACZ,UAAU;CACV,MAAM;EACJ,SAAS;EACT,QAAQ,CAAC;CACX;AACF"}
|
package/dist/clis/index.d.mts
CHANGED
|
@@ -748,7 +748,7 @@ export declare const generateArgs: {
|
|
|
748
748
|
};
|
|
749
749
|
//#endregion
|
|
750
750
|
//#region clis/command-names.d.ts
|
|
751
|
-
export declare const phCliCommandNames: readonly ["run", "host", "generate", "vetra", "connect", "build", "publish", "list", "l", "access-token", "registry-login", "inspect", "is", "migrate", "switchboard", "reactor", "login", "logout", "install", "add", "i", "uninstall", "remove"];
|
|
751
|
+
export declare const phCliCommandNames: readonly ["run", "host", "generate", "vetra", "connect", "build", "publish", "list", "l", "access-token", "registry-login", "inspect", "is", "mcp", "migrate", "switchboard", "reactor", "login", "logout", "install", "add", "i", "uninstall", "remove"];
|
|
752
752
|
//#endregion
|
|
753
753
|
//#region clis/args/help.d.ts
|
|
754
754
|
declare const allPhCliHelpCommands: {
|
|
@@ -884,6 +884,18 @@ declare const allPhCliHelpCommands: {
|
|
|
884
884
|
readonly name: "inspect";
|
|
885
885
|
readonly aliases: ["is"];
|
|
886
886
|
};
|
|
887
|
+
mcp: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
888
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
889
|
+
[x: string]: any;
|
|
890
|
+
}>>;
|
|
891
|
+
} & import("cmd-ts/dist/cjs/helpdoc.js").PrintHelp & import("cmd-ts/dist/cjs/helpdoc.js").ProvidesHelp & import("cmd-ts/dist/cjs/helpdoc.js").Named & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned> & import("cmd-ts/dist/cjs/argparser.js").Register & import("cmd-ts/dist/cjs/runner.js").Handling<{
|
|
892
|
+
[x: string]: any;
|
|
893
|
+
}, any> & {
|
|
894
|
+
run(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<any>>;
|
|
895
|
+
} & Partial<import("cmd-ts/dist/cjs/helpdoc.js").Versioned & import("cmd-ts/dist/cjs/helpdoc.js").Descriptive & import("cmd-ts/dist/cjs/helpdoc.js").Aliased> & {
|
|
896
|
+
readonly name: "mcp";
|
|
897
|
+
readonly aliases: readonly [];
|
|
898
|
+
};
|
|
887
899
|
migrate: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
888
900
|
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<{
|
|
889
901
|
[x: string]: any;
|
|
@@ -1458,6 +1470,7 @@ declare const connectAppSchema: z.ZodObject<{
|
|
|
1458
1470
|
basePath: z.ZodOptional<z.ZodString>;
|
|
1459
1471
|
offline: z.ZodOptional<z.ZodBoolean>;
|
|
1460
1472
|
studioMode: z.ZodOptional<z.ZodBoolean>;
|
|
1473
|
+
cookieBanner: z.ZodOptional<z.ZodBoolean>;
|
|
1461
1474
|
workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1462
1475
|
}, z.core.$strict>;
|
|
1463
1476
|
declare const connectAiSchema: z.ZodObject<{
|
|
@@ -1902,6 +1915,7 @@ declare const connectConfigSchema: z.ZodObject<{
|
|
|
1902
1915
|
basePath: z.ZodOptional<z.ZodString>;
|
|
1903
1916
|
offline: z.ZodOptional<z.ZodBoolean>;
|
|
1904
1917
|
studioMode: z.ZodOptional<z.ZodBoolean>;
|
|
1918
|
+
cookieBanner: z.ZodOptional<z.ZodBoolean>;
|
|
1905
1919
|
workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1906
1920
|
}, z.core.$strict>>;
|
|
1907
1921
|
ai: z.ZodOptional<z.ZodObject<{
|
|
@@ -2158,6 +2172,7 @@ declare function connectConfigSchemaWith(field: TokenField): z.ZodObject<{
|
|
|
2158
2172
|
basePath: z.ZodOptional<z.ZodString>;
|
|
2159
2173
|
offline: z.ZodOptional<z.ZodBoolean>;
|
|
2160
2174
|
studioMode: z.ZodOptional<z.ZodBoolean>;
|
|
2175
|
+
cookieBanner: z.ZodOptional<z.ZodBoolean>;
|
|
2161
2176
|
workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2162
2177
|
}, z.core.$strict>>;
|
|
2163
2178
|
ai: z.ZodOptional<z.ZodObject<{
|
|
@@ -2407,6 +2422,7 @@ declare const declaredConnectConfigSchema: z.ZodObject<{
|
|
|
2407
2422
|
basePath: z.ZodOptional<z.ZodString>;
|
|
2408
2423
|
offline: z.ZodOptional<z.ZodBoolean>;
|
|
2409
2424
|
studioMode: z.ZodOptional<z.ZodBoolean>;
|
|
2425
|
+
cookieBanner: z.ZodOptional<z.ZodBoolean>;
|
|
2410
2426
|
workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2411
2427
|
}, z.core.$strict>>;
|
|
2412
2428
|
ai: z.ZodOptional<z.ZodObject<{
|
|
@@ -2804,6 +2820,7 @@ declare const connectRuntimeConfigSchema: z.ZodObject<{
|
|
|
2804
2820
|
basePath: z.ZodOptional<z.ZodString>;
|
|
2805
2821
|
offline: z.ZodOptional<z.ZodBoolean>;
|
|
2806
2822
|
studioMode: z.ZodOptional<z.ZodBoolean>;
|
|
2823
|
+
cookieBanner: z.ZodOptional<z.ZodBoolean>;
|
|
2807
2824
|
workflowsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2808
2825
|
}, z.core.$strict>>;
|
|
2809
2826
|
ai: z.ZodOptional<z.ZodObject<{
|
|
@@ -3218,6 +3235,8 @@ export declare const ANALYTICS_ENGINE_CORE_PACKAGE = "@powerhousedao/analytics-e
|
|
|
3218
3235
|
export declare const GRAPHQL_PACKAGE = "graphql";
|
|
3219
3236
|
export declare const GRAPHQL_TAG_PACKAGE = "graphql-tag";
|
|
3220
3237
|
export declare const PIECES_FRAMEWORK_PACKAGE = "@powerhousedao/pieces-framework";
|
|
3238
|
+
export declare const KYSELY_PACKAGE = "kysely";
|
|
3239
|
+
export declare const RELATIONAL_DB_PROCESSOR_CLASS = "RelationalDbProcessor";
|
|
3221
3240
|
export declare const PEER_EXTERNAL_DEPENDENCIES: {
|
|
3222
3241
|
readonly graphql: {
|
|
3223
3242
|
readonly peer: "^16";
|
|
@@ -3250,6 +3269,21 @@ export declare const FEATURE_DEPENDENCIES: {
|
|
|
3250
3269
|
readonly peerExternal: {};
|
|
3251
3270
|
readonly devVersioned: readonly [];
|
|
3252
3271
|
};
|
|
3272
|
+
readonly relationalDbProcessor: {
|
|
3273
|
+
readonly peerVersioned: readonly [];
|
|
3274
|
+
readonly peerExternal: {
|
|
3275
|
+
readonly kysely: {
|
|
3276
|
+
readonly peer: "^0.28";
|
|
3277
|
+
readonly dev: "0.28.16";
|
|
3278
|
+
};
|
|
3279
|
+
};
|
|
3280
|
+
readonly devVersioned: readonly [];
|
|
3281
|
+
};
|
|
3282
|
+
readonly subgraph: {
|
|
3283
|
+
readonly peerVersioned: readonly ["@powerhousedao/reactor-api"];
|
|
3284
|
+
readonly peerExternal: {};
|
|
3285
|
+
readonly devVersioned: readonly [];
|
|
3286
|
+
};
|
|
3253
3287
|
readonly piece: {
|
|
3254
3288
|
readonly peerVersioned: readonly [];
|
|
3255
3289
|
readonly peerExternal: {};
|
|
@@ -3319,11 +3353,11 @@ export declare const packageJsonExports: {
|
|
|
3319
3353
|
};
|
|
3320
3354
|
export declare const packageScripts: {
|
|
3321
3355
|
readonly "test:watch": "vitest";
|
|
3322
|
-
readonly lint: "oxlint --type-aware --type-check";
|
|
3323
|
-
readonly "lint:fix": "oxlint --type-aware --type-check --fix";
|
|
3356
|
+
readonly lint: "ph-cli generate connect-routes && oxlint --type-aware --type-check";
|
|
3357
|
+
readonly "lint:fix": "ph-cli generate connect-routes && oxlint --type-aware --type-check --fix";
|
|
3324
3358
|
readonly format: "oxfmt";
|
|
3325
3359
|
readonly "format:check": "oxfmt --check";
|
|
3326
|
-
readonly tsc: "tsc";
|
|
3360
|
+
readonly tsc: "ph-cli generate connect-routes && tsc";
|
|
3327
3361
|
readonly "tsc:watch": "tsc --watch";
|
|
3328
3362
|
readonly generate: "ph-cli generate";
|
|
3329
3363
|
readonly connect: "ph-cli connect";
|
|
@@ -3331,6 +3365,7 @@ export declare const packageScripts: {
|
|
|
3331
3365
|
readonly reactor: "ph-cli reactor";
|
|
3332
3366
|
readonly service: "ph-cli service";
|
|
3333
3367
|
readonly vetra: "ph-cli vetra";
|
|
3368
|
+
readonly mcp: "ph-cli mcp";
|
|
3334
3369
|
readonly "service-startup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-startup.sh";
|
|
3335
3370
|
readonly "service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh";
|
|
3336
3371
|
};
|
|
@@ -3349,12 +3384,11 @@ export declare const externalDevDependencies: {
|
|
|
3349
3384
|
readonly "@vitejs/plugin-react": "^6.0.1";
|
|
3350
3385
|
readonly "@vitest/coverage-v8": "5.0.3";
|
|
3351
3386
|
readonly oxfmt: "0.68.0";
|
|
3352
|
-
readonly oxlint: "1.
|
|
3353
|
-
readonly "oxlint-tsgolint": "0.
|
|
3387
|
+
readonly oxlint: "1.83.0";
|
|
3388
|
+
readonly "oxlint-tsgolint": "7.0.2001";
|
|
3354
3389
|
readonly tailwindcss: "^4.1.16";
|
|
3355
3390
|
readonly typescript: "~7.0.2";
|
|
3356
3391
|
readonly vite: "^8.0.10";
|
|
3357
|
-
readonly "vite-tsconfig-paths": "6.1.1";
|
|
3358
3392
|
readonly vitest: "5.0.3";
|
|
3359
3393
|
};
|
|
3360
3394
|
export declare const defaultManifest: Manifest;
|
|
@@ -3499,6 +3533,11 @@ type PowerhouseConfig = {
|
|
|
3499
3533
|
driveId?: string;
|
|
3500
3534
|
driveUrl?: string;
|
|
3501
3535
|
connectPort?: number;
|
|
3536
|
+
/** The Vetra Preview drive `ph vetra` creates in watch mode. */
|
|
3537
|
+
previewDrive?: {
|
|
3538
|
+
/** The id of the drive app the drive opens in, set each time `ph vetra` starts. */
|
|
3539
|
+
app?: string;
|
|
3540
|
+
};
|
|
3502
3541
|
};
|
|
3503
3542
|
assistant?: {
|
|
3504
3543
|
port?: number;
|
|
@@ -3722,6 +3761,9 @@ export declare const vetraArgs: {
|
|
|
3722
3761
|
verbose: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3723
3762
|
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
|
|
3724
3763
|
} & 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>;
|
|
3764
|
+
restart: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3765
|
+
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
|
|
3766
|
+
} & 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>;
|
|
3725
3767
|
disableConnect: Partial<import("cmd-ts/dist/cjs/argparser.js").Register> & {
|
|
3726
3768
|
parse(context: import("cmd-ts/dist/cjs/argparser.js").ParseContext): Promise<import("cmd-ts/dist/cjs/argparser.js").ParsingResult<boolean>>;
|
|
3727
3769
|
} & 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>;
|
|
@@ -4147,6 +4189,17 @@ export declare const sourceConfigSchema: {
|
|
|
4147
4189
|
readonly type: "integer";
|
|
4148
4190
|
readonly description: "Port `ph vetra`'s Connect dev server listens on. Assigned per project by `ph init`. Overridden by PH_VETRA_CONNECT_PORT or --connect-port.";
|
|
4149
4191
|
};
|
|
4192
|
+
readonly previewDrive: {
|
|
4193
|
+
readonly type: "object";
|
|
4194
|
+
readonly additionalProperties: false;
|
|
4195
|
+
readonly description: "The Vetra Preview drive `ph vetra` creates in watch mode.";
|
|
4196
|
+
readonly properties: {
|
|
4197
|
+
readonly app: {
|
|
4198
|
+
readonly type: "string";
|
|
4199
|
+
readonly description: "Id of the drive app the preview drive opens in, e.g. a drive editor's `config.id`. `ph vetra` sets it on the drive each time it starts; leaving it out keeps the drive's current app.";
|
|
4200
|
+
};
|
|
4201
|
+
};
|
|
4202
|
+
};
|
|
4150
4203
|
};
|
|
4151
4204
|
};
|
|
4152
4205
|
readonly assistant: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../clis/args/access-token.ts","../../clis/args/common.ts","../../clis/args/connect.ts","../../clis/args/generate.ts","../../clis/command-names.ts","../../clis/args/help.ts","../../clis/args/init.ts","../../clis/args/inspect.ts","../../clis/args/install.ts","../../clis/args/list.ts","../../clis/args/login.ts","../../clis/args/migrate.ts","../../clis/args/publish.ts","../../clis/args/registry.ts","../../host-tokens/index.ts","../../connect/connect-config-schema.ts","../../document-model/schemas.ts","../../document-model/types.ts","../../clis/constants.ts","../../clis/types.ts","../../clis/args/service.ts","../../clis/args/switchboard.ts","../../clis/args/uninstall.ts","../../clis/args/unpublish.ts","../../clis/args/vetra.ts","../../clis/ph-dir.ts","../../clis/file-system/dependencies.ts","../../clis/file-system/directory-exists.ts","../../clis/file-system/file-exists.ts","../../clis/file-system/get-config.ts","../../clis/file-system/package-json.ts","../../clis/file-system/projects.ts","../../clis/file-system/run-cmd.ts","../../clis/file-system/spawn-async.ts","../../clis/file-system/version-info.ts","../../clis/file-system/write-file-ensuring-dir.ts","../../clis/services/telemetry.ts","../../clis/services/use-local.ts","../../clis/source-config-schema.ts","../../clis/utils.ts"],"mappings":";;;;;;;;qBAIa;;;;;;;;;;;;;qBCmBA,QAAQ;qBAER;EACX,OAAK,+CAAA;;;;qBAOM;;;;;;;;;;;;;;qBA2BA;EACX,gBAAc,+CAAA;;;EAOd,KAAG,+CAAA;;;EAKH,MAAI,+CAAA;;;EAKJ,MAAI,+CAAA;;;EAKJ,KAAG,+CAAA;;;;qBAMQ,0BAAwB,+CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAInC,6CAAA,iDAAA,mDAAA;qBACW,UAAQ,+CAAA;;yCAKnB,eAAA,6CAAA;qBAEW,cAAY,+CAAA;;yCAKvB,eAAA,6CAAA;qBAEW,sBAAoB,+CAAA;;yCAK/B,sDAAA,WAAA,6CAAA;qBAEW,cAAY,+CAAA;;yCAWvB,eAAA,6CAAA;qBAEW,eAAa,+CAAA;;yCAWxB,eAAA,6CAAA;qBAEW,OAAK,+CAAA;;yCAUhB,sDAAA,WAAA,6CAAA;qBAEW;;;;;;;;;;;;;;;;;;;;;;;qBAmBA,kBAAgB,+CAAA;;yCAK3B,eAAA,6CAAA;qBAEW,UAAQ,+CAAA;;yCAOnB,eAAA,6CAAA;qBAEW,iBAAe,+CAAA;;yCAK1B,eAAA,6CAAA;qBAEW,iBAAe,+CAAA;;yCAK1B,eAAA,6CAAA;qBAEW,sBAAoB,+CAAA;;yCAK/B,eAAA,6CAAA;qBAEW,wBAAsB,+CAAA;;yCAMjC,eAAA,6CAAA;qBAEW,OAAK,+CAAA;;yCAKhB,sDAAA,WAAA,6CAAA;qBAEW;;;;;;;;;;;;;;;;;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AEF;mBACE;mBACA;;iBAEF;mBACE;mBACA;;iBAEF;mBACE;mBACA;;;;;eAKJ;eACA;eAEA;;;;;;;;;;;;;;;;;;;;;;;;;;eAGA;eACA;eACA;eACA;iBACE;mBAAW;;iBACX;mBAAY;;iBACZ;mBACE;mBACA;;;;;eAMJ;eACA;eACA;eAEA;iBACE;mBACE;mBACA;;;;;eAMJ;eACA;eACA;eACA;iBACE;mBACE;mBACA;;;;;eAMJ;eACA;;;4BAlPO;eAwPL;;;;;;;;;;;;wBC/PQ,sBACd,YACA;EAAY;EAAiB;;qBAOlB,yBAAyB;EACpC,YAAY,wBAAwB;SAO7B,QAAQ,iBAAiB,SAAS;;wBAK3B,kBAAkB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../../clis/args/access-token.ts","../../clis/args/common.ts","../../clis/args/connect.ts","../../clis/args/generate.ts","../../clis/command-names.ts","../../clis/args/help.ts","../../clis/args/init.ts","../../clis/args/inspect.ts","../../clis/args/install.ts","../../clis/args/list.ts","../../clis/args/login.ts","../../clis/args/migrate.ts","../../clis/args/publish.ts","../../clis/args/registry.ts","../../host-tokens/index.ts","../../connect/connect-config-schema.ts","../../document-model/schemas.ts","../../document-model/types.ts","../../clis/constants.ts","../../clis/types.ts","../../clis/args/service.ts","../../clis/args/switchboard.ts","../../clis/args/uninstall.ts","../../clis/args/unpublish.ts","../../clis/args/vetra.ts","../../clis/ph-dir.ts","../../clis/file-system/dependencies.ts","../../clis/file-system/directory-exists.ts","../../clis/file-system/file-exists.ts","../../clis/file-system/get-config.ts","../../clis/file-system/package-json.ts","../../clis/file-system/projects.ts","../../clis/file-system/run-cmd.ts","../../clis/file-system/spawn-async.ts","../../clis/file-system/version-info.ts","../../clis/file-system/write-file-ensuring-dir.ts","../../clis/services/telemetry.ts","../../clis/services/use-local.ts","../../clis/source-config-schema.ts","../../clis/utils.ts"],"mappings":";;;;;;;;qBAIa;;;;;;;;;;;;;qBCmBA,QAAQ;qBAER;EACX,OA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;YAGU;;;;;;EAMV,0BAA0B,MAAM;;;;;EAKhC,kBACE,cACA;IAAS;QACN;;;;;;wBA8Ce,2BAA2B;;;;;wBAgH3B,iBAAiB;EACrC;EACA;IACE,QAAQ;;;;wBAgGI,oBAAoB;;;;wBAOpB;EACV;EAAe;;EACf;EAAkB;EAAkB;;EACpC;EAAmB;;;;wBCzTH,YAAY,sBAAsB,wBAAqB;wBAsH7D,cAAc,qBAAqB;;;qBChHtC;qBAGA;WACF;;WAEF;WAEL;WACI;;;;eAQF;eACA;;;eAIA;eACA;eACA;;;eAGA;eACA;;;eAGA;eACA;;;eAGA;eACA;;;eAGA;eACA;;;eAGA;eACA;;;eAGA;eACA;;;eAIA;eACA;;;eAGA;eACA;;;eAGA;eACA;eACA;eACA;iBACE;mBACE;mBACA;;iBAEF;mBACE;qBACI;;qBAEA;qBACA;qBACA;qBACA;uBACE;yBACE;yBACA;;uBAEF;yBACE;yBACA;;;;mBAKR;;iBAGF;mBACE;mBACA;mBACA;mBACA;mBACA;qBACE;uBACE;uBACA;;qBAEF;uBACE;uBACA;;qBAEF;uBACE;uBACA;;;;;;;eAOR;eACA;eACA;eACA;eACA;iBACE;mBACE;mBACA;;iBAEF;mBACE;mBACA;qBAAS;;mBACT;;iBAEF;mBACE;mBACA;mBACA;mBAEA;qBACE;uBACE;uBACA;uBACA;;qBAGF;uBACE;uBACA;;qBAGF;uBACE;uBACA;;;;;;;eAQR;eACA;eACA;eACA;iBACE;mBACE;mBACA;mBACA;qBACE;uBACE;uBACA;;;;iBAIN;mBACE;mBACA;;;;;eAKJ;eACA;eACA;eACA;eACA;iBACE;mBACE;mBACA;;iBAEF;mBACE;mBACA;;iBAEF;mBACE;mBACA;;iBAEF;mBACE;mBACA;;;;;eAKJ;eACA;eAEA;;;;;;;;;;;;;;;;;;;;;;;;;;eAGA;eACA;eACA;eACA;iBACE;mBAAW;;iBACX;mBAAY;;iBACZ;mBACE;mBACA;;iBAGF;mBACE;mBACA;mBACA;mBAEA;qBACE;uBACE;uBACA;;;;;;;eAQR;eACA;eACA;eAEA;iBACE;mBACE;mBACA;;;;;eAMJ;eACA;eACA;eACA;iBACE;mBACE;mBACA;;;;;eAMJ;eACA;;;4BA/PO;eAqQL;;;;;;;;;;;;wBC5QQ,sBACd,YACA;EAAY;EAAiB;;qBAOlB,yBAAyB;EACpC,YAAY,wBAAwB;SAO7B,QAAQ,iBAAiB,SAAS;;wBAK3B,kBAAkB"}
|