Skip to content

Conversation

@mmccooyyy
Copy link
Contributor

Honestly I have no idea if this is a viable change or not, but it works on my machine.

This changes 3 things:

  • The CLI is now built via bun instead of node
  • The CLI can now be run via bun instead of npx
  • The deploy command now detects whether or not it's running in node or bun and compiles the agent code using Bun.build if it's running in bun. If it's running in node it uses the old ncc compiler.

This makes agent code compilation basically instant and reduces total time to deploy by ~66%.

image

…to be run via bun and agent compiled with bun.build instead of ncc
@promptless
Copy link

promptless bot commented Jul 30, 2025

📝 Documentation updates detected!

New suggestion: Document Bun runtime support and performance improvements in CLI

{
"name": "flatfile",
"version": "3.11.1",
"version": "4.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is updated with a changset

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.

2 participants