@acedatacloud/openclaw-provider 2026.5.34 → 2026.10.1
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/README.md +72 -59
- package/assets/icon.png +0 -0
- package/dist/index.d.ts +4 -10
- package/dist/index.js +33 -19
- package/dist/src/chat/generated-catalog.d.ts +9 -7
- package/dist/src/chat/generated-catalog.js +3893 -65
- package/dist/src/chat/onboard.d.ts +1 -1
- package/dist/src/chat/onboard.js +13 -2
- package/dist/src/chat/provider-catalog.d.ts +4 -2
- package/dist/src/chat/provider-catalog.js +2 -51
- package/dist/src/chat/runtime.d.ts +4 -0
- package/dist/src/chat/runtime.js +77 -0
- package/dist/src/constants.d.ts +1 -1
- package/dist/src/constants.js +1 -1
- package/dist/src/search/acedata-search-config.js +6 -4
- package/dist/src/search/acedata-search-provider.d.ts +1 -1
- package/dist/src/search/acedata-search-shared.d.ts +2 -1
- package/dist/src/search/acedata-search-shared.js +37 -6
- package/dist/src/services/catalog.d.ts +46 -0
- package/dist/src/services/catalog.js +24 -0
- package/dist/src/services/client.d.ts +36 -0
- package/dist/src/services/client.js +315 -0
- package/dist/src/services/contracts/face.json +16 -0
- package/dist/src/services/contracts/fish-audio.json +15 -0
- package/dist/src/services/contracts/flux.json +13 -0
- package/dist/src/services/contracts/google-search.json +9 -0
- package/dist/src/services/contracts/gpt-image.json +13 -0
- package/dist/src/services/contracts/grok.json +12 -0
- package/dist/src/services/contracts/happyhorse.json +11 -0
- package/dist/src/services/contracts/kling.json +20 -0
- package/dist/src/services/contracts/midjourney.json +17 -0
- package/dist/src/services/contracts/minimax.json +13 -0
- package/dist/src/services/contracts/nano-banana.json +12 -0
- package/dist/src/services/contracts/qwen-image.json +11 -0
- package/dist/src/services/contracts/seedance.json +11 -0
- package/dist/src/services/contracts/seedream.json +13 -0
- package/dist/src/services/contracts/suno.json +27 -0
- package/dist/src/services/contracts/veo.json +15 -0
- package/dist/src/services/contracts/wan.json +12 -0
- package/dist/src/services/media.d.ts +25 -0
- package/dist/src/services/media.js +350 -0
- package/dist/src/services/parameters.d.ts +6 -0
- package/dist/src/services/parameters.js +165 -0
- package/dist/src/services/tools.d.ts +6 -0
- package/dist/src/services/tools.js +59 -0
- package/docs/architecture.md +58 -0
- package/docs/capabilities.md +75 -0
- package/docs/cookbook.md +77 -0
- package/docs/model-catalog.md +126 -0
- package/openclaw.plugin.json +5679 -8
- package/package.json +31 -23
- package/skills/acedata-face/SKILL.md +14 -0
- package/skills/acedata-fish-audio/SKILL.md +20 -0
- package/skills/acedata-flux/SKILL.md +18 -0
- package/skills/acedata-google-search/SKILL.md +14 -0
- package/skills/acedata-gpt-image/SKILL.md +18 -0
- package/skills/acedata-grok/SKILL.md +17 -0
- package/skills/acedata-happyhorse/SKILL.md +16 -0
- package/skills/acedata-kling/SKILL.md +25 -0
- package/skills/acedata-midjourney/SKILL.md +22 -0
- package/skills/acedata-minimax/SKILL.md +18 -0
- package/skills/acedata-nano-banana/SKILL.md +17 -0
- package/skills/acedata-qwen-image/SKILL.md +16 -0
- package/skills/acedata-seedance/SKILL.md +16 -0
- package/skills/acedata-seedream/SKILL.md +18 -0
- package/skills/acedata-suno/SKILL.md +32 -0
- package/skills/acedata-veo/SKILL.md +20 -0
- package/skills/acedata-wan/SKILL.md +17 -0
- package/index.ts +0 -110
- package/src/chat/generated-catalog.ts +0 -77
- package/src/chat/model-overrides.json +0 -93
- package/src/chat/onboard.ts +0 -33
- package/src/chat/provider-catalog.ts +0 -73
- package/src/constants.ts +0 -3
- package/src/search/acedata-search-client.ts +0 -160
- package/src/search/acedata-search-config.ts +0 -76
- package/src/search/acedata-search-provider.ts +0 -80
- package/src/search/acedata-search-shared.ts +0 -29
package/README.md
CHANGED
|
@@ -1,76 +1,89 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Ace Data Cloud provider for OpenClaw
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
An Ace Data Cloud maintained provider for LLMs, images, video, music, speech,
|
|
4
|
+
Google web search and creative tools.
|
|
5
|
+
Source: [AceDataCloud/OpenClawProvider](https://github.com/AceDataCloud/OpenClawProvider).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
This package is not bundled with OpenClaw. ClawHub listing, security review, and
|
|
8
|
+
an official publisher badge are separate approval steps; this release does not
|
|
9
|
+
claim those approvals.
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
## Setup
|
|
10
12
|
|
|
11
|
-
|
|
13
|
+
Download `acedatacloud-openclaw-provider-2026.10.1.tgz` from the
|
|
14
|
+
[GitHub release](https://github.com/AceDataCloud/OpenClawProvider/releases/tag/v2026.10.1),
|
|
15
|
+
then install the reviewed archive and enter an API key:
|
|
12
16
|
|
|
13
|
-
```
|
|
14
|
-
openclaw plugins install npm
|
|
17
|
+
```sh
|
|
18
|
+
openclaw plugins install npm-pack:./acedatacloud-openclaw-provider-2026.10.1.tgz
|
|
19
|
+
openclaw onboard --auth-choice acedatacloud-api-key
|
|
15
20
|
```
|
|
16
21
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
Review OpenClaw's source/capability prompts before accepting installation.
|
|
23
|
+
ClawHub security review and npm publication are separate; this guide does not
|
|
24
|
+
claim either registry has accepted the release.
|
|
25
|
+
Get an API-consumer key from [Ace Data Cloud](https://platform.acedata.cloud).
|
|
26
|
+
The default model is `acedatacloud/gpt-4.1-mini`.
|
|
27
|
+
|
|
28
|
+
The chat catalog covers 90 public models across OpenAI, Claude, Gemini, Grok,
|
|
29
|
+
DeepSeek, Kimi, and GLM. Each model uses its own supported Chat Completions,
|
|
30
|
+
Responses, or Messages route, input capabilities, reasoning controls, and prices.
|
|
31
|
+
See [model support and cost estimates](docs/model-catalog.md). No automatic
|
|
32
|
+
fallback changes the chosen model.
|
|
33
|
+
|
|
34
|
+
Native media providers cover Nano Banana, GPT Image, Seedream, Flux, Qwen Image,
|
|
35
|
+
Midjourney, Seedance, Veo, Kling, Grok Video, Happy Horse, MiniMax H3, Wan, Suno
|
|
36
|
+
and Fish Audio. 97 optional tools across 17 services expose advanced editing,
|
|
37
|
+
voice/persona management, face transformation, search and task retrieval.
|
|
38
|
+
See [capability and tool reference](docs/capabilities.md) and the
|
|
39
|
+
[official-contract architecture decision](docs/architecture.md).
|
|
40
|
+
|
|
41
|
+
[Setup and validation cookbook](docs/cookbook.md) includes environment-key setup,
|
|
42
|
+
model selection, and optional web search.
|
|
43
|
+
|
|
44
|
+
For a native image after setup:
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
openclaw infer image generate --model acedatacloud-nano-banana/nano-banana-2-lite \
|
|
48
|
+
--prompt "A blue circle on a white background" --count 1 --output image.jpg
|
|
21
49
|
```
|
|
22
50
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## What you get in v2026.5.34
|
|
26
|
-
|
|
27
|
-
| Capability | Status | Notes |
|
|
28
|
-
|---|---|---|
|
|
29
|
-
| **Chat** | ✅ shipping | 62 curated models (Claude opus/sonnet/haiku, GPT-4.1/4o/5.x, o-series, Gemini 3.x, Grok 4, DeepSeek V3/R1/V4, Kimi K2, GLM 5) — plus any model id you pass through (e.g. `acedatacloud/gpt-5.4-mini`) via `resolveDynamicModel` |
|
|
30
|
-
| **Web Search** | ✅ shipping | Google SERP — supports `search` / `images` / `news` / `videos` / `maps` / `places` verticals |
|
|
31
|
-
| **Image generation** | 🚧 follow-up PR | Midjourney, Flux dev/pro/kontext, Seedream 4 / 4.5, NanoBanana / NanoBanana Pro, `gpt-image-2` — currently exposed via chat-style passthrough; native `ImageGenerationProvider` is planned |
|
|
32
|
-
| **Video generation** | 🚧 follow-up PR | Sora, Veo 3 / 3.1-fast, Kling 2.1, Luma Ray 2, Hailuo 02, Wan 2.5, Seedance 1 Pro, Pixverse 4.5 — needs an async task-polling adapter |
|
|
33
|
-
| **Music generation** | 🚧 follow-up PR | Suno v5, Producer — needs an async task-polling adapter |
|
|
34
|
-
|
|
35
|
-
## Status
|
|
51
|
+
This is a paid generation. Use the task retrieval tools to recover an existing
|
|
52
|
+
result after a timeout instead of generating it again.
|
|
36
53
|
|
|
37
|
-
|
|
54
|
+
## Credentials and network access
|
|
38
55
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Or pass `--acedata-api-key <key>` on the CLI.
|
|
52
|
-
|
|
53
|
-
## Billing
|
|
54
|
-
|
|
55
|
-
Billing is computed on the Ace Data Cloud platform side (per-request credits). To avoid double-estimation, this plugin reports `cost: 0` in OpenClaw's model catalog — see your real usage at [`platform.acedata.cloud/console/usages`](https://platform.acedata.cloud/console/usages).
|
|
56
|
+
Chat sends the selected model's prompts and tool messages to its documented
|
|
57
|
+
endpoint under `https://api.acedata.cloud` with the user's API key. Native Claude
|
|
58
|
+
Messages also receives an explicit Bearer header.
|
|
59
|
+
Optional search sends the query to `https://api.acedata.cloud/serp/google`.
|
|
60
|
+
Media generation uses the corresponding service endpoint on that same host.
|
|
61
|
+
Media downloads use the host's SSRF guard without forwarding your API key.
|
|
62
|
+
Billable generation and tool operations consume Ace Credits; model, count,
|
|
63
|
+
resolution and duration affect cost. Optional tools follow normal OpenClaw
|
|
64
|
+
policy and do not add a separate payment approval dialog.
|
|
65
|
+
The plugin has no shell commands, filesystem tools, or background service.
|
|
66
|
+
Use a service-scoped key where possible; cross-service use needs appropriate access.
|
|
67
|
+
Never send API keys to maintainers or attach them to issue reports.
|
|
56
68
|
|
|
57
69
|
## Development
|
|
58
70
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
pnpm
|
|
65
|
-
pnpm
|
|
66
|
-
pnpm
|
|
67
|
-
pnpm test
|
|
71
|
+
Use Node 24.16+ and pnpm 9.15.4. The published OpenClaw SDK is pinned as a development
|
|
72
|
+
dependency, so no sibling source checkout is needed.
|
|
73
|
+
|
|
74
|
+
```sh
|
|
75
|
+
pnpm install --frozen-lockfile
|
|
76
|
+
pnpm sync-catalog:check
|
|
77
|
+
pnpm sync-services:check
|
|
78
|
+
pnpm typecheck
|
|
79
|
+
pnpm test
|
|
80
|
+
pnpm build
|
|
81
|
+
pnpm pack
|
|
82
|
+
clawhub package validate .
|
|
83
|
+
clawhub package publish . --owner acedatacloud --dry-run
|
|
68
84
|
```
|
|
69
85
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
PRs welcome. Please open an issue first for non-trivial changes. See [CONTRIBUTING](.github/CONTRIBUTING.md) (TBD).
|
|
73
|
-
|
|
74
|
-
## License
|
|
86
|
+
The package uses built JavaScript entrypoints. Runtime APIs come from the installed
|
|
87
|
+
OpenClaw host. Report problems through [GitHub issues](https://github.com/AceDataCloud/OpenClawProvider/issues).
|
|
75
88
|
|
|
76
|
-
|
|
89
|
+
MIT License. Maintained by Ace Data Cloud, dev@acedata.cloud.
|
package/assets/icon.png
ADDED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import type { ProviderResolveDynamicModelContext, ProviderRuntimeModel } from "openclaw/plugin-sdk/plugin-entry";
|
|
1
|
+
import type { ProviderResolveDynamicModelContext, ProviderRuntimeModel, OpenClawPluginDefinition } from "openclaw/plugin-sdk/plugin-entry";
|
|
2
2
|
declare function stripAcedataProviderPrefix(modelId: string): string;
|
|
3
|
-
declare function resolveDynamicChatModel(ctx: ProviderResolveDynamicModelContext): ProviderRuntimeModel;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
name: string;
|
|
7
|
-
description: string;
|
|
8
|
-
configSchema: import("openclaw/plugin-sdk/plugin-entry").OpenClawPluginConfigSchema;
|
|
9
|
-
register: NonNullable<import("openclaw/plugin-sdk/plugin-entry").OpenClawPluginDefinition["register"]>;
|
|
10
|
-
} & Pick<import("openclaw/plugin-sdk/plugin-entry").OpenClawPluginDefinition, "kind" | "reload" | "nodeHostCommands" | "securityAuditCollectors">;
|
|
11
|
-
export default _default;
|
|
3
|
+
declare function resolveDynamicChatModel(ctx: ProviderResolveDynamicModelContext): ProviderRuntimeModel | undefined;
|
|
4
|
+
declare const plugin: OpenClawPluginDefinition;
|
|
5
|
+
export default plugin;
|
|
12
6
|
export { resolveDynamicChatModel, stripAcedataProviderPrefix };
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
2
|
-
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth
|
|
3
|
-
import {
|
|
4
|
-
import { buildAcedataChatProvider
|
|
2
|
+
import { createProviderApiKeyAuthMethod } from "openclaw/plugin-sdk/provider-auth";
|
|
3
|
+
import { ACEDATA_PROVIDER_ID } from "./src/constants.js";
|
|
4
|
+
import { buildAcedataChatProvider } from "./src/chat/provider-catalog.js";
|
|
5
|
+
import { GENERATED_CHAT_MODELS } from "./src/chat/generated-catalog.js";
|
|
5
6
|
import { ACEDATA_DEFAULT_MODEL_REF, applyAcedataConfig, } from "./src/chat/onboard.js";
|
|
7
|
+
import { resolveAcedataThinkingProfile, wrapAcedataStream, prepareAcedataRuntimeAuth, } from "./src/chat/runtime.js";
|
|
6
8
|
import { createAcedataWebSearchProvider } from "./src/search/acedata-search-provider.js";
|
|
7
|
-
|
|
9
|
+
import { registerServiceTools } from "./src/services/tools.js";
|
|
10
|
+
import { registerMediaProviders } from "./src/services/media.js";
|
|
8
11
|
const ACEDATA_MODEL_ID_PREFIX_RE = new RegExp(`^${ACEDATA_PROVIDER_ID}\\/`);
|
|
9
12
|
// OpenClaw passes the qualified id (e.g. "acedatacloud/claude-haiku-4-5-20251001")
|
|
10
13
|
// when a model is not in the static catalog. The api.acedata.cloud upstream
|
|
@@ -14,28 +17,21 @@ function stripAcedataProviderPrefix(modelId) {
|
|
|
14
17
|
}
|
|
15
18
|
function resolveDynamicChatModel(ctx) {
|
|
16
19
|
const bareId = stripAcedataProviderPrefix(ctx.modelId);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
baseUrl: ACEDATA_BASE_URL,
|
|
23
|
-
reasoning: isAcedataReasoningModel(bareId),
|
|
24
|
-
input: ["text", "image"],
|
|
25
|
-
cost: ZERO_COST,
|
|
26
|
-
contextWindow: 128_000,
|
|
27
|
-
maxTokens: 8_192,
|
|
28
|
-
};
|
|
20
|
+
const known = GENERATED_CHAT_MODELS.find((model) => model.id === bareId);
|
|
21
|
+
if (!known)
|
|
22
|
+
return undefined;
|
|
23
|
+
const { reasoningEfforts, thinkingToggle, ...model } = known;
|
|
24
|
+
return { ...model, provider: ACEDATA_PROVIDER_ID };
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
const plugin = definePluginEntry({
|
|
31
27
|
id: ACEDATA_PROVIDER_ID,
|
|
32
28
|
name: "Ace Data Cloud Provider",
|
|
33
|
-
description: "
|
|
29
|
+
description: "Ace Data Cloud models, media generation, speech, search and creative tools",
|
|
34
30
|
register(api) {
|
|
35
31
|
api.registerProvider({
|
|
36
32
|
id: ACEDATA_PROVIDER_ID,
|
|
37
33
|
label: "Ace Data Cloud",
|
|
38
|
-
docsPath: "/
|
|
34
|
+
docsPath: "https://github.com/AceDataCloud/OpenClawProvider/blob/main/docs/cookbook.md",
|
|
39
35
|
envVars: ["ACEDATA_API_KEY", "ACEDATACLOUD_API_KEY"],
|
|
40
36
|
auth: [
|
|
41
37
|
createProviderApiKeyAuthMethod({
|
|
@@ -82,8 +78,26 @@ export default definePluginEntry({
|
|
|
82
78
|
}),
|
|
83
79
|
},
|
|
84
80
|
resolveDynamicModel: (ctx) => resolveDynamicChatModel(ctx),
|
|
81
|
+
resolveThinkingProfile: resolveAcedataThinkingProfile,
|
|
82
|
+
wrapStreamFn: wrapAcedataStream,
|
|
83
|
+
wrapSimpleCompletionStreamFn: wrapAcedataStream,
|
|
84
|
+
prepareRuntimeAuth: prepareAcedataRuntimeAuth,
|
|
85
|
+
});
|
|
86
|
+
api.registerModelCatalogProvider({
|
|
87
|
+
provider: ACEDATA_PROVIDER_ID,
|
|
88
|
+
kinds: ["text"],
|
|
89
|
+
staticCatalog: () => GENERATED_CHAT_MODELS.map((model) => ({
|
|
90
|
+
kind: "text",
|
|
91
|
+
provider: ACEDATA_PROVIDER_ID,
|
|
92
|
+
model: model.id,
|
|
93
|
+
label: model.name,
|
|
94
|
+
source: "static",
|
|
95
|
+
})),
|
|
85
96
|
});
|
|
86
97
|
api.registerWebSearchProvider(createAcedataWebSearchProvider());
|
|
98
|
+
registerMediaProviders(api);
|
|
99
|
+
registerServiceTools(api);
|
|
87
100
|
},
|
|
88
101
|
});
|
|
102
|
+
export default plugin;
|
|
89
103
|
export { resolveDynamicChatModel, stripAcedataProviderPrefix };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type { OpenClawConfig } from "openclaw/plugin-sdk/config-contracts";
|
|
2
|
+
type Provider = NonNullable<NonNullable<OpenClawConfig["models"]>["providers"]>[string];
|
|
3
|
+
export type GeneratedCatalogEntry = Omit<Provider["models"][number], "api" | "input"> & {
|
|
4
|
+
api: "openai-completions" | "openai-responses" | "anthropic-messages";
|
|
5
|
+
baseUrl: string;
|
|
6
|
+
input: Array<"text" | "image">;
|
|
7
|
+
reasoningEfforts: string[];
|
|
8
|
+
thinkingToggle: boolean;
|
|
8
9
|
};
|
|
9
10
|
export declare const GENERATED_CHAT_MODELS: readonly GeneratedCatalogEntry[];
|
|
11
|
+
export {};
|