opencode-akane 0.1.5 → 0.1.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/workflow.js +6 -2
- package/package.json +1 -1
package/dist/workflow.js
CHANGED
|
@@ -34,8 +34,10 @@ const DEFAULT_ROLE_AGENT_CANDIDATES = {
|
|
|
34
34
|
reviewer_claude: ["oracle", "general"],
|
|
35
35
|
synthesizer: ["sisyphus", "Sisyphus (Ultraworker)", "general"],
|
|
36
36
|
};
|
|
37
|
-
const
|
|
38
|
-
const
|
|
37
|
+
const PLAN_TIMEOUT_MS = 12 * 60 * 1000;
|
|
38
|
+
const PLAN_REVIEW_TIMEOUT_MS = 8 * 60 * 1000;
|
|
39
|
+
const IMPLEMENT_TIMEOUT_MS = 20 * 60 * 1000;
|
|
40
|
+
const DEFAULT_TIMEOUT_MS = 8 * 60 * 1000;
|
|
39
41
|
const POLL_INTERVAL_MS = 800;
|
|
40
42
|
const STABILITY_POLLS_REQUIRED = 2;
|
|
41
43
|
function nowIso() {
|
|
@@ -415,6 +417,7 @@ export async function executePlanStage(input) {
|
|
|
415
417
|
.filter(Boolean)
|
|
416
418
|
.join("\n"),
|
|
417
419
|
allowWorkspaceMutation: false,
|
|
420
|
+
timeoutMs: PLAN_TIMEOUT_MS,
|
|
418
421
|
});
|
|
419
422
|
const content = renderStageDocument({
|
|
420
423
|
stage: result.stage,
|
|
@@ -465,6 +468,7 @@ export async function executePlanReviewStage(input) {
|
|
|
465
468
|
.filter(Boolean)
|
|
466
469
|
.join("\n"),
|
|
467
470
|
allowWorkspaceMutation: false,
|
|
471
|
+
timeoutMs: PLAN_REVIEW_TIMEOUT_MS,
|
|
468
472
|
});
|
|
469
473
|
const content = renderStageDocument({
|
|
470
474
|
stage: result.stage,
|