@keystrokehq/neutrino 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 (205) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-watermark-to-image.cjs +1 -0
  4. package/dist/actions/add-watermark-to-image.cjs.map +1 -1
  5. package/dist/actions/add-watermark-to-image.d.cts +3 -11
  6. package/dist/actions/add-watermark-to-image.d.cts.map +1 -1
  7. package/dist/actions/add-watermark-to-image.d.mts +3 -11
  8. package/dist/actions/add-watermark-to-image.d.mts.map +1 -1
  9. package/dist/actions/add-watermark-to-image.mjs +1 -0
  10. package/dist/actions/add-watermark-to-image.mjs.map +1 -1
  11. package/dist/actions/bad-word-filter.cjs +1 -0
  12. package/dist/actions/bad-word-filter.cjs.map +1 -1
  13. package/dist/actions/bad-word-filter.d.cts +3 -7
  14. package/dist/actions/bad-word-filter.d.cts.map +1 -1
  15. package/dist/actions/bad-word-filter.d.mts +3 -7
  16. package/dist/actions/bad-word-filter.d.mts.map +1 -1
  17. package/dist/actions/bad-word-filter.mjs +1 -0
  18. package/dist/actions/bad-word-filter.mjs.map +1 -1
  19. package/dist/actions/bin-lookup.cjs +1 -0
  20. package/dist/actions/bin-lookup.cjs.map +1 -1
  21. package/dist/actions/bin-lookup.d.cts +3 -5
  22. package/dist/actions/bin-lookup.d.cts.map +1 -1
  23. package/dist/actions/bin-lookup.d.mts +3 -5
  24. package/dist/actions/bin-lookup.d.mts.map +1 -1
  25. package/dist/actions/bin-lookup.mjs +1 -0
  26. package/dist/actions/bin-lookup.mjs.map +1 -1
  27. package/dist/actions/check-ip-blocklist.cjs +1 -0
  28. package/dist/actions/check-ip-blocklist.cjs.map +1 -1
  29. package/dist/actions/check-ip-blocklist.d.cts +3 -4
  30. package/dist/actions/check-ip-blocklist.d.cts.map +1 -1
  31. package/dist/actions/check-ip-blocklist.d.mts +3 -4
  32. package/dist/actions/check-ip-blocklist.d.mts.map +1 -1
  33. package/dist/actions/check-ip-blocklist.mjs +1 -0
  34. package/dist/actions/check-ip-blocklist.mjs.map +1 -1
  35. package/dist/actions/convert.cjs +1 -0
  36. package/dist/actions/convert.cjs.map +1 -1
  37. package/dist/actions/convert.d.cts +3 -6
  38. package/dist/actions/convert.d.cts.map +1 -1
  39. package/dist/actions/convert.d.mts +3 -6
  40. package/dist/actions/convert.d.mts.map +1 -1
  41. package/dist/actions/convert.mjs +1 -0
  42. package/dist/actions/convert.mjs.map +1 -1
  43. package/dist/actions/email-validate.cjs +1 -0
  44. package/dist/actions/email-validate.cjs.map +1 -1
  45. package/dist/actions/email-validate.d.cts +3 -4
  46. package/dist/actions/email-validate.d.cts.map +1 -1
  47. package/dist/actions/email-validate.d.mts +3 -4
  48. package/dist/actions/email-validate.d.mts.map +1 -1
  49. package/dist/actions/email-validate.mjs +1 -0
  50. package/dist/actions/email-validate.mjs.map +1 -1
  51. package/dist/actions/email-verify.cjs +1 -0
  52. package/dist/actions/email-verify.cjs.map +1 -1
  53. package/dist/actions/email-verify.d.cts +3 -4
  54. package/dist/actions/email-verify.d.cts.map +1 -1
  55. package/dist/actions/email-verify.d.mts +3 -4
  56. package/dist/actions/email-verify.d.mts.map +1 -1
  57. package/dist/actions/email-verify.mjs +1 -0
  58. package/dist/actions/email-verify.mjs.map +1 -1
  59. package/dist/actions/geocode-address.cjs +1 -0
  60. package/dist/actions/geocode-address.cjs.map +1 -1
  61. package/dist/actions/geocode-address.d.cts +3 -6
  62. package/dist/actions/geocode-address.d.cts.map +1 -1
  63. package/dist/actions/geocode-address.d.mts +3 -6
  64. package/dist/actions/geocode-address.d.mts.map +1 -1
  65. package/dist/actions/geocode-address.mjs +1 -0
  66. package/dist/actions/geocode-address.mjs.map +1 -1
  67. package/dist/actions/geocode-reverse.cjs +1 -0
  68. package/dist/actions/geocode-reverse.cjs.map +1 -1
  69. package/dist/actions/geocode-reverse.d.cts +3 -7
  70. package/dist/actions/geocode-reverse.d.cts.map +1 -1
  71. package/dist/actions/geocode-reverse.d.mts +3 -7
  72. package/dist/actions/geocode-reverse.d.mts.map +1 -1
  73. package/dist/actions/geocode-reverse.mjs +1 -0
  74. package/dist/actions/geocode-reverse.mjs.map +1 -1
  75. package/dist/actions/hlr-lookup.cjs +1 -0
  76. package/dist/actions/hlr-lookup.cjs.map +1 -1
  77. package/dist/actions/hlr-lookup.d.cts +3 -5
  78. package/dist/actions/hlr-lookup.d.cts.map +1 -1
  79. package/dist/actions/hlr-lookup.d.mts +3 -5
  80. package/dist/actions/hlr-lookup.d.mts.map +1 -1
  81. package/dist/actions/hlr-lookup.mjs +1 -0
  82. package/dist/actions/hlr-lookup.mjs.map +1 -1
  83. package/dist/actions/host-reputation.cjs +1 -0
  84. package/dist/actions/host-reputation.cjs.map +1 -1
  85. package/dist/actions/host-reputation.d.cts +3 -5
  86. package/dist/actions/host-reputation.d.cts.map +1 -1
  87. package/dist/actions/host-reputation.d.mts +3 -5
  88. package/dist/actions/host-reputation.d.mts.map +1 -1
  89. package/dist/actions/host-reputation.mjs +1 -0
  90. package/dist/actions/host-reputation.mjs.map +1 -1
  91. package/dist/actions/html-clean.cjs +1 -0
  92. package/dist/actions/html-clean.cjs.map +1 -1
  93. package/dist/actions/html-clean.d.cts +3 -4
  94. package/dist/actions/html-clean.d.cts.map +1 -1
  95. package/dist/actions/html-clean.d.mts +3 -4
  96. package/dist/actions/html-clean.d.mts.map +1 -1
  97. package/dist/actions/html-clean.mjs +1 -0
  98. package/dist/actions/html-clean.mjs.map +1 -1
  99. package/dist/actions/html-render.cjs +1 -0
  100. package/dist/actions/html-render.cjs.map +1 -1
  101. package/dist/actions/html-render.d.cts +3 -27
  102. package/dist/actions/html-render.d.cts.map +1 -1
  103. package/dist/actions/html-render.d.mts +3 -27
  104. package/dist/actions/html-render.d.mts.map +1 -1
  105. package/dist/actions/html-render.mjs +1 -0
  106. package/dist/actions/html-render.mjs.map +1 -1
  107. package/dist/actions/image-resize.cjs +1 -0
  108. package/dist/actions/image-resize.cjs.map +1 -1
  109. package/dist/actions/image-resize.d.cts +3 -9
  110. package/dist/actions/image-resize.d.cts.map +1 -1
  111. package/dist/actions/image-resize.d.mts +3 -9
  112. package/dist/actions/image-resize.d.mts.map +1 -1
  113. package/dist/actions/image-resize.mjs +1 -0
  114. package/dist/actions/image-resize.mjs.map +1 -1
  115. package/dist/actions/ip-info.cjs +1 -0
  116. package/dist/actions/ip-info.cjs.map +1 -1
  117. package/dist/actions/ip-info.d.cts +3 -4
  118. package/dist/actions/ip-info.d.cts.map +1 -1
  119. package/dist/actions/ip-info.d.mts +3 -4
  120. package/dist/actions/ip-info.d.mts.map +1 -1
  121. package/dist/actions/ip-info.mjs +1 -0
  122. package/dist/actions/ip-info.mjs.map +1 -1
  123. package/dist/actions/ip-probe.cjs +1 -0
  124. package/dist/actions/ip-probe.cjs.map +1 -1
  125. package/dist/actions/ip-probe.d.cts +3 -6
  126. package/dist/actions/ip-probe.d.cts.map +1 -1
  127. package/dist/actions/ip-probe.d.mts +3 -6
  128. package/dist/actions/ip-probe.d.mts.map +1 -1
  129. package/dist/actions/ip-probe.mjs +1 -0
  130. package/dist/actions/ip-probe.mjs.map +1 -1
  131. package/dist/actions/lookup-domain.cjs +1 -0
  132. package/dist/actions/lookup-domain.cjs.map +1 -1
  133. package/dist/actions/lookup-domain.d.cts +3 -4
  134. package/dist/actions/lookup-domain.d.cts.map +1 -1
  135. package/dist/actions/lookup-domain.d.mts +3 -4
  136. package/dist/actions/lookup-domain.d.mts.map +1 -1
  137. package/dist/actions/lookup-domain.mjs +1 -0
  138. package/dist/actions/lookup-domain.mjs.map +1 -1
  139. package/dist/actions/phone-validate.cjs +1 -0
  140. package/dist/actions/phone-validate.cjs.map +1 -1
  141. package/dist/actions/phone-validate.d.cts +3 -5
  142. package/dist/actions/phone-validate.d.cts.map +1 -1
  143. package/dist/actions/phone-validate.d.mts +3 -5
  144. package/dist/actions/phone-validate.d.mts.map +1 -1
  145. package/dist/actions/phone-validate.mjs +1 -0
  146. package/dist/actions/phone-validate.mjs.map +1 -1
  147. package/dist/actions/qr-code.cjs +1 -0
  148. package/dist/actions/qr-code.cjs.map +1 -1
  149. package/dist/actions/qr-code.d.cts +3 -8
  150. package/dist/actions/qr-code.d.cts.map +1 -1
  151. package/dist/actions/qr-code.d.mts +3 -8
  152. package/dist/actions/qr-code.d.mts.map +1 -1
  153. package/dist/actions/qr-code.mjs +1 -0
  154. package/dist/actions/qr-code.mjs.map +1 -1
  155. package/dist/actions/run-browser-bot.cjs +1 -0
  156. package/dist/actions/run-browser-bot.cjs.map +1 -1
  157. package/dist/actions/run-browser-bot.d.cts +3 -9
  158. package/dist/actions/run-browser-bot.d.cts.map +1 -1
  159. package/dist/actions/run-browser-bot.d.mts +3 -9
  160. package/dist/actions/run-browser-bot.d.mts.map +1 -1
  161. package/dist/actions/run-browser-bot.mjs +1 -0
  162. package/dist/actions/run-browser-bot.mjs.map +1 -1
  163. package/dist/actions/sms-verify.cjs +1 -0
  164. package/dist/actions/sms-verify.cjs.map +1 -1
  165. package/dist/actions/sms-verify.d.cts +3 -10
  166. package/dist/actions/sms-verify.d.cts.map +1 -1
  167. package/dist/actions/sms-verify.d.mts +3 -10
  168. package/dist/actions/sms-verify.d.mts.map +1 -1
  169. package/dist/actions/sms-verify.mjs +1 -0
  170. package/dist/actions/sms-verify.mjs.map +1 -1
  171. package/dist/actions/ua-lookup.cjs +1 -0
  172. package/dist/actions/ua-lookup.cjs.map +1 -1
  173. package/dist/actions/ua-lookup.d.cts +3 -4
  174. package/dist/actions/ua-lookup.d.cts.map +1 -1
  175. package/dist/actions/ua-lookup.d.mts +3 -4
  176. package/dist/actions/ua-lookup.d.mts.map +1 -1
  177. package/dist/actions/ua-lookup.mjs +1 -0
  178. package/dist/actions/ua-lookup.mjs.map +1 -1
  179. package/dist/actions/url-info.cjs +1 -0
  180. package/dist/actions/url-info.cjs.map +1 -1
  181. package/dist/actions/url-info.d.cts +3 -4
  182. package/dist/actions/url-info.d.cts.map +1 -1
  183. package/dist/actions/url-info.d.mts +3 -4
  184. package/dist/actions/url-info.d.mts.map +1 -1
  185. package/dist/actions/url-info.mjs +1 -0
  186. package/dist/actions/url-info.mjs.map +1 -1
  187. package/dist/actions/verify-security-code.cjs +1 -0
  188. package/dist/actions/verify-security-code.cjs.map +1 -1
  189. package/dist/actions/verify-security-code.d.cts +3 -4
  190. package/dist/actions/verify-security-code.d.cts.map +1 -1
  191. package/dist/actions/verify-security-code.d.mts +3 -4
  192. package/dist/actions/verify-security-code.d.mts.map +1 -1
  193. package/dist/actions/verify-security-code.mjs +1 -0
  194. package/dist/actions/verify-security-code.mjs.map +1 -1
  195. package/dist/app.cjs +9 -2
  196. package/dist/app.cjs.map +1 -1
  197. package/dist/app.d.cts +8 -1
  198. package/dist/app.d.cts.map +1 -1
  199. package/dist/app.d.mts +8 -1
  200. package/dist/app.d.mts.map +1 -1
  201. package/dist/app.mjs +6 -2
  202. package/dist/app.mjs.map +1 -1
  203. package/dist/index.d.cts +1 -1
  204. package/dist/index.d.mts +1 -1
  205. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"hlr-lookup.cjs","names":["z","action"],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).passthrough().describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;CACjM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;AAC5P,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC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EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC7F,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrH,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"hlr-lookup.cjs","names":["z","action"],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).passthrough().describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup: AppAction<\n typeof NeutrinoHlrLookupInput,\n typeof NeutrinoHlrLookupOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;CAC5J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;CACjM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;AAC5P,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA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sD,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/hlr-lookup.d.ts
