1. 22 May, 2026 5 commits
    • feat(layer4): add Memory wrapper with summarize_truncation · 1cf6119c
      Introduce SessionMemory as a clean Memory API wrapping SessionStore,
      providing message add/get with summarization when conversation exceeds
      max_rounds. Integrate into AgentHub.process_message to replace direct
      SessionService calls for message read/write. Add ensure_active_session
      to SessionService for session lifecycle management.
      
      Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
      sunqi02 committed
    • feat(layer3): replace skill_scanner with Toolkit.register_agent_skill · 65cb8408
      Replace the self-built skill_scanner.py (which scanned SKILL.md files and
      wrote config/skills.json) with AgentScope's native Toolkit.register_agent_skill().
      Skills are now registered directly to the Toolkit at AgentHub startup, and
      skill metadata is read from toolkit.skills instead of the JSON cache file.
      
      Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
      sunqi02 committed
    • feat(layer2): replace ToolManager with AgentScope Toolkit · cf9e3c41
      Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
      sunqi02 committed
    • feat(layer1): replace httpx with OpenAIChatModel + OpenAIChatFormatter · d11f16eb
      Replace the raw httpx HTTP client with AgentScope's native
      OpenAIChatModel and OpenAIChatFormatter classes for model calls.
      
      Changes:
      - Remove `import httpx` and `_model_client` property
      - Add `self.model` (OpenAIChatModel) and `self.formatter` (OpenAIChatFormatter)
      - Add `_dict_to_msg()` helper to convert API dicts to Msg objects for the formatter
      - Rewrite `_call_model()` to use AgentScope model + formatter pipeline
      - Parse ChatResponse content blocks (TextBlock/ToolUseBlock) directly
      - `close()` becomes a no-op since AgentScope manages its own client lifecycle
      
      Verification: All 22 tests pass (14 agent_hub + 8 session_service_internal)
      
      Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
      sunqi02 committed
    • fix(task0): align SessionService internal API with AgentHub expectations · 8e1e87fa
      - Add SessionInfo model to schema/session.py for AgentHub contract
      - Add 6 AgentHub internal methods to SessionService (KV-based, no DB)
      - Update _ActiveSessionPayload with room_id and current_agent_code
      - Fix AgentHub to use dict-based message access and session_id param
      - Fix route conflict: rename routing /chat/completions to /routing/completions
      - Fix response_model on agent_hub endpoint
      - Add db_session fixture to conftest.py
      - Move SessionService internal method tests to new test file
      - Fix test_agent_hub.py imports (SessionMessage→ConversationHistory)
      - All 22 Task-0-relevant tests pass (61 including existing coverage)
      
      Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
      sunqi02 committed
  2. 21 May, 2026 17 commits
  3. 20 May, 2026 5 commits
  4. 19 May, 2026 1 commit
  5. 18 May, 2026 4 commits
  6. 14 May, 2026 1 commit