@itzannetos/x402-tools 1.0.3 → 1.0.5
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/.opencode/plugins/x402-tools.ts +3 -3
- package/README.md +3 -3
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import { join } from "path"
|
|
|
12
12
|
const BASE_URL = "https://agents.402box.io"
|
|
13
13
|
const X_SEARCHER_PATH = "/x_searcher"
|
|
14
14
|
const FIND_PEOPLE_PATH = "/find_people"
|
|
15
|
-
const
|
|
15
|
+
const ALPHA_FINDER_PATH = "/alpha_finder"
|
|
16
16
|
const TIMEOUT_MS = 300000
|
|
17
17
|
|
|
18
18
|
const getPrivateKey = async (): Promise<`0x${string}`> => {
|
|
@@ -118,7 +118,7 @@ export const X402ToolsPlugin: Plugin = async () => {
|
|
|
118
118
|
return response.data.data.response
|
|
119
119
|
},
|
|
120
120
|
}),
|
|
121
|
-
|
|
121
|
+
alpha_finder: tool({
|
|
122
122
|
description:
|
|
123
123
|
"Market Oracle - Searches the web, GitHub, Reddit, and X to gather intelligence on prediction market events. Helps you make educated decisions on Polymarket and Kalshi.",
|
|
124
124
|
args: {
|
|
@@ -130,7 +130,7 @@ export const X402ToolsPlugin: Plugin = async () => {
|
|
|
130
130
|
|
|
131
131
|
let response
|
|
132
132
|
try {
|
|
133
|
-
response = await client.post(
|
|
133
|
+
response = await client.post(ALPHA_FINDER_PATH, {
|
|
134
134
|
message: args.query,
|
|
135
135
|
})
|
|
136
136
|
} catch (error) {
|
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ Neural and deep search capabilities that go beyond standard search engines to fi
|
|
|
58
58
|
**Output format:**
|
|
59
59
|
Returns structured summaries with key details (career, education, notable works) and numbered source citations for verification.
|
|
60
60
|
|
|
61
|
-
### 📊 `
|
|
61
|
+
### 📊 `alpha_finder`
|
|
62
62
|
|
|
63
63
|
**Price: 0.03 USDC per request**
|
|
64
64
|
|
|
@@ -193,7 +193,7 @@ Find information about "Elon Musk, CEO of Tesla"
|
|
|
193
193
|
### Using Market Oracle
|
|
194
194
|
|
|
195
195
|
```
|
|
196
|
-
Use the
|
|
196
|
+
Use the alpha_finder tool to analyze "Polymarket odds on the next Fed rate decision"
|
|
197
197
|
```
|
|
198
198
|
|
|
199
199
|
```
|
|
@@ -357,4 +357,4 @@ For issues, questions, or contributions:
|
|
|
357
357
|
- X Searcher tool for X/Twitter search
|
|
358
358
|
- Find People tool for OSINT research
|
|
359
359
|
- X402 payment integration
|
|
360
|
-
- Base network support
|
|
360
|
+
- Base network support
|