kankaku 1.2.0 → 1.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kankaku",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Terminal app that shows today's kankaku work across every project on disk",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "ink": "^7.1.1",
41
- "kankaku-pi": "^1.2.0",
42
- "kankaku-claude": "^1.2.0",
41
+ "kankaku-pi": "^1.3.0",
42
+ "kankaku-claude": "^1.3.0",
43
43
  "kankaku-hub": "^0.2.0",
44
44
  "react": "^19.3.0"
45
45
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kankaku-pi",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "pi extension that records agent work time per prompt, excluding waits for the user, with subagent linkage and task/session views",
5
5
  "license": "MIT",
6
6
  "author": "soyunninja",
@@ -218,6 +218,15 @@ export interface WorkRecordMetadata {
218
218
  plugin?: string;
219
219
  /** This integration's own version, from its `package.json`, read once. */
220
220
  pluginVersion?: string;
221
+ /**
222
+ * `true` when `usage.cost` is this record's proportional share of a session
223
+ * total rather than a measured difference (a headless Claude Code session
224
+ * that ran several prompts reports one cost for all of them). Local
225
+ * bookkeeping only: never sent to the hub and never part of the content
226
+ * hash. Optional and additive: `WORK_RECORD_SCHEMA` is unchanged, an older
227
+ * record without it validates, and readers that do not know it ignore it.
228
+ */
229
+ costAllocated?: true;
221
230
  }
222
231
 
223
232
  export type WorkRecord = WorkRecordCore & WorkRecordMetadata;