TemprTempr
Docs
CLI

CLI: Config & troubleshooting

Last updated

Signing in and out, picking a default model, the settings files for permission rules, hooks, environment variables, memory files, output styles, plugins and language servers, monitoring, and diagnosing the failures that actually happen, plus the fixes.

Sign in, sign out

tempr auth              # interactive prompt (recommended: keeps the key out of shell history)
tempr auth <LICENSE_KEY>  # or pass it directly (it lands in shell history)
tempr logout             # clear the stored credential on this machine

The CLI uses the same license as the IDE: Standard, Pro, or Teams all work, no separate subscription.

In CI, don't run tempr auth at all: set TEMPR_LICENSE_KEY from your secret store, and a run with no stored session signs in from it. The key never appears on a command line.

Default model

Every run needs a model. Set a default once, override per-run when you want:

tempr models                  # the model ids your license can use
tempr config set-model <id>   # default for every run
tempr config show             # what's set, and where the config file is
tempr -m <id> "prompt"        # one-run override
tempr --model <id>            # same thing, long form

tempr auth offers to pick a default right after you sign in. Inside the REPL, /model <id> switches the model for the session, and /model on its own opens a picker over your catalog.

A model on Ollama, LM Studio or another server of your own is a local model: tempr -m ollama/qwen3:8b.

A coding plan's models are named by the plan, such as tempr -m minimax-plan/MiniMax-M3.1-Flash-Preview, once its key is added with tempr keys add <plan-id>. A plan is for your interactive sessions: when it runs out, the CLI says so and points you to /model, and never switches model on its own. See Coding plans.

Settings files

tempr config writes ~/.tempr/config.json. The rest is in files you edit yourself, in Claude Code's format where Claude Code has one. Comments and trailing commas are fine in the settings.json files.

