guanghu-ice-heart/modules/guanghu-panel-kit/panel/config.example.json
冰朔 a6ad978b04 feat(panel-kit): 写入窗口时长升级为配置驱动 window_hours
苍耳提请:一次授权3小时太短,胖头鱼升至12小时。
- server.js:WINDOW_HOURS 读 config.json(缺省3h保持向后兼容),
  TTL/全部文案/唤醒链/领取规则/git代理提示动态化;state() 新增 windowHours
- config.example.json:新增 window_hours 字段(示例12)
- INDEX.hdlp:窗口制说明与铁律同步
- 两套前端示例:授权按钮改读 s.windowHours 动态时长
- 钩子模板:拒绝文案去掉写死时长
2026-08-07 18:56:35 +08:00

59 lines
No EOL
1.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"node_id": "MM-GZ-001",
"subsystem": "守望语言子系统 · 宠物行业",
"human_name": "毛毛",
"human_accounts": [
"maomao"
],
"personas": [
"yaoyan",
"yaoshi"
],
"repo": "maomao/maomao-fifth-domain",
"default_branch": "guanghu/main",
"deploy_branch": "deploy",
"domain": "https://maomao.guanghulab.com",
"domain_host": "maomao.guanghulab.com",
"forgejo_port": 3002,
"panel_port": 3003,
"window_hours": 12,
"node_root": "/srv/guanghu/mm-gz-001",
"admin_token_file": "/srv/guanghu/mm-gz-001/panel/admin-token",
"sessions_file": "/srv/guanghu/mm-gz-001/panel/sessions.json",
"access_dir": "/srv/guanghu/mm-gz-001/access",
"export_dir": "/srv/guanghu/mm-gz-001/export",
"deploy_runs_dir": "/srv/guanghu/mm-gz-001/deploy-agent/runs",
"deploy_script": "/srv/guanghu/mm-gz-001/deploy-agent/bin/verify-and-deploy.py",
"writer_user": "mm-writer",
"watch_services": [
"guanghu-mm-forgejo.service",
"guanghu-mm-tunnel.service",
"guanghu-mm-panel.service"
],
"writeback_paths": [
"guanghu-nodes/MM-GZ-001/imports/notion",
"guanghu-nodes/MM-GZ-001/contributions",
"guanghu-nodes/MM-GZ-001/personas"
],
"persona_registry": "CA-PERSONA-REGISTRY.hdlp 或 guanghu-nodes/<节点>/personas/registry.jsonHDLP文本或JSON均支持",
"persona_aliases": {
"eererdan": [
"耳耳蛋",
"ICE-GL-耳耳蛋",
"PTS-VA-001-EED"
],
"jianying": [
"鉴影",
"ICE-GL-CA001"
],
"yaoyan": [
"曜砚",
"PER-MM-ARCH-001"
],
"yaoshi": [
"曜识",
"TCS-YAO-SENSE-0001∞",
"TCS-GL-1000∞"
]
}
}