Reads the session plan file from the workspace.\n\nReturns:\n Existence, contents, and resolved path of the session plan file.
(self, *, timeout: float | None = None)
| 25731 | self._session_id = session_id |
| 25732 | |
| 25733 | async def read(self, *, timeout: float | None = None) -> PlanReadResult: |
| 25734 | "Reads the session plan file from the workspace.\n\nReturns:\n Existence, contents, and resolved path of the session plan file." |
| 25735 | return PlanReadResult.from_dict(await self._client.request("session.plan.read", {"sessionId": self._session_id}, **_timeout_kwargs(timeout))) |
| 25736 | |
| 25737 | async def update(self, params: PlanUpdateRequest, *, timeout: float | None = None) -> None: |
| 25738 | "Writes new content to the session plan file.\n\nArgs:\n params: Replacement contents to write to the session plan file." |