ente-cli 0.4.134 → 0.4.136

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 CHANGED
@@ -1052,3 +1052,13 @@ Activity field definitions and layouts:
1052
1052
  follows layout order and is independent of editor visibility. Authorized task
1053
1053
  reads include optional `listFields: [{fieldId,label,type,values:string[]}]`.
1054
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.
package/dist/cli.mjs CHANGED
@@ -28719,7 +28719,7 @@ function parseOperationFieldPairs(operation, pairs) {
28719
28719
  }
28720
28720
 
28721
28721
  // ente/version.ts
28722
- var VERSION = "0.4.134";
28722
+ var VERSION = "0.4.136";
28723
28723
 
28724
28724
  // ente/branding.ts
28725
28725
  var NPM_REGISTRY = "https://registry.npmjs.org";
@@ -41021,10 +41021,10 @@ var activityFieldReadInput = v2.union(
41021
41021
  );
41022
41022
  var activityFieldConfigureInput = v2.union(
41023
41023
  v2.object({ command: v2.literal("create"), spaceId: v2.string(), label: v2.string(), type: activityFieldTypeValidator, options: v2.optional(v2.array(activityFieldOptionValidator)) }),
41024
- v2.object({ command: v2.literal("setLayout"), ...selector, fieldIds: v2.array(v2.string()), hiddenFieldIds: v2.array(v2.string()), listFieldIds: v2.array(v2.string()) }),
41024
+ v2.object({ command: v2.literal("setLayout"), ...selector, fieldIds: v2.array(v2.string()), hiddenFieldIds: v2.array(v2.string()), listFieldIds: v2.array(v2.string()), perFieldLine: v2.optional(v2.boolean()) }),
41025
41025
  v2.object({ command: v2.literal("copyLayout"), ...copySelector, sourceFingerprint: v2.string(), targetFingerprint: v2.string(), confirmOverwrite: v2.boolean() })
41026
41026
  );
41027
- var activityLayoutDto = v2.union(v2.null(), v2.object({ fieldIds: v2.array(v2.id("fields")), hiddenFieldIds: v2.array(v2.id("fields")), listFieldIds: v2.array(v2.id("fields")) }));
41027
+ var activityLayoutDto = v2.union(v2.null(), v2.object({ fieldIds: v2.array(v2.id("fields")), hiddenFieldIds: v2.array(v2.id("fields")), listFieldIds: v2.array(v2.id("fields")), perFieldLine: v2.optional(v2.boolean()) }));
41028
41028
  var conflict = v2.object({ label: v2.string(), sourceType: activityFieldTypeValidator, targetType: activityFieldTypeValidator });
41029
41029
  var activityFieldReadResult = v2.union(
41030
41030
  v2.object({ command: v2.literal("get"), definitions: v2.array(v2.object({ fieldId: v2.id("fields"), label: v2.string(), labelKey: v2.string(), type: activityFieldTypeValidator, options: v2.optional(v2.array(activityFieldOptionValidator)) })), layout: activityLayoutDto, canManage: v2.boolean() }),
@@ -41048,7 +41048,7 @@ function definition2(name4) {
41048
41048
  aliases: [...operationAliases(activityFieldAliases, name4), { name: read ? "ente_activity_fields_get" : "ente_activity_fields_configure", profile: "mounted-view" }],
41049
41049
  actor: "agent",
41050
41050
  title: read ? "Read activity fields and layouts" : "Configure activity fields and layouts",
41051
- description: read ? "Read space activity definitions and the ordered field layout for one activity type, or preview copying a layout. Hidden fields retain their values. Requires generic read scope; task-only credentials are excluded." : "Create an empty typed activity field, replace a per-space/activity-type field layout (fieldIds order; hiddenFieldIds controls editor visibility; listFieldIds enables list previews in fieldIds order), or copy a reviewed layout with exact source/target fingerprints. Hidden fields retain values and stay readable by API. Requires generic write scope and space owner/admin; Personal requires its owner. Task-only credentials are excluded. Copy fails if either reviewed layout changed; confirmOverwrite is required for an existing destination.",
41051
+ description: read ? "Read space activity definitions and the ordered field layout for one activity type, or preview copying a layout. Hidden fields retain their values. Requires generic read scope; task-only credentials are excluded." : "Create an empty typed activity field, replace a per-space/activity-type field layout (fieldIds order; hiddenFieldIds controls editor visibility; listFieldIds enables list previews in fieldIds order; perFieldLine opts into one field per line, default false), or copy a reviewed layout with exact source/target fingerprints. Hidden fields retain values and stay readable by API. Requires generic write scope and space owner/admin; Personal requires its owner. Task-only credentials are excluded. Copy fails if either reviewed layout changed; confirmOverwrite is required for an existing destination.",
41052
41052
  inputSchema: operationInputObjectSchema(operationResultSchema(read ? activityFieldReadInput : activityFieldConfigureInput)),
41053
41053
  resultSchema: resultSchema3,
41054
41054
  outputSchema: operationDataOutputSchema(resultSchema3),
@@ -41126,6 +41126,7 @@ var ActivityFieldsLayout = class extends ProfileCommand {
41126
41126
  activityType = options_exports.String("--activity-type", "task");
41127
41127
  fields = options_exports.Array("--field", []);
41128
41128
  hidden = options_exports.Array("--hide", []);
41129
+ perFieldLine = options_exports.Boolean("--per-field-line", false);
41129
41130
  listed = options_exports.Array("--show-in-lists", []);
41130
41131
  async run() {
41131
41132
  const request = parseActivityFieldRequest("getActivityFields", activityFieldReadInput, { command: "get", spaceId: this.space, activityType: this.activityType });
@@ -41140,7 +41141,7 @@ var ActivityFieldsLayout = class extends ProfileCommand {
41140
41141
  };
41141
41142
  const fieldIds = this.fields.map(resolve2), hiddenFieldIds = this.hidden.map(resolve2), listFieldIds = this.listed.map(resolve2);
41142
41143
  for (const hidden of [...hiddenFieldIds, ...listFieldIds]) if (!fieldIds.includes(hidden)) fieldIds.push(hidden);
41143
- const input2 = parseActivityFieldRequest("configureActivityFields", activityFieldConfigureInput, { command: "setLayout", spaceId: spaceId2, activityType: this.activityType, fieldIds, hiddenFieldIds, listFieldIds });
41144
+ const input2 = parseActivityFieldRequest("configureActivityFields", activityFieldConfigureInput, { command: "setLayout", spaceId: spaceId2, activityType: this.activityType, fieldIds, hiddenFieldIds, listFieldIds, perFieldLine: this.perFieldLine });
41144
41145
  const data = parseOperationResult("configureActivityFields", activityFieldConfigureResult, await caller.mutation(activityFieldConfigure, { input: input2 }));
41145
41146
  this.emitText({ data }, () => JSON.stringify(data, null, 2));
41146
41147
  }