Commit Graph
16 Commits
Author SHA1 Message Date
BlackAngelTV 679cd1200e docs: add architecture and API reference
Document the HTTP contract, the data model, the streaming design and the
key trade-offs, and describe the new companion mode in the frontend
architecture notes.
2026-10-06 19:10:34 +02:00
BlackAngelTV e2457d98da feat(frontend): add companion voice mode and expressive avatar
Split the client into two tabs so the user can either write to Jarvis or
talk to it. The companion screen centres the animated avatar and exposes a
large push-to-talk button; the transcript from local Whisper is sent to the
backend as text JSON exactly like a typed message, so the network contract
stays text-only.

Give the avatar a distinct expression per mood (thinking, listening,
speaking, happy, error, idle) and apply one dark, rounded theme so the app
looks consistent everywhere.
2026-10-06 19:10:30 +02:00
BlackAngelTV b9e23cf975 feat(frontend): manage projects and their context in the desktop client
A conversation that only lives in memory is lost when the window closes, and
long answers used to be cut off at the window edge because a scroll area
inherits the layout of the parent it is added to. Projects give each exchange a
durable context, the reload and verification actions make that context
observable instead of a black box, and laying the text out before drawing the
bubble keeps every answer inside the column.
2026-10-05 21:39:55 +02:00
BlackAngelTV 6ebf550eb0 feat(backend): bound the messages kept per project
A project that lives for months would otherwise grow the SQLite file without
limit, even though the model only ever reads the most recent messages. Pruning
the oldest rows on every write keeps a project to a fixed budget without
touching what the context is built from.
2026-10-05 21:39:45 +02:00
BlackAngelTV c1d6593c35 feat(backend): recite the project context to verify what the model receives
Storing a context is not enough: the user needs to know it actually reaches
Ollama, and that the messages replayed are the ones they expect. The read-only
probe answers that by asking the model to recite its context and reporting how
many messages were replayed, while persisting nothing.
2026-10-05 21:39:28 +02:00
BlackAngelTV 38f088c8fe feat(frontend): add native Rust client with SSE chat and local voice
Keep speech-to-text and text-to-speech on the machine so only text
travels to the backend while the backend still speaks JSON to Ollama.
2026-10-05 20:40:12 +02:00
BlackAngelTV 98c7c8cae2 feat(backend): accept OLLAMA_HOST as an alias for OLLAMA_URL
Match the environment variable used throughout the Ollama ecosystem.
2026-10-05 20:40:12 +02:00
BlackAngelTV 31e9619727 feat(backend): stream /api/chat as spec-compliant SSE
Expose the bare `data:`/`[DONE]` contract on the main chat endpoint so
simple clients can consume the stream without parsing named events.
2026-10-05 20:40:12 +02:00
BlackAngelTV 479a4db786 build(backend): commit lockfile for reproducible installs 2026-10-05 15:02:08 +02:00
BlackAngelTV cf748df2c5 docs(backend): document endpoints, security and streaming 2026-10-05 15:01:57 +02:00
BlackAngelTV 07cf643b33 build(backend): add production Dockerfile 2026-10-05 15:01:57 +02:00
BlackAngelTV 877df963f9 test(backend): cover auth, projects and streaming with a mocked Ollama
Tests run without any external service; the mock streams NDJSON chunks so the
SSE path is exercised end to end.
2026-10-05 15:01:57 +02:00
BlackAngelTV 32dd462be5 feat(backend): add authenticated API for projects and Jarvis chat
Introduce the user/project/message model, JWT authentication and an Ollama
relay that streams answers chunk by chunk over SSE.
2026-10-05 15:01:57 +02:00
BlackAngelTV 7c0156fbae docs: add agent instructions for the repository 2026-10-05 15:01:57 +02:00
BlackAngelTV 3613ac975a chore: add root gitignore to keep secrets and build output out of git 2026-10-05 15:01:57 +02:00
BlackAngelTV 620323edd2 Initial commit 2026-10-04 20:53:12 +00:00