Session Info: build current native section models

Merged
TE
3d ago
+1379-8

Build the current Session Info Environment, Context, Connectors, Changes, Sources, Outputs and Usage as page-owned native rows. The builders use current helpers for scope, formatting, folds and available actions, including Cloud repositories, permission grants, Remote Control and Compact.

These models are dormant until the page wiring lands. The native setting remains off by default. Rebuilds the builders from closed #27513 against today's session-info/ sections. Design: design/session-info.md; reference: Claude desktop Environment and Context panel captures (private design references).

Leo-ask: ask-560d04c05d

Leo's request:

2026-10-26: "the session rail session info thing, like, you literally didn't do. I mean, why is the button not toggled? ... you still haven't done the full-length thing. It's still just this constrained height for, like, no reason at all."
2026-10-29: "plus we're gonna be doing that part natively in swift anyways?"
2026-10-29: "But I literally fing said to do that. I literally fing said to do that."
2026-10-29: "You can just edit the fing web UI" / "it's so fing lame to be delaying the entire f***ing thing based off of ... the Swift thing".

Validation: 14 focused model and bridge tests pass (56 assertions), and web lint passes. Exact-head fleet checks run on this PR. No capture: dormant models only.

The pure builders and their shared schema/tests form one dormant model seam (about 1,400 lines); page integration and native drawing land separately.

Changelog

none

Agent session: agent session


Summary by cubic

Builds Session Info's Environment, Context, Connectors, Changes, Sources, Outputs, and Usage sections as page-owned native row models that reuse the existing web builders' helpers for scoping, formatting, folds, and actions such as Cloud repositories, permission grants, Remote Control, and Compact. The models are dormant until page wiring lands, and the native setting stays off by default.

  • Extends the native action bridge so a clicked row's page rectangle reaches popover actions.
  • Adds 14 model and bridge tests (56 assertions).