Skip to content

[Feature Request] Re-introduce ZCode as a harness (top-voted in #59) #357

Description

@4sj9wrhgbp

Context

Demand signals from the vote thread

  • "增加ZCode就够用了" (+ suggest a harness-visibility config so the picker only shows selected agents)
  • "ZCode 带的 150% 额度,要是适配也能用上这多的额度就好了" — GLM Coding Plan users specifically want to use their ZCode-side quota bonus
  • Multiple additional "zcode" votes in comments

For CN users on GLM Coding Plan, ZCode is the official GLM harness, and CodexHost currently has no GLM-native option.

Proposal: re-introduce ZCode in stages

  1. Stage 1 — baseline stdio harness: restore the stdio adapter from feat: preserve ZCode integration for future redesign #337 as a regular external harness (API key / GLM Coding Plan endpoint), explicitly scoped: no native account pairing yet; unsupported capabilities (Fork / Rollback / Subagent transcript) declared per the existing capability-boundaries mechanism instead of being silently absent. This already covers the main vote-thread ask (quota-backed GLM sessions inside Codex Desktop).
  2. Stage 2 — native account pairing: official account pairing / CAPTCHA acceptance and the Desktop-backend experience, iterated after the baseline is stable.

This is complementary to docs/proposals/zcode-independent-client-feasibility.md: that track is about a future standalone client (UI layer), while harness-layer access serves current Codex Desktop users now. #337 already holds the preserved implementation to build from.

Environment for testing

Windows 11, CodexHost 0.9.1 (installer + npm CLI 0.9.1), Codex Desktop 26.915.4065.0, GLM Coding Plan available — happy to test any reintroduction build on Windows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:adapterHarness Adapter 原生能力接入enhancementNew feature or request类型:功能请求请求新增能力或扩展现有功能

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions