@lotics/cli 0.312.24 → 0.313.1

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.
@@ -93,7 +93,7 @@ the screen already holds.
93
93
  | `act_<act>` | <label> — on one row of <entity>, refused where its conditions do not hold. | `record_id` — `record_ids` on an act over several rows — and what the act asks | each of `acts` that names no workflow of its own |
94
94
  | `archive_<act>` | Hands back every file of <label> on one row of <entity> as one archive. | `record_id` | an act making a set of papers (`templates`) |
95
95
  | `record_activity` | Lists one record's activity, newest first: each save with its fields before and after and who made it, and whether the caller may put it back. `next` is the `after` of the next page. | `record_id`; `after`? | every register app, unless `record.activity` is `false` |
96
- | `record_activity_undo` | Puts back one change entry of a record's activity, as the caller's own save, each field where the record still holds what the entry wrote. The fields kept are handed back with why. | `record_id`; `entry_id` | every register app, unless `record.activity` is `false` |
96
+ | `record_activity_undo` | Puts back one change entry of a record's activity, as the caller's own save, each field where the record still holds what the entry wrote. The fields kept are handed back with why. | `record_id`; `entry_id` | every register app, unless `record.activity` is `false`, where the app edits that entity |
97
97
  | `<workflow>_<book>` | The workflow of that name as one of the app's `books`, or a log of it, runs it, where its own table or page makes it differ. | that workflow's | an app stating `books` or `logs` |
98
98
 
99
99
  <!-- generated:end workflows -->
@@ -169,12 +169,14 @@ inside it. Each type takes only its own:
169
169
  - **boolean** — `default_value?` (`true` | `false`).
170
170
  - **select** — `options` `[{ name, color?, mark? }]`, `multi?`, `default_value?`. An option stated without a `color` gets one no sibling option holds.
171
171
  - **select_member** — `multi?`, `default_value?` (member ids).
172
- - **select_record_link** — `table_id`, `display_field_keys?`, `sync_both_ways?`, `cardinality?`,
173
- `paired_field_name?`, `paired_field_display_field_keys?`. Without `display_field_keys` a link shows
174
- the target's autonumber, else its first text field. `sync_both_ways: true` on an existing one-way
175
- link makes it two-way — never add a second link for that. `cardinality: "one"` marks the child
176
- side of a parent-child pair (the linked record is this one's parent); two paired sides cannot both
177
- be `"one"`. The `paired_*` keys name and label the back-reference the target gets.
172
+ - **select_record_link** — `table_id`, `sync_both_ways?`, `cardinality?`, `paired_field_name?`. A
173
+ link shows the row it names by the one field its table names its rows by — the table's
174
+ `title_field_key`, stated when the table is made or changed, or by `records.<entity>.title` in the
175
+ model; a link states no display fields of its own, and a combined name is a formula field named there.
176
+ `sync_both_ways: true` on an existing one-way link makes it two-way — never add a second link for
177
+ that. `cardinality: "one"` holds a single row, paired or not; a paired partner of a `"one"` side
178
+ lists that side's rows as its children. Two paired sides cannot both be `"one"`. `paired_field_name`
179
+ names the back-reference the target gets.
178
180
  - **files** — no properties.
179
181
  - **autonumber** — `template` (`"INV-{YEAR}-{N:4}"`; tokens `{N}`, `{N:W}` zero-padded to W,
180
182
  `{YEAR}`, `{YEAR:2}`, `{MONTH}`, `{DAY}`), or `prefix` + `padding` (1–20) for `PREFIX-0001`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.312.24",
3
+ "version": "0.313.1",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {