@powerhousedao/academy 4.0.0 → 4.1.0-dev.1

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/CHANGELOG.md CHANGED
@@ -1,12 +1,84 @@
1
- # 4.0.0 (2025-07-24)
1
+ ## 4.1.0-dev.1 (2025-07-29)
2
+
3
+ ### 🚀 Features
4
+
5
+ - added vetra command and vetra project ([#1713](https://github.com/powerhouse-inc/powerhouse/pull/1713))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Guillermo Puente Sandoval @gpuente
10
+
11
+ ## 4.0.0-staging.8 (2025-07-29)
2
12
 
3
13
  This was a version bump only for @powerhousedao/academy to align it with other projects, there were no code changes.
4
14
 
5
- ## 4.0.0-staging.5 (2025-07-23)
15
+ ## 4.0.0-staging.7 (2025-07-26)
16
+
17
+ ### 🚀 Features
18
+
19
+ - **state:** make all atom states derivative ([68a4bfece](https://github.com/powerhouse-inc/powerhouse/commit/68a4bfece))
20
+
21
+ ### ❤️ Thank You
22
+
23
+ - ryanwolhuter @ryanwolhuter
24
+
25
+ ## 4.0.0-staging.6 (2025-07-25)
26
+
27
+ ### 🚀 Features
28
+
29
+ - **connect:** remove unused dep ([00d3f68c0](https://github.com/powerhouse-inc/powerhouse/commit/00d3f68c0))
30
+ - **state:** use reactor on window object ([40321826e](https://github.com/powerhouse-inc/powerhouse/commit/40321826e))
31
+ - **state:** add state package reference to monorepo tsconfig ([93de86073](https://github.com/powerhouse-inc/powerhouse/commit/93de86073))
32
+ - **state:** remove unused deps ([d681fff7a](https://github.com/powerhouse-inc/powerhouse/commit/d681fff7a))
33
+ - **state:** remove jotai optics dep ([dfc955a82](https://github.com/powerhouse-inc/powerhouse/commit/dfc955a82))
34
+ - **common:** add storybook react dev dep ([61404f414](https://github.com/powerhouse-inc/powerhouse/commit/61404f414))
35
+ - **common:** install storybook types ([c4d45bb7c](https://github.com/powerhouse-inc/powerhouse/commit/c4d45bb7c))
36
+ - **connect:** use new hooks ([93a9eccfa](https://github.com/powerhouse-inc/powerhouse/commit/93a9eccfa))
37
+ - **state:** move state code to own package ([605bd5d75](https://github.com/powerhouse-inc/powerhouse/commit/605bd5d75))
38
+ - support initial strand without operations ([46698d2ff](https://github.com/powerhouse-inc/powerhouse/commit/46698d2ff))
39
+ - **document-drive:** removed drive id where possible ([adcedc4f0](https://github.com/powerhouse-inc/powerhouse/commit/adcedc4f0))
40
+
41
+ ### 🩹 Fixes
42
+
43
+ - **document-drive:** added deprecation warnings and release notes ([dbc86d172](https://github.com/powerhouse-inc/powerhouse/commit/dbc86d172))
44
+ - **common:** update storybook story type ([a84550281](https://github.com/powerhouse-inc/powerhouse/commit/a84550281))
45
+
46
+ ### ❤️ Thank You
47
+
48
+ - acaldas @acaldas
49
+ - ryanwolhuter @ryanwolhuter
50
+
51
+ ## 3.3.0-dev.19 (2025-07-25)
52
+
53
+ ### 🚀 Features
54
+
55
+ - **connect:** remove unused dep ([00d3f68c0](https://github.com/powerhouse-inc/powerhouse/commit/00d3f68c0))
56
+ - **state:** use reactor on window object ([40321826e](https://github.com/powerhouse-inc/powerhouse/commit/40321826e))
57
+ - **state:** add state package reference to monorepo tsconfig ([93de86073](https://github.com/powerhouse-inc/powerhouse/commit/93de86073))
58
+ - **state:** remove unused deps ([d681fff7a](https://github.com/powerhouse-inc/powerhouse/commit/d681fff7a))
59
+ - **state:** remove jotai optics dep ([dfc955a82](https://github.com/powerhouse-inc/powerhouse/commit/dfc955a82))
60
+ - **common:** add storybook react dev dep ([61404f414](https://github.com/powerhouse-inc/powerhouse/commit/61404f414))
61
+ - **common:** install storybook types ([c4d45bb7c](https://github.com/powerhouse-inc/powerhouse/commit/c4d45bb7c))
62
+ - **connect:** use new hooks ([93a9eccfa](https://github.com/powerhouse-inc/powerhouse/commit/93a9eccfa))
63
+ - **state:** move state code to own package ([605bd5d75](https://github.com/powerhouse-inc/powerhouse/commit/605bd5d75))
64
+ - support initial strand without operations ([46698d2ff](https://github.com/powerhouse-inc/powerhouse/commit/46698d2ff))
65
+ - **document-drive:** removed drive id where possible ([adcedc4f0](https://github.com/powerhouse-inc/powerhouse/commit/adcedc4f0))
66
+
67
+ ### 🩹 Fixes
68
+
69
+ - **document-drive:** added deprecation warnings and release notes ([dbc86d172](https://github.com/powerhouse-inc/powerhouse/commit/dbc86d172))
70
+ - **common:** update storybook story type ([a84550281](https://github.com/powerhouse-inc/powerhouse/commit/a84550281))
71
+
72
+ ### ❤️ Thank You
73
+
74
+ - acaldas @acaldas
75
+ - ryanwolhuter @ryanwolhuter
76
+
77
+ ## 3.3.0-dev.18 (2025-07-24)
6
78
 
7
79
  This was a version bump only for @powerhousedao/academy to align it with other projects, there were no code changes.
8
80
 
9
- ## 4.0.0-staging.4 (2025-07-22)
81
+ ## 3.3.0-dev.17 (2025-07-23)
10
82
 
11
83
  ### 🩹 Fixes
12
84
 
@@ -17,11 +89,11 @@ This was a version bump only for @powerhousedao/academy to align it with other p
17
89
 
18
90
  - Callme-T
19
91
 
20
- ## 4.0.0-staging.3 (2025-07-17)
92
+ ## 3.3.0-dev.16 (2025-07-22)
21
93
 
22
94
  This was a version bump only for @powerhousedao/academy to align it with other projects, there were no code changes.
23
95
 
24
- ## 4.0.0-staging.2 (2025-07-17)
96
+ ## 3.3.0-dev.15 (2025-07-17)
25
97
 
26
98
  ### 🩹 Fixes
27
99
 
@@ -30,13 +102,9 @@ This was a version bump only for @powerhousedao/academy to align it with other p
30
102
 
31
103
  ### ❤️ Thank You
32
104
 
33
- - acaldas @acaldas
105
+ - acaldas
34
106
  - Callme-T
35
107
 
36
- ## 4.0.0-staging.1 (2025-07-17)
37
-
38
- This was a version bump only for @powerhousedao/academy to align it with other projects, there were no code changes.
39
-
40
108
  ## 3.3.0-dev.14 (2025-07-17)
41
109
 
42
110
  This was a version bump only for @powerhousedao/academy to align it with other projects, there were no code changes.
@@ -1,10 +1,10 @@
1
- # Switchboard authorization
1
+ # Reactor API Authorization
2
2
 
3
- This tutorial explains how to configure authorization for the Powerhouse Switchboard using the new role-based authentication system.
3
+ This tutorial explains how to configure authorization for the Powerhouse Reactor API using the new role-based authentication system.
4
4
 
5
5
  ## Basic configuration
6
6
 
7
- The Switchboard supports two main ways to configure authorization:
7
+ The Reactor API supports two main ways to configure authorization:
8
8
 
9
9
  1. Using environment variables
10
10
  2. Using the powerhouse configuration file
@@ -33,13 +33,11 @@ Alternatively, you can configure authorization in your `powerhouse.config.json`:
33
33
 
34
34
  ```json
35
35
  {
36
- "switchboard": {
37
- "auth": {
38
- "enabled": true,
39
- "guests": ["0x789", "0xabc"],
40
- "users": ["0xdef", "0xghi"],
41
- "admins": ["0x123", "0x456"]
42
- }
36
+ "auth": {
37
+ "enabled": true,
38
+ "guests": ["0x789", "0xabc"],
39
+ "users": ["0xdef", "0xghi"],
40
+ "admins": ["0x123", "0x456"]
43
41
  }
44
42
  }
45
43
  ```
@@ -65,14 +63,14 @@ The new authorization system implements role-based access control with three dis
65
63
 
66
64
  ## Docker configuration
67
65
 
68
- When running the Switchboard in Docker, you can pass these configurations as environment variables:
66
+ When running the Reactor API in Docker, you can pass these configurations as environment variables:
69
67
 
70
68
  ```bash
71
69
  docker run -e AUTH_ENABLED=true \
72
70
  -e GUESTS="0x789,0xabc" \
73
71
  -e USERS="0xdef,0xghi" \
74
72
  -e ADMINS="0x123,0x456" \
75
- your-switchboard-image
73
+ your-Reactor API-image
76
74
  ```
77
75
 
78
76
  ## Authorization flow
@@ -95,6 +93,6 @@ If you encounter authorization issues:
95
93
 
96
94
  1. Check that AUTH_ENABLED is set appropriately
97
95
  2. Verify wallet addresses are correctly formatted in their respective roles
98
- 3. Check the Switchboard logs for detailed error messages
96
+ 3. Check the Reactor API logs for detailed error messages
99
97
  4. Verify that your database and Redis connections are working
100
98
  5. Confirm that users are assigned to the correct roles
@@ -220,6 +220,7 @@ Examples:
220
220
  - [Switchboard](#switchboard)
221
221
  - [Uninstall](#uninstall)
222
222
  - [Version](#version)
223
+ - [Vetra](#vetra)
223
224
 
224
225
  ## Connect Build
225
226
 
@@ -704,6 +705,49 @@ Notes:
704
705
  - Version information is read from the package.json file of the CLI
705
706
  ```
706
707
 
708
+ ## Vetra
709
+
710
+ ```
711
+ 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.
715
+
716
+ This command:
717
+ 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
721
+
722
+ Options:
723
+ --generate Generate code automatically when document models are updated.
724
+ This keeps your code in sync with model changes across all services.
725
+
726
+ --switchboard-port <port> Specify the port to use for the Vetra Switchboard service.
727
+ Default is 4001. The Switchboard handles document storage.
728
+
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.
731
+
732
+ --https-key-file <path> Path to the SSL key file if using HTTPS for secure connections.
733
+
734
+ --https-cert-file <path> Path to the SSL certificate file if using HTTPS.
735
+
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.
738
+
739
+ -w, --watch Watch for local changes to document models and processors,
740
+ and automatically update both the Switchboard and Reactor accordingly.
741
+
742
+ 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
748
+ $ ph vetra --https-key-file key.pem --https-cert-file cert.pem # Use HTTPS
749
+ ```
750
+
707
751
  ---
708
752
 
709
753
  *This document was automatically generated from the help text in the codebase.*\n<!-- AUTO-GENERATED-CLI-COMMANDS-END -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/academy",
3
- "version": "4.0.0",
3
+ "version": "4.1.0-dev.1",
4
4
  "homepage": "https://powerhouse.academy",
5
5
  "repository": {
6
6
  "type": "git",