Commit Graph

2 Commits

Author SHA1 Message Date
Harry c2432893b1 feat: enhance build script for cross-platform CLI compilation
- Updated the build_dify_cli.sh script to support building the CLI for multiple platforms (darwin/amd64, darwin/arm64, linux/amd64, linux/arm64).
- Improved output handling by creating a dedicated output directory and providing clear build status messages.
- This update streamlines the build process and enhances usability for developers targeting different operating systems.
2026-01-12 21:02:02 +08:00
Harry f90cd8aa9a feat: add dify_cli BusyBox-style CLI tool
Add a new CLI tool that allows invoking Dify platform tools like bash commands.

Features:
- BusyBox-style symlink invocation (e.g., google_search --query "hello")
- Cobra-based command structure for dify init/execute/list
- Flag-style parameters (--param value) instead of JSON
- Supports tool schema from Dify plugin entities

Usage:
  dify init --env <file> --schemas <file>   # Initialize config and create symlinks
  dify execute --tool <name> [--args...]    # Execute tool directly
  dify list                                 # List available tools
  google_search --query "hello"             # Via symlink

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 11:09:02 +08:00