@agiflowai/scaffold-mcp 1.0.18 → 1.0.19

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/dist/cli.cjs CHANGED
@@ -12,7 +12,7 @@ let __agiflowai_coding_agent_bridge = require("@agiflowai/coding-agent-bridge");
12
12
  let __agiflowai_hooks_adapter = require("@agiflowai/hooks-adapter");
13
13
 
14
14
  //#region package.json
15
- var version = "1.0.17";
15
+ var version = "1.0.18";
16
16
 
17
17
  //#endregion
18
18
  //#region src/commands/boilerplate.ts
@@ -828,7 +828,7 @@ const hookCommand = new commander.Command("hook").description("Execute scaffold
828
828
  }
829
829
  const { agent, hookMethod } = (0, __agiflowai_hooks_adapter.parseHookType)(options.type);
830
830
  if (agent === __agiflowai_coding_agent_bridge.CLAUDE_CODE) {
831
- const useScaffoldMethodModule = await Promise.resolve().then(() => require("./useScaffoldMethod-DzC43Rye.cjs"));
831
+ const useScaffoldMethodModule = await Promise.resolve().then(() => require("./useScaffoldMethod-AuOga8Hc.cjs"));
832
832
  const claudeCallbacks = [];
833
833
  if (useScaffoldMethodModule.UseScaffoldMethodHook) {
834
834
  const hookInstance = new useScaffoldMethodModule.UseScaffoldMethodHook();
package/dist/cli.mjs CHANGED
@@ -11,7 +11,7 @@ import { CLAUDE_CODE, GEMINI_CLI } from "@agiflowai/coding-agent-bridge";
11
11
  import { ClaudeCodeAdapter, GeminiCliAdapter, parseHookType } from "@agiflowai/hooks-adapter";
12
12
 
13
13
  //#region package.json
14
- var version = "1.0.17";
14
+ var version = "1.0.18";
15
15
 
16
16
  //#endregion
17
17
  //#region src/commands/boilerplate.ts
@@ -827,7 +827,7 @@ const hookCommand = new Command("hook").description("Execute scaffold hooks for
827
827
  }
828
828
  const { agent, hookMethod } = parseHookType(options.type);
829
829
  if (agent === CLAUDE_CODE) {
830
- const useScaffoldMethodModule = await import("./useScaffoldMethod-B6VxGENG.mjs");
830
+ const useScaffoldMethodModule = await import("./useScaffoldMethod-BhbJIvQG.mjs");
831
831
  const claudeCallbacks = [];
832
832
  if (useScaffoldMethodModule.UseScaffoldMethodHook) {
833
833
  const hookInstance = new useScaffoldMethodModule.UseScaffoldMethodHook();
@@ -71,10 +71,10 @@ var UseScaffoldMethodHook = class {
71
71
  await executionLog.logExecution({
72
72
  filePath,
73
73
  operation: "list-scaffold-methods",
74
- decision: __agiflowai_hooks_adapter.DECISION_DENY
74
+ decision: __agiflowai_hooks_adapter.DECISION_ALLOW
75
75
  });
76
76
  return {
77
- decision: __agiflowai_hooks_adapter.DECISION_DENY,
77
+ decision: __agiflowai_hooks_adapter.DECISION_ALLOW,
78
78
  message: "No scaffolding methods are available for this project template. You should write new files directly using the Write tool."
79
79
  };
80
80
  }
@@ -68,10 +68,10 @@ var UseScaffoldMethodHook = class {
68
68
  await executionLog.logExecution({
69
69
  filePath,
70
70
  operation: "list-scaffold-methods",
71
- decision: DECISION_DENY
71
+ decision: DECISION_ALLOW
72
72
  });
73
73
  return {
74
- decision: DECISION_DENY,
74
+ decision: DECISION_ALLOW,
75
75
  message: "No scaffolding methods are available for this project template. You should write new files directly using the Write tool."
76
76
  };
77
77
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agiflowai/scaffold-mcp",
3
3
  "description": "MCP server for scaffolding applications with boilerplate templates",
4
- "version": "1.0.18",
4
+ "version": "1.0.19",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "AgiflowIO",
7
7
  "repository": {
@@ -48,10 +48,10 @@
48
48
  "pino": "^10.0.0",
49
49
  "pino-pretty": "^13.1.1",
50
50
  "zod": "3.25.76",
51
- "@agiflowai/aicode-utils": "1.0.11",
52
- "@agiflowai/hooks-adapter": "0.0.12",
53
- "@agiflowai/coding-agent-bridge": "1.0.14",
54
- "@agiflowai/architect-mcp": "1.0.16"
51
+ "@agiflowai/aicode-utils": "1.0.12",
52
+ "@agiflowai/architect-mcp": "1.0.17",
53
+ "@agiflowai/coding-agent-bridge": "1.0.15",
54
+ "@agiflowai/hooks-adapter": "0.0.13"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/express": "^5.0.0",