omgbase 0.30.0 → 0.30.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.
@@ -1,4 +1,4 @@
1
1
  {
2
- "commit": "6c51e9d7",
3
- "built": "2026-10-27T04:58:37.867Z"
2
+ "commit": "6840a009",
3
+ "built": "2026-10-28T04:33:18.342Z"
4
4
  }
@@ -15,12 +15,15 @@ function showOne(cli, ref, include) {
15
15
  if (!res)
16
16
  throw new EngineErrorLike("doc_missing", `no document ${ref}`);
17
17
  const links = docLinks(ws.store, resolved.docId, { direction: "both" });
18
- // The authored keys, merged (frontmatter + inline — the `_data` view); the
19
- // computed rows are rendered under their surface names (`_title`/`_tags`,
20
- // spec/surface §1.2, 5.0 — the store's `$title`/`$tags` keys never reach the
21
- // terminal) from the re-keyed `properties.computed` the read carries.
22
- const properties = Object.fromEntries(Object.entries(docPropertiesMerged(ws.store.db, resolved.docId)).filter(([k]) => !k.startsWith("$")));
18
+ // The authored keys, merged (frontmatter + inline — the `_data` view), then
19
+ // the computed rows under their own heading from `properties.computed`
20
+ // (`_title`/`_tags`, `spec/properties` 2.0 — the store's own keys now).
21
+ // The merged bag carries every source, so the computed keys are subtracted
22
+ // from it BY NAME rather than by sigil: through properties 1.2 a
23
+ // `!k.startsWith("$")` filter did this, and the 2.0 rename silently
24
+ // defeated it — `_title` appeared in both sections (caught by spec/cli).
23
25
  const computed = res.properties.computed ?? {};
26
+ const properties = Object.fromEntries(Object.entries(docPropertiesMerged(ws.store.db, resolved.docId)).filter(([k]) => !(k in computed)));
24
27
  const payload = { kind: "document", ...res };
25
28
  return { payload, render: () => renderDocCard(cli, res._path, properties, computed, links) };
26
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omgbase",
3
- "version": "0.30.0",
3
+ "version": "0.30.1",
4
4
  "description": "Open Markdown Graph Base — CLI",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -45,10 +45,10 @@
45
45
  "omg": "./dist/src/main.js"
46
46
  },
47
47
  "dependencies": {
48
- "@omgbase/core": "^0.33.0",
48
+ "@omgbase/core": "^0.34.0",
49
49
  "@omgbase/fs-adapter": "^0.2.0",
50
- "@omgbase/git-adapter": "^0.1.0",
51
- "@omgbase/sync": "^0.7.3",
50
+ "@omgbase/git-adapter": "^0.1.1",
51
+ "@omgbase/sync": "^0.7.4",
52
52
  "yaml": "^2.9.0"
53
53
  },
54
54
  "devDependencies": {