@openclaw/matrix 2026.10.10 → 2026.10.33

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 (141) hide show
  1. package/dist/.setup/{account-config-CVM2a28p.mjs → account-config-CRsKoMqJ.mjs} +2 -1
  2. package/dist/.setup/{account-selection-Co94mKNj.mjs → account-selection-CWsL5zIU.mjs} +8 -5
  3. package/dist/.setup/{approval-handler.runtime-DtNvJpfB.mjs → approval-handler.runtime-Co2elSYS.mjs} +9 -8
  4. package/dist/.setup/{approval-reactions-DMDBJos0.mjs → approval-reactions-D2pEUrFS.mjs} +3 -2
  5. package/dist/.setup/{backup-health-BxH69np2.mjs → backup-health-Dm_YMVFT.mjs} +2 -1
  6. package/dist/.setup/{channel-CNjJyBS_.mjs → channel-BBvOdxTc.mjs} +44 -29
  7. package/dist/.setup/{channel.runtime-DaGbm27q.mjs → channel.runtime-DyX4mM8d.mjs} +10 -8
  8. package/dist/.setup/{channel.setup-IjRB0ymg.mjs → channel.setup-p6oll48W.mjs} +15 -7
  9. package/dist/.setup/{cli-CuEJNM3c.mjs → cli-C2XKMk1U.mjs} +39 -28
  10. package/dist/.setup/{cli-metadata-rWmD_rzx.mjs → cli-metadata-C60BW1oa.mjs} +5 -3
  11. package/dist/.setup/{client-7eyTX0cu.mjs → client-BEl7PU1_.mjs} +25 -19
  12. package/dist/.setup/{client-CV0MkCZG.mjs → client-Cxv-iMwp.mjs} +5 -4
  13. package/dist/.setup/{client-bootstrap-BjcmTmyR.mjs → client-bootstrap-D1vLveT2.mjs} +3 -2
  14. package/dist/.setup/{client-support-CFofPPPm.mjs → client-support-D-xHScuo.mjs} +5 -3
  15. package/dist/.setup/{config-paths-DBpHxDyc.mjs → config-paths-CnREYb1Y.mjs} +2 -1
  16. package/dist/.setup/{create-client-C4Lnqs2C.mjs → create-client-CrY1E3hg.mjs} +9 -8
  17. package/dist/.setup/{credentials-read-WCQSEvI8.mjs → credentials-read-Dj7Hj87M.mjs} +6 -5
  18. package/dist/.setup/{credentials-state-jxq29yQw.mjs → credentials-state-B3cuUFwZ.mjs} +2 -1
  19. package/dist/.setup/{credentials-B0vpXvcB.mjs → credentials-udso1z0C.mjs} +6 -5
  20. package/dist/.setup/{crypto-node.runtime-E_hqXGxm.mjs → crypto-node.runtime-6Aj_ltHQ.mjs} +2 -1
  21. package/dist/.setup/{crypto-runtime-Crp1is7m.mjs → crypto-runtime-DqX7VD1W.mjs} +19 -12
  22. package/dist/.setup/{crypto-state-store-CM57gchf.mjs → crypto-state-store-DclM-fO5.mjs} +5 -3
  23. package/dist/.setup/{crypto-store-ownership-Bratn-Np.mjs → crypto-store-ownership-Dr-T40Rp.mjs} +4 -3
  24. package/dist/.setup/{crypto-unsafe-state-doctor-Brv4bIyx.mjs → crypto-unsafe-state-doctor-BG9qMu0B.mjs} +8 -7
  25. package/dist/.setup/{deps-O7rEnklr.mjs → deps-L_1bUAGL.mjs} +2 -1
  26. package/dist/.setup/{device-health-DnKAXW1v.mjs → device-health-D6_ECUVe.mjs} +3 -2
  27. package/dist/.setup/{direct-management-DDaWVbQI.mjs → direct-management-ZcjZgYEl.mjs} +11 -7
  28. package/dist/.setup/{directory-live-B-csizuK.mjs → directory-live-_yaRaktv.mjs} +6 -5
  29. package/dist/.setup/doctor-contract-BANpMUbP.mjs +38 -0
  30. package/dist/.setup/{draft-stream-dmhBHufd.mjs → draft-stream-vO_qjwJb.mjs} +4 -3
  31. package/dist/.setup/{encryption-guidance-Cn6-Tlx0.mjs → encryption-guidance-BLUoN4aV.mjs} +4 -3
  32. package/dist/.setup/{env-vars-Bh1iOXJ1.mjs → env-vars-aEBngJPa.mjs} +2 -1
  33. package/dist/.setup/{errors-CL3YJV8U.mjs → errors-Bw4EHwKX.mjs} +2 -1
  34. package/dist/.setup/{event-helpers-DDUjVVf7.mjs → event-helpers-CxNgMQqH.mjs} +2 -1
  35. package/dist/.setup/{exec-approvals-D7vv3AZS.mjs → exec-approvals-BFT-ee9F.mjs} +9 -6
  36. package/dist/.setup/{file-sync-store-q5KCV2Lp.mjs → file-sync-store-BxUPmUoJ.mjs} +6 -5
  37. package/dist/.setup/{http-client-CxTmU1kT.mjs → http-client-ByR4STVQ.mjs} +7 -4
  38. package/dist/.setup/{idb-persistence-BF0MZglD.mjs → idb-persistence-C2TsCHY2.mjs} +7 -6
  39. package/dist/.setup/{idb-persistence-lock-CH2K6d_3.mjs → idb-persistence-lock-Bh3ZLIsE.mjs} +2 -1
  40. package/dist/.setup/{inbound-dedupe-CZnOq0ja.mjs → inbound-dedupe-sW_gaR44.mjs} +3 -2
  41. package/dist/.setup/{joined-room-encryption-Dl7Sb9FF.mjs → joined-room-encryption-DBbLkdvv.mjs} +3 -2
  42. package/dist/.setup/{logger-BX5kXvh1.mjs → logger-CuAzdD8Q.mjs} +5 -4
  43. package/dist/.setup/{logging-BLcaOSRD.mjs → logging-CoaEyRtA.mjs} +22 -15
  44. package/dist/.setup/{messages-BiHM0DM3.mjs → messages-TuEa_BPZ.mjs} +14 -9
  45. package/dist/.setup/{monitor-CPwDgRFY.mjs → monitor-B86Ll4B8.mjs} +166 -77
  46. package/dist/.setup/{onboarding-DiVtpjNu.mjs → onboarding-DOLEjkg2.mjs} +11 -10
  47. package/dist/.setup/{outbound-DwP97VpQ.mjs → outbound-BWsyqwt1.mjs} +4 -3
  48. package/dist/.setup/{profile-update-DnNA9mEa.mjs → profile-update-DiXSVBki.mjs} +8 -6
  49. package/dist/.setup/{reaction-events-ClY9h_FC.mjs → reaction-events-CuUeYcBC.mjs} +9 -8
  50. package/dist/.setup/{resolve-targets-B8PAwHVS.mjs → resolve-targets-Dd70hGcM.mjs} +5 -4
  51. package/dist/.setup/{retired-state-vIr2IB90.mjs → retired-state-C4UnLIg4.mjs} +5 -38
  52. package/dist/.setup/{room-info-T_PR_liR.mjs → room-info-C13IUffQ.mjs} +8 -6
  53. package/dist/.setup/{runtime-Ck8TjD7L.mjs → runtime-1kn1P6io.mjs} +2 -1
  54. package/dist/.setup/{doctor-contract-DybEjJcd.mjs → runtime-doctor-migrations-hxP-CXX7.mjs} +22 -52
  55. package/dist/.setup/runtime-setter-api-DtxDAM-x.mjs +3 -0
  56. package/dist/.setup/{sdk-Cj3ggJHG.mjs → sdk-DNW03GqJ.mjs} +47 -32
  57. package/dist/.setup/{secret-contract-AKnr45nw.mjs → secret-contract-DxyzKSzf.mjs} +3 -2
  58. package/dist/.setup/secret-contract-api-CiuSYjUy.mjs +3 -0
  59. package/dist/.setup/{send-C1qeMQAy.mjs → send-BGgwE5pV.mjs} +40 -24
  60. package/dist/.setup/{send-currentness-CAUVR-f3.mjs → send-currentness-C2rMVVIQ.mjs} +4 -2
  61. package/dist/.setup/{setup-bootstrap-DDhwWvDs.mjs → setup-bootstrap-BCbltIf_.mjs} +5 -4
  62. package/dist/.setup/{setup-core-D2r4BivQ.mjs → setup-core-Di6NtQ_J.mjs} +20 -13
  63. package/dist/.setup/setup-plugin-api-ORC_4yEA.mjs +3 -0
  64. package/dist/.setup/sqlite-state-LByPx4Yp.mjs +37 -0
  65. package/dist/.setup/{startup-verification-B3LEbW33.mjs → startup-verification-8xvGpdtK.mjs} +6 -4
  66. package/dist/.setup/{state-layout-walk-BqCZTHpp.mjs → state-layout-walk-BQMgMykU.mjs} +3 -2
  67. package/dist/.setup/{storage-CxN4jqKI.mjs → storage-CN4dxdtV.mjs} +20 -10
  68. package/dist/.setup/{storage-paths-e_Vq6cvw.mjs → storage-paths-B51JM-pC.mjs} +2 -1
  69. package/dist/.setup/{subagent-hooks-CT-rdJmh.mjs → subagent-hooks-CSY4iwa_.mjs} +3 -2
  70. package/dist/.setup/{sync-cache-state-qYrd2EEh.mjs → sync-cache-state-L1kwjhjj.mjs} +9 -5
  71. package/dist/.setup/{target-ids-DltG_ZHJ.mjs → target-ids-HhcaKX1n.mjs} +2 -1
  72. package/dist/.setup/{thread-binding-api-OtSciHmZ.mjs → thread-binding-api-BvuaKpd0.mjs} +3 -2
  73. package/dist/.setup/{thread-bindings-D2ZR6mEZ.mjs → thread-bindings-pNgPVdof.mjs} +10 -7
  74. package/dist/.setup/{thread-bindings-shared-FMu_szTm.mjs → thread-bindings-shared-CPjUA0Ib.mjs} +2 -1
  75. package/dist/.setup/{tool-actions-CdKa0DC4.mjs → tool-actions-CFC7ZpIt.mjs} +23 -18
  76. package/dist/.setup/{url-validation-C77p4qT9.mjs → url-validation-CF6pG6eE.mjs} +2 -1
  77. package/dist/.setup/{verification-jP3tm-xD.mjs → verification-CuT5ZBDO.mjs} +5 -4
  78. package/dist/api.js +8 -8
  79. package/dist/auth-presence.js +3 -2
  80. package/dist/channel-plugin-api.js +2 -1
  81. package/dist/cli-metadata.js +2 -1
  82. package/dist/contract-api.js +2 -2
  83. package/dist/doctor-contract-api.js +55 -20
  84. package/dist/helper-api.js +3 -3
  85. package/dist/index.js +4 -3
  86. package/dist/plugin-entry.handlers.runtime.js +4 -3
  87. package/dist/runtime-api.js +8 -7
  88. package/dist/runtime-setter-api.js +2 -1
  89. package/dist/secret-contract-api.js +2 -1
  90. package/dist/session-binding-contract-api.js +2 -2
  91. package/dist/setup-entry.js +5 -4
  92. package/dist/setup-plugin-api.js +2 -1
  93. package/dist/subagent-hooks-api.js +3 -2
  94. package/dist/thread-binding-api.js +2 -1
  95. package/dist/thread-bindings-runtime.js +2 -1
  96. package/node_modules/@openclaw/fs-safe/CHANGELOG.md +26 -0
  97. package/node_modules/@openclaw/fs-safe/dist/copy-path-admission.js +2 -2
  98. package/node_modules/@openclaw/fs-safe/dist/native-config.js +14 -3
  99. package/node_modules/@openclaw/fs-safe/dist/output.js +6 -0
  100. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.d.ts +2 -1
  101. package/node_modules/@openclaw/fs-safe/dist/root-directory-list.js +12 -5
  102. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.d.ts +2 -2
  103. package/node_modules/@openclaw/fs-safe/dist/root-path-existing.js +27 -13
  104. package/node_modules/@openclaw/fs-safe/dist/root-path.js +2 -2
  105. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.d.ts +3 -0
  106. package/node_modules/@openclaw/fs-safe/dist/sibling-staged-file.js +18 -3
  107. package/node_modules/@openclaw/fs-safe/dist/watch-hints.js +8 -3
  108. package/node_modules/@openclaw/fs-safe/dist/windows-security-helper.exe +0 -0
  109. package/node_modules/@openclaw/fs-safe/docs/config.md +7 -1
  110. package/node_modules/@openclaw/fs-safe/docs/copy.md +10 -0
  111. package/node_modules/@openclaw/fs-safe/docs/migrating-to-0.5.md +6 -4
  112. package/node_modules/@openclaw/fs-safe/docs/native-helper.md +6 -4
  113. package/node_modules/@openclaw/fs-safe/docs/output.md +4 -2
  114. package/node_modules/@openclaw/fs-safe/docs/security-model.md +9 -0
  115. package/node_modules/@openclaw/fs-safe/docs/watch.md +7 -1
  116. package/node_modules/@openclaw/fs-safe/package.json +15 -14
  117. package/node_modules/@openclaw/fs-safe-darwin-arm64/fs-safe-native.node +0 -0
  118. package/node_modules/@openclaw/fs-safe-darwin-arm64/package.json +1 -1
  119. package/node_modules/@openclaw/fs-safe-darwin-x64/fs-safe-native.node +0 -0
  120. package/node_modules/@openclaw/fs-safe-darwin-x64/package.json +1 -1
  121. package/node_modules/@openclaw/fs-safe-freebsd-arm64/fs-safe-native.node +0 -0
  122. package/node_modules/@openclaw/fs-safe-freebsd-arm64/package.json +1 -1
  123. package/node_modules/@openclaw/fs-safe-freebsd-x64/fs-safe-native.node +0 -0
  124. package/node_modules/@openclaw/fs-safe-freebsd-x64/package.json +1 -1
  125. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/fs-safe-native.node +0 -0
  126. package/node_modules/@openclaw/fs-safe-linux-arm64-gnu/package.json +1 -1
  127. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/fs-safe-native.node +0 -0
  128. package/node_modules/@openclaw/fs-safe-linux-arm64-musl/package.json +1 -1
  129. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/fs-safe-native.node +0 -0
  130. package/node_modules/@openclaw/fs-safe-linux-x64-gnu/package.json +1 -1
  131. package/node_modules/@openclaw/fs-safe-linux-x64-musl/fs-safe-native.node +0 -0
  132. package/node_modules/@openclaw/fs-safe-linux-x64-musl/package.json +1 -1
  133. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/fs-safe-native.node +0 -0
  134. package/node_modules/@openclaw/fs-safe-win32-arm64-msvc/package.json +1 -1
  135. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/fs-safe-native.node +0 -0
  136. package/node_modules/@openclaw/fs-safe-win32-x64-msvc/package.json +1 -1
  137. package/package.json +5 -5
  138. package/dist/.setup/runtime-setter-api-CpwhcBQK.mjs +0 -2
  139. package/dist/.setup/secret-contract-api-DMSwMIxd.mjs +0 -2
  140. package/dist/.setup/setup-plugin-api-SO1hdrsT.mjs +0 -2
  141. package/dist/.source-module-urls/1cd4d4ff8d44e1c8b830932b44d7cf8a7f3350e09e169910e1d7a85e131b7bea.json +0 -1
