exponential-cli 1.22.0 → 1.25.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.
- package/README.md +67 -0
- package/dist/index.js +1013 -130
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -345,6 +345,73 @@ exponential features stories update --id <story-cuid> --i-want "..." [--scope <s
|
|
|
345
345
|
exponential features stories rm --id <story-cuid>
|
|
346
346
|
```
|
|
347
347
|
|
|
348
|
+
### Pages
|
|
349
|
+
|
|
350
|
+
Knowledge pages (strategy, vision, PRDs, specs). Reads are Markdown-only by default (the
|
|
351
|
+
editor's document is never sent) and every write lands in the page's history.
|
|
352
|
+
|
|
353
|
+
```bash
|
|
354
|
+
# Find pages by meaning (semantic hits first, then title/body text matches)
|
|
355
|
+
exponential pages search "how we price enterprise" --workspace acme
|
|
356
|
+
|
|
357
|
+
# Read a page: Markdown body only. --outline shows its headings; --section reads one part.
|
|
358
|
+
exponential pages get <page-id>
|
|
359
|
+
exponential pages get <page-id> --outline
|
|
360
|
+
exponential pages get <page-id> --section "Goals"
|
|
361
|
+
|
|
362
|
+
# Write with a reason, a base version (so a newer edit is a CONFLICT, not an overwrite),
|
|
363
|
+
# and provenance: where the facts come from and when they were true
|
|
364
|
+
exponential pages update --id <page-id> --body-file strategy.md --base-version 7 \
|
|
365
|
+
--note "Q4 pricing decided 2026-10-21" --source "https://…/board-deck" --as-of 2026-10-21
|
|
366
|
+
|
|
367
|
+
# History: who changed what and why, the diff each revision made, and a way back
|
|
368
|
+
exponential pages history <page-id>
|
|
369
|
+
exponential pages diff <page-id> # latest revision vs the one before
|
|
370
|
+
exponential pages diff <page-id> --revision <rev-id> --against current
|
|
371
|
+
exponential pages restore <page-id> --revision <rev-id> --note "Undo the agent rewrite"
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
`exponential search "<text>" --semantic --workspace acme` runs the same search by meaning
|
|
375
|
+
across meetings, resources, documents and pages (`--types page` to narrow).
|
|
376
|
+
|
|
377
|
+
### Databases — typed tables inside pages
|
|
378
|
+
|
|
379
|
+
A database is a block in a page's body, owned by that page; each row is a page of its own
|
|
380
|
+
(body, comments, history) hidden from the Pages list. **Writes are typed**: every value is
|
|
381
|
+
checked against its property and a bad one is refused naming the property. Not a work
|
|
382
|
+
tracker — use tickets, actions and projects for work.
|
|
383
|
+
|
|
384
|
+
```bash
|
|
385
|
+
# Create one on a page: it gets a title property and its block is placed at the end of the body
|
|
386
|
+
exponential databases create --page <page-id> --name Metrics
|
|
387
|
+
|
|
388
|
+
# Schema: types are text, number, select, multiSelect, date, checkbox, url, person,
|
|
389
|
+
# createdTime, lastEditedTime, createdBy (title exists from creation; relation arrives with V3)
|
|
390
|
+
exponential databases properties add <db-id> --name Status --type select \
|
|
391
|
+
--options "Not measured,Instrumenting,Tracked:green"
|
|
392
|
+
exponential databases properties add <db-id> --name Owner --type person
|
|
393
|
+
exponential databases properties update <db-id> Status --name Stage # ids stay; no row is rewritten
|
|
394
|
+
exponential databases properties reorder <db-id> <id1> <id2> <id3>
|
|
395
|
+
|
|
396
|
+
# Rows: property by name or id; a select by option name; lists comma-separated; checkboxes yes/no
|
|
397
|
+
exponential databases rows add <db-id> --set Name="Alert latency" --set Status=Tracked -n "From the CLEAR page"
|
|
398
|
+
exponential databases rows update <row-id> --set Status=Instrumenting --clear Owner
|
|
399
|
+
exponential databases rows list <db-id> # through the saved view
|
|
400
|
+
exponential databases rows list <db-id> --filter "Status=Tracked" --filter "Score>5" --sort Score:desc
|
|
401
|
+
exponential databases rows list <db-id> --filter "Status in Tracked,Instrumenting"
|
|
402
|
+
|
|
403
|
+
# The page shows the table; a row is a page
|
|
404
|
+
exponential pages get <page-id>
|
|
405
|
+
exponential pages get <row-id> # its property header, then its prose
|
|
406
|
+
exponential databases get <db-id>
|
|
407
|
+
exponential databases list --page <page-id> # detached ones too
|
|
408
|
+
exponential databases delete <db-id> --yes # rows go with it
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
Removing the block from the page **detaches** the database (its rows wait 30 days for the
|
|
412
|
+
purge); writing the marker line back re-attaches it. Rows follow the holding page for access,
|
|
413
|
+
placement and publishing — `pages move`/`publish` on a row page are refused.
|
|
414
|
+
|
|
348
415
|
### Workspaces
|
|
349
416
|
|
|
350
417
|
```bash
|