Skip to content

Commit 89e5f89

Browse files
committed
feat(plugins): externalize NovitaAI provider
1 parent eb0087d commit 89e5f89

14 files changed

Lines changed: 133 additions & 14 deletions

‎docs/docs_map.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8504,7 +8504,7 @@ Do not edit it by hand; run `pnpm docs:map:gen`.
85048504
- Headings:
85058505
- H2: Setup
85068506
- H2: Defaults
8507-
- H2: Bundled model catalog
8507+
- H2: Model catalog
85088508
- H2: When to choose Novita
85098509
- H2: Troubleshooting
85108510
- H2: Related

‎docs/plugins/plugin-inventory.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Each entry lists the package, distribution route, and description.
5151

5252
## Core npm package
5353

54-
58 plugins
54+
57 plugins
5555

5656
- **[admin-http-rpc](/plugins/reference/admin-http-rpc)** (`@openclaw/admin-http-rpc`) - included in OpenClaw. OpenClaw admin HTTP RPC endpoint.
5757

@@ -121,8 +121,6 @@ Each entry lists the package, distribution route, and description.
121121

122122
- **[minimax](/plugins/reference/minimax)** (`@openclaw/minimax-provider`) - included in OpenClaw. Adds MiniMax, MiniMax Portal model provider support to OpenClaw.
123123

124-
- **[novita](/plugins/reference/novita)** (`@openclaw/novita-provider`) - included in OpenClaw. Adds Novita, Novita AI, Novitaai model provider support to OpenClaw.
125-
126124
- **[nvidia](/plugins/reference/nvidia)** (`@openclaw/nvidia-provider`) - included in OpenClaw. Adds NVIDIA model provider support to OpenClaw.
127125

128126
- **[oc-path](/plugins/reference/oc-path)** (`@openclaw/oc-path`) - included in OpenClaw. Adds the openclaw path CLI for oc:// workspace file addressing.
@@ -171,7 +169,7 @@ Each entry lists the package, distribution route, and description.
171169

172170
## Official external packages
173171

174-
87 plugins
172+
88 plugins
175173

176174
- **[acpx](/plugins/reference/acpx)** (`@openclaw/acpx`) - npm; ClawHub. OpenClaw ACP runtime backend with plugin-owned session and transport management.
177175

@@ -281,6 +279,8 @@ Each entry lists the package, distribution route, and description.
281279

282280
- **[nostr](/plugins/reference/nostr)** (`@openclaw/nostr`) - npm; ClawHub. OpenClaw Nostr channel plugin for NIP-04 encrypted direct messages.
283281

282+
- **[novita](/plugins/reference/novita)** (`@openclaw/novita-provider`) - npm; ClawHub: `clawhub:@openclaw/novita-provider`. Adds Novita, Novita AI, Novitaai model provider support to OpenClaw.
283+
284284
- **[openshell](/plugins/reference/openshell)** (`@openclaw/openshell-sandbox`) - npm; ClawHub. OpenClaw sandbox backend for the NVIDIA OpenShell CLI with mirrored local workspaces and SSH command execution.
285285

286286
- **[parallel](/tools/parallel-search)** (`@openclaw/parallel-plugin`) - npm; ClawHub: `clawhub:@openclaw/parallel-plugin`. Adds web search provider support.

‎docs/plugins/reference/novita.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Adds Novita, Novita AI, Novitaai model provider support to OpenClaw.
1212
## Distribution
1313

1414
- Package: `@openclaw/novita-provider`
15-
- Install route: included in OpenClaw
15+
- Install route: npm; ClawHub: `clawhub:@openclaw/novita-provider`
1616

1717
## Surface
1818

‎docs/providers/novita.md‎

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,19 @@ title: "NovitaAI"
77
---
88

99
NovitaAI is a hosted AI infrastructure provider with an OpenAI-compatible API.
10-
It ships as a bundled OpenClaw provider (no separate plugin install), so
11-
credentials go through the normal model auth flow and model refs look like
12-
`novita/deepseek/deepseek-v4-pro`.
10+
OpenClaw provides NovitaAI through the official external
11+
`@openclaw/novita-provider` plugin. Model refs use the
12+
`novita/deepseek/deepseek-v4-pro` form.
1313

1414
## Setup
1515

