freddie 0.0.75 → 0.0.76
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "freddie",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.76",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Open JS agent harness built on pi-mono, floosie, xstate, and anentrypoint-design",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"plugsdk": "^1.0.15",
|
|
27
27
|
"xstate": "^5.31.0",
|
|
28
28
|
"zod": "^4.0.0",
|
|
29
|
-
"anentrypoint-design": "^0.0.
|
|
29
|
+
"anentrypoint-design": "^0.0.63"
|
|
30
30
|
},
|
|
31
31
|
"optionalDependencies": {
|
|
32
32
|
"@libsql/darwin-arm64": "0.3.19",
|
package/src/web/app.js
CHANGED
|
@@ -76,5 +76,5 @@ const inst = { id: 'web', fs: { list: () => Promise.resolve([]) }, host };
|
|
|
76
76
|
const { node } = createFreddieDashboard({ instance: inst });
|
|
77
77
|
root.appendChild(node);
|
|
78
78
|
|
|
79
|
-
window.__debug
|
|
79
|
+
if (!window.__debug) window.__debug = {};
|
|
80
80
|
window.__debug.dashboard = () => ({ booted: true, mode: 'fetchHost', tools: host.pi.tools.size, skills: host.pi.skills.size });
|
|
@@ -395,7 +395,7 @@ export function createFreddieDashboard({ instance, bootHost, osSurfaces }) {
|
|
|
395
395
|
setActive('home');
|
|
396
396
|
|
|
397
397
|
if (typeof window !== 'undefined') {
|
|
398
|
-
window.__debug
|
|
398
|
+
if (!window.__debug) window.__debug = {};
|
|
399
399
|
window.__debug.instances = window.__debug.instances || {};
|
|
400
400
|
window.__debug.instances[instance.id] = window.__debug.instances[instance.id] || {};
|
|
401
401
|
window.__debug.instances[instance.id].dashboard = { root, routes: [...ROUTES, ...OS_ROUTES].map(r => r.path), setActive, get active() { return active; } };
|