@mapbox/mcp-server 0.0.2 → 0.1.1-dev.2
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 +26 -1
- package/dist/cjs/package.json +3 -0
- package/dist/esm/package.json +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +38 -0
- package/dist/index.js.map +1 -0
- package/dist/tools/MapboxApiBasedTool.d.ts +75 -0
- package/dist/tools/MapboxApiBasedTool.d.ts.map +1 -0
- package/dist/tools/MapboxApiBasedTool.js +78 -0
- package/dist/tools/MapboxApiBasedTool.js.map +1 -0
- package/dist/tools/category-search-tool/CategorySearchTool.d.ts +39 -0
- package/dist/tools/category-search-tool/CategorySearchTool.d.ts.map +1 -0
- package/dist/tools/category-search-tool/CategorySearchTool.js +638 -0
- package/dist/tools/category-search-tool/CategorySearchTool.js.map +1 -0
- package/dist/tools/category-search-tool/CategorySearchTool.test.d.ts +2 -0
- package/dist/tools/category-search-tool/CategorySearchTool.test.d.ts.map +1 -0
- package/dist/tools/category-search-tool/CategorySearchTool.test.js +289 -0
- package/dist/tools/category-search-tool/CategorySearchTool.test.js.map +1 -0
- package/dist/tools/directions-tool/DirectionsTool.d.ts +53 -0
- package/dist/tools/directions-tool/DirectionsTool.d.ts.map +1 -0
- package/dist/tools/directions-tool/DirectionsTool.js +405 -0
- package/dist/tools/directions-tool/DirectionsTool.js.map +1 -0
- package/dist/tools/directions-tool/DirectionsTool.test.d.ts +2 -0
- package/dist/tools/directions-tool/DirectionsTool.test.d.ts.map +1 -0
- package/dist/tools/directions-tool/DirectionsTool.test.js +867 -0
- package/dist/tools/directions-tool/DirectionsTool.test.js.map +1 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.d.ts +51 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.d.ts.map +1 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.js +182 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.js.map +1 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.test.d.ts +2 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.test.d.ts.map +1 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.test.js +335 -0
- package/dist/tools/forward-geocode-tool/ForwardGeocodeTool.test.js.map +1 -0
- package/dist/tools/isochrone-tool/IsochroneTool.d.ts +44 -0
- package/dist/tools/isochrone-tool/IsochroneTool.d.ts.map +1 -0
- package/dist/tools/isochrone-tool/IsochroneTool.js +108 -0
- package/dist/tools/isochrone-tool/IsochroneTool.js.map +1 -0
- package/dist/tools/isochrone-tool/IsochroneTool.test.d.ts +2 -0
- package/dist/tools/isochrone-tool/IsochroneTool.test.d.ts.map +1 -0
- package/dist/tools/isochrone-tool/IsochroneTool.test.js +110 -0
- package/dist/tools/isochrone-tool/IsochroneTool.test.js.map +1 -0
- package/dist/tools/matrix-tool/MatrixTool.d.ts +35 -0
- package/dist/tools/matrix-tool/MatrixTool.d.ts.map +1 -0
- package/dist/tools/matrix-tool/MatrixTool.js +195 -0
- package/dist/tools/matrix-tool/MatrixTool.js.map +1 -0
- package/dist/tools/matrix-tool/MatrixTool.test.d.ts +2 -0
- package/dist/tools/matrix-tool/MatrixTool.test.d.ts.map +1 -0
- package/dist/tools/matrix-tool/MatrixTool.test.js +803 -0
- package/dist/tools/matrix-tool/MatrixTool.test.js.map +1 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.d.ts +54 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.d.ts.map +1 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.js +193 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.js.map +1 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.test.d.ts +2 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.test.d.ts.map +1 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.test.js +338 -0
- package/dist/tools/poi-search-tool/PoiSearchTool.test.js.map +1 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.d.ts +42 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.d.ts.map +1 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.js +131 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.js.map +1 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.test.d.ts +2 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.test.d.ts.map +1 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.test.js +340 -0
- package/dist/tools/reverse-geocode-tool/ReverseGeocodeTool.test.js.map +1 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.d.ts +148 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.d.ts.map +1 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.js +406 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.js.map +1 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.test.d.ts +2 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.test.d.ts.map +1 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.test.js +440 -0
- package/dist/tools/static-map-image-tool/StaticMapImageTool.test.js.map +1 -0
- package/dist/utils/requestUtils.d.ts +6 -0
- package/dist/utils/requestUtils.d.ts.map +1 -0
- package/dist/utils/requestUtils.js +29 -0
- package/dist/utils/requestUtils.js.map +1 -0
- package/dist/utils/requestUtils.test-helpers.d.ts +3 -0
- package/dist/utils/requestUtils.test-helpers.d.ts.map +1 -0
- package/dist/utils/requestUtils.test-helpers.js +28 -0
- package/dist/utils/requestUtils.test-helpers.js.map +1 -0
- package/dist/utils/versionUtils.d.ts +9 -0
- package/dist/utils/versionUtils.d.ts.map +1 -0
- package/dist/utils/versionUtils.js +25 -0
- package/dist/utils/versionUtils.js.map +1 -0
- package/dist/version.json +6 -0
- package/package.json +2 -2
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
// Set the token before importing the tool
|
|
2
|
+
process.env.MAPBOX_ACCESS_TOKEN = 'test-token';
|
|
3
|
+
import { setupFetch, assertHeadersSent } from '../../utils/requestUtils.test-helpers.js';
|
|
4
|
+
import { CategorySearchTool } from '../category-search-tool/CategorySearchTool.js';
|
|
5
|
+
describe('CategorySearchTool', () => {
|
|
6
|
+
afterEach(() => {
|
|
7
|
+
jest.restoreAllMocks();
|
|
8
|
+
});
|
|
9
|
+
it('sends custom header', async () => {
|
|
10
|
+
const mockFetch = setupFetch();
|
|
11
|
+
await new CategorySearchTool().run({
|
|
12
|
+
category: 'restaurant'
|
|
13
|
+
});
|
|
14
|
+
assertHeadersSent(mockFetch);
|
|
15
|
+
});
|
|
16
|
+
it('constructs correct URL with required parameters', async () => {
|
|
17
|
+
const mockFetch = setupFetch();
|
|
18
|
+
await new CategorySearchTool().run({
|
|
19
|
+
category: 'cafe'
|
|
20
|
+
});
|
|
21
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
22
|
+
expect(calledUrl).toContain('search/searchbox/v1/category/cafe');
|
|
23
|
+
expect(calledUrl).toContain('access_token=');
|
|
24
|
+
});
|
|
25
|
+
it('includes all optional parameters in URL', async () => {
|
|
26
|
+
const mockFetch = setupFetch();
|
|
27
|
+
await new CategorySearchTool().run({
|
|
28
|
+
category: 'hotel',
|
|
29
|
+
language: 'es',
|
|
30
|
+
limit: 15,
|
|
31
|
+
proximity: [-74.006, 40.7128],
|
|
32
|
+
bbox: [-74.1, 40.6, -73.9, 40.8],
|
|
33
|
+
country: ['US', 'CA'],
|
|
34
|
+
poi_category_exclusions: ['motel', 'hostel']
|
|
35
|
+
});
|
|
36
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
37
|
+
expect(calledUrl).toContain('category/hotel');
|
|
38
|
+
expect(calledUrl).toContain('language=es');
|
|
39
|
+
expect(calledUrl).toContain('limit=15');
|
|
40
|
+
expect(calledUrl).toContain('proximity=-74.006%2C40.7128');
|
|
41
|
+
expect(calledUrl).toContain('bbox=-74.1%2C40.6%2C-73.9%2C40.8');
|
|
42
|
+
expect(calledUrl).toContain('country=US%2CCA');
|
|
43
|
+
expect(calledUrl).toContain('poi_category_exclusions=motel%2Chostel');
|
|
44
|
+
});
|
|
45
|
+
it('handles IP-based proximity', async () => {
|
|
46
|
+
const mockFetch = setupFetch();
|
|
47
|
+
await new CategorySearchTool().run({
|
|
48
|
+
category: 'gas_station',
|
|
49
|
+
proximity: 'ip'
|
|
50
|
+
});
|
|
51
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
52
|
+
expect(calledUrl).toContain('proximity=ip');
|
|
53
|
+
});
|
|
54
|
+
it('handles string format proximity coordinates', async () => {
|
|
55
|
+
const mockFetch = setupFetch();
|
|
56
|
+
await new CategorySearchTool().run({
|
|
57
|
+
category: 'restaurant',
|
|
58
|
+
proximity: '-82.451668,27.942976'
|
|
59
|
+
});
|
|
60
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
61
|
+
expect(calledUrl).toContain('proximity=-82.451668%2C27.942976');
|
|
62
|
+
});
|
|
63
|
+
it('handles array-like string format proximity', async () => {
|
|
64
|
+
const mockFetch = setupFetch();
|
|
65
|
+
await new CategorySearchTool().run({
|
|
66
|
+
category: 'restaurant',
|
|
67
|
+
proximity: '[-82.451668, 27.942964]'
|
|
68
|
+
});
|
|
69
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
70
|
+
expect(calledUrl).toContain('proximity=-82.451668%2C27.942964');
|
|
71
|
+
});
|
|
72
|
+
it('uses default limit when not specified', async () => {
|
|
73
|
+
const mockFetch = setupFetch();
|
|
74
|
+
await new CategorySearchTool().run({
|
|
75
|
+
category: 'pharmacy'
|
|
76
|
+
});
|
|
77
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
78
|
+
expect(calledUrl).toContain('limit=10');
|
|
79
|
+
});
|
|
80
|
+
it('handles fetch errors gracefully', async () => {
|
|
81
|
+
const mockFetch = setupFetch({
|
|
82
|
+
ok: false,
|
|
83
|
+
status: 404,
|
|
84
|
+
statusText: 'Not Found'
|
|
85
|
+
});
|
|
86
|
+
const result = await new CategorySearchTool().run({
|
|
87
|
+
category: 'restaurant'
|
|
88
|
+
});
|
|
89
|
+
expect(result.is_error).toBe(true);
|
|
90
|
+
expect(result.content[0]).toMatchObject({
|
|
91
|
+
type: 'text',
|
|
92
|
+
text: 'Internal error has occurred.'
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
it('validates limit constraints', async () => {
|
|
96
|
+
const tool = new CategorySearchTool();
|
|
97
|
+
// Test limit too high
|
|
98
|
+
await expect(tool.run({
|
|
99
|
+
category: 'atm',
|
|
100
|
+
limit: 26
|
|
101
|
+
})).resolves.toMatchObject({
|
|
102
|
+
is_error: true
|
|
103
|
+
});
|
|
104
|
+
// Test limit too low
|
|
105
|
+
await expect(tool.run({
|
|
106
|
+
category: 'atm',
|
|
107
|
+
limit: 0
|
|
108
|
+
})).resolves.toMatchObject({
|
|
109
|
+
is_error: true
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
it('validates coordinate constraints', async () => {
|
|
113
|
+
const tool = new CategorySearchTool();
|
|
114
|
+
// Test invalid longitude in proximity
|
|
115
|
+
await expect(tool.run({
|
|
116
|
+
category: 'parking',
|
|
117
|
+
proximity: [-181, 40]
|
|
118
|
+
})).resolves.toMatchObject({
|
|
119
|
+
is_error: true
|
|
120
|
+
});
|
|
121
|
+
// Test invalid latitude in bbox
|
|
122
|
+
await expect(tool.run({
|
|
123
|
+
category: 'parking',
|
|
124
|
+
bbox: [-74, -91, -73, 40]
|
|
125
|
+
})).resolves.toMatchObject({
|
|
126
|
+
is_error: true
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
it('encodes special characters in category', async () => {
|
|
130
|
+
const mockFetch = setupFetch();
|
|
131
|
+
await new CategorySearchTool().run({
|
|
132
|
+
category: 'shopping mall'
|
|
133
|
+
});
|
|
134
|
+
const calledUrl = mockFetch.mock.calls[0][0];
|
|
135
|
+
expect(calledUrl).toContain('category/shopping%20mall');
|
|
136
|
+
});
|
|
137
|
+
it('formats GeoJSON response to text with basic information', async () => {
|
|
138
|
+
const mockResponse = {
|
|
139
|
+
type: 'FeatureCollection',
|
|
140
|
+
features: [
|
|
141
|
+
{
|
|
142
|
+
type: 'Feature',
|
|
143
|
+
properties: {
|
|
144
|
+
name: 'Local Coffee Shop',
|
|
145
|
+
full_address: '456 Oak St, Portland, OR 97205',
|
|
146
|
+
feature_type: 'poi',
|
|
147
|
+
poi_category: ['coffee', 'cafe']
|
|
148
|
+
},
|
|
149
|
+
geometry: {
|
|
150
|
+
type: 'Point',
|
|
151
|
+
coordinates: [-122.676, 45.515]
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
};
|
|
156
|
+
const mockFetch = setupFetch({
|
|
157
|
+
json: async () => mockResponse
|
|
158
|
+
});
|
|
159
|
+
const result = await new CategorySearchTool().run({
|
|
160
|
+
category: 'cafe'
|
|
161
|
+
});
|
|
162
|
+
expect(result.is_error).toBe(false);
|
|
163
|
+
expect(result.content[0].type).toBe('text');
|
|
164
|
+
const textContent = result.content[0].text;
|
|
165
|
+
expect(textContent).toContain('1. Local Coffee Shop');
|
|
166
|
+
expect(textContent).toContain('Address: 456 Oak St, Portland, OR 97205');
|
|
167
|
+
expect(textContent).toContain('Coordinates: 45.515, -122.676');
|
|
168
|
+
expect(textContent).toContain('Type: poi');
|
|
169
|
+
expect(textContent).toContain('Category: coffee, cafe');
|
|
170
|
+
});
|
|
171
|
+
it('formats GeoJSON response with name_preferred', async () => {
|
|
172
|
+
const mockResponse = {
|
|
173
|
+
type: 'FeatureCollection',
|
|
174
|
+
features: [
|
|
175
|
+
{
|
|
176
|
+
type: 'Feature',
|
|
177
|
+
properties: {
|
|
178
|
+
name: 'McDonalds',
|
|
179
|
+
name_preferred: "McDonald's",
|
|
180
|
+
place_formatted: '123 Main St, Boston, MA'
|
|
181
|
+
},
|
|
182
|
+
geometry: {
|
|
183
|
+
type: 'Point',
|
|
184
|
+
coordinates: [-71.0589, 42.3601]
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
};
|
|
189
|
+
const mockFetch = setupFetch({
|
|
190
|
+
json: async () => mockResponse
|
|
191
|
+
});
|
|
192
|
+
const result = await new CategorySearchTool().run({
|
|
193
|
+
category: 'fast_food'
|
|
194
|
+
});
|
|
195
|
+
expect(result.is_error).toBe(false);
|
|
196
|
+
const textContent = result.content[0].text;
|
|
197
|
+
expect(textContent).toContain("1. McDonalds (McDonald's)");
|
|
198
|
+
expect(textContent).toContain('Address: 123 Main St, Boston, MA');
|
|
199
|
+
expect(textContent).toContain('Coordinates: 42.3601, -71.0589');
|
|
200
|
+
});
|
|
201
|
+
it('handles multiple results in formatted text', async () => {
|
|
202
|
+
const mockResponse = {
|
|
203
|
+
type: 'FeatureCollection',
|
|
204
|
+
features: [
|
|
205
|
+
{
|
|
206
|
+
type: 'Feature',
|
|
207
|
+
properties: {
|
|
208
|
+
name: 'Target',
|
|
209
|
+
full_address: '100 Store St, Seattle, WA 98101',
|
|
210
|
+
feature_type: 'poi'
|
|
211
|
+
},
|
|
212
|
+
geometry: {
|
|
213
|
+
type: 'Point',
|
|
214
|
+
coordinates: [-122.335, 47.608]
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
type: 'Feature',
|
|
219
|
+
properties: {
|
|
220
|
+
name: 'Walmart',
|
|
221
|
+
full_address: '200 Shop Ave, Seattle, WA 98102',
|
|
222
|
+
feature_type: 'poi'
|
|
223
|
+
},
|
|
224
|
+
geometry: {
|
|
225
|
+
type: 'Point',
|
|
226
|
+
coordinates: [-122.340, 47.610]
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
]
|
|
230
|
+
};
|
|
231
|
+
const mockFetch = setupFetch({
|
|
232
|
+
json: async () => mockResponse
|
|
233
|
+
});
|
|
234
|
+
const result = await new CategorySearchTool().run({
|
|
235
|
+
category: 'department_store',
|
|
236
|
+
limit: 2
|
|
237
|
+
});
|
|
238
|
+
expect(result.is_error).toBe(false);
|
|
239
|
+
const textContent = result.content[0].text;
|
|
240
|
+
expect(textContent).toContain('1. Target');
|
|
241
|
+
expect(textContent).toContain('2. Walmart');
|
|
242
|
+
expect(textContent).toContain('100 Store St, Seattle, WA 98101');
|
|
243
|
+
expect(textContent).toContain('200 Shop Ave, Seattle, WA 98102');
|
|
244
|
+
});
|
|
245
|
+
it('handles empty results gracefully', async () => {
|
|
246
|
+
const mockResponse = {
|
|
247
|
+
type: 'FeatureCollection',
|
|
248
|
+
features: []
|
|
249
|
+
};
|
|
250
|
+
const mockFetch = setupFetch({
|
|
251
|
+
json: async () => mockResponse
|
|
252
|
+
});
|
|
253
|
+
const result = await new CategorySearchTool().run({
|
|
254
|
+
category: 'nonexistent_category'
|
|
255
|
+
});
|
|
256
|
+
expect(result.is_error).toBe(false);
|
|
257
|
+
expect(result.content[0].type).toBe('text');
|
|
258
|
+
expect(result.content[0].text).toBe('No results found.');
|
|
259
|
+
});
|
|
260
|
+
it('handles results with minimal properties', async () => {
|
|
261
|
+
const mockResponse = {
|
|
262
|
+
type: 'FeatureCollection',
|
|
263
|
+
features: [
|
|
264
|
+
{
|
|
265
|
+
type: 'Feature',
|
|
266
|
+
properties: {
|
|
267
|
+
name: 'Some Gas Station'
|
|
268
|
+
},
|
|
269
|
+
geometry: {
|
|
270
|
+
type: 'Point',
|
|
271
|
+
coordinates: [-74.006, 40.7128]
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
};
|
|
276
|
+
const mockFetch = setupFetch({
|
|
277
|
+
json: async () => mockResponse
|
|
278
|
+
});
|
|
279
|
+
const result = await new CategorySearchTool().run({
|
|
280
|
+
category: 'gas_station'
|
|
281
|
+
});
|
|
282
|
+
expect(result.is_error).toBe(false);
|
|
283
|
+
const textContent = result.content[0].text;
|
|
284
|
+
expect(textContent).toContain('1. Some Gas Station');
|
|
285
|
+
expect(textContent).toContain('Coordinates: 40.7128, -74.006');
|
|
286
|
+
expect(textContent).not.toContain('Address:');
|
|
287
|
+
});
|
|
288
|
+
});
|
|
289
|
+
//# sourceMappingURL=CategorySearchTool.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategorySearchTool.test.js","sourceRoot":"","sources":["../../../src/tools/category-search-tool/CategorySearchTool.test.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,OAAO,CAAC,GAAG,CAAC,mBAAmB,GAAG,YAAY,CAAC;AAE/C,OAAO,EACL,UAAU,EACV,iBAAiB,EAClB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AAEnF,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qBAAqB,EAAE,KAAK,IAAI,EAAE;QACnC,MAAM,SAAS,GAAG,UAAU,EAAE,CAAC;QAE/B,MAAM,IAAI,kBAAkB,EAAE,CAAC,GAAG,CAAC;YACjC,QAAQ,EAAE,YAAY;SACvB,CAAC,CAAC;QAEH,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iDAAiD,EAAE,KAAK,IAAI,EAAE;QAC/D,MAAM,SAAS,GAAG,UAAU,EAAE,CAAC;QAE/B,MAAM,IAAI,kBAAkB,EAAE,CAAC,GAAG,CAAC;YACjC,QAAQ,EAAE,MAAM;SACjB,CAAC,CAAC;QAEH,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC7C,MAAM,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,mCAAmC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AC,SAAS,CAAC,qBAAqB,CAAC,CAAC;QACrD,MAAM,CAAC,WAAW,CAAC,CAAC,SAAS,CAAC,+BAA+B,CAAC,CAAC;QAC/D,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { MapboxApiBasedTool } from '../MapboxApiBasedTool.js';
|
|
3
|
+
declare const DirectionsInputSchema: z.ZodObject<{
|
|
4
|
+
coordinates: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">;
|
|
5
|
+
routing_profile: z.ZodDefault<z.ZodOptional<z.ZodEnum<["driving-traffic", "driving", "walking", "cycling"]>>>;
|
|
6
|
+
walking_speed: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
walkway_bias: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
geometries: z.ZodDefault<z.ZodOptional<z.ZodEnum<["geojson", "polyline", "polyline6"]>>>;
|
|
9
|
+
max_height: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
max_width: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
max_weight: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
alternatives: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
13
|
+
annotations: z.ZodOptional<z.ZodArray<z.ZodEnum<["distance", "duration", "speed", "congestion"]>, "many">>;
|
|
14
|
+
depart_at: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
15
|
+
arrive_by: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
16
|
+
exclude: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
coordinates: [number, number][];
|
|
19
|
+
routing_profile: "driving-traffic" | "driving" | "walking" | "cycling";
|
|
20
|
+
geometries: "geojson" | "polyline" | "polyline6";
|
|
21
|
+
alternatives: boolean;
|
|
22
|
+
annotations?: ("distance" | "duration" | "speed" | "congestion")[] | undefined;
|
|
23
|
+
walking_speed?: number | undefined;
|
|
24
|
+
walkway_bias?: number | undefined;
|
|
25
|
+
max_height?: number | undefined;
|
|
26
|
+
max_width?: number | undefined;
|
|
27
|
+
max_weight?: number | undefined;
|
|
28
|
+
depart_at?: string | undefined;
|
|
29
|
+
arrive_by?: string | undefined;
|
|
30
|
+
exclude?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
coordinates: [number, number][];
|
|
33
|
+
annotations?: ("distance" | "duration" | "speed" | "congestion")[] | undefined;
|
|
34
|
+
routing_profile?: "driving-traffic" | "driving" | "walking" | "cycling" | undefined;
|
|
35
|
+
walking_speed?: number | undefined;
|
|
36
|
+
walkway_bias?: number | undefined;
|
|
37
|
+
geometries?: "geojson" | "polyline" | "polyline6" | undefined;
|
|
38
|
+
max_height?: number | undefined;
|
|
39
|
+
max_width?: number | undefined;
|
|
40
|
+
max_weight?: number | undefined;
|
|
41
|
+
alternatives?: boolean | undefined;
|
|
42
|
+
depart_at?: string | undefined;
|
|
43
|
+
arrive_by?: string | undefined;
|
|
44
|
+
exclude?: string | undefined;
|
|
45
|
+
}>;
|
|
46
|
+
export declare class DirectionsTool extends MapboxApiBasedTool<typeof DirectionsInputSchema> {
|
|
47
|
+
name: string;
|
|
48
|
+
description: string;
|
|
49
|
+
constructor();
|
|
50
|
+
protected execute(input: z.infer<typeof DirectionsInputSchema>): Promise<any>;
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=DirectionsTool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirectionsTool.d.ts","sourceRoot":"","sources":["../../../src/tools/directions-tool/DirectionsTool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAsH9D,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8MzB,CAAC;AACH,qBAAa,cAAe,SAAQ,kBAAkB,CACpD,OAAO,qBAAqB,CAC7B;IACC,IAAI,SAAoB;IACxB,WAAW,SACgF;;cAK3E,OAAO,CACrB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,GAC3C,OAAO,CAAC,GAAG,CAAC;CAiLhB"}
|