Skip to content
Changelog

Changelog

Changelog

[1.12.1] - 2026-11-26

DocumentDB clusters in AWS China now connect without a ca_file. In cn-north-1 and cn-northwest-1, den’s login check failed with MongoNetworkError: unable to get local issuer certificate, although the tunnel was up. den handed mongosh the CA bundle of the commercial AWS regions, which holds none of the China CAs. If you worked around it with a ca_file that points at the China bundle, you can keep that line or delete it.

πŸ”Œ Data stores and tunnels

  • A DocumentDB service in a cn-* region now verifies the cluster with the China CA bundle, cached as ~/.config/den/global-bundle-cn.pem and downloaded from the address the AWS China docs give. Before, den reused global-bundle.pem whenever it was on disk, and the China address it fell back to did not exist. Other regions keep using global-bundle.pem, so a cached bundle stays valid.
  • When the login check fails, its hint in the detail view’s log now also names the CA bundle, for a certificate error. It used to list only IAM causes.

πŸ”§ Configuration and checks

  • den paths lists the China CA bundle next to the other one.

[1.12.0] - 2026-11-22

/ now finds the key that holds a value, and a match looks the same in every panel. In an open secret, the search used to read key names only. You often know the value instead (a host, a token prefix, an account ID), so it now reads values too, and a value it finds stays masked. What any search finds now lights up in yellow, as it does in a runbook’s log.

πŸ” Secrets

  • In an open secret, / matches key names and values, ignoring case. A row found by its value alone stays masked and is tagged in value, so you can see why it is listed. r, a and y work on it as on any other row. Whoever sees your screen sees the query and which keys it matched, so they learn that those keys hold what you typed. The list of secrets and a KeePassXC database’s entry list are searched as before, and nothing more is decrypted.
  • The empty result now says “No keys or values match your search.”

πŸ–₯ The dashboard

  • A search match looks the same everywhere: dark text on yellow, as you type. Before, only a runbook’s log lit its matches up.
  • The filtered lists light up what they matched, in the columns the filter reads: a service’s name and type in Connect, a profile’s name in AWS, a runbook’s name and description, a line of den.yaml in Config, a topic’s title in Help. In Secrets, they also light up a secret’s name and its description and file in the box under the list, keys and revealed values, tree headings and KeePassXC entry paths. A masked value never lights up.
  • A Help topic and the changelog light up every match, with the ones on the line the view is on brighter. Before, only the current match showed, in reverse video.
  • A selected row keeps its bar after a match.

πŸ”Œ Data stores and tunnels

  • Routine updates, with nothing meant to change in den: the AWS SDK for Go (ElastiCache 1.66.0, OpenSearch 1.88.1, RDS 1.133.0, Redshift 1.72.0, Redshift Serverless 1.46.6, and ssooidc 1.44.5, the IAM Identity Center API that renews an SSO session’s token), golang.org/x/term 0.48.0, and Lip Gloss 2.1.0, which draws the dashboard.

[1.11.0] - 2026-11-16

A runbook’s log can now be searched, shown full screen and copied, without leaving den. Until now the output on the Run tab, and a past run opened in History, could only be scrolled: to find an error in a long run you pressed o and searched in your editor. The log now reads like k9s’s log view, with a line of its own under it that says whether it follows new lines and lists its keys. This release is also built with Go 1.27.4, for a crash fix in Go’s HTTP server.

πŸ–₯ The dashboard

  • In the App Logs panel and a service’s Logs tab, f no longer pages down (pgdown and space still do), and g/G/home/end now jump to the top and the bottom of the log.
  • On a runbook’s Run tab and a run opened in History, / searches the log. Every match lights up as you type, and the view jumps to the first one at or below the top. enter keeps the search, esc ends it. n/N go to the next and previous match, round from the last to the first, with a 3/17 count. The text is matched as it is, not as a pattern: all lower case matches any case, and a capital letter matches only itself.
  • f shows the log alone, over the whole box, without the header and the tabs.
  • T hides the timestamps and w wraps long lines, which are otherwise cut at the edge. Both stay set for every runbook you open until den exits.
  • s stops and resumes following new lines. Scrolling up or jumping to a match also stops it, so a live run no longer pulls the view away while you read. G, end or scrolling down to the last line follows again, and g or home goes to the top.
  • c copies the whole log, not only what is on screen: without its colours, and with the timestamps if they are shown. Secret parameters are already redacted from it. Where there is no system clipboard, the terminal sets it (OSC 52), and some terminals cut a long copy.
  • Under the box, the log has a line that always says following or paused, shows the search, and lists the log’s keys, each named by what it does next (s: pause, T: show time). The help line under it keeps the view’s own keys.
  • On History’s list, / and f open the selected run’s log first, and c copies it.
  • esc goes back one step at a time: the search, then full screen, then from a run’s log to the list of runs, then out of the view.