FileWhat Tempr reads from it
managed-settings.json and managed-settings.d/*.jsonClaude Code's managed settings, which an administrator deploys to C:\Program Files\ClaudeCode, /Library/Application Support/ClaudeCode or /etc/claude-code. See Managed settings.
~/.tempr/settings.jsonYour own hooks, permissions, env, outputStyle, statusLine, enabledPlugins, lspServers, and local model servers under provider and disabled_providers.
~/.claude/settings.jsonYour Claude Code settings: hooks, permissions, env, outputStyle, statusLine and the MCP and hook allow-lists, as for Tempr's own file.
~/.tempr/config.jsonWhat tempr config sets, and your own permission rules: permissionsAllow, permissionsAsk and permissionsDeny.
.tempr/settings.json in a folderThe folder's hooks, permissions, env, outputStyle and statusLine.
.claude/settings.json, .claude/settings.local.jsonThe same, as Claude Code writes them, so a team's Claude Code hooks, rules and variables hold here too. /output-style saves to the local file.
.mcp.json in a folderClaude Code's project MCP servers. See Claude Code's files.

They're read in Claude Code's order of precedence: managed settings, then the folder's .claude/settings.local.json, then its .claude/settings.json and .tempr/settings.json, then your own. Lists such as permission rules, hooks and additional directories combine from every file; for a single value such as an env variable or outputStyle, the file higher up wins. --config <PATH> moves everything under ~/.tempr to that folder.

A folder's hooks, allow rules, additional directories, env variables, entries in the allow-lists (allowedMcpServers, allowedHttpHookUrls, httpHookAllowedEnvVars) and .mcp.json servers come with the folder, not from you, so they wait for your OK. An interactive session lists them and asks once; Yes, and remember for this folder keeps the answer. A one-shot run, a script or an editor (tempr acp) can't ask, so it leaves them out, and says so unless the output is --json; run tempr hooks allow in the folder to allow them. A change to any of them asks again. A folder's deny and ask rules, and its deny lists, always apply, and so does an allow-list the folder sets when no other file sets one, since it can only narrow.

env

Claude Code's env block: variables for the session and every process it starts, so the agent's commands, hooks, MCP servers and language servers all get them.

{
  "env": {
    "NODE_ENV": "development",
    "DOTNET_CLI_TELEMETRY_OPTOUT": "1"
  }
}

Yours apply at once. A folder's variables wait for your OK like its hooks, since a PATH or NODE_OPTIONS from someone else changes what an approved command really runs; a change to them asks again. Managed variables win over every other file's.

Managed settings

An administrator can deploy Claude Code's managed-settings.json (and drop-ins in managed-settings.d), and Tempr applies it the way Claude Code does. Its hooks and rules need no OK, and nothing else overrides it. Tempr applies these keys from it:

  • permissions (allow, ask, deny and additionalDirectories), and allowManagedPermissionRulesOnly, which leaves only the managed rules.
  • permissions.disableBypassPermissionsMode: "disable", which turns off autopilot (--yolo) in every client. Any settings file can set this one, a folder's included.
  • hooks, allowManagedHooksOnly, disableAllHooks, allowedHttpHookUrls and httpHookAllowedEnvVars.
  • allowedMcpServers, deniedMcpServers and allowManagedMcpServersOnly, and the .mcp.json switches below.
  • env, outputStyle, statusLine, claudeMd, and a managed CLAUDE.md beside the file.

And Claude Code's managed-only restrictions. Each wins over your own and a folder's settings, and over the command line's flags:

  • Models. availableModels lists the models that may be picked: a family word such as "sonnet" or "gpt", a model id such as "claude-opus-5" (later versions that extend it count too, unless availableModelsMatch is "exact"), or a whole provider/model id. deniedModels blocks models even when the list allows them. allowedProviders limits the provider part of a model id: Claude Code's anthropic, bedrock, vertex and foundry map to Tempr's providers, customEndpoint covers local and OpenAI-compatible providers, and any other entry is a Tempr provider key such as openai or ollama. A ruled-out model isn't listed in tempr models, /model or Tempr Code's pickers, --model and tempr config set-model refuse it, and a turn on one is refused before anything is sent. A sub-agent or Plan mode model it rules out runs on the chat's model instead.
  • MCP. managed-mcp.json beside managed-settings.json takes exclusive control: only its servers and the managedMcpServers ones start, and tempr mcp add is refused. Your organization's assigned servers start beside them only with allowAllClaudeAiMcps. managedMcpServers gives everyone remote (https) servers beside their own; they can't be removed here, and they take the place of a server with the same name or address. Both need no allowedMcpServers entry, and deniedMcpServers still applies.
  • Plugins. strictKnownMarketplaces lists the marketplaces that may be added, installed from and updated (an empty list allows none), and blockedMarketplaces lists ones that may not. disableCommandPluginSources stops plugins that install by running a command (it follows allowManagedHooksOnly when unset). disableSideloadFlags refuses --plugin-dir. strictPluginOnlyCustomization (true, or a list of skills, agents, hooks, mcp) takes those only from plugins and managed settings.
  • SSH. sshHostAllowlist limits --env ssh: and Tempr Code's SSH environments to matching hosts (*, *.example.com, or an exact name), checked on the name ssh really connects to after ~/.ssh/config, jump hosts included. An empty list turns SSH environments off.
  • Files. permissions.blockReadsOutsideWorkingDirectories and blockWritesOutsideWorkingDirectories (from any settings file) keep the file tools to the working folders in every mode; the write block also refuses settings files and folders only a repository's settings added, and both last for the session once set. permissions.denyInsteadOfPrompting (your own or managed settings) refuses a call that would ask, so a run nobody watches keeps going.
  • Browser pane (Tempr Code). disableBrowserExternalNavigation: true keeps the pane on local pages for you and the agent; browserExternalPageTools: "disabled" keeps only the agent's tools off external pages.
  • Sandbox. sandbox.enabled forces the command sandbox on or off over --sandbox, --no-sandbox and the saved setting; with failIfUnavailable, nothing runs where it can't. allowUnsandboxedCommands: false removes the way out of it, autoAllowBashIfSandboxed: false asks about sandboxed commands as usual, network.allowManagedDomainsOnly with no managed allowedDomains cuts the network off, filesystem.allowWrite adds writable folders, and filesystem.denyRead and denyWrite become deny rules for the file tools.

tempr doctor, tempr models and tempr mcp list say what's locked, and Tempr Code's settings pages show it. The sandbox's excludedCommands (they run outside the sandbox and ask for approval as usual) and filesystem.allowRead apply too, taken from managed settings only. A few keys aren't applied: forceLoginMethod and forceLoginOrgUUID (they're for Anthropic sign-in), policyHelper, channelsEnabled, and the network keys Tempr's sandbox has no equivalent for (allowed or denied domains while the network is on, and the proxy ports). When managed settings set one, Tempr says so once at the start of a session, naming them.

MCP server allow-lists

Claude Code's allowedMcpServers and deniedMcpServers decide which MCP servers may start, whatever they came from: your mcp.json, a folder's .mcp.json, a plugin, an editor or your organization. Each entry has one of serverName, serverCommand (the command and its arguments) or serverUrl (* is a wildcard):

{
  "allowedMcpServers": [
    { "serverName": "github" },
    { "serverUrl": "https://mcp.example.com/*" }
  ],
  "deniedMcpServers": [ { "serverCommand": ["npx", "-y", "some-server"] } ]
}
  • Both lists combine from every settings file, and the deny list comes first. With no allow list every server may start; an empty one allows none.
  • A remote server needs a serverUrl match, and a local one a serverCommand match, when the list has entries of that kind; otherwise a serverName match will do.
  • allowManagedMcpServersOnly: true in managed settings counts only the managed allow list.
  • For a folder's .mcp.json: disabledMcpjsonServers in any settings file keeps a server from starting, OK or not. enabledMcpjsonServers (names) and enableAllProjectMcpServers: true start them without the folder's OK, but only from your own or managed settings.

enabledPlugins

Turns installed plugins on or off by their name@marketplace id, as in Claude Code. An entry here wins over tempr plugin enable and disable:

{
  "enabledPlugins": {
    "formatter@team-tools": true,
    "reviewer@team-tools": false
  }
}

Permission rules

Lasting rules for what runs without asking, and what never runs. A rule is a tool name, or a tool and a pattern in brackets, written with Tempr's tool names or Claude Code's:

RuleCovers
run_command(npm test), Bash(npm test:*)Commands that are npm test or start with it.
edit(src/**), Edit(src/**)Writing and patching files under src/. ** crosses folders, * doesn't. A pattern with no / matches that name in any folder.
read_file(.env), Read(./.env)Reading that file. A Read deny also keeps its lines out of search results.
web_fetch(domain:github.com), WebFetch(domain:github.com)Opening pages on that site and its subdomains.
github__create_issue, mcp__github__create_issue, githubOne MCP tool, or every tool of a server.
  • Allow lets a matching call run without asking, in every approval mode. A command that deletes, publishes or force-pushes still asks.
  • Ask asks before every matching call, in every approval mode, even when an allow rule or a hook would let it run. The question names the rule, and offers no "for this session".
  • Deny refuses a matching call before anyone is asked. A deny with no pattern, such as run_command, takes the tool out of the run.

Deny beats ask, and ask beats allow, whichever file each comes from, as in Claude Code. Your own go in ~/.tempr/config.json, or under permissions in ~/.tempr/settings.json or ~/.claude/settings.json; a folder's under permissions in its settings:

// ~/.tempr/config.json
"permissionsAllow": ["Bash(npm test:*)", "edit(src/**)"],
"permissionsAsk": ["Bash(git push:*)"],
"permissionsDeny": ["Read(./.env)"]

// .tempr/settings.json or .claude/settings.json
{
  "permissions": {
    "allow": ["Bash(npm run lint:*)"],
    "ask": ["Bash(docker:*)"],
    "deny": ["WebFetch"],
    "additionalDirectories": ["../shared-lib"]
  }
}
  • additionalDirectories lets the agent read and edit files in folders beyond the workspace, and lets sandboxed commands write there. A relative path is taken from the workspace in a folder's file, and from your home folder in yours. --add-dir and /add-dir add one for a session.
  • disableBypassPermissionsMode: "disable" under permissions, in any settings file, turns off autopilot: --yolo and --approval-mode autopilot are refused, and a saved autopilot mode asks first instead.
  • allowManagedPermissionRulesOnly, in managed settings, leaves only the managed rules.

/permissions lists the deny, ask and allow rules in force and the file each comes from, the extra folders, what waits for the folder's OK, and the calls refused lately. /permissions check <tool> <argument> says which rule decides a call: /permissions check run_command git push, /permissions check edit src/app.ts or /permissions check web_fetch github.com. A rule Tempr can't apply is skipped with a message; Claude Code tools Tempr doesn't have, such as Task, are skipped quietly in a .claude file.

Hooks

Hooks are your own commands, run at points in a session, written as Claude Code writes them, so a project's .claude/settings.json hooks work unchanged. Put yours under hooks in ~/.tempr/settings.json (Tempr also reads ~/.claude/settings.json), and a folder's in its settings:

{
  "hooks": {
    "PreToolUse": [
      { "matcher": "Bash", "hooks": [ { "type": "command", "command": "./scripts/check-command.sh", "timeout": 30 } ] }
    ],
    "PostToolUse": [
      { "matcher": "Edit|Write", "hooks": [ { "type": "command", "command": "npx prettier --write \"$CLAUDE_PROJECT_DIR\"" } ] }
    ]
  }
}
EventRuns
PreToolUseBefore a tool call. It can allow, deny or ask (permissionDecision), block the call, or rewrite its input with updatedInput.
PermissionRequestWhen a call is about to ask you. It can answer for you, allowing (with updatedInput if it likes) or denying; with no answer you're asked as usual.
PermissionDeniedWhen a call was refused without you answering: by a deny rule, by a hook, or with nobody to ask. It's told why, and retry tells the model it may try again.
PostToolUseAfter a tool call that ran. It can tell the model something, or replace what the model is told the tool returned.
PostToolUseFailureAfter a tool call that failed, in place of PostToolUse.
UserPromptSubmitBefore your message is sent. Its output goes along with it, or it stops the message.
UserPromptExpansionWhen a /command expands into a prompt, before UserPromptSubmit. It sees the command and its arguments, and can stop it.
StopWhen the agent finishes. Blocking keeps the agent going with the hook's reason, up to 8 times in a row.
StopFailureIn place of Stop, when a turn ended with an error. It only tells.
InstructionsLoadedWhen an instruction file (AGENTS.md, a CLAUDE.md, a rule) is loaded, at the start or on demand.
ConfigChangeWhen a settings file changes during a session. Blocking keeps the earlier rules and hooks for the session (not for a change to managed settings).
DirectoryAddedWhen a folder is added with --add-dir or /add-dir.
PreModelSwitch, PostModelSwitchBefore and after /model or an editor switches the model. Before, it can refuse the switch or ask you; the matcher is the model's id or its name without the provider.
WorktreeCreate, WorktreeRemoveWith one, --worktree has the hook make the worktree (printing its path) instead of git, and remove it at the end.
SessionStartWhen a session starts. Its output goes to the model.
NotificationWhen the agent is waiting for you (permission_prompt).
SessionEndWhen the session ends: clear, prompt_input_exit or other.
PreCompactBefore the conversation is compacted. It can stop the compaction.
PostCompactAfter the conversation is compacted.
SubagentStart, SubagentStopWhen a subagent starts, and when it would stop. SubagentStart's output goes into the subagent's context; blocking SubagentStop keeps the subagent going with the hook's reason, up to 3 times. The matcher is the subagent's name.
  • Matcher: for tool events, a tool name in Claude Code's naming or Tempr's (Bash or run_command), a list (Edit|Write), or a regular expression. Empty or * matches everything.
  • Input and answer: the hook gets the event as JSON on stdin, with Claude Code's fields and tool names and Tempr's own as tempr_tool_name and tempr_tool_input. Exit code 2 blocks, with stderr as the reason; or the hook answers with JSON on stdout, as in Claude Code.
  • Shell: /bin/sh -c; on Windows, Git Bash when it's installed and PowerShell when it isn't. "shell": "bash" or "powershell" picks. CLAUDE_PROJECT_DIR and TEMPR_PROJECT_DIR are set to the workspace.
  • Exec form: with "args", command is a program run with those arguments as written, no shell. A plugin's ${user_config.KEY} is filled into args, never into a shell command; hooks also get each option as CLAUDE_PLUGIN_OPTION_<KEY>.
  • Timeout: 600 seconds, 30 for UserPromptSubmit and the model switch events, unless the hook sets timeout.
  • HTTP hooks ("type": "http", with url) POST the event's JSON there and read the reply's JSON as a command's output. $VAR in a headers value is filled in only for the names the hook lists in allowedEnvVars. Once any settings file sets allowedHttpHookUrls, an HTTP hook runs only when its URL matches an entry (* is a wildcard), and httpHookAllowedEnvVars limits the variables every HTTP hook may read.
  • MCP tool hooks ("type": "mcp_tool", with server, tool and input) call a tool of one of the session's MCP servers, with ${tool_input.file_path} and the like filled in from the event.
  • "onFailure": "block" makes a hook that fails (can't start, times out, exits with another code, an HTTP error, an answer it can't read) block, as exit code 2 would, instead of letting things go on.
  • Prompt and agent hooks ("type": "prompt" or "agent") ask a model instead of running a command, for PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, UserPromptExpansion, Stop and SubagentStop. An agent hook can read, list and search the workspace for up to 50 steps before it answers, and its "no" goes to the agent as feedback. model picks the model (the chat's by default), and continueOnBlock sends a prompt hook's "no" to the agent instead of ending the turn.
  • Claude Code events Tempr doesn't raise, such as FileChanged or TeammateIdle, are skipped; /hooks events lists them with why.
  • Managed settings can turn hooks off: disableAllHooks runs none, and allowManagedHooksOnly runs only the managed ones.

tempr hooks list and /hooks show what runs here. A folder's hooks wait for your OK, as above; yours and your plugins' run as soon as they're saved.

Memory files

Every turn carries the workspace's instruction files. Tempr reads Claude Code's memory files the way Claude Code does, beside AGENTS.md and other agents' files:

  • AGENTS.md and .github/copilot-instructions.md in the workspace, and your ~/.tempr/AGENTS.md for every workspace.
  • An administrator's managed CLAUDE.md (beside managed settings) and its claudeMd setting.
  • Your ~/.claude/CLAUDE.md and ~/.claude/rules.
  • CLAUDE.md, .claude/CLAUDE.md and CLAUDE.local.md in each folder from the repository's root down to the workspace, and the workspace's .claude/rules. A rule with paths: in its front matter loads once the agent reads or edits a file it matches.
  • A subfolder's CLAUDE.md and CLAUDE.local.md, once the agent reads or edits a file there.
  • @path imports in any of them, up to four hops deep. A project's files import only files inside the project; your own ~/.claude files can import anything.
  • GEMINI.md, .cursorrules and Cursor rules. Where AGENTS.md and another agent's file disagree, AGENTS.md wins.

A file is cut at 40,000 characters, and all of them together at 64 KB; past that, the least specific go first (the managed ones last), and the turn says what was cut. Links are followed only while they stay inside the project (or, for your own files, ~/.claude), and only regular files are read. Block HTML comments are left out. /memory lists what a turn sends, what was cut or left out and why, and the files you can write your own in; tempr doctor and --verbose name them too.

Output styles

Claude Code's output styles change how the agent works and answers. The built-in ones are Default, Explanatory, Learning, Proactive and Concise. Your own are Markdown files with name, description and keep-coding-instructions front matter, in ~/.claude/output-styles, ~/.tempr/output-styles, .claude/output-styles (in the workspace or a folder above it up to the repository's root, the nearest winning) or .tempr/output-styles; plugins can bring them too.

The style in use is the outputStyle setting, read from the settings files above. /output-style lists the styles, and /output-style <name> saves one to the folder's .claude/settings.local.json, as Claude Code does. A change applies from the next message.

Status line

After each turn the CLI prints a line with the model, the mode and what the turn cost. Claude Code's statusLine setting replaces it with your own: a command that gets a JSON description of the session on stdin and prints the line, or several lines, with colours if you like. A script written for Claude Code's status line works here as long as it reads the fields both share.

{
  "statusLine": {
    "type": "command",
    "command": "~/.tempr/statusline.sh",
    "padding": 0,            // spaces in front of each line
    "refreshInterval": 10    // optional: run again every 10 s while the prompt waits
  }
}

It's read from the same settings files as everything else, the most specific winning; a folder's own statusLine runs only once you've allowed the folder's settings, as its hooks do, and disableAllHooks turns it off. It runs in the shell hooks use (Git Bash on Windows when it's installed, otherwise PowerShell), before each prompt. After a turn it's always printed; at other prompts, and on a refreshInterval, only when it reads differently, so it never interrupts what you're typing. It has 2 seconds, and if it fails or prints nothing, nothing is shown. An edit to the setting applies at the next prompt.

The JSON uses Claude Code's names: session_id, session_name, cwd, version, model.id and model.display_name, workspace.current_dir, project_dir, added_dirs and git_worktree, cost.total_cost_usd and total_duration_ms, context_window (context_window_size, used_percentage, remaining_percentage, total_input_tokens, total_output_tokens and current_usage), effort.level, output_style.name and worktree. Tempr adds tempr.approval_mode, tempr.persona, tempr.turns and tempr.total_tokens. Before the first model call there's no cost or usage yet, so those fields are missing; scripts should allow for that. COLUMNS holds the terminal's width.

#!/bin/sh
# ~/.tempr/statusline.sh: the model, the git branch and how full the context is
input=$(cat)
model=$(echo "$input" | jq -r '.model.display_name')
used=$(echo "$input" | jq -r '.context_window.used_percentage // empty')
branch=$(git -C "$(echo "$input" | jq -r '.cwd')" branch --show-current 2>/dev/null)
printf '\033[36m%s\033[0m  %s  %s\n' "$model" "${branch:-no branch}" "${used:+$used% context}"
# ~/.tempr/statusline.ps1, with "command": "powershell -NoProfile -File C:/Users/you/.tempr/statusline.ps1"
$s = [Console]::In.ReadToEnd() | ConvertFrom-Json
$used = if ($s.context_window.used_percentage) { "$($s.context_window.used_percentage)% context" } else { "" }
"$($s.model.display_name)  $($s.tempr.approval_mode)  $used"

/statusline <what to show> has the agent write a script like these and set statusLine in ~/.tempr/settings.json; /statusline alone shows what's set. Unlike Claude Code's, the line is printed above each prompt rather than kept at the foot of the screen.

Vim mode

Claude Code's vim mode for the prompt. Set "editorMode": "vim" in ~/.tempr/settings.json (or ~/.claude/settings.json) to have it on, or type /vim to turn it on or off for the session. Each prompt starts in insert mode; Esc goes to normal mode, and Enter sends from either. The cursor shows the mode: a bar to type, a block in normal mode, and the status line's JSON has vim.mode.

In normal modeKeys
Inserti a I A o O
Moveh j k l w e b 0 ^ $ gg G, f F t T and a character, ; and , to repeat a find
Operatorsd c y with a motion or a text object; dd cc yy D C
Text objectsiw aw i" a" i' a' i( a( i[ a[ i{ a{ (also ib and iB)
Editx r s S p P
Undo, redo, repeatu, Ctrl+R, .

To leave insert mode without reaching for Esc, map two keys to it, as in Claude Code: "vimInsertModeRemaps": { "jj": "<Esc>" }. A remap is two printable characters, and Esc is the only thing it can map to. Both settings are read from your own settings and managed settings only, not a folder's. Visual mode, counts and registers aren't there yet.

Keybindings

The prompt's keys, in Claude Code's keybindings.json format. Tempr reads ~/.tempr/keybindings.json, or ~/.claude/keybindings.json when it has none of its own, so keys you set up for Claude Code carry over. /keybindings opens the file in your editor (making it the first time) and lists the keys in force. Edits apply at the next prompt.

{
  "bindings": [
    {
      "context": "Chat",
      "bindings": {
        "ctrl+e": "chat:externalEditor",
        "ctrl+x ctrl+k": "command:compact",   // a chord: two keys within 3 seconds
        "ctrl+s": null                         // null takes a default key off
      }
    }
  ]
}
ActionDefaultWhat it does
chat:submitEnterSends the message.
chat:newlineShift+Enter, Ctrl+JA new line in the message. Some terminals send Shift+Enter as plain Enter; Ctrl+J works everywhere.
chat:externalEditorCtrl+GOpens the draft in $VISUAL, else $EDITOR, else Notepad or vi; what you save comes back to the prompt. A command such as code --wait works.
chat:stashCtrl+SSets the draft aside; it comes back after your next message, or press it again on an empty prompt.
chat:cycleModeShift+TabInteractive, then bypass (edits without asking), then plan mode, then back. Autopilot is in the cycle only when the session started in it.
chat:imagePasteCtrl+V; Alt+V on WindowsPastes the clipboard's image as an [Image #n] chip (Windows Terminal keeps Ctrl+V for text). With only text on the clipboard, pastes the text.
history:searchCtrl+REarlier prompts, newest first (those containing what you've typed, if anything), in a list you can search.
app:interruptEsc, during a turnStops the turn, as Ctrl+C does. Anything else you type while a turn runs waits for the next prompt.
command:<name>Runs that slash command, keeping your draft for after.

Keys are written as Claude Code writes them: ctrl, shift, alt (also opt, meta or cmd, which a terminal sends alike) and a key, joined with +; a chord is two of them with a space between. Tempr's prompt has the Chat and Global contexts; entries for Claude Code's other screens are skipped. Ctrl+C, Ctrl+D, Ctrl+M, Ctrl+[, Ctrl+I and Ctrl+H can't be rebound, because the terminal or the CLI uses them. While the completion list is open, its own keys (Tab, Shift+Tab, Enter) come first. On macOS and Linux the CLI turns the terminal's flow control off while it runs, so Ctrl+S reaches the prompt, and puts it back when it exits. tempr doctor and /keybindings list any entries that were skipped and why.

Monitoring (OpenTelemetry)

Tempr can export metrics and events to your own OpenTelemetry collector, set up as Claude Code's monitoring is, with the same variables, in the environment or in the env of your own settings (a folder's settings can't turn it on). It's off unless you set it up, and none of it goes to Tempr.

export CLAUDE_CODE_ENABLE_TELEMETRY=1        # or TEMPR_ENABLE_TELEMETRY=1
export OTEL_METRICS_EXPORTER=otlp            # otlp, console (stderr) or none
export OTEL_LOGS_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc      # or http/protobuf (the default)
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
  • Metrics and events are Claude Code's, named tempr.* instead of claude_code.*: sessions, tokens, cost, lines of code, commits, pull requests, edit decisions and active time; prompts, tool results and decisions, API requests and errors.
  • A prompt's text is redacted unless OTEL_LOG_USER_PROMPTS=1; tool parameters go only with OTEL_LOG_TOOL_DETAILS=1.
  • The per-signal endpoint, protocol and header variables, the export intervals, temporality and OTEL_RESOURCE_ATTRIBUTES are read too. There's no Prometheus exporter and no traces.
  • The same export works in tempr acp.

Language servers

With a language server, each edit's result carries the errors and warnings it reports for the file, and the agent gets the read-only lsp tool. A plugin brings one in its .lsp.json; you can add your own under lspServers in ~/.tempr/settings.json, in the same shape:

{
  "lspServers": {
    "gopls": {
      "command": "gopls",
      "args": ["serve"],
      "extensionToLanguage": { ".go": "go" }
    }
  }
}

command and extensionToLanguage are required. Optional, with Claude Code's defaults: env, initializationOptions, settings, workspaceFolder, startupTimeout (30000 ms), requestTimeout (60000 ms), restartOnCrash (true), maxRestarts (3) and diagnostics (true; false stops the errors after edits). A server starts the first time a file it handles is edited or asked about. Plugins' servers come first; for a file extension two servers handle, the first one is used. A folder's settings can't add one, since it would run a program.

Troubleshooting

SymptomFix
No model configured on every runPass -m <id> or run tempr config set-model <id>; no default is set on this machine.
Auth errors on a machine that used to workRun tempr doctor to check connectivity; if the credential is stale, tempr logout then tempr auth.
Turns fail in a CI container but work locallyCheck that TEMPR_LICENSE_KEY is actually set in the job (without it the run exits 3 with Not signed in, and a bad key prints TEMPR_LICENSE_KEY was rejected), and pass -m explicitly so the run doesn't depend on local config.
Unexpected tool behavior or empty MCP listtempr mcp list shows what's configured; MCP tools only appear once a server is added with tempr mcp add or tempr mcp browse, and enabled. tempr doctor starts each enabled server and reports any that fail.
A folder's hooks, allow rules, env variables or .mcp.json servers don't applyThey wait for your OK. tempr hooks list shows what's waiting; tempr hooks allow in the folder allows it, or start an interactive session there and say yes. A change to them asks again.
An MCP server doesn't start/mcp says whether it needs sign-in (/mcp login <name>) or was turned off for failing (/mcp restart <name>). A server that deniedMcpServers, allowedMcpServers or disabledMcpjsonServers keeps out doesn't start either; see MCP server allow-lists.
Autopilot is turned off by ...A settings file sets permissions.disableBypassPermissionsMode to "disable"; the message names it. Run without --yolo, or with another --approval-mode.
Hook skipped, Permission rule skipped or Setting skipped at the startThe message says which file and why: an event Tempr doesn't run hooks for, a tool it doesn't have, or JSON it couldn't read.
The agent ignores part of a CLAUDE.mdRun /memory: it shows what was cut to fit the budget, imports that weren't followed, and links that lead outside the project.
A local model doesn't show in tempr modelsIts server isn't running, or isn't where Tempr looks. See Local models.
Can't tell what the agent didRe-run with --verbose for each tool call's full output and token usage, use /diff in the REPL to see what the last turn changed on disk, or read the saved session with tempr history show <id>.

tempr doctor

tempr doctor checks that the config directory is writable, that the server is reachable, that you're signed in with an active plan and the session can refresh, that your catalog has models, that your default model is set and in that catalog, and that each enabled MCP server starts (--skip-mcp skips that one). It lists your local model servers, and fails only if the one your default model is on doesn't answer. It also says what the sandbox can do here and which Unix sockets it lets through, and which instruction files a session in this folder would send. When something misbehaves, run it first. It distinguishes "can't reach the server" from "not signed in" from "configured fine," which covers most first-line debugging. It exits 1 if any check fails, so a CI job can gate on it.

Note

The agent loop runs server-side, so a flaky local connection does not kill an in-flight turn, but doctor is still the fastest way to confirm the machine can reach Tempr at all.