@workclaw/openclaw-workclaw 1.0.342 → 1.0.345

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 (67) hide show
  1. package/dist/{anthropic-BX4T2YIB.js → anthropic-DPIo8aZS.js} +1 -1
  2. package/dist/api.js +379 -0
  3. package/dist/{azure-openai-responses-CRtsnQnD.js → azure-openai-responses-DD2qWGIN.js} +2 -2
  4. package/dist/{index-ZWLWkJXc.js → channel-DRvDqBYj.js} +2164 -5548
  5. package/dist/channel-bootstrap.runtime-B0t3vnup-Czzea06A.js +5 -0
  6. package/dist/channel-entry-api.d.ts +3 -0
  7. package/dist/channel-entry-api.d.ts.map +1 -0
  8. package/dist/channel-entry-api.js +719 -0
  9. package/dist/channel-entry-contract-BDMmGZzs-4ZlSsA7g.js +252 -0
  10. package/dist/channel-plugin-api.d.ts +2 -0
  11. package/dist/channel-plugin-api.d.ts.map +1 -0
  12. package/dist/channel-plugin-api.js +4 -0
  13. package/dist/{cleanup-i9QIMqva-CYcFSfZC.js → cleanup-i9QIMqva-1f5yGy3c.js} +2 -2
  14. package/dist/config-B7WCpONg.js +94 -0
  15. package/dist/{cron-tasks-handler-BIpSoLIG.js → cron-tasks-handler-CIhnDbA3.js} +1 -1
  16. package/dist/{google-BhYq3yh7.js → google-CO2HXSN_.js} +2 -2
  17. package/dist/{google-shared-sAeUdThk.js → google-shared-BzJ3YIh8.js} +1 -1
  18. package/dist/{google-vertex-CFbea9mm.js → google-vertex-BD9-XVFI.js} +2 -2
  19. package/dist/{host-hook-cleanup-BNlJQu7G-DZh9GtcC.js → host-hook-cleanup-BNlJQu7G-B6gPaEXw.js} +3 -2
  20. package/dist/{index-CXEk4j12.js → index-D9W7_ln2.js} +1 -1
  21. package/dist/index-DLeHpawu.js +1351 -0
  22. package/dist/index-DvlDhBhd.js +524 -0
  23. package/dist/index.d.ts +1 -10
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/index.js +42 -11
  26. package/dist/{legacy-config-issues-Czu0_ffE-BUj03gnH.js → legacy-config-issues-Czu0_ffE-ktq5IpXk.js} +4 -2
  27. package/dist/{message-oTt1u1XX-BHxJ4z66.js → message-oTt1u1XX-DOBlhTmr.js} +5 -4
  28. package/dist/message.config.runtime-C_TAuIcE.js +4 -0
  29. package/dist/{message.gateway.runtime-Ch5zdrYr.js → message.gateway.runtime-DF-QRcSW.js} +3 -2
  30. package/dist/{mistral-DgMDMo1J.js → mistral-BIsV4aGY.js} +1 -1
  31. package/dist/models-config.runtime-C39G_JMq.js +4 -0
  32. package/dist/{openai-codex-responses-D6j-616z.js → openai-codex-responses-C6Z_AwQQ.js} +2 -2
  33. package/dist/{openai-completions-BtT6C5eC.js → openai-completions-DZosJ4E4.js} +1 -1
  34. package/dist/{openai-responses-Dtuy4M7B.js → openai-responses-S_jH9SLK.js} +2 -2
  35. package/dist/{openai-responses-shared-DZBSlU2d.js → openai-responses-shared-CFqFtFHI.js} +1 -1
  36. package/dist/{openrouter-DbsgRqzU.js → openrouter-DmigfOuL.js} +1 -1
  37. package/dist/{photon_rs-CbOi7Vp0.js → photon_rs-r_qXiR7O.js} +1 -1
  38. package/dist/{plugin-load-profile-DOnG9jJ5-zOQuKNoi.js → plugin-load-profile-DOnG9jJ5-B0ymqOTX.js} +9936 -9990
  39. package/dist/plugins-C54ejDC8-DvOLwS0D.js +8 -0
  40. package/dist/provider-discovery.runtime-C7QlqKhh.js +4 -0
  41. package/dist/runtime-api-DU-e2Pen.js +391 -0
  42. package/dist/runtime-api.d.ts +2 -0
  43. package/dist/runtime-api.d.ts.map +1 -0
  44. package/dist/runtime-api.js +4 -0
  45. package/dist/{session-archive.runtime-BAljnZWW.js → session-archive.runtime-DlZRauFQ.js} +2 -2
  46. package/dist/setup-entry.js +2 -194
  47. package/dist/src/config-schema.d.ts +4 -0
  48. package/dist/src/config-schema.d.ts.map +1 -1
  49. package/dist/src/runtime.js +37 -0
  50. package/dist/src/secret-contract-api.js +7 -0
  51. package/dist/string-coerce-DyL154ka-BEV0SzzS.js +61 -0
  52. package/dist/subsystem-W8wAQXn1-BRIb6Mz-.js +4 -0
  53. package/dist/tools-api.d.ts +2 -0
  54. package/dist/tools-api.d.ts.map +1 -0
  55. package/dist/tools-api.js +4 -0
  56. package/dist/transcript.runtime-C6BHG-XW.js +5 -0
  57. package/dist/workclaw-client-CMjcFjJx.js +538 -0
  58. package/openclaw.plugin.json +8 -0
  59. package/package.json +9 -5
  60. package/dist/channel-bootstrap.runtime-B0t3vnup-vflkdVI8.js +0 -5
  61. package/dist/config-Cw8JPyMQ.js +0 -94
  62. package/dist/message.config.runtime-DuzEAWuz.js +0 -4
  63. package/dist/models-config.runtime-DLspRp8e.js +0 -4
  64. package/dist/plugins-C54ejDC8-Df48OaX-.js +0 -8
  65. package/dist/provider-discovery.runtime-Dps3xmj0.js +0 -4
  66. package/dist/subsystem-W8wAQXn1-Dh_4L9-w.js +0 -4
  67. package/dist/transcript.runtime-B6llle92.js +0 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@workclaw/openclaw-workclaw",
