@powerhousedao/builder-tools 6.2.2-dev.8 → 6.2.2-dev.81

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/index.d.mts CHANGED
@@ -8,6 +8,57 @@ declare const IMPORT_SCRIPT_FILE = "external-packages.js";
8
8
  declare const LOCAL_PACKAGE_ID = "ph:local-package";
9
9
  declare const PH_DIR_NAME = ".ph";
10
10
  //#endregion
11
+ //#region connect-utils/vite-plugins/build-hash.d.ts
12
+ /** Name of the build-identity file emitted into the build output. */
13
+ declare const BUILD_HASH_FILE: "build-hash.json";
14
+ interface BuildHashInput {
15
+ /** Monorepo workspace git SHA (CI/dev builds); empty outside the monorepo. */
16
+ workspaceGitSha: string;
17
+ /** Monorepo workspace version (CI/dev builds); empty outside it. */
18
+ workspaceVersion: string;
19
+ /** Version of @powerhousedao/connect installed in the project — the
20
+ * published Connect code identity for standalone/Docker builds. */
21
+ connectPackageVersion: string;
22
+ /** Full powerhouse.config.json contents (drives, connect block, packages…). */
23
+ projectConfig: unknown;
24
+ /** Effective package list (config + PH_PACKAGES env override). */
25
+ packages: string[];
26
+ /** Resolved deploy base path (affects emitted asset URLs). */
27
+ connectBasePath: string;
28
+ /** Whether the offline/PWA build variant is emitted. */
29
+ offlineEnabled: boolean;
30
+ /** Packages registry URL baked into the runtime config. */
31
+ packageRegistryUrl: string;
32
+ }
33
+ /**
34
+ * Deterministic identity of a Connect build. Differs whenever the deployed
35
+ * content differs (published Connect version, project config, package list,
36
+ * build options) so the SPA can detect "the server is serving a different
37
+ * build than the one this bundle was built from" by comparing its baked copy
38
+ * (define `PH_CONNECT_BUILD_HASH`) to `build-hash.json`, which the build
39
+ * emits alongside the app and the server must serve no-cache.
40
+ */
41
+ declare function computeBuildHash(input: BuildHashInput): string;
42
+ declare function buildHashFromBuildOptions(options: {
43
+ dirname: string;
44
+ phConfig: unknown;
45
+ packages: ReadonlyArray<{
46
+ packageName: string;
47
+ version?: string;
48
+ provider?: string;
49
+ }>;
50
+ connectBasePath?: string | null;
51
+ offlineEnabled: boolean;
52
+ packageRegistryUrl?: string | null;
53
+ }): string;
54
+ /**
55
+ * Emits `build-hash.json` (`{"hash": "<build id>"}`) into the build output.
56
+ * Emitted as an asset so it lands at the deploy base like every other file.
57
+ * Build-only: dev (studio) never runs generateBundle, and the SPA check
58
+ * treats a missing file as "nothing to compare" and stays silent.
59
+ */
60
+ declare function connectBuildHashPlugin(buildHash: string): Plugin;
61
+ //#endregion
11
62
  //#region connect-utils/externalize-vendor.d.ts
12
63
  interface VendorPrebuildOptions {
13
64
  /** Project root (the reactor-project dir). */
@@ -266,6 +317,18 @@ declare const runtimeConfigSchema: {
266
317
  };
267
318
  };
268
319
  };
