@shgroup/dsh-serenity-hooks 1.25.6 → 1.25.7
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/dsh.plugin.json +1 -1
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-serenity-hooks",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.7",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"description": "宁静号 ACC harness(Native Cordis 插件):真实 DSH 工具 cc_fs/session/acc_msm/eap/neat/cce/handyman/session_rebuild/skiff_admin + 拦截缝机械约束(safe-mode/路径守卫)+ 高级设定面板(双端口网关/账号管理)+ Skiff 认知子集角色(实验性)。适配 DSH 公开版(0.1.0-rc,deepseek-ai/deepseek-harness)。",
|
|
6
6
|
"engines": {
|
package/lib/index.js
CHANGED
|
@@ -9418,7 +9418,7 @@ async function discoverCccs(ctx, defaultRoot) {
|
|
|
9418
9418
|
}
|
|
9419
9419
|
/** 问答页 HTML:CCC 切换器 + 角色下拉 + 输入 + 答案区 + 轨迹区(JS 渲染)+ WebUI 链接 */
|
|
9420
9420
|
function skiffDebugPage(cccs, defaultRoot, webPort) {
|
|
9421
|
-
const data = JSON.stringify(cccs);
|
|
9421
|
+
const data = JSON.stringify(cccs).replace(/</g, "\\u003c");
|
|
9422
9422
|
return `<!DOCTYPE html>
|
|
9423
9423
|
<html lang="zh">
|
|
9424
9424
|
<head>
|
|
@@ -9468,7 +9468,7 @@ function skiffDebugPage(cccs, defaultRoot, webPort) {
|
|
|
9468
9468
|
<div id="trajectory"></div>
|
|
9469
9469
|
<p class="muted"><a href="${`http://127.0.0.1:${webPort}`}" target="_blank" rel="noopener">在 dsh WebUI 查看完整会话</a>(会话列表搜索 sessionId;WebUI 有完整交互)</p>
|
|
9470
9470
|
</main>
|
|
9471
|
-
<script id="skiff-data" type="application/json" data-default="${escapeHtml(defaultRoot)}">${
|
|
9471
|
+
<script id="skiff-data" type="application/json" data-default="${escapeHtml(defaultRoot)}">${data}<\/script>
|
|
9472
9472
|
<script>
|
|
9473
9473
|
const CCCS = JSON.parse(document.getElementById('skiff-data').textContent)
|
|
9474
9474
|
const defaultRoot = document.getElementById('skiff-data').dataset.default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shgroup/dsh-serenity-hooks",
|
|
3
|
-
"version": "1.25.
|
|
3
|
+
"version": "1.25.7",
|
|
4
4
|
"description": "宁静号 ACC harness — Native Cordis 插件(DeepSeek Harness 运行时)。真实 DSH 工具注册(cc_fs/session/acc_msm 等 9 工具)+ 拦截缝机械约束(safe-mode/路径守卫/会话落盘)+ 系统提示词注入(ACC/CCE/Constraints/SKILL/Session 五块)。适配 DSH 公开版(deepseek-ai/deepseek-harness 0.1.0-rc)。",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|