nerdsystem 0.0.1 → 0.0.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.
- package/dist/commands/init.js +1 -1
- package/dist/gates/code.js +1 -1
- package/package.json +1 -1
package/dist/commands/init.js
CHANGED
|
@@ -104,4 +104,4 @@ export async function init(dir, args) {
|
|
|
104
104
|
log.ok(`Ready. Next:\n cd ${dir}\n pnpm install\n nerd dev\n\nThen open the folder in your coding agent and ask it to build the first feature; the nerdsystem skill walks it through.\nDeploys go to ${project.url}`);
|
|
105
105
|
}
|
|
106
106
|
// Kept in sync with packages/sdk/package.json by the release script.
|
|
107
|
-
const SDK_VERSION = "0.0.
|
|
107
|
+
const SDK_VERSION = "0.0.3";
|
package/dist/gates/code.js
CHANGED
|
@@ -30,7 +30,7 @@ export const rulesGate = {
|
|
|
30
30
|
const t = Date.now();
|
|
31
31
|
const problems = staticChecks(ctx.root);
|
|
32
32
|
const findings = problems.map((p, i) => {
|
|
33
|
-
const advisory =
|
|
33
|
+
const advisory = /\(warning\)\.?$/.test(p) || p.startsWith("Agent instruction files");
|
|
34
34
|
const fileMatch = /^([\w./-]+\.(ts|tsx|json|jsonc|md|yml))\b/.exec(p);
|
|
35
35
|
return finding(advisory ? "rules/advisory" : "rules/platform", { file: fileMatch?.[1], risk: advisory ? p : `${p} The app would not run correctly on the platform.`, fingerprint: `rules-${i}-${p.slice(0, 40)}` });
|
|
36
36
|
});
|