opencode-tui-image-clipboard-fix 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -9
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -2,21 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
修复 OpenCode TUI 中图片粘贴和拖入的问题:自动将图片保存为本地文件,并替换 `[Image N]` 占位符为实际文件路径。
|
|
4
4
|
|
|
5
|
-
## 🚀
|
|
5
|
+
## 🚀 安装
|
|
6
|
+
|
|
7
|
+
1. 全局安装插件:
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
|
|
10
|
+
npm install -g opencode-tui-image-clipboard-fix
|
|
9
11
|
```
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## 📦 手动安装
|
|
14
|
-
|
|
15
|
-
在 `~/.config/opencode/opencode.json` 的 `plugin` 数组中添加:
|
|
13
|
+
2. 在 `~/.config/opencode/opencode.json` 的 `plugin` 数组中添加:
|
|
16
14
|
|
|
17
15
|
```json
|
|
18
16
|
{
|
|
19
|
-
"plugin": ["
|
|
17
|
+
"plugin": ["opencode-tui-image-clipboard-fix"]
|
|
20
18
|
}
|
|
21
19
|
```
|
|
22
20
|
|
|
@@ -82,7 +80,7 @@ curl -fsSL https://raw.githubusercontent.com/A11thwn/opencode-tui-image-clipboar
|
|
|
82
80
|
## 🔗 相关链接
|
|
83
81
|
|
|
84
82
|
- [OpenCode](https://opencode.ai)
|
|
85
|
-
- [GitHub Issues](https://github.com/
|
|
83
|
+
- [GitHub Issues](https://github.com/chanliang/opencode-tui-image-clipboard-fix/issues)
|
|
86
84
|
|
|
87
85
|
## 📄 License
|
|
88
86
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-tui-image-clipboard-fix",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"displayName": "Image Clipboard Fix",
|
|
4
5
|
"description": "OpenCode TUI plugin to fix image paste/drag issues - saves images locally and replaces [Image N] with file paths",
|
|
5
6
|
"main": "lib/index.js",
|
|
6
7
|
"types": "lib/index.d.ts",
|