UNPKG

@plastichub/osr-ai-tools

Version:

CLI and library for LLM tools

27 lines (19 loc) 1.02 kB
I've created a JSON file that outlines the tool calls needed for setting up a TypeScript boilerplate project. The file follows the sequence you specified and includes: 1. `modify_project_files` - Creates all necessary configuration and source files: - package.json - tsconfig.json - .eslintrc - src/index.ts - README.md 2. `install_dependency` - Installs essential TypeScript dependencies: - typescript - @types/node - eslint - @typescript-eslint/parser - @typescript-eslint/eslint-plugin 3. `execute_command` - Runs the TypeScript initialization command 4. Git setup: - `init_repository` - Initializes the git repository - `commit_files_git` - Commits all created files Each tool call includes comments explaining its purpose, and the file contents are truncated with {...} for brevity. The JSON structure allows for easy parsing and execution of these steps in sequence. Would you like me to expand on any particular aspect of this setup or modify any of the tool calls?