| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
源码安装使用 submodule Skill 软链 Co-authored-by: chendunyang<chendunyang1@huawei.com> # message auto-generated for no-merge-commit merge: !4 merge migration/source-install-website-plugins into master 源码安装使用 submodule Skill 软链 Created-by: qq_37913898 Commit-by: chendunyang Merged-by: cann-robot Description: ## 修改内容 - 三个官方插件的非 Skill 内容由 plugins/ 中的实体文件提供 - plugin-sources.json 声明源码 Skill 安装模式为 symlink - 源码执行 init.sh 时,Skill 以相对软链指向 vendor/cannbot-skills - 无参数执行 init.sh 时安装到 cannbot 仓库根目录 - 保护目标项目中已有的同名真实 Skill 目录 - 源码依赖清理脚本从 submodule 的实际 Skill 路径执行 - npm 安装继续使用自包含发布包并复制 Skill - 更新 Claude/Codex manifest 及安装说明 - 根 README 收敛为极简快速入门,安装命令通过 <plugin-id> 与官方插件表联动,并提供 ops-direct-invoke 示例 - 架构、目录、发布和维护信息移至内部文档 ## 验证 - npm --prefix script test:42/42 通过 - npm --prefix script run pack:check:通过 - npm --prefix script run pack:smoke:通过 - README 本地链接检查:通过 - 全新递归克隆后,三个插件均可无参数源码安装 - 仓库整体移动后相对 Skill 软链仍可解析 - 插件源码目录无 Git 软链、无安装写入 See merge request: cann/cannbot!4 | 1 个月前 | |
源码安装使用 submodule Skill 软链 Co-authored-by: chendunyang<chendunyang1@huawei.com> # message auto-generated for no-merge-commit merge: !4 merge migration/source-install-website-plugins into master 源码安装使用 submodule Skill 软链 Created-by: qq_37913898 Commit-by: chendunyang Merged-by: cann-robot Description: ## 修改内容 - 三个官方插件的非 Skill 内容由 plugins/ 中的实体文件提供 - plugin-sources.json 声明源码 Skill 安装模式为 symlink - 源码执行 init.sh 时,Skill 以相对软链指向 vendor/cannbot-skills - 无参数执行 init.sh 时安装到 cannbot 仓库根目录 - 保护目标项目中已有的同名真实 Skill 目录 - 源码依赖清理脚本从 submodule 的实际 Skill 路径执行 - npm 安装继续使用自包含发布包并复制 Skill - 更新 Claude/Codex manifest 及安装说明 - 根 README 收敛为极简快速入门,安装命令通过 <plugin-id> 与官方插件表联动,并提供 ops-direct-invoke 示例 - 架构、目录、发布和维护信息移至内部文档 ## 验证 - npm --prefix script test:42/42 通过 - npm --prefix script run pack:check:通过 - npm --prefix script run pack:smoke:通过 - README 本地链接检查:通过 - 全新递归克隆后,三个插件均可无参数源码安装 - 仓库整体移动后相对 Skill 软链仍可解析 - 插件源码目录无 Git 软链、无安装写入 See merge request: cann/cannbot!4 | 1 个月前 | |
fix(ops-direct-invoke): 修复安装脚本 heredoc 警告 Co-authored-by: xutianze<xutianze2@huawei.com> # message auto-generated for no-merge-commit merge: !12 merge codex/fix-issue-4-heredoc into master fix(ops-direct-invoke): 修复安装脚本 heredoc 警告 Created-by: xutianze Commit-by: xutianze Merged-by: cann-robot Description: <!-- 感谢您的合入申请! --> ### 当前PR是否有AI参与: - [ ] 否 - [x] 是 1. AI Agent 平台:Codex 2. AI 模型:GPT-6 3. Prompt上下文:核实 issue #4,从远端 master 创建分支,修复安装脚本 heredoc 警告并验证五种工具安装。 ### PR功能描述 / 为什么需要这个合入: plugins/ops-direct-invoke/init.sh 在安装时输出 unterminated here-document 警告。将 TRAE_AGENT_PY 命令替换的右括号从 heredoc 起始行移至结束标记之后,消除警告,不改变安装逻辑。 ### 该PR关联的issue Fixes [#4](https://gitcode.com/cann/cannbot/issues/4) ### 希望检视人员了解: - 基于 cann/master 的 8a5a54c,仅修改 init.sh(2 行新增、1 行删除),不包含其他功能改动。 - Bash 5.2.21 环境中,修复前五种工具均能完成安装,但都会输出 heredoc 警告;未复现 issue 所述所有工具中断。 - Codex、DSH 原有的权限 hook 不支持提示保持不变。 ## 改动类型 / Change Type - [x] Bug 修复 / Bug Fix - [ ] 新功能 / New Feature - [ ] 性能优化 / Performance - [ ] 代码重构 / Refactoring - [ ] 文档更新 / Documentation - [ ] 测试相关 / Test - [ ] 其它 / Other ## 测试信息 / Testing - bash -n plugins/ops-direct-invoke/init.sh:退出码 0,stderr 为空。 - 在隔离临时项目中分别运行 opencode、claude、codex、dsh、trae 安装:均完成第 6 步、生成 6 个 agent,退出码 0,stderr 为空。依赖仓通过 --repo 指向本地临时目录,未验证网络克隆。 - git diff --check:通过。 - [ ] 单元测试通过 / UT passed - [x] 集成测试通过 / ST passed - [ ] 人工验证通过 / Manual verified ## 检查清单 / Checklist - [x] 代码符合规范 / Code follows style guide - [ ] 测试添加并通过 / Tests added and passed - [ ] 文档已更新 / Docs updated if needed - [x] 无硬编码敏感信息 / No secrets hardcoded - [x] 提交信息符合规范 / Commit message follows convention 本次执行了上述安装验证,未新增持久化测试用例;无文档更新需求。 See merge request: cann/cannbot!12 | 1 个月前 | |
feat(ops-registry-invoke): add installable workflow plugin Co-authored-by: zhangzijie<zhangzijie11@hisilicon.com> # message auto-generated for no-merge-commit merge: !19 merge feat/ops-registry-invoke-plugin into master feat(ops-registry-invoke): add installable workflow plugin Created-by: zhangzijie Commit-by: zhangzijie Merged-by: cann-robot Description: ## 目标 打通最小安装通路: bash npx @cannbot-plugin/cannbot@latest install ops-registry-invoke --tool codex 本 PR 只保证 ops-registry-invoke 可以通过现有统一安装器安装到 Codex。OpenCode/Claude Code 支持、workflow 能力增强、文档扩展后续再补。 ## 改动 - 新增最小插件 plugins/ops-registry-invoke/: - .claude-plugin/plugin.json - .codex-plugin/plugin.json - plugin-sources.json - agents/general-executor.md - agents/general-verifier.md - skills/ops-registry-invoke/SKILL.md - workflow/op-develop.yaml - workflow 保留 44 节点;普通节点 executor/verifier 统一为 general-executor / general-verifier,路径改为 Codex 布局。 - 通过 plugin-sources.json 引用仓内 harness/: - harness/workflow-orchestrator - harness/workflow-rollback-advice - marketplace 新增 local 来源的 harness-skills 和官方插件 ops-registry-invoke。 - README 官方插件表新增一行。 - script/test/install.test.js 做最小公共测试适配: - 官方插件清单从 marketplace/plugins 数据发现,避免继续硬编码插件名。 - 支持 source.source === "local" 的仓内 skills 来源。 - SKILLS_LICENSE 按各插件 plugin-sources.json.skillsRepository 推导。 - 新增 ops-registry-invoke 的 Codex repository/package 最小安装回归。 ## 已按 Review 收窄范围 - 不修改 CHANGELOG.md - 不修改 docs/repository-guide.md - 不修改 plugins/README.md - 不修改 script/docs/cannbot-workflows.md - 不修改 script/scripts/smoke-package.js - 不新增插件 README - 不修改统一安装器核心实现 ## 验证 环境:Linux x86_64,Node v24.18.0,npm 11.16.0,Python 3.12.9。 1. npm run build:plugins - assembled ops-registry-invoke: 3 Skills - dist 包含 ops-registry-invoke、workflow-orchestrator、workflow-rollback-advice 2. npm test - 44 tests passed 3. 隔离 Codex 安装 - repository source:验证 .agents/skills/ops-registry-invoke/SKILL.md、.agents/skills/workflow-orchestrator/scripts/orchestrator.py、.agents/skills/workflow-rollback-advice/SKILL.md、.codex/agents/general-executor.toml、.codex/agents/general-verifier.toml、.codex/cannbot-plugin.json - package source:验证相同安装结果,source.kind=package、skillInstallMode=copy - 验证沙箱 HOME 内 .codex-plugin/plugin.json 与 marketplace 条目存在 - 验证目标项目不生成 AGENTS.md 与 .cannbot/settings.json 4. workflow 静态校验 - 44 节点 - 41 个普通节点 executor/verifier 均为 general 角色 - 3 个 subgraph 节点保持原结构 - 无 .opencode / glacier 残留 5. orchestrator 运行校验 - python3 <target>/.agents/skills/workflow-orchestrator/scripts/orchestrator.py --help 正常输出 - provider 列表包含 codex 6. npm run pack:smoke - 本地 npm 全局配置存在 allow-scripts=true,直接执行会触发 npm 11 的 EALLOWSCRIPTS。 - 为避免修改公共 smoke 脚本,使用 npm_config_allow_scripts= npm run pack:smoke 验证通过。 See merge request: cann/cannbot!19 | 1 个月前 | |
迁移 CANNBot 插件编排与交付仓库 Co-authored-by: chendunyang<chendunyang1@huawei.com> # message auto-generated for no-merge-commit merge: !1 merge migration/import-cannbot-test into master 迁移 CANNBot 插件编排与交付仓库 Created-by: qq_37913898 Commit-by: chendunyang Merged-by: cann-robot Description: ## 迁移说明 将 CANNBot 插件编排、交付能力和静态插件门户迁移至 cann/cannbot。 ## 主要内容 - 导入官方插件、统一安装器和 npm 发布工程; - 将算子测试插件切换为 ascendc-st-design,对应 ops/ascendc-st-design Skill,支持参数定义、测试因子、约束分析及 L0/L1/L2 ST 用例与覆盖报告; - 引入 vendor/cannbot-skills submodule,通过 gitlink 锁定可复现的 Skill 版本; - 支持同一项目安装多个官方插件,独立管理指令区块和安装记录; - 为组装包和安装目标随附插件与 Skills 许可证,明确 npm 混合许可证边界; - 增加发布前完整测试和实际 tgz/npm-bin smoke test; - 补齐 npm 新仓元数据、Skills 显式更新命令、HTTPS 插件链接和发布文档; - 纳入静态网站,更新算子测试卡片、插件文档、中英文文案和五客户端安装命令; - 已发布 npm 1.3.2,后续从 cann/cannbot 发布和维护; - 将全部迁移内容整理为基于目标仓 master 的单个提交。 ## 验证 - cd script && npm test:40 项测试全部通过; - cd script && npm run pack:check:npm dry-run 打包通过; - cd script && npm run pack:smoke:实际 tgz 安装和 cannbot npm bin 验证通过; - cd script && npm run prepublishOnly:完整发布前门禁通过; - 从公共 npm registry 全新下载 1.3.0,OpenCode、Codex、Claude Code、TRAE、DSH 五种安装目标全部通过; - 公共包内 ascendc-st-design Python 生成脚本可启动; - 网站已部署至 https://cann.cannbot.cn,首页、ascendc-st-design 插件直达页和静态资源公网验收通过; - GitCode 服务端 Hooks 检查通过。 See merge request: cann/cannbot!1 | 1 个月前 | |
源码安装使用 submodule Skill 软链 Co-authored-by: chendunyang<chendunyang1@huawei.com> # message auto-generated for no-merge-commit merge: !4 merge migration/source-install-website-plugins into master 源码安装使用 submodule Skill 软链 Created-by: qq_37913898 Commit-by: chendunyang Merged-by: cann-robot Description: ## 修改内容 - 三个官方插件的非 Skill 内容由 plugins/ 中的实体文件提供 - plugin-sources.json 声明源码 Skill 安装模式为 symlink - 源码执行 init.sh 时,Skill 以相对软链指向 vendor/cannbot-skills - 无参数执行 init.sh 时安装到 cannbot 仓库根目录 - 保护目标项目中已有的同名真实 Skill 目录 - 源码依赖清理脚本从 submodule 的实际 Skill 路径执行 - npm 安装继续使用自包含发布包并复制 Skill - 更新 Claude/Codex manifest 及安装说明 - 根 README 收敛为极简快速入门,安装命令通过 <plugin-id> 与官方插件表联动,并提供 ops-direct-invoke 示例 - 架构、目录、发布和维护信息移至内部文档 ## 验证 - npm --prefix script test:42/42 通过 - npm --prefix script run pack:check:通过 - npm --prefix script run pack:smoke:通过 - README 本地链接检查:通过 - 全新递归克隆后,三个插件均可无参数源码安装 - 仓库整体移动后相对 Skill 软链仍可解析 - 插件源码目录无 Git 软链、无安装写入 See merge request: cann/cannbot!4 | 1 个月前 |
CANNBot managed plugins
This directory contains the official CANNBot plugin definitions and non-Skill files:
ops-direct-invokeascendc-st-designmodel-infer-optimize
Each plugin declares the Skills it needs in plugin-sources.json. The actual Skill source is maintained in the vendor/cannbot-skills submodule and is not duplicated in this repository.
Each plugin's init.sh creates project Skill symlinks to the submodule. npm --prefix script run build:plugins instead copies the declared Skills into script/dist/plugins/<plugin>/skills/ for a self-contained npm package.
Each init.sh is a thin source adapter for the shared Node installer. Optional dependency repositories are declared in plugin-install.json.