Repository navigation
Releases
Releases · puq-ai/code
puq v1.5.4
[1.5.4] - 2026-11-26
Added
puq statsshows each tool's average execution time in the Tools table; the first sync after updating re-reads sessions once to fill in past calls whose sessions recorded tool start timesPUQ_CODE_LOGS_DIRmoves the logs directory, including HTTP request dumps and native crash reports; relative paths are ignored- Extensions can register tool lifecycle handlers that only watch, with
pi.on(event, handler, { observe: true }): their return value is discarded, they never block or rewrite a call, and they don't turn off speculative tool execution
Changed
- Custom tool modules are imported concurrently at startup
- Claude-format command hooks register handlers only for the events a project configures, so a project without a
PreCompacthook keeps speculative compaction - The optimizer's session decision gets at most 2 seconds before the first request; a slower answer leaves the turn undecided instead of holding it, and is logged as a timeout
- Eval cells keep their own status events, at most 200 per cell with long fields shortened, so long browser or desktop loops no longer write huge results into the session file; the "… N earlier" marker counts the dropped events
Fixed
- Event-loop stall warnings blame the phase that ran longest instead of the last one started, and now also name frame rendering, session parsing and saving, context building and model discovery
- A matching TTSR rule is logged once per stream instead of on every streamed chunk
- Legacy pi plugins that look up many missing packages no longer rescan the workspace members for each lookup
puq v1.5.3
[1.5.3] - 2026-11-25
Fixed
- In ACP auto mode, critical and pattern-gated bash commands are left to the client's approval prompt instead of being auto-approved
- When a probe finds puq down, the optimizer restarts its fallback wait; the prompted judge answers in the meantime, and without one the outage is reported instead of a stale account-rejection message
- When an image edit request exhausts the image chain, puq says why it stepped aside
- The GitHub workflow pins its puq model
- Setup shows speech models as unavailable in builds without a local model
puq v1.5.2
[1.5.2] - 2026-11-20
Changed
/tantells a running agent about the tangent at its next step, as a<tangent-notice>naming the tangent's handle and work, instead of only after its turn ends; an idle/tanshows the notice right away
Fixed
puq statsrefuses requests under a public host name it was not told about, so a web page can no longer read the dashboard through DNS rebinding; IP addresses,localhost, LAN short names,.local/.lan/.homenames and Tailscale (*.ts.net) names keep working, and other names such as a reverse proxy's domain go inPUQ_CODE_STATS_ALLOWED_HOSTS(*.example.comallows its subdomains)--continueresumes the current directory's newest session instead of opening a new empty one when the terminal's last session was started in another directory and closed before its first message--resume <id>under--mode rpc,--mode rpc-uiand--mode acpopens a session whose directory no longer exists where it is stored, with the launch directory as its working directory, instead of failing at startread: converted documents, URLs, notebooks and other in-memory text keep their line totals and continuation selectors when the page fits the inline budget; afile:1:2selector on an existing file is explained instead of reported as a missing file, and a compiler-stylefile:line:columnis offered just the line- Resolving a
conflict://region to an empty side no longer leaves a stray blank line, and a chosen side whose edge lines repeat the surrounding code keeps those lines - Service
ready.logpatterns match^and$at line boundaries after earlier output - MCP stdio servers that exit or are killed before responding report their exit code or signal instead of only "closed stdout"
- A plugin manifest with a non-string
extensionsentry no longer crashes extension loading; the entry is reported as not found and valid entries still load - A cancelled OAuth token refresh no longer makes other sessions sharing the agent directory see the account as depleted for 5 minutes
- Statusless
stream interruptederrors are retried likestream was interruptedinstead of ending the turn - Anthropic requests whose connection drops before any response say how long after the request started it dropped and whether the request body was still uploading or had all been written to the socket, with its size
- The first turn after a compaction no longer shows a spurious cache-miss marker
- The model hub no longer offers models a role can never use (such as image or speech models for Default) when adding or replacing that role's fallback
- Scrolling keeps the background of truncated rows, so tinted lines keep their color to the end of the viewport
- Bare URLs no longer swallow Korean, Japanese or Chinese text that follows a parenthesized URL without a space
- A failing custom embedding provider is logged instead of leaving no trace
puq v1.5.1
[1.5.1] - 2026-11-19
Added
- The
askdialog can be answered by click and mouse wheel while the terminal reports the mouse (tui.mouseortui.pinnedInput)
Changed
- The optimizer's
readoutput filter is off by default;filter.readorPUQ_CODE_OPTIMIZER_FILTER_READ=1turns it back on - The optimizer report shows provider thinking drops and which request fields broke the prompt cache
Fixed
- Bash approval: deny rules win across command segments and operators, leading env assignments no longer hide a restricted command, and a hoisted leading
cd /keeps the filesystem root - Shell: long
[ … -a … ]/test … -o …chains and deeply nested compound commands no longer kill the shell, EXIT traps set in subshells and command substitutions run, and remembered command paths are dropped whenPATHchanges - Built-ins:
sedno longer panics on empty matches inside a multi-byte character,grep -o/-zend anchors match at the end of the line,grep/rg -eaccept dash-leading patterns,greprefuses to read the file it writes to,cp -a/-dkeep their effect when link flags follow, andlsrejects invalid numeric option values edit: seen lines survive outside changes, responses show the rows written, an unknown header tag is answered with the current tag for the rows shown, rows repeating a boundary are kept, and repair retries respect cost limitswritesets execute bits on shebang files before collecting diagnostics and always sends content to strict providers; LSP writethrough forwrite/editfollowslsp.enabledread,grepand search:xd://doc reads accept line selectors, URL-first lists mixed with globs, local paths or missing paths are split correctly, every line of a cross-line grep match is numbered,@fileanchors cover only rows shown whole, repeated@-import includes expand, and@<scheme>://mentions are treated as prose- A file changed by an earlier bash call in the same message is read again before it is edited
- URL reads no longer return bot block pages as content, merged GitHub PRs are told apart from closed ones, Reddit reads have a fallback, and Perplexity handles expired logins and source-less answers
- Sessions: deleting a session purges its history and stats rows after the transcript is gone, overlapping session transitions run one after another, a resumed session restores its pre-fallback thinking level, pruned terminal failures can be retried, malformed handoff documents are rejected, and picker previews load behind large leading entries
- Queue and turns: a dequeued follow-up stays queued on resubmit, an idle queue list runs its first item first, a pending tool approval closes when the turn aborts, prompts typed during startup are submitted, and
/looppauses after provider failures - Plan mode: a pending review closes when
/planpauses plan mode, and unapproved drafts no longer become references - Compaction: threshold compaction no longer loops when fixed context exceeds the recovery band, the display summary runs without reasoning, per-request gateway headers are resolved, and history behind an OpenAI remote compaction is read after a model switch
- Retry and accounts: a 429 or 402 with token-cap wording is no longer treated as context overflow, a 429 with a zero allowance fails fast,
x-ratelimit-resetis a wait only when no requests remain, fallback chains match by catalog model id and keep their role, text-only overflow walks the fallback chain, Anthropic OAuth accounts rotate on a model-specific 404, and account-pinned requests send the provider's API key - Models: scoped models re-resolve after logout, model-hub refresh and RPC login; an ambiguous discovered model is skipped instead of its whole provider; unknown
models.ymlinput modalities are ignored; failed model discovery is retried from model mention lists; and OpenRouter chat models blocked by workspace guardrails are hidden - Reasoning replay: demoted thinking is replayed instead of a placeholder, and a refused encrypted reasoning replay is retried without stale blobs
- Subagents and tasks: isolated agents keep their baseline commit and merge patches back one at a time per repo, nested patch paths keep their spaces, task results report occupied context, finishing subagents no longer complete todos, worker subagents no longer import inline extension ids, and
/copyworks in a focused subagent view - Advisor: each advisor has its own tool conversation and tool grants, backs off between failed turns honoring the provider's retry hint, and no longer re-raises advice already being fixed
- Eval: session switches release the previous session's kernels, a stopped cell reports why and keeps its output,
wait()rejects numbers and shows each agent's own progress,%%bashcells no longer print their exit status, andinspect.getsourcesees cell source - LSP: push and pull diagnostics are merged for dual-mode servers,
.erbfiles open as erb, document symbols use identifier lines, and indent stride is detected from the dominant step - MCP: HTTP transports honor the agent CA bundle, OAuth token endpoints are asked for JSON, the protected-resource indicator is preferred, and SDK-wrapped non-dict tool results are deduplicated
- Skills, extensions and marketplace: a skill created after the session started is found by
skill://name, short skill descriptions are used verbatim, symlinked extension directories are discovered, events reach each extension in emission order, bare-name plugin sources resolve underpluginRoot, and/marketplacereports load failures instead of crashing - Memory: embedding requests are split, vectors survive a failed model switch, stale-model vectors are excluded from recall, summaries are invalidated with their source, and the local encoder cache is keyed by model
- VCS: filenames survive diff and patch round-trips, non-UTF-8 text is carried as binary blocks,
worktree addclones tolerate read-only entries, andconflict://writes keep the UTF-8 BOM and retained snapshots - TUI: the pending ask card lists only its own questions and notes target the question shown, the resume picker no longer shifts before the cursor reaches the bottom edge, the pinned TODO panel hangs wrapped rows beneath their content, Markdown task-list checkboxes and nested LaTeX styles render, fenced code blocks under list items copy correctly, DEC 2048 report fragments no longer leak into the composer, truncated JPEGs are rejected, the BTW history page scrolls with the wheel, and unsynchronized terminals move rows instead of repainting
- The workspace tree is rescanned after
/move,/clearand/new,tododefaults an omitted phase, and pasting falls back to the native clipboard when the terminal's paste protocol is unsupported - Browser automation no longer raises windows or switches tabs
puq statscounts every answered message in the Frustration per-model table and reports the right exit status for a reused dashboard- Secret redaction advances empty Unicode matches by a full code point, and agent-attributed notices are redacted before they are sent to a provider
puq v1.5.0
[1.5.0] - 2026-11-12
Added
@file#5-10(or@file#L5-L10) in a prompt reads only those lines of the filepuq update --autoruns the background update check on demand, honoringupdate.autoandPUQ_CODE_DISABLE_AUTOUPDATER; with--jsonit prints one line ({"kind":"none|installed|available|error",...}) for scripts and editor integrations- ACP:
--acp-config-mcploads puq's own MCP config (settings,.mcp.json,.vscode/mcp.json) for every session, as the terminal does - ACP: clients can branch, undo, redo and rewind a conversation (files included), queue messages during a turn, rename, pin and delete sessions, and ask side questions without touching the session
- ACP: clients can attach editor context (open file, selection, diagnostics) beside a prompt, outside the user's message
- ACP: clients can list accounts, subagents, background processes, extensions, MCP servers and marketplace plugins, and dictate prompts
- ACP: config options report the auto model routing pick and when
edit.mode: nonehas removed the edit tool; tool calls carry the tool name, plan approvals carry the whole plan, and replayed messages carry their send time
Fixed
- The on-device Apple model no longer becomes the default model over a provider you signed into
puq updateremoves staging files left behind by an interrupted download
puq v1.4.0
[1.4.0] - 2026-11-09
Added
- Pin and unpin sessions in the session picker; pinned sessions show in the status line, and
/unpinreleases them /prewalkand/prewalk restarttake a model or role argument, andprewalk.from/prewalk.intoset the planning and handoff models/compactsent with the follow-up key while puq is working runs when the turn yieldstask.filelets the task tool read subagent instructions from a UTF-8 file, recording its path and SHA-256skills.manualSkillskeeps matching skills out of the model's skill catalog while/skill:<name>andskill://still reach themedit.mode: noneremoves theedittool and keepsbash- Web search records which providers failed in the tool details
Changed
- The system prompt stays byte-identical across retry fallbacks and roster changes, so the prompt cache survives them
- Auto-learn capture turns reuse the main turn's prompt cache
readdirectory listings include build and dependency folders
Fixed
- Shell:
findstops quietly when its output pipe closes,grep/rgbound their line buffer and pattern files, glob matches whose literal tail does not exist are dropped,shopt -s globstarmakes**recursive, background jobs are reaped, and deeprm -r/dutrees no longer overflow the stack - The built-in
sortkeeps its memory within its buffer and stops on cancel !commands running in a pty receive your keystrokesgit rebase -iand Git Credential Manager prompts no longer hang bash commands, and bash calls the interceptor would block or that are malformed are denied at approval- Shell snapshots keep the helper functions their functions call
- Hashline edits run the seen-line guard on the stale-tag recovery path,
apply_patchrequires matching context and supports move-only sections, sloppy-format bodies closed with*** Endno longer leak the sentinel or swallow later operations, and Markdown files are no longer flagged by syntax checks read: raw reads return only the requested source bytes, PDF members of archives open, large plain tars are indexed lazily, valid HTML is no longer replaced by guessed Markdown, whole-URL reads show the start of an over-long first line, selector-free targets get no selector suggestions, and column-cut lines are charged their shown width and cannot be written backglobhonors directory-only patterns and linked skill entries, andfindreturns the hits it verified before its deadline- SSH home-relative paths resolve, and directory scopes can be searched
- A resumed session opens the newest copy when it continued in a sibling file, entries whose details hold a throwing getter are saved, prompts rejected before dispatch are restored, and queued extension messages survive an interrupt
- Context rollovers that cannot free space are skipped, pruned tool specs are counted when descriptions are inlined, length-truncated compaction summaries and handoffs are rejected, and billed usage of discarded assistant turns is kept
- Retry: quota retries resume after the computer sleeps, fallback selectors keep auto thinking, a session on a model also assigned to a role such as
webno longer adopts that role's fallback chain, andx-should-retry: falseis honored - LSP: diagnostics no longer stall, time out or report unanswered files as clean; definitions render as locations over their source; native
tscprojects withoutpackage.jsonkeep the native TypeScript server; rust-analyzer picks up new crates, reloading in place otherwise; and files edited outside puq are synced before cross-file queries - MCP: DNS and socket-open failures are retried, and a stdio server still starting is cancelled when its connection ends
- Subagents keep their request budgets and prewalk handoff model across wake, revive, restore and resume; task jobs name the right
agent://andhistory://URLs; one Esc no longer stops a session waking on its own background jobs; andwaitconsumes queued wake events - TUI: tables render inside list items, a long streaming code block moves into scrollback as it streams, bare
j/kno longer move selectors, stale autocomplete closes,askcan be answered with a draft, the agent hub is reachable, session tree labels fold carriage returns and Unicode line separators, colors stay applied after inner styling ends, and F2 rename works under the kitty keyboard protocol - Manual compaction no longer delivers async messages mid-pass, and a queued compaction keeps its held follow-ups with their conversation
- A settings reload keeps a setting's last good value when the new one cannot be read by this build
- SQLite databases stay locked when another handle in the same process closes,
puq statsreuses a busy dashboard or picks a free port, and the local memory embedder bounds its onnxruntime threads
puq v1.3.0
[1.3.0] - 2026-11-05
Added
- Auto model routing (
autoModel.enabled, withautothinking): the first turn's difficulty picks the session's model, so easy work runs onsmoland hard work ondefault; a later hard turn onsmolescalates once - Work routes (
autoModel.routes): a first request that matches a route's description (analysis,docs,explore,images,infra,ui) runs on that route's model, and each later turn is re-checked so the session leaves the route once the work changes /automodellists usable routes with their models, skipped routes with the reason, and the session's pick/settings→ Auto Model Routes edits routes and their models, and model presets keep customized routes- The status line shows the router's pick next to the model
- The status line keeps its spinner and shows the running count while background subagents work
- Auto thinking warns once per conversation when its difficulty judgment fails
Changed
- The model-picking first turn waits up to 10 s for its judgment, and Esc cancels it
- A turn judged hard never runs on a route model cheaper than
default - Routes skip models in a rate-limit cooldown, and retry fallback walks the route's model chain instead of failing the turn
- The first-turn step-down to
smolis skipped while conversations that start easy usually escalate - A stalled auto thinking judgment is raced by a second request after 1.5 s
- The cost optimizer's cascade steps aside only while auto model routing runs
--modeland a concrete--thinkingturn auto model routing off for the run- Built-in work-route model chains use current models
Fixed
- A session resumed after a retry fallback returns to its role's model
/new,/clear, and/treeor branch moves start routing over, and a reopened session keeps the router's pick- A routed turn's thinking effort stays under the effort ceiling
- Routing waits for startup model discovery instead of skipping a route whose model is still loading
- puq models whose ids have no vendor prefix (such as
opus-5-optimized) are no longer listed under a truncated id, and the model list shown before the first catalog fetch is current - Session titles keep the text of a request wrapped in XML tags (
<task>…</task>, pasted HTML) - Abandoned plugin marketplace clones are cleaned up without holding back the catalog refresh
- Embedded SDK sessions are released as soon as their startup scan settles instead of at the scan deadline
- The auto model routes panel stays open after a save, the model picker marks the route's current model, and the routing notice no longer repeats its prefix
puq v1.2.1
[1.2.1] - 2026-10-30
Added
--warn-costand--max-costwarn about and cap a session's spend--no-context-filesstarts a session withoutAGENTS.mdand other context filespuq play --output <file>converts a/recordrecording to.cast,.gif(needsagg) or.mp4(needsagg+ffmpeg)- Print mode wakes on background job results (
--wait-async) /localand Alt+G openlocal://files in your external editorside: truefile commands run as/btwside questions- The wait view and
proc://show each running subagent's run time, requests, cost, context fill and estimated completion editrecords why an edit failed, and/sessioncounts failed edits by reason- grep path entries accept
!globto exclude files and folders readshows HEIC and AVIF photos- GPT-6.1 Terra, and the opt-in Anthropic API version 2026-10-21
- The pause screen shows live settlement status
Changed
- Subagents spawn at no more than
higheffort by default (task.maxEffort), and a caller's hint never raises an agent above its own level - Completion probes skip subagents whose progress has not changed, and every probe is billed to the session
- Startup-safe extensions load after the composer accepts input, so puq is ready to type sooner
- Language servers close documents unused for 5 minutes to release memory
- Idle compaction is skipped on Codex prompt caches that never expire
Fixed
- A Mermaid
stateDiagram-v2with a multi-byte character before>no longer crashes puq - Hashline
PUTrefuses a too-short body that echoes a neighbour instead of silently deleting range lines - Release binaries are built with Bun 1.4.4 (CVE-2026-111497, CVE-2026-91403)
writekeeps a file's CRLF line endings and BOM, and enforces declared SQLite foreign keys- The built-in
ps -éno longer panics,ps --forestnames the unsupported option,rg/fdfollow symlinked paths, andsort -t=works /memory clearclears only the current project- The migrated
models.ymlis written atomically and owner-only - A rotated OAuth refresh token is kept when the refresh takes longer than 10 seconds
- Task subagents no longer receive
AGENTS.mdfiles from additional workspace roots - A subagent's
waitno longer blocks on an ancestor that is waiting for its result - Compaction no longer repeats on small context windows, and a failed optional short summary keeps the compaction
/resumecancels the previous session's background jobs- Anthropic: thinking-off requests on Opus 5.5 and Haiku 5.5 no longer fail with 400, root
anyOf/allOftool schemas are sent correctly, an in-band stream error is retried, and a declining model's tool calls no longer run after a fallback handoff - Opus 5.5, Opus 5 and Sonnet 5.5 refusal fallbacks use fallback credit
- Codex: array schemas without
itemsno longer fail, overlapping requests no longer close the websocket, capacity 429s wait for Retry-After instead of the window reset, and credit-billed seats report spend-cap credits - grep tells the model when its per-file match cap trims a file
- The bash minimizer keeps hunk lines starting with
--/++and leaves diffs,jqandsshoutput under 16 KB whole - URL
readline selectors match URLgrepline numbers, and a refused web read retries with the next user agent - Parallel Mermaid edges between the same nodes stay apart and keep their labels, and spaceless arrows (
A-->B) parse /recordshows a REC badge, starts from the scrollback already on screen, ends on the frame the stop command leaves, and no longer overwrites a capture restarted within the same second;puq playscrolls history instead of painting over it- A pinned transcript selection stays on its text when content re-renders
puq plugin upgrade a b cupgrades every target, and a user-scope upgrade keeps cache directories other projects link to.xlsxtext cells that look like numbers are read verbatim- Markdown tables honour column alignment, wrapped URLs in code blocks are clickable on every line, and inline code closes correctly after a backslash
- Python eval tries every
pythononPATHwhen the first is broken - Retired Anthropic models are removed from the catalog, and DeepSeek V4 Pro is billed at its current rates
puq v1.2.0
[1.2.0] - 2026-10-22
Added
/modelpresetsaves, lists, switches and deletes model presets (role models plus thinking level)--goal <objective>starts a fresh session in goal modepuq skill list [dir] [--json]shows the skills a directory's session would discoverpuq gc --staleprunes dangling session markers and old debug reports- Idle sessions on the Anthropic API keep the prompt cache warm, so the first turn after a pause no longer rewrites the whole prefix (
providers.cacheWarming) - Batch subagents start as soon as their
tasks[]item finishes streaming (task.speculativeLaunch) - Working subagents show an estimated completion next to them in the wait and task views (
task.completionProbeMs) display.subagentLivePreviewshows each pinned subagent's current tool call beneath its row/btwworks inside a subagent view- Extensions can rewrite the presented assistant message (
assistant_message), and Claude-style hooks can returnadditionalContext tools.artifactMaxBytescaps streaming tool output artifacts (16 MiB by default)PUQ_CODE_LOG_LEVELsets the log level; log writes are batched- The built-in shell runs
xargs -Pin parallel, and isolated task worktrees use copy-on-write clones where the filesystem supports them
Changed
- Subagents leave builds, tests and other verification to the main agent and name the checks it should run
- A global
autothinking setting takes precedence over a model's default thinking level - Built-in TTSR rules fire only on flagged code and word their reminders as a rule check
Fixed
- puq no longer crashes at launch on macOS 26 and earlier (the Apple Foundation Models bridge loads only on macOS 27+)
- The built-in
sed,jqandtacno longer kill puq with SIGBUS when their input file is truncated mid-read read,writeandeditno longer hang on FIFOs or device files, andeditno longer reads/dev/zeroforevertailprints the last lines of files whose size is an exact multiple of 64 KiB- Background jobs in the built-in shell no longer leak, and
kill %Nworks - The memory embedding worker exits with its parent instead of lingering with gigabytes of RAM
- A
config.ymlthat cannot be written no longer breaks every latertaskcall - Git works in checkouts whose directory name ends in
.gitand through symlinked directories - Completed tool calls are not re-run after a stream error, and parallel tool calls with duplicate or empty ids keep their own arguments
- A connection that drops mid-stream is retried once on the same model before falling back, and permanent 4xx errors are not retried
- A reasoning-only stop or an empty abort retries instead of leaving the session idle
- Fallback chains keep working when auto thinking changes the effort
- A failed subagent is reported as failed, a cancelled subagent sends no extra retry, and a focused subagent's
yieldreaches its parent --resume <path>with a missing file fails instead of silently starting a new session- Compaction keeps the date and working-directory reminders, and
/shakeduring a tool call no longer removes too much - Background completions no longer resume a run you stopped, and the loop guard catches punctuation-only loops
- MCP no longer replays dispatched calls, and aborted or timed-out stdio requests are cancelled
- Claude sessions no longer get stuck on a 400 ("role 'system' must precede…") after a cut-off reply or compaction
- Images the model generates no longer count against the image budget, so your screenshots stop being dropped in long sessions
- Non-Claude puq models read the stream to its end, so finished requests are no longer recorded as cancelled
- The thinking-loop detector no longer mistakes repeated code, SVG or JSON for a loop
- Claude turns fail with a clear error on media Claude cannot read, and web search citations stay inline
- Security:
local://paths can no longer escape the session's storage with.or.., and eval runner scripts live in an owner-only directory instead of shared/tmp - Security: subagent and job output can no longer fake harness blocks,
~/.puqis no longer loaded as a project config directory, and the plugin lockfile is owner-only - Hashline edits accept follow-up edits after earlier edits shift lines, and
MV/REMand stale tags are handled safely writekeeps content lines that start with numbers, andreadranges work beside:rawand in comma listsaskkeeps multi-select picks when "Other" is also filled ineditkeeps late LSP diagnostics from slow language servers- direnv
.envrcis no longer re-run on every bash call, andbashwithpty: truesees the shell environment - Settings saved by editors (atomic rename) and symlinked configs reload live on macOS
- Python block edits after a comment line stay inside the block, eval keeps
!cmd/%magictext inside strings, and%pipworks without pip - Long paragraphs with unclosed
[,*,`,~~or$no longer freeze markdown rendering - Browser: cross-origin iframes no longer hang, clicks wait for late elements,
fillno longer writes into another field, and never-ending iframe loads time out - Ctrl+Delete deletes the next word, and pasting a shell-escaped
\~/image path works - Wide table cells and iTerm2 image heights render correctly
--profilesurvives a restart, and a missing.vscode/mcp.jsonno longer warns- Custom tools in the compiled binary can import the bundled
@puq-codepackages - Long sessions use less memory and CPU: streamed
findmatches, bounded startup timing, faster secret redaction and less session lockfile churn
puq v1.1.1
[1.1.1] - 2026-10-21
Changed
- The welcome box spans the full terminal width
Fixed
- Grok models on puq no longer fail with gateway error 7003:
storeis not sent, reasoning effort is clamped to low/medium/high, and requests to the Grok 4.20 (0309) models carry no effort - Reasoning tokens that Grok reports beside completion tokens are counted as output in usage and cost
- The bash tool's shell keeps its state (working directory, variables) between calls
- Edits anchored to a line that was shown cut at the column limit (including inside
PUT N*/CUT N*blocks and after a resume) are refused instead of silently dropping the rest of the line - Security: project discovery no longer loads configuration from the temp directory root or from another user's
~/.puq - Security: MCP OAuth discovery no longer falls back to an unrelated authorization server when the advertised one fails issuer validation
- Security: ACP bash approvals honor
bash.patterns, and a persistent approval no longer covers critical commands PUQ_CODE_REQ_DEBUGdumps redact credential headersreadpages large files at the output limit instead of eliding the middle, andgrepsearches a named file past its first 4 MBgrepaccepts:raw/:conflictsselectors on web URLs, and a;-separated list of internal URLs searches every source- The web reader keeps accordion and expander panels
- Moving a file with
editkeeps its permissions;writeno longer makes Rust files starting with#![executable - A running tool's result survives
/compact,/newor a session switch, andwaitreturns a job that just finished when a notification interrupts it - A woken subagent delivers its final report, woken agents no longer auto-reply to
agent://allbroadcasts, andyieldkeeps fields placed besidedata - A stream that drops before its final message event is retried, and native reasoning that arrives without deltas is kept
- Two asides sent back to back to an idle session both reach the model
- A slash command that matches only by its description no longer runs on Enter
- A session file whose last record is truncated is repaired on load, and session titles and recaps survive a
history.dbquarantine - The ssh output minimizer keeps long remote lines and blank lines
- Text wrapping breaks CJK text between characters and keeps Latin words whole; image and video chips measure the same width on every terminal
conflict://*per-id blocks no longer paste one literal value into every block