agent-valley 4.9.2 → 4.9.4
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/assets/plugin.json +1 -1
- package/dist/index.js +6 -6
- package/dist/supervisor.js +1 -1
- package/package.json +1 -1
package/dist/assets/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "av",
|
|
4
|
-
"version": "4.9.
|
|
4
|
+
"version": "4.9.4",
|
|
5
5
|
"description": "Delegate repository goals to Agent Valley and inspect mission progress and verification evidence.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Agent Valley"
|
package/dist/index.js
CHANGED
|
@@ -7457,7 +7457,7 @@ var init_mission_state_schema = __esm(() => {
|
|
|
7457
7457
|
taskId: id.optional(),
|
|
7458
7458
|
personaId: id.optional(),
|
|
7459
7459
|
instructions: text.optional(),
|
|
7460
|
-
previousTasks: array(taskStateSchema).max(
|
|
7460
|
+
previousTasks: array(taskStateSchema).max(24).optional(),
|
|
7461
7461
|
evidence: strictObject({ finalReview: reviewSchema.optional(), verification: verificationSchema.optional() }).optional()
|
|
7462
7462
|
}).superRefine((decision, ctx) => {
|
|
7463
7463
|
if (decision.action === "wait" !== (decision.retryAfterSec !== undefined))
|
|
@@ -57682,7 +57682,7 @@ async function verificationCommandInputs(root, program, args, budget) {
|
|
|
57682
57682
|
const launcher = await realpath12(join19(root, args[0]));
|
|
57683
57683
|
if (!launcher.startsWith(`${join19(root, "node_modules")}${sep9}`))
|
|
57684
57684
|
throw new Error("Installed Vitest launcher escapes this worktree. Install its dependency inside node_modules.");
|
|
57685
|
-
names.unshift(relative8(root, launcher));
|
|
57685
|
+
names.unshift(relative8(root, launcher).split(sep9).join("/"));
|
|
57686
57686
|
}
|
|
57687
57687
|
const inputs = [];
|
|
57688
57688
|
for (const path of names) {
|
|
@@ -59892,7 +59892,7 @@ var text8 = string2().trim().min(1).max(32000);
|
|
|
59892
59892
|
var supervisionResponseSchema = discriminatedUnion("action", [
|
|
59893
59893
|
strictObject({ action: literal("repair"), reason: text8, instructions: text8, taskId: id4.optional() }),
|
|
59894
59894
|
strictObject({ action: literal("reassign"), reason: text8, instructions: text8, taskId: id4, personaId: id4 }),
|
|
59895
|
-
strictObject({ action: literal("replan"), reason: text8, tasks: array(actorTaskSchema).min(1).max(
|
|
59895
|
+
strictObject({ action: literal("replan"), reason: text8, tasks: array(actorTaskSchema).min(1).max(24) }),
|
|
59896
59896
|
strictObject({ action: literal("stop"), reason: text8 }),
|
|
59897
59897
|
strictObject({ action: literal("wait"), reason: text8, retryAfterSec: number2().int().min(1).max(86400) })
|
|
59898
59898
|
]);
|
|
@@ -75722,7 +75722,7 @@ var skillDescriptorSchema = strictObject({
|
|
|
75722
75722
|
agents: array(string2().regex(/^[a-z0-9][a-z0-9-]{0,127}$/)).max(100).optional()
|
|
75723
75723
|
});
|
|
75724
75724
|
var planSchema = strictObject({
|
|
75725
|
-
tasks: array(actorTaskSchema).min(1).max(
|
|
75725
|
+
tasks: array(actorTaskSchema).min(1).max(24)
|
|
75726
75726
|
});
|
|
75727
75727
|
var missionSchema = strictObject({
|
|
75728
75728
|
id: id5,
|
|
@@ -75769,7 +75769,7 @@ var missionSchema = strictObject({
|
|
|
75769
75769
|
updatedAt: text9,
|
|
75770
75770
|
oma: boolean2().optional(),
|
|
75771
75771
|
plan: planSchema.optional(),
|
|
75772
|
-
tasks: array(taskStateSchema).max(
|
|
75772
|
+
tasks: array(taskStateSchema).max(24),
|
|
75773
75773
|
gateReviews: array(gateReviewSchema).max(96).optional(),
|
|
75774
75774
|
gateReviewRefreshes: number2().int().min(0).max(11).optional(),
|
|
75775
75775
|
finalReview: reviewSchema.optional(),
|
|
@@ -76256,7 +76256,7 @@ function planPrompt(mission) {
|
|
|
76256
76256
|
"Independent workspace tasks execute concurrently in isolated worktrees, then integrate in plan order before review. Declare dependencies when a task needs another task's delivered changes. Declare effectScope: external for actions that affect external systems (publishing, messages, purchases); these execute sequentially and uncertain effects require reconciliation before repetition. Other tasks use effectScope: workspace.",
|
|
76257
76257
|
taskDecompositionGuidance(mission, "plan"),
|
|
76258
76258
|
"Use recorded organization evidence and explicitly approved standards when relevant; historical outcomes are not approval of current files. Routing quality/cost evidence is measured only where reported, not a claim of universal model superiority. Explicit metric targets require actual recorded measurements and are additional completion gates; advisory ROI text is not measurement.",
|
|
76259
|
-
"Use 1-
|
|
76259
|
+
"Use 1-24 tasks with unique ids, concrete instructions, nonempty acceptance criteria, and acyclic dependencies.",
|
|
76260
76260
|
`Keep the complete JSON response within ${MAX_JSON_RESPONSE_LENGTH} characters; use concise Actors and tasks.`,
|
|
76261
76261
|
"Every Actor must produce or update a material file deliverable, including research reports. Plan intermediate checks.",
|
|
76262
76262
|
...requiresOmaActor(mission) ? [
|
package/dist/supervisor.js
CHANGED
|
@@ -7449,7 +7449,7 @@ var init_mission_state_schema = __esm(() => {
|
|
|
7449
7449
|
taskId: id.optional(),
|
|
7450
7450
|
personaId: id.optional(),
|
|
7451
7451
|
instructions: text.optional(),
|
|
7452
|
-
previousTasks: array(taskStateSchema).max(
|
|
7452
|
+
previousTasks: array(taskStateSchema).max(24).optional(),
|
|
7453
7453
|
evidence: strictObject({ finalReview: reviewSchema.optional(), verification: verificationSchema.optional() }).optional()
|
|
7454
7454
|
}).superRefine((decision, ctx) => {
|
|
7455
7455
|
if (decision.action === "wait" !== (decision.retryAfterSec !== undefined))
|