chore(cleanup): remove assistant-exclusive skills

Removes the meeting transcription/recording feature end-to-end
(get_last_meeting_summary, meetingRecorder/meetingStore/summarize, the
useMeetingRecorder renderer hook, and the related IPC/preload wiring) and
the remember_info/forget_info long-term memory skills: all three were only
ever reachable from the now-removed Assistant mode. adjust_mood and its
mood store are unrelated (transversal) and are kept as-is.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
william
2026-10-31 19:27:11 +01:00
parent 2363dc8164
commit 83043b5819
23 changed files with 13 additions and 749 deletions
+1 -40
View File
@@ -9,48 +9,9 @@ vi.mock('electron', () => ({
app: { getPath: () => tempDir }
}))
const { getMemoriesText, getMood } = await import('../../src/main/memory/store')
const { rememberInfo } = await import('../../src/main/skills/memory/rememberInfo')
const { forgetInfo } = await import('../../src/main/skills/memory/forgetInfo')
const { getMood } = await import('../../src/main/memory/store')
const { adjustMoodSkill } = await import('../../src/main/skills/memory/adjustMood')
describe('remember_info', () => {
it('should refuse an empty piece of information', async () => {
await expect(rememberInfo.execute({ info: ' ' })).rejects.toThrow(/manquante/)
})
it('should persist the information so it is retrievable later', async () => {
const result = await rememberInfo.execute({ info: 'aime le cafe sans sucre' })
expect(result).toMatch(/Retenu/)
expect(getMemoriesText()).toMatch(/aime le cafe sans sucre/)
})
})
describe('forget_info', () => {
it('should refuse an empty query', async () => {
await expect(forgetInfo.execute({ query: '' })).rejects.toThrow(/manquante/)
})
it('should report when nothing matches the query', async () => {
const result = await forgetInfo.execute({ query: 'inexistant-xyz' })
expect(result).toMatch(/Aucune information/)
})
it('should remove a previously remembered piece of information matching the query', async () => {
await rememberInfo.execute({ info: 'deteste le lundi matin' })
const result = await forgetInfo.execute({ query: 'lundi' })
expect(result).toMatch(/oubliee/)
expect(getMemoriesText()).not.toMatch(/lundi/)
})
it('should clear every memory when the query is "tout"', async () => {
await rememberInfo.execute({ info: 'un souvenir quelconque' })
const result = await forgetInfo.execute({ query: 'tout' })
expect(result).toMatch(/effacee/)
expect(getMemoriesText()).toBe('')
})
})
describe('adjust_mood', () => {
it('should increase the mood score on a positive change', async () => {
const before = getMood()