Skip to content

Commit d85ef05

Browse files
committed
feat: Update version to 0.1.1-beta.7, refine error response handling, and remove unused args-def-factory files
1 parent deb6cf1 commit d85ef05

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

packages/core/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mcpc/core",
3-
"version": "0.1.1-beta.6",
3+
"version": "0.1.1-beta.7",
44
"tasks": {
55
"server:compile": "echo \"no need to compile\"",
66
"test": "deno test --allow-env --allow-read tests/",

packages/core/src/executors/factories/args-def-factory.ts

Whitespace-only changes.

packages/core/src/factories/args-def-factory.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Workflow step definitions - provide ONLY on initial call.
8686
proceed: (): JSONSchema => ({
8787
type: "boolean",
8888
description:
89-
"**Step execution control. Set \`true\` to advance, \`false\`/omit to retry. ⚠️ CRITICAL: For failed steps, NEVER use \`true\`**",
89+
"**Step execution control. Set \`true\` to advance, \`false\`/omit to retry. For failed steps, MUST use \`false\`**",
9090
}),
9191

9292
action: (sampling?: boolean): JSONSchema => ({
@@ -219,6 +219,7 @@ Workflow step definitions - provide ONLY on initial call.
219219
} as Record<string, JSONSchema>;
220220

221221
stepDependencies["proceed"] = this.proceed();
222+
stepDependencies["action"] = this.action();
222223

223224
// Make proceed required for next state transitions
224225
return this.common(stepDependencies);

packages/core/src/prompts/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ export const CompiledPrompts = {
366366
actionSuccess: p(ResponseTemplates.ACTION_SUCCESS),
367367
planningPrompt: p(ResponseTemplates.PLANNING_PROMPT),
368368
errorResponse: p(ResponseTemplates.ERROR_RESPONSE),
369-
workflowErrorResponse: p(ResponseTemplates.ERROR_RESPONSE),
369+
workflowErrorResponse: p(ResponseTemplates.WORKFLOW_ERROR_RESPONSE),
370370
securityPassed: p(ResponseTemplates.SECURITY_VALIDATION.PASSED),
371371
securityFailed: p(ResponseTemplates.SECURITY_VALIDATION.FAILED),
372372
auditLog: p(ResponseTemplates.AUDIT_LOG),

packages/core/src/workflow/args-def-factory.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)