opencode-fs-plugin 1.5.0 → 1.5.1

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/INSTALL.md CHANGED
@@ -17,14 +17,14 @@ Add the registry package to the plugin list:
17
17
 
18
18
  ```jsonc
19
19
  {
20
- "plugins": ["opencode-fs-plugin@1.5.0"]
20
+ "plugins": ["opencode-fs-plugin@1.5.1"]
21
21
  }
22
22
  ```
23
23
 
24
24
  Or let the CLI install and configure it:
25
25
 
26
26
  ```bash
27
- opencode plugin add opencode-fs-plugin@1.5.0
27
+ opencode plugin add opencode-fs-plugin@1.5.1
28
28
  ```
29
29
 
30
30
  A bare `opencode-fs-plugin` follows `latest`. OpenCode installs it into its
@@ -36,7 +36,7 @@ Option A if you also want the skill.
36
36
  Download the release artifact and install it as a normal npm package:
37
37
 
38
38
  ```bash
39
- VERSION=1.5.0
39
+ VERSION=1.5.1
40
40
  curl -L -o "opencode-fs-plugin-${VERSION}.tgz" \
41
41
  "https://github.com/masterjg/opencode-fs-plugin/releases/download/v${VERSION}/opencode-fs-plugin-${VERSION}.tgz"
42
42
  npm install "./opencode-fs-plugin-${VERSION}.tgz"
@@ -64,20 +64,20 @@ OpenCode installs it from Git:
64
64
 
65
65
  ```jsonc
66
66
  {
67
- "plugins": ["github:masterjg/opencode-fs-plugin#v1.5.0"]
67
+ "plugins": ["github:masterjg/opencode-fs-plugin#v1.5.1"]
68
68
  }
69
69
  ```
70
70
 
71
- `opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.5.0'` installs the
71
+ `opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.5.1'` installs the
72
72
  same spec and writes the entry for you. The equivalent full URL is
73
- `git+https://github.com/masterjg/opencode-fs-plugin.git#v1.5.0`. A tag is
73
+ `git+https://github.com/masterjg/opencode-fs-plugin.git#v1.5.1`. A tag is
74
74
  checked for updates; use a full commit hash to pin it.
75
75
 
76
76
  Git plugins are installed under OpenCode's cache, so their package path is not
77
77
  stable. For a stable skill path, install the tag with npm instead:
78
78
 
79
79
  ```bash
80
- npm install "github:masterjg/opencode-fs-plugin#v1.5.0"
80
+ npm install "github:masterjg/opencode-fs-plugin#v1.5.1"
81
81
  ```
82
82
 
83
83
  Then configure `./node_modules/opencode-fs-plugin` in `plugins` as in the
@@ -174,9 +174,9 @@ and description until the model loads it.
174
174
  To let a coding agent install the plugin, use:
175
175
 
176
176
  ```text
177
- Install opencode-fs-plugin 1.5.0 with "npm install opencode-fs-plugin@1.5.0",
177
+ Install opencode-fs-plugin 1.5.1 with "npm install opencode-fs-plugin@1.5.1",
178
178
  or from its release tarball or the Git tag
179
- "github:masterjg/opencode-fs-plugin#v1.5.0". Add
179
+ "github:masterjg/opencode-fs-plugin#v1.5.1". Add
180
180
  "./node_modules/opencode-fs-plugin" to the plugins array in opencode.jsonc, add
181
181
  "./node_modules/opencode-fs-plugin/skills" to the skills array, then verify that
182
182
  the filesystem skill loads with the skill tool using id "filesystem".
package/README.md CHANGED
@@ -195,18 +195,18 @@ Add the registry package directly to the plugin list:
195
195
 
196
196
  ```jsonc
197
197
  {
198
- "plugins": ["opencode-fs-plugin@1.5.0"]
198
+ "plugins": ["opencode-fs-plugin@1.5.1"]
199
199
  }
200
200
  ```
201
201
 
202
- `opencode plugin add opencode-fs-plugin@1.5.0` installs it and writes the config
202
+ `opencode plugin add opencode-fs-plugin@1.5.1` installs it and writes the config
203
203
  entry. A bare `opencode-fs-plugin` follows the `latest` tag.
204
204
 
205
205
  OpenCode manages the package under its cache, so the path is not stable. If you
206
206
  also want the packaged skill, install it into a project instead:
207
207
 
208
208
  ```bash
