Improve local service checks and web search tooling

This commit is contained in:
William Valentin
2026-02-22 22:12:44 -08:00
parent b477705806
commit f27aabae3b
12 changed files with 228 additions and 11 deletions
+12 -1
View File
@@ -384,7 +384,7 @@ Return status for user-level local LLM backend daemons (for example `ollama.serv
#### `system.dockerDependencies`
Return status for docker-compose managed dependencies discovered from `docker-compose.yml` (excluding Flynn's own `flynn` service). Includes profile-scoped services (for example `whisper-server`, `brave-search`) when profiles are defined.
Return status for docker-compose managed dependencies discovered from `docker-compose.yml` (excluding Flynn's own `flynn` service). Includes profile-scoped services (for example `whisper-server`, `brave-search`, `searxng`) when profiles are defined.
**Request:**
```json
@@ -421,6 +421,17 @@ Return status for docker-compose managed dependencies discovered from `docker-co
"statusText": "Up 2 minutes",
"containerName": "brave-search",
"availableActions": ["restart", "stop", "update"]
},
{
"id": "searxng",
"name": "SearXNG",
"service": "searxng",
"configured": true,
"state": "running",
"health": "none",
"statusText": "Up 2 minutes",
"containerName": "searxng",
"availableActions": ["restart", "stop", "update"]
}
]
}
+21
View File
@@ -3,6 +3,27 @@
"updated_at": "2026-02-23",
"description": "Tracks the status of all Flynn plans and implementation phases",
"plans": {
"local-searxng-compose-with-fallback-endpoint": {
"status": "completed",
"date": "2026-02-23",
"updated": "2026-02-23",
"summary": "Added an optional local `searxng` Docker Compose dependency (search profile) and extended `web_search` config/tooling with `fallback_endpoint` so Flynn can query a local SearXNG first and automatically fail over to a homelab backup endpoint when the primary is unavailable.",
"files_modified": [
"docker-compose.yml",
"src/tools/builtin/web-search.ts",
"src/tools/builtin/web-search.test.ts",
"src/config/schema.ts",
"src/daemon/tools.ts",
"src/gateway/handlers/services.ts",
"src/gateway/handlers/dockerDependencies.ts",
"src/gateway/handlers/dockerDependencies.test.ts",
"README.md",
"config/default.yaml",
"docs/api/PROTOCOL.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/tools/builtin/web-search.test.ts src/gateway/handlers/services.test.ts src/config/schema.test.ts src/gateway/handlers/dockerDependencies.test.ts + pnpm typecheck passing"
},
"dashboard-observability-graphs-and-service-logs": {
"status": "completed",
"date": "2026-02-23",