@powerhousedao/academy 4.1.0-dev.8 → 4.1.0-dev.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/.vscode/settings.json +1 -1
  2. package/CHANGELOG.md +605 -0
  3. package/README.md +3 -3
  4. package/babel.config.js +1 -1
  5. package/blog/BeyondCommunication-ABlueprintForDevelopment.md +25 -24
  6. package/blog/TheChallengeOfChange.md +21 -21
  7. package/docs/academy/01-GetStarted/00-ExploreDemoPackage.mdx +67 -30
  8. package/docs/academy/01-GetStarted/01-CreateNewPowerhouseProject.md +38 -21
  9. package/docs/academy/01-GetStarted/02-DefineToDoListDocumentModel.md +24 -19
  10. package/docs/academy/01-GetStarted/03-ImplementOperationReducers.md +44 -41
  11. package/docs/academy/01-GetStarted/04-BuildToDoListEditor.md +10 -10
  12. package/docs/academy/01-GetStarted/05-VetraStudio.md +164 -0
  13. package/docs/academy/01-GetStarted/06-ReactorMCP.md +58 -0
  14. package/docs/academy/01-GetStarted/home.mdx +185 -90
  15. package/docs/academy/01-GetStarted/images/Modules.png +0 -0
  16. package/docs/academy/01-GetStarted/images/VetraStudioDrive.png +0 -0
  17. package/docs/academy/01-GetStarted/styles.module.css +5 -5
  18. package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/01-Prerequisites.md +46 -18
  19. package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/02-StandardDocumentModelWorkflow.md +118 -68
  20. package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/03-BuilderTools.md +75 -33
  21. package/docs/academy/02-MasteryTrack/01-BuilderEnvironment/_category_.json +6 -6
  22. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/01-WhatIsADocumentModel.md +30 -21
  23. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/02-SpecifyTheStateSchema.md +41 -37
  24. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/03-SpecifyDocumentOperations.md +29 -25
  25. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/04-UseTheDocumentModelGenerator.md +36 -37
  26. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/05-ImplementDocumentReducers.md +128 -109
  27. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/06-ImplementDocumentModelTests.md +95 -86
  28. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/07-ExampleToDoListRepository.md +7 -9
  29. package/docs/academy/02-MasteryTrack/02-DocumentModelCreation/_category_.json +6 -6
  30. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/01-BuildingDocumentEditors.md +65 -47
  31. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/02-ConfiguringDrives.md +77 -62
  32. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/03-BuildingADriveExplorer.md +360 -349
  33. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/00-DocumentToolbar.mdx +16 -10
  34. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/01-OperationHistory.md +10 -7
  35. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/02-RevisionHistoryTimeline.md +26 -11
  36. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/06-DocumentTools/_category_.json +6 -6
  37. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/01-RenownAuthenticationFlow.md +14 -7
  38. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/02-Authorization.md +0 -1
  39. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/07-Authorization/_category_.json +5 -5
  40. package/docs/academy/02-MasteryTrack/03-BuildingUserExperiences/_category_.json +1 -1
  41. package/docs/academy/02-MasteryTrack/04-WorkWithData/01-GraphQLAtPowerhouse.md +45 -33
  42. package/docs/academy/02-MasteryTrack/04-WorkWithData/02-UsingTheAPI.mdx +61 -18
  43. package/docs/academy/02-MasteryTrack/04-WorkWithData/03-UsingSubgraphs.md +105 -456
  44. package/docs/academy/02-MasteryTrack/04-WorkWithData/04-analytics-processor.md +126 -110
  45. package/docs/academy/02-MasteryTrack/04-WorkWithData/05-RelationalDbProcessor.md +98 -65
  46. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/GraphQL References/QueryingADocumentWithGraphQL.md +23 -21
  47. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/best-practices.md +9 -9
  48. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/graphql/index.md +11 -23
  49. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/graphql/integration.md +25 -9
  50. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/intro.md +10 -10
  51. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/benchmarks.md +1 -1
  52. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/index.md +16 -11
  53. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/memory.md +6 -5
  54. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/schema.md +2 -2
  55. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/typescript/utilities.md +7 -5
  56. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/use-cases/maker.md +32 -58
  57. package/docs/academy/02-MasteryTrack/04-WorkWithData/06-Analytics Engine/use-cases/processors.md +1 -1
  58. package/docs/academy/02-MasteryTrack/04-WorkWithData/07-drive-analytics.md +105 -71
  59. package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_01-SetupBuilderEnvironment.md +22 -0
  60. package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_02-CreateNewPowerhouseProject.md +9 -8
  61. package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_03-GenerateAnAnalyticsProcessor.md +28 -32
  62. package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_04-UpdateAnalyticsProcessor.md +25 -26
  63. package/docs/academy/02-MasteryTrack/04-WorkWithData/_ARCHIVE-AnalyticsProcessorTutorial/_category_.json +1 -1
  64. package/docs/academy/02-MasteryTrack/04-WorkWithData/_category_.json +7 -7
  65. package/docs/academy/02-MasteryTrack/05-Launch/01-IntroductionToPackages.md +3 -4
  66. package/docs/academy/02-MasteryTrack/05-Launch/02-PublishYourProject.md +69 -45
  67. package/docs/academy/02-MasteryTrack/05-Launch/03-SetupEnvironment.md +70 -40
  68. package/docs/academy/02-MasteryTrack/05-Launch/04-ConfigureEnvironment.md +1 -0
  69. package/docs/academy/02-MasteryTrack/05-Launch/_category_.json +7 -7
  70. package/docs/academy/02-MasteryTrack/_category_.json +6 -6
  71. package/docs/academy/03-ExampleUsecases/Chatroom/02-CreateNewPowerhouseProject.md +5 -3
  72. package/docs/academy/03-ExampleUsecases/Chatroom/03-DefineChatroomDocumentModel.md +38 -37
  73. package/docs/academy/03-ExampleUsecases/Chatroom/04-ImplementOperationReducers.md +45 -41
  74. package/docs/academy/03-ExampleUsecases/Chatroom/05-ImplementChatroomEditor.md +14 -14
  75. package/docs/academy/03-ExampleUsecases/Chatroom/06-LaunchALocalReactor.md +6 -6
  76. package/docs/academy/03-ExampleUsecases/Chatroom/_category_.json +1 -1
  77. package/docs/academy/04-APIReferences/00-PowerhouseCLI.md +140 -61
  78. package/docs/academy/04-APIReferences/01-ReactHooks.md +649 -141
  79. package/docs/academy/04-APIReferences/04-RelationalDatabase.md +121 -113
  80. package/docs/academy/04-APIReferences/05-PHDocumentMigrationGuide.md +48 -41
  81. package/docs/academy/04-APIReferences/_category_.json +6 -6
  82. package/docs/academy/05-Architecture/00-PowerhouseArchitecture.md +1 -2
  83. package/docs/academy/05-Architecture/01-WorkingWithTheReactor.md +11 -8
  84. package/docs/academy/05-Architecture/05-DocumentModelTheory/_category_.json +1 -1
  85. package/docs/academy/05-Architecture/_category_.json +6 -6
  86. package/docs/academy/06-ComponentLibrary/00-DocumentEngineering.md +25 -23
  87. package/docs/academy/06-ComponentLibrary/02-CreateCustomScalars.md +105 -93
  88. package/docs/academy/06-ComponentLibrary/03-IntegrateIntoAReactComponent.md +1 -0
  89. package/docs/academy/06-ComponentLibrary/_category_.json +7 -7
  90. package/docs/academy/07-Cookbook.md +268 -35
  91. package/docs/academy/08-Glossary.md +7 -1
  92. package/docs/bookofpowerhouse/01-Overview.md +2 -2
  93. package/docs/bookofpowerhouse/02-GeneralFrameworkAndPhilosophy.md +1 -7
  94. package/docs/bookofpowerhouse/03-PowerhouseSoftwareArchitecture.md +10 -7
  95. package/docs/bookofpowerhouse/04-DevelopmentApproaches.md +10 -4
  96. package/docs/bookofpowerhouse/05-SNOsandANewModelForOSSandPublicGoods.md +23 -30
  97. package/docs/bookofpowerhouse/06-SNOsInActionAndPlatformEconomies.md +0 -7
  98. package/docusaurus.config.ts +64 -66
  99. package/package.json +9 -7
  100. package/scripts/generate-combined-cli-docs.ts +43 -13
  101. package/sidebars.ts +2 -0
  102. package/src/components/HomepageFeatures/index.tsx +171 -78
  103. package/src/components/HomepageFeatures/styles.module.css +1 -2
  104. package/src/css/custom.css +89 -89
  105. package/src/pages/_archive-homepage.tsx +17 -16
  106. package/src/theme/DocCardList/index.tsx +9 -8
  107. package/static.json +6 -6
  108. package/tsconfig.tsbuildinfo +1 -0
