diff --git a/.gitignore b/.gitignore index 5cd09fd6..7c5ee850 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,6 @@ site/ # 本机代码索引。是否建立索引由每个开发者自己决定,重建只需 `codegraph index .` .codegraph/ + +# 对竞品的定向调研笔记:含内部评价措辞,保留本机参考但不随开源仓库分发。 +docs/internal/cc-switch-reference-notes.md diff --git a/NOTICE b/NOTICE index 929aa75b..393af171 100644 --- a/NOTICE +++ b/NOTICE @@ -49,8 +49,19 @@ redistribute it. The four retained image assets, for Codex, Claude Code, OpenCode, and Kilo CLI, are listed with source, license, owner, and SHA-256 in frontend/src/components/icons/asset-rights.json. -This is nominative use: the labels identify the referenced products and do not -imply endorsement, affiliation or sponsorship. The image assets keep their -published geometry and are not re-drawn. Each is distributed as a single-colour -glyph painted with fill="currentColor", so it takes the surrounding text colour -by design rather than carrying a brand colour that is being altered. +The Agent marks described above are nominative use: the labels identify the +referenced products and do not imply endorsement, affiliation or sponsorship. +The image assets keep their published geometry and are not re-drawn. Each is +distributed as a single-colour glyph painted with fill="currentColor", so it +takes the surrounding text colour by design rather than carrying a brand colour +that is being altered. + +Sponsor marks are a separate case and are not nominative use. The PPIO and +Novita logos under docs/assets/sponsors/ are reproduced with each owner's +permission to identify a sponsor of this project, and they do carry their brand +colours as published. They appear only in README.md and README_ZH.md, never in +the application interface, and are listed with source, owner, and SHA-256 in +docs/assets/sponsors/asset-rights.json. Each logo remains the property of its +owner. Sponsorship does not affect Agent rank, compatibility conclusions, +default selection, or connection tests; the commercial relationship for each +Provider is declared in providers.lock.json. diff --git a/README.md b/README.md index c59a60d0..133e87c7 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,23 @@ maintainer-facing and stays in Chinese. past work. Commands in there may have stopped working as tools were removed; that directory's README names the current entry points. +## Sponsors + +OneAgent's development is supported by: + +
+ +Both are also built-in Providers in OneAgent. Sponsorship does not change which +Provider is recommended or how one is verified: every Provider is probed against +the protocol its Agent actually speaks, and the built-in list is ordered in +`providers.lock.json` independently of any commercial relationship. See +[providers.lock.json](providers.lock.json) for each entry's declared +relationship and disclosure. + ## Licence Apache License 2.0. See [LICENSE](LICENSE). diff --git a/README_ZH.md b/README_ZH.md index 13244fa8..ad0ebef0 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -154,6 +154,21 @@ Wails 仍处于 Alpha,当前不发布 Stable,不做平台签名、公证或 - [internal/](docs/internal/README.md):各次改造的完工记录与验证清单。里面的命令可能已随工具移除而失效,该目录的 README 说明了当前的替代入口。 +## 赞助 + +OneAgent 的开发由以下机构支持: + + + +两者同时也是 OneAgent 的内置 Provider。赞助关系不改变推荐哪个 Provider、也不改变 +如何验证它:每个 Provider 都按其 Agent 实际使用的协议探测,内置列表的顺序在 +`providers.lock.json` 里独立定义,与商业关系无关。各条目声明的关系与披露见 +[providers.lock.json](providers.lock.json)。 + ## 许可证 Apache License 2.0,见 [LICENSE](LICENSE)。 diff --git a/docs/assets/sponsors/asset-rights.json b/docs/assets/sponsors/asset-rights.json new file mode 100644 index 00000000..028c3b62 --- /dev/null +++ b/docs/assets/sponsors/asset-rights.json @@ -0,0 +1,21 @@ +{ + "note": "Sponsor logos reproduced with the owner's permission to identify a sponsor of this project. Unlike the Agent marks in frontend/src/components/icons/asset-rights.json, these are not nominative use and they keep their published brand colours. They appear only in README.md and README_ZH.md, never in the application interface, and are not compiled into any release binary.", + "assets": { + "ppio": { + "file": "ppio-color.png", + "owner": "PPIO", + "home": "https://ppio.com/", + "basis": "permission-from-owner", + "usage": "readme-only", + "sha256": "de34cd65b95756a7438feef7731e3f661cb16ed896750e2db74c4adb17bfa875" + }, + "novita": { + "file": "novita-color.png", + "owner": "Novita", + "home": "https://novita.ai/", + "basis": "permission-from-owner", + "usage": "readme-only", + "sha256": "6546afdf0ae4a374e13e884fdb2f34264db81303dd50640f1fe902686dc10f5f" + } + } +} diff --git a/docs/assets/sponsors/novita-color.png b/docs/assets/sponsors/novita-color.png new file mode 100644 index 00000000..bb23a951 Binary files /dev/null and b/docs/assets/sponsors/novita-color.png differ diff --git a/docs/assets/sponsors/ppio-color.png b/docs/assets/sponsors/ppio-color.png new file mode 100644 index 00000000..71b85541 Binary files /dev/null and b/docs/assets/sponsors/ppio-color.png differ diff --git a/docs/internal/README.md b/docs/internal/README.md index a1643f41..c5c82df3 100644 --- a/docs/internal/README.md +++ b/docs/internal/README.md @@ -40,5 +40,4 @@ | [blank-machine-verification-plan.md](blank-machine-verification-plan.md) | 空白机器验证的断言清单(执行入口已移除) | | [recent-work-summary.md](recent-work-summary.md) | 一次阶段性完工清单,已被上面几份取代 | | [mvp-agent-installer-plan.md](mvp-agent-installer-plan.md) | 最初的 HTTP/Python 原型,仅存背景 | -| [cc-switch-reference-notes.md](cc-switch-reference-notes.md) | 对 CC Switch 的定向调研与采纳/不采纳结论 | | [release-evidence/](release-evidence/) | 历史发行包的 SHA-256 与 cleanroom 记录 | diff --git a/docs/internal/cc-switch-reference-notes.md b/docs/internal/cc-switch-reference-notes.md deleted file mode 100644 index d2741bb5..00000000 --- a/docs/internal/cc-switch-reference-notes.md +++ /dev/null @@ -1,168 +0,0 @@ -# CC Switch 参考笔记 - -对 [CC Switch](https://github.com/farion1231/cc-switch) 的一次定向调研,用途是为 OneAgent 的 Agent 配置界面找可借鉴的做法。**只做参考,不移植代码**——两者许可、技术栈与产品定位都不同。 - -调研版本:`cc-switch` 3.18.0(commit `708b387`,2026-07-27),MIT。克隆在 `output/reference/cc-switch`,该目录被 `.gitignore` 忽略,不进仓库。 - -## 1. 两者定位差异(先说清,避免误抄) - -| | CC Switch | OneAgent | -| --- | --- | --- | -| 形态 | Tauri 桌面应用(Rust + React) | Wails 桌面应用(Go + React) | -| 职责 | Provider 配置的**存取与切换** | Agent 的**检测、安装、配置** | -| 配置模型 | 整块存原始配置对象 | 结构化字段,由适配器翻译 | -| 外围能力 | 本地代理、熔断器、故障转移、用量统计、MCP、skills、prompts、sessions | 无 | -| 表单规模 | 共享编排器 `ProviderForm.tsx` 2693 行 + 共享 hooks/字段约 6000 行 + 各应用专属区块 | `AgentProfilePage.tsx` 263 行 | - -它的 `src/components/` 下有 19 个子目录(mcp、skills、prompts、sessions、proxy、usage…)。这些不在 OneAgent 的产品边界内(见 [产品边界基线](../product-boundary-baseline.md)),尤其**本地代理与故障转移属于明确禁止范围**,不予借鉴。 - -## 2. 配置模型:它存原始对象,我们存结构化字段 - -CC Switch 的 `Provider`(`src/types.ts:11`)核心只有一个配置字段: - -```ts -settingsConfig: Record