Add a consolidated single export to each app

This commit is contained in:
James Babcock committed 2026-08-03 00:51:57 -07:00
1 parent 9b3832d7a7
commit f38366df6e
23 files changed
+597 -337

No files matched your search

+2 -2
View File
@@ -5,7 +5,7 @@
* mirrors what the user can do from the launcher grid and the sidebar.
*/
import { shell, type ShellWindow } from "../ui/shell/shell";
import type { LauncherAppEntry } from "../apps/launcher/launcher-app";
import type { AppDefinition } from "../apps/app-definition";
import {
disbandFolder,
FOLDER_NAME_MAX_LENGTH,
@@ -18,7 +18,7 @@ import { toolRegistry, type ToolRegistry, type ToolResult } from "./tool-registr
export type WindowToolsOptions = {
/** The launcher's app list; fixes the ids apps.launch accepts. */
apps: LauncherAppEntry[];
apps: readonly AppDefinition[];
/** Launch (or focus) an app exactly as the launcher grid would. */
launchApp: (appId: string) => Promise<void> | void;
/** Repaint the shell surface so the sidebar reflects a focus change. */