320
+ readonly ai: {
321
+ readonly type: "object";
322
+ readonly additionalProperties: false;
323
+ readonly description: "AI assistant (chat) behaviour.";
324
+ readonly properties: {
325
+ readonly assistantEnabled: {
326
+ readonly type: "boolean";
327
+ readonly description: "When true, Connect mounts the in-browser AI assistant (bottom-right chat FAB that talks to a user-configured OpenAI-compatible endpoint and acts on the reactor). Disabled by default.";
328
+ readonly default: false;
329
+ };
330
+ };
331
+ };
269
332
  readonly packages: {
270
333
  readonly type: "object";
271
334
  readonly additionalProperties: false;
@@ -392,6 +455,58 @@ declare const runtimeConfigSchema: {
392
455
  readonly description: "CAIP-2 chain reference within the network namespace.";
393
456
  readonly default: 1;
394
457
  };
458
+ readonly namespace: {
459
+ readonly type: "string";
460
+ readonly description: "Renown localStorage namespace; share it across Connects to share login.";
461
+ };
462
+ readonly switchboardUrl: {
463
+ readonly type: "string";
464
+ readonly description: "Switchboard GraphQL URL. When set, Connect enables in-page (no-redirect) Renown sign-in; otherwise it falls back to the redirect flow via `url`.";
465
+ };
466
+ readonly adapters: {
467
+ readonly type: "object";
468
+ readonly additionalProperties: false;
469
+ readonly description: "Per-adapter wallet config for in-page auth. Presence of an adapter key enables it; omit or leave empty for redirect-only behaviour.";
470
+ readonly properties: {
471
+ readonly rainbow: {
472
+ readonly type: "object";
473
+ readonly additionalProperties: false;
474
+ readonly description: "wagmi + RainbowKit external-wallet adapter config.";
475
+ readonly properties: {
476
+ readonly walletConnectProjectId: {
477
+ readonly type: "string";
478
+ readonly description: "WalletConnect project id; required for this adapter to function.";
479
+ };
480
+ readonly infuraProjectId: {
481
+ readonly type: "string";
482
+ readonly description: "Optional Infura project id used to build RPC transports.";
483
+ };
484
+ };
485
+ };
486
+ readonly privy: {
487
+ readonly type: "object";
488
+ readonly additionalProperties: false;
489
+ readonly description: "Privy embedded/social adapter config.";
490
+ readonly properties: {
491
+ readonly appId: {
492
+ readonly type: "string";
493
+ readonly description: "Privy application id; required for this adapter to function.";
494
+ };
495
+ readonly clientId: {
496
+ readonly type: "string";
497
+ readonly description: "Optional Privy client id.";
498
+ };
499
+ readonly methods: {
500
+ readonly type: "array";
501
+ readonly description: "Login methods this adapter offers; default per adapter when omitted.";
502
+ readonly items: {
503
+ readonly type: "string";
504
+ };
505
+ };
506
+ };
507
+ };
508
+ };
509
+ };
395
510
  };
396
511
  };
397
512
  readonly sentry: {
@@ -434,6 +549,287 @@ declare const runtimeConfigSchema: {
434
549
  };
435
550
  };
436
551
  };
