sloppycode 0.2.124 → 0.2.126

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
@@ -11,6 +11,16 @@ SlopCode is the open source AI slopcoding agent focused on terminal workflows.
11
11
  npm i -g slopcode@latest
12
12
  ```
13
13
 
14
+ ### Termux on Android
15
+
16
+ ```bash
17
+ pkg update
18
+ pkg install nodejs git ripgrep neovim tar
19
+ npm i -g slopcode@latest --include=optional
20
+ ```
21
+
22
+ The Android package includes the native sidecar TUI runtime for Termux arm64/x64.
23
+
14
24
  ## Quickstart
15
25
 
16
26
  ```bash
package/package.json CHANGED
@@ -34,19 +34,19 @@
34
34
  "scripts": {
35
35
  "postinstall": "bun ./postinstall.mjs || node ./postinstall.mjs"
36
36
  },
37
- "version": "0.2.124",
37
+ "version": "0.2.126",
38
38
  "license": "MIT",
39
39
  "optionalDependencies": {
40
- "slopcode-bin-darwin-arm64": "0.2.124",
41
- "slopcode-bin-linux-x64-baseline": "0.2.124",
42
- "slopcode-bin-windows-x64": "0.2.124",
43
- "slopcode-bin-linux-x64": "0.2.124",
44
- "slopcode-bin-linux-x64-baseline-musl": "0.2.124",
45
- "slopcode-bin-linux-x64-musl": "0.2.124",
46
- "slopcode-bin-linux-arm64": "0.2.124",
47
- "slopcode-bin-windows-x64-baseline": "0.2.124",
48
- "slopcode-bin-linux-arm64-musl": "0.2.124",
49
- "slopcode-bin-darwin-x64-baseline": "0.2.124",
50
- "slopcode-bin-darwin-x64": "0.2.124"
40
+ "slopcode-bin-darwin-arm64": "0.2.126",
41
+ "slopcode-bin-linux-x64-baseline": "0.2.126",
42
+ "slopcode-bin-windows-x64": "0.2.126",
43
+ "slopcode-bin-linux-x64": "0.2.126",
44
+ "slopcode-bin-linux-x64-baseline-musl": "0.2.126",
45
+ "slopcode-bin-linux-x64-musl": "0.2.126",
46
+ "slopcode-bin-linux-arm64": "0.2.126",
47
+ "slopcode-bin-windows-x64-baseline": "0.2.126",
48
+ "slopcode-bin-linux-arm64-musl": "0.2.126",
49
+ "slopcode-bin-darwin-x64-baseline": "0.2.126",
50
+ "slopcode-bin-darwin-x64": "0.2.126"
51
51
  }
52
52
  }
package/postinstall.mjs CHANGED
@@ -179,7 +179,8 @@ async function installAndroid(arch) {
179
179
  const archive = await androidAsset(arch, tmp)
180
180
  const extract = path.join(tmp, "package")
181
181
  await fs.promises.mkdir(extract, { recursive: true })
182
- const result = require("child_process").spawnSync("tar", ["-xzf", archive, "-C", extract], {
182
+ const result = require("child_process").spawnSync("tar", ["-xzf", path.basename(archive), "-C", extract], {
183
+ cwd: path.dirname(archive),
183
184
  encoding: "utf8",
184
185
  timeout: 120000,
185
186
  })
@@ -326,7 +327,7 @@ async function main() {
326
327
  }
327
328
 
328
329
  try {
329
- main()
330
+ await main()
330
331
  } catch (error) {
331
332
  clearCache()
332
333
  console.error("Postinstall script error:", error.message)