mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 21:10:43 +00:00
chore: update workspace dependencies
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
"description": "OpenClaw Amazon Bedrock Mantle (OpenAI-compatible) provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "0.91.0",
|
||||
"@anthropic-ai/sdk": "0.91.1",
|
||||
"@aws/bedrock-token-generator": "^1.1.0",
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -115,7 +115,7 @@ async function registerWithConfig(
|
||||
},
|
||||
},
|
||||
});
|
||||
await amazonBedrockPlugin.register(api);
|
||||
amazonBedrockPlugin.register(api);
|
||||
const provider = providers[0];
|
||||
if (!provider) {
|
||||
throw new Error("provider registration missing");
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"description": "OpenClaw Amazon Bedrock provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-bedrock": "3.1036.0",
|
||||
"@aws-sdk/client-bedrock-runtime": "3.1036.0",
|
||||
"@aws-sdk/client-bedrock": "3.1037.0",
|
||||
"@aws-sdk/client-bedrock-runtime": "3.1037.0",
|
||||
"@aws-sdk/credential-provider-node": "3.972.36"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@anthropic-ai/vertex-sdk": "^0.16.0",
|
||||
"@mariozechner/pi-agent-core": "0.70.2",
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-agent-core": "0.70.5",
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw Anthropic provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "OpenClaw Codex harness and model provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-coding-agent": "0.70.2",
|
||||
"@mariozechner/pi-coding-agent": "0.70.5",
|
||||
"@openai/codex": "0.125.0",
|
||||
"ajv": "^8.18.0",
|
||||
"ajv": "^8.20.0",
|
||||
"ws": "^8.20.0",
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
|
||||
@@ -87,7 +87,7 @@ describe("deepseek provider plugin", () => {
|
||||
|
||||
const wrapThinkingOff = createDeepSeekV4ThinkingWrapper(baseStreamFn as never, "off");
|
||||
expect(wrapThinkingOff).toBeDefined();
|
||||
wrapThinkingOff?.(
|
||||
await wrapThinkingOff?.(
|
||||
{
|
||||
provider: "deepseek",
|
||||
id: "deepseek-v4-pro",
|
||||
@@ -102,7 +102,7 @@ describe("deepseek provider plugin", () => {
|
||||
|
||||
const wrapThinkingXhigh = createDeepSeekV4ThinkingWrapper(baseStreamFn as never, "xhigh");
|
||||
expect(wrapThinkingXhigh).toBeDefined();
|
||||
wrapThinkingXhigh?.(
|
||||
await wrapThinkingXhigh?.(
|
||||
{
|
||||
provider: "deepseek",
|
||||
id: "deepseek-v4-pro",
|
||||
@@ -197,7 +197,7 @@ describe("deepseek provider plugin", () => {
|
||||
|
||||
const wrapThinkingHigh = createDeepSeekV4ThinkingWrapper(baseStreamFn as never, "high");
|
||||
expect(wrapThinkingHigh).toBeDefined();
|
||||
wrapThinkingHigh?.(model, context, {});
|
||||
await wrapThinkingHigh?.(model, context, {});
|
||||
|
||||
expect(capturedPayload).toMatchObject({
|
||||
thinking: { type: "enabled" },
|
||||
@@ -291,7 +291,7 @@ describe("deepseek provider plugin", () => {
|
||||
|
||||
const wrapThinkingHigh = createDeepSeekV4ThinkingWrapper(baseStreamFn as never, "high");
|
||||
expect(wrapThinkingHigh).toBeDefined();
|
||||
wrapThinkingHigh?.(model, context, {});
|
||||
await wrapThinkingHigh?.(model, context, {});
|
||||
|
||||
expect((capturedPayload?.messages as Array<Record<string, unknown>>)[1]).toMatchObject({
|
||||
role: "assistant",
|
||||
@@ -391,7 +391,7 @@ describe("deepseek provider plugin", () => {
|
||||
"none" as never,
|
||||
);
|
||||
expect(wrapThinkingNone).toBeDefined();
|
||||
wrapThinkingNone?.(model, context, {});
|
||||
await wrapThinkingNone?.(model, context, {});
|
||||
|
||||
expect(capturedPayload).toMatchObject({ thinking: { type: "disabled" } });
|
||||
expect(capturedPayload).not.toHaveProperty("reasoning_effort");
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "OpenClaw Feishu/Lark channel plugin (community maintained by @m1heng)",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@larksuiteoapi/node-sdk": "^1.61.1",
|
||||
"@larksuiteoapi/node-sdk": "^1.62.0",
|
||||
"typebox": "1.1.33"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw Fireworks provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -331,7 +331,7 @@ describe("github-copilot token", () => {
|
||||
|
||||
expect(res.token).toBe("cached;proxy-ep=proxy.example.com;");
|
||||
expect(res.baseUrl).toBe("https://api.example.com");
|
||||
expect(String(res.source)).toContain("cache:");
|
||||
expect(res.source).toContain("cache:");
|
||||
expect(fetchImpl).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"@clack/prompts": "^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2",
|
||||
"@mariozechner/pi-ai": "0.70.5",
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
},
|
||||
"openclaw": {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@google/genai": "^1.50.1",
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -154,8 +154,8 @@ describe("imessage monitor gating + envelope builders", () => {
|
||||
|
||||
expect(ctxPayload.ChatType).toBe("group");
|
||||
expect(ctxPayload.SessionKey).toBe("agent:main:imessage:group:42");
|
||||
expect(String(ctxPayload.Body ?? "")).toContain("+15550002222:");
|
||||
expect(String(ctxPayload.Body ?? "")).not.toContain("[from:");
|
||||
expect(ctxPayload.Body ?? "").toContain("+15550002222:");
|
||||
expect(ctxPayload.Body ?? "").not.toContain("[from:");
|
||||
expect(ctxPayload.To).toBe("chat_id:42");
|
||||
});
|
||||
|
||||
@@ -177,8 +177,8 @@ describe("imessage monitor gating + envelope builders", () => {
|
||||
expect(ctxPayload.ReplyToId).toBe("9001");
|
||||
expect(ctxPayload.ReplyToBody).toBe("original message");
|
||||
expect(ctxPayload.ReplyToSender).toBe("+15559998888");
|
||||
expect(String(ctxPayload.Body ?? "")).toContain("[Replying to +15559998888 id:9001]");
|
||||
expect(String(ctxPayload.Body ?? "")).toContain("original message");
|
||||
expect(ctxPayload.Body ?? "").toContain("[Replying to +15559998888 id:9001]");
|
||||
expect(ctxPayload.Body ?? "").toContain("original message");
|
||||
});
|
||||
|
||||
it("drops group reply context from non-allowlisted senders in allowlist mode", () => {
|
||||
@@ -217,7 +217,7 @@ describe("imessage monitor gating + envelope builders", () => {
|
||||
expect(ctxPayload.ReplyToId).toBeUndefined();
|
||||
expect(ctxPayload.ReplyToBody).toBeUndefined();
|
||||
expect(ctxPayload.ReplyToSender).toBeUndefined();
|
||||
expect(String(ctxPayload.Body ?? "")).not.toContain("[Replying to");
|
||||
expect(ctxPayload.Body ?? "").not.toContain("[Replying to");
|
||||
});
|
||||
|
||||
it("keeps group reply context in allowlist_quote mode", () => {
|
||||
@@ -256,7 +256,7 @@ describe("imessage monitor gating + envelope builders", () => {
|
||||
expect(ctxPayload.ReplyToId).toBe("9001");
|
||||
expect(ctxPayload.ReplyToBody).toBe("quoted context");
|
||||
expect(ctxPayload.ReplyToSender).toBe("+15559998888");
|
||||
expect(String(ctxPayload.Body ?? "")).toContain("[Replying to +15559998888 id:9001]");
|
||||
expect(ctxPayload.Body ?? "").toContain("[Replying to +15559998888 id:9001]");
|
||||
});
|
||||
|
||||
it("treats configured chat_id as a group session even when is_group is false", () => {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw Kimi provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw JSON-only LLM task plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"ajv": "^8.18.0",
|
||||
"ajv": "^8.20.0",
|
||||
"typebox": "1.1.33"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw LM Studio provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2"
|
||||
"@mariozechner/pi-ai": "0.70.5"
|
||||
},
|
||||
"openclaw": {
|
||||
"extensions": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@clawdbot/lobster": "2026.4.6",
|
||||
"ajv": "^8.18.0",
|
||||
"ajv": "^8.20.0",
|
||||
"typebox": "1.1.33"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw Ollama provider plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2",
|
||||
"@mariozechner/pi-ai": "0.70.5",
|
||||
"typebox": "1.1.33"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw OpenAI provider plugins",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2",
|
||||
"@mariozechner/pi-ai": "0.70.5",
|
||||
"ws": "^8.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -90,9 +90,9 @@ describe("signal createSignalEventHandler inbound context", () => {
|
||||
}
|
||||
expectInboundContextContract(contextWithBody);
|
||||
// Sender should appear as prefix in group messages (no redundant [from:] suffix)
|
||||
expect(String(contextWithBody.Body ?? "")).toContain("Alice");
|
||||
expect(String(contextWithBody.Body ?? "")).toMatch(/Alice.*:/);
|
||||
expect(String(contextWithBody.Body ?? "")).not.toContain("[from:");
|
||||
expect(contextWithBody.Body ?? "").toContain("Alice");
|
||||
expect(contextWithBody.Body ?? "").toMatch(/Alice.*:/);
|
||||
expect(contextWithBody.Body ?? "").not.toContain("[from:");
|
||||
});
|
||||
|
||||
it("normalizes direct chat To/OriginatingTo targets to canonical Signal ids", async () => {
|
||||
|
||||
@@ -232,7 +232,7 @@ describe("signal mention gating", () => {
|
||||
);
|
||||
|
||||
expect(capturedCtx).toBeTruthy();
|
||||
const body = String(getCapturedCtx()?.Body ?? "");
|
||||
const body = getCapturedCtx()?.Body ?? "";
|
||||
expect(body).toContain("@123e4567 hi @+15550002222");
|
||||
expect(body).not.toContain(placeholder);
|
||||
});
|
||||
@@ -255,7 +255,7 @@ describe("signal mention gating", () => {
|
||||
);
|
||||
|
||||
expect(capturedCtx).toBeTruthy();
|
||||
expect(String(getCapturedCtx()?.Body ?? "")).toContain("@123e4567");
|
||||
expect(getCapturedCtx()?.Body ?? "").toContain("@123e4567");
|
||||
expect(getCapturedCtx()?.WasMentioned).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -10,7 +10,7 @@ function createApi(config: OpenClawConfig, registerHttpRoute = vi.fn()): OpenCla
|
||||
id: "slack",
|
||||
config,
|
||||
registerHttpRoute,
|
||||
}) as OpenClawPluginApi;
|
||||
});
|
||||
}
|
||||
|
||||
describe("registerSlackPluginHttpRoutes", () => {
|
||||
|
||||
@@ -3162,7 +3162,7 @@ describe("dispatchTelegramMessage draft streaming", () => {
|
||||
editMessageTelegram.mockResolvedValue({ ok: true });
|
||||
dispatchReplyWithBufferedBlockDispatcher.mockImplementation(
|
||||
async ({ dispatcherOptions, replyOptions }) => {
|
||||
replyOptions?.onPartialReply?.({ text: "Processing..." });
|
||||
await replyOptions?.onPartialReply?.({ text: "Processing..." });
|
||||
await dispatcherOptions.deliver(
|
||||
{ text: "⚠️ exec failed", isError: true },
|
||||
{ kind: "block" },
|
||||
|
||||
@@ -334,7 +334,7 @@ describe("createTelegramBot", () => {
|
||||
|
||||
replySpy.mockImplementation(async (ctx: MsgContext, opts?: GetReplyOptions) => {
|
||||
await opts?.onReplyStart?.();
|
||||
const body = String(ctx.Body ?? "");
|
||||
const body = ctx.Body ?? "";
|
||||
startedBodies.push(body);
|
||||
if (body.includes("first message")) {
|
||||
await firstTurnGate;
|
||||
@@ -444,7 +444,7 @@ describe("createTelegramBot", () => {
|
||||
|
||||
replySpy.mockImplementation(async (ctx: MsgContext, opts?: GetReplyOptions) => {
|
||||
await opts?.onReplyStart?.();
|
||||
const body = String(ctx.Body ?? "");
|
||||
const body = ctx.Body ?? "";
|
||||
startedBodies.push(body);
|
||||
if (body.includes("first")) {
|
||||
await firstRunGate;
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
"description": "OpenClaw Tlon/Urbit channel plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "3.1036.0",
|
||||
"@aws-sdk/s3-request-presigner": "3.1036.0",
|
||||
"@aws-sdk/client-s3": "3.1037.0",
|
||||
"@aws-sdk/s3-request-presigner": "3.1037.0",
|
||||
"@tloncorp/tlon-skill": "0.3.5",
|
||||
"@urbit/aura": "^3.0.0"
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "Bundled tokenjuice exec output compaction plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"tokenjuice": "0.6.3"
|
||||
"tokenjuice": "0.6.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@openclaw/plugin-sdk": "workspace:*"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "OpenClaw xAI plugin",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@mariozechner/pi-ai": "0.70.2",
|
||||
"@mariozechner/pi-ai": "0.70.5",
|
||||
"typebox": "1.1.33",
|
||||
"ws": "^8.20.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user