(
input: CreateSessionInput,
initialBoundary?: ExecutionBoundary,
)
| 500 | } |
| 501 | |
| 502 | async createSubagent( |
| 503 | input: CreateSessionInput, |
| 504 | initialBoundary?: ExecutionBoundary, |
| 505 | ): Promise<{ header: SessionHeader; created: boolean }> { |
| 506 | await this.ensureReady(); |
| 507 | assertNoConversationCopyMetadata(input); |
| 508 | const result = await this.metadata.createSubagent( |
| 509 | buildSessionHeader(this.workspaceRoot, input), |
| 510 | initialBoundary, |
| 511 | ); |
| 512 | return { header: result.record.header, created: result.created }; |
| 513 | } |
| 514 | |
| 515 | async createAgentGraphOperator( |
| 516 | input: CreateSessionInput, |
nothing calls this directly
no test coverage detected