taskchef 8.0.0 → 8.1.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,6 +1,6 @@
1
1
  {
2
2
  "name": "taskchef",
3
- "version": "8.0.0",
3
+ "version": "8.1.1",
4
4
  "description": "Dispatch work from a data-only workspace to visible Codex project tasks.",
5
5
  "author": {
6
6
  "name": "Favo Yang",
package/README.md CHANGED
@@ -368,8 +368,8 @@ figures are labeled API-equivalent estimates; provenance identifies the online
368
368
  pricing request or offline fallback mode, and zero-priced unknown models show
369
369
  cost unavailable rather than a misleading `$0.00`. Per-turn cost is also
370
370
  unavailable when its cumulative boundaries used different ccusage versions or
371
- pricing modes. ccusage 20.0.20 may omit GPT-5.6 cache-write charges, so TaskChef
372
- labels that analyzer limitation instead of presenting the estimate as complete.
371
+ pricing modes. TaskChef displays the cumulative estimate supplied by ccusage
372
+ without applying a separate model-family or cache-write coverage policy.
373
373
  The same detail view reports lifecycle wall-clock elapsed time independently of
374
374
  ccusage. Each terminal turn shows **Elapsed** from `startedAt` to
375
375
  `result.updatedAt`; **Total reported work** sums only valid terminal-turn
package/docs/spec.md CHANGED
@@ -172,10 +172,12 @@ store a cumulative usage boundary, and MUST NOT receive a token or cost delta.
172
172
  A later executor turn MUST use the nearest preceding reliable executor
173
173
  boundary, skipping any intervening dashboard-manual turns.
174
174
 
175
- The mode-0600 `.taskchef-usage.json` cache stores only normalized cumulative
175
+ The mode-0600 `.taskchef-usage.json` schema 2 cache stores only normalized cumulative
176
176
  token boundaries, per-turn deltas, model names, estimated cost, source version,
177
177
  and freshness. It is independent of task-log schema versions so legacy logs remain
178
- readable. Writes MUST use the workspace lock and atomic replacement. Symlinked
178
+ readable. Schema 1 usage caches MUST migrate in memory by discarding their
179
+ TaskChef-specific cost-coverage classification while preserving valid ccusage
180
+ cumulative estimates. Writes MUST use the workspace lock and atomic replacement. Symlinked
179
181
  or unsupported cache files MUST be rejected. Writes MUST compact the derived
180
182
  cache to recent task projections, recent per-turn results, and the latest
181
183
  cumulative boundary. An oversized legacy cache MUST be treated as rebuildable
@@ -214,10 +216,11 @@ The online mode records TaskChef's request, not a claim about ccusage's internal
214
216
  cache. Dollar values MUST be labeled API-equivalent estimates. Positive token
215
217
  usage with a zero or missing analyzer cost MUST display cost unavailable, not
216
218
  `$0.00`. A per-turn dollar delta MUST be unavailable when its adjacent
217
- cumulative boundaries use different analyzer versions, requested pricing modes,
218
- or declared cost coverage. For GPT-5.6 with ccusage 20.0.20, provenance MUST
219
- disclose unverified cache-write coverage and TaskChef MUST NOT claim that the
220
- estimate includes those charges.
219
+ cumulative boundaries use different analyzer versions or requested pricing
220
+ modes. When ccusage supplies a valid cumulative estimate, TaskChef MUST display
221
+ it without applying its own model-family or cache-write coverage policy. A model
222
+ family change between otherwise compatible boundaries MUST NOT prevent TaskChef
223
+ from deriving the per-turn estimate.
221
224
  The dashboard Settings response MUST report the provider version returned by
222
225
  the executable resolved for runtime use, not merely copy the dependency pin.
223
226
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskchef",
3
- "version": "8.0.0",
3
+ "version": "8.1.1",
4
4
  "description": "A non-blocking interactive dispatcher for visible Codex tasks.",
5
5
  "license": "MIT",
6
6
  "author": "Favo Yang",
@@ -482,9 +482,6 @@ export function usagePresentation(usage, { wholeTask = false } = {}) {
482
482
  : "";
483
483
  const freshness = usage.sourceUpdatedAt ?? usage.sampledAt;
484
484
  provenance.textContent = `Source: ccusage${version}${pricingMode}${freshness ? ` · updated ${formatRelativeTime(freshness)}` : ""}. Dollar cost is an API-equivalent estimate${wholeTask ? " for the task" : " for this turn"}.`;
485
- if (usage.provenance?.costCoverage === "cache_writes_unverified") {
486
- provenance.textContent += " ccusage may omit GPT-5.6 cache-write charges.";
487
- }
488
485
  container.append(provenance);
489
486
  return container;
490
487
  }