Commit Graph
14 Commits
Author SHA1 Message Date
MUH. IQRAM BAHRING 25df5e6a9d chore(guards): add durable markers so fixes aren't silently dropped
Introduce AGENTS.md (root, primary agent instruction file) documenting six
hard-won fixes with explicit DO NOT / WHY, plus executable enforcement so a
future AI cannot delete or reintroduce them:

1. package-lock.json must be generated with npm 10 (Docker's npm 10.9.8).
   npm 11 drops the top-level @emnapi/core + @emnapi/runtime entries npm 10
   needs, breaking the tag-triggered Docker build at `npm ci` (happened on
   v1.0.14). Add scripts/verify-lockfile-npm10.mjs + .npmrc + a Dockerfile
   fail-fast check + a CI step + tests/unit/lockfile-npm10-guard.test.js.
   Also re-fix the lockfile itself (regenerated with npm 10.9.8).
2. Tests must never write to the real ~/.9router DB (isolateDataDir).
3. Hidden providers must not leak into Usage (usageProviders !p.hidden).
4. codebuddy-intl connection test + OAuth identity.
5. Fork-only features that must survive upstream syncs.
6. Upstream sync procedure.

Each marker cross-references AGENTS.md and the covering test. CLAUDE.md now
points to AGENTS.md at the top. Verified: build ok, guard script passes,
full suite leaves the real DB count unchanged (38), 0 new regressions.
2026-09-19 12:52:19 +08:00
MUH. IQRAM BAHRING 9342aa5fb9 chore(version): bump app version to 1.0.14 (upstream v0.5.81 sync) 2026-09-19 11:36:17 +08:00
MUH. IQRAM BAHRING 0ac771bad8 merge: sync upstream v0.5.81 into MIBP fork
# Conflicts:
#	.gitignore
#	Dockerfile
#	open-sse/handlers/chatCore.js
#	open-sse/providers/registry/cline.js
#	open-sse/providers/registry/index.js
#	open-sse/services/usage.js
#	open-sse/utils/streamHandler.js
#	package.json
#	src/app/(dashboard)/dashboard/profile/page.js
#	src/app/(dashboard)/dashboard/providers/[id]/page.js
2026-09-19 11:35:34 +08:00
MUH. IQRAM BAHRING eedfdf982b chore(version): align app version to fork release cadence (1.0.11) 2026-09-06 00:45:19 +08:00
MUH. IQRAM BAHRING a2c6187aed chore(deps): resync lockfile with npm 10 (docker npm ci missing @emnapi 1.11.3) 2026-09-05 23:55:33 +08:00
MUH. IQRAM BAHRING 470c8ca72c fix(docker): regenerate platform-complete lockfile (npm 10, clean resolve) 2026-08-15 08:14:03 +08:00
MUH. IQRAM BAHRING 76b139b32c fix(docker): restore lockfile (npm 10) + npm ci for reliable builds 2026-08-15 08:07:59 +08:00
MUH. IQRAM BAHRING 3d10fd9611 chore(docker): follow upstream — untrack package-lock, use npm install 2026-08-15 04:25:18 +08:00
MUH. IQRAM BAHRING c895410510 chore(deps): sync package lock 2026-08-15 04:11:54 +08:00
MUH. IQRAM BAHRING 7929464427 fix: restore platform-complete package-lock for linux npm ci 2026-08-07 09:32:23 +08:00
MUH. IQRAM BAHRING ad43a267ac chore: re-sync package-lock 2026-08-07 04:04:35 +08:00
MUH. IQRAM BAHRING 90ff8191ff fix: lock Docker dependencies and remove test credential 2026-08-06 04:10:58 +08:00
decolua 87c8f7f229 Fix Antigravity 2026-01-12 16:53:15 +07:00
Catalin StanciuandClaude Sonnet 4.5 9c3d6f4ad8 feat: implement usage tracking for AI requests
Adds local token usage tracking for all AI providers. Usage data is
captured during stream processing and stored in a local database.
Includes a new Usage tab in the Providers dashboard to visualize
historical token consumption.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 17:23:28 +07:00