Skip to content

Releases: gitprae/loon-cli

v1.0.13 — Fix: Stuck 'Starting server...'

Choose a tag to compare

@gitprae gitprae released this 02 Jul 02:22
bd76e27

Fix: Stuck 'Starting server...'

Root Cause

The discovery hook was running on app launch even during onboarding, trying to spawn 'loon serve' before the CLI binary was installed. This caused the app to freeze at 'Starting server...' because the server could never start, and the effect never retried after onboarding completed.

Fix

Discovery is now gated behind onboarding completion. The useDiscovery() hook receives an enabled flag that is false until onboarding finishes and the CLI is installed. Once onboarding completes, discovery runs fresh and successfully starts the server.

Downloads

  • macOS Apple Silicon: loon-darwin-arm64 or Loon-0.11.0-mac-arm64.dmg
  • macOS Intel: loon-darwin-x64 or Loon-0.11.0-mac-x64.dmg
  • Linux x64: loon-linux-x64

Desktop App (unsigned)

After downloading the .dmg, install it then run:

xattr -cr /Applications/Loon.app && open /Applications/Loon.app

v1.0.12 — Auto-Install CLI + Desktop UX Fixes

Choose a tag to compare

@gitprae gitprae released this 02 Jul 02:07
bd76e27

Auto-Install CLI + Desktop UX Fixes

Desktop App Fixes

  • Auto-install bundled CLI: Desktop app now bundles the real loon CLI binary. On first launch, the onboarding environment check automatically installs it to ~/.loon/bin/ — no npm, no terminal, no admin privileges needed.
  • Add Project button in empty state: When no projects exist, the sidebar now shows an "Add Project" button that opens the macOS Finder directory picker.
  • Onboarding auto-install: Environment check step auto-triggers CLI install when not found, instead of requiring a manual button click.
  • Fixed launcher scripts: Corrected palot → loon name references in bundled CLI launcher scripts (Linux/Windows were broken).
  • Fixed PATH detection: compatibility.ts now includes /usr/local/bin in augmented PATH, matching loon-manager.ts.
  • CLI install to ~/.loon/bin: No longer requires sudo/admin — installs to user-writable ~/.loon/bin/ which is already in the loon-manager PATH.

Downloads

  • macOS Apple Silicon: loon-darwin-arm64 or Loon-0.11.0-mac-arm64.dmg
  • macOS Intel: loon-darwin-x64 or Loon-0.11.0-mac-x64.dmg
  • Linux x64: loon-linux-x64

Install CLI

sudo sh -c 'curl -fsSL https://github.com/gitprae/loon-cli/releases/latest/download/loon-darwin-arm64 -o /usr/local/bin/loon && curl -fsSL https://github.com/gitprae/loon-cli/releases/latest/download/tree-sitter.wasm -o /usr/local/bin/tree-sitter.wasm && chmod +x /usr/local/bin/loon'

Desktop App

Download the .dmg for your architecture, then:

xattr -cr /Applications/Loon.app && open /Applications/Loon.app

v1.0.11 — Free-Tier Quota & Session Infrastructure

Choose a tag to compare

@gitprae gitprae released this 02 Jul 01:25
bd76e27

Free-Tier Quota & Session Infrastructure

New Features

  • Session-based free tier: 25 sessions/month, 5 hours per session
  • Per-session message limit: 25 messages per session (counted per user turn, not per LLM call)
  • Monthly message cap: 400 messages per calendar month
  • Weekly fair-use meter: 80 messages per rolling 7-day window (hard cap at 100%)
  • 24h cooldown: After hitting the 25-message session cap, users wait 24h before starting a new session
  • Session lifecycle API: New /api/v1/loon/session endpoint (POST/GET/DELETE)
  • Quota-aware usage endpoint: /api/v1/usage now returns full quota breakdown
  • Vercel cron jobs: Expired-session sweep (10min) + counter reconciliation (hourly)

Bug Fixes

  • Period-aware UI text (today -> this month for monthly quotas)
  • Message count + weekly fair-use meter displayed in active session summary

Downloads

  • macOS Apple Silicon: loon-darwin-arm64 or Loon-0.11.0-mac-arm64.dmg
  • macOS Intel: loon-darwin-x64 or Loon-0.11.0-mac-x64.dmg
  • Linux x64: loon-linux-x64

Install

sudo sh install.sh

Release v1.0.10

Choose a tag to compare

@gitprae gitprae released this 29 Jun 20:46
bd76e27

Fix reference error in chat input

Release v1.0.9

Choose a tag to compare

@gitprae gitprae released this 29 Jun 20:24
bd76e27

Re-release with increased backend rate-limit and Desktop App (macOS)

Release v1.0.8

Choose a tag to compare

@gitprae gitprae released this 28 Jun 16:34
bd76e27

Re-release with increased backend rate-limit

Release v1.0.7

Choose a tag to compare

@gitprae gitprae released this 28 Jun 16:07
bd76e27

Re-release with industry standard login functionality

Release v1.0.6

Choose a tag to compare

@gitprae gitprae released this 28 Jun 15:59
bd76e27

Re-release with updated login functionality

Release v1.0.5

Choose a tag to compare

@gitprae gitprae released this 28 Jun 10:10
bd76e27

Point CLI to correct aliased Vercel URL

Release v1.0.4

Choose a tag to compare

@gitprae gitprae released this 28 Jun 09:59
bd76e27

Fix cyclic JSON stringify crash and update API URL