@keepur/hive 0.1.10 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -18,10 +18,23 @@ npm i -g @keepur/hive && hive init
18
18
 
19
19
  The bootstrap installs Homebrew and Node 22, then drops you into the `hive init` wizard which handles the rest (MongoDB, Ollama, Qdrant). Budget about 20 minutes end-to-end.
20
20
 
21
+ ## Upgrading from 0.1.x
22
+
23
+ Hive 0.2.0 ships a new instance directory layout (engine in `<instance>/.hive/`; config, logs, agent data stay at the root). Existing 0.1.x installs need a one-shot migration:
24
+
25
+ ```
26
+ curl -fsSL https://raw.githubusercontent.com/keepur/hive-docs/main/install/migrate-0.2.sh \
27
+ | bash -s -- ~/services/hive/<your-instance>
28
+ ```
29
+
30
+ Dry-run first (`--dry-run` before the instance path) to preview the file classification. Full walkthrough: [Migrating to 0.2.0](https://github.com/keepur/hive-docs/blob/main/docs/migrating-to-0.2.md). Downtime is ~5 minutes per instance; the script auto-rolls-back on health-check failure.
31
+
21
32
  ## Documentation
22
33
 
23
34
  - [Getting started](https://github.com/keepur/hive-docs/blob/main/docs/getting-started.md) — install + first conversation
24
35
  - [Managing your hive](https://github.com/keepur/hive-docs/blob/main/docs/managing-your-hive.md) — plugins, skills, day-two ops
36
+ - [Migrating to 0.2.0](https://github.com/keepur/hive-docs/blob/main/docs/migrating-to-0.2.md) — for existing 0.1.x installs
37
+ - [Release notes — 0.2.0](https://github.com/keepur/hive-docs/blob/main/docs/release-notes-0.2.0.md) — what's new, what broke
25
38
  - [Troubleshooting](https://github.com/keepur/hive-docs/blob/main/docs/troubleshooting.md) — when things break
26
39
 
27
40
  ## What you get
@@ -0,0 +1,49 @@
1
+ #!/usr/bin/env bash
2
+ # Hive bootstrap installer for macOS.
3
+ # Idempotent: safe to re-run if it bails partway.
4
+ # Usage: curl -fsSL https://raw.githubusercontent.com/keepur/hive-docs/main/install/bootstrap.sh | bash
5
+
6
+ set -euo pipefail
7
+
8
+ log() { printf '\033[1;34m==>\033[0m %s\n' "$*"; }
9
+ warn() { printf '\033[1;33m==>\033[0m %s\n' "$*" >&2; }
10
+ fail() { printf '\033[1;31m==>\033[0m %s\n' "$*" >&2; exit 1; }
11
+
12
+ # 1. macOS check
13
+ [[ "$(uname -s)" == "Darwin" ]] || fail "Hive currently supports macOS only."
14
+
15
+ # 2. Homebrew (which prompts for Xcode CLI tools if missing)
16
+ if ! command -v brew >/dev/null 2>&1; then
17
+ log "Installing Homebrew (will prompt for Xcode Command Line Tools if needed)..."
18
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
19
+ # Add brew to PATH for current shell (Apple Silicon path; Intel handled by installer's own shellenv hint)
20
+ if [[ -x /opt/homebrew/bin/brew ]]; then
21
+ eval "$(/opt/homebrew/bin/brew shellenv)"
22
+ fi
23
+ else
24
+ log "Homebrew already installed."
25
+ fi
26
+
27
+ # 3. Node 22 (or higher major)
28
+ NODE_OK=0
29
+ if command -v node >/dev/null 2>&1; then
30
+ NODE_MAJOR="$(node -p 'process.versions.node.split(".")[0]')"
31
+ if [[ "$NODE_MAJOR" -ge 22 ]]; then
32
+ log "Node $(node -v) already installed."
33
+ NODE_OK=1
34
+ else
35
+ warn "Found Node $(node -v); hive needs >=22. Installing node@22 via Homebrew."
36
+ fi
37
+ fi
38
+ if [[ "$NODE_OK" -eq 0 ]]; then
39
+ brew install node@22
40
+ brew link --force --overwrite node@22
41
+ fi
42
+
43
+ # 4. Install hive globally (HIVE_VERSION pins a specific version; default: latest)
44
+ log "Installing @keepur/hive@${HIVE_VERSION:-latest}..."
45
+ npm i -g "@keepur/hive@${HIVE_VERSION:-latest}"
46
+
47
+ # 5. Hand off to interactive setup (reopen stdin from TTY so the wizard can prompt)
48
+ log "Launching 'hive init'..."
49
+ exec hive init </dev/tty
@@ -0,0 +1,24 @@
1
+ milo-standup-2026-03-15.md
2
+ river-permits-weekly-2026-03-08.md
3
+ river-high-tier-permits-extraction.csv
4
+ PERMIT-EXTRACTION-SUMMARY.md
5
+ fb-marketplace-scrape-2026-03-20.md
6
+ linkedin-sales-prospects.md
7
+ x-snapshot-2026-03-18.md
8
+ stale-deals.csv
9
+ HUBSPOT-contacts-dump.csv
10
+ HUBSPOT-river-pulls.csv
11
+ STALE-DEALS-DETAILED.txt
12
+ LEAD-SEGMENTATION-tier1.csv
13
+ QUERY-RESULTS-high-value.csv
14
+ analyze-pipeline.ts
15
+ check-permit-coverage.ts
16
+ extract-hubspot-notes.ts
17
+ README-stale-deals.md
18
+ jessica-followups-2026-03-10.md
19
+ wyatt-catalog-audit-2026-03-05.md
20
+ chloe-sprint-notes-2026-03-19.md
21
+ rae-routing-stats.csv
22
+ sales-monday-standup-2026-03-22.md
23
+ .playwright-mcp/console-0.log
24
+ .playwright-mcp/console-1.log