552
+ readonly reactor: {
553
+ readonly type: "object";
554
+ readonly additionalProperties: false;
555
+ readonly description: "Settings for the reactor Connect runs in the browser, on the main thread or in the shared worker alike.";
556
+ readonly properties: {
557
+ readonly featureFlags: {
558
+ readonly type: "object";
559
+ readonly additionalProperties: false;
560
+ readonly description: "Enforcement flags. Each implies its predecessors, and the reactor refuses to boot on a set that names a later flag without an earlier one. These are consensus settings: a Connect syncing with a fleet must carry the same flags the fleet does, or the two reach different replay outcomes for the same history and diverge.";
561
+ readonly properties: {
562
+ readonly documentDecisions: {
563
+ readonly type: "boolean";
564
+ readonly description: "Decide writes from the document stream rather than the document meta cache, so a backdated deletion denies the operations that sort after it.";
565
+ readonly default: false;
566
+ };
567
+ readonly authEnforcement: {
568
+ readonly type: "boolean";
569
+ readonly description: "Enforce the auth scope's policy at admission, replay, and read. Requires documentDecisions.";
570
+ readonly default: false;
571
+ };
572
+ readonly authGroups: {
573
+ readonly type: "boolean";
574
+ readonly description: "Let `{ group }` principals match against the rosters of the group documents a policy names. Requires authEnforcement.";
575
+ readonly default: false;
576
+ };
577
+ readonly authConditions: {
578
+ readonly type: "boolean";
579
+ readonly description: "Evaluate `where` and `match` conditions on grants. Requires authGroups. Do not enable on a fleet `preflight:auth` reports as crossing a reducer version.";
580
+ readonly default: false;
581
+ };
582
+ };
583
+ };
584
+ };
585
+ };
586
+ readonly pwa: {
587
+ readonly type: "object";
588
+ readonly additionalProperties: false;
589
+ readonly description: "Progressive-web-app / service-worker overrides, layered on Connect's built-in PWA defaults at build time. Scalar fields deep-merge (this layer wins); the array members (icons, file_handlers, globs, runtimeCaching and denylist patterns) are additive; maximumFileSizeToCacheInBytes takes the max across contributors. (categories is not set here \u2014 it is derived from the manifest's category field.) Only applied when connect.app.offline is true.";
590
+ readonly properties: {
591
+ readonly manifest: {
592
+ readonly type: "object";
593
+ readonly additionalProperties: false;
594
+ readonly description: "Web-app-manifest field overrides.";
595
+ readonly properties: {
596
+ readonly name: {
597
+ readonly type: "string";
598
+ };
599
+ readonly short_name: {
600
+ readonly type: "string";
601
+ };
602
+ readonly description: {
603
+ readonly type: "string";
604
+ };
605
+ readonly theme_color: {
606
+ readonly type: "string";
607
+ };
608
+ readonly background_color: {
609
+ readonly type: "string";
610
+ };
611
+ readonly display: {
612
+ readonly type: "string";
613
+ readonly enum: readonly ["fullscreen", "standalone", "minimal-ui", "browser"];
614
+ };
615
+ readonly start_url: {
616
+ readonly type: "string";
617
+ };
618
+ readonly scope: {
619
+ readonly type: "string";
620
+ };
621
+ readonly icons: {
622
+ readonly type: "array";
623
+ readonly description: "Icons appended to the built-in set and de-duplicated by (src, sizes, purpose).";
624
+ readonly items: {
625
+ readonly type: "object";
626
+ readonly additionalProperties: false;
627
+ readonly required: readonly ["src"];
628
+ readonly properties: {
629
+ readonly src: {
630
+ readonly type: "string";
631
+ };
632
+ readonly sizes: {
633
+ readonly type: "string";
634
+ };
635
+ readonly type: {
636
+ readonly type: "string";
637
+ };
638
+ readonly purpose: {
639
+ readonly type: "string";
640
+ };
641
+ };
642
+ };
643
+ };
644
+ readonly file_handlers: {
645
+ readonly type: "array";
646
+ readonly description: "File associations appended after Connect's built-in .phd/.phdm handler and de-duplicated on the whole entry. Entries only declare accepted types; there is no action field, because opening the files requires Connect's own runtime handling, so every handler opens at the app root.";
647
+ readonly items: {
648
+ readonly type: "object";
649
+ readonly additionalProperties: false;
650
+ readonly required: readonly ["accept"];
651
+ readonly properties: {
652
+ readonly accept: {
653
+ readonly type: "object";
654
+ readonly description: "MIME type \u2192 file extensions. Each extension must start with '.'; browsers ignore entries without it.";
655
+ readonly additionalProperties: {
656
+ readonly type: "array";
657
+ readonly items: {
658
+ readonly type: "string";
659
+ readonly pattern: "^\\.";
660
+ };
661
+ };
662
+ };
663
+ readonly icons: {
664
+ readonly type: "array";
665
+ readonly description: "OS-level file-type icons.";
666
+ readonly items: {
667
+ readonly type: "object";
668
+ readonly additionalProperties: false;
669
+ readonly required: readonly ["src"];
670
+ readonly properties: {
671
+ readonly src: {
672
+ readonly type: "string";
673
+ };
674
+ readonly sizes: {
675
+ readonly type: "string";
676
+ };
677
+ readonly type: {
678
+ readonly type: "string";
679
+ };
680
+ readonly purpose: {
681
+ readonly type: "string";
682
+ };
683
+ };
684
+ };
685
+ };
686
+ readonly launch_type: {
687
+ readonly type: "string";
688
+ readonly enum: readonly ["single-client", "multiple-clients"];
689
+ };
690
+ };
691
+ };
692
+ };
693
+ readonly launch_handler: {
694
+ readonly type: "object";
695
+ readonly additionalProperties: false;
696
+ readonly required: readonly ["client_mode"];
697
+ readonly description: "How the OS launches the app for handled files/links. Connect defaults to focus-existing.";
698
+ readonly properties: {
699
+ readonly client_mode: {
700
+ readonly type: "string";
701
+ readonly enum: readonly ["auto", "focus-existing", "navigate-existing", "navigate-new"];
702
+ };
703
+ };
704
+ };
705
+ };
706
+ };
707
+ readonly globPatterns: {
708
+ readonly type: "array";
709
+ readonly items: {
710
+ readonly type: "string";
711
+ };
712
+ readonly description: "Extra Workbox precache globs, unioned with the built-ins.";
713
+ };
714
+ readonly globIgnores: {
715
+ readonly type: "array";
716
+ readonly items: {
717
+ readonly type: "string";
718
+ };
719
+ readonly description: "Extra precache ignore globs, unioned with the built-ins.";
720
+ };
721
+ readonly maximumFileSizeToCacheInBytes: {
722
+ readonly type: "number";
723
+ readonly description: "Raise the precache file-size ceiling. The max across all contributors wins, so no contributor can shrink another's limit.";
724
+ };
725
+ readonly runtimeCaching: {
726
+ readonly type: "array";
727
+ readonly description: "Runtime-caching rules appended after the built-in rules. Workbox is first-match-wins, so these cannot override a built-in rule matching the same URL.";
728
+ readonly items: {
729
+ readonly type: "object";
730
+ readonly additionalProperties: false;
731
+ readonly required: readonly ["urlPattern", "handler"];
732
+ readonly properties: {
733
+ readonly urlPattern: {
734
+ readonly description: "URL match. A string is matched verbatim by Workbox; { source, flags } is rebuilt into a RegExp at build time.";
735
+ readonly oneOf: readonly [{
736
+ readonly type: "string";
737
+ }, {
738
+ readonly type: "object";
739
+ readonly additionalProperties: false;
740
+ readonly required: readonly ["source"];
741
+ readonly properties: {
742
+ readonly source: {
743
+ readonly type: "string";
744
+ readonly description: "RegExp source.";
745
+ };
746
+ readonly flags: {
747
+ readonly type: "string";
748
+ readonly description: "RegExp flags (e.g. 'i').";
749
+ };
750
+ };
751
+ }];
752
+ };
753
+ readonly handler: {
754
+ readonly type: "string";
755
+ readonly enum: readonly ["CacheFirst", "CacheOnly", "NetworkFirst", "NetworkOnly", "StaleWhileRevalidate"];
756
+ };
757
+ readonly method: {
758
+ readonly type: "string";
759
+ readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "HEAD", "PATCH"];
760
+ };
761
+ readonly options: {
762
+ readonly type: "object";
763
+ readonly additionalProperties: false;
764
+ readonly properties: {
765
+ readonly cacheName: {
766
+ readonly type: "string";
767
+ };
768
+ readonly networkTimeoutSeconds: {
769
+ readonly type: "number";
770
+ readonly description: "Seconds a NetworkFirst rule waits for the network before falling back to the cache.";
771
+ };
772
+ readonly expiration: {
773
+ readonly type: "object";
774
+ readonly additionalProperties: false;
775
+ readonly properties: {
776
+ readonly maxEntries: {
777
+ readonly type: "number";
778
+ };
779
+ readonly maxAgeSeconds: {
780
+ readonly type: "number";
781
+ };
782
+ };
783
+ };
784
+ readonly cacheableResponse: {
785
+ readonly type: "object";
786
+ readonly additionalProperties: false;
787
+ readonly properties: {
788
+ readonly statuses: {
789
+ readonly type: "array";
790
+ readonly items: {
791
+ readonly type: "number";
792
+ };
793
+ };
794
+ readonly headers: {
795
+ readonly type: "object";
796
+ readonly additionalProperties: {
797
+ readonly type: "string";
798
+ };
799
+ };
800
+ };
801
+ };
802
+ };
803
+ };
804
+ };
805
+ };
806
+ };
807
+ readonly navigateFallbackDenylist: {
808
+ readonly type: "array";
809
+ readonly description: "Extra SPA navigate-fallback denylist patterns, unioned with the built-ins.";
810
+ readonly items: {
811
+ readonly description: "URL match. A string is matched verbatim by Workbox; { source, flags } is rebuilt into a RegExp at build time.";
812
+ readonly oneOf: readonly [{
813
+ readonly type: "string";
814
+ }, {
815
+ readonly type: "object";
816
+ readonly additionalProperties: false;
817
+ readonly required: readonly ["source"];
818
+ readonly properties: {
819
+ readonly source: {
820
+ readonly type: "string";
821
+ readonly description: "RegExp source.";
822
+ };
823
+ readonly flags: {
824
+ readonly type: "string";
825
+ readonly description: "RegExp flags (e.g. 'i').";
826
+ };
827
+ };
828
+ }];
829
+ };
830
+ };
831
+ };
832
+ };
437
833
  };
