Skip to content

feat(native): polish ACP registry search and identity - #200

Merged
rynfar merged 2 commits into
nativefrom
nw/139-registry-polish
Nov 4, 2026
Merged

rynfar merged 2 commits into
nativefrom
nw/139-registry-polish

Conversation

@rynfar

@rynfar rynfar commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Add provider discarded recent registry searches, showed initials for registry icons, and lacked the selected agent's Docs and Source links. A live policy could also remove the focused Config select.

Port the web registry flow into the native wizard, retaining the Create freeze and captured saved-ID guards. Recent results use a bounded environment/session-qualified cache, selected-agent links use website/repository metadata, and Config-select focus moves to a remaining editable field or the dialog when policy locks it.

Review fixes:

  • The pinned GPUI renderer exposes scale rather than a target size. Render SVGs through a fixed 64×64 viewport before allocating icon pixels; raster codecs decode only the first animation frame. Keep the 512 KiB input limit, 2048-pixel raster dimension limit, two-load bound, currentColor alpha/BGRA handling and bounded image eviction.
  • Failed icons retry on later demand after a 30-second cooldown. No retry timer or idle repaint loop runs.
  • Query idle retention begins on unsubscribe. Expire hidden entries before releasing/restoring them, clear expired visible data, and keep answer freshness independent from the idle deadline.

Validation:

  • Failing-first regressions reproduced intrinsic-size SVG rasterization, decoding both GIF frames, permanent failed-icon state and hidden-query revival. Fixed tests cover actual SVG/GIF codecs, static PNG/JPEG/WebP/BMP/TIFF/ICO, source limits, currentColor/BGRA, logical retry time, query freshness/idle lifetime and scope guards.
  • Fresh common checks passed once on a467fe87c2e999ef8185d53f82edf7a2fe951d2c: Clippy with -D warnings, 1,345 Rust tests, theme generation, 42 parity tests, conformance generation and full check:changed. Earlier snapshot-build and local offscreen fixture evidence is retained; the rebase does not change any feature blob.
  • Rebased onto a467fe87c2e999ef8185d53f82edf7a2fe951d2c: all nine non-ledger feature blobs exactly match reviewed head a1354f1c23a05bd3d96f99648a75657b6098c48d, both non-ledger range-diff entries are =, and all 129 other ledger rows match the new base byte for byte, including TR-WORK/ST-GENERAL Timestamp locale gaps (ST-GENERAL, TR-WORK) #188 and TR-MEDIA/TV-STREAM Chat media gaps (TR-MEDIA) #187. The fresh common checks ran on this new base.
  • Rebase identity and fresh-check logs: /private/tmp/native-139-polish-a467-proof/proof.json and nonledger-range-diff.txt in that directory. Failing-first regression logs and fixture evidence remain in /private/tmp/native-139-polish-review-proof/.

Local offscreen evidence, copied smoke state on 14658 and local disposable icons only:

  • Before: /private/tmp/native-139-polish-evidence/registry-before.png, /private/tmp/native-139-polish-evidence/identity-before.png
  • Updated: /private/tmp/native-139-polish-review-proof/registry-after.png, /private/tmp/native-139-polish-review-proof/identity-after.png
  • Policy focus: /private/tmp/native-139-polish-evidence/focus-before.png, /private/tmp/native-139-polish-evidence/focus-after.png, /private/tmp/native-139-polish-evidence/focus-all-after.png

ST-SHELL and ST-PROVIDERS remain partial under #139: concurrent whole argument-array merges are still a gap. No dependency, server, protocol or shared media edits. No production registry requests, preparations/downloads, provider creation/auth/launch, paid turns or real browser opening were exercised. No adversarial or exploit exercise was performed.

Built with GPT-6.1 Sol in Codex

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.

1 participant