Commit Graph

4 Commits

Author SHA1 Message Date
hikari 5beebeff44 feat: add makeAiRequest utility with Amari personality prompt
- Centralise all Claude API calls through a shared makeAiRequest module
- Apply a consistent Amari personality to all AI-generated content
- Add try/catch with logger.error to all AI and external API call sites
- Extract postGiteaIssue helper in createIssue for better structure
2026-03-03 11:53:59 -08:00
hikari 94247c2a68 refactor: align commands and interaction handler with project style
- Replace forwardToOwner embed approach with getComponentsForNaomi + Components V2
- Extract InteractionCreate handler to src/events/handleInteractionCreate.ts
- Replace deployGlobal.ts script with static commands.json payload
- Fix minor error handling in createTask and onboardMentee
2026-03-03 11:44:20 -08:00
hikari d0aaa7ec2f fix: resolve all linting issues in command files
Refactored createIssue, createTask, and onboardMentee commands to
extract helper functions, fix JSDoc descriptions, correct type
handling, and satisfy all ESLint rules. Also fixed object-shorthand
mixing in index.ts and the naming convention in anthropic.ts.
2026-03-03 10:58:45 -08:00
naomi 9df2d9ddc4 wip: commands 2026-03-03 09:38:18 -08:00