@@ -1,18 +1,20 @@
1
1
  # Powerhouse CLI
2
2
 
3
- ### Installing the Powerhouse CLI
3
+ ### Installing the Powerhouse CLI
4
+
4
5
  :::tip
5
- The **Powerhouse CLI tool** is the only essential tool to install on this page. Install it with the command below.
6
+ The **Powerhouse CLI tool** is the only essential tool to install on this page. Install it with the command below.
6
7
 
7
- You can find all of the commands on this page, similar to what would displayed when using ph --help or ph *command* --help.
8
- Use the table of content or the search function to find what you are looking for.
8
+ You can find all of the commands on this page, similar to what would displayed when using ph --help or ph _command_ --help.
9
+ Use the table of content or the search function to find what you are looking for.
9
10
 
10
11
  The Powerhouse CLI (`ph-cmd`) is a command-line interface tool that provides essential commands for managing Powerhouse projects. You can get access to the Powerhouse ecosystem tools by installing them globally.
11
12
 
12
13
  ```bash
13
14
  pnpm install -g ph-cmd
14
- ```
15
- :::
15
+ ```
16
+
17
+ :::
16
18
 
17
19
  <!-- AUTO-GENERATED-CLI-COMMANDS-START -->\n<!-- This content is automatically generated. Do not edit directly. -->\n### ph-cmd Commands\n\n- [Init](#init)
18
20
  - [Setup Globals](#setup-globals)
@@ -226,15 +228,30 @@ Examples:
226
228
 
227
229
  ```
