(
input: CreateSessionInput,
initialBoundary?: ExecutionBoundary,
)
| 387 | } |
| 388 | |
| 389 | async create( |
| 390 | input: CreateSessionInput, |
| 391 | initialBoundary?: ExecutionBoundary, |
| 392 | ): Promise<SessionHeader> { |
| 393 | await this.ensureReady(); |
| 394 | assertNoConversationCopyMetadata(input); |
| 395 | if (input.subagentSpawn) { |
| 396 | throw new Error('Subagent spawn metadata requires createSubagent()'); |
| 397 | } |
| 398 | return ( |
| 399 | await this.metadata.create(buildSessionHeader(this.workspaceRoot, input), initialBoundary) |
| 400 | ).header; |
| 401 | } |
| 402 | |
| 403 | async createImportedSession( |
| 404 | input: CreateSessionInput, |
nothing calls this directly
no test coverage detected