econtone-studio 0.0.0-stage → 1.0.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/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/README.md +65 -2
- package/README.zh-CN.md +65 -0
- package/SECURITY.md +24 -0
- package/lib/client.js +4476 -0
- package/lib/cordis.patch.yml +3 -0
- package/lib/engine/studio_bridge.py +815 -0
- package/lib/icon.svg +9 -0
- package/lib/index.js +1456 -0
- package/lib/locale/en.json +6 -0
- package/lib/locale/zh.json +6 -0
- package/lib/prompts/prompt_format.txt +35 -0
- package/lib/prompts/prompt_single.txt +27 -0
- package/lib/standalone.html +4425 -0
- package/package.json +50 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
首个正式版本。
|
|
6
|
+
|
|
7
|
+
- **评分卡**:术语与语域 / 主张与结构 / AI 痕迹 / 节奏,四张卡统一百分制、权重可调、总分加权;
|
|
8
|
+
结果落盘前做一致性核对(P1 与语域问题、R1 与 RED/WARN 数量),避免"满分但满屏问题"。
|
|
9
|
+
- **润色稿**:逐处改动带编号与高亮,支持采纳 / 忽略,改写前后按同一口径比较分数。
|
|
10
|
+
- **均衡证书**:记录每个候选动作的提出者、接受或拒绝的理由与迭代成本;博弈开关关闭时可自选本地 skill。
|
|
11
|
+
- **运行历史**:按原文分组,支持搜索、类型筛选、分页,展开可看原文与润色稿的词级差异对照。
|
|
12
|
+
- **运行与恢复**:润色稿编号随结果落盘,刷新可按编号找回;跨窗口状态同步。
|
|
13
|
+
- **界面**:默认 / 薄荷 / 墨 / 稿纸四套主题,中英双语,插件版本更新提示。
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 EconTone Studio contributors
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,3 +1,66 @@
|
|
|
1
|
-
#
|
|
1
|
+
# EconTone Studio
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/pykkkkk/EconTone-Studio/releases)
|
|
4
|
+
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
[简体中文](README.zh-CN.md) | English
|
|
10
|
+
|
|
11
|
+
A game-theoretic workbench for refining economics and management papers — inside
|
|
12
|
+
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness).
|
|
13
|
+
|
|
14
|
+

|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+

|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
## Install
|
|
25
|
+
|
|
26
|
+
```powershell
|
|
27
|
+
git clone https://github.com/pykkkkk/EconTone-Studio.git
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"econtone-studio": "link:D:/path/to/EconTone-Studio"
|
|
33
|
+
},
|
|
34
|
+
"dsh": {
|
|
35
|
+
"profile": {
|
|
36
|
+
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "econtone-studio"]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Reload DSH. The engine reads skills from `~/.dsh/skills`; override with `engineRoot`.
|
|
42
|
+
|
|
43
|
+
## Layout
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
├─ index.js host: routes, runs, state sync
|
|
47
|
+
├─ ui/econtone-studio.html UI source (the only file to edit by hand)
|
|
48
|
+
├─ engine/studio_bridge.py bridge to the EconTone skill scripts
|
|
49
|
+
├─ lib/ shipped bundle (committed; install needs no build)
|
|
50
|
+
├─ build/build_lib.py sources -> lib/
|
|
51
|
+
├─ tests/ node:test smoke tests
|
|
52
|
+
└─ docs/ architecture, build notes, images
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Develop
|
|
56
|
+
|
|
57
|
+
```powershell
|
|
58
|
+
python build/build_lib.py
|
|
59
|
+
node --test tests/smoke.mjs
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) · [docs/BUILDING.md](docs/BUILDING.md) · [CHANGELOG.md](CHANGELOG.md) · [CHANGELOG-DEV.md](CHANGELOG-DEV.md) · [CONTRIBUTING.md](CONTRIBUTING.md) · [SECURITY.md](SECURITY.md)
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
[MIT](LICENSE)
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# EconTone Studio
|
|
2
|
+
|
|
3
|
+
[](https://github.com/pykkkkk/EconTone-Studio/releases)
|
|
4
|
+
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
English | [简体中文](README.zh-CN.md)
|
|
10
|
+
|
|
11
|
+
一个基于博弈思想的经管论文精修工作台,运行在 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 里。
|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+

|
|
18
|
+
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
## 安装
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
git clone https://github.com/pykkkkk/EconTone-Studio.git
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"econtone-studio": "link:D:/path/to/EconTone-Studio"
|
|
32
|
+
},
|
|
33
|
+
"dsh": {
|
|
34
|
+
"profile": {
|
|
35
|
+
"bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "econtone-studio"]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
重新加载 DSH。引擎默认从 `~/.dsh/skills` 读取 skill,可用 `engineRoot` 覆盖。
|
|
41
|
+
|
|
42
|
+
## 目录
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
├─ index.js 宿主:接口、运行调度、状态同步
|
|
46
|
+
├─ ui/econtone-studio.html 界面源文件(唯一手改入口)
|
|
47
|
+
├─ engine/studio_bridge.py 调用 EconTone skill 脚本的桥
|
|
48
|
+
├─ lib/ 发布产物(已提交,安装无需构建)
|
|
49
|
+
├─ build/build_lib.py 源码 → lib/
|
|
50
|
+
├─ tests/ node:test 快速测试
|
|
51
|
+
└─ docs/ 架构、构建说明、图片
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## 开发
|
|
55
|
+
|
|
56
|
+
```powershell
|
|
57
|
+
python build/build_lib.py
|
|
58
|
+
node --test tests/smoke.mjs
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
详见 [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) · [docs/BUILDING.md](docs/BUILDING.md) · [CHANGELOG.md](CHANGELOG.md) · [CHANGELOG-DEV.md](CHANGELOG-DEV.md) · [CONTRIBUTING.md](CONTRIBUTING.md) · [SECURITY.md](SECURITY.md)
|
|
62
|
+
|
|
63
|
+
## 许可
|
|
64
|
+
|
|
65
|
+
[MIT](LICENSE)
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Security
|
|
2
|
+
|
|
3
|
+
EconTone Studio runs entirely on the local machine and talks to no external service.
|
|
4
|
+
|
|
5
|
+
## Trust model
|
|
6
|
+
|
|
7
|
+
- The panel is served by the DSH web server on loopback; every API route checks the request origin
|
|
8
|
+
(`Origin` / `Host`) against the DSH server origin and rejects cross-origin calls.
|
|
9
|
+
- The plugin never sends manuscripts, prompts or scores to a remote endpoint. There is no telemetry.
|
|
10
|
+
- `index.js` spawns `python engine/studio_bridge.py` locally to run the EconTone skills; the child
|
|
11
|
+
process inherits the DSH environment and writes only inside the active workspace.
|
|
12
|
+
- Writes are limited to `<workspace>/.econtone/` (state, binding, run records) and the
|
|
13
|
+
system temp directory used for engine invocations.
|
|
14
|
+
- The client fetches only `/econtone-studio/api/*` from the same origin.
|
|
15
|
+
|
|
16
|
+
## Reporting
|
|
17
|
+
|
|
18
|
+
Open a private security advisory on the GitHub repository, or email the maintainers listed there.
|
|
19
|
+
Please do not file public issues for vulnerabilities.
|
|
20
|
+
|
|
21
|
+
## Scope
|
|
22
|
+
|
|
23
|
+
In scope: the host routes, the client bundle, the Python bridge, and the packaging metadata.
|
|
24
|
+
Out of scope: the EconTone skill pack itself (a separate project) and the DSH host.
|