3
3
  "type": "module",
4
- "version": "1.0.342",
4
+ "version": "1.0.345",
5
5
  "description": "智小途企业通讯平台 OpenClaw 渠道插件",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -22,6 +22,10 @@
22
22
  "./setup": {
23
23
  "types": "./dist/setup-entry.d.ts",
24
24
  "import": "./dist/setup-entry.js"
25
+ },
26
+ "./tools-api": {
27
+ "types": "./dist/tools-api.d.ts",
28
+ "import": "./dist/tools-api.js"
25
29
  }
26
30
  },
27
31
  "main": "./dist/index.js",
@@ -51,12 +55,12 @@
51
55
  ],
52
56
  "setupEntry": "./dist/setup-entry.js",
53
57
  "compat": {
54
- "pluginApi": "2026.5.22",
55
- "minGatewayVersion": "2026.5.22"
58
+ "pluginApi": ">=2026.6.2",
59
+ "minGatewayVersion": "2026.6.2"
56
60
  },
57
61
  "build": {
58
- "openclawVersion": "2026.5.22",
59
- "pluginSdkVersion": "2026.5.22"
62
+ "openclawVersion": "2026.6.2",
63
+ "pluginSdkVersion": "2026.6.2"
60
64
  },
61
65
  "install": {
62
66
  "npmSpec": "@workclaw/openclaw-workclaw",
@@ -1,5 +0,0 @@
1
- import { ap, aq } from "./index-ZWLWkJXc.js";
2
- export {
3
- ap as bootstrapOutboundChannelPlugin,
4
- aq as resetOutboundChannelBootstrapStateForTests
5
- };
@@ -1,94 +0,0 @@
1
- import { C, a, b, D, N, S, T, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, E, F, G, H, I, J, K, L, M, O, P, Q, R, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah } from "./index-ZWLWkJXc.js";
2
- import { D as D2, E as E2, L as L2, a as a10, M as M2, b as b2, c as c2, d as d2, h as h2, i as i2, e as e2, f as f2, n as n2, g as g2, p as p2, j as j2, r as r2, k as k2 } from "./plugin-load-profile-DOnG9jJ5-zOQuKNoi.js";
3
- export {
4
- C as CONFIG_PATH,
5
- a as ConfigMutationConflictError,
6
- b as ConfigRuntimeRefreshError,
7
- D as DEFAULT_GATEWAY_PORT,
8
- D2 as DEFAULT_SECRET_PROVIDER_ALIAS,
9
- E2 as ENV_SECRET_REF_ID_RE,
10
- L2 as LEGACY_DOUBLE_UNDERSCORE_ENV_MARKER_PREFIX,
11
- a10 as LEGACY_SECRETREF_ENV_MARKER_PREFIX,
12
- M2 as MODEL_APIS,
13
- b2 as MODEL_THINKING_FORMATS,
14
- N as NixModeConfigMutationError,
15
- S as STATE_DIR,
16
- T as TOOLS_BY_SENDER_KEY_TYPES,
17
- c as applyConfigOverrides,
18
- d as assertConfigWriteAllowedInCurrentMode,
19
- c2 as assertSecretInputResolved,
20
- e as clearConfigCache,
21
- f as clearRuntimeConfigSnapshot,
22
- d2 as coerceSecretRef,
23
- g as createConfigIO,
24
- h as getConfigOverrides,
25
- i as getRuntimeConfig,
26
- j as getRuntimeConfigSnapshot,
27
- k as getRuntimeConfigSnapshotMetadata,
28
- l as getRuntimeConfigSourceSnapshot,
29
- h2 as hasConfiguredSecretInput,
30
- m as hashRuntimeConfigValue,
31
- i2 as isModelThinkingFormat,
32
- n as isNixMode,
33
- o as isPluginLocalInvalidConfigSnapshot,
34
- e2 as isSecretRef,
35
- f2 as isValidEnvSecretRefId,
36
- p as loadConfig,
37
- q as mutateConfigFile,
38
- r as mutateConfigFileWithRetry,
39
- n2 as normalizeResolvedSecretInputString,
40
- g2 as normalizeSecretInputString,
41
- s as normalizeStateDirEnv,
42
- t as parseConfigJson5,
43
- p2 as parseEnvTemplateSecretRef,
44
- j2 as parseLegacySecretRefEnvMarker,
45
- u as parseToolsBySenderTypedKey,
46
- v as projectConfigOntoRuntimeSourceSnapshot,
47
- w as promoteConfigSnapshotToLastKnownGood,
48
- x as readBestEffortConfig,
49
- y as readConfigFileSnapshot,
50
- z as readConfigFileSnapshotForWrite,
51
- A as readConfigFileSnapshotWithPluginMetadata,
52
- B as readSourceConfigBestEffort,
53
- E as readSourceConfigSnapshot,
54
- F as readSourceConfigSnapshotForWrite,
55
- G as recoverConfigFromJsonRootSuffix,
56
- H as recoverConfigFromLastKnownGood,
57
- I as registerConfigWriteListener,
58
- J as replaceConfigFile,
59
- K as resetConfigOverrides,
60
- L as resetConfigRuntimeState,
61
- M as resolveCanonicalConfigPath,
62
- O as resolveConfigPath,
63
- P as resolveConfigPathCandidate,
64
- Q as resolveConfigSnapshotHash,
65
- R as resolveConfigWriteAfterWrite,
66
- U as resolveConfigWriteFollowUp,
67
- V as resolveDefaultConfigCandidates,
68
- W as resolveGatewayLockDir,
69
- X as resolveGatewayPort,
70
- Y as resolveIncludeRoots,
71
- Z as resolveIsNixMode,
72
- _ as resolveLegacyStateDir,
73
- $ as resolveLegacyStateDirs,
74
- a0 as resolveNewStateDir,
75
- a1 as resolveOAuthDir,
76
- a2 as resolveOAuthPath,
77
- a3 as resolveRuntimeConfigCacheKey,
78
- r2 as resolveSecretInputRef,
79
- k2 as resolveSecretInputString,
80
- a4 as resolveStateDir,
81
- a5 as selectApplicableRuntimeConfig,
82
- a6 as setConfigOverride,
83
- a7 as setRuntimeConfigSnapshot,
84
- a8 as setRuntimeConfigSnapshotRefreshHandler,
85
- a9 as shouldAttemptLastKnownGoodRecovery,
86
- aa as transformConfigFile,
87
- ab as transformConfigFileWithRetry,
88
- ac as unsetConfigOverride,
89
- ad as validateConfigObject,
90
- ae as validateConfigObjectRaw,
91
- af as validateConfigObjectRawWithPlugins,
92
- ag as validateConfigObjectWithPlugins,
93
- ah as writeConfigFile
94
- };
@@ -1,4 +0,0 @@
1
- import { i } from "./index-ZWLWkJXc.js";
2
- export {
3
- i as getRuntimeConfig
4
- };
@@ -1,4 +0,0 @@
1
- import { am } from "./index-ZWLWkJXc.js";
2
- export {
3
- am as ensureOpenClawModelsJson
4
- };
@@ -1,8 +0,0 @@
1
- import { ai as getChannelPlugin } from "./index-ZWLWkJXc.js";
2
- import { aj, ak, al } from "./index-ZWLWkJXc.js";
3
- export {
4
- getChannelPlugin,
5
- aj as getLoadedChannelPlugin,
6
- ak as listChannelPlugins,
7
- al as normalizeChannelId
8
- };
@@ -1,4 +0,0 @@
1
- import { as } from "./index-ZWLWkJXc.js";
2
- export {
3
- as as resolvePluginDiscoveryProvidersRuntime
4
- };
@@ -1,4 +0,0 @@
1
- import { ar as createSubsystemLogger } from "./index-ZWLWkJXc.js";
2
- export {
3
- createSubsystemLogger
4
- };
@@ -1,5 +0,0 @@
1
- import { an, ao } from "./index-ZWLWkJXc.js";
2
- export {
3
- an as appendAssistantMessageToSessionTranscript,
4
- ao as appendExactAssistantMessageToSessionTranscript
5
- };