@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/README.md +155 -0
- package/auto-enable.ts +20 -0
- package/dist/accounts.d.ts +14 -0
- package/dist/accounts.d.ts.map +1 -0
- package/dist/connector-account-provider.d.ts +18 -0
- package/dist/connector-account-provider.d.ts.map +1 -0
- package/dist/index.d.ts +1 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +595 -645
- package/dist/index.js.map +9 -12
- package/dist/providers/index.d.ts +1 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/service.d.ts +15 -11
- package/dist/service.d.ts.map +1 -1
- package/dist/types.d.ts +4 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/workflow-credential-provider.d.ts +21 -0
- package/dist/workflow-credential-provider.d.ts.map +1 -0
- package/package.json +19 -10
- package/dist/actions/joinRoom.d.ts +0 -6
- package/dist/actions/joinRoom.d.ts.map +0 -1
- package/dist/actions/listRooms.d.ts +0 -6
- package/dist/actions/listRooms.d.ts.map +0 -1
- package/dist/actions/sendMessage.d.ts +0 -6
- package/dist/actions/sendMessage.d.ts.map +0 -1
- package/dist/actions/sendReaction.d.ts +0 -6
- package/dist/actions/sendReaction.d.ts.map +0 -1
- package/dist/providers/roomState.d.ts +0 -9
- package/dist/providers/roomState.d.ts.map +0 -1
- package/dist/providers/userContext.d.ts +0 -9
- package/dist/providers/userContext.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-matrix",
|
|
3
|
-
"version": "2.0.0-
|
|
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
|
|
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": "^
|
|
28
|
-
"zod": "^4.3
|
|
36
|
+
"matrix-js-sdk": "^41.4.0",
|
|
37
|
+
"zod": "^4.4.3"
|
|
29
38
|
},
|
|
30
39
|
"peerDependencies": {
|
|
31
|
-
"@elizaos/core": "2.0.0-
|
|
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": "^
|
|
36
|
-
"
|
|
37
|
-
"vitest": "^3.2.4"
|
|
45
|
+
"typescript": "^6.0.3",
|
|
46
|
+
"vitest": "^4.0.0"
|
|
38
47
|
},
|
|
39
|
-
"
|
|
48
|
+
"eliza": {
|
|
40
49
|
"platforms": [
|
|
41
50
|
"node"
|
|
42
51
|
],
|
|
@@ -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 +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 +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 +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"}
|