opencode-froggy 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -149,7 +149,7 @@ export default Plugin.define({
149
149
  if ("command" in action) {
150
150
  const { name, args = "" } = typeof action.command === "string" ? { name: action.command } : action.command;
151
151
  log(`${prefix} executing command`, { command: name, args });
152
- await ctx.session.command({ sessionID, command: name, text: args });
152
+ await ctx.session.command({ sessionID, name, text: args });
153
153
  }
154
154
  else if ("tool" in action) {
155
155
  log(`${prefix} executing tool`, { tool: action.tool.name });
@@ -264,7 +264,7 @@ export default Plugin.define({
264
264
  id: skill.name,
265
265
  name: skill.name,
266
266
  description: skill.description || undefined,
267
- location: skill.path,
267
+ path: skill.path,
268
268
  content: skill.body,
269
269
  });
270
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-froggy",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "OpenCode plugin with a hook layer (tool.before.*, session.idle...), agents (code-reviewer, doc-writer), and commands (/review-pr, /commit)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "url": "https://github.com/smartfrog/opencode-froggy"
50
50
  },
51
51
  "dependencies": {
52
- "@opencode/plugin": "^2.0.2",
52
+ "@opencode/plugin": "^2.0.5",
53
53
  "js-yaml": "^4.1.0",
54
54
  "pdfjs-dist": "^4.8.69",
55
55
  "viem": "^2.44.1"