Skip to content

Commit fbbd9d0

Browse files
committed
Fix plugin config
1 parent 7d73f2b commit fbbd9d0

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

README.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,14 @@ Add to your `opencode.json`:
2626
}
2727
```
2828

29-
### Plugin Options
29+
### Defaults
3030

31-
```json
32-
{
33-
"plugin": [
34-
["opencode-workflows", {
35-
"workflowDirs": [".opencode/workflows"],
36-
"dbPath": ".opencode/data/workflows.db",
37-
"verbose": false
38-
}]
39-
]
40-
}
41-
```
31+
The plugin uses the following defaults:
4232

43-
| Option | Type | Default | Description |
44-
|--------|------|---------|-------------|
45-
| `workflowDirs` | `string[]` | `[".opencode/workflows"]` | Directories to scan for workflow JSON files |
46-
| `dbPath` | `string` | `".opencode/data/workflows.db"` | Path to SQLite database for persisting workflow runs |
47-
| `verbose` | `boolean` | `false` | Enable verbose logging |
33+
| Setting | Default | Description |
34+
|---------|---------|-------------|
35+
| Workflow directory | `.opencode/workflows` | Directory scanned for workflow JSON files |
36+
| Database path | `.opencode/data/workflows.db` | SQLite database for persisting workflow runs |
4837

4938
### Persistence
5039

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-workflows",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "Workflow automation plugin for OpenCode using Mastra engine",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)