From e1cb73cdeb60dbbd8c444e62c3e3e6a68b970980 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Sat, 21 Feb 2026 14:47:28 +0530 Subject: [PATCH] fix: unblock Docker build by aligning commands schema default (#22558) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 1ad610176d0d08eb5ba055429a10d7e8f9ec07a4 Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com> Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com> Reviewed-by: @obviyus --- CHANGELOG.md | 1 + docs/channels/msteams.md | 1 - src/agents/system-prompt.ts | 4 ++-- src/agents/tool-call-id.ts | 2 +- src/config/zod-schema.session.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01e8c20d2..63c12b141 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ Docs: https://docs.openclaw.ai ### Fixes +- Docker/Build: include `ownerDisplay` in `CommandsSchema` object-level defaults so Docker `pnpm build` no longer fails with `TS2769` during plugin SDK d.ts generation. (#22558) Thanks @obviyus. - Security/Gateway/Hooks: block `__proto__`, `constructor`, and `prototype` traversal in webhook template path resolution to prevent prototype-chain payload data leakage in `messageTemplate` rendering. (#22213) Thanks @SleuthCo. - Cron: honor `cron.maxConcurrentRuns` in the timer loop so due jobs can execute up to the configured parallelism instead of always running serially. (#11595) Thanks @Takhoffman. - Agents/Compaction: restore embedded compaction safeguard/context-pruning extension loading in production by wiring bundled extension factories into the resource loader instead of runtime file-path resolution. (#22349) Thanks @Glucksberg. diff --git a/docs/channels/msteams.md b/docs/channels/msteams.md index a8ba59efc..21c352032 100644 --- a/docs/channels/msteams.md +++ b/docs/channels/msteams.md @@ -238,7 +238,6 @@ This is often easier than hand-editing JSON manifests. ## Onboarding (minimal) - 1. **Install the Microsoft Teams plugin** - From npm: `openclaw plugins install @openclaw/msteams` - From a local checkout: `openclaw plugins install ./extensions/msteams` diff --git a/src/agents/system-prompt.ts b/src/agents/system-prompt.ts index e92207972..74530db68 100644 --- a/src/agents/system-prompt.ts +++ b/src/agents/system-prompt.ts @@ -1,10 +1,10 @@ import { createHmac, createHash } from "node:crypto"; import type { ReasoningLevel, ThinkLevel } from "../auto-reply/thinking.js"; +import { SILENT_REPLY_TOKEN } from "../auto-reply/tokens.js"; import type { MemoryCitationsMode } from "../config/types.memory.js"; +import { listDeliverableMessageChannels } from "../utils/message-channel.js"; import type { ResolvedTimeFormat } from "./date-time.js"; import type { EmbeddedContextFile } from "./pi-embedded-helpers.js"; -import { SILENT_REPLY_TOKEN } from "../auto-reply/tokens.js"; -import { listDeliverableMessageChannels } from "../utils/message-channel.js"; import { sanitizeForPromptLiteral } from "./sanitize-for-prompt.js"; /** diff --git a/src/agents/tool-call-id.ts b/src/agents/tool-call-id.ts index fa28d6f0c..e30236e6e 100644 --- a/src/agents/tool-call-id.ts +++ b/src/agents/tool-call-id.ts @@ -1,5 +1,5 @@ -import type { AgentMessage } from "@mariozechner/pi-agent-core"; import { createHash } from "node:crypto"; +import type { AgentMessage } from "@mariozechner/pi-agent-core"; export type ToolCallIdMode = "strict" | "strict9"; diff --git a/src/config/zod-schema.session.ts b/src/config/zod-schema.session.ts index 08fcafa2e..8139d2368 100644 --- a/src/config/zod-schema.session.ts +++ b/src/config/zod-schema.session.ts @@ -168,4 +168,4 @@ export const CommandsSchema = z }) .strict() .optional() - .default({ native: "auto", nativeSkills: "auto", restart: true }); + .default({ native: "auto", nativeSkills: "auto", restart: true, ownerDisplay: "raw" });