eminiar 0.9.1 → 0.10.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eminiar",
3
3
  "displayName": "Eminiar",
4
- "version": "0.9.1",
4
+ "version": "0.10.1",
5
5
  "description": "Local-first context, memory and knowledge graph for Claude Code: sandboxed execution, FTS5 + vector search, session continuity, code graph.",
6
6
  "author": {
7
7
  "name": "Ryan Dick"
package/README.md CHANGED
@@ -39,7 +39,7 @@ Claude Code is very capable, but three things slow it down on a real project:
39
39
 
40
40
  ## The solution
41
41
 
42
- eminiar is a Claude Code plugin. It adds an MCP server with 22 `em_*` tools and a set of hooks.
42
+ eminiar is a Claude Code plugin. It adds an MCP server with 23 `em_*` tools and a set of hooks.
43
43
  Everything runs locally in one SQLite database per project.
44
44
 
45
45
  | | Without eminiar | With eminiar |
@@ -95,10 +95,20 @@ a bug-prone file, it sees the record.
95
95
  and third-party APIs your code calls. It indexes their documentation locally. OpenAPI specs are
96
96
  split into one section per endpoint, so a lookup returns the exact operation.
97
97
 
98
+ ### 💸 Usage insights — what each session really costs
99
+
100
+ `em_usage` reads the transcripts Claude Code keeps on your machine and records tokens, cache
101
+ traffic and estimated cost per model call: cost today and this week, cache hit rate, per-model
102
+ and per-session breakdowns, 5-hour billing blocks with burn rate, the context timeline of a
103
+ session with its compactions, which tools fill the context, insights with recommendations, and
104
+ what eminiar's own tools saved in dollars. Everything stays local; cost is an estimate at list
105
+ price ([details](docs/usage.md)).
106
+
98
107
  ### 📊 Local dashboard
99
108
 
100
- `eminiar ui` opens a local web app with token savings, a source explorer with impact analysis, a
101
- graph "galaxy", an architecture map, a history explorer, a memory editor and a docs manager.
109
+ `eminiar ui` opens a local web app with token savings, usage and cost, a source explorer with
110
+ impact analysis, a graph "galaxy", an architecture map, a history explorer, a memory editor and
111
+ a docs manager.
102
112
 
103
113
  | | |
104
114
  |:---:|:---:|
@@ -154,7 +164,7 @@ flowchart LR
154
164
  CC["Claude Code"]
155
165
  subgraph eminiar ["eminiar (local)"]
156
166
  H["Hooks<br/>recall · routing · capture"]
157
- S["MCP server<br/>22 em_* tools"]
167
+ S["MCP server<br/>23 em_* tools"]
158
168
  SB["Sandbox<br/>shell · JS · TS · Python …"]
159
169
  DB[("SQLite per project<br/>FTS5 · vectors · graph")]
160
170
  M["Memory files<br/>.eminiar/memories/*.md"]
@@ -187,6 +197,7 @@ Read more in [How it works](docs/how-it-works.md).
187
197
  | [Memory and recall](docs/memory-and-recall.md) | Memory files, decisions, automatic recall |
188
198
  | [Knowledge graph and history](docs/knowledge-graph.md) | Graph, symbols, impact analysis, git history |
189
199
  | [Documentation knowledge base](docs/documentation-kb.md) | Discover, index and look up docs |
200
+ | [Usage insights](docs/usage.md) | Tokens, cache, cost, billing blocks, insights and savings per session |
190
201
  | [Dashboard](docs/dashboard.md) | The `eminiar ui` web app |
191
202
  | [Configuration](docs/configuration.md) | Every config key with its default |
192
203
  | [CLI](docs/cli.md) | The `eminiar` command |