tokenoscopy 0.3.0 → 0.3.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.
|
@@ -368,7 +368,9 @@ var DIAG = {
|
|
|
368
368
|
BLOAT_CTX_TOKENS: 2e5,
|
|
369
369
|
BLOAT_MIN_COST: 5,
|
|
370
370
|
CYCLE_MIN: 25,
|
|
371
|
-
REPEAT_MIN: 5
|
|
371
|
+
REPEAT_MIN: 5,
|
|
372
|
+
/** Requests that rebuilt the cache, summed, before it's worth a habit change. */
|
|
373
|
+
REBUILD_MIN_COST: 3
|
|
372
374
|
};
|
|
373
375
|
|
|
374
376
|
// ../shared/src/guard-contract.ts
|
|
@@ -464,6 +466,9 @@ function withRelPath(event, root) {
|
|
|
464
466
|
return { ...event, payload: { ...event.payload, rel_path: rel } };
|
|
465
467
|
}
|
|
466
468
|
|
|
469
|
+
// ../shared/src/anatomy.ts
|
|
470
|
+
var CACHE_TTL_MS = 5 * 6e4;
|
|
471
|
+
|
|
467
472
|
// src/transcript.ts
|
|
468
473
|
var SKIPPED_TYPES = /* @__PURE__ */ new Set([
|
|
469
474
|
"summary",
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tokenoscopy",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Flight recorder & spend control for coding-agent fleets. Records Claude Code sessions (hooks + transcripts), replays them, and enforces budgets.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|