cascade-ai 0.48.0 → 0.49.0
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 +26 -5
- package/dist/cli.cjs +1904 -55
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1904 -55
- package/dist/cli.js.map +1 -1
- package/dist/desktop-core.cjs +1841 -51
- package/dist/index.cjs +1841 -51
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -0
- package/dist/index.d.ts +87 -0
- package/dist/index.js +1841 -51
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/cascade-ai)
|
|
7
7
|
[](LICENSE)
|
|
8
|
-
[](#installation)
|
|
9
9
|
[](#ai-providers)
|
|
10
10
|
[](CONTRIBUTING.md)
|
|
11
11
|
|
|
@@ -227,7 +227,7 @@ User prompt
|
|
|
227
227
|
npm install -g cascade-ai
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
> Requires **Node.js ≥
|
|
230
|
+
> Requires **Node.js ≥ 22**.
|
|
231
231
|
|
|
232
232
|
---
|
|
233
233
|
|
|
@@ -381,11 +381,15 @@ cascade doctor # confirms detection
|
|
|
381
381
|
"apiKey": "...",
|
|
382
382
|
"baseUrl": "https://YOUR_RESOURCE.openai.azure.com",
|
|
383
383
|
"deploymentName": "gpt-4o",
|
|
384
|
-
"apiVersion": "2024-08-01-preview"
|
|
384
|
+
"apiVersion": "2024-08-01-preview",
|
|
385
|
+
"region": "global"
|
|
385
386
|
}]
|
|
386
387
|
}
|
|
387
388
|
```
|
|
388
389
|
|
|
390
|
+
`region` selects the right price sheet — Azure charges ~10% more for `us` and
|
|
391
|
+
`eu` deployments than for `global` ones. Defaults to the global rates.
|
|
392
|
+
|
|
389
393
|
### OpenAI-compatible endpoints (Groq, Together, etc.)
|
|
390
394
|
|
|
391
395
|
```jsonc
|
|
@@ -394,11 +398,28 @@ cascade doctor # confirms detection
|
|
|
394
398
|
"type": "openai-compatible",
|
|
395
399
|
"apiKey": "...",
|
|
396
400
|
"baseUrl": "https://api.groq.com/openai/v1",
|
|
397
|
-
"model": "llama-3.1-70b-versatile"
|
|
401
|
+
"model": "llama-3.1-70b-versatile",
|
|
402
|
+
"local": false
|
|
398
403
|
}]
|
|
399
404
|
}
|
|
400
405
|
```
|
|
401
406
|
|
|
407
|
+
### Is this endpoint free? (`local`)
|
|
408
|
+
|
|
409
|
+
An OpenAI-compatible endpoint is either your own hardware — llama.cpp, LM
|
|
410
|
+
Studio, vLLM — where inference genuinely costs nothing, or somebody's paid API.
|
|
411
|
+
The same is true of Ollama, which is usually local but can be pointed at a
|
|
412
|
+
rented box. `local` says which:
|
|
413
|
+
|
|
414
|
+
| `local` | Meaning |
|
|
415
|
+
|-----------|--------------------------------------------------------------------|
|
|
416
|
+
| `true` | Self-hosted. Calls cost **$0**, and Cascade reports $0. |
|
|
417
|
+
| `false` | Hosted. Cascade prices calls from its pricing dataset; a model it can't price reports **"cost not tracked"**, never $0.00. |
|
|
418
|
+
| *(unset)* | Inferred: Ollama is local; an OpenAI-compatible endpoint is local when `baseUrl` points at localhost or your LAN. |
|
|
419
|
+
|
|
420
|
+
Set it explicitly whenever the default guesses wrong — a hosted endpoint
|
|
421
|
+
mistaken for a local one is how real spend gets reported as free.
|
|
422
|
+
|
|
402
423
|
---
|
|
403
424
|
|
|
404
425
|
## Tools
|
|
@@ -797,7 +818,7 @@ web/
|
|
|
797
818
|
|
|
798
819
|
| Tool | Required Version |
|
|
799
820
|
|------|-----------------|
|
|
800
|
-
| Node.js | ≥
|
|
821
|
+
| Node.js | ≥ 22.x |
|
|
801
822
|
| npm | ≥ 10.x |
|
|
802
823
|
|
|
803
824
|
### Setup
|