Orbitron, 이제 스스로 업데이트됩니다! 🚀

Orbitron Now Updates Itself! 🚀

AI Guide
"업데이트 어떻게 해요?" 라는 질문에 답하는 자동 업데이트 기능
An auto-update feature that answers the question "How do I update?"

이런 경험 있으신가요?

Have You Ever Experienced This?

CLI 도구를 사용하다가 이런 메시지를 보신 적 있으시죠?

Have you ever seen this message while using a CLI tool?

🚀 Update available: 0.1.13

"나중에 해야지~" 하고 넘어갔다가, 몇 주 후에 버그를 발견하고 이슈를 올리면...

You think "I'll do it later~" and skip it, then weeks later you discover a bug and file an issue...

"최신 버전으로 업데이트하셨나요? 해당 버그는 v1.13.0에서 이미 수정되었어요."
"Did you update to the latest version? That bug was already fixed in v1.13.0."

그제서야 "아, 그때 그 알림 무시했는데..." 하며 부랴부랴 업데이트를 하게 됩니다.

Only then do you think "Oh, I ignored that notification..." and hurry to update.

이런 번거로움, 이제 없애고 싶었습니다.

We wanted to eliminate this hassle.

Orbitron은 이제 스스로 조용히 업데이트됩니다. 간단하게 설정하고 평소처럼 실행하기만 하면 돼요!

Orbitron now updates itself quietly. Just set it up once and run it as usual!

무엇이 달라졌나요?

What Has Changed?

이전: 수동 업데이트
Before: Manual Update
# 1. Orbitron 다운로드 페이지 방문
# 2. 최신 버전 다운로드
# 3. 실행 권한 설정
# 4. PATH에 추가
# (매번 이 과정을 반복...)
# 1. Visit Orbitron download page
# 2. Download latest version
# 3. Set execute permissions
# 4. Add to PATH
# (Repeat this process every time...)
지금: 자동 업데이트
Now: Auto-Update
# 설치 시 자동 업데이트를 활성화했다면
$ orbitron
# 그냥 실행하세요!
# 백그라운드에서 자동으로 최신 버전을 다운로드합니다.
# 다음 번 실행할 때 최신 버전이 적용됩니다.
# If you enabled auto-update during installation
$ orbitron
# Just run it!
# Automatically downloads the latest version in the background.
# Next time you run it, the latest version will be applied.

핵심 개선사항:

Key Improvements:

  • 자동 다운로드: 백그라운드에서 조용히 업데이트 확인 및 다운로드
  • 작업 방해 없음: 업데이트 중에도 Orbitron을 계속 사용할 수 있습니다
  • 중복 다운로드 방지: 이미 받은 버전은 다시 다운로드하지 않습니다
  • 안전한 관리: 체크섬 검증, 충돌 방지, 자동 롤백
  • 사용자 선택권: 언제든지 활성화/비활성화 가능
  • Automatic Download: Quietly checks and downloads updates in the background
  • No Disruption: Continue using Orbitron while it updates
  • Prevent Duplicate Downloads: Don't re-download versions you already have
  • Safe Management: Checksum verification, conflict prevention, automatic rollback
  • User Choice: Enable/disable anytime

자동 업데이트 작동 방식

How Auto-Update Works

1단계: Orbitron을 평소처럼 실행
Step 1: Run Orbitron as Usual
$ orbitron

Orbitron이 시작되면서 백그라운드에서 조용히 업데이트를 확인합니다.

When Orbitron starts, it quietly checks for updates in the background.

2단계: 백그라운드에서 자동 다운로드
Step 2: Automatic Download in Background

새 버전이 있으면 자동으로 다운로드를 시작합니다. 여러분의 작업에는 전혀 지장이 없습니다.

If a new version is available, it starts downloading automatically. Your work is not disrupted at all.

orbitron> 안녕하세요
AI: 안녕하세요! 무엇을 도와드릴까요?

# (백그라운드에서 v0.1.13 다운로드 중...)

orbitron> 프로젝트 분석해줘
AI: 네, 프로젝트를 분석하겠습니다...

# (작업하는 동안 업데이트가 완료됨)
orbitron> Hello
AI: Hello! How can I help you?

# (Downloading v0.1.13 in background...)

orbitron> Analyze the project
AI: Sure, I'll analyze the project...

# (Update completes while you work)
3단계: 재시작 시 자동 적용
Step 3: Automatic Application on Restart

