import type { SkillResource } from "agents/skills"; import { z } from "zod"; import { skillIdentity } from "./skill-management"; import type { SkillListing } from "./skills"; export const skillResourceRequest = z.strictObject({ skill: skillIdentity, path: z.string().min(1).max(240), }); export type SkillResourceRequest = z.infer; export interface SkillResourceRead { skill: SkillListing; resource: SkillResource; }