hdresearch / nolita

Work with web-enabled agents quickly — whether running a quick task or bootstrapping a full-stack product.
https://nolita.ai
MIT License
87 stars 6 forks source link

Ty/server api for pages #71

Closed AlephNotation closed 4 months ago

AlephNotation commented 4 months ago

expose page and browser objects via apis

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nolita ❌ Failed (Inspect) Jun 6, 2024 8:51pm
matildepark commented 4 months ago

Replicating our methods as server routes feels like something we can de-duplicate somehow. Like it would be nice if we could just destruct the entire class into routes of the same name in one line or something. Otherwise this adds a lot of overhead if anything changes.

Like the classes should be a source of truth our docs and our subsequent interfaces pull from without needing us to write it out a few times.