@twsxtd/hapi 0.34.3 → 0.34.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.
Files changed (2) hide show
  1. package/bin/hapi.cjs +6 -1
  2. package/package.json +6 -6
package/bin/hapi.cjs CHANGED
@@ -154,7 +154,12 @@ function main() {
154
154
  const args = process.argv.slice(2);
155
155
 
156
156
  try {
157
- execFileSync(binPath, args, { stdio: 'inherit' });
157
+ // The binary may hand this launcher's macOS responsibility on to the
158
+ // processes it detaches (see cli/src/runtime/responsibility.ts).
159
+ execFileSync(binPath, args, {
160
+ stdio: 'inherit',
161
+ env: { ...process.env, HAPI_LAUNCHER_PID: String(process.pid) },
162
+ });
158
163
  } catch (error) {
159
164
  const { status, signal } = reportExecutionFailure(error, binPath, args);
160
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twsxtd/hapi",
3
- "version": "0.34.3",
3
+ "version": "0.34.4",
4
4
  "description": "App for agentic coding - access coding agent anywhere",
5
5
  "author": "Kirill Dubovitskiy & weishu",
6
6
  "license": "AGPL-3.0-only",
@@ -20,10 +20,10 @@
20
20
  "NOTICE"
21
21
  ],
22
22
  "optionalDependencies": {
23
- "@twsxtd/hapi-darwin-arm64": "0.34.3",
24
- "@twsxtd/hapi-darwin-x64": "0.34.3",
25
- "@twsxtd/hapi-linux-arm64": "0.34.3",
26
- "@twsxtd/hapi-linux-x64": "0.34.3",
27
- "@twsxtd/hapi-win32-x64": "0.34.3"
23
+ "@twsxtd/hapi-darwin-arm64": "0.34.4",
24
+ "@twsxtd/hapi-darwin-x64": "0.34.4",
25
+ "@twsxtd/hapi-linux-arm64": "0.34.4",
26
+ "@twsxtd/hapi-linux-x64": "0.34.4",
27
+ "@twsxtd/hapi-win32-x64": "0.34.4"
28
28
  }
29
29
  }