Close releases resources held by the runtime (e.g., background agents and pending lifecycles). The session store is *not* closed here: it is supplied by the embedder via WithSessionStore and may be shared with other runtimes (e.g. the TUI's spawner reuses the same store across spawned sessions). Emb
()
| 183 | // same store across spawned sessions). Embedders that own the store |
| 184 | // must close it themselves. |
| 185 | Close() error |
| 186 | } |
| 187 | |
| 188 | // PermissionsInfo contains the allow, ask, and deny patterns for tool permissions. |
no outgoing calls