From 46f64427578b3e496409f0d1062232bc665bbd91 Mon Sep 17 00:00:00 2001 From: DLsnows Date: Mon, 16 Nov 2026 00:10:39 -0500 Subject: [PATCH 1/3] =?UTF-8?q?docs:=20=E6=8E=A7=E5=88=B6=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=B7=B2=E5=90=88=E5=85=A5=E4=B8=8A=E6=B8=B8=EF=BC=8C?= =?UTF-8?q?=E6=9C=AC=20fork=20=E5=81=9C=E6=AD=A2=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - .github/README.md、docs/control-api.md、docs/control-api.en.md:状态改为已停止维护, 写明接口已于 2026-11-16 合入上游(YuFeng926/OpenTune#52)、上游默认关闭、目前的官方发布版都不含它; 现有测试版保留到官方发布版带上接口为止,不再发布新的测试版;问题反馈的去向随之调整。 - CLAUDE.md:开头加一行状态说明。 Signed-off-by: DLsnows --- .github/README.md | 16 ++++++++-------- CLAUDE.md | 2 ++ docs/control-api.en.md | 22 ++++++++++++---------- docs/control-api.md | 22 ++++++++++++---------- 4 files changed, 34 insertions(+), 28 deletions(-) diff --git a/.github/README.md b/.github/README.md index 2c4e2f77..066893e7 100644 --- a/.github/README.md +++ b/.github/README.md @@ -9,24 +9,24 @@ SPDX-License-Identifier: AGPL-3.0-or-later > **This is not the official OpenTune repository.** OpenTune is a project of DAYA STUDIO, licensed under AGPL-3.0. The official repository is [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune), and its [Releases page](https://github.com/YuFeng926/OpenTune/releases) is the only official distribution channel. Nothing published from this fork is an official OpenTune release. -This fork is maintained by [Synchain](https://www.synchain.ca). It exists to develop a local control API for OpenTune Standalone, for use by [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server), and to propose that API to the upstream project. It adds new code and a small number of integration hooks; while the API is off, OpenTune behaves the same as upstream. +This fork was maintained by [Synchain](https://www.synchain.ca) to develop a local control API for OpenTune Standalone, for use by [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server), and to propose that API to the upstream project. The API has been merged upstream ([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52), 2026-11-16) and is maintained there from now on. -- **Status**: pre-release. Unofficial test builds and the MCP server are published; the API and protocol may still change before they are contributed upstream. +- **Status**: no longer maintained. This fork no longer syncs with upstream and will publish no new test builds. Upstream's control API is off by default (CMake option `OPENTUNE_ENABLE_CONTROL_API`), and no official release so far includes it. The author changed the API after the merge; the code and documents here are the version from before the merge. - **OpenTune's own README**: [README.md](../README.md) ([English](../README.en.md)), unchanged from upstream. - **The control API**: [docs/control-api.en.md](../docs/control-api.en.md) ([中文](../docs/control-api.md)). -- **Test builds**: until the API is part of an official OpenTune release, unofficial test builds are published as pre-releases on [this fork's Releases page](https://github.com/synchain-oss/OpenTune/releases): Windows x64, and macOS on Apple silicon (not yet tested on a real Mac). They are free of charge and contain no model weights; the models come from your own installation of official OpenTune. -- **Reporting problems**: problems with this fork, the control API or test builds go to [synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues). Problems that also reproduce in official OpenTune releases belong to OpenTune itself; please report those through upstream's channels. +- **Test builds**: until an official OpenTune release includes the control API, the existing unofficial test builds stay available as pre-releases on [this fork's Releases page](https://github.com/synchain-oss/OpenTune/releases): Windows x64, and macOS on Apple silicon (not yet tested on a real Mac). They are free of charge and contain no model weights; the models come from your own installation of official OpenTune. +- **Reporting problems**: problems with the test builds from this fork go to [synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues). Problems with upstream OpenTune (including the control API in upstream's code), and problems that also reproduce in official OpenTune releases, belong to OpenTune itself; please report those through upstream's channels. - **Security**: see [SECURITY.md](SECURITY.md). Please do not report vulnerabilities in public issues. ## 简体中文 > **这里不是 OpenTune 的官方仓库。** OpenTune 是 DAYA STUDIO 的项目,采用 AGPL-3.0 许可。官方仓库是 [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune),它的 [Releases 页面](https://github.com/YuFeng926/OpenTune/releases) 是唯一的官方发布渠道。本 fork 发布的任何内容都不是 OpenTune 官方版本。 -本 fork 由 [Synchain](https://www.synchain.ca) 维护,目的是为 OpenTune Standalone 开发本机控制接口,供 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server) 使用,并计划向上游项目提交。它只新增代码和少量接入钩子;接口关闭时,OpenTune 的行为与上游相同。 +本 fork 由 [Synchain](https://www.synchain.ca) 维护,用来为 OpenTune Standalone 开发本机控制接口,供 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server) 使用,并向上游项目提交。这个接口已合入上游([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52),2026-11-16),此后由上游维护。 -- **状态**:预发布。非官方测试版和 MCP 服务都已发布;在贡献回上游之前,接口与协议仍可能变化。 +- **状态**:已停止维护。本 fork 不再同步上游,也不再发布新的测试版。上游的控制接口构建时默认关闭(CMake 选项 `OPENTUNE_ENABLE_CONTROL_API`),目前的官方发布版都不含它。作者合入后对接口做了修改;这里的代码与文档是合入之前的版本。 - **OpenTune 自己的说明**:[README.md](../README.md)([English](../README.en.md)),与上游一致,未作改动。 - **控制接口说明**:[docs/control-api.md](../docs/control-api.md)([English](../docs/control-api.en.md))。 -- **测试版**:在控制接口进入 OpenTune 官方发布版之前,非官方测试版以预发布形式放在[本 fork 的 Releases 页面](https://github.com/synchain-oss/OpenTune/releases):Windows x64,以及还没在真机上测过的 macOS Apple 芯片版。测试版免费,不含任何模型权重;模型来自你自己安装的官方 OpenTune。 -- **反馈问题**:本 fork、控制接口与测试版的问题,请到 [synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues) 反馈。在官方 OpenTune 发布版中也能复现的问题属于 OpenTune 本身,请按上游的方式反馈。 +- **测试版**:在 OpenTune 官方发布版带上控制接口之前,现有的非官方测试版继续以预发布形式保留在[本 fork 的 Releases 页面](https://github.com/synchain-oss/OpenTune/releases):Windows x64,以及还没在真机上测过的 macOS Apple 芯片版。测试版免费,不含任何模型权重;模型来自你自己安装的官方 OpenTune。 +- **反馈问题**:本 fork 测试版的问题,请到 [synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues) 反馈。上游 OpenTune 的问题(包括上游代码里的控制接口),以及在官方 OpenTune 发布版中也能复现的问题,属于 OpenTune 本身,请按上游的方式反馈。 - **安全**:见 [SECURITY.md](SECURITY.md)。请不要在公开 issue 中报告漏洞。 diff --git a/CLAUDE.md b/CLAUDE.md index 03c022fa..a53b6ad6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -5,6 +5,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later # CLAUDE.md —— synchain-oss/OpenTune(fork)协作规范 +> **状态(2026-11-16)**:控制接口已合入上游(YuFeng926/OpenTune#52),本 fork 停止开发:不再同步上游、不再发布测试版、不再开新的实现卡。下文是开发期间的规则,仍适用于对本 fork 的任何改动(目前只剩说明文字)。 +> > 本文件是 AI 编码代理与贡献者在本 fork 内的常驻法条。它只存在于 fork(`dev` 及其派生分支),**永不进入上游 PR**。上游 `.gitignore` 忽略 `CLAUDE.md`,本文件以 `git add -f -- CLAUDE.md` 入库。与维护者书面指令冲突时以维护者为准。 > > fork 专用脚本一律放在 `.github/scripts/`(上游已经跟踪 `scripts/`)。本地 gates、`check-ignored-delta.ps1`、署名规则副本、fork-gate、branch-gate、`build-windows.yml`、`asan.yml`、`build-macos.yml`、`control-sanitizers.yml`、`sync-dryrun.yml`(试 rebase 脚本 `try-rebase.mjs`)与 `runner-probe.yml` 已经就位;文中其余脚本与检查随后续 PR 陆续加入,路径以合入后为准,加入之前以本机护栏与人工检查代替。 diff --git a/docs/control-api.en.md b/docs/control-api.en.md index 0ac0187e..ab8acb3c 100644 --- a/docs/control-api.en.md +++ b/docs/control-api.en.md @@ -7,31 +7,33 @@ SPDX-License-Identifier: AGPL-3.0-or-later [中文](control-api.md) | English -> **Status: pre-release.** Unofficial test builds and the MCP server are published. The API and protocol may still change before they are contributed upstream. +> **Status: no longer maintained.** The control API was merged upstream on 2026-11-16 ([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52)) and is maintained there from now on. The author changed it after the merge, and this fork does not follow those changes: it no longer syncs with upstream and will publish no new test builds. This document describes the version from before the merge. The existing unofficial test builds stay available until an official OpenTune release includes the control API. ## What this is -`synchain-oss/OpenTune` is an **unofficial** fork of OpenTune, maintained by Synchain. It exists for one purpose: to develop a **local control API** for OpenTune Standalone. The API listens on `127.0.0.1` only. It lets local tools perform operations that already exist in the OpenTune UI and get structured results back. One such tool is [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server). Planned operations include reading notes and pitch curves, import, AUTO tuning, note edits, undo/redo, and export. Once it works, we plan to contribute it to upstream as a pull request. +`synchain-oss/OpenTune` is an **unofficial** fork of OpenTune, maintained by Synchain. It exists for one purpose: to develop a **local control API** for OpenTune Standalone. The API listens on `127.0.0.1` only. It lets local tools perform operations that already exist in the OpenTune UI and get structured results back. One such tool is [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server). Supported operations include reading notes and pitch curves, import, AUTO tuning, note edits, undo/redo, and export. The API has been contributed upstream as a pull request and merged (see the status above). - OpenTune is a project of DAYA STUDIO (author: 风语), licensed under AGPL-3.0. - **The official repository is [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune). Its [Releases page](https://github.com/YuFeng926/OpenTune/releases) is the only official distribution channel.** No build from this fork is an official release. - This fork does not change OpenTune's own logic. It only adds the API code and a small number of integration hooks. When the API is not enabled, OpenTune behaves the same as upstream. -- Problems with this fork, the control API or test builds: please report them at [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/issues). Problems that also reproduce in official OpenTune releases belong to OpenTune itself (see [Feedback and security](#feedback-and-security)). +- Problems with the test builds from this fork: please report them at [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/issues). Problems with upstream OpenTune (including the control API in upstream's code), and problems that also reproduce in official OpenTune releases, belong to OpenTune itself (see [Feedback and security](#feedback-and-security)). ## Current status | Item | Status | |---|---| -| Control API | Available in the unofficial test builds | -| Official OpenTune releases | Do not include this API; a patched build from this fork is required | +| Control API | Merged into upstream's `standalone` branch, off by default at build time (CMake option `OPENTUNE_ENABLE_CONTROL_API`); available in this fork's unofficial test builds | +| Official OpenTune releases | No release so far (up to 1.8.2) includes this API | | Windows x64 | Unofficial test build | | macOS | An unofficial test build for Apple silicon (arm64) only, not yet tested on a real Mac; Intel Macs are not supported. The package is ad hoc signed and not notarized by Apple, so the first launch has to be allowed by hand; it requires an installed official OpenTune 1.8.0 or newer (in /Applications). A build from source also works | | Linux | Not supported (OpenTune itself has no Linux build) | -| Unofficial test builds | Published as pre-releases on the [Releases page](https://github.com/synchain-oss/OpenTune/releases) | +| Unofficial test builds | The existing ones stay as pre-releases on the [Releases page](https://github.com/synchain-oss/OpenTune/releases); no new ones will be published | | MCP server (npm `@synchain/opentune-mcp`) | [Published](https://www.npmjs.com/package/@synchain/opentune-mcp) | ## Pinned upstream base +This section describes how the fork worked during development. Since the API was merged upstream, this fork no longer syncs with upstream, and the branches below stay as they were before the merge. + During development, this fork is pinned to a single upstream commit and does not follow upstream: - **Upstream base**: the tip of branch `upstream-mirror`, tagged in this fork as `upstream/YYYYMMDD-` (see the tags of this repository); it is a commit on the `standalone` branch of `YuFeng926/OpenTune`. @@ -39,7 +41,7 @@ During development, this fork is pinned to a single upstream commit and does not - `upstream-mirror`: an unmodified copy of that commit. - `dev` (default branch): the upstream base plus our additions. - `feature/control-api`: the development mainline. -- Before contributing upstream, we will rebase all of our changes onto the latest upstream once, then rerun every check. +- To contribute the API, we rebased all of our changes onto the latest upstream of the time, reran every check and opened the pull request; the version we submitted is on branch `upstream-pr/1`. `dev` was not rebased. - The upstream commit behind each test build is recorded in the COMPATIBILITY document of the MCP repository. ## Building from source @@ -66,7 +68,7 @@ The release notes of each test build list the exact commands used to build it. I The control API is **off by default**. It is enabled only when both of these are true: -1. The build was configured with the CMake option `OPENTUNE_ENABLE_CONTROL_API`. Upstream's default build and the official releases contain no API code. +1. The build was configured with the CMake option `OPENTUNE_ENABLE_CONTROL_API`. The option is off by default, and no official release so far contains the API code. 2. It is explicitly enabled at launch, in one of two ways: - set the environment variable `OPENTUNE_CONTROL_API=1`, or - pass the command-line flag `--control-api`, for example `OpenTune.exe --control-api`. @@ -114,11 +116,11 @@ Notes: ## Relationship to OpenTune MCP Server - [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server) is a stdio MCP server under the MIT license. It connects to this API so that MCP clients such as Claude Code, Claude Desktop and Cursor can operate OpenTune. Its npm package is `@synchain/opentune-mcp` (command `opentune-mcp`). -- The authoritative OTCP v1 protocol specification lives in the MCP repository under `spec/otcp/v1/` (MIT). This fork keeps a byte-identical copy in `Tests/Control/spec/otcp/v1/`. +- The authoritative OTCP v1 protocol specification lives in the MCP repository under `spec/otcp/v1/` (MIT). This fork keeps a byte-identical copy in `Tests/Control/spec/otcp/v1/`. Upstream did not keep this copy when it merged the API, so the specification is maintained only in the MCP repository. ## Unofficial test builds -Until upstream merges the API, **unofficial test builds** are published as pre-releases on this fork's [Releases page](https://github.com/synchain-oss/OpenTune/releases): +Until an official OpenTune release includes the control API, the existing **unofficial test builds** stay available as pre-releases on this fork's [Releases page](https://github.com/synchain-oss/OpenTune/releases). This fork is no longer maintained and will publish no new test builds: - There is a Windows x64 zip and a macOS Apple silicon (arm64) zip, tagged like `synchain-test/v-ctl.`. The macOS package holds `OpenTune-ctl.app`, `OpenTune-AI.command` (starts the app with the control API turned on) and `opentune-control.json` (OpenTune MCP Server requires it next to the program it starts, so it sits at the top level of the package next to the `.command`); the package is ad hoc signed, not notarized by Apple, and does not support Intel Macs. It has not yet been tested on a real Mac. - They contain **no model weights**. They require an installed official OpenTune, which provides the models. diff --git a/docs/control-api.md b/docs/control-api.md index a2d1190b..533b308d 100644 --- a/docs/control-api.md +++ b/docs/control-api.md @@ -7,31 +7,33 @@ SPDX-License-Identifier: AGPL-3.0-or-later 中文 | [English](control-api.en.md) -> **状态:预发布。** 非官方测试版和 MCP 服务都已发布。在贡献回上游之前,接口与协议仍可能变化。 +> **状态:已停止维护。** 控制接口已于 2026-11-16 合入上游([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52)),此后由上游维护。作者合入后对它做了修改,本 fork 不再跟进:不再同步上游,也不再发布新的测试版。本文描述的是合入之前的版本。现有的非官方测试版继续保留,直到 OpenTune 官方发布版带上控制接口。 ## 这是什么 -`synchain-oss/OpenTune` 是 Synchain 维护的 OpenTune **非官方** fork。它只有一个目的:为 OpenTune Standalone 开发一个**本机控制接口**(只监听 `127.0.0.1`),让本机工具能执行界面里已有的操作,并得到结构化的结果。这类本机工具包括 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server)。计划支持的操作包括读取音符与音高曲线、导入、AUTO 修音、编辑音符、撤销/重做、导出等。接口跑通后,我们会以 PR 的形式把它贡献回上游。 +`synchain-oss/OpenTune` 是 Synchain 维护的 OpenTune **非官方** fork。它只有一个目的:为 OpenTune Standalone 开发一个**本机控制接口**(只监听 `127.0.0.1`),让本机工具能执行界面里已有的操作,并得到结构化的结果。这类本机工具包括 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server)。支持的操作包括读取音符与音高曲线、导入、AUTO 修音、编辑音符、撤销/重做、导出等。这个接口已经以 PR 的形式贡献回上游并被合入(见上方状态)。 - OpenTune 是 DAYA STUDIO 的项目(作者 风语),采用 AGPL-3.0 许可。 - **官方仓库是 [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune),它的 [Releases 页面](https://github.com/YuFeng926/OpenTune/releases) 是唯一的官方发布渠道。** 本 fork 的任何构建都不是官方版本。 - 本 fork 不修改 OpenTune 自身的逻辑,只新增接口代码和少量接入钩子。接口未开启时,行为与上游相同。 -- 本 fork、控制接口与测试版的问题,请到 [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/issues) 反馈。在官方 OpenTune 发布版中也能复现的问题属于 OpenTune 本身(见[反馈与安全](#反馈与安全))。 +- 本 fork 测试版的问题,请到 [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/issues) 反馈。上游 OpenTune 的问题(包括上游代码里的控制接口),以及在官方 OpenTune 发布版中也能复现的问题,属于 OpenTune 本身(见[反馈与安全](#反馈与安全))。 ## 当前状态 | 项 | 状态 | |---|---| -| 控制接口 | 非官方测试版里可用 | -| 官方 OpenTune 发布版 | 不含此接口,需要本 fork 的补丁版构建 | +| 控制接口 | 已合入上游 `standalone` 分支,构建时默认关闭(CMake 选项 `OPENTUNE_ENABLE_CONTROL_API`);本 fork 的非官方测试版里可用 | +| 官方 OpenTune 发布版 | 目前的发布版(截至 1.8.2)都不含此接口 | | Windows x64 | 有非官方测试版 | | macOS | 仅 Apple 芯片(arm64)的非官方测试版,还没在真机上测过;不支持 Intel Mac。测试包使用临时签名(ad hoc),没有经过 Apple 公证,第一次启动需要手动放行;需要已安装官方 OpenTune 1.8.0 或更新版本(位于 /Applications)。也可自行从源码构建 | | Linux | 不支持(OpenTune 本身没有 Linux 版本) | -| 非官方测试版 | 以预发布形式放在 [Releases 页面](https://github.com/synchain-oss/OpenTune/releases) | +| 非官方测试版 | 现有的几个以预发布形式保留在 [Releases 页面](https://github.com/synchain-oss/OpenTune/releases),不再发布新的 | | MCP 服务(npm `@synchain/opentune-mcp`) | [已发布](https://www.npmjs.com/package/@synchain/opentune-mcp) | ## 锁定的上游基点 +本节描述开发期间的做法。接口合入上游之后,本 fork 不再同步上游,下面的分支保持合入前的状态。 + 开发期间,本 fork 固定在一个上游提交上,不随上游同步: - **上游基点**:分支 `upstream-mirror` 的顶端,在本 fork 中打了 tag `upstream/YYYYMMDD-`(见本仓库的 tags);它是 `YuFeng926/OpenTune` `standalone` 分支上的一个提交。 @@ -39,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later - `upstream-mirror`:该提交的原样副本; - `dev`(默认分支):上游基点 + 我们的新增; - `feature/control-api`:开发主线。 -- 贡献回上游之前,我们会把全部改动一次性 rebase 到上游最新版本,并重新跑完全部检查。 +- 贡献回上游时,我们把全部改动 rebase 到了当时的上游最新版本,重新跑完全部检查后提交了 PR;提交的版本在分支 `upstream-pr/1`。`dev` 没有再 rebase。 - 每个测试版对应的上游提交,都记录在 MCP 仓库的 COMPATIBILITY 文档中。 ## 从源码构建 @@ -66,7 +68,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later 控制接口**默认关闭**。只有同时满足以下两个条件才会开启: -1. 构建时打开了 CMake 选项 `OPENTUNE_ENABLE_CONTROL_API`。上游的默认构建与官方发布版都不含接口代码。 +1. 构建时打开了 CMake 选项 `OPENTUNE_ENABLE_CONTROL_API`。这个选项默认关闭;目前的官方发布版都不含接口代码。 2. 启动时显式开启,二选一: - 设置环境变量 `OPENTUNE_CONTROL_API=1`; - 传入命令行参数 `--control-api`,例如 `OpenTune.exe --control-api`。 @@ -114,11 +116,11 @@ SPDX-License-Identifier: AGPL-3.0-or-later ## 与 OpenTune MCP Server 的关系 - [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server) 是一个 stdio MCP 服务,采用 MIT 许可。它连接本接口,让 Claude Code、Claude Desktop、Cursor 等 MCP 客户端操作 OpenTune。它的 npm 包是 `@synchain/opentune-mcp`(命令 `opentune-mcp`)。 -- 协议 OTCP v1 的规范正本在 MCP 仓库的 `spec/otcp/v1/`(MIT 许可)。本 fork 在 `Tests/Control/spec/otcp/v1/` 保存一份逐字节相同的副本。 +- 协议 OTCP v1 的规范正本在 MCP 仓库的 `spec/otcp/v1/`(MIT 许可)。本 fork 在 `Tests/Control/spec/otcp/v1/` 保存一份逐字节相同的副本。上游合入时没有保留这份副本,规范只在 MCP 仓库继续维护。 ## 非官方测试版 -上游合入之前,**非官方测试版**以预发布形式放在本 fork 的 [Releases 页面](https://github.com/synchain-oss/OpenTune/releases): +在 OpenTune 官方发布版带上控制接口之前,现有的**非官方测试版**继续以预发布形式保留在本 fork 的 [Releases 页面](https://github.com/synchain-oss/OpenTune/releases)。本 fork 已停止维护,不再发布新的测试版: - 提供 Windows x64 的 zip 和 macOS Apple 芯片(arm64)的 zip,tag 形如 `synchain-test/v<版本>-ctl.`。macOS 包里有 `OpenTune-ctl.app`、`OpenTune-AI.command`(以开启控制接口的方式启动应用)和 `opentune-control.json`(OpenTune MCP Server 要求它放在被启动的程序旁边,所以它在包的顶层、紧挨着 `.command`);包使用临时签名,没有经过 Apple 公证,并且不支持 Intel Mac。这个包还没在真机上测过。 - **不含任何模型权重**。需要本机已安装官方 OpenTune,由它提供模型。 From 43aeefa2e6abdc7684f753ae79cc1b99b249caf7 Mon Sep 17 00:00:00 2001 From: DLsnows Date: Mon, 16 Nov 2026 00:15:15 -0500 Subject: [PATCH 2/3] =?UTF-8?q?docs:=20=E5=8F=8D=E9=A6=88=E4=B8=8E?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E8=AF=B4=E6=98=8E=E9=9A=8F=E5=81=9C=E6=AD=A2?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E4=B8=80=E8=B5=B7=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - docs/control-api*.md「反馈与安全」:测试版的问题到 MCP 仓库,上游代码里的控制接口按上游方式反馈。 - .github/SECURITY.md(中英):状态改为已停止维护;范围写明合入上游并被修改后的控制接口归上游。 - .github/README.md:中文时态与英文一致;两种语言都注明「截至 1.8.2」。 Signed-off-by: DLsnows --- .github/README.md | 6 +++--- .github/SECURITY.md | 12 +++++++----- docs/control-api.en.md | 2 +- docs/control-api.md | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/README.md b/.github/README.md index 066893e7..8e8626ad 100644 --- a/.github/README.md +++ b/.github/README.md @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later This fork was maintained by [Synchain](https://www.synchain.ca) to develop a local control API for OpenTune Standalone, for use by [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server), and to propose that API to the upstream project. The API has been merged upstream ([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52), 2026-11-16) and is maintained there from now on. -- **Status**: no longer maintained. This fork no longer syncs with upstream and will publish no new test builds. Upstream's control API is off by default (CMake option `OPENTUNE_ENABLE_CONTROL_API`), and no official release so far includes it. The author changed the API after the merge; the code and documents here are the version from before the merge. +- **Status**: no longer maintained. This fork no longer syncs with upstream and will publish no new test builds. Upstream's control API is off by default (CMake option `OPENTUNE_ENABLE_CONTROL_API`), and no official release so far (up to 1.8.2) includes it. The author changed the API after the merge; the code and documents here are the version from before the merge. - **OpenTune's own README**: [README.md](../README.md) ([English](../README.en.md)), unchanged from upstream. - **The control API**: [docs/control-api.en.md](../docs/control-api.en.md) ([中文](../docs/control-api.md)). - **Test builds**: until an official OpenTune release includes the control API, the existing unofficial test builds stay available as pre-releases on [this fork's Releases page](https://github.com/synchain-oss/OpenTune/releases): Windows x64, and macOS on Apple silicon (not yet tested on a real Mac). They are free of charge and contain no model weights; the models come from your own installation of official OpenTune. @@ -22,9 +22,9 @@ This fork was maintained by [Synchain](https://www.synchain.ca) to develop a loc > **这里不是 OpenTune 的官方仓库。** OpenTune 是 DAYA STUDIO 的项目,采用 AGPL-3.0 许可。官方仓库是 [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune),它的 [Releases 页面](https://github.com/YuFeng926/OpenTune/releases) 是唯一的官方发布渠道。本 fork 发布的任何内容都不是 OpenTune 官方版本。 -本 fork 由 [Synchain](https://www.synchain.ca) 维护,用来为 OpenTune Standalone 开发本机控制接口,供 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server) 使用,并向上游项目提交。这个接口已合入上游([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52),2026-11-16),此后由上游维护。 +本 fork 曾由 [Synchain](https://www.synchain.ca) 维护,用来为 OpenTune Standalone 开发本机控制接口,供 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server) 使用,并向上游项目提交。这个接口已合入上游([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52),2026-11-16),此后由上游维护。 -- **状态**:已停止维护。本 fork 不再同步上游,也不再发布新的测试版。上游的控制接口构建时默认关闭(CMake 选项 `OPENTUNE_ENABLE_CONTROL_API`),目前的官方发布版都不含它。作者合入后对接口做了修改;这里的代码与文档是合入之前的版本。 +- **状态**:已停止维护。本 fork 不再同步上游,也不再发布新的测试版。上游的控制接口构建时默认关闭(CMake 选项 `OPENTUNE_ENABLE_CONTROL_API`),目前的官方发布版(截至 1.8.2)都不含它。作者合入后对接口做了修改;这里的代码与文档是合入之前的版本。 - **OpenTune 自己的说明**:[README.md](../README.md)([English](../README.en.md)),与上游一致,未作改动。 - **控制接口说明**:[docs/control-api.md](../docs/control-api.md)([English](../docs/control-api.en.md))。 - **测试版**:在 OpenTune 官方发布版带上控制接口之前,现有的非官方测试版继续以预发布形式保留在[本 fork 的 Releases 页面](https://github.com/synchain-oss/OpenTune/releases):Windows x64,以及还没在真机上测过的 macOS Apple 芯片版。测试版免费,不含任何模型权重;模型来自你自己安装的官方 OpenTune。 diff --git a/.github/SECURITY.md b/.github/SECURITY.md index a624eea4..975ddfc5 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later **English** | [简体中文](#简体中文) -This fork develops a local control API for OpenTune Standalone (see [docs/control-api.en.md](../docs/control-api.en.md)). Unofficial test builds are published as pre-releases on the [Releases page](https://github.com/synchain-oss/OpenTune/releases). +This fork was used to develop a local control API for OpenTune Standalone (see [docs/control-api.en.md](../docs/control-api.en.md)). The API has been merged upstream ([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52), 2026-11-16), and this fork is no longer maintained. Its existing unofficial test builds stay on the [Releases page](https://github.com/synchain-oss/OpenTune/releases). ## Reporting a vulnerability @@ -17,11 +17,13 @@ Response targets, the threat model and the full scope are in the [security polic ## Scope -- In scope: the control API code and integration hooks that we add in this fork, and our unofficial test builds. -- Out of scope: OpenTune's own code. Report those issues to [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune). If you are unsure which side is affected, report to us and we will route it. +- In scope: the control API code and integration hooks as they are in this fork, and our unofficial test builds. +- Out of scope: OpenTune's own code, including the control API as merged and changed upstream. Report those issues to [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune). If you are unsure which side is affected, report to us and we will route it. ## 简体中文 +本 fork 曾用于为 OpenTune Standalone 开发本机控制接口(见 [docs/control-api.md](../docs/control-api.md))。接口已合入上游([YuFeng926/OpenTune#52](https://github.com/YuFeng926/OpenTune/pull/52),2026-11-16),本 fork 已停止维护;现有的非官方测试版仍保留在 [Releases 页面](https://github.com/synchain-oss/OpenTune/releases)。 + ### 报告漏洞 **不要开公开 issue。** 请通过本仓库或 [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/security) 的私密漏洞报告(Security → Report a vulnerability)提交,两处都由同一批维护者处理。两处都不可用时,请发邮件到 **contact@synchain.ca**,标题带 `[security]`。中文、英文均可。请不要附上 OpenTune 发现文件里的令牌或任何其他凭据。 @@ -30,5 +32,5 @@ Response targets, the threat model and the full scope are in the [security polic ### 范围 -- 在范围内:我们在本 fork 中新增的控制接口代码与接入钩子,以及我们的非官方测试版。 -- 不在范围内:OpenTune 自身的代码,请报告给 [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune)。不确定属于哪一方时,报给我们,我们来转交。 +- 在范围内:本 fork 中现有的控制接口代码与接入钩子,以及我们的非官方测试版。 +- 不在范围内:OpenTune 自身的代码,包括合入上游并被修改后的控制接口,请报告给 [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune)。不确定属于哪一方时,报给我们,我们来转交。 diff --git a/docs/control-api.en.md b/docs/control-api.en.md index ab8acb3c..42a5bc7a 100644 --- a/docs/control-api.en.md +++ b/docs/control-api.en.md @@ -143,7 +143,7 @@ The effects scenario in the smoke run (which checks that what the API says it ch ## Feedback and security -- Problems and suggestions for this fork, the control API or test builds: [synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues). +- Problems and suggestions for the test builds from this fork: [synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues). For the control API in upstream's code (including the changes made after the merge), please use upstream's channels. - Security issues: please use Private Vulnerability Reporting on this repository or on [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/security); both reach the same maintainers. Fallback: contact@synchain.ca. Please do not disclose them publicly. See also [SECURITY.md](../.github/SECURITY.md). - Problems that also reproduce in the official OpenTune releases belong to OpenTune itself. Please report those through upstream's channels. diff --git a/docs/control-api.md b/docs/control-api.md index 533b308d..4427c551 100644 --- a/docs/control-api.md +++ b/docs/control-api.md @@ -143,7 +143,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later ## 反馈与安全 -- 本 fork、控制接口与测试版的问题与建议:[synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues)。 +- 本 fork 测试版的问题与建议:[synchain-oss/opentune-mcp-server issues](https://github.com/synchain-oss/opentune-mcp-server/issues)。上游代码里的控制接口(包括合入后的修改),请按上游的方式反馈。 - 安全问题:请通过本仓库或 [synchain-oss/opentune-mcp-server](https://github.com/synchain-oss/opentune-mcp-server/security) 的私密漏洞报告(Private Vulnerability Reporting)提交,两处都由同一批维护者处理;备用联系方式为 contact@synchain.ca。请勿公开披露。另见 [SECURITY.md](../.github/SECURITY.md)。 - 在官方 OpenTune 发布版中也能复现的问题,属于 OpenTune 本身的问题,请按上游的方式反馈。 From 4053d36da12efce8855284f3e4e7db1b9dc3a347 Mon Sep 17 00:00:00 2001 From: DLsnows Date: Mon, 16 Nov 2026 00:26:21 -0500 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20=E3=80=8C=E8=BF=99=E6=98=AF?= =?UTF-8?q?=E4=BB=80=E4=B9=88=E3=80=8D=E4=B8=80=E6=AE=B5=E6=94=B9=E6=88=90?= =?UTF-8?q?=E8=BF=87=E5=8E=BB=E6=97=B6=EF=BC=8C=E4=B8=8E=E5=81=9C=E6=AD=A2?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: DLsnows --- docs/control-api.en.md | 2 +- docs/control-api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/control-api.en.md b/docs/control-api.en.md index 42a5bc7a..90085ac6 100644 --- a/docs/control-api.en.md +++ b/docs/control-api.en.md @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later ## What this is -`synchain-oss/OpenTune` is an **unofficial** fork of OpenTune, maintained by Synchain. It exists for one purpose: to develop a **local control API** for OpenTune Standalone. The API listens on `127.0.0.1` only. It lets local tools perform operations that already exist in the OpenTune UI and get structured results back. One such tool is [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server). Supported operations include reading notes and pitch curves, import, AUTO tuning, note edits, undo/redo, and export. The API has been contributed upstream as a pull request and merged (see the status above). +`synchain-oss/OpenTune` is an **unofficial** fork of OpenTune that was maintained by Synchain. It existed for one purpose: to develop a **local control API** for OpenTune Standalone. The API listens on `127.0.0.1` only. It lets local tools perform operations that already exist in the OpenTune UI and get structured results back. One such tool is [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server). Supported operations include reading notes and pitch curves, import, AUTO tuning, note edits, undo/redo, and export. The API has been contributed upstream as a pull request and merged (see the status above). - OpenTune is a project of DAYA STUDIO (author: 风语), licensed under AGPL-3.0. - **The official repository is [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune). Its [Releases page](https://github.com/YuFeng926/OpenTune/releases) is the only official distribution channel.** No build from this fork is an official release. diff --git a/docs/control-api.md b/docs/control-api.md index 4427c551..f454c3a7 100644 --- a/docs/control-api.md +++ b/docs/control-api.md @@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later ## 这是什么 -`synchain-oss/OpenTune` 是 Synchain 维护的 OpenTune **非官方** fork。它只有一个目的:为 OpenTune Standalone 开发一个**本机控制接口**(只监听 `127.0.0.1`),让本机工具能执行界面里已有的操作,并得到结构化的结果。这类本机工具包括 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server)。支持的操作包括读取音符与音高曲线、导入、AUTO 修音、编辑音符、撤销/重做、导出等。这个接口已经以 PR 的形式贡献回上游并被合入(见上方状态)。 +`synchain-oss/OpenTune` 是 OpenTune 的**非官方** fork,曾由 Synchain 维护。它的目的只有一个:为 OpenTune Standalone 开发一个**本机控制接口**(只监听 `127.0.0.1`),让本机工具能执行界面里已有的操作,并得到结构化的结果。这类本机工具包括 [OpenTune MCP Server (by Synchain)](https://github.com/synchain-oss/opentune-mcp-server)。支持的操作包括读取音符与音高曲线、导入、AUTO 修音、编辑音符、撤销/重做、导出等。这个接口已经以 PR 的形式贡献回上游并被合入(见上方状态)。 - OpenTune 是 DAYA STUDIO 的项目(作者 风语),采用 AGPL-3.0 许可。 - **官方仓库是 [YuFeng926/OpenTune](https://github.com/YuFeng926/OpenTune),它的 [Releases 页面](https://github.com/YuFeng926/OpenTune/releases) 是唯一的官方发布渠道。** 本 fork 的任何构建都不是官方版本。