ente-cli 0.4.135 → 0.4.137
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 +1 -1
- package/dist/SKILL.md +17 -13
- package/dist/cli.mjs +185 -217
- package/dist/cli.mjs.map +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -219,7 +219,7 @@ Every command supports `--json`. Run `ente --help` or `ente <group> --help`.
|
|
|
219
219
|
| Group | Commands |
|
|
220
220
|
|---|---|
|
|
221
221
|
| `auth` | `pair`, `login`, `status`, `whoami`, `logout`, `profiles`, `bind`, `unbind`, `bindings` |
|
|
222
|
-
| `entity` | `list`, `create`, `get`, `update` (`--name`, `--tag`, `--description`), `rename`, `archive`, `restore` (`--
|
|
222
|
+
| `entity` | `list`, `create`, `get`, `update` (`--name`, `--tag`, `--description`), `rename`, `archive`, `restore`, `pin` (`--role`; a parent missing from a child space needs a person's approval in the app), `unpin`, `add-to-space`, `remove-from-space` (`--remove-from-activities` optional) |
|
|
223
223
|
| `activity` | `list`, `create`, `search`, `get`, `transcript` (`--grep`, `--context`), `update`, `delete`, `restore`, `message add`, `message delete`, `attachment upload` |
|
|
224
224
|
| `agenda` | `create-point`, `link-task` |
|
|
225
225
|
| `task` | `list`, `get`, `create`, `update`, `done`, `assign`, `unassign`, `set-assignees`, `clear-assignees` |
|
package/dist/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: m:ente-cli
|
|
3
|
-
description: "Cli: drives the ente CRM and knowledge graph over its Convex API as the signed-in user — entities (people, organisations, projects, topics, places, objects), activities (notes, calls, meetings, tasks), relationships, spaces, full-text and AI-backed search, agent threads and mail, plus Excalidraw canvas prototypes. Use when context about a person, an organisation or a meeting has to be stored, looked up or updated from the shell. Not for splitting shared costs, which is schnorrer-cli."
|
|
4
|
-
when_to_use: "Remembering what was said in a call or meeting, including reading or searching the transcript of the recording behind an activity; looking up open tasks, deadlines or follow-ups for a person or project; creating or renaming an entity and pinning it to a parent; linking an activity to several entities or moving it between spaces; asking a question over the whole graph and getting citations; reviewing the voice-recording prompt or debugging a failed recording; sending a notification mail or an agent-inbox reply; posting to the in-app feedback board; managing Excalidraw canvas HTML prototypes on an entity board."
|
|
3
|
+
description: "Cli: drives the ente CRM and knowledge graph over its Convex API as the signed-in user — entities (people, organisations, projects, topics, places, objects), activities (notes, calls, meetings, tasks), relationships, spaces, full-text and AI-backed search, agent threads and mail, the user's connected calendars, plus Excalidraw canvas prototypes. Use when context about a person, an organisation or a meeting has to be stored, looked up or updated from the shell. Not for splitting shared costs, which is schnorrer-cli."
|
|
4
|
+
when_to_use: "Remembering what was said in a call or meeting, including reading or searching the transcript of the recording behind an activity; looking up open tasks, deadlines or follow-ups for a person or project; creating or renaming an entity and pinning it to a parent; linking an activity to several entities or moving it between spaces; asking a question over the whole graph and getting citations; reviewing the voice-recording prompt or debugging a failed recording; sending a notification mail or an agent-inbox reply; posting to the in-app feedback board; managing Excalidraw canvas HTML prototypes on an entity board; creating, moving or cancelling a calendar appointment (Termin anlegen), reading the agenda or finding free time, sending or withholding an invitation (Einladung)."
|
|
5
5
|
metadata:
|
|
6
6
|
short-description: Relationship memory through ente
|
|
7
7
|
---
|
|
@@ -208,7 +208,7 @@ ente query "QM system export" [--space <name>] [--entity <name>] [--since <epoch
|
|
|
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]
|
|
211
|
-
ente entity create "Jane Doe" --type person [--pin "Acme Corp"] [--
|
|
211
|
+
ente entity create "Jane Doe" --type person [--pin "Acme Corp"] [--alias "JD"] [--field '{"label":"E-Mail","type":"email","value":"jane@acme.com"}'] [--tag vip] [--description "CTO at Acme"] [--json]
|
|
212
212
|
ente entity create "Leistungsphase 1" --type topic --space "Studio" --parent "Building A" [--parent-role "Mandant"] [--json]
|
|
213
213
|
ente entity duplicate <name-or-id> --space <space> [--name "New project"] [--include-exclusive-children] [--json]
|
|
214
214
|
ente entity get "Jane Doe" [--limit 20] [--hours-back <hours>] [--min-count 5] [--projection compact|full] [--json]
|
|
@@ -217,17 +217,17 @@ ente entity field add "Jane Doe" --label "Mobilnummer" --type phone --value "+49
|
|
|
217
217
|
ente entity field update <valueId> --value "new text" [--json]
|
|
218
218
|
ente entity field remove <valueId> [--json]
|
|
219
219
|
ente entity rename "Lorey Georg" "Georg Lorey" # change display name
|
|
220
|
-
ente entity pin "Jane Doe" "Acme Corp" [--role "student"] [--
|
|
220
|
+
ente entity pin "Jane Doe" "Acme Corp" [--role "student"] [--json]
|
|
221
221
|
ente entity unpin "Jane Doe" "Acme Corp" [--json]
|
|
222
|
-
ente entity add-to-space "Jane Doe" --space "Team" [--
|
|
222
|
+
ente entity add-to-space "Jane Doe" --space "Team" [--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
225
|
ente entity archive "Old Project" [--json]
|
|
226
|
-
ente entity restore <entity-id> [--
|
|
226
|
+
ente entity restore <entity-id> [--json]
|
|
227
227
|
|
|
228
228
|
# Activities
|
|
229
229
|
ente activity list [--entity "Jane"] [--compact] [--cursor <nextCursor>] [--min-count 0] [--type note|conversation|meeting|call|message|task] [--field k=v ...] [--space "Work"] [--only-open] [--hours 168] [--limit 20] [--sort deadline|created] [--json]
|
|
230
|
-
ente activity create --type meeting --title "Call with Jane" --entity "Jane Doe" --entity "Acme Corp" --space "Work" [--content "…"] [--content-file ./notes.md] [--
|
|
230
|
+
ente activity create --type meeting --title "Call with Jane" --entity "Jane Doe" --entity "Acme Corp" --space "Work" [--content "…"] [--content-file ./notes.md] [--json]
|
|
231
231
|
ente activity search "quarterly review" [--entity "Acme"] [--type meeting] [--limit 20] [--projection compact|full] [--json]
|
|
232
232
|
ente activity get <activityId> [--projection compact|full] [--json] # public detail; use --projection full for full text and attachments
|
|
233
233
|
ente activity transcript <activityId> [--grep "Preis"] [--context 2] [--recording <id>] [--json] # transcript of the recording behind it
|
|
@@ -241,7 +241,7 @@ ente activity delete <activityId> [--json]
|
|
|
241
241
|
ente activity restore <activityId> [--json]
|
|
242
242
|
|
|
243
243
|
# Database lists (entity + typed columns; each row is a note/task activity; no date column type)
|
|
244
|
-
ente list create "<name>" --space "<space>" [--icon <topic-icon>] [--column "key[=Label]:text|number|boolean|single-select|multi-select[:opt,opt]"] [--pin "<parent>"
|
|
244
|
+
ente list create "<name>" --space "<space>" [--icon <topic-icon>] [--column "key[=Label]:text|number|boolean|single-select|multi-select[:opt,opt]"] [--pin "<parent>"] [--json]
|
|
245
245
|
ente list add "<list>" [--space "<space>"] --title "…" [--attr k=v ...] [--key <textColumn>] [--content-file ./row.md] [--json] # --key = upsert by that cell
|
|
246
246
|
ente list update "<list>" <rowId> [--attr k=v ...] [--title "…"] [--json] # empty value clears a cell
|
|
247
247
|
ente list import "<list>" [--space "<space>"] --file rows.jsonl --key <textColumn> [--dry-run] [--concurrency 4] [--json] # {"title","fields":[{"label":"repo","value":"…"}],"content"} per line → created/updated/unchanged
|
|
@@ -276,6 +276,9 @@ ente files upload <entityId> --activity <activityId> --storage-id <storageId> --
|
|
|
276
276
|
ente files link <entityId> "Mandate/2026-017 Zebrafink" [--space <spaceId>] [--json]
|
|
277
277
|
ente files create-folder <entityId> "2026-017 Zebrafink" [--parent Mandate] [--space <spaceId>] [--json]
|
|
278
278
|
|
|
279
|
+
# Calendar RULE: the user's calendars are worked through `ente calendar`, never gws or the
|
|
280
|
+
# Google Calendar API directly. A missing calendar operation means extending ente-cli
|
|
281
|
+
# (cli/ in the ente repo), not a workaround; gws for calendars only on the user's explicit ask.
|
|
279
282
|
# Calendar: your connected Google/CalDAV calendars (personal agent key only) and
|
|
280
283
|
# local ente events (space scope). Bare times are --tz (default Europe/Berlin).
|
|
281
284
|
# Guests are NEVER mailed unless --send-invites. No reminder flag: calendar defaults apply.
|
|
@@ -601,9 +604,9 @@ ente feedback status <feedbackId> <status> # move to a board colum
|
|
|
601
604
|
## Limits & boundaries
|
|
602
605
|
|
|
603
606
|
- **Rename is supported**: `ente entity rename "<old>" "<new>"` (or `entity update <id> --name`).
|
|
604
|
-
- **Relationships are spaceless**, but access propagates upward through the active graph. Every active parent and ancestor must belong to every active child space. A
|
|
607
|
+
- **Relationships are spaceless**, but access propagates upward through the active graph. Every active parent and ancestor must belong to every active child space. A pin, create `--pin`, restore or add-to-space that would add a parent to another space fails with `MISSING_PARENT_SPACE_ACCESS_CONFIRMATION_REQUIRED` and the grant list (parent → space). **Only a person can approve that, in the Ente app — never an agent credential, so do not retry.** Hand the person the click path: open the parent → „Untergeordnete Entität hinzufügen“ → „Vorhandene hinzufügen“ → pick the child → confirm „Freigeben und fortfahren“ (that dialog names the spaces the parent then joins). `FORBIDDEN: You need access to every child space…` is different: the child also lives in a space the person cannot reach (not a member, archived, or outside the key), so nobody can pin it there until that space is resolved.
|
|
605
608
|
- **Activity ownership stays inside its space.** An entity cannot leave a space while it owns activities there. Use `space change prepare --kind entity --action detach --source SPACE_ID --entity ENTITY_ID` and inspect every page before confirming the reviewed version. Mentions are preserved; another valid owner must remain.
|
|
606
|
-
- **Cross-space linking is bounded**: an activity can only link entities already in its target space. A failed write
|
|
609
|
+
- **Cross-space linking is bounded**: an activity can only link entities already in its target space. A failed write lists the missing entities. Sharing an existing entity into another space is for a person in the Ente app; agent credentials (every CLI key) are refused, `--auto-link` included.
|
|
607
610
|
- **Merging duplicates and adding an entity to a shared space are web-UI only** — there is no API endpoint. Run `ente guide limits` for the full rundown.
|
|
608
611
|
|
|
609
612
|
---
|
|
@@ -626,10 +629,11 @@ ente feedback status <feedbackId> <status> # move to a board colum
|
|
|
626
629
|
- **"Not authenticated"**: run `ente auth login`.
|
|
627
630
|
- **"Ambiguous match"**: multiple entities match — use the full Convex ID.
|
|
628
631
|
- **"No entity found"**: check spelling, try `ente search`.
|
|
629
|
-
- **"not in '<space>'" (cross-space)**:
|
|
632
|
+
- **"not in '<space>'" (cross-space)**: ask the person to add the entity to that space in the web UI; the CLI cannot.
|
|
633
|
+
- **`MISSING_PARENT_SPACE_ACCESS_CONFIRMATION_REQUIRED`**: a person approves the listed grants in the app (see Limits); the CLI cannot.
|
|
630
634
|
- **"Cannot remove all entities"**: an activity must keep at least one entity.
|
|
631
635
|
|
|
632
|
-
Parent relationships are spaceless. Both entities must be accessible. Every active parent and ancestor must belong to every active child space. Commands that would expand parent access fail with
|
|
636
|
+
Parent relationships are spaceless. Both entities must be accessible. Every active parent and ancestor must belong to every active child space. Commands that would expand parent access fail with the grant preview; only a person can approve it in the app. A parent cannot be removed from a space while an active child remains there.
|
|
633
637
|
|
|
634
638
|
## User mailbox processing
|
|
635
639
|
|
|
@@ -1026,7 +1030,7 @@ ente task update <id> --field '{"fieldId":"<field-id>","value":null}' --profile
|
|
|
1026
1030
|
ente task sync createActivity '{"spaceId":"<space-id>","entityIds":["<entity-id>"],"type":"task","externalKey":"fictional-1","fields":[{"label":"t3_thread","value":"t3code://threads/fictional/id"}]}' --profile ente-operator --json
|
|
1027
1031
|
```
|
|
1028
1032
|
|
|
1029
|
-
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
|
|
1033
|
+
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`; 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.
|
|
1030
1034
|
|
|
1031
1035
|
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`.
|
|
1032
1036
|
|