@elizaos/capacitor-gateway 1.0.0
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/ElizaosCapacitorGateway.podspec +17 -0
- package/android/build.gradle +49 -0
- package/android/src/main/AndroidManifest.xml +4 -0
- package/android/src/main/java/ai/eliza/plugins/gateway/GatewayPlugin.kt +614 -0
- package/dist/esm/definitions.d.ts +271 -0
- package/dist/esm/definitions.js +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/web.d.ts +99 -0
- package/dist/esm/web.js +419 -0
- package/dist/plugin.cjs.js +435 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +438 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/GatewayPlugin/GatewayPlugin.swift +631 -0
- package/package.json +103 -0
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@elizaos/capacitor-gateway",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Connects the app to an Eliza Gateway with discovery, RPC, and realtime events.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"gateway",
|
|
7
|
+
"realtime",
|
|
8
|
+
"rpc",
|
|
9
|
+
"networking"
|
|
10
|
+
],
|
|
11
|
+
"main": "./dist/plugin.cjs.js",
|
|
12
|
+
"module": "./dist/esm/index.js",
|
|
13
|
+
"types": "./dist/esm/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/esm/index.d.ts",
|
|
17
|
+
"import": "./dist/esm/index.js",
|
|
18
|
+
"require": "./dist/plugin.cjs.js"
|
|
19
|
+
},
|
|
20
|
+
"./package.json": "./package.json"
|
|
21
|
+
},
|
|
22
|
+
"unpkg": "dist/plugin.js",
|
|
23
|
+
"files": [
|
|
24
|
+
"android/src/main/",
|
|
25
|
+
"android/build.gradle",
|
|
26
|
+
"dist/",
|
|
27
|
+
"ios/Sources/",
|
|
28
|
+
"ios/Plugin.xcodeproj/",
|
|
29
|
+
"*.podspec"
|
|
30
|
+
],
|
|
31
|
+
"author": "elizaOS",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@elizaos/app-core": "2.0.0-alpha.537"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://github.com/elizaOS/eliza"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
42
|
+
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..",
|
|
43
|
+
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
|
44
|
+
"verify:web": "npm run build",
|
|
45
|
+
"lint": "npm run eslint && npm run prettier -- --check && bash -c 'if command -v swiftlint >/dev/null 2>&1; then npm run swiftlint -- lint; fi'",
|
|
46
|
+
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && bash -c 'if command -v swiftlint >/dev/null 2>&1; then npm run swiftlint -- lint --fix; fi'",
|
|
47
|
+
"eslint": "eslint . --ext ts --config eslint.config.mjs",
|
|
48
|
+
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
|
|
49
|
+
"swiftlint": "node-swiftlint",
|
|
50
|
+
"docgen": "docgen --api GatewayPlugin --output-readme README.md --output-json dist/docs.json",
|
|
51
|
+
"build": "npm run clean && tsc && rollup -c rollup.config.mjs",
|
|
52
|
+
"build:docs": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
|
|
53
|
+
"clean": "rimraf ./dist",
|
|
54
|
+
"watch": "tsc --watch",
|
|
55
|
+
"prepublishOnly": "npm run build"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@capacitor/android": "^8.0.0",
|
|
59
|
+
"@capacitor/cli": "^8.0.0",
|
|
60
|
+
"@capacitor/core": "^8.3.1",
|
|
61
|
+
"@capacitor/docgen": "^0.3.0",
|
|
62
|
+
"@capacitor/ios": "^8.0.0",
|
|
63
|
+
"@ionic/eslint-config": "^0.4.0",
|
|
64
|
+
"@ionic/prettier-config": "^4.0.0",
|
|
65
|
+
"@ionic/swiftlint-config": "^2.0.0",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
67
|
+
"@typescript-eslint/parser": "^8.22.0",
|
|
68
|
+
"eslint": "^10.0.0",
|
|
69
|
+
"prettier": "^3.8.3",
|
|
70
|
+
"rimraf": "^6.0.0",
|
|
71
|
+
"rollup": "^4.60.2",
|
|
72
|
+
"swiftlint": "^2.0.0",
|
|
73
|
+
"typescript": "^6.0.0"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"@capacitor/core": "^8.3.1"
|
|
77
|
+
},
|
|
78
|
+
"publishConfig": {
|
|
79
|
+
"access": "public"
|
|
80
|
+
},
|
|
81
|
+
"capacitor": {
|
|
82
|
+
"ios": {
|
|
83
|
+
"src": "ios",
|
|
84
|
+
"podName": "ElizaCapacitorGateway"
|
|
85
|
+
},
|
|
86
|
+
"android": {
|
|
87
|
+
"src": "android"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"elizaos": {
|
|
91
|
+
"platforms": [
|
|
92
|
+
"browser",
|
|
93
|
+
"node"
|
|
94
|
+
],
|
|
95
|
+
"runtime": "both",
|
|
96
|
+
"platformDetails": {
|
|
97
|
+
"browser": "Full WebSocket connectivity, RPC request/response, event streaming. No Bonjour/mDNS discovery on web.",
|
|
98
|
+
"node": "Full support via Electrobun with native Bonjour/mDNS discovery and WebSocket connectivity",
|
|
99
|
+
"ios": true,
|
|
100
|
+
"android": true
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|