Browsers, simulators, logs, editors, diffs and files
Besides terminals, a pane can hold a web page, an iOS simulator, a log, a file to edit, a git diff or a folder’s files. They sit in your splits and tabs, and keep running, like any other pane.
Open them from the File and Pane menus, the toolbar’s + and split buttons, the command palette (⌘K), with hmk (most commands open beside the pane you run them in), or let agents open them with Hammock’s MCP tools (tool names below link to the MCP reference).
To show one in place of a pane you have, click the pane’s name and choose from Show. Hammock asks first unless nothing can be lost: a running agent, a program still running, a page, unsaved edits or the last view of a simulator.
Turning a kind of pane off
Section titled “Turning a kind of pane off”To leave one out of Hammock’s menus and agents’ tools, turn it off in Settings ▸ Tools, or in the config file:
browser-enabled = falsesimulator-enabled = falseeditor-enabled = falsediff-enabled = falsefiles-enabled = falselog-enabled = falseSettings ▸ Tools also has Show what agents do in browsers and simulators (agent-presence), which shows an agent’s cursor while it acts in one.
Browser
Section titled “Browser”A browser pane is a real Chromium page. Each Group has its own browser logins and cookies, shared by its browser panes and kept when you quit, so an agent in one Group sees only that Group’s. A browser tab moved to another Group reloads with that Group’s logins. A closed Group’s are deleted once it can no longer be reopened.
Open one with File ▸ New Browser Tab (⇧⌘B) or Pane ▸ Split Right with Browser (⌥⌘B). In a terminal, ⇧⌘-click a link to open it in a browser pane beside it; to make that the default for a plain ⌘-click, change Settings ▸ General ▸ Links ▸ Clicked links open in (link-open).
hmk browser http://localhost:3000 --split "$HMK_PANE_ID"hmk show coverage/index.html # a file, image, PDF or URL beside this pane; again reloads itPane ▸ Back (⌘←), Forward (⌘→) and Reload Page (⌘R) navigate the focused page; a text field on the page keeps ⌘← and ⌘→. Pane ▸ Show DevTools (⌥⌘I) opens Chromium’s DevTools beside the page, and Pane ▸ Open in Default Browser and Copy Address take the page elsewhere. Links a page opens in a new tab go to your default browser unless you set Settings ▸ General ▸ Links that open a new tab (browser-new-tab = hammock); links to other apps (mailto: and so on) ask first.
Agents open pages with browser_open, read them with browser_snapshot, act on them, and use show_output to show you a report.
Simulator
Section titled “Simulator”A simulator pane shows an iPhone, iPad or Apple TV simulator, or an Android emulator, in your layout. It needs Xcode (or the Android SDK) and at least one simulator (or AVD) installed. Open one from the toolbar’s + ▸ Simulator Tab or Pane ▸ Split Right with Simulator:
hmk sim listhmk sim "iPhone 17 Pro" --split "$HMK_PANE_ID"Click to tap, drag to swipe, and type with your keyboard. The Pane menu has Home, Lock, rotation, the software keyboard and screenshots. To move text between your Mac and the device, Send Clipboard to Device (⇧⌘V) puts your clipboard on the device, ready to paste there, and Copy Device Clipboard (⇧⌘C) brings the device’s back; both are buttons in the pane’s header too. Simulators Hammock booted shut down a minute after their last pane closes, unless you turn off Settings ▸ General ▸ Shut down simulators when their last pane closes.
An Apple TV has no touch screen: drive it with the Siri Remote beside it, which Pane ▸ Show Remote (⌃⌘R) hides and shows. With the pane focused, the arrow keys are the clickpad, Return is Select, Escape is Back and Space is Play/Pause, sent as the remote sends them; other keys type. Hold a button for a long press. The Pane menu also has the remote’s Play/Pause, volume, Mute and Siri.
An Android emulator opens the same way: your Android Virtual Devices are listed under Android and Android TV (hmk sim avd:Pixel_9). Hammock boots the AVD with no window, or shows its emulator if one is already running with -grpc-use-token. One running in Android Studio can’t be driven from Hammock: its pane offers Restart in Hammock, which stops it in Studio and boots it here. If the emulator stops, its pane offers Start in Hammock. Hammock finds the Android SDK where Android Studio puts it, or set android-sdk in the config file. The header has Back, Home and Recents, and Escape is Back. An Android TV has a remote beside it, driven like an Apple TV’s.
Agents open one with sim_open, then look, tap, type, and install, launch and debug apps, and drive an Apple TV or Android TV with sim_remote.
Design notes
Section titled “Design notes”To show an agent what you mean on a page or a simulator’s screen, pin notes on it. Pane ▸ Pin Notes (⇧⌘P), or the pin button in a browser’s address bar or a simulator’s header, turns pinning on: click to drop a numbered pin and write what should change there. On a page, the element under the pointer is outlined as you move. Click a pin to change its note or delete it, and right-click a page for Add Note Here. Esc stops pinning; the pins stay until you send or clear them.
Send to in the bar along the bottom sends every pin to one agent as a single message: a screenshot with the pins drawn on it, and each note with what’s under its pin (a page’s element, with its selector, HTML and styles, or an app’s accessibility element). If the screen changed between pins, the agent gets a screenshot of each. The notes go to the agent that opened the pane, else the Group’s most recently active one; pick another from the button’s menu. While the agent is waiting on you, they’re held until it isn’t.
A log pane follows a file, this Mac’s unified log, a simulator’s log, an Android device’s logcat or a command’s output, and splits it into entries you can filter by text, /regex/, level, process or tag. Open one with File ▸ New Log Tab… (⌥⌘L), or Pane ▸ Show Simulator Log beside a simulator (an emulator’s is its logcat). Pane ▸ Toggle Log View (⇧⌘A) shows the raw output.
hmk log file ./server.loghmk log macos --process MyApp --level debughmk log -- pnpm devAgents open one with log_open and read it, filtered, with log_read.
Editor
Section titled “Editor”An editor pane shows a text file, with syntax highlighting, find and go to line. Hammock keeps its buffer, so unsaved edits survive closing the app, and you can edit the same file from your Mac, your phone or the TUI.
Open one with File ▸ New Editor Tab… (⌥⌘E), Pane ▸ Split Right with Editor… (⌃⌘E) or Quick Open… (⌘P), which ask which file, or New Empty File (⌘N) for an untitled one; or with File ▸ Open File… (⌘O):
hmk edit src/main.go:42-60 # beside this pane, lines 42 to 60 selectedWhen a program changes the file on disk, the pane reloads it, or offers to if you have unsaved edits. When the file is renamed or moved, in the Finder or by git or an agent, the pane follows it; moved to the Trash, it shows as missing. File ▸ Rename… renames it from the pane, unsaved edits and all, and Reveal in Finder shows it there. Settings ▸ Editor sets wrapping, line numbers, indentation, the font and Vim keys; a file’s .editorconfig wins over them. All the keys are in the config reference.
Markdown preview
Section titled “Markdown preview”A Markdown file can be read rendered: the buttons in the pane’s header switch between its source, the source with the preview beside it, and the preview alone (View ▸ Show Preview, ⇧⌘V). The preview follows your edits, and an agent’s changes to the file, as they happen, and Find (⌘F) searches it. Tick a task’s checkbox to tick it in the file; a link to another file opens it beside. In a Group shared with you to view, the view you pick is yours alone. On a phone, Show Preview is in the pane’s menu; the TUI shows the source.
hmk edit docs/plan.md --view previewObsidian notes render as Obsidian shows them: [[links]] to notes anywhere in the vault (the nearest folder above the note with .obsidian in it, else the note’s own folder), headings and ^blocks; ![[embeds]] of images, sized with |300 or |300x200, and of other notes, whole or one section, in a box linking to them; callouts (> [!tip], folded with - or +), ==highlights==, #tags, and %%comments%% hidden. A link to a note that doesn’t exist shows dimmer. Tasks in an embedded note are ticked in that note, not here.
Agents use editor_open to show you code with the lines selected, or a Markdown file rendered, and editor_read to see what you’ve selected, so you can ask about “the lines I’ve selected”.
A diff pane shows a git diff like a pull request’s Files Changed, and lets you add comments to send to an agent.
View ▸ Review Changes (⌥⌘R) shows what a pull request from this branch would, uncommitted changes included. File ▸ New Diff Tab… compares a branch, uncommitted changes, a commit or a range (in the TUI, the palette’s New Diff Tab… and Split Right with Diff…, with commits picked from a list):
hmk diff # this branch against its basehmk diff main...feature --split # a range, side by sideLayout, whitespace and wrapping are in the pane’s settings button, with defaults in Settings ▸ Editor.
Reviewing an agent’s work
Section titled “Reviewing an agent’s work”Comment on lines as you would on a pull request. When you send them, your comments go to the agent that opened the diff, or another in the Group that you pick. The agent answers in the threads and marks each addressed; only you resolve one. Close the diff with threads open and they come back when you open it again.
Finish Review (q), in the bar once an agent is waiting on the diff or you’ve commented, is how you tell the agent you’re done: pick Approve, Request Changes or Comment, add a summary if you like, and it goes to the agent with any comments not yet sent, then the diff closes. A comment on its own is only ever about its lines; only finishing speaks for the whole diff. Closing a diff with comments not yet sent asks whether to finish first.
Tick Viewed on a file’s header (Space) to fold it away and move on to the next; the bar counts how many you’ve viewed. A file that changes after you’ve viewed it is unticked, so you look at it again.
The keyboard
Section titled “The keyboard”A diff pane works from the keyboard, with keys like revdiff’s and GitHub’s: j and k (or the arrows) move line by line, n and p from file to file, ] and [ from change to change, and Return comments on the line. Tab moves between the file list and the diff. Press ? (or the keyboard button in the pane’s bar) to see them all. e opens the file at the cursor in your editor and, once you close it, refreshes the diff where you were: a Hammock editor pane unless you pick another in Settings ▸ Editor (VS Code, Zed, your shell’s $EDITOR in a pane beside the diff, or a command of your own). The Diff submenu of the View menu has the same commands, to give shortcuts of your own in Settings ▸ Keyboard.
Agents open a diff with diff_open and read your comments with review_threads. An agent without the MCP tools uses hmk review from its shell.
A files pane shows a folder’s files as a tree, like an editor’s file explorer. It starts at the Group’s folder, and follows it to another project; folders you open stay open, on every device and after a restart. It refreshes as files change, and colours them by their git status, with files git ignores dimmed.
Open one with Pane ▸ Split Left with Files (⇧⌘E) or File ▸ New Files Tab. Pane ▸ Reveal in Files shows the focused editor’s file in it.
hmk files # on this pane's left, the Group's folderhmk files --reveal src/main.go # show a file in this tab's files paneDouble-click a file to open it: text in an editor beside the tree (the next file you open replaces it), web pages, images and PDFs in a browser pane, anything else in its own app. Right-click for Open In, Open Terminal Here, Reveal in Finder and Copy Path, and to rename (F2), create, duplicate or move files to the Trash (⌘⌫); ⌘Z undoes the last of those. Drag files onto a folder to move them (⌥ copies), onto a terminal to type their paths, onto an editor to open one there, or out to the Finder; files dragged in from the Finder are copied (⌘ moves them). Type to filter the folders that are open. The bar goes up a folder, back to the Group’s folder, and shows hidden files.
Agents show you a file in one with files_open.
These docs describe Hammock 2026.11.0. What's new