├── .dockerignore ├── .github ├── img │ └── screenshot.png └── workflows │ └── test.yaml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .vscode ├── extensions.json └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── conf ├── config.xml └── users.xml ├── docker-compose.yaml ├── package.json ├── scripts └── install_agnostic_udfs.sh ├── src-tauri ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── binaries │ └── download.sh ├── build.rs ├── capabilities │ └── default.json ├── icons │ ├── 128x128.png │ ├── 128x128@2x.png │ ├── 32x32.png │ ├── Square107x107Logo.png │ ├── Square142x142Logo.png │ ├── Square150x150Logo.png │ ├── Square284x284Logo.png │ ├── Square30x30Logo.png │ ├── Square310x310Logo.png │ ├── Square44x44Logo.png │ ├── Square71x71Logo.png │ ├── Square89x89Logo.png │ ├── StoreLogo.png │ ├── icon.icns │ ├── icon.ico │ └── icon.png ├── src │ ├── clickhouse.rs │ ├── commands.rs │ └── main.rs └── tauri.conf.json ├── src ├── app.html ├── lib │ ├── FileDropEventManager.ts │ ├── PanelState.svelte.ts │ ├── actions │ │ ├── autoresize.svelte.ts │ │ ├── portal.svelte.ts │ │ └── scrollToBottom.svelte.ts │ ├── auth │ │ ├── auth0-service.ts │ │ ├── desktop-handler.ts │ │ ├── embedded-handler.ts │ │ ├── index.ts │ │ ├── inmemory-service.ts │ │ ├── service.ts │ │ └── web-handler.ts │ ├── components │ │ ├── Ai │ │ │ ├── ChangeModelBox.svelte │ │ │ ├── Chat.svelte │ │ │ ├── DatasetsBox.svelte │ │ │ ├── Loader.svelte │ │ │ ├── OpenAI.ts │ │ │ ├── Panel.svelte │ │ │ ├── fix_query.md │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── Chart │ │ │ ├── Container.svelte │ │ │ └── Settings.svelte │ │ ├── Console.svelte │ │ ├── ContextMenu │ │ │ ├── ContextMenu.svelte │ │ │ ├── ContextMenuState.svelte.ts │ │ │ ├── index.ts │ │ │ └── types.d.ts │ │ ├── Datasets │ │ │ ├── Columns.svelte │ │ │ ├── Datasets.svelte │ │ │ ├── Tree.svelte │ │ │ ├── emitter.ts │ │ │ ├── index.ts │ │ │ └── utils.ts │ │ ├── Drawer.svelte │ │ ├── Editor │ │ │ ├── Editor.svelte │ │ │ ├── clickhouse.ts │ │ │ ├── language.ts │ │ │ └── theme.ts │ │ ├── History.svelte │ │ ├── Login.svelte │ │ ├── Modal.svelte │ │ ├── ProxySwitch.svelte │ │ ├── Queries │ │ │ ├── Queries.svelte │ │ │ ├── SaveQueryModal.svelte │ │ │ └── index.ts │ │ ├── Result.svelte │ │ ├── SearchBar.svelte │ │ ├── Select.svelte │ │ ├── SideBar.svelte │ │ ├── Tab.svelte │ │ └── TimeCounter.svelte │ ├── context.ts │ ├── downloadResultset.ts │ ├── env │ │ ├── open.ts │ │ └── runtime.ts │ ├── hints.ts │ ├── icons │ │ ├── ArrowUp.svelte │ │ ├── Bars3.svelte │ │ ├── Bolt.svelte │ │ ├── ChevronDown.svelte │ │ ├── CircleStack.svelte │ │ ├── CircleStopSolid.svelte │ │ ├── CollapseAll.svelte │ │ ├── Copy.svelte │ │ ├── Download.svelte │ │ ├── Folder.svelte │ │ ├── FolderOpen.svelte │ │ ├── MagicWand.svelte │ │ ├── PanelBottom.svelte │ │ ├── PanelLeft.svelte │ │ ├── PanelRight.svelte │ │ ├── PaperClip.svelte │ │ ├── Play.svelte │ │ ├── Plus.svelte │ │ ├── Save.svelte │ │ ├── Search.svelte │ │ ├── Send.svelte │ │ ├── Settings.svelte │ │ ├── Share.svelte │ │ ├── Sparkles.svelte │ │ ├── Stop.svelte │ │ ├── Table.svelte │ │ ├── Trash.svelte │ │ ├── UserCircle.svelte │ │ ├── XMark.svelte │ │ ├── arrow-top-right-on-square.svg │ │ ├── check.svg │ │ └── copy.svg │ ├── markdown │ │ ├── index.ts │ │ └── markdown.css │ ├── migrations │ │ ├── 001_create_history_table.sql │ │ ├── 002_create_queries_table.sql │ │ ├── 003_create_tabs_table.sql │ │ ├── 004_create_chats_table.sql │ │ └── index.ts │ ├── olap-engine │ │ ├── EventListener.ts │ │ ├── engine-local.ts │ │ ├── engine-remote.ts │ │ ├── index.ts │ │ ├── queries │ │ │ ├── clickhouse_get_schema.sql │ │ │ ├── clickhouse_get_udfs.sql │ │ │ └── clickhouse_init_db.sql │ │ └── tables.ts │ ├── ollama │ │ ├── client.ts │ │ └── index.ts │ ├── repositories │ │ ├── chats.ts │ │ ├── history.ts │ │ ├── queries.ts │ │ └── tabs.ts │ ├── slugify.ts │ ├── states │ │ └── Persisted.svelte.ts │ ├── store │ │ ├── database.ts │ │ └── index.ts │ ├── styles │ │ └── main.css │ └── utilities │ │ └── useResizeObserver.svelte.ts ├── routes │ ├── +layout.svelte │ ├── +layout.ts │ ├── +page.svelte │ └── +page.ts └── vite-env.d.ts ├── static ├── favicon.png ├── svelte.svg ├── tauri.svg └── vite.svg ├── svelte.config.js ├── tsconfig.json └── vite.config.js /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/img/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.github/img/screenshot.png -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/README.md -------------------------------------------------------------------------------- /conf/config.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/conf/config.xml -------------------------------------------------------------------------------- /conf/users.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/conf/users.xml -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/package.json -------------------------------------------------------------------------------- /scripts/install_agnostic_udfs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/scripts/install_agnostic_udfs.sh -------------------------------------------------------------------------------- /src-tauri/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/.gitignore -------------------------------------------------------------------------------- /src-tauri/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/Cargo.lock -------------------------------------------------------------------------------- /src-tauri/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/Cargo.toml -------------------------------------------------------------------------------- /src-tauri/binaries/download.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/binaries/download.sh -------------------------------------------------------------------------------- /src-tauri/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/build.rs -------------------------------------------------------------------------------- /src-tauri/capabilities/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/capabilities/default.json -------------------------------------------------------------------------------- /src-tauri/icons/128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/128x128.png -------------------------------------------------------------------------------- /src-tauri/icons/128x128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/128x128@2x.png -------------------------------------------------------------------------------- /src-tauri/icons/32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/32x32.png -------------------------------------------------------------------------------- /src-tauri/icons/Square107x107Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square107x107Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square142x142Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square142x142Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square150x150Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square150x150Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square284x284Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square284x284Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square30x30Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square30x30Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square310x310Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square310x310Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square44x44Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square44x44Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square71x71Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square71x71Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/Square89x89Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/Square89x89Logo.png -------------------------------------------------------------------------------- /src-tauri/icons/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/StoreLogo.png -------------------------------------------------------------------------------- /src-tauri/icons/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/icon.icns -------------------------------------------------------------------------------- /src-tauri/icons/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/icon.ico -------------------------------------------------------------------------------- /src-tauri/icons/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/icons/icon.png -------------------------------------------------------------------------------- /src-tauri/src/clickhouse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/src/clickhouse.rs -------------------------------------------------------------------------------- /src-tauri/src/commands.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/src/commands.rs -------------------------------------------------------------------------------- /src-tauri/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/src/main.rs -------------------------------------------------------------------------------- /src-tauri/tauri.conf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src-tauri/tauri.conf.json -------------------------------------------------------------------------------- /src/app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/app.html -------------------------------------------------------------------------------- /src/lib/FileDropEventManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/FileDropEventManager.ts -------------------------------------------------------------------------------- /src/lib/PanelState.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/PanelState.svelte.ts -------------------------------------------------------------------------------- /src/lib/actions/autoresize.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/actions/autoresize.svelte.ts -------------------------------------------------------------------------------- /src/lib/actions/portal.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/actions/portal.svelte.ts -------------------------------------------------------------------------------- /src/lib/actions/scrollToBottom.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/actions/scrollToBottom.svelte.ts -------------------------------------------------------------------------------- /src/lib/auth/auth0-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/auth0-service.ts -------------------------------------------------------------------------------- /src/lib/auth/desktop-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/desktop-handler.ts -------------------------------------------------------------------------------- /src/lib/auth/embedded-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/embedded-handler.ts -------------------------------------------------------------------------------- /src/lib/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/index.ts -------------------------------------------------------------------------------- /src/lib/auth/inmemory-service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/inmemory-service.ts -------------------------------------------------------------------------------- /src/lib/auth/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/service.ts -------------------------------------------------------------------------------- /src/lib/auth/web-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/auth/web-handler.ts -------------------------------------------------------------------------------- /src/lib/components/Ai/ChangeModelBox.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/ChangeModelBox.svelte -------------------------------------------------------------------------------- /src/lib/components/Ai/Chat.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/Chat.svelte -------------------------------------------------------------------------------- /src/lib/components/Ai/DatasetsBox.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/DatasetsBox.svelte -------------------------------------------------------------------------------- /src/lib/components/Ai/Loader.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/Loader.svelte -------------------------------------------------------------------------------- /src/lib/components/Ai/OpenAI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/OpenAI.ts -------------------------------------------------------------------------------- /src/lib/components/Ai/Panel.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/Panel.svelte -------------------------------------------------------------------------------- /src/lib/components/Ai/fix_query.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/fix_query.md -------------------------------------------------------------------------------- /src/lib/components/Ai/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/index.ts -------------------------------------------------------------------------------- /src/lib/components/Ai/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Ai/types.ts -------------------------------------------------------------------------------- /src/lib/components/Chart/Container.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Chart/Container.svelte -------------------------------------------------------------------------------- /src/lib/components/Chart/Settings.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Chart/Settings.svelte -------------------------------------------------------------------------------- /src/lib/components/Console.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Console.svelte -------------------------------------------------------------------------------- /src/lib/components/ContextMenu/ContextMenu.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/ContextMenu/ContextMenu.svelte -------------------------------------------------------------------------------- /src/lib/components/ContextMenu/ContextMenuState.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/ContextMenu/ContextMenuState.svelte.ts -------------------------------------------------------------------------------- /src/lib/components/ContextMenu/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/ContextMenu/index.ts -------------------------------------------------------------------------------- /src/lib/components/ContextMenu/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/ContextMenu/types.d.ts -------------------------------------------------------------------------------- /src/lib/components/Datasets/Columns.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Datasets/Columns.svelte -------------------------------------------------------------------------------- /src/lib/components/Datasets/Datasets.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Datasets/Datasets.svelte -------------------------------------------------------------------------------- /src/lib/components/Datasets/Tree.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Datasets/Tree.svelte -------------------------------------------------------------------------------- /src/lib/components/Datasets/emitter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Datasets/emitter.ts -------------------------------------------------------------------------------- /src/lib/components/Datasets/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Datasets/index.ts -------------------------------------------------------------------------------- /src/lib/components/Datasets/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Datasets/utils.ts -------------------------------------------------------------------------------- /src/lib/components/Drawer.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Drawer.svelte -------------------------------------------------------------------------------- /src/lib/components/Editor/Editor.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Editor/Editor.svelte -------------------------------------------------------------------------------- /src/lib/components/Editor/clickhouse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Editor/clickhouse.ts -------------------------------------------------------------------------------- /src/lib/components/Editor/language.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Editor/language.ts -------------------------------------------------------------------------------- /src/lib/components/Editor/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Editor/theme.ts -------------------------------------------------------------------------------- /src/lib/components/History.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/History.svelte -------------------------------------------------------------------------------- /src/lib/components/Login.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Login.svelte -------------------------------------------------------------------------------- /src/lib/components/Modal.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Modal.svelte -------------------------------------------------------------------------------- /src/lib/components/ProxySwitch.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/ProxySwitch.svelte -------------------------------------------------------------------------------- /src/lib/components/Queries/Queries.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Queries/Queries.svelte -------------------------------------------------------------------------------- /src/lib/components/Queries/SaveQueryModal.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Queries/SaveQueryModal.svelte -------------------------------------------------------------------------------- /src/lib/components/Queries/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Queries/index.ts -------------------------------------------------------------------------------- /src/lib/components/Result.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Result.svelte -------------------------------------------------------------------------------- /src/lib/components/SearchBar.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/SearchBar.svelte -------------------------------------------------------------------------------- /src/lib/components/Select.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Select.svelte -------------------------------------------------------------------------------- /src/lib/components/SideBar.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/SideBar.svelte -------------------------------------------------------------------------------- /src/lib/components/Tab.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/Tab.svelte -------------------------------------------------------------------------------- /src/lib/components/TimeCounter.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/components/TimeCounter.svelte -------------------------------------------------------------------------------- /src/lib/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/context.ts -------------------------------------------------------------------------------- /src/lib/downloadResultset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/downloadResultset.ts -------------------------------------------------------------------------------- /src/lib/env/open.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/env/open.ts -------------------------------------------------------------------------------- /src/lib/env/runtime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/env/runtime.ts -------------------------------------------------------------------------------- /src/lib/hints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/hints.ts -------------------------------------------------------------------------------- /src/lib/icons/ArrowUp.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/ArrowUp.svelte -------------------------------------------------------------------------------- /src/lib/icons/Bars3.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Bars3.svelte -------------------------------------------------------------------------------- /src/lib/icons/Bolt.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Bolt.svelte -------------------------------------------------------------------------------- /src/lib/icons/ChevronDown.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/ChevronDown.svelte -------------------------------------------------------------------------------- /src/lib/icons/CircleStack.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/CircleStack.svelte -------------------------------------------------------------------------------- /src/lib/icons/CircleStopSolid.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/CircleStopSolid.svelte -------------------------------------------------------------------------------- /src/lib/icons/CollapseAll.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/CollapseAll.svelte -------------------------------------------------------------------------------- /src/lib/icons/Copy.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Copy.svelte -------------------------------------------------------------------------------- /src/lib/icons/Download.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Download.svelte -------------------------------------------------------------------------------- /src/lib/icons/Folder.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Folder.svelte -------------------------------------------------------------------------------- /src/lib/icons/FolderOpen.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/FolderOpen.svelte -------------------------------------------------------------------------------- /src/lib/icons/MagicWand.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/MagicWand.svelte -------------------------------------------------------------------------------- /src/lib/icons/PanelBottom.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/PanelBottom.svelte -------------------------------------------------------------------------------- /src/lib/icons/PanelLeft.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/PanelLeft.svelte -------------------------------------------------------------------------------- /src/lib/icons/PanelRight.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/PanelRight.svelte -------------------------------------------------------------------------------- /src/lib/icons/PaperClip.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/PaperClip.svelte -------------------------------------------------------------------------------- /src/lib/icons/Play.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Play.svelte -------------------------------------------------------------------------------- /src/lib/icons/Plus.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Plus.svelte -------------------------------------------------------------------------------- /src/lib/icons/Save.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Save.svelte -------------------------------------------------------------------------------- /src/lib/icons/Search.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Search.svelte -------------------------------------------------------------------------------- /src/lib/icons/Send.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Send.svelte -------------------------------------------------------------------------------- /src/lib/icons/Settings.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Settings.svelte -------------------------------------------------------------------------------- /src/lib/icons/Share.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Share.svelte -------------------------------------------------------------------------------- /src/lib/icons/Sparkles.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Sparkles.svelte -------------------------------------------------------------------------------- /src/lib/icons/Stop.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Stop.svelte -------------------------------------------------------------------------------- /src/lib/icons/Table.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Table.svelte -------------------------------------------------------------------------------- /src/lib/icons/Trash.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/Trash.svelte -------------------------------------------------------------------------------- /src/lib/icons/UserCircle.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/UserCircle.svelte -------------------------------------------------------------------------------- /src/lib/icons/XMark.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/XMark.svelte -------------------------------------------------------------------------------- /src/lib/icons/arrow-top-right-on-square.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/arrow-top-right-on-square.svg -------------------------------------------------------------------------------- /src/lib/icons/check.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/check.svg -------------------------------------------------------------------------------- /src/lib/icons/copy.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/icons/copy.svg -------------------------------------------------------------------------------- /src/lib/markdown/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/markdown/index.ts -------------------------------------------------------------------------------- /src/lib/markdown/markdown.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/markdown/markdown.css -------------------------------------------------------------------------------- /src/lib/migrations/001_create_history_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/migrations/001_create_history_table.sql -------------------------------------------------------------------------------- /src/lib/migrations/002_create_queries_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/migrations/002_create_queries_table.sql -------------------------------------------------------------------------------- /src/lib/migrations/003_create_tabs_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/migrations/003_create_tabs_table.sql -------------------------------------------------------------------------------- /src/lib/migrations/004_create_chats_table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/migrations/004_create_chats_table.sql -------------------------------------------------------------------------------- /src/lib/migrations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/migrations/index.ts -------------------------------------------------------------------------------- /src/lib/olap-engine/EventListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/EventListener.ts -------------------------------------------------------------------------------- /src/lib/olap-engine/engine-local.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/engine-local.ts -------------------------------------------------------------------------------- /src/lib/olap-engine/engine-remote.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/engine-remote.ts -------------------------------------------------------------------------------- /src/lib/olap-engine/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/index.ts -------------------------------------------------------------------------------- /src/lib/olap-engine/queries/clickhouse_get_schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/queries/clickhouse_get_schema.sql -------------------------------------------------------------------------------- /src/lib/olap-engine/queries/clickhouse_get_udfs.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/queries/clickhouse_get_udfs.sql -------------------------------------------------------------------------------- /src/lib/olap-engine/queries/clickhouse_init_db.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/queries/clickhouse_init_db.sql -------------------------------------------------------------------------------- /src/lib/olap-engine/tables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/olap-engine/tables.ts -------------------------------------------------------------------------------- /src/lib/ollama/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/ollama/client.ts -------------------------------------------------------------------------------- /src/lib/ollama/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/ollama/index.ts -------------------------------------------------------------------------------- /src/lib/repositories/chats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/repositories/chats.ts -------------------------------------------------------------------------------- /src/lib/repositories/history.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/repositories/history.ts -------------------------------------------------------------------------------- /src/lib/repositories/queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/repositories/queries.ts -------------------------------------------------------------------------------- /src/lib/repositories/tabs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/repositories/tabs.ts -------------------------------------------------------------------------------- /src/lib/slugify.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/slugify.ts -------------------------------------------------------------------------------- /src/lib/states/Persisted.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/states/Persisted.svelte.ts -------------------------------------------------------------------------------- /src/lib/store/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/store/database.ts -------------------------------------------------------------------------------- /src/lib/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/store/index.ts -------------------------------------------------------------------------------- /src/lib/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/styles/main.css -------------------------------------------------------------------------------- /src/lib/utilities/useResizeObserver.svelte.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/lib/utilities/useResizeObserver.svelte.ts -------------------------------------------------------------------------------- /src/routes/+layout.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/routes/+layout.svelte -------------------------------------------------------------------------------- /src/routes/+layout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/routes/+layout.ts -------------------------------------------------------------------------------- /src/routes/+page.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/routes/+page.svelte -------------------------------------------------------------------------------- /src/routes/+page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/routes/+page.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/src/vite-env.d.ts -------------------------------------------------------------------------------- /static/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/static/favicon.png -------------------------------------------------------------------------------- /static/svelte.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/static/svelte.svg -------------------------------------------------------------------------------- /static/tauri.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/static/tauri.svg -------------------------------------------------------------------------------- /static/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/static/vite.svg -------------------------------------------------------------------------------- /svelte.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/svelte.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/tsconfig.json -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agnosticeng/agx/HEAD/vite.config.js --------------------------------------------------------------------------------