@shgroup/dsh-serenity-hooks 1.77.0 → 1.78.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/dsh.plugin.json +1 -1
- package/lib/{ccc-roots-rwgzt_0F.js → ccc-roots-D3ty1C8P.js} +1 -1
- package/lib/index.js +588 -2607
- package/lib/{message-source-CYa8LbbM.js → message-source-BOG0piL8.js} +240 -4
- package/lib/{profile-DplLGGqo.js → profile-C7BuyZK7.js} +63 -5
- package/lib/{route-COOFLTpU.js → route-Dr0SFD8A.js} +2 -279
- package/lib/service-DDmHSglV.js +282 -0
- package/lib/session-BxDVrxPH.js +2496 -0
- package/lib/settings-Bb4OnEdI.js +145 -0
- package/lib/tools/trajectory-constraint-admin.d.ts +8 -1
- package/lib/tools/trajectory-self-docs.d.ts +35 -0
- package/lib/trajectory/core.d.ts +4 -1
- package/lib/trajectory/model-runtime.d.ts +97 -0
- package/lib/trajectory/policy/profile.d.ts +50 -5
- package/lib/trajectory/policy/rules.d.ts +17 -4
- package/lib/trajectory/resident.d.ts +57 -0
- package/package.json +1 -1
- package/lib/settings-f9WZXcgi.js +0 -368
package/dsh.plugin.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "dsh-serenity-hooks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.78.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"description": "宁静号 ACC harness(Native Cordis 插件):给 DSH 装一个「AI 工作区」——14 个工具(container_fs/cognitive_trajectory/dashboard/container_git/msm/praxis/ontology/serenity-skill-creator/cheap-worker/localstore/container_admin;另三个 im-bridge/acc-diag/diagram 按配置条件出现)+ 机械约束(安全模式/工作区围墙/密钥守卫)+ 认知轨迹日志与原地重建 + 网页登录入口/IM 桥/认知轨迹唤醒注册表。轨迹声明 = 轨迹目录下的 trajectory.json(约束面 + 旧标识 uid + CRO 机器绑定 cro.host;旧名 trajectory-constraint.json / skiff.json 仍在读取族里);轨迹提示词 = 轨迹目录下的 PROMPT.md(一条轨迹「是谁、按什么章程工作」,所有轨迹通用,追加在容器层与质量层之后,不替换它们)。适配 DSH 0.1.7-rc.1 / 0.2.0-rc.1 / 0.2.1-rc.1(三档,deepseek-ai/deepseek-harness)。",
|
|
6
6
|
"engines": {
|
|
@@ -227,7 +227,7 @@ async function listCccs(ctx, opts = {}) {
|
|
|
227
227
|
if (typeof defaultRoot === "string" && defaultRoot !== "" && !c.roots.includes(defaultRoot)) c.roots.unshift(defaultRoot);
|
|
228
228
|
let rolesOf = null;
|
|
229
229
|
if (opts.withRoles === true) {
|
|
230
|
-
const { listTrajectoryConstraints } = await import("./profile-
|
|
230
|
+
const { listTrajectoryConstraints } = await import("./profile-C7BuyZK7.js").then((n) => n.i);
|
|
231
231
|
rolesOf = (root) => {
|
|
232
232
|
try {
|
|
233
233
|
return listTrajectoryConstraints(root).map((p) => p.code);
|