Skip to content

An agentic skills framework & software development methodology that works.

fix(opencode): Use `synthetic: true` for invisible content injection (#122)

Josh Thomas207a23e4d554
diff --git a/.opencode/plugin/superpowers.js b/.opencode/plugin/superpowers.js
index 4645f5fc8..c9a6e29ea 100644
--- a/.opencode/plugin/superpowers.js
+++ b/.opencode/plugin/superpowers.js
@@ -67,7 +67,7 @@ ${toolMapping}
path: { id: sessionID },
body: {
noReply: true,
- parts: [{ type: "text", text: bootstrapContent }]
+ parts: [{ type: "text", text: bootstrapContent, synthetic: true }]
}
});
return true;
@@ -132,8 +132,8 @@ ${toolMapping}
body: {
noReply: true,
parts: [
- { type: "text", text: `Loading skill: ${name || skill_name}` },
- { type: "text", text: `${skillHeader}\n\n${content}` }
+ { type: "text", text: `Loading skill: ${name || skill_name}`, synthetic: true },
+ { type: "text", text: `${skillHeader}\n\n${content}`, synthetic: true }
]
}
});