πŸ”Œ Data stores and tunnels

  • Built with Go 1.27.4. With Go 1.27.3, an HTTP/1 server could crash on a race over the request headers (GO-2026-6859). That affected the local SigV4 proxy that OpenSearch and Neptune connections go through.
  • The AWS SDK for Go now returns an error, instead of panicking, when a role assumption comes back without credentials or an aws login token lacks a field (credentials 1.20.13).
  • Routine updates, with nothing meant to change in den: the AWS SDK for Go (config 1.33.13, MemoryDB 1.42.8, Redshift 1.71.6, and ssooidc 1.44.1, the IAM Identity Center API that renews an SSO session’s token).

[1.10.0] - 2026-11-03

A SOPS file kept in git now says when a teammate pushed a newer version, and u updates it. Until now den read the file from disk and knew nothing of git: when your clone was behind, the old values opened as ready and you found out when a login failed. For a file in a git working copy, the Secrets panel now shows whether it is up to date with its upstream, and reminds you when your own change is not committed or not pushed. Files outside a repository look and work as before, and nothing needs configuring.

πŸ–₯ The dashboard

  • A SOPS file in a git working copy gets a second status beside ready: ↓ outdated, β‡… diverged, ✎ not committed, ↑ not pushed, βœ“ up to date, no upstream, ! check failed, or not in git for an untracked or ignored file. The comparison is per file, the file at HEAD against the file on the upstream, so commits that leave it alone keep it up to date.
  • The details box names the repository, the branch and its upstream, when the clone last fetched (fetched 2h ago, or never fetched), and for an outdated file the number of newer commits and the newest one: its subject, author and age. An open file shows a line under its path when git has another version than the values on screen.
  • The state comes from the refs your clone already has, so a fetch by your shell or your editor counts too. den works it out in the background when the panel is first shown and after an edit, an update, a fetch or a reload, and never fetches on its own.
  • f fetches the selected file’s upstream (that branch only, 30 s at most) and checks every secret in that repository again. u fetches the same way, then asks Fast-forward infra (main) by 7 commits? This updates the whole branch, not only this file. On y the branch moves, every secret is checked again, and an open file shows the new values.
  • e on an outdated file asks first, since editing the old version makes a change an encrypted file cannot merge: u updates first, e edits anyway.
  • The update only ever runs git merge --ff-only on the branch checked out: never a rebase, a merge commit, a stash, a checkout, a commit or a push. It refuses, saying why, for a diverged file, a detached HEAD, a merge or rebase in progress, a branch other than git.branch’s, or a branch with commits the upstream lacks, and names your local changes when git stops because the update would overwrite them. git never asks for a passphrase or a password: a key that needs one shows check failed with git’s message.

πŸ”§ Configuration and checks

  • secrets.sops[].git is needed only to override what den finds: branch: main compares the file with main’s upstream whatever branch is checked out, and check: false turns the git status off for that file. den config --check refuses a branch that is not a branch name.
  • den doctor asks for git when one of your SOPS files is in a git working copy.

[1.9.0] - 2026-11-03

den now logs in to see that the database takes the credential, and RDS can log in with a password from a secret. Until now a service read CONNECTED once its tunnel answered and a credential was minted, so a token the database refused stayed hidden until a client failed with PAM authentication failed. After each connect and each new credential, den logs in once with the client and credential a terminal tab gets, and says when the database refuses and what to check. A database or user without IAM auth can now be reached too: an RDS service with auth: logs in with a username and password from one of your secrets, and writes it to no file.

πŸ”Œ Data stores and tunnels

  • After a service connects, after each renewal and after r, den logs in once in the background: psql or mysql runs select 1, redis-cli sends PING and mongosh checks that it is logged in as a user. The log says login checked as <user>. A refusal keeps the tunnel up: the Connect panel shows connected Β· login failed, the detail view CONNECTED Β· LOGIN FAILED, and the log has the database’s answer, then what to check: the AWS profile the credential was minted as (aws_profile when credential_profile is not set), the user and host, and the grant and IAM action the login needs. Fix it and press r to check again. Without the client installed the log says psql not found β€” login not checked, which is not a failure. OpenSearch and Neptune have no such client and get no check.
  • The check gets the credential the way a terminal tab does, in the client’s environment or den’s MySQL option file, never on the command line. All it reports is the line that says why a login failed, with the credential replaced by [redacted]. A database that audits logins sees one on connect, on each renewal (every 13 minutes for a 15-minute token) and on r.
  • The psql commands of RDS and Redshift services gain hostaddr=127.0.0.1. The tunnel listens on IPv4 only and psql tried ::1 first, so every failed login also printed Connection refused, which read as a dead tunnel. host=localhost stays, so ~/.pgpass entries still match.
  • An RDS service, PostgreSQL or MySQL, can log in with a username and password from a secret: auth.secret names an entry under secrets: (sops, aws_secretsmanager or one vault secret). den checks that the secret is ready before it opens a session, so an expired login shows up first, and reads it on connect, reconnect and r; nothing re-reads it by itself. KeePassXC is not supported yet: den cannot ask for its master password while connecting.
  • The password reaches no file. A terminal tab gets it through PGPASSWORD or MYSQL_PWD, and the y command run elsewhere asks for it. A ~/.pgpass line left on that port from IAM is removed, since psql would send the dead token instead of asking.

