dsh-starlite 0.1.3 → 0.3.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/README.en.md +3 -1
- package/README.md +4 -2
- package/assets/windows-x64/THIRD_PARTY_LICENSES.txt +6 -6
- package/assets/windows-x64/dsh-inochi2d-pet.exe +0 -0
- package/assets/windows-x64/manifest.json +6 -6
- package/dist/bridge.js +1947 -0
- package/dist/index.js +127 -45
- package/dist/index.js.map +4 -4
- package/package.json +5 -2
package/README.en.md
CHANGED
|
@@ -23,6 +23,8 @@ Use your actual profile in place of `web`. No separate desktop installer, archiv
|
|
|
23
23
|
|
|
24
24
|
Using Weiguang means accepting its [separate license](https://github.com/StarCried/starlite-dsh/blob/main/docs/weiguang-license.en.md). Otherwise select **Hide model**. Each model has a View license entry. This version supports VRM only.
|
|
25
25
|
|
|
26
|
+
For Codex or Antigravity on Windows, run `npm install -g dsh-starlite`, then `starlite-bridge snippet codex` or `starlite-bridge snippet antigravity`. Follow the printed setup prompt. The bridge prepares the companion and selected example at first use. An existing DSH installation can reuse its copy. [Local agent setup](https://github.com/StarCried/starlite-dsh/blob/main/docs/agent-integration.md)
|
|
27
|
+
|
|
26
28
|
## Ask an Agent
|
|
27
29
|
|
|
28
30
|
```text
|
|
@@ -49,7 +51,7 @@ Release 0.1.0 includes English controls, three optional bundled gestures and the
|
|
|
49
51
|
|
|
50
52
|
## Downloads and privacy
|
|
51
53
|
|
|
52
|
-
npm installation runs no model-download script. On DSH startup, the selected example is downloaded from a pinned GitHub Release URL only if it has not been imported and has no valid download cache. Imported models are reused
|
|
54
|
+
npm installation runs no model-download script. On DSH startup, the selected example is downloaded from a pinned GitHub Release URL only if it has not been imported and has no valid download cache. Imported models are reused after program upgrades. Explicitly choosing **Update example model** queues its verified download for the next DSH start. GitHub redirects to `release-assets.githubusercontent.com` are permitted. URL, length, and SHA-256 are recorded in the packaged `assets/windows-x64/manifest.json`; no cookies, API keys, or session content accompany model downloads.
|
|
53
55
|
|
|
54
56
|
Program/example cache: `%LOCALAPPDATA%\StarCried\StarLite\companions`. User models/preferences: `%APPDATA%\com.starcried.dsh-inochi2d-pet`. WSL uses the same Windows program and cache. Status and explicit answers travel only over token-authenticated local `127.0.0.1` connections. Raw user prompts, ordinary DSH tool arguments/results, real session IDs, and API keys are not forwarded to the companion. When session control is enabled, StarLite presentation tools send bounded animation, text, and layout instructions over the same local connection; privacy mode still blocks custom text.
|
|
55
57
|
|
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ dsh --profile web
|
|
|
25
25
|
|
|
26
26
|
**使用微光即表示同意其独立许可;不同意请在模型列表选择「不显示模型」。** 模型卡片可切换模型或查看许可,「添加 VRM 模型」直接选择文件,详细要求可点「查看导入说明」;设置自动保存。当前仅支持 VRM,Inochi2D 导入和显示已停用。
|
|
27
27
|
|
|
28
|
+
只用 Codex 或 Antigravity 也可以安装。在 Windows 终端运行 `npm install -g dsh-starlite`,再运行 `starlite-bridge snippet codex` 或 `starlite-bridge snippet antigravity`,按输出接入。已有 DSH 插件可直接复用。参阅[本机 Agent 接入指南](https://github.com/StarCried/starlite-dsh/blob/main/docs/agent-integration.md)。
|
|
29
|
+
|
|
28
30
|
## 让 Agent 帮你
|
|
29
31
|
|
|
30
32
|
把下面这段发给能操作本机的 Agent,它会按[安装指南](https://github.com/StarCried/starlite-dsh/blob/main/docs/user-guide.md)识别环境并完成安装:
|
|
@@ -69,13 +71,13 @@ dsh --profile web
|
|
|
69
71
|
<details>
|
|
70
72
|
<summary>模型下载、联网与存储</summary>
|
|
71
73
|
|
|
72
|
-
安装阶段没有模型下载脚本。启动 DSH 时,所选示例尚未导入且没有有效下载缓存时,插件从 `github.com/StarCried/starlite/releases/download/` 获取,允许 GitHub 跳转至 `release-assets.githubusercontent.com
|
|
74
|
+
安装阶段没有模型下载脚本。启动 DSH 时,所选示例尚未导入且没有有效下载缓存时,插件从 `github.com/StarCried/starlite/releases/download/` 获取,允许 GitHub 跳转至 `release-assets.githubusercontent.com`。已导入的模型直接复用,升级程序不会重复下载;主动选择「更新示例模型」后,下次启动会获取该示例的新资源。下载不携带 API Key、Cookie 或会话内容;URL、长度及 SHA-256 固定在随包的 `assets/windows-x64/manifest.json` 中。
|
|
73
75
|
|
|
74
76
|
程序和下载缓存位于 `%LOCALAPPDATA%\StarCried\StarLite\companions`,导入模型与偏好位于 `%APPDATA%\com.starcried.dsh-inochi2d-pet`。插件启动随包的 Windows EXE,DSH 与桌宠通过有临时令牌认证的本机 `127.0.0.1` 随机端口通信。WSL 也使用 Windows 程序和缓存。
|
|
75
77
|
|
|
76
78
|
环境光默认开启,可在右键菜单或设置中关闭,已有关闭设置会保留。它只在本机低频读取角色周边的小块颜色,不保存或上传图像;隐藏、暂停或锁屏时停止取色。
|
|
77
79
|
|
|
78
|
-
打开费用卡时优先通过 DSH 官方账号服务查询充值余额和赠金,由 DSH 请求其 Platform origin 的 `/api/v0/users/get_user_summary`;未登录或无账号服务时,使用已配置的官方 API Key 查询 `https://api.deepseek.com/user/balance`。余额缓存 60 秒,不发起付费模型请求;登录令牌和 API Key 不交给桌宠。账号费用以 DSH 用量页为准,今日估算仅用于 API Key
|
|
80
|
+
打开费用卡时优先通过 DSH 官方账号服务查询充值余额和赠金,由 DSH 请求其 Platform origin 的 `/api/v0/users/get_user_summary`;未登录或无账号服务时,使用已配置的官方 API Key 查询 `https://api.deepseek.com/user/balance`。余额缓存 60 秒,不发起付费模型请求;登录令牌和 API Key 不交给桌宠。账号费用以 DSH 用量页为准,今日估算仅用于 API Key 模式。没有遥测或后台更新检查。取消待处理的模型更新,并选择「不显示模型」或自定义模型后,后续启动不获取默认示例;停用插件可停止其运行。
|
|
79
81
|
|
|
80
82
|
[完整联网说明与源码核对入口](https://github.com/StarCried/starlite-dsh/blob/main/docs/network-and-storage.md)
|
|
81
83
|
|
|
@@ -8689,7 +8689,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
8689
8689
|
DEALINGS IN THE SOFTWARE.
|
|
8690
8690
|
|
|
8691
8691
|
==============================================================================
|
|
8692
|
-
cookie@0.18.
|
|
8692
|
+
cookie@0.18.3 — LICENSE-APACHE
|
|
8693
8693
|
==============================================================================
|
|
8694
8694
|
Apache License
|
|
8695
8695
|
Version 2.0, January 2004
|
|
@@ -8895,7 +8895,7 @@ See the License for the specific language governing permissions and
|
|
|
8895
8895
|
limitations under the License.
|
|
8896
8896
|
|
|
8897
8897
|
==============================================================================
|
|
8898
|
-
cookie@0.18.
|
|
8898
|
+
cookie@0.18.3 — LICENSE-MIT
|
|
8899
8899
|
==============================================================================
|
|
8900
8900
|
Copyright (c) 2017 Sergio Benitez
|
|
8901
8901
|
Copyright (c) 2014 Alex Crichton
|
|
@@ -20543,7 +20543,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
20543
20543
|
SOFTWARE.
|
|
20544
20544
|
|
|
20545
20545
|
==============================================================================
|
|
20546
|
-
form_urlencoded@1.2.
|
|
20546
|
+
form_urlencoded@1.2.3 — LICENSE-APACHE
|
|
20547
20547
|
==============================================================================
|
|
20548
20548
|
Apache License
|
|
20549
20549
|
Version 2.0, January 2004
|
|
@@ -20748,7 +20748,7 @@ See the License for the specific language governing permissions and
|
|
|
20748
20748
|
limitations under the License.
|
|
20749
20749
|
|
|
20750
20750
|
==============================================================================
|
|
20751
|
-
form_urlencoded@1.2.
|
|
20751
|
+
form_urlencoded@1.2.3 — LICENSE-MIT
|
|
20752
20752
|
==============================================================================
|
|
20753
20753
|
Copyright (c) 2013-2016 The rust-url developers
|
|
20754
20754
|
|
|
@@ -57826,7 +57826,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
57826
57826
|
DEALINGS IN THE SOFTWARE.
|
|
57827
57827
|
|
|
57828
57828
|
==============================================================================
|
|
57829
|
-
url@2.5.
|
|
57829
|
+
url@2.5.9 — LICENSE-APACHE
|
|
57830
57830
|
==============================================================================
|
|
57831
57831
|
Apache License
|
|
57832
57832
|
Version 2.0, January 2004
|
|
@@ -58031,7 +58031,7 @@ See the License for the specific language governing permissions and
|
|
|
58031
58031
|
limitations under the License.
|
|
58032
58032
|
|
|
58033
58033
|
==============================================================================
|
|
58034
|
-
url@2.5.
|
|
58034
|
+
url@2.5.9 — LICENSE-MIT
|
|
58035
58035
|
==============================================================================
|
|
58036
58036
|
Copyright (c) 2013-2025 The rust-url developers
|
|
58037
58037
|
|
|
Binary file
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"defaultModels": [
|
|
4
4
|
{
|
|
5
5
|
"title": "微光v3.0",
|
|
6
|
-
"url": "https://github.com/StarCried/starlite/releases/download/weiguang-v3.0.0-starlite.
|
|
7
|
-
"sha256": "
|
|
8
|
-
"bytes":
|
|
6
|
+
"url": "https://github.com/StarCried/starlite/releases/download/weiguang-v3.0.0-starlite.3/Weiguang-StarLite.vrm",
|
|
7
|
+
"sha256": "839f30d5523796c3837ab12526bbf70e092aeb6a22f1690b6f9c0a2ba730309e",
|
|
8
|
+
"bytes": 10948304,
|
|
9
9
|
"id": "weiguang-default",
|
|
10
10
|
"license": {
|
|
11
11
|
"title": "微光 v3.0",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
|
-
"version": "0.
|
|
27
|
+
"version": "0.3.0",
|
|
28
28
|
"platform": "windows-x64",
|
|
29
29
|
"executable": {
|
|
30
30
|
"file": "dsh-inochi2d-pet.exe",
|
|
31
|
-
"sha256": "
|
|
32
|
-
"bytes":
|
|
31
|
+
"sha256": "ac401bcd0fa5722d4384bc0d9cd3ffaa1dda579f6c9f1eac5218199f4cdfef0c",
|
|
32
|
+
"bytes": 12740096
|
|
33
33
|
}
|
|
34
34
|
}
|