@openclaw/arcee-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/index.js +9 -5
- package/npm-shrinkwrap.json +2 -2
- package/openclaw.plugin.json +5 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { buildArceeOpenRouterProvider, buildArceeProvider, normalizeArceeOpenRou
|
|
|
2
2
|
import { ARCEE_DEFAULT_MODEL_REF, ARCEE_OPENROUTER_DEFAULT_MODEL_REF, applyArceeConfig, applyArceeOpenRouterConfig } from "./onboard.js";
|
|
3
3
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
4
4
|
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
|
|
5
|
+
import { buildOpenAICompatibleLiveModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
|
|
5
6
|
import { readConfiguredProviderCatalogEntries } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
6
7
|
import { buildProviderReplayFamilyHooks } from "openclaw/plugin-sdk/provider-model-shared";
|
|
7
8
|
//#region extensions/arcee/index.ts
|
|
@@ -56,11 +57,13 @@ function buildArceeAuthMethods() {
|
|
|
56
57
|
})];
|
|
57
58
|
}
|
|
58
59
|
async function resolveArceeCatalog(ctx) {
|
|
59
|
-
const
|
|
60
|
-
if (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
const directAuth = ctx.resolveProviderApiKey(PROVIDER_ID);
|
|
61
|
+
if (directAuth.apiKey) return { provider: await buildOpenAICompatibleLiveModelProviderConfig({
|
|
62
|
+
providerId: PROVIDER_ID,
|
|
63
|
+
providerConfig: buildArceeProvider(),
|
|
64
|
+
apiKey: directAuth.apiKey,
|
|
65
|
+
discoveryApiKey: directAuth.discoveryApiKey
|
|
66
|
+
}) };
|
|
64
67
|
const openRouterKey = ctx.resolveProviderApiKey("openrouter").apiKey;
|
|
65
68
|
if (openRouterKey) return { provider: {
|
|
66
69
|
...buildArceeOpenRouterProvider(),
|
|
@@ -92,6 +95,7 @@ var arcee_default = definePluginEntry({
|
|
|
92
95
|
envVars: ["ARCEEAI_API_KEY", "OPENROUTER_API_KEY"],
|
|
93
96
|
auth: buildArceeAuthMethods(),
|
|
94
97
|
catalog: { run: resolveArceeCatalog },
|
|
98
|
+
staticCatalog: { run: async () => ({ provider: buildArceeProvider() }) },
|
|
95
99
|
augmentModelCatalog: ({ config }) => readConfiguredProviderCatalogEntries({
|
|
96
100
|
config,
|
|
97
101
|
providerId: PROVIDER_ID
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/arcee-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.4",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/arcee-provider",
|
|
9
|
-
"version": "2026.7.2-beta.
|
|
9
|
+
"version": "2026.7.2-beta.4"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
}
|
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/arcee-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.4",
|
|
4
4
|
"description": "OpenClaw Arcee 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.7.2-beta.
|
|
21
|
+
"pluginApi": ">=2026.7.2-beta.4"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.2-beta.
|
|
24
|
+
"openclawVersion": "2026.7.2-beta.4",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"README.md"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.7.2-beta.
|
|
42
|
+
"openclaw": ">=2026.7.2-beta.4"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"openclaw": {
|