@codemcp/workflows 6.13.4 → 6.14.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "description": "A Model Context Protocol server that acts as an intelligent conversation state manager and development guide for LLMs, featuring comprehensive long-term memory with persistent project artifacts",
5
5
  "type": "module",
6
6
  "main": "packages/cli/dist/index.js",
@@ -51,7 +51,7 @@
51
51
  "typescript": "^5.9.3",
52
52
  "vitepress": "^1.6.4",
53
53
  "vitest": "4.0.18",
54
- "@codemcp/workflows-core": "6.13.4"
54
+ "@codemcp/workflows-core": "6.14.0"
55
55
  },
56
56
  "lint-staged": {
57
57
  "*.{ts,js,mts,cts,tsx,jsx}": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-cli",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "description": "CLI tools for responsible-vibe development workflows",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-core",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-docs",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "description": "Documentation site for Responsible Vibe MCP",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-server",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "description": "MCP server for responsible-vibe development workflows - provides structured workflow guidance",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28754,7 +28754,7 @@ var WorkflowsPlugin = async (input) => {
28754
28754
  messageID: hookInput.messageID || output.message.id,
28755
28755
  type: "text",
28756
28756
  synthetic: true,
28757
- text: `No Active Workflow Use the \`start_development\` tool to begin.`
28757
+ 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.`
28758
28758
  });
28759
28759
  return;
28760
28760
  }
@@ -28771,7 +28771,7 @@ var WorkflowsPlugin = async (input) => {
28771
28771
  messageID: hookInput.messageID || output.message.id,
28772
28772
  type: "text",
28773
28773
  synthetic: true,
28774
- text: `No Active Workflow Use the \`start_development\` tool to begin.`
28774
+ 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.`
28775
28775
  });
28776
28776
  return;
28777
28777
  }
@@ -28965,7 +28965,7 @@ ${phaseInstructions}`
28965
28965
  * an error if the agent is not allowed to use workflows.
28966
28966
  */
28967
28967
  tool: await (async () => {
28968
- const wrap = (def) => ({
28968
+ const wrap = (toolName, def) => ({
28969
28969
  ...def,
28970
28970
  execute: async (args, ctx) => {
28971
28971
  const agent = ctx.agent;
@@ -28974,11 +28974,18 @@ ${phaseInstructions}`
28974
28974
  `Workflows are not enabled for this agent (${agent}). Set WORKFLOW_AGENTS environment variable to include this agent, or use a different agent.`
28975
28975
  );
28976
28976
  }
28977
+ await ctx.ask({
28978
+ permission: toolName,
28979
+ patterns: ["*"],
28980
+ always: ["*"],
28981
+ metadata: {}
28982
+ });
28977
28983
  return def.execute(args, ctx);
28978
28984
  }
28979
28985
  });
28980
28986
  return {
28981
28987
  start_development: wrap(
28988
+ "start_development",
28982
28989
  createStartDevelopmentTool(
28983
28990
  input.directory,
28984
28991
  getServerContext,
@@ -28986,6 +28993,7 @@ ${phaseInstructions}`
28986
28993
  )
28987
28994
  ),
28988
28995
  proceed_to_phase: wrap(
28996
+ "proceed_to_phase",
28989
28997
  createProceedToPhaseTool(
28990
28998
  getServerContext,
28991
28999
  setBufferedInstructions,
@@ -28993,11 +29001,16 @@ ${phaseInstructions}`
28993
29001
  () => lastKnownModel
28994
29002
  )
28995
29003
  ),
28996
- conduct_review: wrap(createConductReviewTool(getServerContext)),
29004
+ conduct_review: wrap(
29005
+ "conduct_review",
29006
+ createConductReviewTool(getServerContext)
29007
+ ),
28997
29008
  reset_development: wrap(
29009
+ "reset_development",
28998
29010
  createResetDevelopmentTool(input.directory, getServerContext)
28999
29011
  ),
29000
29012
  setup_project_docs: wrap(
29013
+ "setup_project_docs",
29001
29014
  await createSetupProjectDocsTool(input.directory, getServerContext)
29002
29015
  )
29003
29016
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-opencode",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "description": "OpenCode plugin for structured development workflows",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-opencode-tui",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "description": "OpenCode TUI sidebar plugin that displays the current responsible-vibe workflow phase and name",
5
5
  "main": "workflows-phase.tsx",
6
6
  "exports": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-visualizer",
3
- "version": "6.13.4",
3
+ "version": "6.14.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.ts",
6
6
  "module": "dist/index.ts",