zidane-gui 8.0.4 → 8.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -29
- package/out/main/index.js +3371 -1024
- package/out/main/lsp-host.js +89 -4
- package/out/preload/index.mjs +48 -8
- package/out/renderer/assets/{ghostty-web-DPKNHpFa.js → ghostty-web-92tSV0lR.js} +1 -1
- package/out/renderer/assets/{index-rup1hjNH.js → index-DlEFfgBI.js} +158770 -142605
- package/out/renderer/assets/index-u9t9fsPc.css +5016 -0
- package/out/renderer/index.html +6 -3
- package/package.json +6 -4
- package/resources/app-icons/cobalt-blue.png +0 -0
- package/resources/app-icons/holographic-chrome.png +0 -0
- package/resources/app-icons/light.png +0 -0
- package/resources/app-icons/midnight-blue-grainy.png +0 -0
- package/resources/app-icons/modern.png +0 -0
- package/resources/app-icons/smooth-chrome-sticker.png +0 -0
- package/resources/app-icons/smooth-chrome.png +0 -0
- package/resources/app-icons/smooth-holographic-chrome-sticker.png +0 -0
- package/resources/app-icons/smooth-holographic-chrome.png +0 -0
- package/resources/icon-macos.png +0 -0
- package/resources/icon.png +0 -0
- package/scripts/app-installer.mjs +4 -3
- package/out/renderer/assets/index-miPiOG60.css +0 -4096
- /package/out/renderer/assets/{shiki-html.worker-gURcNJD7.js → highlight.worker-gURcNJD7.js} +0 -0
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<img src="resources/icon.png" alt="Zizou" width="500" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
Standalone Electron app
|
|
7
|
+
Standalone Electron app. It is a Claude Code-style chat shell that uses `zidane`.
|
|
8
8
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
@@ -12,15 +12,15 @@ Standalone Electron app — a Claude Code-style chat shell using `zidane`.
|
|
|
12
12
|
npm install -g zidane-gui
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
A global install also registers a launcher app
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
`zidane-gui install-app` as your regular
|
|
19
|
-
the GUI from a terminal.
|
|
15
|
+
A global install also registers a launcher app via postinstall. On macOS
|
|
16
|
+
the launcher is `~/Applications/Zidane.app` (Spotlight, Raycast,
|
|
17
|
+
Launchpad). On Linux it is a `.desktop` entry. If you installed with
|
|
18
|
+
`--ignore-scripts` or as root, run `zidane-gui install-app` as your regular
|
|
19
|
+
user. Plain `zidane-gui` launches the GUI from a terminal.
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
launcher
|
|
21
|
+
To uninstall, remove the launcher app before you remove the package. npm 7
|
|
22
|
+
and later does not run `preuninstall` scripts. So if you remove the package
|
|
23
|
+
first, the app stays in your launcher and points at a deleted install:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
26
|
zidane-gui uninstall-app
|
|
@@ -34,43 +34,43 @@ bun install # from the monorepo root — gui is a workspace member
|
|
|
34
34
|
bun --cwd=gui run dev
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
The renderer runs on `http://localhost:21200`. Electron loads it into the window automatically.
|
|
38
38
|
|
|
39
39
|
## Scripts
|
|
40
40
|
|
|
41
|
-
Run from `gui
|
|
41
|
+
Run these from `gui/`, or run `bun --cwd=gui run <script>` from the root.
|
|
42
42
|
|
|
43
|
-
- `bun run dev`
|
|
44
|
-
- `bun run build`
|
|
45
|
-
- `bun run start`
|
|
46
|
-
- `bun run typecheck`
|
|
47
|
-
- `bun run test`
|
|
48
|
-
- `bun run test:watch`
|
|
49
|
-
- `bun run test:e2e`
|
|
50
|
-
- `bun run test:visual`
|
|
43
|
+
- `bun run dev` starts the electron-vite dev server with HMR.
|
|
44
|
+
- `bun run build` bundles main, preload and renderer into `out/`.
|
|
45
|
+
- `bun run start` previews a built bundle (`electron-vite preview`).
|
|
46
|
+
- `bun run typecheck` runs `tsc --noEmit` on both node and web projects.
|
|
47
|
+
- `bun run test` runs the vitest unit suite. It covers pure logic: pairing, collapse, rehydrator and attachment ingest.
|
|
48
|
+
- `bun run test:watch` runs vitest in watch mode.
|
|
49
|
+
- `bun run test:e2e` runs Playwright end-to-end tests. It runs `build` first.
|
|
50
|
+
- `bun run test:visual` runs the Playwright visual regression suite.
|
|
51
51
|
|
|
52
52
|
## Stack
|
|
53
53
|
|
|
54
|
-
- Electron 41
|
|
54
|
+
- Electron 41 and electron-vite 5 (which uses Vite 7)
|
|
55
55
|
- React 19 renderer, UnoCSS for styling
|
|
56
56
|
- TipTap 3 for the chatbox editor
|
|
57
57
|
- Shiki 4 for syntax highlighting
|
|
58
|
-
- `react-markdown` 10
|
|
58
|
+
- `react-markdown` 10 and `remark-gfm` for transcript rendering
|
|
59
59
|
- Radix `@radix-ui/react-tooltip` for tooltips
|
|
60
60
|
- TypeScript 6
|
|
61
|
-
- SQLite
|
|
61
|
+
- SQLite through Electron's built-in `node:sqlite` (no native modules), stored at `app.getPath('userData')/zidane-gui.db`
|
|
62
62
|
- Numbered SQL migrations in `migrations/` applied at startup
|
|
63
|
-
- Vitest 4 for unit tests on pure logic (no Electron
|
|
63
|
+
- Vitest 4 for unit tests on pure logic (no Electron and no React mount)
|
|
64
64
|
|
|
65
65
|
## Notes
|
|
66
66
|
|
|
67
|
-
- `vite` is held at v7
|
|
68
|
-
- `@vitejs/plugin-react` is held at v5 for the same reason
|
|
69
|
-
- This package lives in the `zidane` monorepo as the `gui/` bun workspace
|
|
70
|
-
-
|
|
67
|
+
- `vite` is held at v7. The latest v8 is not yet supported by `electron-vite`.
|
|
68
|
+
- `@vitejs/plugin-react` is held at v5 for the same reason. v6 requires Vite 8.
|
|
69
|
+
- This package lives in the `zidane` monorepo as the `gui/` bun workspace. It consumes the in-repo `zidane` via `file:..`. If `dist/` is stale, run `bun run build` at the root first.
|
|
70
|
+
- There are no native modules. SQLite is Electron's built-in `node:sqlite`, so there is no ABI rebuild step. `trustedDependencies` (`electron`, `esbuild`) lets bun run their build scripts.
|
|
71
71
|
|
|
72
72
|
## v1 scope
|
|
73
73
|
|
|
74
74
|
- Per-chat working folder (chosen before first send, remembered across launches)
|
|
75
|
-
- Flat sidebar of chats sorted by `updated_at DESC`, rename
|
|
76
|
-
- Chatbox in the center
|
|
75
|
+
- Flat sidebar of chats sorted by `updated_at DESC`, rename and delete inline
|
|
76
|
+
- Chatbox in the center. Chat result rendering is intentionally deferred.
|