liutaio 0.1.1 → 0.1.3

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
@@ -500,7 +500,7 @@ for ((i=1; i<=$ITERATIONS; i++)); do
500
500
 
501
501
  if [ -f "$PROGRESS_FILE" ]; then
502
502
  # Try "## Next Steps" section first
503
- NEXT_TICKET=$(awk '/^## Next Steps/{found=1; next} /^## /{found=0} found && /[^ \t]/{print; exit}' "$PROGRESS_FILE" | sed 's/^[[:space:]-]*//' || true)
503
+ NEXT_TICKET=$(awk '/^## Next Steps/{found=1; next} /^## /{found=0} found && /[^ \t]/{print; exit}' "$PROGRESS_FILE" | sed 's/^[[:space:]-]*//; s/^[Nn]ext [Tt]icket:[[:space:]]*//' || true)
504
504
 
505
505
  # Fallback: first ticket in the table NOT marked DONE
506
506
  if [ -z "$NEXT_TICKET" ]; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "liutaio",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Run AI coding agents in Docker containers — autonomously, safely, and with zero setup.",
5
5
  "license": "MIT",
6
6
  "bin": {