mirror of https://github.com/garrytan/gstack.git
fix: copy supabase/config.sh in Kiro/Codex/Factory/OpenCode setup paths
The setup script's non-Claude host paths (Kiro, Codex, Factory, OpenCode) use selective file linking rather than symlinking the entire repo root. This missed supabase/config.sh, causing gstack-telemetry-sync to silently exit (SUPABASE_URL empty) for all users on these hosts who opted into telemetry. Fixes #2215
This commit is contained in:
parent
11de390be1
commit
cc350bba8e
20
setup
20
setup
|
|
@ -815,6 +815,11 @@ create_codex_runtime_root() {
|
|||
if [ -f "$gstack_dir/ETHOS.md" ]; then
|
||||
_link_or_copy "$gstack_dir/ETHOS.md" "$codex_gstack/ETHOS.md"
|
||||
fi
|
||||
# supabase/config.sh — required by gstack-telemetry-sync to resolve GSTACK_SUPABASE_URL
|
||||
if [ -f "$gstack_dir/supabase/config.sh" ]; then
|
||||
mkdir -p "$codex_gstack/supabase"
|
||||
_link_or_copy "$gstack_dir/supabase/config.sh" "$codex_gstack/supabase/config.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
create_factory_runtime_root() {
|
||||
|
|
@ -853,6 +858,11 @@ create_factory_runtime_root() {
|
|||
if [ -f "$gstack_dir/ETHOS.md" ]; then
|
||||
_link_or_copy "$gstack_dir/ETHOS.md" "$factory_gstack/ETHOS.md"
|
||||
fi
|
||||
# supabase/config.sh — required by gstack-telemetry-sync to resolve GSTACK_SUPABASE_URL
|
||||
if [ -f "$gstack_dir/supabase/config.sh" ]; then
|
||||
mkdir -p "$factory_gstack/supabase"
|
||||
_link_or_copy "$gstack_dir/supabase/config.sh" "$factory_gstack/supabase/config.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
create_opencode_runtime_root() {
|
||||
|
|
@ -906,6 +916,11 @@ create_opencode_runtime_root() {
|
|||
if [ -f "$gstack_dir/ETHOS.md" ]; then
|
||||
_link_or_copy "$gstack_dir/ETHOS.md" "$opencode_gstack/ETHOS.md"
|
||||
fi
|
||||
# supabase/config.sh — required by gstack-telemetry-sync to resolve GSTACK_SUPABASE_URL
|
||||
if [ -f "$gstack_dir/supabase/config.sh" ]; then
|
||||
mkdir -p "$opencode_gstack/supabase"
|
||||
_link_or_copy "$gstack_dir/supabase/config.sh" "$opencode_gstack/supabase/config.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
link_factory_skill_dirs() {
|
||||
|
|
@ -1121,6 +1136,11 @@ if [ "$INSTALL_KIRO" -eq 1 ]; then
|
|||
if [ -f "$SOURCE_GSTACK_DIR/ETHOS.md" ]; then
|
||||
_link_or_copy "$SOURCE_GSTACK_DIR/ETHOS.md" "$KIRO_GSTACK/ETHOS.md"
|
||||
fi
|
||||
# supabase/config.sh — required by gstack-telemetry-sync to resolve GSTACK_SUPABASE_URL
|
||||
if [ -f "$SOURCE_GSTACK_DIR/supabase/config.sh" ]; then
|
||||
mkdir -p "$KIRO_GSTACK/supabase"
|
||||
_link_or_copy "$SOURCE_GSTACK_DIR/supabase/config.sh" "$KIRO_GSTACK/supabase/config.sh"
|
||||
fi
|
||||
# gstack-upgrade skill
|
||||
if [ -f "$AGENTS_DIR/gstack-upgrade/SKILL.md" ]; then
|
||||
_link_or_copy "$AGENTS_DIR/gstack-upgrade/SKILL.md" "$KIRO_GSTACK/gstack-upgrade/SKILL.md"
|
||||
|
|
|
|||
Loading…
Reference in New Issue