feat(quick-pane): add constrained agent window

This commit is contained in:
2026-08-25 18:30:39 +02:00
parent 9f2c840ae7
commit 4f57114f19
16 changed files with 760 additions and 9 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
import React from "react";
import ReactDOM from "react-dom/client";
import { getCurrentWindow } from "@tauri-apps/api/window";
import App from "./App";
import QuickPane from "./quick-pane/QuickPane";
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
<React.StrictMode>
<App />
{getCurrentWindow().label === "quick-pane" ? <QuickPane /> : <App />}
</React.StrictMode>,
);