ente-cli 0.4.140 → 0.4.142

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
@@ -179,6 +179,8 @@ ente entity list --type person
179
179
  ente entity get "Alice" --projection full --limit 50 --json
180
180
  ente entity rename "Lorey Georg" "Georg Lorey"
181
181
  ente task list --due today
182
+ ente task list --assignee me --agent-task-display hideAllWithAgent
183
+ ente task list --assignee-agent <agentId>
182
184
  ente activity create --type note --title "Meeting notes" --entity "Alice" --space "Personal"
183
185
  ente activity get <activityId> --json # includes the body, nested agenda, messages/replies, entities, and attachments
184
186
  ente agenda create-point --activity <activityId> --title "Decisions" --content="- Ship the smaller scope"
package/dist/SKILL.md CHANGED
@@ -295,12 +295,14 @@ ente calendar link <ref> --space S --entity E … # meeting activity for
295
295
  # Playbook: playbooks/schedule-calendar-event.md
296
296
 
297
297
  # Tasks (activities with type=task; short-ids #N, deadlines, assignees)
298
+ # Mine includes the person and agents created by that person; delegation does not change Mine.
299
+ # Unassigned means no human and no agent assignee. Agent selectors compose with the other filters.
298
300
  # Entity task lists inherit up to 100 enabled direct children. Hierarchy scan
299
301
  # limits, more than 1,000 child task-link rows, or more than 400 child/space/type
300
302
  # query sources switch the scope to direct-only.
301
303
  # Entity details, activity feeds, and search retain the separate 20-child rule.
302
304
  ente tasks [--json] # open tasks by deadline
303
- ente task list [--due today|overdue|all] [--entity "Jane"] [--json]
305
+ ente task list [--due today|overdue|all] [--entity "Jane"] [--assignee me|meOrUnassigned|unassigned] [--assignee-agent <agentId>] [--agent-task-display show|dim|hideAgentOnly|hideAllWithAgent] [--json]
304
306
  ente task get 5 [--space "Work"] [--json]
305
307
  ente task create "Reply to Jane" --entity "Jane Doe" --space "Personal" [--deadline "2026-05-23 14:00"] [--content "…"] [--assignee <userId-or-email>] [--json]
306
308
  ente task update 5 [--title "…"] [--content "…"] [--deadline "2026-05-26" | --clear-deadline] [--attr k=v] [--json] # 5 = #N or activity ID
package/dist/cli.mjs CHANGED
@@ -28724,7 +28724,7 @@ function parseOperationFieldPairs(operation, pairs) {
28724
28724
  }
28725
28725
 
28726
28726
  // ente/version.ts
28727
- var VERSION = "0.4.140";
28727
+ var VERSION = "0.4.142";
28728
28728
 
28729
28729
  // ente/branding.ts
28730
28730
  var NPM_REGISTRY = "https://registry.npmjs.org";
@@ -41935,7 +41935,7 @@ var uploadRetryInstructions = [
41935
41935
  // ../packages/shared/src/task-read-operations.ts
41936
41936
  var TASK_READ_LIMITS = { results: 200, children: 100, childLinks: 1e3, childSources: 400 };
41937
41937
  var id16 = external_exports.string().min(1).max(128);
41938
- var list = { field: activityFieldFiltersSchema.optional(), spaceId: id16.optional(), entityId: id16.optional(), onlyOpen: external_exports.boolean().default(true), dueBy: activityWriteDeadline.optional(), assignee: external_exports.enum(["me", "meOrUnassigned", "unassigned"]).optional(), assigneeUserId: id16.optional(), assigneeEmail: external_exports.string().optional() };
41938
+ var list = { field: activityFieldFiltersSchema.optional(), spaceId: id16.optional(), entityId: id16.optional(), onlyOpen: external_exports.boolean().default(true), dueBy: activityWriteDeadline.optional(), assignee: external_exports.enum(["me", "meOrUnassigned", "unassigned"]).optional(), assigneeUserId: id16.optional(), assigneeEmail: external_exports.string().optional(), assigneeAgentId: id16.optional(), agentTaskDisplay: external_exports.enum(["show", "dim", "hideAgentOnly", "hideAllWithAgent"]).optional() };
41939
41939
  var taskReadInputs = {
41940
41940
  listTasks: external_exports.strictObject(list),
41941
41941
  getTaskByNumber: external_exports.strictObject({ number: external_exports.number().int().positive().max(Number.MAX_SAFE_INTEGER), spaceId: id16.optional() }),
@@ -44374,6 +44374,8 @@ var TaskListCmd = class extends ClientCommand {
44374
44374
  static usage = Command.Usage({ category: "Task", description: "List open tasks" });
44375
44375
  due = options_exports.String("--due", { description: "Filter: today, overdue, all" });
44376
44376
  entity = options_exports.String("--entity", { description: "Filter by entity (name or ID)" });
44377
+ assigneeAgent = options_exports.String("--assignee-agent", { description: "Filter by assigned agent ID" });
44378
+ agentTaskDisplay = options_exports.String("--agent-task-display", { description: "show, dim, hideAgentOnly, or hideAllWithAgent" });
44377
44379
  assignee = options_exports.String("--assignee", {
44378
44380
  description: "Filter by assignee: me, meOrUnassigned, unassigned, user ID, or email"
44379
44381
  });
@@ -44382,6 +44384,8 @@ var TaskListCmd = class extends ClientCommand {
44382
44384
  const params = { onlyOpen: "true" };
44383
44385
  if (this.entity) params.entityId = await resolveEntity(client, this.entity);
44384
44386
  applyAssignee(params, this.assignee);
44387
+ if (this.assigneeAgent) params.assigneeAgentId = this.assigneeAgent;
44388
+ if (this.agentTaskDisplay) params.agentTaskDisplay = this.agentTaskDisplay;
44385
44389
  if (this.due === "all") params.onlyOpen = "false";
44386
44390
  else if (this.due === "today") params.dueBy = String(endOfTodayBerlin());
44387
44391
  else if (this.due === "overdue") params.dueBy = String(Date.now());