@archipelagolab/lobi 1.0.12 → 1.0.14

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.12",
3
+ "version": "1.0.14",
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": {
@@ -9,7 +9,7 @@ import {
9
9
  type IRooms,
10
10
  type ISyncResponse,
11
11
  type IStoredClientOpts,
12
- } from "@archipelagolab/lobi-js-sdk/lib/matrix.js";
12
+ } from "@archipelagolab/lobi-js-sdk/lib/lobi.js";
13
13
  import { writeJsonFileAtomically } from "openclaw/plugin-sdk/json-store";
14
14
  import { isRecord } from "../../record-shared.js";
15
15
  import { createAsyncLock } from "../async-lock.js";
@@ -246,9 +246,9 @@ function resolveMatrixSharedDmContextNotice(params: {
246
246
  }
247
247
 
248
248
  return [
249
- "This Matrix DM is sharing a session with another Matrix DM room.",
249
+ "This Lobi DM is sharing a session with another Lobi DM room.",
250
250
  "Use /focus here for a one-off isolated thread session when thread bindings are enabled, or set",
251
- "channels.lobi.dm.sessionScope to per-room to isolate each Matrix DM room.",
251
+ "channels.lobi.dm.sessionScope to per-room to isolate each Lobi DM room.",
252
252
  ].join(" ");
253
253
  } catch (err) {
254
254
  params.logVerboseMessage(
@@ -1,5 +1,5 @@
1
1
  import { CryptoEvent } from "@archipelagolab/lobi-js-sdk/lib/crypto-api/CryptoEvent.js";
2
- import { MatrixEventEvent, type MatrixEvent } from "@archipelagolab/lobi-js-sdk/lib/matrix.js";
2
+ import { MatrixEventEvent, type MatrixEvent } from "@archipelagolab/lobi-js-sdk/lib/lobi.js";
3
3
  import { LogService, noop } from "./logger.js";
4
4
 
5
5
  type MatrixDecryptIfNeededClient = {
@@ -196,7 +196,7 @@ let matrixJsClient = createMatrixJsClientStub();
196
196
  let lastCreateClientOpts: Record<string, unknown> | null = null;
197
197
 
198
198
  vi.mock("matrix-js-sdk/lib/matrix.js", async () => {
199
- const actual = await vi.importActual<typeof import("@archipelagolab/lobi-js-sdk/lib/matrix.js")>(
199
+ const actual = await vi.importActual<typeof import("@archipelagolab/lobi-js-sdk/lib/lobi.js")>(
200
200
  "matrix-js-sdk/lib/matrix.js",
201
201
  );
202
202
  return {
package/src/matrix/sdk.ts CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  createClient as createMatrixJsClient,
7
7
  type MatrixClient as MatrixJsClient,
8
8
  type MatrixEvent,
9
- } from "@archipelagolab/lobi-js-sdk/lib/matrix.js";
9
+ } from "@archipelagolab/lobi-js-sdk/lib/lobi.js";
10
10
  import { VerificationMethod } from "@archipelagolab/lobi-js-sdk/lib/types.js";
11
11
  import type { PinnedDispatcherPolicy } from "openclaw/plugin-sdk/infra-runtime";
12
12
  import { KeyedAsyncQueue } from "openclaw/plugin-sdk/keyed-async-queue";