228
230
  Command Overview:
229
- The Connect build command creates a connect build with the project's local and external packages included.
231
+ The Connect build command creates a production build with the project's local and
232
+ external packages included.
230
233
 
231
234
  Options:
232
- --base <path> The base path for the app. Default is "/".
233
- --project-root <path> The root directory of the project. Default is "process.cwd()".
234
- --assets-dir-name <name> The name of the assets directory. Default is "${DEFAULT_ASSETS_DIR_NAME}".
235
- --external-packages-file-name <name> The name of the external packages file. Default is "${DEFAULT_EXTERNAL_PACKAGES_FILE_NAME}".
236
- --styles-file-name <name> The name of the styles file. Default is "${DEFAULT_STYLES_FILE_NAME}".
237
- --connect-path <path> The path to the Connect dist directory. Calls "resolveConnect()" if not provided.
235
+ --outDir <outDir> Output directory. Defaults to 'dist'.
236
+
237
+ --base <base> Base path for the app. Default is "/".
238
+
239
+ --mode <mode> Vite mode to use (e.g., development, production).
240
+
241
+ --config-file <configFile> Path to the powerhouse.config.js file.
242
+
243
+ --vite-config-file <file> Path to the vite config file.
244
+
245
+ --project-root <path> The root directory of the project. Default is current directory.
246
+
247
+ Examples:
248
+ $ ph connect build # Build with defaults
249
+ $ ph connect build --outDir build # Output to 'build' directory
250
+ $ ph connect build --base /app # Set base path to '/app'
251
+ $ ph connect build --mode production # Use production mode
252
+ $ ph connect build --config-file custom.config.js # Use custom configuration
253
+ $ ph connect build --vite-config-file vite.config.js # Use custom vite config
254
+ $ ph connect build --project-root /path/to/project # Set project root
238
255
  ```
239
256
 
240
257
  ## Connect Preview
@@ -245,10 +262,38 @@ Command Overview:
245
262
  NOTE: You must run \`ph connect build\` first.
246
263
 
247
264
  Options:
248
- --base <path> The base path for the app. Default is "/".
249
- --project-root <path> The root directory of the project. Default is "process.cwd()".
250
- --port <port> The port to run the server on. Default is 4173.
251
- --open Open the browser. Default is true.
265
+ --outDir <outDir> Output directory. Defaults to 'dist'.
266
+
267
+ --port <port> Port to run the server on. Default is 3000.
268
+
269
+ --host Expose the server to the network.
270
+
271
+ --open Open browser on startup.
272
+
273
+ --strictPort Exit if specified port is already in use.
274
+
275
+ --base <base> Base path for the app. Default is "/".
276
+
277
+ --mode <mode> Vite mode to use (e.g., development, production).
278
+
279
+ --config-file <configFile> Path to the powerhouse.config.js file.
280
+
281
+ --vite-config-file <file> Path to the vite config file.
282
+
283
+ --project-root <path> The root directory of the project. Default is current directory.
284
+
285
+ Examples:
286
+ $ ph connect preview # Preview with defaults
287
+ $ ph connect preview --outDir build # Preview from 'build' directory
288
+ $ ph connect preview --port 8080 # Preview on port 8080
289
+ $ ph connect preview --host # Expose to network
290
+ $ ph connect preview --open # Open browser automatically
291
+ $ ph connect preview --strictPort # Exit if port is in use
292
+ $ ph connect preview --base /app # Set base path to '/app'
293
+ $ ph connect preview --mode production # Use production mode
294
+ $ ph connect preview --config-file custom.config.js # Use custom configuration
295
+ $ ph connect preview --vite-config-file vite.config.js # Use custom vite config
296
+ $ ph connect preview --project-root /path/to/project # Set project root
252
297
  ```
