@songsid/agend 2.3.2-beta.16 → 2.3.2-beta.18

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 (32) hide show
  1. package/README.md +2 -0
  2. package/README.zh-TW.md +2 -0
  3. package/dist/backend/claude-code.js +23 -1
  4. package/dist/backend/claude-code.js.map +1 -1
  5. package/dist/backend/kiro-reconcile-store.js +8 -1
  6. package/dist/backend/kiro-reconcile-store.js.map +1 -1
  7. package/dist/backend/kiro.d.ts +2 -0
  8. package/dist/backend/kiro.js +7 -0
  9. package/dist/backend/kiro.js.map +1 -1
  10. package/dist/channel/mcp-tools.js +2 -2
  11. package/dist/channel/mcp-tools.js.map +1 -1
  12. package/dist/cli.js +2 -2
  13. package/dist/cli.js.map +1 -1
  14. package/dist/fleet-manager.js +6 -5
  15. package/dist/fleet-manager.js.map +1 -1
  16. package/dist/general-knowledge/skills/fleet-config/SKILL.md +5 -3
  17. package/dist/general-knowledge/skills/fleet-restart/SKILL.md +1 -1
  18. package/dist/general-knowledge/skills/kiro-engine-migration/SKILL.md +24 -0
  19. package/dist/general-knowledge/skills/session-management/SKILL.md +1 -1
  20. package/dist/general-knowledge/skills/tui-effort/SKILL.md +1 -1
  21. package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +3 -1
  22. package/dist/general-knowledge/skills/web-appearance/SKILL.md +3 -1
  23. package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +18 -9
  24. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +18 -9
  25. package/dist/kiro-reconcile.js +11 -3
  26. package/dist/kiro-reconcile.js.map +1 -1
  27. package/dist/locale.js +6 -0
  28. package/dist/locale.js.map +1 -1
  29. package/dist/update-check.d.ts +13 -4
  30. package/dist/update-check.js +17 -4
  31. package/dist/update-check.js.map +1 -1
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { getCachedKiroCliCompatibility, kiroV1DbPath, kiroV2SessionsDir } from "./backend/kiro.js";
1
+ import { supportsVerifiedKiroMigration, getCachedKiroCliCompatibility, kiroV1DbPath, kiroV2SessionsDir } from "./backend/kiro.js";
2
2
  import { listKiroV1Sessions, readKiroClassicLinks } from "./backend/kiro-identity.js";
3
3
  import { readKiroV1SavedModel } from "./backend/kiro-retired-model.js";
4
4
  import { sharedKiroV2StoreLane } from "./backend/kiro-v2-store.js";
@@ -1943,8 +1943,7 @@ export class FleetManager {
1943
1943
  },
1944
1944
  preflight: async (name, plan) => {
1945
1945
  const compat = getCachedKiroCliCompatibility(resolveBinary("kiro-cli"));
1946
- if (!compat.supportsTui || !compat.supportsInstanceAgent || !compat.agentEngines?.includes("v2")
1947
- || !/^2\.(?:3[4-9]|[4-9]\d|\d{3,})\./.test(compat.version ?? ""))
1946
+ if (!supportsVerifiedKiroMigration(compat))
1948
1947
  throw new Error(t("kiro_migrate.version_required"));
1949
1948
  const daemon = this.daemons.get(name);
1950
1949
  if (this.getInstanceStatus(name) === "running" && (!daemon || !await daemon.kiroMigrationIdle()))
@@ -2129,7 +2128,7 @@ export class FleetManager {
2129
2128
  this.notifyFleetError(t("kiro_reconcile.audit_failed"));
2130
2129
  return true;
2131
2130
  }
2132
- await this.retireNonceButtons(entry, entry.messageId ?? data.messageId, t("kiro_migrate.applying", plan.name));
2131
+ await this.retireNonceButtons(entry, entry.messageId ?? data.messageId, t("kiro_reconcile.applying", plan.name));
2133
2132
  outcome = await applyKiroReconciliation(this.kiroReconcileDeps(), plan, `${adapterId}:${data.userId}`);
2134
2133
  try {
2135
2134
  this.eventLog.insert(plan.name, "kiro_reconcile", { phase: outcome.ok ? "completed" : "failed", userId: data.userId, receipt: outcome.receipt, message: outcome.text });
@@ -23507,7 +23506,9 @@ Plus the operational skills (fleet-health, instance-lifecycle, scheduling, sessi
23507
23506
  // From the install's own channel tag, this is what /update installs — even a stable the release pointed the
23508
23507
  // tag at (2.2.0 on @alpha / @beta): the plain /update text, never "/update stays on … use --stable" (#1928).
23509
23508
  const key = fromChannel ? "update.available_current" : updateNoticeKey(currentVersion, target);
23510
- this.notifyInstanceTopic(generalId, t(key, `v${target}`, `v${currentVersion}`));
23509
+ // #2775: null = a beta install and a stable target; beta users are never told to switch.
23510
+ if (key)
23511
+ this.notifyInstanceTopic(generalId, t(key, `v${target}`, `v${currentVersion}`));
23511
23512
  }
23512
23513
  }
23513
23514
  }