youmd 0.13.7 → 0.13.8

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": "youmd",
3
- "version": "0.13.7",
3
+ "version": "0.13.8",
4
4
  "description": "Identity context protocol for the agent internet — an MCP where the context is you. CLI for the You.md platform.",
5
5
  "bin": {
6
6
  "you": "dist/you.js",
@@ -45,7 +45,7 @@ for (const artifact of manifest.artifacts) {
45
45
  if (!artifact.candidateRevision) throw new Error(`${artifact.id}: candidateRevision is required for a new Living Vision Artifact`);
46
46
  if (artifact.status === "accepted" && !artifact.lineage.acceptanceRef) throw new Error(`${artifact.id}: accepted artifacts require an attributable acceptanceRef`);
47
47
  if (artifact.status !== "accepted" && artifact.lineage.acceptanceRef) throw new Error(`${artifact.id}: agents must not pre-populate acceptanceRef`);
48
- for (const [format, relative] of Object.entries(artifact.formats)) {
48
+ for (const relative of Object.values(artifact.formats)) {
49
49
  try { safeRepositoryFile(root, relative); }
50
50
  catch (error) { throw new Error(`${artifact.id}: ${error.message}`); }
51
51
  }