chore: generate

This commit is contained in:
opencode-agent[bot]
2026-05-11 07:28:32 +00:00
parent 7e997cfba4
commit 3bd98ea055
2 changed files with 50 additions and 2 deletions
@@ -1866,8 +1866,9 @@ it.live("injects metadata for bare configured reference mentions", () =>
})
const stored = MessageV2.get({ sessionID: session.id, messageID: message.info.id })
const synthetic = stored.parts
.filter((part): part is MessageV2.TextPart => part.type === "text" && part.synthetic === true)
const synthetic = stored.parts.filter(
(part): part is MessageV2.TextPart => part.type === "text" && part.synthetic === true,
)
const reference = synthetic.find((part) => part.text.startsWith("Referenced configured reference @docs."))
expect(reference?.metadata?.reference).toMatchObject({ name: "docs", kind: "local", path: docs })