@lotics/cli 0.297.2 → 0.298.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.
package/docs/design.md CHANGED
@@ -62,9 +62,10 @@ then check again. A note refuses nothing.
62
62
  | Opened to be worked on | the record's `sections`, in the order the work reaches them — `at` where it moves in steps | `model/record-page` |
63
63
  | Rows that each belong to another row | a `rows` block on that row's record | `model/blocks` |
64
64
  | Moving through a status | an act per move, `status.history`, and the register's `readings` | `model/acts`, `model/status`, `model/readings` |
65
+ | Steps people drop out of between | a `funnel` block on the record whose child rows count them | `model/reading-blocks` |
65
66
  | Counted over a period | the register's `tabs` over one `period`; an `open` tab's `where` reads only what was true at the period's end, never a status the row moves on from | `model/tabs` |
66
67
  | Papers a case gathers | a rows block with `expect`; the papers made, an act's `templates` | `model/blocks`, `model/papers-and-recordings` |
67
- | Papers to read | an act's `intake` with `fills` | `model/papers-and-recordings` |
68
+ | Papers an agent reads, where the owner asked for one | an act's `intake` with `fills` | `model/papers-and-recordings` |
68
69
  | Calls and visits | an act's `record` | `model/papers-and-recordings` |
69
70
  | Documents covering lines | a rows block with `under` | `model/blocks` |
70
71
  | Rows on file a record takes in | a rows block with `pick` | `model/blocks` |
@@ -174,6 +175,15 @@ A `pivot` reads on a dashboard. A dashboard app (`dashboard`) answers one owner'
174
175
  reading windowed by the period the reader picks, and a `list` reading hands over the rows to act on. A
175
176
  record's `metric`, `breakdown` and `trend` blocks read its own child rows. Worked: `examples/approval`, `examples/dashboard`.
176
177
 
178
+ #### Funnel
179
+
180
+ A `funnel` block reads a record's child rows as steps, each a number column summed over them — a week's channels
181
+ from impressions to bookings, an order's lines from ordered to shipped. It states how much of the first step
182
+ each later one keeps, the share lost between two neighbours, and the last over the first. State two to eight
183
+ `steps` in one unit; where the path turns — reach, then conversion — state two blocks, so the second's bars are
184
+ read over its own first step. A step no row holds a number in reads as not measured, so leave a count empty
185
+ rather than typing a zero nobody measured.
186
+
177
187
  ### The record
178
188
 
179
189
  #### Sections
@@ -214,6 +224,10 @@ them, and each is filed as the line of its kind in the child the record `expect`
214
224
  they state into the record's fields — a single link as a row the agent finds among those the app reads of its
215
225
  entity — shown before it is saved. Worked: `examples/case`.
216
226
 
227
+ An agent act — an `intake`, a `record`'s `fills` — spends a run on every press and writes what the record
228
+ says, so it is stated only where the owner asked for an agent to do that job; otherwise a paper brought is its
229
+ line of the `expect` block, and a person types what it states.
230
+
217
231
  #### Under
218
232
 
219
233
  A rows block with `under`: the documents that cover lines (an invoice over its fee lines) stand as headings
@@ -228,7 +242,7 @@ what the make does.
228
242
 
229
243
  An act's `record`: the press records a call, visit or meeting — its audio, its transcript, its screen where
230
244
  captured — and files it as a new row of the record's `timeline` child (`into`), stamped `at` and `by`;
231
- `fills` lets an agent fill that row's fields from the transcript. Worked: `examples/calls`.
245
+ `fills` lets an agent fill that row's fields from the transcript, where the owner asked for one. Worked: `examples/calls`.
232
246
 
233
247
  ## The visual bar
234
248
 
package/docs/workflows.md CHANGED
@@ -47,7 +47,7 @@ const open = await query_records({
47
47
  await send_email({
48
48
  to: "team@example.com",
49
49
  subject: "Weekly digest",
50
- body: `${size(open.records)} tickets open as of ${formatDate(now(), "YYYY-MM-DD")}.`,
50
+ body: `${size(open.records)} tickets open as of ${formatDate(now(), "yyyy-MM-dd")}.`,
51
51
  });
52
52
  ```
53
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.297.2",
3
+ "version": "0.298.1",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {