build(ci): uv toolchain, release-please semver; feat(skills): vendor tools self-contained (no symlinks, relative refs)

- bin/db/psql-yq + bin/web/search + tools/{yamlout,websearch} vendored as real files
- bin/db/ssh-tunnel added (OnlyOffice VM pg on 5433)
- skills reference local bin/ paths; no agent-skills/abs links in git
- pyproject.toml + uv.lock; CI installs via uv sync --frozen
- release-please auto-tags semver from conventional commits when green
- LICENSE MIT, badges/mermaid README
This commit is contained in:
2026-08-10 21:24:42 +01:00
parent d4a88eead7
commit 63d3be0e19
31 changed files with 1795 additions and 39 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
# docker-entrypoint.sh - run 2dph bin tools inside the container.
#
# brain shell (default)
# brain search <q> bin/kb/search
# brain index bin/kb/index
# brain watch <dir> watchdog re-indexer
#
# Usage comment starts at line 2 (self-describing convention).
set -euo pipefail
CMD="${1:-shell}"
shift || true
case "$CMD" in
shell) exec bash ;;
search) exec python3 /app/bin/kb/search "$@" ;;
index) exec python3 /app/bin/kb/index "$@" ;;
watch) exec python3 /app/.dockerbin/kb-watch "$@" ;;
serve) exec python3 /app/.dockerbin/serve "$@" ;;
*) echo "unknown command: $CMD" >&2; exit 2 ;;
esac