feat(panel): modularize 3-tab preferences, add model context windows, and optimize telemetry

- Refactor Preferences into decoupled General, Structure, and Other tabs with unified settings schema, factory reset, and trajectory cache rebuild endpoints
- Extract standalone widget, metric, and step-table column registries to customize topbar/composer slots, hover popup modules, live overview layout, and step detail columns
- Add bilingual zh-CN/en-US i18n dictionaries, theme accent presets, and font scale controls across Shadow DOM overlay and sidebar views
- Support per-model host-advertised context window rules across App and IDE transports
- Preserve CLEARED step generation timings, memoize per-poll model resolution, optimize LOESS sorted-x fitting, and update bilingual READMEs and test suites
This commit is contained in:
fish
2026-11-15 01:18:29 +09:00
parent ad33e9cc62
commit 18c608ae63
63 changed files with 16614 additions and 5873 deletions
+18
View File
@@ -437,6 +437,7 @@ export function buildBundle() {
'src/styles/views-overview.css',
'src/styles/views-consumption.css',
'src/styles/views-tables.css',
'src/styles/views-settings.css',
'src/styles/overlay.css',
];
@@ -451,6 +452,10 @@ export function buildBundle() {
'src/icons/svgRegistry.js',
'src/icons/SvgIcon.js',
'src/core/reactive.js',
'src/i18n/zh-CN.js',
'src/i18n/en-US.js',
'src/i18n/index.js',
'src/core/appearance.js',
'src/core/domPatch.js',
'src/core/component.js',
'src/core/formatters.js',
@@ -467,6 +472,19 @@ export function buildBundle() {
'src/components/ui/FourSegmentBar.js',
'src/components/charts/TrendAreaChart.js',
'src/components/charts/SessionStepCharts.js',
'src/registries/metricRegistry.js',
'src/components/widgets/MetricMatrixWidget.js',
'src/components/widgets/ContextWindowWidget.js',
'src/components/widgets/QuotaPoolsWidget.js',
'src/components/widgets/LiveActivityWidget.js',
'src/registries/widgetRegistry.js',
'src/registries/stepColumnRegistry.js',
'src/components/settings/CollapsibleSection.js',
'src/components/settings/EditableSlotList.js',
'src/components/settings/ThemeColorPicker.js',
'src/views/settings/SettingsGeneralTab.js',
'src/views/settings/SettingsStructureTab.js',
'src/views/settings/SettingsOtherTab.js',
'src/components/layout/TopSessionHeader.js',
'src/views/LiveOverviewView.js',
'src/views/ConsumptionView.js',