@agentshouse/mdruntime-adapter 0.1.0-c258826147319 → 0.1.0-c38cdd8a6d962

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.
Files changed (2) hide show
  1. package/AGENTS.md +17 -11
  2. package/package.json +3 -3
package/AGENTS.md CHANGED
@@ -79,22 +79,28 @@ data:
79
79
  - **Filter.** `rooms` names Room locators and defaults to every Room. `types`
80
80
  names MD Types, and `any` names untyped Markdown Documents. `pathPrefix` is a
81
81
  directory: `notes` keeps `notes/a.md` and not `notes2/a.md`.
82
- - **Fields.** `where` names frontmatter fields, ANDs them, and nests `$and` and
83
- `$or`. A bare value is equality; the operators are `$eq`, `$ne`, `$in`, `$nin`,
84
- `$gt`, `$gte`, `$lt`, `$lte`, `$all`, `$size` and `$exists`. Equality on a list
85
- asks whether it contains the value. Missing, null and empty differ:
82
+ - **Fields.** Every frontmatter value is named by JSON Pointer: `/status`,
83
+ `/shipping/city`, `~1` for a `/` and `~0` for a `~` in a key. A segment that
84
+ meets a list applies to every item and a number names one item. `where` names
85
+ pointers, ANDs them, and nests `$and` and `$or`; a pointer through a list holds
86
+ when any item satisfies it. A bare value is equality; the operators are `$eq`,
87
+ `$ne`, `$in`, `$nin`, `$gt`, `$gte`, `$lt`, `$lte`, `$all`, `$size` and
88
+ `$exists`. Equality on a list asks whether it contains the value. Missing, null and empty differ:
86
89
  `$exists: false` keeps a missing field, `null` an explicit null, `''` empty
87
90
  text and `$size: 0` an empty list. A date compares in calendar order and never
88
91
  with a date-time. A reference compares by the Room Path it resolves to.
89
- Untyped frontmatter is plain values. There is no text containment or regular
92
+ Untyped frontmatter, and a value under `oneOf` or a conditional, is plain
93
+ values. There is no text containment or regular
90
94
  expression.
91
95
  - **Relations.** `hop: { field, types, where, pathPrefix }` keeps Documents whose
92
- reference `field` points to a matching Document of the same Room.
93
- `backlinks: { field, types, where, pathPrefix }` keeps Documents that a
96
+ reference at pointer `field`, at any depth, points to a matching Document of the
97
+ same Room. `backlinks: { field, types, where, pathPrefix }` keeps Documents that a
94
98
  matching Document of the same Room references. Each keeps a Document once.
95
99
  - **Parts.** A Document query must `select`: `'all'`, or `fields`, `sections`,
96
- `preamble`, `markdown`, `backlinks` and `change`, where `fields` and `sections`
97
- are `'all'` or a list of names. Room and Path always return; a Markdown
100
+ `preamble`, `markdown`, `backlinks` and `change`, where `fields` is `'all'` or a
101
+ list of pointers and `sections` `'all'` or a list of names. Selected pointers
102
+ return the frontmatter holding only them, nested as written. A backlink names
103
+ the referring Path, MD Type and the pointer it came from as `field`. Room and Path always return; a Markdown
98
104
  Document also returns its MD Type. A non-Markdown Document or binary link
99
105
  target returns only Room and Path. An unselected part is absent. Select only
100
106
  what a screen shows: a list that selects the Markdown hears every edit of it.
@@ -108,8 +114,8 @@ data:
108
114
  - **Order and groups.** `orderBy` sorts by `room`, `path`, `type` or `{ field }`
109
115
  with TanStack DB's own options, and ties end with Room, then Path. `groupBy` by
110
116
  `room`, `type` or `{ field }` answers `{ groups: [{ key, count }] }`, counted
111
- over every match and ordered by `count` or a key. `limit` bounds the Documents
112
- or the groups.
117
+ over every match and ordered by `count` or a key. A sort or group takes only a
118
+ pointer that holds one value. `limit` bounds the Documents or the groups.
113
119
  - **Results and errors.** A result carries no Room Version: read freshness from
114
120
  Rooms and Sync Status. An invalid query fails with `invalid-query`,
115
121
  `unknown-type`, `unknown-field` or `wrong-kind`, naming where, and never
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentshouse/mdruntime-adapter",
3
- "version": "0.1.0-c258826147319",
3
+ "version": "0.1.0-c38cdd8a6d962",
4
4
  "description": "Agents House Adapter for the MD Runtime",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "LICENSE"
26
26
  ],
27
27
  "dependencies": {
28
- "@agentshouse/mdmodel": "0.1.0-c5a71fe539a49",
29
- "@agentshouse/mdruntime": "0.1.0-cfbf80d8d4644"
28
+ "@agentshouse/mdmodel": "0.1.0-c0bdbbc92d020",
29
+ "@agentshouse/mdruntime": "0.1.0-c2647c1a232dd"
30
30
  }
31
31
  }