f91d2645d3
- implement kimi/yuanbao monitor adapters with dedicated citation panel detection - detect Kimi session via kimi-auth cookie during account binding - harden hidden Playwright and bound windows with skipTaskbar/focusable/hiddenInMissionControl to stop stealing focus - tag hidden bootstrap windows with a unique token so CDP retention resolves the correct page - enable yuanbao/kimi/wenxin platforms in dev-seed and default monitoring quota - update kimi loginUrl to www.kimi.com Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
782 B
SQL
14 lines
782 B
SQL
CREATE TABLE tenant_monitoring_quotas (
|
|
tenant_id BIGINT PRIMARY KEY REFERENCES tenants(id),
|
|
max_brands INT NOT NULL DEFAULT 1,
|
|
collection_mode VARCHAR(20) NOT NULL DEFAULT 'desktop',
|
|
question_selection_mode VARCHAR(20) NOT NULL DEFAULT 'best_effort_all',
|
|
collect_frequency VARCHAR(20) NOT NULL DEFAULT 'daily',
|
|
enabled_platforms JSONB NOT NULL DEFAULT '["yuanbao","kimi","wenxin","deepseek","doubao","qwen"]'::jsonb,
|
|
primary_client_id UUID,
|
|
task_daily_hard_cap INT NOT NULL DEFAULT 36,
|
|
plan_tier VARCHAR(20) NOT NULL DEFAULT 'free',
|
|
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
|
updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
|
);
|