feat(ai): AgentDetector — identifier les bots et agents IA Matrix (#11) #100

Merged
charles merged 4 commits from feat/11-agent-detector into main 2026-04-06 02:05:52 +00:00
Owner

Résumé

  • AgentDetector : détection via m.bot flag, patterns localpart, liste known_agents
  • AgentDetectorConfig : configurable via config.toml [ai]
  • AgentInfo : user_id, agent_type, display_name, capabilities, model
  • AgentType : OpenClaw / Generic / Custom
  • Cache DashMap pour accès concurrent sans lock global
  • invalidate() pour rafraîchir lors d'un changement de profil
  • 5 tests unitaires

Closes #11

## Résumé - `AgentDetector` : détection via `m.bot` flag, patterns localpart, liste `known_agents` - `AgentDetectorConfig` : configurable via `config.toml [ai]` - `AgentInfo` : `user_id`, `agent_type`, `display_name`, `capabilities`, `model` - `AgentType` : `OpenClaw` / `Generic` / `Custom` - Cache `DashMap` pour accès concurrent sans lock global - `invalidate()` pour rafraîchir lors d'un changement de profil - 5 tests unitaires Closes #11
feat(ai): export agent + detector (#11)
Some checks are pending
CI / cargo check (pull_request) Waiting to run
CI / cargo test (pull_request) Blocked by required conditions
CI / clippy + rustfmt (pull_request) Waiting to run
191813fbbb
feat(ai): AgentType + AgentInfo structs (#11)
Some checks are pending
CI / cargo check (pull_request) Waiting to run
CI / cargo test (pull_request) Blocked by required conditions
CI / clippy + rustfmt (pull_request) Waiting to run
0082115433
chore(ai): add dashmap + regex deps for AgentDetector (#11)
Some checks failed
CI / cargo check (pull_request) Has been cancelled
CI / cargo test (pull_request) Has been cancelled
CI / clippy + rustfmt (pull_request) Has been cancelled
ecc27bf236
charles deleted branch feat/11-agent-detector 2026-04-06 02:05:52 +00:00
Sign in to join this conversation.
No description provided.