Repository navigation
Releases
Releases · githubnext/projections
v0.2.0
Immutable
release. Only release title and notes can be modified.
Release Notes
Projections 0.2.0 adds built-ins for Rails, Swift packages and GitHub Agentic Workflows, makes the agent viewer easier to drive and to show in other apps (Claude Code's Preview pane among them), and tightens what runs without --trust. Read Behaviour changes before upgrading: some can turn a passing check red.
Security
- Custom renderers from a checked-out pull request ran without
--trust(#19), and--citreated artifacts from fork pull requests as official (#18). Both are fixed; see Behaviour changes. - Upgrade from 0.1.0. If you used
--ci, delete theartifacts/,extractions/andgenerations/directories in the per-user cache (~/.cache/projectionson Linux,~/Library/Caches/projectionson macOS,%LOCALAPPDATA%\projectionson Windows).
Behaviour changes
- A repository's custom renderers run only with
--trust(#19). A custom renderer bundle is repository code, so it now follows the same rule as a custom extractor:--truston the CLI, a trusted workspace in VS Code,trust: truein the Action. Before, a renderer from the working tree or any commit inHEAD's history ran without trust, including a pull request's head once checked out. Without trust, hosts draw with the built-in renderer for the schema and show a notice.- The one exception is a bundle whose
index.htmlandrenderer.jsonare byte-identical to the ones the projection declares at the merge base with the default branch (refs/remotes/origin/HEAD;git remote set-head origin --autosets it). Withoutorigin/HEADthere is no exception. projections check: a custom renderer's checks now fail without trust. Pass--trust, or--no-renderto skip them. CI that checks such a projection needstrust: truein the Action, or--trust.- Authoring: uncommitted renderer edits differ from the default branch, so pass
--trusttoview,serve,show --pngandcheckwhile you write a renderer. A renderer development server serves the package's live sources, so the Inspector and viewer use it only with--trust. - Scenarios: a bundle a scenarios document names runs only when named explicitly (
serve --fixtures … --renderer DIR, or the projection's own bundle incheck) or with--trust. VS Code's Open Renderer Scenarios passes the package's own renderer only in a trusted workspace, and warns otherwise. show --fromandcompare --before-extractionnow accept--trust, which allows only the renderer, since nothing is extracted.
- The one exception is a bundle whose
--cicalls only authenticated artifacts official (#18).--cidownloads only from a successful run of the Projections workflow in this repository, for apushor a same-repositorypull_request, never a fork's. The workflow is the one--ci-workflow FILEor theciWorkflowssetting names, else one whose file on the default branch usesgithubnext/projections.- Artifacts v0.1.0 downloaded have no record of their run, so they aren't used until their run passes these checks; then the cached copy is reused in place with a new record, not downloaded again. To download afresh, delete the cache as Security says.
- An
--artifact DIRis labelled imported (official: false) unless, with--ci,gh attestation verifyverifies its manifest's attestation and that names a run passing the same checks. The Action's newattestinput (defaultfalse; needsid-token: writeandattestations: write) attests the artifact. - Provenance records how the run was established (
provenance.execution.ci.authentication:downloadorattestation). In the Action, a pull request comparison's reused base side is now labelled imported. VS Code's badge reads Imported for an unauthenticated artifact, and From CI only for an official one.
- The MCP App is removed (#38).
projections mcpno longer serves the viewer as an MCP App, the inline view that MCP Apps hosts such as Claude Desktop showed in the conversation (ui://projections/viewer, itsresources/*methods and the app-onlyviewer_requesttool).projections mcpand every tool remain: an MCP Apps host gets the same tools as any client, andopen_projectiongives the viewer's URL for the agent to open in its own browser. - The viewer keeps its URL across restarts (#17).
- The token and port are kept per project in the user cache, readable only by you, so a viewer restarted after
view stop, its idle exit or a reboot serves the same link. projections view stop --rotateforgets it: the next viewer gets a new token, and earlier links stop working.view --port Nandview show --port Nrefuse while the project's viewer runs on another port, and refuse a taken port rather than picking another.
- The token and port are kept per project in the user cache, readable only by you, so a viewer restarted after
- The agent
comparetool applies the viewer's definition to the viewer's pair (#7). Comparing the pair the viewer shows, or a suggested pair such as a bookmark, without naming revisions now applies the definition the viewer applies (usually the working tree's) instead of the base revision's, so the result matches what's on screen and can differ from before. Passdefinition: basefor the previous choice. Given revisions keep the base/head rule. - A bare
pythonorpython3command runs Python 3 (#5). In an extractor's or prepare step's command, the runner tries the name as written, then the other name, thenpy -3, and runs the first that reports Python 3. Apythonthat is Python 2 is passed over, and with no Python 3 the command fails. Name a path, such as.venv/bin/python, to run an interpreter as written. Inside a container (--isolation container), commands run as written. projections initmay put the agent skill elsewhere (#22). Among.agents/skills,.claude/skillsand.github/skills, it now picks the one holding most of the repository's own skills (the most widely read breaks ties) and says why.--no-skillwrites none.
Highlights
- Rails built-ins (#21).
rails-schemareadsdb/schema.rbinto thedatabaserenderer, andrails-routesevaluates the routing DSL into theapirenderer. Both read files only: no Ruby, gems, Rails boot or database, no--trust, and every revision of a history. - Swift packages (#23).
swift-package-dependenciesdraws a Swift package's products, targets and dependencies, withPackage.resolvedversions, in thedependenciesrenderer. It readsPackage.swiftwithout running it, so it needs no--trustand no Swift toolchain, and fails naming the line it can't evaluate.manifest: "dump-package"has SwiftPM evaluate it instead (with--trust), andmanifestJsonPathimports an export. - GitHub Agentic Workflows (#29, #30, #31). A built-in extractor, comparator file and renderer for gh-aw workflows. They show what starts each workflow, what its agent can reach and write, and lock files out of date, and read each change by direction: a widened permission, network allowlist, tool, repository scope or safe output is a warning, and a narrowing is a note.
- Claude Code's Preview pane (#37). The viewer works in it: a renderer frame the pane blocks is reopened once as a Blob document in the same sandboxed frame.
projections view --theme claudecolors the page as the pane, and the agent guidance says how to run the viewer from.claude/launch.json. - Theme seeds (#28). An app that shows the viewer in its own browser pane can color it as itself:
projections view --theme SEED(orview show) takes a built-in seed's name, inline JSON or a file, and puts it in the link as?theme=. The seed is validated, and lives only in the link. - Named viewers and a projection menu (#9). One viewer server shows up to 32 independent named viewers side by side:
--viewer NAME, andvieweron the agent tools and the Copilot canvas. The viewer's title is a menu of the repository's projections, so the person can switch what it shows.
New built-ins
rails-schemaandrails-routesextractors (#21).swift-package-dependenciesextractor (#23).github-agentic-workflowsextractor and theagentic-workflows/v0vocabulary (#29), theagentic-workflowscomparator file (#30), and theagentic-workflowsrenderer, now the extractor's default (#31).renderer-scenariosextractor and thescenarios/v0vocabulary, which read a repository's rendererscenarios.jsondocuments, and thegalleryrenderer, which draws each scenario with its own built-in renderer. Together they make a renderer gallery that needs no--trust(#24).
Viewer and hosts
- Named viewers, and the projection menu in the title (#9).
- A stable viewer URL,
--portonview show, and a 404 page for the bare port that says how to get the full link without revealing it (#17). - The viewer works framed by a page that isn't a secure context, such as plain http or a custom scheme: page IDs and the engine's hashing no longer need one (#17). Chrome still refuses to load loopback in a frame of a plain-http page on another host (its Local Network Access checks), so such a pane can't show the viewer.
- When no page counts as open,
current_viewsays what the viewer saw in the last 10 minutes: a page that never loaded its script or stopped asking, or requests without the token or for a non-loopback host (#17). projections view screenshot --pagecaptures the viewer's own page, header and toolbar included, without counting as the person's page (#17).- Claude Code's Preview pane: blocked renderer frames reopen as Blob documents,
--theme claude, and.claude/launch.jsonguidance (#37). - Theme seeds for apps that show the viewer in their own pane (#28).
- The
apirenderer lists changed rows first when a large API doesn't fit (#12).
Authoring
projections explore --sweepranks projections by signal (rare, steady, nois...
v0.1.0
Immutable
release. Only release title and notes can be modified.
Install projections-cli 0.1.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/githubnext/projections/releases/download/v0.1.0/projections-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/githubnext/projections/releases/download/v0.1.0/projections-cli-installer.ps1 | iex"Download projections-cli 0.1.0
| File | Platform | Checksum |
|---|---|---|
| projections-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| projections-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| projections-cli-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| projections-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| projections-cli-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| projections-cli-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo githubnext/projectionsYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo githubnext/projections