Class SessionPlanApi
java.lang.Object
com.github.copilot.generated.rpc.SessionPlanApi
API methods for the
plan namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondelete()Deletes the session plan file from the workspace.read()Reads the session plan file from the workspace.Reads todo rows from the session SQL database for plan rendering.Reads todo rows AND dependency edges from the session SQL database for structured progress UI.update(SessionPlanUpdateParams params) Writes new content to the session plan file.
-
Method Details
-
read
Reads the session plan file from the workspace.- Since:
- 1.0.0
-
update
Writes new content to the session plan file.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
delete
Deletes the session plan file from the workspace.- Since:
- 1.0.0
-
readSqlTodos
Reads todo rows from the session SQL database for plan rendering.- Since:
- 1.0.0
-
readSqlTodosWithDependencies
@CopilotExperimental public CompletableFuture<SessionPlanReadSqlTodosWithDependenciesResult> readSqlTodosWithDependencies()Reads todo rows AND dependency edges from the session SQL database for structured progress UI. Same defensive behavior as readSqlTodos — returns empty arrays when the database, tables, or columns aren't available. Clients should call this on session start and after every `session.todos_changed` event to refresh structured-UI rendering.- Since:
- 1.0.0
-