ente-cli 0.4.93 → 0.4.94

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
@@ -117,6 +117,8 @@ ente activity content read <activityId> --json
117
117
  ente activity content edit <activityId> --expected-version 42 --operations-file edits.json --json
118
118
  ente canvas boards <entityId>
119
119
  ente canvas html create <boardId> --title "Prototype" --file ./prototype.html --operation-id prototype-v1
120
+ ente files list <entityId> --path "03 Unterlagen"
121
+ ente files upload <entityId> ./Vertrag.pdf --folder "03 Unterlagen" # at most 10 MiB, or --activity/--storage-id
120
122
  ente notification send --subject "Weekly brief" --text "Your brief is ready." --html-file ./brief.html --attachment ./brief.pdf --inline-image chart=./chart.png
121
123
  ente agent config show
122
124
  ente agent threads
@@ -151,6 +153,7 @@ Every command supports `--json`. Run `ente --help` or `ente <group> --help`.
151
153
  | `recording` | `list`, `show`, `inspect`, `rerun`, `orphans`, `backups` (platform key) |
152
154
  | `admin` | `tables`, `get`, `page` — read-only inspector over any table (platform key) |
153
155
  | `canvas` | `boards`, `html list`, `html get`, `html create`, `html update`, `html delete` |
156
+ | `files` | `list`, `upload` (local file at most 10 MiB, or an activity attachment), `link`, `create-folder` — the entity's Nextcloud folder via your own connection; personal agent key only (MCP: `entity_files_list`, `entity_file_upload`, `entity_folder_link`, `entity_folder_create`) |
154
157
  | `notification` | `send` (emails only your own Ente account address; optional HTML, file attachments, and CID inline images) |
155
158
  | `agent` | `list`, `threads`, `show`, `new`, `send`, `config show`, `config set-prompt`, `schedules configure` |
156
159
  | `agent mail` | `address`, `threads`, `show`, `send`, `reply`, `mark` |
package/dist/SKILL.md CHANGED
@@ -213,6 +213,15 @@ ente canvas html create <boardId> --title "Prototype" --file <html-path|-> [--pl
213
213
  ente canvas html update <boardId> <elementId> --file <html-path|-> [--title "Revised"] [--x N --y N] [--width N --height N] [--json]
214
214
  ente canvas html delete <boardId> <elementId> [--json]
215
215
 
216
+ # Entity files: the entity's linked Nextcloud folder, through YOUR own Nextcloud
217
+ # connection. Works only with your personal agent's key; shared agents are refused.
218
+ # MCP/REST: entity_files_list, entity_file_upload, entity_folder_link, entity_folder_create.
219
+ ente files list <entityId> [--path "03 Unterlagen"] [--json]
220
+ ente files upload <entityId> <local-file> [--folder "03 Unterlagen"] [--name "Vertrag.pdf"] [--mime-type application/pdf] [--json] # at most 10 MiB
221
+ ente files upload <entityId> --activity <activityId> --storage-id <storageId> --name "Vertrag.pdf" [--folder …] [--json] # copy an activity attachment
222
+ ente files link <entityId> "Mandate/2026-017 Zebrafink" [--space <spaceId>] [--json]
223
+ ente files create-folder <entityId> "2026-017 Zebrafink" [--parent Mandate] [--space <spaceId>] [--json]
224
+
216
225
  # Tasks (activities with type=task; short-ids #N, deadlines, assignees)
217
226
  # Entity task lists inherit up to 100 enabled direct children. Hierarchy scan
218
227
  # limits, more than 1,000 child task-link rows, or more than 400 child/space/type
@@ -384,6 +393,15 @@ board is already dense. The create result includes `reviewPath`. Update and dele
384
393
  read and fail on a concurrent human edit. These remote scene changes sync into open boards, but do
385
394
  not enter another browser's local undo stack.
386
395
 
396
+ For entity files, `files list` returns a `status` (`ok`, `not_linked`, `not_connected`,
397
+ `reconnect_required`, `no_access`, `folder_deleted`, `unreachable`, `unavailable`) instead of an
398
+ empty list; tell the user to connect or reconnect Nextcloud in settings rather than retrying.
399
+ Paths for `link`/`create-folder` are relative to the user's Nextcloud root; `--path`/`--folder`
400
+ are relative to the entity's linked folder. Inline uploads are limited to 10 MiB; for an
401
+ existing activity attachment pass `--activity` and `--storage-id` (from `activity get --json`).
402
+ A taken file name gets a numbered suffix, nothing is overwritten. `--space` is needed only when
403
+ the entity has several spaces with Nextcloud; the error lists the candidates.
404
+
387
405
  ### Recording transcripts — check them when something is unclear
388
406
 
389
407
  Activities, notes and summaries made from a recording keep only what the