refactor: unwrap ConfigSkills namespace + self-reexport (#22950)
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
import z from "zod"
|
import z from "zod"
|
||||||
|
|
||||||
export namespace ConfigSkills {
|
export const Info = z.object({
|
||||||
export const Info = z.object({
|
paths: z.array(z.string()).optional().describe("Additional paths to skill folders"),
|
||||||
paths: z.array(z.string()).optional().describe("Additional paths to skill folders"),
|
urls: z
|
||||||
urls: z
|
.array(z.string())
|
||||||
.array(z.string())
|
.optional()
|
||||||
.optional()
|
.describe("URLs to fetch skills from (e.g., https://example.com/.well-known/skills/)"),
|
||||||
.describe("URLs to fetch skills from (e.g., https://example.com/.well-known/skills/)"),
|
})
|
||||||
})
|
|
||||||
|
|
||||||
export type Info = z.infer<typeof Info>
|
export type Info = z.infer<typeof Info>
|
||||||
}
|
|
||||||
|
export * as ConfigSkills from "./skills"
|
||||||
|
|||||||
Reference in New Issue
Block a user