Initial commit of OpenClaw agent Chloe

This commit is contained in:
Chloe Bot
2026-03-02 20:22:49 +00:00
commit 80e697f8d9
67 changed files with 16100 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Full-text index management (requires qmd)
case "$1" in
fetch)
echo "Downloading all docs..."
;;
build)
echo "Building search index..."
;;
search)
shift
echo "Semantic search for: $*"
;;
*)
echo "Usage: build-index.sh {fetch|build|search <query>}"
;;
esac

View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Cache management for Clawdbot docs
case "$1" in
status)
echo "Cache status: OK (1-hour TTL)"
;;
refresh)
echo "Forcing cache refresh..."
;;
*)
echo "Usage: cache.sh {status|refresh}"
;;
esac

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# Fetch a specific doc
if [ -z "$1" ]; then
echo "Usage: fetch-doc.sh <path>"
exit 1
fi
echo "Fetching: https://docs.clawd.bot/$1"

View File

@@ -0,0 +1,5 @@
#!/bin/bash
# Show recently updated docs
DAYS=${1:-7}
echo "Docs updated in the last $DAYS days"
# In full version, this queries the change tracking

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Search docs by keyword
if [ -z "$1" ]; then
echo "Usage: search.sh <keyword>"
exit 1
fi
echo "Searching docs for: $1"
# In full version, this searches the full-text index

View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Sitemap generator - shows all docs by category
echo "Fetching Clawdbot documentation sitemap..."
# Categories structure based on docs.clawd.bot
CATEGORIES=(
"start"
"gateway"
"providers"
"concepts"
"tools"
"automation"
"cli"
"platforms"
"nodes"
"web"
"install"
"reference"
)
for cat in "${CATEGORIES[@]}"; do
echo "📁 /$cat/"
done

View File

@@ -0,0 +1,16 @@
#!/bin/bash
# Track changes to documentation
case "$1" in
snapshot)
echo "Saving current state..."
;;
list)
echo "Showing snapshots..."
;;
since)
echo "Changes since $2..."
;;
*)
echo "Usage: track-changes.sh {snapshot|list|since <date>}"
;;
esac