ec-web 0.0.20 → 0.0.22
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/ipc-client.js +7 -1
- package/dist/paths.js +18 -1
- package/dist/server.js +159 -28
- package/dist/sources/aid.js +69 -49
- package/dist/sources/baseagent-detector.js +60 -6
- package/dist/sources/basic-settings.js +818 -0
- package/dist/sources/gateway.js +5 -4
- package/dist/sources/monitor.js +22 -5
- package/dist/sources/msg.js +4 -96
- package/dist/sources/relation-roles.js +216 -207
- package/dist/sources/role-definitions.js +162 -331
- package/dist/sources/session-codex.js +207 -84
- package/dist/sources/system.js +10 -9
- package/dist/sources/triggers.js +82 -13
- package/dist/sources/types.js +20 -1
- package/dist/static/app.js +175 -15
- package/dist/static/basic-settings.js +1576 -0
- package/dist/static/index.html +43 -1
- package/dist/static/style.css +586 -2
- package/ecweb-wrapper.cjs +5 -1
- package/package.json +1 -1
package/ecweb-wrapper.cjs
CHANGED
|
@@ -31,7 +31,11 @@ function needsBuild() {
|
|
|
31
31
|
const fullPath = path.join(dir, entry.name);
|
|
32
32
|
if (entry.isDirectory()) {
|
|
33
33
|
walkDir(fullPath);
|
|
34
|
-
|
|
34
|
+
// Static assets are part of the runtime too. In particular,
|
|
35
|
+
// basic-settings.js may change without touching a TypeScript source;
|
|
36
|
+
// leave the wrapper on an old dist tree in that case would serve stale
|
|
37
|
+
// UI code (and hide newly added API calls) after a normal restart.
|
|
38
|
+
} else if (entry.isFile() && /\.(ts|tsx|json|js|css|html)$/.test(entry.name)) {
|
|
35
39
|
const stat = fs.statSync(fullPath);
|
|
36
40
|
if (stat.mtimeMs > newestSrcMtime) {
|
|
37
41
|
newestSrcMtime = stat.mtimeMs;
|