Skip to content

dev

2 posts with the tag β€œdev”

v2.0 - A Node.JS library

The image shows a network of geometric blocks connected by wires, symbolizing a modular 2D server in retro 8-bit style. One block is marked with a "runtime" symbol and another with a "CLI" symbol, each featuring plug-in style ports. Flexible wire connections link a Node.js logo to these blocks. Surrounding the central setup are minimalist icons that represent code, packages, and script files. The design uses five bold corporate colors, maintains flat and iconic visuals, and has a neutral, wordless background.

We’ve rolled out GenAIScript 2.0, featuring a modular and maintainable runtime now accessible in any Node.js application, beyond just the CLI. This shift involved significant backend refactoring, streamlining the integration process for developers and expanding usage possibilities. The new @genaiscript/runtime npm package isolates the core functionality, allowing direct imports and straightforward initialization in projects. For those building with the Node.js API, updating your imports ensures compatibility with the latest structure. This release makes it easier to incorporate GenAIScript into diverse workflows, whether through the CLI or embedded in broader Node.js solutions.

Node.JS API

An 8-bit style illustration showcases a stylized Node.JS logo alongside a geometric TypeScript symbol. Abstract gear and circuit patterns connect the two, representing the integration of GenAIScript in a corporate environment. The image uses five colors that highlight a digital, clean, and tech-focused aesthetic, remaining iconic and free of human elements or text.

Introducing a new Node.js API for GenAIScript: now you can integrate GenAIScript’s functionality directly into your TypeScript workflows (v1.83+). Mimicking the CLI’s behavior, the run API simplifies tasks like file summarization while maintaining a lightweight and side-effect-free design. Ready to streamline your automation? Check out the documentation for details.