Files
hospital-front-agent/conf/agent.properties
T
lianlonggangandClaude 68751c2354 feat: Python 版前置机 Agent 完整实现
- WebSocket 连接 B 端(注册/心跳/指数退避重连)
- 命令分发(10 种远程运维命令)
- 看门狗守护、日志实时流、在线升级含自动回滚
- 修复 main.py 日志格式 style 与占位符不匹配的问题
- 补充 README、配置示例、依赖清单

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-27 11:58:31 +08:00

14 lines
536 B
Properties
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.
# Agent 配置
# 值优先从环境变量读取(AGENT_ 前缀 + 大写 + 下划线,如 AGENT_SERVER_URL
# 服务脚本自动加载 conf/.env 设置环境变量;NSSM 用 AppEnvironmentExtra 设置
#
# 以下是 fallback 默认值(环境变量未设置时使用):
server.url=ws://10.10.10.228:19901/medical/agentSocket/unknown-device
device.id=unknown-device
device.token=
main.health.url=http://127.0.0.1:8082/api/admin/health
main.admin.token=
main.start.cmd=bin/service.bat main start
heartbeat.sec=15
guard.enable=true