53b52a2337
- New: app/approval.py — HMAC-signed tokens, pending action store, 15-min TTL
- New: /approve/{token} and /reject/{token} GET routes (public, for Discord links)
- New: /internal/queue-action POST (for Citadel propose_file_change)
- New: execute intent in classifier — restart/rebuild + agent name queues action
- Updated: tools.py — notify_raven_with_actions, call_qyburn_rebuild/restart
- Updated: intent.py — EXECUTE_VERBS, STACK_NAMES, extract_execute_target
- Updated: SYSTEM_PROMPT reflects Phase 3 capabilities
- Updated: docker-compose.yml — JON_SECRET, JON_PUBLIC_URL, RAVEN_URL, QYBURN_URL
31 lines
916 B
YAML
31 lines
916 B
YAML
services:
|
|
jon-snow:
|
|
build: .
|
|
container_name: jon-snow
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8900:8900"
|
|
volumes:
|
|
- /opt/agent-os:/opt/agent-os:rw
|
|
- /opt/sites:/opt/sites:rw
|
|
environment:
|
|
FAST_MODEL: ${FAST_MODEL:-ollama/gemma4}
|
|
SMART_MODEL: ${SMART_MODEL:-ollama/gemma4}
|
|
OLLAMA_BASE_URL: ${OLLAMA_BASE_URL:-http://172.27.40.20:11434}
|
|
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
|
PLANE_URL: ${PLANE_URL:-http://172.27.40.3:8095}
|
|
PLANE_WORKSPACE: ${PLANE_WORKSPACE:-nxm}
|
|
PLANE_API_KEY: ${PLANE_API_KEY}
|
|
AGENT_OS_DIR: /opt/agent-os
|
|
SITES_DIR: /opt/sites
|
|
RAVEN_URL: ${RAVEN_URL:-http://raven-notify:8400}
|
|
QYBURN_URL: ${QYBURN_URL:-http://qyburn-coder:8700}
|
|
JON_PUBLIC_URL: ${JON_PUBLIC_URL:-https://jon.nxm.co.za}
|
|
JON_SECRET: ${JON_SECRET}
|
|
networks:
|
|
- proxy
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|