다음 번에 Orbitron을 실행하면 최신 버전이 적용되어 있습니다!

Next time you run Orbitron, the latest version will be applied!

$ orbitron --version
v0.1.13  # 최신 버전으로 업데이트됨!
$ orbitron --version
v0.1.13  # Updated to latest version!

얼마나 자주 체크하나요?

How Often Does It Check?

6시간마다 한 번씩 업데이트를 확인합니다.

It checks for updates once every 6 hours.

  • API 서버에 부담을 주지 않습니다
  • 네트워크 사용량을 최소화합니다
  • 하루에 최대 4번만 체크 (대부분 눈치채지 못합니다!)
  • Does not burden the API server
  • Minimizes network usage
  • Maximum 4 checks per day (you won't even notice!)

자동 업데이트 설정하기

Setting Up Auto-Update

초기 설정 (설치 시)

Initial Setup (During Installation)

처음 Orbitron을 설치하면 자동 업데이트 설정을 물어봅니다:

When you first install Orbitron, it asks about auto-update settings:

$ curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Auto-Update Configuration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Would you like to enable automatic updates?
You can change this setting later with: orbitron config set autoUpdate <true|false>

Enable auto-update? (Y/n):
  • Y, yes, 또는 Enter: 자동 업데이트 활성화 (권장)
  • N 또는 n: 수동으로 업데이트
  • Y, yes, or Enter: Enable auto-update (recommended)
  • N or n: Update manually

언제든지 변경 가능

Change Anytime

설치 후에도 언제든지 설정을 변경할 수 있습니다:

You can change settings anytime after installation:

# 자동 업데이트 활성화
orbitron config set autoUpdate true

# 자동 업데이트 비활성화
orbitron config set autoUpdate false

# 현재 설정 확인
orbitron config get autoUpdate

# 모든 설정 보기
orbitron config list
# Enable auto-update
orbitron config set autoUpdate true

# Disable auto-update
orbitron config set autoUpdate false

# Check current setting
orbitron config get autoUpdate

# View all settings
orbitron config list

환경 변수로 임시 제어

Temporary Control with Environment Variables

개발 중이거나 특정 세션에서만 자동 업데이트를 끄고 싶다면:

If you're developing or want to disable auto-update for a specific session:

# 현재 세션에서만 자동 업데이트 활성화
export ORBITRON_AUTO_UPDATE=true

# 현재 세션에서만 자동 업데이트 비활성화
export ORBITRON_AUTO_UPDATE=false
# Enable auto-update for current session only
export ORBITRON_AUTO_UPDATE=true

# Disable auto-update for current session only
export ORBITRON_AUTO_UPDATE=false
우선순위
Priority

설정이 여러 곳에 있을 때 다음 순서로 적용됩니다:

When settings exist in multiple places, they are applied in this order:

1. ORBITRON_AUTO_UPDATE 환경 변수 (최우선)
   ↓ (설정 안 됨)
2. ~/.orbitron.json의 autoUpdate 설정
   ↓ (설정 안 됨)
3. 기본값 (설치 방법에 따라 다름)
1. ORBITRON_AUTO_UPDATE environment variable (highest priority)
   ↓ (not set)
2. autoUpdate setting in ~/.orbitron.json
   ↓ (not set)
3. Default value (depends on installation method)

강제 업데이트는 어떻게 되나요?

What About Forced Updates?

치명적인 보안 취약점이 발견되면 강제 업데이트가 필요할 수 있습니다.

If a critical security vulnerability is discovered, a forced update may be required.

강제 업데이트 동작

Forced Update Behavior

보안 패치가 포함된 버전을 실행하지 않으면 Orbitron이 시작되지 않습니다:

If you don't run a version with the security patch, Orbitron won't start:

$ orbitron

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
              ⚠️  Critical Security Update Required
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Current version: v0.1.10
Required version: v0.1.13

This update is required for security and stability.
Your work in progress has been automatically saved.

How to update:
  curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

Installation guide:
  https://alphacode-ai.gitbook.io/orbitron/user-guide/installation

Exiting to prevent running a vulnerable version.

왜 강제로 종료하나요?

Why Force Exit?

  • 보안 우선: 취약한 버전으로 계속 실행하는 것보다 안전합니다
  • 명확한 안내: 어떻게 업데이트하는지 친절하게 알려줍니다
  • Security First: Safer than continuing to run a vulnerable version
  • Clear Guidance: Provides friendly instructions on how to update

자동 업데이트를 껐어도 적용됩니다

Applies Even If Auto-Update Is Disabled

환경 변수나 설정 파일로 자동 업데이트를 껐어도, 보안 업데이트는 무시할 수 없습니다.

Even if you disabled auto-update via environment variables or config file, security updates cannot be ignored.

업데이트 방법

How to Update

macOS / Linux:

macOS / Linux:

curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

Windows (PowerShell):

Windows (PowerShell):

irm https://orbitron.alphacode.ai/api/install.ps1 | iex

자주 묻는 질문

Frequently Asked Questions

Q1. 업데이트 중에 Orbitron을 사용할 수 있나요?
Q1. Can I use Orbitron during an update?

A: 네! 백그라운드에서 다운로드되므로 작업에 전혀 지장이 없습니다.

A: Yes! It downloads in the background, so your work is not disrupted.

$ orbitron
orbitron> 코드 리뷰해줘
# (백그라운드 업데이트 중...)
AI: 네, 코드를 리뷰하겠습니다...
# (작업 계속 가능)
$ orbitron
orbitron> Review the code
# (Background update in progress...)
AI: Sure, I'll review the code...
# (Work continues)
Q2. 인터넷 연결이 안 좋으면 어떻게 되나요?
Q2. What if my internet connection is poor?

A: 다음 번 실행 시 다시 시도합니다. 일시적인 네트워크 오류는 자동 업데이트에 영향을 주지 않습니다.

A: It will retry on the next run. Temporary network errors don't affect auto-update.

Q3. 업데이트가 안전한가요?
Q3. Is the update safe?

A: 네! 여러 안전 장치가 있습니다:

A: Yes! There are multiple safety measures:

  • 체크섬 검증: 모든 바이너리는 체크섬으로 검증됩니다
  • 충돌 방지: 여러 프로세스가 동시에 업데이트하는 것을 자동으로 방지합니다
  • 자동 롤백: 업데이트 실패 시 이전 버전이 보존됩니다
  • Checksum Verification: All binaries are verified with checksums
  • Conflict Prevention: Automatically prevents multiple processes from updating simultaneously
  • Automatic Rollback: Previous version is preserved in case of update failure
Q4. 특정 버전을 설치하고 싶어요!
Q4. I want to install a specific version!

A: 설치 스크립트에 VERSION 환경 변수를 지정하면 원하는 버전을 설치할 수 있습니다:

A: You can install a specific version by specifying the VERSION environment variable in the install script:

# macOS / Linux - 특정 버전 설치
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | VERSION=0.1.11 bash

# Windows - 특정 버전 설치
$env:VERSION="0.1.11"; irm https://orbitron.alphacode.ai/api/install.ps1 | iex

# 설치 후 버전 확인
orbitron --version
# v0.1.11
# macOS / Linux - Install specific version
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | VERSION=0.1.11 bash

# Windows - Install specific version
$env:VERSION="0.1.11"; irm https://orbitron.alphacode.ai/api/install.ps1 | iex

# Check version after installation
orbitron --version
# v0.1.11
Q5. 즉시 업데이트하고 싶어요!
Q5. I want to update immediately!

📅 Coming Soon: /update 명령어는 v0.1.14부터 사용 가능합니다.

📅 Coming Soon: The /update command will be available from v0.1.14.

A: Orbitron 실행 중에 /update 명령어를 사용하면 즉시 업데이트할 수 있습니다:

A: You can update immediately by using the /update command while running Orbitron:

$ orbitron
orbitron> /update

✓ Checking for updates...
✓ Downloading update v0.1.13...
✓ Update v0.1.13 installed successfully! Restart to apply.

사용 팁:

Usage Tips:

  • 자동 업데이트의 6시간 쿨다운을 무시하고 즉시 체크합니다
  • 업데이트 중에도 Orbitron을 계속 사용할 수 있습니다
  • 재시작하면 새 버전이 적용됩니다
  • Bypasses the 6-hour cooldown and checks immediately
  • You can continue using Orbitron during the update
  • New version is applied after restart
Q6. 이전 버전으로 롤백하고 싶어요!
Q6. I want to rollback to a previous version!

A: 현재는 UI 지원이 없지만, 수동으로 심볼릭 링크를 변경할 수 있습니다:

A: Currently there's no UI support, but you can manually change the symbolic link:

# 현재 버전 확인
$ orbitron --version
v0.1.13

# 이전 버전으로 롤백
$ cd ~/.local/bin
$ rm orbitron
$ ln -s ../share/orbitron/versions/0.1.12/orbitron orbitron

$ orbitron --version
v0.1.12  # 롤백 완료
# Check current version
$ orbitron --version
v0.1.13

# Rollback to previous version
$ cd ~/.local/bin
$ rm orbitron
$ ln -s ../share/orbitron/versions/0.1.11/orbitron orbitron

$ orbitron --version
v0.1.12  # Rollback complete

또는 특정 버전을 재설치:

Or reinstall a specific version:

# macOS / Linux
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | VERSION=0.1.12 bash
# macOS / Linux
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | VERSION=0.1.12 bash
Q7. 자동 업데이트를 활성화했는데 업데이트가 안돼요!
Q7. I enabled auto-update but it's not updating!

A: 자동 업데이트는 다음과 같이 작동합니다:

A: Auto-update works as follows:

  • 6시간마다 백그라운드에서 자동으로 체크
  • 새 버전이 있으면 자동으로 다운로드
  • 다음 실행 시 자동으로 새 버전 적용
  • Automatically checks every 6 hours in the background
  • Automatically downloads if a new version is available
  • Automatically applies new version on next run

즉, 설정을 활성화했다고 즉시 업데이트되는 것이 아니라, 다음 6시간 체크 주기를 기다려야 합니다.

In other words, enabling the setting doesn't update immediately - you need to wait for the next 6-hour check cycle.

즉시 업데이트하려면:

To update immediately:

# Orbitron 실행 중에 /update 명령어 사용
orbitron> /update
✓ Checking for updates...
✓ Downloading update v0.1.13...
✓ Update installed! Restart to apply.
# Use /update command while running Orbitron
orbitron> /update
✓ Checking for updates...
✓ Downloading update v0.1.13...
✓ Update installed! Restart to apply.

정리

Summary

Orbitron의 자동 업데이트 시스템은 "신경 쓰지 않아도 되는" 경험을 제공합니다.

Orbitron's auto-update system provides a "worry-free" experience.

사용자가 얻는 것

What Users Get

  • 시간 절약: 수동 업데이트 과정 불필요
  • 항상 최신: 새 기능과 버그 수정을 자동으로 받음
  • 작업 방해 없음: 백그라운드 다운로드
  • 선택권 보장: 자동 업데이트 on/off 가능
  • 안전: 체크섬 검증, 자동 롤백, 보안 패치 강제 적용
  • Save Time: No manual update process needed
  • Always Latest: Automatically receive new features and bug fixes
  • No Disruption: Background downloads
  • Choice Guaranteed: Can turn auto-update on/off
  • Safe: Checksum verification, automatic rollback, forced security patches

권장 사용법

Recommended Usage

# 자동 업데이트 활성화 (권장)
orbitron config set autoUpdate true

# 그냥 평소처럼 사용하세요!
orbitron
# Enable auto-update (recommended)
orbitron config set autoUpdate true

# Just use it as usual!
orbitron

보안 중시:

Security First:

자동 업데이트 활성화를 권장합니다. 보안 패치를 놓치지 않습니다.

We recommend enabling auto-update. You won't miss security patches.

시작하기

Getting Started

아직 Orbitron을 설치하지 않으셨나요?

Haven't Installed Orbitron Yet?

# Unix (macOS, Linux)
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

# Windows (PowerShell)
irm https://orbitron.alphacode.ai/api/install.ps1 | iex
# Unix (macOS, Linux)
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

# Windows (PowerShell)
irm https://orbitron.alphacode.ai/api/install.ps1 | iex

설치 시 자동 업데이트 활성화를 선택할 수 있습니다!

You can choose to enable auto-update during installation!

이미 Orbitron을 사용 중이라면?

Already Using Orbitron?

# 1. 최신 버전으로 업데이트
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

# 2. 자동 업데이트 활성화
orbitron config set autoUpdate true
# 1. Update to latest version
curl -fsSL https://orbitron.alphacode.ai/api/install.sh | bash

# 2. Enable auto-update
orbitron config set autoUpdate true

도움이 필요하신가요?

Need Help?

Orbitron과 함께 더 나은 작업 경험을 만들어가세요! 🚀
업데이트는 Orbitron에게 맡기고, 여러분은 작업에만 집중하세요!

Create a better work experience with Orbitron! 🚀
Leave updates to Orbitron and focus on your work!