chore: rebrand to Agent Orchestrator + fix pragma busy_timeout crash
Rebrand all user-visible BTerminal references to Agent Orchestrator (window title, product name, identifier, status bar, updater URL, context registration, CLAUDE.md branch reference). Fix critical btmsg/bttask crash: pragma_update uses execute() internally but PRAGMA busy_timeout returns a result row, causing "Execute returned results" error that silently broke all CommsTab message loading. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a313da8892
commit
4fee567dd9
8 changed files with 19 additions and 18 deletions
|
|
@ -32,7 +32,7 @@
|
|||
loading = true;
|
||||
try {
|
||||
// Register project if not already (INSERT OR IGNORE)
|
||||
await ctxRegisterProject(projectName, `BTerminal project: ${projectName}`, projectCwd);
|
||||
await ctxRegisterProject(projectName, `Agent Orchestrator project: ${projectName}`, projectCwd);
|
||||
|
||||
const [ctx, shared, sums] = await Promise.all([
|
||||
ctxGetContext(projectName),
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@
|
|||
</button>
|
||||
<span class="sep"></span>
|
||||
{/if}
|
||||
<span class="item version">BTerminal v3</span>
|
||||
<span class="item version">Agent Orchestrator v3</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@
|
|||
try {
|
||||
agents = await getGroupAgents(groupId);
|
||||
channels = await getChannels(groupId);
|
||||
} catch {
|
||||
// btmsg.db might not exist
|
||||
} catch (e) {
|
||||
console.error('[CommsTab] loadData failed:', e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -70,8 +70,8 @@
|
|||
} else if (currentView.type === 'channel') {
|
||||
channelMessages = await getChannelMessages(currentView.channelId, 100);
|
||||
}
|
||||
} catch {
|
||||
// silently fail
|
||||
} catch (e) {
|
||||
console.error('[CommsTab] loadMessages failed:', e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -91,7 +91,8 @@
|
|||
$effect(() => {
|
||||
void groupId;
|
||||
if (groupId) {
|
||||
ensureAdmin(groupId).catch(() => {});
|
||||
console.log('[CommsTab] groupId:', groupId);
|
||||
ensureAdmin(groupId).catch((e) => console.error('[CommsTab] ensureAdmin failed:', e));
|
||||
loadData();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue