opencode-pilot 0.15.1 → 0.15.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.
@@ -295,16 +295,19 @@ async function configCommand() {
295
295
  const name = source.name || "<unnamed>";
296
296
  const tool = source.tool;
297
297
 
298
- if (!tool || !tool.mcp || !tool.name) {
299
- console.log(` ✗ ${name}: missing tool.mcp or tool.name`);
298
+ if (!tool || (!tool.command && (!tool.mcp || !tool.name))) {
299
+ console.log(` ✗ ${name}: missing tool.command or tool.mcp/tool.name`);
300
300
  continue;
301
301
  }
302
302
 
303
+ const toolDesc = tool.command
304
+ ? `cli: ${Array.isArray(tool.command) ? tool.command[0] : tool.command.split(' ')[0]}`
305
+ : `${tool.mcp}/${tool.name}`;
303
306
  const itemId = source.item?.id;
304
307
  if (!itemId) {
305
- console.log(` ⚠ ${name}: ${tool.mcp}/${tool.name} (no item.id template)`);
308
+ console.log(` ⚠ ${name}: ${toolDesc} (no item.id template)`);
306
309
  } else {
307
- console.log(` ✓ ${name}: ${tool.mcp}/${tool.name}`);
310
+ console.log(` ✓ ${name}: ${toolDesc}`);
308
311
  }
309
312
 
310
313
  // Show prompt and agent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-pilot",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "type": "module",
5
5
  "main": "plugin/index.js",
6
6
  "description": "Automation daemon for OpenCode - polls for work and spawns sessions",