Skip to content

TernaryCode 0.1.35

Choose a tag to compare

@ilhamnadhif ilhamnadhif released this 17 Nov 09:14

The browser keeps what you are using, and agents open sites without asking.

New

  • Agents open any site at once. No more Allow Once / Always / Block question before a site: agents in TernaryCode open what you ask for directly. Prefer the question? Turn on Ask before agents open a site in Settings → Browser (your lists of allowed sites still apply then).
  • An agent uses the page you already have open. You opened YouTube and ask “play Perfect”: when a page of yours is already on that site and idle (no sound, no form being filled in), the agent works in it instead of opening a second one, and it stays your page. Tell it which tab to use (“use the YouTube tab”) and it uses that one. Agents get browser_tabs: list the pages, pick one, open one of their own (three at most), close one. An agent playing sound hears when another page plays too, so two songs don't play over each other.
  • Pages that are busy don't sleep. A page out of view still sleeps after 10 minutes, but never while it plays sound or video, uses the camera, microphone or screen, has a form being filled in, waits on a dialog or a sign-in pop-up, or downloads. Music in a hidden panel no longer stops after 10 minutes. When memory runs low, idle pages sleep sooner (after a minute).
  • A speaker on the tab of a page playing sound. Click it to mute the page; click again to let it play.
  • Reopen Closed Page (⇧⌘T on macOS, Ctrl+Shift+Alt+T on Windows and Linux; File menu and command palette): the page closed last comes back.
  • Agents' pages close when they're done. Closing an agent's terminal closes its pages too, unless one is in view or playing sound (that one stays, as yours). An agent's page asleep for an hour after its agent ended closes. Agents' pages whose terminal is gone are not brought back when TernaryCode starts. A new agent session in the same terminal hears that its page was left by an earlier one.

Install

macOS (Apple Silicon and Intel): run this in Terminal, or download the .dmg below.

curl -fsSL https://raw.githubusercontent.com/ilhamnadhif/ternarycode/main/scripts/install.sh | bash

Windows: run TernaryCode-<version>-windows-x64-setup.exe (no administrator rights needed), or
unpack the portable .zip.

Linux: the .deb (Debian, Ubuntu, Mint), the .rpm (Fedora, RHEL, openSUSE), or the
.AppImage and the .tar.gz for any distribution, for x86_64 and aarch64 (arm64).

Installed copies update themselves from the app (the .deb and .rpm through a new package).

macOS says “TernaryCode” Not Opened / “Apple could not verify…”? This build is not notarized by
Apple yet, so macOS blocks a .dmg or app downloaded with a browser. Since macOS 15,
right-click → Open no longer gets past it. Do one of these:

  • Use the one-line installer above. Nothing downloaded with curl is blocked.
  • Allow it once: click Done in the warning, open System Settings → Privacy & Security,
    scroll down to Security, and click Open Anyway next to “TernaryCode was blocked…”. Confirm with
    your password, then open it again.
  • Or in Terminal, after dragging the app to Applications:
    xattr -dr com.apple.quarantine /Applications/TernaryCode.app