@tangle-network/agent-profile-materialize 0.3.3 → 0.4.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/index.js +0 -3
- package/package.json +3 -4
package/dist/index.js
CHANGED
|
@@ -618,7 +618,6 @@ export function hashWorkspacePlan(plan) {
|
|
|
618
618
|
const env = Object.fromEntries(Object.entries(plan.env).sort(([a], [b]) => compareStrings(a, b)));
|
|
619
619
|
const unsupported = [...plan.unsupported].sort((a, b) => compareStrings(`${a.dimension}\0${a.reason}`, `${b.dimension}\0${b.reason}`));
|
|
620
620
|
const canonical = JSON.stringify({
|
|
621
|
-
version: 1,
|
|
622
621
|
harness: canonicalHarness(plan.harness),
|
|
623
622
|
files,
|
|
624
623
|
env,
|
|
@@ -630,7 +629,6 @@ export function hashWorkspacePlan(plan) {
|
|
|
630
629
|
/** Build the exact digest-free identity document required by agent-interface. */
|
|
631
630
|
export function agentCandidateProfilePlanMaterial(plan) {
|
|
632
631
|
const material = {
|
|
633
|
-
version: 1,
|
|
634
632
|
harness: canonicalHarness(plan.harness),
|
|
635
633
|
files: normalizePlanFiles(plan.files).map((file) => ({
|
|
636
634
|
relPath: file.relPath,
|
|
@@ -665,7 +663,6 @@ export function captureAgentCandidateProfilePlan(plan) {
|
|
|
665
663
|
byteLength: canonical.bytes.byteLength,
|
|
666
664
|
};
|
|
667
665
|
return agentCandidateProfilePlanEvidenceSchema.parse({
|
|
668
|
-
schemaVersion: 1,
|
|
669
666
|
kind: "agent-profile-workspace-plan",
|
|
670
667
|
digest: canonical.digest,
|
|
671
668
|
material: canonical.material,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-profile-materialize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Materialize an AgentProfile into the native per-harness workspace files (the one shared materializer for cli-bridge, agent-dev-container, and VB).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
|
-
"
|
|
19
|
-
"@tangle-network/agent-interface": "
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@tangle-network/agent-interface": "0.28.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@tangle-network/agent-interface": "0.25.0",
|
|
23
22
|
"@types/node": "25.6.0",
|
|
24
23
|
"typescript": "^6.0.3",
|
|
25
24
|
"vitest": "^4.1.5"
|