Skip to content

Manager qwenpaw 2.0 - #1094

Closed
LUOSENGWA wants to merge 39 commits into
agentscope-ai:mainfrom
LUOSENGWA:manager-qwenpaw-2.0
Closed

Manager qwenpaw 2.0#1094
LUOSENGWA wants to merge 39 commits into
agentscope-ai:mainfrom
LUOSENGWA:manager-qwenpaw-2.0

Conversation

@LUOSENGWA

Copy link
Copy Markdown

Summary

Migrates the AgentTeams Manager from copaw 1.0.2 to QwenPaw 2.0.1, complementing PR #1077's Worker migration. The Manager now runs QwenPaw 2.0 as its runtime, with copaw 1.0.2 retained in a separate venv only for bridge.py (config conversion, pure stdlib).

Changes (7 files, +131/-24)

  • manager/Dockerfile.copaw — Separate venvs + copaw_worker source overlay + plugin symlinks
  • plugins/agentteams-manager-tools/plugin.jsonNew — QwenPaw plugin manifest
  • plugins/agentteams-manager-tools/plugin.pyNew — registers projectflow/taskflow/message/filesync via api.register_tool()
  • copaw/src/copaw_worker/run_copaw_app.py — Remove install_tool_hooks() monkey-patch; simplify to runpy.run_module("qwenpaw")
  • manager/scripts/init/start-copaw-manager.sh — bridge.py uses /opt/copaw-venv/bin/python3
  • tests/lib/test-helpers.sh + tests/test-01-manager-boot.sh — pgrep dual-compat copaw app||qwenpaw app

Three gaps fixed

  1. Matrix plugin discovery — QwenPaw 2.0 scans WORKING_DIR/plugins/. Plugins symlinked at build time.
  2. Tool registration — Monkey-patch replaced with QwenPaw plugin API (api.register_tool()).
  3. agentscope version conflict — Separate venvs eliminate copaw 1.0.2 (agentscope 1.0.20) vs qwenpaw 2.0.1 (agentscope 2.0.4) conflict.

Verification

  • 4 manager tools' module-level import chain does not depend on copaw 1.0.2
  • bridge.py module-level imports are pure stdlib
  • agentscope 2.0.4 confirmed to have TextBlock/ToolResponse/Msg
  • api.register_tool() signature + PluginLoader mechanism verified against QwenPaw 2.0.1 source

Known limitation

taskflow.py and message.py contain deferred from copaw.config.config import load_agent_config in specific branches. These raise ImportError if hit (copaw 1.0.2 not in qwenpaw venv), but do not affect plugin loading or core functionality.

shiyiyue1102 and others added 30 commits July 25, 2026 22:01
Change-Id: I9ad741de07f4b7bfbbe3721030df8749546a0def
Change-Id: I7d7930c2391217d2c1887eb4d7e20449b4b16ce8
Change-Id: I3073b27f43f0ecde4e6fa2164fd49d2659d50dcf
Change-Id: I31687da14f2d40bfb50dade36a8d7467e9aa8ddd
Change-Id: Ieeed7e69bf3b23e3f03aaa5168e4fe807040c1fe
Change-Id: I9b2094e39e7dfc12437aedf347199ace79de1f5b
Change-Id: I04a62daf94efad6d0445dce93a56cf897530c25e
Change-Id: I7af2aece15ab2c733754beee59e31d377ca1d810
Change-Id: I55ac99d6d22041bc7e0d229449fd0333f6ca8a29
Change-Id: I961ed24fb022cbe8ac01fab81dfe018a00c14a5d
Change-Id: Ic437642f20426d03f585442fb06867ede35e6151
Change-Id: I352dc6fa16715f0ce03ce00931e61a0abadc4efc
Change-Id: I03e49cd512911c176c9a8cb3d407877fdf8b2363
Change-Id: I50577926a078ed50232e3eb6af6583d1162be7df
Change-Id: I88060c8e6c49862205ec602de2ae3e72a4f2c879
Change-Id: I37fe3a251d02b74e1a8ef6b5c35b39c811b11914
maplefeng-a and others added 9 commits July 27, 2026 23:10
Manager now runs on QwenPaw 2.0.1 alongside PR agentscope-ai#1077's Worker migration.

Key changes:
- Separate venvs: /opt/copaw-venv (copaw 1.0.2 for bridge.py) and
  /opt/venv/qwenpaw (qwenpaw 2.0.1 for Manager runtime), avoiding
  agentscope version conflict (1.0.20 vs 2.0.4)
- Replace copaw hooks (monkey-patch CoPawAgent._create_toolkit) with
  agentteams-manager-tools QwenPaw plugin (api.register_tool()) for
  projectflow/taskflow/message/filesync
- Delete Matrix channel physical overlay; use QwenPaw plugin system
  (agentteams-matrix-channel) symlinked into WORKING_DIR/plugins/
- run_copaw_app.py simplified to runpy.run_module('qwenpaw')
- bridge.py invoked with /opt/copaw-venv/bin/python3 (pure stdlib,
  copaw 1.0.2 deps preserved)
- CI pgrep pattern accepts both 'copaw app' and 'qwenpaw app'
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@LUOSENGWA LUOSENGWA closed this Jul 28, 2026
@LUOSENGWA
LUOSENGWA deleted the manager-qwenpaw-2.0 branch July 28, 2026 13:49
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.

4 participants