ente-cli 0.4.141 → 0.4.143
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 +75 -22
- package/dist/SKILL.md +156 -58
- package/dist/cli.mjs +1171 -319
- package/dist/cli.mjs.map +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,9 +24,9 @@ ente update --dry-run # print the install command only
|
|
|
24
24
|
`ente update` always passes the npm registry explicitly, so an `.npmrc` that
|
|
25
25
|
points elsewhere cannot redirect it.
|
|
26
26
|
|
|
27
|
-
### Moving from
|
|
27
|
+
### Moving from the Gitea registry
|
|
28
28
|
|
|
29
|
-
CLIs installed from
|
|
29
|
+
CLIs installed from the Gitea registry move to npm with `ente update`. The CLI
|
|
30
30
|
recognises such an install offline (from npm's local cache index) and, in an
|
|
31
31
|
interactive terminal, asks once a day before a command: "Move to npm now?
|
|
32
32
|
[Y/n]". Yes runs the same install and then continues with the command. Scripts,
|
|
@@ -178,7 +178,10 @@ ente search "Alice"
|
|
|
178
178
|
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
|
+
ente entity set-image "Ente" --file ./logo-192.png # PNG/JPEG/WebP ≤ 256 px, ≤ 64 KB; --remove clears it
|
|
181
182
|
ente task list --due today
|
|
183
|
+
ente task list --assignee me --agent-task-display hideAllWithAgent
|
|
184
|
+
ente task list --assignee-agent <agentId>
|
|
182
185
|
ente activity create --type note --title "Meeting notes" --entity "Alice" --space "Personal"
|
|
183
186
|
ente activity get <activityId> --json # includes the body, nested agenda, messages/replies, entities, and attachments
|
|
184
187
|
ente agenda create-point --activity <activityId> --title "Decisions" --content="- Ship the smaller scope"
|
|
@@ -193,6 +196,8 @@ ente canvas html create <boardId> --title "Prototype" --file ./prototype.html --
|
|
|
193
196
|
ente files list <entityId> --path "03 Unterlagen"
|
|
194
197
|
ente files upload <entityId> ./Vertrag.pdf --folder "03 Unterlagen" # at most 10 MiB, or --activity/--storage-id
|
|
195
198
|
ente notification send --subject "Weekly brief" --text "Your brief is ready." --html-file ./brief.html --attachment ./brief.pdf --inline-image chart=./chart.png
|
|
199
|
+
ente health-data record --file ./health.json # or --file - for stdin; same series+at replaces
|
|
200
|
+
ente health-data list --from 2026-11-16 --to 2026-11-22 --series hrv --json
|
|
196
201
|
ente agent config show
|
|
197
202
|
ente agent threads
|
|
198
203
|
ente agent mail threads --unread
|
|
@@ -232,6 +237,7 @@ Every command supports `--json`. Run `ente --help` or `ente <group> --help`.
|
|
|
232
237
|
| `files` | `list`, `search` (by name, all subfolders), `read` (text of a PDF, DOCX or plain-text file up to 10 MiB, in windows of 50,000 characters), `cite` (verbatim PDF quotes → checked Markdown citation links), `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_files_search`, `entity_file_read`, `entity_file_cite`, `entity_file_upload`, `entity_folder_link`, `entity_folder_create`) |
|
|
233
238
|
| `calendar` | `connections` (accounts, calendars, default target), `list` (`--from/--to/--days`, `--query`, `--space`/`--entity` adds ente events), `get`, `create` (`--start/--end/--duration/--all-day/--tz`, `--location`, `--description`, `--attendee`, `--send-invites`, `--meet`, `--recurrence`, `--color`, target `--account/--calendar`, `--caldav` or `--local --space`, `--meeting --space --entity`), `update`, `delete`, `link` — external calendars need your personal agent's key; guests are mailed only with `--send-invites` |
|
|
234
239
|
| `notification` | `send` (emails only your own Ente account address; optional HTML, file attachments, and CID inline images) |
|
|
240
|
+
| `health-data` | `record` (series definitions and points as JSON from `--file`, `-` for stdin), `list` (`--from/--to`, repeatable `--series`) — your own health time series for the calendar health graph; personal agent key only (MCP: `recordHealthMeasurements`, `listHealthMeasurements`). `ente health page` is the unrelated operational health dashboard |
|
|
235
241
|
| `agent` | `permissions`, `list`, `threads`, `show`, `new`, `send`, `config show`, `config set-prompt`, `schedules configure` |
|
|
236
242
|
| `agent mail` | `address`, `threads`, `show`, `send`, `reply`, `mark` |
|
|
237
243
|
| top-level | `search`, `ask`, `query`, `tasks`, `guide` |
|
|
@@ -395,7 +401,7 @@ CLI without installing dependencies.
|
|
|
395
401
|
Publishing is automatic: a push to `main` touching `cli/**` or the publish
|
|
396
402
|
workflow selects a version above both registries, tests and packs once, then
|
|
397
403
|
publishes identical bytes to npm and, while remaining Gitea installs migrate,
|
|
398
|
-
to
|
|
404
|
+
to the Gitea registry. npm uses GitHub OIDC; Gitea keeps the existing package
|
|
399
405
|
token. Install and update instructions name npm only. See `.github/workflows/publish-cli.yml` and
|
|
400
406
|
`docs/cli-architecture.md` for setup and retry instructions.
|
|
401
407
|
|
|
@@ -598,7 +604,7 @@ The unsupported `entity show` spelling gives a targeted `entity get` correction.
|
|
|
598
604
|
|
|
599
605
|
### Granted incident diagnostics
|
|
600
606
|
|
|
601
|
-
`ente diagnostics page --source toolMessages --since <epoch-ms> --until <epoch-ms> --profile
|
|
607
|
+
`ente diagnostics page --source toolMessages --since <epoch-ms> --until <epoch-ms> --profile example-agent --json`
|
|
602
608
|
reads fixed global content-free aggregates using the existing bound agent REST
|
|
603
609
|
credential. Access is off unless a current human platform admin explicitly grants
|
|
604
610
|
this exact owned Personal agent diagnostics with expiry. Installation grants no
|
|
@@ -620,18 +626,24 @@ access to diagnostics, and diagnostic reads do not append to chat history.
|
|
|
620
626
|
Identify your connection with `ente agent set-icon fish` (or `--reset`), then find its icon in `/agents`. Requires write scope and always targets your own bound agent.
|
|
621
627
|
|
|
622
628
|
|
|
623
|
-
Raw evidence retrieval
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
not answer confidence. Semantic availability requires the separate default-off
|
|
629
|
-
Personal retrieval pilot, not an Ask synthesis slot. See `ente guide activity` and
|
|
630
|
-
the shipped skill for scope and citation details.
|
|
629
|
+
Raw evidence retrieval uses `ente query "question" --json`. The server selects
|
|
630
|
+
hybrid when GA is ready and the caller is enabled; otherwise lexical with a
|
|
631
|
+
specific fallback reason. `--mode lexical` makes no embedding/reservation call.
|
|
632
|
+
Explicit semantic returns indexed activity/task sources only and exits 1 when
|
|
633
|
+
unavailable. Query never generates an answer or starts backfill.
|
|
631
634
|
|
|
632
|
-
|
|
635
|
+
Use `--prefer-since`/`--prefer-until` for uncertain epoch-ms dates; these are soft
|
|
636
|
+
preferences. `--since`/`--until` stay hard filters. Repeat `--type` for activity
|
|
637
|
+
types, and use `--authored-by owner|human|agent|inbound|unknown` for provenance.
|
|
638
|
+
Unknown origin is not inferred from creator attribution. JSON and `--verbose`
|
|
639
|
+
expose bounded ranking contributions and cosine; use returned rank for ordering.
|
|
633
640
|
|
|
634
|
-
|
|
641
|
+
Coverage counts describe each authorized space's corpus at its watermark, not
|
|
642
|
+
filtered matches. Inspect building/disabled spaces, candidate saturation and
|
|
643
|
+
scope/result truncation; ready never promises exhaustive recall. Use `--space`
|
|
644
|
+
for focused continuation and bulk content reads for selected bodies. Own-model
|
|
645
|
+
and opted-out callers send no query text to hosted embeddings. There is no
|
|
646
|
+
automatic provider fallback. Hosted Ask keeps its independent beta/model route.
|
|
635
647
|
|
|
636
648
|
Recipient lookup may explicitly use `"source":"provider"` to read bounded
|
|
637
649
|
native matching headers outside the synced cache. It imports no messages and
|
|
@@ -668,9 +680,8 @@ Use `ente search`, `ente entity get`, `ente activity search/list/get` and summar
|
|
|
668
680
|
records with your agent. Do not change provider/model settings to repair beta
|
|
669
681
|
unavailability. Ask exits nonzero unless `synthesisStatus` is `answered`.
|
|
670
682
|
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
consent; unavailable responses point to ordinary commands and lexical query.
|
|
683
|
+
Explicit lexical `ente query --mode lexical` remains provider-free.
|
|
684
|
+
Raw hybrid retrieval uses independent GA readiness and hosted account policy.
|
|
674
685
|
|
|
675
686
|
|
|
676
687
|
Canonical mailbox calls name `mailboxId`; `listMailboxes` discovers permitted own,
|
|
@@ -683,15 +694,15 @@ Every result names `from` and the exact `permissionUsed` level. Old command name
|
|
|
683
694
|
connection IDs and workflow payloads remain supported. Run `--schema <operation>`
|
|
684
695
|
or `--help` for per-operation JSON schemas.
|
|
685
696
|
|
|
686
|
-
Admin user email search: `ente --profile
|
|
697
|
+
Admin user email search: `ente --profile example-agent users list --email <substring>` matches email case-insensitively, including partial addresses. It retains the existing global-admin/platform-key boundary and traverses bounded pages.
|
|
687
698
|
Account setup: a live `accountSetup` capability exposes `ente admin guide` and `ente admin settings describe|get|apply`. Apply previews by default; commit binds fingerprint, expected version and idempotency key. Passwords, access, billing, connections and deletion are excluded.
|
|
688
699
|
|
|
689
700
|
Gmail organize permission allows archive/unarchive (INBOX), read/unread and Ente workflow labels without sending. Use `modifyLabels` with one of `archive`, `unarchive`, `read`, `unread`, `handled`, `needs-reply` (empty labels clears workflow state), an explicit mailboxId, provider threadId or messageId, and requestId. No Ente source archive is needed. The server adds `Ente/Operators/<acting agent display name>`; callers cannot choose operator labels. dryRun performs no provider writes or reservations. Completed retries return the saved actual post-change message label IDs; uncertain outcomes fail closed. Default limits are 20 per execution and credential/mailbox 60-minute window, and 100 reserved changes per agent/user grant per UTC day, shared across that agent’s credentials and mailboxes. Six agents have separate daily limits (up to 600 combined). A new executionId does not reset the window or daily budget.
|
|
690
701
|
|
|
691
702
|
Large organize readbacks return a bounded prefix of actual per-message label IDs with `readbackTruncated: true` and the total observed `messageCount`. The complete result stays within the 4,000-character receipt budget, so retries return the same saved snapshot without another provider write. Use `readThread` pagination for additional current provider state; that later read is not the original write-time snapshot.
|
|
692
703
|
|
|
693
|
-
Admin cost delivery uses `ente costs preview --profile
|
|
694
|
-
and `ente costs import --profile
|
|
704
|
+
Admin cost delivery uses `ente costs preview --profile example-agent --file <json> --json`
|
|
705
|
+
and `ente costs import --profile example-agent --file <json> --expected-current-id <id-or-none> --json`.
|
|
695
706
|
Both use the existing separate platform credential, never the agent key. Preview
|
|
696
707
|
first; imports preserve server validation, idempotency and revision comparison.
|
|
697
708
|
V1 and v2 formats and the human admin-session fallback are documented in
|
|
@@ -699,7 +710,7 @@ V1 and v2 formats and the human admin-session fallback are documented in
|
|
|
699
710
|
|
|
700
711
|
Task delegation uses owner-managed **Acts for** grants on the delegate's Settings
|
|
701
712
|
page. `agent tasks list --principals granted --view attention --profile
|
|
702
|
-
|
|
713
|
+
example-agent --json` includes own and directly granted queues. Use repeatable
|
|
703
714
|
`--for-agent <id>` for an explicit subset. Each task includes `agentId` and
|
|
704
715
|
`assignedAt`; cursors and observations are invalidated by grant or scope changes.
|
|
705
716
|
Delegated reads and acknowledgments remain bounded by the credential and
|
|
@@ -707,7 +718,7 @@ principal's live task access. Discussion, comments and claims stay own-agent-onl
|
|
|
707
718
|
|
|
708
719
|
Canonical task writes accept `onBehalfOfAgentId` or the explicit flag:
|
|
709
720
|
`ente task sync updateActivity '{"activityId":"<id>","completed":false}'
|
|
710
|
-
--on-behalf-of-agent <principal-id> --profile
|
|
721
|
+
--on-behalf-of-agent <principal-id> --profile example-agent --json`.
|
|
711
722
|
The principal is attributed as actor; the delegate remains the external-key
|
|
712
723
|
namespace and appears as provenance. Owner grant management rejects agent JWTs.
|
|
713
724
|
|
|
@@ -718,3 +729,45 @@ Canvas HTML panel commands negotiate `spaceOwned: true` for boards without entit
|
|
|
718
729
|
Use `--field key=value` or repeat typed JSON inputs such as `--field '{"label":"Estimate","type":"number","value":3}'`. Repeating a shorthand label sends a list that replaces the field. Text, URL, email, phone, postal-address, salutation, job-title and multi-select fields hold lists, and a lookup matches any one value. Create a new list field with an explicit type, because an untyped list creates a multi-select: `--field '{"label":"links","type":"url","value":["app://items/a1","https://example.com/x"]}'`; afterwards `--field links=app://items/a1 --field links=app://items/b2` replaces the list. Task and list `--attr` is a shorthand for canonical field writes. API writes accept `fields: [{label | fieldId, type?, value}]`; `value: null` removes a value. Activity `attributes` inputs fail with `ACTIVITY_ATTRIBUTES_RETIRED`, which explains the replacement. Read results expose `fields` only.
|
|
719
730
|
|
|
720
731
|
Database import JSONL rows use `{"title":"Fictional row","fields":[{"label":"repo","value":"stable-key"}],"content":"Optional markdown"}`. Imports validate every row before writing and keep fields omitted from a row unchanged. See `docs/activity-fields.md`.
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
Read several query sources in one call:
|
|
735
|
+
|
|
736
|
+
```sh
|
|
737
|
+
ente activity content read --id <activity-id-A> --id <activity-id-B> --json
|
|
738
|
+
ente activity content read --id <activity-id-A> --cursor '<nextCursor>' --expected-version <contentVersion> --json
|
|
739
|
+
```
|
|
740
|
+
|
|
741
|
+
Repeat `--id` up to ten times. These bulk reads share 50,000 rendered UTF-16
|
|
742
|
+
characters by default; `--max-characters` accepts at most 100,000. A source also
|
|
743
|
+
has a 200-page work bound; follow its continuation if that bound is reached. Each available
|
|
744
|
+
item returns Markdown, `contentVersion`, a source identity `sourceHash`, and
|
|
745
|
+
`complete`. A false `complete` means only a window was returned: resume that
|
|
746
|
+
source with its `nextCursor` and the same version. Append returned Markdown
|
|
747
|
+
fragments directly; canonical separators are preserved across continuations.
|
|
748
|
+
If the next character and separator cannot fit, increase `--max-characters`;
|
|
749
|
+
the operation reports an insufficient-budget error instead of a stalled cursor.
|
|
750
|
+
Missing and denied IDs both
|
|
751
|
+
return `unavailable` without a title. A source that changes must be read again.
|
|
752
|
+
The positional `ente activity content read <activity-id>` keeps the existing
|
|
753
|
+
block-window contract for partial editing. Plaintext-only legacy bodies without
|
|
754
|
+
a canonical document are unavailable to bulk reads; use the existing activity
|
|
755
|
+
read and whole-body repair workflow. Archive hashes identify the immutable
|
|
756
|
+
archive revision, while document hashes cover the canonical rendered body.
|
|
757
|
+
|
|
758
|
+
Lexical/default query now returns matched `passages` for activity and task
|
|
759
|
+
sources, normally one and at most three per source. Each passage includes the
|
|
760
|
+
canonical content version, source hash, preparation identity, match kind and
|
|
761
|
+
UTF-16 local ranges on version-scoped `b:<index>` targets. `text` and `passage`
|
|
762
|
+
remain the primary match for installed clients. Title-only matches and legacy
|
|
763
|
+
plaintext excerpts carry no invented block target. Passages share the existing
|
|
764
|
+
24,000-character context budget. Omitted mode is server-negotiated;
|
|
765
|
+
explicit `--mode lexical` keeps retrieval provider-free. Ask synthesis is unchanged.
|
|
766
|
+
WebMCP `ente_activity_contents_read` reads only the currently open source view;
|
|
767
|
+
other views or IDs return `NOT_AVAILABLE_HERE`.
|
|
768
|
+
|
|
769
|
+
For more than 256 authorized spaces, use `coverage.nextSpaceCursor` as
|
|
770
|
+
`spaceCursor` / CLI `--space-cursor` with the same question, mode and filters.
|
|
771
|
+
This advances space partitions, not ANN result pages. Scope, preference epoch or
|
|
772
|
+
provider changes invalidate the cursor. Lexical evidence still uses the full
|
|
773
|
+
scope on each hybrid page. Explicit `--space` avoids cross-space competition.
|
package/dist/SKILL.md
CHANGED
|
@@ -117,7 +117,7 @@ npm i -g ente-cli --registry https://registry.npmjs.org
|
|
|
117
117
|
ente update # newer CLIs: the same global install, always from npm
|
|
118
118
|
```
|
|
119
119
|
|
|
120
|
-
A CLI installed from
|
|
120
|
+
A CLI installed from the legacy Gitea registry moves to npm with `ente update`.
|
|
121
121
|
Interactive terminals are asked once a day; agent and `--json` runs only see a
|
|
122
122
|
stderr notice and are never changed underneath you.
|
|
123
123
|
|
|
@@ -201,10 +201,10 @@ ente auth bindings [--json]
|
|
|
201
201
|
# Prefer ordinary search/entity/activity commands; unavailable beta is not a provider setup task.
|
|
202
202
|
# Check the exit code and synthesisStatus; never present a failed/evidence-only result as an AI answer.
|
|
203
203
|
# Optional sourceHash/sourceFingerprint/passage metadata binds citations to a source version.
|
|
204
|
-
#
|
|
204
|
+
# Query returns evidence without synthesis; the server selects hybrid or lexical. It never starts indexing.
|
|
205
205
|
ente search "Alice" [--type person] [--space <name>] [--limit 5] [--projection compact|full] [--json]
|
|
206
206
|
ente ask "What's open with Erik?" [--space <name>] [--entity <name>] [--evidence] [--json] # enrolled beta only: AI answer + citations
|
|
207
|
-
ente query "QM system export" [--space <name>] [--entity <name>] [--since <epoch-ms>] [--until <epoch-ms>] [--limit 12] [--verbose] [--json] # evidence only
|
|
207
|
+
ente query "QM system export" [--space <name>] [--entity <name>] [--since <epoch-ms>] [--until <epoch-ms>] [--limit 12] [--verbose] [--json] # evidence only; use --mode lexical for no provider call
|
|
208
208
|
|
|
209
209
|
# Entities
|
|
210
210
|
ente entity list [--query <text>] [--field <label=value>] [--type person|org|project|topic|place|object] [--space <name>] [--limit <count>] [--projection compact|full] [--archived] [--json]
|
|
@@ -222,6 +222,7 @@ ente entity unpin "Jane Doe" "Acme Corp" [--json]
|
|
|
222
222
|
ente entity add-to-space "Jane Doe" --space "Team" [--share-parents --parent-space-grant-fingerprint <token>] [--json]
|
|
223
223
|
ente entity remove-from-space "Jane Doe" --space "Team" [--remove-from-activities --cleanup-fingerprint FINGERPRINT] [--json]
|
|
224
224
|
ente pins list "Jane Doe" [--json] # relationships whose endpoints are accessible
|
|
225
|
+
ente entity set-image "Ente" --file ./logo-192.png [--json] # logo or photo: PNG/JPEG/WebP ≤ 256 px, ≤ 64 KB; --remove clears it
|
|
225
226
|
ente entity archive "Old Project" [--json]
|
|
226
227
|
ente entity restore <entity-id> [--share-parents --parent-space-grant-fingerprint <token>] [--json]
|
|
227
228
|
|
|
@@ -295,12 +296,14 @@ ente calendar link <ref> --space S --entity E … # meeting activity for
|
|
|
295
296
|
# Playbook: playbooks/schedule-calendar-event.md
|
|
296
297
|
|
|
297
298
|
# Tasks (activities with type=task; short-ids #N, deadlines, assignees)
|
|
299
|
+
# Mine includes the person and agents created by that person; delegation does not change Mine.
|
|
300
|
+
# Unassigned means no human and no agent assignee. Agent selectors compose with the other filters.
|
|
298
301
|
# Entity task lists inherit up to 100 enabled direct children. Hierarchy scan
|
|
299
302
|
# limits, more than 1,000 child task-link rows, or more than 400 child/space/type
|
|
300
303
|
# query sources switch the scope to direct-only.
|
|
301
304
|
# Entity details, activity feeds, and search retain the separate 20-child rule.
|
|
302
305
|
ente tasks [--json] # open tasks by deadline
|
|
303
|
-
ente task list [--due today|overdue|all] [--entity "Jane"] [--json]
|
|
306
|
+
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
307
|
ente task get 5 [--space "Work"] [--json]
|
|
305
308
|
ente task create "Reply to Jane" --entity "Jane Doe" --space "Personal" [--deadline "2026-05-23 14:00"] [--content "…"] [--assignee <userId-or-email>] [--json]
|
|
306
309
|
ente task update 5 [--title "…"] [--content "…"] [--deadline "2026-05-26" | --clear-deadline] [--attr k=v] [--json] # 5 = #N or activity ID
|
|
@@ -310,6 +313,8 @@ ente task assign 5 <userId-or-email> [--json]
|
|
|
310
313
|
ente task unassign 5 <userId-or-email> [--json]
|
|
311
314
|
ente task set-assignees 5 --assignee <userId-or-email> [--json]
|
|
312
315
|
ente notification send --subject "Weekly brief" --text "Your brief is ready." [--html-file ./brief.html] [--attachment ./handoff.md] [--image ./attachment.png] [--inline-image chart=./chart.png] [--json]
|
|
316
|
+
ente health-data record --file ./health.json [--json] # own health series + points (--file - reads stdin); same series+at replaces; personal agent only. Playbook: playbooks/record-health-measurements.md
|
|
317
|
+
ente health-data list --from 2026-11-16 --to 2026-11-22 [--series hrv]... [--json]
|
|
313
318
|
ente task clear-assignees 5 [--json]
|
|
314
319
|
|
|
315
320
|
# Bound Ente agent (operator key)
|
|
@@ -329,11 +334,11 @@ ente agent schedules configure --file ./schedules.json [--json]
|
|
|
329
334
|
# unlimited account enabled send-to-anyone for this mailbox).
|
|
330
335
|
ente agent mail address [--profile <name>] [--json]
|
|
331
336
|
ente agent mail threads [--profile <name>] [--unread] [--needs-reply] [--limit 20] [--cursor <cursor>] [--json]
|
|
332
|
-
ente agent mail show <
|
|
337
|
+
ente agent mail show <work-item-id> [--cursor <cursor>] [--json]
|
|
333
338
|
ente agent mail attachment <attachment-id> [--output ./report.docx | --output-dir ./inbox] [--force] [--json]
|
|
334
339
|
ente agent mail send --to person@example.net --cc owner@example.net --subject "Update" --text "Plain fallback" [--html "<p>Rich update</p>" | --html-file ./message.html] [--attachment ./reference.pdf] [--idempotency-key <stable-key>] [--json]
|
|
335
|
-
ente agent mail reply <
|
|
336
|
-
ente agent mail mark <
|
|
340
|
+
ente agent mail reply <work-item-id> --message <message-id> --reply-all (--text "Reply" | --text-file ./reply.txt) [--html "<p>Reply</p>" | --html-file ./reply.html] [--attachment ./handoff.docx] [--idempotency-key <stable-key>] [--json]
|
|
341
|
+
ente agent mail mark <work-item-id> --state-version <version> (--handled | --open | --needs-reply | --read | --unread) [--json]
|
|
337
342
|
```
|
|
338
343
|
|
|
339
344
|
Canvas HTML panel results omit `entityId` when a whiteboard has no entity associations. Follow `reviewPath` to open that exact whiteboard; its space remains the access boundary.
|
|
@@ -346,7 +351,7 @@ Activity search and get return canonical public DTOs, defaulting to compact text
|
|
|
346
351
|
|
|
347
352
|
|
|
348
353
|
Received attachments are available through the same bound agent credential;
|
|
349
|
-
no browser login is needed. `ente agent mail show <
|
|
354
|
+
no browser login is needed. `ente agent mail show <work-item-id> --json` lists
|
|
350
355
|
`attachments` on each message with `attachmentId`, `filename`, `mimeType`, and
|
|
351
356
|
`size`. Follow `continueCursor` when present to read older messages.
|
|
352
357
|
Create an output directory, then download the attachment by its exact ID:
|
|
@@ -387,7 +392,7 @@ adds `agent:read` and, while the inbox is active, `mail:read`. Agent write adds
|
|
|
387
392
|
Use `agent threads --attention agent`, then `agent send`; the CLI claims the current
|
|
388
393
|
attention version before replying so concurrent cron workers cannot duplicate work.
|
|
389
394
|
For a user-authorized Dream/maintenance run, use `agent config show`,
|
|
390
|
-
`agent threads --include-archived --limit 20`, and `agent show <
|
|
395
|
+
`agent threads --include-archived --limit 20`, and `agent show <work-item-id>`.
|
|
391
396
|
Choose messages by their timestamps, including recent messages in older threads.
|
|
392
397
|
Skip scheduled-run and reflection summaries as sources for new durable lessons.
|
|
393
398
|
Compare the existing prompt before writing; `agent config set-prompt` replaces
|
|
@@ -431,7 +436,7 @@ For example:
|
|
|
431
436
|
|
|
432
437
|
```bash
|
|
433
438
|
ente agent mail send --to owner@example.net --subject "Readiness" --text-file ./report.txt --html-file ./report.html --inline-image readiness=./readiness.png --idempotency-key readiness-report-v1
|
|
434
|
-
ente agent mail reply <
|
|
439
|
+
ente agent mail reply <work-item-id> --message <message-id> --reply-all --text-file ./report.txt --html-file ./report.html --inline-image readiness=./readiness.png --attachment ./notes.txt --idempotency-key readiness-reply-v1
|
|
435
440
|
```
|
|
436
441
|
|
|
437
442
|
Retries must keep filenames, MIME types, Content-IDs, file order, and exact file
|
|
@@ -812,7 +817,7 @@ access to diagnostics, and diagnostic reads do not append to chat history.
|
|
|
812
817
|
|
|
813
818
|
### Identify this connection
|
|
814
819
|
|
|
815
|
-
Use `ente agent set-icon --file /absolute/path/icon.png --profile
|
|
820
|
+
Use `ente agent set-icon --file /absolute/path/icon.png --profile example-agent` to upload a static PNG up to 512 × 512 pixels and 130 KB. The server validates the PNG signature, complete chunk structure and checksums. SVG and remote image URLs are refused. The icon is shared across Ente identity displays.
|
|
816
821
|
|
|
817
822
|
Use `ente agent set-icon fish` to change only this credential’s own Ente agent
|
|
818
823
|
icon, then find it in `/agents`. Use `ente agent set-icon --reset` to restore the
|
|
@@ -823,34 +828,75 @@ which can have historical gaps and excludes hosted/scheduled activity.
|
|
|
823
828
|
|
|
824
829
|
### Raw retrieval modes
|
|
825
830
|
|
|
826
|
-
`ente query "question" --json`
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
`
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
831
|
+
`ente query "question" --json` returns evidence without answer synthesis. The
|
|
832
|
+
server uses hybrid when GA is ready and the caller is enabled; otherwise it
|
|
833
|
+
returns lexical evidence with `retrieval.fallbackReason`. Explicit `--mode lexical`
|
|
834
|
+
never embeds the question or reserves provider spend. Keep `ente search` for
|
|
835
|
+
exact/fuzzy entity lookup, `ente activity search` for keyword lookup and structured
|
|
836
|
+
task commands for task state.
|
|
837
|
+
|
|
838
|
+
Use soft dates when a remembered date is uncertain:
|
|
839
|
+
|
|
840
|
+
```sh
|
|
841
|
+
ente query "software company ideas" --prefer-since 1790812800000 --prefer-until 1791417600000 --type note --type conversation --json
|
|
842
|
+
ente query "launch decisions" --authored-by owner --space Personal --json
|
|
843
|
+
ente query "launch decisions" --mode lexical --since 1790812800000 --until 1791417600000 --json
|
|
844
|
+
```
|
|
845
|
+
|
|
846
|
+
`--prefer-since`/`--prefer-until` set `recency: {since?, until?, weight?}` and never
|
|
847
|
+
exclude older matches. Weight defaults to 1 and is capped at 1. Existing `--since`
|
|
848
|
+
and `--until` remain hard epoch-ms bounds. Repeat `--type` for note, conversation,
|
|
849
|
+
meeting, call, message or task. `--authored-by` filters owner, human, agent, inbound
|
|
850
|
+
or unknown origin relative to the human principal. A recording processed by an
|
|
851
|
+
agent can be owner-origin; creator attribution alone cannot prove it. Unknown
|
|
852
|
+
stays unknown. Filters may discard bounded candidates; inspect saturation.
|
|
853
|
+
|
|
854
|
+
Hybrid combines full-scope lexical/structured evidence and already-published
|
|
855
|
+
vectors in authorized spaces. Semantic returns only indexed activity/task sources;
|
|
856
|
+
unavailable semantic returns no evidence and exits 1. Tasks retain structured
|
|
857
|
+
fields and share one activity-ID source slot. Neither mode needs an Ask slot.
|
|
858
|
+
Own-model and opted-out callers do not send their question to hosted embeddings.
|
|
859
|
+
No query starts indexing. An empty index skips embedding and reports building.
|
|
860
|
+
|
|
861
|
+
Read `retrieval.requestedMode`, `usedMode`, `status`, `vector`, `coverage`, `counts`
|
|
862
|
+
and `truncation`. Coverage counts describe the corpus at the per-space watermark,
|
|
863
|
+
not filter matches. Building, excluded/disabled spaces, unsearched partitions and
|
|
864
|
+
candidate/result saturation prevent exhaustive-recall claims, even for zero hits.
|
|
865
|
+
Use `--space` to avoid cross-space competition. Shared-space access, source version
|
|
866
|
+
and current publication are checked live. Mail archives, email-backed bodies,
|
|
867
|
+
private chats, discussions and attachment bytes are excluded from GA vectors.
|
|
868
|
+
|
|
869
|
+
On GA releases, inspect optional `retrieval.coverage.nextSpaceCursor` when
|
|
870
|
+
coverage is limited by authorized-space paging. With more than 256 authorized
|
|
871
|
+
spaces, one request searches vectors over one sorted page of at most 256 spaces;
|
|
872
|
+
lexical evidence keeps the full authorized scope, subject to its existing limits.
|
|
873
|
+
Pass that cursor as input `spaceCursor` (CLI `--space-cursor`) with the identical
|
|
874
|
+
question, mode and filters to inspect the next vector-space page. Deduplicate
|
|
875
|
+
lexical evidence repeated across calls; do not treat these as disjoint evidence
|
|
876
|
+
pages or concatenate them into a claimed single-call result.
|
|
877
|
+
|
|
878
|
+
A space cursor is bound to the question, mode, filters, authorized scope,
|
|
879
|
+
preference epoch and embedding identity. Revocation or a binding/input change
|
|
880
|
+
fails it before embedding. Resolve the changed scope and start a new request
|
|
881
|
+
without the old cursor; never silently broaden it. Following every space page
|
|
882
|
+
does not exhaust ANN candidates within each space. These fields require the GA
|
|
883
|
+
transport release; an older response without them does not prove completeness.
|
|
884
|
+
|
|
885
|
+
JSON and `--verbose` expose lexical/semantic ranks, cosine score and bounded
|
|
886
|
+
`rankingContributions` (RRF, provenance, recency, graph and total). Returned `rank`
|
|
887
|
+
is authoritative; scores are not answer confidence. Use passage content versions,
|
|
888
|
+
hashes and source links before citing. Read bodies with
|
|
889
|
+
`ente activity content read --id <activity-A> --id <activity-B> --json`; continue
|
|
890
|
+
incomplete sources with their cursor/version. Provider/model/region/identity appear
|
|
891
|
+
in `retrieval.vector`. There is no automatic provider fallback.
|
|
892
|
+
|
|
893
|
+
WebMCP `ente_query` uses the same controls and server default in a mounted activity
|
|
894
|
+
or evidence-source view, bounded to that source's space as the signed-in human.
|
|
895
|
+
Other views return `NOT_AVAILABLE_HERE`. Existing activity view filters stay lexical.
|
|
896
|
+
|
|
897
|
+
Current CLI, native and WebMCP queries request `responseVersion: 2` automatically.
|
|
898
|
+
REST/MCP callers send that field for GA coverage, passages and ranking metadata.
|
|
899
|
+
Omitting it preserves the installed-client response format, including fallback.
|
|
854
900
|
|
|
855
901
|
For older recipient correspondence, `user-mailbox` operation `recipients` accepts
|
|
856
902
|
`source: "provider"` for bounded native matching header reads without imports or
|
|
@@ -887,7 +933,7 @@ another account in hosted Ask. Explicitly configured own/instance Ask model slot
|
|
|
887
933
|
retain their route and permissions. Ordinary paid plans do not enroll an account.
|
|
888
934
|
If unavailable, use `ente search`, `ente entity get`, `ente activity search`,
|
|
889
935
|
`ente activity list` and `ente activity get`, then summarize the returned records
|
|
890
|
-
with your agent.
|
|
936
|
+
with your agent. Explicit lexical `ente query --mode lexical` remains available without provider calls.
|
|
891
937
|
`ask` returns a nonzero exit unless synthesisStatus is answered. Do not request
|
|
892
938
|
a Bedrock key, provider access or model change to repair beta unavailability.
|
|
893
939
|
|
|
@@ -895,7 +941,7 @@ Agent platform inspection uses `ente admin tables|get|page --profile <profile>`.
|
|
|
895
941
|
|
|
896
942
|
### Unified mailbox operations
|
|
897
943
|
|
|
898
|
-
Use `ente agent user-mailbox --profile
|
|
944
|
+
Use `ente agent user-mailbox --profile example-agent --request '<JSON>'`.
|
|
899
945
|
Existing `agent mail` commands and old `user-mailbox` requests remain supported.
|
|
900
946
|
New requests name `mailboxId` explicitly; obtain it with `listMailboxes`.
|
|
901
947
|
The same operations apply to own, connected and shared inboxes. Inspect
|
|
@@ -932,7 +978,7 @@ Canonical request JSON schemas (generated from `mailboxOperationSchemas`):
|
|
|
932
978
|
|
|
933
979
|
<!-- mailbox-operation-schemas:end -->
|
|
934
980
|
|
|
935
|
-
Admin user email search: `ente --profile
|
|
981
|
+
Admin user email search: `ente --profile example-agent users list --email <substring>` matches email case-insensitively, including partial addresses. It retains the existing global-admin/platform-key boundary and traverses bounded pages.
|
|
936
982
|
When auth-context reports active `accountSetup`, load its on-demand playbook with `ente admin guide`. The guide includes exact-email account settings and declarative company setup with transactional, verified-email invitations and catalog presets. Mail preparation uses the non-secret mailSetup catalog entry and a target-only, single-use finish link; passwords and OAuth tokens never belong in agent calls.
|
|
937
983
|
|
|
938
984
|
Gmail organize permission allows archive/unarchive (INBOX), read/unread and Ente workflow labels without sending. Use `modifyLabels` with one of `archive`, `unarchive`, `read`, `unread`, `handled`, `needs-reply` (empty labels clears workflow state), an explicit mailboxId, provider threadId or messageId, and requestId. No Ente source archive is needed. The server adds `Ente/Operators/<acting agent display name>`; callers cannot choose operator labels. dryRun performs no provider writes or reservations. Completed retries return the saved actual post-change message label IDs; uncertain outcomes fail closed. Default limits are 20 per execution and credential/mailbox 60-minute window, and 100 reserved changes per agent/user grant per UTC day, shared across that agent’s credentials and mailboxes. Six agents have separate daily limits (up to 600 combined). A new executionId does not reset the window or daily budget.
|
|
@@ -941,8 +987,8 @@ Large organize readbacks return a bounded prefix of actual per-message label IDs
|
|
|
941
987
|
|
|
942
988
|
### Admin cost snapshots
|
|
943
989
|
|
|
944
|
-
`ente costs preview --profile
|
|
945
|
-
the existing global-admin importer. `ente costs import --profile
|
|
990
|
+
`ente costs preview --profile example-agent --file <json> --json` validates through
|
|
991
|
+
the existing global-admin importer. `ente costs import --profile example-agent
|
|
946
992
|
--file <json> --expected-current-id <preview-id-or-none> --json` imports one
|
|
947
993
|
revision with compare-and-swap protection. These commands require the separate
|
|
948
994
|
existing platform credential; an agent profile supplies no admin access. If it
|
|
@@ -951,7 +997,7 @@ Never provision access or copy provider secrets to complete delivery.
|
|
|
951
997
|
|
|
952
998
|
### Reopen a task
|
|
953
999
|
|
|
954
|
-
`ente task reopen <activity-id> --profile
|
|
1000
|
+
`ente task reopen <activity-id> --profile example-agent --json` explicitly sets
|
|
955
1001
|
completion to false. Use the full activity ID: the installed short-number resolver
|
|
956
1002
|
only finds open tasks. This command preserves assignments and deadline.
|
|
957
1003
|
|
|
@@ -966,12 +1012,12 @@ space, mail and agent-management commands remain unavailable.
|
|
|
966
1012
|
Use exact IDs with canonical JSON; these commands avoid broad name resolution:
|
|
967
1013
|
|
|
968
1014
|
```text
|
|
969
|
-
ente task sync createActivity '{"type":"task","spaceId":"<personal-id>","entityIds":["<entity-id>"],"title":"Example","content":"[
|
|
970
|
-
ente task sync getActivity '{"spaceId":"<personal-id>","externalKey":"
|
|
971
|
-
ente task sync updateActivity '{"activityId":"<activity-id>","completed":false,"deadline":null}' --profile
|
|
972
|
-
ente task sync updateActivityAssignees '{"activityId":"<activity-id>","action":"remove","assigneeIds":["<human-user-id>"]}' --profile
|
|
973
|
-
ente task reopen <activity-id> --profile
|
|
974
|
-
ente agent tasks list --view attention --profile
|
|
1015
|
+
ente task sync createActivity '{"type":"task","spaceId":"<personal-id>","entityIds":["<entity-id>"],"title":"Example","content":"[Work item](<work-item-link>)","externalKey":"work_item_id:<work-item-id>","agentAssigneeIds":["<worker-agent-id>","<sync-agent-id>"],"assigneeIds":["<human-user-id>"],"deadline":{"date":"2026-11-19","time":"20:30","timezone":"Europe/Berlin"},"fields":[{"label":"work_item_id","value":"<work-item-id>"}]}' --profile example-agent --json
|
|
1016
|
+
ente task sync getActivity '{"spaceId":"<personal-id>","externalKey":"work_item_id:<work-item-id>","includeDeleted":true}' --profile example-agent --json
|
|
1017
|
+
ente task sync updateActivity '{"activityId":"<activity-id>","completed":false,"deadline":null}' --profile example-agent --json
|
|
1018
|
+
ente task sync updateActivityAssignees '{"activityId":"<activity-id>","action":"remove","assigneeIds":["<human-user-id>"]}' --profile example-agent --json
|
|
1019
|
+
ente task reopen <activity-id> --profile example-agent --json
|
|
1020
|
+
ente agent tasks list --view attention --profile example-agent --json
|
|
975
1021
|
```
|
|
976
1022
|
|
|
977
1023
|
Create is idempotent when externalKey is supplied. It reserves the key for that
|
|
@@ -989,14 +1035,14 @@ production test agent and its one task.
|
|
|
989
1035
|
|
|
990
1036
|
Task delegation: the human owner selects **Acts for** principals on the delegate's
|
|
991
1037
|
Settings page. Agent credentials cannot administer grants. Use
|
|
992
|
-
`ente agent tasks list --principals granted --view attention --profile
|
|
1038
|
+
`ente agent tasks list --principals granted --view attention --profile example-agent --json`
|
|
993
1039
|
or repeated `--for-agent <id>` selectors. Items include principal `agentId` and
|
|
994
1040
|
assignment-generation `assignedAt`. Follow empty cursor pages until `isDone`.
|
|
995
1041
|
Inspect then acknowledge exact observations; grant/scope changes invalidate
|
|
996
1042
|
receipts. `selfAuthored` is relative to the assignment agent, not the delegate.
|
|
997
1043
|
Discussion/message/comment/claim/renew/release remain own-agent-only.
|
|
998
1044
|
|
|
999
|
-
`ente agent tasks attention-feed --profile
|
|
1045
|
+
`ente agent tasks attention-feed --profile example-agent --json` reads one bounded
|
|
1000
1046
|
own-plus-direct-grants attention snapshot `{items,truncated}`. It accepts no
|
|
1001
1047
|
selector/cursor/limit. If truncated, reconcile through paginated `list`; never
|
|
1002
1048
|
infer completion/deletion from disappearance. Deleted entries have no title.
|
|
@@ -1020,21 +1066,21 @@ web deployment.
|
|
|
1020
1066
|
Entity exact-value lookup: `ente entity list --field "External ID=Case=ID"`. The label follows field label normalization; text and JSON values must exactly match the stored string, including case and whitespace. Typed values (email, phone, URL, date, postal-address, salutation and job-title) match their normalized index value; for example, `Foo@X.com` finds stored `foo@x.com`. The first equals sign separates label and value. Combine with `--space` or `--archived`; `--query` is exclusive. Results report `data.truncated` when the indexed candidate or visibility budget is exhausted. REST uses `field={"label":"External ID","value":"Case=ID"}` as a URL-encoded JSON query parameter; MCP `listEntities` and `entities_list` use the same object.
|
|
1021
1067
|
|
|
1022
1068
|
|
|
1023
|
-
Activity field lookup uses the server index: `ente activity list --type task --field "
|
|
1069
|
+
Activity field lookup uses the server index: `ente activity list --type task --field "work_item=https://example.com/work/<id>" --profile example-agent`. For the credential's own agent queue, use `ente agent tasks list --field "work_item=https://example.com/work/<id>" --profile example-agent`. `--attr` is an alias for `--field` on these two commands. Repeat the option for AND matching (at most ten filters). The first `=` separates label and value, preserving subsequent equals signs. Activity list also accepts `--space` and `--entity` to narrow the indexed result. History cursors and `--min-count` cannot be combined with a field lookup.
|
|
1024
1070
|
|
|
1025
1071
|
Activity writes and each `batchUpdateTasks` item accept `fields: [{label | fieldId, type?, value}]` through REST/MCP and `task sync createActivity|updateActivity`. Exactly one selector is required. `value: null` removes; number/boolean use typed JSON values, JSON uses serialized JSON strings, and list fields (text, URL, email, phone, postal-address, salutation, job-title, multi-select) accept a string array that replaces the whole list (one stored value each; only multi-select has an option vocabulary). Create a list field with an explicit `type`; on the CLI repeat a shorthand label (`--field links=a --field links=b`). A `--field label=value` lookup matches an activity when any one of its values matches. URLs with a non-web scheme compare exactly apart from the scheme's case. Merging activities unites list values (as a set, no order kept) and assignees and fills empty single-valued fields from the source. Existing types cannot be changed by a value write. Repeated selectors fail before writing. Invalid typed values use `ACTIVITY_FIELD_VALUE_INVALID`; vocabulary and byte caps use `ACTIVITY_FIELD_LIMIT_EXCEEDED`. Delegation and idempotency follow the ordinary activity write rules.
|
|
1026
1072
|
|
|
1027
1073
|
```sh
|
|
1028
|
-
ente activity update <id> --field '{"label":"estimate","type":"number","value":3}' --profile
|
|
1029
|
-
ente task update <id> --field '{"fieldId":"<field-id>","value":null}' --profile
|
|
1030
|
-
ente task sync createActivity '{"spaceId":"<space-id>","entityIds":["<entity-id>"],"type":"task","externalKey":"fictional-1","fields":[{"label":"
|
|
1074
|
+
ente activity update <id> --field '{"label":"estimate","type":"number","value":3}' --profile example-agent --json
|
|
1075
|
+
ente task update <id> --field '{"fieldId":"<field-id>","value":null}' --profile example-agent --json
|
|
1076
|
+
ente task sync createActivity '{"spaceId":"<space-id>","entityIds":["<entity-id>"],"type":"task","externalKey":"fictional-1","fields":[{"label":"work_item","value":"https://example.com/work/123"}]}' --profile example-agent --json
|
|
1031
1077
|
```
|
|
1032
1078
|
|
|
1033
1079
|
Write `--field` takes repeatable `label=value` pairs or typed JSON objects. List `--field` and `--attr` take `label=value` pairs. Field-enabled `activity create`/`task create` reject `--auto-link` and `--entity-space-grant-fingerprint`; owners must already belong to the destination. Complete sharing separately. REST POST/PATCH `/api/external/activities` and MCP create/update take the same `fields` array. See `docs/activity-fields.md` for caps and examples.
|
|
1034
1080
|
|
|
1035
1081
|
Activity definitions are shared across a space. Writers create an unmatched definition implicitly through `fields`; existing definitions validate subsequent values. Unknown single-select and multi-select values add options within the same limits. A scalar multi-select string is one literal selection, never delimiter-split. This does not create a Kanban column. Rename, merge, retype and option removal remain manager-only. Empty strings clear a field. Types include text, JSON, email, phone, URL, date, postal-address, salutation, job-title, number, boolean, single-select and multi-select. Text and JSON lookups compare stored strings exactly. Other types match normalized values; `Foo@X.com` finds `foo@x.com`.
|
|
1036
1082
|
|
|
1037
|
-
REST `GET /api/external/activities` and `/api/external/tasks` accept URL-encoded JSON `field={"label":"
|
|
1083
|
+
REST `GET /api/external/activities` and `/api/external/tasks` accept URL-encoded JSON `field={"label":"work_item","value":"Case=ID"}`, or an array for AND. MCP activity/task list tools and `agent_tasks` use the same shape. Read results contain canonical `fields` with value ID, definition ID, label, type and stored string. Candidate and output budgets fail explicitly rather than return partial field results.
|
|
1038
1084
|
|
|
1039
1085
|
Canvas HTML panel commands negotiate `spaceOwned: true` for boards without entity associations. Older clients require an entity-linked board and receive a precondition error before any write.
|
|
1040
1086
|
|
|
@@ -1066,3 +1112,55 @@ The layout editor offers “One field per line” per space and activity type.
|
|
|
1066
1112
|
its effective boolean and layout copies preserve it. Native tools, REST, MCP,
|
|
1067
1113
|
WebMCP and CLI configure share this contract. The CLI layout shortcut accepts
|
|
1068
1114
|
`--per-field-line`; omit it to restore inline display.
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
Agent-mail SES outbound rejects filename extensions on [Gmail's blocked list](https://support.google.com/mail/answer/6590),
|
|
1118
|
+
case-insensitively and after ignoring trailing dots and spaces. Use the file's
|
|
1119
|
+
real extension (for example, .jpg for JPEG bytes). This check covers send and
|
|
1120
|
+
reply across native tools, REST, MCP and CLI; personal Gmail/IMAP behavior is
|
|
1121
|
+
unchanged. It checks filenames, not archive contents. Message readback exposes
|
|
1122
|
+
optional SES bounceType and bounceSubType from the latest feedback event.
|
|
1123
|
+
Older or duplicate feedback cannot overwrite these fields; a newer event without
|
|
1124
|
+
bounce details clears them. Existing messages need no backfill.
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
Read several query sources in one call:
|
|
1128
|
+
|
|
1129
|
+
```sh
|
|
1130
|
+
ente activity content read --id <activity-id-A> --id <activity-id-B> --json
|
|
1131
|
+
ente activity content read --id <activity-id-A> --cursor '<nextCursor>' --expected-version <contentVersion> --json
|
|
1132
|
+
```
|
|
1133
|
+
|
|
1134
|
+
Repeat `--id` up to ten times. These bulk reads share 50,000 rendered UTF-16
|
|
1135
|
+
characters by default; `--max-characters` accepts at most 100,000. A source also
|
|
1136
|
+
has a 200-page work bound; follow its continuation if that bound is reached. Each available
|
|
1137
|
+
item returns Markdown, `contentVersion`, a source identity `sourceHash`, and
|
|
1138
|
+
`complete`. A false `complete` means only a window was returned: resume that
|
|
1139
|
+
source with its `nextCursor` and the same version. Append returned Markdown
|
|
1140
|
+
fragments directly; canonical separators are preserved across continuations.
|
|
1141
|
+
If the next character and separator cannot fit, increase `--max-characters`;
|
|
1142
|
+
the operation reports an insufficient-budget error instead of a stalled cursor.
|
|
1143
|
+
Missing and denied IDs both
|
|
1144
|
+
return `unavailable` without a title. A source that changes must be read again.
|
|
1145
|
+
The positional `ente activity content read <activity-id>` keeps the existing
|
|
1146
|
+
block-window contract for partial editing. Plaintext-only legacy bodies without
|
|
1147
|
+
a canonical document are unavailable to bulk reads; use the existing activity
|
|
1148
|
+
read and whole-body repair workflow. Archive hashes identify the immutable
|
|
1149
|
+
archive revision, while document hashes cover the canonical rendered body.
|
|
1150
|
+
|
|
1151
|
+
Lexical/default query now returns matched `passages` for activity and task
|
|
1152
|
+
sources, normally one and at most three per source. Each passage includes the
|
|
1153
|
+
canonical content version, source hash, preparation identity, match kind and
|
|
1154
|
+
UTF-16 local ranges on version-scoped `b:<index>` targets. `text` and `passage`
|
|
1155
|
+
remain the primary match for installed clients. Title-only matches and legacy
|
|
1156
|
+
plaintext excerpts carry no invented block target. Passages share the existing
|
|
1157
|
+
24,000-character context budget. Omitted mode is server-negotiated;
|
|
1158
|
+
explicit `--mode lexical` keeps retrieval provider-free. Ask synthesis is unchanged.
|
|
1159
|
+
WebMCP `ente_activity_contents_read` reads only the currently open source view;
|
|
1160
|
+
other views or IDs return `NOT_AVAILABLE_HERE`.
|
|
1161
|
+
|
|
1162
|
+
For more than 256 authorized spaces, use `coverage.nextSpaceCursor` as
|
|
1163
|
+
`spaceCursor` / CLI `--space-cursor` with the same question, mode and filters.
|
|
1164
|
+
This advances space partitions, not ANN result pages. Scope, preference epoch or
|
|
1165
|
+
provider changes invalidate the cursor. Lexical evidence still uses the full
|
|
1166
|
+
scope on each hybrid page. Explicit `--space` avoids cross-space competition.
|