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.
Files changed (32) hide show
  1. package/_release/product-identity.json +1 -1
  2. package/console/dist/server/index.js +1 -0
  3. package/console/dist/server/routes/health.d.ts +1 -0
  4. package/console/dist/server/routes/health.js +12 -0
  5. package/console/dist/web/assets/app.js +32 -32
  6. package/console/package.json +2 -2
  7. package/core/dist/runtime/adapter/pi-ai-http-transport.d.ts.map +1 -1
  8. package/core/dist/runtime/adapter/pi-ai-http-transport.js.map +1 -1
  9. package/core/package.json +2 -2
  10. package/dist/installer.d.ts.map +1 -1
  11. package/dist/installer.js +20 -7
  12. package/dist/installer.js.map +1 -1
  13. package/package.json +8 -7
  14. package/pd-cli/dist/commands/console.d.ts.map +1 -1
  15. package/pd-cli/dist/commands/console.js +9 -0
  16. package/pd-cli/dist/commands/console.js.map +1 -1
  17. package/pd-cli/dist/commands/health-console.d.ts +1 -1
  18. package/pd-cli/dist/commands/health-console.d.ts.map +1 -1
  19. package/pd-cli/dist/commands/health-console.js +15 -1
  20. package/pd-cli/dist/commands/health-console.js.map +1 -1
  21. package/pd-cli/dist/commands/health.d.ts.map +1 -1
  22. package/pd-cli/dist/commands/health.js +7 -1
  23. package/pd-cli/dist/commands/health.js.map +1 -1
  24. package/pd-cli/dist/services/console-launcher.d.ts +93 -1
  25. package/pd-cli/dist/services/console-launcher.d.ts.map +1 -1
  26. package/pd-cli/dist/services/console-launcher.js +375 -10
  27. package/pd-cli/dist/services/console-launcher.js.map +1 -1
  28. package/pd-cli/package.json +1 -1
  29. package/plugin/dist/bundle.js +562 -555
  30. package/plugin/dist/openclaw-worker.js +297 -290
  31. package/release-manager/dist/installer.js +20 -7
  32. package/release-manager/package.json +7 -6
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "productVersion": "2.8.11",
4
- "sourceCommit": "5e3b8d53d46dfb3884966a006be3996c1dd34428"
4
+ "sourceCommit": "eb4674ed948673b9a0e5c22590f5dd9d8cfd7fed"
5
5
  }
@@ -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) {