agent-valley 4.11.1 → 4.12.0
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 -0
- 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.
|
|
4
|
+
"version": "4.12.0",
|
|
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
|
@@ -83071,7 +83071,13 @@ async function consultDirectors(mission, ports, hooks) {
|
|
|
83071
83071
|
|
|
83072
83072
|
// src/chief-continuous-council.ts
|
|
83073
83073
|
init_execution();
|
|
83074
|
+
var DECISION_ADVICE_ENV = "AV_DECISION_ADVICE";
|
|
83075
|
+
function decisionAdviceEnabled(source = process.env) {
|
|
83076
|
+
return source[DECISION_ADVICE_ENV]?.trim().toLowerCase() !== "off";
|
|
83077
|
+
}
|
|
83074
83078
|
async function consultContinuousDirectors(mission, ports, run) {
|
|
83079
|
+
if (!decisionAdviceEnabled())
|
|
83080
|
+
return;
|
|
83075
83081
|
const key = async (actor, stage) => JSON.stringify({
|
|
83076
83082
|
actorId: actor.id,
|
|
83077
83083
|
stage,
|