Files
oh-my-pi/packages/coding-agent/test
can1357 5d1ad6e80b fix(coding-agent): load extensions before --list-models
The --list-models handler in runRootCommand short-circuited to
listModels() right after Settings.init and modelRegistry.refresh,
exiting before extension loading ran in createAgentSession. As a
result, providers contributed via pi.registerProvider() (from -e
paths or settings.extensions) never appeared in the listing.

Extract a runListModelsCommand entry point in cli/list-models.ts
that loads extensions (CLI -e paths and settings.extensions) into
the supplied ModelRegistry, mirroring sdk.ts's handoff of pending
provider registrations, and then delegates to listModels. The load
is intentionally narrow: no agent loop, no MCP servers, no custom
tools.

Fixes #905
2026-05-02 07:48:30 +02:00
..
2026-05-02 07:01:57 +02:00
2026-03-14 10:46:26 +01:00
2026-04-12 01:36:28 +02:00
2026-05-02 07:01:57 +02:00
2026-04-24 22:36:44 +02:00
WIP
2026-03-23 08:54:54 -04:00
2026-05-02 07:01:57 +02:00
2026-05-02 07:01:57 +02:00
2026-05-02 07:01:57 +02:00