mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:21:10 +02:00
Runner no longer creates proposals (commit 5a) and no module renders the inbox (commit 5b), so the supporting code is dead. This commit deletes it. Removed: - data/ai/proposals/ (types, store, queries + tests) — the entire Proposal model + createProposal/listProposals/approveProposal API. - components/ai/AiProposalInbox.svelte — orphaned after commit 5b. - data/ai/missions/server-iteration-staging.ts + its test — the bridge that turned server-produced iterations into local proposals. Server iterations will land with executed steps directly once commit 6 migrates the server runner. - data/ai/missions/planner/ — all webapp re-exports of the old buildPlannerPrompt / parsePlannerResponse / AiPlanInput types. The new runner imports its types directly from @mana/shared-ai. - llm-tasks/ai-plan.ts — the old LlmTask that wrapped the text-JSON request/parse cycle for the LlmOrchestrator. Replaced by the direct mana-llm client in missions/llm-client.ts. Updated: - data/database.ts — v29 drops the `pendingProposals` table (passing null to .stores() deletes it on next open). Safe because nothing is live. - routes/(app)/+layout.svelte — no more startServerIterationStaging / stopServerIterationStaging in the bootstrap/teardown pair. - data/ai/missions/types.ts — strips the planStepStatusFromProposal bridge helper (proposals don't exist any more). - data/ai/missions/input-resolvers.ts — imports ResolvedInput from @mana/shared-ai directly. - data/tools/executor.test.ts — the proposal-staging test block is rewritten to match the new semantics: auto and propose both execute inline, only deny refuses. Net: ~1100 LoC removed, 0 added. Type-check green, 15 tests pass across executor + runner. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||