Verified, then logged.
Sun 22 Nov 2026 · 00:24 KST / 15:24 UTC한국어 | ENSearch /

Breaking02 / IT

Claude Code v2.1.318 prints login expiry on the command line

Self-hosted runner log lines have changed, so scripts that search for specific strings need updating.

A laptop terminal on a workbench beside self-hosted runner servers shows blurred log lines and a single amber warning line. AI-generated image

Anthropic released Claude Code v2.1.318 on 4 Nov 2026, adding the date a stored login ends to its command-line output. Self-hosted runner operators whose scripts match certain log strings need to update them, according to the release notes.

According to the release notes, claude auth status now shows the date a stored claude.ai sign-in ends. JSON results from claude -p carry the same date. Text output from claude -p gains a one-line warning on standard error, starting 10 days before the sign-in ends.

Compatibility. Self-hosted runners now print ok session=… log lines at every log level, according to the release notes. nack session=… lines now end with reason=… after retryable=…. Scripts that match retryable=true: or retryable=false: need updating.

Claude Code no longer installs or updates the IDE extension when started in an IDE terminal, the release notes said. The extension can be installed with /ide from an outside terminal or from the editor's extensions view.

Running environments. According to the release notes, the update improved how settings files and stored logins are preserved on shared network home directories. It also fixed a fault that replaced the stored login with an empty file on network homes with no data space left. Non-interactive launches now stop at start-up instead of replacing a ~/.claude.json that is not valid JSON with defaults.

The previous version, v2.1.317, was published on 3 Nov 2026. Its release notes said claude -p used to exit with code 0, the value that signals success, even when a full disk or quota caused a save to fail. Since that version it exits with code 1 in text and JSON output. Full NFS exports, directories shared over the Network File System protocol, may still be missed.

The release notes for v2.1.318 do not state how long a stored claude.ai sign-in remains valid.