@tangle-network/agent-profile-materialize 0.3.2 → 0.3.3
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.d.ts +3 -3
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* `node:fs` IO consumer. It was previously copied byte-for-byte into both
|
|
22
22
|
* cli-bridge and agent-dev-container — this is the single source those re-export.
|
|
23
23
|
*/
|
|
24
|
-
import type { AgentCandidateConfigValue, AgentCandidateProfile, AgentCandidateProfileApplication, AgentCandidateProfilePlanEvidence,
|
|
24
|
+
import type { AgentCandidateConfigValue, AgentCandidateProfile, AgentCandidateProfileApplication, AgentCandidateProfilePlanEvidence, AgentProfile, Sha256Digest } from "@tangle-network/agent-interface";
|
|
25
25
|
export type HarnessId = "claude-code" | "claude" | "claudish" | "nanoclaw" | "codex" | "opencode" | "kimi-code" | "kimi" | "pi" | "gemini" | "hermes" | "openclaw";
|
|
26
26
|
export interface PlanFile {
|
|
27
27
|
relPath: string;
|
|
@@ -103,13 +103,13 @@ export declare function materializeCandidateProfile(profile: AgentCandidateProfi
|
|
|
103
103
|
*/
|
|
104
104
|
export declare function hashWorkspacePlan(plan: WorkspacePlan): string;
|
|
105
105
|
/** Build the exact digest-free identity document required by agent-interface. */
|
|
106
|
-
export declare function agentCandidateProfilePlanMaterial(plan: AgentCandidateWorkspacePlan):
|
|
106
|
+
export declare function agentCandidateProfilePlanMaterial(plan: AgentCandidateWorkspacePlan): AgentCandidateProfilePlanEvidence["material"];
|
|
107
107
|
/**
|
|
108
108
|
* Return the RFC 8785 UTF-8 bytes and SHA-256 identity of a candidate profile
|
|
109
109
|
* plan. The returned bytes are the exact bytes embedded in receipt evidence.
|
|
110
110
|
*/
|
|
111
111
|
export declare function canonicalizeAgentCandidateProfilePlan(plan: AgentCandidateWorkspacePlan): {
|
|
112
|
-
material:
|
|
112
|
+
material: AgentCandidateProfilePlanEvidence["material"];
|
|
113
113
|
bytes: Uint8Array;
|
|
114
114
|
digest: Sha256Digest;
|
|
115
115
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-profile-materialize",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
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,10 +15,11 @@
|
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
18
|
-
"
|
|
19
|
-
"@tangle-network/agent-interface": "
|
|
18
|
+
"peerDependencies": {
|
|
19
|
+
"@tangle-network/agent-interface": ">=0.25.0 <0.27.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@tangle-network/agent-interface": "0.25.0",
|
|
22
23
|
"@types/node": "25.6.0",
|
|
23
24
|
"typescript": "^6.0.3",
|
|
24
25
|
"vitest": "^4.1.5"
|