209
- npm install opencode-fs-plugin@1.5.0
209
+ npm install opencode-fs-plugin@1.5.1
210
210
  ```
211
211
 
212
212
  ```jsonc
@@ -221,7 +221,7 @@ npm install opencode-fs-plugin@1.5.0
221
221
  Download the release tarball, then install it as a normal npm package:
222
222
 
223
223
  ```bash
224
- VERSION=1.5.0
224
+ VERSION=1.5.1
225
225
  curl -L -o "opencode-fs-plugin-${VERSION}.tgz" \
226
226
  "https://github.com/masterjg/opencode-fs-plugin/releases/download/v${VERSION}/opencode-fs-plugin-${VERSION}.tgz"
227
227
  npm install "./opencode-fs-plugin-${VERSION}.tgz"
@@ -250,20 +250,20 @@ OpenCode installs it from Git:
250
250
 
251
251
  ```jsonc
252
252
  {
253
- "plugins": ["github:masterjg/opencode-fs-plugin#v1.5.0"]
253
+ "plugins": ["github:masterjg/opencode-fs-plugin#v1.5.1"]
254
254
  }
255
255
  ```
256
256
 
257
- `opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.5.0'` installs the
257
+ `opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.5.1'` installs the
258
258
  same spec and writes the config entry. The equivalent full URL is
259
- `git+https://github.com/masterjg/opencode-fs-plugin.git#v1.5.0`. A tag is
259
+ `git+https://github.com/masterjg/opencode-fs-plugin.git#v1.5.1`. A tag is
260
260
  checked for updates; use a full commit hash to pin it.
261
261
 
262
262
  Git plugins are installed under OpenCode's cache, so their package path is not
263
263
  stable. If you also want the packaged skill, install with npm instead:
264
264
 
265
265
  ```bash
266
- npm install "github:masterjg/opencode-fs-plugin#v1.5.0"
266
+ npm install "github:masterjg/opencode-fs-plugin#v1.5.1"
267
267
  ```
268
268
 
269
269
  Then use `./node_modules/opencode-fs-plugin` in `plugins` and
package/SPEC.md CHANGED
@@ -53,7 +53,9 @@ the `fs` namespace (`tools.fs.cp`, direct `fs_cp`).
53
53
  - `dd` supports `bs`, `count`, `skip`, `seek`, and `status`; it does not
54
54
  implement conversions or `iflag`/`oflag`.
55
55
  - `cpio` reads and writes newc archives; `ar` uses GNU short names (max 16 bytes).
56
- Both reject traversal and unsafe member names.
56
+ Both reject traversal and unsafe member names. Like `tar`, create resolves
57
+ `paths` against the project; pass absolute sources plus `directory` for
58
+ relative member names.
57
59
 
58
60
  ## HTTP requests
59
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-fs-plugin",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "type": "module",
5
5
  "description": "OpenCode 2 plugin: Linux-style filesystem, text, and HTTP(S) tools under the fs namespace.",
6
6
  "repository": {
@@ -283,7 +283,8 @@ await tools.fs.http_request({
283
283
  - `fs.sed` supports `s<delim>pattern<delim>replacement<delim>flags` with `g`,
284
284
  `i` and `p`. It is not a full sed interpreter.
285
285
  - `fs.find` has no `-exec`; use `fs.rm`/`fs.trash` separately.
286
- - No `xz`, `zstd`, `7z`, `chown`, `chattr`, `dd`, or `rsync`.
286
+ - No `xz`, `zstd`, `7z`, `rar`, `chattr`, ACLs, xattrs, or `rsync`.
287
+ `chown` and `dd` are available; the SSH MCP covers transfers.
287
288
  - `fs.tail` has bounded `follow` only; unbounded `tail -f` is not supported.
288
289
  - `cp -a` preserves mode and timestamps but not ACLs or xattrs.
289
290
  - `fs.tar`/`fs.zip` create from `input` or stdin; extraction is file-backed.