@mochi-fish/fish-bridge 0.0.0-stage → 0.2.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.
@@ -0,0 +1,529 @@
1
+ THIRD-PARTY-NOTICES — @mochi-fish/fish-bridge(桥)
2
+
3
+ 桥(packages/fish-bridge)自己的代码用 MIT 许可。桥要和别的 DSH 插件一起工作,
4
+ 所以在代码里逐字写着它们的一些原文(段名、工具说明里的几句、报错文字、标签、
5
+ 正则),用来认出这些字、在她的工作区里换成别的或者去掉。这些原文的出处和
6
+ 许可列在下面。桥不拷这些插件的实现代码;运行时 import 的是使用者装好的那一份。
7
+
8
+
9
+ ===============================================================================
10
+ 一、带进本仓库的第三方代码或文字(桥)
11
+ ===============================================================================
12
+
13
+ B1. dsh-fish
14
+ https://github.com/mochi-fish/dsh-fish
15
+ 许可:MIT(原文附在下面)。
16
+
17
+ 桥里逐字认的:
18
+ - 系统提示的段名(fish:identity、fish:wake 和身份文档里的几个小标题);
19
+ - 叫醒段里的几行(「你刚醒。」、后台刷到的那一行的开头和结尾、几处时间
20
+ 说法);
21
+ - 便条的编号前缀和记号;
22
+ - 身份段和工具说明里的几句(含 {T} 代称模板的写法);
23
+ - 身份文档里「认识的人」「听到过」几段的行格式(正则);
24
+ - 事件名(dsh-fish/busy、dsh-fish/card、dsh-fish/answer、fish-wake)、
25
+ 文件名(RULES.md、她认识的人.md 等)。
26
+ 桥运行时 import 的 dsh-fish 模块(lib/store.js、lib/derive.js、lib/hear.js、
27
+ lib/recall.js 等)是使用者装好的那一份,不随本仓库分发。
28
+
29
+ ---------------------------------------------------------------------------
30
+ dsh-fish — LICENSE
31
+ ---------------------------------------------------------------------------
32
+ MIT License
33
+
34
+ Copyright (c) 2026 大肥鱼(dsh-fish)作者
35
+
36
+ Permission is hereby granted, free of charge, to any person obtaining a copy
37
+ of this software and associated documentation files (the "Software"), to deal
38
+ in the Software without restriction, including without limitation the rights
39
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
40
+ copies of the Software, and to permit persons to whom the Software is
41
+ furnished to do so, subject to the following conditions:
42
+
43
+ The above copyright notice and this permission notice shall be included in all
44
+ copies or substantial portions of the Software.
45
+
46
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
47
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
48
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
49
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
51
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
52
+ SOFTWARE.
53
+ ---------------------------------------------------------------------------
54
+
55
+
56
+ B2. dsh-onebot-qq
57
+ https://github.com/mario841859784/dsh-onebot
58
+ 许可:BSD-3-Clause(原文附在下面)。
59
+
60
+ 桥里逐字认的:
61
+ - 消息抬头的两种写法:带信封的旧写法,和「平常话」写法的抬头正则
62
+ (照 lib/chat.js 的 PLAIN_HEADER_RE 写,缩进是两个全角空格);
63
+ - 段落标签:「[引用]」「[图片]」「[表情包:」「[合并转发」、卡片转成文字的
64
+ 标签、私聊时间那一行;
65
+ - 发消息出错时的几种报错原文(没连上、目标写错、OneBot 动作失败的形状),
66
+ 用来分「确实没发 / 明确被拒 / 不知道到没到」;
67
+ - 记忆库那条用户消息的写法;
68
+ - ChatBridge、OneBotConnection、MediaStore 上桥要替换、包装或调用的方法和
69
+ 字段名。
70
+ 照它的行为重写的:昵称清洗(sanitizeNickname:删控制字符和几个尖括号类字符、
71
+ 空白并成一个、截到 32 个码点)。桥里是自己写的实现,规则和它一致。
72
+
73
+ ---------------------------------------------------------------------------
74
+ dsh-onebot-qq — LICENSE
75
+ ---------------------------------------------------------------------------
76
+ BSD 3-Clause License
77
+
78
+ Copyright (c) 2026, dsh-external contributors
79
+ All rights reserved.
80
+
81
+ Redistribution and use in source and binary forms, with or without
82
+ modification, are permitted provided that the following conditions are met:
83
+
84
+ 1. Redistributions of source code must retain the above copyright notice, this
85
+ list of conditions and the following disclaimer.
86
+
87
+ 2. Redistributions in binary form must reproduce the above copyright notice,
88
+ this list of conditions and the following disclaimer in the documentation
89
+ and/or other materials provided with the distribution.
90
+
91
+ 3. Neither the name of the copyright holder nor the names of its
92
+ contributors may be used to endorse or promote products derived from
93
+ this software without specific prior written permission.
94
+
95
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
96
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
97
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
98
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
99
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
100
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
101
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
102
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
103
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
104
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
105
+ ---------------------------------------------------------------------------
106
+
107
+
108
+ B3. dsh-meme
109
+ https://github.com/yyh-001/dsh-meme
110
+ 许可:MIT(原文附在下面)。
111
+
112
+ 桥里逐字认的:陪伴段(dsh-expression:companion)的原文,两个版本的常量都认;
113
+ send_meme 回执的形状;「情绪字典: 」那一行的开头;内置表情包目录名。
114
+
115
+ ---------------------------------------------------------------------------
116
+ dsh-meme — LICENSE
117
+ ---------------------------------------------------------------------------
118
+ MIT License
119
+
120
+ Copyright (c) 2026 Selfloom contributors
121
+
122
+ Permission is hereby granted, free of charge, to any person obtaining a copy
123
+ of this software and associated documentation files (the "Software"), to deal
124
+ in the Software without restriction, including without limitation the rights
125
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
126
+ copies of the Software, and to permit persons to whom the Software is
127
+ furnished to do so, subject to the following conditions:
128
+
129
+ The above copyright notice and this permission notice shall be included in all
130
+ copies or substantial portions of the Software.
131
+
132
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
133
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
134
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
135
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
136
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
137
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
138
+ SOFTWARE.
139
+ ---------------------------------------------------------------------------
140
+
141
+
142
+ B4. dsh-memewiki
143
+ https://github.com/thawline/dsh-memewiki
144
+ 许可:MIT(原文附在下面)。
145
+
146
+ 桥里逐字认的:查询结果开头的「接梗规则」原文、「没收录」那一句、结果的
147
+ 「[梗百科」开头。
148
+
149
+ ---------------------------------------------------------------------------
150
+ dsh-memewiki — LICENSE
151
+ ---------------------------------------------------------------------------
152
+ MIT License
153
+
154
+ Copyright (c) 2026 dsh-memewiki contributors
155
+
156
+ Permission is hereby granted, free of charge, to any person obtaining a copy
157
+ of this software and associated documentation files (the "Software"), to deal
158
+ in the Software without restriction, including without limitation the rights
159
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
160
+ copies of the Software, and to permit persons to whom the Software is
161
+ furnished to do so, subject to the following conditions:
162
+
163
+ The above copyright notice and this permission notice shall be included in all
164
+ copies or substantial portions of the Software.
165
+
166
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
167
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
168
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
169
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
170
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
171
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
172
+ SOFTWARE.
173
+ ---------------------------------------------------------------------------
174
+
175
+
176
+ B5. dsh-doubao-painter
177
+ https://github.com/liangzz1998/dsh-doubao-painter
178
+ 许可:MIT(package.json 里声明;包里和仓库里没有 LICENSE 文件,没有写明
179
+ 版权人)。
180
+
181
+ 桥里逐字认的:两个工具说明的开头、doubao_paint 的参数名、「没有开调试端口」
182
+ 「找不到豆包主程序」和「可以重启豆包后再试」这几句报错。
183
+
184
+ 上游没有给出版权行和许可全文,这里按 MIT 标明出处:
185
+ Copyright (c) dsh-doubao-painter contributors. Licensed under the MIT License
186
+ (https://opensource.org/license/mit).
187
+
188
+
189
+ B6. nowledge-mem-deepseek-harness
190
+ https://github.com/nowledge-co/nowledge-mem-deepseek-harness
191
+ 许可:MIT(package.json 里声明;包里没有 LICENSE 文件,没有写明版权人)。
192
+
193
+ 桥里照抄的:src/recall.js 里「只是让接着说」的那一个正则(上游没导出它)
194
+ 和判断「收到的这句话该不该触发自动回忆」的写法。
195
+ 缺省的回忆触发词表桥不照抄:运行时从使用者装好的那一份 src/recall.js
196
+ 读它导出的 DEFAULT_PROMPT_RECALL_PATTERN,读不到就不用;不随本仓库分发。
197
+
198
+ 上游没有给出版权行和许可全文,这里按 MIT 标明出处:
199
+ Copyright (c) nowledge-mem-deepseek-harness contributors. Licensed under the
200
+ MIT License (https://opensource.org/license/mit).
201
+
202
+
203
+ B7. dsh-computer-use-win
204
+ https://github.com/Yu-tao-Li/dsh-computer-use-win
205
+ 许可:MIT(原文附在下面)。
206
+
207
+ 桥里逐字认的:工具名的前缀和几个「把屏幕内容拿回来」的工具名;几种
208
+ 「什么都没看到」的错误码前缀;文字识别缺语言时的两句报错;截图文件名的
209
+ 前缀。
210
+
211
+ ---------------------------------------------------------------------------
212
+ dsh-computer-use-win — LICENSE
213
+ ---------------------------------------------------------------------------
214
+ MIT License
215
+
216
+ Copyright (c) 2026 Yu-tao-Li
217
+
218
+ Permission is hereby granted, free of charge, to any person obtaining a copy
219
+ of this software and associated documentation files (the "Software"), to deal
220
+ in the Software without restriction, including without limitation the rights
221
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
222
+ copies of the Software, and to permit persons to whom the Software is
223
+ furnished to do so, subject to the following conditions:
224
+
225
+ The above copyright notice and this permission notice shall be included in all
226
+ copies or substantial portions of the Software.
227
+
228
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
229
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
230
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
231
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
232
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
233
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
234
+ SOFTWARE.
235
+ ---------------------------------------------------------------------------
236
+
237
+
238
+ B8. DeepSeek Harness(DSH 宿主)
239
+ https://github.com/deepseek-ai/deepseek-harness
240
+ 许可:MIT(原文附在下面)。
241
+
242
+ 桥里逐字认的:她工作区里要去掉的宿主自带系统提示段的段名和运行时上下文名
243
+ (harness:identity、tool:pwsh 等),以及子代理控制插件那句必带的身份上下文
244
+ 原文(subagent:identity)。桥是 DSH 的插件,运行时用的是使用者装好的宿主。
245
+
246
+ ---------------------------------------------------------------------------
247
+ DeepSeek Harness — LICENSE
248
+ ---------------------------------------------------------------------------
249
+ MIT License
250
+
251
+ Copyright (c) 2026 DeepSeek
252
+
253
+ Permission is hereby granted, free of charge, to any person obtaining a copy
254
+ of this software and associated documentation files (the "Software"), to deal
255
+ in the Software without restriction, including without limitation the rights
256
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
257
+ copies of the Software, and to permit persons to whom the Software is
258
+ furnished to do so, subject to the following conditions:
259
+
260
+ The above copyright notice and this permission notice shall be included in all
261
+ copies or substantial portions of the Software.
262
+
263
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
264
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
265
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
266
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
267
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
268
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
269
+ SOFTWARE.
270
+ ---------------------------------------------------------------------------
271
+
272
+
273
+ B9. mai_replier 模型卡(tcmofashi/mai_replier-9b-v2p1)
274
+ https://huggingface.co/tcmofashi/mai_replier-9b-v2p1
275
+ 许可:Apache-2.0(模型卡第九节「Apache-2.0(与基座 Qwen3.5-9B 一致)」,
276
+ 元数据 license: apache-2.0)。模型卡没有写明版权人,也没有单独的
277
+ LICENSE / NOTICE 文件。
278
+
279
+ 桥里照抄的(回复器,缺省关):
280
+ - 模型卡第 2.2 节 system 模板里的七条通用规则,原文:
281
+
282
+ 你正在一个 QQ 群里,需要以这个角色的身份参与群聊。请严格遵守以下要求:
283
+ 1. 回复要短,符合群聊风格,通常一句话(不超过50字)
284
+ 2. 不要使用任何 markdown 格式、列表、标题
285
+ 3. 不要重复使用标点符号(如"!!"、"……"),不要复读
286
+ 4. 不要复述上下文里别人已经说过的话
287
+ 5. 不要以"作为XX"开头
288
+ 6. 不要使用"@某人",直接说话即可
289
+ 7. 输出只能是这个角色说的下一句话,不要任何额外解释
290
+
291
+ - 同一节 user 模板的固定行:开头两行和「当前时间:」那一行、
292
+ 「现在{目标发言人}说的:{目标消息}。引起了你的注意。」、「【回复信息参考】」、
293
+ 尾部指令「根据以上对话和指引,以{角色名}的身份说一句话。不要超过50字。
294
+ 现在,你说:」;
295
+ - 第三节的采样参数(temperature、top_p、max_tokens、repetition_penalty,
296
+ 关掉思考)。
297
+ 修改说明(Apache-2.0 第 4(b) 条):桥在「【回复信息参考】」下面加了「回复指引:」
298
+ 和「关键信息参考:」两段(写法学自 MaiBot 的 planner),其余照抄的字没改。
299
+
300
+ ---------------------------------------------------------------------------
301
+ Apache License 2.0 — 条款原文
302
+ ---------------------------------------------------------------------------
303
+ Apache License
304
+ Version 2.0, January 2004
305
+ http://www.apache.org/licenses/
306
+
307
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
308
+
309
+ 1. Definitions.
310
+
311
+ "License" shall mean the terms and conditions for use, reproduction,
312
+ and distribution as defined by Sections 1 through 9 of this document.
313
+
314
+ "Licensor" shall mean the copyright owner or entity authorized by
315
+ the copyright owner that is granting the License.
316
+
317
+ "Legal Entity" shall mean the union of the acting entity and all
318
+ other entities that control, are controlled by, or are under common
319
+ control with that entity. For the purposes of this definition,
320
+ "control" means (i) the power, direct or indirect, to cause the
321
+ direction or management of such entity, whether by contract or
322
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
323
+ outstanding shares, or (iii) beneficial ownership of such entity.
324
+
325
+ "You" (or "Your") shall mean an individual or Legal Entity
326
+ exercising permissions granted by this License.
327
+
328
+ "Source" form shall mean the preferred form for making modifications,
329
+ including but not limited to software source code, documentation
330
+ source, and configuration files.
331
+
332
+ "Object" form shall mean any form resulting from mechanical
333
+ transformation or translation of a Source form, including but
334
+ not limited to compiled object code, generated documentation,
335
+ and conversions to other media types.
336
+
337
+ "Work" shall mean the work of authorship, whether in Source or
338
+ Object form, made available under the License, as indicated by a
339
+ copyright notice that is included in or attached to the work
340
+ (an example is provided in the Appendix below).
341
+
342
+ "Derivative Works" shall mean any work, whether in Source or Object
343
+ form, that is based on (or derived from) the Work and for which the
344
+ editorial revisions, annotations, elaborations, or other modifications
345
+ represent, as a whole, an original work of authorship. For the purposes
346
+ of this License, Derivative Works shall not include works that remain
347
+ separable from, or merely link (or bind by name) to the interfaces of,
348
+ the Work and Derivative Works thereof.
349
+
350
+ "Contribution" shall mean any work of authorship, including
351
+ the original version of the Work and any modifications or additions
352
+ to that Work or Derivative Works thereof, that is intentionally
353
+ submitted to Licensor for inclusion in the Work by the copyright owner
354
+ or by an individual or Legal Entity authorized to submit on behalf of
355
+ the copyright owner. For the purposes of this definition, "submitted"
356
+ means any form of electronic, verbal, or written communication sent
357
+ to the Licensor or its representatives, including but not limited to
358
+ communication on electronic mailing lists, source code control systems,
359
+ and issue tracking systems that are managed by, or on behalf of, the
360
+ Licensor for the purpose of discussing and improving the Work, but
361
+ excluding communication that is conspicuously marked or otherwise
362
+ designated in writing by the copyright owner as "Not a Contribution."
363
+
364
+ "Contributor" shall mean Licensor and any individual or Legal Entity
365
+ on behalf of whom a Contribution has been received by Licensor and
366
+ subsequently incorporated within the Work.
367
+
368
+ 2. Grant of Copyright License. Subject to the terms and conditions of
369
+ this License, each Contributor hereby grants to You a perpetual,
370
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
371
+ copyright license to reproduce, prepare Derivative Works of,
372
+ publicly display, publicly perform, sublicense, and distribute the
373
+ Work and such Derivative Works in Source or Object form.
374
+
375
+ 3. Grant of Patent License. Subject to the terms and conditions of
376
+ this License, each Contributor hereby grants to You a perpetual,
377
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
378
+ (except as stated in this section) patent license to make, have made,
379
+ use, offer to sell, sell, import, and otherwise transfer the Work,
380
+ where such license applies only to those patent claims licensable
381
+ by such Contributor that are necessarily infringed by their
382
+ Contribution(s) alone or by combination of their Contribution(s)
383
+ with the Work to which such Contribution(s) was submitted. If You
384
+ institute patent litigation against any entity (including a
385
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
386
+ or a Contribution incorporated within the Work constitutes direct
387
+ or contributory patent infringement, then any patent licenses
388
+ granted to You under this License for that Work shall terminate
389
+ as of the date such litigation is filed.
390
+
391
+ 4. Redistribution. You may reproduce and distribute copies of the
392
+ Work or Derivative Works thereof in any medium, with or without
393
+ modifications, and in Source or Object form, provided that You
394
+ meet the following conditions:
395
+
396
+ (a) You must give any other recipients of the Work or
397
+ Derivative Works a copy of this License; and
398
+
399
+ (b) You must cause any modified files to carry prominent notices
400
+ stating that You changed the files; and
401
+
402
+ (c) You must retain, in the Source form of any Derivative Works
403
+ that You distribute, all copyright, patent, trademark, and
404
+ attribution notices from the Source form of the Work,
405
+ excluding those notices that do not pertain to any part of
406
+ the Derivative Works; and
407
+
408
+ (d) If the Work includes a "NOTICE" text file as part of its
409
+ distribution, then any Derivative Works that You distribute must
410
+ include a readable copy of the attribution notices contained
411
+ within such NOTICE file, excluding those notices that do not
412
+ pertain to any part of the Derivative Works, in at least one
413
+ of the following places: within a NOTICE text file distributed
414
+ as part of the Derivative Works; within the Source form or
415
+ documentation, if provided along with the Derivative Works; or,
416
+ within a display generated by the Derivative Works, if and
417
+ wherever such third-party notices normally appear. The contents
418
+ of the NOTICE file are for informational purposes only and
419
+ do not modify the License. You may add Your own attribution
420
+ notices within Derivative Works that You distribute, alongside
421
+ or as an addendum to the NOTICE text from the Work, provided
422
+ that such additional attribution notices cannot be construed
423
+ as modifying the License.
424
+
425
+ You may add Your own copyright statement to Your modifications and
426
+ may provide additional or different license terms and conditions
427
+ for use, reproduction, or distribution of Your modifications, or
428
+ for any such Derivative Works as a whole, provided Your use,
429
+ reproduction, and distribution of the Work otherwise complies with
430
+ the conditions stated in this License.
431
+
432
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
433
+ any Contribution intentionally submitted for inclusion in the Work
434
+ by You to the Licensor shall be under the terms and conditions of
435
+ this License, without any additional terms or conditions.
436
+ Notwithstanding the above, nothing herein shall supersede or modify
437
+ the terms of any separate license agreement you may have executed
438
+ with Licensor regarding such Contributions.
439
+
440
+ 6. Trademarks. This License does not grant permission to use the trade
441
+ names, trademarks, service marks, or product names of the Licensor,
442
+ except as required for reasonable and customary use in describing the
443
+ origin of the Work and reproducing the content of the NOTICE file.
444
+
445
+ 7. Disclaimer of Warranty. Unless required by applicable law or
446
+ agreed to in writing, Licensor provides the Work (and each
447
+ Contributor provides its Contributions) on an "AS IS" BASIS,
448
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
449
+ implied, including, without limitation, any warranties or conditions
450
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
451
+ PARTICULAR PURPOSE. You are solely responsible for determining the
452
+ appropriateness of using or redistributing the Work and assume any
453
+ risks associated with Your exercise of permissions under this License.
454
+
455
+ 8. Limitation of Liability. In no event and under no legal theory,
456
+ whether in tort (including negligence), contract, or otherwise,
457
+ unless required by applicable law (such as deliberate and grossly
458
+ negligent acts) or agreed to in writing, shall any Contributor be
459
+ liable to You for damages, including any direct, indirect, special,
460
+ incidental, or consequential damages of any character arising as a
461
+ result of this License or out of the use or inability to use the
462
+ Work (including but not limited to damages for loss of goodwill,
463
+ work stoppage, computer failure or malfunction, or any and all
464
+ other commercial damages or losses), even if such Contributor
465
+ has been advised of the possibility of such damages.
466
+
467
+ 9. Accepting Warranty or Additional Liability. While redistributing
468
+ the Work or Derivative Works thereof, You may choose to offer,
469
+ and charge a fee for, acceptance of support, warranty, indemnity,
470
+ or other liability obligations and/or rights consistent with this
471
+ License. However, in accepting such obligations, You may act only
472
+ on Your own behalf and on Your sole responsibility, not on behalf
473
+ of any other Contributor, and only if You agree to indemnify,
474
+ defend, and hold each Contributor harmless for any liability
475
+ incurred by, or claims asserted against, such Contributor by reason
476
+ of your accepting any such warranty or additional liability.
477
+
478
+ END OF TERMS AND CONDITIONS
479
+ ---------------------------------------------------------------------------
480
+
481
+
482
+ B10. billion-context(并进现有的那一条,不新加)
483
+ 「用在哪」加一行:
484
+ - packages/fish-bridge(桥):认压缩代理工具结果里 <acp …>…</acp> 编号
485
+ 标签的形状(发到 QQ 之前剥掉)、acp_status 等工具名、decompress 写文件
486
+ 那个参数名。只是认字,不拷代码。适用现有的第一份(仓库根目录的 LICENSE)。
487
+
488
+
489
+ ===============================================================================
490
+ 二、运行时要用、但不随本仓库分发的东西(桥)
491
+ ===============================================================================
492
+
493
+ (DSH、dsh-fish 两项根目录里已经有;各加一行「桥是它的插件 / 桥运行时 import
494
+ 使用者装好的 dsh-fish」。)
495
+
496
+ - dsh-onebot-qq(BSD-3-Clause)
497
+ https://github.com/mario841859784/dsh-onebot
498
+ 桥接管它的 ChatBridge,借它的连接发消息、翻记录,用它的 MediaStore 下图。
499
+ 使用者自己装。
500
+
501
+ - dsh-meme、dsh-memewiki、dsh-doubao-painter、nowledge-mem-deepseek-harness、
502
+ dsh-computer-use-win(都是 MIT,链接见上面 B3–B7)
503
+ 可选;桥认它们的字、包装它们的工具。使用者自己装。
504
+
505
+ - dsh-watch-together(eyes / ears / mouth,MIT)
506
+ https://github.com/Eli-Mao/dsh-watch-together
507
+ 可选(缺省关)。桥认它的工具名、换掉它的工具说明(换上去的是自己写的)。
508
+ 要用带请求口令的版本。
509
+
510
+ - dsh-bili-humanism(MIT)
511
+ https://github.com/InariNGT-Ofiicial/dsh-bili-humanism
512
+ 可选(缺省关)。桥只认它的工具名。
513
+
514
+ - STS2-Agent(GNU AGPL-3.0)
515
+ https://github.com/CharTyr/STS2-Agent
516
+ 可选(缺省关)。杀戮尖塔 2 的 Mod,在游戏进程里开 MCP。桥只经本机网络按 MCP
517
+ 调它、认它的动作名和事件名,不带它的任何代码。
518
+
519
+ - @mochi-fish/fish-minecraft-bot(MIT,本组织)和它用的 mineflayer(MIT)
520
+ 可选(缺省关)。桥按配置起这个进程。服务器版本比 mineflayer 新时要的
521
+ ViaProxy(GPL-3.0)由使用者自己下载,不随任何包分发。
522
+
523
+ - vrc-body 和动作服务器(vrc-body 是 AGPL-3.0,本组织另一个仓库)
524
+ 可选(缺省关)。桥按配置里的命令数组起身体进程,经 stdin / stdout 的 JSON 行
525
+ 说话,不 import 它的代码。
526
+
527
+ - mai_replier(Apache-2.0)
528
+ 可选(缺省关)。回复器的模型由使用者自己部署成 OpenAI 兼容服务,桥只打
529
+ 配置的地址。