Skip to content

Projects and git

A project is a folder that a window is about. Its files stay in the sidebar, new tabs start in it, and Next Term reopens it the next time you launch, or lists it in the Welcome window if you choose. The sidebar is also where you see, at a glance, what your agents have changed.

The project sidebar: branch main with +3 −1 at the top, the folder src marked +3 −1, the changed file app.txt in blue with +3 −1, and AGENTS.md and README.md with their file icons.

  • Open a project: File › Open Project… (⌘O) brings up the Welcome window with the keyboard in its search: type a few letters of a project and press ↩︎ (see The Welcome window), or press ⌘O again or click Open Project… to choose a folder. The project opens in a new window or in the one you pressed ⌘O in, as you choose. Agents can open projects too, through MCP. From another terminal, run nxtrm . (see The nxtrm command). You can also drop a folder on Next Term’s Dock icon, or run open -a "Next Term" ~/Code/app.
  • New tabs open in the project by default (Settings › Terminal › New tabs changes it). You can still cd anywhere.
  • At launch: a launch that names a folder or file, from nxtrm, a drop on the Dock icon or Finder’s Open With, opens it, in front of any windows that come back. Any other launch resumes where you left off, the default in Settings › General: it brings back your windows, tabs and splits in their folders, with their scrollback, and lets agents that support it pick up their conversation. With nothing to bring back, as at the first launch, it shows the Welcome window. With Show the Welcome window chosen, every launch shows it; with Open a new terminal, it opens a window with a shell. With every window closed, a click on the Dock icon opens the most recent project under Resume, shows the Welcome window under Show the Welcome window, and opens a window with a shell under Open a new terminal.
  • Window titles lead with the project: “shop ▸ fix-login — claude” for an agent in a worktree’s window, “shop — app.ts” while you edit, and with no project the tab’s folder or server, “~/Downloads — vim” or “web-1 — app”. The Window menu, Mission Control and VoiceOver read them, so they tell your windows apart.
  • The window column: with two or more windows open, every window shows a quiet 24-point rail at its outer edge, on the project sidebar’s side unless View › Window Column Position › Right puts it on the right with the sidebar on the left, as the folded terminal does. At its top, below the traffic lights, is the count of windows; under it, a dot for each open window in the order they opened, a worktree’s under its repository’s, and at its foot the key that hides it. At rest the dots are a quiet grey; while the pointer is on the rail they fade into their projects’ colours. A window where an agent needs you or failed shows that mark in place of its dot, in colour; nothing else stands out, and your own window’s dot sits in a darker well, as the tab you are in does. A click on a dot brings that window forward as it was. Rest the pointer on the rail for a moment and the list opens out of it over your work: every dot, the count and your window’s place stay where they are, and each window’s name comes out beside its dot, with its agents’ marks at the row’s end (a count before its mark, as in ⌘O). A worktree under its repository shows its own part, without the repository’s name in front; a window with no project goes by its folder; and windows with the same name get a dim word after it, the folder each is in or else what is running in it. An arrow on a repository’s row folds its worktrees’ windows into it, in every window and on the rail, the row counting their marks so nothing that needs you is hidden; a thin guide runs beside them while they show, and Next Term remembers what you fold. When the windows don’t all fit, the last row offers All Windows… ⌘O, and Hide Column ⌃⇧⌘S is at its foot. It moves nothing and never takes the keyboard. Right-click the rail for Pin Window Column (Unpin Window Column while it is pinned, as a double-click does: it keeps the column open in every window, or folds it back), Collapse Window Column, Move to the Left Edge (or Right), Merge All Windows and Hide Window Column, and its top row adds Project Color (see Right-click a bar). Passing over the rail opens nothing, nor does a pointer resting still as a window comes forward, and moving away (or ⎋) closes it. A double-click on the rail, or ⌃⌘S, pins the column open in every window to show each window’s name and marks, and another folds it back; a window too narrow for it folds it, then hides it, until it is wider. When it is pinned open, the editor and terminal give it the room and the project sidebar keeps its width; drag its inner edge to make it wider or narrower in every window (140 to 360 points), and double-click the edge for the default 180. Drag the edge in past 70 points, half the narrowest, and the column snaps into the rail, as a Mac sidebar collapses; drag back out in the same drag and it opens again at the pointer. Let go while it is folded and every window folds it, keeping the width you had for the next time it opens. The bars beside the traffic lights start 16 points past them, so ⌘B is clear of the green light. View › Hide Window Column (⌃⇧⌘S), or Settings › General, turns it off, and the same key brings it back. With it off and at least two more windows open than when you hid it (five at least), Next Term offers it once, two weeks on at the soonest; with it on and five windows open, it says once how to hide it. An agent can show, hide, fold or unfold it with set_layout, after you approve.
  • At quit: with a terminal window open, ⌘Q asks Quit Next Term?, says what can come back, and has the checkboxes Reopen them next time (checked to begin with) and Don’t ask again, and the answer becomes the setting. When it already asks about unsaved files or about work that quitting stops, the checkbox is in that dialog instead. Return doesn’t quit, and Cancel keeps Next Term open. See Resume where you left off.
  • Open Recent (in the File menu) lists up to 10 recent projects, with Clear Menu, which also takes the projects that aren’t open out of the Welcome window’s list. The Dock icon’s menu lists them too, with New Window, and above them the windows with an agent waiting for you (see Go to the next agent needing you).
  • Close Project (in the File menu) closes the window, asking first if something is still running in it. When the last project closes, or the last window goes with its last tab, the Welcome window appears. Open it any time from Window › Welcome to Next Term.

The first time a new install opens, a small sheet asks How do you like to work?, with three pictures:

  • IDE: the project folder on the left, the terminal in the middle, windows on the right.
  • Terminal: windows and the project folder on the left, the terminal on the right.
  • Agents: the project folder on the left, the terminal’s tabs listed down the side, windows on the right.

Click one to lay out every window that way, or Skip (↩) to keep the usual layout. It never asks again, and never after an update. Choose again any time in Settings › General › Choose a Layout…, or ask an agent to set Next Term up your way.

The Welcome window is where you switch projects and windows from the keyboard. On the left, one list holds your projects and open windows and, under Servers, the hosts you saved for remote tabs; the right side shows the one you choose. Each time the window shows, from ⌘O, a launch or Window › Welcome to Next Term, the keyboard is in its search field, with any text there selected, so you can type at once. It comes up over the window you pressed ⌘O in, on that window’s display, and dims nothing: the windows behind it stay as they are, and a click brings one forward.

What it lists. Open projects come first, each marked with a filled dot in the project’s colour (a closed project has a ring), the one whose window was in front last at the top. The Projects heading counts them (“3 open”), and a project open in more than one window says how many (“2 windows”). The projects you used before follow, the one used last first, however they were opened: from Open Recent, nxtrm or the Dock icon, by an agent over MCP, in a worktree window, or by a restore after an update, a quit or a crash. Each row shows the folder the project is in and its branch; a linked worktree reads as its window does, “myapp ▸ feature-x”. While the search is empty, Servers shows up to three of your saved hosts, the one you connected to last first.

Every open window has a row, with its agents. A project’s row goes to its window in front last, and each of its other windows has a row of its own under it, titled as the window is and marked “another window”. A window with no project has a row too, among the open projects by when you used it: New Terminal’s with a terminal in place of the dot and “No project” under its title, and one whose tab in front is on a server with a server and its ssh destination. At the right of each row are its window’s agents, with the marks the tab bar shows (the amber “!”, the red cross, the green check, and the spinner unless View › Agent Spinner is Off), and a lost connection’s server mark, each with a count when more than one tab shows it. So ⌘O shows at a glance which window needs you.