@@ -33,11 +35,7 @@ declare const NeutrinoHlrLookupOutput: z.ZodObject<{
33
35
  "roaming-country-code": z.ZodNullable<z.ZodString>;
34
36
  "international-calling-code": z.ZodNullable<z.ZodString>;
35
37
  }, z.core.$loose>;
36
- declare const neutrinoHlrLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- number: string;
38
- ip?: string | undefined;
39
- "country-code"?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const neutrinoHlrLookup: AppAction<typeof NeutrinoHlrLookupInput, typeof NeutrinoHlrLookupOutput, typeof neutrino.credential>;
41
39
  //#endregion
42
40
  export { neutrinoHlrLookup };
43
41
  //# sourceMappingURL=hlr-lookup.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hlr-lookup.d.cts","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"hlr-lookup.d.cts","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/hlr-lookup.d.ts
@@ -33,11 +35,7 @@ declare const NeutrinoHlrLookupOutput: z.ZodObject<{
33
35
  "roaming-country-code": z.ZodNullable<z.ZodString>;
34
36
  "international-calling-code": z.ZodNullable<z.ZodString>;
35
37
  }, z.core.$loose>;
36
- declare const neutrinoHlrLookup: import("@keystrokehq/action").WorkflowActionDefinition<{
37
- number: string;
38
- ip?: string | undefined;
39
- "country-code"?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ declare const neutrinoHlrLookup: AppAction<typeof NeutrinoHlrLookupInput, typeof NeutrinoHlrLookupOutput, typeof neutrino.credential>;
41
39
  //#endregion
42
40
  export { neutrinoHlrLookup };
43
41
  //# sourceMappingURL=hlr-lookup.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hlr-lookup.d.mts","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"hlr-lookup.d.mts","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,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 neutrinoHlrLookup = action("NEUTRINO_HLR_LOOKUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).passthrough().describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;AAqCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,E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gB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACpF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACpF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC/G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAC7G,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrH,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"hlr-lookup.mjs","names":[],"sources":["../../src/actions/hlr-lookup.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHlrLookupInput = z.object({\n ip: z.string().describe(\"Optional IP address to provide additional geographic context for the lookup. Can enhance location data in the response.\").optional(),\n number: z.string().describe(\"Phone number to lookup. Should be in international format with + prefix (e.g., +447911123456). If not in international format, must provide country-code parameter.\"),\n \"country-code\": z.string().describe(\"ISO 2-letter country code (e.g., 'GB', 'US', 'FR'). Required only if number is not in international format (without + prefix). Helps the API determine the correct country for non-international numbers.\").optional(),\n}).describe(\"Request model for the HLR_LOOKUP action.\");\nexport const NeutrinoHlrLookupOutput = z.object({\n mcc: z.string().describe(\"Mobile country code.\").nullable(),\n mnc: z.string().describe(\"Mobile network code.\").nullable(),\n msc: z.string().describe(\"Mobile Switching Center address.\").nullable(),\n imsi: z.string().describe(\"International Mobile Subscriber Identity (may be empty).\").nullable(),\n msin: z.string().describe(\"Mobile Subscription Identification Number.\").nullable(),\n country: z.string().describe(\"Full country name.\").nullable(),\n location: z.string().describe(\"Location/region of the number.\").nullable(),\n \"hlr-valid\": z.boolean().describe(\"True if HLR lookup was successful and device is reachable.\").nullable(),\n \"is-mobile\": z.boolean().describe(\"True if the number is a mobile device.\").nullable(),\n \"is-ported\": z.boolean().describe(\"True if the number has been ported to a different network.\").nullable(),\n \"hlr-status\": z.string().describe(\"HLR lookup status (ok, absent, unknown, invalid, failed, etc.).\").nullable(),\n \"is-roaming\": z.boolean().describe(\"True if the number is currently roaming.\").nullable(),\n \"number-type\": z.string().describe(\"Type of number (mobile, fixed-line, premium-rate, toll-free, voip, unknown).\").nullable(),\n \"country-code\": z.string().describe(\"2-letter ISO country code.\").nullable(),\n \"local-number\": z.string().describe(\"Number in local dialing format.\").nullable(),\n \"network-tags\": z.string().describe(\"Network tags/labels (may be empty).\").nullable(),\n \"number-valid\": z.boolean().describe(\"True if this a valid phone number.\").nullable(),\n \"country-code3\": z.string().describe(\"3-letter ISO country code.\").nullable(),\n \"currency-code\": z.string().describe(\"Currency code for the number's country.\").nullable(),\n \"origin-network\": z.string().describe(\"Original carrier/network name before any porting.\").nullable(),\n \"ported-network\": z.string().describe(\"New carrier name if number was ported (empty if not ported).\").nullable(),\n \"current-network\": z.string().describe(\"Current carrier/network name the number is registered on.\").nullable(),\n \"international-number\": z.string().describe(\"Number in full international format.\").nullable(),\n \"roaming-country-code\": z.string().describe(\"Country code where device is roaming (empty if not roaming).\").nullable(),\n \"international-calling-code\": z.string().describe(\"International calling code for the number's country.\").nullable(),\n}).passthrough().describe(\"Response model for the HLR_LOOKUP action.\");\n\nexport const neutrinoHlrLookup: AppAction<\n typeof NeutrinoHlrLookupInput,\n typeof NeutrinoHlrLookupOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HLR_LOOKUP\", {\n slug: \"neutrino-hlr-lookup\",\n name: \"HLR Lookup\",\n description: \"Perform real-time HLR (Home Location Register) lookup to validate mobile numbers and retrieve detailed network information. This tool connects to the global mobile cellular network to check if a mobile number is active, registered, and reachable. It provides comprehensive details including carrier information, porting status, roaming status, and network identifiers (MCC, MNC, IMSI). Use this tool to: - Validate that a mobile number is currently active and registered on a network - Determine the current carrier and check if a number has been ported - Check device reachability and roaming status in real-time - Retrieve mobile network identifiers (MCC, MNC, IMSI) for telecom operations Note: Numbers must be in international format (e.g., +447911123456) or provide a country-code parameter.\",\n input: NeutrinoHlrLookupInput,\n output: NeutrinoHlrLookupOutput,\n});\n"],"mappings":";;;AAuCA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzCoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yHAAyH,CAAC,CAAC,SAAS;EAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qKAAqK;EACjM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CAC5P,CAAC,CAAC,CAAC,SAAS,0CAqCH;CACP,QArCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA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AAwB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7F,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACrH,8BAA8B,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACrH,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/host-reputation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.cjs","names":["z","action"],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\").nullable(),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\").nullable(),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\").nullable(),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\").nullable(),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\").nullable(),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\").nullable(),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\").nullable(),\n}).passthrough().describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput = z.object({\n host: z.string().describe(\"The host that was checked.\").nullable(),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\").nullable(),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\").nullable(),\n}).passthrough().describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC3I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;CACjL,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"host-reputation.cjs","names":["z","action"],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHostReputationInput = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\").nullable(),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\").nullable(),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\").nullable(),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\").nullable(),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\").nullable(),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\").nullable(),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\").nullable(),\n}).passthrough().describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput = z.object({\n host: z.string().describe(\"The host that was checked.\").nullable(),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\").nullable(),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\").nullable(),\n}).passthrough().describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation: AppAction<\n typeof NeutrinoHostReputationInput,\n typeof NeutrinoHostReputationOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC3I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;CACjL,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/host-reputation.d.ts
@@ -20,11 +22,7 @@ declare const NeutrinoHostReputationOutput: z.ZodObject<{
20
22
  "is-listed": z.ZodNullable<z.ZodBoolean>;
21
23
  "list-count": z.ZodNullable<z.ZodNumber>;
22
24
  }, z.core.$loose>;
23
- declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- host: string;
25
- zones?: string | undefined;
26
- "list-rating"?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const neutrinoHostReputation: AppAction<typeof NeutrinoHostReputationInput, typeof NeutrinoHostReputationOutput, typeof neutrino.credential>;
28
26
  //#endregion
29
27
  export { neutrinoHostReputation };
30
28
  //# sourceMappingURL=host-reputation.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.d.cts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"host-reputation.d.cts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/host-reputation.d.ts
@@ -20,11 +22,7 @@ declare const NeutrinoHostReputationOutput: z.ZodObject<{
20
22
  "is-listed": z.ZodNullable<z.ZodBoolean>;
21
23
  "list-count": z.ZodNullable<z.ZodNumber>;
22
24
  }, z.core.$loose>;
23
- declare const neutrinoHostReputation: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- host: string;
25
- zones?: string | undefined;
26
- "list-rating"?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const neutrinoHostReputation: AppAction<typeof NeutrinoHostReputationInput, typeof NeutrinoHostReputationOutput, typeof neutrino.credential>;
28
26
  //#endregion
29
27
  export { neutrinoHostReputation };
30
28
  //# sourceMappingURL=host-reputation.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.d.mts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"host-reputation.d.mts","names":[],"sources":["../../src/actions/host-reputation.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;cAc3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,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/host-reputation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"host-reputation.mjs","names":[],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHostReputationInput = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\").nullable(),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\").nullable(),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\").nullable(),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\").nullable(),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\").nullable(),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\").nullable(),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\").nullable(),\n}).passthrough().describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput = z.object({\n host: z.string().describe(\"The host that was checked.\").nullable(),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\").nullable(),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\").nullable(),\n}).passthrough().describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uJAAuJ,CAAC,CAAC,SAAS;AAC7M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,sDAAsD,EAAE,OAAO;CACnE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAChK,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC3I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC/H,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAQxD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,oGAAoG;EACjL,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"host-reputation.mjs","names":[],"sources":["../../src/actions/host-reputation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHostReputationInput = z.object({\n host: z.string().describe(\"The IP address, domain name, or URL to check.\"),\n zones: z.string().describe(\"Comma-separated list of DNSBL zones to check. If omitted all relevant zones are checked.\").optional(),\n \"list-rating\": z.number().int().describe(\"Filter to DNSBLs with this quality rating or better. Rating scale: 1 (most reliable/reputable), 2 (moderate), 3 (all lists). Default is 3 if omitted.\").optional(),\n}).describe(\"Request model for DNSBL-based host reputation check.\");\nconst NeutrinoHostReputation_HostReputationListItemSchema = z.object({\n \"is-listed\": z.boolean().describe(\"If the host is listed in this zone.\").nullable(),\n \"list-host\": z.string().describe(\"The DNSBL zone host.\").nullable(),\n \"list-name\": z.string().describe(\"The DNSBL zone name.\").nullable(),\n \"txt-record\": z.string().describe(\"Explanatory TXT record from the DNSBL (e.g., reason for listing). Empty if not listed or no TXT record available.\").nullable(),\n \"list-rating\": z.number().int().describe(\"Quality rating of this DNSBL: 1 (most reliable), 2 (moderate), 3 (lower reliability).\").nullable(),\n \"return-code\": z.string().describe(\"DNS return code from the DNSBL lookup (e.g., '127.0.0.2'). Empty if not listed.\").nullable(),\n \"response-time\": z.number().int().describe(\"Response time in milliseconds.\").nullable(),\n}).passthrough().describe(\"A single DNSBL result entry.\");\nexport const NeutrinoHostReputationOutput = z.object({\n host: z.string().describe(\"The host that was checked.\").nullable(),\n lists: z.array(NeutrinoHostReputation_HostReputationListItemSchema).describe(\"Detailed results from each DNSBL checked, including whether the host is listed and response times.\"),\n \"is-listed\": z.boolean().describe(\"True if the host is listed in any DNSBL.\").nullable(),\n \"list-count\": z.number().int().describe(\"Total number of DNSBLs the host is listed in.\").nullable(),\n}).passthrough().describe(\"Response model for DNSBL-based host reputation check.\");\n\nexport const neutrinoHostReputation: AppAction<\n typeof NeutrinoHostReputationInput,\n typeof NeutrinoHostReputationOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HOST_REPUTATION\", {\n slug: \"neutrino-host-reputation\",\n name: \"Host Reputation\",\n description: \"Check if an IP address, domain, or URL is listed on DNS-based Blackhole Lists (DNSBLs). DNSBLs track IPs and domains associated with spam, malware, proxies, and other malicious activity. This action queries 150+ DNSBLs to determine if a host has a bad reputation. Useful for: - Email spam filtering and sender reputation checks - Security threat assessment - Identifying compromised or malicious hosts Note: This performs realtime DNS lookups and may take 5-20 seconds to complete.\",\n input: NeutrinoHostReputationInput,\n output: NeutrinoHostReputationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C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,CAAC,SAAS,uDAWhB;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/html-clean.ts
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.cjs","names":["z","action"],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\").nullable(),\n}).passthrough().describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACxH,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAe;EAAc;EAA0B;CAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;AAC/b,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"html-clean.cjs","names":["z","action"],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHtmlCleanInput = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\").nullable(),\n}).passthrough().describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean: AppAction<\n typeof NeutrinoHtmlCleanInput,\n typeof NeutrinoHtmlCleanOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACxH,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAe;EAAc;EAA0B;CAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;AAC/b,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAE3D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/html-clean.d.ts
@@ -14,10 +16,7 @@ declare const NeutrinoHtmlCleanInput: z.ZodObject<{
14
16
  declare const NeutrinoHtmlCleanOutput: z.ZodObject<{
15
17
  "clean-html": z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>;
17
- declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- content: string;
19
- "output-type"?: "plain-text" | "simple-text" | "basic-html" | "basic-html-with-images" | "advanced-html" | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const neutrinoHtmlClean: AppAction<typeof NeutrinoHtmlCleanInput, typeof NeutrinoHtmlCleanOutput, typeof neutrino.credential>;
21
20
  //#endregion
22
21
  export { neutrinoHtmlClean };
23
22
  //# sourceMappingURL=html-clean.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.d.cts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"html-clean.d.cts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/html-clean.d.ts
@@ -14,10 +16,7 @@ declare const NeutrinoHtmlCleanInput: z.ZodObject<{
14
16
  declare const NeutrinoHtmlCleanOutput: z.ZodObject<{
15
17
  "clean-html": z.ZodNullable<z.ZodString>;
16
18
  }, z.core.$loose>;
17
- declare const neutrinoHtmlClean: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- content: string;
19
- "output-type"?: "plain-text" | "simple-text" | "basic-html" | "basic-html-with-images" | "advanced-html" | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const neutrinoHtmlClean: AppAction<typeof NeutrinoHtmlCleanInput, typeof NeutrinoHtmlCleanOutput, typeof neutrino.credential>;
21
20
  //#endregion
22
21
  export { neutrinoHtmlClean };
23
22
  //# sourceMappingURL=html-clean.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.d.mts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"html-clean.d.mts","names":[],"sources":["../../src/actions/html-clean.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,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 neutrinoHtmlClean = action("NEUTRINO_HTML_CLEAN", {
@@ -1 +1 @@
1
- {"version":3,"file":"html-clean.mjs","names":[],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlCleanInput = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\").nullable(),\n}).passthrough().describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,eAAe,EAAE,KAAK;GAAC;GAAc;GAAe;GAAc;GAA0B;EAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;CAC/b,CAAC,CAAC,CAAC,SAAS,kCASH;CACP,QATqC,EAAE,OAAO,EAC9C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"html-clean.mjs","names":[],"sources":["../../src/actions/html-clean.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHtmlCleanInput = z.object({\n content: z.string().describe(\"The HTML content to clean. This can be a URL to load HTML from or an HTML content string.\"),\n \"output-type\": z.enum([\"plain-text\", \"simple-text\", \"basic-html\", \"basic-html-with-images\", \"advanced-html\"]).default(\"basic-html\").describe(\"The output format: 'plain-text' (text only, no HTML tags), 'simple-text' (basic text formatting like b, em, i, strong, u), 'basic-html' (advanced text formatting and hyperlinks), 'basic-html-with-images' (basic-html plus image tags), 'advanced-html' (includes tables, lists, pre tags, etc.).\").optional(),\n}).describe(\"Parameters for HTMLClean action.\");\nexport const NeutrinoHtmlCleanOutput = z.object({\n \"clean-html\": z.string().describe(\"The cleaned and sanitized HTML content.\").nullable(),\n}).passthrough().describe(\"Response from HTMLClean action.\");\n\nexport const neutrinoHtmlClean: AppAction<\n typeof NeutrinoHtmlCleanInput,\n typeof NeutrinoHtmlCleanOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HTML_CLEAN\", {\n slug: \"neutrino-html-clean\",\n name: \"HTML Clean\",\n description: \"Tool to clean and sanitize untrusted HTML. Use when you need to strip or neutralize unwanted tags and attributes before rendering.\",\n input: NeutrinoHtmlCleanInput,\n output: NeutrinoHtmlCleanOutput,\n});\n"],"mappings":";;;AAcA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,eAAe,EAAE,KAAK;GAAC;GAAc;GAAe;GAAc;GAA0B;EAAe,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,qSAAqS,CAAC,CAAC,SAAS;CAC/b,CAAC,CAAC,CAAC,SAAS,kCAaH;CACP,QAbqC,EAAE,OAAO,EAC9C,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAWhB;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/html-render.ts
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.cjs","names":["z","action"],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlRenderInput = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\").nullable(),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\").nullable(),\n}).passthrough();\n\nexport const neutrinoHtmlRender = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACzJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,C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AC,CAAC,SAAS;CAC7F,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC1I,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"html-render.cjs","names":["z","action"],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHtmlRenderInput = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\").nullable(),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\").nullable(),\n}).passthrough();\n\nexport const neutrinoHtmlRender: AppAction<\n typeof NeutrinoHtmlRenderInput,\n typeof NeutrinoHtmlRenderOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACzJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,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CACnG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/html-render.d.ts
@@ -36,33 +38,7 @@ declare const NeutrinoHtmlRenderOutput: z.ZodObject<{
36
38
  file: z.ZodNullable<z.ZodString>;
37
39
  "content-type": z.ZodNullable<z.ZodString>;
38
40
  }, z.core.$loose>;
39
- declare const neutrinoHtmlRender: import("@keystrokehq/action").WorkflowActionDefinition<{
40
- content: string;
41
- css?: string | undefined;
42
- exec?: string | undefined;
43
- zoom?: number | undefined;
44
- delay?: number | undefined;
45
- title?: string | undefined;
46
- footer?: string | undefined;
47
- format?: "PDF" | "PNG" | "JPG" | undefined;
48
- header?: string | undefined;
49
- margin?: number | undefined;
50
- timeout?: number | undefined;
51
- "bg-color"?: string | undefined;
52
- grayscale?: boolean | undefined;
53
- landscape?: boolean | undefined;
54
- "page-size"?: string | undefined;
55
- "margin-top"?: number | undefined;
56
- "page-width"?: number | undefined;
57
- "user-agent"?: string | undefined;
58
- "image-width"?: number | undefined;
59
- "margin-left"?: number | undefined;
60
- "page-height"?: number | undefined;
61
- "image-height"?: number | undefined;
62
- "margin-right"?: number | undefined;
63
- "margin-bottom"?: number | undefined;
64
- "ignore-certificate-errors"?: boolean | undefined;
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ declare const neutrinoHtmlRender: AppAction<typeof NeutrinoHtmlRenderInput, typeof NeutrinoHtmlRenderOutput, typeof neutrino.credential>;
66
42
  //#endregion
67
43
  export { neutrinoHtmlRender };
68
44
  //# sourceMappingURL=html-render.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.d.cts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"html-render.d.cts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/html-render.d.ts
@@ -36,33 +38,7 @@ declare const NeutrinoHtmlRenderOutput: z.ZodObject<{
36
38
  file: z.ZodNullable<z.ZodString>;
37
39
  "content-type": z.ZodNullable<z.ZodString>;
38
40
  }, z.core.$loose>;
39
- declare const neutrinoHtmlRender: import("@keystrokehq/action").WorkflowActionDefinition<{
40
- content: string;
41
- css?: string | undefined;
42
- exec?: string | undefined;
43
- zoom?: number | undefined;
44
- delay?: number | undefined;
45
- title?: string | undefined;
46
- footer?: string | undefined;
47
- format?: "PDF" | "PNG" | "JPG" | undefined;
48
- header?: string | undefined;
49
- margin?: number | undefined;
50
- timeout?: number | undefined;
51
- "bg-color"?: string | undefined;
52
- grayscale?: boolean | undefined;
53
- landscape?: boolean | undefined;
54
- "page-size"?: string | undefined;
55
- "margin-top"?: number | undefined;
56
- "page-width"?: number | undefined;
57
- "user-agent"?: string | undefined;
58
- "image-width"?: number | undefined;
59
- "margin-left"?: number | undefined;
60
- "page-height"?: number | undefined;
61
- "image-height"?: number | undefined;
62
- "margin-right"?: number | undefined;
63
- "margin-bottom"?: number | undefined;
64
- "ignore-certificate-errors"?: boolean | undefined;
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ declare const neutrinoHtmlRender: AppAction<typeof NeutrinoHtmlRenderInput, typeof NeutrinoHtmlRenderOutput, typeof neutrino.credential>;
66
42
  //#endregion
67
43
  export { neutrinoHtmlRender };
68
44
  //# sourceMappingURL=html-render.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.d.mts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"html-render.d.mts","names":[],"sources":["../../src/actions/html-render.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,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 neutrinoHtmlRender = action("NEUTRINO_HTML_RENDER", {
@@ -1 +1 @@
1
- {"version":3,"file":"html-render.mjs","names":[],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoHtmlRenderInput = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\").nullable(),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\").nullable(),\n}).passthrough();\n\nexport const neutrinoHtmlRender = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;AAoCA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACzJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC3I,QAA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,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC7F,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC1I,CAUS;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"html-render.mjs","names":[],"sources":["../../src/actions/html-render.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoHtmlRenderInput = z.object({\n css: z.string().describe(\"Inject custom CSS into the HTML before rendering.\").optional(),\n exec: z.string().describe(\"Execute custom JavaScript before rendering. Supports functions: click(), focus(), keys(), sleep(), enter(), tab().\").optional(),\n zoom: z.number().describe(\"Zoom factor for rendering. 2.0 doubles the size, 0.5 halves it. Default is 1.0.\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before rendering (useful for JavaScript-heavy pages). Default is 0.\").optional(),\n title: z.string().describe(\"The document title.\").optional(),\n footer: z.string().describe(\"Footer HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n format: z.enum([\"PDF\", \"PNG\", \"JPG\"]).default(\"PDF\").describe(\"Output format: PDF, PNG, or JPG. Values are case-sensitive and must be uppercase. Default is 'PDF'.\").optional(),\n header: z.string().describe(\"Header HTML for each page. Supports variables: {date}, {title}, {url}, {pageNumber}, {totalPages}.\").optional(),\n margin: z.number().describe(\"Document margin in millimeters for all sides. Default is 0.\").optional(),\n content: z.string().describe(\"The HTML content to render. Can be a URL to load from, a file upload, or an HTML content string.\"),\n timeout: z.number().int().describe(\"Timeout in seconds for loading the content. Default is 300 seconds.\").optional(),\n \"bg-color\": z.string().describe(\"Background color in hex notation (e.g., '#FFFFFF'). Use 'transparent' for PNG with transparency.\").optional(),\n grayscale: z.boolean().describe(\"Render the final document in grayscale. Default is false.\").optional(),\n landscape: z.boolean().describe(\"Enable landscape orientation for the document. Default is false (portrait).\").optional(),\n \"page-size\": z.string().describe(\"Page size for PDF output. Options: A0-A9, B0-B10, Comm10E, DLE, or Letter. Default is 'A4'.\").optional(),\n \"margin-top\": z.number().describe(\"Top margin in millimeters. Default is 0.\").optional(),\n \"page-width\": z.number().describe(\"PDF page width in millimeters. Overrides page-size width if specified.\").optional(),\n \"user-agent\": z.string().describe(\"Override the default browser User-Agent string.\").optional(),\n \"image-width\": z.number().int().describe(\"Image width in pixels for PNG/JPG output. Default is 1024 pixels.\").optional(),\n \"margin-left\": z.number().describe(\"Left margin in millimeters. Default is 0.\").optional(),\n \"page-height\": z.number().describe(\"PDF page height in millimeters. Overrides page-size height if specified.\").optional(),\n \"image-height\": z.number().int().describe(\"Image height in pixels for PNG/JPG output. If not specified, height is calculated automatically.\").optional(),\n \"margin-right\": z.number().describe(\"Right margin in millimeters. Default is 0.\").optional(),\n \"margin-bottom\": z.number().describe(\"Bottom margin in millimeters. Default is 0.\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore TLS/SSL certificate errors when loading content. Default is false.\").optional(),\n});\nexport const NeutrinoHtmlRenderOutput = z.object({\n file: z.string().describe(\"The rendered file content as binary data (PDF, PNG, or JPG).\").nullable(),\n \"content-type\": z.string().describe(\"The MIME type of the rendered output (e.g., 'application/pdf', 'image/png', 'image/jpeg').\").nullable(),\n}).passthrough();\n\nexport const neutrinoHtmlRender: AppAction<\n typeof NeutrinoHtmlRenderInput,\n typeof NeutrinoHtmlRenderOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_HTML_RENDER\", {\n slug: \"neutrino-html-render\",\n name: \"HTML Render\",\n description: \"Render HTML content to PDF, PNG, or JPG format. Converts HTML strings or URLs into downloadable files with extensive customization options including page size, margins, headers/footers, and JavaScript execution.\",\n input: NeutrinoHtmlRenderInput,\n output: NeutrinoHtmlRenderOutput,\n});\n"],"mappings":";;;AAsCA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxCqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACzJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;EAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC3I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG;EAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC7I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,C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
1
- {"version":3,"file":"image-resize.cjs","names":["z","action"],"sources":["../../src/actions/image-resize.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoImageResizeInput = z.object({\n image: z.string().describe(\"Raw image file bytes (max 10 MB). Supports GIF, ICO, JPEG, PNG, TIFF formats. Required if not providing 'image-url'.\").optional(),\n width: z.number().int().describe(\"Target width in pixels for the resized image (1-5000).\"),\n format: z.enum([\"png\", \"jpg\"]).default(\"png\").describe(\"Output image format. Either 'png' or 'jpg'. Defaults to 'png'.\").optional(),\n height: z.number().int().describe(\"Target height in pixels for the resized image (1-5000). If not specified, height is auto-calculated to preserve aspect ratio.\").optional(),\n \"bg-color\": z.string().default(\"transparent\").describe(\"Background color in hexadecimal notation (e.g. '#ffffff') or 'transparent' for PNG. Used when resize-mode is 'pad'. Defaults to 'transparent'.\").optional(),\n \"image-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the source image. Supports GIF, ICO, JPEG, PNG, TIFF formats (max 10 MB). Required if not providing 'image'.\").optional(),\n \"resize-mode\": z.enum([\"scale\", \"pad\", \"crop\"]).default(\"scale\").describe(\"Resize mode: 'scale' (preserve aspect ratio), 'pad' (fill space with bg-color), or 'crop' (centered crop). Defaults to 'scale'.\").optional(),\n}).describe(\"Request model for the IMAGE_RESIZE action.\");\nconst NeutrinoImageResize_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const NeutrinoImageResizeOutput = z.object({\n image: NeutrinoImageResize_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for the IMAGE_RESIZE action.\");\n\nexport const neutrinoImageResize = action(\"NEUTRINO_IMAGE_RESIZE\", {\n slug: \"neutrino-image-resize\",\n name: \"Resize Image\",\n description: \"Resize, crop, and convert images to PNG or JPG format. Supports multiple resize modes (scale to preserve aspect ratio, pad with background color, or crop). Use when you need to adjust image dimensions, change format, or prepare images for specific size requirements. Supports GIF, ICO, JPEG, PNG, and TIFF input formats.\",\n input: NeutrinoImageResizeInput,\n output: NeutrinoImageResizeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACzF,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC5K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CAClN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACjM,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;AACxN,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO,2CAA2C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"image-resize.cjs","names":["z","action"],"sources":["../../src/actions/image-resize.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { neutrino } from \"../app\";\n\nexport const NeutrinoImageResizeInput = z.object({\n image: z.string().describe(\"Raw image file bytes (max 10 MB). Supports GIF, ICO, JPEG, PNG, TIFF formats. Required if not providing 'image-url'.\").optional(),\n width: z.number().int().describe(\"Target width in pixels for the resized image (1-5000).\"),\n format: z.enum([\"png\", \"jpg\"]).default(\"png\").describe(\"Output image format. Either 'png' or 'jpg'. Defaults to 'png'.\").optional(),\n height: z.number().int().describe(\"Target height in pixels for the resized image (1-5000). If not specified, height is auto-calculated to preserve aspect ratio.\").optional(),\n \"bg-color\": z.string().default(\"transparent\").describe(\"Background color in hexadecimal notation (e.g. '#ffffff') or 'transparent' for PNG. Used when resize-mode is 'pad'. Defaults to 'transparent'.\").optional(),\n \"image-url\": z.string().describe(\"The URL or Base64 encoded Data URL for the source image. Supports GIF, ICO, JPEG, PNG, TIFF formats (max 10 MB). Required if not providing 'image'.\").optional(),\n \"resize-mode\": z.enum([\"scale\", \"pad\", \"crop\"]).default(\"scale\").describe(\"Resize mode: 'scale' (preserve aspect ratio), 'pad' (fill space with bg-color), or 'crop' (centered crop). Defaults to 'scale'.\").optional(),\n}).describe(\"Request model for the IMAGE_RESIZE action.\");\nconst NeutrinoImageResize_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const NeutrinoImageResizeOutput = z.object({\n image: NeutrinoImageResize_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model for the IMAGE_RESIZE action.\");\n\nexport const neutrinoImageResize: AppAction<\n typeof NeutrinoImageResizeInput,\n typeof NeutrinoImageResizeOutput,\n typeof neutrino.credential\n> = action(\"NEUTRINO_IMAGE_RESIZE\", {\n slug: \"neutrino-image-resize\",\n name: \"Resize Image\",\n description: \"Resize, crop, and convert images to PNG or JPG format. Supports multiple resize modes (scale to preserve aspect ratio, pad with background color, or crop). Use when you need to adjust image dimensions, change format, or prepare images for specific size requirements. Supports GIF, ICO, JPEG, PNG, and TIFF input formats.\",\n input: NeutrinoImageResizeInput,\n output: NeutrinoImageResizeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACzF,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC5K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CAClN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CACjM,eAAeA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;AACxN,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO,2CAA2C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/image-resize.d.ts
@@ -24,15 +26,7 @@ declare const NeutrinoImageResizeOutput: z.ZodObject<{
24
26
  mimetype: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>>;
26
28
  }, z.core.$loose>;
27
- declare const neutrinoImageResize: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- width: number;
29
- image?: string | undefined;
30
- format?: "png" | "jpg" | undefined;
31
- height?: number | undefined;
32
- "bg-color"?: string | undefined;
33
- "image-url"?: string | undefined;
34
- "resize-mode"?: "scale" | "pad" | "crop" | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const neutrinoImageResize: AppAction<typeof NeutrinoImageResizeInput, typeof NeutrinoImageResizeOutput, typeof neutrino.credential>;
36
30
  //#endregion
37
31
  export { neutrinoImageResize };
38
32
  //# sourceMappingURL=image-resize.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-resize.d.cts","names":[],"sources":["../../src/actions/image-resize.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"image-resize.d.cts","names":[],"sources":["../../src/actions/image-resize.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { neutrino } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/image-resize.d.ts
@@ -24,15 +26,7 @@ declare const NeutrinoImageResizeOutput: z.ZodObject<{
24
26
  mimetype: z.ZodNullable<z.ZodString>;
25
27
  }, z.core.$loose>>;
26
28
  }, z.core.$loose>;
27
- declare const neutrinoImageResize: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- width: number;
29
- image?: string | undefined;
30
- format?: "png" | "jpg" | undefined;
31
- height?: number | undefined;
32
- "bg-color"?: string | undefined;
33
- "image-url"?: string | undefined;
34
- "resize-mode"?: "scale" | "pad" | "crop" | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const neutrinoImageResize: AppAction<typeof NeutrinoImageResizeInput, typeof NeutrinoImageResizeOutput, typeof neutrino.credential>;
36
30
  //#endregion
37
31
  export { neutrinoImageResize };
38
32
  //# sourceMappingURL=image-resize.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"image-resize.d.mts","names":[],"sources":["../../src/actions/image-resize.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"image-resize.d.mts","names":[],"sources":["../../src/actions/image-resize.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAcxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}