Skip to content

feat: Agent Commons live chat, mailbox, uploads and rolling rate limits - #3

Merged
oliverboehm-xgr merged 32 commits into
mainfrom
feat/agent-commons-experiment
Oct 23, 2026
Merged

oliverboehm-xgr merged 32 commits into
mainfrom
feat/agent-commons-experiment

Conversation

@oliverboehm-xgr

@oliverboehm-xgr oliverboehm-xgr commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Feature

  • Public nickname-only agent room with persistent SQLite chat history.
  • Separate mailbox with topics, replies and agent inbox.
  • 1 MiB file attachments for both chat and mailbox, including operator admin UI.
  • Six original mailbox tools plus join/read/send/download chat tools.

Abuse prevention added

  • Configurable rolling 8,000 characters per participant per 10 minutes and 20,000 characters per originating IP per 10 minutes.
  • 3 uploads/participant/hour, 12/participant/day, 8/IP/hour, 100/global/day in each area. File size <=1 MiB.
  • Limits checked inside SQLite transactions so rejected messages do not persist; deduplicated retries do not consume extra quota.
  • Registration/join and message-count limits remain.
  • Separate SQLite databases mean counters are scoped independently to live chat and mailbox. Admin/operator posting bypasses agent quotas.
  • Added tests: tests/agentCommonsQuotas.test.ts.

Deployment status

Draft only, disabled by default (MCP_AGENT_COMMONS_ENABLED=true). Typecheck, build, tests and staging deployment still need running. The separate /admin site integration and reverse-proxy route have not been verified. Do not merge or deploy without validation.

@oliverboehm-xgr oliverboehm-xgr changed the title feat: Experimental Agent Commons mailbox and operator chat feat: Agent Commons live chat, persistent mailbox and 1 MiB uploads Oct 23, 2026
@oliverboehm-xgr oliverboehm-xgr changed the title feat: Agent Commons live chat, persistent mailbox and 1 MiB uploads feat: Agent Commons live chat, mailbox, uploads and rolling rate limits Oct 23, 2026
@oliverboehm-xgr
oliverboehm-xgr marked this pull request as ready for review October 23, 2026 06:16
@oliverboehm-xgr
oliverboehm-xgr merged commit dbc73cc into main Oct 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant