@elizaos/plugin-matrix 2.0.0-alpha.7 → 2.0.0-beta.1

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": "@elizaos/plugin-matrix",
3
- "version": "2.0.0-alpha.7",
3
+ "version": "2.0.0-beta.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,11 +12,20 @@
12
12
  }
13
13
  },
14
14
  "files": [
15
- "dist"
15
+ "dist",
16
+ "auto-enable.ts"
16
17
  ],
18
+ "elizaos": {
19
+ "plugin": {
20
+ "autoEnableModule": "./auto-enable.ts",
21
+ "capabilities": [
22
+ "messaging"
23
+ ]
24
+ }
25
+ },
17
26
  "scripts": {
18
27
  "build": "bun run build.ts",
19
- "test": "vitest run --config vitest.config.ts --passWithNoTests",
28
+ "test": "vitest run --config vitest.config.ts",
20
29
  "lint": "bunx @biomejs/biome check --write --unsafe .",
21
30
  "lint:check": "bunx @biomejs/biome check .",
22
31
  "format": "bunx @biomejs/biome format --write .",
@@ -24,19 +33,19 @@
24
33
  "typecheck": "tsc --noEmit"
25
34
  },
26
35
  "dependencies": {
27
- "matrix-js-sdk": "^31.0.0",
28
- "zod": "^4.3.6"
36
+ "matrix-js-sdk": "^41.4.0",
37
+ "zod": "^4.4.3"
29
38
  },
30
39
  "peerDependencies": {
31
- "@elizaos/core": "2.0.0-alpha.3"
40
+ "@elizaos/core": "2.0.0-beta.1"
32
41
  },
33
42
  "devDependencies": {
43
+ "@biomejs/biome": "^2.4.14",
34
44
  "@types/bun": "^1.1.0",
35
- "typescript": "^5.3.0",
36
- "@biomejs/biome": "^2.3.11",
37
- "vitest": "^3.2.4"
45
+ "typescript": "^6.0.3",
46
+ "vitest": "^4.0.0"
38
47
  },
39
- "milady": {
48
+ "eliza": {
40
49
  "platforms": [
41
50
  "node"
42
51
  ],
@@ -1,6 +0,0 @@
1
- /**
2
- * Join room action for Matrix plugin.
3
- */
4
- import type { Action } from "@elizaos/core";
5
- export declare const joinRoom: Action;
6
- //# sourceMappingURL=joinRoom.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"joinRoom.d.ts","sourceRoot":"","sources":["../../src/actions/joinRoom.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AA2BvB,eAAO,MAAM,QAAQ,EAAE,MA4GtB,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * List rooms action for Matrix plugin.
3
- */
4
- import type { Action } from "@elizaos/core";
5
- export declare const listRooms: Action;
6
- //# sourceMappingURL=listRooms.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listRooms.d.ts","sourceRoot":"","sources":["../../src/actions/listRooms.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AAIvB,eAAO,MAAM,SAAS,EAAE,MA6EvB,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Send message action for Matrix plugin.
3
- */
4
- import type { Action } from "@elizaos/core";
5
- export declare const sendMessage: Action;
6
- //# sourceMappingURL=sendMessage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../src/actions/sendMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AA6BvB,eAAO,MAAM,WAAW,EAAE,MAqIzB,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Send reaction action for Matrix plugin.
3
- */
4
- import type { Action } from "@elizaos/core";
5
- export declare const sendReaction: Action;
6
- //# sourceMappingURL=sendReaction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sendReaction.d.ts","sourceRoot":"","sources":["../../src/actions/sendReaction.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,MAAM,EAOP,MAAM,eAAe,CAAC;AAwBvB,eAAO,MAAM,YAAY,EAAE,MA6H1B,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * Room state provider for Matrix plugin.
3
- */
4
- import type { Provider } from "@elizaos/core";
5
- /**
6
- * Provider that gives the agent information about the current Matrix room context.
7
- */
8
- export declare const roomStateProvider: Provider;
9
- //# sourceMappingURL=roomState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roomState.d.ts","sourceRoot":"","sources":["../../src/providers/roomState.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAI5F;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAgF/B,CAAC"}
@@ -1,9 +0,0 @@
1
- /**
2
- * User context provider for Matrix plugin.
3
- */
4
- import type { Provider } from "@elizaos/core";
5
- /**
6
- * Provider that gives the agent information about the Matrix user context.
7
- */
8
- export declare const userContextProvider: Provider;
9
- //# sourceMappingURL=userContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"userContext.d.ts","sourceRoot":"","sources":["../../src/providers/userContext.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAyB,QAAQ,EAAyB,MAAM,eAAe,CAAC;AAS5F;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,QA2DjC,CAAC"}