28 Commits

Author SHA1 Message Date
renovate[bot] 403f9b069d chore(deps): update dependency @types/node to ^24.12.4 2026-05-23 06:27:45 +00:00
renovate[bot] a28a5b560a chore(deps): update dependency @types/node to ^24.12.3 2026-05-16 05:42:47 +00:00
Kazuki Yamada 9caf541368 chore(deps): Drop Node.js 20, add Node.js 26 support
Node.js 20 reaches end-of-life on 2026-04-30, so raise the minimum
supported version to 22 (the next active LTS) and add Node.js 26 to the
CI matrix as the current release line.

- Bump engines.node to >=22.0.0 in package.json and scripts/memory
- Update CI matrix to [22.x, 24.x, 26.x] (drop 20.x and 25.x; 25.x EOL 2026-06)
- Update test-action.yml matrix to [22, 24, 26]
- Drop the obsolete `node --run` workaround comment in ci.yml since
  `node --run` is supported on all matrix versions
- Update Node.js version mentions in English docs, llms-install.md,
  configShard, bug report template, and code samples in hi/vi
  github-actions guides

Dockerfile (node:22-slim) is intentionally left at the minimum supported
version so the published image confirms Repomix runs on the floor.
2026-05-09 18:49:37 +09:00
renovate[bot] b8013a6c74 chore(deps): update dependency typescript to ^6.0.3 2026-05-05 15:29:12 +00:00
Kazuki Yamada 4f1885ab94 chore(memory-benchmarks): Fix TS6 moduleResolution deprecation
intent(ci-fix): the Memory Test job on CI started failing with "error TS5107: Option 'moduleResolution=node10' is deprecated" after the typescript v6 bump on main (b5bdda8f) — align scripts/memory/tsconfig.json with the root project's NodeNext settings so the subproject builds on TS6
decision(module-setting): NodeNext over Bundler to match the repo's existing main/server tsconfigs; source files already use explicit .js import extensions, so the switch is a no-op at runtime
2026-04-18 16:59:26 +09:00
renovate[bot] b5bdda8fd4 chore(deps): update dependency typescript to v6 2026-04-18 06:16:35 +00:00
renovate[bot] 6f6e4d9e5a chore(deps): update dependency @types/node to ^24.12.2 2026-04-11 02:53:22 +00:00
Kazuki Yamada 5c55597512 docs(core): Replace tiktoken references with gpt-tokenizer
Update all documentation, build configuration, and source comments
to reflect the completed migration from tiktoken to gpt-tokenizer.

- Update tokenCount.encoding description to say "OpenAI-compatible
  tokenization" with gpt-tokenizer link (README + 15 language docs)
- Remove tiktoken from bundling external deps list since
  gpt-tokenizer is pure JS (README + 15 language docs)
- Remove tiktoken COPY from Dockerfile and external from bundle.mjs
- Simplify source code comments removing migration artifacts
- Regenerate scripts/memory/package-lock.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:37:26 +09:00
Kazuki Yamada d659865f35 fix(scripts): Compare post-warmup baseline in memory test final analysis
The final analysis compared iteration 0 (cold start, ~20MB heap) against
the final measurement, causing false "significant memory growth" warnings
on short CI runs (50 iterations). Now uses the average of post-warmup
entries as baseline, matching how the mid-run trend analysis already works.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 13:05:56 +09:00
Kazuki Yamada c81aa3ac99 fix(cli): Address review feedback on bench-cores script
- Add preflight checks for taskset, hyperfine, and nproc
- Validate core count arguments are positive integers
- Fix duplicate core count when TOTAL_CORES matches a default (-le to -lt)
- Run all core counts in a single hyperfine invocation for comparison summary
- Add note about logical vs physical cores on SMT/HT systems

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 00:13:16 +09:00
Kazuki Yamada abf0847d5a chore(cli): Add hyperfine and core-count benchmark script
Add hyperfine to devcontainer and a bench-cores.sh script that runs
hyperfine benchmarks under different CPU core counts using taskset.
This enables verifying performance optimizations across varying levels
of CPU parallelism.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 00:06:59 +09:00
Kazuki Yamada 77bc164cef chore(security): Add min-release-age to sub-package .npmrc files
npm only reads .npmrc from the directory containing package.json,
not from parent directories. Sub-packages that run `npm ci`
independently (e.g., in CI or Docker builds) were missing the
min-release-age=7 protection that the root .npmrc provides.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 18:45:30 +09:00
renovate[bot] d33042ce66 chore(deps): update dependency @types/node to ^24.12.0 2026-03-21 05:00:41 +00:00
renovate[bot] 618dbd9db9 chore(deps): update dependency @types/node to ^24.10.13 2026-02-21 05:08:50 +00:00
renovate[bot] eeda0955bd chore(deps): update dependency @types/node to ^24.10.11 2026-02-14 04:34:00 +00:00
renovate[bot] cfd571f8eb chore(deps): update dependency @types/node to ^24.10.9 2026-01-24 06:16:24 +00:00
renovate[bot] f3296fd069 chore(deps): update dependency @types/node to ^24.10.6 2026-01-17 04:34:57 +00:00
renovate[bot] aa5ae37ae8 fix(deps): update all non-major dependencies 2025-12-30 13:52:35 +00:00
renovate[bot] e5b5a204d4 fix(deps): update all non-major dependencies 2025-11-27 10:16:30 +00:00
renovate[bot] 18ef52acc1 fix(deps): update all non-major dependencies 2025-11-11 13:38:56 +00:00
renovate[bot] 8b6bd0cb40 fix(deps): update all non-major dependencies 2025-10-30 09:57:02 +00:00
renovate[bot] e1a8c6c4e2 fix(deps): update all non-major dependencies 2025-10-20 13:33:05 +00:00
renovate[bot] 1f9f243a75 fix(deps): update all non-major dependencies 2025-10-13 08:58:25 +00:00
renovate[bot] 372c8d7f00 fix(deps): update all non-major dependencies 2025-10-08 07:53:07 +00:00
Kazuki Yamada 4c999e02a6 chore(scripts): update @types/node to v24.5.2
Updates @types/node dependency in memory script from v22.16.5 to v24.5.2
to align with other packages in the monorepo.
2025-09-21 12:26:06 +09:00
Kazuki Yamada 0ac770d75e refactor(scripts): Remove --graph flag and enable ASCII graphs by default
- Remove --graph/-g flag as graphs are now always enabled
- Update help text and feature display accordingly
- Simplify displayMemoryGraphs() condition check
- Graphs will now always show when sufficient data points are available

Makes memory visualization always available for better debugging experience.
2025-09-02 00:05:08 +09:00
Kazuki Yamada c0c630b748 refactor(scripts): Extract magic numbers to constants in memory test script
- Extract graph display constants (MIN_POINTS_FOR_GRAPH=5, GRAPH_DATA_POINTS=40, GRAPH_HEIGHT=8)
- Make displayMemoryGraphs() more flexible by accepting history data as parameter
- Improve code maintainability and readability as suggested in PR review

Addresses PR review feedback from gemini-code-assist bot.
2025-09-02 00:01:11 +09:00
Kazuki Yamada 724440e637 refactor: Move memory benchmarks from benchmarks/ to scripts/
Relocated memory testing tools from benchmarks/memory/ to scripts/memory/
to better align with project structure conventions. Updated GitHub Actions
workflow paths accordingly to maintain CI functionality.
2025-09-01 23:29:47 +09:00