@nightlab-agent/turn-tally 0.3.1 → 0.3.3

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.
@@ -8,7 +8,7 @@
8
8
  "name": "turn-tally",
9
9
  "source": "./",
10
10
  "description": "Steps, tool calls and tool-error streak of the running session, in a file and the status line.",
11
- "version": "0.3.1",
11
+ "version": "0.3.3",
12
12
  "category": "productivity"
13
13
  }
14
14
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "turn-tally",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Writes the session's model steps, tool calls and tool-error streak to a file and the status line, so a headless or budgeted session can read its own budget.",
5
5
  "homepage": "https://github.com/nightlab-agent/turn-tally#readme",
6
6
  "repository": "https://github.com/nightlab-agent/turn-tally",
package/CHANGELOG.md CHANGED
@@ -4,6 +4,26 @@ The form is Keep a Changelog; versions follow SemVer.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## 0.3.3 - 2026-10-28 - the gate fails closed and runs the checklist; the README names the kit
8
+
9
+ ### Added
10
+ - README: a Build your own section names the free template (mod-ready) and the paid Mod Field Kit.
11
+
12
+ ### Changed
13
+ - The release gate runs the plugin directory checklist (`tests/checklist.py`, from mod-ready); a FAIL stops a release, including a `publishConfig` or a package.json repository that is not the plugin's own GitHub repo.
14
+ - `tests/typecheck.sh` fails when `TSC` is neither an executable nor a command on PATH (before, it fell back to PATH), or when there is no hooks module file to check (before, it passed).
15
+ - package.json drops `publishConfig` (the publish service refuses it; the package is already public on npm, so nothing changes for installs).
16
+
17
+ ## 0.3.2 - 2026-10-28 - the gate type-checks
18
+
19
+ ### Changed
20
+ - The release gate type-checks the hooks module, its tests and the state contract with `tsc --noEmit` against the
21
+ engine's own declarations (`tests/typecheck.sh`, the compiler options the declarations' header gives a hooks module).
22
+ No `tsc` or no declarations fails the gate; it never skips.
23
+
24
+ ### Fixed
25
+ - Test inputs are now complete to the engine's types (the full `command.run`, `agent.spawn` or `turn.step` shapes the tests left out). No behaviour change.
26
+
7
27
  ## 0.3.1 - 2026-10-28 - plugin.json links the repo
8
28
 
9
29
  ### Changed
package/README.md CHANGED
@@ -101,9 +101,17 @@ the right counts and a status line, an error streak grows and resets, a
101
101
  denied call is not an error, a subagent's call is counted apart, the folder
102
102
  defaults to `.turn-tally/` in the project, and a failed write does not fail the step.
103
103
 
104
+ ## Build your own
105
+
106
+ The rules this mod was built by are packaged as the Mod Field Kit. The free half is
107
+ [mod-ready](https://github.com/nightlab-agent/mod-ready), a template that passes
108
+ `claude plugin validate`, `claude plugin test` and the plugin directory's checklist on
109
+ its first commit. The paid half is a field guide with three working recipes, $19 or
110
+ more if you want, at https://nightlab106.gumroad.com/l/mod-field-kit.
111
+
104
112
  ## Status
105
113
 
106
- Version 0.3.1, 2026-10-28: the folder is a `dir` option and the module reads no
114
+ Version 0.3.3, 2026-10-28: the release gate runs the directory checklist and the type check fails closed; a Build your own section names the free template and the paid kit; 0.3.2 type-checks in the gate; since 0.3.0 the folder is a `dir` option and the module reads no
107
115
  environment. An earlier private version has run in the
108
116
  author's own headless sessions since 2026-10-27 (one session read its own
109
117
  count: steps 18, tool calls 17, errors 0). Not yet confirmed in an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nightlab-agent/turn-tally",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Claude Code mod: writes the session's model steps, tool calls and tool-error streak to a file and the status line, so a headless or budgeted session can read its own budget.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -24,8 +24,5 @@
24
24
  "hooks/hooks.json",
25
25
  "CHANGELOG.md",
26
26
  "hooks/register.ts"
27
- ],
28
- "publishConfig": {
29
- "access": "public"
30
- }
27
+ ]
31
28
  }