Skip to content

Commit 38bdba8

Browse files
author
Roo Code
committed
add json-ld solid implementation from agentic alliance
1 parent 516f342 commit 38bdba8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+12445
-583
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ claude-flow
1111
.roomodes
1212
CLAUDE.md
1313
workspace
14+
JavaScriptSolidServer
1415
webxr.long-type*
1516
qdrant_data/
1617
whelk-rs/

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ regex = "1.11.2"
106106
lazy_static = "1.5"
107107
once_cell = "1.20"
108108
sha1 = "0.10"
109+
sha2 = "0.10"
109110
scopeguard = "1.2"
110111
url = "2.5"
111112
flate2 = "1.0"

client/.claude-flow/metrics/performance.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"startTime": 1766699251097,
3-
"sessionId": "session-1766699251097",
4-
"lastActivity": 1766699251097,
2+
"startTime": 1767045841757,
3+
"sessionId": "session-1767045841757",
4+
"lastActivity": 1767045841757,
55
"sessionDuration": 0,
66
"totalTasks": 1,
77
"successfulTasks": 1,
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[
22
{
3-
"id": "cmd-hooks-1766699251207",
3+
"id": "cmd-hooks-1767045841861",
44
"type": "hooks",
55
"success": true,
6-
"duration": 5.758012000000008,
7-
"timestamp": 1766699251213,
6+
"duration": 198.14973099999997,
7+
"timestamp": 1767045842059,
88
"metadata": {}
99
}
1010
]

client/src/app/App.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import { VircadiaBridgesProvider } from '../contexts/VircadiaBridgesContext';
2525
import { useNostrAuth } from '../hooks/useNostrAuth';
2626
import { NostrLoginScreen } from '../components/NostrLoginScreen';
2727
import { LoadingScreen } from '../components/LoadingScreen';
28+
import solidPodService from '../services/SolidPodService';
2829

2930
const logger = createLogger('App');
3031

@@ -52,7 +53,7 @@ function App() {
5253

5354
useAutoBalanceNotifications();
5455

55-
// Update settings store with auth state
56+
// Update settings store with auth state and connect Solid WebSocket
5657
useEffect(() => {
5758
if (authenticated && user) {
5859
const settingsStore = useSettingsStore.getState();
@@ -61,11 +62,22 @@ function App() {
6162
isPowerUser: user.isPowerUser,
6263
pubkey: user.pubkey
6364
});
65+
66+
// Connect Solid WebSocket for real-time pod notifications
67+
solidPodService.connectWebSocket();
6468
} else {
6569
const settingsStore = useSettingsStore.getState();
6670
settingsStore.setAuthenticated(false);
6771
settingsStore.setUser(null);
72+
73+
// Disconnect Solid WebSocket when user logs out
74+
solidPodService.disconnect();
6875
}
76+
77+
// Cleanup on unmount
78+
return () => {
79+
solidPodService.disconnect();
80+
};
6981
}, [authenticated, user]);
7082

7183

0 commit comments

Comments
 (0)