Files
37duAutomation/desktop/electron-shell/.env.example
T
puddy 1d66167156 chore(center): 下线第一代中心机并清除旧公网信息
- 删除 desktop/controlplane(FastAPI 旧中心机)全部代码,历史见 git

- 移除依赖旧中心机模块的两个失效测试

- AGENTS/README/docs 表述改为「已移除/只有内网一套」,去掉旧公网地址与宝塔部署信息

- agent_cli 去掉旧库拦截逻辑,--base 帮助指向内网生产;electron-shell .env.example 默认地址改内网
2026-11-06 15:40:37 +08:00

25 lines
1.3 KiB
Bash
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.
# 37du Electron 壳:开发环境配置(拷贝为 .env 并修改)
# =============================================================
# 服务端地址(中心机控制面,内网生产 172.30.30.243:8800;本机联调用 127.0.0.1:8800)
CONTROLPLANE_URL=http://172.30.30.243:8800
# 内部凭证(与中心机 controlplane-next/server/.env 的 CONTROLPLANE_TOKEN 保持一致;非空时发 X-API-Token)
CONTROLPLANE_TOKEN=
# 插件执行子进程的 Python 解释器(解析优先级:本变量 > 环境包 python-env/current.json > 系统 python)
# 开发推荐显式指定项目 .venv;正式打包后不设即可自动使用随包/下发的环境包
# PYTHON_EXE=D:\work\code\37duAutomation\.venv\Scripts\python.exe
# 环境包目录的显式覆盖(默认:打包态 exe 同级 python-env/;dev electron-shell/python-env/)
# SHELL_PYTHON_ENV_ROOT=D:\work\code\37duAutomation\desktop\electron-shell\python-env
# 插件执行超时(秒,默认 21600=6 小时)。长流程(耗时数小时)不再被默认 30 分钟强杀;
# 个别插件可在 plugin.json 声明 runTimeoutSeconds 覆盖(0=不限时),RUN_TIMEOUT=0 则全局不限时
RUN_TIMEOUT=21600
# 插件进程作业级内存上限(MB,环境包模式经 job_guard/Job Object 生效,默认 2048)
# RUN_MAX_MEM_MB=2048
# 调试:1 开启完整 JSON 调试日志
# DEBUG=1