Programs

Every pane, agent and terminal shows its program's name, icon and color from one table, and programs.json adds to it.

Every pane, agent and terminal carries program: its name, icon and tile, from one table, so every mod shows the same, and the app's own toasts ("Codex finished") use the same names. An agent's own report wins; else the program the terminal runs (an interpreter shows what it runs: node .../vite is Vite, npx vitest is Vitest); shells are shell, anything unlisted is program with a color of its own. The built-in table has 120 programs (agents, editors, runtimes, tools, databases, infra); programs.json here adds to it or changes entries field by field:

{ "programs": {
    "lazygit": { "name": "Git", "tile": "#f05032" },
    "mytool": { "name": "My Tool", "icon": "my-icons/mytool.svg", "tint": true,
                "tile": "#334155", "color": "#ffffff", "match": ["mytool-dev"] } },
  "shells": ["xonsh"], "interpreters": ["pipx"] }
  • icon: a path in the home folder. tint: true for a one-color glyph (drawn in color on a tile, or the text color), false for a picture.
  • match: other process names (or agents' app names) for the entry.
  • run: how to start it (["cursor-agent"]), for agents people start from a menu: knownAgents() lists the entries with one, and whether this machine (or another) has them installed. For example, override "claude": { "run": ["my-claude"] } or add "claude-alt": { "name": "Claude (alt)", "icon": "icons/claude.svg", "run": ["my-claude-alt"] } inside programs. Use programs or shell functions, not aliases (the launcher does not expand them). On macOS the menu launcher loads login profiles before running the agent and leaves an interactive login shell when it ends. On remote Unix machines, both the installed-agent check and launcher load that user's login/interactive shell for sh, bash, zsh, dash, ksh and fish, so its PATH includes shell-configured tools. Other shells keep the sh launcher. Local Linux launches keep interactive non-login shells. Local and remote checks include functions in bash and zsh; fish checks find executables only. Installation checks are cached for up to a minute; changing the commands checks again. Invalid JSON is reported in programs.error (a valid file has no error).
  • It follows what runs in the terminal now (lazygit, nvim), else what it started with.

Your agents read these same words: Woolshed writes this guide to ~/.config/woolshed/AGENTS.md on every start. In it, “you” is the agent and “the person” is you.