@codemcp/workflows 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows",
3
- "version": "6.17.1",
3
+ "version": "6.18.1",
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.17.1"
54
+ "@codemcp/workflows-core": "6.18.1"
55
55
  },
56
56
  "lint-staged": {
57
57
  "*.{ts,js,mts,cts,tsx,jsx}": [
@@ -14399,8 +14399,10 @@ export {
14399
14399
  SetupProjectDocsHandler,
14400
14400
  StartDevelopmentHandler,
14401
14401
  WhatsNextHandler,
14402
+ buildWorkflowEnum,
14402
14403
  createResponsibleVibeMCPServer,
14403
14404
  createToolRegistry,
14405
+ generateWorkflowDescription,
14404
14406
  main as startMcpServer
14405
14407
  };
14406
14408
  /*! Bundled license information:
@@ -10,7 +10,7 @@ var args = process.argv.slice(2);
10
10
  if (args.length === 0) {
11
11
  const isLocal = existsSync(join(__dirname, "../../mcp-server/dist/index.js"));
12
12
  if (isLocal) {
13
- const { startMcpServer } = await import("./dist-IDYENBDB.js");
13
+ const { startMcpServer } = await import("./dist-T6Q2II5X.js");
14
14
  await startMcpServer();
15
15
  } else {
16
16
  const mcpServerModule = "@codemcp/workflows-server";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-cli",
3
- "version": "6.17.1",
3
+ "version": "6.18.1",
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.17.1",
3
+ "version": "6.18.1",
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.17.1",
3
+ "version": "6.18.1",
4
4
  "description": "Documentation site for Responsible Vibe MCP",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -821,6 +821,33 @@ declare class DefaultToolRegistry implements ToolRegistry {
821
821
  */
822
822
  declare function createToolRegistry(): ToolRegistry;
823
823
 
824
+ /**
825
+ * Server Helper Functions
826
+ *
827
+ * Common utility functions used across the server implementation.
828
+ * These are pure functions that don't depend on server state.
829
+ */
830
+
831
+ /**
832
+ * Extract workflow names for enum generation
833
+ * Used by server configuration to build Zod schemas
834
+ */
835
+ declare function buildWorkflowEnum(workflowNames: string[]): [string, ...string[]];
836
+ /**
837
+ * Generate workflow description for tool schemas
838
+ */
839
+ declare function generateWorkflowDescription(workflows: Array<{
840
+ name: string;
841
+ displayName: string;
842
+ description: string;
843
+ metadata?: {
844
+ complexity?: 'low' | 'medium' | 'high';
845
+ bestFor?: string[];
846
+ useCases?: string[];
847
+ examples?: string[];
848
+ };
849
+ }>): string;
850
+
824
851
  /**
825
852
  * Factory function to create a server with real components
826
853
  */
@@ -1050,4 +1077,4 @@ declare class BeadsPlugin implements IPlugin {
1050
1077
  */
1051
1078
  declare function main(): Promise<void>;
1052
1079
 
1053
- export { BaseToolHandler, BeadsPlugin, type ConductReviewArgs, ConductReviewHandler, type ConductReviewResult, ConversationRequiredToolHandler, DefaultToolRegistry, type GetToolInfoArgs, GetToolInfoHandler, type GetToolInfoResponse, type HandlerResult, ListWorkflowsHandler, type NoIdeaArgs, NoIdeaHandler, type NoIdeaResponse, PluginRegistry, type ProceedToPhaseArgs, ProceedToPhaseHandler, type ProceedToPhaseResult, type ResetDevelopmentArgs, ResetDevelopmentHandler, type ResetDevelopmentResult, ResponsibleVibeMCPServer, type ResumeWorkflowArgs, ResumeWorkflowHandler, type ResumeWorkflowResult, type ServerContext, type SessionMetadata, type SetupProjectDocsArgs, SetupProjectDocsHandler, type SetupProjectDocsResult, type StartDevelopmentArgs, StartDevelopmentHandler, type StartDevelopmentResult, type WhatsNextArgs, WhatsNextHandler, type WhatsNextResult, createResponsibleVibeMCPServer, createToolRegistry, main as startMcpServer };
1080
+ export { BaseToolHandler, BeadsPlugin, type ConductReviewArgs, ConductReviewHandler, type ConductReviewResult, ConversationRequiredToolHandler, DefaultToolRegistry, type GetToolInfoArgs, GetToolInfoHandler, type GetToolInfoResponse, type HandlerResult, ListWorkflowsHandler, type NoIdeaArgs, NoIdeaHandler, type NoIdeaResponse, PluginRegistry, type ProceedToPhaseArgs, ProceedToPhaseHandler, type ProceedToPhaseResult, type ResetDevelopmentArgs, ResetDevelopmentHandler, type ResetDevelopmentResult, ResponsibleVibeMCPServer, type ResumeWorkflowArgs, ResumeWorkflowHandler, type ResumeWorkflowResult, type ServerContext, type SessionMetadata, type SetupProjectDocsArgs, SetupProjectDocsHandler, type SetupProjectDocsResult, type StartDevelopmentArgs, StartDevelopmentHandler, type StartDevelopmentResult, type WhatsNextArgs, WhatsNextHandler, type WhatsNextResult, buildWorkflowEnum, createResponsibleVibeMCPServer, createToolRegistry, generateWorkflowDescription, main as startMcpServer };
@@ -10474,8 +10474,10 @@ export {
10474
10474
  SetupProjectDocsHandler,
10475
10475
  StartDevelopmentHandler,
10476
10476
  WhatsNextHandler,
10477
+ buildWorkflowEnum,
10477
10478
  createResponsibleVibeMCPServer,
10478
10479
  createToolRegistry,
10480
+ generateWorkflowDescription,
10479
10481
  main as startMcpServer
10480
10482
  };
10481
10483
  /*! Bundled license information:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-server",
3
- "version": "6.17.1",
3
+ "version": "6.18.1",
4
4
  "description": "MCP server for responsible-vibe development workflows - provides structured workflow guidance",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -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
  }
@@ -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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemcp/workflows-opencode-tui",
3
- "version": "6.17.1",
3
+ "version": "6.18.1",
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.17.1",
3
+ "version": "6.18.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.ts",
6
6
  "module": "dist/index.ts",