Add document converter, seeder data structure, and project wiki
- ai-service/convert.py: converts Office/PDF files to markdown with frontmatter - database/seeders/data/: folder structure for themas, projects, documents, etc. - database/seeders/data/raw/: drop zone for Office/PDF files to convert - wiki/: project architecture, concepts, and knowledge graph documentation - Remove unused Laravel example tests Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
wiki/tools/search.sh
Normal file
18
wiki/tools/search.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# Search the wiki — usable by both humans and LLM agents
|
||||
# Usage: ./wiki/tools/search.sh "query" [--files-only]
|
||||
|
||||
WIKI_DIR="$(dirname "$(dirname "$(readlink -f "$0")")")"
|
||||
QUERY="$1"
|
||||
MODE="${2:---content}"
|
||||
|
||||
if [ -z "$QUERY" ]; then
|
||||
echo "Usage: $0 <query> [--files-only]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$MODE" = "--files-only" ]; then
|
||||
grep -rl --include="*.md" --include="*.yaml" "$QUERY" "$WIKI_DIR" 2>/dev/null | sort
|
||||
else
|
||||
grep -rn --include="*.md" --include="*.yaml" --color=auto -i "$QUERY" "$WIKI_DIR" 2>/dev/null
|
||||
fi
|
||||
Reference in New Issue
Block a user