Commit Graph

13 Commits

Author SHA1 Message Date
Joel Hooks cc600aaf32 fix(docs-api): remove embedding from query_by — v2 has no auto-embed field 2026-03-18 22:27:47 -07:00
Joel Hooks c84d808d10 fix(docs-api): graceful degradation + unhandled rejection handler
fetchDocSummaries wrapped in try/catch — search still works if Typesense is slow.
handleStatus wrapped in try/catch — returns zeros if Typesense unreachable.
Global unhandledRejection handler prevents silent Bun crashes.
2026-03-18 21:05:54 -07:00
Joel Hooks 78ebf41148 fix: disable vector_query for v2 collection (raw float[], no auto-embed)
docs-api and CLI both tried vector_query with empty [] which only works with
Typesense auto-embed. v2 uses pre-computed ollama vectors. Text search on
retrieval_text still works. TODO: embed query via ollama for vector search.
2026-03-17 22:27:57 -07:00
Joel Hooks 4a6700d506 Upgrade docs-api for ADR-0234 by switching to a configurable chunks collection, adding NAS artifact endpoints, and enriching agentic HATEOAS search context 2026-03-17 22:08:24 -07:00
joelclaw-agent 8ef1329760 feat: LRU caching for docs, chunks, TOC (ADR-0228 Phase 5) — autonomous agent 2026-03-17 14:26:22 +00:00
joelclaw-agent 2b837b4dbf feat: TTL cache for doc lookups (ADR-0228 Phase 5) — autonomous 2026-03-17 14:22:31 +00:00
joelclaw-agent 3d8a46a083 feat: add LRU caching for doc/chunk/TOC lookups (ADR-0228 Phase 5) 2026-03-17 14:20:04 +00:00
Joel Hooks 2e119b4beb Deepen ADR-0228 phase 4 taxonomy with 11 SKOS sub-concepts and sync docs-api 2026-03-16 21:04:25 -07:00
Joel Hooks 6e563302c4 Restore ADR-0228 docs-api agentic search and Phase 3 browsing routes 2026-03-16 19:41:00 -07:00
Joel Hooks 089a3da562 Implement ADR-0228 docs-api metadata search plus TOC and chunk browsing endpoints 2026-03-16 19:35:47 -07:00
Joel Hooks 72d36ab05f Implement ADR-0228 Phase 2 docs-api search filters, concept facets, expansion, and assembly in apps/docs-api 2026-03-16 19:34:11 -07:00
Joel Hooks 2caaaad91b Implement ADR-0228 Phase 1 taxonomy graph endpoints in apps/docs-api and update the README 2026-03-16 19:12:06 -07:00
Joel Hooks aebdd927d3 Add docs-api service and public docs routing 2026-02-26 15:38:15 -08:00