@oneshot-agent/mcp-server 0.48.0 → 0.50.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/README.md +15 -3
- package/dist/index.js +1 -1
- package/dist/tools/annotations.d.ts +4 -2
- package/dist/tools/annotations.js +24 -17
- package/dist/tools/browser.js +0 -1
- package/dist/tools/company.js +7 -2
- package/dist/tools/compute.d.ts +3 -0
- package/dist/tools/compute.js +162 -7
- package/dist/tools/connections.d.ts +1 -1
- package/dist/tools/connections.js +1 -1
- package/dist/tools/discover.js +1 -1
- package/dist/tools/enrichment.d.ts +7 -0
- package/dist/tools/enrichment.js +13 -3
- package/dist/tools/index.d.ts +4 -9
- package/dist/tools/index.js +17 -2
- package/dist/tools/local.js +8 -5
- package/dist/tools/lookup-call.d.ts +13 -0
- package/dist/tools/lookup-call.js +45 -0
- package/dist/tools/lookup-manifest.generated.d.ts +2 -0
- package/dist/tools/lookup-manifest.generated.js +2276 -123
- package/dist/tools/lookup.js +6 -1
- package/dist/tools/nyne.js +19 -10
- package/dist/tools/people.js +4 -1
- package/dist/tools/predict-schema.generated.d.ts +18 -18
- package/dist/tools/predict-schema.generated.js +35 -35
- package/dist/tools/search.js +6 -0
- package/dist/tools/solve-schema.generated.d.ts +47 -39
- package/dist/tools/solve-schema.generated.js +80 -72
- package/dist/tools/untrusted-tools.generated.d.ts +2 -0
- package/dist/tools/untrusted-tools.generated.js +411 -0
- package/package.json +5 -5
|
@@ -6,37 +6,38 @@ export declare const solveInputSchema: {
|
|
|
6
6
|
readonly enum: readonly ["routing", "allocation", "packing", "schedule"];
|
|
7
7
|
};
|
|
8
8
|
readonly time_limit_s: {
|
|
9
|
+
readonly default: 30;
|
|
9
10
|
readonly type: "integer";
|
|
10
11
|
readonly minimum: 1;
|
|
11
12
|
readonly maximum: 300;
|
|
12
|
-
readonly default: 30;
|
|
13
13
|
};
|
|
14
14
|
readonly routing: {
|
|
15
15
|
readonly type: "object";
|
|
16
16
|
readonly properties: {
|
|
17
17
|
readonly distance_unit: {
|
|
18
|
+
readonly default: "km";
|
|
18
19
|
readonly type: "string";
|
|
19
20
|
readonly minLength: 1;
|
|
20
21
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
21
|
-
readonly default: "km";
|
|
22
22
|
};
|
|
23
23
|
readonly time_unit: {
|
|
24
|
+
readonly default: "min";
|
|
24
25
|
readonly type: "string";
|
|
25
26
|
readonly minLength: 1;
|
|
26
27
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
27
|
-
readonly default: "min";
|
|
28
28
|
};
|
|
29
29
|
readonly speed: {
|
|
30
|
+
readonly default: 40;
|
|
30
31
|
readonly type: "number";
|
|
31
32
|
readonly minimum: 1e-9;
|
|
32
33
|
readonly maximum: 1000000000000;
|
|
33
|
-
readonly default: 40;
|
|
34
34
|
};
|
|
35
35
|
readonly objective: {
|
|
36
36
|
readonly type: "string";
|
|
37
37
|
readonly enum: readonly ["distance", "time", "vehicles"];
|
|
38
38
|
};
|
|
39
39
|
readonly vehicles: {
|
|
40
|
+
readonly minItems: 1;
|
|
40
41
|
readonly type: "array";
|
|
41
42
|
readonly items: {
|
|
42
43
|
readonly type: "object";
|
|
@@ -132,9 +133,10 @@ export declare const solveInputSchema: {
|
|
|
132
133
|
readonly required: readonly ["id", "capacity", "start"];
|
|
133
134
|
readonly additionalProperties: false;
|
|
134
135
|
};
|
|
135
|
-
readonly minItems: 1;
|
|
136
136
|
};
|
|
137
137
|
readonly stops: {
|
|
138
|
+
readonly minItems: 1;
|
|
139
|
+
readonly maxItems: 500;
|
|
138
140
|
readonly type: "array";
|
|
139
141
|
readonly items: {
|
|
140
142
|
readonly type: "object";
|
|
@@ -175,10 +177,10 @@ export declare const solveInputSchema: {
|
|
|
175
177
|
}];
|
|
176
178
|
};
|
|
177
179
|
readonly demand: {
|
|
180
|
+
readonly default: 0;
|
|
178
181
|
readonly type: "number";
|
|
179
182
|
readonly minimum: 0;
|
|
180
183
|
readonly maximum: 1000000000000;
|
|
181
|
-
readonly default: 0;
|
|
182
184
|
};
|
|
183
185
|
readonly window: {
|
|
184
186
|
readonly type: "object";
|
|
@@ -198,29 +200,27 @@ export declare const solveInputSchema: {
|
|
|
198
200
|
readonly additionalProperties: false;
|
|
199
201
|
};
|
|
200
202
|
readonly service_time: {
|
|
203
|
+
readonly default: 0;
|
|
201
204
|
readonly type: "integer";
|
|
202
205
|
readonly minimum: 0;
|
|
203
206
|
readonly maximum: 1000000000000;
|
|
204
|
-
readonly default: 0;
|
|
205
207
|
};
|
|
206
208
|
};
|
|
207
209
|
readonly required: readonly ["id", "location"];
|
|
208
210
|
readonly additionalProperties: false;
|
|
209
211
|
};
|
|
210
|
-
readonly minItems: 1;
|
|
211
|
-
readonly maxItems: 500;
|
|
212
212
|
};
|
|
213
213
|
readonly matrix: {
|
|
214
214
|
readonly type: "object";
|
|
215
215
|
readonly properties: {
|
|
216
216
|
readonly ids: {
|
|
217
|
+
readonly minItems: 1;
|
|
217
218
|
readonly type: "array";
|
|
218
219
|
readonly items: {
|
|
219
220
|
readonly type: "string";
|
|
220
221
|
readonly minLength: 1;
|
|
221
222
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
222
223
|
};
|
|
223
|
-
readonly minItems: 1;
|
|
224
224
|
};
|
|
225
225
|
readonly distance: {
|
|
226
226
|
readonly type: "array";
|
|
@@ -260,8 +260,8 @@ export declare const solveInputSchema: {
|
|
|
260
260
|
readonly enum: readonly ["minimise_cost", "maximise_value"];
|
|
261
261
|
};
|
|
262
262
|
readonly split: {
|
|
263
|
-
readonly type: "boolean";
|
|
264
263
|
readonly default: false;
|
|
264
|
+
readonly type: "boolean";
|
|
265
265
|
};
|
|
266
266
|
readonly max_total_cost: {
|
|
267
267
|
readonly type: "number";
|
|
@@ -269,6 +269,7 @@ export declare const solveInputSchema: {
|
|
|
269
269
|
readonly maximum: 1000000000000;
|
|
270
270
|
};
|
|
271
271
|
readonly items: {
|
|
272
|
+
readonly minItems: 1;
|
|
272
273
|
readonly type: "array";
|
|
273
274
|
readonly items: {
|
|
274
275
|
readonly type: "object";
|
|
@@ -279,18 +280,18 @@ export declare const solveInputSchema: {
|
|
|
279
280
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
280
281
|
};
|
|
281
282
|
readonly quantity: {
|
|
283
|
+
readonly default: 1;
|
|
282
284
|
readonly type: "number";
|
|
283
285
|
readonly exclusiveMinimum: 0;
|
|
284
286
|
readonly maximum: 1000000000000;
|
|
285
|
-
readonly default: 1;
|
|
286
287
|
};
|
|
287
288
|
};
|
|
288
289
|
readonly required: readonly ["id"];
|
|
289
290
|
readonly additionalProperties: false;
|
|
290
291
|
};
|
|
291
|
-
readonly minItems: 1;
|
|
292
292
|
};
|
|
293
293
|
readonly options: {
|
|
294
|
+
readonly minItems: 1;
|
|
294
295
|
readonly type: "array";
|
|
295
296
|
readonly items: {
|
|
296
297
|
readonly type: "object";
|
|
@@ -309,9 +310,9 @@ export declare const solveInputSchema: {
|
|
|
309
310
|
readonly required: readonly ["id"];
|
|
310
311
|
readonly additionalProperties: false;
|
|
311
312
|
};
|
|
312
|
-
readonly minItems: 1;
|
|
313
313
|
};
|
|
314
314
|
readonly pairs: {
|
|
315
|
+
readonly minItems: 1;
|
|
315
316
|
readonly type: "array";
|
|
316
317
|
readonly items: {
|
|
317
318
|
readonly type: "object";
|
|
@@ -340,9 +341,9 @@ export declare const solveInputSchema: {
|
|
|
340
341
|
readonly required: readonly ["item", "option", "cost"];
|
|
341
342
|
readonly additionalProperties: false;
|
|
342
343
|
};
|
|
343
|
-
readonly minItems: 1;
|
|
344
344
|
};
|
|
345
345
|
readonly min_share: {
|
|
346
|
+
readonly default: readonly [];
|
|
346
347
|
readonly type: "array";
|
|
347
348
|
readonly items: {
|
|
348
349
|
readonly type: "object";
|
|
@@ -363,16 +364,16 @@ export declare const solveInputSchema: {
|
|
|
363
364
|
readonly maximum: 1;
|
|
364
365
|
};
|
|
365
366
|
readonly if_used: {
|
|
366
|
-
readonly type: "boolean";
|
|
367
367
|
readonly default: false;
|
|
368
|
+
readonly type: "boolean";
|
|
368
369
|
};
|
|
369
370
|
};
|
|
370
371
|
readonly required: readonly ["option", "share"];
|
|
371
372
|
readonly additionalProperties: false;
|
|
372
373
|
};
|
|
373
|
-
readonly default: readonly [];
|
|
374
374
|
};
|
|
375
375
|
readonly max_share: {
|
|
376
|
+
readonly default: readonly [];
|
|
376
377
|
readonly type: "array";
|
|
377
378
|
readonly items: {
|
|
378
379
|
readonly type: "object";
|
|
@@ -396,9 +397,9 @@ export declare const solveInputSchema: {
|
|
|
396
397
|
readonly required: readonly ["option", "share"];
|
|
397
398
|
readonly additionalProperties: false;
|
|
398
399
|
};
|
|
399
|
-
readonly default: readonly [];
|
|
400
400
|
};
|
|
401
401
|
readonly required: {
|
|
402
|
+
readonly default: readonly [];
|
|
402
403
|
readonly type: "array";
|
|
403
404
|
readonly items: {
|
|
404
405
|
readonly type: "object";
|
|
@@ -417,9 +418,9 @@ export declare const solveInputSchema: {
|
|
|
417
418
|
readonly required: readonly ["item", "option"];
|
|
418
419
|
readonly additionalProperties: false;
|
|
419
420
|
};
|
|
420
|
-
readonly default: readonly [];
|
|
421
421
|
};
|
|
422
422
|
readonly forbidden: {
|
|
423
|
+
readonly default: readonly [];
|
|
423
424
|
readonly type: "array";
|
|
424
425
|
readonly items: {
|
|
425
426
|
readonly type: "object";
|
|
@@ -438,7 +439,6 @@ export declare const solveInputSchema: {
|
|
|
438
439
|
readonly required: readonly ["item", "option"];
|
|
439
440
|
readonly additionalProperties: false;
|
|
440
441
|
};
|
|
441
|
-
readonly default: readonly [];
|
|
442
442
|
};
|
|
443
443
|
};
|
|
444
444
|
readonly required: readonly ["objective", "items", "options", "pairs"];
|
|
@@ -452,15 +452,16 @@ export declare const solveInputSchema: {
|
|
|
452
452
|
readonly enum: readonly ["bin", "knapsack"];
|
|
453
453
|
};
|
|
454
454
|
readonly dimensions: {
|
|
455
|
+
readonly minItems: 1;
|
|
455
456
|
readonly type: "array";
|
|
456
457
|
readonly items: {
|
|
457
458
|
readonly type: "string";
|
|
458
459
|
readonly minLength: 1;
|
|
459
460
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
460
461
|
};
|
|
461
|
-
readonly minItems: 1;
|
|
462
462
|
};
|
|
463
463
|
readonly bins: {
|
|
464
|
+
readonly minItems: 1;
|
|
464
465
|
readonly type: "array";
|
|
465
466
|
readonly items: {
|
|
466
467
|
readonly type: "object";
|
|
@@ -472,6 +473,9 @@ export declare const solveInputSchema: {
|
|
|
472
473
|
};
|
|
473
474
|
readonly capacity: {
|
|
474
475
|
readonly type: "object";
|
|
476
|
+
readonly propertyNames: {
|
|
477
|
+
readonly type: "string";
|
|
478
|
+
};
|
|
475
479
|
readonly additionalProperties: {
|
|
476
480
|
readonly type: "number";
|
|
477
481
|
readonly minimum: 0;
|
|
@@ -479,18 +483,18 @@ export declare const solveInputSchema: {
|
|
|
479
483
|
};
|
|
480
484
|
};
|
|
481
485
|
readonly quantity: {
|
|
486
|
+
readonly default: 1;
|
|
482
487
|
readonly type: "integer";
|
|
483
488
|
readonly minimum: 1;
|
|
484
489
|
readonly maximum: 1000000;
|
|
485
|
-
readonly default: 1;
|
|
486
490
|
};
|
|
487
491
|
};
|
|
488
492
|
readonly required: readonly ["id", "capacity"];
|
|
489
493
|
readonly additionalProperties: false;
|
|
490
494
|
};
|
|
491
|
-
readonly minItems: 1;
|
|
492
495
|
};
|
|
493
496
|
readonly items: {
|
|
497
|
+
readonly minItems: 1;
|
|
494
498
|
readonly type: "array";
|
|
495
499
|
readonly items: {
|
|
496
500
|
readonly type: "object";
|
|
@@ -502,6 +506,9 @@ export declare const solveInputSchema: {
|
|
|
502
506
|
};
|
|
503
507
|
readonly size: {
|
|
504
508
|
readonly type: "object";
|
|
509
|
+
readonly propertyNames: {
|
|
510
|
+
readonly type: "string";
|
|
511
|
+
};
|
|
505
512
|
readonly additionalProperties: {
|
|
506
513
|
readonly type: "number";
|
|
507
514
|
readonly minimum: 0;
|
|
@@ -514,23 +521,20 @@ export declare const solveInputSchema: {
|
|
|
514
521
|
readonly maximum: 1000000000000;
|
|
515
522
|
};
|
|
516
523
|
readonly quantity: {
|
|
524
|
+
readonly default: 1;
|
|
517
525
|
readonly type: "integer";
|
|
518
526
|
readonly minimum: 1;
|
|
519
527
|
readonly maximum: 1000000;
|
|
520
|
-
readonly default: 1;
|
|
521
528
|
};
|
|
522
529
|
};
|
|
523
530
|
readonly required: readonly ["id", "size"];
|
|
524
531
|
readonly additionalProperties: false;
|
|
525
532
|
};
|
|
526
|
-
readonly minItems: 1;
|
|
527
533
|
};
|
|
528
534
|
readonly incompatible: {
|
|
529
535
|
readonly type: "array";
|
|
530
536
|
readonly items: {
|
|
531
537
|
readonly type: "array";
|
|
532
|
-
readonly minItems: 2;
|
|
533
|
-
readonly maxItems: 2;
|
|
534
538
|
readonly items: readonly [{
|
|
535
539
|
readonly type: "string";
|
|
536
540
|
readonly minLength: 1;
|
|
@@ -540,6 +544,9 @@ export declare const solveInputSchema: {
|
|
|
540
544
|
readonly minLength: 1;
|
|
541
545
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
542
546
|
}];
|
|
547
|
+
readonly additionalItems: false;
|
|
548
|
+
readonly minItems: 2;
|
|
549
|
+
readonly maxItems: 2;
|
|
543
550
|
};
|
|
544
551
|
};
|
|
545
552
|
};
|
|
@@ -550,16 +557,17 @@ export declare const solveInputSchema: {
|
|
|
550
557
|
readonly type: "object";
|
|
551
558
|
readonly properties: {
|
|
552
559
|
readonly time_unit: {
|
|
560
|
+
readonly default: "min";
|
|
553
561
|
readonly type: "string";
|
|
554
562
|
readonly minLength: 1;
|
|
555
563
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
556
|
-
readonly default: "min";
|
|
557
564
|
};
|
|
558
565
|
readonly objective: {
|
|
559
566
|
readonly type: "string";
|
|
560
567
|
readonly enum: readonly ["makespan", "tardiness", "cost"];
|
|
561
568
|
};
|
|
562
569
|
readonly jobs: {
|
|
570
|
+
readonly minItems: 1;
|
|
563
571
|
readonly type: "array";
|
|
564
572
|
readonly items: {
|
|
565
573
|
readonly type: "object";
|
|
@@ -575,10 +583,10 @@ export declare const solveInputSchema: {
|
|
|
575
583
|
readonly maximum: 1000000000000;
|
|
576
584
|
};
|
|
577
585
|
readonly release: {
|
|
586
|
+
readonly default: 0;
|
|
578
587
|
readonly type: "integer";
|
|
579
588
|
readonly minimum: 0;
|
|
580
589
|
readonly maximum: 1000000000000;
|
|
581
|
-
readonly default: 0;
|
|
582
590
|
};
|
|
583
591
|
readonly due: {
|
|
584
592
|
readonly type: "integer";
|
|
@@ -587,29 +595,30 @@ export declare const solveInputSchema: {
|
|
|
587
595
|
};
|
|
588
596
|
readonly needs: {
|
|
589
597
|
readonly type: "object";
|
|
598
|
+
readonly propertyNames: {
|
|
599
|
+
readonly type: "string";
|
|
600
|
+
readonly minLength: 1;
|
|
601
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
602
|
+
};
|
|
590
603
|
readonly additionalProperties: {
|
|
591
604
|
readonly type: "number";
|
|
592
605
|
readonly minimum: 0;
|
|
593
606
|
readonly maximum: 1000000;
|
|
594
607
|
};
|
|
595
|
-
readonly propertyNames: {
|
|
596
|
-
readonly minLength: 1;
|
|
597
|
-
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
598
|
-
};
|
|
599
608
|
};
|
|
600
609
|
readonly weight: {
|
|
610
|
+
readonly default: 1;
|
|
601
611
|
readonly type: "number";
|
|
602
612
|
readonly minimum: 0;
|
|
603
613
|
readonly maximum: 1000000;
|
|
604
|
-
readonly default: 1;
|
|
605
614
|
};
|
|
606
615
|
};
|
|
607
616
|
readonly required: readonly ["id", "duration"];
|
|
608
617
|
readonly additionalProperties: false;
|
|
609
618
|
};
|
|
610
|
-
readonly minItems: 1;
|
|
611
619
|
};
|
|
612
620
|
readonly resources: {
|
|
621
|
+
readonly minItems: 1;
|
|
613
622
|
readonly type: "array";
|
|
614
623
|
readonly items: {
|
|
615
624
|
readonly type: "object";
|
|
@@ -645,18 +654,18 @@ export declare const solveInputSchema: {
|
|
|
645
654
|
};
|
|
646
655
|
};
|
|
647
656
|
readonly cost_per_unit_time: {
|
|
657
|
+
readonly default: 0;
|
|
648
658
|
readonly type: "number";
|
|
649
659
|
readonly minimum: 0;
|
|
650
660
|
readonly maximum: 1000000;
|
|
651
|
-
readonly default: 0;
|
|
652
661
|
};
|
|
653
662
|
};
|
|
654
663
|
readonly required: readonly ["id", "capacity"];
|
|
655
664
|
readonly additionalProperties: false;
|
|
656
665
|
};
|
|
657
|
-
readonly minItems: 1;
|
|
658
666
|
};
|
|
659
667
|
readonly precedence: {
|
|
668
|
+
readonly default: readonly [];
|
|
660
669
|
readonly type: "array";
|
|
661
670
|
readonly items: {
|
|
662
671
|
readonly type: "object";
|
|
@@ -672,16 +681,15 @@ export declare const solveInputSchema: {
|
|
|
672
681
|
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
673
682
|
};
|
|
674
683
|
readonly lag: {
|
|
684
|
+
readonly default: 0;
|
|
675
685
|
readonly type: "integer";
|
|
676
686
|
readonly minimum: 0;
|
|
677
687
|
readonly maximum: 1000000000000;
|
|
678
|
-
readonly default: 0;
|
|
679
688
|
};
|
|
680
689
|
};
|
|
681
690
|
readonly required: readonly ["before", "after"];
|
|
682
691
|
readonly additionalProperties: false;
|
|
683
692
|
};
|
|
684
|
-
readonly default: readonly [];
|
|
685
693
|
};
|
|
686
694
|
};
|
|
687
695
|
readonly required: readonly ["objective", "jobs", "resources"];
|