@bokutake/dsh-connect-qoder 0.0.0-stage → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 LaoDing
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,60 @@
1
+ # 修改声明(Modification Notice)
2
+
3
+ MIT License
4
+
5
+ Copyright (c) 2026 bokutake <i@html.moe>
6
+
7
+ 本文件声明本仓库(`bokutake/dsh-connect-qoder`)相对上游
8
+ [`dingminhua/dsh-connect-qoder`](https://github.com/dingminhua/dsh-connect-qoder)
9
+ 的**修改范围**与**授权**。
10
+
11
+ ## 一、上游
12
+
13
+ - **上游项目**:[`dingminhua/dsh-connect-qoder`](https://github.com/dingminhua/dsh-connect-qoder)
14
+ - **上游许可证**:MIT,`Copyright (c) 2026 LaoDing`(全文见 [`LICENSE`](LICENSE))
15
+ - **本仓库起点**:上游 `1.27.1`(2026-11-20)之后的未发布改动 + 本仓库的后续修改
16
+ - **分叉原因**:上游已于
17
+ [`dingminhua/dsh-connect-qoder#49`](https://github.com/dingminhua/dsh-connect-qoder/issues/49)
18
+ 公告停止维护(理由是 Qoder 官方取消免费用户的每日签到积分)。本仓库继续维护,起因是
19
+ 上游在**计费记账**与**设备身份**这两侧存在与本插件核心用途无关的缺陷,与停更公告所述的
20
+ 签到政策变更没有关系。
21
+
22
+ ## 二、授权
23
+
24
+ 本仓库的修改部分同样以 **MIT** 发布,全文见 [`LICENSE`](LICENSE)。
25
+
26
+ 上游的版权声明**原样保留**,不因本仓库的修改而移除 —— MIT 只要求保留声明,不要求
27
+ 修改者放弃署名权,也不要求修改者承担上游作者的义务。因此:
28
+
29
+ - `LICENSE` 保留 `Copyright (c) 2026 LaoDing`(上游原文,未改一字);
30
+ - 本文件载明修改者与修改范围;
31
+ - 两者并存即满足 MIT 的「上述版权声明与许可声明应包含在软件的所有副本或实质部分中」。
32
+
33
+ ## 三、修改摘要
34
+
35
+ 完整记录见 [`CHANGELOG.md`](CHANGELOG.md) 的 `1.28.0` 一节。按性质分三类:
36
+
37
+ | 类别 | 内容 |
38
+ | --- | --- |
39
+ | **修复(对齐官方 CLI)** | `business` 记录按「一条用户输入一条记录」归并并补上 `business/finish` 闭合;`cosy-clienttype` `10`→`5`;`cosy-business-product` `ide`→`cli`;`user-agent` 改为 `Bun/1.4.4`;`cosy-version` 改为动态解析且与 bearer 载荷同源;设备身份改为默认取本机真实值且 `machineId` 与 `machineToken` 分开取 |
40
+ | **新增** | 区域节点发现与 inference 节点轮换;`cache_control` 标记(默认关,可配);`src/client-version.ts`、`src/device-identity.ts`、`src/endpoints.ts` |
41
+ | **测试与文档** | 6 个新增测试文件;`tests/privacy.spec.ts` 补一条规则及其自测;`docs/issues/magpie-330-billing-count.md` |
42
+
43
+ ## 四、与上游的关系
44
+
45
+ - 本仓库是**独立维护的分叉**,不是上游的官方延续,也不代表上游作者的立场;
46
+ - 上游的 issue 编号与本仓库的 issue 编号**互不相同**,引用时请写明仓库;
47
+ - 维护按 best-effort 进行,**不承诺**任何 SLA 或功能路线图(见 README)。
48
+
49
+ ## 五、上游未包含的代价
50
+
51
+ 本仓库修改了与上游共享的协议行为,因此:
52
+
53
+ - 若上游日后恢复维护并发布新版本,本仓库的改动**不会**自动合入;
54
+ - 反向亦成立:本仓库的改动**不会**自动回流到上游;
55
+ - 两边若各自演进,`business` 记账语义可能再次分叉,届时以各自文档为准。
56
+
57
+ ---
58
+
59
+ 若你是上游作者并认为本文件有不妥之处(例如署名方式、修改描述、或你不希望被以这种方式
60
+ 分叉),请在本仓库提 issue,我会按你的意愿调整。