@lotics/cli 0.321.5 → 0.321.7

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/docs/design.md CHANGED
@@ -15,7 +15,7 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
15
15
  - What needs attention leads the row as a `Check`: a derived flag is a yes/no formula and a `Check` over it, in the warning
16
16
  tone on the row's line (in the danger tone where its `on` refuses an act the row offers); every other yes reads in the
17
17
  success tone. `records.mark` is a category's own mark, a select whose options carry a brand or glyph. A Check is stated
18
- once, on the entity it is true of: every List over those rows offers a chip with how many hold it, and its `on` may name an Act of a record that lists them whole, through a List whose link is paired; the act holds those rows and the record first, so it cannot also send mail, notify, run an agent or wait in its own `workflow` — start that work from a workflow the act starts after.
18
+ once, on the entity it is true of: every List over those rows offers it in one filter of Checks, with how many hold it, and its `on` may name an Act of a record that lists them whole, through a List whose link is paired; the act holds those rows and the record first, so it cannot also send mail, notify, run an agent or wait in its own `workflow` — start that work from a workflow the act starts after.
19
19
  - A list's columns: the name and its lead, the status, then the columns the job reads on every row, as many as fit a desk. Each
20
20
  fact once: a column the row draws itself stands once. A generated number (`autonumber`) as the title yields
21
21
  the row's name to the subtitle's first part and stands first on its line.
@@ -133,9 +133,9 @@ or its entity is read-only (`edit: false`); a stepped status never is, since Act
133
133
  - `sort` (Sort key | list of Sort key (at least one)): The rows' order
134
134
  - `layout` (layout): A word, or an object stating one layout with its data
135
135
  - `remove` (boolean): Rows offer a Delete
136
- - `search` (list of alias (at least one)): Fields the search box reads
136
+ - `search` (list of alias (at least one) | `false`): Fields the search box reads
137
137
  - `where` (narrowing): A fixed narrowing on the server, for every reader
138
- - `group` (alias): A field the rows stand grouped by
138
+ - `group` (alias | `false`): A field the rows stand grouped by, a gantt drawing the groups as its lanes
139
139
  - `expect` (alias | Expect): What a record should hold, shown before it does
140
140
  - `opens` (narrowing): The view the register opens on, a chip the reader may take away
141
141
 
@@ -125,7 +125,7 @@ The `html` and `email` types print a raw value through a helper in the template'
125
125
 
126
126
  A field can also print as a **QR code** or a **Code 128 barcode** (a picture a phone's camera or a scanner reads back): `{{qr link}}` or `{{code128 position 6}}` in html (never email: mail clients do not show the picture, and a save refuses it), `{{position | qr}}` or `{{position | code128:6}}` as a whole Excel cell (its row grows to the picture), `{{IMAGE qr(position)}}` or `{{IMAGE code128(position, 6)}}` in Word. The optional number is the picture's width in centimetres. Without it the width follows the value's length — each module prints 0.5 mm in a QR code and 0.33 mm in a barcode, so a longer value prints wider; a width that would shrink a module below what a scanner reads (0.3 mm, 0.19 mm) is refused, naming the least width that scans. An empty field draws nothing.
127
127
 
128
- A record's **photos** (a files field, an act's paper hands each as a file cell `{id, name, mime, url}`) print too, and only for a file whoever makes the paper may read — the same rule the file proxy applies; any other file is never drawn. html: `{{#each photos}}<img src="{{url}}">{{/each}}` (only the data's file cells are inlined; a url typed into a text field stays a link). Word: `{{IMAGE picture(cover, 8)}}`, and `{{FOR p IN photos}}{{IMAGE picture($p, 8)}}{{END-FOR p}}` for several. Excel: `{{cover | picture:6}}` as the whole cell, or `{{this | picture}}` inside `{{#each photos}}` (each row grows to its picture). The number is the width in centimetres (8, or 6 in Excel, by default). `picture` takes one image file: a list (loop over it), a file that is no image or one that cannot be read is refused by name. Photos are embedded at most 1600 pixels across, about 200 dpi at 20 cm.
128
+ A record's **photos** (a files field, or a lookup of one through its links, an act's paper hands each as a file cell `{id, name, mime, url}`) print too, and only for a file whoever makes the paper may read — the same rule the file proxy applies; any other file is never drawn. html: `{{#each photos}}<img src="{{url}}">{{/each}}` (only the data's file cells are inlined; a url typed into a text field stays a link). Word: `{{IMAGE picture(cover, 8)}}`, and `{{FOR p IN photos}}{{IMAGE picture($p, 8)}}{{END-FOR p}}` for several. Excel: `{{cover | picture:6}}` as the whole cell, or `{{this | picture}}` inside `{{#each photos}}` (each row grows to its picture). The number is the width in centimetres (8, or 6 in Excel, by default). `picture` takes one image file: a list (loop over it), a file that is no image or one that cannot be read is refused by name. Photos are embedded at most 1600 pixels across, about 200 dpi at 20 cm.
129
129
 
130
130
  A Word command (`{{ … }}`) reads the data and calls, by name, a Word helper (`picture`, `qr`, `code128`) or one of these text
131
131
  and number functions: `trim`, `trimStart`, `trimEnd`, `lower`, `upper`, `capitalize`, `replace`, `replaceAll`, `removeChars`, `removeSpaces`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.321.5",
3
+ "version": "0.321.7",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {