Skip to content

Releases: jugol/Melatonin

Melatonin 0.1.6

Choose a tag to compare

@jugol jugol released this 08 Oct 08:00
  • Auto mode picks up again after a safety stop. If low battery or heat paused it while an agent was working, it now comes back on by itself once you plug in, lower the battery limit or your Mac cools down. Before, it stayed off until the agent finished.
  • The menu says what it's waiting for: "resumes when you plug in" or "resumes once it cools down".

Melatonin 0.1.5 updates to this version by itself. Signed with a Developer ID and notarized by Apple.

Melatonin 0.1.5

Choose a tag to compare

@jugol jugol released this 06 Oct 06:48
  • Updates itself. Melatonin now checks for new versions with Sparkle and shows a small badge in the menu when one is ready, or choose ⋯ › Check for Updates…. This is the last DMG you'll need to download.
  • Sharper agent detection. Melatonin reads Claude Code and Codex session logs, so long model replies, quiet commands and background subagents count as work, and it knows when a turn is really over. Agents waiting on a question for you don't keep the Mac up.

Signed with a Developer ID and notarized by Apple.

Melatonin 0.1.4

Choose a tag to compare

@jugol jugol released this 03 Oct 16:56

Signed and notarized. Melatonin now opens like any other app: no "unidentified developer" warning, no xattr step.

New

  • Moon · Auto · Lamp. One three-way switch under the lamp: Off lets your Mac sleep, Auto keeps it awake only while agents work, On keeps it awake until the timer ends and then goes back to where you were.
  • While you were away. Come back to a summary in the notch: how long it stayed awake, which agents worked and for how long, Wi-Fi drops it recovered from, and the battery it used.
  • Stay online, your order. Pick a priority list from your saved networks; when the internet drops, Melatonin joins the first one in range. Needs Location access (macOS only shows Wi-Fi names to apps that have it) and your OK once to use the passwords macOS already saved. If none works, it restarts Wi-Fi as before.

Fixed

  • A keychain prompt nobody can see (lid closed) no longer stalls reconnecting.

Updating

Because the signature changed, macOS asks once more for Location access, and may ask for your login keychain password the first time a saved Wi-Fi password is used. After this, updates keep both.

Melatonin 0.1.3

Choose a tag to compare

@jugol jugol released this 29 Sep 15:07

Download

  • Melatonin.dmg
  • Homebrew: brew upgrade --cask melatonin
  • The helper is updated in this release, so macOS asks for your password once.

What's new

  • Stay online now actually reconnects. Newer macOS hides Wi-Fi names from apps without Location access, so joining a network by name never worked. Melatonin now restarts Wi-Fi after about 20 seconds offline, and macOS rejoins the best saved network in range, such as your phone's hotspot. Test now shows it working.
  • Hotspot tips: save the hotspot once, turn on "Automatically join this network", and on Android turn off auto-off when no devices are connected.
  • No more napping: macOS no longer throttles Melatonin while it keeps your Mac awake with the lid closed.
  • Activity log: open it from ⋯ › Show activity log to see what happened while you were away.
  • Crash fix: the panel window no longer crashes while the lamp animates.
  • Menu bar icon hidden behind the notch? Open Melatonin again (Spotlight works) or click the gear in the expanded notch to get the full panel in a window.

한국어

  • 연결 유지가 실제로 다시 연결돼요. 최신 macOS는 위치 권한이 없는 앱에 Wi-Fi 이름을 숨겨서, 이름으로 연결하는 방식은 동작하지 않았어요. 이제 인터넷이 20초쯤 끊기면 Wi-Fi를 다시 켜서 macOS가 범위 안의 저장된 네트워크(휴대폰 핫스팟 등)에 다시 붙게 해요.
  • App Nap 차단, 활동 기록(⋯ › 활동 기록 보기), 창 크래시 수정
  • 메뉴바 아이콘이 노치에 가려지면 Melatonin을 다시 실행하거나 노치의 ⚙︎를 눌러 창으로 열 수 있어요.

Melatonin 0.1.2

Choose a tag to compare

@jugol jugol released this 29 Sep 06:53

Download

What's new

  • Hermes and Codex are detected reliably. Both spend most of a task waiting on the model, so CPU alone missed them. Melatonin now also reads their own activity logs.
  • Every working agent is shown, for example "Claude Code and Hermes working".
  • Auto mode explains itself. It's now called "Auto-on while agents work". Its status line says what it's doing, and the ⓘ button shows how it works: agent starts → awake → done + 3 min → sleep resumed.
  • An Auto badge appears while auto mode is keeping your Mac awake, and the notch confirms when you switch it on.

