mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-25 09:31:43 +01:00
Seven install and setup bugs reported by outside contributors are fixed, each with a test that fails on main: Windows hooks under an apostrophe home or with path conversion off, two misleading `./setup --status` rows, owner-only files in Bun's shared cache, a leftover `/connect-chrome` alias, a doctor false alarm, and harness installs ignoring `disabled_skills`. Nothing to do after merge; the next `./setup` or upgrade picks it up. Co-authored-by: Arnuv <69417158+abyss-node@users.noreply.github.com> Co-authored-by: Mahmoud ElNeMR <83190847+ElNeMeR70@users.noreply.github.com> Co-authored-by: Yuan S. <3579304+szsunyuan@users.noreply.github.com> Co-authored-by: Alexander William Haire <141470777+alexanderhaire@users.noreply.github.com> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1v/outside-voice#1 reader=outside-voice Review-Finding: p1v/outside-voice#3 reader=outside-voice
10 lines
613 B
Bash
Executable File
10 lines
613 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Bash shim — Claude Code hooks run `command` strings via /bin/sh, so this
|
|
# wrapper makes the TypeScript hook executable via bun. Settings.json
|
|
# references this file directly.
|
|
set -e
|
|
GSTACK_BUN_CONFIG=/dev/null; case "${OSTYPE:-}" in msys*|cygwin*) if command -v cygpath >/dev/null 2>&1; then GSTACK_BUN_CONFIG=NUL; fi ;; esac
|
|
HERE="$(cd "$(dirname "$0")" && pwd)"
|
|
case "${OSTYPE:-}" in msys*|cygwin*) if command -v cygpath >/dev/null 2>&1; then HERE="$(cygpath -m "$HERE")"; fi ;; esac
|
|
exec bun --no-env-file --config="${GSTACK_BUN_CONFIG:-/dev/null}" "$HERE/question-preference-hook.ts"
|