managarten/apps/api/src/modules
Till JS 54a12ffd5c feat(webapp): wire isParallelSafe in Companion chat + Mission runner
Enables the M1 parallel-reads optimisation on the webapp side. Both
consumers of runPlannerLoop pass an isParallelSafe predicate derived
from the tool catalog:

  isParallelSafe: (name) =>
    AI_TOOL_CATALOG_BY_NAME.get(name)?.defaultPolicy === 'auto'

Auto-policy tools (list_tasks, get_habits, nutrition_summary, …) run
via Promise.all in batches of 10 when the LLM fans them out in one
round. Propose-policy tools — which surface to the user as Proposal
cards — stay sequential so intent ordering in the inbox is preserved
and pre-execute guardrails can reason about prior-step state.

Tests: 31 existing companion + mission tests pass unchanged; the
parallel path is exercised via the new loop.test.ts cases shipped
with the M1 commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 14:11:24 +02:00
..
articles feat(articles): browser-HTML bookmarklet + consent-wall detection + auto-save 2026-04-22 15:29:53 +02:00
calendar feat(api): create unified API server with first 3 modules 2026-04-02 21:12:15 +02:00
chat refactor(shared-tailwind): rewrite themes.css to single-layer shadcn convention 2026-04-09 01:13:06 +02:00
contacts refactor(shared-tailwind): rewrite themes.css to single-layer shadcn convention 2026-04-09 01:13:06 +02:00
context feat(api): POST /api/v1/context/import-url — crawler + optional LLM summary 2026-04-15 14:24:19 +02:00
food refactor: rename nutriphi module to food (Essen) 2026-04-14 15:30:07 +02:00
guides refactor(shared-tailwind): rewrite themes.css to single-layer shadcn convention 2026-04-09 01:13:06 +02:00
moodlit feat(api): port remaining 12 modules to unified API server 2026-04-02 21:34:08 +02:00
music refactor(shared-tailwind): rewrite themes.css to single-layer shadcn convention 2026-04-09 01:13:06 +02:00
news refactor(shared-rss): extract RSS parsing + Readability into one package 2026-04-15 22:30:44 +02:00
news-research feat(news-research): RSS feed discovery, filter, and AI-context export 2026-04-15 22:31:07 +02:00
picture feat(picture,api): GPT-Image-2 image generation 2026-04-23 00:37:15 +02:00
plants refactor: rename nutriphi module to food (Essen) 2026-04-14 15:30:07 +02:00
presi refactor: rename planta → plants, clean up codebase 2026-04-12 18:59:44 +02:00
profile feat(profile,api): meImages foundation for AI reference generation (M1) 2026-04-23 13:50:53 +02:00
research refactor: rename planta → plants, clean up codebase 2026-04-12 18:59:44 +02:00
storage docs: update architecture comparison — 5/10 roadmap items done 2026-04-16 15:00:09 +02:00
todo refactor: rename planta → plants, clean up codebase 2026-04-12 18:59:44 +02:00
traces refactor: rename planta → plants, clean up codebase 2026-04-12 18:59:44 +02:00
website feat(webapp): wire isParallelSafe in Companion chat + Mission runner 2026-04-23 14:11:24 +02:00
wetter feat(wetter): add multi-model source comparison view 2026-04-17 13:57:05 +02:00
who feat(who): add character dossier system for staged fact disclosure 2026-04-10 17:40:16 +02:00