한국어

  • Hermes·Codex 감지 개선: 모델 응답을 기다리는 동안 CPU를 거의 안 써서 놓치던 문제를, 각자의 작업 로그를 함께 읽는 방식으로 해결했어요.
  • 작업 중인 에이전트를 모두 표시: "Claude Code 및 Hermes 작업 중"처럼 보여요.
  • 자동 모드 설명 강화: 이름을 "에이전트가 일하면 자동 켜기"로 바꿨어요. 상태 설명이 바뀌고, ⓘ 버튼에서 동작 흐름과 켰을 때·껐을 때 차이를 볼 수 있어요.

Melatonin 0.1.1

Choose a tag to compare

@jugol jugol released this 29 Sep 06:17

Download

  • Melatonin.dmg: open it and drag Melatonin to Applications
  • Homebrew: brew install --cask jugol/tap/melatonin, or brew upgrade --cask melatonin
  • Universal binary (Apple silicon and Intel), macOS 14 Sonoma or later

Not notarized yet: if macOS blocks the first launch, open System Settings › Privacy & Security and click Open Anyway.

What's new

  • Pick your language in the app. Melatonin still follows your macOS language by default. Choose any of the 12 supported languages under ⋯ › Language. The app restarts to apply it, and keep-awake picks up where it left off.
  • The README is available in 12 languages.
  • Homebrew upgrades keep the helper, so they no longer ask for your password. brew uninstall --zap --cask melatonin removes the helper too.
  • The helper restores normal sleep if launchd stops it while sleep is disabled.

한국어

  • 앱에서 언어 선택: 기본은 macOS 언어를 따르고, ⋯ › 언어에서 12개 언어 중 고를 수 있어요. 바꾸면 앱이 다시 시작되고, 깨어 있던 상태는 그대로 이어져요.
  • README 12개 언어 번역
  • Homebrew 업그레이드 시 헬퍼 유지: 업그레이드할 때 비밀번호를 다시 묻지 않아요. 헬퍼까지 지우려면 brew uninstall --zap --cask melatonin을 쓰세요.

Melatonin 0.1.0

Choose a tag to compare

@jugol jugol released this 29 Sep 05:21

Close the lid. Keep the agents running. Melatonin keeps your MacBook awake with the lid closed — on battery, no external display — while Claude Code, Codex and friends finish their work.

Download

  • Melatonin.dmg: open it and drag Melatonin to Applications
  • Homebrew: brew install --cask jugol/tap/melatonin
  • Universal binary (Apple silicon and Intel), macOS 14 Sonoma or later

First launch: this build isn't notarized by Apple yet, so macOS stops the first launch. Open System Settings › Privacy & Security and click Open Anyway, or run xattr -dr com.apple.quarantine /Applications/Melatonin.app.

What's in 0.1.0

  • Lid-closed keep-awake through a tiny privileged helper (pmset disablesleep), with one password prompt the first time
  • Lives in your notch: a glowing lamp and countdown while awake, hover to expand. On displays without a notch it hangs from the menu bar.
  • Menu bar switch with 1, 2, 4 and 8 hour timers, or until you turn it off
  • Auto for AI agents: stays awake only while Claude Code, Codex, Hermes, OpenCode, T3 Code, Gemini CLI, Cursor Agent, Amp, Goose or Crush is actually working
  • Stay online: pick backup networks from your saved Wi-Fi, set their priority, mark your phone's hotspot. If the internet drops while awake, Melatonin joins the next one.
  • Safety: battery floor, heat guard, and normal sleep restored automatically if the app quits, crashes or is killed, or the helper is stopped
  • 12 languages: English, 한국어, 简体中文, 日本語, Español, Français, Deutsch, Português (Brasil), Русский, العربية, हिन्दी, Bahasa Indonesia

한국어 요약

뚜껑을 닫아도 맥북이 잠들지 않게 해주는 메뉴바 앱의 첫 릴리스예요. 노치 알약 UI, 타이머, AI 에이전트 자동 감지, 연결 유지(Wi-Fi·핫스팟 자동 전환), 배터리·발열 안전장치를 담았어요. 첫 실행이 막히면 시스템 설정 › 개인정보 보호 및 보안 › 그래도 열기를 눌러주세요.