@oneshot-agent/mcp-server 0.8.0 → 0.9.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/dist/tools/nyne.d.ts +6 -6
- package/dist/tools/wallet.d.ts +1 -5
- package/dist/tools/wallet.js +3 -7
- package/package.json +2 -2
package/dist/tools/nyne.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export declare const articleSearchTool: Tool;
|
|
|
6
6
|
export declare const personNewsfeedTool: Tool;
|
|
7
7
|
export declare const personInterestsTool: Tool;
|
|
8
8
|
export declare const personInteractionsTool: Tool;
|
|
9
|
-
export declare function handleDeepResearchPerson(agent: OneShot, args: Record<string, unknown>): Promise<
|
|
10
|
-
export declare function handleSocialProfiles(agent: OneShot, args: Record<string, unknown>): Promise<
|
|
11
|
-
export declare function handleArticleSearch(agent: OneShot, args: Record<string, unknown>): Promise<
|
|
12
|
-
export declare function handlePersonNewsfeed(agent: OneShot, args: Record<string, unknown>): Promise<
|
|
13
|
-
export declare function handlePersonInterests(agent: OneShot, args: Record<string, unknown>): Promise<
|
|
14
|
-
export declare function handlePersonInteractions(agent: OneShot, args: Record<string, unknown>): Promise<
|
|
9
|
+
export declare function handleDeepResearchPerson(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").DeepResearchPersonResult>;
|
|
10
|
+
export declare function handleSocialProfiles(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").SocialProfilesResult>;
|
|
11
|
+
export declare function handleArticleSearch(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").ArticleSearchResult>;
|
|
12
|
+
export declare function handlePersonNewsfeed(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonNewsfeedResult>;
|
|
13
|
+
export declare function handlePersonInterests(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonInterestsResult>;
|
|
14
|
+
export declare function handlePersonInteractions(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PersonInteractionsResult>;
|
package/dist/tools/wallet.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Tool } from "@modelcontextprotocol/sdk/types.js";
|
|
2
2
|
import { OneShot } from "@oneshot-agent/sdk";
|
|
3
3
|
export declare const getBalanceTool: Tool;
|
|
4
|
-
export declare function handleGetBalance(agent: OneShot, _args: Record<string, unknown>): Promise<
|
|
5
|
-
balance: string;
|
|
6
|
-
currency: string;
|
|
7
|
-
address: string;
|
|
8
|
-
}>;
|
|
4
|
+
export declare function handleGetBalance(agent: OneShot, _args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").UnifiedBalance>;
|
package/dist/tools/wallet.js
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
export const getBalanceTool = {
|
|
2
2
|
name: "oneshot_get_balance",
|
|
3
|
-
description: "Get the agent's USDC balance. Free. Returns balance
|
|
3
|
+
description: "Get the agent's USDC balance (on-chain and credits). Free. Returns on-chain balance, credits balance, currency, address, and chain ID.",
|
|
4
4
|
inputSchema: {
|
|
5
5
|
type: "object",
|
|
6
6
|
properties: {},
|
|
7
7
|
},
|
|
8
8
|
};
|
|
9
9
|
export async function handleGetBalance(agent, _args) {
|
|
10
|
-
const balance = await agent.
|
|
11
|
-
return
|
|
12
|
-
balance,
|
|
13
|
-
currency: "USDC",
|
|
14
|
-
address: agent.address,
|
|
15
|
-
};
|
|
10
|
+
const balance = await agent.getUnifiedBalance();
|
|
11
|
+
return balance;
|
|
16
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneshot-agent/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "MCP server for OneShot - commercial actions for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@coinbase/cdp-sdk": "1.45.0",
|
|
27
27
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
28
|
-
"@oneshot-agent/sdk": "
|
|
28
|
+
"@oneshot-agent/sdk": "0.12.0",
|
|
29
29
|
"zod": "3.25.76"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|