@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 +2 -2
- package/packages/cli/dist/{dist-IDYENBDB.js → dist-T6Q2II5X.js} +2 -0
- package/packages/cli/dist/index.js +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/core/package.json +1 -1
- package/packages/docs/package.json +1 -1
- package/packages/mcp-server/dist/index.d.ts +28 -1
- package/packages/mcp-server/dist/index.js +2 -0
- package/packages/mcp-server/package.json +1 -1
- package/packages/opencode-plugin/dist/index.js +3 -3
- package/packages/opencode-plugin/package.json +1 -1
- package/packages/opencode-tui-plugin/package.json +1 -1
- package/packages/visualizer/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemcp/workflows",
|
|
3
|
-
"version": "6.
|
|
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.
|
|
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-
|
|
13
|
+
const { startMcpServer } = await import("./dist-T6Q2II5X.js");
|
|
14
14
|
await startMcpServer();
|
|
15
15
|
} else {
|
|
16
16
|
const mcpServerModule = "@codemcp/workflows-server";
|
|
@@ -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:
|
|
@@ -28625,7 +28625,7 @@ function createStartDevelopmentTool(projectDir, getServerContext, setBufferedIns
|
|
|
28625
28625
|
return tool({
|
|
28626
28626
|
description: toolDescription,
|
|
28627
28627
|
args: {
|
|
28628
|
-
workflow: z9.
|
|
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.
|
|
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.
|
|
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
|
}
|