(api: TuiApi)
| 9 | export const logger = new Logger(false) |
| 10 | |
| 11 | export function loadConfig(api: TuiApi): PluginConfig { |
| 12 | return getConfig({ |
| 13 | client: api.client, |
| 14 | directory: api.state.path.directory, |
| 15 | worktree: api.state.path.worktree, |
| 16 | } as any) |
| 17 | } |
| 18 | |
| 19 | export function activeSessionID(api: TuiApi): string | undefined { |
| 20 | const current = api.route.current |