@agentshouse/kit 0.2.1-alpha.6 → 0.2.1-alpha.7

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/translate.js CHANGED
@@ -42,6 +42,8 @@ function components(path, before, after, text) {
42
42
  return edits.length > 0 && applied(before, changes) === text ? edits : null;
43
43
  }
44
44
  export function changed(path, file, base, before, after) {
45
+ if (!file.endsWith('.md'))
46
+ return [{ op: 'replace', path, base, content: after }];
45
47
  const parsedBefore = parse(before, file);
46
48
  const parsedAfter = parse(after, file);
47
49
  const structured = parsedBefore.ok && parsedAfter.ok ? components(path, parsedBefore.document, parsedAfter.document, after) : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentshouse/kit",
3
- "version": "0.2.1-alpha.6",
3
+ "version": "0.2.1-alpha.7",
4
4
  "description": "House Kit connects an Environment to agents.house.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@agentclientprotocol/sdk": "1.7.0",
24
- "@agentshouse/mdmodel": "0.1.0-alpha.15",
24
+ "@agentshouse/mdmodel": "0.1.0-alpha.17",
25
25
  "yaml": "2.9.1"
26
26
  },
27
27
  "peerDependencies": {