@songsid/agend 2.1.10-beta.1 → 2.1.10-beta.3
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/README.md +1 -1
- package/README.zh-TW.md +1 -1
- package/dist/backend/antigravity.js +2 -1
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/kiro.d.ts +81 -3
- package/dist/backend/kiro.js +362 -29
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/types.d.ts +10 -0
- package/dist/backend/types.js +13 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/channel/ipc-bridge.js +10 -3
- package/dist/channel/ipc-bridge.js.map +1 -1
- package/dist/channel/mcp-server.d.ts +1 -8
- package/dist/channel/mcp-server.js +1 -0
- package/dist/channel/mcp-server.js.map +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +141 -36
- package/dist/cli.js.map +1 -1
- package/dist/coredump-filter.d.ts +21 -0
- package/dist/coredump-filter.js +64 -0
- package/dist/coredump-filter.js.map +1 -0
- package/dist/daemon.d.ts +45 -0
- package/dist/daemon.js +153 -22
- package/dist/daemon.js.map +1 -1
- package/dist/fleet-manager.d.ts +25 -1
- package/dist/fleet-manager.js +87 -13
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +1 -1
- package/dist/instance-lifecycle.d.ts +16 -5
- package/dist/instance-lifecycle.js +31 -20
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/locale.js +8 -0
- package/dist/locale.js.map +1 -1
- package/dist/logger.js +19 -16
- package/dist/logger.js.map +1 -1
- package/dist/muse-usage-relay.js +3 -2
- package/dist/muse-usage-relay.js.map +1 -1
- package/dist/node-warnings.d.ts +1 -0
- package/dist/node-warnings.js +26 -0
- package/dist/node-warnings.js.map +1 -0
- package/dist/paths.d.ts +15 -3
- package/dist/paths.js +45 -25
- package/dist/paths.js.map +1 -1
- package/dist/pause-marker.js +3 -2
- package/dist/pause-marker.js.map +1 -1
- package/dist/private-dir.d.ts +54 -0
- package/dist/private-dir.js +140 -0
- package/dist/private-dir.js.map +1 -0
- package/dist/service-installer.d.ts +46 -0
- package/dist/service-installer.js +224 -4
- package/dist/service-installer.js.map +1 -1
- package/dist/ui/settings.html +2 -2
- package/dist/update-check.d.ts +22 -0
- package/dist/update-check.js +31 -0
- package/dist/update-check.js.map +1 -1
- package/package.json +1 -1
- package/templates/systemd.service.ejs +17 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
[Unit]
|
|
2
2
|
Description=AgEnD — AI Engineering Daemon
|
|
3
3
|
After=network.target
|
|
4
|
+
# Stop retrying after 4 failed starts in 30 minutes (#1113). A fleet start takes
|
|
5
|
+
# minutes, so the default 5-in-10s limit could never trip: under host memory
|
|
6
|
+
# exhaustion the watchdog killed and systemd restarted the fleet indefinitely,
|
|
7
|
+
# each restart respawning every CLI into the same pressure. `agend restart`
|
|
8
|
+
# clears the counter (reset-failed) before it restarts.
|
|
9
|
+
StartLimitIntervalSec=30min
|
|
10
|
+
StartLimitBurst=4
|
|
4
11
|
|
|
5
12
|
[Service]
|
|
6
13
|
Type=notify
|
|
@@ -11,7 +18,9 @@ Type=notify
|
|
|
11
18
|
# The capability is instead contained in src/sd-notify.ts, which removes
|
|
12
19
|
# NOTIFY_SOCKET from the environment so no other child process inherits it.
|
|
13
20
|
NotifyAccess=all
|
|
14
|
-
|
|
21
|
+
# READY=1 is sent once every instance has started (minutes on a large fleet).
|
|
22
|
+
# Bounded so a start that hangs before READY is noticed (#1113).
|
|
23
|
+
TimeoutStartSec=15min
|
|
15
24
|
WatchdogSec=60
|
|
16
25
|
ExecStart=<%= execPath %> fleet start
|
|
17
26
|
Environment=PATH=<%= path %>
|
|
@@ -30,6 +39,13 @@ TimeoutStopSec=60
|
|
|
30
39
|
# it. With mixed, the fleet stops each CLI itself; only what is still left after
|
|
31
40
|
# TimeoutStopSec is SIGKILLed.
|
|
32
41
|
KillMode=mixed
|
|
42
|
+
# No multi-GB core dumps (#1113). On WSL core_pattern pipes every crash to
|
|
43
|
+
# /wsl-capture-crash, and a piped core_pattern ignores RLIMIT_CORE, so
|
|
44
|
+
# LimitCORE=0 alone does not stop them. A zero coredump_filter writes no memory
|
|
45
|
+
# mappings (a ~32 KB dump instead of 1 GB), and it is inherited by the tmux
|
|
46
|
+
# server and every CLI the fleet starts. LimitCORE=0 covers a file core_pattern.
|
|
47
|
+
CoredumpFilter=0
|
|
48
|
+
LimitCORE=0
|
|
33
49
|
StandardOutput=append:<%= logPath %>
|
|
34
50
|
StandardError=append:<%= logPath %>
|
|
35
51
|
|