@elizaos/plugin-feed 2.0.3-beta.2 → 2.0.3-beta.3
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 +3 -2
- package/package.json +12 -7
- package/registry-entry.json +35 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ An elizaOS plugin that connects an Eliza agent to the [Feed](https://feed.market
|
|
|
6
6
|
|
|
7
7
|
- Embeds the Feed operator dashboard as a first-class elizaOS view (accessible in the agent manager, desktop tab, and terminal TUI).
|
|
8
8
|
- Proxies requests between the elizaOS API surface and the Feed backend: agent status, market data, prediction trades, perpetual positions, social posts, chat messages, team management, and admin controls.
|
|
9
|
-
- Handles Feed agent authentication automatically,
|
|
9
|
+
- Handles Feed agent authentication automatically. Prefers the agent's existing Steward / Eliza Cloud session JWT (`STEWARD_AGENT_TOKEN`) — Feed verifies the shared-secret token inline, so the agent auto-logs in with no separate Feed credentials. Falls back to `FEED_AGENT_ID`/`FEED_AGENT_SECRET` session auth (token caching + auto-refresh on 401) when no Steward token is present.
|
|
10
10
|
- In development, attempts to auto-provision credentials from a local Feed dev server.
|
|
11
11
|
- Exposes a postMessage auth token so the embedded Feed web viewer can authenticate without a separate login.
|
|
12
12
|
|
|
@@ -65,7 +65,8 @@ The plugin registers routes under `/api/apps/feed/` that proxy to the Feed backe
|
|
|
65
65
|
- **Agent:** `/agent/status`, `/agent/activity`, `/agent/logs`, `/agent/wallet`, `/agent/goals`, `/agent/stats`, `/agent/summary`, `/agent/recent-trades`, `/agent/chat`, `/agent/card`, `/agent/trading-balance`, `/agent/benchmark`, `/agent/autonomy`, `/agent/toggle`
|
|
66
66
|
- **Markets:** `/markets/predictions`, `/markets/predictions/:id`, `/markets/predictions/:id/history`, `/markets/predictions/:id/trades`, `/markets/predictions/:id/buy`, `/markets/predictions/:id/sell`, `/markets/perps`, `/markets/perps/open`, `/markets/perps/preview`, `/markets/perps/position/:id/close`
|
|
67
67
|
- **Social:** `/posts`, `/posts/:id`, `/posts/:id/comments`, `/posts/:id/like`
|
|
68
|
-
- **
|
|
68
|
+
- **Follows:** `/users/:id/follow` (`POST` follow/befriend, `DELETE` unfollow, `GET` status)
|
|
69
|
+
- **Messaging:** `/chats`, `/chats/dm` (`POST` create/fetch DM, `GET` lookup), `/chats/:id/messages`, `/chats/:id/message`
|
|
69
70
|
- **Groups:** `/groups`, `/groups/:id`, `/groups/:id/members`
|
|
70
71
|
- **Team:** `/team`, `/team/info`, `/team/chat`, `/team/dashboard`, `/team/conversations`
|
|
71
72
|
- **Feed:** `/feed/for-you`, `/feed/hot`, `/trades`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-feed",
|
|
3
|
-
"version": "2.0.3-beta.
|
|
3
|
+
"version": "2.0.3-beta.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Eliza app integration for Feed prediction market game.",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"eliza"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@elizaos/app-core": "2.0.3-beta.
|
|
44
|
-
"@elizaos/core": "2.0.3-beta.
|
|
45
|
-
"@elizaos/shared": "2.0.3-beta.
|
|
46
|
-
"@elizaos/ui": "2.0.3-beta.
|
|
43
|
+
"@elizaos/app-core": "2.0.3-beta.3",
|
|
44
|
+
"@elizaos/core": "2.0.3-beta.3",
|
|
45
|
+
"@elizaos/shared": "2.0.3-beta.3",
|
|
46
|
+
"@elizaos/ui": "2.0.3-beta.3"
|
|
47
47
|
},
|
|
48
48
|
"elizaos": {
|
|
49
49
|
"app": {
|
|
@@ -79,7 +79,8 @@
|
|
|
79
79
|
"resume"
|
|
80
80
|
]
|
|
81
81
|
}
|
|
82
|
-
}
|
|
82
|
+
},
|
|
83
|
+
"appRegister": "ui"
|
|
83
84
|
},
|
|
84
85
|
"publishConfig": {
|
|
85
86
|
"access": "public"
|
|
@@ -91,18 +92,22 @@
|
|
|
91
92
|
"build:js": "tsup --config ../tsup.plugin-packages.shared.ts",
|
|
92
93
|
"build:views": "bunx --bun vite build --config vite.config.views.ts",
|
|
93
94
|
"build:types": "tsc --noCheck -p tsconfig.build.json",
|
|
95
|
+
"typecheck": "tsgo --noEmit -p tsconfig.json",
|
|
96
|
+
"lint": "bunx @biomejs/biome check src",
|
|
94
97
|
"test": "vitest run --config vitest.config.ts"
|
|
95
98
|
},
|
|
96
99
|
"files": [
|
|
100
|
+
"registry-entry.json",
|
|
97
101
|
"dist"
|
|
98
102
|
],
|
|
99
103
|
"peerDependencies": {
|
|
100
104
|
"react": "^19.0.0"
|
|
101
105
|
},
|
|
102
106
|
"devDependencies": {
|
|
107
|
+
"@testing-library/react": "^16.3.2",
|
|
103
108
|
"tsup": "^8.5.1",
|
|
104
109
|
"typescript": "^6.0.3",
|
|
105
110
|
"vite": "^8.0.0"
|
|
106
111
|
},
|
|
107
|
-
"gitHead": "
|
|
112
|
+
"gitHead": "f54b0f4eaed317d59fa7dbcdce20f4cdb0734420"
|
|
108
113
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "feed",
|
|
3
|
+
"name": "Feed",
|
|
4
|
+
"description": "Feed prediction market operator dashboard.",
|
|
5
|
+
"npmName": "@elizaos/plugin-feed",
|
|
6
|
+
"source": "bundled",
|
|
7
|
+
"tags": [],
|
|
8
|
+
"config": {},
|
|
9
|
+
"render": {
|
|
10
|
+
"visible": true,
|
|
11
|
+
"pinTo": [],
|
|
12
|
+
"style": "hero-card",
|
|
13
|
+
"icon": "Gamepad",
|
|
14
|
+
"group": "Curated",
|
|
15
|
+
"groupOrder": 2,
|
|
16
|
+
"actions": ["launch", "configure"]
|
|
17
|
+
},
|
|
18
|
+
"resources": {},
|
|
19
|
+
"dependsOn": [],
|
|
20
|
+
"kind": "app",
|
|
21
|
+
"subtype": "game",
|
|
22
|
+
"launch": {
|
|
23
|
+
"type": "server-launch",
|
|
24
|
+
"capabilities": [],
|
|
25
|
+
"curatedSlug": "feed",
|
|
26
|
+
"uiExtension": {
|
|
27
|
+
"detailPanelId": "feed-operator-dashboard"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"curatedApp": {
|
|
31
|
+
"slug": "feed",
|
|
32
|
+
"order": 4,
|
|
33
|
+
"aliases": []
|
|
34
|
+
}
|
|
35
|
+
}
|