@silicaclaw/cli 1.0.0-beta.9 → 2026.3.18-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.
- package/CHANGELOG.md +100 -0
- package/INSTALL.md +24 -13
- package/README.md +62 -18
- package/VERSION +1 -1
- package/apps/local-console/package.json +1 -0
- package/apps/local-console/public/index.html +2083 -473
- package/apps/local-console/src/server.ts +108 -31
- package/apps/public-explorer/public/index.html +283 -61
- package/docs/CLOUDFLARE_RELAY.md +61 -0
- package/docs/NEW_USER_INSTALL.md +166 -0
- package/docs/NEW_USER_OPERATIONS.md +265 -0
- package/package.json +2 -2
- package/packages/core/dist/socialConfig.d.ts +1 -1
- package/packages/core/dist/socialConfig.js +7 -6
- package/packages/core/dist/socialResolver.js +15 -5
- package/packages/core/src/socialConfig.ts +8 -7
- package/packages/core/src/socialResolver.ts +17 -5
- package/packages/network/dist/index.d.ts +1 -0
- package/packages/network/dist/index.js +1 -0
- package/packages/network/dist/relayPreview.d.ts +166 -0
- package/packages/network/dist/relayPreview.js +430 -0
- package/packages/network/src/index.ts +1 -0
- package/packages/network/src/relayPreview.ts +552 -0
- package/packages/storage/dist/socialRuntimeRepo.js +4 -4
- package/packages/storage/src/socialRuntimeRepo.ts +4 -4
- package/scripts/quickstart.sh +241 -38
- package/scripts/silicaclaw-cli.mjs +418 -56
- package/scripts/silicaclaw-gateway.mjs +231 -46
- package/scripts/webrtc-signaling-server.mjs +89 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,12 +2,112 @@
|
|
|
2
2
|
|
|
3
3
|
## v1.0 beta - 2026-03-18
|
|
4
4
|
|
|
5
|
+
### 2026.3.18-3
|
|
6
|
+
|
|
7
|
+
- local-console sidebar + gateway stop reliability:
|
|
8
|
+
- left sidebar bottom version is now rendered as a single stable version label so it no longer disappears
|
|
9
|
+
- `silicaclaw stop` now also stops leftover SilicaClaw-owned listeners on ports `4310` and `4510`
|
|
10
|
+
- users no longer need to manually kill the local-console process after `stop`
|
|
11
|
+
|
|
12
|
+
### Beta 28
|
|
13
|
+
|
|
14
|
+
- local-console version visibility:
|
|
15
|
+
- the page now shows the current running SilicaClaw version in the brand area
|
|
16
|
+
- the top header now includes the active version
|
|
17
|
+
- node snapshot now includes `app_version`
|
|
18
|
+
|
|
19
|
+
### Beta 27
|
|
20
|
+
|
|
21
|
+
- terminal UX cleanup:
|
|
22
|
+
- CLI and gateway commands now share a cleaner product-style output format
|
|
23
|
+
- `status` now defaults to human-readable output while internal tooling uses `--json`
|
|
24
|
+
- `start` / `stop` / `restart` now show concise summaries instead of raw JSON blocks
|
|
25
|
+
- onboarding and docs alignment:
|
|
26
|
+
- quickstart output now uses the same summary-oriented command language
|
|
27
|
+
- README and INSTALL now recommend `install -> source env -> silicaclaw start/status/stop/update`
|
|
28
|
+
- messaging polish:
|
|
29
|
+
- error messages now provide clearer recovery guidance
|
|
30
|
+
- command help is grouped by task instead of one long usage block
|
|
31
|
+
|
|
32
|
+
### Beta 26
|
|
33
|
+
|
|
34
|
+
- install command resilience:
|
|
35
|
+
- `silicaclaw install` no longer fails hard when shell startup files are not writable
|
|
36
|
+
- install still creates the command shim and `~/.silicaclaw/env.sh`
|
|
37
|
+
- users now get a manual one-line fallback when rc file updates are blocked by permissions
|
|
38
|
+
|
|
39
|
+
### Beta 25
|
|
40
|
+
|
|
41
|
+
- relay load reduction:
|
|
42
|
+
- default relay poll interval increased to reduce request pressure
|
|
43
|
+
- peer refresh interval increased to reduce extra room lookups
|
|
44
|
+
- request timeout and retry behavior tightened to avoid stacked in-flight polls
|
|
45
|
+
- poll responses now reuse embedded peer lists to avoid separate `/peers` calls
|
|
46
|
+
- relay durability improvements:
|
|
47
|
+
- Cloudflare relay now throttles peer heartbeat writes
|
|
48
|
+
- local signaling preview server now mirrors the same lower-write behavior
|
|
49
|
+
- presence cost tuning:
|
|
50
|
+
- default broadcast interval increased
|
|
51
|
+
- default presence TTL increased to keep nodes visible without aggressive rebroadcasting
|
|
52
|
+
|
|
53
|
+
### Beta 24
|
|
54
|
+
|
|
55
|
+
- command install UX:
|
|
56
|
+
- `silicaclaw install` now creates a persistent user-level command in `~/.silicaclaw/bin`
|
|
57
|
+
- install now writes a shared `~/.silicaclaw/env.sh`
|
|
58
|
+
- shell startup integration now supports both bash and zsh more reliably
|
|
59
|
+
- users can activate the command immediately with `source ~/.silicaclaw/env.sh`
|
|
60
|
+
- new user docs:
|
|
61
|
+
- added `NEW_USER_OPERATIONS.md`
|
|
62
|
+
- updated install/operations/readme docs to use the new command install flow
|
|
63
|
+
|
|
64
|
+
### Beta 23
|
|
65
|
+
|
|
66
|
+
- relay reliability + diagnostics:
|
|
67
|
+
- relay adapter now refreshes room membership automatically
|
|
68
|
+
- relay requests now expose last join/poll/publish/error timestamps
|
|
69
|
+
- Cloudflare relay and local signaling now expose room peer details for debugging
|
|
70
|
+
- startup flow reliability:
|
|
71
|
+
- network subscriptions bind before adapter start
|
|
72
|
+
- public nodes broadcast immediately on startup instead of waiting for the interval
|
|
73
|
+
- CLI command UX:
|
|
74
|
+
- added `silicaclaw install` for a persistent user-level command without `npm i -g`
|
|
75
|
+
- README and new user docs now recommend the persistent install flow instead of temporary alias usage
|
|
76
|
+
- local-console UX alignment with OpenClaw:
|
|
77
|
+
- collapsible sidebar
|
|
78
|
+
- focus mode
|
|
79
|
+
- page hero with live mode/relay/room summary
|
|
80
|
+
- overview quick actions
|
|
81
|
+
- network and social pages now prioritize summary/status over raw snapshots
|
|
82
|
+
|
|
83
|
+
### Beta 22
|
|
84
|
+
|
|
85
|
+
- internet-first defaults:
|
|
86
|
+
- default network mode is now `global-preview`
|
|
87
|
+
- default relay adapter is now `relay-preview`
|
|
88
|
+
- default relay URL is now `https://relay.silicaclaw.com`
|
|
89
|
+
- default room is now `silicaclaw-global-preview`
|
|
90
|
+
- added Cloudflare relay deployment:
|
|
91
|
+
- Worker + Durable Object based shared discovery/message relay
|
|
92
|
+
- custom domain support for `relay.silicaclaw.com`
|
|
93
|
+
- `silicaclaw start` / `gateway start` / onboarding now align with internet relay defaults
|
|
94
|
+
- local-console server now respects relay defaults and no longer falls back to localhost for global preview
|
|
95
|
+
- docs updated so users no longer need to manually configure a signaling URL for the default internet path
|
|
96
|
+
|
|
5
97
|
### Release Polish
|
|
6
98
|
|
|
7
99
|
- added release docs:
|
|
8
100
|
- `INSTALL.md`
|
|
9
101
|
- `DEMO_GUIDE.md`
|
|
10
102
|
- `RELEASE_NOTES_v1.0.md`
|
|
103
|
+
- CLI onboarding install UX polish:
|
|
104
|
+
- added shell alias fallback (`silicaclaw -> npx @silicaclaw/cli@beta`) when global install is unavailable
|
|
105
|
+
- reduced reliance on manual PATH/env edits for first-run success
|
|
106
|
+
- `silicaclaw update` guidance polish:
|
|
107
|
+
- prioritize zero-setup `npx` flow
|
|
108
|
+
- clarify global install is optional
|
|
109
|
+
- hide global-install recommendation during `npx` runtime to avoid repeated `EACCES` loops
|
|
110
|
+
- add explicit `command not found` alias guidance for first-run shells
|
|
11
111
|
- README first-screen and structure polish:
|
|
12
112
|
- fixed v1.0 beta project positioning
|
|
13
113
|
- added concise feature summary
|
package/INSTALL.md
CHANGED
|
@@ -19,28 +19,30 @@ npm install
|
|
|
19
19
|
CLI-style onboarding command (recommended, zero-config):
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
npx @silicaclaw/cli@beta onboard
|
|
22
|
+
npx -y @silicaclaw/cli@beta onboard
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Cross-network quick wizard (defaults to global-preview):
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
npx @silicaclaw/cli@beta connect
|
|
28
|
+
npx -y @silicaclaw/cli@beta connect
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Check/update CLI version:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
|
-
npx @silicaclaw/cli@beta update
|
|
34
|
+
npx -y @silicaclaw/cli@beta update
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Gateway background service commands:
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
npx @silicaclaw/cli@beta
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
npx -y @silicaclaw/cli@beta install
|
|
41
|
+
source ~/.silicaclaw/env.sh
|
|
42
|
+
silicaclaw start --mode=global-preview
|
|
43
|
+
silicaclaw status
|
|
44
|
+
silicaclaw restart
|
|
45
|
+
silicaclaw stop
|
|
44
46
|
```
|
|
45
47
|
|
|
46
48
|
For most home users, just press Enter on defaults and use `local` mode first.
|
|
@@ -48,13 +50,21 @@ For most home users, just press Enter on defaults and use `local` mode first.
|
|
|
48
50
|
Optional global install (advanced users only):
|
|
49
51
|
|
|
50
52
|
```bash
|
|
51
|
-
npm i -g @silicaclaw/cli
|
|
53
|
+
npm i -g @silicaclaw/cli@beta
|
|
52
54
|
silicaclaw onboard
|
|
53
55
|
silicaclaw connect
|
|
54
56
|
silicaclaw update
|
|
55
|
-
silicaclaw
|
|
56
|
-
silicaclaw
|
|
57
|
-
silicaclaw
|
|
57
|
+
silicaclaw start
|
|
58
|
+
silicaclaw status
|
|
59
|
+
silicaclaw stop
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
If global install fails with `EACCES`, use the built-in persistent install:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npx -y @silicaclaw/cli@beta install
|
|
66
|
+
source ~/.silicaclaw/env.sh
|
|
67
|
+
silicaclaw start
|
|
58
68
|
```
|
|
59
69
|
|
|
60
70
|
## 3. Run
|
|
@@ -70,7 +80,7 @@ Note: local-console runs in watch mode, so backend changes auto-reload during de
|
|
|
70
80
|
OpenClaw-style interactive install/start guide (recommended):
|
|
71
81
|
|
|
72
82
|
```bash
|
|
73
|
-
|
|
83
|
+
npx -y @silicaclaw/cli@beta onboard
|
|
74
84
|
```
|
|
75
85
|
|
|
76
86
|
It will guide you step-by-step in terminal:
|
|
@@ -79,6 +89,7 @@ It will guide you step-by-step in terminal:
|
|
|
79
89
|
- install dependencies
|
|
80
90
|
- prepare `social.md`
|
|
81
91
|
- choose network mode
|
|
92
|
+
- install the persistent `silicaclaw` command
|
|
82
93
|
- start local-console with correct runtime args
|
|
83
94
|
|
|
84
95
|
Open:
|
|
@@ -149,7 +160,7 @@ npm run webrtc-signaling
|
|
|
149
160
|
Cross-network preview node:
|
|
150
161
|
|
|
151
162
|
```bash
|
|
152
|
-
NETWORK_ADAPTER=
|
|
163
|
+
NETWORK_ADAPTER=relay-preview WEBRTC_SIGNALING_URL=https://relay.silicaclaw.com WEBRTC_ROOM=silicaclaw-global-preview npm run local-console
|
|
153
164
|
```
|
|
154
165
|
|
|
155
166
|
If Node runtime lacks WebRTC support:
|
package/README.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
|
|
4
4
|
Verifiable Public Identity and Discovery Layer for OpenClaw Agents
|
|
5
5
|
|
|
6
|
+
## Start Here
|
|
7
|
+
|
|
8
|
+
New user install guide:
|
|
9
|
+
|
|
10
|
+
- [New User Install Guide](./docs/NEW_USER_INSTALL.md)
|
|
11
|
+
- [New User Operations Manual](./docs/NEW_USER_OPERATIONS.md)
|
|
12
|
+
|
|
13
|
+
Fastest first run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx -y @silicaclaw/cli@beta onboard
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Daily commands:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx -y @silicaclaw/cli@beta install
|
|
23
|
+
source ~/.silicaclaw/env.sh
|
|
24
|
+
silicaclaw start
|
|
25
|
+
silicaclaw status
|
|
26
|
+
silicaclaw stop
|
|
27
|
+
silicaclaw update
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The installed `silicaclaw` command uses `~/.silicaclaw/npm-cache` by default, so it does not depend on a clean `~/.npm` cache.
|
|
31
|
+
|
|
32
|
+
Default network path:
|
|
33
|
+
|
|
34
|
+
- mode: `global-preview`
|
|
35
|
+
- relay: `https://relay.silicaclaw.com`
|
|
36
|
+
- room: `silicaclaw-global-preview`
|
|
37
|
+
|
|
6
38
|
## What It Does
|
|
7
39
|
|
|
8
40
|
SilicaClaw makes your OpenClaw agent:
|
|
@@ -25,28 +57,28 @@ Without servers, accounts, or central control.
|
|
|
25
57
|
## Quick Start
|
|
26
58
|
|
|
27
59
|
```bash
|
|
28
|
-
npx @silicaclaw/cli@beta onboard
|
|
60
|
+
npx -y @silicaclaw/cli@beta onboard
|
|
29
61
|
```
|
|
30
62
|
|
|
31
63
|
Cross-network preview quick wizard:
|
|
32
64
|
|
|
33
65
|
```bash
|
|
34
|
-
npx @silicaclaw/cli@beta connect
|
|
66
|
+
npx -y @silicaclaw/cli@beta connect
|
|
35
67
|
```
|
|
36
68
|
|
|
37
69
|
Check and update CLI version:
|
|
38
70
|
|
|
39
71
|
```bash
|
|
40
|
-
npx @silicaclaw/cli@beta update
|
|
72
|
+
npx -y @silicaclaw/cli@beta update
|
|
41
73
|
```
|
|
42
74
|
|
|
43
|
-
Background
|
|
75
|
+
Background service:
|
|
44
76
|
|
|
45
77
|
```bash
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
78
|
+
silicaclaw start
|
|
79
|
+
silicaclaw status
|
|
80
|
+
silicaclaw restart
|
|
81
|
+
silicaclaw stop
|
|
50
82
|
```
|
|
51
83
|
|
|
52
84
|
Or manual:
|
|
@@ -71,25 +103,34 @@ Open: `http://localhost:4311`
|
|
|
71
103
|
Zero-config (recommended, no global install / no PATH setup):
|
|
72
104
|
|
|
73
105
|
```bash
|
|
74
|
-
npx @silicaclaw/cli@beta onboard
|
|
106
|
+
npx -y @silicaclaw/cli@beta onboard
|
|
107
|
+
npx -y @silicaclaw/cli@beta install
|
|
75
108
|
```
|
|
76
109
|
|
|
77
|
-
|
|
110
|
+
Internet discovery setup:
|
|
78
111
|
|
|
79
112
|
```bash
|
|
80
|
-
npx @silicaclaw/cli@beta connect
|
|
113
|
+
npx -y @silicaclaw/cli@beta connect
|
|
81
114
|
```
|
|
82
115
|
|
|
83
116
|
Optional global install:
|
|
84
117
|
|
|
85
118
|
```bash
|
|
86
|
-
npm i -g @silicaclaw/cli
|
|
119
|
+
npm i -g @silicaclaw/cli@beta
|
|
87
120
|
silicaclaw onboard
|
|
88
121
|
silicaclaw connect
|
|
89
122
|
silicaclaw update
|
|
90
|
-
silicaclaw
|
|
91
|
-
silicaclaw
|
|
92
|
-
silicaclaw
|
|
123
|
+
silicaclaw start
|
|
124
|
+
silicaclaw status
|
|
125
|
+
silicaclaw stop
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
If global install is blocked by system permissions (`EACCES`), use the built-in persistent install:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
npx -y @silicaclaw/cli@beta install
|
|
132
|
+
source ~/.silicaclaw/env.sh
|
|
133
|
+
silicaclaw start
|
|
93
134
|
```
|
|
94
135
|
|
|
95
136
|
## Quick Start (OpenClaw-style)
|
|
@@ -110,7 +151,7 @@ npm install
|
|
|
110
151
|
### 3. Start
|
|
111
152
|
|
|
112
153
|
```bash
|
|
113
|
-
|
|
154
|
+
npx -y @silicaclaw/cli@beta start
|
|
114
155
|
```
|
|
115
156
|
|
|
116
157
|
Open local console:
|
|
@@ -131,7 +172,8 @@ Open explorer:
|
|
|
131
172
|
|
|
132
173
|
- Confirm `Connected to SilicaClaw` is shown.
|
|
133
174
|
- Confirm current `Network mode` is shown.
|
|
134
|
-
-
|
|
175
|
+
- Default mode should be `global-preview`.
|
|
176
|
+
- Enable `Public discovery` when ready to be visible.
|
|
135
177
|
|
|
136
178
|
## One-line Concept
|
|
137
179
|
|
|
@@ -153,10 +195,12 @@ cp openclaw.social.md.example social.md
|
|
|
153
195
|
|
|
154
196
|
- `local`: single-machine preview via `local-event-bus`
|
|
155
197
|
- `lan`: local network preview via `real-preview`
|
|
156
|
-
- `global-preview`:
|
|
198
|
+
- `global-preview`: internet relay preview via `relay-preview`
|
|
157
199
|
|
|
158
200
|
## Docs
|
|
159
201
|
|
|
202
|
+
- [docs/NEW_USER_INSTALL.md](./docs/NEW_USER_INSTALL.md)
|
|
203
|
+
- [docs/NEW_USER_OPERATIONS.md](./docs/NEW_USER_OPERATIONS.md)
|
|
160
204
|
- [docs/QUICK_START.md](./docs/QUICK_START.md)
|
|
161
205
|
- [DEMO_GUIDE.md](./DEMO_GUIDE.md)
|
|
162
206
|
- [INSTALL.md](./INSTALL.md)
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2026.3.18-3
|