Searching. Type to narrow the list. It looks in each project’s name, its folder (as ~/Code/shop), its branch and a worktree’s or a window’s title, and in every server you saved, by name and ssh destination, not only the three shown. Every word you type has to appear, in any order, and case and accents are ignored. A match at the start of a name comes first, then one at the start of a word in the name, then one anywhere in it, then one in the folder, branch or destination. A project in your home folder is searched from ~, so your user name doesn’t match every project. With no match the list says so, and ↩︎ does nothing.

Keys. While the keyboard is in the search or the list:

  • ↓ and ↑, or ⌃N and ⌃P, move through the projects and on into the servers; Page Down and Page Up move a page. The right side follows the selection.
  • ↩︎, or a double-click, goes to the selection. An open project’s window comes forward, the one you were in last when it has several, and a window’s own row brings that window forward; a closed project opens as described in Where a project opens; a server goes to its own window (one with no project and its tab in front on that server), the one you were in last, and opens a window with a tab on it when none is open. The button on the right says which: Go to Window, Open Project or Connect.
  • ⌘↩︎ opens the selected project in a new window without asking, a second window when it is open already, from another window’s row of it too. On a server it connects in a new window, even with one open on it. On a window with no project it goes to that window, as ↩︎ does.
  • ⌘1–⌘9 go to the first nine rows in the list, windows’ rows included, as ↩︎ would. Hold ⌘ and each of those rows shows its key in place of its branch. These are the keys of Window › Select Tab 1 to 8 and Select Last Tab, so a key you change there changes here too.
  • ⌘⌫, on an empty search, takes the selected project out of the list and out of Open Recent, as Remove from List in a closed project’s right-click menu does; the folder stays as it is, and Edit › Undo (⌘Z) puts the project back where it was. An open project can’t be removed. With text in the search, ⌘⌫ deletes the text, as in any text field.
  • ⎋ empties the search. On an empty search, it closes the window when another Next Term window is open, and does nothing when the Welcome window is the only one; ⌘W closes it then.

A line under the list says what ↩︎, ⌘↩︎ and ⎋ do for the selection. Shown from a terminal window, the selection starts on the other project or window you used last (from a project window with no other open, on the first closed project), so ⌘O then ↩︎ takes you back. Otherwise it starts on the first row, or on the server you last picked in the window.

The three ways in. Open Project… (⌘O), Connect to Server… (⌥⌘T) and New Terminal (⌘N) sit at the foot of the list, one row each, always in that order: a folder to open as a project, a remote tab on one of your servers, or a window with a shell and no project. Each shows the key its menu command has now. With nothing to list yet, as on a first launch, the right side shows the three as cards. At the bottom of the right side, At launch: is the same setting as in Settings › General.

What it keeps. The list keeps your last 50 projects; Open Recent shows 10. A project whose folder is gone is left out, and comes back with the folder, such as one on a drive you mount again. Projects that are only in Open Recent, from before Next Term kept this list or brought over by an import, come after the others, in Open Recent’s order, until you open them again. Clear Menu in File › Open Recent takes the projects that aren’t open out of both lists.

Agent sessions. Choose a project and the right side shows every conversation an agent kept for it, newest first, including the ones started in its subfolders: Claude Code, Codex, Command Code, Gemini CLI, Qwen Code, OpenCode, Cursor Agent and Copilot CLI. Each row has the title (in bold when you named it), the agent, when, the branch and the model, and a mark when the session is open in a tab, or in an agent running elsewhere. Filter by agent at the top: with more than three agents in a folder, the filter is a menu.

  • Resume runs the agent’s own resume command (claude --resume …, codex resume …, gemini --resume …) in a new tab, in the folder the session was started in. See the command for each agent.
  • Go to Tab takes the place of Resume when the session is open in a tab now: it shows that tab rather than start the session a second time.
  • Fork continues a copy and leaves the original as it was: the safe choice while the session is open in another terminal. Gemini CLI, Cursor Agent and Copilot CLI cannot fork from the command line, so their sessions have no Fork.
  • In a project window, Agents › Resume Agent Session… (⌥⌘O) shows the same list as a panel: type to filter, ↩ resumes (or goes to the tab), ⌘↩ forks.

Searching sessions. The Search sessions field under Agent sessions narrows the chosen project’s sessions as you type, within the agent picked in the filter above it. It matches each session’s title, agent, branch and model. Every word you type has to appear, in any order, and case and accents are ignored, the same way the projects search and Resume Agent Session (⌥⌘O) match. It never reads the transcripts. While there is text, the filter’s counts are of the sessions that match, and a search with no match says so. In the field, ↓ and ↑ move through the list, ↩ resumes the selected session (or goes to its tab if it is already open), and ⎋ clears the field. ⌘F goes to the field from anywhere in the window while a project is chosen. Choosing another project, or closing the Welcome window, clears it.

When the folder has sessions, Agent Sessions sits near the top of the project sidebar, under Databases and Services and above Run: the newest five, from any agent, and More… for the whole list (⌥⌘O). A session open in a tab has a running badge.

  • Double-click a session to resume it in a new tab, or to go to the tab it is open in. Right-click (or ⋯) for Resume or Go to Tab, Fork and Copy Resume Command.
  • The group’s ⋯ has Continue Latest for each agent with a session in the folder: the agent’s own command for its latest session there, such as claude --continue or codex resume --last.
  • The list reads again when an agent starts or stops in a tab, and when the window comes to the front, which is when new titles show. While the sidebar is hidden it waits until the sidebar shows again. Refresh Sessions in the group’s menu reads it now.

Each agent keeps its sessions in its own files, and Next Term reads them where the agent puts them:

AgentWhere
Claude Code~/.claude/projects
Codex~/.codex, its state_5.sqlite database
Command Code~/.commandcode/projects
Gemini CLI~/.gemini/tmp, with ~/.gemini/projects.json
Qwen Code~/.qwen/projects
OpenCodeopencode.db in ~/.local/share/opencode, or in $XDG_DATA_HOME/opencode, with the opencode-<channel>.db stores beside it, or the file OPENCODE_DB names, as your login shell sets them; OpenCode 2’s sessions too
Cursor Agent~/.cursor/chats
Copilot CLI~/.copilot/session-state

It reads only what the lists show (titles, dates, branches and models), from the first and last 64 KB of a long conversation or a row of a database, never a whole conversation. Gemini CLI sessions saved before its version 0.39, one JSON file each, are not listed for that reason. For where each agent works, it also reads, once a second for each agent running in a local tab, the folder that agent’s conversation names last: from the end of its Claude Code transcript (found through ~/.claude/sessions), of the Codex rollout its process has open (found through the files that process has open), or from Copilot CLI’s workspace.yaml. That is at most the last 1 MB at first, then only what was added since; it keeps only the folder. It removes anything that looks like a secret from titles, writes nothing, and sends nothing anywhere. Some sessions are left out: sub-agents’, claude -p and codex exec runs, archived ones, and ones where nothing was asked yet. Claude Code and Gemini CLI delete conversations after 30 days unless you change their cleanupPeriodDays and general.sessionRetention settings.

