@lazyingart/agintiflow 0.20.257 → 0.20.258
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.258",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AgInTiFlow is a project-aware agent workspace for hybrid wet-dry R&D, hardware-aware intelligence, software automation, and industrial workflows.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -1313,6 +1313,35 @@ try {
|
|
|
1313
1313
|
completionMutationPatchRuntime.completionFreshMutationNeedsSourceRead === false,
|
|
1314
1314
|
"a fresh canonical source read did not advance completion repair to mutation-only mode"
|
|
1315
1315
|
);
|
|
1316
|
+
const hostedSourceMutationRequest = buildConstrainedRecoveryRequest(
|
|
1317
|
+
completionMutationState,
|
|
1318
|
+
{ goal: correctiveGoal, provider: "deepseek", taskProfile: "devops", commandCwd: workspace },
|
|
1319
|
+
{},
|
|
1320
|
+
8,
|
|
1321
|
+
completionMutationPatchRuntime
|
|
1322
|
+
);
|
|
1323
|
+
assert(
|
|
1324
|
+
hostedSourceMutationRequest?.mode === "fresh-source-mutation" &&
|
|
1325
|
+
hostedSourceMutationRequest?.maxOutputTokens === 8192,
|
|
1326
|
+
"hosted reasoning models did not retain enough constrained output budget to emit the source mutation"
|
|
1327
|
+
);
|
|
1328
|
+
const boundedLocalSourceMutationRequest = buildConstrainedRecoveryRequest(
|
|
1329
|
+
completionMutationState,
|
|
1330
|
+
{
|
|
1331
|
+
goal: correctiveGoal,
|
|
1332
|
+
provider: "localllm",
|
|
1333
|
+
taskProfile: "devops",
|
|
1334
|
+
commandCwd: workspace,
|
|
1335
|
+
maxOutputTokens: 4096,
|
|
1336
|
+
},
|
|
1337
|
+
{},
|
|
1338
|
+
8,
|
|
1339
|
+
{ ...completionMutationPatchRuntime, provider: "localllm", maxOutputTokens: 4096 }
|
|
1340
|
+
);
|
|
1341
|
+
assert(
|
|
1342
|
+
boundedLocalSourceMutationRequest?.maxOutputTokens === 4096,
|
|
1343
|
+
"a smaller explicit local output budget was not preserved for constrained mutation"
|
|
1344
|
+
);
|
|
1316
1345
|
const staleCompletionMarkerState = structuredClone(commandAfterMutationState);
|
|
1317
1346
|
staleCompletionMarkerState.meta.projectVerification.mutationRevision = 17;
|
|
1318
1347
|
staleCompletionMarkerState.meta.completionEvidenceRepair = {
|
|
@@ -367,7 +367,7 @@ assertStrict.equal(
|
|
|
367
367
|
);
|
|
368
368
|
assertStrict.equal(
|
|
369
369
|
completionMutationRecoveryRequest?.maxOutputTokens,
|
|
370
|
-
|
|
370
|
+
8192,
|
|
371
371
|
"fresh completion repair did not reserve enough bounded output for a substantive source patch"
|
|
372
372
|
);
|
|
373
373
|
const exactRecoverySource = [
|
package/src/agent-runner.js
CHANGED
|
@@ -222,7 +222,7 @@ const STATIC_DISCOVERY_CONVERGENCE_LIMIT = 14;
|
|
|
222
222
|
const CONSTRAINED_RECOVERY_CONTEXT_TARGET_TOKENS = 2048;
|
|
223
223
|
const CONSTRAINED_RECOVERY_OUTPUT_TOKEN_CAP = 768;
|
|
224
224
|
const CONSTRAINED_REPOSITORY_RECOVERY_OUTPUT_TOKEN_CAP = 1536;
|
|
225
|
-
const CONSTRAINED_SOURCE_MUTATION_OUTPUT_TOKEN_CAP =
|
|
225
|
+
const CONSTRAINED_SOURCE_MUTATION_OUTPUT_TOKEN_CAP = 8192;
|
|
226
226
|
const MALFORMED_TOOL_RESPONSE_RETRY_OUTPUT_TOKEN_CAP = 6144;
|
|
227
227
|
const MAX_COMPLETION_EVIDENCE_REPAIR_ATTEMPTS = 4;
|
|
228
228
|
const FAILED_TEST_EVIDENCE_VERSION = 2;
|