multica/server/internal/handler
devv-eve 7c79611309
refactor: remove agent triggers config field (#469)
* refactor: remove agent triggers config field

Remove the triggers field from agent configuration. The on_assign,
on_comment, and on_mention behaviors are now always enabled (hardcoded),
as decided in the Agentflow design discussion (MUL-372).

Changes:
- Database: migration 032 drops triggers column from agent table
- Backend: remove triggers from create/update agent APIs and response
- Backend: simplify trigger-checking logic to always-enabled
- Frontend: remove TriggersTab UI and AgentTrigger types
- Tests: remove trigger config unit tests (no longer configurable)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* refactor: also remove agent tools config field

Remove the tools field from agent configuration alongside triggers.
The tools field was a placeholder — stored in the DB and shown in the
UI but never passed to the daemon or used at runtime.

- Database: migration 032 now also drops tools column
- Backend: remove tools from create/update agent APIs and response
- Frontend: remove ToolsTab UI, AgentTool type, and tools tab
- Update landing page copy

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(test): remove tools/triggers columns from test fixtures

The test fixtures still referenced the dropped tools and triggers
columns when inserting agent rows, causing CI failures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Devv <devv@Devvs-Mac-mini.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 22:02:28 +08:00
..
activity.go feat(upload): signed URLs for CLI + eager load attachments on comments 2026-03-31 15:42:10 +08:00
activity_test.go feat(activity): unified activity timeline with comment reply support 2026-03-28 21:53:08 +08:00
agent.go refactor: remove agent triggers config field (#469) 2026-04-07 22:02:28 +08:00
auth.go Merge pull request #462 from multica-ai/agent/j/ffea36be 2026-04-07 15:32:08 +08:00
comment.go refactor: remove agent triggers config field (#469) 2026-04-07 22:02:28 +08:00
daemon.go fix(runtime): display multica CLI version instead of agent CLI version (#332) 2026-04-02 14:40:35 +08:00
file.go fix(attachment): use UUIDv7 as S3 key and link attachments on issue/comment creation 2026-04-05 07:55:17 +08:00
handler.go feat(runtime): support CLI update from web runtime page (#331) 2026-04-02 14:12:49 +08:00
handler_test.go refactor: remove agent triggers config field (#469) 2026-04-07 22:02:28 +08:00
inbox.go fix(inbox): archive all items for the same issue instead of just one 2026-04-04 00:18:14 +08:00
issue.go refactor: remove agent triggers config field (#469) 2026-04-07 22:02:28 +08:00
issue_reaction.go feat(reactions): add emoji reactions for comments and issue descriptions 2026-03-30 22:37:59 +08:00
personal_access_token.go feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
reaction.go feat(inbox): auto-scroll to comment from notification and add jump-to-bottom button 2026-04-02 13:43:05 +08:00
runtime.go refactor(server): consolidate workspace permission checks into middleware 2026-03-30 03:40:20 +08:00
runtime_ping.go feat(runtimes): add Runtimes tab with usage tracking and connection test 2026-03-26 18:28:36 +08:00
runtime_update.go feat(runtime): support CLI update from web runtime page (#331) 2026-04-02 14:12:49 +08:00
skill.go fix(agent): allow members to manage skills on their own agents 2026-04-02 12:25:19 +08:00
subscriber.go feat(api): strict workspace isolation + agent parity fixes 2026-03-30 16:49:13 +08:00
subscriber_test.go feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00
trigger_test.go refactor: remove agent triggers config field (#469) 2026-04-07 22:02:28 +08:00
workspace.go refactor(server): consolidate workspace permission checks into middleware 2026-03-30 03:40:20 +08:00