dsh-as-aistudio 0.5.24 → 0.6.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 CHANGED
@@ -4,7 +4,13 @@
4
4
 
5
5
  ## 中文
6
6
 
7
- **0.5.24** —— README 顶部加徽章与 Star 提示(纯文档)。
7
+ **0.6.0** —— 第 7 个组件:裸模式预设。
8
+
9
+ - 纳入 `dsh-bare-preset`(纯宿主组件,无浏览器半部):vendor 工具支持 `hostOnly`,只抄宿主半部并带版本戳。
10
+ - vendor 时把组件的 `persona.mjs` 一并带入并改写 URL,预设不再指向不存在的文件。
11
+ - 组件版本:edit 0.6.0 / rerun 0.3.0 / delete 0.2.7 / markdown 0.2.0 / trim 0.7.9 / fork 0.1.2 / bare 0.2.0。
12
+
13
+ **0.5.24** —— 跟进 dsh-delete-turn 0.2.5(官方复制出现时,删除入口也出现);新增 `link:local` 本地软链脚本。
8
14
 
9
15
  **0.5.23** —— 跟进 dsh-edit-turn 0.5.24(深色皮肤下编辑器黑底黑字)。
10
16
 
package/README.md CHANGED
@@ -7,9 +7,9 @@
7
7
  <a href="LICENSE"><img alt="license" src="https://img.shields.io/npm/l/dsh-as-aistudio"></a>
8
8
  </p>
9
9
 
10
- > ⭐ **如果这个包帮你少点了几次鼠标,点一下右上角的 Star 就是最直接的支持** —— 本周 5,000+ 次下载,3 个 Star,这个比例有点扎心。
10
+ > ⭐ **如果这个项目对你有帮助,欢迎点个 Star 支持一下。**
11
11
  >
12
- > ⭐ **If this package saved you a few clicks, a star is the most direct way to say thanks** — 5,000+ downloads last week, 3 stars. Help a plugin out.
12
+ > ⭐ **If you find this project useful, a star is appreciated.**
13
13
 
14
14
  **把 DeepSeek Harness 用成 Google AI Studio —— 一轮对话就是一个可以反复打磨的 prompt playground,而且插件列表里只占一行。** 改一句提示词并重跑、原位重跑某条回复、把不该留下的那一轮从模型上下文里删掉、让发出的提示词按 Markdown 渲染。
15
15
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  AI Studio 的好用之处不在模型,在于一轮对话中的每一步都能回头改。DSH 官方只提供整段压缩(/compact),没有轮次级的编辑、重跑与删除。
25
25
 
26
- 五个组件(四个动作 + 一个维护)补上了这一层,而这个包负责让它们装得下、合得来、看得见:
26
+ 六个组件(五个动作 + 一个维护)补上了这一层,而这个包负责让它们装得下、合得来、看得见:
27
27
 
28
28
  - **装得下** —— 自包含安装,一次装完;
29
29
  - **合得来** —— 五个组件各自独立、任意子集共存,互操作契约由本包固化并测试;
package/cordis.patch.yml CHANGED
@@ -64,3 +64,13 @@
64
64
  name: 'dsh-as-aistudio/trim'
65
65
  config:
66
66
  plugin: 'dsh-log-trim'
67
+ - insert:
68
+ - id: dsh-as-aistudio-fork
69
+ name: 'dsh-as-aistudio/fork'
70
+ config:
71
+ plugin: 'dsh-fork-anywhere'
72
+ - insert:
73
+ - id: dsh-as-aistudio-bare
74
+ name: 'dsh-as-aistudio/bare'
75
+ config:
76
+ plugin: 'dsh-bare-preset'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-as-aistudio",
3
- "version": "0.5.24",
3
+ "version": "0.6.0",
4
4
  "description": "Google-AI-Studio-style turn controls for DeepSeek Harness, in one install: edit a prompt and re-run it, re-run a reply in place, delete a turn from the model context, render sent prompts as Markdown, and trim idle session logs on boot. Self-contained: the plugin list shows this one row, and the five components (four actions + one maintenance) are vendored inside it - installing the studio installs nothing else.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -12,7 +12,9 @@
12
12
  "./delete": "./src/shell.js",
13
13
  "./markdown": "./src/shell.js",
14
14
  "./package.json": "./package.json",
15
- "./trim": "./src/shell.js"
15
+ "./trim": "./src/shell.js",
16
+ "./fork": "./src/shell.js",
17
+ "./bare": "./src/shell.js"
16
18
  },
17
19
  "files": [
18
20
  "src/index.js",
@@ -54,7 +56,8 @@
54
56
  "bump": "node tools/bump.mjs",
55
57
  "verify:vendor": "node tools/vendor.mjs --check",
56
58
  "verify:build": "node tools/build.mjs --check",
57
- "verify:manifest": "node tools/verify-manifest.mjs"
59
+ "verify:manifest": "node tools/verify-manifest.mjs",
60
+ "link:local": "node tools/link-local.mjs"
58
61
  },
59
62
  "dependencies": {},
60
63
  "dsh": {
@@ -82,8 +85,10 @@
82
85
  }
83
86
  },
84
87
  "devDependencies": {
88
+ "dsh-bare-preset": "^0.1.1",
85
89
  "dsh-delete-turn": "^0.1.14",
86
90
  "dsh-edit-turn": "^0.5.3",
91
+ "dsh-fork-anywhere": "^0.1.0",
87
92
  "dsh-log-trim": "^0.5.0",
88
93
  "dsh-markdown-bubble": "^0.1.5",
89
94
  "dsh-rerun-turn": "^0.2.4"