(PROPOSALS_TABLE).orderBy('createdAt').reverse().toArray();
+ return all.filter((p) => {
+ if (p.status !== status) return false;
+ if (missionId && p.missionId !== missionId) return false;
+ if (module) {
+ if (p.intent.kind !== 'toolCall') return false;
+ const tool = getTool(p.intent.toolName);
+ if (!tool || tool.module !== module) return false;
+ }
+ return true;
+ });
+ }, [] as Proposal[]);
+}
diff --git a/apps/mana/apps/web/src/routes/(app)/todo/+page.svelte b/apps/mana/apps/web/src/routes/(app)/todo/+page.svelte
index c6dac7422..226a8e8e0 100644
--- a/apps/mana/apps/web/src/routes/(app)/todo/+page.svelte
+++ b/apps/mana/apps/web/src/routes/(app)/todo/+page.svelte
@@ -15,6 +15,7 @@
import OnboardingModal from '$lib/modules/todo/components/OnboardingModal.svelte';
import TodoPage from '$lib/modules/todo/components/pages/TodoPage.svelte';
import PagePicker from '$lib/modules/todo/components/pages/PagePicker.svelte';
+ import AiProposalInbox from '$lib/components/ai/AiProposalInbox.svelte';
import { todoSettings } from '$lib/modules/todo/stores/settings.svelte';
import type { PageConfig } from '$lib/modules/todo/stores/settings.svelte';
import { getTaskStats } from '$lib/modules/todo';
@@ -237,6 +238,9 @@
+
+
+
(showSyntaxHelp = true)} />