Files
manual_slop/scripts/tasks/popout_usage.toml

14 lines
1.0 KiB
TOML

prompt = """
In src/gui_2.py:
1. In '__init__', initialize 'self.ui_separate_usage_analytics = gui_cfg.get("separate_usage_analytics", False)'.
2. Implement 'App._render_usage_analytics_panel(self)':
- Call '_render_token_budget_panel()' (optionally inside a collapsing header if you want, but user asked to consolidate headers).
- Call '_render_tool_analytics_panel()'.
- Call '_render_session_insights_panel()'.
3. In '_gui_func', remove the original calls to these three panels from the 'AI Settings' block (around line 410).
4. In '_gui_func', add logic to render the standalone 'Usage Analytics' window if 'self.ui_separate_usage_analytics' and 'self.show_windows.get("Usage Analytics", False)' are true.
5. In 'Operations Hub' rendering (around line 530), add a 'Pop Out Usage Analytics' checkbox. If changed, update 'self.show_windows["Usage Analytics"]'.
6. In 'Operations Hub' tab bar, add a 'Usage Analytics' tab that calls '_render_usage_analytics_panel()' if 'not self.ui_separate_usage_analytics'.
Use 1-space indentation.
"""