@openclaw/cerebras-provider 2026.7.2-beta.7 → 2026.8.1-beta.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.
- package/dist/api.js +1 -1
- package/dist/index.js +2 -2
- package/dist/models.js +19 -1
- package/dist/onboard.js +2 -1
- package/dist/{models-C3vFObF0.js → openclaw.plugin-BMw62OlY.js} +2 -20
- package/dist/provider-catalog.js +9 -6
- package/openclaw.plugin.json +1 -1
- package/package.json +4 -4
package/dist/api.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CEREBRAS_BASE_URL, CEREBRAS_MODEL_CATALOG, buildCerebrasCatalogModels } from "./models.js";
|
|
2
2
|
import { CEREBRAS_DEFAULT_MODEL_REF, applyCerebrasConfig } from "./onboard.js";
|
|
3
3
|
import { buildCerebrasProvider } from "./provider-catalog.js";
|
|
4
4
|
export { CEREBRAS_BASE_URL, CEREBRAS_DEFAULT_MODEL_REF, CEREBRAS_MODEL_CATALOG, applyCerebrasConfig, buildCerebrasCatalogModels, buildCerebrasProvider };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as openclaw_plugin_default } from "./openclaw.plugin-BMw62OlY.js";
|
|
2
2
|
import { applyCerebrasConfig } from "./onboard.js";
|
|
3
3
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
4
4
|
var cerebras_default = defineSingleProviderPluginEntry({
|
|
@@ -15,7 +15,7 @@ var cerebras_default = defineSingleProviderPluginEntry({
|
|
|
15
15
|
noteMessage: ["Cerebras provides high-speed OpenAI-compatible inference for GPT OSS and GLM models.", "Get your API key at: https://cloud.cerebras.ai"].join("\n"),
|
|
16
16
|
noteTitle: "Cerebras"
|
|
17
17
|
},
|
|
18
|
-
catalog: {
|
|
18
|
+
catalog: {}
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
package/dist/models.js
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as openclaw_plugin_default } from "./openclaw.plugin-BMw62OlY.js";
|
|
2
|
+
import { buildManifestModelDefinition } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
3
|
+
//#region extensions/cerebras/models.ts
|
|
4
|
+
/**
|
|
5
|
+
* Cerebras model catalog helpers derived from the plugin manifest.
|
|
6
|
+
*/
|
|
7
|
+
const CEREBRAS_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.cerebras;
|
|
8
|
+
/** Base URL for Cerebras OpenAI-compatible inference. */
|
|
9
|
+
const CEREBRAS_BASE_URL = CEREBRAS_MANIFEST_CATALOG.baseUrl;
|
|
10
|
+
/** Cerebras model catalog entries from the plugin manifest. */
|
|
11
|
+
const CEREBRAS_MODEL_CATALOG = CEREBRAS_MANIFEST_CATALOG.models;
|
|
12
|
+
/** Builds normalized Cerebras catalog model definitions. */
|
|
13
|
+
function buildCerebrasCatalogModels() {
|
|
14
|
+
return CEREBRAS_MODEL_CATALOG.map(buildManifestModelDefinition({
|
|
15
|
+
providerId: "cerebras",
|
|
16
|
+
catalog: CEREBRAS_MANIFEST_CATALOG
|
|
17
|
+
}));
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
2
20
|
export { CEREBRAS_BASE_URL, CEREBRAS_MODEL_CATALOG, buildCerebrasCatalogModels };
|
package/dist/onboard.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as openclaw_plugin_default } from "./openclaw.plugin-BMw62OlY.js";
|
|
2
|
+
import { CEREBRAS_BASE_URL, buildCerebrasCatalogModels } from "./models.js";
|
|
2
3
|
import { readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
3
4
|
import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
4
5
|
//#region extensions/cerebras/onboard.ts
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { buildManifestModelDefinition } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
2
1
|
//#region extensions/cerebras/openclaw.plugin.json
|
|
3
2
|
var openclaw_plugin_default = {
|
|
4
3
|
id: "cerebras",
|
|
@@ -60,7 +59,7 @@ var openclaw_plugin_default = {
|
|
|
60
59
|
}
|
|
61
60
|
]
|
|
62
61
|
} },
|
|
63
|
-
"discovery": { "cerebras": "
|
|
62
|
+
"discovery": { "cerebras": "static" }
|
|
64
63
|
},
|
|
65
64
|
setup: { "providers": [{
|
|
66
65
|
"id": "cerebras",
|
|
@@ -87,21 +86,4 @@ var openclaw_plugin_default = {
|
|
|
87
86
|
}
|
|
88
87
|
};
|
|
89
88
|
//#endregion
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Cerebras model catalog helpers derived from the plugin manifest.
|
|
93
|
-
*/
|
|
94
|
-
const CEREBRAS_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.cerebras;
|
|
95
|
-
/** Base URL for Cerebras OpenAI-compatible inference. */
|
|
96
|
-
const CEREBRAS_BASE_URL = CEREBRAS_MANIFEST_CATALOG.baseUrl;
|
|
97
|
-
/** Cerebras model catalog entries from the plugin manifest. */
|
|
98
|
-
const CEREBRAS_MODEL_CATALOG = CEREBRAS_MANIFEST_CATALOG.models;
|
|
99
|
-
/** Builds normalized Cerebras catalog model definitions. */
|
|
100
|
-
function buildCerebrasCatalogModels() {
|
|
101
|
-
return CEREBRAS_MODEL_CATALOG.map(buildManifestModelDefinition({
|
|
102
|
-
providerId: "cerebras",
|
|
103
|
-
catalog: CEREBRAS_MANIFEST_CATALOG
|
|
104
|
-
}));
|
|
105
|
-
}
|
|
106
|
-
//#endregion
|
|
107
|
-
export { openclaw_plugin_default as i, CEREBRAS_MODEL_CATALOG as n, buildCerebrasCatalogModels as r, CEREBRAS_BASE_URL as t };
|
|
89
|
+
export { openclaw_plugin_default as t };
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as openclaw_plugin_default } from "./openclaw.plugin-BMw62OlY.js";
|
|
2
|
+
import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
2
3
|
//#region extensions/cerebras/provider-catalog.ts
|
|
4
|
+
/**
|
|
5
|
+
* Cerebras model provider builder.
|
|
6
|
+
*/
|
|
3
7
|
/** Builds the Cerebras OpenAI-compatible model provider config. */
|
|
4
8
|
function buildCerebrasProvider() {
|
|
5
|
-
return {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
9
|
+
return buildManifestModelProviderConfig({
|
|
10
|
+
providerId: "cerebras",
|
|
11
|
+
catalog: openclaw_plugin_default.modelCatalog.providers.cerebras
|
|
12
|
+
});
|
|
10
13
|
}
|
|
11
14
|
//#endregion
|
|
12
15
|
export { buildCerebrasProvider };
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/cerebras-provider",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.8.1-beta.2",
|
|
4
4
|
"description": "OpenClaw Cerebras provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.
|
|
21
|
+
"pluginApi": ">=2026.8.1-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.
|
|
24
|
+
"openclawVersion": "2026.8.1-beta.2",
|
|
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.
|
|
41
|
+
"openclaw": ">=2026.8.1-beta.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|