- Add build.rs: scan resources/skills/, compress each with tar+zstd, embed via include_bytes! - Add src/skills/builtin.rs: runtime auto-install built-in skills to ~/.picobot/skills/ - Add about-picobot built-in skill: SKILL.md index + references/ (config, db-schema, architecture, faq, commands) + assets/config.example.json - Update skill loading: reverse priority (agents < picobot < workspace), deduplicate by name - Update skills prompt: re-query get_skill when user asks about installed skills - Change max_tool_iterations default from 20 to 99
19 lines
330 B
Markdown
19 lines
330 B
Markdown
# PicoBot 常用命令
|
|
|
|
```bash
|
|
# 编译
|
|
cargo build
|
|
|
|
# 启动网关 (默认 127.0.0.1:19876)
|
|
cargo run -- gateway
|
|
|
|
# 启动 CLI 客户端 (连接 ws://127.0.0.1:19876/ws)
|
|
cargo run -- chat
|
|
|
|
# 运行单元测试
|
|
cargo test --lib
|
|
|
|
# 运行集成测试 (需配置 tests/test.env)
|
|
cargo test --test test_integration -- --ignored
|
|
```
|