更新 .cnb.yml、package.json 和文档,添加新功能和示例代码

This commit is contained in:
xiongxiao
2026-01-19 04:52:14 +08:00
parent 999397611c
commit 9b11ea5138
8 changed files with 213 additions and 20 deletions

View File

@@ -102,6 +102,9 @@ export type Skill<T = SimpleObject> = {
[key: string]: any
};
} & T
export const tool = {
schema: z
}
/** */
export const createSkill = <T = SimpleObject>(skill: Skill<T>): Skill<T> => {
return {