438
834
  };
439
835
  };
@@ -559,6 +955,7 @@ declare function connectDynamicBasePlugin(options?: {
559
955
  forWorker?: boolean;
560
956
  workerStripPrefix?: string;
561
957
  }): Plugin;
958
+ declare function escapeForRegExp(s: string): string;
562
959
  //#endregion
563
960
  //#region connect-utils/vite-plugins/ph-config.d.ts
564
961
  type PhConfigPluginOptions = {
@@ -595,5 +992,5 @@ declare const THEME_BOOT_MARKER = "data-ph-theme-boot";
595
992
  */
596
993
  declare function connectThemeBootPlugin(): Plugin;
597
994
  //#endregion
598
- export { ConnectBuildOptions, ConnectCommonOptions, ConnectPreviewOptions, ConnectStudioOptions, DEFAULT_CONNECT_OUTDIR, DEFAULT_VENDOR_INCLUDE, DYNAMIC_BASE_PLACEHOLDER, EXTERNAL_PACKAGES_IMPORT, IConnectOptions, IMPORT_SCRIPT_FILE, LOCAL_PACKAGE_ID, PH_DIR_NAME, PhConfigPluginOptions, PrebuiltVendor, RUNTIME_CONFIG_SCHEMA_ID, RUNTIME_CONFIG_SCHEMA_URL, THEME_BOOT_MARKER, VENDOR_EXTERNAL, VENDOR_URL_PREFIX, VendorPrebuildOptions, ViteDevOptions, appendToHtmlHead, backupIndexHtml, connectDynamicBasePlugin, connectThemeBootPlugin, copyConnect, ensureNodeVersion, getConnectBaseViteConfig, getConnectHtmlTags, makeImportScriptFromPackages, phConfigPlugin, prebuildConnectVendor, prependToHtmlHead, readJsonFile, removeBase64EnvValues, resolveConnectBundle, resolveConnectPackageJson, resolveConnectPublicDir, resolvePackage, resolveViteConfigPath, runShellScriptPlugin, runTsc, runtimeConfigSchema, stripVersionFromPackage };
995
+ export { BUILD_HASH_FILE, BuildHashInput, ConnectBuildOptions, ConnectCommonOptions, ConnectPreviewOptions, ConnectStudioOptions, DEFAULT_CONNECT_OUTDIR, DEFAULT_VENDOR_INCLUDE, DYNAMIC_BASE_PLACEHOLDER, EXTERNAL_PACKAGES_IMPORT, IConnectOptions, IMPORT_SCRIPT_FILE, LOCAL_PACKAGE_ID, PH_DIR_NAME, PhConfigPluginOptions, PrebuiltVendor, RUNTIME_CONFIG_SCHEMA_ID, RUNTIME_CONFIG_SCHEMA_URL, THEME_BOOT_MARKER, VENDOR_EXTERNAL, VENDOR_URL_PREFIX, VendorPrebuildOptions, ViteDevOptions, appendToHtmlHead, backupIndexHtml, buildHashFromBuildOptions, computeBuildHash, connectBuildHashPlugin, connectDynamicBasePlugin, connectThemeBootPlugin, copyConnect, ensureNodeVersion, escapeForRegExp, getConnectBaseViteConfig, getConnectHtmlTags, makeImportScriptFromPackages, phConfigPlugin, prebuildConnectVendor, prependToHtmlHead, readJsonFile, removeBase64EnvValues, resolveConnectBundle, resolveConnectPackageJson, resolveConnectPublicDir, resolvePackage, resolveViteConfigPath, runShellScriptPlugin, runTsc, runtimeConfigSchema, stripVersionFromPackage };
599
996
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../connect-utils/constants.ts","../connect-utils/externalize-vendor.ts","../connect-utils/types.ts","../connect-utils/helpers.ts","../connect-utils/runtime-config-schema.ts","../connect-utils/vite-config.ts","../connect-utils/vite-plugins/dynamic-base.ts","../connect-utils/vite-plugins/ph-config.ts","../connect-utils/vite-plugins/theme-boot.ts"],"mappings":";;;;;cAAa,wBAAA;AAAA,cACA,kBAAA;AAAA,cACA,gBAAA;AAAA,cACA,WAAA;;;UC6CI,qBAAA;;EAEf,OAAA;;EAEA,OAAA;EDpDW;ECsDX,QAAA;;EAEA,SAAA;EDxDmC;EC0DnC,QAAA;IAAa,OAAA;EAAA;AAAA;;ADxDf;;;;cCgEa,sBAAA;AD/Db;;;;;AAAA,cC6Ea,eAAA;AAAA,UAYI,cAAA;EACf,SAAA;EA7Ce;EA+Cf,OAAA,EAAS,MAAA;AAAA;;cAIE,iBAAA;;;;;;iBAWS,qBAAA,CACpB,OAAA,EAAS,qBAAA,GACR,OAAA,CAAQ,cAAA;;;KC5GC,eAAA;EACV,IAAA;EACA,OAAA;EACA,MAAA;EACA,gBAAA,GAAmB,gBAAA;EACnB,YAAA;EFTmC;AACrC;;;;;AACA;;;;;EEmBE,kBAAA,GAAqB,sBAAA;EFlBC;;;;;EEwBtB,qBAAA;EAGA,WAAA;EAIA,OAAA;AAAA;AAAA,KAGU,oBAAA;EAEV,IAAA;EAEA,I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBCUG,kBAAA,CACd,OAAA;EACE,WAAA;EACA,QAAA,GAAW,iBAAA;AAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiJC,wBAAA,CAAyB,OAAA,EAAS,eAAA,GAAe,YAAA;;;;;;;ALtLjE;;;;;cMYa,wBAAA;;;;;ANVb;;;;;AACA;;;;;;;;AC6CA;;;;;;;;;;;iBK8BgB,wBAAA,CACd,OAAA;EAAW,SAAA;EAAqB,iBAAA;AAAA,IAC/B,MAAA;;;KCpES,qBAAA;EACV,QAAA,EAAU,iBAAA;EACV,WAAA;EACA,OAAA,GAAU,sBAAA;;;;APdZ;;;EOqBE,kBAAA;EPrB6B;AAC/B;;;;EO0BE,kBAAA,GAAqB,sBAAA;AAAA;AAAA,iBAsBP,cAAA,CAAe,OAAA,EAAS,qBAAA,GAAwB,MAAA;;;;;;;APlDhE;cQOa,iBAAA;;;;ARNb;;iBQ6BgB,sBAAA,CAAA,GAA0B,MAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../connect-utils/constants.ts","../connect-utils/vite-plugins/build-hash.ts","../connect-utils/externalize-vendor.ts","../connect-utils/types.ts","../connect-utils/helpers.ts","../connect-utils/runtime-config-schema.ts","../connect-utils/vite-config.ts","../connect-utils/vite-plugins/dynamic-base.ts","../connect-utils/vite-plugins/ph-config.ts","../conn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