16+
Install the plugin and restart the Gateway:
17+
18+
```bash
19+
openclaw plugins install @openclaw/novita-provider
20+
openclaw gateway restart
21+
```
22+
1623
Create an API key at [novita.ai/settings/key-management](https://novita.ai/settings/key-management), then run:
1724

1825
```bash
@@ -29,13 +36,14 @@ export NOVITA_API_KEY="<your-novita-api-key>" # pragma: allowlist secret
2936

3037
| Setting | Value |
3138
| ------------- | --------------------------------- |
39+
| Plugin | `@openclaw/novita-provider` |
3240
| Provider id | `novita` |
3341
| Aliases | `novita-ai`, `novitaai` |
3442
| Base URL | `https://api.novita.ai/openai/v1` |
3543
| Env var | `NOVITA_API_KEY` |
3644
| Default model | `novita/deepseek/deepseek-v4-pro` |
3745

38-
## Bundled model catalog
46+
## Model catalog
3947

4048
- `novita/moonshotai/kimi-k3`
4149
- `novita/moonshotai/kimi-k2.7-code`

‎extensions/novita/README.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# OpenClaw NovitaAI provider
2+
3+
Official OpenClaw provider plugin for NovitaAI's OpenAI-compatible API.
4+
5+
## Install
6+
7+
```sh
8+
openclaw plugins install @openclaw/novita-provider
9+
openclaw gateway restart
10+
```
11+
12+
## Docs
13+
14+
See `docs/providers/novita.md` in the OpenClaw repository, or the published
15+
docs at `https://docs.openclaw.ai/providers/novita`.

‎extensions/novita/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const PROVIDER_ID = "novita";
1010
export default defineSingleProviderPluginEntry({
1111
id: PROVIDER_ID,
1212
name: "NovitaAI Provider",
13-
description: "Bundled NovitaAI provider plugin",
13+
description: "Official OpenClaw NovitaAI provider plugin",
1414
manifest,
1515
provider: {
1616
label: "NovitaAI",

‎extensions/novita/package.json‎

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
11
{
22
"name": "@openclaw/novita-provider",
33
"version": "2026.7.2",
4-
"private": true,
54
"description": "OpenClaw NovitaAI provider plugin",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/openclaw/openclaw"
8+
},
69
"type": "module",
710
"devDependencies": {
811
"@openclaw/plugin-sdk": "workspace:*"
912
},
1013
"openclaw": {
1114
"extensions": [
1215
"./index.ts"
13-
]
16+
],
17+
"install": {
18+
"clawhubSpec": "clawhub:@openclaw/novita-provider",
19+
"npmSpec": "@openclaw/novita-provider",
20+
"defaultChoice": "npm",
21+
"minHostVersion": ">=2026.7.2"
22+
},
23+
"compat": {
24+
"pluginApi": ">=2026.7.2"
25+
},
26+
"build": {
27+
"openclawVersion": "2026.7.2",
28+
"bundledDist": false
29+
},
30+
"release": {
31+
"publishToClawHub": true,
32+
"publishToNpm": true
33+
}
1434
}
1535
}

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@
293293
"!dist/extensions/mxc/**",
294294
"!dist/extensions/nextcloud-talk/**",
295295
"!dist/extensions/nostr/**",
296+
"!dist/extensions/novita/**",
296297
"!dist/extensions/parallel/**",
297298
"!dist/extensions/perplexity/**",
298299
"!dist/extensions/qianfan/**",

‎scripts/lib/official-external-provider-catalog.json‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,56 @@
912912
}
913913
}
914914
},
915+
{
916+
"name": "@openclaw/novita-provider",
917+
"description": "OpenClaw NovitaAI provider plugin",
918+
"source": "official",
919+
"kind": "provider",
920+
"openclaw": {
921+
"plugin": {
922+
"id": "novita",
923+
"label": "NovitaAI"
924+
},
925+
"providerEndpoints": [
926+
{
927+
"endpointClass": "novita-native",
928+
"hosts": ["api.novita.ai"]
929+
}
930+
],
931+
"providers": [
932+
{
933+
"id": "novita",
934+
"aliases": ["novita-ai", "novitaai"],
935+
"name": "NovitaAI",
936+
"docs": "/providers/novita",
937+
"categories": ["cloud", "llm"],
938+
"envVars": ["NOVITA_API_KEY"],
939+
"authChoices": [
940+
{
941+
"method": "api-key",
942+
"choiceId": "novita-api-key",
943+
"choiceLabel": "NovitaAI API key",
944+
"choiceHint": "OpenAI-compatible NovitaAI endpoint",
945+
"groupId": "novita",
946+
"groupLabel": "NovitaAI",
947+
"groupHint": "OpenAI-compatible NovitaAI endpoint",
948+
"optionKey": "novitaApiKey",
949+
"cliFlag": "--novita-api-key",
950+
"cliOption": "--novita-api-key <key>",
951+
"cliDescription": "NovitaAI API key",
952+
"onboardingScopes": ["text-inference"]
953+
}
954+
]
955+
}
956+
],
957+
"install": {
958+
"clawhubSpec": "clawhub:@openclaw/novita-provider",
959+
"npmSpec": "@openclaw/novita-provider",
960+
"defaultChoice": "npm",
961+
"minHostVersion": ">=2026.7.2"
962+
}
963+
}
964+
},
915965
{
916966
"name": "@openclaw/groq-provider",
917967
"description": "OpenClaw Groq media-understanding provider.",

‎src/cli/plugins-location-bridges.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ describe("listPersistedBundledPluginLocationBridges", () => {
168168
["byteplus", "@openclaw/byteplus-provider", true],
169169
["duckduckgo", "@openclaw/duckduckgo-plugin", false],
170170
["mistral", "@openclaw/mistral-provider", true],
171+
["novita", "@openclaw/novita-provider", true],
171172
["synthetic", "@openclaw/synthetic-provider", true],
172173
["teams-meetings", "@openclaw/teams-meetings", true],
173174
["volcengine", "@openclaw/volcengine-provider", true],

0 commit comments

Comments
 (0)