@youngfine/hapi 0.29.1-youngfine.2 → 0.30.7-youngfine.2

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.
Files changed (2) hide show
  1. package/README.md +52 -2
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # HAPI Personal Fork
2
2
 
3
- ## 来源
3
+ Run official Claude Code / Codex / Cursor Agent / Grok Build / OpenCode / Kimi / Copilot / Antigravity / Pi / DeepSeek Harness sessions and control them remotely through native iOS / Android apps, Web / PWA, or Telegram Mini App.
4
4
 
5
5
  本项目 fork 自 [tiann/hapi](https://github.com/tiann/hapi)。
6
6
 
@@ -12,10 +12,60 @@
12
12
  - User 消息超过 `15` 行时默认折叠,展开后立即显示完整内容。
13
13
  - 运行中默认需要在 `2` 秒内按两次 `Esc` 才中断任务,首次按下会提示;可在“设置 → 聊天 → 输入”改为按一次。
14
14
 
15
+ ## Features
16
+
17
+ - **Seamless Handoff** - Work locally, switch to remote when needed, switch back anytime. No context loss, no session restart.
18
+ - **Shared Codex Sessions** - Use Codex from your terminal and phone at the same time. Requires Codex 0.154.0+. [Usage and limits](docs/guide/codex-shared-sessions.md).
19
+ - **Native First** - HAPI wraps your AI agent instead of replacing it. Same terminal, same experience, same muscle memory.
20
+ - **AFK Without Stopping** - Step away from your desk? Approve AI requests from your phone with one tap.
21
+ - **Your AI, Your Choice** - Claude Code, Codex, Cursor Agent, Grok Build, OpenCode, Kimi, Copilot, Antigravity, Pi, DeepSeek Harness—different agents, one unified workflow.
22
+ - **Terminal Anywhere** - Run commands from your phone's browser or desktop web app, directly connected to the working machine.
23
+ - **Voice Control** - Use dictation in native apps, or talk to your AI agent hands-free with the web voice assistant.
24
+ - **Workspace Browser** - Opt-in via one or more `hapi runner start --workspace-root <path>` flags: browse scoped file trees from the web and start sessions in allowed subdirectories.
25
+
15
26
  ## 使用
16
27
 
17
28
  ```bash
18
29
  npm install -g @youngfine/hapi --registry=https://registry.npmjs.org
19
- hapi hub
30
+ hapi hub --relay
20
31
  hapi runner start --workspace-root ~/git-repository
21
32
  ```
33
+
34
+ `hapi server` remains supported as an alias.
35
+
36
+ Use `hapi <agent> [options]` to start an agent directly, for example `hapi claude`
37
+ or `hapi codex`. Scripts must specify the agent explicitly. `hapi --help` shows
38
+ HAPI's commands and supported agents.
39
+
40
+ The hub displays a URL and two QR codes. Open the web URL in a browser, or pair a native app using the companion QR. See [Native apps](docs/guide/native-apps.md) for build and pairing instructions.
41
+
42
+ > The relay uses WireGuard + TLS for end-to-end encryption. Your data is encrypted from your device to your machine.
43
+
44
+ For self-hosted options (Cloudflare Tunnel, Tailscale), see [Installation](docs/guide/installation.md)
45
+
46
+ ## Docs
47
+
48
+ - [Native apps (iOS / Android)](docs/guide/native-apps.md)
49
+ - [Web / PWA](docs/guide/pwa.md)
50
+ - [How it Works](docs/guide/how-it-works.md)
51
+ - [Supported Agents](docs/guide/agents.md)
52
+ - [Voice Assistant](docs/guide/voice-assistant.md)
53
+ - [Why HAPI](docs/guide/why-hapi.md)
54
+ - [FAQ](docs/guide/faq.md)
55
+
56
+ ## Native apps (iOS / Android)
57
+
58
+ The repository includes SwiftUI/UIKit and Kotlin Compose clients with chat, approvals, session creation, files, dictation, and push notifications. See the [native app guide](docs/guide/native-apps.md) for capabilities, platform differences and pairing. Build instructions: [iOS](ios/README.md) and [Android](android/README.md). Developer protocol: [client contract](docs/api/client-contract/index.md).
59
+
60
+ ## Build from source
61
+
62
+ Requires Bun 1.4.0.
63
+
64
+ ```bash
65
+ bun install
66
+ bun run build:single-exe
67
+ ```
68
+
69
+ ## Credits
70
+
71
+ HAPI means "哈皮" a Chinese transliteration of [Happy](https://github.com/slopus/happy). Great credit to the original project.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youngfine/hapi",
3
- "version": "0.29.1-youngfine.2",
3
+ "version": "0.30.7-youngfine.2",
4
4
  "description": "Unofficial personal fork of HAPI with custom remote-agent workflow improvements",
5
5
  "author": "youngfine (fork maintainer); Kirill Dubovitskiy & weishu (upstream)",
6
6
  "license": "AGPL-3.0-only",
@@ -21,11 +21,11 @@
21
21
  "README.md"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@youngfine/hapi-darwin-arm64": "0.29.1-youngfine.2",
25
- "@youngfine/hapi-darwin-x64": "0.29.1-youngfine.2",
26
- "@youngfine/hapi-linux-arm64": "0.29.1-youngfine.2",
27
- "@youngfine/hapi-linux-x64": "0.29.1-youngfine.2",
28
- "@youngfine/hapi-win32-x64": "0.29.1-youngfine.2"
24
+ "@youngfine/hapi-darwin-arm64": "0.30.7-youngfine.2",
25
+ "@youngfine/hapi-darwin-x64": "0.30.7-youngfine.2",
26
+ "@youngfine/hapi-linux-arm64": "0.30.7-youngfine.2",
27
+ "@youngfine/hapi-linux-x64": "0.30.7-youngfine.2",
28
+ "@youngfine/hapi-win32-x64": "0.30.7-youngfine.2"
29
29
  },
30
30
  "publishConfig": {
31
31
  "access": "public"