chore(cleanup): remove mode selection system

Max no longer has a Basic/Coach/Assistant mode selection: it will start
directly as a freelance coach, with a single server-side pipeline built in
a later step. Removes the Mode type/state, the skill-to-mode mapping, the
per-mode skill filtering and system prompt branching, and the 3-way mode
submenu in the context menu. Skills now always load as a single flat set
via loadSkills(); mode-specific behavior removal is a prerequisite for
retiring the old pipeline itself in the next cleanup commit.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
william
2026-10-31 17:51:30 +01:00
parent 885e24d037
commit 9aa5abc121
12 changed files with 28 additions and 494 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ const api = {
},
sendVoiceTurn: (audio: ArrayBuffer, mimeType: string): Promise<VoiceTurnResult> =>
ipcRenderer.invoke('voice-turn', audio, mimeType),
showContextMenu: (listening: boolean, transcribing: boolean): void => {
ipcRenderer.send('show-context-menu', listening, transcribing)
showContextMenu: (listening: boolean): void => {
ipcRenderer.send('show-context-menu', listening)
},
onToggleListening: (callback: (listening: boolean) => void): (() => void) => {
const handler = (_event: Electron.IpcRendererEvent, listening: boolean): void =>