()
| 91 | bindings: config.keybinds.gather("test.base", ["model.list"]), |
| 92 | }) |
| 93 | const activeCounts = () => |
| 94 | Object.fromEntries( |
| 95 | Array.from( |
| 96 | keymap.getCommandBindings({ |
| 97 | visibility: "active", |
| 98 | commands: ["session.list", "session.new", "session.page.up", "session.first", "model.list"], |
| 99 | }), |
| 100 | ([command, bindings]) => [command, bindings.length], |
| 101 | ), |
| 102 | ) |
| 103 | |
| 104 | counts.base = activeCounts() |
| 105 | const popQuestion = getOpencodeModeStack(keymap).push("question") |