@songsid/agend 2.1.4-beta.33 → 2.1.4-beta.35

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.
@@ -9243,9 +9243,10 @@ Plus the operational skills (fleet-health, instance-lifecycle, scheduling, sessi
9243
9243
  const lastActivity = inst.classic
9244
9244
  ? Math.max(persistedInboundAt ?? 0, readClassicLastActivityAt(this.dataDir, inst.name) ?? 0) || null
9245
9245
  : (persistedInboundAt ?? this.lastActivityMs(inst.name)) || null;
9246
- const backend = inst.classic
9247
- ? this.classicChannels?.getBackendByInstance(inst.name, this.fleetConfig?.defaults.backend) ?? "claude-code"
9248
- : config?.backend ?? "claude-code";
9246
+ const backend = this.backendNameForInstance(inst.name);
9247
+ const resolvedModel = this.resolveInstanceModel(inst.name);
9248
+ const effortStrategy = this.effortStrategyFor(inst.name);
9249
+ const resolvedEffort = this.resolveInstanceEffort(inst.name);
9249
9250
  // Find claimed tasks for this instance
9250
9251
  let currentTask = null;
9251
9252
  try {
@@ -9260,6 +9261,14 @@ Plus the operational skills (fleet-health, instance-lifecycle, scheduling, sessi
9260
9261
  ...inst,
9261
9262
  description: config?.description ?? ("classicName" in inst ? inst.classicName : null),
9262
9263
  backend,
9264
+ // Settings renders these runtime-effective values rather than the
9265
+ // sparse user-authored YAML. `auto` means the supported CLI is
9266
+ // using its own effort default; null is reserved for unsupported.
9267
+ model: resolvedModel.model,
9268
+ model_display: resolvedModel.display,
9269
+ model_source: resolvedModel.source,
9270
+ effort: effortStrategy === "unsupported" ? null : (resolvedEffort.effort ?? "auto"),
9271
+ effort_supported: effortStrategy !== "unsupported",
9263
9272
  tool_set: config?.tool_set ?? "full",
9264
9273
  general_topic: config?.general_topic ?? false,
9265
9274
  // User activity is persisted by the daemon, so both the board and