cascade-ai 0.3.0 → 0.5.1
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 +35 -2
- package/dist/cli.cjs +2340 -1008
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +2339 -1006
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1452 -335
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +178 -74
- package/dist/index.d.ts +178 -74
- package/dist/index.js +1449 -332
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/web/dist/assets/index-BFrwdYDg.js +225 -0
- package/web/dist/assets/index-C6Nd1mOj.css +1 -0
- package/web/dist/index.html +2 -2
- package/web/dist/assets/index-BvxaBI9b.js +0 -216
- package/web/dist/assets/index-DO_ICahS.css +0 -1
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ cascade "Refactor the auth module to use JWT, add tests, and open a PR"
|
|
|
12
12
|
|
|
13
13
|
## Table of Contents
|
|
14
14
|
|
|
15
|
+
- [What's New in v0.5.0](#whats-new-in-v050)
|
|
15
16
|
- [How It Works](#how-it-works)
|
|
16
17
|
- [Features](#features)
|
|
17
18
|
- [Installation](#installation)
|
|
@@ -34,6 +35,30 @@ cascade "Refactor the auth module to use JWT, add tests, and open a PR"
|
|
|
34
35
|
|
|
35
36
|
---
|
|
36
37
|
|
|
38
|
+
## What's New in v0.5.0
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
- **SettingsView error handling** — tier limits and budget panels now surface network/auth errors instead of silently failing
|
|
42
|
+
- **LoginView token trimming** — whitespace is stripped from the API token before use
|
|
43
|
+
- **SessionList delete feedback** — delete failures now show a user-visible error; `isDeleting` no longer gets stuck on network errors
|
|
44
|
+
- **`cost:update` field name mismatch** — dashboard cost/token counters now update correctly after remote runs
|
|
45
|
+
|
|
46
|
+
### Security
|
|
47
|
+
- **Symlink sandbox** — workspace path resolution now calls `realpathSync` so symlinks pointing outside the workspace are rejected
|
|
48
|
+
- **Rate limiting** — mutation endpoints (`/api/run`, `/api/force-halt`, `/api/approve`, `/api/inject`) are rate-limited to 10 req/min; all API routes to 60 req/min
|
|
49
|
+
- **Atomic config write** — config is written to a temp file and renamed atomically, preventing corruption on crash
|
|
50
|
+
- **Request body validation** — `inject` and `config` endpoints validate shape at runtime before processing
|
|
51
|
+
|
|
52
|
+
### New Features
|
|
53
|
+
- **URL hash routing** — the dashboard tab survives page refresh; browser Back/Forward works
|
|
54
|
+
- **Plugin loading from config** — add `"plugins": ["./my-plugin.js"]` to `.cascade/config.json` to load custom tool plugins at startup
|
|
55
|
+
- **Conversational fast-path** — greetings and simple questions (≤12 words, matching conversational patterns) skip the T1 orchestration workflow entirely, returning a direct response at a fraction of the cost
|
|
56
|
+
- **Auto model specialization** — when `cascadeAuto: true`, Cascade profiles each configured model at startup (via OpenRouter API or a lightweight LLM query), stores specializations in SQLite, and ranks models by task-type fit at execution time
|
|
57
|
+
- **T3 text-tool fallback** — Ollama and other models that don't support native tool use now receive tools as structured text (`<tool_call>…</tool_call>` blocks) that are parsed and executed identically to native tool calls
|
|
58
|
+
- **Peer communication visualization** — the web dashboard topology view shows animated dashed edges between agents exchanging messages; the Inspector panel adds a **Communications** tab listing every peer message for the selected agent
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
37
62
|
## How It Works
|
|
38
63
|
|
|
39
64
|
Every task runs through three agent tiers:
|
|
@@ -118,10 +143,12 @@ User prompt
|
|
|
118
143
|
|
|
119
144
|
### Web Dashboard
|
|
120
145
|
- Real-time agent execution graph (ReactFlow)
|
|
146
|
+
- **Peer communication edges** — animated dashed lines between agents as they exchange messages
|
|
147
|
+
- **Agent Inspector** — click any node to see live output stream and peer communications
|
|
121
148
|
- Session browser with cost/token stats
|
|
122
149
|
- Config viewer
|
|
123
150
|
- JWT auth (password-protected)
|
|
124
|
-
-
|
|
151
|
+
- URL hash routing (`#topology`, `#sessions`, `#logs`, `#settings`)
|
|
125
152
|
- WebSocket live updates
|
|
126
153
|
|
|
127
154
|
---
|
|
@@ -196,7 +223,8 @@ Cascade loads config from `.cascade/config.json` in your project directory.
|
|
|
196
223
|
"teamMode": "single"
|
|
197
224
|
},
|
|
198
225
|
"theme": "cascade",
|
|
199
|
-
"telemetry": { "enabled": false }
|
|
226
|
+
"telemetry": { "enabled": false },
|
|
227
|
+
"plugins": ["./plugins/my-tool.js"]
|
|
200
228
|
}
|
|
201
229
|
```
|
|
202
230
|
|
|
@@ -635,6 +663,11 @@ web/
|
|
|
635
663
|
| ✓ | Hooks system |
|
|
636
664
|
| ✓ | Scheduler + notifications |
|
|
637
665
|
| ✓ | SDK |
|
|
666
|
+
| ✓ | Plugin loading from config |
|
|
667
|
+
| ✓ | Auto model specialization discovery |
|
|
668
|
+
| ✓ | T3 text-tool fallback (Ollama support) |
|
|
669
|
+
| ✓ | Peer communication visualization in dashboard |
|
|
670
|
+
| ✓ | Conversational fast-path (bypass T1 for simple prompts) |
|
|
638
671
|
| 🔜 | VSCode extension (`cascade-vscode`) |
|
|
639
672
|
| 🔜 | JetBrains extension (`cascade-jetbrains`) |
|
|
640
673
|
| 🔜 | Cascade Cloud (hosted dashboard) |
|