feat: Add Atlassian tools and agentic tool-calling loop

- Add AtlassianClient class: fetches per-user OAuth tokens from portal,
  calls Jira and Confluence REST APIs on behalf of users
- Add 7 Atlassian tools: confluence_search, confluence_read_page,
  jira_search, jira_get_issue, jira_create_issue, jira_add_comment,
  jira_transition
- Replace single LLM call with agentic loop (max 5 iterations)
  that feeds tool results back to the model
- Add PORTAL_URL and BOT_API_KEY env vars to docker-compose
- Update system prompt with Atlassian tool guidance

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-02-26 10:15:15 +02:00
parent 08a3c4a9cc
commit 48f6e7dd17
2 changed files with 477 additions and 15 deletions

View File

@@ -22,6 +22,8 @@ services:
- WILDFILES_BASE_URL
- WILDFILES_ORG
- MEMORY_SERVICE_URL=http://memory-service:8090
- PORTAL_URL
- BOT_API_KEY
volumes:
- bot-data:/data
depends_on: