@oneshot-agent/mcp-server 0.39.0 → 0.40.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.
@@ -0,0 +1,4 @@
1
+ import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ import type { OneShot } from '@oneshot-agent/sdk';
3
+ export declare const solveTool: Tool;
4
+ export declare function handleSolve(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").SolveProblemResult<"routing"> | import("@oneshot-agent/sdk").SolveProblemResult<"allocation"> | import("@oneshot-agent/sdk").SolveProblemResult<"packing"> | import("@oneshot-agent/sdk").SolveProblemResult<"schedule">>;
@@ -0,0 +1,9 @@
1
+ import { solveInputSchema } from './solve-schema.generated.js';
2
+ export const solveTool = {
3
+ name: "oneshot_solve",
4
+ description: 'Plan vehicle routes within capacity and time windows, assign items to options (lanes to carriers, lots to suppliers, requests to budget lines) at least cost or most value under capacities and share rules, pack items within bin capacities, or schedule jobs on resources under precedence, capacity and calendars. Returns the best solution found, its proven bound, constraint checks and conflicts. Supports problem: routing, allocation, packing or schedule.',
5
+ inputSchema: JSON.parse(JSON.stringify(solveInputSchema)),
6
+ };
7
+ export async function handleSolve(agent, args) {
8
+ return agent.solve(args);
9
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneshot-agent/mcp-server",
3
- "version": "0.39.0",
4
- "description": "MCP server for OneShot - 81 tools for AI agents",
3
+ "version": "0.40.0",
4
+ "description": "MCP server for OneShot - 146 tools for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -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.54.0",
29
+ "@oneshot-agent/sdk": "^0.55.0",
30
30
  "zod": "3.25.76"
31
31
  },
32
32
  "devDependencies": {