πŸ–₯ The dashboard

  • A service with a password shows a Login section in the detail view in place of the token bar: the secret, its provider and when den read it. p copies the password and clears the clipboard after 30 seconds. Y is not offered, since its command would land in a shell’s history still valid.
  • r on a service that is not connected says <name> is not connected β€” press c first. It used to fail with an error that stayed in the bottom line after the connect that followed.
  • The Connect panel’s shortcuts list r and a under “Credential and tunnel”.

πŸ”§ Configuration and checks

  • rds.auth takes secret, username_key and password_key, the keys dotted as in the Secrets pane’s flat view and username and password by default, as in a secret RDS manages for you. db_user is no longer required with auth, and wins over the secret’s username when set. den config --check refuses an auth.secret that names no entry, a KeePassXC entry or a Vault folder, and update_pgpass together with auth.
  • den doctor no longer asks for the AWS CLI for a service that logs in with a password and is reached over SSH or kubectl: nothing is minted for it.

πŸ€– AI agents

  • den list --json and den mcp report a refused login as login_error. The connect tool waits for the check before it answers, and the den skill tells an agent to stop and show you the error rather than try another user, profile or password.
  • An agent can open the tunnel of a service with a password and is never given the password; the skill asks it to have you run the query from a terminal tab instead.

[1.8.2] - 2026-11-02

den doctor --explain now survives a dropped connection. A connection lost part-way through Claude’s reply used to end the explanation with could not reach the Anthropic API; it now retries. The rest of the release is dependency updates. Nothing in den’s code, commands or den.yaml changed.

πŸ”§ Configuration and checks

  • anthropic-sdk-go 1.84.0 brings the retry above. It also compiles OpenTelemetry’s API packages into den. They stay idle: den registers no tracer and no exporter is built in, so it sends no spans or trace headers.
  • Cobra 1.10.2 and pflag 1.0.9 change what den completion prints: PowerShell completion works in constrained language mode, and bash completion no longer fails on an unset variable under set -u when a flag’s file filter has no extensions. Flags, help text and error messages are unchanged.
  • Routine update, with nothing to notice in den: golang.org/x/mod 0.42.0.

πŸ”Œ Data stores and tunnels

  • den init no longer fails reading MemoryDB clusters when AWS returns a list holding a null value (MemoryDB 1.42.5).
  • Routine updates, with nothing to notice in den: the AWS SDK for Go (core 1.47.5, config 1.33.9, credentials 1.20.9, ElastiCache 1.64.2, SSM 1.80.0, ssooidc 1.43.4) and smithy-go 1.28.7.

πŸ–₯ The dashboard

  • Routine updates, with nothing to notice in den: the terminal emulator charmbracelet/x/vt 0.1.0 and golang.org/x/term 0.47.0.

[1.8.1] - 2026-10-21

Built with Go 1.27.3, for a certificate fix. Go 1.27.2 still trusted intermediate certificates known to be compromised wherever the system’s trust store had not dropped them (GO-2026-6809, CVE-2026-111943). Every HTTPS connection den makes, from the update check and its downloads to the AWS APIs, now refuses a certificate chained through one of them. Nothing in den’s code, commands or den.yaml changed; the rest of the release is dependency updates.

πŸ–₯ The dashboard

  • den no longer crashes at start, with makeslice: len out of range, in a terminal that reports its size as 0x0, such as a pty opened without one. Bubble Tea 2.1.0, the terminal UI library den is built on, now falls back to a default size there; it also fixes a deadlock in its signal handling while a program shuts down.

πŸ”Œ Data stores and tunnels

  • The AWS SDK for Go (core 1.47.3, smithy-go 1.28.5, Secrets Manager 1.50.4, Redshift 1.71.4) keeps the message of an AWS JSON API error whichever casing the service sends it in, keeps a map key whose value is null, and no longer panics on a malformed event-stream header or CBOR length. den uses these clients for awssm secrets, Redshift credentials and den init.
  • golang.org/x/sys 0.49.0, the system calls den uses to run and stop processes.

[1.8.0] - 2026-10-16

Go back to an older den from inside den. Until now the Updates panel offered one version, the latest, so someone hit by a bad release had to find the install script and its --version flag. v in the Updates panel now lists every release, older ones included, and installs any of them; den update does the same from a shell. A version can be kept from coming back: skipped on one machine, pinned for a team, or yanked by the maintainers for everyone.

