Aller au contenu
2 articles avec l'étiquette « dev »

2.0 - Une bibliothèque Node.JS

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.

Nous avons lancé GenAIScript 2.0, qui propose un runtime modulaire et maintenable, désormais accessible dans toute application Node.js, et non plus uniquement via le CLI. Cette évolution s’est traduite par une refonte significative du backend, facilitant ainsi l’intégration pour les développeurs et multipliant les cas d’utilisation possibles. Le nouveau package npm @genaiscript/runtime isole les fonctionnalités de base, permettant des imports directs et une initialisation simple dans vos projets. Si vous développez avec l’API Node.js, mettez à jour vos imports afin de garantir la compatibilité avec la nouvelle structure. Cette version facilite l’intégration de GenAIScript dans divers workflows, que ce soit par le CLI ou intégré à des solutions Node.js plus larges.

API Node.JS

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.

Présentation d’une nouvelle API Node.js pour GenAIScript : vous pouvez désormais intégrer directement les fonctionnalités de GenAIScript dans vos flux de travail TypeScript (v1.83+). Imitant le comportement du CLI, l’API run simplifie les tâches comme la synthèse de fichiers tout en restant légère et sans effets de bord. Prêt à optimiser votre automatisation ? Consultez la documentation pour plus de détails.