@nextclaw/ui 0.15.15 → 0.15.16
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/CHANGELOG.md +15 -0
- package/package.json +9 -9
- package/src/shared/lib/api/remote.types.ts +28 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @nextclaw/ui
|
|
2
2
|
|
|
3
|
+
## 0.15.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6b84324: Remote access now keeps disconnect and recovery diagnostics, correlates local and relay connection events, detects heartbeat loss, and automatically retries temporary connector-offline pages.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @nextclaw/agent-chat@0.3.10
|
|
10
|
+
- @nextclaw/agent-chat-ui@0.6.16
|
|
11
|
+
- @nextclaw/client-sdk@0.5.16
|
|
12
|
+
- @nextclaw/ncp@0.7.12
|
|
13
|
+
- @nextclaw/ncp-http-agent-client@0.4.12
|
|
14
|
+
- @nextclaw/ncp-react@0.5.14
|
|
15
|
+
- @nextclaw/ncp-toolkit@0.6.13
|
|
16
|
+
- @nextclaw/shared@0.4.13
|
|
17
|
+
|
|
3
18
|
## 0.15.15
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/ui",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
|
35
35
|
"zod": "^3.23.8",
|
|
36
36
|
"zustand": "^5.0.2",
|
|
37
|
-
"@nextclaw/
|
|
38
|
-
"@nextclaw/
|
|
39
|
-
"@nextclaw/
|
|
40
|
-
"@nextclaw/
|
|
41
|
-
"@nextclaw/ncp-
|
|
42
|
-
"@nextclaw/
|
|
43
|
-
"@nextclaw/
|
|
44
|
-
"@nextclaw/
|
|
37
|
+
"@nextclaw/ncp": "0.7.12",
|
|
38
|
+
"@nextclaw/client-sdk": "0.5.16",
|
|
39
|
+
"@nextclaw/ncp-http-agent-client": "0.4.12",
|
|
40
|
+
"@nextclaw/agent-chat-ui": "0.6.16",
|
|
41
|
+
"@nextclaw/ncp-toolkit": "0.6.13",
|
|
42
|
+
"@nextclaw/agent-chat": "0.3.10",
|
|
43
|
+
"@nextclaw/shared": "0.4.13",
|
|
44
|
+
"@nextclaw/ncp-react": "0.5.14"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/react": "^16.3.0",
|
|
@@ -11,6 +11,33 @@ export type RemoteAccountProfileUpdateRequest = {
|
|
|
11
11
|
username: string;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
+
export type RemoteDisconnectView = {
|
|
15
|
+
source: "close" | "socket_error" | "heartbeat_timeout";
|
|
16
|
+
connectionId: string;
|
|
17
|
+
at: string;
|
|
18
|
+
code: number | null;
|
|
19
|
+
reason: string | null;
|
|
20
|
+
wasClean: boolean | null;
|
|
21
|
+
connectedDurationMs: number | null;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type RemoteConnectionDiagnosticsView = {
|
|
25
|
+
observedSince: string;
|
|
26
|
+
connectionId: string | null;
|
|
27
|
+
connectedAt: string | null;
|
|
28
|
+
heartbeatSupported: boolean;
|
|
29
|
+
lastHeartbeatSentAt: string | null;
|
|
30
|
+
lastHeartbeatAckAt: string | null;
|
|
31
|
+
lastHeartbeatLatencyMs: number | null;
|
|
32
|
+
disconnectCount: number;
|
|
33
|
+
consecutiveFailures: number;
|
|
34
|
+
reconnectAttempt: number;
|
|
35
|
+
nextReconnectAt: string | null;
|
|
36
|
+
lastDisconnect: RemoteDisconnectView | null;
|
|
37
|
+
lastRecoveredAt: string | null;
|
|
38
|
+
lastRecoveryDurationMs: number | null;
|
|
39
|
+
};
|
|
40
|
+
|
|
14
41
|
export type RemoteRuntimeView = {
|
|
15
42
|
enabled: boolean;
|
|
16
43
|
mode: "service" | "foreground";
|
|
@@ -21,6 +48,7 @@ export type RemoteRuntimeView = {
|
|
|
21
48
|
localOrigin?: string;
|
|
22
49
|
lastConnectedAt?: string | null;
|
|
23
50
|
lastError?: string | null;
|
|
51
|
+
connection?: RemoteConnectionDiagnosticsView;
|
|
24
52
|
updatedAt: string;
|
|
25
53
|
};
|
|
26
54
|
|