From 6d5fe045b5a2df0da02abbe7d2c8cc15de5b7f13 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste THERY Date: Tue, 14 Jul 2026 19:58:21 +0700 Subject: [PATCH] fix(core): keep local add-ons optional and polish workflows (#115) * fix(core): keep chat and tts truly optional * fix(landing): polish local rag workflows --- AGENTS.md | 1 + CLAUDE.md | 1 + README.md | 11 ++-- SECURITY.md | 8 ++- context7.json | 2 +- docs/agent-integration.md | 5 +- docs/api-reference.md | 18 +++++-- docs/cli-reference.md | 6 ++- package.json | 2 +- packages/ragmir-chat/README.md | 8 +-- packages/ragmir-core/README.md | 10 ++-- .../document-evidence-benchmark/README.md | 3 +- .../examples/library-api-demo/README.md | 3 +- .../examples/sovereign-rag-demo/README.md | 7 +-- packages/ragmir-core/package.json | 18 +++++-- packages/ragmir-core/src/cli-options.ts | 14 +++-- packages/ragmir-core/src/cli.test.ts | 6 +++ packages/ragmir-core/src/cli.ts | 37 ++++++++++++-- packages/ragmir-landing/README.md | 6 ++- packages/ragmir-landing/messages/en.json | 23 +++++---- packages/ragmir-landing/messages/fr.json | 51 ++++++++++--------- packages/ragmir-landing/package.json | 2 +- packages/ragmir-landing/public/llms.txt | 7 +-- .../src/components/hero-demo-script.ts | 8 +-- .../src/components/use-case-carousel.tsx | 45 ++++++++-------- packages/ragmir-tts/README.md | 9 ++-- pnpm-lock.yaml | 12 ++--- scripts/semantic-release-verify.mjs | 17 +++++++ 28 files changed, 225 insertions(+), 115 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b7d0fbc..739df2a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -13,6 +13,7 @@ - `packages/ragmir-core` provides `@jcode.labs/ragmir`: the `rgr` CLI, TypeScript library, MCP server, and portable skills. - `packages/ragmir-chat` is the optional local GGUF synthesis add-on used by `rgr chat`. - `packages/ragmir-tts` is the optional local/offline audio add-on used by `rgr audio`. +- Core must install and start without Chat or TTS. Keep both as optional peer integrations and load them only when their command is used. - `packages/ragmir-landing` is a self-contained, telemetry-free Astro site. Keep it static, open-source focused, and free of vendor deployment configuration. - Ragmir Core stays retrieval-first: `local-hash` supports offline retrieval, `transformers` is the explicit semantic option, and local chat remains a separate add-on. - Long-running Node.js processes use one `RagmirClient` per project root and close it during shutdown. Keep the top-level API for one-shot scripts. diff --git a/CLAUDE.md b/CLAUDE.md index df101b8..822bb54 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -17,6 +17,7 @@ Use `pnpm --filter @jcode.labs/ragmir