@farmslot/agent-runtime 0.39.0 → 0.39.2
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/CHANGELOG.md
CHANGED
|
@@ -2,10 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- Ship the acceptance-contract TypeScript declaration in the public package.
|
|
6
|
+
|
|
5
7
|
- Support acknowledged acceptance derivation and revision-bound proof destinations for PR completion.
|
|
6
8
|
|
|
7
9
|
- Active-development baseline; add user-facing changes here before release or package publication.
|
|
8
10
|
|
|
11
|
+
## 0.39.2 - 2026-10-26
|
|
12
|
+
|
|
13
|
+
- Remove the local CI-parity worker step and its completion receipt requirement.
|
|
14
|
+
|
|
15
|
+
## 0.39.1 - 2026-10-25
|
|
16
|
+
|
|
17
|
+
- Include the acceptance-contract declaration so typed consumers can resolve the exported helper.
|
|
18
|
+
|
|
9
19
|
## 0.39.0 - 2026-10-25
|
|
10
20
|
|
|
11
21
|
- Derive PR-completion acceptance through acknowledged checklist children and consume gateway-confirmed proof destinations without changing frozen task contracts.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farmslot/agent-runtime",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@farmslot/adapter-sdk": "0.25.1",
|
|
72
|
-
"@farmslot/protocol": "0.
|
|
72
|
+
"@farmslot/protocol": "0.73.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/node": "^22.0.0",
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
"dist/**/*.js.map",
|
|
107
107
|
"scripts/**/*.cjs",
|
|
108
108
|
"scripts/**/*.mjs",
|
|
109
|
+
"scripts/acceptance-contract.d.cts",
|
|
109
110
|
"scripts/retained-recipe-attempt.d.cts",
|
|
110
111
|
"scripts/execution-template-cli.mjs",
|
|
111
112
|
"scripts/git-diff.d.cts",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { WorkerTerminalContractDocument } from '@farmslot/protocol';
|
|
2
|
+
|
|
3
|
+
export const ACCEPTANCE_CONTRACT_VERSION: 1;
|
|
4
|
+
export const ACCEPTANCE_CONTRACT_INPUT: 'inputs/acceptance-contract.json';
|
|
5
|
+
export function effectiveAcceptanceContract(
|
|
6
|
+
taskDir: string,
|
|
7
|
+
base: WorkerTerminalContractDocument,
|
|
8
|
+
baseBytes: string | Uint8Array,
|
|
9
|
+
): WorkerTerminalContractDocument;
|
|
@@ -456,7 +456,9 @@ function deterministicDeclarations(markdown, checklist) {
|
|
|
456
456
|
if (!match && item.rawLabel.includes('[DETERMINISTIC')) {
|
|
457
457
|
throw new Error(`Invalid deterministic declaration in ${checklist} step ${item.stepNumber}`);
|
|
458
458
|
}
|
|
459
|
-
return match
|
|
459
|
+
return match && match[1] !== 'ci.local_check'
|
|
460
|
+
? [{ checklist, stepNumber: item.stepNumber, reference: match[1] }]
|
|
461
|
+
: [];
|
|
460
462
|
});
|
|
461
463
|
}
|
|
462
464
|
|
|
@@ -492,7 +494,7 @@ function deterministicContract(taskDir, checklist) {
|
|
|
492
494
|
function recordedDeterministicSteps(taskDir, checklist) {
|
|
493
495
|
const contract = deterministicContract(taskDir, checklist);
|
|
494
496
|
const frozen = (contract.deterministicChecks ?? []).filter(
|
|
495
|
-
(step) => step.checklist === checklist,
|
|
497
|
+
(step) => step.checklist === checklist && step.reference !== 'ci.local_check',
|
|
496
498
|
);
|
|
497
499
|
const file = path.join(taskDir, checklist);
|
|
498
500
|
const actual = fs.existsSync(file)
|