Document supported go install modes (bd-o5a) (#3480)
- Removed bare first-party go install .../cmd/bd@latest guidance from docs,
website docs, plugin/npm docs, examples, and doctor hints.
- Standardized on:
- CGO_ENABLED=0 go install ... for server-mode only
- CGO_ENABLED=1 GOFLAGS=-tags=gms_pure_go go install ... for embedded-
capable
- Added scripts/check-go-install-guidance.sh and wired it into CI.
- Updated default.nix to use gms_pure_go instead of ICU flags.
Validation passed locally:
- make test
- golangci-lint run --build-tags=gms_pure_go ./...
- ./scripts/check-go-install-guidance.sh
- ./scripts/check-build-tags.sh
- go test -tags gms_pure_go ./cmd/bd/doctor
- doc flag check
This commit is contained in:
parent
1b2dd2cb56
commit
e2e4975044
28 changed files with 215 additions and 154 deletions
|
|
@ -13,7 +13,7 @@ A simple Python script demonstrating how an AI agent can use bd to manage tasks.
|
|||
## Prerequisites
|
||||
|
||||
- Python 3.7+
|
||||
- bd installed: `go install github.com/steveyegge/beads/cmd/bd@latest`
|
||||
- bd installed: `curl -fsSL https://raw.githubusercontent.com/gastownhall/beads/main/scripts/install.sh | bash`
|
||||
- A beads database initialized: `bd init`
|
||||
|
||||
## Usage
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ def main():
|
|||
agent.run()
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Error running bd: {e}", file=sys.stderr)
|
||||
print(f"Make sure bd is installed: go install github.com/steveyegge/beads/cmd/bd@latest")
|
||||
print("Make sure bd is installed: curl -fsSL https://raw.githubusercontent.com/gastownhall/beads/main/scripts/install.sh | bash")
|
||||
sys.exit(1)
|
||||
except KeyboardInterrupt:
|
||||
print("\n\n👋 Agent interrupted by user")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue