dsh-tacit 0.2.3 → 0.4.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 +5 -5
- package/client/client.js +1793 -99
- package/docs/README.zh.md +3 -3
- package/lib/analyze.js +214 -43
- package/lib/index.js +4 -2
- package/lib/pricing-source.js +133 -0
- package/lib/pricing.js +311 -0
- package/lib/routes.js +14 -1
- package/lib/schema.js +195 -11
- package/lib/service.js +431 -153
- package/lib/store.js +224 -3
- package/lib/usage.js +763 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,14 +50,14 @@ already configured in the harness (Tacit never reads it).
|
|
|
50
50
|
| | What | Cost |
|
|
51
51
|
| --- | --- | --- |
|
|
52
52
|
| **Zero-click learning** | messy turns and your own corrections are analyzed in the background, with the previous turn as context; automatic analyses are capped per day (30 by default) | $0.001–0.003 each |
|
|
53
|
-
| **Directives that earn their place** | learned directives are injected as a short system-prompt section you can read, edit, toggle or delete; a new one
|
|
53
|
+
| **Directives that earn their place** | learned directives are injected as a short system-prompt section you can read, edit, toggle or delete; a new one goes on trial (one per scope at a time) and is retired if you start correcting the agent more often | free |
|
|
54
54
|
| **✨ Improve** | a composer button that rewrites your current draft using what Tacit has learned, with a before/after preview and 👍/👎 | $0.001–0.002 per click |
|
|
55
|
-
| **Measured, not guessed** | Settings shows your real trend — messy-turn rate and tokens per turn, first 20 turns vs. latest 20 | free |
|
|
55
|
+
| **Measured, not guessed** | Settings shows your real trend — how often you correct the agent, messy-turn rate and tokens per turn, first 20 turns vs. latest 20 — and Tacit's own spend: every call metered and priced at list price, shown in Settings | free |
|
|
56
56
|
|
|
57
57
|
<p align="center">
|
|
58
|
-
<img alt="Tacit
|
|
58
|
+
<img alt="Settings → Tacit: the Overview card with automatic learning status and the Usage card with spend tiles, a daily spend chart, spend by operation and the run list" src="https://raw.githubusercontent.com/hackernotfound/dsh-tacit/main/docs/assets/tacit-settings.png" width="960">
|
|
59
59
|
</p>
|
|
60
|
-
<p align="center"><sub>Settings → Tacit, captured from a clean local profile with
|
|
60
|
+
<p align="center"><sub>Settings → Tacit with Overview and Usage expanded, captured from a clean local profile seeded with synthetic runs and directives.</sub></p>
|
|
61
61
|
|
|
62
62
|
## How it works
|
|
63
63
|
|
|
@@ -80,7 +80,7 @@ Tacit never sees your API key (every call goes through the harness's own model
|
|
|
80
80
|
service), only calls the allowlisted official models over your session's own
|
|
81
81
|
provider route, keeps reports and directives in `~/.dsh/storages/tacit/`, refuses
|
|
82
82
|
cross-site requests to its own routes, and never deletes anything but its own
|
|
83
|
-
reports. Dollar figures are estimates at list price; a cost plugin such as
|
|
83
|
+
reports and expired usage files. Dollar figures are estimates at list price; a cost plugin such as
|
|
84
84
|
`dsh-cost-meter` shows the real number. The full data-flow and cost tables, and
|
|
85
85
|
the honest list of limitations:
|
|
86
86
|
[Privacy, cost & limitations](https://github.com/hackernotfound/dsh-tacit/blob/main/docs/privacy-and-cost.md).
|