@songsid/agend 2.0.11-beta.32 → 2.0.11-beta.33

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.
@@ -2108,21 +2108,6 @@ export class FleetManager {
2108
2108
  // ===================== Scheduler =====================
2109
2109
  async handleScheduleTrigger(schedule) {
2110
2110
  const { target, reply_chat_id, reply_thread_id, message, label, id, source } = schedule;
2111
- // Reserved auto-update schedule: run `agend update` instead of delivering a
2112
- // message to an instance. message === "beta" selects the beta channel.
2113
- if (target === "__fleet_update__") {
2114
- const cmd = message === "beta" ? "agend update --beta" : "agend update";
2115
- this.logger.info({ cmd, scheduleId: id }, "Auto-update schedule fired");
2116
- try {
2117
- const { spawn } = await import("node:child_process");
2118
- spawn("sh", ["-c", `sleep 1 && ${cmd}`], { detached: true, stdio: "ignore" }).unref();
2119
- this.scheduler?.recordRun(id, "delivered", `ran ${cmd}`);
2120
- }
2121
- catch (err) {
2122
- this.scheduler?.recordRun(id, "retry", `update spawn failed: ${err.message}`);
2123
- }
2124
- return;
2125
- }
2126
2111
  const RATE_LIMIT_DEFER_THRESHOLD = 85;
2127
2112
  const rl = this.statuslineWatcher.getRateLimits(target);
2128
2113
  if (rl && rl.five_hour_pct > RATE_LIMIT_DEFER_THRESHOLD) {
@@ -4256,6 +4241,7 @@ When users create specialized instances, suggest these configurations:
4256
4241
  res.writeHead(200);
4257
4242
  res.end(JSON.stringify({
4258
4243
  ...sysInfo,
4244
+ version: this.currentVersion,
4259
4245
  instances: enriched,
4260
4246
  }));
4261
4247
  return;