@openclaw/tencent-provider 2026.7.2-beta.3 → 2026.7.2-beta.4

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, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-BQhpfSMm.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-E1q0bkxA.js";
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, buildTokenHubModelDefinition, buildTokenHubProvider, buildTokenPlanModelDefinition, buildTokenPlanProvider };
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./models-BQhpfSMm.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./models-E1q0bkxA.js";
2
2
  import { buildTokenHubProvider, buildTokenPlanProvider } from "./provider-catalog.js";
3
3
  import { TOKENHUB_DEFAULT_MODEL_REF, TOKENPLAN_DEFAULT_MODEL_REF, applyTokenHubConfig, applyTokenPlanConfig } from "./onboard.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
- import { buildSingleProviderApiKeyCatalog } from "openclaw/plugin-sdk/provider-catalog-shared";
7
+ import { buildOpenAICompatibleProviderCatalog } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
8
8
  //#region extensions/tencent/index.ts
9
9
  function buildStaticCatalogEntries(providerId, catalog) {
10
10
  return catalog.map((entry) => ({
@@ -51,12 +51,16 @@ var tencent_default = definePluginEntry({
51
51
  auth: [createTokenHubApiKeyAuthMethod()],
52
52
  catalog: {
53
53
  order: "simple",
54
- run: (ctx) => buildSingleProviderApiKeyCatalog({
54
+ run: (ctx) => buildOpenAICompatibleProviderCatalog({
55
55
  ctx,
56
56
  providerId: TOKENHUB_PROVIDER_ID,
57
57
  buildProvider: buildTokenHubProvider
58
58
  })
59
59
  },
60
+ staticCatalog: {
61
+ order: "simple",
62
+ run: async () => ({ provider: buildTokenHubProvider() })
63
+ },
60
64
  augmentModelCatalog: () => buildStaticCatalogEntries(TOKENHUB_PROVIDER_ID, TOKENHUB_MODEL_CATALOG),
61
65
  wrapStreamFn: wrapTencentProviderStream
62
66
  });
@@ -87,12 +91,16 @@ var tencent_default = definePluginEntry({
87
91
  })],
88
92
  catalog: {
89
93
  order: "simple",
90
- run: (ctx) => buildSingleProviderApiKeyCatalog({
94
+ run: (ctx) => buildOpenAICompatibleProviderCatalog({
91
95
  ctx,
92
96
  providerId: TOKENPLAN_PROVIDER_ID,
93
97
  buildProvider: buildTokenPlanProvider
94
98
  })
95
99
  },
100
+ staticCatalog: {
101
+ order: "simple",
102
+ run: async () => ({ provider: buildTokenPlanProvider() })
103
+ },
96
104
  augmentModelCatalog: () => buildStaticCatalogEntries(TOKENPLAN_PROVIDER_ID, TOKENPLAN_MODEL_CATALOG),
97
105
  wrapStreamFn: wrapTencentProviderStream
98
106
  });
@@ -83,8 +83,8 @@ var modelCatalog = {
83
83
  }
84
84
  },
85
85
  "discovery": {
86
- "tencent-tokenhub": "static",
87
- "tencent-tokenplan": "static"
86
+ "tencent-tokenhub": "refreshable",
87
+ "tencent-tokenplan": "refreshable"
88
88
  }
89
89
  };
90
90
  //#endregion
package/dist/models.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-BQhpfSMm.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-E1q0bkxA.js";
2
2
  export { TOKENHUB_BASE_URL, TOKENHUB_MODEL_CATALOG, TOKENHUB_PROVIDER_ID, TOKENPLAN_BASE_URL, TOKENPLAN_MODEL_CATALOG, TOKENPLAN_PROVIDER_ID, buildTokenHubModelDefinition, buildTokenPlanModelDefinition };
package/dist/onboard.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-BQhpfSMm.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-E1q0bkxA.js";
2
2
  import "./api.js";
3
3
  import { applyAgentDefaultModelPrimary, applyProviderConfigWithModelCatalog } from "openclaw/plugin-sdk/provider-onboard";
4
4
  //#region extensions/tencent/onboard.ts
@@ -1,4 +1,4 @@
1
- import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-BQhpfSMm.js";
1
+ import { a as TOKENPLAN_MODEL_CATALOG, c as buildTokenPlanModelDefinition, i as TOKENPLAN_BASE_URL, n as TOKENHUB_MODEL_CATALOG, s as buildTokenHubModelDefinition, t as TOKENHUB_BASE_URL } from "./models-E1q0bkxA.js";
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-BQhpfSMm.js";
1
+ import { o as TOKENPLAN_PROVIDER_ID, r as TOKENHUB_PROVIDER_ID } from "./models-E1q0bkxA.js";
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]);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/tencent-provider",
3
- "version": "2026.7.2-beta.3",
3
+ "version": "2026.7.2-beta.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/tencent-provider",
9
- "version": "2026.7.2-beta.3"
9
+ "version": "2026.7.2-beta.4"
10
10
  }
11
11
  }
12
12
  }
@@ -90,8 +90,8 @@
90
90
  }
91
91
  },
92
92
  "discovery": {
93
- "tencent-tokenhub": "static",
94
- "tencent-tokenplan": "static"
93
+ "tencent-tokenhub": "refreshable",
94
+ "tencent-tokenplan": "refreshable"
95
95
  }
96
96
  },
97
97
  "setup": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/tencent-provider",
3
- "version": "2026.7.2-beta.3",
3
+ "version": "2026.7.2-beta.4",
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.7.2-beta.3"
18
+ "pluginApi": ">=2026.7.2-beta.4"
19
19
  },
20
20
  "build": {
21
- "openclawVersion": "2026.7.2-beta.3",
21
+ "openclawVersion": "2026.7.2-beta.4",
22
22
  "bundledDist": false
23
23
  },
24
24
  "release": {
@@ -41,7 +41,7 @@
41
41
  "README.md"
42
42
  ],
43
43
  "peerDependencies": {
44
- "openclaw": ">=2026.7.2-beta.3"
44
+ "openclaw": ">=2026.7.2-beta.4"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "openclaw": {