@openclaw/arcee-provider 2026.7.2-beta.1 → 2026.7.2-beta.3

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
@@ -3,7 +3,7 @@ import { ARCEE_DEFAULT_MODEL_REF, ARCEE_OPENROUTER_DEFAULT_MODEL_REF, applyArcee
3
3
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
4
4
  import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth-api-key";
5
5
  import { readConfiguredProviderCatalogEntries } from "openclaw/plugin-sdk/provider-catalog-shared";
6
- import { OPENAI_COMPATIBLE_REPLAY_HOOKS } from "openclaw/plugin-sdk/provider-model-shared";
6
+ import { buildProviderReplayFamilyHooks } from "openclaw/plugin-sdk/provider-model-shared";
7
7
  //#region extensions/arcee/index.ts
8
8
  /**
9
9
  * Arcee AI provider plugin entry. It supports direct Arcee auth and OpenRouter
@@ -111,7 +111,7 @@ var arcee_default = definePluginEntry({
111
111
  baseUrl: normalizedBaseUrl
112
112
  } : void 0;
113
113
  },
114
- ...OPENAI_COMPATIBLE_REPLAY_HOOKS
114
+ ...buildProviderReplayFamilyHooks({ family: "openai-compatible" })
115
115
  });
116
116
  }
117
117
  });
@@ -3,6 +3,7 @@ import { ARCEE_BASE_URL, ARCEE_MODEL_CATALOG, buildArceeModelDefinition } from "
3
3
  /** Canonical OpenRouter API base URL for Arcee-routed models. */
4
4
  const OPENROUTER_BASE_URL = "https://openrouter.ai/api/v1";
5
5
  const OPENROUTER_LEGACY_BASE_URL = "https://openrouter.ai/v1";
6
+ const ARCEE_OPENROUTER_MODEL_IDS = /* @__PURE__ */ new Set(["trinity-large-preview", "trinity-large-thinking"]);
6
7
  function normalizeBaseUrl(baseUrl) {
7
8
  return (baseUrl ?? "").trim().replace(/\/+$/, "");
8
9
  }
@@ -12,11 +13,11 @@ function normalizeArceeOpenRouterBaseUrl(baseUrl) {
12
13
  if (!normalized) return;
13
14
  if (normalized === "https://openrouter.ai/api/v1" || normalized === OPENROUTER_LEGACY_BASE_URL) return OPENROUTER_BASE_URL;
14
15
  }
15
- /** Convert a bare Arcee model id to the OpenRouter `arcee/*` id. */
16
+ /** Convert a bare or legacy Arcee model id to OpenRouter's `arcee-ai/*` id. */
16
17
  function toArceeOpenRouterModelId(modelId) {
17
18
  const normalized = modelId.trim();
18
- if (!normalized || normalized.startsWith("arcee/")) return normalized;
19
- return `arcee/${normalized}`;
19
+ if (!normalized || normalized.startsWith("arcee-ai/")) return normalized;
20
+ return `arcee-ai/${normalized.startsWith("arcee/") ? normalized.slice(6) : normalized}`;
20
21
  }
21
22
  /** Build direct Arcee catalog models. */
22
23
  function buildArceeCatalogModels() {
@@ -24,7 +25,7 @@ function buildArceeCatalogModels() {
24
25
  }
25
26
  /** Build OpenRouter-routed Arcee catalog models. */
26
27
  function buildArceeOpenRouterCatalogModels() {
27
- return buildArceeCatalogModels().map((model) => Object.assign({}, model, { id: toArceeOpenRouterModelId(model.id) }));
28
+ return buildArceeCatalogModels().filter((model) => ARCEE_OPENROUTER_MODEL_IDS.has(model.id)).map((model) => Object.assign({}, model, { id: toArceeOpenRouterModelId(model.id) }));
28
29
  }
29
30
  /** Build the direct Arcee provider config. */
30
31
  function buildArceeProvider() {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/arcee-provider",
3
- "version": "2026.7.2-beta.1",
3
+ "version": "2026.7.2-beta.3",
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.1"
9
+ "version": "2026.7.2-beta.3"
10
10
  }
11
11
  }
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/arcee-provider",
3
- "version": "2026.7.2-beta.1",
3
+ "version": "2026.7.2-beta.3",
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.1"
21
+ "pluginApi": ">=2026.7.2-beta.3"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.7.2-beta.1",
24
+ "openclawVersion": "2026.7.2-beta.3",
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.1"
42
+ "openclaw": ">=2026.7.2-beta.3"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "openclaw": {