@keystrokehq/scrapegraph_ai 0.1.5 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.cjs +1 -0
- package/dist/actions/convert-webpage-to-markdown-v2.cjs.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts +3 -25
- package/dist/actions/convert-webpage-to-markdown-v2.d.cts.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts +3 -25
- package/dist/actions/convert-webpage-to-markdown-v2.d.mts.map +1 -1
- package/dist/actions/convert-webpage-to-markdown-v2.mjs +1 -0
- package/dist/actions/convert-webpage-to-markdown-v2.mjs.map +1 -1
- package/dist/actions/generate-schema.cjs +1 -0
- package/dist/actions/generate-schema.cjs.map +1 -1
- package/dist/actions/generate-schema.d.cts +3 -16
- package/dist/actions/generate-schema.d.cts.map +1 -1
- package/dist/actions/generate-schema.d.mts +3 -16
- package/dist/actions/generate-schema.d.mts.map +1 -1
- package/dist/actions/generate-schema.mjs +1 -0
- package/dist/actions/generate-schema.mjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.cjs +1 -0
- package/dist/actions/get-agentic-scraper-history.cjs.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.cts +3 -16
- package/dist/actions/get-agentic-scraper-history.d.cts.map +1 -1
- package/dist/actions/get-agentic-scraper-history.d.mts +3 -16
- package/dist/actions/get-agentic-scraper-history.d.mts.map +1 -1
- package/dist/actions/get-agentic-scraper-history.mjs +1 -0
- package/dist/actions/get-agentic-scraper-history.mjs.map +1 -1
- package/dist/actions/get-crawler-history.cjs +1 -0
- package/dist/actions/get-crawler-history.cjs.map +1 -1
- package/dist/actions/get-crawler-history.d.cts +3 -16
- package/dist/actions/get-crawler-history.d.cts.map +1 -1
- package/dist/actions/get-crawler-history.d.mts +3 -16
- package/dist/actions/get-crawler-history.d.mts.map +1 -1
- package/dist/actions/get-crawler-history.mjs +1 -0
- package/dist/actions/get-crawler-history.mjs.map +1 -1
- package/dist/actions/get-credits.cjs +1 -0
- package/dist/actions/get-credits.cjs.map +1 -1
- package/dist/actions/get-credits.d.cts +3 -13
- package/dist/actions/get-credits.d.cts.map +1 -1
- package/dist/actions/get-credits.d.mts +3 -13
- package/dist/actions/get-credits.d.mts.map +1 -1
- package/dist/actions/get-credits.mjs +1 -0
- package/dist/actions/get-credits.mjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.cjs +1 -0
- package/dist/actions/get-endpoint-suggestions.cjs.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.cts +3 -16
- package/dist/actions/get-endpoint-suggestions.d.cts.map +1 -1
- package/dist/actions/get-endpoint-suggestions.d.mts +3 -16
- package/dist/actions/get-endpoint-suggestions.d.mts.map +1 -1
- package/dist/actions/get-endpoint-suggestions.mjs +1 -0
- package/dist/actions/get-endpoint-suggestions.mjs.map +1 -1
- package/dist/actions/get-live-session-url.cjs +1 -0
- package/dist/actions/get-live-session-url.cjs.map +1 -1
- package/dist/actions/get-live-session-url.d.cts +3 -16
- package/dist/actions/get-live-session-url.d.cts.map +1 -1
- package/dist/actions/get-live-session-url.d.mts +3 -16
- package/dist/actions/get-live-session-url.d.mts.map +1 -1
- package/dist/actions/get-live-session-url.mjs +1 -0
- package/dist/actions/get-live-session-url.mjs.map +1 -1
- package/dist/actions/get-markdownify-history.cjs +1 -0
- package/dist/actions/get-markdownify-history.cjs.map +1 -1
- package/dist/actions/get-markdownify-history.d.cts +3 -16
- package/dist/actions/get-markdownify-history.d.cts.map +1 -1
- package/dist/actions/get-markdownify-history.d.mts +3 -16
- package/dist/actions/get-markdownify-history.d.mts.map +1 -1
- package/dist/actions/get-markdownify-history.mjs +1 -0
- package/dist/actions/get-markdownify-history.mjs.map +1 -1
- package/dist/actions/get-scrape-history.cjs +1 -0
- package/dist/actions/get-scrape-history.cjs.map +1 -1
- package/dist/actions/get-scrape-history.d.cts +3 -16
- package/dist/actions/get-scrape-history.d.cts.map +1 -1
- package/dist/actions/get-scrape-history.d.mts +3 -16
- package/dist/actions/get-scrape-history.d.mts.map +1 -1
- package/dist/actions/get-scrape-history.mjs +1 -0
- package/dist/actions/get-scrape-history.mjs.map +1 -1
- package/dist/actions/get-searchscraper-history.cjs +1 -0
- package/dist/actions/get-searchscraper-history.cjs.map +1 -1
- package/dist/actions/get-searchscraper-history.d.cts +3 -16
- package/dist/actions/get-searchscraper-history.d.cts.map +1 -1
- package/dist/actions/get-searchscraper-history.d.mts +3 -16
- package/dist/actions/get-searchscraper-history.d.mts.map +1 -1
- package/dist/actions/get-searchscraper-history.mjs +1 -0
- package/dist/actions/get-searchscraper-history.mjs.map +1 -1
- package/dist/actions/get-sitemap-history.cjs +1 -0
- package/dist/actions/get-sitemap-history.cjs.map +1 -1
- package/dist/actions/get-sitemap-history.d.cts +3 -16
- package/dist/actions/get-sitemap-history.d.cts.map +1 -1
- package/dist/actions/get-sitemap-history.d.mts +3 -16
- package/dist/actions/get-sitemap-history.d.mts.map +1 -1
- package/dist/actions/get-sitemap-history.mjs +1 -0
- package/dist/actions/get-sitemap-history.mjs.map +1 -1
- package/dist/actions/get-smartscraper-history.cjs +1 -0
- package/dist/actions/get-smartscraper-history.cjs.map +1 -1
- package/dist/actions/get-smartscraper-history.d.cts +3 -16
- package/dist/actions/get-smartscraper-history.d.cts.map +1 -1
- package/dist/actions/get-smartscraper-history.d.mts +3 -16
- package/dist/actions/get-smartscraper-history.d.mts.map +1 -1
- package/dist/actions/get-smartscraper-history.mjs +1 -0
- package/dist/actions/get-smartscraper-history.mjs.map +1 -1
- package/dist/actions/get-usage-timeline.cjs +1 -0
- package/dist/actions/get-usage-timeline.cjs.map +1 -1
- package/dist/actions/get-usage-timeline.d.cts +3 -15
- package/dist/actions/get-usage-timeline.d.cts.map +1 -1
- package/dist/actions/get-usage-timeline.d.mts +3 -15
- package/dist/actions/get-usage-timeline.d.mts.map +1 -1
- package/dist/actions/get-usage-timeline.mjs +1 -0
- package/dist/actions/get-usage-timeline.mjs.map +1 -1
- package/dist/actions/get-webhook-logs.cjs +1 -0
- package/dist/actions/get-webhook-logs.cjs.map +1 -1
- package/dist/actions/get-webhook-logs.d.cts +3 -15
- package/dist/actions/get-webhook-logs.d.cts.map +1 -1
- package/dist/actions/get-webhook-logs.d.mts +3 -15
- package/dist/actions/get-webhook-logs.d.mts.map +1 -1
- package/dist/actions/get-webhook-logs.mjs +1 -0
- package/dist/actions/get-webhook-logs.mjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.cjs +1 -0
- package/dist/actions/list-scheduled-jobs.cjs.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.cts +3 -18
- package/dist/actions/list-scheduled-jobs.d.cts.map +1 -1
- package/dist/actions/list-scheduled-jobs.d.mts +3 -18
- package/dist/actions/list-scheduled-jobs.d.mts.map +1 -1
- package/dist/actions/list-scheduled-jobs.mjs +1 -0
- package/dist/actions/list-scheduled-jobs.mjs.map +1 -1
- package/dist/actions/markdownify-status.cjs +1 -0
- package/dist/actions/markdownify-status.cjs.map +1 -1
- package/dist/actions/markdownify-status.d.cts +3 -15
- package/dist/actions/markdownify-status.d.cts.map +1 -1
- package/dist/actions/markdownify-status.d.mts +3 -15
- package/dist/actions/markdownify-status.d.mts.map +1 -1
- package/dist/actions/markdownify-status.mjs +1 -0
- package/dist/actions/markdownify-status.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +1 -0
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +3 -33
- package/dist/actions/save-endpoint.d.cts.map +1 -1
- package/dist/actions/save-endpoint.d.mts +3 -33
- package/dist/actions/save-endpoint.d.mts.map +1 -1
- package/dist/actions/save-endpoint.mjs +1 -0
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/search-scraper-status.cjs +1 -0
- package/dist/actions/search-scraper-status.cjs.map +1 -1
- package/dist/actions/search-scraper-status.d.cts +3 -15
- package/dist/actions/search-scraper-status.d.cts.map +1 -1
- package/dist/actions/search-scraper-status.d.mts +3 -15
- package/dist/actions/search-scraper-status.d.mts.map +1 -1
- package/dist/actions/search-scraper-status.mjs +1 -0
- package/dist/actions/search-scraper-status.mjs.map +1 -1
- package/dist/actions/search-scraper.cjs +1 -0
- package/dist/actions/search-scraper.cjs.map +1 -1
- package/dist/actions/search-scraper.d.cts +3 -19
- package/dist/actions/search-scraper.d.cts.map +1 -1
- package/dist/actions/search-scraper.d.mts +3 -19
- package/dist/actions/search-scraper.d.mts.map +1 -1
- package/dist/actions/search-scraper.mjs +1 -0
- package/dist/actions/search-scraper.mjs.map +1 -1
- package/dist/actions/smart-crawler-status.cjs +1 -0
- package/dist/actions/smart-crawler-status.cjs.map +1 -1
- package/dist/actions/smart-crawler-status.d.cts +3 -15
- package/dist/actions/smart-crawler-status.d.cts.map +1 -1
- package/dist/actions/smart-crawler-status.d.mts +3 -15
- package/dist/actions/smart-crawler-status.d.mts.map +1 -1
- package/dist/actions/smart-crawler-status.mjs +1 -0
- package/dist/actions/smart-crawler-status.mjs.map +1 -1
- package/dist/actions/smart-scraper-start.cjs +1 -0
- package/dist/actions/smart-scraper-start.cjs.map +1 -1
- package/dist/actions/smart-scraper-start.d.cts +3 -29
- package/dist/actions/smart-scraper-start.d.cts.map +1 -1
- package/dist/actions/smart-scraper-start.d.mts +3 -29
- package/dist/actions/smart-scraper-start.d.mts.map +1 -1
- package/dist/actions/smart-scraper-start.mjs +1 -0
- package/dist/actions/smart-scraper-start.mjs.map +1 -1
- package/dist/actions/smart-scraper-status.cjs +1 -0
- package/dist/actions/smart-scraper-status.cjs.map +1 -1
- package/dist/actions/smart-scraper-status.d.cts +3 -15
- package/dist/actions/smart-scraper-status.d.cts.map +1 -1
- package/dist/actions/smart-scraper-status.d.mts +3 -15
- package/dist/actions/smart-scraper-status.d.mts.map +1 -1
- package/dist/actions/smart-scraper-status.mjs +1 -0
- package/dist/actions/smart-scraper-status.mjs.map +1 -1
- package/dist/actions/start-smart-crawler.cjs +1 -0
- package/dist/actions/start-smart-crawler.cjs.map +1 -1
- package/dist/actions/start-smart-crawler.d.cts +3 -34
- package/dist/actions/start-smart-crawler.d.cts.map +1 -1
- package/dist/actions/start-smart-crawler.d.mts +3 -34
- package/dist/actions/start-smart-crawler.d.mts.map +1 -1
- package/dist/actions/start-smart-crawler.mjs +1 -0
- package/dist/actions/start-smart-crawler.mjs.map +1 -1
- package/dist/actions/submit-feedback.cjs +1 -0
- package/dist/actions/submit-feedback.cjs.map +1 -1
- package/dist/actions/submit-feedback.d.cts +3 -17
- package/dist/actions/submit-feedback.d.cts.map +1 -1
- package/dist/actions/submit-feedback.d.mts +3 -17
- package/dist/actions/submit-feedback.d.mts.map +1 -1
- package/dist/actions/submit-feedback.mjs +1 -0
- package/dist/actions/submit-feedback.mjs.map +1 -1
- package/dist/actions/submit-product-feedback.cjs +1 -0
- package/dist/actions/submit-product-feedback.cjs.map +1 -1
- package/dist/actions/submit-product-feedback.d.cts +3 -31
- package/dist/actions/submit-product-feedback.d.cts.map +1 -1
- package/dist/actions/submit-product-feedback.d.mts +3 -31
- package/dist/actions/submit-product-feedback.d.mts.map +1 -1
- package/dist/actions/submit-product-feedback.mjs +1 -0
- package/dist/actions/submit-product-feedback.mjs.map +1 -1
- package/dist/actions/toonify.cjs +1 -0
- package/dist/actions/toonify.cjs.map +1 -1
- package/dist/actions/toonify.d.cts +3 -15
- package/dist/actions/toonify.d.cts.map +1 -1
- package/dist/actions/toonify.d.mts +3 -15
- package/dist/actions/toonify.d.mts.map +1 -1
- package/dist/actions/toonify.mjs +1 -0
- package/dist/actions/toonify.mjs.map +1 -1
- package/dist/actions/validate-api-key.cjs +1 -0
- package/dist/actions/validate-api-key.cjs.map +1 -1
- package/dist/actions/validate-api-key.d.cts +3 -13
- package/dist/actions/validate-api-key.d.cts.map +1 -1
- package/dist/actions/validate-api-key.d.mts +3 -13
- package/dist/actions/validate-api-key.d.mts.map +1 -1
- package/dist/actions/validate-api-key.mjs +1 -0
- package/dist/actions/validate-api-key.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-scraper-status.d.mts","names":[],"sources":["../../src/actions/smart-scraper-status.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"smart-scraper-status.d.mts","names":[],"sources":["../../src/actions/smart-scraper-status.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cASrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"smart-scraper-status.mjs","names":[],"sources":["../../src/actions/smart-scraper-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSmartScraperStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request returned by the Start SmartScraper action\"),\n}).describe(\"Request model for checking the status of a SmartScraper job.\");\nexport const ScrapegraphAiSmartScraperStatusOutput = z.object({\n error: z.string().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the website. Only populated when status is 'completed'. Structure depends on the output_schema provided in the original request.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued' (waiting to be processed), 'processing' (being processed), 'completed' (finished successfully), or 'failed' (error occurred)\").nullable(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.string().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n}).passthrough().describe(\"Response model for SmartScraper status checks.\");\n\nexport const scrapegraphAiSmartScraperStatus = action(\"SCRAPEGRAPH_AI_SMART_SCRAPER_STATUS\", {\n slug: \"scrapegraph_ai-smart-scraper-status\",\n name: \"SmartScraper Status\",\n description: \"Check the status and retrieve results of a SmartScraper web scraping job. Use this action to poll for completion after starting a SmartScraper job with wait=false. The request_id is returned by the Start SmartScraper action. Typical workflow: 1. Start a scraping job with SCRAPEGRAPH_AI_SMART_SCRAPER_START (wait=false) 2. Use the returned request_id to check status with this action 3. Poll until status is 'completed' or 'failed' 4. When completed, the 'result' field contains the extracted data. When completed, also check the 'error' field before consuming 'result', as 'failed' status populates 'error' instead of 'result'.\",\n input: ScrapegraphAiSmartScraperStatusInput,\n output: ScrapegraphAiSmartScraperStatusOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"smart-scraper-status.mjs","names":[],"sources":["../../src/actions/smart-scraper-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiSmartScraperStatusInput = z.object({\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request returned by the Start SmartScraper action\"),\n}).describe(\"Request model for checking the status of a SmartScraper job.\");\nexport const ScrapegraphAiSmartScraperStatusOutput = z.object({\n error: z.string().describe(\"Error message explaining why the request failed. Only populated when status is 'failed'.\").nullable().optional(),\n result: z.record(z.string(), z.unknown()).describe(\"Extracted data from the website. Only populated when status is 'completed'. Structure depends on the output_schema provided in the original request.\").nullable().optional(),\n status: z.string().describe(\"Current status of the request: 'queued' (waiting to be processed), 'processing' (being processed), 'completed' (finished successfully), or 'failed' (error occurred)\").nullable(),\n request_id: z.string().describe(\"The unique identifier (UUID) of the SmartScraper request\").nullable(),\n user_prompt: z.string().describe(\"The natural language prompt describing what information to extract\").nullable(),\n website_url: z.string().describe(\"URL of the website being scraped. May be null if website_html was provided instead of a URL.\").nullable().optional(),\n}).passthrough().describe(\"Response model for SmartScraper status checks.\");\n\nexport const scrapegraphAiSmartScraperStatus: AppAction<\n typeof ScrapegraphAiSmartScraperStatusInput,\n typeof ScrapegraphAiSmartScraperStatusOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_SMART_SCRAPER_STATUS\", {\n slug: \"scrapegraph_ai-smart-scraper-status\",\n name: \"SmartScraper Status\",\n description: \"Check the status and retrieve results of a SmartScraper web scraping job. Use this action to poll for completion after starting a SmartScraper job with wait=false. The request_id is returned by the Start SmartScraper action. Typical workflow: 1. Start a scraping job with SCRAPEGRAPH_AI_SMART_SCRAPER_START (wait=false) 2. Use the returned request_id to check status with this action 3. Poll until status is 'completed' or 'failed' 4. When completed, the 'result' field contains the extracted data. When completed, also check the 'error' field before consuming 'result', as 'failed' status populates 'error' instead of 'result'.\",\n input: ScrapegraphAiSmartScraperStatusInput,\n output: ScrapegraphAiSmartScraperStatusOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,EACtI,CAAC,CAAC,CAAC,SAAS,8DAkBH;CACP,QAlBmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/N,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK,CAAC,CAAC,SAAS;EAC7M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAChH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-smart-crawler.cjs","names":["z","action"],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).passthrough().describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-smart-crawler.cjs","names":["z","action"],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).passthrough().describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler: AppAction<\n typeof ScrapegraphAiStartSmartCrawlerInput,\n typeof ScrapegraphAiStartSmartCrawlerOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CAC7F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/I,OAAOA,IAAAA,EAAE,OAAO;EAChB,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACpK,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;CAC1L,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CAC3L,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CACnL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC5L,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;CAChN,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC5I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC/K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;CACpK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACpJ,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC7O,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CAC3N,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/start-smart-crawler.d.ts
|
|
@@ -26,40 +28,7 @@ declare const ScrapegraphAiStartSmartCrawlerInput: z.ZodObject<{
|
|
|
26
28
|
declare const ScrapegraphAiStartSmartCrawlerOutput: z.ZodObject<{
|
|
27
29
|
task_id: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const scrapegraphAiStartSmartCrawler:
|
|
30
|
-
url: string;
|
|
31
|
-
depth?: number | undefined;
|
|
32
|
-
rules?: {
|
|
33
|
-
exclude?: string[] | undefined;
|
|
34
|
-
same_domain?: boolean | undefined;
|
|
35
|
-
exclude_paths?: string[] | undefined;
|
|
36
|
-
include_paths?: string[] | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
prompt?: string | undefined;
|
|
39
|
-
schema?: Record<string, unknown> | undefined;
|
|
40
|
-
breadth?: number | undefined;
|
|
41
|
-
sitemap?: boolean | undefined;
|
|
42
|
-
stealth?: boolean | undefined;
|
|
43
|
-
max_pages?: number | undefined;
|
|
44
|
-
batch_size?: number | undefined;
|
|
45
|
-
webhook_url?: string | undefined;
|
|
46
|
-
cache_website?: boolean | undefined;
|
|
47
|
-
extraction_mode?: boolean | undefined;
|
|
48
|
-
render_heavy_js?: boolean | undefined;
|
|
49
|
-
same_domain_only?: boolean | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const scrapegraphAiStartSmartCrawler: AppAction<typeof ScrapegraphAiStartSmartCrawlerInput, typeof ScrapegraphAiStartSmartCrawlerOutput, typeof scrapegraphAi.credential>;
|
|
63
32
|
//#endregion
|
|
64
33
|
export { scrapegraphAiStartSmartCrawler };
|
|
65
34
|
//# sourceMappingURL=start-smart-crawler.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-smart-crawler.d.cts","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-smart-crawler.d.cts","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/start-smart-crawler.d.ts
|
|
@@ -26,40 +28,7 @@ declare const ScrapegraphAiStartSmartCrawlerInput: z.ZodObject<{
|
|
|
26
28
|
declare const ScrapegraphAiStartSmartCrawlerOutput: z.ZodObject<{
|
|
27
29
|
task_id: z.ZodNullable<z.ZodString>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const scrapegraphAiStartSmartCrawler:
|
|
30
|
-
url: string;
|
|
31
|
-
depth?: number | undefined;
|
|
32
|
-
rules?: {
|
|
33
|
-
exclude?: string[] | undefined;
|
|
34
|
-
same_domain?: boolean | undefined;
|
|
35
|
-
exclude_paths?: string[] | undefined;
|
|
36
|
-
include_paths?: string[] | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
prompt?: string | undefined;
|
|
39
|
-
schema?: Record<string, unknown> | undefined;
|
|
40
|
-
breadth?: number | undefined;
|
|
41
|
-
sitemap?: boolean | undefined;
|
|
42
|
-
stealth?: boolean | undefined;
|
|
43
|
-
max_pages?: number | undefined;
|
|
44
|
-
batch_size?: number | undefined;
|
|
45
|
-
webhook_url?: string | undefined;
|
|
46
|
-
cache_website?: boolean | undefined;
|
|
47
|
-
extraction_mode?: boolean | undefined;
|
|
48
|
-
render_heavy_js?: boolean | undefined;
|
|
49
|
-
same_domain_only?: boolean | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const scrapegraphAiStartSmartCrawler: AppAction<typeof ScrapegraphAiStartSmartCrawlerInput, typeof ScrapegraphAiStartSmartCrawlerOutput, typeof scrapegraphAi.credential>;
|
|
63
32
|
//#endregion
|
|
64
33
|
export { scrapegraphAiStartSmartCrawler };
|
|
65
34
|
//# sourceMappingURL=start-smart-crawler.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-smart-crawler.d.mts","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-smart-crawler.d.mts","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-smart-crawler.mjs","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).passthrough().describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-smart-crawler.mjs","names":[],"sources":["../../src/actions/start-smart-crawler.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiStartSmartCrawlerInput = z.object({\n url: z.string().describe(\"The starting URL for the crawl. Must be a valid HTTP or HTTPS URL.\"),\n depth: z.number().int().default(1).describe(\"Maximum crawl depth - how many link levels to follow from the start URL. Default is 1.\").optional(),\n rules: z.object({\n exclude: z.array(z.string()).describe(\"Array of regex patterns to exclude URLs from crawling.\").optional(),\n same_domain: z.boolean().describe(\"Whether to restrict crawling to the same domain as the starting URL.\").optional(),\n exclude_paths: z.array(z.string()).describe(\"Array of path patterns to exclude from the crawl (e.g., ['/admin/*']). Takes precedence over include_paths.\").optional(),\n include_paths: z.array(z.string()).describe(\"Array of path patterns to include in the crawl (e.g., ['/blog/*']). exclude_paths takes precedence.\").optional(),\n}).describe(\"Crawl rules for filtering URLs during the crawl process.\").optional(),\n prompt: z.string().describe(\"Instructions for what data to extract during the crawl. Required when extraction_mode=true. Be specific about the information you want extracted.\").optional(),\n schema: z.record(z.string(), z.unknown()).describe(\"JSON Schema object defining the structure of extracted data. Helps ensure consistent, structured output in extraction mode.\").optional(),\n breadth: z.number().int().describe(\"Maximum number of links to crawl per depth level. If not specified (null), unlimited breadth is allowed. Ignored when sitemap=true.\").optional(),\n sitemap: z.boolean().default(false).describe(\"Whether to use sitemap.xml for URL discovery instead of link following. When enabled, ignores breadth parameter. Default is false.\").optional(),\n stealth: z.boolean().default(false).describe(\"Enable stealth mode to bypass bot detection and anti-scraping measures. Adds +4 credits per page. Use for sites with bot protection. Default is false.\").optional(),\n max_pages: z.number().int().default(10).describe(\"Maximum total number of pages to crawl across all depth levels. Default is 10.\").optional(),\n batch_size: z.number().int().default(1).describe(\"Number of pages to process in each batch during the crawl. Higher values may speed up large crawls. Default is 1.\").optional(),\n webhook_url: z.string().describe(\"Webhook URL to receive the job completion notification. The result will be POSTed to this URL when the crawl finishes.\").optional(),\n cache_website: z.boolean().default(false).describe(\"Whether to cache the website content for faster subsequent crawls. Default is false.\").optional(),\n extraction_mode: z.boolean().default(true).describe(\"When true, enables AI-powered extraction using LLM (default, 10 credits/page). When false, enables markdown conversion mode (NO AI processing, 2 credits/page, 80% cheaper).\").optional(),\n render_heavy_js: z.boolean().default(false).describe(\"Enable enhanced JavaScript rendering for Single Page Applications (SPAs) and sites with heavy JavaScript. May increase processing time. Default is false.\").optional(),\n same_domain_only: z.boolean().default(true).describe(\"Whether to restrict crawling to only pages on the same domain as the starting URL. Default is true.\").optional(),\n}).describe(\"Request schema to start a SmartCrawler job for multi-page AI extraction.\");\nexport const ScrapegraphAiStartSmartCrawlerOutput = z.object({\n task_id: z.string().describe(\"Unique identifier for the crawl task. Use this ID to check the status or retrieve results later.\").nullable(),\n}).passthrough().describe(\"Response schema returned after initiating a SmartCrawler job.\");\n\nexport const scrapegraphAiStartSmartCrawler: AppAction<\n typeof ScrapegraphAiStartSmartCrawlerInput,\n typeof ScrapegraphAiStartSmartCrawlerOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_START_SMART_CRAWLER\", {\n slug: \"scrapegraph_ai-start-smart-crawler\",\n name: \"Start Smart Crawler (Async)\",\n description: \"Tool to start a multi-page web crawl using SmartCrawler for AI-powered data extraction. Use when you need to extract structured data from multiple pages of a website. Returns immediately with a task_id - use the status check action to monitor progress and retrieve results.\",\n input: ScrapegraphAiStartSmartCrawlerInput,\n output: ScrapegraphAiStartSmartCrawlerOutput,\n});\n"],"mappings":";;;AAgCA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCiD,EAAE,OAAO;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EAC/I,OAAO,EAAE,OAAO;GAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GACzG,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;GACnH,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;GACpK,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9J,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAC1L,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAC3L,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EACnL,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;EAC5L,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAChN,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC5I,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EAC/K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,CAAC,CAAC,SAAS;EACpK,eAAe,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACpJ,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;EAC7O,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;EAC3N,kBAAkB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACvK,CAAC,CAAC,CAAC,SAAS,0EAaH;CACP,QAbkD,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).passthrough().describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).passthrough().describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback: AppAction<\n typeof ScrapegraphAiSubmitFeedbackInput,\n typeof ScrapegraphAiSubmitFeedbackOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/submit-feedback.d.ts
|
|
@@ -12,23 +14,7 @@ declare const ScrapegraphAiSubmitFeedbackOutput: z.ZodObject<{
|
|
|
12
14
|
feedback_id: z.ZodNullable<z.ZodString>;
|
|
13
15
|
feedback_timestamp: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const scrapegraphAiSubmitFeedback:
|
|
16
|
-
rating: number;
|
|
17
|
-
request_id: string;
|
|
18
|
-
feedback_text?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const scrapegraphAiSubmitFeedback: AppAction<typeof ScrapegraphAiSubmitFeedbackInput, typeof ScrapegraphAiSubmitFeedbackOutput, typeof scrapegraphAi.credential>;
|
|
32
18
|
//#endregion
|
|
33
19
|
export { scrapegraphAiSubmitFeedback };
|
|
34
20
|
//# sourceMappingURL=submit-feedback.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-feedback.d.cts","names":[],"sources":["../../src/actions/submit-feedback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-feedback.d.cts","names":[],"sources":["../../src/actions/submit-feedback.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/submit-feedback.d.ts
|
|
@@ -12,23 +14,7 @@ declare const ScrapegraphAiSubmitFeedbackOutput: z.ZodObject<{
|
|
|
12
14
|
feedback_id: z.ZodNullable<z.ZodString>;
|
|
13
15
|
feedback_timestamp: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const scrapegraphAiSubmitFeedback:
|
|
16
|
-
rating: number;
|
|
17
|
-
request_id: string;
|
|
18
|
-
feedback_text?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const scrapegraphAiSubmitFeedback: AppAction<typeof ScrapegraphAiSubmitFeedbackInput, typeof ScrapegraphAiSubmitFeedbackOutput, typeof scrapegraphAi.credential>;
|
|
32
18
|
//#endregion
|
|
33
19
|
export { scrapegraphAiSubmitFeedback };
|
|
34
20
|
//# sourceMappingURL=submit-feedback.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-feedback.d.mts","names":[],"sources":["../../src/actions/submit-feedback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-feedback.d.mts","names":[],"sources":["../../src/actions/submit-feedback.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-feedback.mjs","names":[],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).passthrough().describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-feedback.mjs","names":[],"sources":["../../src/actions/submit-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiSubmitFeedbackInput = z.object({\n rating: z.number().int().describe(\"Star rating from 0 (lowest) to 5 (highest)\"),\n request_id: z.string().describe(\"UUID of the request/session this feedback is for\"),\n feedback_text: z.string().describe(\"Optional comments about the request\").optional(),\n}).describe(\"Request schema for submitting feedback on a previous scraping request.\");\nexport const ScrapegraphAiSubmitFeedbackOutput = z.object({\n message: z.string().describe(\"Confirmation message from the API\").nullable(),\n request_id: z.string().describe(\"UUID of the original request this feedback is linked to\").nullable(),\n feedback_id: z.string().describe(\"Unique identifier for the submitted feedback\").nullable(),\n feedback_timestamp: z.string().describe(\"Timestamp when feedback was recorded (ISO-8601)\").nullable(),\n}).passthrough().describe(\"Response schema after submitting feedback.\");\n\nexport const scrapegraphAiSubmitFeedback: AppAction<\n typeof ScrapegraphAiSubmitFeedbackInput,\n typeof ScrapegraphAiSubmitFeedbackOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_SUBMIT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-feedback\",\n name: \"Submit Feedback\",\n description: \"Submit feedback and ratings for completed ScrapeGraphAI requests.\",\n input: ScrapegraphAiSubmitFeedbackInput,\n output: ScrapegraphAiSubmitFeedbackOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB8C,EAAE,OAAO;EACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,wEAgBH;CACP,QAhB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC1F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-product-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-product-feedback.cjs","names":["z","action"],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback: AppAction<\n typeof ScrapegraphAiSubmitProductFeedbackInput,\n typeof ScrapegraphAiSubmitProductFeedbackOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAClE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACjF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACpF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrF,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,yCAAyC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/submit-product-feedback.d.ts
|
|
@@ -23,37 +25,7 @@ declare const ScrapegraphAiSubmitProductFeedbackInput: z.ZodObject<{
|
|
|
23
25
|
declare const ScrapegraphAiSubmitProductFeedbackOutput: z.ZodObject<{
|
|
24
26
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const scrapegraphAiSubmitProductFeedback:
|
|
27
|
-
feedback_id: string;
|
|
28
|
-
name?: string | undefined;
|
|
29
|
-
email?: string | undefined;
|
|
30
|
-
issues?: string | undefined;
|
|
31
|
-
rating?: number | undefined;
|
|
32
|
-
company?: string | undefined;
|
|
33
|
-
disliked?: string | undefined;
|
|
34
|
-
use_cases?: string[] | undefined;
|
|
35
|
-
liked_most?: string | undefined;
|
|
36
|
-
setup_easy?: boolean | undefined;
|
|
37
|
-
can_contact?: boolean | undefined;
|
|
38
|
-
contact_method?: string | undefined;
|
|
39
|
-
how_discovered?: string | undefined;
|
|
40
|
-
recommend_score?: number | undefined;
|
|
41
|
-
usage_frequency?: string | undefined;
|
|
42
|
-
requested_features?: string | undefined;
|
|
43
|
-
improvement_suggestions?: string | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const scrapegraphAiSubmitProductFeedback: AppAction<typeof ScrapegraphAiSubmitProductFeedbackInput, typeof ScrapegraphAiSubmitProductFeedbackOutput, typeof scrapegraphAi.credential>;
|
|
57
29
|
//#endregion
|
|
58
30
|
export { scrapegraphAiSubmitProductFeedback };
|
|
59
31
|
//# sourceMappingURL=submit-product-feedback.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-product-feedback.d.cts","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-product-feedback.d.cts","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/submit-product-feedback.d.ts
|
|
@@ -23,37 +25,7 @@ declare const ScrapegraphAiSubmitProductFeedbackInput: z.ZodObject<{
|
|
|
23
25
|
declare const ScrapegraphAiSubmitProductFeedbackOutput: z.ZodObject<{
|
|
24
26
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const scrapegraphAiSubmitProductFeedback:
|
|
27
|
-
feedback_id: string;
|
|
28
|
-
name?: string | undefined;
|
|
29
|
-
email?: string | undefined;
|
|
30
|
-
issues?: string | undefined;
|
|
31
|
-
rating?: number | undefined;
|
|
32
|
-
company?: string | undefined;
|
|
33
|
-
disliked?: string | undefined;
|
|
34
|
-
use_cases?: string[] | undefined;
|
|
35
|
-
liked_most?: string | undefined;
|
|
36
|
-
setup_easy?: boolean | undefined;
|
|
37
|
-
can_contact?: boolean | undefined;
|
|
38
|
-
contact_method?: string | undefined;
|
|
39
|
-
how_discovered?: string | undefined;
|
|
40
|
-
recommend_score?: number | undefined;
|
|
41
|
-
usage_frequency?: string | undefined;
|
|
42
|
-
requested_features?: string | undefined;
|
|
43
|
-
improvement_suggestions?: string | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const scrapegraphAiSubmitProductFeedback: AppAction<typeof ScrapegraphAiSubmitProductFeedbackInput, typeof ScrapegraphAiSubmitProductFeedbackOutput, typeof scrapegraphAi.credential>;
|
|
57
29
|
//#endregion
|
|
58
30
|
export { scrapegraphAiSubmitProductFeedback };
|
|
59
31
|
//# sourceMappingURL=submit-product-feedback.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-product-feedback.d.mts","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-product-feedback.d.mts","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAmBvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAIxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-product-feedback.mjs","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"submit-product-feedback.mjs","names":[],"sources":["../../src/actions/submit-product-feedback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiSubmitProductFeedbackInput = z.object({\n name: z.string().describe(\"Your name\").optional(),\n email: z.string().describe(\"Your email address\").optional(),\n issues: z.string().describe(\"Any issues you've encountered\").optional(),\n rating: z.number().int().describe(\"Overall rating from 1 (lowest) to 5 (highest)\").optional(),\n company: z.string().describe(\"Your company name\").optional(),\n disliked: z.string().describe(\"What you disliked about the product\").optional(),\n use_cases: z.array(z.string()).describe(\"Your use cases for the product\").optional(),\n liked_most: z.string().describe(\"What you liked most about the product\").optional(),\n setup_easy: z.boolean().describe(\"Whether the setup process was easy\").optional(),\n can_contact: z.boolean().describe(\"Whether you consent to be contacted about your feedback\").optional(),\n feedback_id: z.string().describe(\"UUID of the feedback submission\"),\n contact_method: z.string().describe(\"Preferred method of contact\").optional(),\n how_discovered: z.string().describe(\"How you discovered ScrapeGraphAI\").optional(),\n recommend_score: z.number().int().describe(\"How likely you are to recommend this product (0-10 scale)\").optional(),\n usage_frequency: z.string().describe(\"How frequently you use the product\").optional(),\n requested_features: z.string().describe(\"Features you'd like to see added\").optional(),\n improvement_suggestions: z.string().describe(\"Your suggestions for product improvements\").optional(),\n}).describe(\"Request schema for submitting product feedback about ScrapeGraphAI.\");\nexport const ScrapegraphAiSubmitProductFeedbackOutput = z.object({\n message: z.string().default(\"Product feedback submitted successfully\").describe(\"Confirmation message from the API\").nullable().optional(),\n}).passthrough().describe(\"Response schema after submitting product feedback.\");\n\nexport const scrapegraphAiSubmitProductFeedback: AppAction<\n typeof ScrapegraphAiSubmitProductFeedbackInput,\n typeof ScrapegraphAiSubmitProductFeedbackOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_SUBMIT_PRODUCT_FEEDBACK\", {\n slug: \"scrapegraph_ai-submit-product-feedback\",\n name: \"Submit Product Feedback\",\n description: \"Submit product feedback for ScrapeGraphAI. Use to provide ratings, comments, suggestions, and other feedback about the product itself.\",\n input: ScrapegraphAiSubmitProductFeedbackInput,\n output: ScrapegraphAiSubmitProductFeedbackOutput,\n});\n"],"mappings":";;;AA6BA,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/BqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC9E,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;EAClE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC5E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACjF,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACjH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACrF,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,qEAaH;CACP,QAbsD,EAAE,OAAO,EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,yCAAyC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
package/dist/actions/toonify.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toonify.cjs","names":["z","action"],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).passthrough().describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toonify.cjs","names":["z","action"],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).passthrough().describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify: AppAction<\n typeof ScrapegraphAiToonifyInput,\n typeof ScrapegraphAiToonifyOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ,CAAC,CAAC,SAAS,EACjU,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS,EAC9P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/toonify.d.ts
|
|
@@ -7,21 +9,7 @@ declare const ScrapegraphAiToonifyInput: z.ZodObject<{
|
|
|
7
9
|
declare const ScrapegraphAiToonifyOutput: z.ZodObject<{
|
|
8
10
|
result: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const scrapegraphAiToonify:
|
|
11
|
-
data?: Record<string, unknown> | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const scrapegraphAiToonify: AppAction<typeof ScrapegraphAiToonifyInput, typeof ScrapegraphAiToonifyOutput, typeof scrapegraphAi.credential>;
|
|
25
13
|
//#endregion
|
|
26
14
|
export { scrapegraphAiToonify };
|
|
27
15
|
//# sourceMappingURL=toonify.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toonify.d.cts","names":[],"sources":["../../src/actions/toonify.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toonify.d.cts","names":[],"sources":["../../src/actions/toonify.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,aAAA,CAAc,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scrapegraphAi } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/toonify.d.ts
|
|
@@ -7,21 +9,7 @@ declare const ScrapegraphAiToonifyInput: z.ZodObject<{
|
|
|
7
9
|
declare const ScrapegraphAiToonifyOutput: z.ZodObject<{
|
|
8
10
|
result: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const scrapegraphAiToonify:
|
|
11
|
-
data?: Record<string, unknown> | undefined;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
13
|
-
connectionId: z.ZodString;
|
|
14
|
-
entityId: z.ZodString;
|
|
15
|
-
instanceId: z.ZodString;
|
|
16
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
17
|
-
generic_api_key: z.ZodString;
|
|
18
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scrapegraph_ai", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const scrapegraphAiToonify: AppAction<typeof ScrapegraphAiToonifyInput, typeof ScrapegraphAiToonifyOutput, typeof scrapegraphAi.credential>;
|
|
25
13
|
//#endregion
|
|
26
14
|
export { scrapegraphAiToonify };
|
|
27
15
|
//# sourceMappingURL=toonify.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toonify.d.mts","names":[],"sources":["../../src/actions/toonify.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toonify.d.mts","names":[],"sources":["../../src/actions/toonify.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,aAAA,CAAc,UAAA"}
|
package/dist/actions/toonify.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toonify.mjs","names":[],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).passthrough().describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toonify.mjs","names":[],"sources":["../../src/actions/toonify.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scrapegraphAi } from \"../app\";\n\nexport const ScrapegraphAiToonifyInput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The JSON data to convert to TOON (Token-Oriented Object Notation) format. Can be any valid JSON object or array. TOON format reduces token usage by 30-60% compared to JSON while maintaining structure and readability. If not provided, returns empty response.\").optional(),\n}).describe(\"Request schema for converting JSON data to TOON format.\");\nexport const ScrapegraphAiToonifyOutput = z.object({\n result: z.string().describe(\"The TOON-formatted string representation of the input data. TOON format is a compact, CSV-like format that reduces token usage by 30-60% compared to JSON while maintaining hierarchical structure and readability.\").nullable(),\n}).passthrough().describe(\"Response schema for the toonify action.\");\n\nexport const scrapegraphAiToonify: AppAction<\n typeof ScrapegraphAiToonifyInput,\n typeof ScrapegraphAiToonifyOutput,\n typeof scrapegraphAi.credential\n> = action(\"SCRAPEGRAPH_AI_TOONIFY\", {\n slug: \"scrapegraph_ai-toonify\",\n name: \"Convert JSON to TOON Format\",\n description: \"Tool to convert JSON data to TOON (Token-Oriented Object Notation) format. Use when you need to reduce token usage for LLM processing while maintaining data structure.\",\n input: ScrapegraphAiToonifyInput,\n output: ScrapegraphAiToonifyOutput,\n});\n"],"mappings":";;;AAaA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ,CAAC,CAAC,SAAS,EACjU,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAbwC,EAAE,OAAO,EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS,EAC9P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|