hinacode 0.2.0-alpha.1 → 0.2.0-alpha.11

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
@@ -2,14 +2,14 @@
2
2
 
3
3
  # HinaCode
4
4
 
5
- HinaCode is an Electron app built for coding agents. It currently supports Claude Code, Codex and Muse Code.
5
+ HinaCode is an Electron app built for coding agents. It currently supports Claude Code, Codex, Muse Code and opencode.
6
6
 
7
7
  > [!WARNING]
8
8
  > HinaCode is still in development. Expect bugs.
9
9
 
10
10
  ## Development
11
11
 
12
- Requires Node 24.22.1 or later (26.12.1 or later on Node 26), pnpm, and the `claude` and `codex` CLIs on your PATH and logged in. Muse Code threads need the `muse` CLI, signed in with `muse login`. Global file search and its integration tests require ripgrep (`rg`) on your PATH.
12
+ Requires Node 24.22.1 or later (26.12.1 or later on Node 26), pnpm, and the `claude` and `codex` CLIs on your PATH and logged in. Muse Code threads need the `muse` CLI, signed in with `muse login`. opencode threads need the `opencode` CLI, signed in with `opencode auth login`. Global file search and its integration tests require ripgrep (`rg`) on your PATH.
13
13
 
14
14
  ```sh
15
15
  pnpm install
@@ -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/cli.js")