mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-25 02:53:40 +08:00
Release v0.3.0: 25 languages, install/update CLI, skills, benchmark
Language expansion (13 → 25): Add Ruby, C, Bash, Zig, Elixir, Haskell, OCaml, HTML, CSS, YAML, TOML, HCL with tree-sitter grammars and language specs. Restore Erlang and SQL with extraction fixes. CLI install/update/uninstall commands: Auto-detect Claude Code and Codex CLI, register MCP server, install task-specific skills, self-update with SHA-256 verification. Embedded skills (4): exploring, tracing, quality, reference — auto-trigger in Claude Code for graph-first code discovery. Pipeline improvements: Docstring extraction, enrichment pass for params/returns/complexity, graceful context cancellation, improved test detection. 35-language benchmark (BENCHMARK.md): 12 questions × 35 repos, 91.8% overall score, Linux kernel stress test (20K nodes, zero timeouts). Replaces old benchmark artifacts.
This commit is contained in:
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Pre-commit hook: mirrors the GitHub Actions lint + test jobs.
|
||||
# Same commands as .github/workflows/release.yml
|
||||
#
|
||||
# Setup (once after clone):
|
||||
# git config core.hooksPath scripts/hooks
|
||||
|
||||
# --- Lint ---
|
||||
if ! command -v golangci-lint &>/dev/null; then
|
||||
echo "pre-commit: golangci-lint not found, skipping lint check"
|
||||
echo " install: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10"
|
||||
else
|
||||
echo "pre-commit: running golangci-lint..."
|
||||
golangci-lint run --timeout=5m ./...
|
||||
fi
|
||||
|
||||
# --- Tests ---
|
||||
echo "pre-commit: running tests..."
|
||||
go test ./... -timeout=5m
|
||||
Reference in New Issue
Block a user