Manager qwenpaw 2.0 - #1094
Closed
LUOSENGWA wants to merge 39 commits into
Closed
Conversation
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
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'
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 symlinksplugins/agentteams-manager-tools/plugin.json— New — QwenPaw plugin manifestplugins/agentteams-manager-tools/plugin.py— New — registers projectflow/taskflow/message/filesync viaapi.register_tool()copaw/src/copaw_worker/run_copaw_app.py— Removeinstall_tool_hooks()monkey-patch; simplify torunpy.run_module("qwenpaw")manager/scripts/init/start-copaw-manager.sh— bridge.py uses/opt/copaw-venv/bin/python3tests/lib/test-helpers.sh+tests/test-01-manager-boot.sh— pgrep dual-compatcopaw app||qwenpaw appThree gaps fixed
WORKING_DIR/plugins/. Plugins symlinked at build time.api.register_tool()).Verification
bridge.pymodule-level imports are pure stdlibagentscope 2.0.4confirmed to haveTextBlock/ToolResponse/Msgapi.register_tool()signature + PluginLoader mechanism verified against QwenPaw 2.0.1 sourceKnown limitation
taskflow.pyandmessage.pycontain deferredfrom copaw.config.config import load_agent_configin specific branches. These raiseImportErrorif hit (copaw 1.0.2 not in qwenpaw venv), but do not affect plugin loading or core functionality.