ente-cli 0.4.61 → 0.4.62

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 CHANGED
@@ -367,3 +367,5 @@ Task assignment accepts multiple agents alongside humans. Use repeatable
367
367
  space and title arguments, or `ente activity update <activityId> --agent-assignee <agentId>`.
368
368
  Updating replaces agent assignees and preserves human assignees. Use
369
369
  `--clear-agent-assignees` to remove them. Only active agents with write access qualify.
370
+
371
+ Scheduled runs also accept `runCondition: "new_chats"`: skip model execution unless this agent has new manual or recording chats since its previous scheduled check. Scheduled/reflection chats do not trigger it; explicit Run now bypasses the condition.
package/dist/SKILL.md CHANGED
@@ -480,3 +480,5 @@ Assign agents to tasks with repeatable `activity create --agent-assignee <agentI
480
480
  `activity update <activityId> --agent-assignee <agentId>`. Updating replaces only agent
481
481
  assignees and preserves humans. `--clear-agent-assignees` removes the agent assignments.
482
482
  Assignment requires the agent to have write access in the task space; it grants no access.
483
+
484
+ Scheduled runs also accept `runCondition: "new_chats"`: skip model execution unless this agent has new manual or recording chats since its previous scheduled check. Scheduled/reflection chats do not trigger it; explicit Run now bypasses the condition.
package/dist/cli.mjs CHANGED
@@ -3711,7 +3711,7 @@ function warn(opts, latest) {
3711
3711
  }
3712
3712
 
3713
3713
  // ente/version.ts
3714
- var VERSION = "0.4.61";
3714
+ var VERSION = "0.4.62";
3715
3715
 
3716
3716
  // ente/branding.ts
3717
3717
  var NPM_REGISTRY = "https://registry.npmjs.org";
@@ -15058,8 +15058,9 @@ function renderAgentConfiguration(agent) {
15058
15058
  ];
15059
15059
  for (const schedule of agent.schedules) {
15060
15060
  const time = schedule.timeMinutes === void 0 ? schedule.scheduleType : `${String(Math.floor(schedule.timeMinutes / 60)).padStart(2, "0")}:${String(schedule.timeMinutes % 60).padStart(2, "0")} ${schedule.timezone ?? ""}`.trim();
15061
+ const condition = schedule.runCondition ?? schedule.mailPurpose;
15061
15062
  lines.push(
15062
- ` ${schedule.enabled ? "enabled" : "disabled"} ${time} ${schedule.prompt} ${schedule.automationId}`
15063
+ ` ${schedule.enabled ? "enabled" : "disabled"} ${time} ${schedule.prompt} ${schedule.automationId}${condition ? ` condition=${condition}` : ""}`
15063
15064
  );
15064
15065
  }
15065
15066
  return lines.join("\n");