mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
29 lines
833 B
Bash
Executable File
29 lines
833 B
Bash
Executable File
#!/bin/bash
|
|
# p5.js Skill — Local Development Server
|
|
# Serves the current directory over HTTP for loading local assets (fonts, images)
|
|
#
|
|
# Usage:
|
|
# bash scripts/serve.sh [port] [directory]
|
|
#
|
|
# Examples:
|
|
# bash scripts/serve.sh # serve CWD on port 8080
|
|
# bash scripts/serve.sh 3000 # serve CWD on port 3000
|
|
# bash scripts/serve.sh 8080 ./my-project # serve specific directory
|
|
|
|
PORT="${1:-8080}"
|
|
DIR="${2:-.}"
|
|
|
|
echo "=== p5.js Dev Server ==="
|
|
echo "Serving: $(cd "$DIR" && pwd)"
|
|
echo "URL: http://localhost:$PORT"
|
|
echo "Press Ctrl+C to stop"
|
|
echo ""
|
|
|
|
cd "$DIR" && python3 -m http.server "$PORT" 2>/dev/null || {
|
|
echo "Python3 not found. Trying Node.js..."
|
|
npx serve -l "$PORT" "$DIR" 2>/dev/null || {
|
|
echo "Error: Need python3 or npx (Node.js) for local server"
|
|
exit 1
|
|
}
|
|
}
|