@gui-chat-plugin/google-map 0.3.1 → 0.4.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/core.cjs CHANGED
@@ -1,76 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s="mapControl",c={type:"function",name:s,description:`Control a Google Map interactively. Supports showing locations, adding markers, searching for places, and getting directions.
2
-
3
- Available actions:
4
- - showLocation: Display a location on the map (default action)
5
- - setCenter: Change the map center without markers
6
- - setZoom: Change the zoom level (1-21)
7
- - addMarker: Add a marker to the map
8
- - clearMarkers: Remove all markers from the map
9
- - findPlaces: Search for nearby places using Google Places API
10
- - getDirections: Get directions between two locations`,parameters:{type:"object",properties:{action:{type:"string",enum:["showLocation","setCenter","setZoom","addMarker","clearMarkers","findPlaces","getDirections"],description:"The action to perform. Defaults to 'showLocation' if not specified."},location:{type:"string",description:"Location name, address, or place (e.g., 'Tokyo Station', 'Paris, France'). Used with showLocation, setCenter, addMarker actions."},lat:{type:"number",description:"Latitude coordinate. Can be used instead of location for precise positioning."},lng:{type:"number",description:"Longitude coordinate. Can be used instead of location for precise positioning."},zoom:{type:"integer",minimum:1,maximum:21,description:"Zoom level for setZoom action (1=world, 15=streets, 21=buildings). Default is 15."},searchQuery:{type:"string",description:"Text search query for findPlaces action (e.g., 'ramen', 'coffee shop')."},placeType:{type:"string",enum:["accounting","airport","amusement_park","aquarium","art_gallery","atm","bakery","bank","bar","beauty_salon","bicycle_store","book_store","bowling_alley","bus_station","cafe","campground","car_dealer","car_rental","car_repair","car_wash","casino","cemetery","church","city_hall","clothing_store","convenience_store","courthouse","dentist","department_store","doctor","drugstore","electrician","electronics_store","embassy","fire_station","florist","funeral_home","furniture_store","gas_station","gym","hair_care","hardware_store","hindu_temple","home_goods_store","hospital","insurance_agency","jewelry_store","laundry","lawyer","library","light_rail_station","liquor_store","local_government_office","locksmith","lodging","meal_delivery","meal_takeaway","mosque","movie_rental","movie_theater","moving_company","museum","night_club","painter","park","parking","pet_store","pharmacy","physiotherapist","plumber","police","post_office","primary_school","real_estate_agency","restaurant","roofing_contractor","rv_park","school","secondary_school","shoe_store","shopping_mall","spa","stadium","storage","store","subway_station","supermarket","synagogue","taxi_stand","tourist_attraction","train_station","transit_station","travel_agency","university","veterinary_care","zoo"],description:"Type of place to search for with findPlaces action. Use with or instead of searchQuery."},origin:{type:"string",description:"Starting point for getDirections action. Can be a place name or address."},destination:{type:"string",description:"End point for getDirections action. Can be a place name or address."},travelMode:{type:"string",enum:["DRIVING","WALKING","BICYCLING","TRANSIT"],description:"Travel mode for getDirections action. Defaults to DRIVING."},markerTitle:{type:"string",description:"Title for the marker (shown on hover) when using addMarker."},markerLabel:{type:"string",description:"Single character label displayed on the marker when using addMarker."}},required:[]}},d="showLocation",m=15,p="DRIVING",g=()=>`marker_${Date.now()}_${Math.random().toString(36).substring(2,9)}`,h=o=>Number.isInteger(o)&&o>=1&&o<=21,u=o=>!!(o.location||o.lat!==void 0&&o.lng!==void 0),y=o=>o.lat!==void 0&&o.lng!==void 0?{lat:o.lat,lng:o.lng}:o.location,n=async(o,e)=>{const a=e.action||d;switch(a){case"showLocation":case"setCenter":case"addMarker":{if(!u(e))throw new Error(`${a} requires either 'location' or both 'lat' and 'lng' parameters`);const t=y(e),i={action:a,location:t};a==="addMarker"&&(i.marker={id:g(),position:typeof t=="string"?{lat:0,lng:0}:t,title:e.markerTitle,label:e.markerLabel?.charAt(0)});const r=typeof t=="string"?t:`${t?.lat}, ${t?.lng}`;return{message:{showLocation:`Showing ${r} on the map`,setCenter:`Centering map on ${r}`,addMarker:`Adding marker at ${r}`}[a],data:i}}case"setZoom":{const t=e.zoom??m;if(!h(t))throw new Error("Zoom level must be an integer between 1 and 21");return{message:`Setting zoom level to ${t}`,data:{action:a,zoom:t}}}case"clearMarkers":return{message:"Clearing all markers from the map",data:{action:a}};case"findPlaces":{if(!e.searchQuery&&!e.placeType)throw new Error("findPlaces requires either 'searchQuery' or 'placeType' parameter");return{message:`Searching for ${e.searchQuery?`"${e.searchQuery}"`:e.placeType} nearby`,data:{action:a,searchQuery:e.searchQuery,placeType:e.placeType}}}case"getDirections":{if(!e.origin||!e.destination)throw new Error("getDirections requires both 'origin' and 'destination' parameters");const t=e.travelMode||p;return{message:`Getting ${t.toLowerCase()} directions from ${e.origin} to ${e.destination}`,data:{action:a,origin:e.origin,destination:e.destination,travelMode:t}}}default:throw new Error(`Unknown action: ${a}`)}},l=`You have access to the mapControl tool for interactive map operations.
11
-
12
- ## Basic Usage
13
-
14
- Show a location:
15
- \`\`\`
16
- mapControl(location: "Tokyo Station")
17
- mapControl(action: "showLocation", location: "Paris, France")
18
- \`\`\`
19
-
20
- ## Available Actions
21
-
22
- ### showLocation (default)
23
- Display a location on the map with a marker.
24
- - Use \`location\` for place names/addresses
25
- - Or use \`lat\` and \`lng\` for coordinates
26
-
27
- ### setCenter
28
- Move the map center without adding markers.
29
- \`\`\`
30
- mapControl(action: "setCenter", location: "Shibuya, Tokyo")
31
- \`\`\`
32
-
33
- ### setZoom
34
- Change the zoom level (1-21).
35
- - 1-5: Continent/Country level
36
- - 6-10: Region/City level
37
- - 11-15: Street level
38
- - 16-21: Building level
39
- \`\`\`
40
- mapControl(action: "setZoom", zoom: 12)
41
- \`\`\`
42
-
43
- ### addMarker
44
- Add a marker at a location (without centering).
45
- \`\`\`
46
- mapControl(action: "addMarker", location: "Tokyo Tower", markerTitle: "Tokyo Tower", markerLabel: "T")
47
- \`\`\`
48
-
49
- ### clearMarkers
50
- Remove all markers from the map.
51
- \`\`\`
52
- mapControl(action: "clearMarkers")
53
- \`\`\`
54
-
55
- ### findPlaces
56
- Search for nearby places using Google Places API.
57
- \`\`\`
58
- mapControl(action: "findPlaces", searchQuery: "ramen")
59
- mapControl(action: "findPlaces", placeType: "restaurant")
60
- mapControl(action: "findPlaces", searchQuery: "coffee", placeType: "cafe")
61
- \`\`\`
62
-
63
- ### getDirections
64
- Get directions between two locations.
65
- \`\`\`
66
- mapControl(action: "getDirections", origin: "Tokyo Station", destination: "Tokyo Tower", travelMode: "WALKING")
67
- \`\`\`
68
- Travel modes: DRIVING, WALKING, BICYCLING, TRANSIT
69
-
70
- ## Response Data
71
-
72
- The map will return JSON data with the results of each action, including:
73
- - Current center coordinates and zoom level
74
- - Markers on the map
75
- - Place search results with ratings and addresses
76
- - Route information with distance and duration`,f={toolDefinition:c,execute:n,generatingMessage:"Loading map...",isEnabled:o=>!!o?.googleMapKey,backends:["map"],systemPrompt:l},k=n,w=[{name:"Show Tokyo Station",args:{action:"showLocation",location:"Tokyo Station, Japan"}},{name:"Show Eiffel Tower",args:{action:"showLocation",location:"Eiffel Tower, Paris, France"}},{name:"Show coordinates",args:{action:"showLocation",lat:40.7128,lng:-74.006}},{name:"Center on Shibuya",args:{action:"setCenter",location:"Shibuya, Tokyo"}},{name:"Zoom to street level",args:{action:"setZoom",zoom:17}},{name:"Zoom to city level",args:{action:"setZoom",zoom:12}},{name:"Add marker at Tokyo Tower",args:{action:"addMarker",location:"Tokyo Tower, Japan",markerTitle:"Tokyo Tower",markerLabel:"T"}},{name:"Add marker with coordinates",args:{action:"addMarker",lat:35.6586,lng:139.7454,markerTitle:"Custom Location"}},{name:"Clear all markers",args:{action:"clearMarkers"}},{name:"Find nearby ramen",args:{action:"findPlaces",searchQuery:"ramen"}},{name:"Find restaurants",args:{action:"findPlaces",placeType:"restaurant"}},{name:"Find coffee shops",args:{action:"findPlaces",searchQuery:"coffee",placeType:"cafe"}},{name:"Directions: Tokyo Station to Shibuya",args:{action:"getDirections",origin:"Tokyo Station",destination:"Shibuya Station",travelMode:"TRANSIT"}},{name:"Walking directions",args:{action:"getDirections",origin:"Shinjuku Station",destination:"Tokyo Metropolitan Government Building",travelMode:"WALKING"}},{name:"Driving directions",args:{action:"getDirections",origin:"Narita Airport",destination:"Tokyo Station",travelMode:"DRIVING"}}];exports.TOOL_DEFINITION=c;exports.TOOL_NAME=s;exports.executeMap=k;exports.executeMapControl=n;exports.pluginCore=f;exports.samples=w;exports.systemPrompt=l;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./samples-Xgow5I6W.cjs`);exports.TOOL_DEFINITION=e.o,exports.TOOL_NAME=e.s,exports.executeMap=e.n,exports.executeMapControl=e.r,exports.pluginCore=e.i,exports.samples=e.t,exports.systemPrompt=e.a;
package/dist/core.js CHANGED
@@ -1,458 +1,2 @@
1
- const s = "mapControl", c = {
2
- type: "function",
3
- name: s,
4
- description: `Control a Google Map interactively. Supports showing locations, adding markers, searching for places, and getting directions.
5
-
6
- Available actions:
7
- - showLocation: Display a location on the map (default action)
8
- - setCenter: Change the map center without markers
9
- - setZoom: Change the zoom level (1-21)
10
- - addMarker: Add a marker to the map
11
- - clearMarkers: Remove all markers from the map
12
- - findPlaces: Search for nearby places using Google Places API
13
- - getDirections: Get directions between two locations`,
14
- parameters: {
15
- type: "object",
16
- properties: {
17
- action: {
18
- type: "string",
19
- enum: [
20
- "showLocation",
21
- "setCenter",
22
- "setZoom",
23
- "addMarker",
24
- "clearMarkers",
25
- "findPlaces",
26
- "getDirections"
27
- ],
28
- description: "The action to perform. Defaults to 'showLocation' if not specified."
29
- },
30
- location: {
31
- type: "string",
32
- description: "Location name, address, or place (e.g., 'Tokyo Station', 'Paris, France'). Used with showLocation, setCenter, addMarker actions."
33
- },
34
- lat: {
35
- type: "number",
36
- description: "Latitude coordinate. Can be used instead of location for precise positioning."
37
- },
38
- lng: {
39
- type: "number",
40
- description: "Longitude coordinate. Can be used instead of location for precise positioning."
41
- },
42
- zoom: {
43
- type: "integer",
44
- minimum: 1,
45
- maximum: 21,
46
- description: "Zoom level for setZoom action (1=world, 15=streets, 21=buildings). Default is 15."
47
- },
48
- searchQuery: {
49
- type: "string",
50
- description: "Text search query for findPlaces action (e.g., 'ramen', 'coffee shop')."
51
- },
52
- placeType: {
53
- type: "string",
54
- enum: [
55
- "accounting",
56
- "airport",
57
- "amusement_park",
58
- "aquarium",
59
- "art_gallery",
60
- "atm",
61
- "bakery",
62
- "bank",
63
- "bar",
64
- "beauty_salon",
65
- "bicycle_store",
66
- "book_store",
67
- "bowling_alley",
68
- "bus_station",
69
- "cafe",
70
- "campground",
71
- "car_dealer",
72
- "car_rental",
73
- "car_repair",
74
- "car_wash",
75
- "casino",
76
- "cemetery",
77
- "church",
78
- "city_hall",
79
- "clothing_store",
80
- "convenience_store",
81
- "courthouse",
82
- "dentist",
83
- "department_store",
84
- "doctor",
85
- "drugstore",
86
- "electrician",
87
- "electronics_store",
88
- "embassy",
89
- "fire_station",
90
- "florist",
91
- "funeral_home",
92
- "furniture_store",
93
- "gas_station",
94
- "gym",
95
- "hair_care",
96
- "hardware_store",
97
- "hindu_temple",
98
- "home_goods_store",
99
- "hospital",
100
- "insurance_agency",
101
- "jewelry_store",
102
- "laundry",
103
- "lawyer",
104
- "library",
105
- "light_rail_station",
106
- "liquor_store",
107
- "local_government_office",
108
- "locksmith",
109
- "lodging",
110
- "meal_delivery",
111
- "meal_takeaway",
112
- "mosque",
113
- "movie_rental",
114
- "movie_theater",
115
- "moving_company",
116
- "museum",
117
- "night_club",
118
- "painter",
119
- "park",
120
- "parking",
121
- "pet_store",
122
- "pharmacy",
123
- "physiotherapist",
124
- "plumber",
125
- "police",
126
- "post_office",
127
- "primary_school",
128
- "real_estate_agency",
129
- "restaurant",
130
- "roofing_contractor",
131
- "rv_park",
132
- "school",
133
- "secondary_school",
134
- "shoe_store",
135
- "shopping_mall",
136
- "spa",
137
- "stadium",
138
- "storage",
139
- "store",
140
- "subway_station",
141
- "supermarket",
142
- "synagogue",
143
- "taxi_stand",
144
- "tourist_attraction",
145
- "train_station",
146
- "transit_station",
147
- "travel_agency",
148
- "university",
149
- "veterinary_care",
150
- "zoo"
151
- ],
152
- description: "Type of place to search for with findPlaces action. Use with or instead of searchQuery."
153
- },
154
- origin: {
155
- type: "string",
156
- description: "Starting point for getDirections action. Can be a place name or address."
157
- },
158
- destination: {
159
- type: "string",
160
- description: "End point for getDirections action. Can be a place name or address."
161
- },
162
- travelMode: {
163
- type: "string",
164
- enum: ["DRIVING", "WALKING", "BICYCLING", "TRANSIT"],
165
- description: "Travel mode for getDirections action. Defaults to DRIVING."
166
- },
167
- markerTitle: {
168
- type: "string",
169
- description: "Title for the marker (shown on hover) when using addMarker."
170
- },
171
- markerLabel: {
172
- type: "string",
173
- description: "Single character label displayed on the marker when using addMarker."
174
- }
175
- },
176
- required: []
177
- }
178
- }, l = "showLocation", d = 15, m = "DRIVING", p = () => `marker_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`, h = (o) => Number.isInteger(o) && o >= 1 && o <= 21, g = (o) => !!(o.location || o.lat !== void 0 && o.lng !== void 0), u = (o) => o.lat !== void 0 && o.lng !== void 0 ? { lat: o.lat, lng: o.lng } : o.location, i = async (o, e) => {
179
- const a = e.action || l;
180
- switch (a) {
181
- case "showLocation":
182
- case "setCenter":
183
- case "addMarker": {
184
- if (!g(e))
185
- throw new Error(
186
- `${a} requires either 'location' or both 'lat' and 'lng' parameters`
187
- );
188
- const t = u(e), n = { action: a, location: t };
189
- a === "addMarker" && (n.marker = {
190
- id: p(),
191
- position: typeof t == "string" ? { lat: 0, lng: 0 } : t,
192
- title: e.markerTitle,
193
- label: e.markerLabel?.charAt(0)
194
- });
195
- const r = typeof t == "string" ? t : `${t?.lat}, ${t?.lng}`;
196
- return {
197
- message: {
198
- showLocation: `Showing ${r} on the map`,
199
- setCenter: `Centering map on ${r}`,
200
- addMarker: `Adding marker at ${r}`
201
- }[a],
202
- data: n
203
- };
204
- }
205
- case "setZoom": {
206
- const t = e.zoom ?? d;
207
- if (!h(t))
208
- throw new Error("Zoom level must be an integer between 1 and 21");
209
- return {
210
- message: `Setting zoom level to ${t}`,
211
- data: { action: a, zoom: t }
212
- };
213
- }
214
- case "clearMarkers":
215
- return {
216
- message: "Clearing all markers from the map",
217
- data: { action: a }
218
- };
219
- case "findPlaces": {
220
- if (!e.searchQuery && !e.placeType)
221
- throw new Error(
222
- "findPlaces requires either 'searchQuery' or 'placeType' parameter"
223
- );
224
- return {
225
- message: `Searching for ${e.searchQuery ? `"${e.searchQuery}"` : e.placeType} nearby`,
226
- data: {
227
- action: a,
228
- searchQuery: e.searchQuery,
229
- placeType: e.placeType
230
- }
231
- };
232
- }
233
- case "getDirections": {
234
- if (!e.origin || !e.destination)
235
- throw new Error(
236
- "getDirections requires both 'origin' and 'destination' parameters"
237
- );
238
- const t = e.travelMode || m;
239
- return {
240
- message: `Getting ${t.toLowerCase()} directions from ${e.origin} to ${e.destination}`,
241
- data: {
242
- action: a,
243
- origin: e.origin,
244
- destination: e.destination,
245
- travelMode: t
246
- }
247
- };
248
- }
249
- default:
250
- throw new Error(`Unknown action: ${a}`);
251
- }
252
- }, y = `You have access to the mapControl tool for interactive map operations.
253
-
254
- ## Basic Usage
255
-
256
- Show a location:
257
- \`\`\`
258
- mapControl(location: "Tokyo Station")
259
- mapControl(action: "showLocation", location: "Paris, France")
260
- \`\`\`
261
-
262
- ## Available Actions
263
-
264
- ### showLocation (default)
265
- Display a location on the map with a marker.
266
- - Use \`location\` for place names/addresses
267
- - Or use \`lat\` and \`lng\` for coordinates
268
-
269
- ### setCenter
270
- Move the map center without adding markers.
271
- \`\`\`
272
- mapControl(action: "setCenter", location: "Shibuya, Tokyo")
273
- \`\`\`
274
-
275
- ### setZoom
276
- Change the zoom level (1-21).
277
- - 1-5: Continent/Country level
278
- - 6-10: Region/City level
279
- - 11-15: Street level
280
- - 16-21: Building level
281
- \`\`\`
282
- mapControl(action: "setZoom", zoom: 12)
283
- \`\`\`
284
-
285
- ### addMarker
286
- Add a marker at a location (without centering).
287
- \`\`\`
288
- mapControl(action: "addMarker", location: "Tokyo Tower", markerTitle: "Tokyo Tower", markerLabel: "T")
289
- \`\`\`
290
-
291
- ### clearMarkers
292
- Remove all markers from the map.
293
- \`\`\`
294
- mapControl(action: "clearMarkers")
295
- \`\`\`
296
-
297
- ### findPlaces
298
- Search for nearby places using Google Places API.
299
- \`\`\`
300
- mapControl(action: "findPlaces", searchQuery: "ramen")
301
- mapControl(action: "findPlaces", placeType: "restaurant")
302
- mapControl(action: "findPlaces", searchQuery: "coffee", placeType: "cafe")
303
- \`\`\`
304
-
305
- ### getDirections
306
- Get directions between two locations.
307
- \`\`\`
308
- mapControl(action: "getDirections", origin: "Tokyo Station", destination: "Tokyo Tower", travelMode: "WALKING")
309
- \`\`\`
310
- Travel modes: DRIVING, WALKING, BICYCLING, TRANSIT
311
-
312
- ## Response Data
313
-
314
- The map will return JSON data with the results of each action, including:
315
- - Current center coordinates and zoom level
316
- - Markers on the map
317
- - Place search results with ratings and addresses
318
- - Route information with distance and duration`, k = {
319
- toolDefinition: c,
320
- execute: i,
321
- generatingMessage: "Loading map...",
322
- isEnabled: (o) => !!o?.googleMapKey,
323
- backends: ["map"],
324
- systemPrompt: y
325
- }, w = i, _ = [
326
- // showLocation samples
327
- {
328
- name: "Show Tokyo Station",
329
- args: {
330
- action: "showLocation",
331
- location: "Tokyo Station, Japan"
332
- }
333
- },
334
- {
335
- name: "Show Eiffel Tower",
336
- args: {
337
- action: "showLocation",
338
- location: "Eiffel Tower, Paris, France"
339
- }
340
- },
341
- {
342
- name: "Show coordinates",
343
- args: {
344
- action: "showLocation",
345
- lat: 40.7128,
346
- lng: -74.006
347
- }
348
- },
349
- // setCenter samples
350
- {
351
- name: "Center on Shibuya",
352
- args: {
353
- action: "setCenter",
354
- location: "Shibuya, Tokyo"
355
- }
356
- },
357
- // setZoom samples
358
- {
359
- name: "Zoom to street level",
360
- args: {
361
- action: "setZoom",
362
- zoom: 17
363
- }
364
- },
365
- {
366
- name: "Zoom to city level",
367
- args: {
368
- action: "setZoom",
369
- zoom: 12
370
- }
371
- },
372
- // addMarker samples
373
- {
374
- name: "Add marker at Tokyo Tower",
375
- args: {
376
- action: "addMarker",
377
- location: "Tokyo Tower, Japan",
378
- markerTitle: "Tokyo Tower",
379
- markerLabel: "T"
380
- }
381
- },
382
- {
383
- name: "Add marker with coordinates",
384
- args: {
385
- action: "addMarker",
386
- lat: 35.6586,
387
- lng: 139.7454,
388
- markerTitle: "Custom Location"
389
- }
390
- },
391
- // clearMarkers sample
392
- {
393
- name: "Clear all markers",
394
- args: {
395
- action: "clearMarkers"
396
- }
397
- },
398
- // findPlaces samples
399
- {
400
- name: "Find nearby ramen",
401
- args: {
402
- action: "findPlaces",
403
- searchQuery: "ramen"
404
- }
405
- },
406
- {
407
- name: "Find restaurants",
408
- args: {
409
- action: "findPlaces",
410
- placeType: "restaurant"
411
- }
412
- },
413
- {
414
- name: "Find coffee shops",
415
- args: {
416
- action: "findPlaces",
417
- searchQuery: "coffee",
418
- placeType: "cafe"
419
- }
420
- },
421
- // getDirections samples
422
- {
423
- name: "Directions: Tokyo Station to Shibuya",
424
- args: {
425
- action: "getDirections",
426
- origin: "Tokyo Station",
427
- destination: "Shibuya Station",
428
- travelMode: "TRANSIT"
429
- }
430
- },
431
- {
432
- name: "Walking directions",
433
- args: {
434
- action: "getDirections",
435
- origin: "Shinjuku Station",
436
- destination: "Tokyo Metropolitan Government Building",
437
- travelMode: "WALKING"
438
- }
439
- },
440
- {
441
- name: "Driving directions",
442
- args: {
443
- action: "getDirections",
444
- origin: "Narita Airport",
445
- destination: "Tokyo Station",
446
- travelMode: "DRIVING"
447
- }
448
- }
449
- ];
450
- export {
451
- c as TOOL_DEFINITION,
452
- s as TOOL_NAME,
453
- w as executeMap,
454
- i as executeMapControl,
455
- k as pluginCore,
456
- _ as samples,
457
- y as systemPrompt
458
- };
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./samples-CH-C0Bol.js";
2
+ export { r as TOOL_DEFINITION, a as TOOL_NAME, n as executeMap, i as executeMapControl, t as pluginCore, o as samples, e as systemPrompt };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./core.cjs");exports.TOOL_DEFINITION=e.TOOL_DEFINITION;exports.TOOL_NAME=e.TOOL_NAME;exports.executeMap=e.executeMap;exports.executeMapControl=e.executeMapControl;exports.pluginCore=e.pluginCore;exports.samples=e.samples;exports.systemPrompt=e.systemPrompt;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./samples-Xgow5I6W.cjs`);require(`./core.cjs`),exports.TOOL_DEFINITION=e.o,exports.TOOL_NAME=e.s,exports.executeMap=e.n,exports.executeMapControl=e.r,exports.pluginCore=e.i,exports.samples=e.t,exports.systemPrompt=e.a;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./core";
1
+ export * from "./core/index";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -1,10 +1,3 @@
1
- import { TOOL_DEFINITION as p, TOOL_NAME as t, executeMap as r, executeMapControl as O, pluginCore as m, samples as s, systemPrompt as a } from "./core.js";
2
- export {
3
- p as TOOL_DEFINITION,
4
- t as TOOL_NAME,
5
- r as executeMap,
6
- O as executeMapControl,
7
- m as pluginCore,
8
- s as samples,
9
- a as systemPrompt
10
- };
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./samples-CH-C0Bol.js";
2
+ import "./core.js";
3
+ export { r as TOOL_DEFINITION, a as TOOL_NAME, n as executeMap, i as executeMapControl, t as pluginCore, o as samples, e as systemPrompt };