@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.
Files changed (57) hide show
  1. package/README.md +1 -1
  2. package/README.zh-TW.md +1 -1
  3. package/dist/backend/antigravity.js +2 -1
  4. package/dist/backend/antigravity.js.map +1 -1
  5. package/dist/backend/kiro.d.ts +81 -3
  6. package/dist/backend/kiro.js +362 -29
  7. package/dist/backend/kiro.js.map +1 -1
  8. package/dist/backend/types.d.ts +10 -0
  9. package/dist/backend/types.js +13 -0
  10. package/dist/backend/types.js.map +1 -1
  11. package/dist/channel/ipc-bridge.js +10 -3
  12. package/dist/channel/ipc-bridge.js.map +1 -1
  13. package/dist/channel/mcp-server.d.ts +1 -8
  14. package/dist/channel/mcp-server.js +1 -0
  15. package/dist/channel/mcp-server.js.map +1 -1
  16. package/dist/cli.d.ts +1 -1
  17. package/dist/cli.js +141 -36
  18. package/dist/cli.js.map +1 -1
  19. package/dist/coredump-filter.d.ts +21 -0
  20. package/dist/coredump-filter.js +64 -0
  21. package/dist/coredump-filter.js.map +1 -0
  22. package/dist/daemon.d.ts +45 -0
  23. package/dist/daemon.js +153 -22
  24. package/dist/daemon.js.map +1 -1
  25. package/dist/fleet-manager.d.ts +25 -1
  26. package/dist/fleet-manager.js +87 -13
  27. package/dist/fleet-manager.js.map +1 -1
  28. package/dist/general-knowledge/skills/fleet-config/SKILL.md +1 -1
  29. package/dist/instance-lifecycle.d.ts +16 -5
  30. package/dist/instance-lifecycle.js +31 -20
  31. package/dist/instance-lifecycle.js.map +1 -1
  32. package/dist/locale.js +8 -0
  33. package/dist/locale.js.map +1 -1
  34. package/dist/logger.js +19 -16
  35. package/dist/logger.js.map +1 -1
  36. package/dist/muse-usage-relay.js +3 -2
  37. package/dist/muse-usage-relay.js.map +1 -1
  38. package/dist/node-warnings.d.ts +1 -0
  39. package/dist/node-warnings.js +26 -0
  40. package/dist/node-warnings.js.map +1 -0
  41. package/dist/paths.d.ts +15 -3
  42. package/dist/paths.js +45 -25
  43. package/dist/paths.js.map +1 -1
  44. package/dist/pause-marker.js +3 -2
  45. package/dist/pause-marker.js.map +1 -1
  46. package/dist/private-dir.d.ts +54 -0
  47. package/dist/private-dir.js +140 -0
  48. package/dist/private-dir.js.map +1 -0
  49. package/dist/service-installer.d.ts +46 -0
  50. package/dist/service-installer.js +224 -4
  51. package/dist/service-installer.js.map +1 -1
  52. package/dist/ui/settings.html +2 -2
  53. package/dist/update-check.d.ts +22 -0
  54. package/dist/update-check.js +31 -0
  55. package/dist/update-check.js.map +1 -1
  56. package/package.json +1 -1
  57. 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
- TimeoutStartSec=0
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