liutaio 0.1.0 → 0.1.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.
package/bin/liutaio CHANGED
@@ -2,7 +2,13 @@
2
2
  set -euo pipefail
3
3
 
4
4
  # Resolve the real path of this script (follows symlinks from npm global bin)
5
- SCRIPT_PATH="$(cd "$(dirname "$0")" && pwd)"
5
+ SOURCE="$0"
6
+ while [ -L "$SOURCE" ]; do
7
+ DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
8
+ SOURCE="$(readlink "$SOURCE")"
9
+ [[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
10
+ done
11
+ SCRIPT_PATH="$(cd "$(dirname "$SOURCE")" && pwd)"
6
12
  LIUTAIO_HOME="$(cd "$SCRIPT_PATH/.." && pwd)"
7
13
 
8
14
  # Delegate to run.sh with all arguments
package/docker/run.sh CHANGED
@@ -50,6 +50,7 @@ while [[ $# -gt 0 ]]; do
50
50
  --fresh-login) FRESH_LOGIN=true; FORCE_OAUTH=true; shift ;;
51
51
  --rebuild) REBUILD=true; shift ;;
52
52
  --dry-run) DRY_RUN=true; shift ;;
53
+ --help|-h) AGENTS_FILE=""; ITERATIONS=""; BASE_BRANCH=""; break ;;
53
54
  --name) CONTAINER_NAME="$2"; shift 2 ;;
54
55
  --node-version) NODE_VERSION="$2"; shift 2 ;;
55
56
  --repo) REPO_ROOT="$2"; shift 2 ;;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "liutaio",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Run AI coding agents in Docker containers — autonomously, safely, and with zero setup.",
5
5
  "license": "MIT",
6
6
  "bin": {
7
- "liutaio": "./bin/liutaio"
7
+ "liutaio": "bin/liutaio"
8
8
  },
9
9
  "files": [
10
10
  "bin/",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "repository": {
26
26
  "type": "git",
27
- "url": "https://github.com/narleybrittes/liutaio"
27
+ "url": "git+https://github.com/narleybrittes/liutaio.git"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=18"