Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions checks/00-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ want_bin sesh "tmux session picker"
want_bin claude "Claude Code CLI"
want_bin pi "Pi coding agent"
want_bin blackbird "durable agent coordination"
want_bin blackbird-claude "durable Claude Code delivery"
want_bin blackbird-pi "durable Pi delivery"
want_bin open-websearch "harness-neutral web research"
want_bin lstags "ls + Finder tags (cargo install via run_onchange)"

Expand Down
22 changes: 18 additions & 4 deletions checks/pi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,25 @@ for skill in blackbird web-research; do
done

if command -v blackbird >/dev/null 2>&1; then
# The expected version is read from the installer rather than repeated here;
# the two drifted apart once already.
bb_version="$(blackbird --version 2>/dev/null | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+' | head -1 || true)"
[[ "$bb_version" == "0.2.0" ]] && ok "Blackbird version pinned ($bb_version)" || warn "Blackbird version is ${bb_version:-unknown}; expected 0.2.0"
command -v blackbird-claude >/dev/null 2>&1 && ok "Blackbird Claude companion installed" || fail "blackbird-claude missing"
command -v blackbird-pi >/dev/null 2>&1 && ok "Blackbird Pi companion installed" || fail "blackbird-pi missing"
blackbird status >/dev/null 2>&1 && ok "Blackbird service reachable" || warn "Blackbird service not reachable — run scripts/install-agent-stack.sh"
bb_pin="$(sed -n 's/^BLACKBIRD_VERSION=//p' "$DOTFILES/scripts/install-agent-stack.sh" | head -1)"
if [[ -n "$bb_pin" && "$bb_version" == "$bb_pin" ]]; then
ok "Blackbird matches the installer pin ($bb_version)"
else
warn "Blackbird is ${bb_version:-unknown}; scripts/install-agent-stack.sh pins ${bb_pin:-unknown}"
fi
# blackbird doctor supersedes the per-binary probes: the Go companions stopped
# shipping in v0.3.0, and doctor checks the service definition, a real daemon
# handshake, and the database. It exits 5 when a check fails and 0 otherwise,
# so warnings stay advisory unless --strict is passed.
bb_rc=0; blackbird doctor >/dev/null 2>&1 || bb_rc=$?
if (( bb_rc == 0 )); then
ok "Blackbird doctor reports no failures"
else
fail "Blackbird doctor reports failures — run: blackbird doctor"
fi
fi

if [[ -d "$HOME/.pi/agent/npm/node_modules" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-agent-stack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail

PI_VERSION=0.84.1
WEB_VERSION=2.1.11
BLACKBIRD_VERSION=0.3.0
BLACKBIRD_VERSION=0.4.1
NPM_PREFIX="${NPM_CONFIG_PREFIX:-$HOME/.npm-global}"

if ! command -v npm >/dev/null 2>&1; then
Expand All @@ -19,7 +19,7 @@ npm install --global --ignore-scripts --prefix "$NPM_PREFIX" \

pi_bin="$NPM_PREFIX/bin/pi"
for package in \
npm:blackbird-pi@0.1.0 \
npm:blackbird-pi@0.1.1 \
npm:pi-subagents@0.47.1 \
npm:@juicesharp/rpiv-ask-user-question@2.4.0 \
npm:@narumitw/pi-goal@0.51.0 \
Expand Down
Loading