@@ -1,8 +1,8 @@
1
- import { i as __exportAll } from "./doctor-contract-DybEjJcd.mjs";
2
- import { i as normalizeMatrixMessagingTarget, n as isMatrixQualifiedUserId } from "./target-ids-DltG_ZHJ.mjs";
3
- import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-B-csizuK.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
+ import { i as normalizeMatrixMessagingTarget, n as isMatrixQualifiedUserId } from "./target-ids-HhcaKX1n.mjs";
3
+ import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive } from "./directory-live-_yaRaktv.mjs";
4
4
  import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
5
- // extensions/matrix/src/resolve-targets.ts
5
+ //#region extensions/matrix/src/resolve-targets.ts
6
6
  var resolve_targets_exports = /* @__PURE__ */ __exportAll({ resolveMatrixTargets: () => resolveMatrixTargets });
7
7
  function findExactDirectoryMatches(matches, query) {
8
8
  const normalized = normalizeOptionalLowercaseString(query);
@@ -77,4 +77,5 @@ async function resolveMatrixTargets(params) {
77
77
  }
78
78
  return results;
79
79
  }
80
+ //#endregion
80
81
  export { resolve_targets_exports as n, resolveMatrixTargets as t };
@@ -1,10 +1,8 @@
1
- import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
2
1
  import { extractErrorCode } from "openclaw/plugin-sdk/error-runtime";
