HUB
Sign inSign up

bmoffatt/sbx-statusline:1.0.0

Multi-platform
Manifest digest

sha256:cd28f0eece52a239723898984f1be1162ced963b986bd628c5d3419109053464

Last pushed

16 days by bmoffatt

Type

Sandbox Kit

Manifest digest

sha256:cd28f0eece52a239723898984f1be1162ced963b986bd628c5d3419109053464

yaml
schemaVersion: "3"
displayName: sbx statusline
description: Statusline and rules for claude sandboxes
sourceUrl: https://github.com/bmoffatt/sbx-statusline
version: 1.0.0
kind: mixin
requires:
    - claude
    - deb/jq
capabilities:
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: |
                set -e
                f="$HOME/.claude/settings.json"
                mkdir -p "$HOME/.claude"
                [ -s "$f" ] || echo '{}' > "$f"
                jq '. + {
                  statusLine: {
                    type: "command",
                    command: "~/.claude/statusline.sh",
                    refreshInterval: 30
                  },
                  preferredNotifChannel: "terminal_bell"
                }' "$f" > "$f.tmp"
                mv "$f.tmp" "$f"
              description: Merge statusLine into Claude settings.json
              user: agent