Class SessionFactoryApi
java.lang.Object
com.github.copilot.generated.rpc.SessionFactoryApi
API methods for the
factory namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SessionFactoryJournalApiAPI methods for thefactory.journalsub-namespace. -
Method Summary
Modifier and TypeMethodDescriptionagent(SessionFactoryAgentParams params) Parameters for one factory-scoped subagent call.cancel(SessionFactoryCancelParams params) Parameters for cancelling a factory run.getRun(SessionFactoryGetRunParams params) Parameters for retrieving a factory run.log(SessionFactoryLogParams params) Parameters for recording factory progress.run(SessionFactoryRunParams params) Parameters for invoking a registered factory.
-
Field Details
-
journal
API methods for thefactory.journalsub-namespace.
-
-
Method Details
-
run
@CopilotExperimental public CompletableFuture<SessionFactoryRunResult> run(SessionFactoryRunParams params) Parameters for invoking a registered factory.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getRun
@CopilotExperimental public CompletableFuture<SessionFactoryGetRunResult> getRun(SessionFactoryGetRunParams params) Parameters for retrieving a factory run.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
cancel
@CopilotExperimental public CompletableFuture<SessionFactoryCancelResult> cancel(SessionFactoryCancelParams params) Parameters for cancelling a factory run.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
log
Parameters for recording factory progress.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
agent
@CopilotExperimental public CompletableFuture<SessionFactoryAgentResult> agent(SessionFactoryAgentParams params) Parameters for one factory-scoped subagent call.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-