Some checks failed
release-tag / Resolve release metadata (push) Successful in 30s
release-tag / Build knowledge (push) Failing after 4m51s
release-tag / Build control (push) Failing after 5m0s
release-tag / Build agent (push) Failing after 5m0s
release-tag / Build agent-data-init (push) Failing after 5m5s
release-tag / Build neuroforge-worker (push) Failing after 5m7s
release-tag / Build neuroforge (push) Failing after 5m9s
14 lines
516 B
Bash
14 lines
516 B
Bash
#!/bin/sh
|
|
set -eu
|
|
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
PORT=${CODEBASE_MEMORY_PORT:-9749}
|
|
if ! command -v codebase-memory-mcp >/dev/null 2>&1; then
|
|
echo "codebase-memory-mcp is not installed or not in PATH" >&2
|
|
exit 1
|
|
fi
|
|
export CBM_ALLOWED_ROOT="$ROOT"
|
|
echo "Indexing $ROOT with CBM_ALLOWED_ROOT=$CBM_ALLOWED_ROOT" >&2
|
|
codebase-memory-mcp cli index_repository "{\"repo_path\":\"$ROOT\"}"
|
|
echo "Starting optional Codebase Memory UI on :$PORT" >&2
|
|
exec codebase-memory-mcp --ui=true --port="$PORT"
|