@lotics/cli 0.318.39 → 0.318.41

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.
@@ -11,6 +11,7 @@ export interface AppQueryFilterCondition {
11
11
  operator: string;
12
12
  value?: unknown;
13
13
  unit_option?: string;
14
+ ignore_accents?: boolean;
14
15
  }
15
16
  /** A boolean group of filter nodes (wire shape — recursive). */
16
17
  export interface AppQueryFilterGroup {
@@ -108,7 +108,10 @@ signature, an inspection's findings) is its own table with those fields, made by
108
108
 
109
109
  Formulas and rollups are computed and STORED when a row is written, and one that reads another recomputes with it. A
110
110
  rollup over a formula over a formula is paid three times on every touch, and again for every row upstream of it.
111
- **Depth costs more than row count**: chain depth is yours to keep down, row scanning is the platform's.
111
+ **Depth costs more than row count**: chain depth is yours to keep down, row scanning is the platform's. A figure that
112
+ reads itself back through its rows' links (a task's total counting a subtask that lists the task) never settles: the
113
+ write that closes the loop is refused, naming the row and the link, and so is a later write reaching it until a link is
114
+ removed. A figure read through a chain of rows settles up to 256 rows deep in one write.
112
115
 
113
116
  ## Fields
114
117
 
package/docs/filters.md CHANGED
@@ -55,16 +55,17 @@ The depth a filter may nest is the depth you write: the groups an operator stand
55
55
 
56
56
  | Operators | Value |
57
57
  |---|---|
58
- | `equals`, `not_equals`, `contains`, `does_not_contain`, `starts_with`, `ends_with` | a string |
59
- | `is_any_of`, `is_none_of` | a string array — exact, case-insensitive |
60
- | `contains_any_of` | a string array — the cell contains any of them, case- and accent-insensitive |
58
+ | `equals`, `not_equals` | a string — ignores case, keeps accents |
59
+ | `contains`, `does_not_contain`, `starts_with`, `ends_with` | a string — ignore case, keep accents |
60
+ | `is_any_of`, `is_none_of` | a string array — ignore case, keep accents |
61
+ | `contains_any_of` | a string array — the cell contains any of them, ignoring case, keeping accents |
61
62
  | `is_empty`, `is_not_empty` | none |
62
63
 
63
64
  ```
64
65
  { "node_type": "condition", "field_key": "title", "operator": "is_any_of", "value": ["hello", "world"] }
65
66
  ```
66
67
 
67
- A text value is a string, never an array; `is_any_of` matches several. Its array has no length cap —
68
+ `contains "cá"` finds `Cá hồi`, not `Cà chua`. Keeping accents reads `hòa` and `hoà` as one spelling. A condition with `ignore_accents: true` makes `contains`, `does_not_contain`, `starts_with`, `ends_with` and `contains_any_of` ignore accents too: `ca` and `cá` find both, and so on a record link's `contains`, `not_contains`, `starts_with` and `ends_with`. Any other operator refuses it. A text value is a string, never an array; `is_any_of` matches several. Its array has no length cap —
68
69
  pass the whole list in one condition rather than splitting it across calls.
69
70
 
70
71
  ## Number
@@ -28,6 +28,9 @@ above. A provider's refusal carries the provider's own words.
28
28
  - Example: { "table_id": "...", "group_by": "status", "filters": {...}, "aggregations": [{ "operation": "filled", "field_key": "created_on" }, { "operation": "sum", "field_key": "amount" }] } Restrict the period through `filters` on a date field rather than grouping by that date — a raw date/datetime groups per distinct stored value.
29
29
  - Filters: Operators: `is`, `is_not` on a field holding one value; `is_any_of`, `is_none_of` on text, number, date, select, member and link fields; `lt`, `lte`, `gt`, `gte` on number and date; `is_empty`, `is_not_empty` on every field but yes/no.
30
30
  - A date is "YYYY-MM-DD" for that whole day.
31
+ - On text, `contains`, `starts_with` and `ends_with` ignore case and keep accents: `cá` finds `Cá hồi`, not `Cà chua`.
32
+ - `ignore_accents: true` makes `ca` and `cá` find both.
33
+ - `equals` and `is_any_of` keep accents.
31
34
  - `docs path="filters"`. (chat, MCP, CLI)
32
35
 
33
36
  **Inputs**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.318.39",
3
+ "version": "0.318.41",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {