Skip to content

refactor(cli): migrate agent runtime to dashscope-agenticx - #230

Merged
lzsweb merged 6 commits into
mainfrom
dev/v2.1-4
Nov 11, 2026
Merged

lzsweb merged 6 commits into
mainfrom
dev/v2.1-4

Conversation

@lzsweb

@lzsweb lzsweb commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Replace the vendored dashscope/acli runtime with the optional dashscope-agenticx dependency and remove migrated implementation tests and resources.
  • Preserve dashscope / dashscope1 interactive and one-shot Expert routing, API key forwarding, --cli / --tui, and piped prompts.
  • Download the external Expert profile with default Bailian configuration; stop startup if the download fails instead of entering workspace setup.
  • Update packaging, protocol conformance tests, examples, and documentation for the external runtime.

Test plan

  • python -m pytest tests --ignore=tests/legacy_1x — 4725 passed, 4 skipped
  • python -m pytest tests/legacy_1x — 761 passed, 42 skipped
  • Build and inspect wheel: no dashscope/acli; acli and acli-all resolve to dashscope-agenticx[tui]
  • Install wheel [acli] in a clean venv and smoke-test both CLI entry points
  • Verify the corrected Expert profile installs 13 skills and skips workspace setup with its default configuration

Related: dashscope/dashscope-agenticx-experts#1 (merged).

zhansheng.lzs and others added 6 commits November 11, 2026 15:27
Replace the vendored acli runtime with the published AgenticX dependency while preserving both CLI entry points, one-shot prompts, interactive routing, and default Expert configuration.
Apply the Black formatting required by the pre-commit workflow.
…erience

- Add detailed tips for missing or incompatible dashscope-agenticx imports
- Refine first interactive run prompt to offer downloading the expert profile
- Handle download failures gracefully with retry hints for the user
- Update expert CLI help text with escaped [acli] to avoid rich markup issues
- Add tests covering import tip rendering and first-run download behavior
- Ensure KeyboardInterrupt during prompt cleanly cancels the expert launch
@lzsweb
lzsweb merged commit 20ee363 into main Nov 11, 2026
12 checks 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