@shgroup/dsh-serenity-hooks 1.72.0 → 1.73.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-Dkoa2oW3.js → ccc-CZUOq3NY.js} +1 -1
- package/lib/{ccc-roots-jZYR2GVE.js → ccc-roots-BhoA7G-0.js} +3 -3
- package/lib/client.js +50 -58
- package/lib/{wake/cro.d.ts → cro/core.d.ts} +2 -2
- package/lib/{wake/cro-guide.d.ts → cro/guide.d.ts} +3 -3
- package/lib/{wake/cro-log.d.ts → cro/log.d.ts} +2 -2
- package/lib/{wake/cro-turns.d.ts → cro/turns.d.ts} +2 -2
- package/lib/guard/seam.d.ts +1 -1
- package/lib/{ilink-DEpmE3yi.js → ilink-BMk2w2KY.js} +1 -1
- package/lib/im/bridge.d.ts +33 -62
- package/lib/im/endpoint.d.ts +1 -1
- package/lib/im/feishu-account.d.ts +92 -0
- package/lib/im/inbound-event.d.ts +162 -0
- package/lib/im/route.d.ts +13 -0
- package/lib/index.d.ts +0 -22
- package/lib/index.js +700 -914
- package/lib/kernel/ccc.d.ts +2 -2
- package/lib/kernel/ports.d.ts +2 -4
- package/lib/lib-TxscFKeo.js +119355 -0
- package/lib/{message-source-kVoNK0C5.js → message-source-ChyVfev9.js} +2 -2
- package/lib/{profile-DyMJ_bfr.js → profile-BIQ2widI.js} +14 -11
- package/lib/rolldown-runtime-B4iAMlE-.js +35 -0
- package/lib/{route-f7JlinIt.js → route-ItCgAsnz.js} +19 -4
- package/lib/seams/guards.d.ts +1 -1
- package/lib/{settings-lt1i3OZv.js → settings-UcwIPJhM.js} +13 -62
- package/lib/skills/resource-index.d.ts +1 -1
- package/lib/surface/settings.d.ts +0 -6
- package/lib/surface/text.d.ts +72 -0
- package/lib/surface/usage.d.ts +2 -2
- package/lib/{role/worker/idle.d.ts → trajectory/carrier.d.ts} +12 -2
- package/lib/{role/worker → trajectory/delegate}/core.d.ts +7 -1
- package/lib/{role/worker → trajectory/delegate}/preset.d.ts +9 -2
- package/lib/{role/skiff → trajectory/policy}/profile.d.ts +9 -2
- package/lib/{role/skiff/config.d.ts → trajectory/policy/rules.d.ts} +9 -3
- package/lib/{role/skiff/registry.d.ts → trajectory/policy/window.d.ts} +7 -1
- package/lib/trajectory/prompt.d.ts +1 -1
- package/lib/{role/skiff/core.d.ts → trajectory/session.d.ts} +13 -4
- package/package.json +2 -1
- package/lib/role/skiff/debug.d.ts +0 -88
- package/lib/rolldown-runtime-8H4AJuhK.js +0 -14
package/lib/kernel/ccc.d.ts
CHANGED
|
@@ -94,7 +94,7 @@ interface SerenityConfig {
|
|
|
94
94
|
* **静默忽略**(schemastery 非 strict,不报错;也不会被误当成"没有 skiff")。
|
|
95
95
|
*
|
|
96
96
|
* 迁移路径 = 把 `skiff.roles.<name>` 的内容原样搬进对应轨迹目录的 `skiff.json`
|
|
97
|
-
* (判据与步骤见 `
|
|
97
|
+
* (判据与步骤见 `trajectory/policy/profile.ts` 头注释与 `docs/skiff-as-trajectory-redesign.md` §5)。
|
|
98
98
|
*/
|
|
99
99
|
/**
|
|
100
100
|
* 认知轨迹族配置(D58,S142 2026-09-13;2026-10-18 更名 `cognitiveTrajectory`)。
|
|
@@ -317,7 +317,7 @@ export interface WeixinRouteConfig {
|
|
|
317
317
|
* 🔴 **`SkiffRoleConfig` 已于 2026-10-19 退役**(owner 重做令)。
|
|
318
318
|
*
|
|
319
319
|
* 它的语义整体搬进**轨迹目录下的 `skiff.json`**,类型现在是
|
|
320
|
-
* `
|
|
320
|
+
* `trajectory/policy/profile.ts` 的 `SkiffProfile`(在那里还多了 `code`/`dirName`/`path`
|
|
321
321
|
* 三个与轨迹身份相关的字段)。
|
|
322
322
|
*
|
|
323
323
|
* 退役理由(一句话):skiff 的约束面是**某一条轨迹的属性**,不是容器级配置表里的一个 entry。
|
package/lib/kernel/ports.d.ts
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
* 本模块是**零依赖叶模块**(纯常量,无 import)——output-guard(守卫词表)、config-ops
|
|
21
21
|
* (默认值)、settings-section(面板默认)、index(Config 默认)都可安全引用而不引入依赖环。
|
|
22
22
|
*/
|
|
23
|
-
/**
|
|
24
|
-
export type FaceId = 'main' | 'gateway' | 'weixinSend'
|
|
23
|
+
/** 面标识(**两个**对外面;A 由宿主监听,B/C 由本插件监听) */
|
|
24
|
+
export type FaceId = 'main' | 'gateway' | 'weixinSend';
|
|
25
25
|
/** 一个面的端口语义 */
|
|
26
26
|
export interface PortSpec {
|
|
27
27
|
/** 端口号 */
|
|
@@ -45,8 +45,6 @@ export declare const MAIN_WEB_PORT: number;
|
|
|
45
45
|
export declare const GATEWAY_PORT: number;
|
|
46
46
|
/** 微信主动发送端口默认值(面 C) */
|
|
47
47
|
export declare const WEIXIN_SEND_PORT: number;
|
|
48
|
-
/** Skiff 调试页端口默认值(面 D) */
|
|
49
|
-
export declare const SKIFF_DEBUG_PORT: number;
|
|
50
48
|
/**
|
|
51
49
|
* **机制端口**词表(output-guard 用:agent 在**用户可见输出**里提及内部端口即打回)。
|
|
52
50
|
*
|