Build Release Installers / Release for the tag (push) Successful in 16s
Build Release Installers / Windows installer (NSIS x64) (push) Successful in 1m48s
Build Release Installers / Linux packages (AppImage + deb x64) (push) Successful in 2m21s
CI / Typecheck, lint, tests, e2e (push) Successful in 3m52s
Build Release Installers / macOS installers (dmg + zip, x64 + arm64) (push) Successful in 7m15s
- Home: the goal title box is two line boxes tall (2.8em), so a third line no longer peeks out. - Chat messages, reply fallbacks and assignment DMs follow the app display language; tasks and documents keep the working language. - OpenAI and GPT-account model lists match OpenAI's current line-up; default gpt-6.1-sol. - Onboarding connectors step takes the operator's Composio and logo.dev keys, then lists the toolkits the Composio project enables; without a key Connectors leaves the sidebar. - Google Antigravity removed end to end (migration 111), with the remote-revocation path only it used. - Office: 2x pixel people with outlines, rim light, walk, typing and blink; dithered real-clock lighting; detailed furniture and floors. - Per-agent model picker lists the provider's whole model list, live when connected. - Chat wake context breaks same-millisecond ties by insertion order; the mid-run inbox dedupes by message id. - The stored "clock" theme reads back instead of falling to "system". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
931 B
TypeScript
20 lines
931 B
TypeScript
import type { DatabaseSync } from "node:sqlite";
|
|
import type { WorkLanguage } from "../../shared/domain";
|
|
|
|
/** The language agents work in on a task: the task's own, else its company's; the app's display language plays no part. */
|
|
export function taskWorkLanguage(db: DatabaseSync, orgId: string, taskId: string): WorkLanguage {
|
|
const row = db.prepare(`
|
|
select coalesce(t.work_language, o.work_language) as language
|
|
from tasks t join organizations o on o.id = t.org_id
|
|
where t.id = ? and t.org_id = ?
|
|
`).get(taskId, orgId) as { language: WorkLanguage } | undefined;
|
|
if (!row) throw new Error("Task was not found.");
|
|
return row.language;
|
|
}
|
|
|
|
/** The app's display language; agents chat in it. */
|
|
export function appLanguage(db: DatabaseSync): WorkLanguage {
|
|
const row = db.prepare("select language from app_state where id = 1").get() as { language: WorkLanguage } | undefined;
|
|
return row?.language ?? "en";
|
|
}
|