@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/AGENTS.md +281 -275
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +2 -0
- package/dist/adapter.d.ts +1 -0
- package/dist/adapter.d.ts.map +1 -1
- package/dist/adapter.js +69 -31
- package/dist/discovery.d.ts +1 -1
- package/dist/discovery.d.ts.map +1 -1
- package/dist/discovery.js +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/read.d.ts +3 -0
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +10 -0
- package/dist/site.d.ts +1 -1
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +57 -33
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +8 -3
- package/dist/transport.d.ts +8 -1
- package/dist/transport.d.ts.map +1 -1
- package/dist/write.d.ts.map +1 -1
- package/dist/write.js +3 -2
- package/package.json +2 -2
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: '
|
|
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-
|
|
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-
|
|
28
|
+
"@agentshouse/mdruntime": "0.1.0-cedb03eaa48b6"
|
|
29
29
|
}
|
|
30
30
|
}
|