showConfigGraphView renders the @graphview panorama: the default theme, the auto-open behavior and the chat-mode exception toggle.
()
| 922 | // showConfigGraphView renders the @graphview panorama: the default theme, the |
| 923 | // auto-open behavior and the chat-mode exception toggle. |
| 924 | func (cli *ChatCLI) showConfigGraphView() { |
| 925 | sectionHeader("🕸", "cfg.section.graphview.title", ColorCyan) |
| 926 | p := uiPrefix(ColorCyan) |
| 927 | |
| 928 | kv(p, "CHATCLI_GRAPHVIEW_THEME", envOr("CHATCLI_GRAPHVIEW_THEME")) |
| 929 | kv(p, "CHATCLI_GRAPHVIEW_OPEN", envBool("CHATCLI_GRAPHVIEW_OPEN")) |
| 930 | kv(p, chatGraphViewEnvVar, envBool(chatGraphViewEnvVar)) |
| 931 | kv(p, i18n.T("cfg.chat.gv_effective"), chatStateLabel(chatGraphViewEnabled())) |
| 932 | |
| 933 | fmt.Println(p) |
| 934 | fmt.Println(p + colorize(i18n.T("cfg.graphview.about"), ColorGray)) |
| 935 | sectionEnd(ColorCyan) |
| 936 | } |
| 937 | |
| 938 | func (cli *ChatCLI) showConfigIntegrations(ctx context.Context) { |
| 939 | sectionHeader("🔗", "cfg.section.integrations.title", ColorPurple) |