Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ body:
id: environment
attributes:
label: Environment
placeholder: Node 22, Ubuntu 24.04, Codex CLI
placeholder: Node 24, Ubuntu 24.04, Codex CLI
validations:
required: true
- type: textarea
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [20.19.0, 22.x]
node: [24.15.0, 26.x]

steps:
- name: Check out repository
Expand All @@ -45,13 +45,13 @@ jobs:
run: npm run build

- name: Install Chromium
if: matrix.node == '22.x'
if: matrix.node == '26.x'
run: npx playwright install --with-deps chromium

- name: Run production browser test
if: matrix.node == '22.x'
if: matrix.node == '26.x'
run: npm run test:e2e

- name: Verify package contents
if: matrix.node == '22.x'
if: matrix.node == '26.x'
run: npm pack --dry-run
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

All notable changes to Agent HTML Render are documented here.

## Unreleased
## 0.4.0 — 2026-08-22

- Tightened the README, bundled skill, contribution guide, security policy, issue templates, package summary, and review status copy.
- Updated stale `0.2.x` references.
- Raised the minimum runtime to Node.js 24.15 LTS and moved CI coverage to Node 24 and Node 26.
- Updated jsdom from 29.1.1 to 30.0.1 for the test suite.

## 0.3.1 — 2026-08-22

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Keep changes local-first, vendor-neutral, and small enough to review.

## Development setup

Agent HTML Render requires Node.js 20.19 or newer.
Agent HTML Render requires Node.js 24.15 or newer.

```bash
npm ci
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It works with Codex, Claude Code, OpenCode, and any other agent that can run a C

## Install the project skill

Agent HTML Render requires Node.js 20.19 or newer. Run this once in each repository:
Agent HTML Render requires Node.js 24.15 or newer. Run this once in each repository:

```bash
npx --yes --prefer-online agent-html-render@latest install-skill
Expand Down Expand Up @@ -104,7 +104,7 @@ Reviewer instructions and artifact excerpts stay separate. The output labels art
- Runtime messages and feedback payloads are validated and bounded.
- Session files are written under `.agent-html-render/` with private permissions and are ignored by Git.

Agent HTML Render v0.3 supports one reviewer on the local machine. Accounts, cloud sync, hosted sharing, and multiplayer review are out of scope.
Agent HTML Render v0.4 supports one reviewer on the local machine. Accounts, cloud sync, hosted sharing, and multiplayer review are out of scope.

## Migrating from AgentLens or the AgentRender preview

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Supported versions

Agent HTML Render is currently in its `0.3.x` development line. Security fixes go to the latest release only.
Agent HTML Render is currently in its `0.4.x` development line. Security fixes go to the latest release only.

## Reporting a vulnerability

Expand Down
103 changes: 50 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agent-html-render",
"version": "0.3.1",
"version": "0.4.0",
"description": "Review agent-written HTML locally and send element-level feedback to the agent.",
"type": "module",
"bin": {
Expand Down Expand Up @@ -28,7 +28,7 @@
"prepack": "npm run build"
},
"engines": {
"node": ">=20.19.0"
"node": "^24.15.0 || >=26.0.0"
},
"keywords": [
"agents",
Expand Down Expand Up @@ -72,7 +72,7 @@
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitejs/plugin-react": "^6.1.0",
"jsdom": "^29.0.0",
"jsdom": "^30.0.1",
"tsx": "^4.23.12",
"typescript": "^7.0.2",
"vite": "^8.2.2",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const PACKAGE_VERSION = "0.3.1" as const;
export const PACKAGE_VERSION = "0.4.0" as const;
7 changes: 4 additions & 3 deletions tests/unit/daemon.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import { expect, test } from "vitest";
import { inspectDaemonHealth, type DaemonMetadata } from "../../src/node/daemon.js";
import type { RuntimeBuildIdentity } from "../../src/node/build.js";
import { EXPLICIT_FEEDBACK_ACK_CAPABILITY } from "../../src/shared/protocol.js";
import { PACKAGE_VERSION } from "../../src/shared/version.js";

const metadata: DaemonMetadata = {
protocolVersion: "1",
packageVersion: "0.3.1",
packageVersion: PACKAGE_VERSION,
buildId: "sha256:current",
pid: 4321,
rootPath: "/tmp/example-project",
Expand All @@ -15,7 +16,7 @@ const metadata: DaemonMetadata = {
};

const expectedBuild: RuntimeBuildIdentity = {
packageVersion: "0.3.1",
packageVersion: PACKAGE_VERSION,
buildId: "sha256:current",
};

Expand All @@ -35,7 +36,7 @@ test("accepts only the exact running package build", () => {
});

expect(
inspectDaemonHealth(metadata, { ...compatibleHealth, packageVersion: "0.3.0" }, expectedBuild),
inspectDaemonHealth(metadata, { ...compatibleHealth, packageVersion: "0.3.1" }, expectedBuild),
).toEqual({ healthy: true, compatible: false });

expect(
Expand Down