@workclaw/openclaw-workclaw 1.0.29 → 1.0.30

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/index.js CHANGED
@@ -195,7 +195,8 @@ function resolveWorkspaceDir(api) {
195
195
  const workspaceRaw = typeof defaultAgent?.workspace === "string" && defaultAgent.workspace.trim() || typeof api.config.agents?.defaults?.workspace === "string" && api.config.agents.defaults.workspace.trim();
196
196
  getWorkclawLogger().info(`workspaceRaw: ${workspaceRaw}`);
197
197
  if (workspaceRaw) {
198
- return api.resolvePath(workspaceRaw);
198
+ const resolved = api.resolvePath(workspaceRaw);
199
+ if (resolved) return resolved;
199
200
  }
200
201
  const profile = process.env.OPENCLAW_PROFILE?.trim();
201
202
  const suffix = profile && profile.toLowerCase() !== "default" ? `workspace-${profile}` : "workspace";
@@ -1 +1 @@
1
- {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/api/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAK5D,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,CAqBlE;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAgBlE"}
1
+ {"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../../src/api/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAK5D,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,iBAAiB,GAAG,MAAM,CAsBlE;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,iBAAiB,GAAG,OAAO,CAgBlE"}
@@ -1,22 +1,44 @@
1
- {
2
- "id": "openclaw-workclaw",
3
- "kind": "channel",
4
- "channels": ["openclaw-workclaw"],
5
- "skills": ["./skills"],
6
- "name": "智小途",
7
- "description": "智小途企业通讯平台 OpenClaw 渠道插件",
8
- "version": "1.0.29",
9
- "activation": {
10
- "onStartup": true
11
- },
12
- "configSchema": {
13
- "type": "object",
14
- "additionalProperties": false,
15
- "properties": {}
16
- },
17
- "channelConfigs": {
18
- "openclaw-workclaw": {
19
- "setupEntry": "./dist/setup-entry.js"
20
- }
21
- }
22
- }
1
+ {
2
+ "id": "openclaw-workclaw",
3
+ "kind": "channel",
4
+ "channels": ["openclaw-workclaw"],
5
+ "skills": ["./skills"],
6
+ "contracts": {
7
+ "tools": {
8
+ "openclaw-workclaw-cron-add-params": true,
9
+ "openclaw-workclaw-cron-remove-params": true,
10
+ "openclaw-workclaw-cron-update-params": true,
11
+ "openclaw-workclaw-cron-enable-params": true,
12
+ "openclaw-workclaw-cron-disable-params": true,
13
+ "openclaw-workclaw-cron-add-sync": true,
14
+ "openclaw-workclaw-cron-remove-sync": true,
15
+ "openclaw-workclaw-cron-update-sync": true,
16
+ "openclaw-workclaw-cron-enable-sync": true,
17
+ "openclaw-workclaw-cron-disable-sync": true,
18
+ "openclaw-workclaw-cron-notify-sync": true
19
+ }
20
+ },
21
+ "name": "智小途",
22
+ "description": "智小途企业通讯平台 OpenClaw 渠道插件",
23
+ "version": "1.0.29",
24
+ "activation": {
25
+ "onStartup": true
26
+ },
27
+ "configSchema": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "properties": {}
31
+ },
32
+ "channelConfigs": {
33
+ "openclaw-workclaw": {
34
+ "label": "智小途",
35
+ "description": "智小途企业通讯平台",
36
+ "schema": {
37
+ "type": "object",
38
+ "additionalProperties": true,
39
+ "properties": {}
40
+ },
41
+ "setupEntry": "./dist/setup-entry.js"
42
+ }
43
+ }
44
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workclaw/openclaw-workclaw",
3
3
  "type": "module",
4
- "version": "1.0.29",
4
+ "version": "1.0.30",
5
5
  "description": "智小途企业通讯平台 OpenClaw 渠道插件",
6
6
  "license": "MIT",
7
7
  "keywords": [