25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
chore(repo): move desktop app under apps
t8y206683c57b1b7
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4e5b2d96dd..f550b4b812 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -29,10 +29,10 @@ jobs:run: pnpm install --frozen-lockfile- name: Frontend format check- run: npx oxfmt --check "src/**/*.{ts,vue}"+ run: npx oxfmt --check "apps/desktop/src/**/*.{ts,vue}"- name: TypeScript check- run: npx vue-tsc --noEmit+ run: npx vue-tsc --noEmit --project apps/desktop/tsconfig.json- name: Frontend testsrun: pnpm test:coveragediff --git a/components.json b/apps/desktop/components.jsonsimilarity index 91%rename from components.jsonrename to apps/desktop/components.jsonindex 3a2ebf95c4..2c03417c45 100644--- a/components.json+++ b/apps/desktop/components.json@@ -5,7 +5,7 @@"typescript": true,"tailwind": {"config": "",- "css": "src/styles/globals.css",+ "css": "apps/desktop/src/styles/globals.css","baseColor": "neutral","cssVariables": true,"prefix": ""diff --git a/index.html b/apps/desktop/index.htmlsimilarity index 100%rename from index.htmlrename to apps/desktop/index.htmldiff --git a/public/favicon.png b/apps/desktop/public/favicon.pngsimilarity index 100%rename from public/favicon.pngrename to apps/desktop/public/favicon.pngdiff --git a/public/icons/ai/openai.svg b/apps/desktop/public/icons/ai/openai.svgsimilarity index 100%rename from public/icons/ai/openai.svgrename to apps/desktop/public/icons/ai/openai.svgdiff --git a/public/icons/database/access.png b/apps/desktop/public/icons/database/access.pngsimilarity index 100%rename from public/icons/database/access.pngrename to apps/desktop/public/icons/database/access.pngdiff --git a/public/icons/database/apache_kylin.svg b/apps/desktop/public/icons/database/apache_kylin.svgsimilarity index 100%rename from public/icons/database/apache_kylin.svgrename to apps/desktop/public/icons/database/apache_kylin.svgdiff --git a/public/icons/database/bigquery.svg b/apps/desktop/public/icons/database/bigquery.svgsimilarity index 100%rename from public/icons/database/bigquery.svgrename to apps/desktop/public/icons/database/bigquery.svgdiff --git a/public/icons/database/cassandra.svg b/apps/desktop/public/icons/database/cassandra.svgsimilarity index 100%rename from public/icons/database/cassandra.svgrename to apps/desktop/public/icons/database/cassandra.svgdiff --git a/public/icons/database/clickhouse.svg b/apps/desktop/public/icons/database/clickhouse.svgsimilarity index 100%rename from public/icons/database/clickhouse.svgrename to apps/desktop/public/icons/database/clickhouse.svgdiff --git a/public/icons/database/cockroachdb.svg b/apps/desktop/public/icons/database/cockroachdb.svgsimilarity index 100%rename from public/icons/database/cockroachdb.svgrename to apps/desktop/public/icons/database/cockroachdb.svgdiff --git a/public/icons/database/db2.svg b/apps/desktop/public/icons/database/db2.svgsimilarity index 100%rename from public/icons/database/db2.svgrename to apps/desktop/public/icons/database/db2.svgdiff --git a/public/icons/database/dm.svg b/apps/desktop/public/icons/database/dm.svgsimilarity index 100%rename from public/icons/database/dm.svgrename to apps/desktop/public/icons/database/dm.svgdiff --git a/public/icons/database/doris.svg b/apps/desktop/public/icons/database/doris.svgsimilarity index 100%rename from public/icons/database/doris.svgrename to apps/desktop/public/icons/database/doris.svgdiff --git a/public/icons/database/duckdb.svg b/apps/desktop/public/icons/database/duckdb.svgsimilarity index 100%rename from public/icons/database/duckdb.svgrename to apps/desktop/public/icons/database/duckdb.svgdiff --git a/public/icons/database/elasticsearch.svg b/apps/desktop/public/icons/database/elasticsearch.svgsimilarity index 100%rename from public/icons/database/elasticsearch.svgrename to apps/desktop/public/icons/database/elasticsearch.svgdiff --git a/public/icons/database/gaussdb.svg b/apps/desktop/public/icons/database/gaussdb.svgsimilarity index 100%rename from public/icons/database/gaussdb.svgrename to apps/desktop/public/icons/database/gaussdb.svgdiff --git a/public/icons/database/goldendb.png b/apps/desktop/public/icons/database/goldendb.pngsimilarity index 100%rename from public/icons/database/goldendb.pngrename to apps/desktop/public/icons/database/goldendb.pngdiff --git a/public/icons/database/h2.svg b/apps/desktop/public/icons/database/h2.svgsimilarity index 100%rename from public/icons/database/h2.svgrename to apps/desktop/public/icons/database/h2.svgdiff --git a/public/icons/database/hive.svg b/apps/desktop/public/icons/database/hive.svgsimilarity index 100%rename from public/icons/database/hive.svgrename to apps/desktop/public/icons/database/hive.svgdiff --git a/public/icons/database/informix.svg b/apps/desktop/public/icons/database/informix.svgsimilarity index 100%rename from public/icons/database/informix.svgrename to apps/desktop/public/icons/database/informix.svgdiff --git a/public/icons/database/kingbase.svg b/apps/desktop/public/icons/database/kingbase.svgsimilarity index 100%rename from public/icons/database/kingbase.svgrename to apps/desktop/public/icons/database/kingbase.svgdiff --git a/public/icons/database/mariadb.svg b/apps/desktop/public/icons/database/mariadb.svgsimilarity index 100%rename from public/icons/database/mariadb.svgrename to apps/desktop/public/icons/database/mariadb.svgdiff --git a/public/icons/database/mongodb.svg b/apps/desktop/public/icons/database/mongodb.svgsimilarity index 100%rename from public/icons/database/mongodb.svgrename to apps/desktop/public/icons/database/mongodb.svgdiff --git a/public/icons/database/mysql.svg b/apps/desktop/public/icons/database/mysql.svgsimilarity index 100%rename from public/icons/database/mysql.svgrename to apps/desktop/public/icons/database/mysql.svgdiff --git a/public/icons/database/neo4j.svg b/apps/desktop/public/icons/database/neo4j.svgsimilarity index 100%rename from public/icons/database/neo4j.svgrename to apps/desktop/public/icons/database/neo4j.svgdiff --git a/public/icons/database/oceanbase.svg b/apps/desktop/public/icons/database/oceanbase.svgsimilarity index 100%rename from public/icons/database/oceanbase.svgrename to apps/desktop/public/icons/database/oceanbase.svgdiff --git a/public/icons/database/opengauss.svg b/apps/desktop/public/icons/database/opengauss.svgsimilarity index 100%rename from public/icons/database/opengauss.svgrename to apps/desktop/public/icons/database/opengauss.svgdiff --git a/public/icons/database/oracle.svg b/apps/desktop/public/icons/database/oracle.svgsimilarity index 100%rename from public/icons/database/oracle.svgrename to apps/desktop/public/icons/database/oracle.svgdiff --git a/public/icons/database/postgres.svg b/apps/desktop/public/icons/database/postgres.svgsimilarity index 100%rename from public/icons/database/postgres.svgrename to apps/desktop/public/icons/database/postgres.svgdiff --git a/public/icons/database/presto.svg b/apps/desktop/public/icons/database/presto.svgsimilarity index 100%rename from public/icons/database/presto.svgrename to apps/desktop/public/icons/database/presto.svgdiff --git a/public/icons/database/redis.svg b/apps/desktop/public/icons/database/redis.svgsimilarity index 100%rename from public/icons/database/redis.svgrename to apps/desktop/public/icons/database/redis.svgdiff --git a/public/icons/database/redshift.svg b/apps/desktop/public/icons/database/redshift.svgsimilarity index 100%rename from public/icons/database/redshift.svgrename to apps/desktop/public/icons/database/redshift.svgdiff --git a/public/icons/database/selectdb.svg b/apps/desktop/public/icons/database/selectdb.svgsimilarity index 100%rename from public/icons/database/selectdb.svgrename to apps/desktop/public/icons/database/selectdb.svgdiff --git a/public/icons/database/snowflake.svg b/apps/desktop/public/icons/database/snowflake.svgsimilarity index 100%rename from public/icons/database/snowflake.svgrename to apps/desktop/public/icons/database/snowflake.svgdiff --git a/public/icons/database/sqlite.svg b/apps/desktop/public/icons/database/sqlite.svgsimilarity index 100%rename from public/icons/database/sqlite.svgrename to apps/desktop/public/icons/database/sqlite.svgdiff --git a/public/icons/database/sqlserver.svg b/apps/desktop/public/icons/database/sqlserver.svgsimilarity index 100%rename from public/icons/database/sqlserver.svgrename to apps/desktop/public/icons/database/sqlserver.svgdiff --git a/public/icons/database/starrocks.svg b/apps/desktop/public/icons/database/starrocks.svgsimilarity index 100%rename from public/icons/database/starrocks.svgrename to apps/desktop/public/icons/database/starrocks.svgdiff --git a/public/icons/database/sundb.svg b/apps/desktop/public/icons/database/sundb.svgsimilarity index 100%rename from public/icons/database/sundb.svgrename to apps/desktop/public/icons/database/sundb.svgdiff --git a/public/icons/database/tdengine.svg b/apps/desktop/public/icons/database/tdengine.svgsimilarity index 100%rename from public/icons/database/tdengine.svgrename to apps/desktop/public/icons/database/tdengine.svgdiff --git a/public/icons/database/tidb.svg b/apps/desktop/public/icons/database/tidb.svgsimilarity index 100%rename from public/icons/database/tidb.svgrename to apps/desktop/public/icons/database/tidb.svgdiff --git a/public/icons/database/vastbase.png b/apps/desktop/public/icons/database/vastbase.pngsimilarity index 100%rename from public/icons/database/vastbase.pngrename to apps/desktop/public/icons/database/vastbase.pngdiff --git a/public/logo.png b/apps/desktop/public/logo.pngsimilarity index 100%rename from public/logo.pngrename to apps/desktop/public/logo.pngdiff --git a/src/App.vue b/apps/desktop/src/App.vuesimilarity index 100%rename from src/App.vuerename to apps/desktop/src/App.vuediff --git a/src/components/auth/LoginPage.vue b/apps/desktop/src/components/auth/LoginPage.vuesimilarity index 100%rename from src/components/auth/LoginPage.vuerename to apps/desktop/src/components/auth/LoginPage.vuediff --git a/src/components/chart/QueryChart.vue b/apps/desktop/src/components/chart/QueryChart.vuesimilarity index 100%rename from src/components/chart/QueryChart.vuerename to apps/desktop/src/components/chart/QueryChart.vuediff --git a/src/components/config/ConfigPassphraseDialog.vue b/apps/desktop/src/components/config/ConfigPassphraseDialog.vuesimilarity index 100%rename from src/components/config/ConfigPassphraseDialog.vuerename to apps/desktop/src/components/config/ConfigPassphraseDialog.vuediff --git a/src/components/config/DriverStoreDialog.vue b/apps/desktop/src/components/config/DriverStoreDialog.vuesimilarity index 100%rename from src/components/config/DriverStoreDialog.vuerename to apps/desktop/src/components/config/DriverStoreDialog.vuediff --git a/src/components/connection/ConnectionDialog.vue b/apps/desktop/src/components/connection/ConnectionDialog.vuesimilarity index 100%rename from src/components/connection/ConnectionDialog.vuerename to apps/desktop/src/components/connection/ConnectionDialog.vuediff --git a/src/components/connection/ConnectionErrorIndicator.vue b/apps/desktop/src/components/connection/ConnectionErrorIndicator.vuesimilarity index 100%rename from src/components/connection/ConnectionErrorIndicator.vuerename to apps/desktop/src/components/connection/ConnectionErrorIndicator.vuediff --git a/src/components/diagram/SchemaDiagramDialog.vue b/apps/desktop/src/components/diagram/SchemaDiagramDialog.vuesimilarity index 100%rename from src/components/diagram/SchemaDiagramDialog.vuerename to apps/desktop/src/components/diagram/SchemaDiagramDialog.vuediff --git a/src/components/diff/DataCompareDialog.vue b/apps/desktop/src/components/diff/DataCompareDialog.vuesimilarity index 100%rename from src/components/diff/DataCompareDialog.vuerename to apps/desktop/src/components/diff/DataCompareDialog.vuediff --git a/src/components/diff/SchemaDiffDialog.vue b/apps/desktop/src/components/diff/SchemaDiffDialog.vuesimilarity index 100%rename from src/components/diff/SchemaDiffDialog.vuerename to apps/desktop/src/components/diff/SchemaDiffDialog.vuediff --git a/src/components/editor/AiAssistant.vue b/apps/desktop/src/components/editor/AiAssistant.vuesimilarity index 100%rename from src/components/editor/AiAssistant.vuerename to apps/desktop/src/components/editor/AiAssistant.vuediff --git a/src/components/editor/ColumnInfoPanel.vue b/apps/desktop/src/components/editor/ColumnInfoPanel.vuesimilarity index 100%rename from src/components/editor/ColumnInfoPanel.vuerename to apps/desktop/src/components/editor/ColumnInfoPanel.vuediff --git a/src/components/editor/DangerConfirmDialog.vue b/apps/desktop/src/components/editor/DangerConfirmDialog.vuesimilarity index 100%rename from src/components/editor/DangerConfirmDialog.vuerename to apps/desktop/src/components/editor/DangerConfirmDialog.vuediff --git a/src/components/editor/EditorSettingsDialog.vue b/apps/desktop/src/components/editor/EditorSettingsDialog.vuesimilarity index 100%rename from src/components/editor/EditorSettingsDialog.vuerename to apps/desktop/src/components/editor/EditorSettingsDialog.vuediff --git a/src/components/editor/QueryEditor.vue b/apps/desktop/src/components/editor/QueryEditor.vuesimilarity index 100%rename from src/components/editor/QueryEditor.vuerename to apps/desktop/src/components/editor/QueryEditor.vuediff --git a/src/components/editor/QueryHistory.vue b/apps/desktop/src/components/editor/QueryHistory.vuesimilarity index 100%rename from src/components/editor/QueryHistory.vuerename to apps/desktop/src/components/editor/QueryHistory.vuediff --git a/src/components/explain/ExplainPlanNodeTree.vue b/apps/desktop/src/components/explain/ExplainPlanNodeTree.vuesimilarity index 100%rename from src/components/explain/ExplainPlanNodeTree.vuerename to apps/desktop/src/components/explain/ExplainPlanNodeTree.vuediff --git a/src/components/explain/ExplainPlanViewer.vue b/apps/desktop/src/components/explain/ExplainPlanViewer.vuesimilarity index 100%rename from src/components/explain/ExplainPlanViewer.vuerename to apps/desktop/src/components/explain/ExplainPlanViewer.vuediff --git a/src/components/export/DatabaseExportDialog.vue b/apps/desktop/src/components/export/DatabaseExportDialog.vuesimilarity index 100%rename from src/components/export/DatabaseExportDialog.vuerename to apps/desktop/src/components/export/DatabaseExportDialog.vuediff --git a/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vuesimilarity index 100%rename from src/components/grid/DataGrid.vuerename to apps/desktop/src/components/grid/DataGrid.vuediff --git a/src/components/icons/AiProviderLogo.vue b/apps/desktop/src/components/icons/AiProviderLogo.vuesimilarity index 100%rename from src/components/icons/AiProviderLogo.vuerename to apps/desktop/src/components/icons/AiProviderLogo.vuediff --git a/src/components/icons/DatabaseIcon.vue b/apps/desktop/src/components/icons/DatabaseIcon.vuesimilarity index 100%rename from src/components/icons/DatabaseIcon.vuerename to apps/desktop/src/components/icons/DatabaseIcon.vuediff --git a/src/components/import/TableImportDialog.vue b/apps/desktop/src/components/import/TableImportDialog.vuesimilarity index 100%rename from src/components/import/TableImportDialog.vuerename to apps/desktop/src/components/import/TableImportDialog.vuediff --git a/src/components/layout/AppDialogs.vue b/apps/desktop/src/components/layout/AppDialogs.vuesimilarity index 100%rename from src/components/layout/AppDialogs.vuerename to apps/desktop/src/components/layout/AppDialogs.vuediff --git a/src/components/layout/AppSidebar.vue b/apps/desktop/src/components/layout/AppSidebar.vuesimilarity index 100%rename from src/components/layout/AppSidebar.vuerename to apps/desktop/src/components/layout/AppSidebar.vuediff --git a/src/components/layout/AppTabBar.vue b/apps/desktop/src/components/layout/AppTabBar.vuesimilarity index 100%rename from src/components/layout/AppTabBar.vuerename to apps/desktop/src/components/layout/AppTabBar.vuediff --git a/src/components/layout/AppToolbar.vue b/apps/desktop/src/components/layout/AppToolbar.vuesimilarity index 100%rename from src/components/layout/AppToolbar.vuerename to apps/desktop/src/components/layout/AppToolbar.vuediff --git a/src/components/layout/ContentArea.vue b/apps/desktop/src/components/layout/ContentArea.vuesimilarity index 100%rename from src/components/layout/ContentArea.vuerename to apps/desktop/src/components/layout/ContentArea.vuediff --git a/src/components/layout/EditorToolbar.vue b/apps/desktop/src/components/layout/EditorToolbar.vuesimilarity index 100%rename from src/components/layout/EditorToolbar.vuerename to apps/desktop/src/components/layout/EditorToolbar.vuediff --git a/src/components/layout/UpdateDialog.vue b/apps/desktop/src/components/layout/UpdateDialog.vuesimilarity index 100%rename from src/components/layout/UpdateDialog.vuerename to apps/desktop/src/components/layout/UpdateDialog.vuediff --git a/src/components/layout/WelcomeScreen.vue b/apps/desktop/src/components/layout/WelcomeScreen.vuesimilarity index 100%rename from src/components/layout/WelcomeScreen.vuerename to apps/desktop/src/components/layout/WelcomeScreen.vuediff --git a/src/components/layout/WindowControls.vue b/apps/desktop/src/components/layout/WindowControls.vuesimilarity index 100%rename from src/components/layout/WindowControls.vuerename to apps/desktop/src/components/layout/WindowControls.vuediff --git a/src/components/lineage/FieldLineageDialog.vue b/apps/desktop/src/components/lineage/FieldLineageDialog.vuesimilarity index 100%rename from src/components/lineage/FieldLineageDialog.vuerename to apps/desktop/src/components/lineage/FieldLineageDialog.vuediff --git a/src/components/mongo/JsonEditNode.vue b/apps/desktop/src/components/mongo/JsonEditNode.vuesimilarity index 100%rename from src/components/mongo/JsonEditNode.vuerename to apps/desktop/src/components/mongo/JsonEditNode.vuediff --git a/src/components/mongo/MongoDocBrowser.vue b/apps/desktop/src/components/mongo/MongoDocBrowser.vuesimilarity index 100%rename from src/components/mongo/MongoDocBrowser.vuerename to apps/desktop/src/components/mongo/MongoDocBrowser.vuediff --git a/src/components/objects/ObjectBrowser.vue b/apps/desktop/src/components/objects/ObjectBrowser.vuesimilarity index 100%rename from src/components/objects/ObjectBrowser.vuerename to apps/desktop/src/components/objects/ObjectBrowser.vuediff --git a/src/components/redis/RedisKeyBrowser.vue b/apps/desktop/src/components/redis/RedisKeyBrowser.vuesimilarity index 100%rename from src/components/redis/RedisKeyBrowser.vuerename to apps/desktop/src/components/redis/RedisKeyBrowser.vuediff --git a/src/components/redis/RedisValueViewer.vue b/apps/desktop/src/components/redis/RedisValueViewer.vuesimilarity index 100%rename from src/components/redis/RedisValueViewer.vuerename to apps/desktop/src/components/redis/RedisValueViewer.vuediff --git a/src/components/search/DatabaseSearchDialog.vue b/apps/desktop/src/components/search/DatabaseSearchDialog.vuesimilarity index 100%rename from src/components/search/DatabaseSearchDialog.vuerename to apps/desktop/src/components/search/DatabaseSearchDialog.vuediff --git a/src/components/sidebar/ConnectionTree.vue b/apps/desktop/src/components/sidebar/ConnectionTree.vuesimilarity index 100%rename from src/components/sidebar/ConnectionTree.vuerename to apps/desktop/src/components/sidebar/ConnectionTree.vuediff --git a/src/components/sidebar/TreeItem.vue b/apps/desktop/src/components/sidebar/TreeItem.vuesimilarity index 100%rename from src/components/sidebar/TreeItem.vuerename to apps/desktop/src/components/sidebar/TreeItem.vuediff --git a/src/components/sidebar/VisibleDatabasesDialog.vue b/apps/desktop/src/components/sidebar/VisibleDatabasesDialog.vuesimilarity index 100%rename from src/components/sidebar/VisibleDatabasesDialog.vuerename to apps/desktop/src/components/sidebar/VisibleDatabasesDialog.vuediff --git a/src/components/sql-file/SqlFileExecutionDialog.vue b/apps/desktop/src/components/sql-file/SqlFileExecutionDialog.vuesimilarity index 100%rename from src/components/sql-file/SqlFileExecutionDialog.vuerename to apps/desktop/src/components/sql-file/SqlFileExecutionDialog.vuediff --git a/src/components/structure/TableStructureEditorDialog.vue b/apps/desktop/src/components/structure/TableStructureEditorDialog.vuesimilarity index 100%rename from src/components/structure/TableStructureEditorDialog.vuerename to apps/desktop/src/components/structure/TableStructureEditorDialog.vuediff --git a/src/components/transfer/DataTransferDialog.vue b/apps/desktop/src/components/transfer/DataTransferDialog.vuesimilarity index 100%rename from src/components/transfer/DataTransferDialog.vuerename to apps/desktop/src/components/transfer/DataTransferDialog.vuediff --git a/src/components/ui/badge/Badge.vue b/apps/desktop/src/components/ui/badge/Badge.vuesimilarity index 100%rename from src/components/ui/badge/Badge.vuerename to apps/desktop/src/components/ui/badge/Badge.vuediff --git a/src/components/ui/badge/index.ts b/apps/desktop/src/components/ui/badge/index.tssimilarity index 100%rename from src/components/ui/badge/index.tsrename to apps/desktop/src/components/ui/badge/index.tsdiff --git a/src/components/ui/button/Button.vue b/apps/desktop/src/components/ui/button/Button.vuesimilarity index 100%rename from src/components/ui/button/Button.vuerename to apps/desktop/src/components/ui/button/Button.vuediff --git a/src/components/ui/button/index.ts b/apps/desktop/src/components/ui/button/index.tssimilarity index 100%rename from src/components/ui/button/index.tsrename to apps/desktop/src/components/ui/button/index.tsdiff --git a/src/components/ui/context-menu/ContextMenu.vue b/apps/desktop/src/components/ui/context-menu/ContextMenu.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenu.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenu.vuediff --git a/src/components/ui/context-menu/ContextMenuCheckboxItem.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuCheckboxItem.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuCheckboxItem.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuCheckboxItem.vuediff --git a/src/components/ui/context-menu/ContextMenuContent.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuContent.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuContent.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuContent.vuediff --git a/src/components/ui/context-menu/ContextMenuGroup.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuGroup.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuGroup.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuGroup.vuediff --git a/src/components/ui/context-menu/ContextMenuItem.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuItem.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuItem.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuItem.vuediff --git a/src/components/ui/context-menu/ContextMenuLabel.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuLabel.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuLabel.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuLabel.vuediff --git a/src/components/ui/context-menu/ContextMenuPortal.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuPortal.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuPortal.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuPortal.vuediff --git a/src/components/ui/context-menu/ContextMenuRadioGroup.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuRadioGroup.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuRadioGroup.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuRadioGroup.vuediff --git a/src/components/ui/context-menu/ContextMenuRadioItem.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuRadioItem.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuRadioItem.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuRadioItem.vuediff --git a/src/components/ui/context-menu/ContextMenuSeparator.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuSeparator.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuSeparator.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuSeparator.vuediff --git a/src/components/ui/context-menu/ContextMenuShortcut.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuShortcut.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuShortcut.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuShortcut.vuediff --git a/src/components/ui/context-menu/ContextMenuSub.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuSub.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuSub.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuSub.vuediff --git a/src/components/ui/context-menu/ContextMenuSubContent.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuSubContent.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuSubContent.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuSubContent.vuediff --git a/src/components/ui/context-menu/ContextMenuSubTrigger.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuSubTrigger.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuSubTrigger.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuSubTrigger.vuediff --git a/src/components/ui/context-menu/ContextMenuTrigger.vue b/apps/desktop/src/components/ui/context-menu/ContextMenuTrigger.vuesimilarity index 100%rename from src/components/ui/context-menu/ContextMenuTrigger.vuerename to apps/desktop/src/components/ui/context-menu/ContextMenuTrigger.vuediff --git a/src/components/ui/context-menu/index.ts b/apps/desktop/src/components/ui/context-menu/index.tssimilarity index 100%rename from src/components/ui/context-menu/index.tsrename to apps/desktop/src/components/ui/context-menu/index.tsdiff --git a/src/components/ui/dialog/Dialog.vue b/apps/desktop/src/components/ui/dialog/Dialog.vuesimilarity index 100%rename from src/components/ui/dialog/Dialog.vuerename to apps/desktop/src/components/ui/dialog/Dialog.vuediff --git a/src/components/ui/dialog/DialogClose.vue b/apps/desktop/src/components/ui/dialog/DialogClose.vuesimilarity index 100%rename from src/components/ui/dialog/DialogClose.vuerename to apps/desktop/src/components/ui/dialog/DialogClose.vuediff --git a/src/components/ui/dialog/DialogContent.vue b/apps/desktop/src/components/ui/dialog/DialogContent.vuesimilarity index 100%rename from src/components/ui/dialog/DialogContent.vuerename to apps/desktop/src/components/ui/dialog/DialogContent.vuediff --git a/src/components/ui/dialog/DialogDescription.vue b/apps/desktop/src/components/ui/dialog/DialogDescription.vuesimilarity index 100%rename from src/components/ui/dialog/DialogDescription.vuerename to apps/desktop/src/components/ui/dialog/DialogDescription.vuediff --git a/src/components/ui/dialog/DialogFooter.vue b/apps/desktop/src/components/ui/dialog/DialogFooter.vuesimilarity index 100%rename from src/components/ui/dialog/DialogFooter.vuerename to apps/desktop/src/components/ui/dialog/DialogFooter.vuediff --git a/src/components/ui/dialog/DialogHeader.vue b/apps/desktop/src/components/ui/dialog/DialogHeader.vuesimilarity index 100%rename from src/components/ui/dialog/DialogHeader.vuerename to apps/desktop/src/components/ui/dialog/DialogHeader.vuediff --git a/src/components/ui/dialog/DialogOverlay.vue b/apps/desktop/src/components/ui/dialog/DialogOverlay.vuesimilarity index 100%rename from src/components/ui/dialog/DialogOverlay.vuerename to apps/desktop/src/components/ui/dialog/DialogOverlay.vuediff --git a/src/components/ui/dialog/DialogScrollContent.vue b/apps/desktop/src/components/ui/dialog/DialogScrollContent.vuesimilarity index 100%rename from src/components/ui/dialog/DialogScrollContent.vuerename to apps/desktop/src/components/ui/dialog/DialogScrollContent.vuediff --git a/src/components/ui/dialog/DialogTitle.vue b/apps/desktop/src/components/ui/dialog/DialogTitle.vuesimilarity index 100%rename from src/components/ui/dialog/DialogTitle.vuerename to apps/desktop/src/components/ui/dialog/DialogTitle.vuediff --git a/src/components/ui/dialog/DialogTrigger.vue b/apps/desktop/src/components/ui/dialog/DialogTrigger.vuesimilarity index 100%rename from src/components/ui/dialog/DialogTrigger.vuerename to apps/desktop/src/components/ui/dialog/DialogTrigger.vuediff --git a/src/components/ui/dialog/index.ts b/apps/desktop/src/components/ui/dialog/index.tssimilarity index 100%rename from src/components/ui/dialog/index.tsrename to apps/desktop/src/components/ui/dialog/index.tsdiff --git a/src/components/ui/dropdown-menu/DropdownMenu.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenu.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenu.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenu.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuContent.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuContent.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuContent.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuContent.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuGroup.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuGroup.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuGroup.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuGroup.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuItem.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuItem.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuItem.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuItem.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuLabel.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuLabel.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuLabel.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuLabel.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuRadioItem.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSeparator.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuSeparator.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSeparator.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuShortcut.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuShortcut.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuShortcut.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuSub.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSub.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuSub.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSub.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSubContent.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuSubContent.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSubContent.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vuediff --git a/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue b/apps/desktop/src/components/ui/dropdown-menu/DropdownMenuTrigger.vuesimilarity index 100%rename from src/components/ui/dropdown-menu/DropdownMenuTrigger.vuerename to apps/desktop/src/components/ui/dropdown-menu/DropdownMenuTrigger.vuediff --git a/src/components/ui/dropdown-menu/index.ts b/apps/desktop/src/components/ui/dropdown-menu/index.tssimilarity index 100%rename from src/components/ui/dropdown-menu/index.tsrename to apps/desktop/src/components/ui/dropdown-menu/index.tsdiff --git a/src/components/ui/input/Input.vue b/apps/desktop/src/components/ui/input/Input.vuesimilarity index 100%rename from src/components/ui/input/Input.vuerename to apps/desktop/src/components/ui/input/Input.vuediff --git a/src/components/ui/input/index.ts b/apps/desktop/src/components/ui/input/index.tssimilarity index 100%rename from src/components/ui/input/index.tsrename to apps/desktop/src/components/ui/input/index.tsdiff --git a/src/components/ui/label/Label.vue b/apps/desktop/src/components/ui/label/Label.vuesimilarity index 100%rename from src/components/ui/label/Label.vuerename to apps/desktop/src/components/ui/label/Label.vuediff --git a/src/components/ui/label/index.ts b/apps/desktop/src/components/ui/label/index.tssimilarity index 100%rename from src/components/ui/label/index.tsrename to apps/desktop/src/components/ui/label/index.tsdiff --git a/src/components/ui/popover/Popover.vue b/apps/desktop/src/components/ui/popover/Popover.vuesimilarity index 100%rename from src/components/ui/popover/Popover.vuerename to apps/desktop/src/components/ui/popover/Popover.vuediff --git a/src/components/ui/popover/PopoverAnchor.vue b/apps/desktop/src/components/ui/popover/PopoverAnchor.vuesimilarity index 100%rename from src/components/ui/popover/PopoverAnchor.vuerename to apps/desktop/src/components/ui/popover/PopoverAnchor.vuediff --git a/src/components/ui/popover/PopoverContent.vue b/apps/desktop/src/components/ui/popover/PopoverContent.vuesimilarity index 100%rename from src/components/ui/popover/PopoverContent.vuerename to apps/desktop/src/components/ui/popover/PopoverContent.vuediff --git a/src/components/ui/popover/PopoverDescription.vue b/apps/desktop/src/components/ui/popover/PopoverDescription.vuesimilarity index 100%rename from src/components/ui/popover/PopoverDescription.vuerename to apps/desktop/src/components/ui/popover/PopoverDescription.vuediff --git a/src/components/ui/popover/PopoverHeader.vue b/apps/desktop/src/components/ui/popover/PopoverHeader.vuesimilarity index 100%rename from src/components/ui/popover/PopoverHeader.vuerename to apps/desktop/src/components/ui/popover/PopoverHeader.vuediff --git a/src/components/ui/popover/PopoverTitle.vue b/apps/desktop/src/components/ui/popover/PopoverTitle.vuesimilarity index 100%rename from src/components/ui/popover/PopoverTitle.vuerename to apps/desktop/src/components/ui/popover/PopoverTitle.vuediff --git a/src/components/ui/popover/PopoverTrigger.vue b/apps/desktop/src/components/ui/popover/PopoverTrigger.vuesimilarity index 100%rename from src/components/ui/popover/PopoverTrigger.vuerename to apps/desktop/src/components/ui/popover/PopoverTrigger.vuediff --git a/src/components/ui/popover/index.ts b/apps/desktop/src/components/ui/popover/index.tssimilarity index 100%rename from src/components/ui/popover/index.tsrename to apps/desktop/src/components/ui/popover/index.tsdiff --git a/src/components/ui/scroll-area/ScrollArea.vue b/apps/desktop/src/components/ui/scroll-area/ScrollArea.vuesimilarity index 100%rename from src/components/ui/scroll-area/ScrollArea.vuerename to apps/desktop/src/components/ui/scroll-area/ScrollArea.vuediff --git a/src/components/ui/scroll-area/ScrollBar.vue b/apps/desktop/src/components/ui/scroll-area/ScrollBar.vuesimilarity index 100%rename from src/components/ui/scroll-area/ScrollBar.vuerename to apps/desktop/src/components/ui/scroll-area/ScrollBar.vuediff --git a/src/components/ui/scroll-area/index.ts b/apps/desktop/src/components/ui/scroll-area/index.tssimilarity index 100%rename from src/components/ui/scroll-area/index.tsrename to apps/desktop/src/components/ui/scroll-area/index.tsdiff --git a/src/components/ui/searchable-select/SearchableSelect.vue b/apps/desktop/src/components/ui/searchable-select/SearchableSelect.vuesimilarity index 100%rename from src/components/ui/searchable-select/SearchableSelect.vuerename to apps/desktop/src/components/ui/searchable-select/SearchableSelect.vuediff --git a/src/components/ui/searchable-select/index.ts b/apps/desktop/src/components/ui/searchable-select/index.tssimilarity index 100%rename from src/components/ui/searchable-select/index.tsrename to apps/desktop/src/components/ui/searchable-select/index.tsdiff --git a/src/components/ui/select/Select.vue b/apps/desktop/src/components/ui/select/Select.vuesimilarity index 100%rename from src/components/ui/select/Select.vuerename to apps/desktop/src/components/ui/select/Select.vuediff --git a/src/components/ui/select/SelectContent.vue b/apps/desktop/src/components/ui/select/SelectContent.vuesimilarity index 100%rename from src/components/ui/select/SelectContent.vuerename to apps/desktop/src/components/ui/select/SelectContent.vuediff --git a/src/components/ui/select/SelectGroup.vue b/apps/desktop/src/components/ui/select/SelectGroup.vuesimilarity index 100%rename from src/components/ui/select/SelectGroup.vuerename to apps/desktop/src/components/ui/select/SelectGroup.vuediff --git a/src/components/ui/select/SelectItem.vue b/apps/desktop/src/components/ui/select/SelectItem.vuesimilarity index 100%rename from src/components/ui/select/SelectItem.vuerename to apps/desktop/src/components/ui/select/SelectItem.vuediff --git a/src/components/ui/select/SelectItemText.vue b/apps/desktop/src/components/ui/select/SelectItemText.vuesimilarity index 100%rename from src/components/ui/select/SelectItemText.vuerename to apps/desktop/src/components/ui/select/SelectItemText.vuediff --git a/src/components/ui/select/SelectLabel.vue b/apps/desktop/src/components/ui/select/SelectLabel.vuesimilarity index 100%rename from src/components/ui/select/SelectLabel.vuerename to apps/desktop/src/components/ui/select/SelectLabel.vuediff --git a/src/components/ui/select/SelectScrollDownButton.vue b/apps/desktop/src/components/ui/select/SelectScrollDownButton.vuesimilarity index 100%rename from src/components/ui/select/SelectScrollDownButton.vuerename to apps/desktop/src/components/ui/select/SelectScrollDownButton.vuediff --git a/src/components/ui/select/SelectScrollUpButton.vue b/apps/desktop/src/components/ui/select/SelectScrollUpButton.vuesimilarity index 100%rename from src/components/ui/select/SelectScrollUpButton.vuerename to apps/desktop/src/components/ui/select/SelectScrollUpButton.vuediff --git a/src/components/ui/select/SelectSeparator.vue b/apps/desktop/src/components/ui/select/SelectSeparator.vuesimilarity index 100%rename from src/components/ui/select/SelectSeparator.vuerename to apps/desktop/src/components/ui/select/SelectSeparator.vuediff --git a/src/components/ui/select/SelectTrigger.vue b/apps/desktop/src/components/ui/select/SelectTrigger.vuesimilarity index 100%rename from src/components/ui/select/SelectTrigger.vuerename to apps/desktop/src/components/ui/select/SelectTrigger.vuediff --git a/src/components/ui/select/SelectValue.vue b/apps/desktop/src/components/ui/select/SelectValue.vuesimilarity index 100%rename from src/components/ui/select/SelectValue.vuerename to apps/desktop/src/components/ui/select/SelectValue.vuediff --git a/src/components/ui/select/index.ts b/apps/desktop/src/components/ui/select/index.tssimilarity index 100%rename from src/components/ui/select/index.tsrename to apps/desktop/src/components/ui/select/index.tsdiff --git a/src/components/ui/separator/Separator.vue b/apps/desktop/src/components/ui/separator/Separator.vuesimilarity index 100%rename from src/components/ui/separator/Separator.vuerename to apps/desktop/src/components/ui/separator/Separator.vuediff --git a/src/components/ui/separator/index.ts b/apps/desktop/src/components/ui/separator/index.tssimilarity index 100%rename from src/components/ui/separator/index.tsrename to apps/desktop/src/components/ui/separator/index.tsdiff --git a/src/components/ui/sheet/Sheet.vue b/apps/desktop/src/components/ui/sheet/Sheet.vuesimilarity index 100%rename from src/components/ui/sheet/Sheet.vuerename to apps/desktop/src/components/ui/sheet/Sheet.vuediff --git a/src/components/ui/sheet/SheetClose.vue b/apps/desktop/src/components/ui/sheet/SheetClose.vuesimilarity index 100%rename from src/components/ui/sheet/SheetClose.vuerename to apps/desktop/src/components/ui/sheet/SheetClose.vuediff --git a/src/components/ui/sheet/SheetContent.vue b/apps/desktop/src/components/ui/sheet/SheetContent.vuesimilarity index 100%rename from src/components/ui/sheet/SheetContent.vuerename to apps/desktop/src/components/ui/sheet/SheetContent.vuediff --git a/src/components/ui/sheet/SheetDescription.vue b/apps/desktop/src/components/ui/sheet/SheetDescription.vuesimilarity index 100%rename from src/components/ui/sheet/SheetDescription.vuerename to apps/desktop/src/components/ui/sheet/SheetDescription.vuediff --git a/src/components/ui/sheet/SheetFooter.vue b/apps/desktop/src/components/ui/sheet/SheetFooter.vuesimilarity index 100%rename from src/components/ui/sheet/SheetFooter.vuerename to apps/desktop/src/components/ui/sheet/SheetFooter.vuediff --git a/src/components/ui/sheet/SheetHeader.vue b/apps/desktop/src/components/ui/sheet/SheetHeader.vuesimilarity index 100%rename from src/components/ui/sheet/SheetHeader.vuerename to apps/desktop/src/components/ui/sheet/SheetHeader.vuediff --git a/src/components/ui/sheet/SheetOverlay.vue b/apps/desktop/src/components/ui/sheet/SheetOverlay.vuesimilarity index 100%rename from src/components/ui/sheet/SheetOverlay.vuerename to apps/desktop/src/components/ui/sheet/SheetOverlay.vuediff --git a/src/components/ui/sheet/SheetTitle.vue b/apps/desktop/src/components/ui/sheet/SheetTitle.vuesimilarity index 100%rename from src/components/ui/sheet/SheetTitle.vuerename to apps/desktop/src/components/ui/sheet/SheetTitle.vuediff --git a/src/components/ui/sheet/SheetTrigger.vue b/apps/desktop/src/components/ui/sheet/SheetTrigger.vuesimilarity index 100%rename from src/components/ui/sheet/SheetTrigger.vuerename to apps/desktop/src/components/ui/sheet/SheetTrigger.vuediff --git a/src/components/ui/sheet/index.ts b/apps/desktop/src/components/ui/sheet/index.tssimilarity index 100%rename from src/components/ui/sheet/index.tsrename to apps/desktop/src/components/ui/sheet/index.tsdiff --git a/src/components/ui/switch/Switch.vue b/apps/desktop/src/components/ui/switch/Switch.vuesimilarity index 100%rename from src/components/ui/switch/Switch.vuerename to apps/desktop/src/components/ui/switch/Switch.vuediff --git a/src/components/ui/switch/index.ts b/apps/desktop/src/components/ui/switch/index.tssimilarity index 100%rename from src/components/ui/switch/index.tsrename to apps/desktop/src/components/ui/switch/index.tsdiff --git a/src/components/ui/tabs/Tabs.vue b/apps/desktop/src/components/ui/tabs/Tabs.vuesimilarity index 100%rename from src/components/ui/tabs/Tabs.vuerename to apps/desktop/src/components/ui/tabs/Tabs.vuediff --git a/src/components/ui/tabs/TabsContent.vue b/apps/desktop/src/components/ui/tabs/TabsContent.vuesimilarity index 100%rename from src/components/ui/tabs/TabsContent.vuerename to apps/desktop/src/components/ui/tabs/TabsContent.vuediff --git a/src/components/ui/tabs/TabsList.vue b/apps/desktop/src/components/ui/tabs/TabsList.vuesimilarity index 100%rename from src/components/ui/tabs/TabsList.vuerename to apps/desktop/src/components/ui/tabs/TabsList.vuediff --git a/src/components/ui/tabs/TabsTrigger.vue b/apps/desktop/src/components/ui/tabs/TabsTrigger.vuesimilarity index 100%rename from src/components/ui/tabs/TabsTrigger.vuerename to apps/desktop/src/components/ui/tabs/TabsTrigger.vuediff --git a/src/components/ui/tabs/index.ts b/apps/desktop/src/components/ui/tabs/index.tssimilarity index 100%rename from src/components/ui/tabs/index.tsrename to apps/desktop/src/components/ui/tabs/index.tsdiff --git a/src/components/ui/tooltip/Tooltip.vue b/apps/desktop/src/components/ui/tooltip/Tooltip.vuesimilarity index 100%rename from src/components/ui/tooltip/Tooltip.vuerename to apps/desktop/src/components/ui/tooltip/Tooltip.vuediff --git a/src/components/ui/tooltip/TooltipContent.vue b/apps/desktop/src/components/ui/tooltip/TooltipContent.vuesimilarity index 100%rename from src/components/ui/tooltip/TooltipContent.vuerename to apps/desktop/src/components/ui/tooltip/TooltipContent.vuediff --git a/src/components/ui/tooltip/TooltipProvider.vue b/apps/desktop/src/components/ui/tooltip/TooltipProvider.vuesimilarity index 100%rename from src/components/ui/tooltip/TooltipProvider.vuerename to apps/desktop/src/components/ui/tooltip/TooltipProvider.vuediff --git a/src/components/ui/tooltip/TooltipTrigger.vue b/apps/desktop/src/components/ui/tooltip/TooltipTrigger.vuesimilarity index 100%rename from src/components/ui/tooltip/TooltipTrigger.vuerename to apps/desktop/src/components/ui/tooltip/TooltipTrigger.vuediff --git a/src/components/ui/tooltip/index.ts b/apps/desktop/src/components/ui/tooltip/index.tssimilarity index 100%rename from src/components/ui/tooltip/index.tsrename to apps/desktop/src/components/ui/tooltip/index.tsdiff --git a/src/composables/useAppUpdater.ts b/apps/desktop/src/composables/useAppUpdater.tssimilarity index 100%rename from src/composables/useAppUpdater.tsrename to apps/desktop/src/composables/useAppUpdater.tsdiff --git a/src/composables/useDataGridActions.ts b/apps/desktop/src/composables/useDataGridActions.tssimilarity index 100%rename from src/composables/useDataGridActions.tsrename to apps/desktop/src/composables/useDataGridActions.tsdiff --git a/src/composables/useDataGridColumnResize.ts b/apps/desktop/src/composables/useDataGridColumnResize.tssimilarity index 100%rename from src/composables/useDataGridColumnResize.tsrename to apps/desktop/src/composables/useDataGridColumnResize.tsdiff --git a/src/composables/useDataGridEditor.ts b/apps/desktop/src/composables/useDataGridEditor.tssimilarity index 100%rename from src/composables/useDataGridEditor.tsrename to apps/desktop/src/composables/useDataGridEditor.tsdiff --git a/src/composables/useDataGridExport.ts b/apps/desktop/src/composables/useDataGridExport.tssimilarity index 100%rename from src/composables/useDataGridExport.tsrename to apps/desktop/src/composables/useDataGridExport.tsdiff --git a/src/composables/useDataGridSelection.ts b/apps/desktop/src/composables/useDataGridSelection.tssimilarity index 100%rename from src/composables/useDataGridSelection.tsrename to apps/desktop/src/composables/useDataGridSelection.tsdiff --git a/src/composables/useDatabaseOptions.ts b/apps/desktop/src/composables/useDatabaseOptions.tssimilarity index 100%rename from src/composables/useDatabaseOptions.tsrename to apps/desktop/src/composables/useDatabaseOptions.tsdiff --git a/src/composables/useDialogSources.ts b/apps/desktop/src/composables/useDialogSources.tssimilarity index 100%rename from src/composables/useDialogSources.tsrename to apps/desktop/src/composables/useDialogSources.tsdiff --git a/src/composables/useDragSort.ts b/apps/desktop/src/composables/useDragSort.tssimilarity index 100%rename from src/composables/useDragSort.tsrename to apps/desktop/src/composables/useDragSort.tsdiff --git a/src/composables/useFileDrop.ts b/apps/desktop/src/composables/useFileDrop.tssimilarity index 100%rename from src/composables/useFileDrop.tsrename to apps/desktop/src/composables/useFileDrop.tsdiff --git a/src/composables/useFlatTree.ts b/apps/desktop/src/composables/useFlatTree.tssimilarity index 100%rename from src/composables/useFlatTree.tsrename to apps/desktop/src/composables/useFlatTree.tsdiff --git a/src/composables/useNavigationTargets.ts b/apps/desktop/src/composables/useNavigationTargets.tssimilarity index 100%rename from src/composables/useNavigationTargets.tsrename to apps/desktop/src/composables/useNavigationTargets.tsdiff --git a/src/composables/usePanelResize.ts b/apps/desktop/src/composables/usePanelResize.tssimilarity index 100%rename from src/composables/usePanelResize.tsrename to apps/desktop/src/composables/usePanelResize.tsdiff --git a/src/composables/useSchemaOptions.ts b/apps/desktop/src/composables/useSchemaOptions.tssimilarity index 100%rename from src/composables/useSchemaOptions.tsrename to apps/desktop/src/composables/useSchemaOptions.tsdiff --git a/src/composables/useSqlExecution.ts b/apps/desktop/src/composables/useSqlExecution.tssimilarity index 100%rename from src/composables/useSqlExecution.tsrename to apps/desktop/src/composables/useSqlExecution.tsdiff --git a/src/composables/useTabScroll.ts b/apps/desktop/src/composables/useTabScroll.tssimilarity index 100%rename from src/composables/useTabScroll.tsrename to apps/desktop/src/composables/useTabScroll.tsdiff --git a/src/composables/useTauriEvents.ts b/apps/desktop/src/composables/useTauriEvents.tssimilarity index 100%rename from src/composables/useTauriEvents.tsrename to apps/desktop/src/composables/useTauriEvents.tsdiff --git a/src/composables/useTheme.ts b/apps/desktop/src/composables/useTheme.tssimilarity index 100%rename from src/composables/useTheme.tsrename to apps/desktop/src/composables/useTheme.tsdiff --git a/src/composables/useToast.ts b/apps/desktop/src/composables/useToast.tssimilarity index 100%rename from src/composables/useToast.tsrename to apps/desktop/src/composables/useToast.tsdiff --git a/src/composables/useWindowControls.ts b/apps/desktop/src/composables/useWindowControls.tssimilarity index 100%rename from src/composables/useWindowControls.tsrename to apps/desktop/src/composables/useWindowControls.tsdiff --git a/src/env.d.ts b/apps/desktop/src/env.d.tssimilarity index 100%rename from src/env.d.tsrename to apps/desktop/src/env.d.tsdiff --git a/src/i18n/backend-errors.ts b/apps/desktop/src/i18n/backend-errors.tssimilarity index 100%rename from src/i18n/backend-errors.tsrename to apps/desktop/src/i18n/backend-errors.tsdiff --git a/src/i18n/index.ts b/apps/desktop/src/i18n/index.tssimilarity index 100%rename from src/i18n/index.tsrename to apps/desktop/src/i18n/index.tsdiff --git a/src/i18n/locales/en.ts b/apps/desktop/src/i18n/locales/en.tssimilarity index 100%rename from src/i18n/locales/en.tsrename to apps/desktop/src/i18n/locales/en.tsdiff --git a/src/i18n/locales/es.ts b/apps/desktop/src/i18n/locales/es.tssimilarity index 100%rename from src/i18n/locales/es.tsrename to apps/desktop/src/i18n/locales/es.tsdiff --git a/src/i18n/locales/zh-CN.ts b/apps/desktop/src/i18n/locales/zh-CN.tssimilarity index 100%rename from src/i18n/locales/zh-CN.tsrename to apps/desktop/src/i18n/locales/zh-CN.tsdiff --git a/src/lib/actionActivation.ts b/apps/desktop/src/lib/actionActivation.tssimilarity index 100%rename from src/lib/actionActivation.tsrename to apps/desktop/src/lib/actionActivation.tsdiff --git a/src/lib/agentDriverInstallHint.ts b/apps/desktop/src/lib/agentDriverInstallHint.tssimilarity index 100%rename from src/lib/agentDriverInstallHint.tsrename to apps/desktop/src/lib/agentDriverInstallHint.tsdiff --git a/src/lib/agentDriverUpdateBadge.ts b/apps/desktop/src/lib/agentDriverUpdateBadge.tssimilarity index 100%rename from src/lib/agentDriverUpdateBadge.tsrename to apps/desktop/src/lib/agentDriverUpdateBadge.tsdiff --git a/src/lib/ai.ts b/apps/desktop/src/lib/ai.tssimilarity index 100%rename from src/lib/ai.tsrename to apps/desktop/src/lib/ai.tsdiff --git a/src/lib/aiAgentPlan.ts b/apps/desktop/src/lib/aiAgentPlan.tssimilarity index 100%rename from src/lib/aiAgentPlan.tsrename to apps/desktop/src/lib/aiAgentPlan.tsdiff --git a/src/lib/aiAgentStepPresentation.ts b/apps/desktop/src/lib/aiAgentStepPresentation.tssimilarity index 100%rename from src/lib/aiAgentStepPresentation.tsrename to apps/desktop/src/lib/aiAgentStepPresentation.tsdiff --git a/src/lib/aiSkills.ts b/apps/desktop/src/lib/aiSkills.tssimilarity index 100%rename from src/lib/aiSkills.tsrename to apps/desktop/src/lib/aiSkills.tsdiff --git a/src/lib/aiSqlExecutionPolicy.ts b/apps/desktop/src/lib/aiSqlExecutionPolicy.tssimilarity index 100%rename from src/lib/aiSqlExecutionPolicy.tsrename to apps/desktop/src/lib/aiSqlExecutionPolicy.tsdiff --git a/src/lib/aiTableMentions.ts b/apps/desktop/src/lib/aiTableMentions.tssimilarity index 100%rename from src/lib/aiTableMentions.tsrename to apps/desktop/src/lib/aiTableMentions.tsdiff --git a/src/lib/api.ts b/apps/desktop/src/lib/api.tssimilarity index 100%rename from src/lib/api.tsrename to apps/desktop/src/lib/api.tsdiff --git a/src/lib/appTheme.ts b/apps/desktop/src/lib/appTheme.tssimilarity index 100%rename from src/lib/appTheme.tsrename to apps/desktop/src/lib/appTheme.tsdiff --git a/src/lib/cellValue.ts b/apps/desktop/src/lib/cellValue.tssimilarity index 100%rename from src/lib/cellValue.tsrename to apps/desktop/src/lib/cellValue.tsdiff --git a/src/lib/color.ts b/apps/desktop/src/lib/color.tssimilarity index 100%rename from src/lib/color.tsrename to apps/desktop/src/lib/color.tsdiff --git a/src/lib/columnFormatter.ts b/apps/desktop/src/lib/columnFormatter.tssimilarity index 100%rename from src/lib/columnFormatter.tsrename to apps/desktop/src/lib/columnFormatter.tsdiff --git a/src/lib/configCrypto.ts b/apps/desktop/src/lib/configCrypto.tssimilarity index 100%rename from src/lib/configCrypto.tsrename to apps/desktop/src/lib/configCrypto.tsdiff --git a/src/lib/connectionHealth.ts b/apps/desktop/src/lib/connectionHealth.tssimilarity index 100%rename from src/lib/connectionHealth.tsrename to apps/desktop/src/lib/connectionHealth.tsdiff --git a/src/lib/connectionPresentation.ts b/apps/desktop/src/lib/connectionPresentation.tssimilarity index 100%rename from src/lib/connectionPresentation.tsrename to apps/desktop/src/lib/connectionPresentation.tsdiff --git a/src/lib/connectionUrl.ts b/apps/desktop/src/lib/connectionUrl.tssimilarity index 100%rename from src/lib/connectionUrl.tsrename to apps/desktop/src/lib/connectionUrl.tsdiff --git a/src/lib/createDatabaseSql.ts b/apps/desktop/src/lib/createDatabaseSql.tssimilarity index 100%rename from src/lib/createDatabaseSql.tsrename to apps/desktop/src/lib/createDatabaseSql.tsdiff --git a/src/lib/dataCompare.ts b/apps/desktop/src/lib/dataCompare.tssimilarity index 100%rename from src/lib/dataCompare.tsrename to apps/desktop/src/lib/dataCompare.tsdiff --git a/src/lib/dataGridColumnWidth.ts b/apps/desktop/src/lib/dataGridColumnWidth.tssimilarity index 100%rename from src/lib/dataGridColumnWidth.tsrename to apps/desktop/src/lib/dataGridColumnWidth.tsdiff --git a/src/lib/dataGridScrollGutter.ts b/apps/desktop/src/lib/dataGridScrollGutter.tssimilarity index 100%rename from src/lib/dataGridScrollGutter.tsrename to apps/desktop/src/lib/dataGridScrollGutter.tsdiff --git a/src/lib/dataGridSql.ts b/apps/desktop/src/lib/dataGridSql.tssimilarity index 100%rename from src/lib/dataGridSql.tsrename to apps/desktop/src/lib/dataGridSql.tsdiff --git a/src/lib/dataGridTranspose.ts b/apps/desktop/src/lib/dataGridTranspose.tssimilarity index 100%rename from src/lib/dataGridTranspose.tsrename to apps/desktop/src/lib/dataGridTranspose.tsdiff --git a/src/lib/databaseCapabilities.ts b/apps/desktop/src/lib/databaseCapabilities.tssimilarity index 100%rename from src/lib/databaseCapabilities.tsrename to apps/desktop/src/lib/databaseCapabilities.tsdiff --git a/src/lib/databaseCapabilitySets.ts b/apps/desktop/src/lib/databaseCapabilitySets.tssimilarity index 100%rename from src/lib/databaseCapabilitySets.tsrename to apps/desktop/src/lib/databaseCapabilitySets.tsdiff --git a/src/lib/databaseExport.ts b/apps/desktop/src/lib/databaseExport.tssimilarity index 100%rename from src/lib/databaseExport.tsrename to apps/desktop/src/lib/databaseExport.tsdiff --git a/src/lib/databaseExportSelection.ts b/apps/desktop/src/lib/databaseExportSelection.tssimilarity index 100%rename from src/lib/databaseExportSelection.tsrename to apps/desktop/src/lib/databaseExportSelection.tsdiff --git a/src/lib/databaseFeatureSupport.ts b/apps/desktop/src/lib/databaseFeatureSupport.tssimilarity index 100%rename from src/lib/databaseFeatureSupport.tsrename to apps/desktop/src/lib/databaseFeatureSupport.tsdiff --git a/src/lib/databaseOptionSearch.ts b/apps/desktop/src/lib/databaseOptionSearch.tssimilarity index 100%rename from src/lib/databaseOptionSearch.tsrename to apps/desktop/src/lib/databaseOptionSearch.tsdiff --git a/src/lib/databaseSearch.ts b/apps/desktop/src/lib/databaseSearch.tssimilarity index 100%rename from src/lib/databaseSearch.tsrename to apps/desktop/src/lib/databaseSearch.tsdiff --git a/src/lib/databaseTableDataCapabilities.ts b/apps/desktop/src/lib/databaseTableDataCapabilities.tssimilarity index 100%rename from src/lib/databaseTableDataCapabilities.tsrename to apps/desktop/src/lib/databaseTableDataCapabilities.tsdiff --git a/src/lib/databaseTree.ts b/apps/desktop/src/lib/databaseTree.tssimilarity index 100%rename from src/lib/databaseTree.tsrename to apps/desktop/src/lib/databaseTree.tsdiff --git a/src/lib/dbeaverImport.ts b/apps/desktop/src/lib/dbeaverImport.tssimilarity index 100%rename from src/lib/dbeaverImport.tsrename to apps/desktop/src/lib/dbeaverImport.tsdiff --git a/src/lib/defaultDatabase.ts b/apps/desktop/src/lib/defaultDatabase.tssimilarity index 100%rename from src/lib/defaultDatabase.tsrename to apps/desktop/src/lib/defaultDatabase.tsdiff --git a/src/lib/diagramSvgExport.ts b/apps/desktop/src/lib/diagramSvgExport.tssimilarity index 100%rename from src/lib/diagramSvgExport.tsrename to apps/desktop/src/lib/diagramSvgExport.tsdiff --git a/src/lib/diagramZoom.ts b/apps/desktop/src/lib/diagramZoom.tssimilarity index 100%rename from src/lib/diagramZoom.tsrename to apps/desktop/src/lib/diagramZoom.tsdiff --git a/src/lib/editorThemes.ts b/apps/desktop/src/lib/editorThemes.tssimilarity index 100%rename from src/lib/editorThemes.tsrename to apps/desktop/src/lib/editorThemes.tsdiff --git a/src/lib/engineeringDiagram.ts b/apps/desktop/src/lib/engineeringDiagram.tssimilarity index 100%rename from src/lib/engineeringDiagram.tsrename to apps/desktop/src/lib/engineeringDiagram.tsdiff --git a/src/lib/erDiagram.ts b/apps/desktop/src/lib/erDiagram.tssimilarity index 100%rename from src/lib/erDiagram.tsrename to apps/desktop/src/lib/erDiagram.tsdiff --git a/src/lib/explainPlan.ts b/apps/desktop/src/lib/explainPlan.tssimilarity index 100%rename from src/lib/explainPlan.tsrename to apps/desktop/src/lib/explainPlan.tsdiff --git a/src/lib/exportFormats.ts b/apps/desktop/src/lib/exportFormats.tssimilarity index 100%rename from src/lib/exportFormats.tsrename to apps/desktop/src/lib/exportFormats.tsdiff --git a/src/lib/fieldLineage.ts b/apps/desktop/src/lib/fieldLineage.tssimilarity index 100%rename from src/lib/fieldLineage.tsrename to apps/desktop/src/lib/fieldLineage.tsdiff --git a/src/lib/gridRowStatus.ts b/apps/desktop/src/lib/gridRowStatus.tssimilarity index 100%rename from src/lib/gridRowStatus.tsrename to apps/desktop/src/lib/gridRowStatus.tsdiff --git a/src/lib/gridSelection.ts b/apps/desktop/src/lib/gridSelection.tssimilarity index 100%rename from src/lib/gridSelection.tsrename to apps/desktop/src/lib/gridSelection.tsdiff --git a/src/lib/historyActions.ts b/apps/desktop/src/lib/historyActions.tssimilarity index 100%rename from src/lib/historyActions.tsrename to apps/desktop/src/lib/historyActions.tsdiff --git a/src/lib/historyActivityKind.ts b/apps/desktop/src/lib/historyActivityKind.tssimilarity index 100%rename from src/lib/historyActivityKind.tsrename to apps/desktop/src/lib/historyActivityKind.tsdiff --git a/src/lib/historyAiAnalysis.ts b/apps/desktop/src/lib/historyAiAnalysis.tssimilarity index 100%rename from src/lib/historyAiAnalysis.tsrename to apps/desktop/src/lib/historyAiAnalysis.tsdiff --git a/src/lib/historyVirtualList.ts b/apps/desktop/src/lib/historyVirtualList.tssimilarity index 100%rename from src/lib/historyVirtualList.tsrename to apps/desktop/src/lib/historyVirtualList.tsdiff --git a/src/lib/http.ts b/apps/desktop/src/lib/http.tssimilarity index 100%rename from src/lib/http.tsrename to apps/desktop/src/lib/http.tsdiff --git a/src/lib/httpSqlFileProgress.ts b/apps/desktop/src/lib/httpSqlFileProgress.tssimilarity index 100%rename from src/lib/httpSqlFileProgress.tsrename to apps/desktop/src/lib/httpSqlFileProgress.tsdiff --git a/src/lib/keyboardShortcuts.ts b/apps/desktop/src/lib/keyboardShortcuts.tssimilarity index 100%rename from src/lib/keyboardShortcuts.tsrename to apps/desktop/src/lib/keyboardShortcuts.tsdiff --git a/src/lib/markdownTable.ts b/apps/desktop/src/lib/markdownTable.tssimilarity index 100%rename from src/lib/markdownTable.tsrename to apps/desktop/src/lib/markdownTable.tsdiff --git a/src/lib/mongoShellCommand.ts b/apps/desktop/src/lib/mongoShellCommand.tssimilarity index 100%rename from src/lib/mongoShellCommand.tsrename to apps/desktop/src/lib/mongoShellCommand.tsdiff --git a/src/lib/navicatImport.ts b/apps/desktop/src/lib/navicatImport.tssimilarity index 100%rename from src/lib/navicatImport.tsrename to apps/desktop/src/lib/navicatImport.tsdiff --git a/src/lib/objectRenameSql.ts b/apps/desktop/src/lib/objectRenameSql.tssimilarity index 100%rename from src/lib/objectRenameSql.tsrename to apps/desktop/src/lib/objectRenameSql.tsdiff --git a/src/lib/objectSourceEditor.ts b/apps/desktop/src/lib/objectSourceEditor.tssimilarity index 100%rename from src/lib/objectSourceEditor.tsrename to apps/desktop/src/lib/objectSourceEditor.tsdiff --git a/src/lib/openTabsPersistence.ts b/apps/desktop/src/lib/openTabsPersistence.tssimilarity index 100%rename from src/lib/openTabsPersistence.tsrename to apps/desktop/src/lib/openTabsPersistence.tsdiff --git a/src/lib/pinnedItems.ts b/apps/desktop/src/lib/pinnedItems.tssimilarity index 100%rename from src/lib/pinnedItems.tsrename to apps/desktop/src/lib/pinnedItems.tsdiff --git a/src/lib/platform.ts b/apps/desktop/src/lib/platform.tssimilarity index 100%rename from src/lib/platform.tsrename to apps/desktop/src/lib/platform.tsdiff --git a/src/lib/queryExecutionState.ts b/apps/desktop/src/lib/queryExecutionState.tssimilarity index 100%rename from src/lib/queryExecutionState.tsrename to apps/desktop/src/lib/queryExecutionState.tsdiff --git a/src/lib/queryResultPagination.ts b/apps/desktop/src/lib/queryResultPagination.tssimilarity index 100%rename from src/lib/queryResultPagination.tsrename to apps/desktop/src/lib/queryResultPagination.tsdiff --git a/src/lib/queryResultSort.ts b/apps/desktop/src/lib/queryResultSort.tssimilarity index 100%rename from src/lib/queryResultSort.tsrename to apps/desktop/src/lib/queryResultSort.tsdiff --git a/src/lib/redisCommandSafety.ts b/apps/desktop/src/lib/redisCommandSafety.tssimilarity index 100%rename from src/lib/redisCommandSafety.tsrename to apps/desktop/src/lib/redisCommandSafety.tsdiff --git a/src/lib/redisKeyTree.ts b/apps/desktop/src/lib/redisKeyTree.tssimilarity index 100%rename from src/lib/redisKeyTree.tsrename to apps/desktop/src/lib/redisKeyTree.tsdiff --git a/src/lib/redisValuePresentation.ts b/apps/desktop/src/lib/redisValuePresentation.tssimilarity index 100%rename from src/lib/redisValuePresentation.tsrename to apps/desktop/src/lib/redisValuePresentation.tsdiff --git a/src/lib/schemaDiff.ts b/apps/desktop/src/lib/schemaDiff.tssimilarity index 100%rename from src/lib/schemaDiff.tsrename to apps/desktop/src/lib/schemaDiff.tsdiff --git a/src/lib/schemaTreeCache.ts b/apps/desktop/src/lib/schemaTreeCache.tssimilarity index 100%rename from src/lib/schemaTreeCache.tsrename to apps/desktop/src/lib/schemaTreeCache.tsdiff --git a/src/lib/shortcutRegistry.ts b/apps/desktop/src/lib/shortcutRegistry.tssimilarity index 100%rename from src/lib/shortcutRegistry.tsrename to apps/desktop/src/lib/shortcutRegistry.tsdiff --git a/src/lib/sidebarLayout.ts b/apps/desktop/src/lib/sidebarLayout.tssimilarity index 100%rename from src/lib/sidebarLayout.tsrename to apps/desktop/src/lib/sidebarLayout.tsdiff --git a/src/lib/sidebarSearch.ts b/apps/desktop/src/lib/sidebarSearch.tssimilarity index 100%rename from src/lib/sidebarSearch.tsrename to apps/desktop/src/lib/sidebarSearch.tsdiff --git a/src/lib/sidebarSearchTree.ts b/apps/desktop/src/lib/sidebarSearchTree.tssimilarity index 100%rename from src/lib/sidebarSearchTree.tsrename to apps/desktop/src/lib/sidebarSearchTree.tsdiff --git a/src/lib/sidebarTreeItemLayout.ts b/apps/desktop/src/lib/sidebarTreeItemLayout.tssimilarity index 100%rename from src/lib/sidebarTreeItemLayout.tsrename to apps/desktop/src/lib/sidebarTreeItemLayout.tsdiff --git a/src/lib/sqlAnalysis.ts b/apps/desktop/src/lib/sqlAnalysis.tssimilarity index 100%rename from src/lib/sqlAnalysis.tsrename to apps/desktop/src/lib/sqlAnalysis.tsdiff --git a/src/lib/sqlCompletion.ts b/apps/desktop/src/lib/sqlCompletion.tssimilarity index 100%rename from src/lib/sqlCompletion.tsrename to apps/desktop/src/lib/sqlCompletion.tsdiff --git a/src/lib/sqlDiagnostics.ts b/apps/desktop/src/lib/sqlDiagnostics.tssimilarity index 100%rename from src/lib/sqlDiagnostics.tsrename to apps/desktop/src/lib/sqlDiagnostics.tsdiff --git a/src/lib/sqlExecutionTarget.ts b/apps/desktop/src/lib/sqlExecutionTarget.tssimilarity index 100%rename from src/lib/sqlExecutionTarget.tsrename to apps/desktop/src/lib/sqlExecutionTarget.tsdiff --git a/src/lib/sqlFileOpen.ts b/apps/desktop/src/lib/sqlFileOpen.tssimilarity index 100%rename from src/lib/sqlFileOpen.tsrename to apps/desktop/src/lib/sqlFileOpen.tsdiff --git a/src/lib/sqlFormatter.ts b/apps/desktop/src/lib/sqlFormatter.tssimilarity index 100%rename from src/lib/sqlFormatter.tsrename to apps/desktop/src/lib/sqlFormatter.tsdiff --git a/src/lib/sqlMetadataRefresh.ts b/apps/desktop/src/lib/sqlMetadataRefresh.tssimilarity index 100%rename from src/lib/sqlMetadataRefresh.tsrename to apps/desktop/src/lib/sqlMetadataRefresh.tsdiff --git a/src/lib/sqlNavigation.ts b/apps/desktop/src/lib/sqlNavigation.tssimilarity index 100%rename from src/lib/sqlNavigation.tsrename to apps/desktop/src/lib/sqlNavigation.tsdiff --git a/src/lib/sqlServerTree.ts b/apps/desktop/src/lib/sqlServerTree.tssimilarity index 100%rename from src/lib/sqlServerTree.tsrename to apps/desktop/src/lib/sqlServerTree.tsdiff --git a/src/lib/sqlStatementSplit.ts b/apps/desktop/src/lib/sqlStatementSplit.tssimilarity index 100%rename from src/lib/sqlStatementSplit.tsrename to apps/desktop/src/lib/sqlStatementSplit.tsdiff --git a/src/lib/tabCloseActions.ts b/apps/desktop/src/lib/tabCloseActions.tssimilarity index 100%rename from src/lib/tabCloseActions.tsrename to apps/desktop/src/lib/tabCloseActions.tsdiff --git a/src/lib/tabPresentation.ts b/apps/desktop/src/lib/tabPresentation.tssimilarity index 100%rename from src/lib/tabPresentation.tsrename to apps/desktop/src/lib/tabPresentation.tsdiff --git a/src/lib/tableDataExport.ts b/apps/desktop/src/lib/tableDataExport.tssimilarity index 100%rename from src/lib/tableDataExport.tsrename to apps/desktop/src/lib/tableDataExport.tsdiff --git a/src/lib/tableEditing.ts b/apps/desktop/src/lib/tableEditing.tssimilarity index 100%rename from src/lib/tableEditing.tsrename to apps/desktop/src/lib/tableEditing.tsdiff --git a/src/lib/tableImport.ts b/apps/desktop/src/lib/tableImport.tssimilarity index 100%rename from src/lib/tableImport.tsrename to apps/desktop/src/lib/tableImport.tsdiff --git a/src/lib/tableSelectSql.ts b/apps/desktop/src/lib/tableSelectSql.tssimilarity index 100%rename from src/lib/tableSelectSql.tsrename to apps/desktop/src/lib/tableSelectSql.tsdiff --git a/src/lib/tableStructureEditorSql.ts b/apps/desktop/src/lib/tableStructureEditorSql.tssimilarity index 100%rename from src/lib/tableStructureEditorSql.tsrename to apps/desktop/src/lib/tableStructureEditorSql.tsdiff --git a/src/lib/tableStructureEditorState.ts b/apps/desktop/src/lib/tableStructureEditorState.tssimilarity index 100%rename from src/lib/tableStructureEditorState.tsrename to apps/desktop/src/lib/tableStructureEditorState.tsdiff --git a/src/lib/tableTree.ts b/apps/desktop/src/lib/tableTree.tssimilarity index 100%rename from src/lib/tableTree.tsrename to apps/desktop/src/lib/tableTree.tsdiff --git a/src/lib/tauri.ts b/apps/desktop/src/lib/tauri.tssimilarity index 100%rename from src/lib/tauri.tsrename to apps/desktop/src/lib/tauri.tsdiff --git a/src/lib/tauriRuntime.ts b/apps/desktop/src/lib/tauriRuntime.tssimilarity index 100%rename from src/lib/tauriRuntime.tsrename to apps/desktop/src/lib/tauriRuntime.tsdiff --git a/src/lib/transferProgressState.ts b/apps/desktop/src/lib/transferProgressState.tssimilarity index 100%rename from src/lib/transferProgressState.tsrename to apps/desktop/src/lib/transferProgressState.tsdiff --git a/src/lib/treeNodeClick.ts b/apps/desktop/src/lib/treeNodeClick.tssimilarity index 100%rename from src/lib/treeNodeClick.tsrename to apps/desktop/src/lib/treeNodeClick.tsdiff --git a/src/lib/treeRefreshTarget.ts b/apps/desktop/src/lib/treeRefreshTarget.tssimilarity index 100%rename from src/lib/treeRefreshTarget.tsrename to apps/desktop/src/lib/treeRefreshTarget.tsdiff --git a/src/lib/utils.ts b/apps/desktop/src/lib/utils.tssimilarity index 100%rename from src/lib/utils.tsrename to apps/desktop/src/lib/utils.tsdiff --git a/src/lib/visibleDatabases.ts b/apps/desktop/src/lib/visibleDatabases.tssimilarity index 100%rename from src/lib/visibleDatabases.tsrename to apps/desktop/src/lib/visibleDatabases.tsdiff --git a/src/lib/xlsxExport.ts b/apps/desktop/src/lib/xlsxExport.tssimilarity index 100%rename from src/lib/xlsxExport.tsrename to apps/desktop/src/lib/xlsxExport.tsdiff --git a/src/main.ts b/apps/desktop/src/main.tssimilarity index 100%rename from src/main.tsrename to apps/desktop/src/main.tsdiff --git a/src/stores/connectionStore.ts b/apps/desktop/src/stores/connectionStore.tssimilarity index 100%rename from src/stores/connectionStore.tsrename to apps/desktop/src/stores/connectionStore.tsdiff --git a/src/stores/historyStore.ts b/apps/desktop/src/stores/historyStore.tssimilarity index 100%rename from src/stores/historyStore.tsrename to apps/desktop/src/stores/historyStore.tsdiff --git a/src/stores/queryStore.ts b/apps/desktop/src/stores/queryStore.tssimilarity index 100%rename from src/stores/queryStore.tsrename to apps/desktop/src/stores/queryStore.tsdiff --git a/src/stores/savedSqlStore.ts b/apps/desktop/src/stores/savedSqlStore.tssimilarity index 100%rename from src/stores/savedSqlStore.tsrename to apps/desktop/src/stores/savedSqlStore.tsdiff --git a/src/stores/settingsStore.ts b/apps/desktop/src/stores/settingsStore.tssimilarity index 100%rename from src/stores/settingsStore.tsrename to apps/desktop/src/stores/settingsStore.tsdiff --git a/src/styles/globals.css b/apps/desktop/src/styles/globals.csssimilarity index 100%rename from src/styles/globals.cssrename to apps/desktop/src/styles/globals.cssdiff --git a/src/types/database.ts b/apps/desktop/src/types/database.tssimilarity index 100%rename from src/types/database.tsrename to apps/desktop/src/types/database.tsdiff --git a/src/types/editor.ts b/apps/desktop/src/types/editor.tssimilarity index 100%rename from src/types/editor.tsrename to apps/desktop/src/types/editor.tsdiff --git a/src/types/vue-virtual-scroller.d.ts b/apps/desktop/src/types/vue-virtual-scroller.d.tssimilarity index 100%rename from src/types/vue-virtual-scroller.d.tsrename to apps/desktop/src/types/vue-virtual-scroller.d.tsdiff --git a/tsconfig.json b/apps/desktop/tsconfig.jsonsimilarity index 100%rename from tsconfig.jsonrename to apps/desktop/tsconfig.jsondiff --git a/vite.config.ts b/apps/desktop/vite.config.tssimilarity index 95%rename from vite.config.tsrename to apps/desktop/vite.config.tsindex b49fa486b4..e05845ea01 100644--- a/vite.config.ts+++ b/apps/desktop/vite.config.ts@@ -7,6 +7,7 @@ const host = process.env.TAURI_DEV_HOST;const isTauri = !!host || !!process.env.TAURI_ENV_ARCH;export default defineConfig(async () => ({+ root: __dirname,plugins: [vue(), tailwindcss()],resolve: {alias: {@@ -15,6 +16,8 @@ export default defineConfig(async () => ({},clearScreen: false,build: {+ outDir: "../../dist",+ emptyOutDir: true,rollupOptions: {output: {manualChunks: {diff --git a/codecov.yml b/codecov.ymlindex 57d4b77a8e..4a9b848a4e 100644--- a/codecov.yml+++ b/codecov.yml@@ -12,4 +12,4 @@ ignore:- "src-tauri/"- "plugins/"- "docs/"- - "public/"+ - "apps/desktop/public/"diff --git a/deploy/Dockerfile b/deploy/Dockerfileindex bc22be4dc5..7cc9e2ee15 100644--- a/deploy/Dockerfile+++ b/deploy/Dockerfile@@ -7,9 +7,7 @@ RUN npm i -g pnpmCOPY package.json pnpm-lock.yaml ./RUN --mount=type=cache,target=/root/.local/share/pnpm/store \pnpm install --frozen-lockfile-COPY src/ src/-COPY index.html vite.config.ts tsconfig.json ./-COPY public/ public/+COPY apps/desktop/ apps/desktop/RUN pnpm build# Stage 2: Cross-compile Rust backend for the requested platform (native, no emulation)diff --git a/package.json b/package.jsonindex 978efd8221..9d3086933f 100644--- a/package.json+++ b/package.json@@ -8,21 +8,21 @@"node": ">=22.13.0"},"scripts": {- "dev": "vite",+ "dev": "vite --config apps/desktop/vite.config.ts","dev:tauri": "tauri dev",- "dev:web": "vite --port 5173 --mode web",+ "dev:web": "vite --config apps/desktop/vite.config.ts --port 5173 --mode web","dev:backend": "RUST_LOG=${RUST_LOG:-info} DBX_PASSWORD=${DBX_PASSWORD:-test} cargo watch -x 'run -p dbx-web'","build:packages": "pnpm --filter @dbx-app/node-core build && pnpm --filter @dbx-app/cli build && pnpm --filter @dbx-app/mcp-server build","test:packages": "pnpm --filter @dbx-app/node-core test && pnpm --filter @dbx-app/cli test && pnpm --filter @dbx-app/mcp-server test","pack:packages": "rm -rf /tmp/dbx-pack-check && mkdir -p /tmp/dbx-pack-check && pnpm --filter @dbx-app/node-core pack --pack-destination /tmp/dbx-pack-check && pnpm --filter @dbx-app/cli pack --pack-destination /tmp/dbx-pack-check && pnpm --filter @dbx-app/mcp-server pack --pack-destination /tmp/dbx-pack-check","publish:dry-run": "pnpm build:packages && pnpm pack:packages",- "build": "vue-tsc --noEmit && vite build",- "check": "oxfmt --check \"src/**/*.{ts,vue}\" && pnpm lint && vue-tsc --noEmit && pnpm test",- "lint": "oxlint --vue-plugin src",- "fmt": "oxfmt \"src/**/*.{ts,vue}\"",- "test": "tsx --test packages/app-tests/*.test.ts",- "test:coverage": "c8 --reporter=lcov --reporter=text tsx --test packages/app-tests/*.test.ts",- "preview": "vite preview",+ "build": "vue-tsc --noEmit --project apps/desktop/tsconfig.json && vite build --config apps/desktop/vite.config.ts",+ "check": "oxfmt --check \"apps/desktop/src/**/*.{ts,vue}\" && pnpm lint && vue-tsc --noEmit --project apps/desktop/tsconfig.json && pnpm test",+ "lint": "oxlint --vue-plugin apps/desktop/src",+ "fmt": "oxfmt \"apps/desktop/src/**/*.{ts,vue}\"",+ "test": "tsx --tsconfig apps/desktop/tsconfig.json --test packages/app-tests/*.test.ts",+ "test:coverage": "c8 --reporter=lcov --reporter=text tsx --tsconfig apps/desktop/tsconfig.json --test packages/app-tests/*.test.ts",+ "preview": "vite preview --config apps/desktop/vite.config.ts","tauri": "tauri","prepare": "husky"},@@ -93,6 +93,6 @@]},"lint-staged": {- "src/**/*.{ts,vue}": "oxfmt"+ "apps/desktop/src/**/*.{ts,vue}": "oxfmt"}}diff --git a/packages/app-tests/actionActivation.test.ts b/packages/app-tests/actionActivation.test.tsindex 2c20606f46..62f011840f 100644--- a/packages/app-tests/actionActivation.test.ts+++ b/packages/app-tests/actionActivation.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { shouldSuppressRepeatedActivation, tryStartExclusiveActivation } from "../../src/lib/actionActivation.ts";+import { shouldSuppressRepeatedActivation, tryStartExclusiveActivation } from "../../apps/desktop/src/lib/actionActivation.ts";test("allows the first activation", () => {const guard = {};diff --git a/packages/app-tests/agentDriverInstallHint.test.ts b/packages/app-tests/agentDriverInstallHint.test.tsindex 39168557c1..7a9788c915 100644--- a/packages/app-tests/agentDriverInstallHint.test.ts+++ b/packages/app-tests/agentDriverInstallHint.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { showAgentDriverInstallHint } from "../../src/lib/agentDriverInstallHint.ts";+import { showAgentDriverInstallHint } from "../../apps/desktop/src/lib/agentDriverInstallHint.ts";test("hides the agent driver install hint when the selected driver is installed", () => {assert.equal(showAgentDriverInstallHint("informix", [{ db_type: "informix", installed: true }]), false);diff --git a/packages/app-tests/agentDriverUpdateBadge.test.ts b/packages/app-tests/agentDriverUpdateBadge.test.tsindex 0a4ae2f34f..fe058efa87 100644--- a/packages/app-tests/agentDriverUpdateBadge.test.ts+++ b/packages/app-tests/agentDriverUpdateBadge.test.ts@@ -1,7 +1,7 @@import assert from "node:assert/strict";import test from "node:test";-import { countAvailableAgentDriverUpdates } from "../../src/lib/agentDriverUpdateBadge.ts";+import { countAvailableAgentDriverUpdates } from "../../apps/desktop/src/lib/agentDriverUpdateBadge.ts";test("returns zero when there are no available agent driver updates", () => {assert.equal(countAvailableAgentDriverUpdates([]), 0);diff --git a/packages/app-tests/aiAgentPlan.test.ts b/packages/app-tests/aiAgentPlan.test.tsindex 810b764642..c43f2562fe 100644--- a/packages/app-tests/aiAgentPlan.test.ts+++ b/packages/app-tests/aiAgentPlan.test.ts@@ -1,8 +1,8 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildAiAgentPlan } from "../../src/lib/aiAgentPlan.ts";-import type { AiAction, AiAssistantMode } from "../../src/lib/ai.ts";-import type { ConnectionConfig } from "../../src/types/database.ts";+import { buildAiAgentPlan } from "../../apps/desktop/src/lib/aiAgentPlan.ts";+import type { AiAction, AiAssistantMode } from "../../apps/desktop/src/lib/ai.ts";+import type { ConnectionConfig } from "../../apps/desktop/src/types/database.ts";function conn(overrides: Partial<ConnectionConfig> = {}): ConnectionConfig {return {diff --git a/packages/app-tests/aiAgentStepPresentation.test.ts b/packages/app-tests/aiAgentStepPresentation.test.tsindex 74541ffed3..216cdd95e9 100644--- a/packages/app-tests/aiAgentStepPresentation.test.ts+++ b/packages/app-tests/aiAgentStepPresentation.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildAiAgentStepItems } from "../../src/lib/aiAgentStepPresentation.ts";-import type { AiAgentPlan } from "../../src/lib/aiAgentPlan.ts";+import { buildAiAgentStepItems } from "../../apps/desktop/src/lib/aiAgentStepPresentation.ts";+import type { AiAgentPlan } from "../../apps/desktop/src/lib/aiAgentPlan.ts";test("presents auto-execute agent plans as completed generation, safety, and execution steps", () => {const plan: AiAgentPlan = {diff --git a/packages/app-tests/aiPrompt.test.ts b/packages/app-tests/aiPrompt.test.tsindex 5e4691fca5..bd232d8928 100644--- a/packages/app-tests/aiPrompt.test.ts+++ b/packages/app-tests/aiPrompt.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import type { AiContext } from "../../src/lib/ai.ts";+import type { AiContext } from "../../apps/desktop/src/lib/ai.ts";class MemoryStorage {private values = new Map<string, string>();@@ -27,7 +27,7 @@ Object.defineProperty(globalThis, "localStorage", {configurable: true,});-const { buildSystemPrompt } = await import("../../src/lib/ai.ts");+const { buildSystemPrompt } = await import("../../apps/desktop/src/lib/ai.ts");function context(overrides: Partial<AiContext> = {}): AiContext {return {diff --git a/packages/app-tests/aiPromptEval.test.ts b/packages/app-tests/aiPromptEval.test.tsindex eba358179f..d365176593 100644--- a/packages/app-tests/aiPromptEval.test.ts+++ b/packages/app-tests/aiPromptEval.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import type { AiAction, AiAssistantMode, AiContext } from "../../src/lib/ai.ts";+import type { AiAction, AiAssistantMode, AiContext } from "../../apps/desktop/src/lib/ai.ts";class MemoryStorage {private values = new Map<string, string>();@@ -27,7 +27,7 @@ Object.defineProperty(globalThis, "localStorage", {configurable: true,});-const { buildSystemPrompt } = await import("../../src/lib/ai.ts");+const { buildSystemPrompt } = await import("../../apps/desktop/src/lib/ai.ts");function baseContext(overrides: Partial<AiContext> = {}): AiContext {return {diff --git a/packages/app-tests/aiSkills.test.ts b/packages/app-tests/aiSkills.test.tsindex 8fd47942e9..accc54821f 100644--- a/packages/app-tests/aiSkills.test.ts+++ b/packages/app-tests/aiSkills.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import type { AiAction } from "../../src/lib/ai.ts";-import { AI_SKILL_DEFINITIONS, aiSkillForAction } from "../../src/lib/aiSkills.ts";+import type { AiAction } from "../../apps/desktop/src/lib/ai.ts";+import { AI_SKILL_DEFINITIONS, aiSkillForAction } from "../../apps/desktop/src/lib/aiSkills.ts";const actions: AiAction[] = ["generate", "explain", "optimize", "fix", "convert", "sampleData"];diff --git a/packages/app-tests/aiSqlExecutionPolicy.test.ts b/packages/app-tests/aiSqlExecutionPolicy.test.tsindex bc540a57d6..89ec89b47b 100644--- a/packages/app-tests/aiSqlExecutionPolicy.test.ts+++ b/packages/app-tests/aiSqlExecutionPolicy.test.ts@@ -4,8 +4,8 @@ import {classifyAiSqlExecution,classifyConnectionEnvironment,shouldAttemptAiAutoExecute,-} from "../../src/lib/aiSqlExecutionPolicy.ts";-import type { ConnectionConfig } from "../../src/types/database.ts";+} from "../../apps/desktop/src/lib/aiSqlExecutionPolicy.ts";+import type { ConnectionConfig } from "../../apps/desktop/src/types/database.ts";function conn(overrides: Partial<ConnectionConfig> = {}): ConnectionConfig {return {diff --git a/packages/app-tests/aiTableMentions.test.ts b/packages/app-tests/aiTableMentions.test.tsindex 4b3aefa515..cbb2561652 100644--- a/packages/app-tests/aiTableMentions.test.ts+++ b/packages/app-tests/aiTableMentions.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { formatAiTableMention, parseAiTableMentions } from "../../src/lib/aiTableMentions.ts";+import { formatAiTableMention, parseAiTableMentions } from "../../apps/desktop/src/lib/aiTableMentions.ts";test("parses simple and schema-qualified AI table mentions", () => {assert.deepEqual(parseAiTableMentions("show @users and join @public.orders"), [diff --git a/packages/app-tests/apiBackendContract.test.ts b/packages/app-tests/apiBackendContract.test.tsindex 3f985c6025..74010d1145 100644--- a/packages/app-tests/apiBackendContract.test.ts+++ b/packages/app-tests/apiBackendContract.test.ts@@ -8,5 +8,5 @@ function exportedFunctions(path: string): string[] {}test("Tauri and HTTP backends expose the same API functions", () => {- assert.deepEqual(exportedFunctions("src/lib/http.ts"), exportedFunctions("src/lib/tauri.ts"));+ assert.deepEqual(exportedFunctions("apps/desktop/src/lib/http.ts"), exportedFunctions("apps/desktop/src/lib/tauri.ts"));});diff --git a/packages/app-tests/appTheme.test.ts b/packages/app-tests/appTheme.test.tsindex c1bf9ebf9b..821b53b40d 100644--- a/packages/app-tests/appTheme.test.ts+++ b/packages/app-tests/appTheme.test.ts@@ -4,7 +4,7 @@ import {getTauriThemeForMode,normalizeAppThemeMode,resolveAppThemeAppearance,-} from "../../src/lib/appTheme.ts";+} from "../../apps/desktop/src/lib/appTheme.ts";test("normalizes stored app theme modes", () => {assert.equal(normalizeAppThemeMode("dark"), "dark");diff --git a/packages/app-tests/appUpdateBadge.test.ts b/packages/app-tests/appUpdateBadge.test.tsindex 7826604141..6d66146c56 100644--- a/packages/app-tests/appUpdateBadge.test.ts+++ b/packages/app-tests/appUpdateBadge.test.ts@@ -3,7 +3,7 @@ import { strict as assert } from "node:assert";import test from "node:test";test("toolbar update button can show a red update badge", () => {- const source = readFileSync("src/components/layout/AppToolbar.vue", "utf8");+ const source = readFileSync("apps/desktop/src/components/layout/AppToolbar.vue", "utf8");assert.match(source, /hasUpdateAvailable/);assert.match(source, /v-if="hasUpdateAvailable"/);@@ -11,7 +11,7 @@ test("toolbar update button can show a red update badge", () => {});test("app schedules hourly silent update checks and clears the timer", () => {- const source = readFileSync("src/App.vue", "utf8");+ const source = readFileSync("apps/desktop/src/App.vue", "utf8");assert.match(source, /UPDATE_CHECK_INTERVAL_MS\s*=\s*60\s*\*\s*60\s*\*\s*1000/);assert.match(source, /setInterval\(\(\)\s*=>\s*{[\s\S]*checkUpdates\(\{\s*silent:\s*true\s*}\)/);@@ -19,15 +19,15 @@ test("app schedules hourly silent update checks and clears the timer", () => {});test("app passes update availability to the toolbar badge", () => {- const source = readFileSync("src/App.vue", "utf8");+ const source = readFileSync("apps/desktop/src/App.vue", "utf8");assert.match(source, /:has-update-available="hasUpdateAvailable"/);});test("driver manager entry can show an update count badge", () => {- const toolbarSource = readFileSync("src/components/layout/AppToolbar.vue", "utf8");- const tabSource = readFileSync("src/components/layout/AppTabBar.vue", "utf8");- const appSource = readFileSync("src/App.vue", "utf8");+ const toolbarSource = readFileSync("apps/desktop/src/components/layout/AppToolbar.vue", "utf8");+ const tabSource = readFileSync("apps/desktop/src/components/layout/AppTabBar.vue", "utf8");+ const appSource = readFileSync("apps/desktop/src/App.vue", "utf8");assert.match(toolbarSource, /agentDriverUpdateCount/);assert.match(toolbarSource, /v-if="agentDriverUpdateCount > 0"/);diff --git a/packages/app-tests/cellValue.test.ts b/packages/app-tests/cellValue.test.tsindex 9f7dd14728..239e5379ab 100644--- a/packages/app-tests/cellValue.test.ts+++ b/packages/app-tests/cellValue.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { displayCellValue } from "../../src/lib/cellValue.ts";+import { displayCellValue } from "../../apps/desktop/src/lib/cellValue.ts";test("displayCellValue returns NULL for null", () => {assert.equal(displayCellValue(null), "NULL");diff --git a/packages/app-tests/columnFormatter.test.ts b/packages/app-tests/columnFormatter.test.tsindex 55a20ea858..fd8a0d1519 100644--- a/packages/app-tests/columnFormatter.test.ts+++ b/packages/app-tests/columnFormatter.test.ts@@ -6,7 +6,7 @@ import {resolveColumnFormatter,normalizeColumnFormatter,type ColumnFormatterConfig,-} from "../../src/lib/columnFormatter.ts";+} from "../../apps/desktop/src/lib/columnFormatter.ts";test("formats unix timestamps in seconds, milliseconds, and auto mode", () => {assert.equal(diff --git a/packages/app-tests/configCrypto.test.ts b/packages/app-tests/configCrypto.test.tsindex 77d67922f4..2949bda1f5 100644--- a/packages/app-tests/configCrypto.test.ts+++ b/packages/app-tests/configCrypto.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { encryptConfig, decryptConfig, isEncryptedConfig } from "../../src/lib/configCrypto.ts";+import { encryptConfig, decryptConfig, isEncryptedConfig } from "../../apps/desktop/src/lib/configCrypto.ts";test("encrypts and decrypts config round-trip", async () => {const original = JSON.stringify([{ id: "1", name: "test", password: "secret123" }]);diff --git a/packages/app-tests/connectionHealth.test.ts b/packages/app-tests/connectionHealth.test.tsindex d344a45235..29399c255b 100644--- a/packages/app-tests/connectionHealth.test.ts+++ b/packages/app-tests/connectionHealth.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { staleConnectionMessage, shouldMarkDisconnected } from "../../src/lib/connectionHealth.ts";+import { staleConnectionMessage, shouldMarkDisconnected } from "../../apps/desktop/src/lib/connectionHealth.ts";test("metadata connection errors should turn off connected state", () => {assert.equal(shouldMarkDisconnected(new Error("connection closed by server")), true);diff --git a/packages/app-tests/connectionPresentation.test.ts b/packages/app-tests/connectionPresentation.test.tsindex 6962a2b784..198a1c7766 100644--- a/packages/app-tests/connectionPresentation.test.ts+++ b/packages/app-tests/connectionPresentation.test.ts@@ -1,7 +1,7 @@import test from "node:test";import assert from "node:assert/strict";-import type { ConnectionConfig } from "../../src/types/database.ts";-import { connectionDriverLabel, connectionEndpointLabel, connectionIconType, connectionOptionSubtitle } from "../../src/lib/connectionPresentation.ts";+import type { ConnectionConfig } from "../../apps/desktop/src/types/database.ts";+import { connectionDriverLabel, connectionEndpointLabel, connectionIconType, connectionOptionSubtitle } from "../../apps/desktop/src/lib/connectionPresentation.ts";const baseConnection: ConnectionConfig = {id: "conn-1",diff --git a/packages/app-tests/connectionUrl.test.ts b/packages/app-tests/connectionUrl.test.tsindex cbc36dd076..2551baa73e 100644--- a/packages/app-tests/connectionUrl.test.ts+++ b/packages/app-tests/connectionUrl.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { parseConnectionUrl } from "../../src/lib/connectionUrl.ts";+import { parseConnectionUrl } from "../../apps/desktop/src/lib/connectionUrl.ts";test("parses postgres connection URLs", () => {assert.deepEqual(parseConnectionUrl("postgresql://alice:[email protected]:5433/app?sslmode=require"), {diff --git a/packages/app-tests/connectionUrlPlaceholder.test.ts b/packages/app-tests/connectionUrlPlaceholder.test.tsindex 2397d41b61..928fbf5480 100644--- a/packages/app-tests/connectionUrlPlaceholder.test.ts+++ b/packages/app-tests/connectionUrlPlaceholder.test.ts@@ -1,6 +1,6 @@import test from "node:test";import assert from "node:assert/strict";-import { connectionUrlPlaceholder } from "../../src/lib/connectionPresentation.ts";+import { connectionUrlPlaceholder } from "../../apps/desktop/src/lib/connectionPresentation.ts";const expected: Record<string, string> = {mysql: "mysql://user:password@host:port/database",diff --git a/packages/app-tests/createDatabaseSql.test.ts b/packages/app-tests/createDatabaseSql.test.tsindex 1bfd3647b7..e2c855aea3 100644--- a/packages/app-tests/createDatabaseSql.test.ts+++ b/packages/app-tests/createDatabaseSql.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { buildCreateDatabaseSql, supportsCreateDatabaseCharset } from "../../src/lib/createDatabaseSql.ts";+import { buildCreateDatabaseSql, supportsCreateDatabaseCharset } from "../../apps/desktop/src/lib/createDatabaseSql.ts";test("builds MySQL create database SQL with charset and collation", () => {assert.equal(diff --git a/packages/app-tests/dataCompare.test.ts b/packages/app-tests/dataCompare.test.tsindex 0f9cf77576..90d9ca77fc 100644--- a/packages/app-tests/dataCompare.test.ts+++ b/packages/app-tests/dataCompare.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { compareDataRows, generateDataSyncSql } from "../../src/lib/dataCompare.ts";+import { compareDataRows, generateDataSyncSql } from "../../apps/desktop/src/lib/dataCompare.ts";test("compares rows by primary key and reports added, removed, and modified rows", () => {const diff = compareDataRows({diff --git a/packages/app-tests/dataGridColumnWidth.test.ts b/packages/app-tests/dataGridColumnWidth.test.tsindex e7ee872093..00369a9858 100644--- a/packages/app-tests/dataGridColumnWidth.test.ts+++ b/packages/app-tests/dataGridColumnWidth.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { calculateDataGridColumnWidth, DATA_GRID_HEADER_CONTROL_WIDTH } from "../../src/lib/dataGridColumnWidth.ts";+import { calculateDataGridColumnWidth, DATA_GRID_HEADER_CONTROL_WIDTH } from "../../apps/desktop/src/lib/dataGridColumnWidth.ts";test("reserves header control space when auto-sizing a column from the header", () => {const width = calculateDataGridColumnWidth({diff --git a/packages/app-tests/dataGridEditor.test.ts b/packages/app-tests/dataGridEditor.test.tsindex 8cbac2344e..848c9c787e 100644--- a/packages/app-tests/dataGridEditor.test.ts+++ b/packages/app-tests/dataGridEditor.test.ts@@ -2,8 +2,8 @@ import { strict as assert } from "node:assert";import test from "node:test";import { computed, nextTick, ref } from "vue";import { createPinia, setActivePinia } from "pinia";-import { useDataGridEditor } from "../../src/composables/useDataGridEditor.ts";-import type { ColumnInfo } from "../../src/types/database.ts";+import { useDataGridEditor } from "../../apps/desktop/src/composables/useDataGridEditor.ts";+import type { ColumnInfo } from "../../apps/desktop/src/types/database.ts";type CellValue = string | number | boolean | null;diff --git a/packages/app-tests/dataGridScrollGutter.test.ts b/packages/app-tests/dataGridScrollGutter.test.tsindex b04150dcd0..584477db94 100644--- a/packages/app-tests/dataGridScrollGutter.test.ts+++ b/packages/app-tests/dataGridScrollGutter.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { dataGridHeaderContentWidth, scrollbarGutterWidth } from "../../src/lib/dataGridScrollGutter.ts";+import { dataGridHeaderContentWidth, scrollbarGutterWidth } from "../../apps/desktop/src/lib/dataGridScrollGutter.ts";test("calculates scrollbar gutter from element dimensions", () => {assert.equal(scrollbarGutterWidth({ offsetWidth: 1000, clientWidth: 985 }), 15);diff --git a/packages/app-tests/dataGridSql.test.ts b/packages/app-tests/dataGridSql.test.tsindex 09c3b35d7e..c01139dc3d 100644--- a/packages/app-tests/dataGridSql.test.ts+++ b/packages/app-tests/dataGridSql.test.ts@@ -7,8 +7,8 @@ import {normalizeDataGridSaveError,formatGridSqlLiteral,validateDataGridSave,-} from "../../src/lib/dataGridSql.ts";-import { DBX_NEO4J_ELEMENT_ID_COLUMN } from "../../src/lib/tableEditing.ts";+} from "../../apps/desktop/src/lib/dataGridSql.ts";+import { DBX_NEO4J_ELEMENT_ID_COLUMN } from "../../apps/desktop/src/lib/tableEditing.ts";test("builds SQL Server grid save statements with schema and bracket quoting", () => {const statements = buildDataGridSaveStatements({diff --git a/packages/app-tests/dataGridTranspose.test.ts b/packages/app-tests/dataGridTranspose.test.tsindex cc9b9da167..57115a1151 100644--- a/packages/app-tests/dataGridTranspose.test.ts+++ b/packages/app-tests/dataGridTranspose.test.ts@@ -7,7 +7,7 @@ import {transposeFieldWidth,transposeScrollLeftForRecord,visibleTransposeRecordWindow,-} from "../../src/lib/dataGridTranspose.ts";+} from "../../apps/desktop/src/lib/dataGridTranspose.ts";test("row number double click opens transpose for a row", () => {assert.deepEqual(nextTransposeState(false, null, 2), {diff --git a/packages/app-tests/databaseCapabilities.test.ts b/packages/app-tests/databaseCapabilities.test.tsindex 0a05651fe2..5288749092 100644--- a/packages/app-tests/databaseCapabilities.test.ts+++ b/packages/app-tests/databaseCapabilities.test.ts@@ -18,7 +18,7 @@ import {supportsTransfer,usesPostgresLikeStructureCopy,usesTreeSchemaMode,-} from "../../src/lib/databaseCapabilities.ts";+} from "../../apps/desktop/src/lib/databaseCapabilities.ts";test("treats Trino catalogs as schema tree roots", () => {assert.equal(TREE_SCHEMA_TYPES.has("trino"), true);diff --git a/packages/app-tests/databaseExport.test.ts b/packages/app-tests/databaseExport.test.tsindex 61a2be9c52..79429c9d56 100644--- a/packages/app-tests/databaseExport.test.ts+++ b/packages/app-tests/databaseExport.test.ts@@ -7,7 +7,7 @@ import {buildDatabaseSqlExport,buildInsertStatements,formatSqlLiteral,-} from "../../src/lib/databaseExport.ts";+} from "../../apps/desktop/src/lib/databaseExport.ts";test("formats SQL literals for exported INSERT statements", () => {assert.equal(formatSqlLiteral(null), "NULL");diff --git a/packages/app-tests/databaseExportSelection.test.ts b/packages/app-tests/databaseExportSelection.test.tsindex 60f6678c7e..ce36afcadc 100644--- a/packages/app-tests/databaseExportSelection.test.ts+++ b/packages/app-tests/databaseExportSelection.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildSelectedTablesPayload } from "../../src/lib/databaseExportSelection.ts";+import { buildSelectedTablesPayload } from "../../apps/desktop/src/lib/databaseExportSelection.ts";test("omits selected table payload when every table is selected", () => {assert.equal(buildSelectedTablesPayload(["users", "orders"], ["users", "orders"]), undefined);diff --git a/packages/app-tests/databaseOptionSearch.test.ts b/packages/app-tests/databaseOptionSearch.test.tsindex f9d6e6aa81..3827e52150 100644--- a/packages/app-tests/databaseOptionSearch.test.ts+++ b/packages/app-tests/databaseOptionSearch.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { filterDatabaseOptions } from "../../src/lib/databaseOptionSearch.ts";+import { filterDatabaseOptions } from "../../apps/desktop/src/lib/databaseOptionSearch.ts";test("returns all database options when the search query is empty", () => {assert.deepEqual(filterDatabaseOptions(["app", "analytics"], ""), ["app", "analytics"]);diff --git a/packages/app-tests/databaseSearch.test.ts b/packages/app-tests/databaseSearch.test.tsindex e2f45209de..258c60c60b 100644--- a/packages/app-tests/databaseSearch.test.ts+++ b/packages/app-tests/databaseSearch.test.ts@@ -1,11 +1,11 @@import test from "node:test";import assert from "node:assert/strict";-import type { ColumnInfo } from "../../src/types/database.ts";+import type { ColumnInfo } from "../../apps/desktop/src/types/database.ts";import {buildDatabaseSearchSql,buildSearchResultWhere,findMatchedSearchColumns,-} from "../../src/lib/databaseSearch.ts";+} from "../../apps/desktop/src/lib/databaseSearch.ts";function col(name: string, dataType: string, primary = false): ColumnInfo {return {diff --git a/packages/app-tests/databaseTree.test.ts b/packages/app-tests/databaseTree.test.tsindex 6a509408f3..2011f2fe36 100644--- a/packages/app-tests/databaseTree.test.ts+++ b/packages/app-tests/databaseTree.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { buildDatabaseTreeNodes } from "../../src/lib/databaseTree.ts";+import { buildDatabaseTreeNodes } from "../../apps/desktop/src/lib/databaseTree.ts";test("设置默认库后侧边栏数据库树仍保留全部数据库", () => {const nodes = buildDatabaseTreeNodes("conn-1", [diff --git a/packages/app-tests/defaultDatabase.test.ts b/packages/app-tests/defaultDatabase.test.tsindex d56536da49..4a54ebd33c 100644--- a/packages/app-tests/defaultDatabase.test.ts+++ b/packages/app-tests/defaultDatabase.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { isDefaultDatabase, resolveDefaultDatabase } from "../../src/lib/defaultDatabase.ts";+import { isDefaultDatabase, resolveDefaultDatabase } from "../../apps/desktop/src/lib/defaultDatabase.ts";test("优先使用连接上已保存的默认数据库", () => {assert.equal(resolveDefaultDatabase({ database: "analytics" }, ["app", "analytics"]), "analytics");diff --git a/packages/app-tests/diagramSvgExport.test.ts b/packages/app-tests/diagramSvgExport.test.tsindex 0d22fa24ac..d7d982b87f 100644--- a/packages/app-tests/diagramSvgExport.test.ts+++ b/packages/app-tests/diagramSvgExport.test.ts@@ -1,12 +1,12 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildEngineeringDiagram } from "../../src/lib/engineeringDiagram.ts";+import { buildEngineeringDiagram } from "../../apps/desktop/src/lib/engineeringDiagram.ts";import {buildEngineeringDiagramSvg,buildTableDiagramSvg,diagramSvgFileName,-} from "../../src/lib/diagramSvgExport.ts";-import { buildDiagramRelationships, type DiagramTable } from "../../src/lib/erDiagram.ts";+} from "../../apps/desktop/src/lib/diagramSvgExport.ts";+import { buildDiagramRelationships, type DiagramTable } from "../../apps/desktop/src/lib/erDiagram.ts";const tables: DiagramTable[] = [{diff --git a/packages/app-tests/diagramZoom.test.ts b/packages/app-tests/diagramZoom.test.tsindex dc50b59cc7..664ec79d32 100644--- a/packages/app-tests/diagramZoom.test.ts+++ b/packages/app-tests/diagramZoom.test.ts@@ -4,7 +4,7 @@ import {clampDiagramZoom,zoomFromGestureScale,zoomFromWheelDelta,-} from "../../src/lib/diagramZoom.ts";+} from "../../apps/desktop/src/lib/diagramZoom.ts";test("clamps diagram zoom to supported bounds", () => {assert.equal(clampDiagramZoom(0.2), 0.6);diff --git a/packages/app-tests/engineeringDiagram.test.ts b/packages/app-tests/engineeringDiagram.test.tsindex 4e2b36d114..a1da86cba6 100644--- a/packages/app-tests/engineeringDiagram.test.ts+++ b/packages/app-tests/engineeringDiagram.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildEngineeringDiagram } from "../../src/lib/engineeringDiagram.ts";-import type { DiagramRelationship, DiagramTable } from "../../src/lib/erDiagram.ts";+import { buildEngineeringDiagram } from "../../apps/desktop/src/lib/engineeringDiagram.ts";+import type { DiagramRelationship, DiagramTable } from "../../apps/desktop/src/lib/erDiagram.ts";const tables: DiagramTable[] = [{diff --git a/packages/app-tests/erDiagram.test.ts b/packages/app-tests/erDiagram.test.tsindex fb92e5bcd3..b3a4fb4451 100644--- a/packages/app-tests/erDiagram.test.ts+++ b/packages/app-tests/erDiagram.test.ts@@ -4,7 +4,7 @@ import {buildDiagramRelationships,filterDiagramTables,layoutDiagramTables,-} from "../../src/lib/erDiagram.ts";+} from "../../apps/desktop/src/lib/erDiagram.ts";test("builds relationships only between tables in the diagram", () => {const relationships = buildDiagramRelationships([diff --git a/packages/app-tests/explainPlan.test.ts b/packages/app-tests/explainPlan.test.tsindex cf7b2cc47c..01404cfe13 100644--- a/packages/app-tests/explainPlan.test.ts+++ b/packages/app-tests/explainPlan.test.ts@@ -5,7 +5,7 @@ import {flattenExplainPlanNodes,parseExplainResult,supportsExplainPlan,-} from "../../src/lib/explainPlan.ts";+} from "../../apps/desktop/src/lib/explainPlan.ts";test("builds PostgreSQL JSON explain SQL from a selected query", () => {const result = buildExplainSql("postgres", " select * from users where id = 1; ");diff --git a/packages/app-tests/fieldLineage.test.ts b/packages/app-tests/fieldLineage.test.tsindex 59167952ab..5d345df663 100644--- a/packages/app-tests/fieldLineage.test.ts+++ b/packages/app-tests/fieldLineage.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { analyzeFieldLineage, identifierInSql, summarizeLineageCounts } from "../../src/lib/fieldLineage.ts";+import { analyzeFieldLineage, identifierInSql, summarizeLineageCounts } from "../../apps/desktop/src/lib/fieldLineage.ts";test("detects outgoing and incoming foreign key lineage as certain", () => {const result = analyzeFieldLineage({diff --git a/packages/app-tests/gridRowStatus.test.ts b/packages/app-tests/gridRowStatus.test.tsindex 21a5ed7478..d6a60a99f7 100644--- a/packages/app-tests/gridRowStatus.test.ts+++ b/packages/app-tests/gridRowStatus.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { matchesRowStatusFilter, rowStatusFilterAfterAddingRow, type RowStatus } from "../../src/lib/gridRowStatus.ts";+import { matchesRowStatusFilter, rowStatusFilterAfterAddingRow, type RowStatus } from "../../apps/desktop/src/lib/gridRowStatus.ts";const statuses: RowStatus[] = ["clean", "edited", "new", "deleted"];diff --git a/packages/app-tests/gridSelection.test.ts b/packages/app-tests/gridSelection.test.tsindex 7427426fed..242aa130c4 100644--- a/packages/app-tests/gridSelection.test.ts+++ b/packages/app-tests/gridSelection.test.ts@@ -8,7 +8,7 @@ import {formatSelectionAsTsv,isCellInSelection,normalizeSelectionRange,-} from "../../src/lib/gridSelection.ts";+} from "../../apps/desktop/src/lib/gridSelection.ts";test("normalizes a dragged cell range in either direction", () => {const range = normalizeSelectionRange(diff --git a/packages/app-tests/historyActions.test.ts b/packages/app-tests/historyActions.test.tsindex 04386640c0..8dff1da88b 100644--- a/packages/app-tests/historyActions.test.ts+++ b/packages/app-tests/historyActions.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { shouldDeleteHistoryEntry, shouldClearHistory } from "../../src/lib/historyActions.ts";+import { shouldDeleteHistoryEntry, shouldClearHistory } from "../../apps/desktop/src/lib/historyActions.ts";test("requires confirmation before deleting history entries", () => {assert.equal(shouldDeleteHistoryEntry(() => false), false);diff --git a/packages/app-tests/historyActivityKind.test.ts b/packages/app-tests/historyActivityKind.test.tsindex caa8f0a69d..f15e4c5b7e 100644--- a/packages/app-tests/historyActivityKind.test.ts+++ b/packages/app-tests/historyActivityKind.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { resolveHistoryActivityKind } from "../../src/lib/historyActivityKind.ts";+import { resolveHistoryActivityKind } from "../../apps/desktop/src/lib/historyActivityKind.ts";test("legacy INSERT history entries are treated as data changes", () => {assert.equal(diff --git a/packages/app-tests/historyAiAnalysis.test.ts b/packages/app-tests/historyAiAnalysis.test.tsindex 33fdf54682..9ca7c9c1b0 100644--- a/packages/app-tests/historyAiAnalysis.test.ts+++ b/packages/app-tests/historyAiAnalysis.test.ts@@ -4,7 +4,7 @@ import {buildHistoryAiAnalysisPrompt,canRollbackHistoryEntry,type HistoryAiAnalysisEntry,-} from "../../src/lib/historyAiAnalysis.ts";+} from "../../apps/desktop/src/lib/historyAiAnalysis.ts";const baseEntry: HistoryAiAnalysisEntry = {id: "h1",diff --git a/packages/app-tests/historyVirtualList.test.ts b/packages/app-tests/historyVirtualList.test.tsindex a20c78d05d..84f0ddad3f 100644--- a/packages/app-tests/historyVirtualList.test.ts+++ b/packages/app-tests/historyVirtualList.test.ts@@ -4,7 +4,7 @@ import {HISTORY_ROW_HEIGHT,HISTORY_SCROLL_BUFFER,shouldVirtualizeHistory,-} from "../../src/lib/historyVirtualList.ts";+} from "../../apps/desktop/src/lib/historyVirtualList.ts";test("history list virtualizes every non-empty result set", () => {assert.equal(shouldVirtualizeHistory(0), false);diff --git a/packages/app-tests/keyboardShortcuts.test.ts b/packages/app-tests/keyboardShortcuts.test.tsindex 756cb6677b..bd9f1834f0 100644--- a/packages/app-tests/keyboardShortcuts.test.ts+++ b/packages/app-tests/keyboardShortcuts.test.ts@@ -8,8 +8,8 @@ import {isFocusSearchShortcut,isObjectSourceSaveShortcutTarget,isSaveShortcut,-} from "../../src/lib/keyboardShortcuts.ts";-import { shortcutToCodeMirrorKey } from "../../src/lib/shortcutRegistry.ts";+} from "../../apps/desktop/src/lib/keyboardShortcuts.ts";+import { shortcutToCodeMirrorKey } from "../../apps/desktop/src/lib/shortcutRegistry.ts";test("matches Cmd+Enter for SQL execution", () => {assert.equal(isExecuteSqlShortcut({ key: "Enter", metaKey: true }), true);diff --git a/packages/app-tests/markdownTable.test.ts b/packages/app-tests/markdownTable.test.tsindex f4db75d065..d0dde7eeeb 100644--- a/packages/app-tests/markdownTable.test.ts+++ b/packages/app-tests/markdownTable.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { formatMarkdownTable } from "../../src/lib/markdownTable.ts";+import { formatMarkdownTable } from "../../apps/desktop/src/lib/markdownTable.ts";test("escapes markdown table pipes and normalizes newlines", () => {const markdown = formatMarkdownTable({diff --git a/packages/app-tests/mongoShellCommand.test.ts b/packages/app-tests/mongoShellCommand.test.tsindex b12eed17cc..e60949dd2b 100644--- a/packages/app-tests/mongoShellCommand.test.ts+++ b/packages/app-tests/mongoShellCommand.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { mongoDocumentsToQueryResult, parseMongoFindCommand } from "../../src/lib/mongoShellCommand.ts";+import { mongoDocumentsToQueryResult, parseMongoFindCommand } from "../../apps/desktop/src/lib/mongoShellCommand.ts";test("parseMongoFindCommand parses db collection find with an empty JSON filter", () => {assert.deepEqual(parseMongoFindCommand("db.users.find({})"), {diff --git a/packages/app-tests/objectRenameSql.test.ts b/packages/app-tests/objectRenameSql.test.tsindex 30fdc3131d..870b70abd2 100644--- a/packages/app-tests/objectRenameSql.test.ts+++ b/packages/app-tests/objectRenameSql.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildRenameObjectSql, supportsObjectRename } from "../../src/lib/objectRenameSql.ts";+import { buildRenameObjectSql, supportsObjectRename } from "../../apps/desktop/src/lib/objectRenameSql.ts";test("builds MySQL table and view rename statements", () => {assert.equal(diff --git a/packages/app-tests/objectSourceEditor.test.ts b/packages/app-tests/objectSourceEditor.test.tsindex fdf1c6f0e0..e27ad14c5b 100644--- a/packages/app-tests/objectSourceEditor.test.ts+++ b/packages/app-tests/objectSourceEditor.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildExecutableObjectSourceSql, objectSourceSaveExecutionMode } from "../../src/lib/objectSourceEditor.ts";+import { buildExecutableObjectSourceSql, objectSourceSaveExecutionMode } from "../../apps/desktop/src/lib/objectSourceEditor.ts";test("SQL Server edited source saves as ALTER", () => {const sql = buildExecutableObjectSourceSql({diff --git a/packages/app-tests/openTabsPersistence.test.ts b/packages/app-tests/openTabsPersistence.test.tsindex 411b326956..402cf75f8e 100644--- a/packages/app-tests/openTabsPersistence.test.ts+++ b/packages/app-tests/openTabsPersistence.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { restoreOpenTabsState, serializeOpenTabs } from "../../src/lib/openTabsPersistence.ts";-import type { QueryTab } from "../../src/types/database.ts";+import { restoreOpenTabsState, serializeOpenTabs } from "../../apps/desktop/src/lib/openTabsPersistence.ts";+import type { QueryTab } from "../../apps/desktop/src/types/database.ts";function queryTab(overrides: Partial<QueryTab> = {}): QueryTab {return {diff --git a/packages/app-tests/pinnedItems.test.ts b/packages/app-tests/pinnedItems.test.tsindex 3a72a21049..287017308f 100644--- a/packages/app-tests/pinnedItems.test.ts+++ b/packages/app-tests/pinnedItems.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { applyPinnedTreeNodeState, orderPinnedFirst } from "../../src/lib/pinnedItems.ts";-import type { TreeNode } from "../../src/types/database.ts";+import { applyPinnedTreeNodeState, orderPinnedFirst } from "../../apps/desktop/src/lib/pinnedItems.ts";+import type { TreeNode } from "../../apps/desktop/src/types/database.ts";test("orders pinned items before unpinned items without changing relative order", () => {const items = [diff --git a/packages/app-tests/queryExecutionState.test.ts b/packages/app-tests/queryExecutionState.test.tsindex 77fd559682..f85b42311d 100644--- a/packages/app-tests/queryExecutionState.test.ts+++ b/packages/app-tests/queryExecutionState.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { canCancelQueryExecution, queryExecutionLabelKey } from "../../src/lib/queryExecutionState.ts";+import { canCancelQueryExecution, queryExecutionLabelKey } from "../../apps/desktop/src/lib/queryExecutionState.ts";test("only allows cancelling an active execution with an execution id", () => {assert.equal(canCancelQueryExecution({ isExecuting: true, executionId: "exec-1" }), true);diff --git a/packages/app-tests/queryResultPagination.test.ts b/packages/app-tests/queryResultPagination.test.tsindex 7210ce49d1..77c4503652 100644--- a/packages/app-tests/queryResultPagination.test.ts+++ b/packages/app-tests/queryResultPagination.test.ts@@ -4,7 +4,7 @@ import {buildCountQuerySql,buildPaginatedQuerySql,buildQueryPaginationExecutionPlan,-} from "../../src/lib/queryResultPagination.ts";+} from "../../apps/desktop/src/lib/queryResultPagination.ts";test("wraps a single select query with limit and offset", () => {const result = buildPaginatedQuerySql("SELECT id, name FROM users;", "postgres", 100, 200);diff --git a/packages/app-tests/queryResultSort.test.ts b/packages/app-tests/queryResultSort.test.tsindex 9d0b26333c..40efb697d9 100644--- a/packages/app-tests/queryResultSort.test.ts+++ b/packages/app-tests/queryResultSort.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { buildSortedQuerySql } from "../../src/lib/queryResultSort.ts";+import { buildSortedQuerySql } from "../../apps/desktop/src/lib/queryResultSort.ts";test("wraps a single select query with outer order by", () => {const result = buildSortedQuerySql("SELECT id, name FROM users;", "postgres", ["id", "name"], 1, "name", "asc");diff --git a/packages/app-tests/queryStore.test.ts b/packages/app-tests/queryStore.test.tsindex 19b67ee9c1..69e8d8c153 100644--- a/packages/app-tests/queryStore.test.ts+++ b/packages/app-tests/queryStore.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";import { createPinia, setActivePinia } from "pinia";-import { useQueryStore } from "../../src/stores/queryStore.ts";+import { useQueryStore } from "../../apps/desktop/src/stores/queryStore.ts";test("setErrorResult stops loading and shows the error result", () => {setActivePinia(createPinia());diff --git a/packages/app-tests/redisCommandSafety.test.ts b/packages/app-tests/redisCommandSafety.test.tsindex 1957f909bc..d04fdfecb0 100644--- a/packages/app-tests/redisCommandSafety.test.ts+++ b/packages/app-tests/redisCommandSafety.test.ts@@ -1,6 +1,6 @@import test from "node:test";import assert from "node:assert/strict";-import { classifyRedisCommandSafety, firstRedisCommandToken } from "../../src/lib/redisCommandSafety.ts";+import { classifyRedisCommandSafety, firstRedisCommandToken } from "../../apps/desktop/src/lib/redisCommandSafety.ts";test("firstRedisCommandToken reads the first command token case-insensitively", () => {assert.equal(firstRedisCommandToken(" get user:1"), "GET");diff --git a/packages/app-tests/redisKeyTree.test.ts b/packages/app-tests/redisKeyTree.test.tsindex 5f4834f9d5..adb23e46f2 100644--- a/packages/app-tests/redisKeyTree.test.ts+++ b/packages/app-tests/redisKeyTree.test.ts@@ -6,8 +6,8 @@ import {collectExpandedGroupIds,flattenVisibleRedisKeyTree,type RedisKeyTreeNode,-} from "../../src/lib/redisKeyTree.ts";-import type { RedisKeyInfo } from "../../src/lib/api.ts";+} from "../../apps/desktop/src/lib/redisKeyTree.ts";+import type { RedisKeyInfo } from "../../apps/desktop/src/lib/api.ts";function makeKey(key_display: string, key_raw: string, key_type = "string", ttl = -1): RedisKeyInfo {return { key_display, key_raw, key_type, ttl };diff --git a/packages/app-tests/redisValuePresentation.test.ts b/packages/app-tests/redisValuePresentation.test.tsindex 79f792d784..fb7c5eb950 100644--- a/packages/app-tests/redisValuePresentation.test.ts+++ b/packages/app-tests/redisValuePresentation.test.ts@@ -6,7 +6,7 @@ import {formatRedisMemberDetail,getRedisMemberSelectionKey,highlightRedisJsonDetail,-} from "../../src/lib/redisValuePresentation.ts";+} from "../../apps/desktop/src/lib/redisValuePresentation.ts";test("formats JSON object strings for Redis member details", () => {const detail = formatRedisMemberDetail('{"id":1,"name":"Ada","tags":["dbx","redis"]}');diff --git a/packages/app-tests/releasePresentation.test.ts b/packages/app-tests/releasePresentation.test.tsindex 7112f92c0a..2ccb7feb59 100644--- a/packages/app-tests/releasePresentation.test.ts+++ b/packages/app-tests/releasePresentation.test.ts@@ -3,7 +3,7 @@ import { strict as assert } from "node:assert";import test from "node:test";test("settings about panel uses the app version prop instead of a hard-coded version", () => {- const source = readFileSync("src/components/editor/EditorSettingsDialog.vue", "utf8");+ const source = readFileSync("apps/desktop/src/components/editor/EditorSettingsDialog.vue", "utf8");assert.equal(source.includes("v0.5.0"), false);assert.match(source, /appVersion/);diff --git a/packages/app-tests/schemaDiff.test.ts b/packages/app-tests/schemaDiff.test.tsindex dd281760aa..88d9cf7cd6 100644--- a/packages/app-tests/schemaDiff.test.ts+++ b/packages/app-tests/schemaDiff.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { diffForeignKeys, diffIndexes, generateSyncSql, type TableDiff } from "../../src/lib/schemaDiff.ts";-import type { ForeignKeyInfo, IndexInfo } from "../../src/types/database.ts";+import { diffForeignKeys, diffIndexes, generateSyncSql, type TableDiff } from "../../apps/desktop/src/lib/schemaDiff.ts";+import type { ForeignKeyInfo, IndexInfo } from "../../apps/desktop/src/types/database.ts";function index(overrides: Partial<IndexInfo>): IndexInfo {return {diff --git a/packages/app-tests/schemaOptions.test.ts b/packages/app-tests/schemaOptions.test.tsindex b1c1dd0a52..5f00038f09 100644--- a/packages/app-tests/schemaOptions.test.ts+++ b/packages/app-tests/schemaOptions.test.ts@@ -1,6 +1,6 @@import test from "node:test";import assert from "node:assert/strict";-import { hasSchemaOptionsCacheEntry } from "../../src/composables/useSchemaOptions.ts";+import { hasSchemaOptionsCacheEntry } from "../../apps/desktop/src/composables/useSchemaOptions.ts";test("treats an empty schema option list as a loaded cache entry", () => {const options = {diff --git a/packages/app-tests/schemaTreeCache.test.ts b/packages/app-tests/schemaTreeCache.test.tsindex 3a84d40245..b7916eda73 100644--- a/packages/app-tests/schemaTreeCache.test.ts+++ b/packages/app-tests/schemaTreeCache.test.ts@@ -4,7 +4,7 @@ import {SCHEMA_TREE_CACHE_TTL_MS,decodeSchemaTreeCache,encodeSchemaTreeCache,-} from "../../src/lib/schemaTreeCache.ts";+} from "../../apps/desktop/src/lib/schemaTreeCache.ts";const children = [{ id: "conn:db", label: "db", type: "database" }];const now = Date.parse("2026-05-17T10:00:00.000Z");diff --git a/packages/app-tests/settingsDialogLayout.test.ts b/packages/app-tests/settingsDialogLayout.test.tsindex a3c62a9c82..3cefa82e40 100644--- a/packages/app-tests/settingsDialogLayout.test.ts+++ b/packages/app-tests/settingsDialogLayout.test.ts@@ -2,7 +2,7 @@ import { readFileSync } from "node:fs";import { strict as assert } from "node:assert";import test from "node:test";-const source = readFileSync("src/components/editor/EditorSettingsDialog.vue", "utf8");+const source = readFileSync("apps/desktop/src/components/editor/EditorSettingsDialog.vue", "utf8");test("settings dialog uses a side category navigation", () => {assert.match(source, /settingsCategoryNav/);diff --git a/packages/app-tests/settingsStore.test.ts b/packages/app-tests/settingsStore.test.tsindex 1bcb23b1df..3e88a39d95 100644--- a/packages/app-tests/settingsStore.test.ts+++ b/packages/app-tests/settingsStore.test.ts@@ -5,7 +5,7 @@ import {DEFAULT_EDITOR_SETTINGS,normalizeAiConfig,normalizeEditorSettings,-} from "../../src/stores/settingsStore.ts";+} from "../../apps/desktop/src/stores/settingsStore.ts";test("defaults Redis scan page size to 1000 keys", () => {assert.equal(DEFAULT_EDITOR_SETTINGS.redisScanPageSize, 1000);diff --git a/packages/app-tests/sidebarLayout.test.ts b/packages/app-tests/sidebarLayout.test.tsindex 283a89142d..72b7af5af9 100644--- a/packages/app-tests/sidebarLayout.test.ts+++ b/packages/app-tests/sidebarLayout.test.ts@@ -12,8 +12,8 @@ import {appendConnectionToLayout,removeConnectionFromSidebarLayout,emptyLayout,-} from "../../src/lib/sidebarLayout.ts";-import type { ConnectionConfig, SidebarLayout } from "../../src/types/database.ts";+} from "../../apps/desktop/src/lib/sidebarLayout.ts";+import type { ConnectionConfig, SidebarLayout } from "../../apps/desktop/src/types/database.ts";function conn(id: string, name?: string): ConnectionConfig {return {diff --git a/packages/app-tests/sidebarSearch.test.ts b/packages/app-tests/sidebarSearch.test.tsindex 871bdd1f15..cd54e3d046 100644--- a/packages/app-tests/sidebarSearch.test.ts+++ b/packages/app-tests/sidebarSearch.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import { test } from "node:test";-import { matchSidebarLabel } from "../../src/lib/sidebarSearch.ts";+import { matchSidebarLabel } from "../../apps/desktop/src/lib/sidebarSearch.ts";test("matches exact and prefix labels first", () => {assert.equal(matchSidebarLabel("orders", "orders")?.kind, "exact");diff --git a/packages/app-tests/sidebarSearchTree.test.ts b/packages/app-tests/sidebarSearchTree.test.tsindex ebd9be9753..77fc4d329f 100644--- a/packages/app-tests/sidebarSearchTree.test.ts+++ b/packages/app-tests/sidebarSearchTree.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { filterSidebarTree } from "../../src/lib/sidebarSearchTree.ts";-import type { TreeNode } from "../../src/types/database.ts";+import { filterSidebarTree } from "../../apps/desktop/src/lib/sidebarSearchTree.ts";+import type { TreeNode } from "../../apps/desktop/src/types/database.ts";test("preserves loaded table children when the table itself matches search", () => {const nodes: TreeNode[] = [diff --git a/packages/app-tests/sidebarTreeItemLayout.test.ts b/packages/app-tests/sidebarTreeItemLayout.test.tsindex b22b043cda..aa09aad3bd 100644--- a/packages/app-tests/sidebarTreeItemLayout.test.ts+++ b/packages/app-tests/sidebarTreeItemLayout.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { canTreeNodeExpand, canTreeNodeShowExpander, treeItemPaddingLeft } from "../../src/lib/sidebarTreeItemLayout.ts";+import { canTreeNodeExpand, canTreeNodeShowExpander, treeItemPaddingLeft } from "../../apps/desktop/src/lib/sidebarTreeItemLayout.ts";test("treeItemPaddingLeft converts tree depth to sidebar indentation", () => {assert.equal(treeItemPaddingLeft(0), "8px");diff --git a/packages/app-tests/sqlAnalysis.test.ts b/packages/app-tests/sqlAnalysis.test.tsindex 9b295be8df..77a71f86c2 100644--- a/packages/app-tests/sqlAnalysis.test.ts+++ b/packages/app-tests/sqlAnalysis.test.ts@@ -6,7 +6,7 @@ import {analyzeEditableQuery,analyzeEditableQueryEditability,queryEditabilityMessageKey,-} from "../../src/lib/sqlAnalysis.ts";+} from "../../apps/desktop/src/lib/sqlAnalysis.ts";test("recognizes a simple single-table SELECT as editable", () => {const result = analyzeEditableQueryEditability("select id, name from public.users where active = true order by id");diff --git a/packages/app-tests/sqlCompletion.test.ts b/packages/app-tests/sqlCompletion.test.tsindex ebe3b33071..ca97d74e2a 100644--- a/packages/app-tests/sqlCompletion.test.ts+++ b/packages/app-tests/sqlCompletion.test.ts@@ -6,7 +6,7 @@ import {shouldAutoOpenSqlCompletion,type SqlCompletionColumn,type SqlCompletionTable,-} from "../../src/lib/sqlCompletion.ts";+} from "../../apps/desktop/src/lib/sqlCompletion.ts";const tables: SqlCompletionTable[] = [{ name: "users", schema: "public", type: "table" },diff --git a/packages/app-tests/sqlDiagnostics.test.ts b/packages/app-tests/sqlDiagnostics.test.tsindex 1ef0f0cb4d..a2767d4c44 100644--- a/packages/app-tests/sqlDiagnostics.test.ts+++ b/packages/app-tests/sqlDiagnostics.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { parseSqlErrorLocation } from "../../src/lib/sqlDiagnostics.ts";+import { parseSqlErrorLocation } from "../../apps/desktop/src/lib/sqlDiagnostics.ts";test("parses generic line and column error positions", () => {assert.deepEqual(parseSqlErrorLocation("syntax error at line 3 column 12"), {diff --git a/packages/app-tests/sqlExecutionTarget.test.ts b/packages/app-tests/sqlExecutionTarget.test.tsindex 65eb23edd6..9e9ffa86e3 100644--- a/packages/app-tests/sqlExecutionTarget.test.ts+++ b/packages/app-tests/sqlExecutionTarget.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { resolveExecutableSql } from "../../src/lib/sqlExecutionTarget.ts";+import { resolveExecutableSql } from "../../apps/desktop/src/lib/sqlExecutionTarget.ts";test("uses selected SQL when the editor has a non-empty selection", () => {const sql = "SELECT * FROM users;\nSELECT * FROM orders;";diff --git a/packages/app-tests/sqlFileOpen.test.ts b/packages/app-tests/sqlFileOpen.test.tsindex 31c23fa728..60ed7628a5 100644--- a/packages/app-tests/sqlFileOpen.test.ts+++ b/packages/app-tests/sqlFileOpen.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { externalSqlFilePaths, isSqlFilePath, sqlFileTitleFromPath } from "../../src/lib/sqlFileOpen.ts";+import { externalSqlFilePaths, isSqlFilePath, sqlFileTitleFromPath } from "../../apps/desktop/src/lib/sqlFileOpen.ts";test("detects SQL file paths case-insensitively", () => {assert.equal(isSqlFilePath("/tmp/report.sql"), true);diff --git a/packages/app-tests/sqlFormatter.test.ts b/packages/app-tests/sqlFormatter.test.tsindex f64648e896..934cfca027 100644--- a/packages/app-tests/sqlFormatter.test.ts+++ b/packages/app-tests/sqlFormatter.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { formatSqlText } from "../../src/lib/sqlFormatter.ts";+import { formatSqlText } from "../../apps/desktop/src/lib/sqlFormatter.ts";test("formats SQL with uppercase keywords and readable line breaks", async () => {const formatted = await formatSqlText("select id, name from users where active = 1 order by name", "postgres");diff --git a/packages/app-tests/sqlMetadataRefresh.test.ts b/packages/app-tests/sqlMetadataRefresh.test.tsindex 3662a3cbc1..bb38b5d9d8 100644--- a/packages/app-tests/sqlMetadataRefresh.test.ts+++ b/packages/app-tests/sqlMetadataRefresh.test.ts@@ -1,6 +1,6 @@import assert from "node:assert/strict";import test from "node:test";-import { sqlMetadataRefreshScope, sqlMetadataRefreshTarget } from "../../src/lib/sqlMetadataRefresh.ts";+import { sqlMetadataRefreshScope, sqlMetadataRefreshTarget } from "../../apps/desktop/src/lib/sqlMetadataRefresh.ts";test("database DDL refreshes the connection database list", () => {assert.equal(sqlMetadataRefreshScope("CREATE DATABASE app;"), "connection");diff --git a/packages/app-tests/sqlServerTree.test.ts b/packages/app-tests/sqlServerTree.test.tsindex eb132055cc..6554a2a72c 100644--- a/packages/app-tests/sqlServerTree.test.ts+++ b/packages/app-tests/sqlServerTree.test.ts@@ -1,7 +1,7 @@import test from "node:test";import assert from "node:assert/strict";-import { buildSqlServerDatabaseTreeNodes } from "../../src/lib/sqlServerTree.ts";-import type { ObjectInfo } from "../../src/types/database.ts";+import { buildSqlServerDatabaseTreeNodes } from "../../apps/desktop/src/lib/sqlServerTree.ts";+import type { ObjectInfo } from "../../apps/desktop/src/types/database.ts";function obj(name: string, objectType = "TABLE"): ObjectInfo {return {diff --git a/packages/app-tests/sqlStatementSplit.test.ts b/packages/app-tests/sqlStatementSplit.test.tsindex 298ef46e64..af62045d27 100644--- a/packages/app-tests/sqlStatementSplit.test.ts+++ b/packages/app-tests/sqlStatementSplit.test.ts@@ -1,6 +1,6 @@import test from "node:test";import assert from "node:assert/strict";-import { findStatementAtCursor } from "../../src/lib/sqlStatementSplit.ts";+import { findStatementAtCursor } from "../../apps/desktop/src/lib/sqlStatementSplit.ts";test("finds single statement", () => {assert.equal(findStatementAtCursor("SELECT 1", 3), "SELECT 1");diff --git a/packages/app-tests/tabCloseActions.test.ts b/packages/app-tests/tabCloseActions.test.tsindex 4f550dc24a..397ca65f78 100644--- a/packages/app-tests/tabCloseActions.test.ts+++ b/packages/app-tests/tabCloseActions.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { closeAllTabsState, closeOtherTabsState } from "../../src/lib/tabCloseActions.ts";+import { closeAllTabsState, closeOtherTabsState } from "../../apps/desktop/src/lib/tabCloseActions.ts";test("close other tabs keeps the target tab and makes it active", () => {const tabs = [{ id: "a" }, { id: "b" }, { id: "c" }];diff --git a/packages/app-tests/tableDataExport.test.ts b/packages/app-tests/tableDataExport.test.tsindex 8ee7d9c52e..7149c116f7 100644--- a/packages/app-tests/tableDataExport.test.ts+++ b/packages/app-tests/tableDataExport.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { fetchTableDataForExport, TABLE_DATA_EXPORT_PAGE_SIZE } from "../../src/lib/tableDataExport.ts";-import type { QueryResult } from "../../src/types/database.ts";+import { fetchTableDataForExport, TABLE_DATA_EXPORT_PAGE_SIZE } from "../../apps/desktop/src/lib/tableDataExport.ts";+import type { QueryResult } from "../../apps/desktop/src/types/database.ts";function result(rows: QueryResult["rows"]): QueryResult {return {diff --git a/packages/app-tests/tableEditing.test.ts b/packages/app-tests/tableEditing.test.tsindex 4da78b0546..66d22befaa 100644--- a/packages/app-tests/tableEditing.test.ts+++ b/packages/app-tests/tableEditing.test.ts@@ -12,8 +12,8 @@ import {isTableDataEditable,supportsDataGridTransaction,usesSyntheticRowIdKey,-} from "../../src/lib/tableEditing.ts";-import type { ColumnInfo } from "../../src/types/database.ts";+} from "../../apps/desktop/src/lib/tableEditing.ts";+import type { ColumnInfo } from "../../apps/desktop/src/types/database.ts";function column(name: string, isPrimaryKey = false): ColumnInfo {return {diff --git a/packages/app-tests/tableImport.test.ts b/packages/app-tests/tableImport.test.tsindex ef8d3dc563..555f0d9b00 100644--- a/packages/app-tests/tableImport.test.ts+++ b/packages/app-tests/tableImport.test.ts@@ -3,7 +3,7 @@ import test from "node:test";import {autoMapImportColumns,normalizeImportColumnName,-} from "../../src/lib/tableImport.ts";+} from "../../apps/desktop/src/lib/tableImport.ts";test("normalizes import column names for matching", () => {assert.equal(normalizeImportColumnName(" User ID "), "user id");diff --git a/packages/app-tests/tableSelectSql.test.ts b/packages/app-tests/tableSelectSql.test.tsindex 7a39081646..076026456b 100644--- a/packages/app-tests/tableSelectSql.test.ts+++ b/packages/app-tests/tableSelectSql.test.ts@@ -1,7 +1,7 @@import { strict as assert } from "node:assert";import test from "node:test";-import { DBX_ROWID_COLUMN } from "../../src/lib/tableEditing.ts";-import { buildTableSelectSql } from "../../src/lib/tableSelectSql.ts";+import { DBX_ROWID_COLUMN } from "../../apps/desktop/src/lib/tableEditing.ts";+import { buildTableSelectSql } from "../../apps/desktop/src/lib/tableSelectSql.ts";test("builds a MySQL table WHERE query from search input", () => {const sql = buildTableSelectSql({diff --git a/packages/app-tests/tableStructureEditorPresentation.test.ts b/packages/app-tests/tableStructureEditorPresentation.test.tsindex acebad04d5..d59fc9e94d 100644--- a/packages/app-tests/tableStructureEditorPresentation.test.ts+++ b/packages/app-tests/tableStructureEditorPresentation.test.ts@@ -2,7 +2,7 @@ import { readFileSync } from "node:fs";import { strict as assert } from "node:assert";import test from "node:test";-const source = readFileSync("src/components/structure/TableStructureEditorDialog.vue", "utf8");+const source = readFileSync("apps/desktop/src/components/structure/TableStructureEditorDialog.vue", "utf8");test("column comments can be expanded into a multiline editor", () => {assert.match(source, /PopoverContent/);diff --git a/packages/app-tests/tableStructureEditorSql.test.ts b/packages/app-tests/tableStructureEditorSql.test.tsindex 618b1746ed..f35b36c4dd 100644--- a/packages/app-tests/tableStructureEditorSql.test.ts+++ b/packages/app-tests/tableStructureEditorSql.test.ts@@ -4,7 +4,7 @@ import {buildTableStructureChangeSql,type EditableStructureColumn,type EditableStructureIndex,-} from "../../src/lib/tableStructureEditorSql.ts";+} from "../../apps/desktop/src/lib/tableStructureEditorSql.ts";function column(overrides: Partial<EditableStructureColumn>): EditableStructureColumn {return {diff --git a/packages/app-tests/tableStructureEditorState.test.ts b/packages/app-tests/tableStructureEditorState.test.tsindex 09229705ea..ef9388e6d1 100644--- a/packages/app-tests/tableStructureEditorState.test.ts+++ b/packages/app-tests/tableStructureEditorState.test.ts@@ -4,8 +4,8 @@ import {createColumnDrafts,createIndexDrafts,toColumnNames,-} from "../../src/lib/tableStructureEditorState.ts";-import type { ColumnInfo, IndexInfo } from "../../src/types/database.ts";+} from "../../apps/desktop/src/lib/tableStructureEditorState.ts";+import type { ColumnInfo, IndexInfo } from "../../apps/desktop/src/types/database.ts";const columns: ColumnInfo[] = [{diff --git a/packages/app-tests/tableTree.test.ts b/packages/app-tests/tableTree.test.tsindex 726019f952..d792b6afec 100644--- a/packages/app-tests/tableTree.test.ts+++ b/packages/app-tests/tableTree.test.ts@@ -1,7 +1,7 @@import assert from "node:assert/strict";import test from "node:test";-import { buildTableTreeNodes, expandCachedObjectBrowserNodes, objectGroupRefreshParentId } from "../../src/lib/tableTree.ts";-import type { TableInfo } from "../../src/types/database.ts";+import { buildTableTreeNodes, expandCachedObjectBrowserNodes, objectGroupRefreshParentId } from "../../apps/desktop/src/lib/tableTree.ts";+import type { TableInfo } from "../../apps/desktop/src/types/database.ts";function table(name: string, tableType: "TABLE" | "VIEW" = "TABLE"): TableInfo {return { name, table_type: tableType };diff --git a/packages/app-tests/tauriRuntime.test.ts b/packages/app-tests/tauriRuntime.test.tsindex 01ecd3c572..2db27fe6f2 100644--- a/packages/app-tests/tauriRuntime.test.ts+++ b/packages/app-tests/tauriRuntime.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { isTauriRuntime } from "../../src/lib/tauriRuntime.ts";+import { isTauriRuntime } from "../../apps/desktop/src/lib/tauriRuntime.ts";test("detects plain browser-like globals as non-Tauri runtime", () => {assert.equal(isTauriRuntime({}), false);diff --git a/packages/app-tests/transferProgressState.test.ts b/packages/app-tests/transferProgressState.test.tsindex 5e2fd27551..bc42f844a7 100644--- a/packages/app-tests/transferProgressState.test.ts+++ b/packages/app-tests/transferProgressState.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { nextTransferTerminalState } from "../../src/lib/transferProgressState.ts";+import { nextTransferTerminalState } from "../../apps/desktop/src/lib/transferProgressState.ts";test("marks transfer as failed when a table progress event reports error", () => {const state = nextTransferTerminalState(diff --git a/packages/app-tests/treeNodeClick.test.ts b/packages/app-tests/treeNodeClick.test.tsindex d1ba3f6da1..31380f9832 100644--- a/packages/app-tests/treeNodeClick.test.ts+++ b/packages/app-tests/treeNodeClick.test.ts@@ -1,6 +1,6 @@import test from "node:test";import assert from "node:assert/strict";-import { sidebarSelectionCopyAction, treeNodeRowAction, treeNodeRowDoubleClickAction } from "../../src/lib/treeNodeClick.ts";+import { sidebarSelectionCopyAction, treeNodeRowAction, treeNodeRowDoubleClickAction } from "../../apps/desktop/src/lib/treeNodeClick.ts";test("table and view rows open data without toggling structure groups", () => {assert.equal(treeNodeRowAction("table", true), "open-data");diff --git a/packages/app-tests/treeRefreshTarget.test.ts b/packages/app-tests/treeRefreshTarget.test.tsindex 7185d1ea14..fb88b3c358 100644--- a/packages/app-tests/treeRefreshTarget.test.ts+++ b/packages/app-tests/treeRefreshTarget.test.ts@@ -1,7 +1,7 @@import assert from "node:assert/strict";import test from "node:test";-import { findDatabaseTreeNode } from "../../src/lib/treeRefreshTarget.ts";-import type { TreeNode } from "../../src/types/database.ts";+import { findDatabaseTreeNode } from "../../apps/desktop/src/lib/treeRefreshTarget.ts";+import type { TreeNode } from "../../apps/desktop/src/types/database.ts";test("finds database refresh targets inside grouped sidebar trees", () => {const target: TreeNode = {diff --git a/packages/app-tests/useFlatTree.test.ts b/packages/app-tests/useFlatTree.test.tsindex b929ff9815..ec8fe5af24 100644--- a/packages/app-tests/useFlatTree.test.ts+++ b/packages/app-tests/useFlatTree.test.ts@@ -6,8 +6,8 @@ import {SIDEBAR_TREE_SCROLL_BUFFER,flattenTree,shouldVirtualizeFlatTree,-} from "../../src/composables/useFlatTree.ts";-import type { TreeNode } from "../../src/types/database.ts";+} from "../../apps/desktop/src/composables/useFlatTree.ts";+import type { TreeNode } from "../../apps/desktop/src/types/database.ts";test("flattenTree preserves depth and node type for virtualized sidebar rows", () => {const nodes: TreeNode[] = [diff --git a/packages/app-tests/useSqlExecution.test.ts b/packages/app-tests/useSqlExecution.test.tsindex 26b4a31f96..cd98405ece 100644--- a/packages/app-tests/useSqlExecution.test.ts+++ b/packages/app-tests/useSqlExecution.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { isDangerousSql, stripSqlComments } from "../../src/composables/useSqlExecution.ts";+import { isDangerousSql, stripSqlComments } from "../../apps/desktop/src/composables/useSqlExecution.ts";test("stripSqlComments removes block comments", () => {assert.equal(stripSqlComments("SELECT /* drop */ 1").includes("drop"), false);diff --git a/packages/app-tests/visibleDatabases.test.ts b/packages/app-tests/visibleDatabases.test.tsindex e0216c33dc..ca3aa903de 100644--- a/packages/app-tests/visibleDatabases.test.ts+++ b/packages/app-tests/visibleDatabases.test.ts@@ -4,7 +4,7 @@ import {filterVisibleDatabaseNames,normalizeVisibleDatabaseSelection,visibleDatabaseFilterIsEnabled,-} from "../../src/lib/visibleDatabases.ts";+} from "../../apps/desktop/src/lib/visibleDatabases.ts";test("undefined visible database filter keeps every database", () => {assert.deepEqual(filterVisibleDatabaseNames(["app", "analytics"], undefined), ["app", "analytics"]);diff --git a/packages/app-tests/xlsxExport.test.ts b/packages/app-tests/xlsxExport.test.tsindex 26b33ff23b..fb91f59ffa 100644--- a/packages/app-tests/xlsxExport.test.ts+++ b/packages/app-tests/xlsxExport.test.ts@@ -1,6 +1,6 @@import { strict as assert } from "node:assert";import test from "node:test";-import { buildXlsxWorkbook } from "../../src/lib/xlsxExport.ts";+import { buildXlsxWorkbook } from "../../apps/desktop/src/lib/xlsxExport.ts";test("builds an xlsx workbook zip with worksheet data", () => {const workbook = buildXlsxWorkbook({