apinoa-mcp 0.2.30 → 0.2.32
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/dist/catalog.snapshot.js +57 -9
- package/dist/sandbox/prelude.js +1 -1
- package/package.json +1 -1
package/dist/catalog.snapshot.js
CHANGED
|
@@ -4951,7 +4951,7 @@ const snapshot = [
|
|
|
4951
4951
|
},
|
|
4952
4952
|
"group": {
|
|
4953
4953
|
"base": 1,
|
|
4954
|
-
"max":
|
|
4954
|
+
"max": 4
|
|
4955
4955
|
},
|
|
4956
4956
|
"groups": {
|
|
4957
4957
|
"base": 1,
|
|
@@ -4993,6 +4993,14 @@ const snapshot = [
|
|
|
4993
4993
|
"minLength": 1,
|
|
4994
4994
|
"description": "Keywords to search accounts for."
|
|
4995
4995
|
},
|
|
4996
|
+
"type": {
|
|
4997
|
+
"type": "string",
|
|
4998
|
+
"enum": [
|
|
4999
|
+
"popular",
|
|
5000
|
+
"new"
|
|
5001
|
+
],
|
|
5002
|
+
"description": "Without query: Reddit's directory of popular or newest user profiles."
|
|
5003
|
+
},
|
|
4996
5004
|
"limit": {
|
|
4997
5005
|
"type": "integer",
|
|
4998
5006
|
"minimum": 1,
|
|
@@ -5031,7 +5039,7 @@ const snapshot = [
|
|
|
5031
5039
|
"community": {
|
|
5032
5040
|
"type": "string",
|
|
5033
5041
|
"minLength": 1,
|
|
5034
|
-
"description": "A community's posts: name (with or without r/) or URL. With `query`, narrows the search to
|
|
5042
|
+
"description": "A community's posts: name (with or without r/) or URL; several joined by + (SaaS+startups) for one merged feed; all or popular for the whole site. With `query`, narrows the search to one community."
|
|
5035
5043
|
},
|
|
5036
5044
|
"query": {
|
|
5037
5045
|
"type": "string",
|
|
@@ -5052,6 +5060,24 @@ const snapshot = [
|
|
|
5052
5060
|
],
|
|
5053
5061
|
"description": "Specific posts: ids, fullnames (t3_…) or URLs, 1–100 in one call."
|
|
5054
5062
|
},
|
|
5063
|
+
"domain": {
|
|
5064
|
+
"type": "string",
|
|
5065
|
+
"minLength": 1,
|
|
5066
|
+
"description": "Posts linking to one site, across every community: its domain (github.com, i.redd.it) or a URL on it."
|
|
5067
|
+
},
|
|
5068
|
+
"relatedTo": {
|
|
5069
|
+
"type": "string",
|
|
5070
|
+
"minLength": 1,
|
|
5071
|
+
"description": "A post id or URL: the posts Reddit shows beside it as related, or with type crossposts its crossposts."
|
|
5072
|
+
},
|
|
5073
|
+
"type": {
|
|
5074
|
+
"type": "string",
|
|
5075
|
+
"enum": [
|
|
5076
|
+
"media",
|
|
5077
|
+
"crossposts"
|
|
5078
|
+
],
|
|
5079
|
+
"description": "query: media (only posts with images or video) · relatedTo: crossposts (the post's copies in other communities)."
|
|
5080
|
+
},
|
|
5055
5081
|
"sort": {
|
|
5056
5082
|
"type": "string",
|
|
5057
5083
|
"enum": [
|
|
@@ -5061,9 +5087,10 @@ const snapshot = [
|
|
|
5061
5087
|
"rising",
|
|
5062
5088
|
"controversial",
|
|
5063
5089
|
"relevance",
|
|
5064
|
-
"comments"
|
|
5090
|
+
"comments",
|
|
5091
|
+
"best"
|
|
5065
5092
|
],
|
|
5066
|
-
"description": "Order. username: new, hot, top, controversial · community: hot, new, top, rising, controversial · query: relevance, hot, top, new, comments · default feed: hot, new, top, rising."
|
|
5093
|
+
"description": "Order. username: new, hot, top, controversial · community: hot, new, top, rising, controversial (several joined by +: not new) · query: relevance, hot, top, new, comments · domain: hot, new, top, rising, controversial · default feed: hot, new, top, rising, best (Reddit's front page)."
|
|
5067
5094
|
},
|
|
5068
5095
|
"period": {
|
|
5069
5096
|
"type": "string",
|
|
@@ -5080,7 +5107,7 @@ const snapshot = [
|
|
|
5080
5107
|
"country": {
|
|
5081
5108
|
"type": "string",
|
|
5082
5109
|
"minLength": 1,
|
|
5083
|
-
"description": "Default feed only: the country whose popular feed to read (ISO alpha-2)."
|
|
5110
|
+
"description": "Default feed only: the country whose popular feed to read (ISO alpha-2). Not with sort new or best."
|
|
5084
5111
|
},
|
|
5085
5112
|
"limit": {
|
|
5086
5113
|
"type": "integer",
|
|
@@ -5115,6 +5142,16 @@ const snapshot = [
|
|
|
5115
5142
|
"minLength": 1,
|
|
5116
5143
|
"description": "A user's comments: username or profile URL."
|
|
5117
5144
|
},
|
|
5145
|
+
"community": {
|
|
5146
|
+
"type": "string",
|
|
5147
|
+
"minLength": 1,
|
|
5148
|
+
"description": "A community's newest comments across its posts: name (with or without r/) or URL; several joined by + (SaaS+startups); all for the whole site. With `query`, narrows the search to one community."
|
|
5149
|
+
},
|
|
5150
|
+
"query": {
|
|
5151
|
+
"type": "string",
|
|
5152
|
+
"minLength": 1,
|
|
5153
|
+
"description": "Search comments by keyword."
|
|
5154
|
+
},
|
|
5118
5155
|
"sort": {
|
|
5119
5156
|
"type": "string",
|
|
5120
5157
|
"enum": [
|
|
@@ -5124,9 +5161,10 @@ const snapshot = [
|
|
|
5124
5161
|
"controversial",
|
|
5125
5162
|
"old",
|
|
5126
5163
|
"qa",
|
|
5127
|
-
"hot"
|
|
5164
|
+
"hot",
|
|
5165
|
+
"relevance"
|
|
5128
5166
|
],
|
|
5129
|
-
"description": "Order. post: confidence (Reddit's 'best'), top, new, controversial, old, qa · username: new, hot, top, controversial."
|
|
5167
|
+
"description": "Order. post: confidence (Reddit's 'best'), top, new, controversial, old, qa · username: new, hot, top, controversial · query: relevance, top, new · community: newest first, no sort."
|
|
5130
5168
|
},
|
|
5131
5169
|
"period": {
|
|
5132
5170
|
"type": "string",
|
|
@@ -5175,7 +5213,7 @@ const snapshot = [
|
|
|
5175
5213
|
}
|
|
5176
5214
|
}
|
|
5177
5215
|
],
|
|
5178
|
-
"description": "Extra reads to attach under `ext
|
|
5216
|
+
"description": "Extra reads to attach under `ext`, +1 unit each: rules; widgets (the sidebar: ID card, text, buttons, menus, images, recommended communities, events, post flairs); wiki (the wiki's front page, or `available: false` with Reddit's reason). The community's style is always in `ext.style` (it comes with the community), so `style` is accepted and free."
|
|
5179
5217
|
}
|
|
5180
5218
|
},
|
|
5181
5219
|
"additionalProperties": false,
|
|
@@ -5197,7 +5235,17 @@ const snapshot = [
|
|
|
5197
5235
|
"username": {
|
|
5198
5236
|
"type": "string",
|
|
5199
5237
|
"minLength": 1,
|
|
5200
|
-
"description": "The communities a user is active in: username or profile URL."
|
|
5238
|
+
"description": "The communities a user is active in (with type moderated: the ones they moderate): username or profile URL."
|
|
5239
|
+
},
|
|
5240
|
+
"type": {
|
|
5241
|
+
"type": "string",
|
|
5242
|
+
"enum": [
|
|
5243
|
+
"popular",
|
|
5244
|
+
"new",
|
|
5245
|
+
"default",
|
|
5246
|
+
"moderated"
|
|
5247
|
+
],
|
|
5248
|
+
"description": "Alone: Reddit's directory of popular, newest or default communities · with username: moderated."
|
|
5201
5249
|
},
|
|
5202
5250
|
"includeNsfw": {
|
|
5203
5251
|
"type": "boolean",
|
package/dist/sandbox/prelude.js
CHANGED
|
@@ -5,7 +5,7 @@ const realFetch = globalThis.fetch.bind(globalThis);
|
|
|
5
5
|
// Codes worth another try (https://apinoa.com/docs/errors#retrying). Every other failure fails the same way again.
|
|
6
6
|
const RETRYABLE = new Set([
|
|
7
7
|
"CAPACITY_SATURATED", "MARKETPLACE_SATURATED", "RATE_LIMITED", "SERVICE_UNAVAILABLE", "INTERNAL_ERROR",
|
|
8
|
-
"UPSTREAM_ERROR", "UPSTREAM_READ_FAILED", "UPSTREAM_TIMEOUT", "UPSTREAM_UNAVAILABLE",
|
|
8
|
+
"UPSTREAM_ERROR", "UPSTREAM_RATE_LIMITED", "UPSTREAM_READ_FAILED", "UPSTREAM_TIMEOUT", "UPSTREAM_UNAVAILABLE",
|
|
9
9
|
]);
|
|
10
10
|
// Failures no other call will get past: they end the run instead of being skipped by many().
|
|
11
11
|
const FATAL = new Set(["UNAUTHORIZED", "INSUFFICIENT_BALANCE", "ACCOUNT_SUSPENDED", "FORBIDDEN", "QUOTA_EXCEEDED", "BUDGET_EXCEEDED"]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apinoa-mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.32",
|
|
4
4
|
"mcpName": "io.github.apinoahq/apinoa-mcp",
|
|
5
5
|
"description": "MCP server for apinoa: marketplace products, social posts, search results and AI answers (Amazon, TikTok, Google, ChatGPT and more) for Claude Code, Codex, Cursor and any MCP client. Code mode: the model writes TypeScript against a typed client, run in a sandbox.",
|
|
6
6
|
"license": "MIT",
|