Create a session bound to the isolated workdir. Throws on failure.
()
| 98 | |
| 99 | /** Create a session bound to the isolated workdir. Throws on failure. */ |
| 100 | async createSession(): Promise<string> { |
| 101 | return this.createSessionWithRetry( |
| 102 | () => this.client.session.create({ query: { directory: this.opencode.env.workdir } }), |
| 103 | "session.create", |
| 104 | ); |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Post a session.create and retry the transient warmup failure where the |
no test coverage detected