Cap'n Web APIs are better than REST, especially for AI agents. Here's a talk I gave explaining why:
https://t.co/5pD6hhxn7Z
In short:
- TypeScript types are an excellent way to explain APIs to agents.
- Cap'n Web excels at exposing TS APIs over a sandbox boundary.
Does this fix the issue where Tab completions are prioritized over automatically adding imports in TS? Have had this issue for months where I type the name of a variable in another file or package, press tab expecting for the import to be automatically added and instead it accepts whatever random suggestion Tab gave.
@rauchg@vercel Just looking at the top 30 sites by traffic, the only one that makes sense to say 'top 30' and would maybe move at all is Pinterest. Will bet it's them.