@lazyingart/agintiflow 0.20.64 → 0.20.65
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lazyingart/agintiflow",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.65",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Low-cost, project-aware Web and CLI agents with DeepSeek/Venice/OpenAI routing, visible tool calls, durable sessions, scouts, AAPS, SCS, and guarded local execution.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
} from "../src/model-routing.js";
|
|
12
12
|
import { normalizeTextToolCallResponse, parseTextToolCalls, usesTextToolProtocol } from "../src/model-client.js";
|
|
13
13
|
import { modelRoleChoices } from "../src/interactive-cli.js";
|
|
14
|
+
import { buildSupervisorInstruction } from "../src/scs-controller.js";
|
|
14
15
|
|
|
15
16
|
const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
16
17
|
|
|
@@ -204,6 +205,9 @@ assert(usesTextToolProtocol({ provider: "venice", model: "gemma-4-uncensored" })
|
|
|
204
205
|
assert(usesTextToolProtocol({ provider: "venice", model: "e2ee-venice-uncensored-24b-p" }), "Venice 1.1 should use text tool protocol");
|
|
205
206
|
assert(usesTextToolProtocol({ provider: "venice", model: "venice-uncensored" }), "Venice legacy 1.1 should use text tool protocol");
|
|
206
207
|
assert(!usesTextToolProtocol({ provider: "venice", model: "venice-uncensored-1-2" }), "Venice 1.2 should keep native tool calls first");
|
|
208
|
+
const scsInstruction = buildSupervisorInstruction({ plan: "Create one file.", acceptanceCriteria: ["File exists."] });
|
|
209
|
+
assert(scsInstruction.includes("Student-Committee-Supervisor"), "SCS supervisor instruction should define the acronym");
|
|
210
|
+
assert(!scsInstruction.includes("Syntax-Checker Sentinel"), "SCS supervisor instruction should not allow alternate acronym expansions");
|
|
207
211
|
|
|
208
212
|
const output = await runCli(["models"]);
|
|
209
213
|
assert(output.includes("/route") && output.includes("/spare") && output.includes("venice-gpt"), "aginti models output missing role details");
|
|
@@ -232,6 +236,7 @@ console.log(
|
|
|
232
236
|
"venice-text-tool-parser",
|
|
233
237
|
"requested-tools-parser",
|
|
234
238
|
"malformed-text-tool-retry",
|
|
239
|
+
"scs-supervisor-identity",
|
|
235
240
|
"cli-models-command",
|
|
236
241
|
"venice-shortcut",
|
|
237
242
|
],
|
package/src/scs-controller.js
CHANGED
|
@@ -207,7 +207,8 @@ export function buildSupervisorInstruction(scs = {}) {
|
|
|
207
207
|
const criteria = normalizeStringList(scs.acceptanceCriteria);
|
|
208
208
|
const stopConditions = normalizeStringList(scs.stopConditions);
|
|
209
209
|
return [
|
|
210
|
-
"SCS mode is enabled.
|
|
210
|
+
"SCS mode is enabled. SCS means Student-Committee-Supervisor; do not redefine the acronym.",
|
|
211
|
+
"You are the supervisor executor in that Student-Committee-Supervisor pipeline.",
|
|
211
212
|
"Execute the approved phase plan. You may choose exact tools and paths, but you may not replace the strategic plan with a new one.",
|
|
212
213
|
formatBehaviorContractForPrompt(),
|
|
213
214
|
"If tool evidence invalidates the plan, stop repeating the failed path and explain the blocker through finish or wait for student review.",
|