Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

merge: C59 (feat/c59-agent 040a5d21b) into integ/310

purple8e4ba265a431
diff --cc src-tauri/src/lib.rs
index 79340572,a76bc4fd..d14ca540
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@@ -18,7 -18,7 +18,8 @@@ mod android_entry
#[cfg(target_os = "linux")]
mod linux_media;
mod app_identity;
+mod appimage_gio;
+ mod secret_paths;
// The chat's HTML preview server. A phone starts no server (mobile_guard.rs).
#[cfg(desktop)]
mod html_preview;
diff --cc src/api/__tests__/tool-registry.test.ts
index d821de29,ca36d272..94773bed
--- a/src/api/__tests__/tool-registry.test.ts
+++ b/src/api/__tests__/tool-registry.test.ts
@@@ -43,20 -42,13 +43,26 @@@ describe('AGENT_TOOL_DEFS', () =>
// Prompt, der nicht nach Einstellungen fragt: im Chat und in Agent nur
// ueber SETTINGS_KEYWORDS, in Code hinter dem Tor (GATE_KEYWORDS).
//
+ // 3.1.0 (P-L): +1, web_research. Es ersetzt fuer kleine Modelle das Paar
+ // web_search+web_fetch in einem Aufruf (lib/tool-selection.ts). Dazu die
+ // fuenf Werkzeuge des LU-Browsers, nur auf macOS und Windows registriert.
+ // 3.1.0 (C60): +5, set_settings, lu_models, lu_service, lu_download und
+ // lu_open_settings. LU bedient sich selbst; eine Aktion (Modell, Dienst,
+ // Download) hat Nebenwirkungen und eine eigene Karte und passt deshalb
+ // nicht in set_setting. Alle fuenf stehen hinter demselben Tor wie
+ // get_settings und fahren nur auf einer Nachricht ueber LU selbst mit.
+ // 3.1.0 (C60-S5): +4 (zusammen mit C60: 28, mit P-L 29 plus Browser), workflow_find/_inspect/_install/_assign. Kein
+ // vorhandenes Werkzeug passt: run_workflow startet LUs eigene Ablaeufe,
+ // set_setting aendert Werte, das hier holt fremde Dateien mit Ampel und
+ // Karte. Sie fahren nur auf einer Nachricht ueber einen Workflow mit
+ // (WORKFLOW_GATE_WORDS), nie im Plain Chat, nie im Unteragenten.
- expect(AGENT_TOOL_DEFS).toHaveLength(29 + (browserExistsHere() ? BROWSER_TOOL_NAMES.length : 0))
+ // C59 A6–A8: +4, memory, skill_view, skill_save, session_search. Keines
+ // passt in ein vorhandenes: sie schreiben bzw. lesen LUs eigene Speicher
+ // (Gedaechtnis, Skills, Chats), nicht den Arbeitsordner. Im Katalog fahren
+ // sie nur mit, wenn sie gefragt sind: memory und session_search ueber ihre
+ // Woerter (TOOL_GROUPS, GATE_KEYWORDS), die Skill-Werkzeuge ueber
+ // withSkillTools, wenn es Skills gibt bzw. ein grosses Modell vorschlagen darf.
- expect(AGENT_TOOL_DEFS).toHaveLength(23)
++ expect(AGENT_TOOL_DEFS).toHaveLength(33 + (browserExistsHere() ? BROWSER_TOOL_NAMES.length : 0))
})
const expectedTools = [
@@@ -111,15 -102,14 +117,19 @@@
// 3.0.8 (A11): get_settings liest nur, set_setting fragt mit seiner
// eigenen Karte (alt -> neu), auch im Bypass. Eine zweite Rueckfrage
// davor fragte doppelt, wie bei create_order.
+ // 3.1.0 (P-L): web_research and the browser read only, like web_fetch.
+ // 3.1.0 (C60): die fuenf Selbststeuerungswerkzeuge aus demselben Grund
+ // wie set_setting: jede Aenderung fragt mit ihrer eigenen Karte.
+ // C59 A6–A8: memory schreibt nur LUs Gedaechtnis (sichtbarer Hinweis im
+ // Lauf, Geheimnisse abgelehnt), skill_save legt nur einen Vorschlag ab,
+ // den allein der Nutzer in den Einstellungen speichert, skill_view und
+ // session_search lesen nur.
expect(autoNames).toEqual([
- 'check_tasks', 'get_settings', 'memory', 'message_agent', 'session_search', 'set_setting', 'skill_save', 'skill_view',
- 'todo_write', 'web_fetch', 'web_search',
- ])
+ ...(browserExistsHere() ? [...BROWSER_TOOL_NAMES] : []),
- 'check_tasks', 'get_settings', 'lu_download', 'lu_models', 'lu_open_settings', 'lu_service', 'message_agent',
- 'set_setting', 'set_settings', 'todo_write', 'web_fetch', 'web_research', 'web_search',
++ 'check_tasks', 'get_settings', 'lu_download', 'lu_models', 'lu_open_settings', 'lu_service', 'memory', 'message_agent',
++ 'session_search', 'set_setting', 'set_settings', 'skill_save', 'skill_view', 'todo_write', 'web_fetch', 'web_research', 'web_search',
+ 'workflow_assign', 'workflow_find', 'workflow_inspect', 'workflow_install',
+ ].sort())
})
it('confirm-permission tools include file ops, code, shell, image, workflow, screenshot, delegate_task, sprint A/B/C tools', () => {
diff --cc src/api/hermes-tool-calling.ts
index 781510f8,7d71b905..1d346268
--- a/src/api/hermes-tool-calling.ts
+++ b/src/api/hermes-tool-calling.ts
@@@ -87,14 -87,10 +87,14 @@@ export function buildHermesToolPrompt(t
const notes: string[] = []
if (has('todo_write')) {
notes.push(
- 'PLAN: for a task of more than about three calls, call todo_write FIRST with the whole plan, then again after each step with the COMPLETE list (finished item completed, next one in_progress). The user sees that list while you work.',
+ 'PLAN: for a task of more than about three calls, send todo_write with the whole plan TOGETHER WITH your first real tool call, and later updates together with the next real call (finished item completed, next one in_progress), never as a step of its own. The user sees that list while you work.',
)
}
- if (has('web_search') && has('web_fetch')) {
+ if (has('web_research')) {
+ notes.push(
+ 'WEB: for questions about current or real-world facts call web_research. It searches and reads the best pages in one call. Answer from its sources and cite them as [1], [2]. Use web_fetch only for one more page.',
+ )
+ } else if (has('web_search') && has('web_fetch')) {
notes.push(
'IMPORTANT: web_search returns ONLY short snippets, NOT real data. You MUST ALWAYS call web_fetch on the best URL to read actual page content before answering.\nWorkflow: web_search → get URLs → web_fetch → read page → answer based on real data.',
)
diff --cc src/api/mcp/__tests__/kein-argument-ungeprueft.test.ts
index a8aa11d2,2ef42ae0..a808b355
--- a/src/api/mcp/__tests__/kein-argument-ungeprueft.test.ts
+++ b/src/api/mcp/__tests__/kein-argument-ungeprueft.test.ts
@@@ -86,16 -81,11 +86,21 @@@ const PFLICHT: Record<string, Record<st
message_agent: { task_id: 'task-1-abcdef', message: 'halte dich kurz' },
// A11: ohne Schluessel keine Karte und keine Aenderung.
set_setting: { key: 'theme' },
+ // C60: die Aktionen sagen ohne ihre Pflichtangabe, was fehlt, und beruehren
+ // dabei kein Backend.
+ lu_models: { action: 'list' },
+ lu_service: { service: 'comfyui', action: 'status' },
+ lu_download: { action: 'status' },
+ lu_open_settings: { area: 'keys' },
+ // C60-S5: ohne Fund keine Pruefung, ohne Fund und Modell keine Karte.
+ workflow_inspect: { id: 'civ1' },
+ workflow_install: { id: 'civ1' },
+ workflow_assign: { workflow: 'Flux Upscale', model: 'flux1-dev.safetensors' },
+ // C59 A6–A8: a sentence to the model, no bridge call.
+ memory: { action: 'search' },
+ skill_view: { name: 'release-notes' },
+ skill_save: { name: 'release-notes', description: 'How to write them', body: '## Procedure\n1. Plain English.' },
+ session_search: { query: 'rabattcode' },
}
/**
diff --cc src/api/mcp/__tests__/mobile-tool-filter.test.ts
index 267ff2ae,9fb0f91b..8ed7dbd1
--- a/src/api/mcp/__tests__/mobile-tool-filter.test.ts
+++ b/src/api/mcp/__tests__/mobile-tool-filter.test.ts
@@@ -46,16 -45,13 +46,18 @@@ function registryHere(): ToolRegistry
const GONE = ['shell_execute', 'pr_resume', 'screenshot', 'image_generate', 'video_generate']
/** The settings tools of A11 (3.0.8): desktop only, see MOBILE_UNBUILT_TOOLS. */
-const SETTINGS = ['get_settings', 'set_setting']
+// A11 (3.0.8), C60 (3.1.0) and C60-S5: LU's own settings, actions and the
+// ComfyUI workflow tools, desktop only.
+const SETTINGS = ['get_settings', 'set_setting', 'set_settings', 'lu_models', 'lu_service', 'lu_download', 'lu_open_settings',
+ 'workflow_find', 'workflow_inspect', 'workflow_install', 'workflow_assign']
const STAYS = [
- 'todo_write', 'web_search', 'web_fetch', 'file_read', 'file_write', 'file_edit', 'file_list',
+ 'todo_write', 'web_research', 'web_search', 'web_fetch', 'file_read', 'file_write', 'file_edit', 'file_list',
'file_search', 'run_workflow', 'delegate_task', 'check_tasks', 'message_agent',
+ // C59 A6–A8: they work on LU's own stores, so a phone keeps them too.
+ 'memory', 'skill_view', 'skill_save', 'session_search',
]
+/** The LU browser (P-L, 3.1.0): macOS and Windows desktop only. */
+const BROWSER = ['browser_open', 'browser_snapshot', 'browser_scroll', 'browser_click_link', 'browser_screenshot']
const DESKTOP_WORDS = /this computer|shell_execute|image_generate|video_generate|PowerShell|drive letter|uname|Get-ComputerInfo|ComfyUI|Finder/
afterEach(() => { vi.unstubAllGlobals() })
@@@ -202,14 -196,13 +204,16 @@@ describe('the prompt builders', () =>
}
// The three hashes were taken from the builders at 0448401e, the commit
- // before the mobile groundwork. The agent prompt's changed on purpose in C59
+ // before the mobile groundwork, and are identical to today's desktop output.
+ // P-L (3.1.0) changed the web line of the agent and the chat prompt on
- // purpose (web_research first); the two hashes are new from there.
++ // purpose (web_research first); C59 changed the agent prompt on purpose
+ // (A1: plain questions get a direct answer instead of "MUST use tools").
++ // The agent hash below is the one with both changes (integ/310).
it('desktop: the three prompts are byte for byte the ones from before this change', () => {
standOn('windows')
- expect(sha(buildAgentSystemPrompt('BASE', roster))).toBe('e756fef25255897881e7746319edaeffc0340d50050a7a7f7ce39ca507a2aedb')
- expect(sha(buildAgentSystemPrompt('BASE', roster))).toBe('f7991c99c432ca58aeba38cbb340179ae0dedff4e1a47dad62cb98e1fe64e2fa')
++ expect(sha(buildAgentSystemPrompt('BASE', roster))).toBe('9155fc04df15addacb1bd49778b7658fdf753b65d9570b9fe9468ea40a880a13')
expect(sha(buildAgentSystemPromptLean('BASE', 'file_read, file_write'))).toBe('28489a4807fe126dbef27f057b0414996a7618ca58d3c822cd51f7e6796184fd')
- expect(sha(buildChatToolsSystemPrompt('BASE'))).toBe('926d2c3e5a07a832f89af62d849248c3e4c01baa5ae73031ca7fdf257a4dc498')
+ expect(sha(buildChatToolsSystemPrompt('BASE'))).toBe('91e7f3ef8669ea15f7cca78a8789e842248ada2920505d4c23025d37ac416a0e')
expect(buildAgentSystemPrompt('', roster)).toContain('with full access to this computer')
expect(buildChatToolsSystemPrompt('')).toContain('- image_generate, create an image')
})
diff --cc src/api/mcp/__tests__/tool-catalog-tokens.test.ts
index 9a424ce1,22afc8fc..8a1849b8
--- a/src/api/mcp/__tests__/tool-catalog-tokens.test.ts
+++ b/src/api/mcp/__tests__/tool-catalog-tokens.test.ts
@@@ -131,18 -130,12 +131,25 @@@ const CODING_TOKEN_CEILING = 173
// 3.0.8 (A11): +762 Zeichen fuer get_settings und set_setting im VOLLEN
// Katalog (18.370 -> 19.132). Der codierende Zug bleibt gleich: beide stehen
// hinter dem Tor und fahren nur auf einer Nachricht ueber Einstellungen mit.
+// 3.1.0 (C60): +2.153 Zeichen fuer set_settings, lu_models, lu_service,
+// lu_download und lu_open_settings im VOLLEN Katalog (19.170 -> 21.323). Der
+// codierende Zug bleibt gleich: alle fuenf stehen hinter demselben Tor wie
+// get_settings und fahren nur auf einer Nachricht ueber LU selbst mit. Die
+// Beschreibungen sind auf einen Satz gekuerzt; die Token-Decke ist geschaetzt
+// (Zeichen / 4 auf die alte Decke), der Tokenizer-Lauf ist hier uebersprungen.
+// 3.1.0 (C60-S5): +1.370 Zeichen fuer workflow_find/_inspect/_install/_assign
+// im VOLLEN Katalog (zusammen mit C60 gemessen 23.161, mit brief-Feldern). Der codierende Zug bleibt gleich: die
+// vier stehen hinter dem Tor und fahren nur auf einer Nachricht ueber einen
+// ComfyUI-Workflow mit. Token-Decke geschaetzt im selben Verhaeltnis.
- const FULL_CHAR_CEILING = 23200
- const FULL_TOKEN_CEILING = 5040
+ // C59 A6–A8: +1.365 Zeichen fuer memory, skill_view, skill_save und
-// session_search im VOLLEN Katalog (19.170 -> 20.535). Der codierende Zug
++// session_search im VOLLEN Katalog (19.170 -> 20.535 allein). Der codierende Zug
+ // bleibt gleich: alle vier stehen hinter dem Tor (GATE_KEYWORDS), auch wenn
+ // ein kreativer Zug das Tor fuer die Medienwerkzeuge oeffnet.
-const FULL_CHAR_CEILING = 20580
-const FULL_TOKEN_CEILING = 4090
++// integ/310: C60, C60-S5, C59 und P-L (web_research) zusammen, gemessen
++// 25.032 Zeichen. Token-Decke geschaetzt im selben Verhaeltnis wie oben
++// (5040 / 23200).
++const FULL_CHAR_CEILING = 25080
++const FULL_TOKEN_CEILING = 5450
describe('the coding step carries a catalog the diet actually shrank', () => {
it('the gate really is what a plain coding turn gets', () => {
diff --cc src/api/mcp/builtin-tools.ts
index 4b7675b3,4f39cc60..9abaf207
--- a/src/api/mcp/builtin-tools.ts
+++ b/src/api/mcp/builtin-tools.ts
@@@ -2474,14 -2480,9 +2547,14 @@@ export function registerBuiltinTools(re
if (!toolExistsOnThisDevice(tool.name)) continue
const executor = EXECUTOR_MAP[tool.name]
if (executor) {
- registry.registerBuiltin(toolDefinitionForThisDevice(tool), executor)
+ registry.registerBuiltin(toolDefinitionForThisDevice(tool), guardSecrets(tool.name, executor))
}
}
+ // P-L (3.1.0): the LU browser, reading only, where it is built (macOS and
+ // Windows desktop). Kept in its own list (lib/browser-tools.ts).
+ if (browserExistsHere()) {
+ for (const def of BROWSER_TOOL_DEFS) registry.registerBuiltin(def, BROWSER_EXECUTORS[def.name])
+ }
// M7 / Audit W-T2: der Redirect für zurückgezogene Namen wird hier ANGEMELDET,
// statt dass execute() ihn sich per `await import('./builtin-tools')` zurück-
// holt. Der alte Rück-Import konnte nie in einen eigenen Chunk splitten
diff --cc src/components/settings/SettingsPage.tsx
index 3c539b6a,145e0d9f..01a6be23
--- a/src/components/settings/SettingsPage.tsx
+++ b/src/components/settings/SettingsPage.tsx
@@@ -1,4 -1,5 +1,5 @@@
+ import { SkillsSettings } from './SkillsSettings'
-import { useState, useEffect, useRef, type ReactNode, type ChangeEvent } from 'react'
+import { useState, useEffect, useLayoutEffect, useRef, type ReactNode, type ChangeEvent } from 'react'
import { withDetail } from '../../lib/error-text'
// `X` steht hier weiterhin, obwohl der Sprachabschnitt mit seinen Symbolen
// nach ./SpeechSettings.tsx gezogen ist: der Dismiss-Knopf der ComfyUI-Notiz
diff --cc src/hooks/__tests__/codex-create-tool-gate.test.ts
index 92b08ee1,46452528..178c18fd
--- a/src/hooks/__tests__/codex-create-tool-gate.test.ts
+++ b/src/hooks/__tests__/codex-create-tool-gate.test.ts
@@@ -75,11 -75,8 +75,13 @@@ describe('a plain coding turn does not
const after = names(gateCreateTools(codingCatalog(), 'fix the failing test in parser.ts'))
// 3.0.8 (A11): neun, get_settings und set_setting fahren nur auf einer
// Nachricht ueber Einstellungen mit.
+ // 3.1.0 (C60): vierzehn, die fuenf Selbststeuerungswerkzeuge hinter
+ // demselben Tor (set_settings, lu_models, lu_service, lu_download,
+ // lu_open_settings).
+ // C60-S5: dazu die vier Workflow-Werkzeuge, zusammen achtzehn.
- expect(before.length - after.length).toBe(18)
+ // C59 A6–A8: +4 (memory, session_search, skill_view, skill_save), on demand only.
- expect(before.length - after.length).toBe(13)
++ // Zusammen mit C60 und C60-S5: zweiundzwanzig.
++ expect(before.length - after.length).toBe(22)
expect(before.filter((n) => !after.includes(n)).sort()).toEqual([...GATE_OPENING_TOOLS].sort())
})
@@@ -259,11 -256,8 +261,13 @@@ describe('a run that discovers halfway
// NICHT aus GATE_KEYWORDS abgeleitet — sonst pruefte sie eine Karte gegen
// sich selbst und waere fuer jeden kuenftigen Eintrag automatisch gruen.
// 3.0.8 (A11): dazu die zwei Einstellungswerkzeuge.
+ // 3.1.0 (C60): dazu die fuenf Selbststeuerungswerkzeuge.
const TOR = [...CREATE_TOOLS, 'pr_resume', 'delegate_task', 'check_tasks', 'message_agent', 'get_settings', 'set_setting',
+ 'set_settings', 'lu_models', 'lu_service', 'lu_download', 'lu_open_settings',
+ // C60-S5
- 'workflow_find', 'workflow_inspect', 'workflow_install', 'workflow_assign']
++ 'workflow_find', 'workflow_inspect', 'workflow_install', 'workflow_assign',
++ // C59 A6–A8
+ 'memory', 'session_search', 'skill_view', 'skill_save']
for (const n of TOR) expect(isGatedTool(n), n).toBe(true)
for (const n of ['file_read', 'file_edit', 'shell_execute', 'todo_write', 'web_search']) {
expect(isGatedTool(n), n).toBe(false)
diff --cc src/hooks/useAgentChat.ts
index 1992b5ce,2318b47d..312fe415
--- a/src/hooks/useAgentChat.ts
+++ b/src/hooks/useAgentChat.ts
@@@ -85,8 -84,7 +85,8 @@@ import { getProviderIdFromModel } from
import { markToolsUnsupported } from '../api/tool-capability'
import { extractMemoriesFromPair } from './useMemory'
import { createSystemText, isCreateToolName, withCreateText } from '../lib/create/chat-switch'
- import { isSettingsToolName, isSelfControlToolName, SETTINGS_PROMPT_LINE, SELF_CONTROL_PROMPT_LINE } from '../lib/settings-tool-names'
-import { isSettingsToolName, SETTINGS_PROMPT_LINE } from '../lib/settings-tool-names'
++import { isSettingsToolName, isSelfControlToolName, withSelfControlTools, SETTINGS_PROMPT_LINE, SELF_CONTROL_PROMPT_LINE } from '../lib/settings-tool-names'
+import { WORKFLOW_PROMPT_LINE } from '../lib/workflow-tool-names'
// Create in chat only where the order card exists: not on the phone (lib/create-order-surface.ts).
import { createLiveHere } from '../lib/create-order-surface'
import {
@@@ -1294,9 -1322,10 +1324,12 @@@ export function useAgentChat()
// Computer control: the rules for the screen travel with the tool. The
// section is only there when the user switched the tool on.
agentSystemPrompt = withComputerUsePrompt(agentSystemPrompt, offeredTools.map((t) => t.name))
+ if (compactRun && strategy !== 'hermes_xml' && !opts?.chatToolsMode) {
+ agentSystemPrompt += '\n\nYour tool list is kept short on purpose. When you need a tool that is not in it, call tool_search with a few words first; the tools it finds are in your list from the next step on.'
+ }
- if (opts?.settingsTools) agentSystemPrompt += `\n\n${SETTINGS_PROMPT_LINE}`
+ if (opts?.settingsTools) agentSystemPrompt += `\n\n${opts?.chatToolsMode ? SETTINGS_PROMPT_LINE : SELF_CONTROL_PROMPT_LINE}`
+ // C60-S5: the workflow tools ride with the actions, outside plain chat.
+ if (opts?.settingsTools && !opts?.chatToolsMode) agentSystemPrompt += `\n${WORKFLOW_PROMPT_LINE}`
// Create in chat: on = the paragraph; outside Cloud mode and without the
// account's release not a word. Off = not a word, unless the customer
// plainly asks for a medium in this message: then the note that points at
@@@ -1982,6 -2038,13 +2042,15 @@@
reaText,
},
), planAllowed), toolRegistry.getAll())
+ // C59 A2: on the compact profile the cut tools stay reachable
+ // through tool_search, and whatever a search unlocked rides along.
- const withSkills = withSkillTools(selectedDefs, offeredTools, skillToolOpts)
++ // C60: on a turn about LU itself the self-control tools come back
++ // past the cap, before C59's skills and tool_search are added.
++ const withSkills = withSkillTools(withSelfControlTools(selectedDefs, offeredTools, lastUserMsg), offeredTools, skillToolOpts)
+ const relevantDefs = compactRun
+ ? briefDefs(withToolSearch(withSkills, offeredTools, convId, TOOL_SEARCH_DEF))
+ : withSkills
+ stepOfferedNames = new Set(relevantDefs.map((t) => t.name))
const tools: ToolDefinition[] = relevantDefs.map(t => ({
type: 'function' as const,
function: { name: t.name, description: t.description, parameters: t.inputSchema },
diff --cc src/hooks/useCodex.ts
index 279c0e51,1effa422..ceef54a5
--- a/src/hooks/useCodex.ts
+++ b/src/hooks/useCodex.ts
@@@ -125,7 -131,8 +133,9 @@@ import { codexToolDiff, codexEventKind
import { capHiddenToolHistory } from './codex/hidden-history'
import { withHouseConduct } from '../lib/system-prompt'
import { yieldSilentRunsTo } from '../lib/silent-runs-yield'
- import { gatePlanTool, planToolAllowed } from '../lib/plan-gate'
+ import { gatePlanTool, codePlanAllowed, planNudgeDue, PLAN_NUDGE } from '../lib/plan-gate'
+ import { newVerifyState, recordVerifyRound, verifyNudgeDue, VERIFY_NUDGE } from '../lib/verify-nudge'
++import { withSelfControlTools } from '../lib/settings-tool-names'
/** A name the model wrote in its text is a call only when it is one of the
* agent's tools, after the usual name repair (GH #147). */
@@@ -1586,8 -1629,21 +1635,23 @@@ export function useCodex()
mode: codexMode,
userText: lastUserMsg,
todos: convId ? useTodoStore.getState().getTodos(convId) : [],
+ reviewMode,
}),
)
+ // C59 A2: on the compact profile the cut tools stay reachable
+ // through tool_search, and whatever a search unlocked rides along.
+ searchCatalog = codexTools
- const skilled = withSkillTools(gatedDefs, codexTools, {
++ // C60: on a turn about LU itself the self-control tools come back
++ // past the cap, before C59's skills and tool_search are added.
++ const skilled = withSkillTools(withSelfControlTools(gatedDefs, codexTools, lastUserMsg), codexTools, {
+ skills: useSkillStore.getState().activeSkills().length > 0,
+ propose: codexProfile === 'full',
+ })
+ const relevantDefs = compactRun
+ ? withToolSearch(skilled, codexTools, convId, TOOL_SEARCH_DEF)
+ .map((t) => ({ ...t, description: briefFor(t) }))
+ : skilled
+ stepOfferedNames = new Set(relevantDefs.map((t) => t.name))
const tools: ToolDefinition[] = relevantDefs.map(t => ({
type: 'function' as const,
function: { name: t.name, description: t.description, parameters: t.inputSchema },
diff --cc src/lib/__tests__/keine-deutschen-saetze-in-der-oberflaeche.test.ts
index d571b994,3586fbd7..838acbbf
--- a/src/lib/__tests__/keine-deutschen-saetze-in-der-oberflaeche.test.ts
+++ b/src/lib/__tests__/keine-deutschen-saetze-in-der-oberflaeche.test.ts
@@@ -66,7 -66,7 +66,8 @@@ const DEUTSCH_MIT_GRUND: Record<string
'lib/create/media-wish.ts': 'Deutsche Medienwuensche, gegen die getippte Saetze gelesen werden (aus dem Web gespiegelt).',
'lib/create/chat-control.ts': 'Muster, gegen die der Schlusstext eines Modells gelesen wird, auch der deutsche (aus dem Web gespiegelt). Nichts davon wird angezeigt.',
'lib/explicit-search.ts': 'Deutsche Suchauftraege, gegen die getippte Saetze gelesen werden.',
+ 'lib/settings-tool-names.ts': 'Deutsche Wendungen fuer LUs Aussehen, gegen die getippte Saetze gelesen werden (C60). Nichts davon wird angezeigt.',
+ 'lib/session-search.ts': 'Deutsche Fuellwoerter, die aus einer getippten Suchanfrage fallen.',
}
/** Jede .ts und .tsx unter den Ordnern, ohne die Testbaeume. */
diff --cc src/lib/settings-reset.ts
index 72a8bbbe,0014d88e..5b2daba1
--- a/src/lib/settings-reset.ts
+++ b/src/lib/settings-reset.ts
@@@ -30,9 -30,9 +30,9 @@@ export const SETTINGS_TAB_RESET_KEYS: R
backends: ['apiEndpoint', 'hfDownloadPathOverride', 'downloadLimitMBps', 'exclusiveVramMode', 'builtinEngine', 'engineIdleUnloadMinutes'],
agent: [
'personasEnabled', 'defaultWorkspace',
- 'agentMaxToolCalls', 'agentMaxIterations', 'agentLoopGuard',
+ 'agentMaxToolCalls', 'agentMaxIterations', 'agentLoopGuard', 'agentCompactAuto',
'subAgentMaxToolCalls', 'subAgentMaxIterations', 'loopMaxPasses',
- 'searchProvider', 'braveApiKey', 'tavilyApiKey', 'exaApiKey', 'searchUserAgent',
+ 'searchProvider', 'braveApiKey', 'tavilyApiKey', 'exaApiKey', 'searchUserAgent', 'webStrictUrls',
'codexArchitectMode', 'codexArchitectModel', 'codexArchitectAllowCloud',
'codexRepoMapEnabled', 'codexRepoMapLimit', 'codexAutoApply', 'codexReviewMode',
'codexConfirmShell', 'codexCloudConfirmOptIn',
diff --cc src/lib/store-backup.ts
index 55170463,6760a13e..c032e6ed
--- a/src/lib/store-backup.ts
+++ b/src/lib/store-backup.ts
@@@ -41,9 -41,9 +41,11 @@@ export const STORE_KEYS =
'lu-cloud-outage',
// Neuron tweaker slider values per model and persona (3.0.9, P11).
'lu-neuron-tweaker',
+ // Where the Neurons window stood and whether it was folded (3.1.0).
+ 'lu-neuron-window',
'locally-uncensored-agent-goal',
+ // C59 A7: the skills the user saved, and the proposals waiting for them.
+ 'lu-skills',
// Computer control: the switch and the always allowed apps.
'locally-uncensored-computer',
// Create in chat: the orders of every conversation, so a card and its