@oneshot-agent/mcp-server 0.34.0 → 0.35.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/index.js +1 -1
- package/dist/tools/compute.d.ts +1 -1
- package/dist/tools/compute.js +6 -2
- package/dist/tools/people.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ async function main() {
|
|
|
50
50
|
const agent = await initAgent();
|
|
51
51
|
const server = new Server({
|
|
52
52
|
name: "oneshot-mcp",
|
|
53
|
-
version: "0.
|
|
53
|
+
version: "0.35.0", // keep in sync with package.json; guarded by version.test.ts
|
|
54
54
|
}, {
|
|
55
55
|
capabilities: {
|
|
56
56
|
tools: {},
|
package/dist/tools/compute.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare const computeResumeTool: Tool;
|
|
|
10
10
|
export declare const computeFundTool: Tool;
|
|
11
11
|
export declare function handleCompute(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").ComputeGoalResult>;
|
|
12
12
|
export declare function handleComputeStatus(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").ComputeGoalStatus>;
|
|
13
|
-
export declare function handleComputeTasks(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").ComputeTask[]>;
|
|
13
|
+
export declare function handleComputeTasks(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").ComputeOutputContent | import("@oneshot-agent/sdk").ComputeTask[]>;
|
|
14
14
|
export declare function handleComputeCancel(agent: OneShot, args: Record<string, unknown>): Promise<{
|
|
15
15
|
goal_id: string;
|
|
16
16
|
status: string;
|
package/dist/tools/compute.js
CHANGED
|
@@ -49,7 +49,7 @@ export const computeTool = {
|
|
|
49
49
|
};
|
|
50
50
|
export const computeStatusTool = {
|
|
51
51
|
name: "oneshot_compute_status",
|
|
52
|
-
description: "Get the current status of a compute goal (state, budget remaining, progress)
|
|
52
|
+
description: "Get the current status of a compute goal (state, budget remaining, progress) and, once it has finished, its answer in `result`. Free.",
|
|
53
53
|
inputSchema: {
|
|
54
54
|
type: "object",
|
|
55
55
|
properties: {
|
|
@@ -60,11 +60,12 @@ export const computeStatusTool = {
|
|
|
60
60
|
};
|
|
61
61
|
export const computeTasksTool = {
|
|
62
62
|
name: "oneshot_compute_tasks",
|
|
63
|
-
description: "List the tasks the orchestrator has planned/executed under a compute goal. Free.",
|
|
63
|
+
description: "List the tasks the orchestrator has planned/executed under a compute goal. Each task lists the `outputs` it produced by key; pass one as `output_key` to read that output's content instead of the task list. Free.",
|
|
64
64
|
inputSchema: {
|
|
65
65
|
type: "object",
|
|
66
66
|
properties: {
|
|
67
67
|
goal_id: { type: "string", description: "Compute goal id" },
|
|
68
|
+
output_key: { type: "string", description: "Optional. A key from a task's `outputs` (for example artifacts/<task_id>/result.txt): returns that output with its content." },
|
|
68
69
|
},
|
|
69
70
|
required: ["goal_id"],
|
|
70
71
|
},
|
|
@@ -146,6 +147,9 @@ export async function handleComputeStatus(agent, args) {
|
|
|
146
147
|
return agent.getComputeGoal(args.goal_id);
|
|
147
148
|
}
|
|
148
149
|
export async function handleComputeTasks(agent, args) {
|
|
150
|
+
if (typeof args.output_key === "string" && args.output_key) {
|
|
151
|
+
return agent.getComputeOutput(args.goal_id, args.output_key);
|
|
152
|
+
}
|
|
149
153
|
return agent.getComputeTasks(args.goal_id);
|
|
150
154
|
}
|
|
151
155
|
export async function handleComputeCancel(agent, args) {
|
package/dist/tools/people.js
CHANGED
|
@@ -37,12 +37,12 @@ export const peopleSearchTool = {
|
|
|
37
37
|
seniority: {
|
|
38
38
|
type: "array",
|
|
39
39
|
items: { type: "string" },
|
|
40
|
-
description: "Seniority levels
|
|
40
|
+
description: "Seniority levels: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern. Common variants ('Vice President', 'C-Level', 'executive') are accepted. A value that matches no level fails the search.",
|
|
41
41
|
},
|
|
42
42
|
industry: {
|
|
43
43
|
type: "array",
|
|
44
44
|
items: { type: "string" },
|
|
45
|
-
description: "Industries to filter by",
|
|
45
|
+
description: "Industries to filter by, as free text (e.g., ['fintech', 'software'])",
|
|
46
46
|
},
|
|
47
47
|
company_size: {
|
|
48
48
|
type: "string",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oneshot-agent/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "MCP server for OneShot - 81 tools for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@coinbase/cdp-sdk": "1.45.0",
|
|
28
28
|
"@modelcontextprotocol/sdk": "1.27.1",
|
|
29
|
-
"@oneshot-agent/sdk": "^0.
|
|
29
|
+
"@oneshot-agent/sdk": "^0.49.0",
|
|
30
30
|
"zod": "3.25.76"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|