Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
088bb4bee4 | ||
|
|
95ec036d85 | ||
|
|
c84b7aa983 | ||
|
|
849fe726ea | ||
|
|
f57a0fc7c4 | ||
|
|
fbae1bed22 | ||
|
|
7657ba8249 | ||
|
|
67ca4a3370 | ||
|
|
c023ff6f85 | ||
|
|
6995e72caa | ||
|
|
bc26de1a38 | ||
|
|
7f92e87bfc | ||
|
|
02370e2338 |
@ -1,8 +1,8 @@
|
||||
{
|
||||
"id": "openclaw-kitchen-sink-fixture",
|
||||
"name": "OpenClaw Kitchen Sink",
|
||||
"version": "0.2.4",
|
||||
"description": "Generated kitchen-sink fixture for OpenClaw plugin API surface 2026.4.29.",
|
||||
"version": "0.2.5",
|
||||
"description": "Generated kitchen-sink fixture for OpenClaw plugin API surface 2026.5.7.",
|
||||
"enabledByDefault": false,
|
||||
"kind": [
|
||||
"tool",
|
||||
@ -57,6 +57,42 @@
|
||||
"hook"
|
||||
]
|
||||
},
|
||||
"channelConfigs": {
|
||||
"kitchen-sink-channel": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"configured": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"disabled": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"uiHints": {
|
||||
"token": {
|
||||
"sensitive": true
|
||||
}
|
||||
},
|
||||
"label": "Kitchen Sink",
|
||||
"description": "Credential-free channel fixture for deterministic Kitchen Sink conversations.",
|
||||
"commands": {
|
||||
"nativeCommandsAutoEnabled": true,
|
||||
"nativeSkillsAutoEnabled": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"setup": {
|
||||
"providers": [
|
||||
{
|
||||
|
||||
2159
package-lock.json
generated
2159
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@openclaw/kitchen-sink",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"private": false,
|
||||
"description": "Credential-free kitchen-sink OpenClaw plugin fixture covering the public plugin API surface.",
|
||||
"type": "module",
|
||||
@ -50,15 +50,15 @@
|
||||
"clawhubSpec": "clawhub:@openclaw/kitchen-sink",
|
||||
"npmSpec": "@openclaw/kitchen-sink",
|
||||
"defaultChoice": "clawhub",
|
||||
"minHostVersion": "2026.4.29"
|
||||
"minHostVersion": ">=2026.5.7"
|
||||
},
|
||||
"release": {
|
||||
"publishToClawHub": true,
|
||||
"publishToNpm": true
|
||||
},
|
||||
"build": {
|
||||
"openclawVersion": "2026.4.29",
|
||||
"pluginSdkVersion": "2026.4.29"
|
||||
"openclawVersion": "2026.5.7",
|
||||
"pluginSdkVersion": "2026.5.7"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
@ -76,13 +76,14 @@
|
||||
"test": "npm run check"
|
||||
},
|
||||
"dependencies": {
|
||||
"openclaw": "2026.4.29"
|
||||
"openclaw": "2026.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-inspector": "0.3.5"
|
||||
"@openclaw/plugin-inspector": "0.3.10"
|
||||
},
|
||||
"overrides": {
|
||||
"@anthropic-ai/sdk": "0.91.1"
|
||||
"@anthropic-ai/sdk": "0.91.1",
|
||||
"uuid": "14.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22"
|
||||
|
||||
@ -51,6 +51,7 @@ const requiredFiles = [
|
||||
const missingFiles = requiredFiles.filter((file) => !files.has(file));
|
||||
|
||||
const packageJson = JSON.parse(fs.readFileSync("package.json", "utf8"));
|
||||
const pluginManifest = JSON.parse(fs.readFileSync("openclaw.plugin.json", "utf8"));
|
||||
const issues = [];
|
||||
|
||||
function sameStringArray(actual, expected) {
|
||||
@ -109,8 +110,12 @@ if (packageJson.openclaw?.install?.npmSpec !== "@openclaw/kitchen-sink") {
|
||||
if (packageJson.openclaw?.install?.defaultChoice !== "clawhub") {
|
||||
issues.push('openclaw.install.defaultChoice must be "clawhub"');
|
||||
}
|
||||
if (packageJson.openclaw?.install?.minHostVersion !== buildOpenClawVersion) {
|
||||
issues.push("openclaw.install.minHostVersion must match openclaw.build.openclawVersion");
|
||||
if (packageJson.openclaw?.install?.minHostVersion !== `>=${buildOpenClawVersion}`) {
|
||||
issues.push("openclaw.install.minHostVersion must be a semver floor for openclaw.build.openclawVersion");
|
||||
}
|
||||
const kitchenSinkChannelConfig = pluginManifest.channelConfigs?.["kitchen-sink-channel"];
|
||||
if (!kitchenSinkChannelConfig?.schema || kitchenSinkChannelConfig.schema.type !== "object") {
|
||||
issues.push("openclaw.plugin.json must declare channelConfigs.kitchen-sink-channel.schema");
|
||||
}
|
||||
if (packageJson.openclaw?.release?.publishToClawHub !== true) {
|
||||
issues.push("openclaw.release.publishToClawHub must be true");
|
||||
|
||||
@ -215,6 +215,29 @@ function renderManifest({ manifestContracts, packageVersion }) {
|
||||
onCommands: ["kitchen", "kitchen-sink"],
|
||||
onCapabilities: ["provider", "channel", "tool", "hook"],
|
||||
},
|
||||
channelConfigs: {
|
||||
"kitchen-sink-channel": {
|
||||
schema: {
|
||||
type: "object",
|
||||
additionalProperties: false,
|
||||
properties: {
|
||||
configured: { type: "boolean", default: true },
|
||||
disabled: { type: "boolean", default: false },
|
||||
enabled: { type: "boolean", default: true },
|
||||
token: { type: "string" },
|
||||
},
|
||||
},
|
||||
uiHints: {
|
||||
token: { sensitive: true },
|
||||
},
|
||||
label: "Kitchen Sink",
|
||||
description: "Credential-free channel fixture for deterministic Kitchen Sink conversations.",
|
||||
commands: {
|
||||
nativeCommandsAutoEnabled: true,
|
||||
nativeSkillsAutoEnabled: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
setup: {
|
||||
providers: [
|
||||
{ id: "kitchen-sink-provider", authMethods: ["none"], envVars: [] },
|
||||
@ -256,7 +279,7 @@ function renderPackageJson({ packageVersion }) {
|
||||
clawhubSpec: "clawhub:@openclaw/kitchen-sink",
|
||||
npmSpec: "@openclaw/kitchen-sink",
|
||||
defaultChoice: "clawhub",
|
||||
minHostVersion: packageVersion,
|
||||
minHostVersion: `>=${packageVersion}`,
|
||||
};
|
||||
packageJson.openclaw.release = {
|
||||
...(packageJson.openclaw.release ?? {}),
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Generated by scripts/sync-surface.mjs from openclaw 2026.4.29. Do not edit by hand.
|
||||
// Generated by scripts/sync-surface.mjs from openclaw 2026.5.7. Do not edit by hand.
|
||||
import { observeKitchenHook } from "./scenarios.js";
|
||||
|
||||
export function registerAllHooks(api) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Generated by scripts/sync-surface.mjs from openclaw 2026.4.29. Do not edit by hand.
|
||||
// Generated by scripts/sync-surface.mjs from openclaw 2026.5.7. Do not edit by hand.
|
||||
|
||||
export function registerAllRegistrars(api) {
|
||||
safeRegister("registerAgentEventSubscription", () => api.registerAgentEventSubscription(payloadFor("registerAgentEventSubscription")));
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Generated by scripts/sync-surface.mjs from openclaw 2026.4.29. Do not edit by hand.
|
||||
// Generated by scripts/sync-surface.mjs from openclaw 2026.5.7. Do not edit by hand.
|
||||
import type * as sdk0 from "openclaw/plugin-sdk";
|
||||
import type * as sdk1 from "openclaw/plugin-sdk/account-core";
|
||||
import type * as sdk2 from "openclaw/plugin-sdk/account-helpers";
|
||||
|
||||
@ -10,7 +10,7 @@ import {
|
||||
export const plugin = {
|
||||
id: PLUGIN_ID,
|
||||
name: "OpenClaw Kitchen Sink",
|
||||
version: "0.2.4",
|
||||
version: "0.2.5",
|
||||
description: "Credential-free fixture covering OpenClaw plugin API seams.",
|
||||
expectedDiagnostics: KITCHEN_SINK_EXPECTED_DIAGNOSTICS,
|
||||
register(api) {
|
||||
|
||||
@ -5,28 +5,44 @@ export const DEFAULT_KITCHEN_SINK_PERSONALITY = "full";
|
||||
export const KITCHEN_SINK_EXPECTED_DIAGNOSTICS = {
|
||||
full: [
|
||||
"only bundled plugins can register agent tool result middleware",
|
||||
"agent event subscription registration requires id and handle",
|
||||
'agent harness "kitchen-sink-agent-harness" registration missing required runtime methods',
|
||||
'channel "kitchen-sink-channel-probe" registration missing required config helpers',
|
||||
"cli registration missing explicit commands metadata",
|
||||
"only bundled plugins can register Codex app-server extension factories",
|
||||
'compaction provider "kitchen-sink-compaction-provider" registration missing summarize',
|
||||
"context engine registration missing id",
|
||||
"control UI descriptor registration requires id, surface, label, and valid optional fields",
|
||||
"http route registration missing or invalid auth: /kitchen-sink/http-route",
|
||||
"node invoke policy registration missing commands",
|
||||
"only bundled plugins can register trusted tool policies",
|
||||
"plugin must declare contracts.tools for: kitchen-sink-tool",
|
||||
"plugin must own memory slot or declare contracts.memoryEmbeddingProviders for adapter: kitchen-sink-memory-embedding-provider",
|
||||
"memory prompt supplement registration missing builder",
|
||||
"session extension registration requires namespace and description",
|
||||
"session scheduler job registration requires unique id, sessionKey, and kind",
|
||||
"tool metadata registration missing toolName",
|
||||
],
|
||||
conformance: [],
|
||||
adversarial: [
|
||||
"only bundled plugins can register agent tool result middleware",
|
||||
"agent event subscription registration requires id and handle",
|
||||
'agent harness "kitchen-sink-agent-harness" registration missing required runtime methods',
|
||||
'channel "kitchen-sink-channel-probe" registration missing required config helpers',
|
||||
"cli registration missing explicit commands metadata",
|
||||
"only bundled plugins can register Codex app-server extension factories",
|
||||
'compaction provider "kitchen-sink-compaction-provider" registration missing summarize',
|
||||
"context engine registration missing id",
|
||||
"control UI descriptor registration requires id, surface, label, and valid optional fields",
|
||||
"http route registration missing or invalid auth: /kitchen-sink/http-route",
|
||||
"node invoke policy registration missing commands",
|
||||
"only bundled plugins can register trusted tool policies",
|
||||
"plugin must declare contracts.tools for: kitchen-sink-tool",
|
||||
"plugin must own memory slot or declare contracts.memoryEmbeddingProviders for adapter: kitchen-sink-memory-embedding-provider",
|
||||
"memory prompt supplement registration missing builder",
|
||||
"session extension registration requires namespace and description",
|
||||
"session scheduler job registration requires unique id, sessionKey, and kind",
|
||||
"tool metadata registration missing toolName",
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user