Skip to content

Fix local AI page grounding and per-tab conversation context across platforms - #166

Merged
rafiki270 merged 16 commits into
mainfrom
codex/tab-chat-context
Oct 11, 2026
Merged

rafiki270 merged 16 commits into
mainfrom
codex/tab-chat-context

Conversation

@rafiki270

@rafiki270 rafiki270 commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

With multiple tabs open, local chat could omit the originating tab ID, swallow the page-read error, and tell the model that the page was empty. Logo names were missing from text-only extraction, and chat history was reset on navigation or truncated before inference.

This pins reads to the requested tab, includes accessible image/ARIA/SVG names, and returns extraction failures explicitly, including OpenAI-compatible macOS tools and preload. macOS and Windows keep separate in-memory conversations until their tab closes; every existing backend receives complete supplied history. iOS and Android apply the same targeting and history contract to their existing APIs, and Linux receives the shared extraction fix. No new mobile chat panel or Linux AI service is added.

Affected native component versions are bumped: macOS 0.1.29, iOS 0.1.14, Android 0.1.13, Windows 0.1.11 and Linux 0.1.9. CLI/package versions are unchanged.

Validation:

  • macOS: Swift lint, 165 tests, arm64 Release build, real Gemma page-grounding and recall after navigation/tab switching/panel reopening.
  • iOS: 11 focused tests using real WKWebViews, Swift lint, arm64 Simulator Release build and installed launch. Physical device not verified; authenticated live API pairing was unavailable, so page reads were verified through native router tests.
  • Windows: CI CEF Release build/native tests and packaged-candidate live HTTP/MCP/page/tab acceptance passed on Maxis. Final shared shutdown source passed Windows PR CI. No real Windows model server was running; provider-input and session behavior are covered by native tests.
  • Android: full gradlew build bundleRelease, ktlint/lint, 115 tests each in Debug and Release, signed release installed and launched on API 35 emulator.
  • Linux: full CEF/GTK build, 27 native tests and complete live release acceptance on Ubuntu, including normal shutdowns, readiness cleanup and persistent restore. Shutdown snapshots ownership before reentrant CEF callbacks.
  • Portable CLI: lint/build/tests on Maxis, 608 pass and 64 device-dependent skips.

Existing Xcode warnings remain. Physical mobile-device acceptance is not claimed.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 14:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 11, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rafiki270
rafiki270 merged commit 6c4c7ae into main Oct 11, 2026
5 checks passed
@rafiki270
rafiki270 deleted the codex/tab-chat-context branch October 11, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants