@openclaw/tencent-provider 2026.11.1 → 2026.11.2

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.
@@ -1,5 +1,5 @@
1
1
  import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
- // extensions/tencent/openclaw.plugin.json
2
+ //#region extensions/tencent/openclaw.plugin.json
3
3
  var openclaw_plugin_default = {
4
4
  id: "tencent",
5
5
  categories: ["models"],
@@ -194,7 +194,8 @@ var openclaw_plugin_default = {
194
194
  "properties": {}
195
195
  }
196
196
  };
197
- // extensions/tencent/models.ts
197
+ //#endregion
198
+ //#region extensions/tencent/models.ts
198
199
  const TOKENHUB_PROVIDER_ID = "tencent-tokenhub";
199
200
  const TOKENHUB_BASE_URL = openclaw_plugin_default.modelCatalog.providers[TOKENHUB_PROVIDER_ID].baseUrl;
200
201
  const TOKENHUB_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers[TOKENHUB_PROVIDER_ID];
@@ -209,4 +210,5 @@ const TOKENPLAN_MODEL_CATALOG = buildManifestModelProviderConfig({
209
210
  providerId: TOKENPLAN_PROVIDER_ID,
210
211
  catalog: TOKENPLAN_MANIFEST_CATALOG
211
212
  }).models.map((model) => Object.assign(model, { api: "openai-completions" }));
213
+ //#endregion
212
214
  export { TOKENPLAN_MODEL_CATALOG as a, TOKENPLAN_BASE_URL as i, TOKENHUB_MODEL_CATALOG as n, TOKENPLAN_PROVIDER_ID as o, TOKENHUB_PROVIDER_ID as r, openclaw_plugin_default as s, TOKENHUB_BASE_URL as t };
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 "./.setup/models-9x8zI11z.mjs";
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-CeL6cmHz.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 };
@@ -1,4 +1,4 @@
1
- // extensions/tencent/config-compat.ts
1
+ //#region extensions/tencent/config-compat.ts
2
2
  const TENCENT_TOKENHUB_HY3_MODEL_REF = "tencent-tokenhub/hy3";
3
3
  const TENCENT_TOKENHUB_HY3_PREVIEW_MODEL_REF = "tencent-tokenhub/hy3-preview";
4
4
  const TENCENT_TOKENHUB_HY4_PREVIEW_MODEL_REF = "tencent-tokenhub/hy4-preview";
@@ -65,4 +65,5 @@ function migrateTencentTokenHubModelDefaults(cfg) {
65
65
  changes
66
66
  };
67
67
  }
68
+ //#endregion
68
69
  export { migrateTencentTokenHubModelDefaults };
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
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-9x8zI11z.mjs";
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-CeL6cmHz.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";
5
5
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
6
6
  import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
7
7
  import { buildOpenAICompatibleProviderCatalog } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
8
- // extensions/tencent/index.ts
8
+ //#region extensions/tencent/index.ts
9
9
  const TENCENT_PROVIDERS = [{
10
10
  providerId: TOKENHUB_PROVIDER_ID,
11
11
  label: "Tencent TokenHub",
@@ -84,4 +84,5 @@ var tencent_default = definePluginEntry({
84
84
  });
85
85
  }
86
86
  });
87
+ //#endregion
87
88
  export { tencent_default as default };
package/dist/models.js CHANGED
@@ -1 +1,2 @@
1
- export { t as TOKENHUB_BASE_URL, n as TOKENHUB_MODEL_CATALOG, r as TOKENHUB_PROVIDER_ID, i as TOKENPLAN_BASE_URL, a as TOKENPLAN_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID } from "./.setup/models-9x8zI11z.mjs";
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-CeL6cmHz.mjs";
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,7 +1,7 @@
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-9x8zI11z.mjs";
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-CeL6cmHz.mjs";
2
2
  import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
4
- // extensions/tencent/onboard.ts
4
+ //#region extensions/tencent/onboard.ts
5
5
  const TOKENHUB_HY3_MODEL_REF = `${TOKENHUB_PROVIDER_ID}/hy3`;
6
6
  const TOKENHUB_HY3_PREVIEW_MODEL_REF = `${TOKENHUB_PROVIDER_ID}/hy3-preview`;
7
7
  const TOKENHUB_HY4_PREVIEW_MODEL_REF = `${TOKENHUB_PROVIDER_ID}/hy4-preview`;
@@ -48,4 +48,5 @@ const { applyConfig: applyTokenPlanConfig } = createProviderConnectionPresetAppl
48
48
  }]
49
49
  })
50
50
  });
51
+ //#endregion
51
52
  export { TOKENHUB_DEFAULT_MODEL_REF, TOKENPLAN_DEFAULT_MODEL_REF, applyTokenHubConfig, applyTokenPlanConfig };
@@ -1,5 +1,5 @@
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-9x8zI11z.mjs";
2
- // extensions/tencent/provider-catalog.ts
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-CeL6cmHz.mjs";
2
+ //#region extensions/tencent/provider-catalog.ts
3
3
  function buildTokenHubProvider() {
4
4
  return {
5
5
  baseUrl: TOKENHUB_BASE_URL,
@@ -14,4 +14,5 @@ function buildTokenPlanProvider() {
14
14
  models: structuredClone(TOKENPLAN_MODEL_CATALOG)
15
15
  };
16
16
  }
17
+ //#endregion
17
18
  export { buildTokenHubProvider, buildTokenPlanProvider };
@@ -1,5 +1,5 @@
1
1
  import { buildTokenHubProvider, buildTokenPlanProvider } from "./provider-catalog.js";
2
- // extensions/tencent/provider-discovery.ts
2
+ //#region extensions/tencent/provider-discovery.ts
3
3
  const tencentProviderDiscovery = [{
4
4
  id: "tencent-tokenhub",
5
5
  label: "Tencent TokenHub",
@@ -19,4 +19,5 @@ const tencentProviderDiscovery = [{
19
19
  run: async () => ({ provider: buildTokenPlanProvider() })
20
20
  }
21
21
  }];
22
+ //#endregion
22
23
  export { tencentProviderDiscovery as default };
package/dist/setup-api.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { migrateTencentTokenHubModelDefaults } from "./config-compat.js";
2
2
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
3
- // extensions/tencent/setup-api.ts
3
+ //#region extensions/tencent/setup-api.ts
4
4
  var setup_api_default = definePluginEntry({
5
5
  id: "tencent",
6
6
  name: "Tencent Cloud Provider Setup",
@@ -9,4 +9,5 @@ var setup_api_default = definePluginEntry({
9
9
  api.registerConfigMigration(migrateTencentTokenHubModelDefaults);
10
10
  }
11
11
  });
12
+ //#endregion
12
13
  export { setup_api_default as default };
package/dist/stream.js CHANGED
@@ -1,6 +1,6 @@
1
- import { o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./.setup/models-9x8zI11z.mjs";
1
+ import { o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./.setup/models-CeL6cmHz.mjs";
2
2
  import { createPayloadPatchStreamWrapper } from "openclaw/plugin-sdk/provider-stream-shared";
3
- // extensions/tencent/stream.ts
3
+ //#region extensions/tencent/stream.ts
4
4
  const TENCENT_PROVIDER_IDS = /* @__PURE__ */ new Set([TOKENHUB_PROVIDER_ID, TOKENPLAN_PROVIDER_ID]);
5
5
  const TENCENT_TWO_RUNG_EFFORT_MAP = Object.freeze({
6
6
  off: "none",
@@ -23,4 +23,5 @@ function wrapTencentProviderStream(ctx) {
23
23
  if (mapped !== void 0) payload.reasoning_effort = mapped;
24
24
  }, { shouldPatch: ({ model }) => TENCENT_PROVIDER_IDS.has(model.provider) && model.api === "openai-completions" && model.id === "hy3" });
25
25
  }
26
+ //#endregion
26
27
  export { wrapTencentProviderStream };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/tencent-provider",
3
- "version": "2026.11.1",
3
+ "version": "2026.11.2",
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.11.1"
18
+ "pluginApi": ">=2026.11.2"
19
19
  },
20
20
  "build": {
21
- "openclawVersion": "2026.11.1",
21
+ "openclawVersion": "2026.11.2",
22
22
  "bundledDist": false
23
23
  },
24
24
  "release": {
@@ -42,7 +42,7 @@
42
42
  "assets/activity.svg"
43
43
  ],
44
44
  "peerDependencies": {
45
- "openclaw": ">=2026.11.1"
45
+ "openclaw": ">=2026.11.2"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "openclaw": {
@@ -1 +0,0 @@
1
- {"version":3,"entries":[{"output":"api.js","source":"extensions/tencent/api.ts"},{"output":"config-compat.js","source":"extensions/tencent/config-compat.ts"},{"output":"index.js","source":"extensions/tencent/index.ts"},{"output":"models.js","source":"extensions/tencent/models.ts"},{"output":"onboard.js","source":"extensions/tencent/onboard.ts"},{"output":"provider-catalog.js","source":"extensions/tencent/provider-catalog.ts"},{"output":"provider-discovery.js","source":"extensions/tencent/provider-discovery.ts"},{"output":"setup-api.js","source":"extensions/tencent/setup-api.ts"},{"output":"stream.js","source":"extensions/tencent/stream.ts"}],"chunks":[{"output":".setup/models-9x8zI11z.mjs","sha256":"90cbbb39630e542db99dcdc6e75853e361e10f62faefcbd7f71ec1519829ee35","facadeSource":null,"sources":["extensions/tencent/models.ts","extensions/tencent/openclaw.plugin.json"]},{"output":"api.js","sha256":"9f36704566c294c7050ccb1cbcd40414faf1182119d4acba82221c2e0a52750b","facadeSource":"extensions/tencent/api.ts","sources":[]},{"output":"config-compat.js","sha256":"92f968ac57e57a925a6522e902580205ad8d52361ec0f5c6b123b1bfaebd80d5","facadeSource":"extensions/tencent/config-compat.ts","sources":["extensions/tencent/config-compat.ts"]},{"output":"index.js","sha256":"3105f95638ba9ab5520f7941749d1d46868a18168cd940d5ac3f346d1ffd1055","facadeSource":"extensions/tencent/index.ts","sources":["extensions/tencent/index.ts"]},{"output":"models.js","sha256":"dc2c0c757ed44d8eb1b3b4a2e57c79cc7c0f867ac411cab4cfba6ff0648ae99b","facadeSource":"extensions/tencent/models.ts","sources":[]},{"output":"onboard.js","sha256":"b1fd1fa5279343ecdaf7ab8b3f03b73ff3a2813c42a05bb97bd7e24d464dcb6a","facadeSource":"extensions/tencent/onboard.ts","sources":["extensions/tencent/onboard.ts"]},{"output":"provider-catalog.js","sha256":"87c81adc0d1201485f5002f7be3f67d7338ac303eb4848db7fd0583878098e32","facadeSource":"extensions/tencent/provider-catalog.ts","sources":["extensions/tencent/provider-catalog.ts"]},{"output":"provider-discovery.js","sha256":"4a588c80cbf2559a1d54761859598281eb733c7fddba49eb97bb10c4783d4ad8","facadeSource":"extensions/tencent/provider-discovery.ts","sources":["extensions/tencent/provider-discovery.ts"]},{"output":"setup-api.js","sha256":"b581b436796aae77d5a7811018c29ad6aeb02b612c56c02527e4b9f96c31b04e","facadeSource":"extensions/tencent/setup-api.ts","sources":["extensions/tencent/setup-api.ts"]},{"output":"stream.js","sha256":"f3a81504b5682819d355ea9f3213efa1ee3939022b425e435004fa044d2f7fd9","facadeSource":"extensions/tencent/stream.ts","sources":["extensions/tencent/stream.ts"]}],"unrenderedSources":["extensions/tencent/api.ts"]}