This commit is contained in:
xiongxiao
2026-01-15 23:44:40 +08:00
parent 309446c864
commit 123d02f452

View File

@@ -98,7 +98,9 @@ export type Skill<T = SimpleObject> = {
skill: string; skill: string;
title: string; title: string;
summary?: string; summary?: string;
args?: z.ZodTypeAny; args?: {
[key: string]: any
};
} & T } & T
/** */ /** */
export const createSkill = <T = SimpleObject>(skill: Skill<T>): Skill<T> => { export const createSkill = <T = SimpleObject>(skill: Skill<T>): Skill<T> => {