nini-protocol 0.4.4__tar.gz → 0.4.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nini_protocol-0.4.4 → nini_protocol-0.4.5}/PKG-INFO +1 -1
- {nini_protocol-0.4.4 → nini_protocol-0.4.5}/nini_protocol/__init__.py +1 -1
- {nini_protocol-0.4.4 → nini_protocol-0.4.5}/nini_protocol/models.py +8 -0
- {nini_protocol-0.4.4 → nini_protocol-0.4.5}/pyproject.toml +1 -1
- {nini_protocol-0.4.4 → nini_protocol-0.4.5}/LICENSE +0 -0
- {nini_protocol-0.4.4 → nini_protocol-0.4.5}/README.md +0 -0
|
@@ -267,6 +267,14 @@ class Session(NiniModel):
|
|
|
267
267
|
exclude_if=lambda value: value in (SessionKind.ROOT, "root"),
|
|
268
268
|
)
|
|
269
269
|
label: str | None = Field(default=None, exclude_if=lambda value: value is None)
|
|
270
|
+
agent: str | None = Field(default=None, exclude_if=lambda value: value is None)
|
|
271
|
+
"""Which configured agent owns this session (ADR-0006), or absent.
|
|
272
|
+
|
|
273
|
+
Host-owned: the daemon stamps the id of the runtime that answered, so a
|
|
274
|
+
session can be reattached after a restart instead of re-guessing from
|
|
275
|
+
``[runtime] default``. Single-agent installs never see the key, so the wire
|
|
276
|
+
shape is unchanged for them (and for every pre-ADR-0006 adapter).
|
|
277
|
+
"""
|
|
270
278
|
subagent_summary: SubagentSummary | None = Field(
|
|
271
279
|
default=None, exclude_if=lambda value: value is None
|
|
272
280
|
)
|
|
File without changes
|
|
File without changes
|