@framers/agentos-ext-channel-lemmy 0.1.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/LICENSE +98 -0
- package/dist/LemmyChannelAdapter.d.ts +50 -0
- package/dist/LemmyChannelAdapter.d.ts.map +1 -0
- package/dist/LemmyChannelAdapter.js +82 -0
- package/dist/LemmyChannelAdapter.js.map +1 -0
- package/dist/LemmyService.d.ts +66 -0
- package/dist/LemmyService.d.ts.map +1 -0
- package/dist/LemmyService.js +253 -0
- package/dist/LemmyService.js.map +1 -0
- package/dist/index.d.ts +41 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +93 -0
- package/dist/index.js.map +1 -0
- package/dist/tools/comment.d.ts +40 -0
- package/dist/tools/comment.d.ts.map +1 -0
- package/dist/tools/comment.js +36 -0
- package/dist/tools/comment.js.map +1 -0
- package/dist/tools/feed.d.ts +42 -0
- package/dist/tools/feed.d.ts.map +1 -0
- package/dist/tools/feed.js +36 -0
- package/dist/tools/feed.js.map +1 -0
- package/dist/tools/post.d.ts +45 -0
- package/dist/tools/post.d.ts.map +1 -0
- package/dist/tools/post.js +37 -0
- package/dist/tools/post.js.map +1 -0
- package/dist/tools/search.d.ts +41 -0
- package/dist/tools/search.d.ts.map +1 -0
- package/dist/tools/search.js +36 -0
- package/dist/tools/search.js.map +1 -0
- package/dist/tools/subscribe.d.ts +34 -0
- package/dist/tools/subscribe.d.ts.map +1 -0
- package/dist/tools/subscribe.js +35 -0
- package/dist/tools/subscribe.js.map +1 -0
- package/dist/tools/vote.d.ts +41 -0
- package/dist/tools/vote.d.ts.map +1 -0
- package/dist/tools/vote.js +36 -0
- package/dist/tools/vote.js.map +1 -0
- package/manifest.json +29 -0
- package/package.json +35 -0
package/manifest.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agentos.sh/schemas/extension-manifest-v1.json",
|
|
3
|
+
"id": "com.framers.channels.lemmy",
|
|
4
|
+
"name": "Lemmy Channel Extension",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"description": "Bidirectional Lemmy integration — create posts, comment, vote, search, subscribe to communities, and browse feeds via Lemmy HTTP API.",
|
|
7
|
+
"categories": ["channel", "social"],
|
|
8
|
+
"platforms": ["lemmy"],
|
|
9
|
+
"sdk": "lemmy-http-api",
|
|
10
|
+
"extensions": [
|
|
11
|
+
{ "kind": "tool", "id": "lemmyPost", "displayName": "Create Post" },
|
|
12
|
+
{ "kind": "tool", "id": "lemmyComment", "displayName": "Create Comment" },
|
|
13
|
+
{ "kind": "tool", "id": "lemmyVote", "displayName": "Vote" },
|
|
14
|
+
{ "kind": "tool", "id": "lemmySearch", "displayName": "Search" },
|
|
15
|
+
{ "kind": "tool", "id": "lemmySubscribe", "displayName": "Subscribe to Community" },
|
|
16
|
+
{ "kind": "tool", "id": "lemmyFeed", "displayName": "Get Feed" },
|
|
17
|
+
{ "kind": "messaging-channel", "id": "lemmyChannel", "displayName": "Lemmy Channel Adapter" }
|
|
18
|
+
],
|
|
19
|
+
"requiredSecrets": ["lemmy.instanceUrl", "lemmy.username", "lemmy.password"],
|
|
20
|
+
"optionalSecrets": [],
|
|
21
|
+
"features": [
|
|
22
|
+
"Create posts with text, body, and URL links",
|
|
23
|
+
"Comment on posts with threaded replies",
|
|
24
|
+
"Upvote, downvote, and reset votes on posts and comments",
|
|
25
|
+
"Search posts, comments, and communities",
|
|
26
|
+
"Subscribe and unsubscribe from communities",
|
|
27
|
+
"Browse feeds by type (All, Local, Subscribed) and sort order"
|
|
28
|
+
]
|
|
29
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@framers/agentos-ext-channel-lemmy",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Lemmy channel adapter for AgentOS — create posts, comment, vote, search, subscribe, and browse feeds via Lemmy HTTP API.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"manifest.json"
|
|
10
|
+
],
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"@framers/agentos": "^0.5.2"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"axios": "^1.7.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@framers/agentos": "^0.6.6",
|
|
19
|
+
"@types/node": "^20.0.0",
|
|
20
|
+
"typescript": "^5.0.0",
|
|
21
|
+
"vitest": "^1.0.0"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/framersai/agentos-extensions",
|
|
26
|
+
"directory": "registry/curated/channels/lemmy"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc",
|
|
30
|
+
"dev": "tsc --watch",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest watch",
|
|
33
|
+
"clean": "rm -rf dist"
|
|
34
|
+
}
|
|
35
|
+
}
|