📂 Update .gitignore and README.md for better project configuration and documentation

This commit is contained in:
2026-04-22 22:26:14 +08:00
parent 6d1aa853d3
commit 81570d0638
5 changed files with 262 additions and 0 deletions

View File

@@ -1,2 +1,12 @@
# opencode-custom-tool-demo
> https://opencode.ai/docs/zh-cn/custom-tools/
> - 本地定义:将工具文件放在项目的 .opencode/tools/ 目录中。
> - 全局定义:将工具文件放在 ~/.config/opencode/tools/ 中。
Install tool:
```shell
mkdir -p .opencode/tools/
ln -s demo.ts .opencode/tools/demo.ts
```