@xgjktech/xg-openclaw-shared 0.2.3 → 0.2.4
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/dist/plan-events.d.ts +1 -1
- package/package.json +5 -3
package/dist/plan-events.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface PlanEventSummary {
|
|
|
11
11
|
inProgress: number;
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* 计划推进后发出的事件 payload(缝隙 A 定义,两插件共用;当前事件链路休眠,仅编译兼容保留)。
|
|
15
15
|
* 路由定位字段(deliveryContext/agentAccountId/messageChannel/sessionKey)均可选:
|
|
16
16
|
* 能从工具工厂 ctx 取到就带,取不到就省略——事件是尽力而为,不因缺字段而阻断。
|
|
17
17
|
*/
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xgjktech/xg-openclaw-shared",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "xgjktech OpenClaw 插件共享层:Plan 数据模型/不变量、SQLite PlanStore、计划事件契约",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=22.
|
|
8
|
+
"node": ">=22.22.3 <23 || >=24.15.0 <25 || >=25.9.0"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
"registry": "https://registry.npmjs.org/"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
|
+
"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
26
|
+
"prebuild": "npm run clean",
|
|
25
27
|
"build": "tsc -p tsconfig.json",
|
|
26
28
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
27
29
|
"pretest": "npm run build",
|
|
@@ -32,4 +34,4 @@
|
|
|
32
34
|
"@types/node": "^22.19.0",
|
|
33
35
|
"typescript": "^5.6.0"
|
|
34
36
|
}
|
|
35
|
-
}
|
|
37
|
+
}
|