mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
The tree was a debranded snapshot of upstream taken around 2026-02-20, and upstream has moved about five months since. This replaces it with upstream master, mechanically re-derived: bin/debrand does the rename, and the pipeline and squashed migrations are restored from the shipped tree. Not a merge. The previous import replaced the tree wholesale in a single commit, so there is no shared content history to merge against. Reproducing the rename on the new tree is what actually converges. What survives: .hanzo/workflows, the Dockerfiles and bin/docker* entrypoints, compose files, LLM.md, and insights/migrations. The squashed initial migration is load-bearing — the live database records it by name, so upstream's ~918 individual migrations cannot come back. Nine products are dropped as unreferenced. Twenty-one more that we do not run are kept anyway because the core app still imports them; unpicking those is a refactor and does not belong in a rebase. This base does not build yet, and the reasons are not in the rename: upstream now wants Python 3.13.13 against our 3.12.12 and Django 5.2 against our 4.2, and the dependency manifests still name upstream packages that we republish under our own names. Those are decisions, not renames.
59 lines
2.6 KiB
YAML
59 lines
2.6 KiB
YAML
# Checked-in catalog of optional CLI tools that `./bin/sandbox tools add <name>`
|
|
# can drop into a contributor's personal sandbox image. Entries here are not
|
|
# automatically installed: users opt in by name. Each user's actual selection
|
|
# lives in their own ~/.insights-sandboxes/tools.yaml.
|
|
#
|
|
# Schema (per entry):
|
|
# name required - matches the argument to `sandbox tools add`
|
|
# description required - one-liner shown by `sandbox tools list`
|
|
# install optional - shell script run as the sandbox user at image
|
|
# build time; prefer user-mode install, sudo
|
|
# (NOPASSWD) is available when actually needed
|
|
# copy optional - host paths copied into the sandbox $HOME at
|
|
# create time (short form for paths under $HOME,
|
|
# long form `{source, target}` for system paths).
|
|
# One-way snapshot at create time; sandbox edits
|
|
# do not write back to the host
|
|
#
|
|
# When adding a new tool to the catalog:
|
|
# 1. Author the install snippet against the current base image (run
|
|
# `sandbox tools add <name> --install ... --test` locally to verify).
|
|
# 2. List the host config paths the tool reads at runtime under `copy`.
|
|
# Missing host paths are skipped silently, so it's fine to include
|
|
# paths users may not have populated yet.
|
|
# 3. Keep entries alphabetical by `name` for stable diffs.
|
|
|
|
tools:
|
|
- name: gh
|
|
description: 'GitHub CLI (cli.github.com): repo browsing, PR review, gh auth share'
|
|
install: |
|
|
GH_VERSION=2.92.0
|
|
ARCH=$(dpkg --print-architecture)
|
|
mkdir -p ~/.local
|
|
curl -fsSL "https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_${ARCH}.tar.gz" \
|
|
| tar -xz --strip-components=1 -C ~/.local
|
|
copy:
|
|
- ~/.config/gh
|
|
|
|
- name: gt
|
|
description: 'Graphite CLI (graphite.dev): stacked PRs and review workflow'
|
|
install: |
|
|
npm install -g @withgraphite/graphite-cli@stable
|
|
copy:
|
|
- ~/.config/graphite
|
|
|
|
- name: metabase
|
|
description: 'Metabase SSO cookies for the query-datastore-via-metabase skill (insightscli metabase:*, regions us/eu/dev)'
|
|
copy:
|
|
- ~/.config/insights/metabase/cookie-us
|
|
- ~/.config/insights/metabase/cookie-eu
|
|
- ~/.config/insights/metabase/cookie-dev
|
|
|
|
- name: opencode
|
|
description: 'opencode (opencode.ai): terminal-based AI coding agent'
|
|
install: |
|
|
npm install -g opencode-ai
|
|
copy:
|
|
- ~/.config/opencode
|
|
- ~/.local/share/opencode/auth.json
|