agent-valley 3.0.3 → 3.0.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.
@@ -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": "3.0.3",
4
+ "version": "3.0.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
@@ -70014,6 +70014,12 @@ function context(mission) {
70014
70014
  }
70015
70015
  function planPrompt(mission) {
70016
70016
  const chief = mission.personas.find((persona) => persona.id === mission.chiefId);
70017
+ const responseKeys = [
70018
+ "tasks",
70019
+ ...mission.availableAgents ? ["actors"] : [],
70020
+ ...mission.supervision ? ["goalBrief"] : [],
70021
+ ...mission.verificationMode === "chief" ? ["verificationContract"] : []
70022
+ ];
70017
70023
  return [
70018
70024
  "You are the Chief Director coordinating this mission. Understand the user's intent and the actual business and product context, then decide a strategy and plan the requested work.",
70019
70025
  CHIEF_DIRECTOR_ROLE,
@@ -70050,6 +70056,8 @@ function planPrompt(mission) {
70050
70056
  `Verified installed OMA skill catalog (JSON data): ${JSON.stringify(mission.availableSkills.map(({ name, description }) => ({ name, description: description.slice(0, 300) })))}`,
70051
70057
  "Select only needed catalog skill names for each generated Actor. No invented names or paths; the runtime supplies selected skill files. Skill access does not extend publication, spending or file-change authorization."
70052
70058
  ] : [],
70059
+ `Allowed top-level response keys for this mode: ${JSON.stringify(responseKeys)}. Return no other root keys.`,
70060
+ "Mission input identity fields are metadata, not response fields. Do not copy chiefId, technicalLeadId, designLeadId or marketingLeadId into the response root, or copy other Mission metadata. When generating a roster, retain nominated companions only as entries in actors with their supplied ids. With a fixed roster, use configured Actor ids without returning actors.",
70053
70061
  ...mission.availableAgents ? [
70054
70062
  `The operator's Chief Director CLI is fixed: ${JSON.stringify({ id: mission.chiefId, actorType: chief?.agentType })}. Do not replace it with another vendor. Omit model from every response Actor; the scheduler retains the selected Chief Director model and Actors use their CLI defaults.`,
70055
70063
  mission.availableSkills?.length ? "Select relevant skills only from the verified installed catalog. Assign tasks to generated Actor ids. Return actors, tasks and the requested goalBrief together in one JSON object within the 8,000-character limit." : "Set skills: [] because no installed skill capabilities were supplied; describe expertise in role. Assign tasks to generated Actor ids. Return actors, tasks and any requested goalBrief together in one JSON object within the 8,000-character limit.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-valley",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=26.10.0",