πŸ”„ Updates

  • v in the Updates panel opens the version picker: every release, newest first, with its date and whether installing it is an upgrade or a downgrade, marked rc, pinned, skipped, ⚠ yanked with the reason, or no <os>/<arch> build. enter asks before it installs, and only y answers: the question says which way it goes, why a release is yanked, that a den older than 1.8.0 offers the latest release again and knows none of this, and that den.yaml keys newer than the release are ignored or rejected by it. s shows a release’s notes and p shows release candidates.
  • A downgrade offers to skip the version you leave (on by default), so the next check does not offer it straight back; it is saved once the install has worked. x in the picker skips or unskips any version. The skip list is the machine’s own, in updates.json in den’s state directory, which den paths lists.
  • den update says what the check offers and why; den update list [--all] lists the releases, den update install [VERSION] [--yes] [--skip-current] installs one, older ones too, verified against checksums.txt like the panel’s install, and den update skip|unskip VERSION edits the skip list. Outside a terminal install needs --yes. It reads only the updates: block of a den.yaml with errors elsewhere, so a release that rejects your config can still install one that accepts it. None of it is offered over MCP.
  • A yanked release is no longer offered, and a den running one with nothing newer to go to is offered the newest good release below it. The panel says when the running release is yanked, and why the check offered what it did.
  • The check now reads releases.json, the list of every release that each release publishes from now on. It is one file of the release feed, so it costs no API call; until a release has it the check reads latest.json as before, and the picker asks the releases API once. An S3 mirror copies releases.json with the other files to get the picker and the yanks.

πŸ”§ Configuration and checks

  • updates.pin: v1.8.0 holds den on one version, older or newer than the running one: the check offers it and nothing else. den config --check refuses a pin that is not a full version.
  • updates.channel: prerelease offers release candidates too; stable, the default, does not.

πŸ“¦ Install and updates

  • Release candidates (vX.Y.Z-rc.N) are published as GitHub prereleases, for people on the prerelease channel to try before a release; releases/latest and the install scripts’ default ignore them.
  • Every pull request now builds its release archives, ready for install.sh, so a reviewer can run a change before it is merged; docs/updates has the commands.

[1.7.2] - 2026-10-16

A service you disconnect connects again. After d on an RDS service, or any other service reached through SSM, every c failed with SSM session start failed: supervisor: already running until den was restarted. The aws CLI runs session-manager-plugin as a child, and den stopped only aws: the plugin kept running, held the local port, and den kept waiting for it to finish.

πŸ”Œ Data stores and tunnels

  • Disconnecting a service stops its whole session, session-manager-plugin included, so the port is free again and c connects. The same holds when a connect fails, when an attempt is retried and when a dropped connection is torn down before reconnecting.
  • A service whose local port something else already holds no longer connects through it. It stops at once with port 5432 is already in use β€” is another SSM session or den still running? (the transport’s name in place of SSM session), rather than reporting CONNECTED and minting a credential for a session that is not den’s.
  • kill on den now stops the services it connected, as q and closing the terminal window do. Before, they kept running after den was gone.

[1.7.1] - 2026-10-16

Secrets no longer say “SSO login expired” while the AWS pane shows hours left. With an [sso-session] the access token in ~/.aws/sso/cache lasts an hour, and the AWS CLI and the SDKs swap in a new one from the refresh token until the IAM Identity Center session ends. The Secrets pane and den doctor read only that token, so whenever it ran out with nothing using AWS, every secret on the session was blocked, while the AWS pane, which reads den’s own record, counted down the hours still left.

πŸ”§ Configuration and checks

  • den renews a session’s access token once it runs out, at start and then every minute, and on r in the Connect list. It never opens a browser, and the renewed file keeps working for secrets, den doctor and tools outside den.
  • The AWS pane, the Secrets pane and den doctor decide in one place whether a login is live, so they can no longer disagree: a login counts while its token is valid or can still be refreshed. After aws sso logout, which leaves den’s record behind, the AWS pane no longer counts down a login that is gone.
  • When IAM Identity Center refuses a renewal, because the session ended or was revoked, every pane and den doctor read the session as expired until the next login, and its log says why. A renewal that fails on the way, or that another den or the CLI beat to the refresh token, changes nothing.
  • A login made outside den that only its refresh token keeps alive reads logged in Β· token renews on next use in the AWS pane until den renews it.

[1.7.0] - 2026-10-16

Click a link to open it. Since den took the mouse in 1.3.0, the terminal’s own ⌘-click never reached an address on screen. den now underlines every http(s) address it shows in blue and opens it in the default browser with one click, and in Ghostty, kitty and foot the pointer turns into a hand over it.

