Some checks failed
AI automation / Route event (push) Has been cancelled
AI automation / Hand reopened issue to maintainers (push) Has been cancelled
AI automation / Clean source issue state (push) Has been cancelled
AI automation / Reconcile handoffs (push) Has been cancelled
AI automation / Classify issue (push) Has been cancelled
AI automation / Claude Code smoke (push) Has been cancelled
AI automation / Review issue follow-up (push) Has been cancelled
AI automation / Publish issue follow-up (push) Has been cancelled
AI automation / Implement with Claude Code (push) Has been cancelled
AI automation / Publish implement PR (push) Has been cancelled
AI automation / Continue queued issue comments (push) Has been cancelled
AI automation / Codex review loop (push) Has been cancelled
AI automation / Publish Codex fix (push) Has been cancelled
AI automation / Clear Codex dispatch marker (push) Has been cancelled
AI automation / Own PR re-request Codex (push) Has been cancelled
AI automation / External PR re-request Codex (push) Has been cancelled
AI automation / Poll Codex reaction / retry (push) Has been cancelled
- 8 new store modules + matcher + initialResponse + aggregation + remediation + AlertStateMonitor + planGenerator - alert chain auto-integrated after runInspection: freeze snapshot + generate response + real-time agg + auto-start monitor - AlertAIPanel component + MonitoringDetailPanel expandable alert list - PlanManagementPage: full page with list/edit/AI generate/templates/commands
51 lines
1.7 KiB
JavaScript
51 lines
1.7 KiB
JavaScript
"use strict";
|
||
|
||
/**
|
||
* 巡检模块 - 存储键定义
|
||
*
|
||
* 所有巡检相关的 localStorage 键统一在此集中管理。
|
||
*/
|
||
|
||
const PREFIX = "netcatty_inspection_";
|
||
|
||
// ---------- 系统配置 ----------
|
||
exports.STORAGE_KEY_SYS_CONFIG = `${PREFIX}sys_config_v1`;
|
||
|
||
// ---------- 设备类型 ----------
|
||
exports.STORAGE_KEY_DEVICE_CATALOG = `${PREFIX}device_catalog_v1`;
|
||
|
||
// ---------- 设备扩展(巡检配置) ----------
|
||
exports.STORAGE_KEY_DEVICE_EXTENSION = `${PREFIX}device_extension_v1`;
|
||
|
||
// ---------- 告警规则 ----------
|
||
exports.STORAGE_KEY_ALERT_RULES = `${PREFIX}alert_rules_v1`;
|
||
|
||
// ---------- 巡检结果 ----------
|
||
exports.STORAGE_KEY_INSPECTION_RESULTS = `${PREFIX}inspection_results_v1`;
|
||
|
||
// ---------- 告警记录 ----------
|
||
exports.STORAGE_KEY_ALERT_RECORDS = `${PREFIX}alert_records_v1`;
|
||
|
||
// ---------- 告警持续计数(防抖动) ----------
|
||
exports.STORAGE_KEY_ALERT_COUNTERS = `${PREFIX}alert_counters_v1`;
|
||
|
||
// ---------- 调度器状态 ----------
|
||
exports.STORAGE_KEY_SCHEDULER_STATE = `${PREFIX}scheduler_state_v1`;
|
||
|
||
// ---------- 巡检报告快照 ----------
|
||
exports.STORAGE_KEY_REPORT_SNAPSHOTS = `${PREFIX}report_snapshots_v1`;
|
||
|
||
// ---------- 巡检报告调度配置 ----------
|
||
exports.STORAGE_KEY_REPORT_SCHEDULE = `${PREFIX}report_schedule_v1`;
|
||
|
||
// ---------- 日运行报告 ----------
|
||
exports.STORAGE_KEY_DAILY_REPORTS = `${PREFIX}daily_reports_v1`;
|
||
|
||
// ---------- 预案管理(P0 新增)----------
|
||
exports.STORAGE_KEY_PLAN_TEMPLATES = `${PREFIX}plan_templates_v1`;
|
||
exports.STORAGE_KEY_DEVICE_PLANS = `${PREFIX}device_plans_v1`;
|
||
exports.STORAGE_KEY_AGGREGATION_RULES = `${PREFIX}aggregation_rules_v1`;
|
||
exports.STORAGE_KEY_COMMAND_CATALOG = `${PREFIX}command_catalog_v1`;
|
||
|
||
exports.STORAGE_KEY_PREFIX = PREFIX;
|