liutaio 0.1.5 → 0.1.7

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/docker/run.sh +3 -2
  2. package/package.json +2 -2
package/docker/run.sh CHANGED
@@ -42,6 +42,7 @@ REPO_ROOT=""
42
42
  EXTRA_ENVS=()
43
43
  FORCE_OAUTH=false
44
44
  FRESH_LOGIN=false
45
+ SHOW_HELP=false
45
46
 
46
47
  while [[ $# -gt 0 ]]; do
47
48
  case $1 in
@@ -50,7 +51,7 @@ while [[ $# -gt 0 ]]; do
50
51
  --fresh-login) FRESH_LOGIN=true; FORCE_OAUTH=true; shift ;;
51
52
  --rebuild) REBUILD=true; shift ;;
52
53
  --dry-run) DRY_RUN=true; shift ;;
53
- --help|-h) AGENTS_FILE=""; ITERATIONS=""; BASE_BRANCH=""; break ;;
54
+ --help|-h) AGENTS_FILE=""; ITERATIONS=""; BASE_BRANCH=""; SHOW_HELP=true; break ;;
54
55
  --name) CONTAINER_NAME="$2"; shift 2 ;;
55
56
  --node-version) NODE_VERSION="$2"; shift 2 ;;
56
57
  --repo) REPO_ROOT="$2"; shift 2 ;;
@@ -99,7 +100,7 @@ if [ -z "$AGENTS_FILE" ] || [ -z "$ITERATIONS" ] || [ -z "$BASE_BRANCH" ]; then
99
100
  echo " liutaio agent.md 10 my-branch # auto-detect auth"
100
101
  echo " liutaio agent.md 10 my-branch --oauth # force OAuth login"
101
102
  echo " liutaio agent.md 10 my-branch --fresh-login # re-authenticate"
102
- exit 1
103
+ if $SHOW_HELP; then exit 0; else exit 1; fi
103
104
  fi
104
105
 
105
106
  # ─── Detect repo root ───────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liutaio",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "description": "Run AI coding agents in Docker containers — autonomously, safely, and with zero setup.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "repository": {
26
26
  "type": "git",
27
- "url": "git+https://github.com/narleybrittes/liutaio.git"
27
+ "url": "git+https://github.com/narley/liutaio.git"
28
28
  },
29
29
  "engines": {
30
30
  "node": ">=18"