@shgroup/dsh-serenity-hooks 1.73.0 → 1.74.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 +12 -11
- package/dsh.plugin.json +2 -2
- package/lib/accounts-BHQbakUh.js +33 -0
- package/lib/{ccc-CZUOq3NY.js → ccc-CyYJL4F2.js} +9 -9
- package/lib/{ccc-roots-BhoA7G-0.js → ccc-roots-B2t_aM8L.js} +4 -4
- package/lib/client.js +116 -1
- package/lib/cro/core.d.ts +1 -1
- package/lib/guard/seam.d.ts +4 -4
- package/lib/host/effect.d.ts +1 -1
- package/lib/im/bridge.d.ts +3 -3
- package/lib/im/endpoint.d.ts +2 -2
- package/lib/im/guard.d.ts +1 -1
- package/lib/im/hook.d.ts +1 -1
- package/lib/im/inbound-event.d.ts +6 -6
- package/lib/im/route.d.ts +25 -3
- package/lib/index.d.ts +5 -5
- package/lib/index.js +360 -265
- package/lib/kernel/ccc-roots.d.ts +4 -4
- package/lib/kernel/ccc.d.ts +19 -19
- package/lib/kernel/ports.d.ts +1 -1
- package/lib/{message-source-ChyVfev9.js → message-source-DCpoRHP3.js} +2 -2
- package/lib/patches/opencode-provider.d.ts +1 -1
- package/lib/{profile-BIQ2widI.js → profile-BVt84mbi.js} +59 -59
- package/lib/{route-ItCgAsnz.js → route-COOFLTpU.js} +44 -6
- package/lib/seams/guards.d.ts +14 -14
- package/lib/seams/keeper.d.ts +1 -1
- package/lib/seams/lifecycle.d.ts +2 -2
- package/lib/{settings-UcwIPJhM.js → settings-D8hlqxua.js} +40 -26
- package/lib/surface/faces.d.ts +1 -1
- package/lib/surface/http.d.ts +1 -1
- package/lib/surface/settings.d.ts +7 -7
- package/lib/surface/text.d.ts +3 -3
- package/lib/tools/config-docs.d.ts +53 -0
- package/lib/tools/container-admin.d.ts +19 -12
- package/lib/tools/msm/service.d.ts +7 -0
- package/lib/tools/trajectory-constraint-admin.d.ts +30 -0
- package/lib/trajectory/carrier.d.ts +1 -1
- package/lib/trajectory/core.d.ts +1 -1
- package/lib/trajectory/policy/profile.d.ts +36 -36
- package/lib/trajectory/policy/rules.d.ts +33 -20
- package/lib/trajectory/policy/window.d.ts +13 -13
- package/lib/trajectory/prompt.d.ts +12 -12
- package/lib/trajectory/rebuild.d.ts +2 -2
- package/lib/trajectory/session.d.ts +49 -49
- package/package.json +2 -2
- package/lib/tools/skiff-admin.d.ts +0 -30
package/lib/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export type HumanChannelSubscriptionConfig = {
|
|
|
68
68
|
user?: string;
|
|
69
69
|
/** 目标 CCC(别名) */
|
|
70
70
|
ccc?: string;
|
|
71
|
-
/** 目标
|
|
71
|
+
/** 目标 轨迹约束角色名(∈ 该 CCC 的 `轨迹约束.roles`) */
|
|
72
72
|
role?: string;
|
|
73
73
|
};
|
|
74
74
|
export interface HumanChannelConfig {
|
|
@@ -76,8 +76,8 @@ export interface HumanChannelConfig {
|
|
|
76
76
|
accounts?: HumanChannelAccountConfig[];
|
|
77
77
|
/**
|
|
78
78
|
* 订阅表:`(账号, 用户) → (CCC, 角色)` —— **收到**谁的消息。
|
|
79
|
-
* 🔴 机器级**显式表**,**不得**由"该 CCC 有没有
|
|
80
|
-
*
|
|
79
|
+
* 🔴 机器级**显式表**,**不得**由"该 CCC 有没有 轨迹约束角色"推断(owner 2026-09-26 更正):
|
|
80
|
+
* 轨迹约束 用途很多(传话员只是其一),推断会让**为别的目的建的 轨迹约束 被静默误接上微信**。
|
|
81
81
|
*/
|
|
82
82
|
subscriptions?: HumanChannelSubscriptionConfig[];
|
|
83
83
|
/** 主控(relay):**唯一**可做跨 CCC 动作的 CCC */
|
|
@@ -124,8 +124,8 @@ export interface Config {
|
|
|
124
124
|
enabled?: boolean;
|
|
125
125
|
thresholdK?: number;
|
|
126
126
|
};
|
|
127
|
-
/** F4
|
|
128
|
-
|
|
127
|
+
/** F4 轨迹约束(实验性):调试服务启停(entry 默认值,运行时经 DSH settings) */
|
|
128
|
+
轨迹约束?: {
|
|
129
129
|
enabled?: boolean;
|
|
130
130
|
debugPort?: number;
|
|
131
131
|
};
|