ente-cli 0.4.133 → 0.4.135
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/dist/SKILL.md +25 -0
- package/dist/cli.mjs +2873 -2715
- package/dist/cli.mjs.map +4 -4
- package/package.json +1 -1
package/dist/SKILL.md
CHANGED
|
@@ -1037,3 +1037,28 @@ Canvas HTML panel commands negotiate `spaceOwned: true` for boards without entit
|
|
|
1037
1037
|
CLI list upsert planning reads canonical field IDs through the list's bindings, including after a display-label change. List JSON output contains `fields` only. JSONL import rows use `{"title":"…","fields":[{"label":"repo","value":"stable-key"}],"content":"…markdown…"}`; `fieldId` may replace `label`. Columns coerce values and the full file is validated before writing. Fields omitted from a row stay unchanged.
|
|
1038
1038
|
|
|
1039
1039
|
Activity `attributes` input is rejected unconditionally with `ACTIVITY_ATTRIBUTES_RETIRED`. Run `ente update`, then use `--field Priority=high`. Current task/list `--attr` remains a CLI shorthand that sends canonical fields. REST/MCP: replace `"attributes": {"Priority":"high"}` with `"fields": [{"label":"Priority","value":"high"}]`. Native writers use `activityFields.setValues` or `activityFields.setCell`; `value: null` removes a value. There is no compatibility read view or retirement policy. Compatibility level 2 blocks old CLIs before imports can create rows. See `docs/activity-fields.md`.
|
|
1040
|
+
|
|
1041
|
+
Activity list field replacements preserve submitted order. Reads return one `fields` entry per value in that order. Merging appends source values after target values and retains the first occurrence.
|
|
1042
|
+
|
|
1043
|
+
Activity field definitions and layouts:
|
|
1044
|
+
- `ente activity fields get --space Personal --activity-type task --json` reads definitions, ordered `fieldIds`, `hiddenFieldIds`, and `canManage`.
|
|
1045
|
+
- `ente activity fields configure --space Personal --input '{"command":"create","label":"next","type":"text"}'` creates an empty plain-text activity definition. Use the same command with labels `gmail_thread` and `whatsapp_chat` to create those fields.
|
|
1046
|
+
- `ente activity fields layout --space Personal --activity-type task --field next --field gmail_thread --field whatsapp_chat --show-in-lists next` makes next first; omitted definitions follow. Repeat `--hide <label-or-id>` to hide fields without removing values.
|
|
1047
|
+
- `configure --input` accepts exact REST `create`, `setLayout` and reviewed `copyLayout` commands. `get --input` accepts `get` and `previewCopy`. Copy uses exact source/target fingerprints; review again after any change, and pass `confirmOverwrite: true` for an existing destination. Type conflicts are returned and skipped.
|
|
1048
|
+
- These are space configuration APIs: generic read/write scopes apply, writes also require owner/admin membership (Personal owner for Personal). Task-only sync keys and `agent:write` alone do not authorize them. Agent grants and live key policy still cap the space. Never widen permissions to make a command pass.
|
|
1049
|
+
|
|
1050
|
+
`setLayout` requires `fieldIds`, `hiddenFieldIds` and `listFieldIds`. Repeat
|
|
1051
|
+
`--show-in-lists <label-or-id>` for ordered secondary task details; list display
|
|
1052
|
+
follows layout order and is independent of editor visibility. Authorized task
|
|
1053
|
+
reads include optional `listFields: [{fieldId,label,type,values:string[]}]`.
|
|
1054
|
+
`next` is only a convention; it supersedes the earlier Personal waits_on setup.
|
|
1055
|
+
|
|
1056
|
+
Activity layouts order and hide existing values; they never create empty editor
|
|
1057
|
+
rows. Definitions selected for list previews lead add-field suggestions.
|
|
1058
|
+
Label and value pairs display inline by default, including full-screen and
|
|
1059
|
+
Personal tasks. Prose wraps and fades; identifiers and links stay on one line.
|
|
1060
|
+
The layout editor offers “One field per line” per space and activity type.
|
|
1061
|
+
`setLayout` accepts optional `perFieldLine` (omitted means false); reads return
|
|
1062
|
+
its effective boolean and layout copies preserve it. Native tools, REST, MCP,
|
|
1063
|
+
WebMCP and CLI configure share this contract. The CLI layout shortcut accepts
|
|
1064
|
+
`--per-field-line`; omit it to restore inline display.
|