@mondaydotcomorg/atp-client 0.23.1 → 0.23.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/dist/index.cjs +4 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -18
- package/dist/index.js.map +1 -1
- package/dist/tools/explore-api.d.ts.map +1 -1
- package/dist/tools/explore-api.js +2 -24
- package/dist/tools/explore-api.js.map +1 -1
- package/package.json +3 -3
- package/src/tools/explore-api.ts +3 -37
package/dist/index.cjs
CHANGED
|
@@ -1422,24 +1422,10 @@ function createExploreApiTool(client) {
|
|
|
1422
1422
|
const results = await Promise.all(pathsToExplore.map(async (path) => {
|
|
1423
1423
|
try {
|
|
1424
1424
|
const result = await client.exploreAPI(path);
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
path: result.path,
|
|
1430
|
-
items: result.items
|
|
1431
|
-
};
|
|
1432
|
-
} else {
|
|
1433
|
-
return {
|
|
1434
|
-
success: true,
|
|
1435
|
-
type: "function",
|
|
1436
|
-
name: result.name,
|
|
1437
|
-
description: result.description,
|
|
1438
|
-
definition: result.definition,
|
|
1439
|
-
group: result.group,
|
|
1440
|
-
path: result.path
|
|
1441
|
-
};
|
|
1442
|
-
}
|
|
1425
|
+
return {
|
|
1426
|
+
success: true,
|
|
1427
|
+
...result
|
|
1428
|
+
};
|
|
1443
1429
|
} catch (error) {
|
|
1444
1430
|
const message = error instanceof Error ? error.message : String(error);
|
|
1445
1431
|
return {
|