ente-cli 0.4.77 → 0.4.78

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
@@ -107,8 +107,9 @@ ente entity rename "Lorey Georg" "Georg Lorey"
107
107
  ente task list --due today
108
108
  ente activity create --type note --title "Meeting notes" --entity "Alice" --space "Personal"
109
109
  ente activity get <activityId> --json # includes the body, nested agenda, messages/replies, entities, and attachments
110
- ente agenda create-point --meeting <meetingActivityId> --title "Decisions" --content="- Ship the smaller scope"
110
+ ente agenda create-point --activity <activityId> --title "Decisions" --content="- Ship the smaller scope"
111
111
  ente agenda link-task --point <agendaPointId> --task "#12"
112
+ # Agendas work on every activity type; --meeting remains an alias for --activity.
112
113
  ente activity message add <activityId> --content "Decision: ship the smaller scope first."
113
114
  ente activity content read <activityId> --json
114
115
  ente activity content edit <activityId> --expected-version 42 --operations-file edits.json --json
package/dist/SKILL.md CHANGED
@@ -184,8 +184,9 @@ ente activity attachment upload <activityId> ./file.pdf [--name "Contract.pdf"]
184
184
  ente activity delete <activityId> [--json]
185
185
  ente activity restore <activityId> [--json]
186
186
 
187
- # Meeting agendas
188
- ente agenda create-point --meeting <meetingActivityId> --title "Decisions" [--content="…"] [--content-file ./decisions.md] [--parent <agendaPointId>] [--after <agendaPointId>] [--json]
187
+ # Activity agendas (all activity types)
188
+ # --meeting remains a compatibility alias for --activity.
189
+ ente agenda create-point --activity <activityId> --title "Decisions" [--content="…"] [--content-file ./decisions.md] [--parent <agendaPointId>] [--after <agendaPointId>] [--json]
189
190
  ente agenda link-task --point <agendaPointId> --task <activityId|#N> [--json]
190
191
 
191
192
  # Excalidraw Canvas HTML prototypes
package/dist/cli.mjs CHANGED
@@ -3800,7 +3800,7 @@ async function runCli(cli2, argv, context) {
3800
3800
  }
3801
3801
 
3802
3802
  // ente/version.ts
3803
- var VERSION = "0.4.77";
3803
+ var VERSION = "0.4.78";
3804
3804
 
3805
3805
  // ente/branding.ts
3806
3806
  var NPM_REGISTRY = "https://registry.npmjs.org";
@@ -4246,7 +4246,7 @@ var EnteClient = class _EnteClient {
4246
4246
  ...spaceId ? { spaceId } : {}
4247
4247
  });
4248
4248
  }
4249
- // --- meeting agendas ---------------------------------------------------
4249
+ // --- activity agendas ---------------------------------------------------
4250
4250
  createAgendaPoint(body) {
4251
4251
  return this.rest.post("/api/external/agenda-points", body);
4252
4252
  }