A window nobody has used yet simply becomes the project’s window. Otherwise Next Term asks whether to open the project in a New Window, as a New Tab of this window, or in This Window (in place of its tabs), with Remember my choice. Change the choice later in File › Open Projects In: Ask Each Time, This Window, New Window, New Tab in This Window, or As macOS Prefers, which follows System Settings › Desktop & Dock › “Prefer tabs when opening documents” (Always, or In Full Screen while the window is full screen). Agents can read and change it over MCP as open_projects_in, once you approve on the Mac. Replacing tabs that are still running something asks first and names what would stop.

Project windows can share one window as macOS’s own window tabs, each project keeping its sidebar, terminals and editor:

  • Merge: drag a window’s tab onto another window’s tab bar, or choose Window › Merge All Windows (also in the window column’s right-click menu, merging into the window you clicked). A window shows no tab bar of its own until it has two tabs; View › Show Project Tab Bar shows it, so there is somewhere to drop a tab.
  • Split: drag a tab out of the bar, or choose Window › Move Project to New Window.
  • Switch: ⌃⌘[ and ⌃⌘] (Show Previous Project Tab, Show Next Project Tab), a click on the tab, or View › Show All Project Tabs (⇧⌘</kbd>). ⌘1–⌘9, ⇧⌘[ ⇧⌘] and ⌃⇥ still switch terminal and editor tabs. The window column, ⌘O, ⇧⌘U and the Dock menu bring a merged project’s tab to the front.
  • What a tab shows: the project’s colour, its name (a worktree’s own part, as the window column names it) and a mark while an agent in it needs you or failed. Hover a tab for the window’s full name, which a narrow tab cuts.
  • Close: File › Close Window (⇧⌘W) closes the whole window, every project in it, after one question about what would stop; a project with unsaved files asks about them itself, in front, one at a time. Close Project, or a tab’s ×, closes one project.
  • Stays merged: a quit, a restart or an update brings merged windows back as they were, in the same tab order with the same tab in front, at the same size and place. Windows you kept apart stay apart, whatever “Prefer tabs” says.

While a tab bar shows, whether a drag or Merge All Windows made it, everything in the window’s top row (the terminal and editor tab bars, the sidebar header, the window column’s count) sits below it, and moves back beside the traffic lights when it goes. A project merged behind the one you are in stays there: an agent finishing, asking or opening a tab in it never switches your tab or takes your keyboard; its tab gets a mark instead. A question about closing it, and a notice from it, wait until you bring its tab to the front. The window column keeps a row for every project, with a thin bracket beside the ones merged into this window. Resting the pointer on a tab whose name is cut short shows its full name.

A worktree’s folder opened from its row’s Open in New Window, from nxtrm, by an agent through MCP or from the Welcome window’s list is titled “myapp ▸ feature-x” and isn’t added to Recent Projects; the Welcome window lists it with your other projects. A folder chosen with Open Project… (⌘O) and the sidebar’s Open as Project add it as they add any folder. A worktree removed or forgotten from Next Term leaves Recent Projects.

A window without a project is a plain terminal window. Its sidebar follows the active tab: the tab’s git work tree, or its folder outside one. Your home folder, /, /Volumes and ~/Library are never shown that way: there the sidebar says No project open (see macOS privacy prompts). A remote tab’s folder is on its server, so the sidebar stays on your Mac’s files, and a line under its header says “Files on this Mac”.

Each project’s window has a colour of its own: a soft glow along the window’s top row, strongest behind its buttons and gone about 320 points in, so two windows side by side are told apart at a glance. Text, the terminal, the editor and the file tree keep their colours, and nothing in it moves. An inactive window’s glow is dimmer.

  • Picked once, then kept. The first time a project opens, it gets the colour your open windows use least, from nine quiet colours: Amber, Rust, Olive, Sky, Cobalt, Plum, Violet, Ocean and Grass.
  • A worktree has its repository’s colour, so every worktree window of a project matches. The title (“myapp ▸ feature-x”) and the branch tell them apart.
  • The Welcome window and ⌘O show each project’s dot in its colour, filled while the project is open and a ring when it isn’t.
  • Change it by right-clicking the top row’s empty part, or with View › Project Color: the nine colours, Automatic or None for This Project. Show Project Colors there, or Settings › General, turns them all off and back on, keeping each project’s colour.
  • Nothing is written into the project. The colours are kept in Next Term’s own settings, so a teammate never gets yours.

A window with no project has no colour.

It follows the file you are editing. Open a file with ⌘P, a search result or a link, or switch editor tabs, and the sidebar opens its folders and selects it, while the keyboard stays in the editor. The scope button at the right of the editor’s tabs (View › Editor › Show File in Project Sidebar) does it on demand, and brings the sidebar back if it was hidden.

Toggle it with ⌘B (View › Hide Project Sidebar). Put it on the left or the right with the sidebar’s ⋯ button or View › Project Sidebar Position › Right, and drag its edge to resize it.

  • It is live. Files your agents create, change or delete show up on their own, and commits and checkouts refresh the git state.
  • It stays fast on big projects. Folders are read in the background, and a folder too big to list in full ends with “… 12,345 more items”.
  • It remembers. Switching between tabs in different projects keeps what you had expanded and where you had scrolled.
  • It leaves out what you never open. .git, .svn, .hg and .DS_Store never show. Settings › Editor › Hide leaves out more, by pattern, between commas, read as .gitignore reads them: node_modules or *.log in every folder, /build only at the top of the folder the sidebar shows, out/ only folders, and !keep.log after *.log shows that one file again. Go to File (⌘P) and Find in Files don’t use these patterns: they list the files git does.
  • Hover a row for its full path, git state and line counts.

Colours show each file’s state, and a folder takes the colour of what changed inside it:

ColourState
BlueModified or renamed (a folder that lost a file, too)
GreenAdded
OrangeUntracked
RedConflicted
OliveIgnored
DimmedUnchanged files and folders whose names start with a dot
Red, struck throughDeleted, not yet committed

Line counts sit at the right of each row, like a pull request: +12 −3 for the lines added and removed in a file, or in everything below a folder.

Deleted files keep their rows until the deletion is committed: struck through, where they were, with the lines they had (−10). A folder’s count always adds up to the rows inside it, and a folder deleted whole opens to show what was in it. Double-click a deleted file (or press ⌥⌘G) to see what was removed.

The header shows the branch and the total lines added and removed: main +41 −10. Hover it for the full story, such as “Branch main, tracking origin/main: 2 ahead, 1 behind. 3 modified, 1 added, 2 untracked.” Click the +41 −10 to see those changes, the ones not committed yet, in the Git Diff tab.

When the upstream has commits your branch doesn’t, a blue button with git’s commit mark says how many: Pull 152. Click it to pull them (the same as Update Project). When your branch has commits the upstream doesn’t, it says Push 3; when both have changed, it shows both counts, ↓152 ↑3, and a click asks whether to rebase or merge. When room is short, the header’s line counts make way first (they stay in its tooltip and on the rows), then the branch icon before the name, and only then does the button shorten to ↓152. The commit counts are as of the last fetch, and the button’s tooltip says when that was. Next Term fetches by itself every 10 minutes, so new commits on the remote show up without a click (see Background fetch). While Next Term fetches, pulls or pushes, the mark turns into a spinning sync arrow. A background fetch only spins a button that is already there: it never makes one appear.

The sidebar reads git with --no-optional-locks, so it never holds the index lock while your own git commands, or your agents’, are running. To see a file’s changes in full, press ⌥⌘G, and for every changed file, ⌃⌘G: see Diffs and Git Diff.

