jig-ui 0.20.0 → 0.20.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.20.1 (2026-09-27)
4
+
5
+ `jig gate` run by hand no longer tells an agent that a passing tweak failed.
6
+
7
+ ### Fixed
8
+
9
+ - **`jig gate` run by hand says what it cannot see.** With no session
10
+ transcript it cannot tell which command ran, so a tweak's re-judged verdicts
11
+ read as a builder's edits. On jig-site an agent ran it three times mid-tweak,
12
+ was told its attempts were spent, and reported a tweak the Stop hook passed
13
+ as failing. A hand run now says so, blocks nothing and counts no attempt.
14
+
3
15
  ## 0.20.0 (2026-09-27)
4
16
 
5
17
  Critiques count owner rulings apart and say what the last round fixed; the gate
package/dist/index.js CHANGED
@@ -7441,6 +7441,15 @@ function gate(opts) {
7441
7441
  }
7442
7442
  }
7443
7443
  }
7444
+ if (!opts.input.transcript_path && !opts.input.session_id) {
7445
+ if (problems.length === 0) return { block: false, reason: "" };
7446
+ return {
7447
+ block: false,
7448
+ reason: `jig gate, run by hand: with no session transcript it cannot tell which /jig command this session ran, so it judges the files as if none did. A tweak's re-judged verdicts read here as edits; the Stop hook, which sees the command, is what decides. No attempt was counted.
7449
+
7450
+ ${problems.join("\n\n")}`
7451
+ };
7452
+ }
7444
7453
  const session = opts.input.session_id ?? "unknown";
7445
7454
  const key = `${session}:${createHash2("sha256").update(problems.join("\n")).digest("hex").slice(0, 12)}`;
7446
7455
  const stateFile = join39(root, ".jig", "gate.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jig-ui",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "A design system for coding agents. 143 numbered UI rules, brand x mode design tokens, and an installer for Claude Code, Codex, Cursor and opencode.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",