@@ -15742,12 +15742,12 @@ import { readFileSync as readFileSync12 } from "node:fs";
15742
15742
  var AgendaPointCreate = class extends ClientCommand {
15743
15743
  static paths = [["agenda", "create-point"]];
15744
15744
  static usage = Command.Usage({
15745
- category: "Meeting agenda",
15745
+ category: "Activity agenda",
15746
15746
  description: "Create a titled agenda point with optional markdown content"
15747
15747
  });
15748
- meeting = options_exports.String("--meeting", {
15748
+ activity = options_exports.String("--activity,--meeting", {
15749
15749
  required: true,
15750
- description: "Meeting activity ID"
15750
+ description: "Activity ID of any type (--meeting is a compatibility alias)"
15751
15751
  });
15752
15752
  title = options_exports.String("--title", {
15753
15753
  required: true,
@@ -15770,7 +15770,7 @@ var AgendaPointCreate = class extends ClientCommand {
15770
15770
  throw new Error("Use either --content or --content-file, not both.");
15771
15771
  const contentMarkdown = this.content !== void 0 ? this.content : this.contentFile !== void 0 ? readFileSync12(this.contentFile, "utf8") : void 0;
15772
15772
  const result = await this.client().createAgendaPoint({
15773
- meetingActivityId: this.meeting,
15773
+ meetingActivityId: this.activity,
15774
15774
  title: this.title,
15775
15775
  contentMarkdown,
15776
15776
  parentPointId: this.parent,
@@ -15783,7 +15783,7 @@ var AgendaPointCreate = class extends ClientCommand {
15783
15783
  var agendaPointDocumentId = (pointId) => `agenda-point:${pointId}`;
15784
15784
  var AgendaHtmlList = class extends ProfileCommand {
15785
15785
  static paths = [["agenda", "html", "list"]];
15786
- static usage = Command.Usage({ category: "Meeting agenda", description: "List interactive HTML blocks in an agenda point" });
15786
+ static usage = Command.Usage({ category: "Activity agenda", description: "List interactive HTML blocks in an agenda point" });
15787
15787
  pointId = options_exports.String();
15788
15788
  async run() {
15789
15789
  const caller = await resolveCaller();
@@ -15794,7 +15794,7 @@ var AgendaHtmlList = class extends ProfileCommand {
15794
15794
  };
15795
15795
  var AgendaHtmlGet = class extends ProfileCommand {
15796
15796
  static paths = [["agenda", "html", "get"]];
15797
- static usage = Command.Usage({ category: "Meeting agenda", description: "Read one agenda-point HTML block including source" });
15797
+ static usage = Command.Usage({ category: "Activity agenda", description: "Read one agenda-point HTML block including source" });
15798
15798
  pointId = options_exports.String();
15799
15799
  blockId = options_exports.String();
15800
15800
  async run() {
@@ -15807,7 +15807,7 @@ var AgendaHtmlGet = class extends ProfileCommand {
15807
15807
  };
15808
15808
  var AgendaHtmlAdd = class extends ProfileCommand {
15809
15809
  static paths = [["agenda", "html", "add"]];
15810
- static usage = Command.Usage({ category: "Meeting agenda", description: "Append an interactive HTML block to an agenda point" });
15810
+ static usage = Command.Usage({ category: "Activity agenda", description: "Append an interactive HTML block to an agenda point" });
15811
15811
  pointId = options_exports.String();
15812
15812
  htmlFile = options_exports.String({ required: false, name: "htmlFile" });
15813
15813
  htmlFileFlag = options_exports.String("--html-file", { description: "Read HTML from a file; use - or omit for stdin" });
@@ -15832,7 +15832,7 @@ var AgendaHtmlAdd = class extends ProfileCommand {
15832
15832
  };
15833
15833
  var AgendaHtmlUpdate = class extends ProfileCommand {
15834
15834
  static paths = [["agenda", "html", "update"]];
15835
- static usage = Command.Usage({ category: "Meeting agenda", description: "Surgically update one agenda-point HTML block" });
15835
+ static usage = Command.Usage({ category: "Activity agenda", description: "Surgically update one agenda-point HTML block" });
15836
15836
  pointId = options_exports.String();
15837
15837
  blockId = options_exports.String();
15838
15838
  htmlFile = options_exports.String("--html-file", { description: "Read HTML from a file; use - for stdin" });
@@ -16225,12 +16225,12 @@ Creating activities:
16225
16225
  --entity "Erik Stahl" --entity "Preclinics" --space "Preclinics" \\
16226
16226
  --content "Discussed QM system. Follow up on export feature."
16227
16227
 
16228
- Meeting agendas:
16228
+ Activity agendas (all activity types; --meeting remains an alias):
16229
16229
  ente activity create --type meeting --title "QM system review" ...
16230
- ente agenda create-point --meeting <meeting-id> --title "Rollout" --content="- Decision ..."
16230
+ ente agenda create-point --activity <activity-id> --title "Rollout" --content="- Decision ..."
16231
16231
  ente agenda link-task --point <point-id> --task "#12"
16232
16232
 
16233
- Prefer agenda points for structured meeting content when they add useful
16233
+ Prefer agenda points for structured activity content when they add useful
16234
16234
  topic structure. Link meeting-derived tasks to the point they came from.
16235
16235
 
16236
16236
  Golden rule:
@@ -16305,7 +16305,7 @@ Tips:
16305
16305
  1. ente search "person name" # find entity, check pins
16306
16306
  2. ente activity create --type meeting --title "..." \\
16307
16307
  --entity "person" --entity "their org" --space "..."
16308
- 3. ente agenda create-point --meeting <meeting-id> --title "..." --content="..."
16308
+ 3. ente agenda create-point --activity <activity-id> --title "..." --content="..."
16309
16309
  4. If follow-ups: create each task, then:
16310
16310
  ente agenda link-task --point <point-id> --task <task-id|#N>
16311
16311