coxpit 5.23.0 → 5.23.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/package.json +1 -1
- package/src/server.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coxpit",
|
|
3
|
-
"version": "5.23.
|
|
3
|
+
"version": "5.23.1",
|
|
4
4
|
"description": "Self-hosted cockpit for running a fleet of AI coding agents across your own machines — parallel worktree runs, live board, compare & merge, web terminal, design capture.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/src/server.ts
CHANGED
|
@@ -365,7 +365,10 @@ export async function buildServer(): Promise<FastifyInstance> {
|
|
|
365
365
|
const m = authMode();
|
|
366
366
|
return {
|
|
367
367
|
effective: {
|
|
368
|
-
port: config.port, portStrict: config.portStrict, host: config.host,
|
|
368
|
+
port: config.port, portStrict: config.portStrict, host: config.host,
|
|
369
|
+
// filesRoot applies immediately (no restart) — report the LIVE value, not the boot-time one,
|
|
370
|
+
// so the Settings field shows what's actually in force. Precedence: env > settings.json > home.
|
|
371
|
+
filesRoot: process.env.COXPIT_FILES_ROOT ?? s.filesRoot ?? '',
|
|
369
372
|
webhookUrl: config.webhookUrl, publicUrl: config.publicUrl,
|
|
370
373
|
agent: { provider: config.agent.provider, model: config.agent.model, count: config.agent.count, real: config.agent.real },
|
|
371
374
|
},
|