opencode-conductor-plugin 1.18.0 → 1.19.0

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.
Files changed (2) hide show
  1. package/dist/index.js +23 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -78,6 +78,7 @@ const ConductorPlugin = async (ctx) => {
78
78
  console.log("[Conductor] All components ready. Injecting config...");
79
79
  return {
80
80
  tool: {
81
+ ...(ctx.client.tool || {}),
81
82
  "conductor_delegate": createDelegationTool(ctx),
82
83
  "conductor_bg_task": createBackgroundTask(backgroundManager),
83
84
  "conductor_bg_output": createBackgroundOutput(backgroundManager),
@@ -122,10 +123,17 @@ const ConductorPlugin = async (ctx) => {
122
123
  mode: "primary",
123
124
  prompt: conductorPrompt,
124
125
  permission: {
126
+ "read": {
127
+ "*": "allow",
128
+ "*.env": "deny",
129
+ "*.env.*": "deny",
130
+ "*.env.example": "allow"
131
+ },
125
132
  bash: "allow",
126
133
  edit: "allow",
127
134
  webfetch: "allow",
128
135
  external_directory: "deny",
136
+ list: "allow",
129
137
  },
130
138
  tools: {
131
139
  bash: true,
@@ -145,10 +153,25 @@ const ConductorPlugin = async (ctx) => {
145
153
  mode: "primary",
146
154
  prompt: implementerPrompt,
147
155
  permission: {
156
+ "read": {
157
+ "*": "allow",
158
+ "*.env": "deny",
159
+ "*.env.*": "deny",
160
+ "*.env.example": "allow"
161
+ },
148
162
  bash: "allow",
149
163
  edit: "allow",
150
164
  webfetch: "allow",
151
165
  external_directory: "deny",
166
+ list: "allow",
167
+ "conductor_delegate": "allow",
168
+ "conductor_bg_task": "allow",
169
+ "conductor_bg_output": "allow",
170
+ "conductor_bg_cancel": "allow",
171
+ grep: "allow",
172
+ glob: "allow",
173
+ todowrite: "allow",
174
+ todoread: "allow",
152
175
  },
153
176
  tools: {
154
177
  bash: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-conductor-plugin",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "Conductor plugin for OpenCode",
5
5
  "type": "module",
6
6
  "repository": "derekbar90/opencode-conductor",