@keystrokehq/parsera 0.1.4 → 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.
Files changed (117) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-scraper.cjs +1 -0
  4. package/dist/actions/create-scraper.cjs.map +1 -1
  5. package/dist/actions/create-scraper.d.cts +3 -1
  6. package/dist/actions/create-scraper.d.cts.map +1 -1
  7. package/dist/actions/create-scraper.d.mts +3 -1
  8. package/dist/actions/create-scraper.d.mts.map +1 -1
  9. package/dist/actions/create-scraper.mjs +1 -0
  10. package/dist/actions/create-scraper.mjs.map +1 -1
  11. package/dist/actions/delete-scraper.cjs +1 -0
  12. package/dist/actions/delete-scraper.cjs.map +1 -1
  13. package/dist/actions/delete-scraper.d.cts +3 -3
  14. package/dist/actions/delete-scraper.d.cts.map +1 -1
  15. package/dist/actions/delete-scraper.d.mts +3 -3
  16. package/dist/actions/delete-scraper.d.mts.map +1 -1
  17. package/dist/actions/delete-scraper.mjs +1 -0
  18. package/dist/actions/delete-scraper.mjs.map +1 -1
  19. package/dist/actions/extract-data.cjs +1 -0
  20. package/dist/actions/extract-data.cjs.map +1 -1
  21. package/dist/actions/extract-data.d.cts +3 -8
  22. package/dist/actions/extract-data.d.cts.map +1 -1
  23. package/dist/actions/extract-data.d.mts +3 -8
  24. package/dist/actions/extract-data.d.mts.map +1 -1
  25. package/dist/actions/extract-data.mjs +1 -0
  26. package/dist/actions/extract-data.mjs.map +1 -1
  27. package/dist/actions/extract-markdown.cjs +1 -0
  28. package/dist/actions/extract-markdown.cjs.map +1 -1
  29. package/dist/actions/extract-markdown.d.cts +3 -8
  30. package/dist/actions/extract-markdown.d.cts.map +1 -1
  31. package/dist/actions/extract-markdown.d.mts +3 -8
  32. package/dist/actions/extract-markdown.d.mts.map +1 -1
  33. package/dist/actions/extract-markdown.mjs +1 -0
  34. package/dist/actions/extract-markdown.mjs.map +1 -1
  35. package/dist/actions/get-llm-specs.cjs +1 -0
  36. package/dist/actions/get-llm-specs.cjs.map +1 -1
  37. package/dist/actions/get-llm-specs.d.cts +3 -1
  38. package/dist/actions/get-llm-specs.d.cts.map +1 -1
  39. package/dist/actions/get-llm-specs.d.mts +3 -1
  40. package/dist/actions/get-llm-specs.d.mts.map +1 -1
  41. package/dist/actions/get-llm-specs.mjs +1 -0
  42. package/dist/actions/get-llm-specs.mjs.map +1 -1
  43. package/dist/actions/get-proxy-countries.cjs +1 -0
  44. package/dist/actions/get-proxy-countries.cjs.map +1 -1
  45. package/dist/actions/get-proxy-countries.d.cts +3 -1
  46. package/dist/actions/get-proxy-countries.d.cts.map +1 -1
  47. package/dist/actions/get-proxy-countries.d.mts +3 -1
  48. package/dist/actions/get-proxy-countries.d.mts.map +1 -1
  49. package/dist/actions/get-proxy-countries.mjs +1 -0
  50. package/dist/actions/get-proxy-countries.mjs.map +1 -1
  51. package/dist/actions/health-check.cjs +1 -0
  52. package/dist/actions/health-check.cjs.map +1 -1
  53. package/dist/actions/health-check.d.cts +3 -1
  54. package/dist/actions/health-check.d.cts.map +1 -1
  55. package/dist/actions/health-check.d.mts +3 -1
  56. package/dist/actions/health-check.d.mts.map +1 -1
  57. package/dist/actions/health-check.mjs +1 -0
  58. package/dist/actions/health-check.mjs.map +1 -1
  59. package/dist/actions/list-agents.cjs +1 -0
  60. package/dist/actions/list-agents.cjs.map +1 -1
  61. package/dist/actions/list-agents.d.cts +3 -1
  62. package/dist/actions/list-agents.d.cts.map +1 -1
  63. package/dist/actions/list-agents.d.mts +3 -1
  64. package/dist/actions/list-agents.d.mts.map +1 -1
  65. package/dist/actions/list-agents.mjs +1 -0
  66. package/dist/actions/list-agents.mjs.map +1 -1
  67. package/dist/actions/list-scrapers.cjs +1 -0
  68. package/dist/actions/list-scrapers.cjs.map +1 -1
  69. package/dist/actions/list-scrapers.d.cts +3 -1
  70. package/dist/actions/list-scrapers.d.cts.map +1 -1
  71. package/dist/actions/list-scrapers.d.mts +3 -1
  72. package/dist/actions/list-scrapers.d.mts.map +1 -1
  73. package/dist/actions/list-scrapers.mjs +1 -0
  74. package/dist/actions/list-scrapers.mjs.map +1 -1
  75. package/dist/actions/parse-content2.cjs +1 -0
  76. package/dist/actions/parse-content2.cjs.map +1 -1
  77. package/dist/actions/parse-content2.d.cts +4 -14
  78. package/dist/actions/parse-content2.d.cts.map +1 -1
  79. package/dist/actions/parse-content2.d.mts +4 -14
  80. package/dist/actions/parse-content2.d.mts.map +1 -1
  81. package/dist/actions/parse-content2.mjs +1 -0
  82. package/dist/actions/parse-content2.mjs.map +1 -1
  83. package/dist/actions/remove-agent.cjs +1 -0
  84. package/dist/actions/remove-agent.cjs.map +1 -1
  85. package/dist/actions/remove-agent.d.cts +3 -3
  86. package/dist/actions/remove-agent.d.cts.map +1 -1
  87. package/dist/actions/remove-agent.d.mts +3 -3
  88. package/dist/actions/remove-agent.d.mts.map +1 -1
  89. package/dist/actions/remove-agent.mjs +1 -0
  90. package/dist/actions/remove-agent.mjs.map +1 -1
  91. package/dist/actions/run-scraper-template.cjs +1 -0
  92. package/dist/actions/run-scraper-template.cjs.map +1 -1
  93. package/dist/actions/run-scraper-template.d.cts +3 -11
  94. package/dist/actions/run-scraper-template.d.cts.map +1 -1
  95. package/dist/actions/run-scraper-template.d.mts +3 -11
  96. package/dist/actions/run-scraper-template.d.mts.map +1 -1
  97. package/dist/actions/run-scraper-template.mjs +1 -0
  98. package/dist/actions/run-scraper-template.mjs.map +1 -1
  99. package/dist/actions/scrape-with-agent.cjs +1 -0
  100. package/dist/actions/scrape-with-agent.cjs.map +1 -1
  101. package/dist/actions/scrape-with-agent.d.cts +3 -6
  102. package/dist/actions/scrape-with-agent.d.cts.map +1 -1
  103. package/dist/actions/scrape-with-agent.d.mts +3 -6
  104. package/dist/actions/scrape-with-agent.d.mts.map +1 -1
  105. package/dist/actions/scrape-with-agent.mjs +1 -0
  106. package/dist/actions/scrape-with-agent.mjs.map +1 -1
  107. package/dist/app.cjs +5 -2
  108. package/dist/app.cjs.map +1 -1
  109. package/dist/app.d.cts +7 -1
  110. package/dist/app.d.cts.map +1 -1
  111. package/dist/app.d.mts +7 -1
  112. package/dist/app.d.mts.map +1 -1
  113. package/dist/app.mjs +3 -2
  114. package/dist/app.mjs.map +1 -1
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.mts +1 -1
  117. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-proxy-countries.mjs","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraGetProxyCountriesInput = z.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\").nullable(),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\").nullable(),\n}).passthrough().describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput = z.object({\n countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe(\"Array of available proxy countries for web scraping requests.\"),\n}).passthrough().describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries = action(\"PARSERA_GET_PROXY_COUNTRIES\", {\n slug: \"parsera-get-proxy-countries\",\n name: \"Get Proxy Countries\",\n description: \"Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.\",\n input: ParseraGetProxyCountriesInput,\n output: ParseraGetProxyCountriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjK,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-proxy-countries.mjs","names":[],"sources":["../../src/actions/get-proxy-countries.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraGetProxyCountriesInput = z.object({}).describe(\"Request model for GET /v1/proxy-countries endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraGetProxyCountries_ProxyCountrySchema = z.object({\n code: z.string().describe(\"API parameter code for the country (e.g., 'UnitedStates', 'UnitedKingdom').\").nullable(),\n name: z.string().describe(\"Human-readable country name (e.g., 'United States', 'United Kingdom').\").nullable(),\n}).passthrough().describe(\"Represents a single proxy country option.\");\nexport const ParseraGetProxyCountriesOutput = z.object({\n countries: z.array(ParseraGetProxyCountries_ProxyCountrySchema).describe(\"Array of available proxy countries for web scraping requests.\"),\n}).passthrough().describe(\"Response model containing list of available proxy countries.\");\n\nexport const parseraGetProxyCountries: AppAction<\n typeof ParseraGetProxyCountriesInput,\n typeof ParseraGetProxyCountriesOutput,\n typeof parsera.credential\n> = action(\"PARSERA_GET_PROXY_COUNTRIES\", {\n slug: \"parsera-get-proxy-countries\",\n name: \"Get Proxy Countries\",\n description: \"Tool to retrieve the list of available proxy countries for web scraping requests. Use when you need to know which countries are supported for proxy-based scraping.\",\n input: ParseraGetProxyCountriesInput,\n output: ParseraGetProxyCountriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8FAA8F;AACjK,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,+DAA+D,EAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/health-check.ts
@@ -1 +1 @@
1
- {"version":3,"file":"health-check.cjs","names":["z","action"],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraHealthCheckInput = z.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API service.\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck = action(\"PARSERA_HEALTH_CHECK\", {\n slug: \"parsera-health-check\",\n name: \"Health Check\",\n description: \"Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.\",\n input: ParseraHealthCheckInput,\n output: ParseraHealthCheckOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACrH,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"health-check.cjs","names":["z","action"],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraHealthCheckInput = z.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API service.\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck: AppAction<\n typeof ParseraHealthCheckInput,\n typeof ParseraHealthCheckOutput,\n typeof parsera.credential\n> = action(\"PARSERA_HEALTH_CHECK\", {\n slug: \"parsera-health-check\",\n name: \"Health Check\",\n description: \"Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.\",\n input: ParseraHealthCheckInput,\n output: ParseraHealthCheckOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACrH,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/health-check.d.ts
@@ -5,7 +7,7 @@ declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const ParseraHealthCheckOutput: z.ZodObject<{
6
8
  status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
7
9
  }, z.core.$loose>;
8
- declare const parseraHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const parseraHealthCheck: AppAction<typeof ParseraHealthCheckInput, typeof ParseraHealthCheckOutput, typeof parsera.credential>;
9
11
  //#endregion
10
12
  export { parseraHealthCheck };
11
13
  //# sourceMappingURL=health-check.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"health-check.d.cts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/health-check.d.ts
@@ -5,7 +7,7 @@ declare const ParseraHealthCheckInput: z.ZodObject<{}, z.core.$strip>;
5
7
  declare const ParseraHealthCheckOutput: z.ZodObject<{
6
8
  status: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
7
9
  }, z.core.$loose>;
8
- declare const parseraHealthCheck: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const parseraHealthCheck: AppAction<typeof ParseraHealthCheckInput, typeof ParseraHealthCheckOutput, typeof parsera.credential>;
9
11
  //#endregion
10
12
  export { parseraHealthCheck };
11
13
  //# sourceMappingURL=health-check.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"health-check.d.mts","names":[],"sources":["../../src/actions/health-check.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parseraHealthCheck = action("PARSERA_HEALTH_CHECK", {
@@ -1 +1 @@
1
- {"version":3,"file":"health-check.mjs","names":[],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraHealthCheckInput = z.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API service.\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck = action(\"PARSERA_HEALTH_CHECK\", {\n slug: \"parsera-health-check\",\n name: \"Health Check\",\n description: \"Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.\",\n input: ParseraHealthCheckInput,\n output: ParseraHealthCheckOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDASpD;CACP,QATsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"health-check.mjs","names":[],"sources":["../../src/actions/health-check.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraHealthCheckInput = z.object({}).describe(\"Request model for health check - no parameters needed.\");\nexport const ParseraHealthCheckOutput = z.object({\n status: z.string().default(\"healthy\").describe(\"Health status of the API service.\").nullable().optional(),\n}).passthrough().describe(\"Response model for health check endpoint.\");\n\nexport const parseraHealthCheck: AppAction<\n typeof ParseraHealthCheckInput,\n typeof ParseraHealthCheckOutput,\n typeof parsera.credential\n> = action(\"PARSERA_HEALTH_CHECK\", {\n slug: \"parsera-health-check\",\n name: \"Health Check\",\n description: \"Tool to verify API availability and operational status. Use to check if the Parsera service is accessible before making other API calls.\",\n input: ParseraHealthCheckInput,\n output: ParseraHealthCheckOutput,\n});\n"],"mappings":";;;AAWA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAapD;CACP,QAbsC,EAAE,OAAO,EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-agents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.cjs","names":["z","action"],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListAgentsInput = z.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\").nullable(),\n name: z.string().describe(\"Display name of the agent.\").nullable(),\n}).passthrough().describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput = z.object({\n agents: z.array(ParseraListAgents_AgentItemSchema).describe(\"Array of agents available for the authenticated user.\"),\n}).passthrough().describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents = action(\"PARSERA_LIST_AGENTS\", {\n slug: \"parsera-list-agents\",\n name: \"List Agents\",\n description: \"Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.\",\n input: ParseraListAgentsInput,\n output: ParseraListAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/I,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-agents.cjs","names":["z","action"],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraListAgentsInput = z.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\").nullable(),\n name: z.string().describe(\"Display name of the agent.\").nullable(),\n}).passthrough().describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput = z.object({\n agents: z.array(ParseraListAgents_AgentItemSchema).describe(\"Array of agents available for the authenticated user.\"),\n}).passthrough().describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents: AppAction<\n typeof ParseraListAgentsInput,\n typeof ParseraListAgentsOutput,\n typeof parsera.credential\n> = action(\"PARSERA_LIST_AGENTS\", {\n slug: \"parsera-list-agents\",\n name: \"List Agents\",\n description: \"Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.\",\n input: ParseraListAgentsInput,\n output: ParseraListAgentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/I,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-agents.d.ts
@@ -8,7 +10,7 @@ declare const ParseraListAgentsOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const parseraListAgents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parseraListAgents: AppAction<typeof ParseraListAgentsInput, typeof ParseraListAgentsOutput, typeof parsera.credential>;
12
14
  //#endregion
13
15
  export { parseraListAgents };
14
16
  //# sourceMappingURL=list-agents.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-agents.d.cts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-agents.d.ts
@@ -8,7 +10,7 @@ declare const ParseraListAgentsOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const parseraListAgents: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parseraListAgents: AppAction<typeof ParseraListAgentsInput, typeof ParseraListAgentsOutput, typeof parsera.credential>;
12
14
  //#endregion
13
15
  export { parseraListAgents };
14
16
  //# sourceMappingURL=list-agents.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-agents.d.mts","names":[],"sources":["../../src/actions/list-agents.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-agents.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-agents.mjs","names":[],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListAgentsInput = z.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\").nullable(),\n name: z.string().describe(\"Display name of the agent.\").nullable(),\n}).passthrough().describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput = z.object({\n agents: z.array(ParseraListAgents_AgentItemSchema).describe(\"Array of agents available for the authenticated user.\"),\n}).passthrough().describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents = action(\"PARSERA_LIST_AGENTS\", {\n slug: \"parsera-list-agents\",\n name: \"List Agents\",\n description: \"Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.\",\n input: ParseraListAgentsInput,\n output: ParseraListAgentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/I,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-agents.mjs","names":[],"sources":["../../src/actions/list-agents.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraListAgentsInput = z.object({}).describe(\"Request model for GET /v1/list endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListAgents_AgentItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the agent.\").nullable(),\n name: z.string().describe(\"Display name of the agent.\").nullable(),\n}).passthrough().describe(\"Represents a single agent item.\");\nexport const ParseraListAgentsOutput = z.object({\n agents: z.array(ParseraListAgents_AgentItemSchema).describe(\"Array of agents available for the authenticated user.\"),\n}).passthrough().describe(\"Response model containing list of available agents.\");\n\nexport const parseraListAgents: AppAction<\n typeof ParseraListAgentsInput,\n typeof ParseraListAgentsOutput,\n typeof parsera.credential\n> = action(\"PARSERA_LIST_AGENTS\", {\n slug: \"parsera-list-agents\",\n name: \"List Agents\",\n description: \"Tool to retrieve all available agents for the authenticated user. Use when you need to list agents that can be used for scraping tasks.\",\n input: ParseraListAgentsInput,\n output: ParseraListAgentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/I,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,uDAAuD,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-scrapers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-scrapers.cjs","names":["z","action"],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListScrapersInput = z.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\").nullable(),\n name: z.string().describe(\"Display name of the template or scraper.\").nullable(),\n}).passthrough().describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput = z.object({\n scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe(\"Array of templates and old scrapers with their names and IDs.\"),\n}).passthrough().describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers = action(\"PARSERA_LIST_SCRAPERS\", {\n slug: \"parsera-list-scrapers\",\n name: \"List Scrapers\",\n description: \"Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.\",\n input: ParseraListScrapersInput,\n output: ParseraListScrapersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC1I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-scrapers.cjs","names":["z","action"],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraListScrapersInput = z.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\").nullable(),\n name: z.string().describe(\"Display name of the template or scraper.\").nullable(),\n}).passthrough().describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput = z.object({\n scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe(\"Array of templates and old scrapers with their names and IDs.\"),\n}).passthrough().describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers: AppAction<\n typeof ParseraListScrapersInput,\n typeof ParseraListScrapersOutput,\n typeof parsera.credential\n> = action(\"PARSERA_LIST_SCRAPERS\", {\n slug: \"parsera-list-scrapers\",\n name: \"List Scrapers\",\n description: \"Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.\",\n input: ParseraListScrapersInput,\n output: ParseraListScrapersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC1I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-scrapers.d.ts
@@ -8,7 +10,7 @@ declare const ParseraListScrapersOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const parseraListScrapers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parseraListScrapers: AppAction<typeof ParseraListScrapersInput, typeof ParseraListScrapersOutput, typeof parsera.credential>;
12
14
  //#endregion
13
15
  export { parseraListScrapers };
14
16
  //# sourceMappingURL=list-scrapers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-scrapers.d.cts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-scrapers.d.ts
@@ -8,7 +10,7 @@ declare const ParseraListScrapersOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const parseraListScrapers: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parseraListScrapers: AppAction<typeof ParseraListScrapersInput, typeof ParseraListScrapersOutput, typeof parsera.credential>;
12
14
  //#endregion
13
15
  export { parseraListScrapers };
14
16
  //# sourceMappingURL=list-scrapers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-scrapers.d.mts","names":[],"sources":["../../src/actions/list-scrapers.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-scrapers.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-scrapers.mjs","names":[],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraListScrapersInput = z.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\").nullable(),\n name: z.string().describe(\"Display name of the template or scraper.\").nullable(),\n}).passthrough().describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput = z.object({\n scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe(\"Array of templates and old scrapers with their names and IDs.\"),\n}).passthrough().describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers = action(\"PARSERA_LIST_SCRAPERS\", {\n slug: \"parsera-list-scrapers\",\n name: \"List Scrapers\",\n description: \"Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.\",\n input: ParseraListScrapersInput,\n output: ParseraListScrapersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-scrapers.mjs","names":[],"sources":["../../src/actions/list-scrapers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraListScrapersInput = z.object({}).describe(\"Request model for GET /v1/scrapers endpoint.\\n\\nThis endpoint requires no parameters.\");\nconst ParseraListScrapers_ScraperItemSchema = z.object({\n id: z.string().describe(\"Unique identifier. Old scrapers have IDs prefixed with 'scraper:' to distinguish them from templates.\").nullable(),\n name: z.string().describe(\"Display name of the template or scraper.\").nullable(),\n}).passthrough().describe(\"Represents a single template or scraper item.\");\nexport const ParseraListScrapersOutput = z.object({\n scrapers: z.array(ParseraListScrapers_ScraperItemSchema).describe(\"Array of templates and old scrapers with their names and IDs.\"),\n}).passthrough().describe(\"Response model containing list of templates and scrapers.\");\n\nexport const parseraListScrapers: AppAction<\n typeof ParseraListScrapersInput,\n typeof ParseraListScrapersOutput,\n typeof parsera.credential\n> = action(\"PARSERA_LIST_SCRAPERS\", {\n slug: \"parsera-list-scrapers\",\n name: \"List Scrapers\",\n description: \"Tool to list all templates and old scrapers for the authenticated user. Use when you need to retrieve available scraper configurations.\",\n input: ParseraListScrapersInput,\n output: ParseraListScrapersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFAAuF;AACrJ,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,+DAA+D,EACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/parse-content2.ts
@@ -1 +1 @@
1
- {"version":3,"file":"parse-content2.cjs","names":["z","action"],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraParseContent2Input = z.object({\n mode: z.enum([\"standard\", \"precision\", \"code\"]).default(\"standard\").describe(\"Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.\").optional(),\n prompt: z.string().default(\"\").describe(\"Additional instructions or context for the extraction process.\").optional(),\n content: z.string().describe(\"Raw HTML or plain text content to parse and extract data from.\"),\n max_pages: z.number().int().default(2).describe(\"Maximum number of pages to parse when pagination is enabled.\").optional(),\n attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({\n name: z.string().describe(\"Name of the attribute to extract.\"),\n type: z.enum([\"string\", \"integer\", \"number\", \"bool\", \"list\", \"object\", \"any\"]).nullable().optional(),\n description: z.string().nullable().optional(),\n}).passthrough().describe(\"Attribute object with name and description fields.\"))]),\n enable_pagination: z.boolean().default(false).describe(\"Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.\").optional(),\n});\nexport const ParseraParseContent2Output = z.unknown();\n\nexport const parseraParseContent2 = action(\"PARSERA_PARSE_CONTENT2\", {\n slug: \"parsera-parse-content2\",\n name: \"Parse Content (Enhanced)\",\n description: \"Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.\",\n input: ParseraParseContent2Input,\n output: ParseraParseContent2Output,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;CAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACpO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAU;GAAW;GAAU;GAAQ;GAAQ;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;CAC/E,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,QAAQ;AAEpD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"parse-content2.cjs","names":["z","action"],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraParseContent2Input = z.object({\n mode: z.enum([\"standard\", \"precision\", \"code\"]).default(\"standard\").describe(\"Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.\").optional(),\n prompt: z.string().default(\"\").describe(\"Additional instructions or context for the extraction process.\").optional(),\n content: z.string().describe(\"Raw HTML or plain text content to parse and extract data from.\"),\n max_pages: z.number().int().default(2).describe(\"Maximum number of pages to parse when pagination is enabled.\").optional(),\n attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({\n name: z.string().describe(\"Name of the attribute to extract.\"),\n type: z.enum([\"string\", \"integer\", \"number\", \"bool\", \"list\", \"object\", \"any\"]).nullable().optional(),\n description: z.string().nullable().optional(),\n}).passthrough().describe(\"Attribute object with name and description fields.\"))]),\n enable_pagination: z.boolean().default(false).describe(\"Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.\").optional(),\n});\nexport const ParseraParseContent2Output = z.unknown();\n\nexport const parseraParseContent2: AppAction<\n typeof ParseraParseContent2Input,\n typeof ParseraParseContent2Output,\n typeof parsera.credential\n> = action(\"PARSERA_PARSE_CONTENT2\", {\n slug: \"parsera-parse-content2\",\n name: \"Parse Content (Enhanced)\",\n description: \"Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.\",\n input: ParseraParseContent2Input,\n output: ParseraParseContent2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAa;CAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACpO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAU;GAAW;GAAU;GAAQ;GAAQ;GAAU;EAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;CAC/E,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AAC7K,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,QAAQ;AAEpD,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,11 +1,13 @@
1
+ import { parsera } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/parse-content2.d.ts
4
6
  declare const ParseraParseContent2Input: z.ZodObject<{
5
7
  mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
+ code: "code";
6
9
  standard: "standard";
7
10
  precision: "precision";
8
- code: "code";
9
11
  }>>>;
10
12
  prompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
13
  content: z.ZodString;
@@ -26,19 +28,7 @@ declare const ParseraParseContent2Input: z.ZodObject<{
26
28
  enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
27
29
  }, z.core.$strip>;
28
30
  declare const ParseraParseContent2Output: z.ZodUnknown;
29
- declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- content: string;
31
- attributes: Record<string, unknown> | {
32
- [x: string]: unknown;
33
- name: string;
34
- type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
35
- description?: string | null | undefined;
36
- }[];
37
- mode?: "standard" | "precision" | "code" | undefined;
38
- prompt?: string | undefined;
39
- max_pages?: number | undefined;
40
- enable_pagination?: boolean | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const parseraParseContent2: AppAction<typeof ParseraParseContent2Input, typeof ParseraParseContent2Output, typeof parsera.credential>;
42
32
  //#endregion
43
33
  export { parseraParseContent2 };
44
34
  //# sourceMappingURL=parse-content2.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,gCAAoB,wBAAA;;cAM/B,MAAA;IAAA"}
1
+ {"version":3,"file":"parse-content2.d.cts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,11 +1,13 @@
1
+ import { parsera } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/parse-content2.d.ts
4
6
  declare const ParseraParseContent2Input: z.ZodObject<{
5
7
  mode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
8
+ code: "code";
6
9
  standard: "standard";
7
10
  precision: "precision";
8
- code: "code";
9
11
  }>>>;
10
12
  prompt: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
13
  content: z.ZodString;
@@ -26,19 +28,7 @@ declare const ParseraParseContent2Input: z.ZodObject<{
26
28
  enable_pagination: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
27
29
  }, z.core.$strip>;
28
30
  declare const ParseraParseContent2Output: z.ZodUnknown;
29
- declare const parseraParseContent2: import("@keystrokehq/action").WorkflowActionDefinition<{
30
- content: string;
31
- attributes: Record<string, unknown> | {
32
- [x: string]: unknown;
33
- name: string;
34
- type?: "string" | "number" | "object" | "any" | "integer" | "bool" | "list" | null | undefined;
35
- description?: string | null | undefined;
36
- }[];
37
- mode?: "standard" | "precision" | "code" | undefined;
38
- prompt?: string | undefined;
39
- max_pages?: number | undefined;
40
- enable_pagination?: boolean | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ declare const parseraParseContent2: AppAction<typeof ParseraParseContent2Input, typeof ParseraParseContent2Output, typeof parsera.credential>;
42
32
  //#endregion
43
33
  export { parseraParseContent2 };
44
34
  //# sourceMappingURL=parse-content2.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,gCAAoB,wBAAA;;cAM/B,MAAA;IAAA"}
1
+ {"version":3,"file":"parse-content2.d.mts","names":[],"sources":["../../src/actions/parse-content2.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAYzB,0BAAA,EAA0B,CAAA,CAAA,UAAc;AAAA,cAExC,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parseraParseContent2 = action("PARSERA_PARSE_CONTENT2", {
@@ -1 +1 @@
1
- {"version":3,"file":"parse-content2.mjs","names":[],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraParseContent2Input = z.object({\n mode: z.enum([\"standard\", \"precision\", \"code\"]).default(\"standard\").describe(\"Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.\").optional(),\n prompt: z.string().default(\"\").describe(\"Additional instructions or context for the extraction process.\").optional(),\n content: z.string().describe(\"Raw HTML or plain text content to parse and extract data from.\"),\n max_pages: z.number().int().default(2).describe(\"Maximum number of pages to parse when pagination is enabled.\").optional(),\n attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({\n name: z.string().describe(\"Name of the attribute to extract.\"),\n type: z.enum([\"string\", \"integer\", \"number\", \"bool\", \"list\", \"object\", \"any\"]).nullable().optional(),\n description: z.string().nullable().optional(),\n}).passthrough().describe(\"Attribute object with name and description fields.\"))]),\n enable_pagination: z.boolean().default(false).describe(\"Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.\").optional(),\n});\nexport const ParseraParseContent2Output = z.unknown();\n\nexport const parseraParseContent2 = action(\"PARSERA_PARSE_CONTENT2\", {\n slug: \"parsera-parse-content2\",\n name: \"Parse Content (Enhanced)\",\n description: \"Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.\",\n input: ParseraParseContent2Input,\n output: ParseraParseContent2Output,\n});\n"],"mappings":";;AAkBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuC,EAAE,OAAO;EAChD,MAAM,EAAE,KAAK;GAAC;GAAY;GAAa;EAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACpO,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO;GACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAC7D,MAAM,EAAE,KAAK;IAAC;IAAU;IAAW;IAAU;IAAQ;IAAQ;IAAU;GAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;EAC/E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC7K,CAOS;CACP,QAPwC,EAAE,QAOlC;AACV,CAAC"}
1
+ {"version":3,"file":"parse-content2.mjs","names":[],"sources":["../../src/actions/parse-content2.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraParseContent2Input = z.object({\n mode: z.enum([\"standard\", \"precision\", \"code\"]).default(\"standard\").describe(\"Extraction mode selection. 'standard' for regular extraction, 'precision' for enhanced data discovery in HTML, 'code' for code extraction.\").optional(),\n prompt: z.string().default(\"\").describe(\"Additional instructions or context for the extraction process.\").optional(),\n content: z.string().describe(\"Raw HTML or plain text content to parse and extract data from.\"),\n max_pages: z.number().int().default(2).describe(\"Maximum number of pages to parse when pagination is enabled.\").optional(),\n attributes: z.union([z.record(z.string(), z.unknown()), z.array(z.object({\n name: z.string().describe(\"Name of the attribute to extract.\"),\n type: z.enum([\"string\", \"integer\", \"number\", \"bool\", \"list\", \"object\", \"any\"]).nullable().optional(),\n description: z.string().nullable().optional(),\n}).passthrough().describe(\"Attribute object with name and description fields.\"))]),\n enable_pagination: z.boolean().default(false).describe(\"Enable multi-page parsing. When enabled, the parser will attempt to extract data across multiple pages.\").optional(),\n});\nexport const ParseraParseContent2Output = z.unknown();\n\nexport const parseraParseContent2: AppAction<\n typeof ParseraParseContent2Input,\n typeof ParseraParseContent2Output,\n typeof parsera.credential\n> = action(\"PARSERA_PARSE_CONTENT2\", {\n slug: \"parsera-parse-content2\",\n name: \"Parse Content (Enhanced)\",\n description: \"Tool to extract structured data from raw HTML or text content using AI with advanced options. Use when you have content already loaded and need to extract specific fields with pagination or different extraction modes.\",\n input: ParseraParseContent2Input,\n output: ParseraParseContent2Output,\n});\n"],"mappings":";;;AAoBA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuC,EAAE,OAAO;EAChD,MAAM,EAAE,KAAK;GAAC;GAAY;GAAa;EAAM,CAAC,CAAC,CAAC,QAAQ,UAAU,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACpO,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACzH,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO;GACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GAC7D,MAAM,EAAE,KAAK;IAAC;IAAU;IAAW;IAAU;IAAQ;IAAQ;IAAU;GAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;GACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,CAAC;EAC/E,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC7K,CAWS;CACP,QAXwC,EAAE,QAWlC;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/remove-agent.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.cjs","names":["z","action"],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRemoveAgentInput = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-agent.cjs","names":["z","action"],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraRemoveAgentInput = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent: AppAction<\n typeof ParseraRemoveAgentInput,\n typeof ParseraRemoveAgentOutput,\n typeof parsera.credential\n> = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-agent.d.ts
@@ -8,9 +10,7 @@ declare const ParseraRemoveAgentOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, z.core.$loose>;
11
- declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- name: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parseraRemoveAgent: AppAction<typeof ParseraRemoveAgentInput, typeof ParseraRemoveAgentOutput, typeof parsera.credential>;
14
14
  //#endregion
15
15
  export { parseraRemoveAgent };
16
16
  //# sourceMappingURL=remove-agent.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.d.cts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"remove-agent.d.cts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-agent.d.ts
@@ -8,9 +10,7 @@ declare const ParseraRemoveAgentOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, z.core.$loose>;
11
- declare const parseraRemoveAgent: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- name: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parseraRemoveAgent: AppAction<typeof ParseraRemoveAgentInput, typeof ParseraRemoveAgentOutput, typeof parsera.credential>;
14
14
  //#endregion
15
15
  export { parseraRemoveAgent };
16
16
  //# sourceMappingURL=remove-agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.d.mts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"remove-agent.d.mts","names":[],"sources":["../../src/actions/remove-agent.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parseraRemoveAgent = action("PARSERA_REMOVE_AGENT", {
@@ -1 +1 @@
1
- {"version":3,"file":"remove-agent.mjs","names":[],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRemoveAgentInput = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;AAYA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"remove-agent.mjs","names":[],"sources":["../../src/actions/remove-agent.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraRemoveAgentInput = z.object({\n name: z.string().describe(\"Name of the agent to be removed. This should match the name used when the agent was created.\"),\n}).describe(\"Request model for POST /v1/remove endpoint.\");\nexport const ParseraRemoveAgentOutput = z.object({\n message: z.string().describe(\"Status message or additional information about the removal operation.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the agent was successfully removed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for agent removal operation.\");\n\nexport const parseraRemoveAgent: AppAction<\n typeof ParseraRemoveAgentInput,\n typeof ParseraRemoveAgentOutput,\n typeof parsera.credential\n> = action(\"PARSERA_REMOVE_AGENT\", {\n slug: \"parsera-remove-agent\",\n name: \"Remove Agent\",\n description: \"Tool to delete an existing agent by name. Use when you need to remove a previously created agent from the Parsera platform.\",\n input: ParseraRemoveAgentInput,\n output: ParseraRemoveAgentOutput,\n});\n"],"mappings":";;;AAcA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqC,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,EAC1H,CAAC,CAAC,CAAC,SAAS,6CAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/run-scraper-template.ts
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.cjs","names":["z","action"],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).passthrough().describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;CAC3M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC9N,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"run-scraper-template.cjs","names":["z","action"],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).passthrough().describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate: AppAction<\n typeof ParseraRunScraperTemplateInput,\n typeof ParseraRunScraperTemplateOutput,\n typeof parsera.credential\n> = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;EACxC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;CAC3M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;AAC9N,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,QAAQ;AAEzD,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/run-scraper-template.d.ts
@@ -12,17 +14,7 @@ declare const ParseraRunScraperTemplateInput: z.ZodObject<{
12
14
  proxy_country: z.ZodOptional<z.ZodString>;
13
15
  }, z.core.$strip>;
14
16
  declare const ParseraRunScraperTemplateOutput: z.ZodUnknown;
15
- declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- template_id: string;
17
- url?: string | string[] | undefined;
18
- cookies?: {
19
- [x: string]: unknown;
20
- name: string;
21
- value: string;
22
- domain: string;
23
- }[] | undefined;
24
- proxy_country?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const parseraRunScraperTemplate: AppAction<typeof ParseraRunScraperTemplateInput, typeof ParseraRunScraperTemplateOutput, typeof parsera.credential>;
26
18
  //#endregion
27
19
  export { parseraRunScraperTemplate };
28
20
  //# sourceMappingURL=run-scraper-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.d.cts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"run-scraper-template.d.cts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parsera } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/run-scraper-template.d.ts
@@ -12,17 +14,7 @@ declare const ParseraRunScraperTemplateInput: z.ZodObject<{
12
14
  proxy_country: z.ZodOptional<z.ZodString>;
13
15
  }, z.core.$strip>;
14
16
  declare const ParseraRunScraperTemplateOutput: z.ZodUnknown;
15
- declare const parseraRunScraperTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- template_id: string;
17
- url?: string | string[] | undefined;
18
- cookies?: {
19
- [x: string]: unknown;
20
- name: string;
21
- value: string;
22
- domain: string;
23
- }[] | undefined;
24
- proxy_country?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const parseraRunScraperTemplate: AppAction<typeof ParseraRunScraperTemplateInput, typeof ParseraRunScraperTemplateOutput, typeof parsera.credential>;
26
18
  //#endregion
27
19
  export { parseraRunScraperTemplate };
28
20
  //# sourceMappingURL=run-scraper-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.d.mts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"run-scraper-template.d.mts","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAU9B,+BAAA,EAA+B,CAAA,CAAA,UAAc;AAAA,cAE7C,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parseraRunScraperTemplate = action("PARSERA_RUN_SCRAPER_TEMPLATE", {
@@ -1 +1 @@
1
- {"version":3,"file":"run-scraper-template.mjs","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).passthrough().describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;AAgBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO;EACrD,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;GAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC/M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;EAC3M,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC9N,CAOS;CACP,QAP6C,EAAE,QAOvC;AACV,CAAC"}
1
+ {"version":3,"file":"run-scraper-template.mjs","names":[],"sources":["../../src/actions/run-scraper-template.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parsera } from \"../app\";\n\nexport const ParseraRunScraperTemplateInput = z.object({\n url: z.union([z.string(), z.array(z.string())]).optional(),\n cookies: z.array(z.object({\n name: z.string().describe(\"Cookie name.\"),\n value: z.string().describe(\"Cookie value.\"),\n domain: z.string().describe(\"Domain for which the cookie is valid.\"),\n}).passthrough().describe(\"Represents a browser cookie to include with the request.\")).describe(\"Browser cookies to include with the request. Useful for authenticated sessions or maintaining state.\").optional(),\n template_id: z.string().describe(\"Identifier for the template or scraper to execute. Template IDs prefixed with 'scraper:' route to the legacy scrapers API, while others execute as template extractions.\"),\n proxy_country: z.string().describe(\"Country code for proxy routing during requests. Use to route requests through a proxy server in a specific country. See GET /v1/proxy-countries for available country codes.\").optional(),\n});\nexport const ParseraRunScraperTemplateOutput = z.unknown();\n\nexport const parseraRunScraperTemplate: AppAction<\n typeof ParseraRunScraperTemplateInput,\n typeof ParseraRunScraperTemplateOutput,\n typeof parsera.credential\n> = action(\"PARSERA_RUN_SCRAPER_TEMPLATE\", {\n slug: \"parsera-run-scraper-template\",\n name: \"Run Scraper Template\",\n description: \"Tool to run a scraper template on a specified URL with optional proxy and cookies. Use when you need to execute a pre-defined scraper template to extract structured data from web pages.\",\n input: ParseraRunScraperTemplateInput,\n output: ParseraRunScraperTemplateOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB4C,EAAE,OAAO;EACrD,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;EACzD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;GACxC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;GAC1C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC/M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0KAA0K;EAC3M,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K,CAAC,CAAC,SAAS;CAC9N,CAWS;CACP,QAX6C,EAAE,QAWvC;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/scrape-with-agent.ts