@eduardo191labs/opencode-actions 0.1.0 → 0.1.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/README.md +5 -5
- package/dist/detect.js +1 -1
- package/dist/install.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ MCP tools to the agent. Reviews post inline `suggestion` blocks the author appli
|
|
|
6
6
|
click; the bot never pushes during a review.
|
|
7
7
|
|
|
8
8
|
```yaml
|
|
9
|
-
- uses: eduardo191-star/opencode-actions@
|
|
9
|
+
- uses: eduardo191-star/opencode-actions@v0
|
|
10
10
|
with:
|
|
11
11
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
12
12
|
config-repo: my-org/bot-config
|
|
@@ -155,7 +155,7 @@ jobs:
|
|
|
155
155
|
steps:
|
|
156
156
|
- uses: actions/checkout@v4
|
|
157
157
|
with: { fetch-depth: 0 }
|
|
158
|
-
- uses: eduardo191-star/opencode-actions@
|
|
158
|
+
- uses: eduardo191-star/opencode-actions@v0
|
|
159
159
|
with:
|
|
160
160
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
161
161
|
config-repo: my-org/bot-config
|
|
@@ -183,7 +183,7 @@ jobs:
|
|
|
183
183
|
with:
|
|
184
184
|
ref: ${{ github.event.issue.pull_request && format('refs/pull/{0}/head', github.event.issue.number) || github.event.repository.default_branch }}
|
|
185
185
|
fetch-depth: 0
|
|
186
|
-
- uses: eduardo191-star/opencode-actions@
|
|
186
|
+
- uses: eduardo191-star/opencode-actions@v0
|
|
187
187
|
with:
|
|
188
188
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
189
189
|
config-repo: my-org/bot-config
|
|
@@ -211,7 +211,7 @@ jobs:
|
|
|
211
211
|
with:
|
|
212
212
|
ref: ${{ github.event.workflow_run.head_branch }}
|
|
213
213
|
fetch-depth: 0
|
|
214
|
-
- uses: eduardo191-star/opencode-actions@
|
|
214
|
+
- uses: eduardo191-star/opencode-actions@v0
|
|
215
215
|
with:
|
|
216
216
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
217
217
|
config-repo: my-org/bot-config
|
|
@@ -235,7 +235,7 @@ When `config-repo` is **private**, pass `config-token` with a token that can rea
|
|
|
235
235
|
### One repository
|
|
236
236
|
|
|
237
237
|
```yaml
|
|
238
|
-
- uses: eduardo191-star/opencode-actions@
|
|
238
|
+
- uses: eduardo191-star/opencode-actions@v0
|
|
239
239
|
with:
|
|
240
240
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
241
241
|
config-repo: my-org/bot-config
|
package/dist/detect.js
CHANGED
|
@@ -102,7 +102,7 @@ export async function detect(github, ref) {
|
|
|
102
102
|
return { repo: info, stack, workflows, installed };
|
|
103
103
|
}
|
|
104
104
|
export function workflowTemplates(options) {
|
|
105
|
-
const actionRef = options.actionRef ?? "
|
|
105
|
+
const actionRef = options.actionRef ?? "v0";
|
|
106
106
|
const configRef = options.configRef ?? "main";
|
|
107
107
|
const model = options.model ?? "free-pi/deepseek-v4.1-flash#max";
|
|
108
108
|
const plugins = options.plugins ?? "@eduardo191labs/opencode-free-pi@latest";
|
package/dist/install.js
CHANGED
|
@@ -187,7 +187,7 @@ function parseArgs(argv) {
|
|
|
187
187
|
configRef: "main",
|
|
188
188
|
model: "free-pi/glm-5.3-flash",
|
|
189
189
|
plugins: "@eduardo191labs/opencode-free-pi@latest",
|
|
190
|
-
actionRef: "
|
|
190
|
+
actionRef: "v0",
|
|
191
191
|
token: process.env.GITHUB_TOKEN ?? process.env.GH_TOKEN ?? "",
|
|
192
192
|
secretName: "FREEPI_JWT",
|
|
193
193
|
secretValue: process.env.FREEPI_JWT,
|
|
@@ -281,7 +281,7 @@ Flags:
|
|
|
281
281
|
--config-ref <ref> Configuration ref (default: main)
|
|
282
282
|
--model <id> Model for the workflows (default: free-pi/glm-5.3-flash)
|
|
283
283
|
--plugins <list> Plugins installed in the workflows
|
|
284
|
-
--action-ref <ref> Tag of opencode-actions to use (default:
|
|
284
|
+
--action-ref <ref> Tag of opencode-actions to use (default: v0)
|
|
285
285
|
--secret-name <name> Secret to copy (default: FREEPI_JWT)
|
|
286
286
|
--secret-value <text> Secret value; defaults to $FREEPI_JWT
|
|
287
287
|
--exclude <name> Repository to skip (repeatable)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@eduardo191labs/opencode-actions",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "GitHub Copilot-equivalent bot for OpenCode: PRs, reviews, issues, workflow autofix, MCP tools and comment commands.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"ai-agent"
|
|
21
21
|
],
|
|
22
22
|
"bin": {
|
|
23
|
-
"opencode-actions": "
|
|
24
|
-
"opencode-actions-mcp": "
|
|
25
|
-
"opencode-actions-install": "
|
|
23
|
+
"opencode-actions": "dist/cli.js",
|
|
24
|
+
"opencode-actions-mcp": "dist/mcp-server.js",
|
|
25
|
+
"opencode-actions-install": "dist/install.js"
|
|
26
26
|
},
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|