Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 07:02
· 16 commits to main since this release

LineSense v0.5.0 - OS-Aware Command Suggestions 🎯

A major feature update that makes LineSense truly cross-platform and intelligent about your system environment!

🎯 Operating System Aware Suggestions

LineSense now automatically detects:

  • Operating System (Linux, macOS, Windows)
  • Linux Distribution (Ubuntu, Arch, Fedora, Debian, etc.)
  • Package Manager (apt, yum, dnf, pacman, brew, choco, winget, etc.)

Zero configuration required - it just works!

✨ What This Means For You

Before v0.5.0:

User on macOS: "install nginx"
❌ sudo apt install nginx  # Wrong! apt doesn't exist on macOS

After v0.5.0:

Ubuntu user: "install nginx"
✅ sudo apt install nginx | Install nginx web server using apt

macOS user: "install nginx"
✅ brew install nginx | Install nginx web server using Homebrew

Arch user: "install nginx"
✅ sudo pacman -S nginx | Install nginx web server using pacman

🛡️ Strict OS Compatibility

The AI now follows CRITICAL RULES to ensure commands work on your system:

  • ✅ ONLY suggests commands compatible with your detected OS
  • ✅ Uses the correct package manager for your system
  • ✅ Prevents cross-platform command mixing
  • ✅ Smart categorization of OS-specific vs cross-platform commands

📦 Installation

Quick install with script:

curl -fsSL https://raw.githubusercontent.com/Traves-Theberge/LineSense/v0.5.0/install.sh | bash

Or download a binary for your system below.

🚀 What's New in v0.5.0

  • OS Detection: Automatic detection using runtime.GOOS
  • Distribution Detection: Parses /etc/os-release on Linux
  • Package Manager Detection: Checks for installed package managers
  • Enhanced AI Prompts: Strict rules for OS-specific commands
  • Updated Context: OS info automatically included in every request
  • Comprehensive Tests: Full test coverage for OS detection

📝 Full Changelog

See CHANGELOG.md for complete details.


Full Changelog: v0.4.4...v0.5.0

Questions or Feedback?