@archipelagolab/lobi 1.0.17 → 1.0.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archipelagolab/lobi",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "Lobi - The official A2A (Agent-to-Agent) messaging platform by Lobisland. Built for AI, enabling seamless communication between intelligent agents.",
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -66,7 +66,7 @@ export async function monitorMatrixProvider(opts: MonitorMatrixOpts = {}): Promi
66
66
  }
67
67
  const core = getMatrixRuntime();
68
68
  let cfg = core.config.loadConfig() as CoreConfig;
69
- if (cfg.channels?.["matrix"]?.enabled === false) {
69
+ if (cfg.channels?.["lobi"]?.enabled === false) {
70
70
  return;
71
71
  }
72
72
 
@@ -130,9 +130,9 @@ export async function monitorMatrixProvider(opts: MonitorMatrixOpts = {}): Promi
130
130
  channels: {
131
131
  ...cfg.channels,
132
132
  matrix: {
133
- ...cfg.channels?.["matrix"],
133
+ ...cfg.channels?.["lobi"],
134
134
  dm: {
135
- ...cfg.channels?.["matrix"]?.dm,
135
+ ...cfg.channels?.["lobi"]?.dm,
136
136
  allowFrom,
137
137
  },
138
138
  groupAllowFrom,
@@ -192,7 +192,7 @@ export async function monitorMatrixProvider(opts: MonitorMatrixOpts = {}): Promi
192
192
  const defaultGroupPolicy = resolveDefaultGroupPolicy(cfg);
193
193
  const { groupPolicy: groupPolicyRaw, providerMissingFallbackApplied } =
194
194
  resolveAllowlistProviderRuntimeGroupPolicy({
195
- providerConfigPresent: cfg.channels?.["matrix"] !== undefined,
195
+ providerConfigPresent: cfg.channels?.["lobi"] !== undefined,
196
196
  groupPolicy: accountConfig.groupPolicy,
197
197
  defaultGroupPolicy,
198
198
  });
@@ -222,7 +222,7 @@ export async function monitorMatrixProvider(opts: MonitorMatrixOpts = {}): Promi
222
222
  const dmPolicyRaw = dmConfig?.policy ?? "pairing";
223
223
  const dmPolicy = allowlistOnly && dmPolicyRaw !== "disabled" ? "allowlist" : dmPolicyRaw;
224
224
  const dmSessionScope = dmConfig?.sessionScope ?? "per-user";
225
- const textLimit = core.channel.text.resolveTextChunkLimit(cfg, "matrix", effectiveAccountId);
225
+ const textLimit = core.channel.text.resolveTextChunkLimit(cfg, "lobi", effectiveAccountId);
226
226
  const globalGroupChatHistoryLimit = (
227
227
  cfg.messages as { groupChat?: { historyLimit?: number } } | undefined
228
228
  )?.groupChat?.historyLimit;