Skip to content

refactor: separate client installation from local server runtime - #160

Merged
anycodes merged 3 commits into
mainfrom
refactor/simplify-20261110
Nov 11, 2026
Merged

anycodes merged 3 commits into
mainfrom
refactor/simplify-20261110

Conversation

@anycodes

@anycodes anycodes commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

Installing the Python client previously installed the local server runtime even for remote-only use. Move the exact matching server version to the optional [server] extra; keep standard, asynchronous, Provider and HTTP client entry points independent of that extra. Remove the decorator factory's redundant local execution shortcut while retaining real remote invocation and server registration.

Refs #157.

Type of Change

  • Refactoring
  • Documentation
  • Tests

Changes

Package validation now installs the real client wheel without the runtime, then installs its matching extra and tests registration. Bilingual usage, release validation and the command responsibility map are aligned.

Testing

  • Scoped packaging/registration tests, lint, typecheck, formatting, hygiene and repository health
  • Real isolated wheel installation, localhost HTTP client call, [server] installation/registration and pip check
  • Complete suites: environmental HTTP501/502 and streaming timeouts remain; exact passes/failures are retained in the evidence
  • Required remote CI and applicable complete E2E gate

Checklist

  • Tests, bilingual docs, CHANGELOG and owner engineering record included
  • No credentials included; version pins remain in lockstep

Definition of Done

Draft while complete-suite/E2E gates remain blocked. Evidence: .agents/evidence/verify/2026-11-10-client-runtime-boundaries.md. No cloud or release result is inferred from local installation.

Coordination: Alibaba-Agent-Sandbox/agent-sandbox#244. CLI examples explicitly require the current source CLI; no package release is claimed.

Source integration decision — 2026-11-11

The maintainer explicitly requested that the already-pushed content be merged into main now, ahead of the remaining acceptance work. This supersedes the earlier Draft hold for source integration only. It does not assert completion of unrun cloud acceptance, resolve all coordinated issues, qualify changed template identities, or authorize npm/PyPI releases. Historical evidence remains unchanged.

Current reviewed head: 17f41a16bf72babbe68c5d9ae8b8b860a7dba138. Exact-head CI is green.

Normal GitHub merge is used with the expected head SHA. Repository main has no active branch rules or required review requests. Retain open acceptance issues and the documented gaps; source merge is separate from release and full validation.

@anycodes
anycodes marked this pull request as ready for review November 11, 2026 01:05
@anycodes
anycodes merged commit cf3ff7d into main Nov 11, 2026
13 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