@openclaw/tencent-provider 2026.8.2 → 2026.8.33

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/api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, t as TOKENHUB_BASE_URL } from "./models-B2pfwcxZ.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, t as TOKENHUB_BASE_URL } from "./.setup/models-B2pfwcxZ.mjs";
2
2
  import { buildTokenHubProvider, buildTokenPlanProvider } from "./provider-catalog.js";
3
3
  export { TOKENHUB_BASE_URL, TOKENHUB_MODEL_CATALOG, TOKENHUB_PROVIDER_ID, TOKENPLAN_BASE_URL, TOKENPLAN_MODEL_CATALOG, TOKENPLAN_PROVIDER_ID, buildTokenHubProvider, buildTokenPlanProvider };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./models-B2pfwcxZ.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./.setup/models-B2pfwcxZ.mjs";
2
2
  import { TOKENHUB_DEFAULT_MODEL_REF, TOKENPLAN_DEFAULT_MODEL_REF, applyTokenHubConfig, applyTokenPlanConfig } from "./onboard.js";
3
3
  import { buildTokenHubProvider, buildTokenPlanProvider } from "./provider-catalog.js";
4
4
  import { wrapTencentProviderStream } from "./stream.js";
package/dist/models.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, t as TOKENHUB_BASE_URL } from "./models-B2pfwcxZ.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, t as TOKENHUB_BASE_URL } from "./.setup/models-B2pfwcxZ.mjs";
2
2
  export { TOKENHUB_BASE_URL, TOKENHUB_MODEL_CATALOG, TOKENHUB_PROVIDER_ID, TOKENPLAN_BASE_URL, TOKENPLAN_MODEL_CATALOG, TOKENPLAN_PROVIDER_ID };
package/dist/onboard.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as openclaw_plugin_default, t as TOKENHUB_BASE_URL } from "./models-B2pfwcxZ.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as openclaw_plugin_default, t as TOKENHUB_BASE_URL } from "./.setup/models-B2pfwcxZ.mjs";
2
2
  import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
4
4
  //#region extensions/tencent/onboard.ts
@@ -1,4 +1,4 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, t as TOKENHUB_BASE_URL } from "./models-B2pfwcxZ.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, t as TOKENHUB_BASE_URL } from "./.setup/models-B2pfwcxZ.mjs";
2
2
  //#region extensions/tencent/provider-catalog.ts
