@hasna/economy 0.5.10 → 0.5.11
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 +6 -0
- package/README.md +22 -0
- package/dist/chunks/{index-w4r6xs02.js → index-akxt4n8x.js} +1 -1
- package/dist/chunks/{index-4v5r3c22.js → index-b36bq51x.js} +1 -1
- package/dist/chunks/{index-t777mc83.js → index-mgnzgf1m.js} +1 -1
- package/dist/chunks/{index-twn8ncdp.js → index-v35tm3xg.js} +1 -1
- package/dist/chunks/index-yv28hyk7.js +1064 -0
- package/dist/chunks/{serve-bqn5j46v.js → serve-kk3n0p7j.js} +2 -2
- package/dist/chunks/{tui-5s5w6yjd.js → tui-hxjczmv5.js} +3 -3
- package/dist/chunks/watch-ewed2srf.js +307 -0
- package/dist/cli/commands/watch.d.ts +2 -0
- package/dist/cli/commands/watch.d.ts.map +1 -1
- package/dist/cli/index.js +37 -1071
- package/dist/index.js +1 -1
- package/dist/lib/watch-collector.d.ts +11 -0
- package/dist/lib/watch-collector.d.ts.map +1 -0
- package/dist/lib/watch-paths.d.ts +2 -1
- package/dist/lib/watch-paths.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/otel/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/service-worker.js +1 -1
- package/docs/cli.md +1 -1
- package/package.json +1 -1
- package/dist/chunks/watch-7pf8xj1q.js +0 -196
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Make explicit daemon watch mode collect through the hosted service with serialized, rate-limited syncs, selected-agent paths and periodic fallback. Keep ordinary hosted watch read-only and allow desktop notifications to be disabled.
|
|
8
|
+
|
|
3
9
|
## 0.5.10
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -44,6 +44,28 @@ economy serve --port 3456
|
|
|
44
44
|
|
|
45
45
|
## CLI Output Defaults
|
|
46
46
|
|
|
47
|
+
### Continuous collection
|
|
48
|
+
|
|
49
|
+
`economy watch` reads stored reports from the configured hosted service. Add
|
|
50
|
+
`--daemon` to collect local provider usage through the same durable ingestion
|
|
51
|
+
and recovery path as `economy sync`:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
economy watch --daemon --agent codex --sync-interval 60 --no-notifications
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Collection runs once at startup, coalesces file changes, and scans periodically
|
|
58
|
+
when a filesystem notification is unavailable. Only one collection runs at a
|
|
59
|
+
time; `--sync-interval` sets its minimum start interval and periodic fallback.
|
|
60
|
+
`--interval` controls report refresh separately. Selected native profile paths
|
|
61
|
+
and explicit Economy source overrides retain their normal precedence. Configure
|
|
62
|
+
the supported ingestion recovery backend before unattended collection; a failed
|
|
63
|
+
or interrupted receipt is reconciled before more data is sent.
|
|
64
|
+
|
|
65
|
+
This is a foreground process. It does not install a login service or make another
|
|
66
|
+
station collect data. Ctrl+C or SIGTERM closes its watchers and waits for the
|
|
67
|
+
current collection to finish. `--no-notifications` disables desktop notices.
|
|
68
|
+
|
|
47
69
|
Economy CLI commands are compact by default so agent terminals do not fill their context with full records. High-cardinality list and status commands show essential columns, cap row counts, and print a hint when more rows are available.
|
|
48
70
|
|
|
49
71
|
Use explicit detail paths when you need more:
|
|
@@ -86,7 +86,7 @@ function comparisonValueChange(left, right) {
|
|
|
86
86
|
// package.json
|
|
87
87
|
var package_default = {
|
|
88
88
|
name: "@hasna/economy",
|
|
89
|
-
version: "0.5.
|
|
89
|
+
version: "0.5.11",
|
|
90
90
|
description: "AI coding cost tracker \u2014 CLI + MCP server + REST API for Claude Code, Codex, OpenCode, Cursor, Pi, and Hermes, with legacy Gemini CLI session and Gemini API billing ingestion",
|
|
91
91
|
repository: {
|
|
92
92
|
type: "git",
|