chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-03 02:43:28 +00:00
parent fbda5fadda
commit 5b07e70ecf
17 changed files with 216 additions and 91 deletions
+1 -3
View File
@@ -109,9 +109,7 @@ const add = Effect.fnUntraced(function* (state: State, match: string, events: Ev
}).pipe(
Effect.catch(
Effect.fnUntraced(function* (err) {
const message = FrontmatterError.isInstance(err)
? err.data.message
: `Failed to parse skill ${match}`
const message = FrontmatterError.isInstance(err) ? err.data.message : `Failed to parse skill ${match}`
const { Session } = yield* Effect.promise(() => import("@/session/session"))
yield* events.publish(Session.Event.Error, { error: new NamedError.Unknown({ message }).toObject() })
log.error("failed to load skill", { skill: match, err })