One event format, two applications

This Skeleton Crew entry starts with a small Swift library called SessionEvents. It reads JSON Lines emitted by local coding tools. Bangs uses the events as they arrive to update a native macOS panel. Session Timeline reads a recording from standard input and shows the order of events, which tool ran, and when the session ended. Its output leaves out prompts and tool arguments.

Both applications have their own directories and entry points in the public source repository. Try the terminal app from the repository root with the bundled sample:

swift run session-timeline < samples/kiro-session.jsonl

The example follows one Kiro session from start, through a file read, to completion. No account or live agent is required to replay it. Kiro IDE used the repository's requirements and steering files to extract the shared parser, implement the terminal app, and write tests for compatibility and malformed input. The 16-second notch demo with English captions shows the other application in use.

Why the notch?

When three coding agents are running in different terminals, a quiet window can mean two different things. The agent might still be working, or it might have spent the last ten minutes waiting for a decision. Bangs puts that distinction at the top of the Mac screen. Its name comes from the Chinese nickname for the MacBook notch, the fringe of a haircut.

Following a session

Start a coding agent with its Bangs hook enabled. Its logo appears to the left of the notch. Moving bars on the right mean it is working, orange signals a request for attention, and a green check marks a finished turn. A small count shows when other sessions are active. On an external display or a Mac without a notch, the same information appears in the menu bar. The icon also uses shape and motion to distinguish states, and respects Reduce Motion.

Click to see the project, prompt, current tool and elapsed time. Select a session to return to its terminal. For supported agents, you can inspect the command or edit and allow or deny the request in the panel. Kiro CLI reports progress through its hooks and keeps permission decisions in the terminal. When a turn finishes, Bangs can show the final response. You can also search local session history and resume a previous conversation.

What else fits there?

The panel can search for files by name, keep a searchable clipboard history, format JSON, capture a window or scrolling region, and recognize English or Chinese text on screen. Drag a file to the notch to hold it until you need it in another app. A focus timer quiets completion notices while keeping approval requests visible. Meeting reminders, a keep-awake timer, and CPU and memory indicators share the same space. Each tool can be hidden or reordered.

How it works

Bangs is a native Swift application built with AppKit and SwiftUI. A small helper receives lifecycle events from each supported coding tool and forwards them over a Unix socket on the same Mac. The app updates the session list and, where the tool supports it, returns the user's permission decision. If Bangs is closed, its helper exits quietly. Installing an integration adds Bangs' entries alongside the user's existing hooks and backs up the configuration first.

A design challenge was deciding which session deserves the few pixels beside the notch. A waiting approval takes priority over ordinary activity. The menu bar has even less space, so a single glyph combines an outer ring, a face and a dot per session. The ring communicates overall activity and the dots let you count outstanding work. During a focus interval, an ordinary completion can wait until the break.

Try it on a Mac

  1. Use an Apple Silicon Mac running macOS 14 or later. Download the arm64 ZIP from Bangs releases, unzip it, and move Bangs.app to Applications. The release is locally signed. On first launch, macOS may ask you to review it in System Settings under Privacy & Security.
  2. Open Bangs. Click its notch or menu-bar icon, or press Option–Command–B. No Bangs account is required. To try it without an agent, open the focus timer, start it and collapse the panel to see the countdown.
  3. To try session monitoring, open Bangs settings, select an installed supported CLI and install its hook. Start a fresh CLI session and ask it to inspect a local sample folder. Watch the indicator change while it works and when it finishes. Click the session to return to its terminal.

Bangs stores session and tool data on the Mac. Optional network features include checking GitHub for a new release and sending selected text to a translation service configured by the user.

Built With

Share this project:

Updates

Submission history