fix: 同步 PI_CODING_AGENT_DIR 并更新模型列表
Some checks failed
CI / build-check-test (push) Has been cancelled
Some checks failed
CI / build-check-test (push) Has been cancelled
- build.sh 导出 PI_CODING_AGENT_DIR 以对齐 pi-mcp-adapter 配置路径 - 更新 models.generated.ts - 移除 bmi-calculator.html 示例文件
This commit is contained in:
3
build.sh
3
build.sh
@@ -5,6 +5,9 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
PI_CLI_DIST="$SCRIPT_DIR/packages/coding-agent/dist/cli.js"
|
||||
|
||||
export SPROUTCLAW_CODING_AGENT_DIR="${SPROUTCLAW_CODING_AGENT_DIR:-$SCRIPT_DIR/.sproutclaw/agent}"
|
||||
# Align pi-mcp-adapter (and other third-party packages that only read PI_CODING_AGENT_DIR)
|
||||
# with SproutClaw's agent dir, so MCP configs in .sproutclaw/agent/mcp.json are loaded.
|
||||
export PI_CODING_AGENT_DIR="$SPROUTCLAW_CODING_AGENT_DIR"
|
||||
|
||||
NO_ENV=false
|
||||
ARGS=()
|
||||
|
||||
Reference in New Issue
Block a user