openfox 0.2.0 → 0.2.1
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.
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"id": "default",
|
|
4
|
+
"name": "Build & Verify",
|
|
5
|
+
"description": "Standard build-verify loop. Builder implements criteria, verifier checks them.",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"color": "#3b82f6"
|
|
8
|
+
},
|
|
9
|
+
"entryStep": "build",
|
|
10
|
+
"settings": {
|
|
11
|
+
"maxIterations": 50
|
|
12
|
+
},
|
|
13
|
+
"steps": [
|
|
14
|
+
{
|
|
15
|
+
"id": "build",
|
|
16
|
+
"name": "Builder",
|
|
17
|
+
"type": "agent",
|
|
18
|
+
"phase": "build",
|
|
19
|
+
"toolMode": "builder",
|
|
20
|
+
"prompt": "Implement the task and make sure you fulfil the {{criteriaCount}} criteria. Mark each criterion as complete using complete_criterion when done.",
|
|
21
|
+
"nudgePrompt": "Continue working on the acceptance criteria. {{reason}}.\n\n{{verifierFindings}}\nDon't forget to mark the criteria as complete with complete_criterion",
|
|
22
|
+
"transitions": [
|
|
23
|
+
{ "when": { "type": "any_criteria_blocked" }, "goto": "$blocked" },
|
|
24
|
+
{ "when": { "type": "all_criteria_completed_or_passed" }, "goto": "verify" },
|
|
25
|
+
{ "when": { "type": "has_pending_criteria" }, "goto": "build" }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "verify",
|
|
30
|
+
"name": "Verifier",
|
|
31
|
+
"type": "sub_agent",
|
|
32
|
+
"phase": "verification",
|
|
33
|
+
"subAgentType": "verifier",
|
|
34
|
+
"prompt": "## Task Summary\n{{summary}}\n\n## Criteria\n{{criteriaList}}\n\n## Modified Files\n{{modifiedFiles}}\n\nVerify each criterion marked [NEEDS VERIFICATION]. Read the code, run tests if applicable, then call pass_criterion or fail_criterion for each.",
|
|
35
|
+
"transitions": [
|
|
36
|
+
{ "when": { "type": "any_criteria_blocked" }, "goto": "$blocked" },
|
|
37
|
+
{ "when": { "type": "all_criteria_passed" }, "goto": "$done" },
|
|
38
|
+
{ "when": { "type": "has_pending_criteria" }, "goto": "build" }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"startCondition": {
|
|
43
|
+
"type": "has_pending_criteria"
|
|
44
|
+
}
|
|
45
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openfox",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Local-LLM-first agentic coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dev": "OPENFOX_DEV=true tsx watch src/cli/dev.ts --no-browser",
|
|
27
27
|
"dev:web": "vite --config web/vite.config.ts",
|
|
28
28
|
"build": "FORCE_COLOR=1 npm run build:server && FORCE_COLOR=1 npm run build:web",
|
|
29
|
-
"build:server": "FORCE_COLOR=1 tsup && mkdir -p dist/skill-defaults dist/command-defaults dist/agent-defaults && cp src/server/skills/defaults/*.md dist/skill-defaults/ && cp src/server/commands/defaults/*.md dist/command-defaults/ && cp src/server/agents/defaults/*.md dist/agent-defaults/",
|
|
29
|
+
"build:server": "FORCE_COLOR=1 tsup && mkdir -p dist/skill-defaults dist/command-defaults dist/agent-defaults dist/workflow-defaults && cp src/server/skills/defaults/*.md dist/skill-defaults/ && cp src/server/commands/defaults/*.md dist/command-defaults/ && cp src/server/agents/defaults/*.md dist/agent-defaults/ && cp src/server/workflows/defaults/*.json dist/workflow-defaults/",
|
|
30
30
|
"build:web": "cd web && FORCE_COLOR=1 vite build --outDir ../dist/web",
|
|
31
31
|
"start": "node dist/cli/index.js",
|
|
32
32
|
"start:dev": "node dist/cli/dev.js",
|