@powerhousedao/switchboard 4.1.0-dev.4 → 4.1.0-dev.41

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,3 +1,323 @@
1
+ ## 4.1.0-dev.41 (2025-09-02)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **document-drive:** install openssl ([89f21529e](https://github.com/powerhouse-inc/powerhouse/commit/89f21529e))
6
+ - **document-drive:** prisma build ([7884368a2](https://github.com/powerhouse-inc/powerhouse/commit/7884368a2))
7
+ - **switchboard, connect:** fetch proper tag ([79a0bc967](https://github.com/powerhouse-inc/powerhouse/commit/79a0bc967))
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Frank
12
+
13
+ ## 4.1.0-dev.40 (2025-09-02)
14
+
15
+ ### 🩹 Fixes
16
+
17
+ - **switchboard:** added openssl to dockerfile ([a10230c60](https://github.com/powerhouse-inc/powerhouse/commit/a10230c60))
18
+
19
+ ### ❤️ Thank You
20
+
21
+ - Frank
22
+
23
+ ## 4.1.0-dev.39 (2025-09-02)
24
+
25
+ ### 🩹 Fixes
26
+
27
+ - **switchboard:** added db push to switchboard entrypoint ([d109e4afb](https://github.com/powerhouse-inc/powerhouse/commit/d109e4afb))
28
+
29
+ ### ❤️ Thank You
30
+
31
+ - Frank
32
+
33
+ ## 4.1.0-dev.38 (2025-08-30)
34
+
35
+ ### 🚀 Features
36
+
37
+ - gql-gen spec ([5bf2c7226](https://github.com/powerhouse-inc/powerhouse/commit/5bf2c7226))
38
+ - **reactor:** we have a reactor facade ([7a61e68ab](https://github.com/powerhouse-inc/powerhouse/commit/7a61e68ab))
39
+ - **reactor:** impstubbing out initial interface and types ([b74b194f9](https://github.com/powerhouse-inc/powerhouse/commit/b74b194f9))
40
+
41
+ ### ❤️ Thank You
42
+
43
+ - Benjamin Jordan (@thegoldenmule)
44
+
45
+ ## 4.1.0-dev.37 (2025-08-29)
46
+
47
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
48
+
49
+ ## 4.1.0-dev.36 (2025-08-28)
50
+
51
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
52
+
53
+ ## 4.1.0-dev.35 (2025-08-27)
54
+
55
+ ### 🩹 Fixes
56
+
57
+ - **switchboard, ph-cli:** slight type fixes ([b1bf76f1b](https://github.com/powerhouse-inc/powerhouse/commit/b1bf76f1b))
58
+
59
+ ### ❤️ Thank You
60
+
61
+ - Benjamin Jordan (@thegoldenmule)
62
+
63
+ ## 4.1.0-dev.34 (2025-08-26)
64
+
65
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
66
+
67
+ ## 4.1.0-dev.33 (2025-08-21)
68
+
69
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
70
+
71
+ ## 4.1.0-dev.32 (2025-08-21)
72
+
73
+ ### 🩹 Fixes
74
+
75
+ - **ph-cli:** resolve local document model loading in switchboard and vetra ([262f13035](https://github.com/powerhouse-inc/powerhouse/commit/262f13035))
76
+
77
+ ### ❤️ Thank You
78
+
79
+ - Guillermo Puente @gpuente
80
+
81
+ ## 4.1.0-dev.31 (2025-08-20)
82
+
83
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
84
+
85
+ ## 4.1.0-dev.30 (2025-08-20)
86
+
87
+ ### 🩹 Fixes
88
+
89
+ - add additional tags ([4f0cf8658](https://github.com/powerhouse-inc/powerhouse/commit/4f0cf8658))
90
+
91
+ ### ❤️ Thank You
92
+
93
+ - Frank
94
+
95
+ ## 4.1.0-dev.29 (2025-08-20)
96
+
97
+ ### 🩹 Fixes
98
+
99
+ - fetch tags :-) ([df0b7beba](https://github.com/powerhouse-inc/powerhouse/commit/df0b7beba))
100
+
101
+ ### ❤️ Thank You
102
+
103
+ - Frank
104
+
105
+ ## 4.1.0-dev.28 (2025-08-20)
106
+
107
+ ### 🩹 Fixes
108
+
109
+ - removed metadata extraction from commit ([637960021](https://github.com/powerhouse-inc/powerhouse/commit/637960021))
110
+
111
+ ### ❤️ Thank You
112
+
113
+ - Frank
114
+
115
+ ## 4.1.0-dev.27 (2025-08-20)
116
+
117
+ ### 🩹 Fixes
118
+
119
+ - extract metadata tags and labels for docker ([bb9c81ce7](https://github.com/powerhouse-inc/powerhouse/commit/bb9c81ce7))
120
+ - use github tag properly ([95ccff4b8](https://github.com/powerhouse-inc/powerhouse/commit/95ccff4b8))
121
+ - proper tag for docker images ([e73e10617](https://github.com/powerhouse-inc/powerhouse/commit/e73e10617))
122
+ - use patname secret instead of github token ([db9dfd5cd](https://github.com/powerhouse-inc/powerhouse/commit/db9dfd5cd))
123
+
124
+ ### ❤️ Thank You
125
+
126
+ - Frank
127
+
128
+ ## 4.1.0-dev.26 (2025-08-20)
129
+
130
+ ### 🩹 Fixes
131
+
132
+ - docker deploy alternative approach ([2a5522cdc](https://github.com/powerhouse-inc/powerhouse/commit/2a5522cdc))
133
+
134
+ ### ❤️ Thank You
135
+
136
+ - Frank
137
+
138
+ ## 4.1.0-dev.25 (2025-08-20)
139
+
140
+ ### 🩹 Fixes
141
+
142
+ - docker deploy ([b057a7cce](https://github.com/powerhouse-inc/powerhouse/commit/b057a7cce))
143
+
144
+ ### ❤️ Thank You
145
+
146
+ - Frank
147
+
148
+ ## 4.1.0-dev.24 (2025-08-20)
149
+
150
+ ### 🚀 Features
151
+
152
+ - **codegen:** add drive explorer template ([9c27219dc](https://github.com/powerhouse-inc/powerhouse/commit/9c27219dc))
153
+ - **connect,reactor-browser:** remove more old electron garbage ([5cd255568](https://github.com/powerhouse-inc/powerhouse/commit/5cd255568))
154
+ - **connect:** remove broken electron code ([3f28d6a46](https://github.com/powerhouse-inc/powerhouse/commit/3f28d6a46))
155
+ - **reactor-browser,connect,vetra:** move state hooks into reactor browser and eliminate redundant and dead code ([30fa16f1f](https://github.com/powerhouse-inc/powerhouse/commit/30fa16f1f))
156
+ - **connect,state,renown:** add state hook for renown ([5beb1252b](https://github.com/powerhouse-inc/powerhouse/commit/5beb1252b))
157
+ - **connect:** remove unused dep ([ef492bc7a](https://github.com/powerhouse-inc/powerhouse/commit/ef492bc7a))
158
+ - **connect,state,reactor-browser:** eliminate jotai ([53b1ab759](https://github.com/powerhouse-inc/powerhouse/commit/53b1ab759))
159
+ - **state:** rename to vetra packages ([c415b7dc2](https://github.com/powerhouse-inc/powerhouse/commit/c415b7dc2))
160
+ - **state:** use ph packages atoms ([6421fbeea](https://github.com/powerhouse-inc/powerhouse/commit/6421fbeea))
161
+
162
+ ### 🩹 Fixes
163
+
164
+ - today claude taught me I could mock a package to fix circular references ([dcb83174c](https://github.com/powerhouse-inc/powerhouse/commit/dcb83174c))
165
+ - **monorepo:** numerous build issues ([04349dd25](https://github.com/powerhouse-inc/powerhouse/commit/04349dd25))
166
+
167
+ ### ❤️ Thank You
168
+
169
+ - Benjamin Jordan (@thegoldenmule)
170
+ - ryanwolhuter @ryanwolhuter
171
+
172
+ ## 4.1.0-dev.23 (2025-08-19)
173
+
174
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
175
+
176
+ ## 4.1.0-dev.22 (2025-08-15)
177
+
178
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
179
+
180
+ ## 4.1.0-dev.21 (2025-08-15)
181
+
182
+ ### 🚀 Features
183
+
184
+ - **vetra:** update manifest when new module is added ([#1766](https://github.com/powerhouse-inc/powerhouse/pull/1766))
185
+
186
+ ### 🩹 Fixes
187
+
188
+ - fixed debug launch configuration now that source maps are in the proper locations ([c75d793ed](https://github.com/powerhouse-inc/powerhouse/commit/c75d793ed))
189
+
190
+ ### ❤️ Thank You
191
+
192
+ - Benjamin Jordan (@thegoldenmule)
193
+ - Guillermo Puente Sandoval @gpuente
194
+
195
+ ## 4.1.0-dev.20 (2025-08-15)
196
+
197
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
198
+
199
+ ## 4.1.0-dev.19 (2025-08-14)
200
+
201
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
202
+
203
+ ## 4.1.0-dev.18 (2025-08-14)
204
+
205
+ ### 🩹 Fixes
206
+
207
+ - overly aggressive linter fixes ([e074de3df](https://github.com/powerhouse-inc/powerhouse/commit/e074de3df))
208
+
209
+ ### ❤️ Thank You
210
+
211
+ - Benjamin Jordan (@thegoldenmule)
212
+
213
+ ## 4.1.0-dev.17 (2025-08-12)
214
+
215
+ ### 🚀 Features
216
+
217
+ - refactor vetra command and remove vetra deps in connect and reactor ([#1753](https://github.com/powerhouse-inc/powerhouse/pull/1753))
218
+
219
+ ### ❤️ Thank You
220
+
221
+ - Guillermo Puente Sandoval @gpuente
222
+
223
+ ## 4.1.0-dev.16 (2025-08-12)
224
+
225
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
226
+
227
+ ## 4.1.0-dev.15 (2025-08-12)
228
+
229
+ ### 🚀 Features
230
+
231
+ - **reactor-mcp,reactor-api,reactor-local,switchboard,ph-cli:** run mcp on express app ([d51fa590e](https://github.com/powerhouse-inc/powerhouse/commit/d51fa590e))
232
+
233
+ ### ❤️ Thank You
234
+
235
+ - acaldas @acaldas
236
+
237
+ ## 4.1.0-dev.14 (2025-08-11)
238
+
239
+ ### 🚀 Features
240
+
241
+ - update document engineering dep ([54dcee90d](https://github.com/powerhouse-inc/powerhouse/commit/54dcee90d))
242
+
243
+ ### ❤️ Thank You
244
+
245
+ - acaldas @acaldas
246
+
247
+ ## 4.1.0-dev.13 (2025-08-09)
248
+
249
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
250
+
251
+ ## 4.1.0-dev.12 (2025-08-08)
252
+
253
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
254
+
255
+ ## 4.1.0-dev.11 (2025-08-07)
256
+
257
+ ### 🚀 Features
258
+
259
+ - **switchboard:** added dev mode to switchboard where local document models are loaded ([449e730b6](https://github.com/powerhouse-inc/powerhouse/commit/449e730b6))
260
+ - **switchboard,reactor-local,reactor-api:** moved vite loader to reactor-api package ([c84f0a2a3](https://github.com/powerhouse-inc/powerhouse/commit/c84f0a2a3))
261
+ - vetra package documents and app integration ([0e4053302](https://github.com/powerhouse-inc/powerhouse/commit/0e4053302))
262
+ - **vetra:** added vetra drive editor ([4ebafd143](https://github.com/powerhouse-inc/powerhouse/commit/4ebafd143))
263
+ - integrate package documents into reactor system ([939fe8e80](https://github.com/powerhouse-inc/powerhouse/commit/939fe8e80))
264
+ - **connect:** integrate Vetra package documents and editors ([2ecb9bd15](https://github.com/powerhouse-inc/powerhouse/commit/2ecb9bd15))
265
+
266
+ ### ❤️ Thank You
267
+
268
+ - acaldas @acaldas
269
+ - Guillermo Puente @gpuente
270
+ - Guillermo Puente Sandoval @gpuente
271
+
272
+ ## 4.1.0-dev.10 (2025-08-07)
273
+
274
+ ### 🚀 Features
275
+
276
+ - **builder-tools,codegen,design-system,reactor-api:** updated document-engineering version ([e74068b43](https://github.com/powerhouse-inc/powerhouse/commit/e74068b43))
277
+
278
+ ### ❤️ Thank You
279
+
280
+ - acaldas @acaldas
281
+
282
+ ## 4.1.0-dev.9 (2025-08-07)
283
+
284
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
285
+
286
+ ## 4.1.0-dev.8 (2025-08-06)
287
+
288
+ ### 🚀 Features
289
+
290
+ - **switchboard,config,reactor-api:** handle auth in reactor-api ([f33c921ee](https://github.com/powerhouse-inc/powerhouse/commit/f33c921ee))
291
+
292
+ ### ❤️ Thank You
293
+
294
+ - acaldas @acaldas
295
+
296
+ ## 4.1.0-dev.7 (2025-08-06)
297
+
298
+ ### 🚀 Features
299
+
300
+ - **switchboard:** added readme ([fbadfca11](https://github.com/powerhouse-inc/powerhouse/commit/fbadfca11))
301
+
302
+ ### ❤️ Thank You
303
+
304
+ - Frank
305
+
306
+ ## 4.1.0-dev.6 (2025-08-06)
307
+
308
+ ### 🚀 Features
309
+
310
+ - **reactor-mcp:** load local document models and reload when they change ([0408a017c](https://github.com/powerhouse-inc/powerhouse/commit/0408a017c))
311
+ - **reactor-local,reactor-api,document-drive:** reload local document models when they change ([5d9af3951](https://github.com/powerhouse-inc/powerhouse/commit/5d9af3951))
312
+
313
+ ### ❤️ Thank You
314
+
315
+ - acaldas @acaldas
316
+
317
+ ## 4.1.0-dev.5 (2025-08-05)
318
+
319
+ This was a version bump only for @powerhousedao/switchboard to align it with other projects, there were no code changes.
320
+
1
321
  ## 4.1.0-dev.4 (2025-08-02)
2
322
 
3
323
  ### 🚀 Features
package/Dockerfile CHANGED
@@ -36,10 +36,12 @@ ENV PH_SWITCHBOARD_PORT=$PORT
36
36
  # Other
37
37
  ARG TAG=latest
38
38
  ENV TAG=$TAG
39
-
40
- RUN pnpm add -g ph-cmd@$TAG
41
- RUN if [ "$TAG" = "dev" ] || [ "$TAG" = "staging" ]; then \
42
- ph init project --${TAG} --package-manager pnpm; \
39
+ RUN apk add --no-cache openssl
40
+ RUN pnpm add -g ph-cmd@$TAG prisma
41
+ RUN if [[ "$TAG" == *"dev"* ]]; then \
42
+ ph init project --dev --package-manager pnpm; \
43
+ elif [[ "$TAG" == *"staging"* ]]; then \
44
+ ph init project --staging --package-manager pnpm; \
43
45
  else \
44
46
  ph init project --package-manager pnpm; \
45
47
  fi
package/README.md ADDED
@@ -0,0 +1,218 @@
1
+ # Switchboard
2
+
3
+ A powerful document-driven server that provides a unified API for managing and serving document models, drives, and reactors in the Powerhouse ecosystem.
4
+
5
+ ## 🚀 Features
6
+
7
+ - **Document Model Management**: Serve and manage document models with GraphQL API
8
+ - **Document Drive Support**: Handle document drives with filesystem and PostgreSQL storage
9
+ - **Reactor Integration**: Built-in support for Powerhouse reactors
10
+ - **Flexible Storage**: Support for filesystem, PostgreSQL, and Redis caching
11
+ - **Docker Ready**: Containerized deployment with comprehensive environment configuration
12
+ - **Authentication**: Configurable authentication with guest, user, and admin roles
13
+ - **HTTPS Support**: Built-in HTTPS server with custom certificates
14
+ - **Profiling**: Integration with Pyroscope for performance monitoring
15
+ - **Error Tracking**: Sentry integration for error monitoring and reporting
16
+
17
+ ## 📦 Installation
18
+
19
+ ### Prerequisites
20
+
21
+ - Node.js 22+
22
+ - pnpm (recommended) or npm
23
+ - Redis (optional, for caching)
24
+ - PostgreSQL (optional, for persistent storage)
25
+
26
+ ### Local Development
27
+
28
+ ```bash
29
+ # Clone the repository
30
+ git clone https://github.com/powerhouse-inc/powerhouse.git
31
+ cd powerhouse
32
+
33
+ # Install dependencies
34
+ pnpm install
35
+
36
+ # Build the switchboard
37
+ pnpm --filter @powerhousedao/switchboard build
38
+
39
+ # Start in development mode
40
+ pnpm --filter @powerhousedao/switchboard dev
41
+ ```
42
+
43
+ ### Global Installation
44
+
45
+ ```bash
46
+ # Install globally
47
+ npm install -g @powerhousedao/switchboard
48
+
49
+ # Or using pnpm
50
+ pnpm add -g @powerhousedao/switchboard
51
+ ```
52
+
53
+ ## 🏃‍♂️ Quick Start
54
+
55
+ ## ⚙️ Configuration
56
+
57
+ ### Environment Variables
58
+
59
+ | Variable | Description | Default |
60
+ |----------|-------------|---------|
61
+ | `PORT` | Server port | `4001` |
62
+ | `DATABASE_URL` | Database connection string | `./.ph/drive-storage` |
63
+ | `REDIS_URL` | Redis connection URL | - |
64
+ | `REDIS_TLS_URL` | Redis TLS connection URL | - |
65
+ | `SENTRY_DSN` | Sentry DSN for error tracking | - |
66
+ | `SENTRY_ENV` | Sentry environment | - |
67
+ | `PYROSCOPE_SERVER_ADDRESS` | Pyroscope server address | - |
68
+
69
+ ### Authentication Configuration
70
+
71
+ ```typescript
72
+ const options = {
73
+ auth: {
74
+ enabled: true,
75
+ guests: ['0x123', '0x456'],
76
+ users: ['0x789', '0xabc'],
77
+ admins: ['0xdef', '0xghi']
78
+ }
79
+ };
80
+ ```
81
+
82
+ ### Storage Options
83
+
84
+ Switchboard supports multiple storage backends:
85
+
86
+ - **Filesystem**: Local file-based storage (default)
87
+ - **PostgreSQL**: Persistent database storage
88
+ - **Redis**: Caching layer (optional)
89
+
90
+ ## 🐳 Docker Deployment
91
+
92
+ ### Using Docker Compose
93
+
94
+ ```yaml
95
+ version: '3.8'
96
+ services:
97
+ switchboard:
98
+ image: powerhouse/switchboard:latest
99
+ ports:
100
+ - "4001:4001"
101
+ environment:
102
+ - PORT=4001
103
+ - DATABASE_URL=postgresql://user:pass@db:5432/switchboard
104
+ - REDIS_URL=redis://redis:6379
105
+ depends_on:
106
+ - db
107
+ - redis
108
+
109
+ db:
110
+ image: postgres:15
111
+ environment:
112
+ POSTGRES_DB: switchboard
113
+ POSTGRES_USER: user
114
+ POSTGRES_PASSWORD: pass
115
+
116
+ redis:
117
+ image: redis:7-alpine
118
+ ```
119
+
120
+ ### Environment Variables for Docker
121
+
122
+ ```bash
123
+ # Database
124
+ PH_SWITCHBOARD_DATABASE_URL="postgresql://user:pass@db:5432/switchboard"
125
+ PH_SWITCHBOARD_REDIS_URL="redis://redis:6379"
126
+
127
+ # Authentication
128
+ PH_SWITCHBOARD_AUTH_ENABLED=true
129
+ PH_SWITCHBOARD_ADMINS_LIST="0x123,0x456"
130
+ PH_SWITCHBOARD_USERS_LIST="0x789,0xabc"
131
+ PH_SWITCHBOARD_GUESTS_LIST="0xdef,0xghi"
132
+
133
+ # Packages
134
+ PH_PACKAGES="package1,package2,package3"
135
+ ```
136
+
137
+ ## 🔧 Development
138
+
139
+ ### Project Structure
140
+
141
+ ```
142
+ src/
143
+ ├── index.ts # Main entry point
144
+ ├── server.ts # Server implementation
145
+ ├── config.ts # Configuration management
146
+ ├── types.ts # TypeScript type definitions
147
+ ├── utils.ts # Utility functions
148
+ ├── profiler.ts # Profiling integration
149
+ ├── install-packages.ts # Package installation
150
+ └── clients/ # External client integrations
151
+ └── redis.ts # Redis client
152
+ ```
153
+
154
+ ### Available Scripts
155
+
156
+ ```bash
157
+ # Build the project
158
+ pnpm build
159
+
160
+ # Start in development mode
161
+ pnpm dev
162
+
163
+ # Start production server
164
+ pnpm start
165
+
166
+ # Lint code
167
+ pnpm lint
168
+
169
+ # Clean build artifacts
170
+ pnpm clean
171
+ ```
172
+
173
+ ### Adding New Features
174
+
175
+ 1. **Document Models**: Add new document model modules to the reactor builder
176
+ 2. **Storage Backends**: Implement new storage adapters
177
+ 3. **Authentication**: Extend authentication logic
178
+ 4. **API Endpoints**: Add new GraphQL resolvers
179
+
180
+ ## 📚 API Reference
181
+
182
+ ### GraphQL Endpoints
183
+
184
+ Switchboard exposes a GraphQL API for document operations:
185
+
186
+ - **Document Models**: Query and mutate document models
187
+ - **Document Drives**: Manage document drives
188
+ - **Reactor Operations**: Execute reactor operations
189
+
190
+ ### REST Endpoints
191
+
192
+ - `GET /health` - Health check endpoint
193
+ - `POST /graphql` - GraphQL endpoint
194
+ - `GET /graphql` - GraphQL playground (development)
195
+
196
+ ## 🤝 Contributing
197
+
198
+ 1. Fork the repository
199
+ 2. Create a feature branch (`git checkout -b feature/amazing-feature`)
200
+ 3. Commit your changes (`git commit -m 'Add amazing feature'`)
201
+ 4. Push to the branch (`git push origin feature/amazing-feature`)
202
+ 5. Open a Pull Request
203
+
204
+ ## 📄 License
205
+
206
+ This project is licensed under the ISC License - see the [LICENSE](LICENSE) file for details.
207
+
208
+ ## 🆘 Support
209
+
210
+ - **Documentation**: [Powerhouse Docs](https://docs.powerhouse.com)
211
+ - **Issues**: [GitHub Issues](https://github.com/powerhouse-inc/powerhouse/issues)
212
+ - **Discussions**: [GitHub Discussions](https://github.com/powerhouse-inc/powerhouse/discussions)
213
+
214
+ ## 🔗 Related Projects
215
+
216
+ - [@powerhousedao/reactor-api](https://github.com/powerhouse-inc/powerhouse/tree/main/packages/reactor-api) - Reactor API package
217
+ - [@powerhousedao/document-drive](https://github.com/powerhouse-inc/powerhouse/tree/main/packages/document-drive) - Document drive management
218
+ - [@powerhousedao/document-model](https://github.com/powerhouse-inc/powerhouse/tree/main/packages/document-model) - Document model system
@@ -3,6 +3,7 @@ interface Config {
3
3
  url: string;
4
4
  };
5
5
  port: number;
6
+ mcp: boolean;
6
7
  }
7
8
  export declare const config: Config;
8
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAMA,UAAU,MAAM;IACd,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;CACd;AACD,eAAO,MAAM,MAAM,EAAE,MAapB,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAMA,UAAU,MAAM;IACd,QAAQ,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,OAAO,CAAC;CACd;AACD,eAAO,MAAM,MAAM,EAAE,MAcpB,CAAC"}
@@ -14,5 +14,6 @@ export const config = {
14
14
  !isNaN(Number(process.env.PH_SWITCHBOARD_PORT))
15
15
  ? Number(process.env.PH_SWITCHBOARD_PORT)
16
16
  : (switchboard?.port ?? 4001),
17
+ mcp: true,
17
18
  };
18
19
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,MAAM,QAAQ,GAAG,SAAS,EAAE,CAAC;AAC7B,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC;AAOjC,MAAM,CAAC,MAAM,MAAM,GAAW;IAC5B,QAAQ,EAAE;QACR,0FAA0F;QAC1F,GAAG,EACD,OAAO,CAAC,GAAG,CAAC,2BAA2B;YACvC,WAAW,EAAE,QAAQ,EAAE,GAAG;YAC1B,QAAQ;KACX;IACD,IAAI,EACF,OAAO,CAAC,GAAG,CAAC,mBAAmB;QAC/B,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAC7C,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC;QACzC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;CAClC,CAAC"}
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,MAAM,QAAQ,GAAG,SAAS,EAAE,CAAC;AAC7B,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC;AAQjC,MAAM,CAAC,MAAM,MAAM,GAAW;IAC5B,QAAQ,EAAE;QACR,0FAA0F;QAC1F,GAAG,EACD,OAAO,CAAC,GAAG,CAAC,2BAA2B;YACvC,WAAW,EAAE,QAAQ,EAAE,GAAG;YAC1B,QAAQ;KACX;IACD,IAAI,EACF,OAAO,CAAC,GAAG,CAAC,mBAAmB;QAC/B,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAC7C,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC;QACzC,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,IAAI,IAAI,CAAC;IACjC,GAAG,EAAE,IAAI;CACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":";AAqBA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAoB9E,eAAO,MAAM,gBAAgB,GAC3B,UAAS,kBAAuB,KAC/B,OAAO,CAAC,kBAAkB,CAiF5B,CAAC;AAEF,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":";AA0BA,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAyI9E,eAAO,MAAM,gBAAgB,GAC3B,UAAS,kBAAuB,KAC/B,OAAO,CAAC,kBAAkB,CAmB5B,CAAC;AAEF,cAAc,YAAY,CAAC"}