πŸ–₯ The dashboard

  • Every http(s) address den shows is underlined in blue and opens in the default browser with a click: in a panel, the logs, a Help topic, the Updates panel, a bar, a runbook’s output or a terminal tab, whether den wrote it or a program printed it, plain or as an OSC 8 link.
  • A link opens when the button comes up, so a drag that starts on an address selects and copies it instead, and a double-click opens it once. Under a pop-up or a question a click opens nothing.
  • Only http and https open: a link a program writes to a file or an app is left to the terminal (M), so a click never starts an app. An address cut with … is not a link, and one wrapped onto a second line opens only the part on its first line.
  • With the mouse over a link the pointer turns into a hand, in a terminal that lets den set it (OSC 22): Ghostty, kitty and foot. It turns back off the link, and a key, a quit or a restart into a new version gives the terminal its own pointer back, so the shell or a program den starts never keeps the hand. Alacritty, GNOME Terminal and Windows Terminal keep their own.
  • iTerm2 3.6 and earlier keep their own pointer, an I-beam in a circle, while den has the mouse. Hold ⌘ over a link for iTerm2’s own hand; ⌘-click opens the link once.
  • The Mouse help topic and the shortcuts page cover links and the hand, and say what to do when the pointer stays a hand after den was killed.

[1.6.0] - 2026-10-15

A VPN left running no longer blocks you. When den’s stop could not clear an openfortivpn hung in its gateway logout, or the pppd it left behind, den started a second VPN on top of it that could only fail, and took about 7 s to open because of the dead tunnel. den now kills what ignores its stop, refuses to connect beside what is left, and on c shows what is still running with an offer to stop it.

πŸ–₯ The dashboard

  • c on a VPN that an openfortivpn or an orphaned pppd from an earlier session keeps from connecting opens a pop-up naming each process, its pid and how long it has run. y stops it and connects; n connects nothing.
  • The pop-up shows the commands to stop it by hand: the kill by pid, and sudo /opt/den/libexec/den-vpn stop <profile> when the VPN helper is installed. k and s copy them. Without the helper it says that stopping asks for your admin password.
  • When den’s stop leaves something running, after y or after d, the pop-up says so and y tries again. While another VPN in den is up, c asks you to disconnect it first.
  • A VPN left up by an earlier session is checked in the background: den opens at once and shows it as connecting until its health_check answers, instead of waiting about 7 s on a dead tunnel. A dead one reads “data path appears dead”, and c offers to stop it and reconnect.

πŸ”Œ Data stores and tunnels

  • den’s VPN stop gives openfortivpn 5 seconds to log out of the gateway, then kills it: over a dead connection that logout never returns, and the process kept ppp0 and the VPN’s DNS. The pppd an openfortivpn leaves behind gets the same 5 seconds, then the same kill. With a gateway set, the stop behind the admin prompt no longer matches its own shell.
  • den no longer starts a second openfortivpn beside one still running, or beside an orphaned pppd: it could only time out its login while holding another gateway session. The VPN log gives the command to stop what is left yourself.
  • The helper’s stop fails and names the pid when an openfortivpn or a pppd survives it, instead of printing stopped.

πŸ”§ Configuration and checks

  • den vpn status says whether the installed VPN helper script is current, and den doctor warns when it is outdated: an older helper’s stop cannot clear a hung openfortivpn or pppd. Run den vpn install-helper again after updating den.

[1.5.0] - 2026-10-15

Copy text from den again. Since den took the mouse in 1.3.0 a drag selected nothing, and the Option-drag the docs suggested makes a rectangular selection in Terminal.app. den now selects for itself: drag over text, let go, and it is copied. M hands the mouse back to the terminal when its own selection is what you need.

πŸ–₯ The dashboard

  • A drag selects text in reverse video, and letting go copies it, with copied 3 lines in the status bar. A key, a click or the wheel clears the highlight. Clicks, double-clicks and the wheel work as before.
  • The selection stays in what it started in: the menu, the panel, the inside of a service’s detail view or a runbook’s view, or one bar at the bottom. It never picks up the menu beside a panel or a box’s border, so a drag over a terminal tab copies only what its program wrote.
  • It copies what is on screen: a line cut with … stays cut, a wrapped line comes out as several lines, and a drag does not scroll. Under a pop-up or a question a drag selects nothing.
  • Without a system clipboard (no xclip or wl-copy, a session over SSH) den asks the terminal to set it with OSC 52 and says (sent to the terminal); tmux passes that on only with set -g set-clipboard on.
  • M gives the mouse to the terminal, whose own drag-to-select then works in full, and takes it back: from the menu, a panel, the detail view and the runbook view, unless a search box, a terminal tab or a form is taking the keys. While the terminal has it, the status bar ends with M: mouse to den. The shortcuts pop-ups list it.
  • The Mouse help topic and the shortcuts page give each terminal’s modifier for its own selection: Option in iTerm2, Fn in Terminal.app (or ⌘R), Shift in Ghostty, kitty, WezTerm, Alacritty and Windows Terminal.

[1.4.0] - 2026-10-15

The AWS panel says when an SSO login ends. Each logged-in session’s row gave a bar and a countdown, and the only place the end time showed was the SSO cache, written in UTC, which reads as local time when it is not. The row now gives the end on your clock, with the zone, so it cannot be taken for UTC.

