@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 +2 -1
- package/dist/src/api/workspace.d.ts.map +1 -1
- package/openclaw.plugin.json +44 -22
- package/package.json +1 -1
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
|
-
|
|
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,
|
|
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"}
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,22 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "openclaw-workclaw",
|
|
3
|
-
"kind": "channel",
|
|
4
|
-
"channels": ["openclaw-workclaw"],
|
|
5
|
-
"skills": ["./skills"],
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
}
|