mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 11:02:17 +00:00
fix(coding-agent): display extension loading errors to user (#639)
This commit is contained in:
commit
e4f1c0bb4d
2 changed files with 6 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
- Session picker respects custom keybindings when using `--resume` ([#633](https://github.com/badlogic/pi-mono/pull/633) by [@aos](https://github.com/aos))
|
||||
- Custom footer extensions now see model changes: `ctx.model` is now a getter that returns the current model instead of a snapshot from when the context was created ([#634](https://github.com/badlogic/pi-mono/pull/634) by [@ogulcancelik](https://github.com/ogulcancelik))
|
||||
- Extension loading errors are now displayed to the user instead of being silently ignored ([#639](https://github.com/badlogic/pi-mono/pull/639) by [@aliou](https://github.com/aliou))
|
||||
|
||||
## [0.42.5] - 2026-01-11
|
||||
|
||||
|
|
|
|||
|
|
@ -238,6 +238,11 @@ export async function main(args: string[]) {
|
|||
time("discoverExtensionFlags");
|
||||
}
|
||||
|
||||
// Log extension loading errors
|
||||
for (const { path, error } of extensionsResult.errors) {
|
||||
console.error(chalk.red(`Failed to load extension "${path}": ${error}`));
|
||||
}
|
||||
|
||||
// Collect all extension flags
|
||||
const extensionFlags = new Map<string, { type: "boolean" | "string" }>();
|
||||
for (const ext of extensionsResult.extensions) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue