dsh-plugin-magi-suite 0.0.0-stage → 1.0.1

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,28 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 MAGI 三贤人 plugin authors
4
+ Copyright (c) 2026 Ritacuk (MAGI componentization, multi-model routing, packaging and later modifications)
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+ ---
25
+
26
+ MAGI / NERV / MELCHIOR / BALTHASAR / CASPER 等名称属致敬性引用。本插件为**非官方粉丝作品**,与《新世纪福音战士》/ EVA 的权利人(Color/khara、GAINAX 等)无任何关联、授权或背书;界面(含端末三面板图形与图标)全部由 CSS / 内联 SVG 原创绘制,不包含任何官方或第三方图像、音频、动画素材。
27
+
28
+ 本项目基于 [MengYuanzhuo/dsh-plugin-magi](https://github.com/MengYuanzhuo/dsh-plugin-magi)(MIT License,Copyright (c) 2026 MAGI 三贤人 plugin authors)自 v0.1.1(commit `ec7e2ee`)演进:组件化、多模型路由、EvidenceBroker、i18n 与打包为本仓库的后续修改。原始版权与 MIT 许可文本原样保留于本包 LICENSE 与 NOTICE.md。
package/NOTICE.md ADDED
@@ -0,0 +1,27 @@
1
+ # NOTICE — 版权与第三方声明 / Notices
2
+
3
+ ## 本发行物 / This distribution
4
+
5
+ - 组件:dsh-plugin-magi-suite 1.0.1 —— 六组件组合、唯一插件入口(安装本包即得全套)
6
+ - 修改与新增部分:Copyright (c) 2026 Ritacuk,MIT License(与本包 `LICENSE` 一致)。
7
+ - 完整第三方许可信息另见本包 `THIRD_PARTY_NOTICES.md`。
8
+
9
+ ## 字体 / Fonts
10
+
11
+ 本组件不分发任何字体。MAGI 终端字体(MAGI Terminal Serif,Source Han Serif SC Heavy 的 SIL OFL 1.1 子集)仅随 `dsh-plugin-magi-ui` 分发;FC 明朝体(Fujitsu)无再分发授权,本项目未包含、未启用。
12
+
13
+ ## 上游原始项目 / Upstream project
14
+
15
+ - 项目:dsh-plugin-magi —— DSH 的三贤人(MAGI)多模型表决插件
16
+ - 地址:https://github.com/MengYuanzhuo/dsh-plugin-magi
17
+ - 许可证:MIT License;版权:Copyright (c) 2026 MAGI 三贤人 plugin authors(上游作者选择的署名行,原样保留)
18
+ - 分叉基线:v0.1.1(commit `ec7e2ee`);上游 v0.2.0 及之后的改动未合并。
19
+
20
+ ## 运行宿主 / Host runtime
21
+
22
+ - DSH(`@deepseek-ai/dsh` 等):MIT License,Copyright (c) 2026 DeepSeek。
23
+ - 本插件仅以 peer 依赖方式使用宿主 API,不分发、不修改宿主代码。
24
+
25
+ ## EVA 相关声明 / Evangelion notice
26
+
27
+ MAGI / NERV / MELCHIOR / BALTHASAR / CASPER 等名称属致敬性引用。本插件为**非官方粉丝作品**,与《新世纪福音战士》/ EVA 的权利人(Color/khara、GAINAX 等)无任何关联、授权或背书;界面(含端末三面板图形与图标)全部由 CSS / 内联 SVG 原创绘制,不包含任何官方或第三方图像、音频、动画素材。
package/README.md CHANGED
@@ -1,3 +1,30 @@
1
- # Temporary Holding Version
1
+ # dsh-plugin-magi-suite
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 六组件组合、唯一插件入口(安装本包即得全套)。MAGI(三贤人)决策系统 1.0.1 六组件之一:三台独立人格单元各自表决,normal 多数决,critical 必须三票一致。
4
+
5
+ | 组件包 | 职责 |
6
+ |---|---|
7
+ | dsh-plugin-magi-core | 三票、人格、路由、账本、恢复、安全边界 |
8
+ | dsh-plugin-magi-ui | EVA 端末、详细结果、唯一设置入口 |
9
+ | dsh-plugin-magi-agent-bridge | Agent 原生使用提醒 |
10
+ | dsh-plugin-magi-synthesis | 无投票权的第四综合器 |
11
+ | dsh-plugin-magi-code-review | Finding 审查与验证 |
12
+ | dsh-plugin-magi-suite | 六组件组合、唯一插件入口 |
13
+
14
+ ## 安装与宿主要求
15
+
16
+ - 宿主基线:DSH `0.2.1-rc.3`(仅声称已实测版本,未宣称支持其他版本);Node >= 22.12.0。
17
+ - 组合安装入口(推荐):`dsh plugin --profile <name> add dsh-plugin-magi-suite`——Suite 会一并安装其余五个组件并统一注册。
18
+ - 也可以从源码构建离线 tgz 后六包一起安装;不建议单独安装非 Suite 组件。
19
+
20
+ ## 许可证与来源
21
+
22
+ - 许可证:MIT。版权与来源声明见本包 `LICENSE`、`NOTICE.md`、`THIRD_PARTY_NOTICES.md`。
23
+ - 本项目基于 [MengYuanzhuo/dsh-plugin-magi](https://github.com/MengYuanzhuo/dsh-plugin-magi)(MIT License,Copyright (c) 2026 MAGI 三贤人 plugin authors)自 v0.1.1(commit `ec7e2ee`)演进:组件化、多模型路由、EvidenceBroker、i18n 与打包为本仓库的后续修改。原始版权与 MIT 许可文本原样保留于本包 LICENSE 与 NOTICE.md。
24
+ - MAGI / NERV / MELCHIOR / BALTHASAR / CASPER 等名称属致敬性引用。本插件为**非官方粉丝作品**,与《新世纪福音战士》/ EVA 的权利人(Color/khara、GAINAX 等)无任何关联、授权或背书;界面(含端末三面板图形与图标)全部由 CSS / 内联 SVG 原创绘制,不包含任何官方或第三方图像、音频、动画素材。
25
+
26
+ ## 工具接口
27
+
28
+ - `magi_vote`:提交议题并获得三单元表决(normal / critical 两档)。
29
+ - `magi_review_proposal`:提交方案(必填 title、goal、candidate)获得审议。
30
+ - 保留 `voteId` 可查询或恢复结果,避免重复调用成功单元。
@@ -0,0 +1,3 @@
1
+ # Third party notices
2
+
3
+ This component distributes no font assets. The MAGI UI component carries the terminal font subset and its included SIL OFL 1.1 license. No FC Mincho font is distributed.
@@ -0,0 +1,35 @@
1
+ [
2
+ {
3
+ "id": "magi",
4
+ "disabled": true
5
+ },
6
+ {
7
+ "insert": [
8
+ {
9
+ "id": "magi-core",
10
+ "name": "dsh-plugin-magi-core",
11
+ "config": {
12
+ "timeoutMs": 90000,
13
+ "llmMode": "live",
14
+ "ledgerDir": ".magi"
15
+ }
16
+ },
17
+ {
18
+ "id": "magi-agent-bridge",
19
+ "name": "dsh-plugin-magi-agent-bridge"
20
+ },
21
+ {
22
+ "id": "magi-synthesis",
23
+ "name": "dsh-plugin-magi-synthesis"
24
+ },
25
+ {
26
+ "id": "magi-code-review",
27
+ "name": "dsh-plugin-magi-code-review"
28
+ },
29
+ {
30
+ "id": "magi-ui",
31
+ "name": "dsh-plugin-magi-ui"
32
+ }
33
+ ]
34
+ }
35
+ ]
package/icon.svg ADDED
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64" role="img" aria-label="MAGI">
2
+ <rect x="1" y="1" width="62" height="62" rx="6" fill="#070a08" stroke="#123021" stroke-width="2"/>
3
+ <g fill="#39ff14">
4
+ <rect x="10" y="14" width="12" height="30" opacity="0.95"/>
5
+ <rect x="26" y="14" width="12" height="30" opacity="0.75"/>
6
+ <rect x="42" y="14" width="12" height="30" opacity="0.55"/>
7
+ </g>
8
+ <g fill="#0b0f0c">
9
+ <rect x="13" y="18" width="6" height="6"/>
10
+ <rect x="29" y="18" width="6" height="6"/>
11
+ <rect x="45" y="18" width="6" height="6"/>
12
+ </g>
13
+ <rect x="10" y="48" width="44" height="2" fill="#2fd44b"/>
14
+ <circle cx="32" cy="55" r="3" fill="#ff2b2b"/>
15
+ </svg>
package/lib/index.js ADDED
@@ -0,0 +1,3 @@
1
+ /** Pure composition Bundle; DSH owns dependency loading and component switches. */
2
+ export const name='magi-suite'
3
+ export function apply(){}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "MAGI",
4
+ "description": "Three-model decision system"
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "MAGI",
4
+ "description": "三賢者マルチモデル意思決定システム"
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "MAGI",
4
+ "description": "三贤人多模型决策系统"
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "MAGI",
4
+ "description": "三贤人多模型决策系统"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "dsh-plugin-magi-suite",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.1",
4
+ "description": "三贤人多模型决策系统",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "main": "lib/index.js",
8
+ "exports": {
9
+ ".": "./lib/index.js",
10
+ "./package.json": "./package.json",
11
+ "./locale/*.json": "./locale/*.json"
12
+ },
13
+ "files": [
14
+ "lib",
15
+ "locale",
16
+ "icon.svg",
17
+ "cordis.patch.yml",
18
+ "LICENSE",
19
+ "NOTICE.md",
20
+ "THIRD_PARTY_NOTICES.md",
21
+ "README.md"
22
+ ],
23
+ "engines": {
24
+ "node": ">=22.12.0"
25
+ },
26
+ "dsh": {
27
+ "bundle": {
28
+ "patch": "./cordis.patch.yml"
29
+ }
30
+ },
31
+ "peerDependencies": {
32
+ "@deepseek-ai/cordis": "~4.0.5",
33
+ "@deepseek-ai/dsh": "0.2.1-rc.3"
34
+ },
35
+ "dependencies": {
36
+ "dsh-plugin-magi-core": "1.0.1",
37
+ "dsh-plugin-magi-ui": "1.0.1",
38
+ "dsh-plugin-magi-agent-bridge": "1.0.1",
39
+ "dsh-plugin-magi-synthesis": "1.0.1",
40
+ "dsh-plugin-magi-code-review": "1.0.1"
41
+ },
42
+ "icon": "./icon.svg",
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/Ritacuk/dsh-plugin-magi.git"
46
+ },
47
+ "gitHead": "9341e03f70b77cfde6c770617a572e1aaf0a1d9e",
48
+ "homepage": "https://github.com/Ritacuk/dsh-plugin-magi#readme",
49
+ "bugs": {
50
+ "url": "https://github.com/Ritacuk/dsh-plugin-magi/issues"
51
+ },
52
+ "author": "Ritacuk"
53
+ }