Skip to content

v0.1.1 - Dynamic Tool Loading

Choose a tag to compare

@ziggle-dev ziggle-dev released this 25 Jul 12:43
· 120 commits to main since this release
feca011

🚀 Release v0.1.1 - All 14 Built-in Tools

✨ Major Improvements

  • All 14 built-in tools now work in packaged version - Fixed bundling issues with static imports
  • Improved build process - Tools are now properly compiled and included in the package
  • Dynamic Tool Loading - Tools can be loaded from ~/.clanker/tools/
  • Fixed async tool loading with waitForToolsToLoad() method
  • Switched to tsup for better bundling

🛠️ Built-in Tools Included (14 total)

  1. bash - Execute bash commands
  2. create_todo_list - Create todo lists for planning
  3. input - Get user input via dialogs
  4. list_todos - List current todos
  5. list - List files and directories
  6. multi_edit - Advanced file editing with order-invariant algorithm
  7. pwd - Get current working directory
  8. read_file - Read files before editing
  9. remove - Delete files with confirmation
  10. search - Search files using ripgrep
  11. summarize - Intelligently summarize text content
  12. update_todo_list - Update existing todos
  13. view_file - View file contents with token limits
  14. write_to_file - Write complete content to files

🐛 Bug Fixes

  • Fixed ES module imports for prismjs components
  • Fixed dynamic tool loading in bundled environments
  • Fixed async tool loading race conditions
  • Fixed .clank → .clanker typo in tool loader
  • Fixed import.meta.url issues in bundled environments

🔧 Custom Tool Development

Users can create custom tools by adding JavaScript files to ~/.clanker/tools/ following this format:

module.exports = {
  id: 'my_tool',
  name: 'My Tool',
  description: 'What this tool does',
  execute: async (args) => {
    // Tool logic here
    return {
      success: true,
      output: 'Result'
    };
  },
  arguments: [
    {
      name: 'arg1',
      type: 'string',
      description: 'Description',
      required: true
    }
  ]
};

📦 Installation

npm install -g @ziggler/clanker

🔧 Development

npm run dev   # Development mode
npm run build # Build for production