ente-cli 0.4.123 → 0.4.124

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
@@ -992,7 +992,7 @@ Entity exact-value lookup: `ente entity list --field "External ID=Case=ID"`. The
992
992
 
993
993
  Activity field lookup uses the server index: `ente activity list --type task --field "t3_thread=t3code://threads/<env>/<id>" --profile ente-operator`. For the credential's own agent queue, use `ente agent tasks list --field "t3_thread=t3code://threads/<env>/<id>" --profile ente-operator`. `--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.
994
994
 
995
- Activity definitions are shared across a space. Writers create definitions implicitly through the compatibility `attributes` write. Before first verified readiness, legacy attributes retain their existing write behavior; incompatible provisional projections defer and keep lookup closed. After first readiness, existing definitions validate subsequent values, including during later re-verification. Invalid typed writes reject atomically with `ACTIVITY_FIELD_VALUE_INVALID` (`FAILED_PRECONDITION`); vocabulary/byte caps use `ACTIVITY_FIELD_LIMIT_EXCEEDED` (`LIMIT_EXCEEDED`). Empty or whitespace-only strings clear a canonical value while preserving the legacy cell. A string in a multi-select field is one literal selection, never delimiter-split, and adds its option implicitly within existing limits. Unknown single-select options still reject. Case/separator aliases share a definition; the compatibility attributes view retains the original stored key spelling. Historical select options remain valid even if the current board omits them. See `docs/activity-fields-migration.md` for the bounds and bridge procedure. Types include text, JSON, email, phone, URL, date, postal-address, salutation, job-title, number, boolean, single-select and multi-select. Text and JSON match the stored string exactly, including case and whitespace. All other types match their normalized value; `Foo@X.com` finds `foo@x.com`. JSON lookup values use serialized JSON, so a JSON string is written as `"value"`.
995
+ Activity definitions are shared across a space. Writers create definitions implicitly through the compatibility `attributes` write. Before first verified readiness, legacy attributes retain their existing write behavior; incompatible provisional projections defer and keep lookup closed. After first readiness, existing definitions validate subsequent values, including during later re-verification. Invalid typed writes reject atomically with `ACTIVITY_FIELD_VALUE_INVALID` (`FAILED_PRECONDITION`); vocabulary/byte caps use `ACTIVITY_FIELD_LIMIT_EXCEEDED` (`LIMIT_EXCEEDED`). Empty or whitespace-only strings clear a canonical value while preserving the legacy cell. A string in a multi-select field is one literal selection, never delimiter-split, and adds its option implicitly within existing limits. Unknown single-select values also add an option implicitly for every writer within the same limits. This does not create a Kanban column. Renaming, merging and removing options remain manager-only. Case/separator aliases share a definition; the compatibility attributes view retains the original stored key spelling. Historical select options remain valid even if the current board omits them. See `docs/activity-fields-migration.md` for the bounds and bridge procedure. Types include text, JSON, email, phone, URL, date, postal-address, salutation, job-title, number, boolean, single-select and multi-select. Text and JSON match the stored string exactly, including case and whitespace. All other types match their normalized value; `Foo@X.com` finds `foo@x.com`. JSON lookup values use serialized JSON, so a JSON string is written as `"value"`.
996
996
 
997
997
  REST `GET /api/external/activities` and `/api/external/tasks` accept URL-encoded JSON `field={"label":"t3_thread","value":"Case=ID"}`, or an array for AND. MCP `listActivities`/`activities_list`, `listTasks`/`tasks_list`, and `agent_tasks` (`operation: "list"`) use the same field shape. List/get results include `fields` (value ID, definition ID, label, type and stored string) once verification completes. `fieldIndexReady: false` withholds this array before verification. Indexed lookups fail with `ACTIVITY_FIELD_INDEX_NOT_READY` until the deployment's backfill is verified; do not replace this failure with a client scan. Candidate and output budgets fail explicitly instead of returning an incomplete field result. Legacy `attributes` remains the read/write compatibility view through phase 4.
998
998
 
package/dist/cli.mjs CHANGED
@@ -27855,13 +27855,20 @@ var activityFieldFiltersSchema = external_exports.union([activityFieldFilterSche
27855
27855
  var activityFieldFilterValidator = v.object({ label: v.string(), value: v.string() });
27856
27856
  var activityFieldFiltersValidator = v.union(activityFieldFilterValidator, v.array(activityFieldFilterValidator));
27857
27857
  var activityFieldReadFields = { fields: v.optional(v.array(externalActivityFieldValueValidator)), fieldIndexReady: v.optional(v.boolean()), fieldConsumerReady: v.optional(v.boolean()) };
27858
+ var labelEvidenceValidator = v.object({ label: v.string(), count: v.number(), at: v.number(), id: v.string() });
27858
27859
  var activityFieldPlanSummaryValidator = v.object({
27859
- variants: v.array(v.object({ label: v.string(), count: v.number(), at: v.number(), id: v.string() })),
27860
+ variants: v.array(labelEvidenceValidator),
27860
27861
  types: v.array(activityFieldTypeValidator),
27861
27862
  textBoolean: v.boolean(),
27862
27863
  textNumeric: v.boolean(),
27864
+ // Retained for saved pre-v3 planning rows; new generations use the separate votes below.
27863
27865
  configured: v.optional(v.object({ label: v.string(), type: activityFieldTypeValidator, at: v.number(), id: v.string() })),
27864
- options: v.optional(v.array(activityFieldOptionValidator))
27866
+ configuredLabels: v.optional(v.array(labelEvidenceValidator)),
27867
+ configuredTypes: v.optional(v.array(activityFieldTypeValidator)),
27868
+ canonical: v.optional(v.object({ label: v.string(), type: activityFieldTypeValidator })),
27869
+ existing: v.optional(v.object({ label: v.string(), type: activityFieldTypeValidator })),
27870
+ options: v.optional(v.array(activityFieldOptionValidator)),
27871
+ resolvedLabel: v.optional(v.string())
27865
27872
  });
27866
27873
  var MAX_ACTIVITY_FIELD_DEFINITION_READ_BYTES = 6 * 1024 * 1024;
27867
27874
 
@@ -28698,7 +28705,7 @@ function parseOperationAttrs(operation, pairs) {
28698
28705
  }
28699
28706
 
28700
28707
  // ente/version.ts
28701
- var VERSION = "0.4.123";
28708
+ var VERSION = "0.4.124";
28702
28709
 
28703
28710
  // ente/branding.ts
28704
28711
  var NPM_REGISTRY = "https://registry.npmjs.org";