@abelxiaoxing/cadence 2.1.3 → 2.1.5
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/agents/implementation-worker.md +7 -2
- package/docs/conversation-mode.md +12 -2
- package/package.json +1 -1
- package/skills/git-commit/SKILL.md +3 -0
- package/src/agent-panel-cadence.ts +7 -3
- package/src/agent-panel-model.ts +26 -7
- package/src/cadence-instructions.ts +2 -2
- package/src/coordinator-tools.mjs +20 -3
- package/src/native-build.ts +1 -1
- package/src/service/contracts/workflow.ts +32 -4
- package/src/service-host.mjs +501 -246
- package/src/worker-toolkit.mjs +3 -2
- package/web/dist/assets/cadence.css +1 -1
- package/web/dist/assets/cadence.js +11 -11
- package/web/dist/manifest.json +7 -7
package/src/worker-toolkit.mjs
CHANGED
|
@@ -85,10 +85,11 @@ export function createWorkerToolkit(options) {
|
|
|
85
85
|
name: "cadence_report",
|
|
86
86
|
label: "Report assignment outcome",
|
|
87
87
|
description:
|
|
88
|
-
"Submit this assignment's structured result after all work. Completed means assigned work is done, not that owner checks or review passed. Use blocked
|
|
88
|
+
"Submit this assignment's structured result after all work. Completed means assigned work is done, not that owner checks or review passed. Use partial when useful work is preserved but assigned work remains, or blocked when a concrete prerequisite prevents further progress. Neither is an execution crash or passing verification. Then give a brief final answer; no JSON formatting is required in that answer. Any later editing, shell or unknown tool call requires a new report; readonly inspection does not invalidate it.",
|
|
89
89
|
parameters: Type.Object({
|
|
90
90
|
status: Type.Union([
|
|
91
91
|
Type.Literal("completed"),
|
|
92
|
+
Type.Literal("partial"),
|
|
92
93
|
Type.Literal("blocked"),
|
|
93
94
|
]),
|
|
94
95
|
summary: Type.String({ minLength: 1, maxLength: 8192 }),
|
|
@@ -103,7 +104,7 @@ export function createWorkerToolkit(options) {
|
|
|
103
104
|
async execute(_id, input) {
|
|
104
105
|
if (
|
|
105
106
|
!input ||
|
|
106
|
-
!["completed", "blocked"].includes(input.status) ||
|
|
107
|
+
!["completed", "partial", "blocked"].includes(input.status) ||
|
|
107
108
|
typeof input.summary !== "string" ||
|
|
108
109
|
!input.summary.trim() ||
|
|
109
110
|
Object.keys(input).some(
|