Skip to content
zerx-labPublic
forked from can1357/oh-my-pi

About

⌥ AI Coding agent for the terminal — hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and more

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

17,781 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zcode

A coding agent with the IDE wired in.
zcode — a rebranded downstream fork of oh-my-pi

Release Release build License TypeScript Rust Bun


这是什么

zcode 是 can1357/oh-my-pi 的换品牌二次开发分支。 Agent 能力、工具集、模型目录全部来自上游并每周 rebase 跟进;本 fork 只改品牌面与发布通道, 不分叉功能路线。

上游文档(工具、配置、SDK、架构)依然适用,只需把命令名 omp 读作 zcode: 上游 README。

面 上游 本 fork
CLI / 二进制 omp zcode
配置目录 ~/.omp ~/.zcode(项目级 .omp/ 仍可读,无需迁移)
内部文档 scheme omp:// zcode://(omp:// 保留为隐藏别名)
环境变量前缀 OMP_* ZCODE_*(OMP_* 保留兼容)
发布通道 npm + Homebrew + GitHub Releases 仅 GitHub Releases(zerx-lab/zcode)
更新通道 omp update GitHub Releases,见下

npm 包名(@oh-my-pi/*)刻意不改:改名等于把数千行 import 路径变成永久 rebase 冲突面。 本 fork 不向 npm 发布。

安装

macOS · Linux

curl -fsSL https://raw.githubusercontent.com/zerx-lab/zcode/release/scripts/install.sh | sh

Alpine / musl: 预编译 musl 二进制动态链接 libstdc++/libgcc,Alpine 默认不带: 先 apk add libstdc++ libgcc。

Windows (PowerShell)

irm https://raw.githubusercontent.com/zerx-lab/zcode/release/scripts/install.ps1 | iex

直接下载:Releases 里按平台取 zcode-linux-x64 / zcode-darwin-arm64 / zcode-windows-x64.exe 等资产, SHA256SUMS.txt 是同一次构建生成的校验和。

从源码(需要 bun ≥ 1.3.14)

git clone -b zcode https://github.com/zerx-lab/zcode.git
cd zcode && bun install && bun run setup

跑起来:

zcode

分支与发布

upstream/main        can1357/oh-my-pi,只读
  ├── main           纯镜像,从不提交
  ├── zcode          补丁栈:品牌 commit + fork 功能 commit,每周 rebase 上游
  └── release         zcode + overlay 产物(本 README / assets / install 脚本),每次同步重建
  • 同步:bash brand/sync.sh(fetch → 漂移审查 → rebase → 重建 overlay → 门禁)。
  • 发布:在 zcode 上打 zcode-v* tag,zcode-release 工作流构建全平台二进制并创建 GitHub Release。
  • 策略细节(为什么这么分支、overlay 为什么不参与三方合并): docs/fork/sync-strategy.md。

贡献

通用改进请优先提给上游 can1357/oh-my-pi: 合并一个就少一处 fork 补丁。只与本 fork 品牌/发布相关的问题再开到本仓。

License

MIT,同上游。See LICENSE.

© 2025 Mario Zechner © 2025-2026 Can Bölük

About

⌥ AI Coding agent for the terminal — hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and more

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages