@lotics/cli 0.295.3 → 0.296.0

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.
@@ -186,6 +186,21 @@ backfilled, and null clears it. A select's or a member field's default is an ARR
186
186
  field holds one (`["Unread"]`, never `"Unread"`) — option names in `add_fields`, where the keys do
187
187
  not exist yet, and option keys (`opt_…`) in `update_fields`.
188
188
 
189
+ `default_from` (text, number, date, boolean, select, select_member, select_record_link) copies a
190
+ value onto a NEW record off the row one of its links names: `{ link_field_key, field_key,
191
+ options? }`, the link of cardinality `"one"` and not itself copied, the source a field of the linked
192
+ table of this field's own type, date format and notation (a link one to the same table) — a formula,
193
+ a rollup, or a lookup through a one-row link (or an ordered one) read as the value it holds; several
194
+ values only into a field holding several; never into a date `derive_from` stamps. It is
195
+ copied when the record is made and never re-read, so a later change to the source leaves the record
196
+ alone (a line's price as it was when the line was booked). A value the write states wins, then the
197
+ copy, then `default_value`. A select source's `options` maps its option keys onto this field's
198
+ (`update_fields`, once the keys exist); an option left unmapped is not copied. null clears it. Deleting the link a
199
+ copy reads through, or the field it copies off, is refused even with `force` until the copy is
200
+ cleared; the dependency report lists the copying field as `copy_link` or `copy_source` under
201
+ `requires_manual_action`. Any other schema change that leaves a copy unable to stand — its source
202
+ retyped, its link made to hold many — is refused, naming the copy.
203
+
189
204
  ### Computed fields
190
205
 
191
206
  Read-only in records. `formula` is one key holding an object; a rollup's and a lookup's properties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.295.3",
3
+ "version": "0.296.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {