17 lines
583 B
TypeScript
17 lines
583 B
TypeScript
import { Schema } from "effect"
|
|
import { zod } from "@/util/effect-zod"
|
|
import { withStatics } from "@/util/schema"
|
|
|
|
export const Info = Schema.Struct({
|
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
description: "Additional paths to skill folders",
|
|
}),
|
|
urls: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
description: "URLs to fetch skills from (e.g., https://example.com/.well-known/skills/)",
|
|
}),
|
|
}).pipe(withStatics((s) => ({ zod: zod(s) })))
|
|
|
|
export type Info = Schema.Schema.Type<typeof Info>
|
|
|
|
export * as ConfigSkills from "./skills"
|