From 2fd0c903a27c71b8edc363efad5a7a887974200b Mon Sep 17 00:00:00 2001 From: nntrivi2001 Date: Sat, 10 Oct 2026 15:18:00 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20v2.7.1=20=E2=80=94=20the=20UI=20builds?= =?UTF-8?q?=20again=20(v2.7.0's=20update=20failed=20at=20`npm=20run=20buil?= =?UTF-8?q?d`)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - v2.7.0 could not be installed or updated to: the client build (`tsc -b && vite build`) type-checks test files too, and a new RunSetup test rendered PromptEditor without its required `slash` and `fileCwd` props, so `tsc -b` failed and every update stopped at "npm run build failed". The test now passes them. - Verified on a clean v2.7.0 worktree + this fix: `tsc -b` and `vite build` both exit 0; RunSetup tests 19/19. --- CLAUDE.md | 2 +- client/src/components/run/__tests__/RunSetup.test.tsx | 2 ++ .../__tests__/__snapshots__/screens.snapshot.test.tsx.snap | 2 +- openapi.yaml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 5630335c..911eef8d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,6 +1,6 @@ # Claude Code Working Guide -_Last synced: v2.7.0 (2026-10-10) — tabs from every workspace (opt-in), interrupted sessions offered for resume, chat drafts kept per session, chat right panel in every split pane._ A change that makes any statement in this file, `AGENTS.md`, or a README wrong — a moved path, a new or changed extension point, a retired rule — updates that file in the same change-set and bumps this marker. **Bump = replace the version/date and a ≤ 1-line summary; never append a changelog here** — details belong in the commit message and `docs/`, because this whole file is loaded into every session. +_Last synced: v2.7.1 (2026-10-10) — the UI build type-checks test files too (`tsc -b`); a test that skips required props breaks every update._ A change that makes any statement in this file, `AGENTS.md`, or a README wrong — a moved path, a new or changed extension point, a retired rule — updates that file in the same change-set and bumps this marker. **Bump = replace the version/date and a ≤ 1-line summary; never append a changelog here** — details belong in the commit message and `docs/`, because this whole file is loaded into every session. ## Project mission - Maintain a reliable local-first dashboard for Claude Code session monitoring. diff --git a/client/src/components/run/__tests__/RunSetup.test.tsx b/client/src/components/run/__tests__/RunSetup.test.tsx index ddce9d52..9a057a0a 100644 --- a/client/src/components/run/__tests__/RunSetup.test.tsx +++ b/client/src/components/run/__tests__/RunSetup.test.tsx @@ -413,6 +413,8 @@ describe("PromptEditor — newlines and images", () => { onChange={() => {}} onSubmit={() => {}} placeholder="Ask anything…" + slash={false} + fileCwd="/Users/tester" images={images} onImagesChange={setImages} /> diff --git a/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap b/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap index a4b1d20c..29e7106a 100644 --- a/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap +++ b/client/src/pages/__tests__/__snapshots__/screens.snapshot.test.tsx.snap @@ -7174,7 +7174,7 @@ exports[`screen snapshots > Settings — about 1`] = ` - UI build v2.7.0 (rebuild client to match) + UI build v2.7.1 (rebuild client to match)

diff --git a/openapi.yaml b/openapi.yaml index 03f9cf9c..6cf9dcd9 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3,7 +3,7 @@ openapi: 3.0.3 info: title: Agent Dashboard for Claude Code API - version: 2.7.0 + version: 2.7.1 description: HTTP API for real-time Claude Code session monitoring, agent lifecycle tracking, analytics, pricing, hooks ingestion, and workflow intelligence. contact: name: Nguyễn Ngọc Trí Vĩ diff --git a/package-lock.json b/package-lock.json index d3101f2c..6f0f31ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "agenthub", - "version": "2.7.0", + "version": "2.7.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "agenthub", - "version": "2.7.0", + "version": "2.7.1", "hasInstallScript": true, "license": "UNLICENSED", "dependencies": { diff --git a/package.json b/package.json index 2f1fba39..65cefa5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agenthub", - "version": "2.7.0", + "version": "2.7.1", "bin": { "agenthub": "bin/agenthub.js" },