ai-foreman 1.7.14 → 1.7.15
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/adapters/claude.js +2 -0
- package/dist/adapters/codex.js +2 -0
- package/dist/agentRun.js +3 -1
- package/dist/roles.js +1 -0
- package/package.json +3 -3
package/dist/adapters/claude.js
CHANGED
|
@@ -827,6 +827,8 @@ function activityPhase(phase) {
|
|
|
827
827
|
return "planning uninstall";
|
|
828
828
|
if (phase === "manager")
|
|
829
829
|
return "analyzing diagnostics";
|
|
830
|
+
if (phase === "discovery")
|
|
831
|
+
return "discovering project context";
|
|
830
832
|
return "building";
|
|
831
833
|
}
|
|
832
834
|
function formatClaudeFailure(failure) {
|
package/dist/adapters/codex.js
CHANGED
|
@@ -694,6 +694,8 @@ function activityPhase(phase) {
|
|
|
694
694
|
return "planning uninstall";
|
|
695
695
|
if (phase === "manager")
|
|
696
696
|
return "analyzing diagnostics";
|
|
697
|
+
if (phase === "discovery")
|
|
698
|
+
return "discovering project context";
|
|
697
699
|
return "building";
|
|
698
700
|
}
|
|
699
701
|
function codexItemActivity(item, completed = false) {
|
package/dist/agentRun.js
CHANGED
|
@@ -262,6 +262,8 @@ function phaseForRole(role) {
|
|
|
262
262
|
return "uninstaller";
|
|
263
263
|
if (role === "manager")
|
|
264
264
|
return "manager";
|
|
265
|
+
if (role === "discovery")
|
|
266
|
+
return "discovery";
|
|
265
267
|
return "builder";
|
|
266
268
|
}
|
|
267
269
|
export function readRoleDefaultsForExecution(projectDir, role) {
|
|
@@ -357,7 +359,7 @@ export async function runRoleInstruction(opts) {
|
|
|
357
359
|
}
|
|
358
360
|
}
|
|
359
361
|
function configurableRole(role) {
|
|
360
|
-
return ["builder", "qa", "planner", "ticket-maker", "uninstaller", "manager"].includes(role)
|
|
362
|
+
return ["builder", "qa", "planner", "ticket-maker", "uninstaller", "manager", "discovery"].includes(role)
|
|
361
363
|
? role
|
|
362
364
|
: "builder";
|
|
363
365
|
}
|
package/dist/roles.js
CHANGED
|
@@ -19,6 +19,7 @@ export const AGENT_ROLE_REGISTRY = [
|
|
|
19
19
|
{ id: "ticket-maker", label: "Ticket maker", consumers: ["ticket population"], configurable: true, manifest: "ticket-maker", commands: ["rafi tickets populate"] },
|
|
20
20
|
{ id: "uninstaller", label: "Uninstaller", consumers: ["non-empty uninstall instructions only"], configurable: true, manifest: "uninstaller", commands: ["rafi uninstall"] },
|
|
21
21
|
{ id: "manager", label: "Manager (read-only diagnostics)", consumers: ["build diagnostics"], configurable: true, manifest: "manager", commands: ["rafi manager", "ai-foreman manager"] },
|
|
22
|
+
{ id: "discovery", label: "Discovery", consumers: ["project continuation discovery"], configurable: true, manifest: "discovery", commands: ["rafi discover"] },
|
|
22
23
|
];
|
|
23
24
|
function libraryGetter(role) {
|
|
24
25
|
const a = getAgent(role);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-foreman",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.15",
|
|
4
4
|
"description": "An orchestrator that keeps Codex CLI / Claude Code builders moving through their step list unattended. Part of Rafi.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
"@anthropic-ai/claude-agent-sdk": "^0.3.148"
|
|
219
219
|
},
|
|
220
220
|
"dependencies": {
|
|
221
|
-
"special-agents": "0.8.
|
|
222
|
-
"rafi-spec": "0.8.
|
|
221
|
+
"special-agents": "0.8.10",
|
|
222
|
+
"rafi-spec": "0.8.11",
|
|
223
223
|
"@clack/prompts": "^1.4.0",
|
|
224
224
|
"ajv": "^8.20.0",
|
|
225
225
|
"ajv-formats": "^3.0.1",
|