Files
archie/ui/src/main.ts
T
sam 4479f212d7 chore(webui): remove legacy hash and Events-tab redirects
The #/path rewrite and the /captures, /mappings and /bindings redirects only
kept pre-cutover bookmarks working.
2026-09-25 00:36:43 +10:00

26 lines
976 B
TypeScript

import { createPinia } from "pinia";
import { createApp } from "vue";
import App from "./App.vue";
import { registerArchieWebMcpTools } from "./lib/archie-webmcp";
import router from "./router";
import { useAppearanceStore } from "./stores/appearance";
import { useLiveUpdatesStore } from "./stores/live-updates";
// One stylesheet: the design tokens, and the element defaults that have no
// component to live in (the canvas, the focus floor, the motion preference).
// Everything else is Tailwind on the component that owns it.
import "./style.css";
const app = createApp(App);
const pinia = createPinia();
app.use(pinia).use(router);
useAppearanceStore(pinia).initialize();
useLiveUpdatesStore(pinia).initialize();
app.mount("#app");
// Published after the shell paints: an in-page agent's tools are not worth
// delaying the dashboard for, and the browser no-ops when modelContext is
// absent (which it is outside the origin trial).
void registerArchieWebMcpTools();