create-principles-disciple 1.155.1 → 1.155.3
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/_release/product-identity.json +1 -1
- package/console/dist/server/index.js +1 -0
- package/console/dist/server/routes/health.d.ts +1 -0
- package/console/dist/server/routes/health.js +12 -0
- package/console/dist/web/assets/app.js +32 -32
- package/console/package.json +2 -2
- package/core/dist/runtime/adapter/pi-ai-http-transport.d.ts.map +1 -1
- package/core/dist/runtime/adapter/pi-ai-http-transport.js.map +1 -1
- package/core/package.json +2 -2
- package/dist/installer.d.ts.map +1 -1
- package/dist/installer.js +20 -7
- package/dist/installer.js.map +1 -1
- package/package.json +8 -7
- package/pd-cli/dist/commands/console.d.ts.map +1 -1
- package/pd-cli/dist/commands/console.js +9 -0
- package/pd-cli/dist/commands/console.js.map +1 -1
- package/pd-cli/dist/commands/health-console.d.ts +1 -1
- package/pd-cli/dist/commands/health-console.d.ts.map +1 -1
- package/pd-cli/dist/commands/health-console.js +15 -1
- package/pd-cli/dist/commands/health-console.js.map +1 -1
- package/pd-cli/dist/commands/health.d.ts.map +1 -1
- package/pd-cli/dist/commands/health.js +7 -1
- package/pd-cli/dist/commands/health.js.map +1 -1
- package/pd-cli/dist/services/console-launcher.d.ts +93 -1
- package/pd-cli/dist/services/console-launcher.d.ts.map +1 -1
- package/pd-cli/dist/services/console-launcher.js +375 -10
- package/pd-cli/dist/services/console-launcher.js.map +1 -1
- package/pd-cli/package.json +1 -1
- package/plugin/dist/bundle.js +562 -555
- package/plugin/dist/openclaw-worker.js +297 -290
- package/release-manager/dist/installer.js +20 -7
- package/release-manager/package.json +7 -6
|
@@ -658,6 +658,7 @@ export function handleRequest(services) {
|
|
|
658
658
|
asyncHandler(() => handleHealthRoute(req, res, {
|
|
659
659
|
workspaceDir: services.workspaceDir,
|
|
660
660
|
authenticationMode: 'no_auth',
|
|
661
|
+
webIndexExists: fs.existsSync(path.join(WEB_ROOT, 'index.html')),
|
|
661
662
|
}))(req, res);
|
|
662
663
|
return;
|
|
663
664
|
}
|
|
@@ -10,5 +10,6 @@ export declare function handleIngestionHealthRoute(req: IncomingMessage, res: Se
|
|
|
10
10
|
export declare function handleHealthRoute(req: IncomingMessage, res: ServerResponse, options: {
|
|
11
11
|
workspaceDir: string;
|
|
12
12
|
authenticationMode: 'authenticated' | 'no_auth';
|
|
13
|
+
webIndexExists: boolean;
|
|
13
14
|
}): Promise<void>;
|
|
14
15
|
export declare function disposeHealthModels(): void;
|
|
@@ -156,6 +156,18 @@ export async function handleHealthRoute(req, res, options) {
|
|
|
156
156
|
// machine-local, never logged here, and absent entirely for consoles
|
|
157
157
|
// launched without it (normal user launches), keeping the legacy shape.
|
|
158
158
|
...(VERIFY_NONCE !== null ? { verifyNonce: VERIFY_NONCE } : {}),
|
|
159
|
+
// Instance identity for launcher-side stale-process detection: a
|
|
160
|
+
// leftover console whose files were deleted underneath it (test
|
|
161
|
+
// fixture cleanup, interrupted update) still answers /api/health from
|
|
162
|
+
// memory but can only 404 the UI. Reporting pid + entry path + whether
|
|
163
|
+
// the web bundle still exists lets `pd console open` prove the
|
|
164
|
+
// responder is a PD console that can never serve, and replace it
|
|
165
|
+
// instead of reusing it forever.
|
|
166
|
+
instance: {
|
|
167
|
+
pid: process.pid,
|
|
168
|
+
serverEntry: typeof process.argv[1] === 'string' ? process.argv[1] : null,
|
|
169
|
+
webIndexExists: options.webIndexExists,
|
|
170
|
+
},
|
|
159
171
|
});
|
|
160
172
|
}
|
|
161
173
|
catch (error) {
|