253
298
 
254
299
  ## Connect Studio
@@ -256,7 +301,7 @@ Options:
256
301
  ```
257
302
  Command Overview:
258
303
  The connect command starts the Connect Studio, a development environment for building
259
- and testing Powerhouse applications. It provides a visual interface for working with
304
+ and testing Powerhouse applications. It provides a visual interface for working with
260
305
  your project.
261
306
 
262
307
  This command:
@@ -266,27 +311,41 @@ Command Overview:
266
311
  4. Supports various configuration options for customization
267
312
 
268
313
  Options:
269
- -p, --port <port> Port to run the server on. Default is 3000.
270
-
271
- -h, --host Expose the server to the network. By default, the server
272
- only accepts connections from localhost.
273
-
274
- --https Enable HTTPS for secure connections. You may need to provide
275
- certificate files for this option to work properly.
276
-
277
- --open Automatically open the browser window after starting the server.
278
-
279
- --config-file <path> Path to the powerhouse.config.js file. This allows you to
280
- customize the behavior of Connect Studio.
314
+ --port <port> Port to run the server on. Default is 3000.
315
+
316
+ --host Expose the server to the network. By default, the server
317
+ only accepts connections from localhost.
318
+
319
+ --open Automatically open the browser window after starting the server.
320
+
321
+ --cors Enable CORS (Cross-Origin Resource Sharing).
322
+
323
+ --strictPort Exit if specified port is already in use.
324
+
325
+ --force Force the optimizer to ignore the cache and re-bundle.
326
+
327
+ --mode <mode> Vite mode to use (e.g., development, production).
328
+
329
+ --config-file <configFile> Path to the powerhouse.config.js file. This allows you to
330
+ customize the behavior of Connect Studio.
331
+
332
+ --vite-config-file <file> Path to the vite config file.
333
+
334
+ --project-root <path> The root directory of the project. Default is current directory.
281
335
 
282
336
  Examples:
283
- $ ph connect # Start Connect Studio on default port 3000
284
- $ ph connect -p 8080 # Start on port 8080
285
- $ ph connect -h # Expose to network (not just localhost)
286
- $ ph connect --https # Enable HTTPS
287
- $ ph connect --open # Open browser automatically
288
- $ ph connect --config-file custom.config.js # Use custom configuration
289
- $ ph connect -p 8080 --open # Start on port 8080 and open browser
337
+ $ ph connect # Start Connect Studio on default port 3000
338
+ $ ph connect --port 8080 # Start on port 8080
339
+ $ ph connect --host # Expose to network (not just localhost)
340
+ $ ph connect --open # Open browser automatically
341
+ $ ph connect --cors # Enable CORS
342
+ $ ph connect --strictPort # Exit if port is in use
343
+ $ ph connect --force # Force re-bundle
344
+ $ ph connect --mode production # Use production mode
345
+ $ ph connect --config-file custom.config.js # Use custom configuration
346
+ $ ph connect --vite-config-file vite.config.js # Use custom vite config
347
+ $ ph connect --project-root /path/to/project # Set project root
348
+ $ ph connect --port 8080 --open # Start on port 8080 and open browser
290
349
  ```
