Skip to content

model: delete the Model extensions the kernel no longer hosts - #48

Open
weilueluo wants to merge 1 commit into
mainfrom
agent-provider-catalog
Open

model: delete the Model extensions the kernel no longer hosts#48
weilueluo wants to merge 1 commit into
mainfrom
agent-provider-catalog

Conversation

@weilueluo

@weilueluo weilueluo commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Brain speaks the OpenAI and Anthropic shapes natively (aexhq/brain#66), so a Model is no longer an
extension: @aexhq/model-openai and @aexhq/model-anthropic are deleted, and nothing replaces
them. Design note: aex-research/docs/model-provider-and-catalog.md.

The SSE decoder, the usage projection and the terminal helper go with them — the two Model
components were their only consumers. @aexhq/model keeps the one export with another consumer:
the guard env-app reports its Tool and Environment failures through, and its package description
now says so.

One follow-up, forced by publish ordering. typed() moves to @aexhq/brain in aexhq/brain#66,
where the contracts whose extension-error it returns already live. env-app cannot depend on an
unpublished @aexhq/brain@0.6.0, so it keeps importing the trimmed @aexhq/model@0.2.0 here;
deleting that package and repointing env-app is a one-line change once Brain 0.6.0 is on npm.

Gates: npm run build, npm test, npm run package-smoke, node --test tools/*.test.mjs.

@weilueluo
weilueluo force-pushed the agent-provider-catalog branch 2 times, most recently from b1e1fc8 to 1eed5fb Compare August 26, 2026 10:12
@weilueluo weilueluo changed the title model: name the provider each Model component serves models: fold the Model dialects into one official component Aug 26, 2026
@weilueluo
weilueluo force-pushed the agent-provider-catalog branch from 1eed5fb to bcb3447 Compare August 26, 2026 10:15
@weilueluo
weilueluo marked this pull request as draft August 26, 2026 11:57
@weilueluo

Copy link
Copy Markdown
Contributor Author

Parked as a draft: with Model no longer a component kind, @aexhq/models is not created and the two model packages are simply deleted. Re-planning before this branch is rewritten.

Brain speaks the OpenAI and Anthropic shapes natively, so a Model is no longer an extension:
@aexhq/model-openai and @aexhq/model-anthropic go, and with them the SSE, usage and terminal
helpers that only they used. @aexhq/model keeps the one export with another consumer — the guard
env-app reports its Tool and Environment failures through.
@weilueluo
weilueluo force-pushed the agent-provider-catalog branch from bcb3447 to 8293504 Compare August 26, 2026 12:59
@weilueluo weilueluo changed the title models: fold the Model dialects into one official component model: delete the Model extensions the kernel no longer hosts Aug 26, 2026
@weilueluo
weilueluo marked this pull request as ready for review August 26, 2026 13:15
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