I don't understand why this is written in Typescript. This is a great example of how agents can write code (I'm sure they wrote `cf`), yet having fundamental computer science knowledge is still critical. Do not force your users to manage the dependencies of your cli. Do write your cli in a compiled language. Understand the reason for those decisions and tell your agents to use the correct architecture.
1. There's always a possibility they evaluated Rust / Go, concluded the agentic code in those languages is less maintainable / productive (for AI agents) than typescript, but didn't spell it out to avoid internet flame wars. For instance, recent Microsoft rewrite of copilot almost doubled the code size.
2. They may intend the parts of it to be reused on workers?
They literally write large parts of their codebase already in Rust and with agents, and Rust workers are supported so I really don't know the cause.
slowin · · focus · HN ↗
wannabe44 · · focus · HN ↗
2. They may intend the parts of it to be reused on workers?
satvikpendem · · focus · HN ↗
wannabe44 · · focus · HN ↗
pdimitar · · focus · HN ↗