Repository navigation
v0.12.1
·
9 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Pixel 0.12.1 brings the code graph to the searches agents already run, resolves Go calls through package names, and stops the metrics from claiming savings a plain rg would have given. Graphs with Go sources are rebuilt once.
Highlights
- Graph on native search: a
grep,rgor Grep call that names a symbol now gets its definitions and callers in a[PIXEL:GRAPH]note (Claude Code and Codex), with nopixelcommand needed. - Go package names:
daemon.Run(),run(start.Run)and imports such asexample.com/foo/v2orgopkg.in/yaml.v3now link to the package's function, sowho-callsandimpactsee them. - Honest metrics:
search-contentis measured against its own answer, and an agent's shell gets the one-line identity header instead of the estimate rows.
Added
- brief: a region pack now lists the code sites of its symbols that no block shows, one
path:line in functionline each, up to 200 and the size limit, with thepixel search-contentcommand for the rest, under a line saying how many are covered, so agents stop re-searching. The list is shown only when the prompt is code-shaped or thepixel classifyrouter judges it a coding task. (#1465) - doctor:
pixel doctorhas a new check,install.leftovers, yellow when an earlier release left retired hooks in the Claude, Devin or Codex hook files, or its instruction block in Codex'sdeveloper_instructionsor Pi'sAPPEND_SYSTEM.md. It names each file and entry;pixel setupstill does not remove them, so deleting them is a manual edit. (#1412) - brief: a
grep,rgor Grep call that names a symbol now gets that symbol's definitions and callers from the code graph in a[PIXEL:GRAPH]note after the search (Claude Code and Codex), so graph retrieval reaches the agent without apixelcommand. (#1455)
Changed
- metrics: the live
🟩block keeps its estimate rows only on a terminal; an agent's shell tool, a pipe or a file gets the identity header alone (PIXEL_METRICS=fullrestores the rows), so a model no longer reads them after every call: 396 → 67 bytes of stderr for a one-linesearch-content. The metrics relay answers with the user-visiblesystemMessageonly, and the skill no longer asks the model to repeat the line. (#1414)
Fixed
- graph: After a watcher overflow, the daemon reuses unchanged graph rows and refreshes callers whose import target moved. This avoids staging an entire unchanged repository in a single transaction. (#1490)
- brief: Skip repository retrieval and multipart injection when Codex asks for an automatic next-message suggestion. (#1450)
- brief: the Claude desktop app's
<ci-monitor-event>and<create-pr-command>messages no longer get a brief: they are harness envelopes, not prompts, and drew 72 unrelated briefs in two months of Omni sessions. (#1455) - doctor:
install.leftoversalso names the instruction block earlier releases left in~/CLAUDE.md,~/AGENTS.md,~/.claude/CLAUDE.md,~/.claude/AGENTS.mdand zcode's and Pi'sAGENTS.md(0.1.0), and in OpenCode'sAGENTS.md(through 0.7.1). Before, only Codex'sdeveloper_instructionsand Pi'sAPPEND_SYSTEM.mdwere checked, so those blocks stayed unnoticed. (#1480) - graph: a Go call or function argument through a package imported with a major-version suffix (
example.com/foo/v2, read asfooorv2), a gopkg.in.vNpath (gopkg.in/yaml.v3, read asyaml) or ago-prefix now links the package's function, when the import path ends with the package's directory in the repository;v0andv1keep their own name. Existing graphs are rebuilt once. (#1478) - graph: a Go function handed over through its package name (
run(start.Run)) is now a reference to that package's function, sowho-callsandimpactshow where it is passed on. A member of a value (user.Name) still records nothing. Existing graphs are rebuilt once. (#1459) - graph: a Go call through a package name (
daemon.Run()) now links the function of the package its file imports when several packages define that name;who-callsandimpactreported 0 callers for it. The edge isProbable, and existing graphs are rebuilt once. (#1457) - opencode: the OpenCode plugin relays a
pixelcall's footer again. Its pattern expected the six hex characters ids started with before 0.11.0; an id now starts with the process id, so a call from a process id under 100000 was never relayed. (#1414) - brief: Show exact incoming call sites for a nested function identified by its owner and file, even when a shorter file defines a homonym. (#1453)
- metrics:
pixel search-content --jsonrecords the size of the plain lines a native search prints as its baseline, not its own NDJSON. Every JSON search was its own baseline, so its NDJSON overhead (573 bytes against 69 on a two-match fixture) never showed in the record or inpixel token-savings. Its live row now states both sides (a native search prints N tok, pixel answer M tok) instead ofreturns the same output. (#1480) - metrics:
pixel search-contentno longer reports a context saving on output a native search prints as well. Its baseline was one assumed 4 KiB read per matched file, which showed 81% to 96% saved on answersrgreturns byte for byte; it is now the answer itself, and the row readsa native search returns the same output, N tok (no saving). Records move toworkflow-v3;pixel token-savingstotals for searches drop accordingly. (#1416) - metrics: Attribute tool calls and stops in linked worktrees to the checkout that received the session’s prompt, preserving the source checkout on routed tool rows. (#1451)