mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 16:14:31 +00:00
Merge upstream/dev into feat/browser-mcp-hover-phase11e
This commit is contained in:
commit
96db93ee6c
98 files changed
+6334
-1745
No files matched your search
@@ -15,6 +15,17 @@ if [[ ! -f AGENTS.md ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
TRACKED_PLANS="$(git ls-files -- plans)"
|
||||
if [[ -n "$TRACKED_PLANS" ]]; then
|
||||
echo "[X] Tracked files found under plans/."
|
||||
echo " plans/ is workspace-only and must stay ignored."
|
||||
while IFS= read -r tracked_path; do
|
||||
echo " $tracked_path"
|
||||
done <<< "$TRACKED_PLANS"
|
||||
echo " Remove them from the index with: git rm -r --cached plans"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
|
||||
if [[ -z "$CURRENT_BRANCH" || "$CURRENT_BRANCH" == "HEAD" ]]; then
|
||||
echo "[i] Detached HEAD detected. Skipping pre-push CI parity gate."
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
UI_DIR="$ROOT_DIR/ui"
|
||||
|
||||
ensure_root_deps() {
|
||||
echo "[deps] Syncing root dependencies"
|
||||
(cd "$ROOT_DIR" && bun install --frozen-lockfile)
|
||||
}
|
||||
|
||||
ensure_ui_deps() {
|
||||
echo "[deps] Syncing UI dependencies"
|
||||
(cd "$UI_DIR" && bun install --frozen-lockfile)
|
||||
}
|
||||
|
||||
ensure_root_deps
|
||||
ensure_ui_deps
|
||||
Reference in new issue
Block a user