Skip to content

[codex] Complete Bun TypeScript migration#31

Merged
hetaoBackend merged 18 commits into
mainfrom
ts-bun-migration
Jun 13, 2026
Merged

[codex] Complete Bun TypeScript migration#31
hetaoBackend merged 18 commits into
mainfrom
ts-bun-migration

Conversation

@hetaoBackend

Copy link
Copy Markdown
Owner

Summary

  • Migrates AgentForge to a TypeScript-only Bun backend and Electron build workflow.
  • Ports backend APIs, scheduler, executor, database, skill library, and Telegram/Slack/Feishu/WeChat channels to TypeScript.
  • Removes Python runtime files, Python channel implementations, and Node/Vite/npm build artifacts in favor of Bun tooling.
  • Fixes channel configuration and Feishu lifecycle behavior discovered during manual testing.
  • Expands Bun test coverage across backend APIs, scheduler logic, executor paths, channel integrations, and server lifecycle.

Validation

  • make check
  • Backend tests: 410 pass, 0 fail
  • Coverage: functions 90.58%, lines 93.75%

Notes

  • Branch history was cleaned before push so backend/node_modules is not tracked.
  • node_modules/ is now ignored at the repository level.

hetaoBackend and others added 18 commits June 13, 2026 00:45
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… test)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Bun.build bundles main/preload/renderer (scripts/build.ts), watch+reload dev runner (scripts/dev.ts)
- backend binary compiled via bun build --compile (scripts/build-backend.ts)
- forge.config: drop plugin-vite, ship .bun/ output via packager ignore rules
- main.ts: spawn bun backend in dev, watch backend/*.ts for hot reload, load Bun-built renderer
- remove vite configs/deps, package-lock.json, dead renderer.ts template entry

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…sion (tests pending)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentforge-landing Ready Ready Preview, Comment Jun 13, 2026 1:44am

@hetaoBackend hetaoBackend marked this pull request as ready for review June 13, 2026 01:44
@hetaoBackend hetaoBackend merged commit 810cb71 into main Jun 13, 2026
4 checks passed
@hetaoBackend hetaoBackend deleted the ts-bun-migration branch June 13, 2026 01:45
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