ente-cli 0.4.142 → 0.4.144
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 +73 -22
- package/dist/SKILL.md +153 -57
- package/dist/cli.mjs +1167 -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,6 +178,7 @@ 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
|
|
182
183
|
ente task list --assignee me --agent-task-display hideAllWithAgent
|
|
183
184
|
ente task list --assignee-agent <agentId>
|
|
@@ -195,6 +196,8 @@ ente canvas html create <boardId> --title "Prototype" --file ./prototype.html --
|
|
|
195
196
|
ente files list <entityId> --path "03 Unterlagen"
|
|
196
197
|
ente files upload <entityId> ./Vertrag.pdf --folder "03 Unterlagen" # at most 10 MiB, or --activity/--storage-id
|
|
197
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
|
|
198
201
|
ente agent config show
|
|
199
202
|
ente agent threads
|
|
200
203
|
ente agent mail threads --unread
|
|
@@ -234,6 +237,7 @@ Every command supports `--json`. Run `ente --help` or `ente <group> --help`.
|
|
|
234
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`) |
|
|
235
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` |
|
|
236
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 |
|
|
237
241
|
| `agent` | `permissions`, `list`, `threads`, `show`, `new`, `send`, `config show`, `config set-prompt`, `schedules configure` |
|
|
238
242
|
| `agent mail` | `address`, `threads`, `show`, `send`, `reply`, `mark` |
|
|
239
243
|
| top-level | `search`, `ask`, `query`, `tasks`, `guide` |
|
|
@@ -397,7 +401,7 @@ CLI without installing dependencies.
|
|
|
397
401
|
Publishing is automatic: a push to `main` touching `cli/**` or the publish
|
|
398
402
|
workflow selects a version above both registries, tests and packs once, then
|
|
399
403
|
publishes identical bytes to npm and, while remaining Gitea installs migrate,
|
|
400
|
-
to
|
|
404
|
+
to the Gitea registry. npm uses GitHub OIDC; Gitea keeps the existing package
|
|
401
405
|
token. Install and update instructions name npm only. See `.github/workflows/publish-cli.yml` and
|
|
402
406
|
`docs/cli-architecture.md` for setup and retry instructions.
|
|
403
407
|
|
|
@@ -600,7 +604,7 @@ The unsupported `entity show` spelling gives a targeted `entity get` correction.
|
|
|
600
604
|
|
|
601
605
|
### Granted incident diagnostics
|
|
602
606
|
|
|
603
|
-
`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`
|
|
604
608
|
reads fixed global content-free aggregates using the existing bound agent REST
|
|
605
609
|
credential. Access is off unless a current human platform admin explicitly grants
|
|
606
610
|
this exact owned Personal agent diagnostics with expiry. Installation grants no
|
|
@@ -622,18 +626,24 @@ access to diagnostics, and diagnostic reads do not append to chat history.
|
|
|
622
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.
|
|
623
627
|
|
|
624
628
|
|
|
625
|
-
Raw evidence retrieval
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
not answer confidence. Semantic availability requires the separate default-off
|
|
631
|
-
Personal retrieval pilot, not an Ask synthesis slot. See `ente guide activity` and
|
|
632
|
-
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.
|
|
633
634
|
|
|
634
|
-
|
|
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.
|
|
635
640
|
|
|
636
|
-
|
|
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.
|
|
637
647
|
|
|
638
648
|
Recipient lookup may explicitly use `"source":"provider"` to read bounded
|
|
639
649
|
native matching headers outside the synced cache. It imports no messages and
|
|
@@ -670,9 +680,8 @@ Use `ente search`, `ente entity get`, `ente activity search/list/get` and summar
|
|
|
670
680
|
records with your agent. Do not change provider/model settings to repair beta
|
|
671
681
|
unavailability. Ask exits nonzero unless `synthesisStatus` is `answered`.
|
|
672
682
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
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.
|
|
676
685
|
|
|
677
686
|
|
|
678
687
|
Canonical mailbox calls name `mailboxId`; `listMailboxes` discovers permitted own,
|
|
@@ -685,15 +694,15 @@ Every result names `from` and the exact `permissionUsed` level. Old command name
|
|
|
685
694
|
connection IDs and workflow payloads remain supported. Run `--schema <operation>`
|
|
686
695
|
or `--help` for per-operation JSON schemas.
|
|
687
696
|
|
|
688
|
-
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.
|
|
689
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.
|
|
690
699
|
|
|
691
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.
|
|
692
701
|
|
|
693
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.
|
|
694
703
|
|
|
695
|
-
Admin cost delivery uses `ente costs preview --profile
|
|
696
|
-
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`.
|
|
697
706
|
Both use the existing separate platform credential, never the agent key. Preview
|
|
698
707
|
first; imports preserve server validation, idempotency and revision comparison.
|
|
699
708
|
V1 and v2 formats and the human admin-session fallback are documented in
|
|
@@ -701,7 +710,7 @@ V1 and v2 formats and the human admin-session fallback are documented in
|
|
|
701
710
|
|
|
702
711
|
Task delegation uses owner-managed **Acts for** grants on the delegate's Settings
|
|
703
712
|
page. `agent tasks list --principals granted --view attention --profile
|
|
704
|
-
|
|
713
|
+
example-agent --json` includes own and directly granted queues. Use repeatable
|
|
705
714
|
`--for-agent <id>` for an explicit subset. Each task includes `agentId` and
|
|
706
715
|
`assignedAt`; cursors and observations are invalidated by grant or scope changes.
|
|
707
716
|
Delegated reads and acknowledgments remain bounded by the credential and
|
|
@@ -709,7 +718,7 @@ principal's live task access. Discussion, comments and claims stay own-agent-onl
|
|
|
709
718
|
|
|
710
719
|
Canonical task writes accept `onBehalfOfAgentId` or the explicit flag:
|
|
711
720
|
`ente task sync updateActivity '{"activityId":"<id>","completed":false}'
|
|
712
|
-
--on-behalf-of-agent <principal-id> --profile
|
|
721
|
+
--on-behalf-of-agent <principal-id> --profile example-agent --json`.
|
|
713
722
|
The principal is attributed as actor; the delegate remains the external-key
|
|
714
723
|
namespace and appears as provenance. Owner grant management rejects agent JWTs.
|
|
715
724
|
|
|
@@ -720,3 +729,45 @@ Canvas HTML panel commands negotiate `spaceOwned: true` for boards without entit
|
|
|
720
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.
|
|
721
730
|
|
|
722
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
|
|
|
@@ -312,6 +313,8 @@ ente task assign 5 <userId-or-email> [--json]
|
|
|
312
313
|
ente task unassign 5 <userId-or-email> [--json]
|
|
313
314
|
ente task set-assignees 5 --assignee <userId-or-email> [--json]
|
|
314
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]
|
|
315
318
|
ente task clear-assignees 5 [--json]
|
|
316
319
|
|
|
317
320
|
# Bound Ente agent (operator key)
|
|
@@ -331,11 +334,11 @@ ente agent schedules configure --file ./schedules.json [--json]
|
|
|
331
334
|
# unlimited account enabled send-to-anyone for this mailbox).
|
|
332
335
|
ente agent mail address [--profile <name>] [--json]
|
|
333
336
|
ente agent mail threads [--profile <name>] [--unread] [--needs-reply] [--limit 20] [--cursor <cursor>] [--json]
|
|
334
|
-
ente agent mail show <
|
|
337
|
+
ente agent mail show <work-item-id> [--cursor <cursor>] [--json]
|
|
335
338
|
ente agent mail attachment <attachment-id> [--output ./report.docx | --output-dir ./inbox] [--force] [--json]
|
|
336
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]
|
|
337
|
-
ente agent mail reply <
|
|
338
|
-
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]
|
|
339
342
|
```
|
|
340
343
|
|
|
341
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.
|
|
@@ -348,7 +351,7 @@ Activity search and get return canonical public DTOs, defaulting to compact text
|
|
|
348
351
|
|
|
349
352
|
|
|
350
353
|
Received attachments are available through the same bound agent credential;
|
|
351
|
-
no browser login is needed. `ente agent mail show <
|
|
354
|
+
no browser login is needed. `ente agent mail show <work-item-id> --json` lists
|
|
352
355
|
`attachments` on each message with `attachmentId`, `filename`, `mimeType`, and
|
|
353
356
|
`size`. Follow `continueCursor` when present to read older messages.
|
|
354
357
|
Create an output directory, then download the attachment by its exact ID:
|
|
@@ -389,7 +392,7 @@ adds `agent:read` and, while the inbox is active, `mail:read`. Agent write adds
|
|
|
389
392
|
Use `agent threads --attention agent`, then `agent send`; the CLI claims the current
|
|
390
393
|
attention version before replying so concurrent cron workers cannot duplicate work.
|
|
391
394
|
For a user-authorized Dream/maintenance run, use `agent config show`,
|
|
392
|
-
`agent threads --include-archived --limit 20`, and `agent show <
|
|
395
|
+
`agent threads --include-archived --limit 20`, and `agent show <work-item-id>`.
|
|
393
396
|
Choose messages by their timestamps, including recent messages in older threads.
|
|
394
397
|
Skip scheduled-run and reflection summaries as sources for new durable lessons.
|
|
395
398
|
Compare the existing prompt before writing; `agent config set-prompt` replaces
|
|
@@ -433,7 +436,7 @@ For example:
|
|
|
433
436
|
|
|
434
437
|
```bash
|
|
435
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
|
|
436
|
-
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
|
|
437
440
|
```
|
|
438
441
|
|
|
439
442
|
Retries must keep filenames, MIME types, Content-IDs, file order, and exact file
|
|
@@ -814,7 +817,7 @@ access to diagnostics, and diagnostic reads do not append to chat history.
|
|
|
814
817
|
|
|
815
818
|
### Identify this connection
|
|
816
819
|
|
|
817
|
-
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.
|
|
818
821
|
|
|
819
822
|
Use `ente agent set-icon fish` to change only this credential’s own Ente agent
|
|
820
823
|
icon, then find it in `/agents`. Use `ente agent set-icon --reset` to restore the
|
|
@@ -825,34 +828,75 @@ which can have historical gaps and excludes hosted/scheduled activity.
|
|
|
825
828
|
|
|
826
829
|
### Raw retrieval modes
|
|
827
830
|
|
|
828
|
-
`ente query "question" --json`
|
|
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
|
-
|
|
854
|
-
|
|
855
|
-
|
|
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.
|
|
856
900
|
|
|
857
901
|
For older recipient correspondence, `user-mailbox` operation `recipients` accepts
|
|
858
902
|
`source: "provider"` for bounded native matching header reads without imports or
|
|
@@ -889,7 +933,7 @@ another account in hosted Ask. Explicitly configured own/instance Ask model slot
|
|
|
889
933
|
retain their route and permissions. Ordinary paid plans do not enroll an account.
|
|
890
934
|
If unavailable, use `ente search`, `ente entity get`, `ente activity search`,
|
|
891
935
|
`ente activity list` and `ente activity get`, then summarize the returned records
|
|
892
|
-
with your agent.
|
|
936
|
+
with your agent. Explicit lexical `ente query --mode lexical` remains available without provider calls.
|
|
893
937
|
`ask` returns a nonzero exit unless synthesisStatus is answered. Do not request
|
|
894
938
|
a Bedrock key, provider access or model change to repair beta unavailability.
|
|
895
939
|
|
|
@@ -897,7 +941,7 @@ Agent platform inspection uses `ente admin tables|get|page --profile <profile>`.
|
|
|
897
941
|
|
|
898
942
|
### Unified mailbox operations
|
|
899
943
|
|
|
900
|
-
Use `ente agent user-mailbox --profile
|
|
944
|
+
Use `ente agent user-mailbox --profile example-agent --request '<JSON>'`.
|
|
901
945
|
Existing `agent mail` commands and old `user-mailbox` requests remain supported.
|
|
902
946
|
New requests name `mailboxId` explicitly; obtain it with `listMailboxes`.
|
|
903
947
|
The same operations apply to own, connected and shared inboxes. Inspect
|
|
@@ -934,7 +978,7 @@ Canonical request JSON schemas (generated from `mailboxOperationSchemas`):
|
|
|
934
978
|
|
|
935
979
|
<!-- mailbox-operation-schemas:end -->
|
|
936
980
|
|
|
937
|
-
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.
|
|
938
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.
|
|
939
983
|
|
|
940
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.
|
|
@@ -943,8 +987,8 @@ Large organize readbacks return a bounded prefix of actual per-message label IDs
|
|
|
943
987
|
|
|
944
988
|
### Admin cost snapshots
|
|
945
989
|
|
|
946
|
-
`ente costs preview --profile
|
|
947
|
-
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
|
|
948
992
|
--file <json> --expected-current-id <preview-id-or-none> --json` imports one
|
|
949
993
|
revision with compare-and-swap protection. These commands require the separate
|
|
950
994
|
existing platform credential; an agent profile supplies no admin access. If it
|
|
@@ -953,7 +997,7 @@ Never provision access or copy provider secrets to complete delivery.
|
|
|
953
997
|
|
|
954
998
|
### Reopen a task
|
|
955
999
|
|
|
956
|
-
`ente task reopen <activity-id> --profile
|
|
1000
|
+
`ente task reopen <activity-id> --profile example-agent --json` explicitly sets
|
|
957
1001
|
completion to false. Use the full activity ID: the installed short-number resolver
|
|
958
1002
|
only finds open tasks. This command preserves assignments and deadline.
|
|
959
1003
|
|
|
@@ -968,12 +1012,12 @@ space, mail and agent-management commands remain unavailable.
|
|
|
968
1012
|
Use exact IDs with canonical JSON; these commands avoid broad name resolution:
|
|
969
1013
|
|
|
970
1014
|
```text
|
|
971
|
-
ente task sync createActivity '{"type":"task","spaceId":"<personal-id>","entityIds":["<entity-id>"],"title":"Example","content":"[
|
|
972
|
-
ente task sync getActivity '{"spaceId":"<personal-id>","externalKey":"
|
|
973
|
-
ente task sync updateActivity '{"activityId":"<activity-id>","completed":false,"deadline":null}' --profile
|
|
974
|
-
ente task sync updateActivityAssignees '{"activityId":"<activity-id>","action":"remove","assigneeIds":["<human-user-id>"]}' --profile
|
|
975
|
-
ente task reopen <activity-id> --profile
|
|
976
|
-
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
|
|
977
1021
|
```
|
|
978
1022
|
|
|
979
1023
|
Create is idempotent when externalKey is supplied. It reserves the key for that
|
|
@@ -991,14 +1035,14 @@ production test agent and its one task.
|
|
|
991
1035
|
|
|
992
1036
|
Task delegation: the human owner selects **Acts for** principals on the delegate's
|
|
993
1037
|
Settings page. Agent credentials cannot administer grants. Use
|
|
994
|
-
`ente agent tasks list --principals granted --view attention --profile
|
|
1038
|
+
`ente agent tasks list --principals granted --view attention --profile example-agent --json`
|
|
995
1039
|
or repeated `--for-agent <id>` selectors. Items include principal `agentId` and
|
|
996
1040
|
assignment-generation `assignedAt`. Follow empty cursor pages until `isDone`.
|
|
997
1041
|
Inspect then acknowledge exact observations; grant/scope changes invalidate
|
|
998
1042
|
receipts. `selfAuthored` is relative to the assignment agent, not the delegate.
|
|
999
1043
|
Discussion/message/comment/claim/renew/release remain own-agent-only.
|
|
1000
1044
|
|
|
1001
|
-
`ente agent tasks attention-feed --profile
|
|
1045
|
+
`ente agent tasks attention-feed --profile example-agent --json` reads one bounded
|
|
1002
1046
|
own-plus-direct-grants attention snapshot `{items,truncated}`. It accepts no
|
|
1003
1047
|
selector/cursor/limit. If truncated, reconcile through paginated `list`; never
|
|
1004
1048
|
infer completion/deletion from disappearance. Deleted entries have no title.
|
|
@@ -1022,21 +1066,21 @@ web deployment.
|
|
|
1022
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.
|
|
1023
1067
|
|
|
1024
1068
|
|
|
1025
|
-
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.
|
|
1026
1070
|
|
|
1027
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.
|
|
1028
1072
|
|
|
1029
1073
|
```sh
|
|
1030
|
-
ente activity update <id> --field '{"label":"estimate","type":"number","value":3}' --profile
|
|
1031
|
-
ente task update <id> --field '{"fieldId":"<field-id>","value":null}' --profile
|
|
1032
|
-
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
|
|
1033
1077
|
```
|
|
1034
1078
|
|
|
1035
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.
|
|
1036
1080
|
|
|
1037
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`.
|
|
1038
1082
|
|
|
1039
|
-
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.
|
|
1040
1084
|
|
|
1041
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.
|
|
1042
1086
|
|
|
@@ -1068,3 +1112,55 @@ The layout editor offers “One field per line” per space and activity type.
|
|
|
1068
1112
|
its effective boolean and layout copies preserve it. Native tools, REST, MCP,
|
|
1069
1113
|
WebMCP and CLI configure share this contract. The CLI layout shortcut accepts
|
|
1070
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.
|