diff --git a/CHANGELOG.md b/CHANGELOG.md index a2c11068..94bc3e8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2026-11-12 + +### Changes +- [Prima] `do` and `check` now see the knowledge for the current page: knowledge files, `--knowledge` and `--auth`. Before, a sign-in step blocked with "no auth details" even when `--auth` was given. ## 2026-11-11 ### Changes diff --git a/boat/prima/src/prima.ts b/boat/prima/src/prima.ts index 23edf119..12490990 100644 --- a/boat/prima/src/prima.ts +++ b/boat/prima/src/prima.ts @@ -985,6 +985,7 @@ export class Prima { private async pageContext(result: ActionResult): Promise { const experience = this.bot.experienceTracker?.()?.renderExperienceTocFor?.(result) || ''; + const knowledge = this.bot.knowledgeTracker?.()?.renderRelevantContext(result) || ''; const map = getPreviousResearch(result.baseHash); let uiMap = ''; if (map) { @@ -1002,6 +1003,8 @@ export class Prima { ${compactAriaSnapshot(await this.refAriaSnapshot(result), true, (value) => this.offloadValue(value))} + ${knowledge} + ${uiMap} ${experience}