summaryrefslogtreecommitdiff
path: root/makima/frontend/src/routes/files.tsx
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove LLM module + all dependent surfaces (#135)soryu4 days1-77/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wholesale removal of the LLM integration layer. ~14,200 LOC deleted across backend and frontend. All chat-driven UIs go with it. ## Backend - Delete `src/llm/` (7,400 LOC): claude/groq clients, contract_tools, contract_evaluator, discuss_tools, mesh_tools, phase_guidance, task_output, templates, markdown round-trip, tools, transcript_analyzer. - Delete handlers wholly dependent on LLM: - `chat.rs` (file-level LLM chat at /files/{id}/chat) - `mesh_chat.rs` (mesh & task LLM chat + history) - `templates.rs` (/contract-types listing) - Strip LLM uses from `mesh_daemon.rs`: - `compute_action_directive` (used phase_guidance::check_deliverables_met to nudge supervisors with "all tasks done" messages). The auto-PR path below still fires when all tasks finish, so no behaviour lost. - `crate::llm::markdown_to_body` → inline 1-line replacement that wraps markdown content in a single BodyElement::Markdown. The editor re-parses on display, so round-trip is preserved. - Drop routes: /files/{id}/chat, /mesh/chat, /mesh/chat/history, /mesh/tasks/{id}/chat, /contract-types. - Drop the matching openapi registrations. ## Frontend - Delete components that were LLM-only: - `mesh/UnifiedMeshChatInput.tsx` - `listen/DiscussContractModal.tsx` - `listen/TranscriptAnalysisPanel.tsx` - `listen/ContractPickerModal.tsx` - `files/CliInput.tsx` - Delete the entire /listen page (its primary value-add was voice → LLM analysis → contract creation; without LLM the page is just a transcript display with no obvious user purpose). - Delete `hooks/useMeshChatHistory.ts` and `lib/listenApi.ts` (transcript-analysis API client to the already-Phase-5-removed listen handlers). - Strip api.ts of LLM exports: LlmModel, ChatMessage/Request/Response, UserQuestion/Answer, chatWithFile, MeshChat* types & functions, getMeshChatHistory, clearMeshChatHistory, chatWithMeshContext, ContractTypeTemplate, listContractTypes, chatWithContract, getContractChatHistory, clearContractChatHistory, discussContract, PhaseDefinition, DeliverableDefinition. - mesh.tsx: drop UnifiedMeshChatInput render + the chatContext memo + handleTaskUpdatedFromCli (only consumer was the input). - files.tsx: drop CliInput render + handleGenerateFromElement + handleBodyUpdate + handleClearFocus + suggestedPrompt state (all CliInput-only). - NavStrip: drop the /listen link. - main.tsx: drop the /listen route. ## Net diff: 37 files changed, 58 insertions, 14,281 deletions. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat: move daemon reauth to daemons page, add contract-backed directive ↵soryu2026-03-021-1/+1
| | | | | | | | | | | | | | | steps, rename Mesh to Exec (#84) * feat: soryu-co/soryu - makima: Rename Mesh to Exec in navigation * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Add contract-backed steps to directive flow * WIP: heartbeat checkpoint
* Contract systemsoryu2026-01-151-27/+194
|
* Disable buttons if logged outsoryu2026-01-111-0/+32
| | | | Also add prod.env for FE config
* Initial Control systemsoryu2026-01-111-3/+347
|
* Add versioning to filessoryu2025-12-241-36/+171
|
* Update overwrite mechanism to show diffsoryu2025-12-241-0/+8
|
* Revert "Update overwrite mechanism to only require one prompt"soryu2025-12-241-24/+4
| | | | This reverts commit d2bb569401a906e33517cafd0e35d960bd1381bd.
* Revert "Fixup: Update overwrite mechanism"soryu2025-12-241-12/+4
| | | | This reverts commit 70e6c958a5a624e1d3ce51ff119a281032addf1a.
* Fixup: Update overwrite mechanismsoryu2025-12-241-4/+12
|
* Update overwrite mechanism to only require one promptsoryu2025-12-241-4/+24
|
* Add overwrite mechanism for conflicting writes of filessoryu2025-12-241-3/+7
|
* Add conflict notification and file update WS endpointsoryu2025-12-231-10/+123
|
* Add editable file sections and a drag&drop featuresoryu2025-12-231-2/+63
|
* Add file body and initial tool call systemsoryu2025-12-231-10/+31
|
* Add Postgres for persistence and File cabinetsoryu2025-12-231-0/+95
Migrations are local only currently, and must be run manually by setting POSTGRES_CONNECTION_URI