Skip to content

Make engineering components discoverable and usable by agents - #16

Merged
ajhcs merged 2 commits into
mainfrom
codex/agent-component-usability
Nov 4, 2026
Merged

ajhcs merged 2 commits into
mainfrom
codex/agent-component-usability

Conversation

@ajhcs

@ajhcs ajhcs commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Component discovery previously searched every record's prose and returned the entire 1,076-entry catalog by default. This follow-up adds ranked name/ID/facet searches, bounded pages, revision-bound cursors, exact-ID selection/export, and structured error recovery. Default output falls from 235,119 bytes to 8,083 bytes while all entries remain available through paging.

Adds a self-contained accessible shortlist view with visible stable IDs, named keyboard controls, local selection restoration, clipboard fallback and a revision-bound JSON handoff. Export validates selectors before writing, preserves existing outputs, and protects the installed runtime. Artwork, source meanings, catalog IDs and existing adapters remain unchanged.

The diagram skill gains focused discovery metadata and on-demand agent guidance. The review distinguishes reusable artwork IDs, diagram occurrences, DOM IDs and authoritative model IDs. It cites current OpenAI plugin/skill/UI guidance and explicitly retains the skills-only boundary: portable HTML is not advertised as a registered ChatGPT/MCP Apps widget.

Validation: 14 focused regressions plus the 7 existing component tests; browser tests cover keyboard selection, restore, stale-state refusal, clipboard fallback, download/export, desktop/narrow/200-percent/dark layouts, and absence of external requests. The full local parser-required run and the hosted Python 3.10/3.12 logs each show all 66 suites / 1,078 tests passing. Native ChatGPT host acceptance and actual LLM skill-activation evaluation remain unrun.

Bumps both plugin manifests to 0.2.0-alpha.6 and documents the bounded JSON response migration. The original component asset revision remains alpha.5.

@ajhcs
ajhcs merged commit df0f8cc into main Nov 4, 2026
4 checks passed
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