@brainervirus/workit-cli 0.8.3 → 0.8.5

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -47717,7 +47717,8 @@ class HostReceiptStore {
47717
47717
  return { ok: true, receipt };
47718
47718
  }
47719
47719
  }
47720
- var sameChoiceLabel = (a, b) => a.toLowerCase() === b.toLowerCase();
47720
+ var sameChoiceLabel = (a, b) => normalizeLabel(a) === normalizeLabel(b);
47721
+ var normalizeLabel = (s) => s.replace(/\s*\([^)]*\)/g, " ").replace(/\s*\bfirst\b\s*$/i, " ").replace(/[^a-z0-9]+/gi, " ").trim().toLowerCase();
47721
47722
  var CURSOR_KEYS = ["attested", "confirmation", "host"];
47722
47723
  var assertEvidenceShape = (input) => {
47723
47724
  if (typeof input !== "object" || input === null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cli",
3
- "version": "0.8.3",
3
+ "version": "0.8.5",
4
4
  "private": false,
5
5
  "description": "Workit interactive setup wizard (Ink TUI)",
6
6
  "keywords": [
@@ -34,9 +34,9 @@
34
34
  "typecheck": "tsc --noEmit"
35
35
  },
36
36
  "dependencies": {
37
- "@brainervirus/workit-core": "^0.8.3",
38
- "@brainervirus/workit-cursor": "^0.8.3",
39
- "@brainervirus/workit-opencode": "^0.8.3",
37
+ "@brainervirus/workit-core": "^0.8.5",
38
+ "@brainervirus/workit-cursor": "^0.8.5",
39
+ "@brainervirus/workit-opencode": "^0.8.5",
40
40
  "@inkjs/ui": "2.0.0",
41
41
  "ink": "7.1.1",
42
42
  "react": "19.2.8"