@cccarv82/freya 2.1.5 → 2.1.6

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/cli/web-ui.js CHANGED
@@ -948,7 +948,7 @@
948
948
  async function refreshHealthChecklist() {
949
949
  try {
950
950
  setPill('run', 'checklist…');
951
- const r = await api('/api/health/checklist', { dir: dirOrDefault() });
951
+ const r = await api('/api/companion/checklist', { dir: dirOrDefault() });
952
952
  if (r && r.needsInit) {
953
953
  setOut(r.error || 'Workspace not initialized');
954
954
  setPill('plan', 'needs init');
package/cli/web.js CHANGED
@@ -2409,6 +2409,10 @@ async function cmdWeb({ port, dir, open, dev }) {
2409
2409
  return safeJson(res, 200, { ok: true, task: updated });
2410
2410
  }
2411
2411
 
2412
+ if (req.url === '/api/health/checklist') {
2413
+ req.url = '/api/companion/checklist';
2414
+ }
2415
+
2412
2416
  if (req.url === '/api/companion/checklist') {
2413
2417
  if (!looksLikeFreyaWorkspace(workspaceDir)) {
2414
2418
  return safeJson(res, 200, { ok: false, needsInit: true, error: 'Workspace not initialized', items: [] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cccarv82/freya",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "Personal AI Assistant with local-first persistence",
5
5
  "scripts": {
6
6
  "health": "node scripts/validate-data.js",