tokentrace 0.12.0 → 0.12.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/CHANGELOG.md +11 -4
- package/README.md +7 -8
- package/TOKENTRACE_AGENT.md +2 -2
- package/bin/tokentrace.js +1 -1
- package/dist/runtime/agent.mjs +3 -3
- package/dist/runtime/roadmap.mjs +6 -56
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/scripts/roadmap.ts +1 -1
- package/src/lib/agent-discovery.ts +3 -3
- package/src/lib/roadmap-status.ts +5 -69
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,18 @@ All notable changes to TokenTrace are documented here.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
+
## [0.12.1] - 2026-05-19
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Public docs, CLI help, package runtime output, and agent-readable release status now describe shipped TokenTrace behavior only.
|
|
12
|
+
- Future-version roadmap labels no longer appear in public package surfaces.
|
|
13
|
+
|
|
7
14
|
## [0.12.0] - 2026-05-19
|
|
8
15
|
|
|
9
16
|
### Added
|
|
10
17
|
|
|
11
|
-
-
|
|
18
|
+
- Local Sources & Trust release bundle covering native local ingestion, evidence packs, scan scheduling, scoped guardrails, import-profile preview, saved reports, operating metadata export, and agent-readable release status.
|
|
12
19
|
- Native structured usage log ingestion for local wrappers and team JSONL/NDJSON logs with session, model, token, and source-cost fields.
|
|
13
20
|
- Native Cursor-style chat/composer export ingestion with local source evidence and no raw prompt storage by default.
|
|
14
21
|
- Source Catalog and Source Coverage in Scan Health so users can distinguish native, profile-assisted, fallback, and unsupported local files.
|
|
@@ -18,7 +25,7 @@ All notable changes to TokenTrace are documented here.
|
|
|
18
25
|
- Import Profile preview for sampling a local file, checking parser fit, reviewing detected fields, and applying recommended matchers without exposing raw content.
|
|
19
26
|
- Saved report definitions and export endpoints for weekly usage, high-cost sessions, unknown-cost repair, confidence trends, guardrail status, and source coverage in Markdown, JSON, and CSV.
|
|
20
27
|
- Operating metadata export for settings, source catalog, schedules, guardrails, report definitions, and roadmap status without raw usage records.
|
|
21
|
-
- Agent-readable
|
|
28
|
+
- Agent-readable release status with implemented cards, action recipes, evidence paths, verification gates, and release status.
|
|
22
29
|
|
|
23
30
|
### Changed
|
|
24
31
|
|
|
@@ -37,7 +44,7 @@ All notable changes to TokenTrace are documented here.
|
|
|
37
44
|
- Chart cards now show lightweight loading placeholders during client hydration instead of appearing blank while Recharts initializes.
|
|
38
45
|
- Session Explorer now paginates large local result sets to keep dense session tables responsive.
|
|
39
46
|
- Repair now opens as a capped workbench of the top visible unknown-cost groups, while keeping full summary counts and focused repair links for deep review.
|
|
40
|
-
- Roadmap CLI/API now report the 0.12.0
|
|
47
|
+
- Roadmap CLI/API now report the 0.12.0 release contract, implemented cards, action recipes, evidence paths, verification gates, and release status.
|
|
41
48
|
|
|
42
49
|
### Fixed
|
|
43
50
|
|
|
@@ -295,7 +302,7 @@ All notable changes to TokenTrace are documented here.
|
|
|
295
302
|
### Added
|
|
296
303
|
|
|
297
304
|
- Visible running TokenTrace version in the desktop sidebar, mobile header, and Settings.
|
|
298
|
-
- 0.4.0 roadmap and release checklist
|
|
305
|
+
- 0.4.0 roadmap and release checklist for maintainer-approved public releases.
|
|
299
306
|
- `tokentrace doctor --json` plus a shared Doctor report model for scan health and repair recommendations.
|
|
300
307
|
- Bundled parser provenance metadata on imported scan files, including parser id, display name, source, and version.
|
|
301
308
|
- Unknown-cost repair queue on Overview, grouped by cause, model, tool, source file, and repair path.
|
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ tokentrace agent --json # Print machine-readable agent discovery manifest
|
|
|
40
40
|
tokentrace capabilities --json
|
|
41
41
|
# Alias for agent discovery manifest
|
|
42
42
|
tokentrace roadmap --json
|
|
43
|
-
# Print
|
|
43
|
+
# Print release status handoff
|
|
44
44
|
tokentrace scan # Scan local AI CLI usage logs
|
|
45
45
|
tokentrace doctor --json
|
|
46
46
|
# Inspect scan health and repair recommendations
|
|
@@ -159,10 +159,9 @@ tokentrace roadmap --json
|
|
|
159
159
|
|
|
160
160
|
## Local Sources And Trust
|
|
161
161
|
|
|
162
|
-
TokenTrace 0.12.0
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
roadmap handoff.
|
|
162
|
+
TokenTrace 0.12.0 bundles local source expansion, evidence exports, scan
|
|
163
|
+
scheduling, scoped guardrails, parser profile preview, saved reports, and
|
|
164
|
+
agent-readable release status.
|
|
166
165
|
|
|
167
166
|
New trust surfaces include:
|
|
168
167
|
|
|
@@ -196,9 +195,9 @@ The dashboard surfaces a Data Confidence score on Overview, Projects, Sessions,
|
|
|
196
195
|
and Session Timeline pages. Scan Health also includes a supply-chain IOC check
|
|
197
196
|
so package trust is visible in the product, not only in release scripts.
|
|
198
197
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
Public releases require maintainer approval. See
|
|
199
|
+
[docs/RELEASE_CHECKLIST.md](docs/RELEASE_CHECKLIST.md) before bumping versions,
|
|
200
|
+
tagging, creating GitHub releases, or publishing npm.
|
|
202
201
|
|
|
203
202
|
In local development, the SQLite database defaults to `.tokentrace/tokentrace.db`. Override it with:
|
|
204
203
|
|
package/TOKENTRACE_AGENT.md
CHANGED
|
@@ -26,9 +26,9 @@ curl http://127.0.0.1:3030/api/agent
|
|
|
26
26
|
curl http://127.0.0.1:3030/api/capabilities
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
##
|
|
29
|
+
## Release Status
|
|
30
30
|
|
|
31
|
-
Inspect the current
|
|
31
|
+
Inspect the current release handoff, action recipes, and release status:
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
tokentrace roadmap --json
|
package/bin/tokentrace.js
CHANGED
|
@@ -30,7 +30,7 @@ Usage:
|
|
|
30
30
|
tokentrace capabilities --json
|
|
31
31
|
Alias for agent discovery manifest
|
|
32
32
|
tokentrace roadmap --json
|
|
33
|
-
Print
|
|
33
|
+
Print release status handoff
|
|
34
34
|
tokentrace scan Scan local AI CLI usage logs
|
|
35
35
|
tokentrace doctor --json
|
|
36
36
|
Inspect scan health and repair recommendations
|
package/dist/runtime/agent.mjs
CHANGED
|
@@ -112,15 +112,15 @@ var commands = [
|
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
id: "roadmap",
|
|
115
|
-
title: "Print
|
|
115
|
+
title: "Print release status handoff",
|
|
116
116
|
command: ["tokentrace", "roadmap", "--json"],
|
|
117
|
-
description: "Return current release,
|
|
117
|
+
description: "Return current release status, implemented cards, action recipes, evidence paths, and verification gates.",
|
|
118
118
|
output: "json",
|
|
119
119
|
mutatesLocalState: false,
|
|
120
120
|
startsLongRunningProcess: false,
|
|
121
121
|
requiresNetwork: false,
|
|
122
122
|
safeForAutomation: true,
|
|
123
|
-
useWhen: "The agent needs to explain
|
|
123
|
+
useWhen: "The agent needs to explain shipped implementation status, action recipes, and verification status.",
|
|
124
124
|
followUps: [
|
|
125
125
|
["tokentrace", "agent", "--json"]
|
|
126
126
|
]
|
package/dist/runtime/roadmap.mjs
CHANGED
|
@@ -18,50 +18,6 @@ function isAtLeastVersion(version, target) {
|
|
|
18
18
|
}
|
|
19
19
|
return true;
|
|
20
20
|
}
|
|
21
|
-
var rolledUpReleases = [
|
|
22
|
-
{
|
|
23
|
-
version: "0.12.0",
|
|
24
|
-
title: "Local Sources",
|
|
25
|
-
thesis: "Make local source support explicit through native adapters, source catalog, and coverage metadata.",
|
|
26
|
-
includedIn: "0.12.0"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
version: "0.13.0",
|
|
30
|
-
title: "Evidence Portability",
|
|
31
|
-
thesis: "Make evidence exportable without leaking raw prompt or message content.",
|
|
32
|
-
includedIn: "0.12.0"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
version: "0.14.0",
|
|
36
|
-
title: "Local Operations",
|
|
37
|
-
thesis: "Add local scan scheduling, scan result status, and operating metadata.",
|
|
38
|
-
includedIn: "0.12.0"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
version: "0.15.0",
|
|
42
|
-
title: "Governance & Guardrails",
|
|
43
|
-
thesis: "Add scoped guardrails, thresholds, movement, and anomaly surfaces.",
|
|
44
|
-
includedIn: "0.12.0"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
version: "0.16.0",
|
|
48
|
-
title: "Parser Studio",
|
|
49
|
-
thesis: "Let users preview local files and build import profiles without parser code.",
|
|
50
|
-
includedIn: "0.12.0"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
version: "0.17.0",
|
|
54
|
-
title: "Reports",
|
|
55
|
-
thesis: "Turn local usage into reusable Markdown, JSON, and CSV operating artifacts.",
|
|
56
|
-
includedIn: "0.12.0"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
version: "0.18.0",
|
|
60
|
-
title: "Agent Handoff",
|
|
61
|
-
thesis: "Expose roadmap, actions, evidence paths, and release gates in stable machine-readable JSON.",
|
|
62
|
-
includedIn: "0.12.0"
|
|
63
|
-
}
|
|
64
|
-
];
|
|
65
21
|
var cards = [
|
|
66
22
|
{
|
|
67
23
|
id: "TT-120-01",
|
|
@@ -186,13 +142,13 @@ var cards = [
|
|
|
186
142
|
},
|
|
187
143
|
{
|
|
188
144
|
id: "TT-120-10",
|
|
189
|
-
title: "Agent-Readable
|
|
190
|
-
outcome: "Roadmap JSON
|
|
145
|
+
title: "Agent-Readable Release Status",
|
|
146
|
+
outcome: "Roadmap JSON reports shipped release status for agents.",
|
|
191
147
|
status: "implemented",
|
|
192
148
|
details: [
|
|
193
|
-
"Roadmap status includes current release,
|
|
149
|
+
"Roadmap status includes the current release, implemented cards, action recipes, evidence paths, verification gates, and release status.",
|
|
194
150
|
"Action recipes cover scan, evidence export, repair review, reports, Scan Health, and model-rate review.",
|
|
195
|
-
"
|
|
151
|
+
"Unreleased planning details stay out of machine-readable public status."
|
|
196
152
|
],
|
|
197
153
|
evidence: ["src/lib/roadmap-status.ts", "scripts/roadmap.ts", "tests/roadmap-status.test.ts"]
|
|
198
154
|
}
|
|
@@ -247,13 +203,7 @@ function buildRoadmapStatus(options = {}) {
|
|
|
247
203
|
version: "0.12.0",
|
|
248
204
|
codename: "Local Sources & Trust",
|
|
249
205
|
packageVersion: options.packageVersion ?? "unknown",
|
|
250
|
-
thesis: "TokenTrace should import more local sources,
|
|
251
|
-
next: {
|
|
252
|
-
version: "0.19.0",
|
|
253
|
-
title: "Team Operating Layer",
|
|
254
|
-
note: "After the rolled-up 0.12.0 release, the next roadmap can focus on team sharing, policy workflows, and deeper source-specific integrations."
|
|
255
|
-
},
|
|
256
|
-
rolledUpReleases,
|
|
206
|
+
thesis: "TokenTrace should import more local sources, explain evidence, run local scans, enforce scoped guardrails, support parser setup, export reports, and give agents a stable release-status contract.",
|
|
257
207
|
cards,
|
|
258
208
|
handoff: {
|
|
259
209
|
schemaVersion: "tokentrace.roadmap.v2",
|
|
@@ -299,7 +249,7 @@ function usage() {
|
|
|
299
249
|
tokentrace roadmap --json
|
|
300
250
|
|
|
301
251
|
Options:
|
|
302
|
-
--json Print the machine-readable
|
|
252
|
+
--json Print the machine-readable release status handoff
|
|
303
253
|
-h, --help Print roadmap help`;
|
|
304
254
|
}
|
|
305
255
|
function packageVersion() {
|
package/llms.txt
CHANGED
|
@@ -31,7 +31,7 @@ Roadmap status is available through `tokentrace roadmap --json` and
|
|
|
31
31
|
- `tokentrace evidence --json`: trace aggregate numbers back to local sources.
|
|
32
32
|
- `tokentrace repair --json`: inspect unknown-cost repair work.
|
|
33
33
|
- `tokentrace digest --json`: summarize local usage.
|
|
34
|
-
- `tokentrace roadmap --json`: inspect the
|
|
34
|
+
- `tokentrace roadmap --json`: inspect the current release handoff, action recipes, evidence paths, and release status.
|
|
35
35
|
- `tokentrace statusline setup claude`: print Claude Code status-line setup.
|
|
36
36
|
- `tokentrace watch --session --compact`: terminal sidecar fallback for Codex.
|
|
37
37
|
|
package/package.json
CHANGED
package/scripts/roadmap.ts
CHANGED
|
@@ -180,15 +180,15 @@ const commands: AgentDiscoveryCommand[] = [
|
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
id: "roadmap",
|
|
183
|
-
title: "Print
|
|
183
|
+
title: "Print release status handoff",
|
|
184
184
|
command: ["tokentrace", "roadmap", "--json"],
|
|
185
|
-
description: "Return current release,
|
|
185
|
+
description: "Return current release status, implemented cards, action recipes, evidence paths, and verification gates.",
|
|
186
186
|
output: "json",
|
|
187
187
|
mutatesLocalState: false,
|
|
188
188
|
startsLongRunningProcess: false,
|
|
189
189
|
requiresNetwork: false,
|
|
190
190
|
safeForAutomation: true,
|
|
191
|
-
useWhen: "The agent needs to explain
|
|
191
|
+
useWhen: "The agent needs to explain shipped implementation status, action recipes, and verification status.",
|
|
192
192
|
followUps: [
|
|
193
193
|
["tokentrace", "agent", "--json"]
|
|
194
194
|
]
|
|
@@ -9,13 +9,6 @@ export type RoadmapCard = {
|
|
|
9
9
|
evidence: string[];
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
export type RolledUpRelease = {
|
|
13
|
-
version: string;
|
|
14
|
-
title: string;
|
|
15
|
-
thesis: string;
|
|
16
|
-
includedIn: "0.12.0";
|
|
17
|
-
};
|
|
18
|
-
|
|
19
12
|
export type RoadmapActionRecipe = {
|
|
20
13
|
id: string;
|
|
21
14
|
title: string;
|
|
@@ -29,12 +22,6 @@ export type RoadmapStatus = {
|
|
|
29
22
|
codename: "Local Sources & Trust";
|
|
30
23
|
packageVersion: string;
|
|
31
24
|
thesis: string;
|
|
32
|
-
next: {
|
|
33
|
-
version: "0.19.0";
|
|
34
|
-
title: "Team Operating Layer";
|
|
35
|
-
note: string;
|
|
36
|
-
};
|
|
37
|
-
rolledUpReleases: RolledUpRelease[];
|
|
38
25
|
cards: RoadmapCard[];
|
|
39
26
|
handoff: {
|
|
40
27
|
schemaVersion: "tokentrace.roadmap.v2";
|
|
@@ -73,51 +60,6 @@ function isAtLeastVersion(version: string | undefined, target: string) {
|
|
|
73
60
|
return true;
|
|
74
61
|
}
|
|
75
62
|
|
|
76
|
-
const rolledUpReleases: RolledUpRelease[] = [
|
|
77
|
-
{
|
|
78
|
-
version: "0.12.0",
|
|
79
|
-
title: "Local Sources",
|
|
80
|
-
thesis: "Make local source support explicit through native adapters, source catalog, and coverage metadata.",
|
|
81
|
-
includedIn: "0.12.0"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
version: "0.13.0",
|
|
85
|
-
title: "Evidence Portability",
|
|
86
|
-
thesis: "Make evidence exportable without leaking raw prompt or message content.",
|
|
87
|
-
includedIn: "0.12.0"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
version: "0.14.0",
|
|
91
|
-
title: "Local Operations",
|
|
92
|
-
thesis: "Add local scan scheduling, scan result status, and operating metadata.",
|
|
93
|
-
includedIn: "0.12.0"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
version: "0.15.0",
|
|
97
|
-
title: "Governance & Guardrails",
|
|
98
|
-
thesis: "Add scoped guardrails, thresholds, movement, and anomaly surfaces.",
|
|
99
|
-
includedIn: "0.12.0"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
version: "0.16.0",
|
|
103
|
-
title: "Parser Studio",
|
|
104
|
-
thesis: "Let users preview local files and build import profiles without parser code.",
|
|
105
|
-
includedIn: "0.12.0"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
version: "0.17.0",
|
|
109
|
-
title: "Reports",
|
|
110
|
-
thesis: "Turn local usage into reusable Markdown, JSON, and CSV operating artifacts.",
|
|
111
|
-
includedIn: "0.12.0"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
version: "0.18.0",
|
|
115
|
-
title: "Agent Handoff",
|
|
116
|
-
thesis: "Expose roadmap, actions, evidence paths, and release gates in stable machine-readable JSON.",
|
|
117
|
-
includedIn: "0.12.0"
|
|
118
|
-
}
|
|
119
|
-
];
|
|
120
|
-
|
|
121
63
|
const cards: RoadmapCard[] = [
|
|
122
64
|
{
|
|
123
65
|
id: "TT-120-01",
|
|
@@ -242,13 +184,13 @@ const cards: RoadmapCard[] = [
|
|
|
242
184
|
},
|
|
243
185
|
{
|
|
244
186
|
id: "TT-120-10",
|
|
245
|
-
title: "Agent-Readable
|
|
246
|
-
outcome: "Roadmap JSON
|
|
187
|
+
title: "Agent-Readable Release Status",
|
|
188
|
+
outcome: "Roadmap JSON reports shipped release status for agents.",
|
|
247
189
|
status: "implemented",
|
|
248
190
|
details: [
|
|
249
|
-
"Roadmap status includes current release,
|
|
191
|
+
"Roadmap status includes the current release, implemented cards, action recipes, evidence paths, verification gates, and release status.",
|
|
250
192
|
"Action recipes cover scan, evidence export, repair review, reports, Scan Health, and model-rate review.",
|
|
251
|
-
"
|
|
193
|
+
"Unreleased planning details stay out of machine-readable public status."
|
|
252
194
|
],
|
|
253
195
|
evidence: ["src/lib/roadmap-status.ts", "scripts/roadmap.ts", "tests/roadmap-status.test.ts"]
|
|
254
196
|
}
|
|
@@ -307,13 +249,7 @@ export function buildRoadmapStatus(options: RoadmapStatusOptions = {}): RoadmapS
|
|
|
307
249
|
codename: "Local Sources & Trust",
|
|
308
250
|
packageVersion: options.packageVersion ?? "unknown",
|
|
309
251
|
thesis:
|
|
310
|
-
"TokenTrace should import more local sources,
|
|
311
|
-
next: {
|
|
312
|
-
version: "0.19.0",
|
|
313
|
-
title: "Team Operating Layer",
|
|
314
|
-
note: "After the rolled-up 0.12.0 release, the next roadmap can focus on team sharing, policy workflows, and deeper source-specific integrations."
|
|
315
|
-
},
|
|
316
|
-
rolledUpReleases,
|
|
252
|
+
"TokenTrace should import more local sources, explain evidence, run local scans, enforce scoped guardrails, support parser setup, export reports, and give agents a stable release-status contract.",
|
|
317
253
|
cards,
|
|
318
254
|
handoff: {
|
|
319
255
|
schemaVersion: "tokentrace.roadmap.v2",
|