291
350
 
292
351
  ## Dev
@@ -611,6 +670,10 @@ Options:
611
670
  --config-file <path> Path to the powerhouse.config.js file. Default is
612
671
  './powerhouse.config.json'. This configures the switchboard behavior.
613
672
 
673
+ --dev Enable development mode to load local packages from the current directory.
674
+ This allows the switchboard to discover and load document models, processors,
675
+ and subgraphs from your local development environment.
676
+
614
677
  --db-path <DB_PATH> Path to the database for storing document data.
615
678
 
616
679
  --https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
@@ -626,6 +689,7 @@ Options:
626
689
  Examples:
627
690
  $ ph switchboard # Start switchboard with default settings
628
691
  $ ph switchboard --port 5000 # Use custom port 5000
692
+ $ ph switchboard --dev # Enable dev mode to load local packages
629
693
  $ ph switchboard --config-file custom.json # Use custom configuration file
630
694
  $ ph switchboard --packages pkg1 pkg2 # Load specific packages
631
695
  $ ph switchboard --base-path /switchboard # Set API base path to /switchboard
@@ -709,45 +773,60 @@ Notes:
709
773
 
710
774
  ```
711
775
  Command Overview:
712
- The vetra command sets up a complete Vetra development environment for working with Vetra projects.
713
- It starts three coordinated services: a Vetra Switchboard, a Local Reactor, and Connect Studio,
714
- enabling full document collaboration and real-time processing with a "Vetra" drive.
776
+ The vetra command sets up a Vetra development environment for working with Vetra projects.
777
+ It starts a Vetra Switchboard and optionally Connect Studio, enabling document collaboration
778
+ and real-time processing with a "Vetra" drive or connection to remote drives.
715
779
 
716
780
  This command:
717
781
  1. Starts a Vetra Switchboard with a "Vetra" drive for document storage
718
- 2. Starts a Local Reactor that connects to the Vetra Switchboard as a remote drive
719
- 3. Starts Connect Studio pointing to the Local Reactor for user interaction
720
- 4. Enables real-time updates, collaboration, and code generation across all services
782
+ 2. Optionally connects to remote drives instead of creating a local drive
783
+ 3. Starts Connect Studio pointing to the Switchboard for user interaction (unless disabled)
784
+ 4. Enables real-time updates, collaboration, and code generation
721
785
 
722
786
  Options:
723
- --generate Generate code automatically when document models are updated.
724
- This keeps your code in sync with model changes across all services.
787
+ --logs Enable verbose logging for all services. This provides detailed
788
+ output from Switchboard and Connect during startup and operation.
725
789
 
726
- --switchboard-port <port> Specify the port to use for the Vetra Switchboard service.
727
- Default is 4001. The Switchboard handles document storage.
790
+ --switchboard-port <port> Specify the port to use for the Vetra Switchboard service.
791
+ Default is 4001. The Switchboard handles document storage.
728
792
 
729
- --reactor-port <port> Specify the port to use for the Local Reactor service.
730
- Default is 4002. The Reactor provides the main API and connects to switchboard.
793
+ --connect-port <port> Specify the port to use for Connect Studio.
794
+ Default is 3000. Connect provides the user interface.
731
795
 
732
- --https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
796
+ --https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
733
797
 
734
- --https-cert-file <path> Path to the SSL certificate file if using HTTPS.
798
+ --https-cert-file <path> Path to the SSL certificate file if using HTTPS.
735
799
 
736
- --config-file <path> Path to the powerhouse.config.js file. This allows you to
737
- customize the behavior of all services in the Vetra development environment.
800
+ --config-file <path> Path to the powerhouse.config.js file. This allows you to
801
+ customize the behavior of the Vetra development environment.
738
802
 
739
- -w, --watch Watch for local changes to document models and processors,
740
- and automatically update both the Switchboard and Reactor accordingly.
803
+ -w, --watch Enable dynamic loading for document-models and editors in
804
+ connect-studio and switchboard. When enabled, the system will
805
+ watch for changes in these directories and reload them dynamically.
806
+
807
+ --remote-drive <url> URL of remote drive to connect to. When specified, the switchboard
808
+ connects to this remote drive instead of creating a local Vetra drive.
809
+
810
+ --disable-connect Skip Connect initialization (only start switchboard and reactor).
811
+ Use this when you only need the backend services running.
812
+
813
+ --interactive Enable interactive mode for code generation. When enabled, the system
814
+ will prompt for user confirmation before generating code. This is useful
815
+ for development when you want control over when code regeneration happens.
741
816
 
742
817
  Examples:
743
- $ ph vetra # Start complete Vetra environment with defaults
744
- $ ph vetra --generate # Auto-generate code on model changes
745
- $ ph vetra --switchboard-port 5000 --reactor-port 5001 # Use custom ports
746
- $ ph vetra --config-file custom.powerhouse.config.js # Use custom configuration
747
- $ ph vetra --watch # Watch for changes and auto-update
818
+ $ ph vetra # Start Vetra environment with defaults
819
+ $ ph vetra --switchboard-port 5000 --connect-port 3001 # Use custom ports
820
+ $ ph vetra --config-file custom.powerhouse.config.js # Use custom configuration
821
+ $ ph vetra --watch # Enable dynamic loading for development
822
+ $ ph vetra -w # Enable dynamic loading (short form)
823
+ $ ph vetra --logs # Enable detailed logging
824
+ $ ph vetra --remote-drive http://localhost:4001/d/docs # Connect to remote drive
825
+ $ ph vetra --disable-connect # Start only backend services
826
+ $ ph vetra --interactive # Enable interactive code generation mode
748
827
  $ ph vetra --https-key-file key.pem --https-cert-file cert.pem # Use HTTPS
749
828
  ```
750
829
 
751
830
  ---
752
831
 
753
- *This document was automatically generated from the help text in the codebase.*\n<!-- AUTO-GENERATED-CLI-COMMANDS-END -->
832
+ *This document was automatically generated from the help text in the codebase.*\n<!-- AUTO-GENERATED-CLI-COMMANDS-END -->