solid2-agent-kit 0.8.0 → 0.8.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.
@@ -1059,7 +1059,11 @@ function doctorFindings(target) {
1059
1059
  for (const guidance of GUIDANCE_FILES) {
1060
1060
  const path = join(target, guidance);
1061
1061
  if (!existsSync(path)) continue;
1062
- const installed = readFileSync(path, 'utf8').match(/solid2-agent-kit v(\d[\w.-]*)/)?.[1];
1062
+ // The version must end on a word character so the sentence punctuation
1063
+ // that follows the marker ("… v0.8.0. Do not edit …", "…v0.8.0**.") is
1064
+ // not captured — with `[\w.-]*` alone the trailing period made every
1065
+ // freshly synced file compare as "0.8.0." !== "0.8.0" (always stale).
1066
+ const installed = readFileSync(path, 'utf8').match(/solid2-agent-kit v(\d(?:[\w.-]*\w)?)/)?.[1];
1063
1067
  if (installed && installed !== VERSION) {
1064
1068
  report(
1065
1069
  'stale-guidance',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid2-agent-kit",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Teach AI coding agents (Cursor, Claude Code) to write correct Solid 2.0 instead of React or Solid 1.x — always-applied rules, an agent skill, and a mechanical pattern gate.",
5
5
  "type": "module",
6
6
  "license": "MIT",