From 8414403ce0b20955a8ea1cec419e61a986662e59 Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Fri, 20 Mar 2026 17:52:22 -0700 Subject: [PATCH] fix: always include builtin skills in client_skills MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Explicitly pass ALL_SKILL_SOURCES to buildClientSkillsPayload() in sendMessageStream(), ensuring builtin skills are always included in client_skills regardless of CLI flags or context state. Previously, buildClientSkillsPayload() relied on getSkillSources() from context, which could exclude "bundled" if --no-bundled-skills was passed or if the context wasn't properly initialized (e.g., in subagent flows). 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code --- src/agent/message.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/agent/message.ts b/src/agent/message.ts index 644aae9..ecda6ea 100644 --- a/src/agent/message.ts +++ b/src/agent/message.ts @@ -23,6 +23,7 @@ import { } from "./approval-result-normalization"; import { getClient } from "./client"; import { buildClientSkillsPayload } from "./clientSkills"; +import { ALL_SKILL_SOURCES } from "./skillSources"; const streamRequestStartTimes = new WeakMap(); const streamToolContextIds = new WeakMap(); @@ -132,6 +133,7 @@ export async function sendMessageStream( const { clientSkills, errors: clientSkillDiscoveryErrors } = await buildClientSkillsPayload({ agentId: opts.agentId, + skillSources: ALL_SKILL_SOURCES, }); const resolvedConversationId = conversationId;