@oneshot-agent/mcp-server 0.50.0 → 0.52.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.
@@ -3,7 +3,7 @@ export declare const predictInputSchema: {
3
3
  readonly properties: {
4
4
  readonly model: {
5
5
  readonly type: "string";
6
- readonly enum: readonly ["simulation", "forecast"];
6
+ readonly enum: readonly ["simulation", "forecast", "alignment"];
7
7
  };
8
8
  readonly time_limit_s: {
9
9
  readonly default: 20;
@@ -268,8 +268,43 @@ export declare const predictInputSchema: {
268
268
  readonly required: readonly ["series", "horizon"];
269
269
  readonly additionalProperties: false;
270
270
  };
271
+ readonly alignment: {
272
+ readonly type: "object";
273
+ readonly properties: {
274
+ readonly mode: {
275
+ readonly type: "string";
276
+ readonly enum: readonly ["pairwise", "search"];
277
+ };
278
+ readonly sequence_type: {
279
+ readonly default: "auto";
280
+ readonly type: "string";
281
+ readonly enum: readonly ["auto", "protein", "nucleotide"];
282
+ };
283
+ readonly sequences: {
284
+ readonly minItems: 1;
285
+ readonly maxItems: 50;
286
+ readonly type: "array";
287
+ readonly items: {
288
+ readonly type: "object";
289
+ readonly properties: {
290
+ readonly id: {
291
+ readonly type: "string";
292
+ readonly minLength: 1;
293
+ readonly maxLength: 128;
294
+ };
295
+ readonly sequence: {
296
+ readonly type: "string";
297
+ };
298
+ };
299
+ readonly required: readonly ["id", "sequence"];
300
+ readonly additionalProperties: false;
301
+ };
302
+ };
303
+ };
304
+ readonly required: readonly ["mode", "sequences"];
305
+ readonly additionalProperties: false;
306
+ };
271
307
  };
272
308
  readonly required: readonly ["model"];
273
309
  readonly additionalProperties: false;
274
- readonly $schema: "http://json-schema.org/draft-07/schema#";
275
310
  };
@@ -6,7 +6,8 @@ export const predictInputSchema = {
6
6
  "type": "string",
7
7
  "enum": [
8
8
  "simulation",
9
- "forecast"
9
+ "forecast",
10
+ "alignment"
10
11
  ]
11
12
  },
12
13
  "time_limit_s": {
@@ -341,11 +342,59 @@ export const predictInputSchema = {
341
342
  "horizon"
342
343
  ],
343
344
  "additionalProperties": false
345
+ },
346
+ "alignment": {
347
+ "type": "object",
348
+ "properties": {
349
+ "mode": {
350
+ "type": "string",
351
+ "enum": [
352
+ "pairwise",
353
+ "search"
354
+ ]
355
+ },
356
+ "sequence_type": {
357
+ "default": "auto",
358
+ "type": "string",
359
+ "enum": [
360
+ "auto",
361
+ "protein",
362
+ "nucleotide"
363
+ ]
364
+ },
365
+ "sequences": {
366
+ "minItems": 1,
367
+ "maxItems": 50,
368
+ "type": "array",
369
+ "items": {
370
+ "type": "object",
371
+ "properties": {
372
+ "id": {
373
+ "type": "string",
374
+ "minLength": 1,
375
+ "maxLength": 128
376
+ },
377
+ "sequence": {
378
+ "type": "string"
379
+ }
380
+ },
381
+ "required": [
382
+ "id",
383
+ "sequence"
384
+ ],
385
+ "additionalProperties": false
386
+ }
387
+ }
388
+ },
389
+ "required": [
390
+ "mode",
391
+ "sequences"
392
+ ],
393
+ "additionalProperties": false
344
394
  }
345
395
  },
346
396
  "required": [
347
397
  "model"
348
398
  ],
349
- "additionalProperties": false,
350
- "$schema": "http://json-schema.org/draft-07/schema#"
399
+ "additionalProperties": false
351
400
  };
@@ -1,4 +1,4 @@
1
1
  import type { Tool } from '@modelcontextprotocol/sdk/types.js';
2
2
  import type { OneShot } from '@oneshot-agent/sdk';
