@codemcp/workflows-opencode 6.17.1 → 6.18.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 +3 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -28625,7 +28625,7 @@ function createStartDevelopmentTool(projectDir, getServerContext, setBufferedIns
28625
28625
  return tool({
28626
28626
  description: toolDescription,
28627
28627
  args: {
28628
- workflow: z9.string().describe("Workflow name"),
28628
+ workflow: z9.enum(buildWorkflowEnum(workflowNames)).describe(generateWorkflowDescription(availableWorkflows)),
28629
28629
  require_reviews: z9.boolean().optional().describe("Require reviews before phase transitions")
28630
28630
  },
28631
28631
  execute: async (args2, context3) => {
@@ -28991,7 +28991,7 @@ var WorkflowsPlugin = async (input) => {
28991
28991
  messageID: hookInput.messageID || output.message.id,
28992
28992
  type: "text",
28993
28993
  synthetic: true,
28994
- text: `No Active Workflow Detected. You MUST initiate a new development workflow before proceeding. Call the \`start_development\` tool to begin. Do NOT attempt any file edits or tool executions until a workflow is active.`
28994
+ text: `No Active Workflow Detected. You MUST initiate a new development workflow before proceeding. First, create a new branch with a meaningful name using a conventional commit prefix (e.g., \`feat/add-new-feature\`, \`fix/bug-description\`, \`refactor/improve-logic\`). Then call the \`start_development\` tool to begin. Do NOT attempt any file edits or tool executions until a workflow is active.`
28995
28995
  });
28996
28996
  return;
28997
28997
  }
@@ -29008,7 +29008,7 @@ var WorkflowsPlugin = async (input) => {
29008
29008
  messageID: hookInput.messageID || output.message.id,
29009
29009
  type: "text",
29010
29010
  synthetic: true,
29011
- text: `No Active Workflow Detected. You MUST initiate a new development workflow before proceeding. Call the \`start_development\` tool to begin. Do NOT attempt any file edits or tool executions until a workflow is active.`
29011
+ text: `No Active Workflow Detected. You MUST initiate a new development workflow before proceeding. First, create a new branch with a meaningful name using a conventional commit prefix (e.g., \`feat/add-new-feature\`, \`fix/bug-description\`, \`refactor/improve-logic\`). Then call the \`start_development\` tool to begin. Do NOT attempt any file edits or tool executions until a workflow is active.`
29012
29012
  });
29013
29013
  return;
29014
29014
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-opencode",
3
- "version": "6.17.1",
3
+ "version": "6.18.1",
4
4
  "description": "OpenCode plugin for structured development workflows",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "rimraf": "^6.0.1",
21
21
  "tsup": "^8.0.0",
22
22
  "vitest": "4.0.18",
23
- "@codemcp/workflows-core": "6.17.1",
24
- "@codemcp/workflows-server": "6.17.1"
23
+ "@codemcp/workflows-core": "6.18.1",
24
+ "@codemcp/workflows-server": "6.18.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@anthropic-ai/sdk": "*"