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:
@@ -149,7 +149,7 @@ describe('<App />', () => {
|
||||
render(<App />)
|
||||
const container = screen.getByTestId('avatar-viewer').parentElement!
|
||||
fireEvent.contextMenu(container)
|
||||
expect(showContextMenu).toHaveBeenCalledWith(false, false)
|
||||
expect(showContextMenu).toHaveBeenCalledWith(false)
|
||||
})
|
||||
|
||||
it('should enable listening once getAuthStatus reports an existing session', async () => {
|
||||
@@ -159,7 +159,7 @@ describe('<App />', () => {
|
||||
|
||||
await waitFor(() => {
|
||||
fireEvent.contextMenu(container)
|
||||
expect(showContextMenu).toHaveBeenCalledWith(true, false)
|
||||
expect(showContextMenu).toHaveBeenCalledWith(true)
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user