Skip to content

v0.12.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:16
· 9 commits to main since this release
Immutable release. Only release title and notes can be modified.
7686d46

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, rg or Grep call that names a symbol now gets its definitions and callers in a [PIXEL:GRAPH] note (Claude Code and Codex), with no pixel command needed.
  • Go package names: daemon.Run(), run(start.Run) and imports such as example.com/foo/v2 or gopkg.in/yaml.v3 now link to the package's function, so who-calls and impact see them.
  • Honest metrics: search-content is 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 function line each, up to 200 and the size limit, with the pixel search-content command 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 the pixel classify router judges it a coding task. (#1465)
  • doctor: pixel doctor has 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's developer_instructions or Pi's APPEND_SYSTEM.md. It names each file and entry; pixel setup still does not remove them, so deleting them is a manual edit. (#1412)
  • brief: a grep, rg or 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 a pixel command. (#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=full restores the rows), so a model no longer reads them after every call: 396 → 67 bytes of stderr for a one-line search-content. The metrics relay answers with the user-visible systemMessage only, 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.leftovers also names the instruction block earlier releases left in ~/CLAUDE.md, ~/AGENTS.md, ~/.claude/CLAUDE.md, ~/.claude/AGENTS.md and zcode's and Pi's AGENTS.md (0.1.0), and in OpenCode's AGENTS.md (through 0.7.1). Before, only Codex's developer_instructions and Pi's APPEND_SYSTEM.md were 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 as foo or v2), a gopkg.in .vN path (gopkg.in/yaml.v3, read as yaml) or a go- prefix now links the package's function, when the import path ends with the package's directory in the repository; v0 and v1 keep 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, so who-calls and impact show 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-calls and impact reported 0 callers for it. The edge is Probable, and existing graphs are rebuilt once. (#1457)
  • opencode: the OpenCode plugin relays a pixel call'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 --json records 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 in pixel token-savings. Its live row now states both sides (a native search prints N tok, pixel answer M tok) instead of returns the same output. (#1480)
  • metrics: pixel search-content no 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 answers rg returns byte for byte; it is now the answer itself, and the row reads a native search returns the same output, N tok (no saving). Records move to workflow-v3; pixel token-savings totals 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)

VirusTotal