Skip to content

Commit eefbd2a

Browse files
committed
Make 'no active workflow' message more explicit and directive
1 parent 886a96c commit eefbd2a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/opencode-plugin/src/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export const WorkflowsPlugin: Plugin = async (
377377
messageID: hookInput.messageID || output.message.id,
378378
type: 'text' as const,
379379
synthetic: true,
380-
text: `No Active Workflow Use the \`start_development\` tool to begin.`,
380+
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.`,
381381
} as (typeof output.parts)[0]);
382382
return;
383383
}
@@ -396,7 +396,7 @@ export const WorkflowsPlugin: Plugin = async (
396396
messageID: hookInput.messageID || output.message.id,
397397
type: 'text' as const,
398398
synthetic: true,
399-
text: `No Active Workflow Use the \`start_development\` tool to begin.`,
399+
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.`,
400400
} as (typeof output.parts)[0]);
401401
return;
402402
}

0 commit comments

Comments
 (0)