3
3
  function buildTokenHubProvider() {
4
4
  return {
package/dist/stream.js CHANGED
@@ -1,4 +1,4 @@
1
- import { o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./models-B2pfwcxZ.js";
1
+ import { o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./.setup/models-B2pfwcxZ.mjs";
2
2
  import { createPayloadPatchStreamWrapper } from "openclaw/plugin-sdk/provider-stream-shared";
3
3
  //#region extensions/tencent/stream.ts
4
4
  const TENCENT_PROVIDER_IDS = /* @__PURE__ */ new Set([TOKENHUB_PROVIDER_ID, TOKENPLAN_PROVIDER_ID]);
@@ -4,8 +4,11 @@
4
4
  "onStartup": false
5
5
  },
6
6
  "enabledByDefault": true,
7
- "providerCatalogEntry": "./provider-discovery.ts",
8
- "providers": ["tencent-tokenhub", "tencent-tokenplan"],
7
+ "providerCatalogEntry": "./dist/provider-discovery.js",
8
+ "providers": [
9
+ "tencent-tokenhub",
10
+ "tencent-tokenplan"
11
+ ],
9
12
  "modelCatalog": {
10
13
  "providers": {
11
14
  "tencent-tokenhub": {
@@ -19,7 +22,9 @@
19
22
  "status": "deprecated",
20
23
  "replacedBy": "hy3",
21
24
  "reasoning": true,
22
- "input": ["text"],
25
+ "input": [
26
+ "text"
27
+ ],
23
28
  "contextWindow": 256000,
24
29
  "maxTokens": 128000,
25
30
  "cost": {
@@ -33,35 +38,49 @@
33
38
  "output": 0.587,
34
39
  "cacheRead": 0.059,
35
40
  "cacheWrite": 0,
36
- "range": [0, 16000]
41
+ "range": [
42
+ 0,
43
+ 16000
44
+ ]
37
45
  },
38
46
  {
39
47
  "input": 0.235,
40
48
  "output": 0.939,
41
49
  "cacheRead": 0.088,
42
50
  "cacheWrite": 0,
43
- "range": [16000, 32000]
51
+ "range": [
52
+ 16000,
53
+ 32000
54
+ ]
44
55
  },
45
56
  {
46
57
  "input": 0.293,
47
58
  "output": 1.173,
48
59
  "cacheRead": 0.117,
49
60
  "cacheWrite": 0,
50
- "range": [32000]
61
+ "range": [
62
+ 32000
63
+ ]
51
64
  }
52
65
  ]
53
66
  },
54
67
  "compat": {
55
68
  "supportsUsageInStreaming": true,
56
69
  "supportsReasoningEffort": true,
57
- "supportedReasoningEfforts": ["none", "low", "high"]
70
+ "supportedReasoningEfforts": [
71
+ "none",
72
+ "low",
73
+ "high"
74
+ ]
58
75
  }
59
76
  },
60
77
  {
61
78
  "id": "hy3",
62
79
  "name": "Hy3 (TokenHub)",
63
80
  "reasoning": true,
64
- "input": ["text"],
81
+ "input": [
82
+ "text"
83
+ ],
65
84
  "contextWindow": 256000,
66
85
  "maxTokens": 128000,
67
86
  "cost": {
@@ -73,7 +92,11 @@
73
92
  "compat": {
74
93
  "supportsUsageInStreaming": true,
75
94
  "supportsReasoningEffort": true,
76
- "supportedReasoningEfforts": ["none", "low", "high"]
95
+ "supportedReasoningEfforts": [
96
+ "none",
97
+ "low",
98
+ "high"
99
+ ]
77
100
  }
78
101
  }
79
102
  ]
@@ -87,13 +110,19 @@
87
110
  "id": "hy3",
88
111
  "name": "Hy3 (TokenPlan)",
89
112
  "reasoning": true,
90
- "input": ["text"],
113
+ "input": [
114
+ "text"
115
+ ],
91
116
  "contextWindow": 256000,
92
117
  "maxTokens": 128000,
93
118
  "compat": {
94
119
  "supportsUsageInStreaming": true,
95
120
  "supportsReasoningEffort": true,
96
- "supportedReasoningEfforts": ["none", "low", "high"]
121
+ "supportedReasoningEfforts": [
122
+ "none",
123
+ "low",
124
+ "high"
125
+ ]
97
126
  }
98
127
  }
99
128
  ]
@@ -108,11 +137,15 @@
108
137
  "providers": [
109
138
  {
110
139
  "id": "tencent-tokenhub",
111
- "envVars": ["TOKENHUB_API_KEY"]
140
+ "envVars": [
141
+ "TOKENHUB_API_KEY"
142
+ ]
112
143
  },
113
144
  {
114
145
  "id": "tencent-tokenplan",
115
- "envVars": ["TOKENPLAN_API_KEY"]
146
+ "envVars": [
147
+ "TOKENPLAN_API_KEY"
148
+ ]
116
149
  }
117
150
  ]
118
151
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/tencent-provider",
3
- "version": "2026.8.2",
3
+ "version": "2026.8.33",
4
4
  "description": "OpenClaw Tencent Cloud provider plugin (TokenHub + Token Plan)",
5
5
  "type": "module",
6
6
  "openclaw": {
@@ -15,10 +15,10 @@
15
15
  "minHostVersion": ">=2026.6.9"
16
16
  },
17
17
  "compat": {
18
- "pluginApi": ">=2026.8.2"
18
+ "pluginApi": ">=2026.8.33"
19
19
  },
20
20
  "build": {
21
- "openclawVersion": "2026.8.2",
21
+ "openclawVersion": "2026.8.33",
22
22
  "bundledDist": false
23
23
  },
24
24
  "release": {
@@ -40,7 +40,7 @@
40
40
  "README.md"
41
41
  ],
42
42
  "peerDependencies": {
43
- "openclaw": ">=2026.8.2"
43
+ "openclaw": ">=2026.8.33"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {