Agents: sanitize skill env overrides

This commit is contained in:
Shadow
2026-02-20 12:37:43 -06:00
parent 09e6970386
commit 8c9f35cdb5
7 changed files with 217 additions and 14 deletions

View File

@@ -152,7 +152,7 @@ export type GroupKeyResolution = {
export type SessionSkillSnapshot = {
prompt: string;
skills: Array<{ name: string; primaryEnv?: string }>;
skills: Array<{ name: string; primaryEnv?: string; requiredEnv?: string[] }>;
/** Normalized agent-level filter used to build this snapshot; undefined means unrestricted. */
skillFilter?: string[];
resolvedSkills?: Skill[];