cvm-server 0.16.0-next.0 → 0.16.0-next.2
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/main.cjs +373 -290
- package/package.json +3 -3
- package/programs/planexecutor.ts +13 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cvm-server",
|
|
3
|
-
"version": "0.16.0-next.
|
|
3
|
+
"version": "0.16.0-next.2",
|
|
4
4
|
"description": "Cognitive Virtual Machine (CVM) - A deterministic bytecode VM with AI cognitive operations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mcp",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
],
|
|
100
100
|
"options": {
|
|
101
101
|
"commands": [
|
|
102
|
-
"cd apps/cvm-server/dist && npm publish --otp={args.otp}"
|
|
102
|
+
"cd apps/cvm-server/dist && npm publish --registry https://registry.npmjs.org/ --otp={args.otp}"
|
|
103
103
|
]
|
|
104
104
|
}
|
|
105
105
|
},
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
],
|
|
111
111
|
"options": {
|
|
112
112
|
"commands": [
|
|
113
|
-
"cd apps/cvm-server/dist && npm publish --tag next --otp={args.otp}"
|
|
113
|
+
"cd apps/cvm-server/dist && npm publish --tag next --registry https://registry.npmjs.org/ --otp={args.otp}"
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
116
|
},
|
package/programs/planexecutor.ts
CHANGED
|
@@ -12,13 +12,23 @@ function main() {
|
|
|
12
12
|
var mission = data.mission;
|
|
13
13
|
var blocks = data.blocks;
|
|
14
14
|
var sourceFile = data.sourceFile;
|
|
15
|
+
var sourceFiles = data.sourceFiles;
|
|
15
16
|
|
|
16
17
|
var submitDone = " Respond with done when complete.";
|
|
17
18
|
var submitTest = " Respond with passed if ALL criteria are checked, or failed if ANY is not met.";
|
|
18
19
|
var toolsReminder = " Use Read, Edit, Write, Bash tools for file operations and commands.";
|
|
19
20
|
|
|
20
21
|
console.log("=== TDDAB PlanExecutor ===");
|
|
21
|
-
|
|
22
|
+
if (sourceFiles) {
|
|
23
|
+
console.log("Plan: " + sourceFiles.length + " files");
|
|
24
|
+
var fi = 0;
|
|
25
|
+
while (fi < sourceFiles.length) {
|
|
26
|
+
console.log(" - " + sourceFiles[fi]);
|
|
27
|
+
fi = fi + 1;
|
|
28
|
+
}
|
|
29
|
+
} else {
|
|
30
|
+
console.log("Plan: " + sourceFile);
|
|
31
|
+
}
|
|
22
32
|
console.log("Blocks: " + blocks.length);
|
|
23
33
|
|
|
24
34
|
var completedBlocks = [];
|
|
@@ -67,8 +77,9 @@ function main() {
|
|
|
67
77
|
|
|
68
78
|
CC("GREEN PHASE [" + progress + "] block " + block.id + ": " + block.title + ". " +
|
|
69
79
|
"Implement the minimum code to make all failing tests pass. " +
|
|
80
|
+
"IMPORTANT: Read the plan file for implementation details and reference code: " + block.planRef + " " +
|
|
70
81
|
"CONTEXT: " + block.intro + " " +
|
|
71
|
-
|
|
82
|
+
toolsReminder + submitDone);
|
|
72
83
|
|
|
73
84
|
console.log("GREEN done for " + block.id);
|
|
74
85
|
|