The header always names the branch of the checkout the window shows. When the tab with the keyboard runs an agent that works in another checkout of the repository, such as a worktree under .claude/worktrees/, the header adds a dim label after the branch: “this tab: fix/7027-sso”. When the branch was switched under that tab’s chat, by you, a shell tab or another agent, it says “chat was on fix/7611-3ds”. Both come with the hollow branch glyph that marks the tab itself (see Where each agent works).

The window’s own branch keeps its room: the label’s branch is cut in the middle, never “this tab:” (the tooltip has it whole, with the facts), the line counts make way for it, in a narrow sidebar it is the glyph alone, and in a narrower one it goes. For a switch under the chat, click the label for Keep Going, which makes the branch now checked out the chat’s own and clears the mark, and Go to That Tab when another tab made the switch; the tab’s right-click menu has both too. Nothing here changes git.

Next Term fetches the repositories open in its windows by itself, so Pull 3 appears when someone pushes, without a click.

  • When: every 10 minutes while a window for the project is open and Next Term is the app in front, and when you open the branch popup if the last fetch is over 5 minutes old. The popup shows at once, and its counts update when the fetch ends.
  • What it runs: git fetch --no-write-fetch-head --no-auto-maintenance --no-recurse-submodules <remote>, once for each remote that one of your local branches tracks, with --porcelain too when your git is 2.41 or later. Like any git fetch, it updates the remote-tracking branches (origin/main) and brings the tags that come with them. It never touches your own branches or files, and never FETCH_HEAD, so a git pull running in a tab at the same moment still merges what it fetched itself. Submodules are not fetched.
  • It waits its turn, and gives way. It runs after any git command Next Term is running for you in that repository, never beside it, and it skips a round while another fetch or pull runs there, Next Term’s or one you typed in a tab. If you start a git command from Next Term while a background fetch is still running, the fetch stops and yours runs at once. A slow remote never keeps you waiting.
  • It never asks for anything. When git needs a password, a key passphrase or a new host key, the fetch fails quietly and background fetch leaves that remote alone until a fetch you start works (or until Next Term restarts): Fetch in the branch popup, Update Project, or git fetch in a terminal (in any of the repository’s worktrees). The repository’s other remotes go on as before.
  • It pauses in Low Power Mode, on a network macOS marks as expensive (a phone’s hotspot) or in Low Data Mode, and when you are offline.
  • The setting: Settings › Editor › Git › Fetch in the background: Every 5 minutes, Every 10 minutes (the default), Every 30 minutes, Only when opening the branch popup, or Off.

The sidebar’s “Last fetched” counts these fetches too, although they leave FETCH_HEAD alone. Git › Git Commands lists them only when Show background fetches is on.

Git › Rollback… (⌥⌘Z) puts uncommitted changes back to the last commit. It is also in the right-click menu of a changed file, a folder with changes in it and a deleted file in the sidebar, and of a file in the Git Diff tab’s list.

  • Just some lines: in the editor, with the caret or a selection on lines the gutter marks as changed, ⌥⌘Z puts back only those lines, at once, and ⌘Z undoes it. A file with no unsaved edits is saved after, so the sidebar and git see it. In a diff, ⌥⌘Z rolls back the current change and moves on to the next.
  • A whole file: anywhere else, it acts on what is in front: the file in the editor (with the caret off its changes), the file selected in the Git Diff tab’s list, or, while the sidebar has the keyboard, what is selected there. A folder takes every changed file inside it, new folders included.
  • Changed and deleted files go back to the last commit, what you staged and what you didn’t. A new file or folder (untracked, staged, or marked with git add -N) leaves the index and goes to the Trash. A renamed file gets its old name back.
  • For a whole file it asks first, naming the file or listing them, and says what goes to the Trash. When an agent is working in the folder, it asks about that too.
  • Undo, on the notice that follows, puts everything back for 30 seconds: each file as it was, and what was staged staged again. If a file changed since the rollback, Undo leaves it alone rather than overwrite that change.
  • Nothing is deleted for good. Before anything changes, a copy of each file that goes back to the last commit is kept in ~/Library/Application Support/Next Term/Rollbacks for a week. A new file goes to the Trash; if it can’t (some network volumes have no Trash), nothing is rolled back.
  • It refuses, and changes nothing, when something is in the way of a file that has to come back (a folder where the file was, or a file where its folder was): move it, then roll back again. It also refuses a file with unsaved edits in the editor, a file in a merge or rebase conflict, and a submodule (roll it back in its own repository).
  • Each git command it runs is in Git › Git Commands, as typed.

Click the branch name at the top of the sidebar, or press ⌥⌘B (Git › Branches…). One search covers branches, tags and actions: type a few letters of any of them.

  • Actions come first: Update Project (with how many commits are waiting, ↓3), Commit… (with your uncommitted +/−), Push… (↑2, or Publish for a new branch), New Branch…, Checkout Tag or Revision…, Git Log and Git Diff. The ⟳ button (⌘R) fetches. Opening the popup fetches too when the last fetch is over 5 minutes old, and the counts update in place.
  • Recent: the last branches this folder was on, including switches made in a terminal or by an agent.
  • Local: the current branch first, then folders by prefix (feat/, fix/), and Agent branches, where branches agents make (claude/…, codex/…, worktree-…) stay out of your way. Each shows ↓ and ↑ against its upstream, gone when the upstream was deleted, and the worktree it is checked out in.
  • Worktrees, when there are any (Git › Worktrees… opens the popup at them): each with its branch, a padlock when it is locked, and the agent tabs working in it with their status marks. An agent is listed where it works, by its own folder (see Where each agent works), not where its tab’s shell is: Claude Code that entered a worktree from a tab in the project folder is listed under that worktree. Claude Code locks the worktrees it works in, and names its process in the lock; when that process has ended, the row says stale lock, and Unlock in its menu frees the worktree (with Undo). A lock whose process still runs can’t be unlocked from here; any other lock can, after a question. A row’s menu opens the worktree in a new tab (↩, or the row’s menu for a missing one) or in a new window: its own window, titled after the repository and the folder (“myapp ▸ feature-x”), brought forward when it is already open and kept out of Recent Projects. Remove Worktree… is there too; see Worktrees.
  • Remote, one folder for each remote.
  • Tags, as soon as you type: the tags whose names match.

↩ checks the branch out (one checked out in another worktree asks first; see A branch another worktree has); →, the › or a right-click opens everything else: Checkout and Update (⌥↩, for a branch behind its upstream: switch to it, then bring it up), Open in New Worktree… (the branch in a folder of its own; see Worktrees), New Branch from Here, Show History (the Git Log of that branch), Compare with “main” and Show Diff with Working Tree (see Compare a branch), Rebase onto, Merge into, Update “feat/x” from origin/feat/x, Push, Rename…, Delete…, Copy Name. A remote branch’s menu has Delete on Remote…. A tag’s menu checks it out (detached), opens it in a new worktree, makes a new branch from it, or shows its history. Typing a name that doesn’t exist offers New Branch with it, and a commit or another revision offers to check it out.

Update works on a branch you aren’t on: Next Term fetches its upstream into it, which only ever moves it forward. When the branch and its upstream have both changed, it says so and changes nothing; check the branch out, and Update Project rebases or merges them. A branch checked out in another worktree is updated there.

