hinacode 0.2.0-alpha.2 → 0.2.0-alpha.4
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 +2 -1
- package/bin/hinacode.mjs +1 -1
- package/out/server/chunks/index-DvmBS5P5.js +116570 -0
- package/out/server/daemon.js +114914 -0
- package/package.json +6 -103
- package/out/main/chunks/icon-B49l-pLu.png +0 -0
- package/out/main/chunks/icon-dev-DGWXI65o.png +0 -0
- package/out/main/chunks/shellPath-B4T8uBcy.js +0 -50891
- package/out/main/daemon.js +0 -286
- package/out/main/index.js +0 -442
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ pnpm dev
|
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
20
|
pnpm build # bundles main, preload and renderer into out/
|
|
21
|
+
pnpm build:server # bundles only the headless daemon into out/server/
|
|
21
22
|
pnpm typecheck
|
|
22
23
|
pnpm lint
|
|
23
24
|
pnpm format
|
|
@@ -30,7 +31,7 @@ Run a built app with its own data directory, for example to keep a test profile
|
|
|
30
31
|
HINACODE_USER_DATA=/tmp/hinacode-test pnpm exec electron out/main/index.js
|
|
31
32
|
```
|
|
32
33
|
|
|
33
|
-
Unpackaged runs (`pnpm dev`, e2e and the command above) never touch the login Keychain. They seal secrets with Chromium's public mock key, so save only dummy secrets in them. Without `HINACODE_USER_DATA` they use
|
|
34
|
+
Unpackaged runs (`pnpm dev`, e2e and the command above) never touch the login Keychain. They seal secrets with Chromium's public mock key, so save only dummy secrets in them. Without `HINACODE_USER_DATA` they use `~/.hinacode-dev`, not the release app's `~/.hinacode`. A data directory holds the database, `chats/` and `attachments/` at the top and Chromium's profile in `chromium/`.
|
|
34
35
|
|
|
35
36
|
Simulate an exhausted Claude account without using the account:
|
|
36
37
|
|
package/bin/hinacode.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
await import("../out/
|
|
2
|
+
await import("../out/server/daemon.js")
|