ec-web 0.0.18 → 0.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/paths.js CHANGED
@@ -7,12 +7,10 @@
7
7
  * 根目录解析优先级:
8
8
  * 1. --home 命令行参数(由 index.ts 写入 process.env.EVOLCORE_HOME)
9
9
  * 2. EVOLCORE_HOME 环境变量
10
- * 3. cwd/agents/defaults.json 存在 → cwd(开发模式)
11
- * 4. ~/.evolcore
10
+ * 3. ~/.evolcore
12
11
  */
13
12
  import path from 'path';
14
13
  import os from 'os';
15
- import fs from 'fs';
16
14
  import crypto from 'crypto';
17
15
  const isWindows = process.platform === 'win32';
18
16
  let _root = null;
@@ -22,9 +20,6 @@ export function resolveRoot() {
22
20
  if (process.env.EVOLCORE_HOME) {
23
21
  _root = process.env.EVOLCORE_HOME;
24
22
  }
25
- else if (fs.existsSync(path.join(process.cwd(), 'agents', 'defaults.json'))) {
26
- _root = process.cwd();
27
- }
28
23
  else {
29
24
  _root = path.join(os.homedir(), '.evolcore');
30
25
  }
@@ -48,7 +48,7 @@
48
48
 
49
49
  </nav>
50
50
  <span style="flex:1"></span>
51
- 2026-08-27 02:39
51
+ 2026-08-27 15:27
52
52
  <span id="conn-status" class="conn-status" data-i18n="status.connecting">连接中…</span>
53
53
  <button id="lang-btn" class="theme-btn" data-i18n-title="language.buttonTitle" title="切换语言">🌐</button>
54
54
  <button id="theme-btn" class="theme-btn" data-i18n-title="theme.buttonTitle" title="主题">🌗</button>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ec-web",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "Web console and monitoring dashboard for EvolCore",
5
5
  "type": "module",
6
6
  "bin": {