chainlesschain 0.45.8 → 0.45.9
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/README.md +14 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1007,11 +1007,11 @@ chainlesschain serve --project /path/to/project # Default project root f
|
|
|
1007
1007
|
|
|
1008
1008
|
---
|
|
1009
1009
|
|
|
1010
|
-
## Web Management Interface (v0.45.
|
|
1010
|
+
## Web Management Interface (v0.45.8)
|
|
1011
1011
|
|
|
1012
1012
|
### `chainlesschain ui`
|
|
1013
1013
|
|
|
1014
|
-
Open a browser-based Web management interface — no extra software required.
|
|
1014
|
+
Open a browser-based Web management interface — no extra software required. When a built Vue3 panel (`dist/`) is present it is served as static files; otherwise an embedded single-page app is used as fallback.
|
|
1015
1015
|
|
|
1016
1016
|
```bash
|
|
1017
1017
|
chainlesschain ui # Auto-detect mode, open browser
|
|
@@ -1020,8 +1020,12 @@ chainlesschain ui --ws-port 18800 # Custom WebSocket port
|
|
|
1020
1020
|
chainlesschain ui --no-open # Start server without opening browser
|
|
1021
1021
|
chainlesschain ui --token <secret> # Enable WebSocket auth token
|
|
1022
1022
|
chainlesschain ui --host 0.0.0.0 # Bind to all interfaces (remote access)
|
|
1023
|
+
chainlesschain ui --web-panel-dir <dir> # Custom dist/ directory (auto-detected by default)
|
|
1023
1024
|
```
|
|
1024
1025
|
|
|
1026
|
+
> **npm users**: the Vue3 panel is bundled automatically (via `prepublishOnly`) — no build step needed.
|
|
1027
|
+
> **Source users**: run `npm run build:web-panel` once (from repo root) to build `packages/web-panel/dist/`.
|
|
1028
|
+
|
|
1025
1029
|
**Two modes** (auto-detected based on current directory):
|
|
1026
1030
|
|
|
1027
1031
|
| Mode | Trigger | Description |
|
|
@@ -1029,9 +1033,9 @@ chainlesschain ui --host 0.0.0.0 # Bind to all interfaces (remote access)
|
|
|
1029
1033
|
| **Project mode** | Run from a directory with `.chainlesschain/` | AI automatically loads project context (rules, skills, config) |
|
|
1030
1034
|
| **Global mode** | Run from any non-project directory | General-purpose AI management panel |
|
|
1031
1035
|
|
|
1032
|
-
**Features**: streaming Markdown output, session management (new/switch/history), Agent/Chat mode toggle, slot-filling interactive dialogs, auto-reconnect (3s), Token auth.
|
|
1036
|
+
**Features**: Vue3 + Ant Design Vue panel (Dashboard / Chat / Skills / Providers), streaming Markdown output, session management (new/switch/history), Agent/Chat mode toggle, slot-filling interactive dialogs, auto-reconnect (3s), Token auth.
|
|
1033
1037
|
|
|
1034
|
-
**Ports**: HTTP 18810 (Web UI page), WebSocket 18800 (reuses `chainlesschain serve` infrastructure).
|
|
1038
|
+
**Ports**: HTTP 18810 (Web UI page + static assets), WebSocket 18800 (reuses `chainlesschain serve` infrastructure).
|
|
1035
1039
|
|
|
1036
1040
|
**Security**: JSON config embedded with XSS-safe Unicode escaping (`\u003c`/`\u003e`); Token auth via `--token`.
|
|
1037
1041
|
|
|
@@ -1164,7 +1168,7 @@ Configuration is stored at `~/.chainlesschain/config.json`. The CLI creates and
|
|
|
1164
1168
|
```bash
|
|
1165
1169
|
cd packages/cli
|
|
1166
1170
|
npm install
|
|
1167
|
-
npm test # Run all tests (
|
|
1171
|
+
npm test # Run all tests (5200+ tests across 133+ files)
|
|
1168
1172
|
npm run test:unit # Unit tests only
|
|
1169
1173
|
npm run test:integration # Integration tests
|
|
1170
1174
|
npm run test:e2e # End-to-end tests
|
|
@@ -1174,20 +1178,23 @@ npm run test:e2e # End-to-end tests
|
|
|
1174
1178
|
|
|
1175
1179
|
| Category | Files | Tests | Status |
|
|
1176
1180
|
| ------------------------- | ------- | -------- | --------------- |
|
|
1177
|
-
| Unit — lib modules |
|
|
1181
|
+
| Unit — lib modules | 71 | 1750+ | All passing |
|
|
1178
1182
|
| Unit — commands | 17 | 400+ | All passing |
|
|
1179
1183
|
| Unit — runtime | 1 | 6 | All passing |
|
|
1180
1184
|
| Unit — WS sessions | 9 | 156 | All passing |
|
|
1181
1185
|
| Unit — Skill Packs | 2 | 57+ | All passing |
|
|
1182
1186
|
| Unit — AI Templates | 2 | 130+ | All passing |
|
|
1187
|
+
| Unit — Web UI | 1 | 46 | All passing |
|
|
1183
1188
|
| Integration | 13 | 230+ | All passing |
|
|
1184
1189
|
| Integration — WS session | 1 | 12 | All passing |
|
|
1185
1190
|
| Integration — AI Handlers | 2 | 100+ | All passing |
|
|
1191
|
+
| Integration — Web UI | 1 | 29 | All passing |
|
|
1186
1192
|
| E2E | 15 | 260+ | All passing |
|
|
1187
1193
|
| E2E — Skill Packs | 1 | 23+ | All passing |
|
|
1188
1194
|
| E2E — AI Templates | 4 | 65+ | All passing |
|
|
1195
|
+
| E2E — Web UI | 1 | 24 | All passing |
|
|
1189
1196
|
| Core packages (external) | — | 118 | All passing |
|
|
1190
|
-
| **CLI Total** | **
|
|
1197
|
+
| **CLI Total** | **133** | **3155** | **All passing** |
|
|
1191
1198
|
|
|
1192
1199
|
## License
|
|
1193
1200
|
|