mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 06:58:07 -05:00
feat(tools): added zoom, elasticsearch, dropbox, kalshi, polymarket, datadog, ahrefs, gitlab, shopify, ssh, wordpress (#2175)
* feat(tools): added zoom, elasticsearch, dropbox, box, datadog, ahrefs, gitlab, shopify, ssh, wordpress * added polymarket & kalshi, fixed ssh * fix search modal bg instead of bgColor, added polymarket and kalshi new endpoints * split up grafana * update docs script & docs * added more zoom endpoints * remove unused box creds * finished wordpress, shopify, kalshi * cleanup * revert envvar dropdown changes * updated grafana endpoints
This commit is contained in:
@@ -388,7 +388,7 @@ function extractToolInfo(
|
||||
} | null {
|
||||
try {
|
||||
const toolConfigRegex =
|
||||
/params\s*:\s*{([\s\S]*?)},?\s*(?:outputs|oauth|request|directExecution|postProcess|transformResponse)/
|
||||
/params\s*:\s*{([\s\S]*?)},?\s*(?:outputs|oauth|request|directExecution|postProcess|transformResponse)\s*:/
|
||||
const toolConfigMatch = fileContent.match(toolConfigRegex)
|
||||
|
||||
const descriptionRegex = /description\s*:\s*['"](.*?)['"].*/
|
||||
@@ -461,7 +461,7 @@ function extractToolInfo(
|
||||
|
||||
let outputs: Record<string, any> = {}
|
||||
const outputsFieldRegex =
|
||||
/outputs\s*:\s*{([\s\S]*?)}\s*,?\s*(?:oauth|params|request|directExecution|postProcess|transformResponse|$|\})/
|
||||
/outputs\s*:\s*{([\s\S]*?)}\s*,?\s*(?:(?:oauth|params|request|directExecution|postProcess|transformResponse)\s*:|$|\})/
|
||||
const outputsFieldMatch = fileContent.match(outputsFieldRegex)
|
||||
|
||||
if (outputsFieldMatch) {
|
||||
|
||||
Reference in New Issue
Block a user