@lotics/app-sdk 0.122.2 → 0.122.3

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/ai.md CHANGED
@@ -358,7 +358,7 @@ workflows (run_app_workflow):
358
358
  `?` marks an input the caller may omit, `[]` one that takes a list, a
359
359
  `select` spells out every legal value as `label=value` — **the agent sends the
360
360
  value** — and a `record_link` names the table an id must come from. Both tools
361
- take an opaque inputs object, so this listing is the only place any of it is
361
+ take an opaque object (a query's `params`, a workflow's `inputs`), so this listing is the only place any of it is
362
362
  legible.
363
363
 
364
364
  The app's own `description` heads that listing as `about:`, on both surfaces. It
@@ -369,7 +369,7 @@ Wire shapes per output column type:
369
369
  | Column type | Cell value on the wire |
370
370
  |---|---|
371
371
  | `text` | `string` |
372
- | `number` | `number` (numeric database strings are normalized server-side; a rare decimal too precise for float64 stays a string — `row.num` parses both) |
372
+ | `number` | `number` (numeric database strings are normalized server-side; a decimal with more digits than a double holds rounds to the double) |
373
373
  | `boolean` | `boolean` |
374
374
  | `date` | `"YYYY-MM-DD"` — a calendar day, no time component (a reduced-precision date field may also carry `"YYYY-MM"` or `"YYYY"`; see below) |
375
375
  | `datetime` | `"YYYY-MM-DDTHH:mm"` — workspace wall-clock, minute precision |
@@ -424,7 +424,7 @@ const { reverted, kept } = await undoRecordChange("job", recordId, entry.id);
424
424
  the call arrives, on a row their own row rule covers, and the record's lock, the table's checks
425
425
  and its write rules answer as for any save of theirs. `undoable` is `false`, and the call
426
426
  refused, for the entry that made the record, an entry that is an undo, one already put back, and
427
- a viewer who may not write the record.
427
+ a viewer who may not write the record; a record in the trash is refused until it is restored.
428
428
  The undo is an entry of its own; the answer arrives once the record's reads are read anew.
429
429
  - **Pages**: newest first, about thirty entries each; `next` is where the trail goes on —
430
430
  `undefined` at its end. A page may hold fewer entries and still say `next` where the trail it read
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/app-sdk",
3
- "version": "0.122.2",
3
+ "version": "0.122.3",
4
4
  "description": "The SDK a Lotics custom-code app reads and writes through — typed hooks over the host bridge, cell readers, mount() and AppRouter",
5
5
  "type": "module",
6
6
  "exports": {