Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

feat(openclaw): add catalog icon (#3362)

Hao Zhe3b2571b36e0b
diff --git a/docs/images/ov-logo-icon.png b/docs/images/ov-logo-icon.png
new file mode 100644
index 000000000..383182f34
Binary files /dev/null and b/docs/images/ov-logo-icon.png differ
diff --git a/examples/openclaw-plugin/openclaw.plugin.json b/examples/openclaw-plugin/openclaw.plugin.json
index 40e3ea242..775e271c5 100644
--- a/examples/openclaw-plugin/openclaw.plugin.json
+++ b/examples/openclaw-plugin/openclaw.plugin.json
@@ -3,6 +3,7 @@
"name": "OpenViking",
"kind": "context-engine",
"description": "OpenClaw context-engine plugin for memory management — powered by OpenViking",
+ "icon": "https://raw.githubusercontent.com/volcengine/OpenViking/main/docs/images/ov-logo-icon.png",
"activation": {
"onStartup": true,
"onCapabilities": [
diff --git a/examples/openclaw-plugin/tests/ut/manifest-contracts.test.ts b/examples/openclaw-plugin/tests/ut/manifest-contracts.test.ts
index b15c5d427..3c03b66e0 100644
--- a/examples/openclaw-plugin/tests/ut/manifest-contracts.test.ts
+++ b/examples/openclaw-plugin/tests/ut/manifest-contracts.test.ts
@@ -1,4 +1,4 @@
-import { readFileSync } from "node:fs";
+import { existsSync, readFileSync, statSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { describe, expect, it, vi } from "vitest";
@@ -9,6 +9,7 @@ const pluginRoot = resolve(dirname(fileURLToPath(import.meta.url)), "../..");
const manifest = JSON.parse(
readFileSync(resolve(pluginRoot, "openclaw.plugin.json"), "utf8"),
) as {
+ icon?: string;
activation?: { onStartup?: boolean; onCapabilities?: string[] };
contracts?: { tools?: string[] };
configSchema?: { properties?: Record<string, unknown> };
@@ -79,6 +80,17 @@ function collectRegisteredToolNames(): string[] {
}
describe("OpenClaw 5.2 manifest contracts", () => {
+ it("declares an optimized HTTPS catalog icon", () => {
+ expect(manifest.icon).toBe(
+ "https://raw.githubusercontent.com/volcengine/OpenViking/main/docs/images/ov-logo-icon.png",
+ );
+ expect(new URL(manifest.icon as string).protocol).toBe("https:");
+
+ const iconPath = resolve(pluginRoot, "../..", "docs/images/ov-logo-icon.png");
+ expect(existsSync(iconPath)).toBe(true);
+ expect(statSync(iconPath).size).toBeLessThan(100_000);
+ });
+
it("declares every registerable runtime tool in contracts.tools", () => {
expect(manifest.contracts?.tools?.toSorted()).toEqual(collectRegisteredToolNames());
});