omgbase 0.24.0 → 0.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 CHANGED
@@ -46,11 +46,11 @@ decisions.md 5 blocks 0s ago
46
46
  $ omg find sqlite
47
47
  b_v32ar6f decisions.md#heading[3] ADR-002 Embedded SQLite
48
48
 
49
- $ omg q 'from blocks where type == "task" && !attrs.checked'
49
+ $ omg q 'from blocks where _type == "task" && !checked'
50
50
  b_24nr0y0 README.md
51
51
  b_36p2zw1 README.md
52
52
 
53
- $ omg q 'blocks count { where type == "task" && !attrs.checked }'
53
+ $ omg q 'blocks count { where _type == "task" && !checked }'
54
54
  2
55
55
 
56
56
  $ omg outline README.md
@@ -72,7 +72,7 @@ ADR-002 Embedded SQLite
72
72
  `omg cat <path>` prints a document's exact bytes (frontmatter and all); given a block id it prints that block. Edits are structural mutations that update the file and the database together. The pipe is the changeset boundary — `--ids` emits block ids, `done -` reads them from stdin and completes them in one commit:
73
73
 
74
74
  ```console
75
- $ omg q 'from blocks where type == "task" && !attrs.checked' --ids | omg done -
75
+ $ omg q 'from blocks where _type == "task" && !checked' --ids | omg done -
76
76
  ok committed · 1 document touched
77
77
  b_24nr0y0
78
78
  b_36p2zw1
@@ -182,7 +182,7 @@ The global `--server <cmd|url>` flag runs the same command against a **remote en
182
182
  Global flags are recognized anywhere on the line: `-C <dir>`, `--repo <slug>`, `--json`, `--jsonl`, `--ids`, `--stale`, `--no-color`, `--dry-run`, `--server <cmd|url>`, `-H <header>`, `--help`/`-h`, `--version`/`-V`.
183
183
 
184
184
  - Human output (default) is colorized on a TTY; `--no-color`, `NO_COLOR`, or a pipe degrades to plain text.
185
- - Query hits (`omg q`, `omg run`) print as `<id> <path>` lines. When the query projects (`select …`), they print as an aligned table instead: a dim header row, the id first, then the path (unless the projection itself selects `path`), then the projected columns in `select` order. Strings and numbers are verbatim, an absent field is an empty cell, and a nested list/record is compact JSON clipped at 60 characters with `…`; `--jsonl` has the full values.
185
+ - Query hits (`omg q`, `omg run`) print as `<_id> <_path>` lines (the engine names are `_`-prefixed; a bare name is an authored key). When the query projects (`select …`), they print as an aligned table instead: a dim header row (`_id`, `_path`, then the projected keys), the id first, then the path (a projected `_id`/`_path` collapses onto the envelope), then the projected columns in `select` order. Strings and numbers are verbatim, an absent field is an empty cell, and a nested list/record is compact JSON clipped at 60 characters with `…`; `--jsonl` has the full values.
186
186
  - `--json` prints the library's result object verbatim as one JSON document (the same shape the MCP tools return). `--jsonl` flattens list results to one object per line; `--ids` prints bare ids/paths, one per line — pipe fuel for `omg cat -`, `omg show -`, `omg done -`.
187
187
  - `--dry-run` is global across every mutator: full validation and render, diffs printed, nothing committed.
188
188
  - Errors always go to stderr: `error[<code>]: <message>` plus any conflict payload, or the typed error object as JSON with `--json`.
@@ -1,4 +1,4 @@
1
1
  {
2
- "commit": "8bb4888",
3
- "built": "2026-10-18T02:05:10.622Z"
2
+ "commit": "fd89bb5",
3
+ "built": "2026-10-19T05:50:09.952Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omgbase",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Open Markdown Graph Base — CLI",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,9 +45,9 @@
45
45
  "omg": "./dist/src/main.js"
46
46
  },
47
47
  "dependencies": {
48
- "@omgbase/core": "^0.27.0",
48
+ "@omgbase/core": "^0.28.0",
49
49
  "@omgbase/fs-adapter": "^0.2.0",
50
- "@omgbase/sync": "^0.5.20",
50
+ "@omgbase/sync": "^0.6.0",
51
51
  "yaml": "^2.9.0"
52
52
  },
53
53
  "devDependencies": {