3
2
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
4
3
  import path from "node:path";
5
- import os from "node:os";
6
4
  import fs from "node:fs/promises";
7
- // extensions/matrix/src/matrix/chunked-state.ts
5
+ //#region extensions/matrix/src/matrix/chunked-state.ts
8
6
  function chunkMatrixStateJson(value, maxBytes, maxChunks, limitMessage) {
9
7
  const chunks = [];
10
8
  const pushChunk = (chunk) => {
@@ -45,40 +43,8 @@ async function writeMatrixStateChunks(store, rows, chunkKeyPrefix) {
45
43
  await store.register(rows.meta.key, rows.meta.value);
46
44
  for (const row of await store.entries()) if (row.key.startsWith(chunkKeyPrefix) && !nextChunkKeys.has(row.key)) await store.delete(row.key);
47
45
  }
48
- // extensions/matrix/src/matrix/sqlite-state.ts
49
- function resolveStateDirOverride(options) {
50
- if (!options) return;
51
- return options.stateDir || options.stateRootDir || getMatrixRuntime().state.resolveStateDir(options.env ?? process.env, os.homedir);
52
- }
53
- function resolveMatrixSqliteStateKey(options) {
54
- return resolveStateDirOverride(options) ?? "";
55
- }
56
- function resolveMatrixSqliteStateEnv(options) {
57
- const stateDir = resolveStateDirOverride(options);
58
- if (!stateDir) return options?.env;
59
- return {
60
- ...options?.env ?? process.env,
61
- OPENCLAW_STATE_DIR: stateDir
62
- };
63
- }
64
- async function updateMatrixKeyedState(store, key, update, onUndefined = "keep") {
65
- let observation = await store.observe(key);
66
- for (;;) {
67
- const value = update(observation.value);
68
- if (value === void 0 && onUndefined === "skip") return false;
69
- const result = await store.compareAndApply(key, observation.comparison, value === void 0 ? {
70
- operation: "update",
71
- action: "keep"
72
- } : {
73
- operation: "update",
74
- action: "set",
75
- value
76
- });
77
- if (result.status !== "conflict") return true;
78
- observation = result.current;
79
- }
80
- }
81
- // extensions/matrix/src/matrix/retired-state.ts
46
+ //#endregion
47
+ //#region extensions/matrix/src/matrix/retired-state.ts
82
48
  const RETIRED_MATRIX_STATE_FILENAMES = /* @__PURE__ */ new Set([
83
49
  "thread-bindings.json",
84
50
  "startup-verification.json",
@@ -104,4 +70,5 @@ async function assertMatrixSupportedStateFile(filePath) {
104
70
  }
105
71
  throw new Error(describeRetiredMatrixState(filePath));
106
72
  }
107
- export { describeRetiredMatrixState as a, updateMatrixKeyedState as c, writeMatrixStateChunks as d, assertMatrixSupportedStateRoot as i, chunkMatrixStateJson as l, RETIRED_MATRIX_STATE_REMEDIATION as n, resolveMatrixSqliteStateEnv as o, assertMatrixSupportedStateFile as r, resolveMatrixSqliteStateKey as s, RETIRED_MATRIX_STATE_FILENAMES as t, readMatrixStateChunks as u };
73
+ //#endregion
74
+ export { describeRetiredMatrixState as a, writeMatrixStateChunks as c, assertMatrixSupportedStateRoot as i, RETIRED_MATRIX_STATE_REMEDIATION as n, chunkMatrixStateJson as o, assertMatrixSupportedStateFile as r, readMatrixStateChunks as s, RETIRED_MATRIX_STATE_FILENAMES as t };
@@ -1,9 +1,9 @@
1
- import { w as setBoundedMap } from "./send-C1qeMQAy.mjs";
2
- import { s as EventType } from "./messages-BiHM0DM3.mjs";
3
- import { r as withResolvedRoomAction } from "./client-CV0MkCZG.mjs";
4
- import { n as isMatrixNotFoundError } from "./errors-CL3YJV8U.mjs";
1
+ import { w as setBoundedMap } from "./send-BGgwE5pV.mjs";
2
+ import { s as EventType } from "./messages-TuEa_BPZ.mjs";
3
+ import { r as withResolvedRoomAction } from "./client-Cxv-iMwp.mjs";
4
+ import { n as isMatrixNotFoundError } from "./errors-Bw4EHwKX.mjs";
5
5
  import { filterStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
6
- // extensions/matrix/src/matrix/actions/room.ts
6
+ //#region extensions/matrix/src/matrix/actions/room.ts
7
7
  async function getMatrixMemberInfo(userId, opts) {
8
8
  return await withResolvedRoomAction(opts.roomId, opts, async (client, roomId) => {
9
9
  if (!(await client.getJoinedRoomMembers(roomId)).includes(userId)) throw new Error(`User ${userId} is not a member of room ${roomId}`);
@@ -42,7 +42,8 @@ async function getMatrixRoomInfo(roomId, opts = {}) {
42
42
  };
43
43
  });
44
44
  }
45
- // extensions/matrix/src/matrix/monitor/room-info.ts
45
+ //#endregion
46
+ //#region extensions/matrix/src/matrix/monitor/room-info.ts
46
47
  const MAX_ROOM_INFO = 1024;
47
48
  const MAX_MEMBER_DISPLAY_NAMES = 4096;
48
49
  function createMatrixRoomInfoResolver(client) {
@@ -112,4 +113,5 @@ function createMatrixRoomInfoResolver(client) {
112
113
  invalidateMemberDisplayName
113
114
  };
114
115
  }
116
+ //#endregion
115
117
  export { getMatrixMemberInfo as n, getMatrixRoomInfo as r, createMatrixRoomInfoResolver as t };
@@ -1,5 +1,5 @@
1
1
  import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
2
- // extensions/matrix/src/runtime.ts
2
+ //#region extensions/matrix/src/runtime.ts
3
3
  const { setRuntime: setMatrixRuntime, getRuntime: getMatrixRuntime, tryGetRuntime: getOptionalMatrixRuntime } = createPluginRuntimeStore({
4
4
  pluginId: "matrix",
5
5
  errorMessage: "Matrix runtime not initialized"
@@ -25,4 +25,5 @@ function getMatrixRuntimeLifecycle() {
25
25
  const runtime = getOptionalMatrixRuntime();
26
26
  return runtime ? runtimeLifecycles.tryGetRuntime()?.get(runtime) : void 0;
27
27
  }
28
+ //#endregion
28
29
  export { setMatrixRuntimeLifecycle as a, setMatrixRuntime as i, getMatrixRuntimeLifecycle as n, getOptionalMatrixRuntime as r, getMatrixRuntime as t };
@@ -1,6 +1,5 @@
1
1
  import "node:module";
2
- import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
3
- // \0rolldown/runtime.js
2
+ //#region \0rolldown/runtime.js
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -25,19 +24,21 @@ var __copyProps = (to, from, except, desc) => {
25
24
  return to;
26
25
  };
27
26
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
28
- // packages/normalization-core/src/record-coerce.ts
27
+ //#endregion
28
+ //#region packages/normalization-core/src/record-coerce.ts
29
29
  /** Type guard for non-array object records at browser-safe boundaries. */
30
- function isRecord$1(value) {
30
+ function isRecord(value) {
31
31
  return value !== null && typeof value === "object" && !Array.isArray(value);
32
32
  }
33
33
  /** Returns a non-array record or null. */
34
- function asNullableRecord$1(value) {
35
- return isRecord$1(value) ? value : null;
34
+ function asNullableRecord(value) {
35
+ return isRecord(value) ? value : null;
36
36
  }
37
- // src/config/channel-config-normalization.ts
37
+ //#endregion
38
+ //#region src/config/channel-config-normalization.ts
38
39
  /** Applies one channel-specific doctor migration to every object-shaped account. */
39
40
  function normalizeChannelAccounts(params) {
40
- const rawAccounts = asNullableRecord$1(params.entry.accounts);
41
+ const rawAccounts = asNullableRecord(params.entry.accounts);
41
42
  if (!rawAccounts) return {
42
43
  entry: params.entry,
43
44
  changed: false
@@ -45,7 +46,7 @@ function normalizeChannelAccounts(params) {
45
46
  let changed = false;
46
47
  const accounts = { ...rawAccounts };
47
48
  for (const [accountId, value] of Object.entries(rawAccounts)) {
48
- const account = asNullableRecord$1(value);
49
+ const account = asNullableRecord(value);
49
50
  if (!account) continue;
50
51
  const normalized = params.normalizeAccount({
51
52
  account,
@@ -73,7 +74,7 @@ function normalizeChannelAccounts(params) {
73
74
  function normalizeChannelConfigEntries(params) {
74
75
  const changes = params.changes ?? [];
75
76
  const channels = params.cfg.channels;
76
- const entry = asNullableRecord$1(channels?.[params.channelId]);
77
+ const entry = asNullableRecord(channels?.[params.channelId]);
77
78
  if (!entry) return {
78
79
  config: params.cfg,
79
80
  changes
@@ -110,14 +111,15 @@ function normalizeChannelConfigEntries(params) {
110
111
  changes
111
112
  };
112
113
  }
113
- // src/plugin-sdk/legacy-webhook-listener-migration.ts
114
+ //#endregion
115
+ //#region src/plugin-sdk/legacy-webhook-listener-migration.ts
114
116
  /** Preserve explicitly configured webhook listeners while moving ingress onto Gateway routes. */
115
117
  function createLegacyWebhookListenerDoctorContract(params) {
116
118
  const portKey = params.portKey ?? "webhookPort";
117
119
  const hostKey = params.hostKey === void 0 ? "webhookHost" : params.hostKey;
118
- const source = (entry) => params.webhookKey ? asNullableRecord$1(entry[params.webhookKey]) : entry;
120
+ const source = (entry) => params.webhookKey ? asNullableRecord(entry[params.webhookKey]) : entry;
119
121
  const hasLegacy = (value) => {
120
- const entry = asNullableRecord$1(value);
122
+ const entry = asNullableRecord(value);
121
123
  const listener = entry && source(entry);
122
124
  return Boolean(listener && (Object.hasOwn(listener, portKey) || hostKey && Object.hasOwn(listener, hostKey)));
123
125
  };
@@ -133,14 +135,14 @@ function createLegacyWebhookListenerDoctorContract(params) {
133
135
  path: ["channels", params.channelKey],
134
136
  message: `${prefix} webhook listeners moved to Gateway routes. Run "openclaw doctor --fix" to preserve explicitly configured listener settings as legacyWebhook.`,
135
137
  match: (value) => {
136
- const accounts = asNullableRecord$1(asNullableRecord$1(value)?.accounts);
138
+ const accounts = asNullableRecord(asNullableRecord(value)?.accounts);
137
139
  return hasLegacy(value) || Object.values(accounts ?? {}).some(hasLegacy);
138
140
  }
139
141
  }],
140
142
  normalizeCompatibilityConfig: ({ cfg }) => {
141
- const root = asNullableRecord$1(asNullableRecord$1(cfg.channels)?.[params.channelKey]);
143
+ const root = asNullableRecord(asNullableRecord(cfg.channels)?.[params.channelKey]);
142
144
  const inherited = root && source(root);
143
- const canonicalRoot = asNullableRecord$1(root?.legacyWebhook);
145
+ const canonicalRoot = asNullableRecord(root?.legacyWebhook);
144
146
  return normalizeChannelConfigEntries({
145
147
  cfg,
146
148
  channelId: params.channelKey,
@@ -180,42 +182,10 @@ function createLegacyWebhookListenerDoctorContract(params) {
180
182
  }
181
183
  };
182
184
  }
183
- // \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
185
+ //#endregion
186
+ //#region \0openclaw:bundled-sdk:openclaw/plugin-sdk/runtime-doctor-migrations
184
187
  var runtime_doctor_migrations_exports = /* @__PURE__ */ __exportAll({ createLegacyWebhookListenerDoctorContract: () => createLegacyWebhookListenerDoctorContract });
185
188
  import * as import_openclaw_plugin_sdk_runtime_doctor_migrations from "openclaw/plugin-sdk/runtime-doctor-migrations";
186
189
  __reExport(runtime_doctor_migrations_exports, import_openclaw_plugin_sdk_runtime_doctor_migrations);
187
- // extensions/matrix/src/doctor-contract.ts
188
- function parseMatrixStreamingMode(value) {
189
- if (typeof value !== "string") return null;
190
- const normalized = value.trim().toLowerCase();
191
- return normalized === "partial" || normalized === "quiet" || normalized === "progress" || normalized === "off" ? normalized : null;
192
- }
193
- const streamingAliasMigration = (0, runtime_doctor_migrations_exports.defineChannelAliasMigration)({
194
- channelId: "matrix",
195
- streaming: {
196
- defaultMode: "off",
197
- resolveMode: (entry) => {
198
- const streaming = isRecord(entry.streaming) ? entry.streaming : null;
199
- const parsed = parseMatrixStreamingMode(streaming ? streaming.mode : entry.streaming);
200
- if (parsed) return parsed;
201
- return entry.streaming === true ? "partial" : "off";
202
- }
203
- },
204
- accountStreamingReplacesRoot: true
205
- });
206
- const legacyConfigRules = streamingAliasMigration.legacyConfigRules;
207
- function normalizeCompatibilityConfig({ cfg }) {
208
- const changes = [];
209
- const withoutJunkStreamMode = (0, runtime_doctor_migrations_exports.stripRetiredChannelKeys)({
210
- cfg,
211
- channelId: "matrix",
212
- keys: /* @__PURE__ */ new Set(["streamMode"]),
213
- scope: "root-and-accounts",
214
- onRemove: ({ key, pathPrefix }) => changes.push(`Removed ${pathPrefix}.${key} (never read by the Matrix runtime).`)
215
- }).config;
216
- return streamingAliasMigration.normalizeChannelConfig({
217
- cfg: withoutJunkStreamMode,
218
- changes
219
- });
220
- }
221
- export { __exportAll as i, normalizeCompatibilityConfig as n, runtime_doctor_migrations_exports as r, legacyConfigRules as t };
190
+ //#endregion
191
+ export { __exportAll as n, runtime_doctor_migrations_exports as t };
@@ -0,0 +1,3 @@
1
+ import { a as setMatrixRuntimeLifecycle, i as setMatrixRuntime } from "./runtime-1kn1P6io.mjs";
2
+ import "../runtime-setter-api.js";
3
+ export { setMatrixRuntime, setMatrixRuntimeLifecycle };
@@ -1,18 +1,18 @@
1
- import { i as __exportAll } from "./doctor-contract-DybEjJcd.mjs";
2
- import { t as getMatrixRuntime } from "./runtime-Ck8TjD7L.mjs";
3
- import { r as assertMatrixSupportedStateFile } from "./retired-state-vIr2IB90.mjs";
4
- import { a as readMatrixRecoveryKeyStateForPathAsync, l as writeMatrixRecoveryKeyStateForPathAsync } from "./crypto-state-store-CM57gchf.mjs";
5
- import { n as withMatrixSendCurrentness, r as withoutMatrixSendCurrentness, t as captureMatrixSendCurrentness } from "./send-currentness-CAUVR-f3.mjs";
6
- import { i as parseMxc, r as matrixEventToRaw } from "./event-helpers-DDUjVVf7.mjs";
7
- import { i as createMatrixStartupAbortError, o as throwIfMatrixStartupAborted, r as awaitMatrixStartupWithAbort } from "./client-7eyTX0cu.mjs";
8
- import { n as isMatrixNotFoundError, t as formatMatrixErrorReason } from "./errors-CL3YJV8U.mjs";
9
- import { n as createMatrixGuardedFetch, t as MatrixAuthedHttpClient } from "./http-client-CxTmU1kT.mjs";
10
- import { n as resolveMatrixRoomKeyBackupReadinessError } from "./backup-health-BxH69np2.mjs";
11
- import { r as noop, t as LogService } from "./logger-BX5kXvh1.mjs";
12
- import { t as createMatrixJsSdkClientLogger } from "./logging-BLcaOSRD.mjs";
13
- import { t as acquireMatrixCryptoStoreOwnership } from "./crypto-store-ownership-Bratn-Np.mjs";
14
- import { a as isMatrixAccessTokenInvalidatedError, c as resolveMatrixLocalTimeoutMs, f as isMatrixReadySyncState, i as createMatrixExplicitBootstrapOptions, l as unresolvedMatrixDeviceVerificationStatus, n as MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS, o as resolveMatrixDiagnostic, p as isMatrixTerminalSyncState, r as MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS, s as resolveMatrixDiagnosticResult, t as MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS, u as unresolvedMatrixRoomKeyBackupStatus } from "./client-support-CFofPPPm.mjs";
15
- import { t as MATRIX_IDB_PERSIST_INTERVAL_MS } from "./idb-persistence-lock-CH2K6d_3.mjs";
1
+ import { n as __exportAll } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
2
+ import { t as getMatrixRuntime } from "./runtime-1kn1P6io.mjs";
3
+ import { r as assertMatrixSupportedStateFile } from "./retired-state-C4UnLIg4.mjs";
4
+ import { a as readMatrixRecoveryKeyStateForPathAsync, l as writeMatrixRecoveryKeyStateForPathAsync } from "./crypto-state-store-DclM-fO5.mjs";
5
+ import { n as withMatrixSendCurrentness, r as withoutMatrixSendCurrentness, t as captureMatrixSendCurrentness } from "./send-currentness-C2rMVVIQ.mjs";
6
+ import { i as parseMxc, r as matrixEventToRaw } from "./event-helpers-CxNgMQqH.mjs";
7
+ import { i as createMatrixStartupAbortError, o as throwIfMatrixStartupAborted, r as awaitMatrixStartupWithAbort } from "./client-BEl7PU1_.mjs";
8
+ import { n as isMatrixNotFoundError, t as formatMatrixErrorReason } from "./errors-Bw4EHwKX.mjs";
9
+ import { n as createMatrixGuardedFetch, t as MatrixAuthedHttpClient } from "./http-client-ByR4STVQ.mjs";
10
+ import { n as resolveMatrixRoomKeyBackupReadinessError } from "./backup-health-Dm_YMVFT.mjs";
11
+ import { r as noop, t as LogService } from "./logger-CuAzdD8Q.mjs";
12
+ import { t as createMatrixJsSdkClientLogger } from "./logging-CoaEyRtA.mjs";
13
+ import { t as acquireMatrixCryptoStoreOwnership } from "./crypto-store-ownership-Dr-T40Rp.mjs";
14
+ import { a as isMatrixAccessTokenInvalidatedError, c as resolveMatrixLocalTimeoutMs, f as isMatrixReadySyncState, i as createMatrixExplicitBootstrapOptions, l as unresolvedMatrixDeviceVerificationStatus, n as MATRIX_INITIAL_CRYPTO_BOOTSTRAP_OPTIONS, o as resolveMatrixDiagnostic, p as isMatrixTerminalSyncState, r as MATRIX_STATUS_DIAGNOSTIC_TIMEOUT_MS, s as resolveMatrixDiagnosticResult, t as MATRIX_AUTOMATIC_REPAIR_BOOTSTRAP_OPTIONS, u as unresolvedMatrixRoomKeyBackupStatus } from "./client-support-D-xHScuo.mjs";
15
+ import { t as MATRIX_IDB_PERSIST_INTERVAL_MS } from "./idb-persistence-lock-Bh3ZLIsE.mjs";
16
16
  import { createRequire } from "node:module";
17
17
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
18
18
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
@@ -33,7 +33,7 @@ import { createDeferred as createDeferred$1 } from "openclaw/plugin-sdk/concurre
33
33
  import { decodeRecoveryKey } from "matrix-js-sdk/lib/crypto-api/recovery-key.js";
34
34
  import { MatrixScheduler } from "matrix-js-sdk/lib/scheduler.js";
35
35
  import { EventStatus } from "matrix-js-sdk/lib/models/event-status.js";
36
- // extensions/matrix/src/matrix/sdk/client-device-info.ts
36
+ //#region extensions/matrix/src/matrix/sdk/client-device-info.ts
37
37
  async function resolveMatrixCrossSigningPublicationStatus(params) {
38
38
  let response;
39
39
  if (params.userId) try {
@@ -62,7 +62,8 @@ async function listMatrixOwnDevices(client) {
62
62
  current: currentDeviceId !== null && device.device_id === currentDeviceId
63
63
  }));
64
64
  }
65
- // extensions/matrix/src/matrix/sdk/client-event-bridge.ts
65
+ //#endregion
66
+ //#region extensions/matrix/src/matrix/sdk/client-event-bridge.ts
66
67
  function registerMatrixClientBridge(params) {
67
68
  let initialSyncComplete = false;
68
69
  const joinTransitions = /* @__PURE__ */ new WeakSet();
@@ -132,7 +133,8 @@ function refreshMatrixDmRoomIds(direct, dmRoomIds) {
132
133
  }
133
134
  return true;
134
135
  }
135
- // extensions/matrix/src/matrix/sdk/client-crypto-bootstrap.ts
136
+ //#endregion
137
+ //#region extensions/matrix/src/matrix/sdk/client-crypto-bootstrap.ts
136
138
  async function bootstrapMatrixClientCrypto(params) {
137
139
  const { crypto, bootstrapper, abortSignal } = params;
138
140
  if (!crypto || !bootstrapper) return false;
@@ -150,7 +152,8 @@ async function bootstrapMatrixClientCrypto(params) {
150
152
  }
151
153
  return true;
152
154
  }
153
- // extensions/matrix/src/matrix/sdk/client-sync-quiesce.ts
155
+ //#endregion
156
+ //#region extensions/matrix/src/matrix/sdk/client-sync-quiesce.ts
154
157
  const MATRIX_SYNC_QUIESCE_TIMEOUT_MS = 5e3;
155
158
  const MATRIX_JS_SDK_SYNC_VERSION = "42.4.0";
156
159
  const matrixJsSdkPackage = createRequire(import.meta.url)("matrix-js-sdk/package.json");
@@ -218,7 +221,8 @@ async function quiesceMatrixClientSync(params) {
218
221
  }
219
222
  });
220
223
  }
221
- // extensions/matrix/src/matrix/sdk/client-sync-ready.ts
224
+ //#endregion
225
+ //#region extensions/matrix/src/matrix/sdk/client-sync-ready.ts
222
226
  async function waitForMatrixInitialSyncReady(params) {
223
227
  const timeoutMs = params.timeoutMs ?? 3e4;
224
228
  if (isMatrixReadySyncState(params.state)) return;
@@ -258,7 +262,8 @@ async function waitForMatrixInitialSyncReady(params) {
258
262
  params.emitter.off("sync.unexpected_error", settle);
259
263
  }
260
264
  }
261
- // extensions/matrix/src/matrix/sdk/crypto-store-lifecycle.ts
265
+ //#endregion
266
+ //#region extensions/matrix/src/matrix/sdk/crypto-store-lifecycle.ts
262
267
  async function closeMatrixCryptoStores(closeRecoveryKeys, releaseOwnership, teardownComplete) {
263
268
  const recovery = await Promise.allSettled([closeRecoveryKeys()]);
264
269
  const release = teardownComplete ? await Promise.allSettled([releaseOwnership()]) : [];
@@ -354,7 +359,8 @@ function createMatrixSdkStopGate() {
354
359
  }
355
360
  };
356
361
  }
357
- // extensions/matrix/src/matrix/sdk/live-room-readiness.ts
362
+ //#endregion
363
+ //#region extensions/matrix/src/matrix/sdk/live-room-readiness.ts
358
364
  async function withMatrixLiveEncryptedRoom(owner, run, params) {
359
365
  const signal = AbortSignal.any([params.generationSignal, ...params.abortSignal ? [params.abortSignal] : []]);
360
366
  const active = (async () => {
@@ -435,7 +441,8 @@ async function probeMatrixLiveEncryptedRoom(params) {
435
441
  params.signal.removeEventListener("abort", onChange);
436
442
  }
437
443
  }
438
- // extensions/matrix/src/matrix/sdk/message-wire-dispatch.ts
444
+ //#endregion
445
+ //#region extensions/matrix/src/matrix/sdk/message-wire-dispatch.ts
439
446
  function resolveMessageWireDispatch(resource, init) {
440
447
  if ((init?.method ?? (resource instanceof Request ? resource.method : "GET")).toUpperCase() !== "PUT") return null;
441
448
  const rawUrl = typeof resource === "string" ? resource : resource instanceof URL ? resource.href : resource.url;
@@ -490,7 +497,8 @@ var MatrixMessageWireDispatchGuards = class {
490
497
  }
491
498
  }
492
499
  };
493
- // extensions/matrix/src/matrix/sdk/recovery-key-store.ts
500
+ //#endregion
501
+ //#region extensions/matrix/src/matrix/sdk/recovery-key-store.ts
494
502
  function isRepairableSecretStorageAccessError(err) {
495
503
  const message = formatMatrixErrorReason(err);
496
504
  if (!message) return false;
@@ -767,7 +775,8 @@ var MatrixRecoveryKeyStore = class {
767
775
  }
768
776
  }
769
777
  };
770
- // extensions/matrix/src/matrix/sdk/send-scheduler.ts
778
+ //#endregion
779
+ //#region extensions/matrix/src/matrix/sdk/send-scheduler.ts
771
780
  /** Keep SDK FIFO/backoff while settling a caller's pre-request rejection only for its event. */
772
781
  var MatrixSendScheduler = class extends MatrixScheduler {
773
782
  constructor(wasCurrentnessRejected) {
@@ -805,10 +814,11 @@ var MatrixSendScheduler = class extends MatrixScheduler {
805
814
  return this.queue.removeEventFromQueue(event);
806
815
  }
807
816
  };
808
- // extensions/matrix/src/matrix/sdk/client-base.ts
817
+ //#endregion
818
+ //#region extensions/matrix/src/matrix/sdk/client-base.ts
809
819
  const MATRIX_ENCRYPTED_STARTUP_TIMEOUT_MS = 6e4;
810
820
  let loadedMatrixCryptoRuntime = null;
811
- const loadMatrixCryptoRuntime = createLazyRuntimeModule(() => import("./crypto-runtime-Crp1is7m.mjs").then((runtime) => {
821
+ const loadMatrixCryptoRuntime = createLazyRuntimeModule(() => import("./crypto-runtime-DqX7VD1W.mjs").then((runtime) => {
812
822
  loadedMatrixCryptoRuntime = runtime;
813
823
  return runtime;
814
824
  }));
@@ -1038,7 +1048,7 @@ var MatrixClientBase = class {
1038
1048
  checkActive();
1039
1049
  throwIfMatrixStartupAborted(signal);
1040
1050
  if (this.encryptionEnabled && this.cryptoInitialized) {
1041
- const { reconcileJoinedRoomEncryption } = await import("./joined-room-encryption-Dl7Sb9FF.mjs");
1051
+ const { reconcileJoinedRoomEncryption } = await import("./joined-room-encryption-DBbLkdvv.mjs");
1042
1052
  checkActive();
1043
1053
  await this.withClientCryptoWork(() => reconcileJoinedRoomEncryption(this.client, signal, checkActive), signal);
1044
1054
  checkActive();
@@ -1250,7 +1260,8 @@ var MatrixClientBase = class {
1250
1260
  }
1251
1261
  }
1252
1262
  };
1253
- // extensions/matrix/src/matrix/sdk/client-core.ts
1263
+ //#endregion
1264
+ //#region extensions/matrix/src/matrix/sdk/client-core.ts
1254
1265
  function isUnsupportedAuthenticatedMediaEndpointError(err) {
1255
1266
  const statusCode = err?.statusCode;
1256
1267
  if (statusCode === 404 || statusCode === 405 || statusCode === 501) return true;
@@ -1490,7 +1501,8 @@ var MatrixClientCore = class extends MatrixClientBase {
1490
1501
  });
1491
1502
  }
1492
1503
  };
1493
- // extensions/matrix/src/matrix/sdk/verification-status.ts
1504
+ //#endregion
1505
+ //#region extensions/matrix/src/matrix/sdk/verification-status.ts
1494
1506
  function isMatrixDeviceOwnerVerified(status) {
1495
1507
  return status?.crossSigningVerified === true;
1496
1508
  }
@@ -1507,7 +1519,8 @@ async function trustMatrixOwnIdentity(crypto) {
1507
1519
  ownIdentity.free?.();
1508
1520
  }
1509
1521
  }
1510
- // extensions/matrix/src/matrix/sdk/client-verification.ts
1522
+ //#endregion
1523
+ //#region extensions/matrix/src/matrix/sdk/client-verification.ts
1511
1524
  var MatrixClientVerification = class extends MatrixClientCore {
1512
1525
  async refreshOwnDeviceKeys() {
1513
1526
  await this.client.getCrypto()?.userHasCrossSigningKeys(await this.getUserId(), true);
@@ -1657,7 +1670,8 @@ var MatrixClientVerification = class extends MatrixClientCore {
1657
1670
  LogService.info("MatrixClientLite", `Room key backup enabled (version ${createdVersion})`);
1658
1671
  }
1659
1672
  };
1660
- // extensions/matrix/src/matrix/sdk.ts
1673
+ //#endregion
1674
+ //#region extensions/matrix/src/matrix/sdk.ts
1661
1675
  var sdk_exports = /* @__PURE__ */ __exportAll({ MatrixClient: () => MatrixClient });
1662
1676
  var MatrixClient = class extends MatrixClientVerification {
1663
1677
  async verifyWithRecoveryKey(rawRecoveryKey) {
@@ -1956,4 +1970,5 @@ var MatrixClient = class extends MatrixClientVerification {
1956
1970
  return refreshMatrixDmRoomIds(await this.getAccountData("m.direct"), this.dmRoomIds);
1957
1971
  }
1958
1972
  };
1973
+ //#endregion
1959
1974
  export { MatrixClient, isRepairableSecretStorageAccessError as a, trustMatrixOwnIdentity as i, isMatrixDeviceOwnerVerified as n, isMatrixDeviceVerifiedInCurrentClient as r, sdk_exports as t };
@@ -1,7 +1,7 @@
1
- import { t as getMatrixScopedEnvVarNames } from "./env-vars-Bh1iOXJ1.mjs";
1
+ import { t as getMatrixScopedEnvVarNames } from "./env-vars-aEBngJPa.mjs";
2
2
  import { DEFAULT_ACCOUNT_ID, normalizeAccountId } from "openclaw/plugin-sdk/account-id";
3
3
  import { collectSecretInputAssignment, createChannelSecretContract, hasConfiguredSecretInputValue, hasOwnProperty, normalizeSecretStringValue } from "openclaw/plugin-sdk/channel-secret-basic-runtime";
4
- // extensions/matrix/src/secret-contract.ts
4
+ //#region extensions/matrix/src/secret-contract.ts
5
5
  function accountSecretOwner(accountId) {
6
6
  return {
7
7
  ownerKind: "account",
@@ -86,4 +86,5 @@ const channelSecrets = createChannelSecretContract({
86
86
  }
87
87
  });
88
88
  const { secretTargetRegistryEntries, collectRuntimeConfigAssignments } = channelSecrets;
89
+ //#endregion
89
90
  export { collectRuntimeConfigAssignments as n, secretTargetRegistryEntries as r, channelSecrets as t };
@@ -0,0 +1,3 @@
1
+ import { n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries, t as channelSecrets } from "./secret-contract-DxyzKSzf.mjs";
2
+ import "../secret-contract-api.js";
3
+ export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };