fix: 发布 1.1.66,Hooks 开关与会话来源

清洗页可关掉 hooks deny 旁路。继续/拒答续跑改用官方允许的来源 kind,限流和传输失败不再自动续一轮。

Closes #80. Closes #81.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
叫我小杨同学andCursor committed 2026-10-09 01:32:17 +08:00
1 parent 76e64d65e0
commit 09bac57f2c
13 files changed
+789 -59

No files matched your search

+33
View File
@@ -299,6 +299,39 @@ export const POINT_STAGE_OVERRIDE = {
'boundary-physical': 'boundary', 'boundary-supply': 'boundary',
}
/**
* 得分点的短名:报告正文、索引表、链路表用它。
* 合并后的得分点全名太长,放不进表头;全名仍写在每条明细的「得分点」一行。
*/
export const POINT_SHORT_NAME = {
'domain-control': '域名控制',
'terminal-access': '终端权限',
'server-host': '服务器主机',
'db-credential': '数据库凭据',
'web-app': 'Web 应用',
'central-system': '集权系统',
'bigdata-system': '大数据系统',
'netdev': '网络设备',
'netdev-redirect': '网络重定向',
'netdev-implant': '网络设备植入',
'iiot': '工业互联网',
'cloud-platform': '云管理平台',
'iot-platform': '物联网平台',
'secdev': '安全设备',
'file-storage': '文件存储',
'ai-agent': '模型智能体',
'model-compute': '算力 / 知识库系统',
'model-data': '模型数据系统',
'computepower-admin': '算力基础设施',
'computepower-cards': '算力卡资源',
'boundary-logical': '进入逻辑隔离内网',
'boundary-strong': '进入强隔离内网',
'boundary-physical': '进入物理隔离内网',
'boundary-supply': '供应链 / 云服务通道',
'iot-corenet': '物联网打入核心网',
'core-system': '核心系统(旧口径)',
}
/**
* 自动推导一条得分属于哪个阶段(用户已确认:自动推导,允许显式覆盖):
* ① 显式 stage_code 优先