-
Notifications
You must be signed in to change notification settings - Fork 1
v0.2.0 feat: internalize native agent tool platform capabilities #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
83c7ce2
b42bb17
2f76080
9eb70de
9da1a12
5fe436d
2bd3adb
9e317c8
80809b0
7bb58e4
81f3239
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,7 @@ tmp/ | |
| .claude/statusline.* | ||
| .claude-flow/ | ||
| .omc/ | ||
| .omx/ | ||
| .swarm/ | ||
| .gitnexus | ||
| ruvector.db | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # OMP Vibe / Director 研究记录 | ||
|
|
||
| 日期:2026-08-13 | ||
|
|
||
| ## 来源 | ||
|
|
||
| - [OMP Vibe mode 官方文档](https://github.com/can1357/oh-my-pi/blob/main/docs/vibe-mode.md) | ||
| - [OMP task 官方文档](https://github.com/can1357/oh-my-pi/blob/main/docs/tools/task.md) | ||
| - [OMP session 官方文档](https://github.com/can1357/oh-my-pi/blob/main/docs/session.md) | ||
| - [OMP magic keywords 官方文档](https://github.com/can1357/oh-my-pi/blob/main/docs/magic-keywords.md) | ||
| - [OMP 官方 releases](https://github.com/can1357/oh-my-pi/releases) | ||
| - [OMP LICENSE](https://raw.githubusercontent.com/can1357/oh-my-pi/main/LICENSE) | ||
|
|
||
| ## 结论 | ||
|
|
||
| `/vibe` 不是一个简单的路由标签,也不是新的 agent 核心。它把顶层交互会话变成 director,把工作交给可持久化的后台 worker;director 的工具集收窄为读操作、可选的 todo 和 worker 控制,worker 继续使用搜索、编辑、执行、构建能力。模式与 worker 状态写入 session,恢复时重新载入。 | ||
|
|
||
| 因此 OMC-RS 不应直接复制 `vibe_spawn` 等工具或再造一套执行循环。当前最小映射是: | ||
|
|
||
| 1. 继续复用 `omc-team` 的生命周期、任务图、worker health、通信和 runtime 启动能力。 | ||
| 2. 通过统一 `omc` CLI 暴露 `team` 入口,入口只做进程桥接,不新增调度器。 | ||
| 3. 等 Hermes/Sentinel 的真实消费契约明确后,再决定是否需要持久化 director/session mode;在此之前只保留 `tool route` 的渐进式路由。 | ||
|
|
||
| ## 当前来源状态 | ||
|
|
||
| 截至本记录日期,官方 release 页面显示最新版本为 `v17.2.15`,提交为 `06aecdd`;项目许可证为 MIT。release notes 仍在修复 `/vibe` 的工具集与 session mode 行为,说明该能力的生命周期细节仍应以版本锁定后的官方契约为准,不宜只抄名称。 | ||
|
|
||
| ## 对 OMC-RS 的边界 | ||
|
|
||
| - 纳入:director/worker 的职责分离、后台任务可恢复、worker 状态可观测、单一入口消费已有 `omc-team`。 | ||
| - 暂不纳入:OMP 的 provider/model 体系、`workflowz` eval kernel、`vibe_*` 独立工具集、`omp compress` 等与当前 OMC-RS 契约重复或缺少真实宿主消费者的能力。 | ||
| - 验收:统一 `omc team ...` 能调用当前真实 `omc-team` runtime;release binary 在干净临时目录完成 init/session smoke;不能只靠模板输出或静态 help 证明完成。 | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,14 +11,24 @@ repository.workspace = true | |
| clap = { version = "4", features = ["derive"] } | ||
| serde = { workspace = true, features = ["derive"] } | ||
| serde_yaml = "0.9" | ||
| serde_json = { workspace = true } | ||
| chrono = { workspace = true } | ||
| dirs = { workspace = true } | ||
| thiserror = { workspace = true } | ||
| walkdir = "2.4" | ||
| regex = "1" | ||
|
Comment on lines
18
to
19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win Move Every other dependency in this manifest uses ♻️ Proposed manifest change-walkdir = "2.4"
-regex = "1"
+walkdir = { workspace = true }
+regex = { workspace = true }Add the matching entries to the root 🤖 Prompt for AI Agents |
||
| omc-host = { path = "../omc-host" } | ||
| omc-interop = { path = "../omc-interop" } | ||
| omc-mcp = { path = "../omc-mcp" } | ||
| omc-python = { path = "../omc-python" } | ||
| omc-skills = { path = "../omc-skills" } | ||
| omc-shared = { path = "../omc-shared" } | ||
| omc-team = { path = "../omc-team" } | ||
| tracing = { workspace = true } | ||
|
|
||
| [dev-dependencies] | ||
| tempfile = { workspace = true } | ||
|
|
||
| [[bin]] | ||
| name = "omc" | ||
| path = "src/main.rs" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: 2233admin/oh-my-claudecode-RS
Length of output: 11794
🏁 Script executed:
Repository: 2233admin/oh-my-claudecode-RS
Length of output: 50387
🏁 Script executed:
Repository: 2233admin/oh-my-claudecode-RS
Length of output: 50387
🏁 Script executed:
Repository: 2233admin/oh-my-claudecode-RS
Length of output: 287
🏁 Script executed:
Repository: 2233admin/oh-my-claudecode-RS
Length of output: 8180
🏁 Script executed:
Repository: 2233admin/oh-my-claudecode-RS
Length of output: 28692
Make the workspace metrics authoritative.
Cargo.tomldefines 19 workspace members: 18 production crates andtests/macro-tests. The crate table lists 18. The table reports 825 tests, while the checked-in test functions total 1,189. The63,000+line count also has no defined scope; workspace Rust sources contain 65,493 lines under a simple count. Define the metric scope and generate all repeated values from one source. UpdateARCHITECTURE.md:47,README.md:12,23-25,173,256-258, andCLAUDE.md:3,9,95.📍 Affects 3 files
ARCHITECTURE.md#L47-L47(this comment)README.md#L12-L12README.md#L23-L25README.md#L173-L173README.md#L256-L258CLAUDE.md#L3-L3CLAUDE.md#L95-L95🤖 Prompt for AI Agents