@prevalentware/opencode-goal-plugin 0.1.59 → 0.1.60

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/server.js +8 -1
  2. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -3004,6 +3004,13 @@ var planToolArgs = {
3004
3004
  revisit_evidence: z2.string().trim().min(1).max(2000).optional()
3005
3005
  };
3006
3006
  var PlanToolSchema = z2.object(planToolArgs).strict();
3007
+ var planToolInputSchema = z2.toJSONSchema(PlanToolSchema, {
3008
+ io: "input",
3009
+ unrepresentable: "any"
3010
+ });
3011
+ function planToolInput() {
3012
+ return JSON.parse(JSON.stringify(planToolInputSchema));
3013
+ }
3007
3014
  async function planFromTool(args, context) {
3008
3015
  const input = PlanToolSchema.parse(args);
3009
3016
  return JSON.stringify({
@@ -4948,7 +4955,7 @@ function goalToolsV2(services) {
4948
4955
  {
4949
4956
  name: "update_goal_plan",
4950
4957
  description: services.locale === "zh-CN" ? "\u4FDD\u5B58\u76EE\u6807\u7684\u6574\u4F53\u8BA1\u5212\u3001\u9636\u6BB5\u3001\u4EFB\u52A1\u548C\u9A8C\u8BC1\u8BC1\u636E\u3002\u4FDD\u6301\u6574\u4F53\u76EE\u6807\u4E0D\u53D8\uFF1B\u4F7F\u7528 get_goal \u8FD4\u56DE\u7684\u76EE\u6807 ID \u548C\u8BA1\u5212\u7248\u672C\u3002" : "Persist the overall plan, phases, tasks, verification evidence and decisions. Preserve the goal scope; use the goal ID and planRevision from get_goal. Completed work cannot be silently reopened or removed.",
4951
- input: v2ObjectSchema(planToolArgs),
4958
+ input: planToolInput(),
4952
4959
  options: { codemode: false },
4953
4960
  execute: async (args, context) => ({ content: await planFromTool(args, context) })
4954
4961
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prevalentware/opencode-goal-plugin",
3
- "version": "0.1.59",
3
+ "version": "0.1.60",
4
4
  "description": "OpenCode goal plugin that adds Codex-style long-running goal mode, /goal commands, persistence, and TUI status for AI coding agents.",
5
5
  "keywords": [
6
6
  "opencode",