@tangle-network/agent-runtime 0.102.1 → 0.103.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/README.md +73 -10
- package/dist/agent.d.ts +1 -1
- package/dist/agent.js +5 -5
- package/dist/analyst-loop.d.ts +1 -1
- package/dist/candidate-execution/index.d.ts +5 -41
- package/dist/candidate-execution/index.js +8 -6
- package/dist/{chunk-KPHTCHQ4.js → chunk-3LJF5XSE.js} +79 -334
- package/dist/chunk-3LJF5XSE.js.map +1 -0
- package/dist/{chunk-3DW5DEKQ.js → chunk-5AITUUHO.js} +3 -3
- package/dist/{chunk-SQ3ZJH3Y.js → chunk-6WZZXQV5.js} +467 -23
- package/dist/chunk-6WZZXQV5.js.map +1 -0
- package/dist/{chunk-RTB3TC73.js → chunk-AAN2MB2X.js} +3 -3
- package/dist/{chunk-KSM6GFHP.js → chunk-B7K7V22Y.js} +2 -2
- package/dist/{chunk-6MR4IJRW.js → chunk-EAQ5YRRY.js} +1383 -63
- package/dist/chunk-EAQ5YRRY.js.map +1 -0
- package/dist/chunk-ISPWRSEC.js +408 -0
- package/dist/chunk-ISPWRSEC.js.map +1 -0
- package/dist/{chunk-7FJJUC73.js → chunk-LFM4JBRW.js} +29 -6
- package/dist/{chunk-7FJJUC73.js.map → chunk-LFM4JBRW.js.map} +1 -1
- package/dist/{chunk-ROILMKDL.js → chunk-QYCKIV6C.js} +3 -3
- package/dist/{chunk-LJLG734E.js → chunk-SBTWKPVR.js} +10 -11
- package/dist/{chunk-LJLG734E.js.map → chunk-SBTWKPVR.js.map} +1 -1
- package/dist/{chunk-CK76OZPM.js → chunk-SNSMRT6H.js} +56 -386
- package/dist/chunk-SNSMRT6H.js.map +1 -0
- package/dist/{chunk-KJ2Q4T7F.js → chunk-TUSOOIDV.js} +2 -2
- package/dist/{chunk-CI7WS6S2.js → chunk-ZOYN3JR5.js} +5 -5
- package/dist/{chunk-377GOJHJ.js → chunk-ZXICDSAK.js} +333 -4
- package/dist/chunk-ZXICDSAK.js.map +1 -0
- package/dist/{completion-gate-C6dhVN-N.d.ts → completion-gate-DLINnrkM.d.ts} +1 -1
- package/dist/{coordination-D9l_YmwW.d.ts → coordination-DTehA977.d.ts} +250 -8
- package/dist/environment-provider.d.ts +2 -2
- package/dist/index.d.ts +12 -12
- package/dist/index.js +17 -15
- package/dist/index.js.map +1 -1
- package/dist/intelligence.d.ts +26 -8
- package/dist/intelligence.js +24 -7
- package/dist/intelligence.js.map +1 -1
- package/dist/knowledge.d.ts +6 -6
- package/dist/knowledge.js +9 -9
- package/dist/{loop-runner-bin-PnWslIw4.d.ts → loop-runner-bin-DhIXsLAd.d.ts} +2 -2
- package/dist/loop-runner-bin.d.ts +5 -5
- package/dist/loop-runner-bin.js +6 -6
- package/dist/loops.d.ts +305 -148
- package/dist/loops.js +82 -14
- package/dist/mcp/bin.js +3 -3
- package/dist/mcp/index.d.ts +6 -6
- package/dist/mcp/index.js +6 -6
- package/dist/profiles.d.ts +1 -1
- package/dist/{profile-DbfaMTdk.d.ts → protected-model-port-DzkUY3HQ.d.ts} +41 -3
- package/dist/{structural-rollout-D7xik9XR.d.ts → structural-rollout-BFPIy3iw.d.ts} +3 -3
- package/dist/supervise-Cp8bNcJi.d.ts +379 -0
- package/dist/testing.js +10 -10
- package/dist/testing.js.map +1 -1
- package/dist/{types-CWqfCO8s.d.ts → types-Cbp72qyu.d.ts} +1 -1
- package/dist/{types-CLat4bT9.d.ts → types-DK11_O4L.d.ts} +1 -1
- package/dist/types-lZTE_LBd.d.ts +957 -0
- package/dist/{worktree-fanout-DsIR4d6w.d.ts → worktree-fanout-DiiJWjJO.d.ts} +17 -5
- package/package.json +3 -2
- package/skills/build-with-agent-runtime/SKILL.md +7 -5
- package/skills/generate-eval/SKILL.md +45 -52
- package/skills/loop-writer/SKILL.md +79 -147
- package/skills/supervise/SKILL.md +33 -14
- package/dist/chunk-377GOJHJ.js.map +0 -1
- package/dist/chunk-6MR4IJRW.js.map +0 -1
- package/dist/chunk-CK76OZPM.js.map +0 -1
- package/dist/chunk-IMSNJSXH.js +0 -73
- package/dist/chunk-IMSNJSXH.js.map +0 -1
- package/dist/chunk-KPHTCHQ4.js.map +0 -1
- package/dist/chunk-SQ3ZJH3Y.js.map +0 -1
- package/dist/supervise-BQdNAXtK.d.ts +0 -131
- package/dist/types-D870JlH0.d.ts +0 -500
- /package/dist/{chunk-3DW5DEKQ.js.map → chunk-5AITUUHO.js.map} +0 -0
- /package/dist/{chunk-RTB3TC73.js.map → chunk-AAN2MB2X.js.map} +0 -0
- /package/dist/{chunk-KSM6GFHP.js.map → chunk-B7K7V22Y.js.map} +0 -0
- /package/dist/{chunk-ROILMKDL.js.map → chunk-QYCKIV6C.js.map} +0 -0
- /package/dist/{chunk-KJ2Q4T7F.js.map → chunk-TUSOOIDV.js.map} +0 -0
- /package/dist/{chunk-CI7WS6S2.js.map → chunk-ZOYN3JR5.js.map} +0 -0
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createSupervisor,
|
|
3
3
|
routerToolLoop,
|
|
4
4
|
withDriverExecutor
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6WZZXQV5.js";
|
|
6
6
|
import {
|
|
7
7
|
InMemoryResultBlobStore,
|
|
8
8
|
InMemorySpawnJournal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ISPWRSEC.js";
|
|
10
10
|
|
|
11
11
|
// src/improvement/optimizer-prompt.ts
|
|
12
12
|
var optimizerMethod = [
|
|
@@ -1335,4 +1335,4 @@ export {
|
|
|
1335
1335
|
defaultExtractCandidate,
|
|
1336
1336
|
structuralRollout
|
|
1337
1337
|
};
|
|
1338
|
-
//# sourceMappingURL=chunk-
|
|
1338
|
+
//# sourceMappingURL=chunk-QYCKIV6C.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-UPWGXKXB.js";
|
|
7
7
|
import {
|
|
8
8
|
contentAddress
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ISPWRSEC.js";
|
|
10
10
|
|
|
11
11
|
// src/candidate-execution/profile.ts
|
|
12
12
|
import {
|
|
@@ -155,6 +155,9 @@ var CANDIDATE_PROFILE_DIRECT_FIELDS = [
|
|
|
155
155
|
];
|
|
156
156
|
function freezeGenericAgentCandidateProfile(input) {
|
|
157
157
|
const profile = parseExactAgentProfile(input, "profile");
|
|
158
|
+
return candidateProfileFromGenericProfile(profile);
|
|
159
|
+
}
|
|
160
|
+
function candidateProfileFromGenericProfile(profile) {
|
|
158
161
|
if (profile.connections !== void 0) unsupportedProfileField("connections");
|
|
159
162
|
if (profile.metadata !== void 0) unsupportedProfileField("metadata");
|
|
160
163
|
if (profile.extensions !== void 0) unsupportedProfileField("extensions");
|
|
@@ -192,17 +195,13 @@ function freezeGenericAgentCandidateProfile(input) {
|
|
|
192
195
|
);
|
|
193
196
|
}
|
|
194
197
|
const parsed = parseExactCandidateProfile(candidate);
|
|
195
|
-
assertCandidateProfileBinding(profile, parsed);
|
|
196
198
|
return parsed;
|
|
197
199
|
}
|
|
198
200
|
function assertCandidateProfileBinding(measuredInput, bundled) {
|
|
199
|
-
const measured = parseExactAgentProfile(measuredInput, "
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
const normalized = agentCandidateProfileAsAgentProfile(bundled);
|
|
204
|
-
if (canonicalCandidateDigest(measured) !== canonicalCandidateDigest(normalized)) {
|
|
205
|
-
throw new Error("proposal candidateProfile does not match candidateBundle.profile");
|
|
201
|
+
const measured = parseExactAgentProfile(measuredInput, "measured agent profile");
|
|
202
|
+
const expected = candidateProfileFromGenericProfile(measured);
|
|
203
|
+
if (canonicalCandidateDigest(expected) !== canonicalCandidateDigest(bundled)) {
|
|
204
|
+
throw new Error("measured agent profile does not match sealed candidate profile");
|
|
206
205
|
}
|
|
207
206
|
}
|
|
208
207
|
function parseExactAgentProfile(input, label) {
|
|
@@ -277,7 +276,7 @@ function agentCandidateProfileAsAgentProfile(candidate) {
|
|
|
277
276
|
}
|
|
278
277
|
if (candidate.resources) {
|
|
279
278
|
if (candidate.resources.failOnError !== true) {
|
|
280
|
-
throw new Error("
|
|
279
|
+
throw new Error("sealed candidate profile contains fields unsupported by generic profiles");
|
|
281
280
|
}
|
|
282
281
|
output.resources = {
|
|
283
282
|
failOnError: true,
|
|
@@ -5574,4 +5573,4 @@ export {
|
|
|
5574
5573
|
executePreparedAgentCandidate,
|
|
5575
5574
|
prepareAgentCandidateExecution
|
|
5576
5575
|
};
|
|
5577
|
-
//# sourceMappingURL=chunk-
|
|
5576
|
+
//# sourceMappingURL=chunk-SBTWKPVR.js.map
|