3
3
  export declare const predictTool: Tool;
4
- export declare function handlePredict(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PredictPendingResult | import("@oneshot-agent/sdk").PredictSimulationResult | import("@oneshot-agent/sdk").PredictForecastResult>;
4
+ export declare function handlePredict(agent: OneShot, args: Record<string, unknown>): Promise<import("@oneshot-agent/sdk").PredictPendingResult | import("@oneshot-agent/sdk").PredictSimulationResult | import("@oneshot-agent/sdk").PredictForecastResult | import("@oneshot-agent/sdk").PredictAlignmentResult>;
@@ -1,7 +1,7 @@
1
1
  import { predictInputSchema } from './predict-schema.generated.js';
2
2
  export const predictTool = {
3
3
  name: 'oneshot_predict',
4
- description: 'Predict outcomes with uncertainty and consistency checks. Supported models: simulation (named distributions and arithmetic outputs, returning means, medians and percentiles) and forecast (time series projected ahead with prediction intervals). Provide the matching model block.',
4
+ description: 'Predict outcomes with uncertainty and consistency checks. Supported models: simulation (named distributions and arithmetic outputs, returning means, medians and percentiles), forecast (time series projected ahead with prediction intervals) and alignment (local sequence comparison across the supplied sequences, returning matched regions with identity, coverage and significance). Provide the matching model block.',
5
5
  inputSchema: JSON.parse(JSON.stringify(predictInputSchema)),
6
6
  };
7
7
  export async function handlePredict(agent, args) {
@@ -535,16 +535,11 @@ export declare const solveInputSchema: {
535
535
  readonly type: "array";
536
536
  readonly items: {
537
537
  readonly type: "array";
538
- readonly items: readonly [{
538
+ readonly items: {
539
539
  readonly type: "string";
540
540
  readonly minLength: 1;
541
541
  readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
542
- }, {
543
- readonly type: "string";
544
- readonly minLength: 1;
545
- readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
546
- }];
547
- readonly additionalItems: false;
542
+ };
548
543
  readonly minItems: 2;
549
544
  readonly maxItems: 2;
550
545
  };
@@ -698,5 +693,4 @@ export declare const solveInputSchema: {
698
693
  };
699
694
  readonly required: readonly ["problem"];
700
695
  readonly additionalProperties: false;
701
- readonly $schema: "http://json-schema.org/draft-07/schema#";
702
696
  };
@@ -625,19 +625,11 @@ export const solveInputSchema = {
625
625
  "type": "array",
626
626
  "items": {
627
627
  "type": "array",
628
- "items": [
629
- {
630
- "type": "string",
631
- "minLength": 1,
632
- "pattern": "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"
633
- },
634
- {
635
- "type": "string",
636
- "minLength": 1,
637
- "pattern": "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"
638
- }
639
- ],
640
- "additionalItems": false,
628
+ "items": {
629
+ "type": "string",
630
+ "minLength": 1,
631
+ "pattern": "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$"
632
+ },
641
633
  "minItems": 2,
642
634
  "maxItems": 2
643
635
  }
@@ -817,6 +809,5 @@ export const solveInputSchema = {
817
809
  "required": [
818
810
  "problem"
819
811
  ],
820
- "additionalProperties": false,
821
- "$schema": "http://json-schema.org/draft-07/schema#"
812
+ "additionalProperties": false
822
813
  };
@@ -7,7 +7,14 @@ export const UNTRUSTED_TOOLS = new Set([
7
7
  "business_health_inspections",
8
8
  "business_liquor_license",
9
9
  "business_resolve",
10
+ "calls",
11
+ "calls_get",
12
+ "calls_list",
10
13
  "changes",
14
+ "client_work",
15
+ "client_work_clients",
16
+ "client_work_items",
17
+ "client_work_timesheets",
11
18
  "commerce/product_find",
12
19
  "commerce/search",
13
20
  "company_adviser_registration",
@@ -18,11 +25,13 @@ export const UNTRUSTED_TOOLS = new Set([
18
25
  "company_domain_registration",
19
26
  "company_dossier",
20
27
  "company_environmental_compliance",
28
+ "company_export_restrictions",
21
29
  "company_fda_registration",
22
30
  "company_federal_awards",
23
31
  "company_filings",
24
32
  "company_financials",
25
33
  "company_find",
34
+ "company_fund_holdings",
26
35
  "company_health_provider",
27
36
  "company_insider_trades",
28
37
  "company_legal_identifier",
@@ -32,13 +41,22 @@ export const UNTRUSTED_TOOLS = new Set([
32
41
  "company_nonprofit_status",
33
42
  "company_private_raises",
34
43
  "company_profile",
44
+ "company_radio_licenses",
35
45
  "company_sanctions",
36
46
  "company_sba_loans",
37
47
  "company_vat_registration",
48
+ "company_visa_sponsorship",
38
49
  "compound_hazards",
39
50
  "compound_properties",
40
51
  "compound_resolve",
41
52
  "compound_targets",
53
+ "crm_activity",
54
+ "crm_tickets",
55
+ "field_service",
56
+ "field_service_clients",
57
+ "field_service_invoices",
58
+ "field_service_jobs",
59
+ "field_service_quotes",
42
60
  "files",
43
61
  "files_read",
44
62
  "files_search",
@@ -67,9 +85,16 @@ export const UNTRUSTED_TOOLS = new Set([
67
85
  "market_medicare_drug_spending",
68
86
  "market_medicare_fees",
69
87
  "market_truck_rates",
88
+ "matters",
89
+ "matters_calendar",
90
+ "matters_contacts",
91
+ "matters_documents",
92
+ "matters_list",
93
+ "matters_time",
70
94
  "meetings",
71
95
  "meetings_get",
72
96
  "meetings_list",
97
+ "organism_resolve",
73
98
  "person_articles",
74
99
  "person_dossier",
75
100
  "person_email",
@@ -105,6 +130,17 @@ export const UNTRUSTED_TOOLS = new Set([
105
130
  "place_tropical_cyclones",
106
131
  "place_weather_alerts",
107
132
  "place_wildfires",
133
+ "portfolio",
134
+ "portfolio_entities",
135
+ "portfolio_holdings",
136
+ "portfolio_performance",
137
+ "portfolio_transactions",
138
+ "practice",
139
+ "practice_appointments",
140
+ "practice_openings",
141
+ "practice_patients",
142
+ "practice_providers",
143
+ "practice_treatment_plans",
108
144
  "product_cosmetic_adverse_events",
109
145
  "product_device_adverse_events",
110
146
  "product_device_clearances",
@@ -178,6 +214,7 @@ export const UNTRUSTED_TOOLS = new Set([
178
214
  "research/market_medicare_drug_spending",
179
215
  "research/market_medicare_fees",
180
216
  "research/market_truck_rates",
217
+ "research/organism_resolve",
181
218
  "research/person_articles",
182
219
  "research/person_dossier",
183
220
  "research/person_email",
@@ -278,7 +315,18 @@ export const UNTRUSTED_ROUTES = [
278
315
  ["GET", "/v1/tools/voice/inbound"],
279
316
  ["GET", "/v1/tools/voice/inbound/:id"],
280
317
  ["POST", "/v1/tools/browser"],
318
+ ["POST", "/v1/tools/calls/get"],
319
+ ["POST", "/v1/tools/calls/list"],
281
320
  ["POST", "/v1/tools/changes"],
321
+ ["POST", "/v1/tools/client_work/clients"],
322
+ ["POST", "/v1/tools/client_work/items"],
323
+ ["POST", "/v1/tools/client_work/timesheets"],
324
+ ["POST", "/v1/tools/crm/activity"],
325
+ ["POST", "/v1/tools/crm/tickets"],
326
+ ["POST", "/v1/tools/field_service/clients"],
327
+ ["POST", "/v1/tools/field_service/invoices"],
328
+ ["POST", "/v1/tools/field_service/jobs"],
329
+ ["POST", "/v1/tools/field_service/quotes"],
282
330
  ["POST", "/v1/tools/files/read"],
283
331
  ["POST", "/v1/tools/files/search"],
284
332
  ["POST", "/v1/tools/find/business"],
@@ -305,10 +353,12 @@ export const UNTRUSTED_ROUTES = [
305
353
  ["POST", "/v1/tools/lookup/company-domain-registration"],
306
354
  ["POST", "/v1/tools/lookup/company-dossier"],
307
355
  ["POST", "/v1/tools/lookup/company-environmental-compliance"],
356
+ ["POST", "/v1/tools/lookup/company-export-restrictions"],
308
357
  ["POST", "/v1/tools/lookup/company-fda-registration"],
309
358
  ["POST", "/v1/tools/lookup/company-federal-awards"],
310
359
  ["POST", "/v1/tools/lookup/company-filings"],
311
360
  ["POST", "/v1/tools/lookup/company-financials"],
361
+ ["POST", "/v1/tools/lookup/company-fund-holdings"],
312
362
  ["POST", "/v1/tools/lookup/company-health-provider"],
313
363
  ["POST", "/v1/tools/lookup/company-insider-trades"],
314
364
  ["POST", "/v1/tools/lookup/company-legal-identifier"],
@@ -318,9 +368,11 @@ export const UNTRUSTED_ROUTES = [
318
368
  ["POST", "/v1/tools/lookup/company-nonprofit-status"],
319
369
  ["POST", "/v1/tools/lookup/company-private-raises"],
320
370
  ["POST", "/v1/tools/lookup/company-profile"],
371
+ ["POST", "/v1/tools/lookup/company-radio-licenses"],
321
372
  ["POST", "/v1/tools/lookup/company-sanctions"],
322
373
  ["POST", "/v1/tools/lookup/company-sba-loans"],
323
374
  ["POST", "/v1/tools/lookup/company-vat-registration"],
375
+ ["POST", "/v1/tools/lookup/company-visa-sponsorship"],
324
376
  ["POST", "/v1/tools/lookup/compound-hazards"],
325
377
  ["POST", "/v1/tools/lookup/compound-properties"],
326
378
  ["POST", "/v1/tools/lookup/compound-targets"],
@@ -396,12 +448,27 @@ export const UNTRUSTED_ROUTES = [
396
448
  ["POST", "/v1/tools/lookup/vehicle-recalls"],
397
449
  ["POST", "/v1/tools/mailbox/attachment"],
398
450
  ["POST", "/v1/tools/mailbox/messages"],
451
+ ["POST", "/v1/tools/matters/calendar"],
452
+ ["POST", "/v1/tools/matters/contacts"],
453
+ ["POST", "/v1/tools/matters/documents"],
454
+ ["POST", "/v1/tools/matters/list"],
455
+ ["POST", "/v1/tools/matters/time"],
399
456
  ["POST", "/v1/tools/meetings/get"],
400
457
  ["POST", "/v1/tools/meetings/list"],
458
+ ["POST", "/v1/tools/portfolio/entities"],
459
+ ["POST", "/v1/tools/portfolio/holdings"],
460
+ ["POST", "/v1/tools/portfolio/performance"],
461
+ ["POST", "/v1/tools/portfolio/transactions"],
462
+ ["POST", "/v1/tools/practice/appointments"],
463
+ ["POST", "/v1/tools/practice/openings"],
464
+ ["POST", "/v1/tools/practice/patients"],
465
+ ["POST", "/v1/tools/practice/providers"],
466
+ ["POST", "/v1/tools/practice/treatment-plans"],
401
467
  ["POST", "/v1/tools/research"],
402
468
  ["POST", "/v1/tools/resolve/business"],
403
469
  ["POST", "/v1/tools/resolve/compound"],
404
470
  ["POST", "/v1/tools/resolve/gene"],
471
+ ["POST", "/v1/tools/resolve/organism"],
405
472
  ["POST", "/v1/tools/resolve/place"],
406
473
  ["POST", "/v1/tools/resolve/protein"],
407
474
  ["POST", "/v1/tools/resolve/variant"],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oneshot-agent/mcp-server",
3
- "version": "0.50.0",
4
- "description": "MCP server for OneShot - 233 tools for AI agents",
3
+ "version": "0.52.0",
4
+ "description": "MCP server for OneShot - 263 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.32.2",
29
- "@oneshot-agent/sdk": "^0.62.0",
29
+ "@oneshot-agent/sdk": "^0.64.0",
30
30
  "zod": "4.6.7"
31
31
  },
32
32
  "devDependencies": {