opencode-fs-plugin 1.0.1 → 1.0.2
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 +9 -9
- package/README.md +11 -10
- package/package.json +1 -1
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.0.
|
|
20
|
+
"plugins": ["opencode-fs-plugin@1.0.2"]
|
|
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.0.
|
|
27
|
+
opencode plugin add opencode-fs-plugin@1.0.2
|
|
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.0.
|
|
39
|
+
VERSION=1.0.2
|
|
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.0.
|
|
67
|
+
"plugins": ["github:masterjg/opencode-fs-plugin#v1.0.2"]
|
|
68
68
|
}
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
`opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.0.
|
|
71
|
+
`opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.0.2'` 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.0.
|
|
73
|
+
`git+https://github.com/masterjg/opencode-fs-plugin.git#v1.0.2`. 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.0.
|
|
80
|
+
npm install "github:masterjg/opencode-fs-plugin#v1.0.2"
|
|
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.0.
|
|
177
|
+
Install opencode-fs-plugin 1.0.2 with "npm install opencode-fs-plugin@1.0.2",
|
|
178
178
|
or from its release tarball or the Git tag
|
|
179
|
-
"github:masterjg/opencode-fs-plugin#v1.0.
|
|
179
|
+
"github:masterjg/opencode-fs-plugin#v1.0.2". 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
|
@@ -72,18 +72,18 @@ Add the registry package directly to the plugin list:
|
|
|
72
72
|
|
|
73
73
|
```jsonc
|
|
74
74
|
{
|
|
75
|
-
"plugins": ["opencode-fs-plugin@1.0.
|
|
75
|
+
"plugins": ["opencode-fs-plugin@1.0.2"]
|
|
76
76
|
}
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
`opencode plugin add opencode-fs-plugin@1.0.
|
|
79
|
+
`opencode plugin add opencode-fs-plugin@1.0.2` installs it and writes the config
|
|
80
80
|
entry. A bare `opencode-fs-plugin` follows the `latest` tag.
|
|
81
81
|
|
|
82
82
|
OpenCode manages the package under its cache, so the path is not stable. If you
|
|
83
83
|
also want the packaged skill, install it into a project instead:
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
|
-
npm install opencode-fs-plugin@1.0.
|
|
86
|
+
npm install opencode-fs-plugin@1.0.2
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
```jsonc
|
|
@@ -98,7 +98,7 @@ npm install opencode-fs-plugin@1.0.1
|
|
|
98
98
|
Download the release tarball, then install it as a normal npm package:
|
|
99
99
|
|
|
100
100
|
```bash
|
|
101
|
-
VERSION=1.0.
|
|
101
|
+
VERSION=1.0.2
|
|
102
102
|
curl -L -o "opencode-fs-plugin-${VERSION}.tgz" \
|
|
103
103
|
"https://github.com/masterjg/opencode-fs-plugin/releases/download/v${VERSION}/opencode-fs-plugin-${VERSION}.tgz"
|
|
104
104
|
npm install "./opencode-fs-plugin-${VERSION}.tgz"
|
|
@@ -127,20 +127,20 @@ OpenCode installs it from Git:
|
|
|
127
127
|
|
|
128
128
|
```jsonc
|
|
129
129
|
{
|
|
130
|
-
"plugins": ["github:masterjg/opencode-fs-plugin#v1.0.
|
|
130
|
+
"plugins": ["github:masterjg/opencode-fs-plugin#v1.0.2"]
|
|
131
131
|
}
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
`opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.0.
|
|
134
|
+
`opencode plugin add 'github:masterjg/opencode-fs-plugin#v1.0.2'` installs the
|
|
135
135
|
same spec and writes the config entry. The equivalent full URL is
|
|
136
|
-
`git+https://github.com/masterjg/opencode-fs-plugin.git#v1.0.
|
|
136
|
+
`git+https://github.com/masterjg/opencode-fs-plugin.git#v1.0.2`. A tag is
|
|
137
137
|
checked for updates; use a full commit hash to pin it.
|
|
138
138
|
|
|
139
139
|
Git plugins are installed under OpenCode's cache, so their package path is not
|
|
140
140
|
stable. If you also want the packaged skill, install with npm instead:
|
|
141
141
|
|
|
142
142
|
```bash
|
|
143
|
-
npm install "github:masterjg/opencode-fs-plugin#v1.0.
|
|
143
|
+
npm install "github:masterjg/opencode-fs-plugin#v1.0.2"
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
Then use `./node_modules/opencode-fs-plugin` in `plugins` and
|
|
@@ -258,8 +258,9 @@ when the version is new, and creates a GitHub release tagged `v<version>` when
|
|
|
258
258
|
that release does not exist yet. Bump the version in `package.json` to publish a
|
|
259
259
|
new release; an unchanged version is skipped with a notice.
|
|
260
260
|
|
|
261
|
-
The npm step
|
|
262
|
-
|
|
261
|
+
The npm step uses trusted publishing (OIDC); no npm token is stored. The
|
|
262
|
+
package's trusted publisher must authorize workflow `release.yml` in
|
|
263
|
+
`masterjg/opencode-fs-plugin`.
|
|
263
264
|
|
|
264
265
|
## License
|
|
265
266
|
|