Repository navigation
[建议 / Feature] Official ZCode iPhone Companion — mobile trust surface for remote agent sessions (approvals / diffs / receipts) #872
Description
TL;DR (中文):建议开发官方 ZCode iPhone Companion —— 不做移动端 IDE,而是作为远程 agent 会话的“信任面”:审批敏感工具调用、查看 diff / 日志 / 回执、向活跃会话发送简短指令。本人自愿参与产品规格与 iOS 原型开发。
(English below · 英文正文如下)
问题类别 · Category
其他 / 不确定 · Other / Not sure(下拉选项未覆盖“移动客户端”,如归类有误请管理员调整)
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
使用场景 · Use case
My day-to-day is long-running, remote-first agent work: I develop my own programming language and compiler ecosystem, and I orchestrate ZCode sessions over SSH in tmux on a remote workspace (multiple agent lanes, CI/SLURM submissions, human-in-the-loop review with GLM models doing serious language-engineering work).
The problem: when I step away from the desk, the agent keeps working, but I lose the ability to supervise it. Pending approvals for sensitive tool calls sit untouched; a blocked goal can idle for hours; today my only options on the phone are a raw SSH client or desktop-bound surfaces, none of which are designed for fast, safe approval decisions.
建议方案 · Proposal
An official ZCode iPhone Companion — a focused iOS companion for remote ZCode sessions, explicitly not a mobile IDE:
- sign in with the same Z.ai/ZCode account
- list active sessions and goals; show agent state, current action, and pending approvals
- approve/deny sensitive tool calls with clear risk labels; Face ID/passcode gate for high-risk approvals
- inspect diffs, CI checks, logs, and receipts
- send short steering messages to active sessions
- push notifications for pending approvals, blocked goals, and completed goals
- connect securely to a desktop or remote ZCode workspace — an SSH/API client boundary, not a Swift port of the CLI
Suggested framing:
Mobile is the trust surface. The agent can keep working, while the human keeps authority.
预期价值 · Expected value
- Keeps long-running sessions moving: approvals resolved in seconds from anywhere instead of hours of idle wait.
- Makes the security/consent story visible and personal: transparent approvals + receipts on a Face ID–gated device.
- Covers SSH/headless/remote-first workflows that the desktop app cannot reach (the fastest-growing usage pattern for agent harnesses).
- Strong technical visibility: an official companion demonstrated on real compiler/language-development workflows would show ZCode as a serious agentic engineering environment, not just another coding assistant.
与现有渠道/issue 的关系 · Relation to existing discussions
- This is the official cross-post of Proposal: official ZCode iPhone Companion for remote agent sessions zcode-plugins#57 ("Proposal: official ZCode iPhone Companion for remote agent sessions", same author). It was posted there because the main
zai-org/ZCoderepository currently has Issues disabled; this feedback channel appears to be the designated triage path for ZCode suggestions. - Related community interest in mobile/remote access to agent sessions.
我可以贡献 · What I can contribute
If this aligns with the roadmap, I would be happy to help draft the product spec, prototype the iOS shell (Swift/SwiftUI), or contribute to the protocol/client boundary design.
你认为的优先级 · Your perceived priority
高 · High(仅供参考,最终由团队评估 / for reference only)
你使用的 ZCode 版本 / 环境 · ZCode version / environment
ZCode CLI on a remote Linux workspace (SSH-based agent cockpit, tmux-managed sessions); ZCode desktop on macOS arm64. Target platform for this request: iOS (iPhone).
补充材料 · Additional context
- Original proposal with full MVP description: Proposal: official ZCode iPhone Companion for remote agent sessions zcode-plugins#57
Activity
github-actions commentedon Sep 29, 2026
👋 感谢你的反馈,我们已经收到。
status: 待评估,你可以随时补充信息。needs: 更多信息标签并 @ 你。👋 Thanks — we've received your issue.
status: 待评估(Triage); feel free to add context.needs: 更多信息and ping you.