类库 › oh-my-pi
can1357

can1357/oh-my-pi

Oh-My-Pi是一个终端AI编程代理,提供IDE级体验。支持哈希锚定编辑、LSP、Python及浏览器控制等功能。基于TypeScript和Rust构建,集成40+提供商,旨在通过优化的工具链和子代理机制,为开发者提供开箱即用的高效编码辅助能力。

8,539 685 8,539 245
在 GitHub 上查看
can1357/oh-my-pi

技术栈

根目录 javascript

代码规范

Biome catalog: Prettier catalog:
查看全部依赖 (4)

开发依赖

@types/bun catalog: @typescript/native-preview catalog: lint-staged catalog: typescript catalog:

packages/agent javascript

查看全部依赖 (7)

依赖

@oh-my-pi/pi-ai catalog: @oh-my-pi/pi-natives catalog: @oh-my-pi/pi-utils catalog: @opentelemetry/api catalog:

开发依赖

@opentelemetry/context-async-hooks catalog: @opentelemetry/sdk-trace-base catalog: @types/bun catalog:

packages/ai javascript

查看全部依赖 (7)

依赖

@anthropic-ai/sdk catalog: @bufbuild/protobuf catalog: @oh-my-pi/pi-utils catalog: openai catalog: partial-json catalog: zod catalog:

开发依赖

@types/bun catalog:

packages/coding-agent javascript

查看全部依赖 (24)

依赖

@agentclientprotocol/sdk catalog: @babel/parser catalog: @mozilla/readability catalog: @oh-my-pi/omp-stats catalog: @oh-my-pi/pi-agent-core catalog: @oh-my-pi/pi-ai catalog: @oh-my-pi/pi-natives catalog: @oh-my-pi/pi-tui catalog: @oh-my-pi/pi-utils catalog: @puppeteer/browsers catalog: @types/turndown catalog: @xterm/headless catalog: chalk catalog: diff catalog: fflate catalog: handlebars catalog: linkedom catalog: lru-cache catalog: markit-ai catalog: puppeteer-core catalog: turndown catalog: turndown-plugin-gfm catalog: zod catalog:

开发依赖

@types/bun catalog:

packages/natives javascript

查看全部依赖 (2)

开发依赖

@napi-rs/cli catalog: @types/bun catalog:

packages/stats javascript

框架

React catalog:

CSS 框架

Tailwind CSS catalog:
查看全部依赖 (12)

依赖

@oh-my-pi/pi-ai catalog: @oh-my-pi/pi-utils catalog: @tailwindcss/node catalog: chart.js catalog: date-fns catalog: lucide-react catalog: react-chartjs-2 catalog: react-dom catalog:

开发依赖

@types/bun catalog: @types/react catalog: @types/react-dom catalog: postcss catalog:

packages/swarm-extension javascript

查看全部依赖 (2)

依赖

@oh-my-pi/pi-utils workspace:*

开发依赖

@types/bun ^1.3.14

packages/tui javascript

查看全部依赖 (6)

依赖

@oh-my-pi/pi-natives catalog: @oh-my-pi/pi-utils catalog: lru-cache catalog: marked catalog:

开发依赖

@xterm/headless catalog: chalk catalog:

packages/typescript-edit-benchmark javascript

代码规范

Prettier catalog:
查看全部依赖 (14)

依赖

@babel/generator catalog: @babel/parser catalog: @babel/traverse catalog: @babel/types catalog: @oh-my-pi/pi-agent-core catalog: @oh-my-pi/pi-ai catalog: @oh-my-pi/pi-coding-agent catalog: @oh-my-pi/pi-tui catalog: @oh-my-pi/pi-utils catalog: diff catalog: regexp-tree catalog:

开发依赖

@types/babel__generator catalog: @types/babel__traverse catalog: @types/bun catalog:

packages/utils javascript

查看全部依赖 (6)

依赖

@oh-my-pi/pi-natives catalog: beautiful-mermaid catalog: handlebars catalog: winston catalog: winston-daily-rotate-file catalog:

开发依赖

@types/bun catalog:

python/robomp/web javascript

框架

Solid.js catalog:

构建工具

Vite catalog:

CSS 框架

Tailwind CSS catalog:
查看全部依赖 (4)

开发依赖

@tailwindcss/vite catalog: @types/bun catalog: typescript ^5.7.3 vite-plugin-solid catalog:

截图

omp TUI: `LSP references` returns five hits across three files for the symbol `formatBytes`, then `LSP rename` applies the change with edits to format.ts/report.ts/cli.ts, then a `Search formatBytes 0 matches` confirmation. Final line: 'Rename complete. Five edits across three files…'.
omp TUI: a live lldb-dap session against a native binary at /tmp/omp-native/demo. Adapter=lldb-dap, Status=stopped, Frame=xorshift32, Instruction pointer 0x10000055C, Location demo.c:6:10. Debug scopes and Debug variables cards show locals (x = 57351) and the agent confirms the math: x went from 7 → 57351 (= 7 ^ (7<<13)).
omp TUI: agent reading src.rs and about to write Box::leak when the request aborts (red `Error: Request was aborted`), an amber `⚠ Injecting rule: box-leak` card injects the rule body `Don't reach for Box::leak in production code paths`, and the agent then course-corrects by proposing `Arc<str>` and asking the user to confirm.
omp TUI showing `task` spawning two subagents `ComponentsExports` and `RoutesExports`, the constraints block requiring an IRC DM between peers, the per-subagent status cards with cost and duration, and a final Findings section listing both exports plus an honest 'IRC coordination note' about a one-sided handshake.
omp TUI: web_search returns 10 ranked Perplexity sources for inference-time compute scaling, the agent picks an arxiv paper, calls read https://arxiv.org/pdf/2604.10739v1, and summarizes the paper's headline result with real numbers.
omp TUI: ✓ Read src/session.ts (⚠ 1 conflict), then ✓ Write conflict://1 · 1 line with content @theirs, then a confirmation 'Resolved.'
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.'
omp TUI driving the browser tool against DuckDuckGo

评论

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-05-30 19:14
浙ICP备14020137号-1 $방문자$