@agentshouse/mdruntime-adapter 0.1.0-c7f74135dab7e → 0.1.0-c852cd26af09e

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/dist/write.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { departure, } from '@agentshouse/mdruntime';
2
- import { binaryFileOf, headChange } from './read.js';
2
+ import { binaryFileOf, headChange, identities } from './read.js';
3
3
  import { sha256Hex, textBytes } from './digest.js';
4
4
  import { nativePath, roomLocalPath } from './map.js';
5
5
  import { classifyDoor, doorRefusal, scopedRefusal } from './refusal.js';
@@ -272,6 +272,7 @@ export function mutationOutcome(status, body, locator, handle) {
272
272
  roomVersion: roomVersion(at),
273
273
  documents,
274
274
  revisions,
275
+ ...identities(revisions),
275
276
  changes,
276
277
  removals: removals.sort(),
277
278
  ...(Object.keys(binaryFiles).length === 0 ? {} : { binaryFiles }),
@@ -340,7 +341,7 @@ export function historyOutcome(status, body, locator, request) {
340
341
  return {
341
342
  kind: 'scoped-refusal',
342
343
  locator,
343
- scope: 'content',
344
+ scope: 'operation',
344
345
  code: 'retained_history_unavailable',
345
346
  fields: { path: request.path, revision: request.revision },
346
347
  retryable: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentshouse/mdruntime-adapter",
3
- "version": "0.1.0-c7f74135dab7e",
3
+ "version": "0.1.0-c852cd26af09e",
4
4
  "description": "Agents House Adapter for the MD Runtime",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,6 +25,6 @@
25
25
  "LICENSE"
26
26
  ],
27
27
  "dependencies": {
28
- "@agentshouse/mdruntime": "0.1.0-c47fe48697eec"
28
+ "@agentshouse/mdruntime": "0.1.0-cedb03eaa48b6"
29
29
  }
30
30
  }