πŸ–₯ The dashboard

  • The SSO Login box of the AWS panel ends each logged-in row with the local time the login ends: 2h 28m remaining Β· until 14:59:16 CEST, or until Fri 02:15:00 CEST when that is another day. After a den login it is den’s record of the login; after a login den did not start, it is the current access token’s expiry.
  • The bar gets shorter to make room. A panel too narrow for the clock leaves it out and keeps the countdown, so the row never wraps. The Connect list keeps only its countdown.

[1.3.0] - 2026-10-14

den takes the mouse. A click selects what it lands on, a double-click does what enter does there, and the wheel moves through what is under the pointer, in the menu, the panels, a service’s detail view and a runbook’s view. The keys work as before. While den has the mouse a plain drag no longer selects text: hold Option (iTerm2, Terminal.app) or Shift (most other terminals) to select. The Help panel’s new Mouse topic says what goes where.

πŸ–₯ The dashboard

  • A click on a menu row shows its panel, the menu keeping the focus; a double-click opens it.
  • A click on a row of Connect, Tunnel, VPN, AWS, Secrets, Create Env, Runbooks, the Config problem list or the Help topics focuses the panel and selects the row; a double-click does what enter does on it, so it opens a service’s detail view or a runbook’s view, logs in to an AWS session, opens a secret or a Help topic.
  • The wheel over a panel moves through it as ↑ and ↓ do, without taking the focus from the menu; the wheel over the menu does nothing. The shortcuts pop-up (h) scrolls with it.
  • Pop-ups, forms and y/n questions stay keyboard-only: a click or the wheel while one is up does nothing, so a stray click never answers one.
  • In a service’s detail view and a runbook’s view, a click on a tab shows it (β€Ή and β€Ί step to the tabs the bar has no room for), and a click on a terminal’s screen types into it; picking another tab gives den the keys back. The wheel scrolls the logs, and reaches the program of a terminal being typed into as arrow keys.
  • The tabs of both views sit between two rules: a line under the tab bar now keeps them apart from the first line of the body.

πŸ“œ Runbooks

  • The first tab of a runbook’s view is now Run, not Logs: it shows the current or last run, and no longer shares its name with the Logs panel. The bar reads Run β”‚ History β”‚ About β”‚ Files.
  • A click picks a run in History or a file in Files; a double-click shows the run’s whole log or the file.

[1.2.1] - 2026-10-14

update_pgpass works on Windows. den wrote the token to ~/.pgpass, a file psql on Windows never reads, so psql kept asking for a password. den now writes it where psql looks on each system.

πŸ”Œ Data stores and tunnels

  • With update_pgpass: true, RDS PostgreSQL and Redshift services write the token to %APPDATA%\postgresql\pgpass.conf on Windows, creating the postgresql folder when it is missing. macOS and Linux keep ~/.pgpass.
  • When PGPASSFILE is set, den writes to that file on any system: psql reads it in place of ~/.pgpass, so the token used to land in a file it skipped.
  • The connect log names the file den wrote, and den mcp’s connect tells an agent the same path.
  • On Windows, a ~/.pgpass left by an earlier version was never read; you can delete it.

[1.2.0] - 2026-10-12

What you type for an agent is no longer lost. The request of the Runbooks pane’s n and the change E asks for lived only in their pop-up: esc, a quit or a crash lost it, and a restarted agent tab started without it. den now keeps them on disk as drafts until you send them, and keeps the request a runbook was made with, so an agent that failed can get it again.

πŸ“œ Runbooks

  • The n and E forms save what you type as a draft a second after you stop typing, and when den quits, so ctrl+c, q or a crash loses at most that second. esc on a form with something in it asks Keep as a draft?: y keeps it, n deletes it, esc goes back to the form. An empty form closes as before.
  • A kept draft is a row at the top of the Runbooks list, TYPE draft, with its request’s first line as the description, so / finds it. enter opens its form where you left it and D deletes it after asking; the run keys say it is a draft instead of running it.
  • n first offers your drafts of new runbooks, newest first, beside a new one; with none it opens the form at once, as before. E on a runbook with a draft of a change opens that draft.
  • enter in either form keeps the request with the runbook. Restarting a failed agent’s tab now asks first: y (or enter) sends the request again, n starts the agent empty, esc restarts nothing. After den itself restarted, E on the runbook opens filled with that request, ready to send again or to change. A runbook that cannot be created keeps what was typed as a draft.
  • Drafts and saved requests are files in den’s state directory readable only by you, since a request may hold a password; den mcp and --json never show them. den paths lists the folder, and deleting a runbook deletes its requests.

πŸ”§ Configuration and checks

  • runbooks.drafts.keep_request says how long a request outlives the runbook it created: until-deleted (the default) until the runbook is deleted, until-exit until its agent exits cleanly by itself, never once the agent has started. An agent that fails, or whose tab den closed, keeps it.
  • runbooks.drafts.days (default 30) is how long an untouched draft is kept; 0 keeps drafts until you delete them.

[1.1.1] - 2026-10-12

