Skip to content

feat: unify managed Agents API across six native harnesses - #165

Draft
anycodes wants to merge 1 commit into
feat/template-v1-runtime-20261112from
feat/agentsapi-harness-20261117
Draft

anycodes wants to merge 1 commit into
feat/template-v1-runtime-20261112from
feat/agentsapi-harness-20261117

Conversation

@anycodes

@anycodes anycodes commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add native Qoder, OpenCode and official DeepSeek Harness adapters and enable existing Claude Code in the managed path. Keep one public managed protocol with explicit per-Harness authentication/model mappings. Fix Turn identities/timestamps/events consumed by the official SDK, and accurately report configured runtimes and native progress limits. Prepare the paired0.4.0a8 candidate; no publication is claimed.

Changes

  • Preserve receipts/epochs/process ownership and exact native session continuation.
  • Normalize OpenCode completed-only tool events without fabricated realtime starts; reject unsupported workspace_write permission instead of broadening it.
  • Keep Qoder PAT independent of OpenAI endpoints and official DSH Messages separate from the existing repository-owned loop.
  • Update AGENTS and eight bilingual guide pairs to expose the real old Python public YAML consumer boundary. Current managed backend/new template run.py bypass that old parser; this does not complete generic YAML migration.
  • Record initial adversarial analysis, both additional independent review rounds, actual native component captures and failure controls under .agents.

Testing

Final lint/format/typecheck, paired builds/distribution/fresh-install/pip checks and repo health/hygiene passed. Official SDK local HTTP/SSE wire regressions:5passed. Native OpenCode/DSH two-turn continuation passed against a deterministic loopback model. One existing real endpoint /models preflight failed ConnectError; no real model task was sent or retried.

Local full-suite checkpoints: Server892pass/1skip/3fail (two raw HTTP environment controls, plus one obsolete runtime-count assertion subsequently corrected and targeted-tested); Client2657pass/27skip/8raw HTTP/early-response failures. Relevant final targeted22cases passed. The same raw socket failure class reproduces against an independent stdlib-only server. Assertions remain intact; make ci is not reported passing. All13 remote checks passed for source head d336eb8. Required hosted/native-model/image acceptance and final protected-branch review remain separate.

Definition of Done / limits

BLOCKED: published runtime artifacts, fresh non-root images, hosted PostgreSQL/FC deployment, six authorized real-model file/tool tasks, retained-Session upgrade and independent cloud cleanup. No cloud resources created. Keep Draft and overall tracking Issue309 open.

Refs Alibaba-Agent-Sandbox/awesome-templates#309.
Stacked on #164.

This branch has not been deployed

No deployments
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