@sunstack/cli 0.3.0 → 0.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.0
4
+
5
+ Release date: 2026-10-30.
6
+
7
+ ### Breaking
8
+
9
+ - Set `within` to a nonempty list of distinct kinds, for example
10
+ `["step", "standards_section"]`. A match counts once inside any listed kind,
11
+ including overlapping containers. Rewrite `"within": "x"` as `"within": ["x"]`.
12
+ A present `null` or any non-list is refused; omit the key for no containment.
13
+
14
+ ### Fixed
15
+
16
+ - Check refusals for undefined kinds, cycles and `within` entries point at the
17
+ actual kind or field, including names with dots. Cycle refusals name and point
18
+ at the first kind in the cycle.
19
+ - Config refusals use the full setting path: `limits.evidence_max_chars`,
20
+ `check.files`, `evidence.kinds`, `evidence.ast_grep`,
21
+ `rulebook.<index>.markdown` and `rulebook.<index>.rules`.
22
+
23
+ ### Internal
24
+
25
+ - Separate child startup waits from active test deadlines (#113).
26
+ - Group Rust crate modules by responsibility (#110).
27
+ - Batch repository metadata reads (#112).
28
+ - Run CI on PRs and main, with cache writes only from main (#109, #111).
29
+
3
30
  ## 0.3.0
4
31
 
5
32
  Release date: 2026-10-30.
package/README.md CHANGED
@@ -89,7 +89,9 @@ skill-specific rules are test content.
89
89
 
90
90
  Add `select` to an evidence kind to ask one noul question about each mechanical
91
91
  candidate. Add `within` to keep a kind's matches only inside or equal to a final
92
- piece of another kind in the same file. This fragment belongs in `evidence.kinds`;
92
+ piece of any listed kind in the same file. `within` is a nonempty list without
93
+ repeated kinds, written as `["workflow_section"]` for one kind. A match inside
94
+ several listed kinds produces one piece. This fragment belongs in `evidence.kinds`;
93
95
  the rule IDs must exist in the caller's ast-grep project:
94
96
 
95
97
  ```json
@@ -118,7 +120,7 @@ the rule IDs must exist in the caller's ast-grep project:
118
120
  },
119
121
  "step": {
120
122
  "rule": "step",
121
- "within": "workflow_section",
123
+ "within": ["workflow_section"],
122
124
  "fields": { "body": { "from": "remainder" } }
123
125
  },
124
126
  "load": {
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@sunstack/cli",
22
- "version": "0.3.0"
22
+ "version": "0.4.0"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.3.0"
51
+ "version": "0.4.0"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/ShravanSunder/sunstack-tools/releases/download/v0.3.0"
3
+ "https://github.com/ShravanSunder/sunstack-tools/releases/download/v0.4.0"
4
4
  ],
5
5
  "bin": {
6
6
  "sunstack": "run-sunstack.js"
@@ -88,7 +88,7 @@
88
88
  "zipExt": ".tar.gz"
89
89
  }
90
90
  },
91
- "version": "0.3.0",
91
+ "version": "0.4.0",
92
92
  "volta": {
93
93
  "node": "18.14.1",
94
94
  "npm": "9.5.0"