@openclaw/synthetic-provider 2026.9.2 → 2026.9.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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { SYNTHETIC_DEFAULT_MODEL_REF } from "./models.js";
2
- import { applySyntheticConfig } from "./onboard.js";
2
+ import { applySyntheticConnectionConfig } from "./onboard.js";
3
3
  import { SYNTHETIC_MODEL_DISCOVERY, buildSyntheticProvider } from "./provider-catalog.js";
4
4
  import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
5
5
  var synthetic_default = defineSingleProviderPluginEntry({
@@ -8,6 +8,7 @@ var synthetic_default = defineSingleProviderPluginEntry({
8
8
  description: "Synthetic provider plugin",
9
9
  manifest: {
10
10
  id: "synthetic",
11
+ categories: ["models"],
11
12
  activation: { "onStartup": false },
12
13
  enabledByDefault: true,
13
14
  providers: ["synthetic"],
@@ -41,9 +42,10 @@ var synthetic_default = defineSingleProviderPluginEntry({
41
42
  docsPath: "/providers/synthetic",
42
43
  manifestAuth: {
43
44
  defaultModel: SYNTHETIC_DEFAULT_MODEL_REF,
44
- applyConfig: applySyntheticConfig
45
+ applyConfig: applySyntheticConnectionConfig
45
46
  },
46
47
  catalog: {
48
+ discoveryMode: "strict",
47
49
  buildProvider: buildSyntheticProvider,
48
50
  buildStaticProvider: buildSyntheticProvider,
49
51
  allowExplicitBaseUrl: true,
package/dist/onboard.js CHANGED
@@ -1,18 +1,20 @@
1
1
  import { SYNTHETIC_BASE_URL, SYNTHETIC_DEFAULT_MODEL_REF, SYNTHETIC_MODEL_CATALOG, buildSyntheticModelDefinition } from "./models.js";
2
- import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
2
+ import { createModelCatalogPresetAppliers, createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
3
3
  //#region extensions/synthetic/onboard.ts
4
- const { applyConfig: applySyntheticConfig, applyProviderConfig: applySyntheticProviderConfig } = createModelCatalogPresetAppliers({
4
+ const syntheticPreset = {
5
5
  primaryModelRef: SYNTHETIC_DEFAULT_MODEL_REF,
6
6
  resolveParams: () => ({
7
7
  providerId: "synthetic",
8
8
  api: "anthropic-messages",
9
9
  baseUrl: SYNTHETIC_BASE_URL,
10
- catalogModels: SYNTHETIC_MODEL_CATALOG.map(buildSyntheticModelDefinition),
10
+ catalogModels: () => SYNTHETIC_MODEL_CATALOG.map(buildSyntheticModelDefinition),
11
11
  aliases: [{
12
12
  modelRef: SYNTHETIC_DEFAULT_MODEL_REF,
13
13
  alias: "MiniMax M3"
14
14
  }]
15
15
  })
16
- });
16
+ };
17
+ const { applyConfig: applySyntheticConfig, applyProviderConfig: applySyntheticProviderConfig } = createModelCatalogPresetAppliers(syntheticPreset);
18
+ const { applyConfig: applySyntheticConnectionConfig } = createProviderConnectionPresetAppliers(syntheticPreset);
17
19
  //#endregion
18
- export { SYNTHETIC_DEFAULT_MODEL_REF, applySyntheticConfig, applySyntheticProviderConfig };
20
+ export { SYNTHETIC_DEFAULT_MODEL_REF, applySyntheticConfig, applySyntheticConnectionConfig, applySyntheticProviderConfig };
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "id": "synthetic",
3
+ "categories": ["models"],
3
4
  "activation": {
4
5
  "onStartup": false
5
6
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/synthetic-provider",
3
- "version": "2026.9.2",
3
+ "version": "2026.9.4",
4
4
  "description": "OpenClaw Synthetic provider plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.7.2"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.9.2"
21
+ "pluginApi": ">=2026.9.4"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.9.2",
24
+ "openclawVersion": "2026.9.4",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -38,7 +38,7 @@
38
38
  "README.md"
39
39
  ],
40
40
  "peerDependencies": {
41
- "openclaw": ">=2026.9.2"
41
+ "openclaw": ">=2026.9.4"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "openclaw": {