At first I was doing a double-build pipeline for cjs and esm; I got a rollup config set up for transpilation, but hit a snag where zod-gpt has no declaration for a chat that matched our import, and a bunch of weird things were going on with global this declarations
Then in use, we can't really use this in the browser context anyway because it uses fs, etc. etc. and really is back-end code, so I decided cjs only is fine right now
Tested out importing in a fresh node project and it does refer to the agent properly. Amended the docs to match that format.
Exporting our core classes as our main exports.
chat
that matched our import, and a bunch of weird things were going on with globalthis
declarationsfs
, etc. etc. and really is back-end code, so I decided cjs only is fine right now