The den.yaml schema and the configuration reference describe every key. Each key is documented where den defines it, but the schema generator looked those notes up under the wrong package name, found none and reported nothing. The schema shipped without a single key description, and every Description cell of the configuration reference was empty.

πŸ”§ Configuration and checks

  • den schema now carries a description for every key, so an editor with the YAML language server shows what a key does when you hover it. If you saved the schema to a file (den schema > ~/.config/den/den.schema.json), run that again after updating.
  • The configuration reference on the documentation site fills its Description column from the same text.
  • The reference’s Required column says yes or no for every key, where it left optional keys blank. A key needed only in some setups says when in its description: aws_region_code and ec2_instance_id (in the service’s section or from its env), the transport’s host, endpoint_id and resource, Redshift’s cluster_identifier and workgroup_name, the VPN’s config_file and KeePassXC’s key_file.
  • A key with a fixed set of values lists them in its Type (string, one of ssm, ssh, …), in place of an Allowed values column that stood empty on all but 11 rows.
  • The schema marks rds_host, db_user (RDS), documentdb_host, redshift_host, opensearch_host, neptune_host and a runbook parameter’s name as required, as den itself always did, so an editor flags them when they are missing.

[1.1.0] - 2026-10-12

Six more agent CLIs can write and change your runbooks. den runbook new --agent, the Runbooks pane’s n and E started only Claude Code and Codex. They now also start OpenCode, Copilot CLI, Qwen Code, Droid, Pi and Kimi Code, each with den’s runbook guide, and without touching that agent’s own configuration.

πŸ“œ Runbooks

  • kind in runbooks.agents, runbooks.agent, a runbook’s agent: and --agent take opencode, copilot, qwen, droid, pi and kimi beside claude and codex. The kind is read from the command (opencode --model …, /opt/bin/copilot) and from ollama launch <kind>, where ollama launch copilot-cli means Copilot CLI. auto takes the first one installed, in that order after Claude Code and Codex.
  • OpenCode and Copilot CLI get den’s MCP server for the session, as Claude Code and Codex do: OpenCode through a config den writes and names in OPENCODE_CONFIG, which it merges with yours; Copilot CLI through --additional-mcp-config, with an AGENTS.md den adds to COPILOT_CUSTOM_INSTRUCTIONS_DIRS ahead of your own folders.
  • Qwen Code, Droid, Pi and Kimi Code cannot take an MCP server for one session, so they check their work with the new den runbook validate from their shell. Kimi Code takes no first prompt: den puts the request in its instructions and tells you to type go in its tab.
  • den runbook validate [folder] [--json] checks a runbook folder the way den loads it and reports what the validate_runbook MCP tool does, exiting 1 while the folder does not load.
  • The setting files den writes for these agents live in agents/ under den’s state directory, one folder per start, readable only by you; folders unused for 30 days are removed.

πŸ”§ Configuration and checks

  • den doctor --for opencode (and copilot, qwen, droid, pi, kimi) shows how to install each agent CLI on your OS.

[1.0.4] - 2026-10-11

An old SSO login left in the cache no longer hides a fresh one. ~/.aws/sso/cache keeps a file per session name and per start URL, and the files of a renamed session stay behind. den took the first match in file name order, so an expired leftover that sorted before today’s login made a logged-in session show as expired.

πŸ”§ Configuration and checks

  • A session counts as logged in when any of its cached logins is still valid. Secrets no longer say “SSO login expired β€” log in from the AWS pane” for a session you have just logged in to, and the AWS pane and den doctor read the login that runs out last.

[1.0.3] - 2026-10-10

aws.config_path and aws.credentials_path now reach the aws CLI and the AWS SDK. den read the files named there to find your SSO sessions, but the aws commands it runs looked in ~/.aws/config, so an SSO login from a custom config file ended in exit status 255.

πŸ”§ Configuration and checks

  • den exports AWS_CONFIG_FILE and AWS_SHARED_CREDENTIALS_FILE from aws.config_path and aws.credentials_path for everything it starts: SSO logins, RDS tokens, SSM tunnels, credential exports and the SDK. A key den.yaml leaves out does not override a variable you exported yourself, and a config reload that drops a key puts back the value den started with.

πŸ”Œ Data stores and tunnels

  • A failed SSO login says why. The row shows the last line of the aws CLI’s output after exit status N, instead of the exit status alone.

[1.0.2] - 2026-10-10

πŸ”„ Updates

  • A failed update check with GITHUB_TOKEN set no longer ends in a bare “HTTP 404”. GitHub answers 404 for a repository a valid token cannot read, so the message now says so and what the token needs: for a fine-grained token, the repository selected under its owner and Contents: read; for a classic one, the repo scope, authorized for SSO when the organization enforces it. A rejected token (HTTP 401) is reported as invalid, expired or revoked.

[1.0.1] - 2026-10-10

Checking for updates no longer depends on GitHub’s API rate limit. den checks on every start, and without a token GitHub’s API allows 60 requests an hour per IP, so an office, a VPN exit or a CI fleet behind one address got HTTP 403 in the Updates pane.

