快速开始
你可以把 Geppetto 加到已有 Pinocchio program,也可以生成一个最小 starter 项目。
加入已有项目
cargo add geppetto
npx geppetto-cli init
然后要求你的 Agent:从 geppetto::* 导入,为状态账户实现 AccountSchema,并使用 guard::* 做安全检查。
创建新项目
npx geppetto-cli new my-program
cd my-program
cargo test
运行本地验证
npx geppetto-cli test
npx geppetto-cli audit --strict
当前仓库 demo 路径
bun install
bun run test
bun run docs:check
bun ./bin/geppetto-cli.ts deploy --output json --write-back