快速入门¶
安装¶
推荐:通过 uvx 运行(无需本地安装)¶
uvx marrow-core doctor --config /path/to/runtime-config.toml
uvx marrow-core run --config /path/to/runtime-config.toml
本地开发安装¶
使用前提¶
marrow-core 需要一个外部 runtime config(通常由外部 profile 仓库如 marrow-bot 提供)。不要在 marrow-core 仓库内放置 profile 资产。
典型工作流¶
1. 验证配置¶
2. 健康检查¶
3. 脚手架初始化工作目录¶
4. 渲染系统服务定义¶
# 渲染服务描述文件(不自动安装)
uvx marrow-core install \
--config /path/to/runtime-config.toml \
--platform auto \
--output-dir ./service-out
5. 运行调度器¶
# 持续运行
uvx marrow-core run --config /path/to/runtime-config.toml
# 仅执行一轮(调试用)
uvx marrow-core run --once --config /path/to/runtime-config.toml
# 构建 prompt 但不执行(dry run)
uvx marrow-core run --dry-run --config /path/to/runtime-config.toml
文档本地预览¶
本项目使用 zensical 构建文档。
just docs-build 会把生成的静态站点写入 site/;该目录是构建产物,已加入 .gitignore,不要手动提交。
Vercel 部署¶
- Framework Preset:
Other - Root Directory:
marrow-core - Install Command:
uv sync --dev - Build Command:
uv run zensical build - Output Directory:
site
Vercel 会直接部署 site/ 中的静态内容,因此只需要保留 docs/ 源文件,不需要把生成后的 HTML/CSS/JS 提交到仓库。