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 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 the `kkcode-dev` profile, not the release app's.
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/main/daemon.js")
2
+ await import("../out/server/daemon.js")