diff --git a/changelog/cli/0.10.71.md b/changelog/cli/0.10.71.md new file mode 100644 index 000000000..8ab15af77 --- /dev/null +++ b/changelog/cli/0.10.71.md @@ -0,0 +1,21 @@ +--- +package: "@webjsdev/cli" +version: 0.10.71 +date: 2026-10-08T05:49:29.594Z +commit_count: 2 +--- +## Features + +- **webjs source prints one export's signature and doc** ([#1624](https://github.com/webjsdev/webjs/pull/1624)) [`5ad34231`](https://github.com/webjsdev/webjs/commit/5ad34231) + * feat: webjs source prints one export's signature and doc + + An agent that needs one framework contract today greps or prints whole + files under node_modules/@webjsdev/*. The unit it wants is one export: + +## Fixes + +- **move the dark-theme rule from webjs check to webjs doctor** ([#1629](https://github.com/webjsdev/webjs/pull/1629)) [`a61c6a6d`](https://github.com/webjsdev/webjs/commit/a61c6a6d) + A dark theme is a design convention, not source correctness, and webjs + check carries only rules that break at runtime (the #461 precedent moved + vendor-gitignore out of check for the same reason). The detection from + #1626 moves unchanged into a doctor probe, DARK_THEME_UNREACHABLE, a diff --git a/changelog/mcp/0.1.15.md b/changelog/mcp/0.1.15.md new file mode 100644 index 000000000..cf584077c --- /dev/null +++ b/changelog/mcp/0.1.15.md @@ -0,0 +1,13 @@ +--- +package: "@webjsdev/mcp" +version: 0.1.15 +date: 2026-10-08T05:49:29.753Z +commit_count: 1 +--- +## Features + +- **webjs source prints one export's signature and doc** ([#1624](https://github.com/webjsdev/webjs/pull/1624)) [`5ad34231`](https://github.com/webjsdev/webjs/commit/5ad34231) + * feat: webjs source prints one export's signature and doc + + An agent that needs one framework contract today greps or prints whole + files under node_modules/@webjsdev/*. The unit it wants is one export: diff --git a/changelog/server/0.8.89.md b/changelog/server/0.8.89.md new file mode 100644 index 000000000..3a1f3f458 --- /dev/null +++ b/changelog/server/0.8.89.md @@ -0,0 +1,21 @@ +--- +package: "@webjsdev/server" +version: 0.8.89 +date: 2026-10-08T05:49:29.519Z +commit_count: 2 +--- +## Features + +- **webjs check fails a layout whose dark theme is unreachable** ([#1626](https://github.com/webjsdev/webjs/pull/1626)) [`e78adc07`](https://github.com/webjsdev/webjs/commit/e78adc07) + Six of seven recorded task-board builds on the scaffold shipped no dark + mode: the stylesheet kept the ui kit's .dark token block, and the agent + wrote a root layout that never applies it (no light-dark() tokens, no + prefers-color-scheme rule, no theme script), so the OS dark setting was + +## Fixes + +- **move the dark-theme rule from webjs check to webjs doctor** ([#1629](https://github.com/webjsdev/webjs/pull/1629)) [`a61c6a6d`](https://github.com/webjsdev/webjs/commit/a61c6a6d) + A dark theme is a design convention, not source correctness, and webjs + check carries only rules that break at runtime (the #461 precedent moved + vendor-gitignore out of check for the same reason). The detection from + #1626 moves unchanged into a doctor probe, DARK_THEME_UNREACHABLE, a diff --git a/package-lock.json b/package-lock.json index 8d9f34816..1f0771358 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6980,11 +6980,11 @@ }, "packages/cli": { "name": "@webjsdev/cli", - "version": "0.10.70", + "version": "0.10.71", "license": "MIT", "dependencies": { - "@webjsdev/mcp": "^0.1.0", - "@webjsdev/server": "^0.8.88", + "@webjsdev/mcp": "^0.1.15", + "@webjsdev/server": "^0.8.89", "@webjsdev/ui": "^0.3.15" }, "bin": { @@ -7030,7 +7030,7 @@ }, "packages/mcp": { "name": "@webjsdev/mcp", - "version": "0.1.14", + "version": "0.1.15", "license": "MIT", "dependencies": { "@webjsdev/server": "^0.8.0", @@ -7045,7 +7045,7 @@ }, "packages/server": { "name": "@webjsdev/server", - "version": "0.8.88", + "version": "0.8.89", "license": "MIT", "dependencies": { "ws": "^8.20.0" diff --git a/packages/cli/package.json b/packages/cli/package.json index e9af9043f..97f17b06c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/cli", - "version": "0.10.70", + "version": "0.10.71", "type": "module", "description": "The CLI for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Runs the dev and production servers, scaffolds apps, validates conventions, and drives the database. Node 24+ or Bun.", "bin": { @@ -17,8 +17,8 @@ "README.md" ], "dependencies": { - "@webjsdev/mcp": "^0.1.0", - "@webjsdev/server": "^0.8.88", + "@webjsdev/mcp": "^0.1.15", + "@webjsdev/server": "^0.8.89", "@webjsdev/ui": "^0.3.15" }, "publishConfig": { diff --git a/packages/mcp/package.json b/packages/mcp/package.json index ee39b3739..1f5f3a79d 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/mcp", - "version": "0.1.14", + "version": "0.1.15", "type": "module", "description": "The Model Context Protocol server for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Gives AI coding agents live app introspection over routes, actions, components, and convention checks, plus a knowledge layer of docs, recipes, and framework source.", "bin": { diff --git a/packages/server/package.json b/packages/server/package.json index 951de5fce..0dd95457e 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@webjsdev/server", - "version": "0.8.88", + "version": "0.8.89", "type": "module", "description": "The server for WebJs, a full-stack JavaScript framework built on web components with server-side rendering and no build step. Provides the file-based router, SSR, server actions, route handlers, middleware, and live reload on Node 24+ or Bun.", "main": "index.js", diff --git a/scripts/release-gate.mjs b/scripts/release-gate.mjs index b38d3f828..37b9268d8 100644 --- a/scripts/release-gate.mjs +++ b/scripts/release-gate.mjs @@ -51,7 +51,7 @@ function run(cmd, argv, opts = {}) { return { ok: r.status === 0, out: `${r.stdout || ''}${r.stderr || ''}` }; } -/** Pack core, server and cli as npm would publish them. */ +/** Pack core, server, cli and mcp as npm would publish them (cli depends on mcp). */ function packCandidate() { // Build core's dist from THIS checkout (a linked worktree has it as a symlink // into another checkout, which `npm pack` would silently leave out). @@ -60,7 +60,7 @@ function packCandidate() { execFileSync('node', ['scripts/build-framework-dist.js'], { cwd: ROOT, stdio: 'pipe' }); const dir = mkdtempSync(join(tmpdir(), 'webjs-gate-pack-')); const tarballs = {}; - for (const pkg of ['core', 'server', 'cli']) { + for (const pkg of ['core', 'server', 'cli', 'mcp']) { const out = execFileSync('npm', ['pack', '--silent', '--pack-destination', dir], { cwd: join(ROOT, 'packages', pkg), encoding: 'utf8' }).trim().split('\n').pop(); tarballs[`@webjsdev/${pkg}`] = join(dir, out); }