perf(session-controller): exclude the shared image limits from session summaries
`imageLimits` is a boot constant every Session shares: the unit stores no per-Session state (`stateSchema: z.null()`, `apply: state => state`) and its view returns `ctx.attachments.imageLimits`. A list row therefore repeated one host-wide capability fact on every row. It now carries the summary mark like the three log-derived units, so a summary read skips it while an opened Session still receives it through `session/follow`, the control baseline, and `session.projections`. No other logic changes: the registration, its schema, its constant view, and the host-side prompt validation keep reading `ctx.attachments` directly.
This commit is contained in:
1 parent
ef446fc85f
commit
8e2dd67de8
13 files changed
+44
-37
No files matched your search
@@ -98,6 +98,7 @@ export class ApiSessionList {
|
||||
wire: {
|
||||
viewSchema: imageLimitsSchema,
|
||||
view: () => attachmentCtx.attachments.imageLimits,
|
||||
summary: false,
|
||||
},
|
||||
stateVersion: 1,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user