Nothing is lost, and nothing happens behind an agent’s back:

  • If an agent is working in the folder, Next Term asks before anything that changes its files. It names the agent (“Claude Code is working in this folder”), or counts them (“2 agents are working in this folder”) and names each with its tab. For a switch, ↩ is Open in New Worktree…, which leaves the folder and the agent alone (see Worktrees); Switch Anyway switches under it; ⎋ cancels. Update Project, Merge, Rebase, Continue, Skip and Abort ask Update Anyway (and so on) or Cancel: they act on the branch the agent has checked out, which git can’t check out twice. If git then refuses a switch because the agent’s changes would be overwritten, Next Term doesn’t move them aside; it offers Open in New Worktree…. An agent counts where it works, not where its tab’s shell is: one that moved into a worktree is not asked about for a checkout in the project folder, and one working in the project folder is, from whichever tab.
  • If your uncommitted changes would be overwritten, it offers Stash, Switch and Reapply. If they don’t fit on the other branch, they stay in that stash, named “Next Term: switching from … to …”.
  • Delete shows the commit the branch was at, with Undo. A branch with unmerged commits lists them first.
  • Delete on Remote asks first, naming the remote and the branch (and any branch of yours that tracks it) and the commit it is at. It deletes the branch for everyone who uses that remote, but only at that commit: if someone pushed to it after your last fetch, nothing is deleted, and it offers to fetch. The notice that follows has Undo, which pushes the branch back at the commit it was at. It is off for the same branches as force push, below.
  • Force push is only offered after a push is refused, lists the commits it would discard, and only replaces exactly what you saw. Next Term refuses it for main, master, release/*, and the default branch of origin and of the remote you push to, as <remote>/HEAD names it. A clone sets origin/HEAD, and git remote set-head <remote> --auto sets it for any remote; when it isn’t set, the force push prompt says Next Term can’t tell.
  • Conflicts stop where you can see them: Continue, Skip and Abort appear in the popup, and Ask Agent to Resolve writes the request in your agent’s tab for you to send.

Commit… shows exactly what goes in (what you staged, or every change, with new files marked and anything that looks like a secret or is over 5 MB called out), with Amend last commit, Commit and Push, and Let Agent Commit. The notice after a commit has Undo for 30 seconds, or until another notice takes its place: the branch goes back to where it was before that commit, with its changes staged (after Amend, back to the commit it replaced). Undo is refused once a remote has the commit, or once HEAD has moved on from it (an agent committed after you, or a checkout). Commit and Push shows no Undo, and neither does a repository’s first commit.

Write with Agent, under the message, fills it in for you to read and edit. It is there when Claude Code, Codex, Gemini CLI or Qwen Code is installed, and asks the one working in that folder if it is one of them, else the first it finds in that order. The agent runs in the background, in an empty folder of its own, without the repository’s settings or hooks. It is given what will be committed (the staged changes, or every change and the start of each new file) and the subjects of the last commits, so it writes in their style. With Amend last commit on, it is given that commit’s changes and message too, since the new commit replaces it. Files that usually hold secrets, such as .env files and keys, are named but not sent, and secret-looking values are masked as •••. Claude Code runs with no tools, keeps no session and reads only your own settings; Codex runs read-only. The answer replaces the message as one edit (⌘Z brings back what was there), and the line under it says which agent wrote it. Stop stops it, and after a minute Next Term stops waiting. Nothing is committed until you commit, and the changes go to that agent and nowhere else.

Every git command Next Term runs for you is in Git › Git Commands, exactly as it would be typed (the commit history is the Git Log); background fetches too, with Show background fetches on. Next Term never waits on a password prompt: when git needs your password, a key passphrase or a new host key, it says so and opens a terminal tab with the command ready.

A worktree is a second checkout of the same repository, in a folder of its own, on another branch. Open in New Worktree… makes one without touching the folder you are in or the agent working there: its HEAD, its files and its uncommitted changes stay as they are. It is the agent guard’s first button, it is in the branch popup’s menu of a local branch, a remote branch or a tag (under Checkout), and it is offered when git refuses a switch over an agent’s changes.

  • One question: the folder’s name. For fix/7027-sso in ~/Code/myapp, the sheet suggests myapp-wt-7027-sso, beside the repository (~/Code/myapp-wt-7027-sso), even when the window shows another worktree. It uses the branch’s last part, a tag’s name or a commit’s short id, and adds -2, -3 when the name is taken. The part after myapp-wt- is selected, so typing replaces only that, and the full path under the field follows what you type. Create is off, with the reason, while the name is taken, empty, starts with . or -, or is too long. A / you type becomes -.
  • What it checks out: a local branch as it is. A remote branch with no local copy becomes a local branch tracking it, without a question; when a local branch of that name exists, that one is used. A tag or a commit is checked out detached. A branch already checked out in another worktree isn’t offered; Open Worktree opens that one. ⌥↩ Checkout and Update brings the branch up to its upstream in the new folder.
  • Create runs one git worktree add, listed in Git › Git Commands, and reads Creating… while it works. The folder then opens in its own window in front, with one shell tab, titled “myapp ▸ 7027-sso”. The window you came from lists it under Worktrees.
  • What the new folder gets: committed files, and nothing of yours uncommitted: your changes are never stashed, carried or copied. No .env, vendor/ or node_modules/, unless:
    • Ignored files: Copy, Link or Leave Out, under the name. The line names what git ignores there (“node_modules/, vendor/, .env…”), each choice says in one line what it means, and your choice is remembered for each repository. Only what the new branch ignores too is brought over, once git has made the folder, so nothing it tracks is ever touched. The window opens when it’s in; the sheet says which item it is at, and Stop Copying (or Stop Linking) keeps what was done so far.
    • Copy: independent clones (below).
    • Link: each ignored entry becomes a link to the main checkout’s, so nothing is copied and both share it: an install or an edit in either is in both. The sheet names the checkout that is shared and warns when the two checkouts’ lock files differ. Links are relative when both checkouts are on one disk. Where git would see a link to a folder as a new file, Next Term makes a real folder and links each thing in it instead, so git sees no change. A workspace package (such as node_modules/@acme/utils) still leads to the worktree’s own source, and Composer’s autoloader is cloned rather than linked, so the worktree runs its own branch’s code. Linked entries have a link mark in the sidebar, whose tooltip says where each leads. Removing the worktree deletes only the links, never what they lead to. A bare repository has no main checkout to link to, so Link is off there.
    • Leave Out: only your committed files (and what .worktreeinclude lists, below).
    • Clones, not copies. On an APFS disk a clone shares the original’s disk space until either side changes it, so a 2 GB node_modules/ takes almost no room and a moment. Modes, times and links come over as they are (so node_modules/.bin works). Each package is its own clone, at low priority, so the disk stays free for your tabs. A folder on another disk, or a disk that can’t clone, gets no copy: Copy is off and says why. Next Term never copies byte by byte.
    • Never copied: .git, other worktrees (like those in .claude/worktrees), anything on another disk, a link that leads out of the checkout, and nothing is written over what the new folder already has.
    • Left out by default, as they would point back at the folder you are in: log files, Laravel’s bootstrap/cache/*.php, public/hot and maintenance mode, pid files and sockets, .build and DerivedData, and Python virtualenvs. A path your .worktreeinclude lists brings one back.
    • Copied as it is: a cloned folder keeps everything in it, and a copied .env uses the same database and services as the original. The notice counts what was copied and left out (Git › Git Commands lists each, with why), and says what to run there: composer install or npm install when the lock file differs between the two, composer dump-autoload when the code does, php artisan storage:link when public/storage points at the other folder. Next Term runs no script itself.
    • With Leave Out, a repository can list files to copy in a .worktreeinclude at its top, in .gitignore syntax, as Claude Code reads it: the files it matches that the repository also ignores are copied from the folder you are in, and nothing else. A file that is a link is skipped, and no script runs.
  • When git fails: if nothing was made, the error shows with git’s own lines, Show Git Commands and Open Terminal. If a hook fails after the folder is made, the worktree opens anyway with the hook’s output over its window; nothing is undone.
  • Remove Worktree…, in a worktree row’s menu, runs git worktree remove and is never forced. The folder goes with the ignored files in it; the branch stays, and its Delete… is on again. It is refused, with the reason, while an agent works in it, a window is open on it or a tab is in it (Go There brings that forward), while a process that still runs holds its lock, while git is in the middle of a rebase, merge, cherry-pick, revert or bisect there, while it has changes, or while it is detached at a commit no branch or tag has (removing it would lose that commit; New Branch… there keeps it). A lock nothing holds any more offers Unlock first. A row marked missing, whose folder was deleted by hand, is forgotten instead, after asking; that deletes only git’s record of it, and if that record is all that has its commit, the question says so.
  • Close and Remove Worktree: closing a worktree’s window while an agent or a program runs in it asks first, and that question sets this choice apart at the bottom, in red, under Cancel and past an “or”. It removes the worktree as Remove Worktree… does, never forced, and the branch stays; the window’s own tabs and agents don’t count, as they end with it. When the worktree can’t go (changes, a lock, a rebase in progress, a window or tab open on it elsewhere), the question says why and Close Window still closes the window and keeps it. Otherwise the window closes, the programs in it end, and then the folder goes.
  • Where new worktrees go: beside the repository by default. Settings › Editor › Git: New worktrees can put them inside it, in .claude/worktrees/7027-sso, but only for a repository that already ignores that folder; any other gets them beside it, and the path line says so. Next Term never edits an ignore file. A branch in .claude/worktrees is listed under Agent branches. In a linked worktree of a repository whose git folder is kept apart from its files (git init --separate-git-dir), Open in New Worktree… asks you to use it from the main checkout’s window.

Git checks a branch out in one folder at a time: git checkout dev fails with “‘dev’ is already used by worktree at …” while another worktree has it. Deleting that folder by hand doesn’t free the branch, as git keeps its record of the worktree; removing the worktree does.

  • Checking it out from the branch popup asks: “dev is checked out in myapp-wt-dev”. When that worktree has no changes and nothing open in it, Remove Worktree and Switch removes it, never forced, then switches; the branch stays, with its commits. When it has changes, an agent, a window or a tab in it, or a lock, it stays, the question says why, and Open Worktree opens it. A worktree whose folder is gone offers Forget Worktree and Switch.
  • From a terminal tab: when a git command you run fails this way, a notice names the branch and the worktree, with Free It…: the same question, with Remove Worktree and no switch. Run your command again after. Next Term reads only that command’s output, once, and never types in the shell.

Two items in a branch’s menu, local or remote, open a tab:

  • Compare with “main” (the branch you are on, or HEAD when detached) lists the commits only on that branch, then the commits only on yours, newest first, with how many in each heading (up to 500 are listed a side). A commit marked = has the same change on the other side, such as a cherry-pick. Below them are the files the branch changed since the two parted (when they have merged each other, from the commit git picks, as git diff main...feat/x does). Double-click a commit to see it in the Git Log, or a file for its diff, in a tab titled like app.txt @ feat/x.
  • Show Diff with Working Tree lists the files on disk that differ from that branch. Double-click one for its diff side by side, the branch’s version on the left and yours on the right, in a tab titled like app.txt ↔ feat/x. Files git doesn’t track aren’t compared.

Right-click a commit for Show in Git Log and Copy Hash, or a file for Show Diff and Copy Path. Both tabs only read, and read again when a branch moves (yours or an agent’s) or, for the working tree, when a file changes.

Git › Git Log (⌥⌘L) opens the repository’s commit history in an editor tab, as a graph. You can also open it from the branch popup (Git Log), or for one branch with Show History in that branch’s menu.

  • The commits, newest first, each listed after the commits made on top of it. Each line of history has a lane and a colour of its own: a dot is a commit, a ring is a merge, and a circled dot is where HEAD is. Past 20 lanes side by side, the rest share one more column, where their commits are dim rings with no line between them. Next to the subject are its branches and tags (the branch you are on is filled in), then the author and the date (“3 hours ago” within a week). The first 1,000 commits load at once, and more as you scroll.
  • Branches and tags, on the left: All Branches, HEAD, Local (in folders by prefix, agents’ branches together), Remote and Tags. Select one to see only its history. The field above narrows the list.
  • The selected commit, on the right: the whole message, the author and committer with dates, the hash (with Copy), the parents (click one to go to it), its branches and tags, and the files it changed, with +/− for each (in a partial clone, without the counts, rather than downloading the files; in a clone without trees, git downloads the commit’s trees, never the files in them). A merge is compared with its first parent. Double-click a file for its diff in that commit, side by side, in a tab titled like app.txt @ 4cc062d.

Filters, above the commits:

FilterWhat it does
Text or hashCommits whose message contains the text, in any case; turn on Aa to match the case you typed. Turn on .* for a regular expression. A hash (6 characters or more) shows that commit.
BranchAll branches, HEAD, or one branch or tag.
AuthorA name from the list, that person only (Me is your user.name), or with Other… part of a name or an email address.
DateThe last 24 hours, 7 days, 30 days or 12 months, or since or until a date (2025-01-31, “today”, which starts at midnight, or words git understands, such as “2 weeks ago”).
PathsCommits that changed these files or folders: chosen, typed, or the ones selected in the sidebar.

Right-click a commit for Copy Hash, Copy Message, New Branch from Here…, Checkout… (of the commit, detached, or of a branch that points at it) and Show in Branch Popup. Checking out and branching go through the same steps as in the branch popup, so an agent working in the folder is asked about first.

The log follows the repository: when a commit, checkout, fetch or rebase moves a branch (yours or an agent’s, in any worktree), it reads the history again in place: the commit you had selected stays selected, however far down, and the list stays where you were (at the very top, so new commits show). Like the sidebar, it only reads, with --no-optional-locks.

Everything here can be undone with ⌘Z.

ActionHow
Rename↩︎, or right-click › Rename…
MoveDrag onto a folder
CopyDrag with ⌥ held
New file, new folder⌥⌘N, ⇧⌘N, or right-click › New File or New Folder
Move to the Trash⌘⌫ (asks first), or right-click › Move to Trash
Open a fileOne click, a double-click with Open files and folders with a single click off in Settings › Editor, or ⌘↓; from anywhere, ⌘P (Go to File)

Rename selects the name without its extension, as Finder does. Open files follow a rename or a move.

Drag a file onto a terminal to type its path there. The path is quoted so that no file name can run a command, and it arrives as a bracketed paste.

Open, Show Changes (for a changed file), Open in New Tab (Open Folder in New Tab for a file), Open as Project, Reveal in Finder, New File, New Folder, Rename…, Move to Trash, Send to Agent, Insert Path in Terminal, Copy Path, Copy Relative Path and Refresh. With several rows selected, the menu acts on all of them.

Each item shows its key, as the menu bar does (Rename’s ↩︎, which has no ⌘, is in its tooltip), and while the sidebar has the keyboard the key does the same to the selected rows: ⌘↓ Open, ⌥⌘G Show Changes, ⌥⌘R Reveal in Finder, ⌥⌘N New File, ⇧⌘N New Folder, ↩︎ Rename, ⌘⌫ Move to Trash, ⌥⌘K Send to Agent, ⌥⌘C Copy Path and ⌥⇧⌘C Copy Relative Path. The Databases, Services and Agent Sessions rows’ menus show theirs the same way: ⌘↓ opens a SQLite file or a service’s page, or resumes a session, ⌥⌘O shows every session, and a key you give Refresh or Continue Latest Session works from any row of the group. The rest have no key until you give them one in Settings › Keyboard Shortcuts, under Project Sidebar (see Keys outside the menus); a key you change there shows the next time a menu opens. With the terminal or the editor in front, the keys do what they do there: ⌥⌘R renames the tab.

When a project’s own files name a database, a Databases group sits at the top of its tree. Next Term finds them offline, by reading text files: it never runs the project’s code, and nothing connects until you choose a hand-off.

  • What it reads: Laravel’s DB_* keys and DB_URL (Herd projects included), DATABASE_URL and its family (NEON2_DATABASE_URL, *_UNPOOLED, POSTGRES_URL_NON_POOLING, MYSQL_URL, MONGODB_URI, TURSO_DATABASE_URL) and libpq’s PG* keys, in .env, .env.local, .env.development and .env.development.local. Also Prisma’s datasource and prisma.config.ts, drizzle.config.*, supabase/config.toml, .vercel/project.json, and SQLite files, by their header, three folders deep and outside node_modules and vendor. .env.example only shows the shape of a connection, when nothing else names one.
  • Each row shows the engine, the database’s name, the file it came from, and a badge for each of its providers, up to two: Vercel, Neon, Supabase, Herd, PlanetScale, Prisma Postgres, Turso, MongoDB Atlas, Railway, Render, Fly.io, AWS, CockroachDB, DigitalOcean or Azure. Pooled and direct URLs to the same Neon or Supabase database are one row; hand-offs use the direct one.
  • A badge opens the provider’s page in your browser. Over it the pointer is a hand and the tooltip names the page, such as “Open Neon Console: project cold-grass-40154007”. The page is the closest one the project’s files name without a secret: Neon’s project from .neon, Supabase’s from its project ref, PlanetScale’s database from .pscale.yml, a local Supabase’s Studio on its [studio] port. With no such id, the badge opens the provider’s console or dashboard. Herd opens the site Herd serves for the project, from APP_URL (“Open shop.test, the site Herd serves”) or herd.yml’s name, and Herd’s services docs when neither names one. In a project linked to Vercel, the group’s own row has a Vercel badge too, which opens the same page as a row’s.
  • Local or remote comes from the host, never from the file’s name. Loopback, sockets and *.test hosts are local (dim), Docker and OrbStack hosts are development, and anything else is remote (amber) and treated as production. A .env.local that vercel env pull wrote can hold the production URL, and it is tagged that way.
  • Passwords are masked everywhere: in the tooltip (mysql://root:•••@127.0.0.1:3306/shop), the accessibility labels and the menus.

Right-click a row, or use its ⋯ button:

  • Open Neon Console, Open Supabase Dashboard and the like, first: each badge’s page. The first of them has the key of Open Service Page, none until you give it one in Settings › Keyboard Shortcuts.
  • Open a SQLite file in the SQLite viewer (below), read-only until you allow editing in its tab.
  • Open in TablePlus, when it is installed. Next Term hands the connection to TablePlus itself, never to whichever app claims mysql://. For a remote host it asks first, and names the host.
  • Open mysql in New Tab or Open psql in New Tab, for local and development connections only. The password goes in a temporary file only you can read, the command names that file, and the file is deleted once the client starts. It is never in the command line or the tab’s environment.
  • Open in Vercel, when the vercel CLI is installed: the provider’s dashboard, through Vercel’s sign-in.
  • Copy Connection Name (the name, never the connection) and Reveal Source File.

A .sqlite, .sqlite3 or .db file opens in a tab of its own: tables and views on the left, 1,000 rows a page on the right, and the row count. Select rows and use Copy As for CSV, JSON or Markdown (⌘C copies CSV), or Send to Agent (⌥⌘K) to type the file, the table and the selected rows into the agent’s prompt. The file is opened read-only, and stays so until you allow editing in its tab; no -wal or -shm file appears beside it.

  • A cell’s whole value: each cell stays on its own line. Click one, or press Space, to show its whole value in a pane beside the rows, up to 4 MB: text wrapped, JSON indented, a blob’s size and its first bytes in hex, and the row’s other values below it. Copy copies the value as it is stored.
  • Allow Editing… asks first, naming the apps that have the file open, since the file may belong to one that is running now. The allowance is for that file in that tab: it ends when you click Stop Editing, close the tab or the file is replaced, and is never remembered.
  • Edit a value with ↩︎ or a double-click on its cell, or Edit and Set NULL in the value pane. A long value is edited in the pane. Nothing is written until you click Save (⌘S, or ↩︎ in the cell); Revert puts back the value the file has.
  • One checked value at a time: a save writes that one cell, and only if the cell still holds the value that was read and the row’s other values are unchanged. Otherwise nothing is written, and the viewer says why. Edit › Undo writes the old value back the same checked way.
  • Before anything is lost: a value typed and not saved is asked about before its tab closes. Closing it with other tabs, closing its window or quitting warns first and writes nothing.
  • What can’t be edited: views, virtual tables and their own tables, key and generated columns, and blobs. No agent or MCP tool can allow editing or write a database. See SQLite editing for how a save is kept safe.

What it never does: run project code or vercel env pull, write to an env file, write to a database you haven’t allowed editing in, keep a password, put one in a command line, a log or the clipboard, or listen on a port.

When a project’s files name services beyond its databases, a Services group sits below Databases: the AI models, vector stores, tracing and eval tools, agents, local dev servers, backends and hosting the project uses. Each row has a badge that opens the service’s page in your browser. Like Databases, it is found offline, by reading the project’s files: nothing is run, fetched or connected to, to find a service or to build its link.

  • Each row shows the kind’s icon, the service’s name, then its kind and the file that named it, dimmed (“vector store · compose.yaml”), its badge and ⋯. The badge names the page it opens: a provider’s page by its name (Platform, Console, Dashboard, Projects, Studio), a tool on your Mac by its port (:6334, :5173).
  • Hover a row for the page its badge opens and what named the service, by file and key name only: “Open OpenAI Platform”, then “From .env: OPENAI_API_KEY; requirements.txt: openai”. For a tool on your Mac it adds “if it is running”, or “running now” when it answers. The group’s own row lists the kinds it found.
  • Click the badge to open the page. Over it the pointer is a hand, and VoiceOver reads it as a link. A double-click on the row, or ⌘↓ with it selected, opens the same page.
  • Right-click a row, or use its ⋯ button, for one item per page, such as Open Qdrant Dashboard (the first has the key of Open Service Page, none until you give it one), then Copy Service Name, which copies the name and never an address or a key, and Reveal Source File, which selects the file that named it. The group’s own menu has Refresh Services.
  • It opens the first time it appears in a project. Close it and it stays closed for that project.
  • It reads again when a file it reads changes, as Databases does, in the same scan.

A service is named by a key’s name in an env file (OPENAI_API_KEY), a package in a manifest (qdrant-client), an image in the Compose file (qdrant/qdrant), a tool’s own file (langgraph.json, manage.py, .ddev/config.yaml) or a start command in a script (langgraph dev). A port alone names nothing: 8000 and 3000 are each several tools’ default. The services it knows include:

  • AI models: OpenAI, Anthropic, Google AI Studio, Hugging Face, Mistral, Groq, OpenRouter, Cohere, AWS Bedrock, Vertex AI, Azure OpenAI, Replicate, Together, DeepSeek, xAI and Fireworks. A base-URL key names the provider of its host, so OPENAI_BASE_URL=https://openrouter.ai/api/v1 makes the row OpenRouter.
  • Vector stores: Qdrant, Weaviate, LanceDB Cloud, Chroma, Pinecone, and Milvus or Zilliz Cloud.
  • Tracing and evals: LangSmith, LiteLLM, Langfuse, MLflow, Braintrust, Opik, W&B Weave, Arize Phoenix and Helicone.
  • Agents: LangGraph, Temporal, Google ADK, Inngest, Mastra, Trigger.dev, CrewAI, n8n and Langflow.
  • Local servers: Vite, FastAPI, Next.js, Flask, Storybook, Django, Jupyter, Astro, Streamlit, Nuxt, Gradio, Chainlit, Rails and Phoenix, the site Herd or Valet serves, and DDEV.
  • Local model servers: Ollama, LM Studio and vLLM (see Local model servers).
  • Backends: Supabase, Firebase, Upstash and Convex.
  • Hosting: Vercel, Cloudflare, Fly.io, Railway and Render.

Every row has a page. A service the files name with no page to open, such as Chroma named only by its package, with no server address, gets no row. A service a database row already shows, such as a Supabase database, isn’t listed again; only Vercel’s hosting row stays beside a database’s Vercel badge, since the two open different pages. One found both on your Mac and in the cloud gets a row for each: Qdrant and Qdrant Cloud.

What it reads: the env files Databases reads, plus .flaskenv and .env.phoenix (.env.example’s key names only, when there is no other env file); pyproject.toml, requirements*.txt (at the top and in requirements/), Pipfile, package.json, Gemfile and mix.exs; the first of compose.yaml, compose.yml, docker-compose.yaml and docker-compose.yml, for each service’s image and published ports only; the scripts in package.json, Poe and Taskipy tasks in pyproject.toml, Procfile, Procfile.dev, Makefile and justfile, for a start command and its port; and the config files of the tools it knows, such as vite.config.ts, fly.toml, wrangler.toml, trigger.config.ts and supabase/config.toml.

A project that uses a model on your Mac gets a row for its server: Ollama, LM Studio or vLLM. It is found from an OLLAMA_HOST or OLLAMA_*MODEL key, any *_BASE_URL on port 11434 (Ollama) or 1234 (LM Studio), packages such as ollama, langchain-ollama, @lmstudio/sdk or the ollama-rs crate, the ollama/ollama image, or a start command (ollama serve, lms server start, vllm serve). A base URL on 11434 is Ollama, not OpenAI.

  • The badge (:11434) opens the server’s model list.
  • The menu has Start Server in a Tab, which runs ollama serve (or lms server start) in a new tab you see; Pull Model, which lists the models the project names (OLLAMA_MODEL=llama3.2) and types ollama pull with one in a tab for your Return, or Other Model…; and Copy Base URL.
  • Not installed? When the project needs Ollama or LM Studio and this Mac has neither the command nor the app, one quiet line says “Ollama isn’t installed”, with Install…: it types brew install ollama (or LM Studio’s cask) in a new tab, for your Return. Without Homebrew, it opens the download page. Nothing is installed or started by itself.

A local row with a port shows a small green dot on its icon while something answers on that port: a model server, a vector store, a dev server. Next Term tries one connection to your Mac’s own address, briefly, when the group shows, when the window comes forward, when a tab’s served address changes, and a few seconds after Start Server. It never checks in the background. Nothing shows when it doesn’t answer.

  • A tool on your Mac opens its own page (Qdrant’s /dashboard, FastAPI’s /docs) on the port the project’s files set, taken in this order: the port the Compose file publishes for it, the tool’s config file (server.port in vite.config.ts), a port flag in a script (next dev -p 3100), a port key the tool reads (FLASK_RUN_PORT in .flaskenv). With none, it uses the tool’s documented default, where it has one. The tooltip says which: “Open Qdrant Dashboard at localhost:6334 (from compose.yaml)”, “Open FastAPI Docs at localhost:8000 (default port)”.
  • LangGraph’s Studio badge opens LangSmith Studio for the langgraph dev server on your Mac, port 2024 unless a script sets another. As with a Studio link in the terminal, it opens in Chrome, Edge, Brave or Arc when Safari is your default browser (see LangChain and LangGraph).
  • A cloud service opens the closest page its files name without a secret: the project, app or namespace whose id or name a project file holds (a Supabase project ref, the app in fly.toml, the project in trigger.config.ts). With none, it opens the provider’s console or dashboard.
  • A server the project names for itself, such as a self-hosted Langfuse in LANGFUSE_HOST or MLflow in MLFLOW_TRACKING_URI, opens there. If that address can’t be opened safely, the vendor’s cloud never stands in for it.

Known limits:

  • A local link says where the tool should be, from the project’s files. If the tool picked another port because its own was taken, or is not running, the page does not load; the green dot shows whether something answers there.
  • A cloud link opens the provider’s dashboard home when the files hold no id for the exact page, and the provider may ask you to sign in or pick a project.
  • A service whose key or address lives only in your shell, not in the project’s files, is not listed.

Services reads secret keys by name only, and its links hold only names, hosts, ports and ids; see Project services.

The project sidebar lists the project’s own tasks in a Run group, under Services, once the project has any:

  • package.json scripts, run with npm, pnpm, Yarn or Bun, as the lock file says;
  • Makefile targets and justfile recipes;
  • a Python project’s scripts ([project.scripts], Poetry’s, PDM’s, poe’s and taskipy’s), through uv run, poetry run or pdm run when the project uses one;
  • cargo’s build, run, test and clippy, and run --bin for each binary;
  • an Android app’s ./gradlew assembleDebug, installDebug and test, or build and test for another Gradle project.

Each row shows the task and, dimmed, the file it comes from. ▶, a double-click or ⌘↓ runs it in a new tab in the project’s folder, named after the command; ⋯ has Run in New Tab, Copy Command and Reveal Source File. In ⌘P, type “run” to list the tasks, and Return runs one. Next Term only reads these files; no tool runs to find the tasks.

Tools a project needs. When the project needs uv, cargo or Java and your login shell finds none, one quiet line says so, such as “uv isn’t installed”, with Install…. It types the tool’s official installer in a new tab, without pressing Return, so nothing runs until you do. Next Term never installs anything up front, and never uses sudo; Java comes from Homebrew’s Temurin, which asks for your password itself, or, without Homebrew, from adoptium.net.

Files and folders get open-source icons from the Material Icon Theme (MIT), including framework icons: Laravel, Next.js, Vite, Tailwind, Docker, GitHub Actions and more. Configuration folders such as .github, .claude and .idea stay plain and quiet by default; Settings › Editor › Sidebar gives them their icons.