build: update dependencies

This commit is contained in:
Peter Steinberger
2026-04-23 04:00:04 +01:00
parent 1c91f3f09f
commit 06308e21f7
26 changed files with 613 additions and 575 deletions

View File

@@ -1,7 +1,7 @@
{
"specs": [
"@anthropic-ai/sdk@0.81.0",
"@anthropic-ai/sdk@0.90.0",
"@aws/bedrock-token-generator@^1.1.0",
"@mariozechner/pi-ai@0.68.1"
"@mariozechner/pi-ai@0.69.0"
]
}

View File

@@ -5,9 +5,9 @@
"description": "OpenClaw Amazon Bedrock Mantle (OpenAI-compatible) provider plugin",
"type": "module",
"dependencies": {
"@anthropic-ai/sdk": "0.81.0",
"@anthropic-ai/sdk": "0.90.0",
"@aws/bedrock-token-generator": "^1.1.0",
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -1,7 +1,7 @@
{
"specs": [
"@aws-sdk/client-bedrock-runtime@3.1032.0",
"@aws-sdk/client-bedrock@3.1032.0",
"@aws-sdk/credential-provider-node@3.972.32"
"@aws-sdk/client-bedrock-runtime@3.1033.0",
"@aws-sdk/client-bedrock@3.1033.0",
"@aws-sdk/credential-provider-node@3.972.33"
]
}

View File

@@ -5,9 +5,9 @@
"description": "OpenClaw Amazon Bedrock provider plugin",
"type": "module",
"dependencies": {
"@aws-sdk/client-bedrock": "3.1032.0",
"@aws-sdk/client-bedrock-runtime": "3.1032.0",
"@aws-sdk/credential-provider-node": "3.972.32"
"@aws-sdk/client-bedrock": "3.1033.0",
"@aws-sdk/client-bedrock-runtime": "3.1033.0",
"@aws-sdk/credential-provider-node": "3.972.33"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -1,3 +1,3 @@
{
"specs": ["@mariozechner/pi-ai@0.68.1"]
"specs": ["@mariozechner/pi-ai@0.69.0"]
}

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw Anthropic provider plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -1,3 +1,3 @@
{
"specs": ["@mariozechner/pi-coding-agent@0.68.1", "ws@^8.20.0", "zod@^4.3.6"]
"specs": ["@mariozechner/pi-coding-agent@0.69.0", "ws@^8.20.0", "zod@^4.3.6"]
}

View File

@@ -4,7 +4,7 @@
"description": "OpenClaw Codex harness and model provider plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-coding-agent": "0.68.1",
"@mariozechner/pi-coding-agent": "0.69.0",
"ws": "^8.20.0",
"zod": "^4.3.6"
},

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw Fireworks provider plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -6,7 +6,7 @@
"type": "module",
"dependencies": {
"@clack/prompts": "^1.2.0",
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -1,3 +1,3 @@
{
"specs": ["@google/genai@^1.50.1", "@mariozechner/pi-ai@0.68.1"]
"specs": ["@google/genai@^1.50.1", "@mariozechner/pi-ai@0.69.0"]
}

View File

@@ -309,7 +309,7 @@ describe("google-shared convertMessages", () => {
} as unknown as Context;
const contents = convertMessages(model, context);
expectConvertedRoles(contents, ["user", "model", "model"]);
expectConvertedRoles(contents, ["user", "model", "model", "user"]);
const toolCallPart = contents[2].parts?.find(
(part) => typeof part === "object" && part !== null && "functionCall" in part,
);

View File

@@ -6,7 +6,7 @@
"type": "module",
"dependencies": {
"@google/genai": "^1.50.1",
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw Kimi provider plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*"

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw LM Studio provider plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1"
"@mariozechner/pi-ai": "0.69.0"
},
"openclaw": {
"extensions": [

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw Ollama provider plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1",
"@mariozechner/pi-ai": "0.69.0",
"@sinclair/typebox": "0.34.49"
},
"devDependencies": {

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw OpenAI provider plugins",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1",
"@mariozechner/pi-ai": "0.69.0",
"ws": "^8.20.0"
},
"devDependencies": {

View File

@@ -34,6 +34,8 @@ describe("opencode-go provider plugin", () => {
"kimi-k2.6",
"mimo-v2-omni",
"mimo-v2-pro",
"mimo-v2.5",
"mimo-v2.5-pro",
"minimax-m2.5",
"minimax-m2.7",
"qwen3.5-plus",
@@ -61,13 +63,13 @@ describe("opencode-go provider plugin", () => {
input: ["text"],
reasoning: true,
contextWindow: 1_048_576,
maxTokens: 64_000,
maxTokens: 128_000,
});
expect(models.get("mimo-v2-omni")).toMatchObject({
input: ["text", "image"],
reasoning: true,
contextWindow: 262_144,
maxTokens: 64_000,
maxTokens: 128_000,
});
});

View File

@@ -4,8 +4,8 @@
"description": "OpenClaw Tlon/Urbit channel plugin",
"type": "module",
"dependencies": {
"@aws-sdk/client-s3": "3.1032.0",
"@aws-sdk/s3-request-presigner": "3.1032.0",
"@aws-sdk/client-s3": "3.1033.0",
"@aws-sdk/s3-request-presigner": "3.1033.0",
"@tloncorp/tlon-skill": "0.3.5",
"@urbit/aura": "^3.0.0"
},

View File

@@ -5,7 +5,7 @@
"description": "OpenClaw xAI plugin",
"type": "module",
"dependencies": {
"@mariozechner/pi-ai": "0.68.1",
"@mariozechner/pi-ai": "0.69.0",
"@sinclair/typebox": "0.34.49",
"ws": "^8.20.0"
},

View File

@@ -1534,10 +1534,10 @@
"@clack/prompts": "^1.2.0",
"@homebridge/ciao": "^1.3.6",
"@lydell/node-pty": "1.2.0-beta.12",
"@mariozechner/pi-agent-core": "0.68.1",
"@mariozechner/pi-ai": "0.68.1",
"@mariozechner/pi-coding-agent": "0.68.1",
"@mariozechner/pi-tui": "0.68.1",
"@mariozechner/pi-agent-core": "0.69.0",
"@mariozechner/pi-ai": "0.69.0",
"@mariozechner/pi-coding-agent": "0.69.0",
"@mariozechner/pi-tui": "0.69.0",
"@modelcontextprotocol/sdk": "1.29.0",
"@mozilla/readability": "^0.6.0",
"@sinclair/typebox": "0.34.49",
@@ -1587,8 +1587,8 @@
"jscpd": "4.0.9",
"jsdom": "^29.0.2",
"lit": "^3.3.2",
"oxfmt": "0.45.0",
"oxlint": "^1.60.0",
"oxfmt": "0.46.0",
"oxlint": "^1.61.0",
"oxlint-tsgolint": "^0.21.1",
"signal-utils": "0.21.1",
"tsdown": "0.21.9",
@@ -1617,7 +1617,7 @@
"packageManager": "pnpm@10.33.0",
"pnpm": {
"overrides": {
"@anthropic-ai/sdk": "0.81.0",
"@anthropic-ai/sdk": "0.90.0",
"hono": "4.12.14",
"@hono/node-server": "1.19.14",
"axios": "1.15.0",

1056
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -395,15 +395,18 @@ function convertAnthropicTools(tools: Context["tools"], isOAuthToken: boolean) {
if (!tools) {
return [];
}
return tools.map((tool) => ({
name: isOAuthToken ? toClaudeCodeName(tool.name) : tool.name,
description: tool.description,
input_schema: {
type: "object",
properties: tool.parameters.properties || {},
required: tool.parameters.required || [],
},
}));
return tools.map((tool) => {
const parameters = tool.parameters as Record<string, unknown>;
return {
name: isOAuthToken ? toClaudeCodeName(tool.name) : tool.name,
description: tool.description,
input_schema: {
type: "object",
properties: parameters.properties || {},
required: parameters.required || [],
},
};
});
}
function mapStopReason(reason: string | undefined): string {

View File

@@ -362,7 +362,10 @@ function convertResponsesTools(
type: "function",
name: tool.name,
description: tool.description,
parameters: normalizeOpenAIStrictToolParameters(tool.parameters, strict),
parameters: normalizeOpenAIStrictToolParameters(tool.parameters, strict) as Record<
string,
unknown
>,
strict,
}));
}

View File

@@ -1,5 +1,9 @@
import fs from "node:fs/promises";
import type { AgentTool, AgentToolResult } from "@mariozechner/pi-agent-core";
import type {
AgentTool,
AgentToolResult,
AgentToolUpdateCallback,
} from "@mariozechner/pi-agent-core";
import type { TSchema } from "@sinclair/typebox";
import { detectMime } from "../../media/mime.js";
import { readSnakeCaseParamRaw } from "../../param-key.js";
@@ -18,8 +22,26 @@ export type AgentToolWithMeta<TParameters extends TSchema, TResult> = AgentTool<
// plugin/runtime factories that are effectively existential over params/details.
// Tightening this alias without a dedicated adapter seam blows up plugin tool
// factories and embedded-runner tool plumbing.
// oxlint-disable-next-line typescript/no-explicit-any
export type AnyAgentTool = AgentToolWithMeta<any, unknown>;
type AnyAgentToolExecute = (
toolCallId: string,
// oxlint-disable-next-line typescript/no-explicit-any
params: any,
signal?: AbortSignal,
onUpdate?: AgentToolUpdateCallback,
) => Promise<AgentToolResult<unknown>>;
export type AnyAgentTool = {
name: string;
label: string;
description: string;
// oxlint-disable-next-line typescript/no-explicit-any
parameters: any;
prepareArguments?: (args: unknown) => unknown;
executionMode?: AgentTool["executionMode"];
ownerOnly?: boolean;
displaySummary?: string;
execute: AnyAgentToolExecute;
};
export type StringParamOptions = {
required?: boolean;

View File

@@ -95,7 +95,7 @@ describe("production lint suppressions", () => {
"src/agents/skills-clawhub.ts|no-control-regex|1",
"src/agents/subagent-attachments.ts|no-control-regex|1",
"src/agents/subagent-spawn.ts|no-control-regex|1",
"src/agents/tools/common.ts|typescript/no-explicit-any|1",
"src/agents/tools/common.ts|typescript/no-explicit-any|2",
"src/channels/plugins/channel-runtime-surface.types.ts|typescript/no-unnecessary-type-parameters|1",
"src/channels/plugins/contracts/test-helpers.ts|typescript/no-unnecessary-type-parameters|1",
"src/channels/plugins/types.plugin.ts|typescript/no-explicit-any|1",
@@ -137,6 +137,10 @@ describe("production lint suppressions", () => {
);
expect(anySuppressions).toEqual([
{
file: "src/agents/tools/common.ts",
rule: "typescript/no-explicit-any",
},
{
file: "src/agents/tools/common.ts",
rule: "typescript/no-explicit-any",