@haklex/rich-agent-core 0.32.0 → 0.33.0

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/dist/index.mjs +7 -6
  2. package/package.json +7 -7
package/dist/index.mjs CHANGED
@@ -828,7 +828,8 @@ function rejectAllDiffs(state) {
828
828
  //#endregion
829
829
  //#region src/document-context.ts
830
830
  function buildDocumentContext(editorState, options) {
831
- return serializeToXml(editorState, resolveLitexmlRegistry(options), {
831
+ const registry = resolveLitexmlRegistry(options);
832
+ return serializeToXml(editorState, registry, {
832
833
  compact: options.compact ?? true,
833
834
  selectedBlockIds: options.selectedBlockIds
834
835
  });
@@ -1483,28 +1484,28 @@ var agentStoreSelectors = {
1483
1484
  status: (state) => state.status
1484
1485
  };
1485
1486
  //#endregion
1486
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/checkPrivateRedeclaration.js
1487
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/checkPrivateRedeclaration.js
1487
1488
  function _checkPrivateRedeclaration(e, t) {
1488
1489
  if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
1489
1490
  }
1490
1491
  //#endregion
1491
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateFieldInitSpec.js
1492
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/classPrivateFieldInitSpec.js
1492
1493
  function _classPrivateFieldInitSpec(e, t, a) {
1493
1494
  _checkPrivateRedeclaration(e, t), t.set(e, a);
1494
1495
  }
1495
1496
  //#endregion
1496
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/assertClassBrand.js
1497
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/assertClassBrand.js
1497
1498
  function _assertClassBrand(e, t, n) {
1498
1499
  if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
1499
1500
  throw new TypeError("Private element is not present on this object");
1500
1501
  }
1501
1502
  //#endregion
1502
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateFieldGet2.js
1503
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/classPrivateFieldGet2.js
1503
1504
  function _classPrivateFieldGet2(s, a) {
1504
1505
  return s.get(_assertClassBrand(s, a));
1505
1506
  }
1506
1507
  //#endregion
1507
- //#region \0@oxc-project+runtime@0.139.0/helpers/esm/classPrivateFieldSet2.js
1508
+ //#region \0@oxc-project+runtime@0.142.0/helpers/esm/classPrivateFieldSet2.js
1508
1509
  function _classPrivateFieldSet2(s, a, r) {
1509
1510
  return s.set(_assertClassBrand(s, a), r), r;
1510
1511
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-agent-core",
3
- "version": "0.32.0",
3
+ "version": "0.33.0",
4
4
  "description": "Headless AI agent protocol, diff engine, and store for Lexical editor",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,19 +22,19 @@
22
22
  "dependencies": {
23
23
  "nanoid": "^6.0.0",
24
24
  "zustand": "^5.0.14",
25
- "@haklex/rich-litexml": "0.32.0"
25
+ "@haklex/rich-litexml": "0.33.0"
26
26
  },
27
27
  "devDependencies": {
28
- "lexical": "^0.48.0",
28
+ "lexical": "^0.49.0",
29
29
  "typescript": "^7.0.2",
30
30
  "unplugin-dts": "^1.0.3",
31
- "vite": "^8.1.5",
31
+ "vite": "^8.2.0",
32
32
  "vitest": "^4.1.10",
33
- "@haklex/rich-editor": "0.32.0"
33
+ "@haklex/rich-editor": "0.33.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "lexical": "^0.47.0",
37
- "@haklex/rich-editor": "^0.32.0"
36
+ "lexical": "^0.49.0",
37
+ "@haklex/rich-editor": "^0.33.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"