web: pretty tool cards — args rendered as the real command/path (priority keys, label-less single field), output label; 276 tests green

This commit is contained in:
Raphael Westphal
2026-08-20 14:55:55 +02:00
parent 2d0839357d
commit bdfa61a8b2
4 changed files with 128 additions and 8 deletions
+6 -2
View File
@@ -74,7 +74,9 @@ try {
const models = await runtime.getAvailable(provider);
const found = models.find((m) => m.id === modelId);
if (found === undefined) {
console.error(`[lvmh-bridge] LVMH_MODEL ${requested} not found; using default`);
console.error(
`[lvmh-bridge] LVMH_MODEL ${requested} not found; using default`,
);
} else {
model = found;
console.error(`[lvmh-bridge] initial model: ${requested}`);
@@ -83,7 +85,9 @@ try {
console.error(`[lvmh-bridge] model resolution failed:`, err);
}
}
const { session } = await createAgentSession(model === undefined ? {} : { model });
const { session } = await createAgentSession(
model === undefined ? {} : { model },
);
// SDK does not bind extensions implicitly (unlike TUI/RPC modes); without
// bindExtensions the session_start event never fires, so the lvmh plugin
// would never dial the daemon.