@workclaw/openclaw-workclaw 1.0.23 → 1.0.26

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.
Files changed (210) hide show
  1. package/dist/api.d.ts +4 -3
  2. package/dist/api.d.ts.map +1 -0
  3. package/dist/api.js +379 -3
  4. package/dist/channel-DSvR6Irx.js +50017 -0
  5. package/dist/cron-tasks-handler-C-mP3VmV.js +152 -0
  6. package/dist/index.d.ts +5 -4
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +2056 -232
  9. package/dist/jiti-4i2h0FGP.js +4814 -0
  10. package/dist/setup-entry.d.ts +2 -1
  11. package/dist/setup-entry.d.ts.map +1 -0
  12. package/dist/setup-entry.js +181 -11
  13. package/dist/src/accounts.d.ts +3 -2
  14. package/dist/src/accounts.d.ts.map +1 -0
  15. package/dist/src/api/accounts-api.d.ts +2 -1
  16. package/dist/src/api/accounts-api.d.ts.map +1 -0
  17. package/dist/src/api/prompts-api.d.ts +2 -1
  18. package/dist/src/api/prompts-api.d.ts.map +1 -0
  19. package/dist/src/api/session-api.d.ts +2 -1
  20. package/dist/src/api/session-api.d.ts.map +1 -0
  21. package/dist/src/api/skills-api.d.ts +2 -1
  22. package/dist/src/api/skills-api.d.ts.map +1 -0
  23. package/dist/src/api/workspace.d.ts +2 -1
  24. package/dist/src/api/workspace.d.ts.map +1 -0
  25. package/dist/src/channel.d.ts +3 -2
  26. package/dist/src/channel.d.ts.map +1 -0
  27. package/dist/src/config-schema.d.ts +1 -6
  28. package/dist/src/config-schema.d.ts.map +1 -0
  29. package/dist/src/connection/workclaw-client.d.ts +6 -4
  30. package/dist/src/connection/workclaw-client.d.ts.map +1 -0
  31. package/dist/src/gateway/agent-handlers.d.ts +3 -2
  32. package/dist/src/gateway/agent-handlers.d.ts.map +1 -0
  33. package/dist/src/gateway/config-writer.d.ts +3 -2
  34. package/dist/src/gateway/config-writer.d.ts.map +1 -0
  35. package/dist/src/gateway/cron-tasks-handler.d.ts +1 -0
  36. package/dist/src/gateway/cron-tasks-handler.d.ts.map +1 -0
  37. package/dist/src/gateway/message-context.d.ts +2 -1
  38. package/dist/src/gateway/message-context.d.ts.map +1 -0
  39. package/dist/src/gateway/message-dispatcher.d.ts +3 -4
  40. package/dist/src/gateway/message-dispatcher.d.ts.map +1 -0
  41. package/dist/src/gateway/reconnect.d.ts +3 -5
  42. package/dist/src/gateway/reconnect.d.ts.map +1 -0
  43. package/dist/src/gateway/skills-handler.d.ts +1 -0
  44. package/dist/src/gateway/skills-handler.d.ts.map +1 -0
  45. package/dist/src/gateway/skills-list-handler.d.ts +1 -0
  46. package/dist/src/gateway/skills-list-handler.d.ts.map +1 -0
  47. package/dist/src/gateway/tools-list-handler.d.ts +1 -0
  48. package/dist/src/gateway/tools-list-handler.d.ts.map +1 -0
  49. package/dist/src/gateway/workclaw-gateway.d.ts +4 -7
  50. package/dist/src/gateway/workclaw-gateway.d.ts.map +1 -0
  51. package/dist/src/media/upload.d.ts +1 -0
  52. package/dist/src/media/upload.d.ts.map +1 -0
  53. package/dist/src/outbound/index.d.ts +9 -6
  54. package/dist/src/outbound/index.d.ts.map +1 -0
  55. package/dist/src/outbound/workclaw-sender.d.ts +6 -4
  56. package/dist/src/outbound/workclaw-sender.d.ts.map +1 -0
  57. package/dist/src/runtime.d.ts +11 -9
  58. package/dist/src/runtime.d.ts.map +1 -0
  59. package/dist/src/secret-contract-api.d.ts +1 -0
  60. package/dist/src/secret-contract-api.d.ts.map +1 -0
  61. package/dist/src/send.d.ts +2 -1
  62. package/dist/src/send.d.ts.map +1 -0
  63. package/dist/src/setup-api.d.ts +4 -3
  64. package/dist/src/setup-api.d.ts.map +1 -0
  65. package/dist/src/setup-core.d.ts +2 -1
  66. package/dist/src/setup-core.d.ts.map +1 -0
  67. package/dist/src/setup-surface.d.ts +3 -2
  68. package/dist/src/setup-surface.d.ts.map +1 -0
  69. package/dist/src/tools/openclaw-workclaw-cron/api/index.d.ts +2 -4
  70. package/dist/src/tools/openclaw-workclaw-cron/api/index.d.ts.map +1 -0
  71. package/dist/src/tools/openclaw-workclaw-cron/index.d.ts +1 -0
  72. package/dist/src/tools/openclaw-workclaw-cron/index.d.ts.map +1 -0
  73. package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts +2 -4
  74. package/dist/src/tools/openclaw-workclaw-cron/src/add/params.d.ts.map +1 -0
  75. package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts +2 -4
  76. package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.d.ts.map +1 -0
  77. package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts +2 -4
  78. package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.d.ts.map +1 -0
  79. package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts +2 -4
  80. package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.d.ts.map +1 -0
  81. package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts +2 -4
  82. package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.d.ts.map +1 -0
  83. package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts +2 -4
  84. package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.d.ts.map +1 -0
  85. package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts +2 -6
  86. package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.d.ts.map +1 -0
  87. package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts +2 -4
  88. package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.d.ts.map +1 -0
  89. package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts +2 -4
  90. package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.d.ts.map +1 -0
  91. package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts +2 -4
  92. package/dist/src/tools/openclaw-workclaw-cron/src/update/params.d.ts.map +1 -0
  93. package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts +2 -4
  94. package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.d.ts.map +1 -0
  95. package/dist/src/tools/openclaw-workclaw-cron/types/index.d.ts +1 -0
  96. package/dist/src/tools/openclaw-workclaw-cron/types/index.d.ts.map +1 -0
  97. package/dist/src/tools/openclaw-workclaw-cron/utils/index.d.ts +1 -0
  98. package/dist/src/tools/openclaw-workclaw-cron/utils/index.d.ts.map +1 -0
  99. package/dist/src/tools/openclaw-workclaw-system/index.d.ts +1 -0
  100. package/dist/src/tools/openclaw-workclaw-system/index.d.ts.map +1 -0
  101. package/dist/src/tools/openclaw-workclaw-system/src/get/index.d.ts +2 -4
  102. package/dist/src/tools/openclaw-workclaw-system/src/get/index.d.ts.map +1 -0
  103. package/dist/src/tools/openclaw-workclaw-system/src/token/index.d.ts +2 -4
  104. package/dist/src/tools/openclaw-workclaw-system/src/token/index.d.ts.map +1 -0
  105. package/dist/src/types.d.ts +7 -7
  106. package/dist/src/types.d.ts.map +1 -0
  107. package/dist/src/utils/content.d.ts +1 -0
  108. package/dist/src/utils/content.d.ts.map +1 -0
  109. package/openclaw.plugin.json +6 -0
  110. package/package.json +69 -45
  111. package/api.ts +0 -3
  112. package/dist/src/accounts.js +0 -279
  113. package/dist/src/api/accounts-api.js +0 -130
  114. package/dist/src/api/prompts-api.js +0 -103
  115. package/dist/src/api/session-api.js +0 -207
  116. package/dist/src/api/skills-api.js +0 -64
  117. package/dist/src/api/workspace.js +0 -30
  118. package/dist/src/channel.js +0 -199
  119. package/dist/src/config-schema.js +0 -56
  120. package/dist/src/connection/workclaw-client.js +0 -351
  121. package/dist/src/gateway/agent-handlers.js +0 -433
  122. package/dist/src/gateway/config-writer.js +0 -302
  123. package/dist/src/gateway/cron-tasks-handler.js +0 -188
  124. package/dist/src/gateway/message-context.js +0 -509
  125. package/dist/src/gateway/message-dispatcher.js +0 -572
  126. package/dist/src/gateway/reconnect.js +0 -210
  127. package/dist/src/gateway/skills-handler.js +0 -615
  128. package/dist/src/gateway/skills-list-handler.js +0 -233
  129. package/dist/src/gateway/tools-list-handler.js +0 -101
  130. package/dist/src/gateway/workclaw-gateway.js +0 -237
  131. package/dist/src/media/upload.js +0 -125
  132. package/dist/src/outbound/index.js +0 -123
  133. package/dist/src/outbound/workclaw-sender.js +0 -95
  134. package/dist/src/runtime.js +0 -374
  135. package/dist/src/secret-contract-api.js +0 -4
  136. package/dist/src/send.js +0 -1
  137. package/dist/src/setup-api.js +0 -3
  138. package/dist/src/setup-core.js +0 -13
  139. package/dist/src/setup-surface.js +0 -363
  140. package/dist/src/tools/openclaw-workclaw-cron/api/index.js +0 -209
  141. package/dist/src/tools/openclaw-workclaw-cron/index.js +0 -33
  142. package/dist/src/tools/openclaw-workclaw-cron/src/add/params.js +0 -152
  143. package/dist/src/tools/openclaw-workclaw-cron/src/add/sync.js +0 -162
  144. package/dist/src/tools/openclaw-workclaw-cron/src/disable/params.js +0 -80
  145. package/dist/src/tools/openclaw-workclaw-cron/src/disable/sync.js +0 -107
  146. package/dist/src/tools/openclaw-workclaw-cron/src/enable/params.js +0 -80
  147. package/dist/src/tools/openclaw-workclaw-cron/src/enable/sync.js +0 -107
  148. package/dist/src/tools/openclaw-workclaw-cron/src/notify/sync.js +0 -127
  149. package/dist/src/tools/openclaw-workclaw-cron/src/remove/params.js +0 -87
  150. package/dist/src/tools/openclaw-workclaw-cron/src/remove/sync.js +0 -107
  151. package/dist/src/tools/openclaw-workclaw-cron/src/update/params.js +0 -164
  152. package/dist/src/tools/openclaw-workclaw-cron/src/update/sync.js +0 -135
  153. package/dist/src/tools/openclaw-workclaw-cron/types/index.js +0 -4
  154. package/dist/src/tools/openclaw-workclaw-cron/utils/index.js +0 -122
  155. package/dist/src/tools/openclaw-workclaw-system/index.js +0 -15
  156. package/dist/src/tools/openclaw-workclaw-system/src/get/index.js +0 -64
  157. package/dist/src/tools/openclaw-workclaw-system/src/token/index.js +0 -78
  158. package/dist/src/types.js +0 -1
  159. package/dist/src/utils/content.js +0 -38
  160. package/index.ts +0 -325
  161. package/setup-entry.ts +0 -13
  162. package/src/accounts.ts +0 -360
  163. package/src/api/accounts-api.ts +0 -156
  164. package/src/api/prompts-api.ts +0 -122
  165. package/src/api/session-api.ts +0 -246
  166. package/src/api/skills-api.ts +0 -74
  167. package/src/api/workspace.ts +0 -45
  168. package/src/channel.ts +0 -226
  169. package/src/config-schema.ts +0 -60
  170. package/src/connection/workclaw-client.ts +0 -618
  171. package/src/gateway/agent-handlers.ts +0 -551
  172. package/src/gateway/config-writer.ts +0 -378
  173. package/src/gateway/cron-tasks-handler.ts +0 -230
  174. package/src/gateway/message-context.ts +0 -645
  175. package/src/gateway/message-dispatcher.ts +0 -688
  176. package/src/gateway/reconnect.ts +0 -260
  177. package/src/gateway/skills-handler.ts +0 -805
  178. package/src/gateway/skills-list-handler.ts +0 -332
  179. package/src/gateway/tools-list-handler.ts +0 -161
  180. package/src/gateway/workclaw-gateway.ts +0 -298
  181. package/src/media/upload.ts +0 -168
  182. package/src/outbound/index.ts +0 -191
  183. package/src/outbound/workclaw-sender.ts +0 -161
  184. package/src/runtime.ts +0 -520
  185. package/src/secret-contract-api.ts +0 -4
  186. package/src/send.ts +0 -1
  187. package/src/setup-api.ts +0 -3
  188. package/src/setup-core.ts +0 -25
  189. package/src/setup-surface.ts +0 -498
  190. package/src/tools/openclaw-workclaw-cron/api/index.ts +0 -326
  191. package/src/tools/openclaw-workclaw-cron/index.ts +0 -39
  192. package/src/tools/openclaw-workclaw-cron/src/add/params.ts +0 -177
  193. package/src/tools/openclaw-workclaw-cron/src/add/sync.ts +0 -188
  194. package/src/tools/openclaw-workclaw-cron/src/disable/params.ts +0 -100
  195. package/src/tools/openclaw-workclaw-cron/src/disable/sync.ts +0 -127
  196. package/src/tools/openclaw-workclaw-cron/src/enable/params.ts +0 -100
  197. package/src/tools/openclaw-workclaw-cron/src/enable/sync.ts +0 -127
  198. package/src/tools/openclaw-workclaw-cron/src/notify/sync.ts +0 -148
  199. package/src/tools/openclaw-workclaw-cron/src/remove/params.ts +0 -109
  200. package/src/tools/openclaw-workclaw-cron/src/remove/sync.ts +0 -127
  201. package/src/tools/openclaw-workclaw-cron/src/update/params.ts +0 -195
  202. package/src/tools/openclaw-workclaw-cron/src/update/sync.ts +0 -161
  203. package/src/tools/openclaw-workclaw-cron/types/index.ts +0 -55
  204. package/src/tools/openclaw-workclaw-cron/utils/index.ts +0 -141
  205. package/src/tools/openclaw-workclaw-system/index.ts +0 -17
  206. package/src/tools/openclaw-workclaw-system/src/get/index.ts +0 -77
  207. package/src/tools/openclaw-workclaw-system/src/token/index.ts +0 -93
  208. package/src/types.ts +0 -50
  209. package/src/utils/content.ts +0 -40
  210. package/tsconfig.json +0 -34
