ferix-code 0.0.2-beta.5 → 0.0.2-beta.6
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/index.js +12 -5
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -71,7 +71,7 @@ import { Command } from "commander";
|
|
|
71
71
|
// package.json
|
|
72
72
|
var package_default = {
|
|
73
73
|
name: "ferix-code",
|
|
74
|
-
version: "0.0.2-beta.
|
|
74
|
+
version: "0.0.2-beta.6",
|
|
75
75
|
description: "Composable RALPH loops for AI coding agents - v2 with Effect",
|
|
76
76
|
type: "module",
|
|
77
77
|
bin: {
|
|
@@ -86,7 +86,8 @@ var package_default = {
|
|
|
86
86
|
dev: "tsup --watch",
|
|
87
87
|
"check-types": "tsc --noEmit",
|
|
88
88
|
test: "bun test",
|
|
89
|
-
"test:watch": "bun test --watch"
|
|
89
|
+
"test:watch": "bun test --watch",
|
|
90
|
+
bump: "npm version prerelease --preid=beta --workspaces=false && bun run build && bun publish --tag beta"
|
|
90
91
|
},
|
|
91
92
|
dependencies: {
|
|
92
93
|
commander: "^14.0.0",
|
|
@@ -5394,9 +5395,12 @@ Use these XML-like tags to communicate structured information:
|
|
|
5394
5395
|
<files-created>new-file.ts</files-created>
|
|
5395
5396
|
</ferix:task-complete>
|
|
5396
5397
|
|
|
5397
|
-
### Loop Completion
|
|
5398
|
+
### Loop Completion (use ONLY when ALL tasks are done)
|
|
5398
5399
|
<ferix:complete>
|
|
5399
5400
|
|
|
5401
|
+
\u26A0\uFE0F IMPORTANT: Only emit <ferix:complete> after ALL tasks in the plan are complete.
|
|
5402
|
+
After completing a single task, emit <ferix:task-complete> and continue to the next task.
|
|
5403
|
+
|
|
5400
5404
|
IMPORTANT: Always emit signals on their own lines, never inside markdown code blocks.`;
|
|
5401
5405
|
var DISCOVERY_SYSTEM_PROMPT = `You are in the DISCOVERY phase of a ralph loop - an iterative AI coding workflow.
|
|
5402
5406
|
|
|
@@ -5437,14 +5441,17 @@ Review the code for quality:
|
|
|
5437
5441
|
- When done, emit <ferix:review-complete/>`;
|
|
5438
5442
|
var DEFAULT_COMPLETION_PROMPT = `## Completion
|
|
5439
5443
|
|
|
5440
|
-
When the task
|
|
5444
|
+
When you finish the CURRENT task, emit:
|
|
5441
5445
|
<ferix:task-complete id="N">
|
|
5442
5446
|
<summary>What was accomplished</summary>
|
|
5443
5447
|
<files-modified>list of modified files</files-modified>
|
|
5444
5448
|
<files-created>list of new files</files-created>
|
|
5445
5449
|
</ferix:task-complete>
|
|
5446
5450
|
|
|
5447
|
-
|
|
5451
|
+
After emitting task-complete, CONTINUE working on the next pending task.
|
|
5452
|
+
|
|
5453
|
+
\u26A0\uFE0F ONLY emit <ferix:complete> when ALL tasks in the plan are done.
|
|
5454
|
+
Do NOT emit <ferix:complete> after completing just one task - continue to the next task instead.`;
|
|
5448
5455
|
function getPhasePrompt(phase, prompts, defaultPrompt) {
|
|
5449
5456
|
return prompts?.phases?.[phase] ?? defaultPrompt;
|
|
5450
5457
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ferix-code",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.6",
|
|
4
4
|
"description": "Composable RALPH loops for AI coding agents - v2 with Effect",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"dev": "tsup --watch",
|
|
16
16
|
"check-types": "tsc --noEmit",
|
|
17
17
|
"test": "bun test",
|
|
18
|
-
"test:watch": "bun test --watch"
|
|
18
|
+
"test:watch": "bun test --watch",
|
|
19
|
+
"bump": "npm version prerelease --preid=beta --workspaces=false && bun run build && bun publish --tag beta"
|
|
19
20
|
},
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"commander": "^14.0.0",
|