Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ body:
- Anthropic (Claude Pro/Max)
- ChatGPT Plus/Pro (Codex)
- GitHub Copilot
- Google Cloud Code Assist (Gemini CLI)
- Google Antigravity (Gemini, Claude, GPT-OSS)
- Cursor
- OpenCode Zen
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bun-cache-warm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
name: Seed bun store cache
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: ./.github/actions/bun-install
3 changes: 2 additions & 1 deletion .github/workflows/scient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ jobs:
- name: Test Scient's code
if: matrix.id == 'darwin-arm64'
run: |
bun --cwd=packages/utils test
# Each file in its own process, as upstream runs it: some of its tests spy on fs globally.
bun --cwd=packages/utils test --parallel
bun --cwd=packages/natives test --parallel --preload "$GITHUB_WORKSPACE/scripts/scient/macos-spelling-ready.ts"
bun --cwd=packages/coding-agent test test/scient
bun --cwd=packages/ai test test/scient
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pi-*.html

# Generated files
packages/coding-agent/export-assets/
packages/coding-agent/src/tools/browser/relay/extension.generated.json
packages/natives/npm/
/runs/
sdk/python/omp-rpc/src/omp_rpc.egg-info/
Expand Down
53 changes: 41 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ members = [
resolver = "3"

[workspace.package]
version = "19.0.1"
version = "19.1.1"
edition = "2024"
rust-version = "1.101"
license = "MIT"
Expand Down Expand Up @@ -323,6 +323,7 @@ fontdue = { version = "0.9", default-features = false }
# Data Structures - Collections
# ──────────────────────────────────────────────────────────────────────────────
phf = { version = "0.14", features = ["macros"] }
rpds = { version = "1.2", features = ["serde"] }
smallvec = { version = "1.16.1", features = [
"serde",
"write",
Expand Down
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,11 @@ RUN bun install --frozen-lockfile --ignore-scripts
# hoisted node_modules that `bun install` just produced.
COPY . /pi/

# Generate the hosted viewer metadata that `--ignore-scripts` skipped above.
# The root prepare script normally handles it on a vanilla install.
RUN bun --cwd=packages/coding-agent run gen:export-viewer
# Generate the hosted viewer metadata and the embedded relay extension that
# `--ignore-scripts` skipped above. The root prepare script normally handles
# them on a vanilla install.
RUN bun --cwd=packages/coding-agent run gen:export-viewer && \
bun --cwd=packages/browser-relay run gen:embedded

ENTRYPOINT ["/usr/bin/tini", "--", "/usr/local/bin/omp"]
CMD ["--help"]
2,798 changes: 1,429 additions & 1,369 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ _[Watch the capture ↗](https://omp.sh/clips/conflict.mp4)_

### 19 · Preview, then accept.

`ast_edit` returns a _(proposed)_ card with the replacement count. The change is staged. The agent writes a one-line reason to `xd://resolve`; the TUI turns it into an **Accept** card and the disk move happens — atomic, all or nothing.
`ast_edit` returns a _(proposed)_ card with the replacement count. The change is staged. The agent runs `resolve "<reason>"`; the TUI turns it into an **Accept** card and the disk move happens — atomic, all or nothing.

![omp TUI: ✓ AST Edit: console.log($X) (proposed) 3 replacements · 1 file, then ✓ Accept: 3 replacements in 1 file (AST Edit), followed by 'Applied 3 replacements in src/auth.ts.'](https://omp.sh/clips/codemod-poster.webp)

Expand All @@ -264,7 +264,7 @@ Eval's `computer` helpers — `computer.window(...)`, `win.screenshot()`, `win.a

## Whatever the task needs, _it's already in the box_.

Core tools live in the same namespace as `read` and `bash`. Pin the active set with `--tools read,edit,bash,…`; rarely used discoverable tools stay behind `xd://` devices. `read xd://` lists them, and `write xd://<tool>` runs one when `tools.xdev` is enabled.
Core tools live in the same namespace as `read` and `bash`. Pin the active set with `--tools read,edit,bash,…`; rarely used discoverable tools mount as bash commands when `tools.commands` is enabled — run `<tool> <args>` with the bash tool, and `<tool> --help` for schema-derived usage instead of schemas shipped on every request.

**Files & search**

Expand Down
10 changes: 5 additions & 5 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ _[观看录屏 ↗](https://omp.sh/clips/conflict.mp4)_

### 19 · 先预览,再接受。

`ast_edit` 会返回一张带替换数量的 _(proposed)_ 卡片,修改处于暂存状态。智能体向 `xd://resolve` 写入一行理由;TUI 将其变为 **Accept** 卡片,随后才真正写入磁盘——原子操作,要么全部成功,要么全部不做。
`ast_edit` 会返回一张带替换数量的 _(proposed)_ 卡片,修改处于暂存状态。智能体运行 `resolve "<reason>"`;TUI 将其变为 **Accept** 卡片,随后才真正写入磁盘——原子操作,要么全部成功,要么全部不做。

![omp TUI:✓ AST Edit: console.log($X)(proposed)3 处替换 · 1 个文件,然后 ✓ Accept: 1 个文件中 3 处替换(AST Edit),接着是 “Applied 3 replacements in src/auth.ts.”](https://omp.sh/clips/codemod-poster.webp)

Expand All @@ -261,7 +261,7 @@ Eval 的 `computer` 辅助方法——`computer.window(...)`、`win.screenshot()

## 任务需要什么,_早已内置_。

核心工具与 `read` 和 `bash` 位于同一命名空间。用 `--tools read,edit,bash,…` 固定启用的工具集;不常用的工具则通过 `xd://` 设备按需发现。`read xd://` 会列出它们,启用 `tools.xdev` 后可用 `write xd://<tool>` 运行。
核心工具与 `read` 和 `bash` 位于同一命名空间。用 `--tools read,edit,bash,…` 固定启用的工具集;启用 `tools.commands` 后,不常用的可发现工具会挂载为 bash 命令——用 bash 工具运行 `<tool> <args>`,用 `<tool> --help` 获取由 schema 派生的用法,而无需在每次请求中附带 schema。

**文件与搜索**

Expand Down Expand Up @@ -343,19 +343,19 @@ Eval 的 `computer` 辅助方法——`computer.window(...)`、`win.screenshot()

直连 API 和网关。可按角色混用不同提供商。

Anthropic `oauth` · OpenAI · OpenAI Codex `oauth` · Google Gemini · Google Vertex · Google Antigravity `oauth` · xAI · SuperGrok `oauth` · DeepSeek · Mistral · Groq · Cerebras · SambaNova · Fireworks · Together · Modular · Baseten · DeepInfra · Hugging Face · NVIDIA · Meta · Inception · Amazon Bedrock · Azure OpenAI · SiliconFlow · GMI Cloud · CoreWeave · Sakana AI · Command Code · Charm Hyper · StepFun · Helmcode · OpenRouter · Synthetic · Vercel AI Gateway · Cloudflare AI Gateway · Wafer Serverless · Scaleway · Otari
Anthropic `oauth` · OpenAI · OpenAI Codex `oauth` · Google Gemini · Google Vertex · Google Antigravity `oauth` · xAI · SuperGrok `oauth` · DeepSeek · Mistral · Groq · Cerebras · SambaNova · Fireworks · Together · Modular · Baseten · Chutes · DeepInfra · Hugging Face · NVIDIA · Meta · Inception · Amazon Bedrock · Azure OpenAI · SiliconFlow · GMI Cloud · CoreWeave · Sakana AI · Command Code · Charm Hyper · StepFun · Helmcode · OpenRouter · Synthetic · Vercel AI Gateway · Cloudflare AI Gateway · Wafer Serverless · Scaleway · Otari

### 编程套餐

走订阅额度。用 `/login` 登录后即可在会话中使用。

Cursor `oauth` · GitHub Copilot `oauth` · GitLab Duo · Devin `oauth` · Kimi Code `plan` · Moonshot · MiniMax Coding Plan `plan` · MiniMax Coding Plan CN `plan` · Alibaba Coding Plan `plan` · Qwen Portal `oauth` · Z.AI / GLM Coding Plan `plan` · Zhipu Coding Plan `plan` · Xiaomi MiMo · Qianfan · Umans `plan` · NanoGPT · Novita · Venice · Kilo · ZenMux · OpenCode Go · OpenCode Zen
Cursor `oauth` · GitHub Copilot `oauth` · GitLab Duo · Devin `oauth` · Kiro `oauth` · Kimi Code `plan` · Moonshot · MiniMax Coding Plan `plan` · MiniMax Coding Plan CN `plan` · Alibaba Coding Plan `plan` · Qwen Portal `oauth` · Z.AI / GLM Coding Plan `plan` · Zhipu Coding Plan `plan` · Xiaomi MiMo · Qianfan · Umans `plan` · NanoGPT · Novita · Venice · Kilo · ZenMux · OpenCode Go · OpenCode Zen

### 本地部署

兼容 OpenAI 的 `/v1/models`。本地实例无需密钥。

Ollama `local` · Ollama Cloud · LM Studio `local` · llama.cpp `local` · vLLM `local` · LiteLLM
Ollama `local` · Ollama Cloud · LM Studio `local` · llama.cpp `local` · vLLM `local` · LiteLLM · Bifrost

### 自定义 OpenAI 兼容提供商

Expand Down
Loading
Loading