Skip to content

fix: unify hardcoded versions to read from packages/cli/package.json#4

Open
subinium wants to merge 1 commit intoseojoonkim:mainfrom
subinium:fix/unify-version-from-package-json
Open

fix: unify hardcoded versions to read from packages/cli/package.json#4
subinium wants to merge 1 commit intoseojoonkim:mainfrom
subinium:fix/unify-version-from-package-json

Conversation

@subinium
Copy link
Contributor

@subinium subinium commented Feb 8, 2026

Summary

  • Multiple files had different hardcoded versions (v1.0.0, v0.2.0, v0.1.0)
  • Added NEXT_PUBLIC_CLI_VERSION env in next.config.ts that reads from packages/cli/package.json at build time
  • All version references now use this single source of truth

Changed files

File Before After
next.config.ts no env injects NEXT_PUBLIC_CLI_VERSION from CLI package.json
src/app/page.tsx (nav) v0.2.0 process.env.NEXT_PUBLIC_CLI_VERSION
src/app/page.tsx (demo) v1.0.0 process.env.NEXT_PUBLIC_CLI_VERSION
src/engine/reporter.ts v0.1.0 process.env.NEXT_PUBLIC_CLI_VERSION
src/app/r/[id]/ReportClient.tsx v0.1.0 process.env.NEXT_PUBLIC_CLI_VERSION

Test plan

  • npx next build succeeds
  • Verify version displays correctly on homepage nav, hero demo, and report page footer

🤖 Generated with Claude Code

Multiple files had different hardcoded versions (v1.0.0, v0.2.0, v0.1.0).
Now all read from a single source via NEXT_PUBLIC_CLI_VERSION env injected
at build time from packages/cli/package.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 8, 2026

@subinium is attempting to deploy a commit to the seojoonkim's projects Team on Vercel.

A member of the Team first needs to authorize it.

seojoonkim pushed a commit that referenced this pull request Feb 17, 2026
- BUG #1: HOME config 무조건 스캔 수정
  - scanWorkspace()에서 ~/.openclaw/ 등 HOME config를 HOME 디렉토리 스캔 시에만 포함
  - 프로젝트 디렉토리 스캔 시 API 키 경고 플러드 방지

- BUG #2: compound/, memory/ 파일 heading-hierarchy 룰 제외
  - 리서치/로그 문서에 heading hierarchy 적용 안 함 (TIP 40개+ 노이즈 수정)

- BUG #3: Identity false positive 한국어 필터링
  - consistency/identity-alignment 룰에서 한국어 문자 포함 name 후보 제외

- BUG #4: 전화번호 regex 강화
  - 분리자(dash/dot/space) 필수로 변경 → bare numeric ID 오탐 방지

- BUG #5: 약어 whitelist 확장
  - GET, POST, PUT, DELETE, MCP, RPI, TCG, GUI, TUI, TOML, TSV, PY, SH 등 추가
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant