@twsxtd/hapi 0.1.3 → 0.2.1

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 (3) hide show
  1. package/README.md +2 -1
  2. package/bin/hapi.cjs +1 -1
  3. package/package.json +20 -29
package/README.md CHANGED
@@ -25,6 +25,7 @@ Run Claude Code, Codex, or Gemini sessions from your terminal and control them r
25
25
  - `hapi` - Start a Claude Code session (passes through Claude CLI flags). See `src/index.ts`.
26
26
  - `hapi codex` - Start Codex mode. See `src/codex/runCodex.ts`.
27
27
  - `hapi gemini` - Start Gemini mode via ACP. See `src/agent/runners/runAgentSession.ts`.
28
+ Note: Gemini runs in remote mode only; it waits for messages from the server UI/Telegram.
28
29
 
29
30
  ### Authentication
30
31
 
@@ -83,7 +84,7 @@ See `src/configuration.ts` for all options.
83
84
  ### Gemini/Agent
84
85
 
85
86
  - `HAPPY_GEMINI_COMMAND` - Gemini executable command (default: gemini).
86
- - `HAPPY_GEMINI_ARGS` - Gemini arguments (default: --acp).
87
+ - `HAPPY_GEMINI_ARGS` - Gemini arguments (default: --experimental-acp).
87
88
 
88
89
  ## Storage
89
90
 
package/bin/hapi.cjs CHANGED
@@ -31,7 +31,7 @@ if (!binPath) {
31
31
  console.error(' - win32-x64');
32
32
  console.error('');
33
33
  console.error('You can download the binary manually from:');
34
- console.error(' https://github.com/anthropics/hapi/releases');
34
+ console.error(' https://github.com/tiann/hapi/releases');
35
35
  process.exit(1);
36
36
  }
37
37
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twsxtd/hapi",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "App for agentic coding - access coding agent anywhere",
5
5
  "author": "Kirill Dubovitskiy & weishu",
6
6
  "license": "MIT",
@@ -25,11 +25,11 @@
25
25
  }
26
26
  },
27
27
  "optionalDependencies": {
28
- "@twsxtd/hapi-darwin-arm64": "0.1.3",
29
- "@twsxtd/hapi-darwin-x64": "0.1.3",
30
- "@twsxtd/hapi-linux-arm64": "0.1.3",
31
- "@twsxtd/hapi-linux-x64": "0.1.3",
32
- "@twsxtd/hapi-win32-x64": "0.1.3"
28
+ "@twsxtd/hapi-darwin-arm64": "0.2.1",
29
+ "@twsxtd/hapi-darwin-x64": "0.2.1",
30
+ "@twsxtd/hapi-linux-arm64": "0.2.1",
31
+ "@twsxtd/hapi-linux-x64": "0.2.1",
32
+ "@twsxtd/hapi-win32-x64": "0.2.1"
33
33
  },
34
34
  "scripts": {
35
35
  "typecheck": "tsc --noEmit",
@@ -43,48 +43,39 @@
43
43
  "update-homebrew-formula": "bun run scripts/update-homebrew-formula.ts",
44
44
  "test": "bun run tools:unpack && vitest run",
45
45
  "test:win": "vitest run",
46
- "dev": "tsx src/index.ts",
47
- "dev:local-server": "tsx --env-file .env.dev-local-server src/index.ts",
48
- "dev:integration-test-env": "tsx --env-file .env.integration-test src/index.ts",
46
+ "dev": "bun src/index.ts",
47
+ "dev:local-server": "bun --env-file .env.dev-local-server src/index.ts",
48
+ "dev:integration-test-env": "bun --env-file .env.integration-test src/index.ts",
49
49
  "release-all": "bun run scripts/release-all.ts"
50
50
  },
51
51
  "dependencies": {
52
- "@modelcontextprotocol/sdk": "^1.22.0",
52
+ "@modelcontextprotocol/sdk": "^1.25.1",
53
53
  "@types/cross-spawn": "^6.0.6",
54
54
  "@types/ps-list": "^6.2.1",
55
55
  "@types/react": "^19.2.7",
56
- "@types/tmp": "^0.2.6",
57
56
  "axios": "^1.13.2",
58
57
  "chalk": "^5.6.2",
59
58
  "cross-spawn": "^7.0.6",
60
59
  "fastify": "^5.6.2",
61
- "fastify-type-provider-zod": "4.0.2",
62
- "ink": "^6.5.1",
63
- "ps-list": "^8.1.1",
64
- "react": "^19.2.0",
65
- "react-devtools-core": "^7.0.1",
66
- "socket.io-client": "^4.8.1",
60
+ "fastify-type-provider-zod": "6.1.0",
61
+ "ink": "^6.6.0",
62
+ "ps-list": "^9.0.0",
63
+ "react": "^19.2.3",
64
+ "socket.io-client": "^4.8.3",
67
65
  "tar": "^7.5.2",
68
- "zod": "^3.23.8"
66
+ "zod": "^4.2.1"
69
67
  },
70
68
  "devDependencies": {
71
- "@eslint/compat": "^1",
72
- "@types/node": ">=20",
69
+ "@types/node": ">=25",
73
70
  "bun-types": "^1.3.5",
74
- "cross-env": "^10.1.0",
75
- "dotenv": "^16.6.1",
76
- "eslint": "^9",
77
- "eslint-config-prettier": "^10",
78
- "shx": "^0.3.3",
79
- "ts-node": "^10",
80
- "tsx": "^4.20.6",
71
+ "dotenv": "^17.2.3",
81
72
  "typescript": "^5",
82
- "vitest": "^3.2.4"
73
+ "vitest": "^4.0.16"
83
74
  },
84
75
  "resolutions": {
85
76
  "whatwg-url": "14.2.0",
86
77
  "parse-path": "7.0.3",
87
78
  "@types/parse-path": "7.0.3"
88
79
  },
89
- "packageManager": "bun@1.3.4"
80
+ "packageManager": "bun@1.3.5"
90
81
  }