
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
patch-for-omo
Advanced tools
Enhancement plugin for Oh My OpenCode - Adds Receptionist and Secretary agents for cost optimization and workflow management
Oh My OpenCode 成本优化与工作流增强插件
patch-for-omo 是为 Oh My OpenCode 开发的增强插件,旨在通过智能代理协调和成本优化机制,提升 OpenCode 的使用效率和经济效益。
推荐模型: bailian-coding-plan/glm-5 - 平衡性能与成本
推荐模型: zishuijin/grok-4.1-fast - 低成本、高效率
npm install patch-for-omo
# 或
yarn add patch-for-omo
# 或
pnpm add patch-for-omo
在你的 OpenCode 配置文件中添加:
{
"plugins": ["patch-for-omo"],
"patch-for-omo": {
"receptionist": {
"model": "bailian-coding-plan/glm-5",
"enabled": true
},
"secretary": {
"model": "zishuijin/grok-4.1-fast",
"monitoring_interval": 30000,
"enabled": true
}
}
}
启动 OpenCode 后,Receptionist 会自动作为默认接待代理:
用户:实现一个用户登录功能
Receptionist:正在分析您的需求...
- 需求明确性:8/10
- 技术难度:6/10
- 涉及模块:3个
- 建议复杂度等级:第7级(轻量级功能实现模式)
- 推荐代理团队:Sisyphus, Atlas, explore, Hephaestus
{
"patch-for-omo": {
// Receptionist 配置
"receptionist": {
"model": "bailian-coding-plan/glm-5",
"enabled": true,
"complexity_thresholds": {
"level_1": 90, // 90分以上启动10人团队
"level_2": 80,
"level_3": 70,
"level_4": 60,
"level_5": 50,
"level_6": 40,
"level_7": 30,
"level_8": 20,
"level_9": 15,
"level_10": 10 // 10-19分启动单人模式
}
},
// Secretary 配置
"secretary": {
"model": "zishuijin/grok-4.1-fast",
"enabled": true,
"monitoring_interval": 30000, // 监控间隔(毫秒)
"max_idle_time": 300000, // 最大空闲时间
"event_driven": true, // 事件驱动模式
"auto_report_threshold": 3 // 自动汇报阈值
},
// Sisyphus 隔离配置
"sisyphus_isolation": {
"enabled": true,
"activation_conditions": [
"secretary_report_received",
"all_background_tasks_completed",
"context_ready"
],
"max_concurrent_tasks": 3
}
}
}
用户请求
↓
Receptionist(接待员)
├─ 需求分析
├─ 复杂度评估
└─ 团队组建
↓
启动背景任务
├─ task(explore, run_in_background=true)
└─ task(librarian, run_in_background=true)
↓
Secretary(秘书)
├─ 监听任务完成事件
├─ 聚合结果
└─ 触发 Sisyphus 接管
↓
Sisyphus(编排器)
├─ 接收整理好的上下文
├─ 做出编排决策
└─ 委派执行
| 项目 | 传统 Ultrawork | 优化后 |
|---|---|---|
| Sisyphus 调用次数 | 100+ turns | 10-20 turns |
| 高价模型使用比例 | ~80% | ~20% |
| 低成本模型使用 | ~20% | ~80% |
| 总体成本节省 | - | 60-80% |
# 克隆仓库
git clone https://github.com/yourusername/patch-for-omo.git
# 安装依赖
npm install
# 构建
npm run build
# 测试
npm test
欢迎贡献代码、报告问题或提出建议!请查看 贡献指南。
MIT License - 详见 LICENSE 文件
本项目基于 Oh My OpenCode 开发,感谢原作者的杰出工作。
Made with ❤️ by the OpenCode Community
FAQs
Enhancement plugin for Oh My OpenCode - Adds Receptionist and Secretary agents for cost optimization and workflow management
The npm package patch-for-omo receives a total of 3 weekly downloads. As such, patch-for-omo popularity was classified as not popular.
We found that patch-for-omo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.