πŸ”„ Updates

  • The check reads the release feed on github.com (latest.json of the latest release) and the download uses the release’s files by their URLs: the route install.sh and install.ps1 already take, with no API call and no rate limit. A public repository needs nothing configured: no token, no updates: block. den needs HTTPS access to github.com and to release-assets.githubusercontent.com; behind a proxy it honours HTTPS_PROXY.
  • GITHUB_TOKEN still selects the releases API, which a private repository needs. A release without latest.json falls back to the API, and a fork whose github_api is on api.github.com reads the feed of its own repository. GitHub Enterprise and the S3 mirror work as before.
  • A failed check says what to do: that den could not reach github.com (set HTTPS_PROXY), that the repository is private (set GITHUB_TOKEN), or that GitHub’s rate limit was reached.
  • The Updates pane’s help (h) shows where releases are read from and what you need, and the Updates documentation and Help topic list the same requirements.

[1.0.0] - 2026-10-10

den 1.0: reach the private data stores of your AWS accounts from one terminal. den opens the tunnel, mints and refreshes the IAM credential the store accepts, and wraps the chores around them: AWS SSO logins, a VPN, secrets and your own scripts as runbooks. It also serves itself to AI agents without ever showing them a credential.

πŸ”Œ Data stores and tunnels

  • One tunnel model for every store: RDS and Aurora (PostgreSQL, MySQL, MariaDB), ElastiCache (Redis OSS, Valkey), MemoryDB, DocumentDB, Redshift (provisioned and Serverless), OpenSearch (domains and Serverless), Neptune and Docker Compose. The tunnel opens, waits until the port accepts connections, mints the credential, refreshes it before it expires and reconnects when it drops. Kafka (Amazon MSK) is planned: a kafka service loads and says so when connected.
  • Environments are written once under environments: and shared by services and runbooks with env:. Region and environment are labels you choose; production: true (or an environment called prod or production) makes an AI agent ask before it connects. den has no built-in knowledge of any account, and den connect NAME opens the dashboard with a configured service connecting.
  • credential_profile is the profile the credential is minted as; it defaults to aws_profile, so an account with one role needs a single key. An empty profile or region is left off the AWS CLI calls, so AWS_PROFILE and the default chain work.
  • Transports: SSM (the default), an SSH bastion, an EC2 Instance Connect Endpoint or kubectl port-forward.
  • SSH and SOCKS tunnels with a real data-path health check, and openfortivpn with SAML and an optional privilege helper so connecting never asks for your admin password.

πŸ–₯ The dashboard

  • A split-pane TUI: Connect, Tunnel, Runbooks, AWS, VPN, Secrets, Create Env, Config, Help, Updates and Logs. Terminal tabs run the store’s client (psql, mysql, redis-cli, mongosh) next to the logs, already logged in. A shortcuts pop-up (h or ?) lists the keys of every panel.
  • AWS SSO sessions are discovered from your AWS config and can be curated and renamed in den.yaml.
  • Secrets from SOPS, AWS Secrets Manager, KeePassXC and HashiCorp Vault: masked until revealed, never written to disk or the log.
  • A Help panel with one topic per feature, searchable with /.

πŸ“œ Runbooks

  • Your scripts, one folder each with a runbook.yaml, run with den’s context (AWS profile, region, live tunnel ports as DEN_PORT_*, DEN_CREDENTIAL_PROFILE). Each opens like a service, with its logs, run history and a terminal in its folder.
  • Runbook sources: your team’s runbooks from a git repository, pinned in den.lock, updated only when you ask, and asking again when a runbook changes.
  • Runbooks can be written by an agent: den runbook new --agent claude, the Runbooks pane, or den mcp.

πŸ”§ Configuration and checks

  • den.yaml is found with -c, in the current directory or in the config directory; den paths lists every file den uses. A JSON Schema (den schema) gives editors completion and validation.
  • den config --check lists every problem with its line and a hint; the Config panel shows the same list. Editing the file from the Config panel applies it when the editor closes, keeping the connections of services that did not change.
  • den init --profile P writes a starter den.yaml from what an AWS profile can see.
  • den doctor checks the tools, profiles, logins and ports a config needs and prints the install command for your OS.

πŸ€– AI agents

  • den mcp lets Claude Code, Cursor or another MCP client list services, open tunnels and run runbooks. Credentials never leave den, production services need your confirmation, and what an agent may reach is limited by mcp: in den.yaml.

πŸ“¦ Install and updates

  • Install with one command from the project’s GitHub Releases (install.sh, install.ps1), with go install github.com/lukaszgard/den/cmd/den@latest, or from a release archive; every download is checked against the release’s checksums.txt.
  • The Updates panel checks GitHub Releases and installs a new version in place. updates.github_api points it at a fork or a GitHub Enterprise server, and updates.s3_bucket at a mirror you host.
Last updated on