Polish chat UI and wire flue agent env

- Add chat components (header, composer, conversation, message, thinking response, identity)
- Add chat hooks (use-chat-agent, use-chat-composer)
- Add chat lib (constants, transforms, types)
- Wire agent model config through env (provider, name, api, base url, key, context window, max tokens)
- Refresh web styling and routes
This commit is contained in:
-Puter
2026-07-19 19:33:41 +05:30
parent 8cd479f20c
commit 5347db578d
24 changed files with 1336 additions and 93 deletions

View File

@@ -1,2 +1 @@
This Bun/TypeScript monorepo uses Bun/Vite+, Convex for the control plane, Effect v4 for daemon/primitives, and Flue in `packages/agents`; use `@code/*` workspace exports, validate environment values in `packages/env`, never edit generated files or `repos/`, and verify changes with the targeted runtime plus `bun run check-types` and `bun run check`.
Before any Flue work, MUST read `.agents/skills/flue/SKILL.md` and use its installed-version `flue docs` references; keep every `AGENTS.md` to 12 dense sentences by replacing stale guidance instead of appending rules.
This Bun/TypeScript monorepo uses Bun/Vite+, Convex, Effect v4, and Flue; use `@code/*` exports, validate env in `packages/env`, never edit generated files or `repos/`, keep UI components presentational by separating UI state into reusable hooks and business/services/pure functions into dedicated modules, and verify with the targeted runtime plus `bun run check-types` and `bun run check`. Before Flue work, MUST read `.agents/skills/flue/SKILL.md` and use installed-version `flue docs`; keep every `AGENTS.md` to 12 dense sentences by replacing stale guidance rather than appending.