@@ -1,4 +1,4 @@
1
- import type { WorkclawFullAccountConfig } from "../types.js";
1
+ import { WorkclawFullAccountConfig } from '../types.js';
2
2
  export interface WorkClawSenderParams {
3
3
  cacheKey: string;
4
4
  to: string;
@@ -13,9 +13,10 @@ export interface WorkClawSenderParams {
13
13
  * - "reply": 回复消息(用户触发)
14
14
  * - "push": 主动推送(定时任务触发)
15
15
  */
16
- messageType?: "reply" | "push";
16
+ messageType?: 'reply' | 'push';
17
17
  msgType?: string;
18
18
  last?: boolean;
19
+ source?: 'deliver' | 'sendText' | 'after_tool_call';
19
20
  }
20
21
  export declare function sendWorkclawOutboundMessage(params: WorkClawSenderParams): Promise<{
21
22
  messageId: string;
@@ -24,13 +25,14 @@ export declare function sendWorkclawOutboundMessage(params: WorkClawSenderParams
24
25
  * 发送主动推送消息(定时任务使用)
25
26
  * POST /im/v1/messages
26
27
  */
27
- export declare function sendWorkClawPushMessage(params: Omit<WorkClawSenderParams, "messageType">): Promise<{
28
+ export declare function sendWorkClawPushMessage(params: Omit<WorkClawSenderParams, 'messageType'>): Promise<{
28
29
  messageId: string;
29
30
  }>;
30
31
  /**
31
32
  * 发送回复消息(用户触发)
32
33
  * POST /im/v1/messages/{messageId}/reply
33
34
  */
34
- export declare function sendWorkclawReplyMessage(params: Omit<WorkClawSenderParams, "messageType">): Promise<{
35
+ export declare function sendWorkclawReplyMessage(params: Omit<WorkClawSenderParams, 'messageType'>): Promise<{
35
36
  messageId: string;
36
37
  }>;
38
+ //# sourceMappingURL=workclaw-sender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workclaw-sender.d.ts","sourceRoot":"","sources":["../../../src/outbound/workclaw-sender.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AAS5D,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,MAAM,EAAE,yBAAyB,CAAA;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,iBAAiB,CAAA;CACpD;AAED,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,oBAAoB,GAC3B,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAsGhC;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GAChD,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAKhC;AAED;;;GAGG;AACH,wBAAsB,wBAAwB,CAC5C,MAAM,EAAE,IAAI,CAAC,oBAAoB,EAAE,aAAa,CAAC,GAChD,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAKhC"}
@@ -1,13 +1,14 @@
1
- import type { PluginRuntime } from "openclaw/plugin-sdk";
2
- import type { WebSocket } from "undici";
1
+ import { PluginRuntime } from 'openclaw/plugin-sdk';
2
+ import { WebSocket } from 'undici';
3
3
  export declare function setWorkclawRuntime(next: PluginRuntime): void;
4
4
  export declare function getWorkclawRuntime(): PluginRuntime;
5
- export type WorkclawLogger = {
6
- info?: (msg: string, ...args: any[]) => void;
7
- warn?: (msg: string, ...args: any[]) => void;
8
- error?: (msg: string, ...args: any[]) => void;
9
- debug?: (msg: string, ...args: any[]) => void;
10
- };
5
+ export interface WorkclawLogger {
6
+ info: (msg: string, ...args: any[]) => void;
7
+ warn: (msg: string, ...args: any[]) => void;
8
+ error: (msg: string, ...args: any[]) => void;
9
+ debug: (msg: string, ...args: any[]) => void;
10
+ }
11
+ export type PartialWorkclawLogger = Partial<WorkclawLogger>;
11
12
  /** Store the gateway's log into runtime. Called from startAccount. */
12
13
  export declare function setWorkclawLoggerFromContext(log: WorkclawLogger): void;
13
14
  /** Get the shared logger. Returns ctx.log from gateway if set, otherwise a console fallback. */
@@ -16,7 +17,7 @@ export declare function getWorkclawLogger(): WorkclawLogger;
16
17
  * Wrap a logger with a prefix automatically prepended to every message.
17
18
  * All messages logged via the returned logger will have the prefix attached.
18
19
  */
19
- export declare function createLogger(prefix: string, log?: WorkclawLogger): WorkclawLogger;
20
+ export declare function createLogger(prefix: string, log?: PartialWorkclawLogger): WorkclawLogger;
20
21
  export declare function setWorkclawWsConnection(key: string, ws: WebSocket): void;
21
22
  export declare function clearWorkclawWsConnection(key: string): void;
22
23
  export declare function getWorkclawWsConnection(key: string): WebSocket | undefined;
@@ -114,3 +115,4 @@ export declare function getWorkclawSecrets(params: {
114
115
  appSecret?: string;
115
116
  accountId?: string;
116
117
  }): Promise<Record<string, string>>;
118
+ //# sourceMappingURL=runtime.d.ts.map
@@ -0,0 +1 @@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EAAE;IAC/C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAYlC"}
@@ -2,3 +2,4 @@ export declare const channelSecrets: {
2
2
  specifier: string;
3
3
  exportName: string;
4
4
  };
5
+ //# sourceMappingURL=secret-contract-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret-contract-api.d.ts","sourceRoot":"","sources":["../../src/secret-contract-api.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;CAG1B,CAAA"}
@@ -1 +1,2 @@
1
- export { sendMessageWorkclaw, getMessageWorkclaw } from "./outbound/index.js";
1
+ export { getMessageWorkclaw, sendMessageWorkclaw } from './outbound/index.js';
2
+ //# sourceMappingURL=send.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../src/send.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1,3 +1,4 @@
1
- export { workclawPlugin } from "./channel.js";
2
- export * from "./setup-core.js";
3
- export * from "./setup-surface.js";
1
+ export { workclawPlugin } from './channel.js';
2
+ export * from './setup-core.js';
3
+ export * from './setup-surface.js';
4
+ //# sourceMappingURL=setup-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-api.d.ts","sourceRoot":"","sources":["../../src/setup-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,oBAAoB,CAAA"}
@@ -1,3 +1,4 @@
1
- import { type ChannelSetupAdapter, type OpenClawConfig } from "openclaw/plugin-sdk/setup";
1
+ import { ChannelSetupAdapter, OpenClawConfig } from 'openclaw/plugin-sdk/setup';
2
2
  export declare function setWorkclawNamedAccountEnabled(cfg: OpenClawConfig, accountId: string, enabled: boolean): OpenClawConfig;
3
3
  export declare const workclawSetupAdapter: ChannelSetupAdapter;
4
+ //# sourceMappingURL=setup-core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-core.d.ts","sourceRoot":"","sources":["../../src/setup-core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AASpF,wBAAgB,8BAA8B,CAC5C,GAAG,EAAE,cAAc,EACnB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,OAAO,GACf,cAAc,CAEhB;AAED,eAAO,MAAM,oBAAoB,EAAE,mBAOlC,CAAA"}
@@ -1,7 +1,8 @@
1
- import { type ChannelSetupWizard, type OpenClawConfig } from "openclaw/plugin-sdk/setup";
1
+ import { ChannelSetupWizard, OpenClawConfig } from 'openclaw/plugin-sdk/setup';
2
2
  /**
3
3
  * 修补 Workclaw 配置
4
4
  */
5
5
  export declare function patchWorkclawConfig(cfg: OpenClawConfig, accountId: string, patch: Record<string, unknown>): OpenClawConfig;
6
- export { workclawSetupAdapter } from "./setup-core.js";
6
+ export { workclawSetupAdapter } from './setup-core.js';
7
7
  export declare const workclawSetupWizard: ChannelSetupWizard;
8
+ //# sourceMappingURL=setup-surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-surface.d.ts","sourceRoot":"","sources":["../../src/setup-surface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AA8GnF;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,cAAc,EACnB,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,cAAc,CA0BhB;AAmRD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,eAAO,MAAM,mBAAmB,EAAE,kBA6EjC,CAAA"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 后端接口封装
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 调用后端 API 的通用方法
7
4
  * @param api - OpenClaw API 实例
@@ -91,3 +88,4 @@ export declare function callCronJobMessage(api: OpenClawPluginApi, accountId: st
91
88
  data?: any;
92
89
  error?: string;
93
90
  }>;
91
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tools/openclaw-workclaw-cron/api/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AA8F5D;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,iBAAiB,EACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC5B,OAAO,GAAE;IACP,UAAU,CAAC,EAAE,MAAM,CAAA;CACf,GACL,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,GAAG,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAwE9E;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,iBAAiB,EACtB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE;IACP,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;I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AS,EAAE,MAAM,EACjB,OAAO,EAAE;IACP,KAAK,EAAE,MAAM,CAAA;CACd,GACA,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,GAAG,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAQ3D;AAED;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,iBAAiB,EACtB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE;IACP,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,GACA,OAAO,CAAC;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,GAAG,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAU3D"}
@@ -8,3 +8,4 @@
8
8
  * @param api - OpenClaw API 实例
9
9
  */
10
10
  export declare function registerAllOpenclawWorkclawCronTools(api: any): void;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tools/openclaw-workclaw-cron/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAgBH;;;GAGG;AACH,wBAAgB,oCAAoC,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAcnE"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 生成创建定时任务参数
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 生成创建定时任务参数
7
4
  */
@@ -14,3 +11,4 @@ export interface AddParamsParams {
14
11
  * 注册生成创建定时任务参数工具
15
12
  */
16
13
  export declare function registerOpenclawWorkclawCronAddParamsTool(api: OpenClawPluginApi): void;
14
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/add/params.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAG5D;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AA2JD;;GAEG;AACH,wBAAgB,yCAAyC,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAItF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 同步创建定时任务到后端
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 同步创建定时任务参数
7
4
  */
@@ -16,3 +13,4 @@ export interface AddSyncParams {
16
13
  * 注册同步创建定时任务到后端工具
17
14
  */
18
15
  export declare function registerOpenclawWorkclawCronAddSyncTool(api: OpenClawPluginApi): void;
16
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/add/sync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB;AAmKD;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIpF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 生成禁用定时任务参数
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 生成禁用定时任务参数
7
4
  */
@@ -12,3 +9,4 @@ export interface DisableParamsParams {
12
9
  * 注册生成禁用定时任务参数工具
13
10
  */
14
11
  export declare function registerOpenclawWorkclawCronDisableParamsTool(api: OpenClawPluginApi): void;
12
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/disable/params.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAiFD;;GAEG;AACH,wBAAgB,6CAA6C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAI1F"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 同步禁用定时任务到后端
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 同步禁用定时任务参数
7
4
  */
@@ -12,3 +9,4 @@ export interface DisableSyncParams {
12
9
  * 注册同步禁用定时任务到后端工具
13
10
  */
14
11
  export declare function registerOpenclawWorkclawCronDisableSyncTool(api: OpenClawPluginApi): void;
12
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/disable/sync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;CACd;AA0GD;;GAEG;AACH,wBAAgB,2CAA2C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIxF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 生成启用定时任务参数
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 生成启用定时任务参数
7
4
  */
@@ -12,3 +9,4 @@ export interface EnableParamsParams {
12
9
  * 注册生成启用定时任务参数工具
13
10
  */
14
11
  export declare function registerOpenclawWorkclawCronEnableParamsTool(api: OpenClawPluginApi): void;
12
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/enable/params.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;CACd;AAiFD;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIzF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 同步启用定时任务到后端
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 同步启用定时任务参数
7
4
  */
@@ -12,3 +9,4 @@ export interface EnableSyncParams {
12
9
  * 注册同步启用定时任务到后端工具
13
10
  */
14
11
  export declare function registerOpenclawWorkclawCronEnableSyncTool(api: OpenClawPluginApi): void;
12
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/enable/sync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;CACd;AA0GD;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIvF"}
@@ -1,9 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 定时任务触发通知
3
- *
4
- * 当 OpenClaw 定时任务触发时,调用此工具通知后端
5
- */
6
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
7
2
  /**
8
3
  * 定时任务触发通知参数
9
4
  */
@@ -15,3 +10,4 @@ export interface NotifyParams {
15
10
  * 注册定时任务触发通知工具
16
11
  */
17
12
  export declare function registerOpenclawWorkclawCronNotifySyncTool(api: OpenClawPluginApi): void;
13
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/notify/sync.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB;AA4HD;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIvF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 生成删除定时任务参数
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 生成删除定时任务参数
7
4
  */
@@ -12,3 +9,4 @@ export interface RemoveParamsParams {
12
9
  * 注册生成删除定时任务参数工具
13
10
  */
14
11
  export declare function registerOpenclawWorkclawCronRemoveParamsTool(api: OpenClawPluginApi): void;
12
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/remove/params.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;CACd;AA0FD;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIzF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 同步删除定时任务到后端
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 同步删除定时任务参数
7
4
  */
@@ -12,3 +9,4 @@ export interface RemoveSyncParams {
12
9
  * 注册同步删除定时任务到后端工具
13
10
  */
14
11
  export declare function registerOpenclawWorkclawCronRemoveSyncTool(api: OpenClawPluginApi): void;
12
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/remove/sync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;CACd;AA0GD;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIvF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 生成修改定时任务参数
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 生成修改定时任务参数
7
4
  */
@@ -15,3 +12,4 @@ export interface UpdateParamsParams {
15
12
  * 注册生成修改定时任务参数工具
16
13
  */
17
14
  export declare function registerOpenclawWorkclawCronUpdateParamsTool(api: OpenClawPluginApi): void;
15
+ //# sourceMappingURL=params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/update/params.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAO5D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAwKD;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIzF"}
@@ -1,7 +1,4 @@
1
- /**
2
- * 智小途定时任务工具 - 同步修改定时任务到后端
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 同步修改定时任务参数
7
4
  */
@@ -16,3 +13,4 @@ export interface UpdateSyncParams {
16
13
  * 注册同步修改定时任务到后端工具
17
14
  */
18
15
  export declare function registerOpenclawWorkclawCronUpdateSyncTool(api: OpenClawPluginApi): void;
16
+ //# sourceMappingURL=sync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-cron/src/update/sync.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB;AAwID;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIvF"}
@@ -50,3 +50,4 @@ export interface CronToolResult {
50
50
  jobs?: any[];
51
51
  error?: string;
52
52
  }
53
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tools/openclaw-workclaw-cron/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAA;IACnE,GAAG,CAAC,EAAE;QACJ,OAAO,EAAE,MAAM,CAAA;QACf,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM,CAAA;YACZ,IAAI,EAAE,MAAM,CAAA;YACZ,EAAE,EAAE,MAAM,CAAA;SACX,CAAA;QACD,aAAa,EAAE,UAAU,CAAA;QACzB,QAAQ,EAAE,KAAK,CAAA;QACf,cAAc,CAAC,EAAE,OAAO,CAAA;QACxB,OAAO,EAAE;YACP,IAAI,EAAE,WAAW,CAAA;YACjB,OAAO,EAAE,MAAM,CAAA;SAChB,CAAA;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,UAAU,CAAA;YAChB,OAAO,EAAE,MAAM,CAAA;YACf,EAAE,EAAE,MAAM,CAAA;SACX,CAAA;KACF,CAAA;IACD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
@@ -38,3 +38,4 @@ export declare function validateTimeFormat(timeStr: string): {
38
38
  * @returns 标准 cron 表达式(秒 分 时 日 月 星期),格式为 "SS MM HH DD MM *"
39
39
  */
40
40
  export declare function relativeToCron(timeStr: string): string;
41
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tools/openclaw-workclaw-cron/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CA8BhE;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAGzD;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CA+B1F;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAuBtF;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAetD"}
@@ -8,3 +8,4 @@
8
8
  * @param api - OpenClaw API 实例
9
9
  */
10
10
  export declare function registerAllOpenclawWorkclawSystemTools(api: any): void;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tools/openclaw-workclaw-system/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH;;;GAGG;AACH,wBAAgB,sCAAsC,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAGrE"}
@@ -1,8 +1,6 @@
1
- /**
2
- * 智小途系统信息工具 - 获取系统配置信息
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 注册获取系统配置信息工具
7
4
  */
8
5
  export declare function registerOpenclawWorkclawSystemConfigTool(api: OpenClawPluginApi): void;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-system/src/get/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAiE5D;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIrF"}
@@ -1,8 +1,6 @@
1
- /**
2
- * 智小途系统信息工具 - 获取用户 AccessToken
3
- */
4
- import type { OpenClawPluginApi } from 'openclaw/plugin-sdk';
1
+ import { OpenClawPluginApi } from 'openclaw/plugin-sdk';
5
2
  /**
6
3
  * 注册获取用户 AccessToken 工具
7
4
  */
8
5
  export declare function registerOpenclawWorkclawSystemTokenTool(api: OpenClawPluginApi): void;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/tools/openclaw-workclaw-system/src/token/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAiF5D;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAIpF"}
@@ -1,20 +1,19 @@
1
- import type { workclawConfigSchema, workclawAccountConfigSchema, z } from "./config-schema.js";
1
+ import { workclawAccountConfigSchema, workclawConfigSchema, z } from './config-schema.js';
2
2
  export type WorkclawConfig = z.infer<typeof workclawConfigSchema>;
3
3
  export type WorkclawAccountConfig = z.infer<typeof workclawAccountConfigSchema>;
4
- export type WorkclawConnectionMode = "websocket" | "webhook";
5
- export type ResolvedWorkclawAccount = {
4
+ export interface ResolvedWorkclawAccount {
6
5
  accountId: string;
7
6
  enabled: boolean;
8
7
  configured: boolean;
9
8
  name?: string;
10
9
  config: WorkclawFullAccountConfig;
11
- };
10
+ }
12
11
  export type ResolvedOpenClawWorkclawAccount = ResolvedWorkclawAccount;
13
- export type WorkclawIdType = "open_id" | "user_id" | "union_id" | "chat_id";
14
- export type WorkclawSendResult = {
12
+ export type WorkclawIdType = 'open_id' | 'user_id' | 'union_id' | 'chat_id';
13
+ export interface WorkclawSendResult {
15
14
  messageId: string;
16
15
  chatId: string;
17
- };
16
+ }
18
17
  export interface WorkClawBaseConfig {
19
18
  baseUrl?: string;
20
19
  websocketUrl?: string;
@@ -37,3 +36,4 @@ export interface WorkClawAccountConfig {
37
36
  export type WorkClawConfig = WorkClawBaseConfig & WorkClawAccountConfig;
38
37
  export type WorkclawFullAccountConfig = WorkclawConfig & Partial<WorkclawAccountConfig>;
39
38
  export type ResolvedWorkclawAccountConfig = WorkclawFullAccountConfig;
39
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"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,MAAM,CAAA;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACnB;AAED,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,qBAAqB,CAAA;AAEvE,MAAM,MAAM,yBAAyB,GAAG,cAAc,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAA;AACvF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAA"}
@@ -13,3 +13,4 @@ export declare function collectTextContentBlocks(content: unknown): string[];
13
13
  * Handles result.content as array of text blocks or direct text fields.
14
14
  */
15
15
  export declare function extractToolResultText(result: unknown): string | undefined;
16
+ //# sourceMappingURL=content.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../src/utils/content.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAYnE;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAWzE"}
@@ -3,6 +3,12 @@
3
3
  "kind": "channel",
4
4
  "channels": ["openclaw-workclaw"],
5
5
  "skills": ["./skills"],
6
+ "name": "智小途",
7
+ "description": "智小途企业通讯平台 OpenClaw 渠道插件",
8
+ "version": "1.0.25",
9
+ "activation": {
10
+ "onStartup": true
11
+ },
6
12
  "configSchema": {
7
13
  "type": "object",
8
14
  "additionalProperties": false,