@shgroup/dsh-serenity-hooks 1.36.1 → 1.38.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.md +5 -0
- package/dsh.plugin.json +1 -1
- package/lib/index.js +44 -480
- package/lib/seams/context.d.ts +2 -1
- package/lib/tools/trajectory.d.ts +4 -0
- package/lib/{trajectory-bound-DETSEBpL.js → trajectory-bound-U3ZU_mI6.js} +2 -1
- package/lib/trajectory-ops.d.ts +3 -1
- package/lib/wake-scheduler-Ebdyvzuq.js +798 -0
- package/lib/wake-scheduler.d.ts +38 -0
- package/package.json +1 -1
- package/lib/wake-registry-Cj2aSHME.js +0 -258
package/lib/seams/context.d.ts
CHANGED
|
@@ -14,7 +14,8 @@ import type { Agent } from '@deepseek-ai/dsh-agent';
|
|
|
14
14
|
import type { UserMessage } from '@deepseek-ai/dsh-session';
|
|
15
15
|
export declare function accIdentityText(root: string, configPaths?: string[], entrySkillMaxChars?: number): string;
|
|
16
16
|
/**
|
|
17
|
-
* ACC 注入消息(S134 去重):**只含简短身份锚点**([ACC] 已激活 + CCC 根 + 约束 +
|
|
17
|
+
* ACC 注入消息(S134 去重):**只含简短身份锚点**([ACC] 已激活 + CCC 根 + 约束 + Phase 2)。
|
|
18
|
+
* ⚠️ 原文案含「+ handyman 模型」,该注入已于 2026-09-16 删除(§0e-G)⇒ 此处同步订正(散文级残留)。
|
|
18
19
|
* 完整身份(ACC 5 块 + CCE + Constraints + EAP + SKILL 全文 + Session 块)由**系统提示词层**
|
|
19
20
|
* (systemPrompt.section,每轮 prompt 装配自动注入,含 subagent)承担——对话消息流/压缩重注入
|
|
20
21
|
* 不再重复注入同一内容(token 双倍浪费,见 S134 注入方案梳理)。
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
* `container_trajectory`,无别名)——trajectory 是一等概念
|
|
6
6
|
* (SESSION.md 是它的持久身体),本工具管它的**载体生命周期 + 一次性时间安排**。
|
|
7
7
|
* 动作收敛为 **6 个**:list / show / create / use / rebuild / wake-later。
|
|
8
|
+
* 🔴 2026-09-16(所有者裁决):**第 7 个动作 `send-message`(即时投递)**
|
|
9
|
+
* ——与 `wake-later` 共用取用通路,差别只在**时刻**(现在 vs 未来)与**回执**(有 vs 无);
|
|
10
|
+
* 实现落在 `wake-scheduler.ts` 的 `sendToTrajectory()`("怎么把一句话送到一条轨迹"是调度器的知识)。
|
|
11
|
+
* 设计稿 = `docs/trajectory-send-message-design.md`(v0.2 定稿)。
|
|
8
12
|
*
|
|
9
13
|
* 与旧面(logbook 11 动作 + trajectory 12 动作)的对应(用户逐条裁决,R↓):
|
|
10
14
|
* · `summary` → 并入 `list`(全库统计随清单一起给)
|
package/lib/trajectory-ops.d.ts
CHANGED
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
* hook-develop-guide 并进 container_admin msm guide|autopilot 面归 container_admin 的 autopilot 域
|
|
22
22
|
* (该域 2026-09-15 随 ACC 侧 autopilot 退场删除)|
|
|
23
23
|
* wake-add/list/rm 收敛为 wake-later。
|
|
24
|
+
* 2026-09-16(所有者裁决):新增 **send-message** —— 即时投递(与 wake-later 共用取用通路,
|
|
25
|
+
* 差别只在时刻"现在 vs 未来"与回执"有 vs 无")。设计稿 docs/trajectory-send-message-design.md。
|
|
24
26
|
*/
|
|
25
|
-
type TrajectoryAction = 'list' | 'show' | 'create' | 'use' | 'rebuild' | 'wake-later';
|
|
27
|
+
type TrajectoryAction = 'list' | 'show' | 'create' | 'use' | 'rebuild' | 'wake-later' | 'send-message';
|
|
26
28
|
export declare const TRAJECTORY_ACTIONS: readonly TrajectoryAction[];
|
|
27
29
|
/**
|
|
28
30
|
* 读取 Session 事件序列(v1.28.1 适配 0.1.2-rc.1 补齐):rc.1 起官方 Session 类
|