chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-03 21:00:33 +00:00
parent 889e0f9545
commit a41f774cad
7 changed files with 47 additions and 24 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export const Plugin = PluginV2.define({
const skill = yield* SkillV2.Service
const transform = yield* skill.transform()
const entries = yield* config.entries()
const items = entries.flatMap((entry) => (entry.type === "document" ? entry.info.skills ?? [] : []))
const items = entries.flatMap((entry) => (entry.type === "document" ? (entry.info.skills ?? []) : []))
yield* transform((editor) => {
for (const item of items) {