Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

@nestia/agent multiple applications (swagger / TS class). #1183

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jan 10, 2025

From now on, @nestia/agent supports multiple swagger files and typescript classes at the same time.


This pull request includes significant changes to the packages/agent module, focusing on ESLint configuration updates, renaming and restructuring of files, and the addition of a new class for the Nestia agent chatbot. The most important changes are summarized below:

ESLint Configuration Updates:

  • Removed the old ESLint configuration in .eslintrc.cjs and added a new configuration in eslint.config.mjs to use the latest ESLint and TypeScript ESLint configurations. [1] [2]

File Renaming and Restructuring:

  • Renamed NestiaChatAgentSystemPrompt.ts to NestiaAgentSystemPrompt.ts in the build script to reflect the updated naming convention.

Package Updates:

  • Updated the package.json to reflect the new version 0.3.0, added new dependencies for ESLint, and included a new script for running ESLint. [1] [2] [3]

New Nestia Agent Class:

  • Introduced a new NestiaAgent class in NestiaAgent.ts, which consolidates the functionality of the Nestia chatbot agent, including methods for conversing with the chatbot, accessing prompt histories, and managing event listeners.

Removal of Deprecated Class:

  • Removed the deprecated NestiaChatAgent class and its associated structures and methods, as they have been replaced by the new NestiaAgent class.

These changes collectively enhance the maintainability and functionality of the packages/agent module.

From now on, `@nestia/agent` supports multiple swagger files and typescript classes at the same time.
@samchon samchon added the enhancement New feature or request label Jan 10, 2025
@samchon samchon self-assigned this Jan 10, 2025
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@eslint/js@9.17.0 None 0 14.9 kB eslintbot, openjsfoundation
npm/@mui/material@5.16.14 environment Transitive: filesystem, unsafe +79 28 MB diegoandai
npm/@stackblitz/sdk@1.11.0 None 0 186 kB tsulkowski
npm/@types/js-yaml@4.0.9 None 0 9.12 kB types
npm/@types/react-dom@18.3.5 None 0 37.9 kB types
npm/@types/react@18.3.18 None +2 1.69 MB types
npm/@vitejs/plugin-react@4.3.4 Transitive: environment, filesystem, unsafe +47 11.6 MB vitebot
npm/eslint-plugin-react-hooks@5.1.0 environment 0 169 kB react-bot
npm/eslint-plugin-react-refresh@0.4.16 None 0 18.2 kB arnaud-barre
npm/eslint@9.17.0 environment Transitive: eval, filesystem, shell, unsafe +81 10.1 MB eslintbot
npm/globals@15.14.0 None 0 177 kB sindresorhus
npm/prettier@3.3.3 environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/react-dom@18.3.1 environment +3 4.63 MB react-bot
npm/react-mui-fileuploader@0.5.2 Transitive: environment, filesystem, unsafe +67 29.1 MB rouftomb
npm/react@18.3.1 environment +2 339 kB react-bot
npm/typescript-eslint@8.19.1 Transitive: environment, filesystem +39 7.9 MB jameshenry
npm/vite@5.4.11 environment, eval, filesystem, network, shell, unsafe +41 235 MB vitebot

🚮 Removed packages: npm/@nestia/e2e@0.7.0, npm/@samchon/shopping-api@0.11.0, npm/@types/uuid@10.0.0, npm/dotenv-expand@10.0.0, npm/dotenv@16.4.7, npm/openai@4.78.1, npm/typescript-transform-paths@3.5.3, npm/uuid@11.0.5

View full report↗︎

@samchon samchon merged commit a00d466 into master Jan 10, 2025
4 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant