@keystrokehq/neutrino 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-watermark-to-image.cjs +43 -0
- package/dist/actions/add-watermark-to-image.cjs.map +1 -0
- package/dist/actions/add-watermark-to-image.d.cts +9 -0
- package/dist/actions/add-watermark-to-image.d.cts.map +1 -0
- package/dist/actions/add-watermark-to-image.d.mts +9 -0
- package/dist/actions/add-watermark-to-image.d.mts.map +1 -0
- package/dist/actions/add-watermark-to-image.mjs +42 -0
- package/dist/actions/add-watermark-to-image.mjs.map +1 -0
- package/dist/actions/bad-word-filter.cjs +27 -0
- package/dist/actions/bad-word-filter.cjs.map +1 -0
- package/dist/actions/bad-word-filter.d.cts +9 -0
- package/dist/actions/bad-word-filter.d.cts.map +1 -0
- package/dist/actions/bad-word-filter.d.mts +9 -0
- package/dist/actions/bad-word-filter.d.mts.map +1 -0
- package/dist/actions/bad-word-filter.mjs +24 -0
- package/dist/actions/bad-word-filter.mjs.map +1 -0
- package/dist/actions/bin-lookup.cjs +44 -0
- package/dist/actions/bin-lookup.cjs.map +1 -0
- package/dist/actions/bin-lookup.d.cts +9 -0
- package/dist/actions/bin-lookup.d.cts.map +1 -0
- package/dist/actions/bin-lookup.d.mts +9 -0
- package/dist/actions/bin-lookup.d.mts.map +1 -0
- package/dist/actions/bin-lookup.mjs +41 -0
- package/dist/actions/bin-lookup.mjs.map +1 -0
- package/dist/actions/check-ip-blocklist.cjs +43 -0
- package/dist/actions/check-ip-blocklist.cjs.map +1 -0
- package/dist/actions/check-ip-blocklist.d.cts +9 -0
- package/dist/actions/check-ip-blocklist.d.cts.map +1 -0
- package/dist/actions/check-ip-blocklist.d.mts +9 -0
- package/dist/actions/check-ip-blocklist.d.mts.map +1 -0
- package/dist/actions/check-ip-blocklist.mjs +42 -0
- package/dist/actions/check-ip-blocklist.mjs.map +1 -0
- package/dist/actions/convert.cjs +33 -0
- package/dist/actions/convert.cjs.map +1 -0
- package/dist/actions/convert.d.cts +9 -0
- package/dist/actions/convert.d.cts.map +1 -0
- package/dist/actions/convert.d.mts +9 -0
- package/dist/actions/convert.d.mts.map +1 -0
- package/dist/actions/convert.mjs +30 -0
- package/dist/actions/convert.mjs.map +1 -0
- package/dist/actions/email-validate.cjs +32 -0
- package/dist/actions/email-validate.cjs.map +1 -0
- package/dist/actions/email-validate.d.cts +9 -0
- package/dist/actions/email-validate.d.cts.map +1 -0
- package/dist/actions/email-validate.d.mts +9 -0
- package/dist/actions/email-validate.d.mts.map +1 -0
- package/dist/actions/email-validate.mjs +29 -0
- package/dist/actions/email-validate.mjs.map +1 -0
- package/dist/actions/email-verify.cjs +39 -0
- package/dist/actions/email-verify.cjs.map +1 -0
- package/dist/actions/email-verify.d.cts +9 -0
- package/dist/actions/email-verify.d.cts.map +1 -0
- package/dist/actions/email-verify.d.mts +9 -0
- package/dist/actions/email-verify.d.mts.map +1 -0
- package/dist/actions/email-verify.mjs +36 -0
- package/dist/actions/email-verify.mjs.map +1 -0
- package/dist/actions/geocode-address.cjs +49 -0
- package/dist/actions/geocode-address.cjs.map +1 -0
- package/dist/actions/geocode-address.d.cts +9 -0
- package/dist/actions/geocode-address.d.cts.map +1 -0
- package/dist/actions/geocode-address.d.mts +9 -0
- package/dist/actions/geocode-address.d.mts.map +1 -0
- package/dist/actions/geocode-address.mjs +48 -0
- package/dist/actions/geocode-address.mjs.map +1 -0
- package/dist/actions/geocode-reverse.cjs +67 -0
- package/dist/actions/geocode-reverse.cjs.map +1 -0
- package/dist/actions/geocode-reverse.d.cts +9 -0
- package/dist/actions/geocode-reverse.d.cts.map +1 -0
- package/dist/actions/geocode-reverse.d.mts +9 -0
- package/dist/actions/geocode-reverse.d.mts.map +1 -0
- package/dist/actions/geocode-reverse.mjs +66 -0
- package/dist/actions/geocode-reverse.mjs.map +1 -0
- package/dist/actions/hlr-lookup.cjs +46 -0
- package/dist/actions/hlr-lookup.cjs.map +1 -0
- package/dist/actions/hlr-lookup.d.cts +9 -0
- package/dist/actions/hlr-lookup.d.cts.map +1 -0
- package/dist/actions/hlr-lookup.d.mts +9 -0
- package/dist/actions/hlr-lookup.d.mts.map +1 -0
- package/dist/actions/hlr-lookup.mjs +43 -0
- package/dist/actions/hlr-lookup.mjs.map +1 -0
- package/dist/actions/host-reputation.cjs +34 -0
- package/dist/actions/host-reputation.cjs.map +1 -0
- package/dist/actions/host-reputation.d.cts +9 -0
- package/dist/actions/host-reputation.d.cts.map +1 -0
- package/dist/actions/host-reputation.d.mts +9 -0
- package/dist/actions/host-reputation.d.mts.map +1 -0
- package/dist/actions/host-reputation.mjs +33 -0
- package/dist/actions/host-reputation.mjs.map +1 -0
- package/dist/actions/html-clean.cjs +25 -0
- package/dist/actions/html-clean.cjs.map +1 -0
- package/dist/actions/html-clean.d.cts +9 -0
- package/dist/actions/html-clean.d.cts.map +1 -0
- package/dist/actions/html-clean.d.mts +9 -0
- package/dist/actions/html-clean.d.mts.map +1 -0
- package/dist/actions/html-clean.mjs +22 -0
- package/dist/actions/html-clean.mjs.map +1 -0
- package/dist/actions/html-render.cjs +49 -0
- package/dist/actions/html-render.cjs.map +1 -0
- package/dist/actions/html-render.d.cts +9 -0
- package/dist/actions/html-render.d.cts.map +1 -0
- package/dist/actions/html-render.d.mts +9 -0
- package/dist/actions/html-render.d.mts.map +1 -0
- package/dist/actions/html-render.mjs +46 -0
- package/dist/actions/html-render.mjs.map +1 -0
- package/dist/actions/image-resize.cjs +33 -0
- package/dist/actions/image-resize.cjs.map +1 -0
- package/dist/actions/image-resize.d.cts +9 -0
- package/dist/actions/image-resize.d.cts.map +1 -0
- package/dist/actions/image-resize.d.mts +9 -0
- package/dist/actions/image-resize.d.mts.map +1 -0
- package/dist/actions/image-resize.mjs +32 -0
- package/dist/actions/image-resize.mjs.map +1 -0
- package/dist/actions/index.cjs +49 -0
- package/dist/actions/index.d.cts +25 -0
- package/dist/actions/index.d.mts +25 -0
- package/dist/actions/index.mjs +25 -0
- package/dist/actions/ip-info.cjs +47 -0
- package/dist/actions/ip-info.cjs.map +1 -0
- package/dist/actions/ip-info.d.cts +9 -0
- package/dist/actions/ip-info.d.cts.map +1 -0
- package/dist/actions/ip-info.d.mts +9 -0
- package/dist/actions/ip-info.d.mts.map +1 -0
- package/dist/actions/ip-info.mjs +46 -0
- package/dist/actions/ip-info.mjs.map +1 -0
- package/dist/actions/ip-probe.cjs +55 -0
- package/dist/actions/ip-probe.cjs.map +1 -0
- package/dist/actions/ip-probe.d.cts +9 -0
- package/dist/actions/ip-probe.d.cts.map +1 -0
- package/dist/actions/ip-probe.d.mts +9 -0
- package/dist/actions/ip-probe.d.mts.map +1 -0
- package/dist/actions/ip-probe.mjs +52 -0
- package/dist/actions/ip-probe.mjs.map +1 -0
- package/dist/actions/lookup-domain.cjs +49 -0
- package/dist/actions/lookup-domain.cjs.map +1 -0
- package/dist/actions/lookup-domain.d.cts +9 -0
- package/dist/actions/lookup-domain.d.cts.map +1 -0
- package/dist/actions/lookup-domain.d.mts +9 -0
- package/dist/actions/lookup-domain.d.mts.map +1 -0
- package/dist/actions/lookup-domain.mjs +48 -0
- package/dist/actions/lookup-domain.mjs.map +1 -0
- package/dist/actions/phone-validate.cjs +33 -0
- package/dist/actions/phone-validate.cjs.map +1 -0
- package/dist/actions/phone-validate.d.cts +9 -0
- package/dist/actions/phone-validate.d.cts.map +1 -0
- package/dist/actions/phone-validate.d.mts +9 -0
- package/dist/actions/phone-validate.d.mts.map +1 -0
- package/dist/actions/phone-validate.mjs +30 -0
- package/dist/actions/phone-validate.mjs.map +1 -0
- package/dist/actions/qr-code.cjs +23 -0
- package/dist/actions/qr-code.cjs.map +1 -0
- package/dist/actions/qr-code.d.cts +9 -0
- package/dist/actions/qr-code.d.cts.map +1 -0
- package/dist/actions/qr-code.d.mts +9 -0
- package/dist/actions/qr-code.d.mts.map +1 -0
- package/dist/actions/qr-code.mjs +20 -0
- package/dist/actions/qr-code.mjs.map +1 -0
- package/dist/actions/run-browser-bot.cjs +68 -0
- package/dist/actions/run-browser-bot.cjs.map +1 -0
- package/dist/actions/run-browser-bot.d.cts +9 -0
- package/dist/actions/run-browser-bot.d.cts.map +1 -0
- package/dist/actions/run-browser-bot.d.mts +9 -0
- package/dist/actions/run-browser-bot.d.mts.map +1 -0
- package/dist/actions/run-browser-bot.mjs +67 -0
- package/dist/actions/run-browser-bot.mjs.map +1 -0
- package/dist/actions/sms-verify.cjs +29 -0
- package/dist/actions/sms-verify.cjs.map +1 -0
- package/dist/actions/sms-verify.d.cts +9 -0
- package/dist/actions/sms-verify.d.cts.map +1 -0
- package/dist/actions/sms-verify.d.mts +9 -0
- package/dist/actions/sms-verify.d.mts.map +1 -0
- package/dist/actions/sms-verify.mjs +26 -0
- package/dist/actions/sms-verify.mjs.map +1 -0
- package/dist/actions/ua-lookup.cjs +47 -0
- package/dist/actions/ua-lookup.cjs.map +1 -0
- package/dist/actions/ua-lookup.d.cts +9 -0
- package/dist/actions/ua-lookup.d.cts.map +1 -0
- package/dist/actions/ua-lookup.d.mts +9 -0
- package/dist/actions/ua-lookup.d.mts.map +1 -0
- package/dist/actions/ua-lookup.mjs +44 -0
- package/dist/actions/ua-lookup.mjs.map +1 -0
- package/dist/actions/url-info.cjs +47 -0
- package/dist/actions/url-info.cjs.map +1 -0
- package/dist/actions/url-info.d.cts +9 -0
- package/dist/actions/url-info.d.cts.map +1 -0
- package/dist/actions/url-info.d.mts +9 -0
- package/dist/actions/url-info.d.mts.map +1 -0
- package/dist/actions/url-info.mjs +44 -0
- package/dist/actions/url-info.mjs.map +1 -0
- package/dist/actions/verify-security-code.cjs +19 -0
- package/dist/actions/verify-security-code.cjs.map +1 -0
- package/dist/actions/verify-security-code.d.cts +9 -0
- package/dist/actions/verify-security-code.d.cts.map +1 -0
- package/dist/actions/verify-security-code.d.mts +9 -0
- package/dist/actions/verify-security-code.d.mts.map +1 -0
- package/dist/actions/verify-security-code.mjs +16 -0
- package/dist/actions/verify-security-code.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +54 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.mjs +28 -0
- package/package.json +49 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/run-browser-bot.ts
|
|
4
|
+
const NeutrinoRunBrowserBotInput = zod.z.object({
|
|
5
|
+
url: zod.z.string().describe("The URL to load"),
|
|
6
|
+
exec: zod.z.array(zod.z.string()).describe("Execute JavaScript on the website. This parameter accepts JavaScript as either a string containing JavaScript or for sending multiple separate statements a JSON array. If a statement returns any value it will be returned in the 'exec-results' response. You can also use the following specially defined user interaction functions: sleep(seconds); click('selector'); focus('selector'); keys('characters'); enter(); tab();").optional(),
|
|
7
|
+
delay: zod.z.number().int().describe("Delay in seconds to wait before capturing any page data, executing selectors or JavaScript. Default is 3.").optional(),
|
|
8
|
+
timeout: zod.z.number().int().describe("Timeout in seconds. Give up if still trying to load the page after this number of seconds. Default is 30.").optional(),
|
|
9
|
+
selector: zod.z.string().describe("Extract content from the page DOM using this CSS selector. You can find a good reference at https://www.w3schools.com/cssref/css_selectors.asp").optional(),
|
|
10
|
+
"user-agent": zod.z.string().describe("Override the browser's default user-agent string with this one").optional(),
|
|
11
|
+
"ignore-certificate-errors": zod.z.boolean().describe("Ignore any TLS/SSL certificate errors and load the page anyway. Default is false.").optional()
|
|
12
|
+
}).describe("Request model for Browser Bot action.");
|
|
13
|
+
const NeutrinoRunBrowserBot_HTMLElementSchema = zod.z.object({
|
|
14
|
+
id: zod.z.string().describe("The id attribute of the element").nullable().optional(),
|
|
15
|
+
href: zod.z.string().describe("The href attribute of the element").nullable().optional(),
|
|
16
|
+
html: zod.z.string().describe("The HTML content of the element").nullable().optional(),
|
|
17
|
+
text: zod.z.string().describe("The text content of the element").nullable().optional(),
|
|
18
|
+
"class": zod.z.string().describe("The class attribute of the element").nullable().optional()
|
|
19
|
+
}).describe("Model representing an HTML element extracted by a CSS selector.");
|
|
20
|
+
const NeutrinoRunBrowserBot_ExecResultSchema = zod.z.object({
|
|
21
|
+
result: zod.z.string().describe("The result returned by the statement").nullable().optional(),
|
|
22
|
+
statement: zod.z.string().describe("The JavaScript statement that was executed").nullable().optional()
|
|
23
|
+
}).describe("Model representing the result of executing JavaScript.");
|
|
24
|
+
const NeutrinoRunBrowserBot_URLComponentsSchema = zod.z.object({
|
|
25
|
+
url: zod.z.string().describe("The complete and final URL").nullable().optional(),
|
|
26
|
+
host: zod.z.string().describe("The host of the URL. Will be either a domain name, sub-domain or IP address").nullable().optional(),
|
|
27
|
+
path: zod.z.string().describe("The path of the URL. This is the part coming after the host and specifies which resource to load").nullable().optional(),
|
|
28
|
+
port: zod.z.number().int().describe("The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL").nullable().optional(),
|
|
29
|
+
query: zod.z.object({}).describe("The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL").nullable().optional(),
|
|
30
|
+
protocol: zod.z.string().describe("The protocol of the URL. For a website URL this will be either 'https' or 'http'").nullable().optional()
|
|
31
|
+
}).describe("Model representing the components of a URL.");
|
|
32
|
+
const NeutrinoRunBrowserBotOutput = zod.z.object({
|
|
33
|
+
url: zod.z.string().describe("The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true").nullable().optional(),
|
|
34
|
+
title: zod.z.string().describe("The document title").nullable().optional(),
|
|
35
|
+
content: zod.z.string().describe("The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML").nullable().optional(),
|
|
36
|
+
elements: zod.z.array(NeutrinoRunBrowserBot_HTMLElementSchema).describe("Array containing all the elements matching the supplied selector").nullable().optional(),
|
|
37
|
+
"is-error": zod.z.boolean().describe("True if an error has occurred loading the page. Check the 'error-message' field for details").nullable().optional(),
|
|
38
|
+
"is-secure": zod.z.boolean().describe("True if the page is secured using TLS/SSL").nullable().optional(),
|
|
39
|
+
"load-time": zod.z.number().describe("The number of seconds taken to load the page (from initial request until DOM ready)").nullable().optional(),
|
|
40
|
+
"mime-type": zod.z.string().describe("The document MIME type").nullable().optional(),
|
|
41
|
+
"server-ip": zod.z.string().describe("The HTTP servers IP address").nullable().optional(),
|
|
42
|
+
"url-valid": zod.z.boolean().describe("True if the URL supplied is valid").nullable().optional(),
|
|
43
|
+
"is-http-ok": zod.z.boolean().describe("True if the HTTP status is OK (200)").nullable().optional(),
|
|
44
|
+
"is-timeout": zod.z.boolean().describe("True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'").nullable().optional(),
|
|
45
|
+
"content-size": zod.z.number().int().describe("The size of the returned content in bytes").nullable().optional(),
|
|
46
|
+
"exec-results": zod.z.array(NeutrinoRunBrowserBot_ExecResultSchema).describe("If you executed any JavaScript this array holds the results as objects").nullable().optional(),
|
|
47
|
+
"error-message": zod.z.string().describe("Contains the error message if an error has occurred ('is-error' will be true)").nullable().optional(),
|
|
48
|
+
"language-code": zod.z.string().describe("The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers").nullable().optional(),
|
|
49
|
+
"url-components": NeutrinoRunBrowserBot_URLComponentsSchema.nullable().optional(),
|
|
50
|
+
"server-hostname": zod.z.string().describe("The HTTP servers hostname (PTR/RDNS record)").nullable().optional(),
|
|
51
|
+
"http-status-code": zod.z.number().int().describe("The HTTP status code the URL returned").nullable().optional(),
|
|
52
|
+
"is-http-redirect": zod.z.boolean().describe("True if the URL responded with an HTTP redirect").nullable().optional(),
|
|
53
|
+
"response-headers": zod.z.object({}).describe("Map containing all the HTTP response headers the URL responded with").nullable().optional(),
|
|
54
|
+
"security-details": zod.z.object({}).describe("Map containing details of the TLS/SSL setup").nullable().optional(),
|
|
55
|
+
"http-redirect-url": zod.z.string().describe("The redirected URL if the URL responded with an HTTP redirect").nullable().optional(),
|
|
56
|
+
"http-status-message": zod.z.string().describe("The HTTP status message the URL returned").nullable().optional()
|
|
57
|
+
}).describe("Response model for Browser Bot action.");
|
|
58
|
+
const neutrinoRunBrowserBot = require_action.action("NEUTRINO_RUN_BROWSER_BOT", {
|
|
59
|
+
slug: "neutrino-run-browser-bot",
|
|
60
|
+
name: "Browser Bot",
|
|
61
|
+
description: "Tool to automate browser interactions using a real Chromium browser. Use when you need to extract content, fill forms, capture screenshots, or navigate complex JavaScript-heavy websites.",
|
|
62
|
+
input: NeutrinoRunBrowserBotInput,
|
|
63
|
+
output: NeutrinoRunBrowserBotOutput
|
|
64
|
+
});
|
|
65
|
+
//#endregion
|
|
66
|
+
exports.neutrinoRunBrowserBot = neutrinoRunBrowserBot;
|
|
67
|
+
|
|
68
|
+
//# sourceMappingURL=run-browser-bot.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-browser-bot.cjs","names":["z","action"],"sources":["../../src/actions/run-browser-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoRunBrowserBotInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL to load\"),\n exec: z.array(z.string()).describe(\"Execute JavaScript on the website. This parameter accepts JavaScript as either a string containing JavaScript or for sending multiple separate statements a JSON array. If a statement returns any value it will be returned in the 'exec-results' response. You can also use the following specially defined user interaction functions: sleep(seconds); click('selector'); focus('selector'); keys('characters'); enter(); tab();\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before capturing any page data, executing selectors or JavaScript. Default is 3.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds. Give up if still trying to load the page after this number of seconds. Default is 30.\").optional(),\n selector: z.string().describe(\"Extract content from the page DOM using this CSS selector. You can find a good reference at https://www.w3schools.com/cssref/css_selectors.asp\").optional(),\n \"user-agent\": z.string().describe(\"Override the browser's default user-agent string with this one\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore any TLS/SSL certificate errors and load the page anyway. Default is false.\").optional(),\n}).describe(\"Request model for Browser Bot action.\");\nconst NeutrinoRunBrowserBot_HTMLElementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id attribute of the element\").nullable().optional(),\n href: z.string().describe(\"The href attribute of the element\").nullable().optional(),\n html: z.string().describe(\"The HTML content of the element\").nullable().optional(),\n text: z.string().describe(\"The text content of the element\").nullable().optional(),\n \"class\": z.string().describe(\"The class attribute of the element\").nullable().optional(),\n}).describe(\"Model representing an HTML element extracted by a CSS selector.\");\nconst NeutrinoRunBrowserBot_ExecResultSchema: z.ZodTypeAny = z.object({\n result: z.string().describe(\"The result returned by the statement\").nullable().optional(),\n statement: z.string().describe(\"The JavaScript statement that was executed\").nullable().optional(),\n}).describe(\"Model representing the result of executing JavaScript.\");\nconst NeutrinoRunBrowserBot_URLComponentsSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The complete and final URL\").nullable().optional(),\n host: z.string().describe(\"The host of the URL. Will be either a domain name, sub-domain or IP address\").nullable().optional(),\n path: z.string().describe(\"The path of the URL. This is the part coming after the host and specifies which resource to load\").nullable().optional(),\n port: z.number().int().describe(\"The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL\").nullable().optional(),\n query: z.object({}).describe(\"The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL\").nullable().optional(),\n protocol: z.string().describe(\"The protocol of the URL. For a website URL this will be either 'https' or 'http'\").nullable().optional(),\n}).describe(\"Model representing the components of a URL.\");\nexport const NeutrinoRunBrowserBotOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true\").nullable().optional(),\n title: z.string().describe(\"The document title\").nullable().optional(),\n content: z.string().describe(\"The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML\").nullable().optional(),\n elements: z.array(NeutrinoRunBrowserBot_HTMLElementSchema).describe(\"Array containing all the elements matching the supplied selector\").nullable().optional(),\n \"is-error\": z.boolean().describe(\"True if an error has occurred loading the page. Check the 'error-message' field for details\").nullable().optional(),\n \"is-secure\": z.boolean().describe(\"True if the page is secured using TLS/SSL\").nullable().optional(),\n \"load-time\": z.number().describe(\"The number of seconds taken to load the page (from initial request until DOM ready)\").nullable().optional(),\n \"mime-type\": z.string().describe(\"The document MIME type\").nullable().optional(),\n \"server-ip\": z.string().describe(\"The HTTP servers IP address\").nullable().optional(),\n \"url-valid\": z.boolean().describe(\"True if the URL supplied is valid\").nullable().optional(),\n \"is-http-ok\": z.boolean().describe(\"True if the HTTP status is OK (200)\").nullable().optional(),\n \"is-timeout\": z.boolean().describe(\"True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'\").nullable().optional(),\n \"content-size\": z.number().int().describe(\"The size of the returned content in bytes\").nullable().optional(),\n \"exec-results\": z.array(NeutrinoRunBrowserBot_ExecResultSchema).describe(\"If you executed any JavaScript this array holds the results as objects\").nullable().optional(),\n \"error-message\": z.string().describe(\"Contains the error message if an error has occurred ('is-error' will be true)\").nullable().optional(),\n \"language-code\": z.string().describe(\"The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers\").nullable().optional(),\n \"url-components\": NeutrinoRunBrowserBot_URLComponentsSchema.nullable().optional(),\n \"server-hostname\": z.string().describe(\"The HTTP servers hostname (PTR/RDNS record)\").nullable().optional(),\n \"http-status-code\": z.number().int().describe(\"The HTTP status code the URL returned\").nullable().optional(),\n \"is-http-redirect\": z.boolean().describe(\"True if the URL responded with an HTTP redirect\").nullable().optional(),\n \"response-headers\": z.object({}).describe(\"Map containing all the HTTP response headers the URL responded with\").nullable().optional(),\n \"security-details\": z.object({}).describe(\"Map containing details of the TLS/SSL setup\").nullable().optional(),\n \"http-redirect-url\": z.string().describe(\"The redirected URL if the URL responded with an HTTP redirect\").nullable().optional(),\n \"http-status-message\": z.string().describe(\"The HTTP status message the URL returned\").nullable().optional(),\n}).describe(\"Response model for Browser Bot action.\");\n\nexport const neutrinoRunBrowserBot = action(\"NEUTRINO_RUN_BROWSER_BOT\", {\n slug: \"neutrino-run-browser-bot\",\n name: \"Browser Bot\",\n description: \"Tool to automate browser interactions using a real Chromium browser. Use when you need to extract content, fill forms, capture screenshots, or navigate complex JavaScript-heavy websites.\",\n input: NeutrinoRunBrowserBotInput,\n output: NeutrinoRunBrowserBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qaAAqa,CAAC,CAAC,SAAS;CACnd,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS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ChH,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/run-browser-bot.d.ts
|
|
4
|
+
declare const NeutrinoRunBrowserBotInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoRunBrowserBotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoRunBrowserBot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoRunBrowserBot };
|
|
9
|
+
//# sourceMappingURL=run-browser-bot.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-browser-bot.d.cts","names":[],"sources":["../../src/actions/run-browser-bot.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAQS;AAAA,cAoBvC,2BAAA,EAA6B,CAAA,CAAE,UAyBS;AAAA,cAExC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/run-browser-bot.d.ts
|
|
4
|
+
declare const NeutrinoRunBrowserBotInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoRunBrowserBotOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoRunBrowserBot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoRunBrowserBot };
|
|
9
|
+
//# sourceMappingURL=run-browser-bot.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-browser-bot.d.mts","names":[],"sources":["../../src/actions/run-browser-bot.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAQS;AAAA,cAoBvC,2BAAA,EAA6B,CAAA,CAAE,UAyBS;AAAA,cAExC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/run-browser-bot.ts
|
|
4
|
+
const NeutrinoRunBrowserBotInput = z.object({
|
|
5
|
+
url: z.string().describe("The URL to load"),
|
|
6
|
+
exec: z.array(z.string()).describe("Execute JavaScript on the website. This parameter accepts JavaScript as either a string containing JavaScript or for sending multiple separate statements a JSON array. If a statement returns any value it will be returned in the 'exec-results' response. You can also use the following specially defined user interaction functions: sleep(seconds); click('selector'); focus('selector'); keys('characters'); enter(); tab();").optional(),
|
|
7
|
+
delay: z.number().int().describe("Delay in seconds to wait before capturing any page data, executing selectors or JavaScript. Default is 3.").optional(),
|
|
8
|
+
timeout: z.number().int().describe("Timeout in seconds. Give up if still trying to load the page after this number of seconds. Default is 30.").optional(),
|
|
9
|
+
selector: z.string().describe("Extract content from the page DOM using this CSS selector. You can find a good reference at https://www.w3schools.com/cssref/css_selectors.asp").optional(),
|
|
10
|
+
"user-agent": z.string().describe("Override the browser's default user-agent string with this one").optional(),
|
|
11
|
+
"ignore-certificate-errors": z.boolean().describe("Ignore any TLS/SSL certificate errors and load the page anyway. Default is false.").optional()
|
|
12
|
+
}).describe("Request model for Browser Bot action.");
|
|
13
|
+
const NeutrinoRunBrowserBot_HTMLElementSchema = z.object({
|
|
14
|
+
id: z.string().describe("The id attribute of the element").nullable().optional(),
|
|
15
|
+
href: z.string().describe("The href attribute of the element").nullable().optional(),
|
|
16
|
+
html: z.string().describe("The HTML content of the element").nullable().optional(),
|
|
17
|
+
text: z.string().describe("The text content of the element").nullable().optional(),
|
|
18
|
+
"class": z.string().describe("The class attribute of the element").nullable().optional()
|
|
19
|
+
}).describe("Model representing an HTML element extracted by a CSS selector.");
|
|
20
|
+
const NeutrinoRunBrowserBot_ExecResultSchema = z.object({
|
|
21
|
+
result: z.string().describe("The result returned by the statement").nullable().optional(),
|
|
22
|
+
statement: z.string().describe("The JavaScript statement that was executed").nullable().optional()
|
|
23
|
+
}).describe("Model representing the result of executing JavaScript.");
|
|
24
|
+
const NeutrinoRunBrowserBot_URLComponentsSchema = z.object({
|
|
25
|
+
url: z.string().describe("The complete and final URL").nullable().optional(),
|
|
26
|
+
host: z.string().describe("The host of the URL. Will be either a domain name, sub-domain or IP address").nullable().optional(),
|
|
27
|
+
path: z.string().describe("The path of the URL. This is the part coming after the host and specifies which resource to load").nullable().optional(),
|
|
28
|
+
port: z.number().int().describe("The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL").nullable().optional(),
|
|
29
|
+
query: z.object({}).describe("The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL").nullable().optional(),
|
|
30
|
+
protocol: z.string().describe("The protocol of the URL. For a website URL this will be either 'https' or 'http'").nullable().optional()
|
|
31
|
+
}).describe("Model representing the components of a URL.");
|
|
32
|
+
const neutrinoRunBrowserBot = action("NEUTRINO_RUN_BROWSER_BOT", {
|
|
33
|
+
slug: "neutrino-run-browser-bot",
|
|
34
|
+
name: "Browser Bot",
|
|
35
|
+
description: "Tool to automate browser interactions using a real Chromium browser. Use when you need to extract content, fill forms, capture screenshots, or navigate complex JavaScript-heavy websites.",
|
|
36
|
+
input: NeutrinoRunBrowserBotInput,
|
|
37
|
+
output: z.object({
|
|
38
|
+
url: z.string().describe("The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true").nullable().optional(),
|
|
39
|
+
title: z.string().describe("The document title").nullable().optional(),
|
|
40
|
+
content: z.string().describe("The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML").nullable().optional(),
|
|
41
|
+
elements: z.array(NeutrinoRunBrowserBot_HTMLElementSchema).describe("Array containing all the elements matching the supplied selector").nullable().optional(),
|
|
42
|
+
"is-error": z.boolean().describe("True if an error has occurred loading the page. Check the 'error-message' field for details").nullable().optional(),
|
|
43
|
+
"is-secure": z.boolean().describe("True if the page is secured using TLS/SSL").nullable().optional(),
|
|
44
|
+
"load-time": z.number().describe("The number of seconds taken to load the page (from initial request until DOM ready)").nullable().optional(),
|
|
45
|
+
"mime-type": z.string().describe("The document MIME type").nullable().optional(),
|
|
46
|
+
"server-ip": z.string().describe("The HTTP servers IP address").nullable().optional(),
|
|
47
|
+
"url-valid": z.boolean().describe("True if the URL supplied is valid").nullable().optional(),
|
|
48
|
+
"is-http-ok": z.boolean().describe("True if the HTTP status is OK (200)").nullable().optional(),
|
|
49
|
+
"is-timeout": z.boolean().describe("True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'").nullable().optional(),
|
|
50
|
+
"content-size": z.number().int().describe("The size of the returned content in bytes").nullable().optional(),
|
|
51
|
+
"exec-results": z.array(NeutrinoRunBrowserBot_ExecResultSchema).describe("If you executed any JavaScript this array holds the results as objects").nullable().optional(),
|
|
52
|
+
"error-message": z.string().describe("Contains the error message if an error has occurred ('is-error' will be true)").nullable().optional(),
|
|
53
|
+
"language-code": z.string().describe("The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers").nullable().optional(),
|
|
54
|
+
"url-components": NeutrinoRunBrowserBot_URLComponentsSchema.nullable().optional(),
|
|
55
|
+
"server-hostname": z.string().describe("The HTTP servers hostname (PTR/RDNS record)").nullable().optional(),
|
|
56
|
+
"http-status-code": z.number().int().describe("The HTTP status code the URL returned").nullable().optional(),
|
|
57
|
+
"is-http-redirect": z.boolean().describe("True if the URL responded with an HTTP redirect").nullable().optional(),
|
|
58
|
+
"response-headers": z.object({}).describe("Map containing all the HTTP response headers the URL responded with").nullable().optional(),
|
|
59
|
+
"security-details": z.object({}).describe("Map containing details of the TLS/SSL setup").nullable().optional(),
|
|
60
|
+
"http-redirect-url": z.string().describe("The redirected URL if the URL responded with an HTTP redirect").nullable().optional(),
|
|
61
|
+
"http-status-message": z.string().describe("The HTTP status message the URL returned").nullable().optional()
|
|
62
|
+
}).describe("Response model for Browser Bot action.")
|
|
63
|
+
});
|
|
64
|
+
//#endregion
|
|
65
|
+
export { neutrinoRunBrowserBot };
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=run-browser-bot.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-browser-bot.mjs","names":[],"sources":["../../src/actions/run-browser-bot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoRunBrowserBotInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL to load\"),\n exec: z.array(z.string()).describe(\"Execute JavaScript on the website. This parameter accepts JavaScript as either a string containing JavaScript or for sending multiple separate statements a JSON array. If a statement returns any value it will be returned in the 'exec-results' response. You can also use the following specially defined user interaction functions: sleep(seconds); click('selector'); focus('selector'); keys('characters'); enter(); tab();\").optional(),\n delay: z.number().int().describe(\"Delay in seconds to wait before capturing any page data, executing selectors or JavaScript. Default is 3.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds. Give up if still trying to load the page after this number of seconds. Default is 30.\").optional(),\n selector: z.string().describe(\"Extract content from the page DOM using this CSS selector. You can find a good reference at https://www.w3schools.com/cssref/css_selectors.asp\").optional(),\n \"user-agent\": z.string().describe(\"Override the browser's default user-agent string with this one\").optional(),\n \"ignore-certificate-errors\": z.boolean().describe(\"Ignore any TLS/SSL certificate errors and load the page anyway. Default is false.\").optional(),\n}).describe(\"Request model for Browser Bot action.\");\nconst NeutrinoRunBrowserBot_HTMLElementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The id attribute of the element\").nullable().optional(),\n href: z.string().describe(\"The href attribute of the element\").nullable().optional(),\n html: z.string().describe(\"The HTML content of the element\").nullable().optional(),\n text: z.string().describe(\"The text content of the element\").nullable().optional(),\n \"class\": z.string().describe(\"The class attribute of the element\").nullable().optional(),\n}).describe(\"Model representing an HTML element extracted by a CSS selector.\");\nconst NeutrinoRunBrowserBot_ExecResultSchema: z.ZodTypeAny = z.object({\n result: z.string().describe(\"The result returned by the statement\").nullable().optional(),\n statement: z.string().describe(\"The JavaScript statement that was executed\").nullable().optional(),\n}).describe(\"Model representing the result of executing JavaScript.\");\nconst NeutrinoRunBrowserBot_URLComponentsSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The complete and final URL\").nullable().optional(),\n host: z.string().describe(\"The host of the URL. Will be either a domain name, sub-domain or IP address\").nullable().optional(),\n path: z.string().describe(\"The path of the URL. This is the part coming after the host and specifies which resource to load\").nullable().optional(),\n port: z.number().int().describe(\"The port of the URL. This is usually 443 for HTTPS and 80 for HTTP unless otherwise specified in the URL\").nullable().optional(),\n query: z.object({}).describe(\"The query of the URL. Contains a key/value map of any HTTP GET query parameters present in the URL\").nullable().optional(),\n protocol: z.string().describe(\"The protocol of the URL. For a website URL this will be either 'https' or 'http'\").nullable().optional(),\n}).describe(\"Model representing the components of a URL.\");\nexport const NeutrinoRunBrowserBotOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The requested URL. This may not be the same as the final destination URL, if the URL redirects then it will be set in 'http-redirect-url' and 'is-http-redirect' will also be true\").nullable().optional(),\n title: z.string().describe(\"The document title\").nullable().optional(),\n content: z.string().describe(\"The complete raw, decompressed and decoded page content. Usually will be either HTML, JSON or XML\").nullable().optional(),\n elements: z.array(NeutrinoRunBrowserBot_HTMLElementSchema).describe(\"Array containing all the elements matching the supplied selector\").nullable().optional(),\n \"is-error\": z.boolean().describe(\"True if an error has occurred loading the page. Check the 'error-message' field for details\").nullable().optional(),\n \"is-secure\": z.boolean().describe(\"True if the page is secured using TLS/SSL\").nullable().optional(),\n \"load-time\": z.number().describe(\"The number of seconds taken to load the page (from initial request until DOM ready)\").nullable().optional(),\n \"mime-type\": z.string().describe(\"The document MIME type\").nullable().optional(),\n \"server-ip\": z.string().describe(\"The HTTP servers IP address\").nullable().optional(),\n \"url-valid\": z.boolean().describe(\"True if the URL supplied is valid\").nullable().optional(),\n \"is-http-ok\": z.boolean().describe(\"True if the HTTP status is OK (200)\").nullable().optional(),\n \"is-timeout\": z.boolean().describe(\"True if a timeout occurred while loading the page. You can set the timeout with the request parameter 'timeout'\").nullable().optional(),\n \"content-size\": z.number().int().describe(\"The size of the returned content in bytes\").nullable().optional(),\n \"exec-results\": z.array(NeutrinoRunBrowserBot_ExecResultSchema).describe(\"If you executed any JavaScript this array holds the results as objects\").nullable().optional(),\n \"error-message\": z.string().describe(\"Contains the error message if an error has occurred ('is-error' will be true)\").nullable().optional(),\n \"language-code\": z.string().describe(\"The ISO 2-letter language code of the page. Extracted from either the HTML document or via HTTP headers\").nullable().optional(),\n \"url-components\": NeutrinoRunBrowserBot_URLComponentsSchema.nullable().optional(),\n \"server-hostname\": z.string().describe(\"The HTTP servers hostname (PTR/RDNS record)\").nullable().optional(),\n \"http-status-code\": z.number().int().describe(\"The HTTP status code the URL returned\").nullable().optional(),\n \"is-http-redirect\": z.boolean().describe(\"True if the URL responded with an HTTP redirect\").nullable().optional(),\n \"response-headers\": z.object({}).describe(\"Map containing all the HTTP response headers the URL responded with\").nullable().optional(),\n \"security-details\": z.object({}).describe(\"Map containing details of the TLS/SSL setup\").nullable().optional(),\n \"http-redirect-url\": z.string().describe(\"The redirected URL if the URL responded with an HTTP redirect\").nullable().optional(),\n \"http-status-message\": z.string().describe(\"The HTTP status message the URL returned\").nullable().optional(),\n}).describe(\"Response model for Browser Bot action.\");\n\nexport const neutrinoRunBrowserBot = action(\"NEUTRINO_RUN_BROWSER_BOT\", {\n slug: \"neutrino-run-browser-bot\",\n name: \"Browser Bot\",\n description: \"Tool to automate browser interactions using a real Chromium browser. Use when you need to extract content, fill forms, capture screenshots, or navigate complex JavaScript-heavy websites.\",\n input: NeutrinoRunBrowserBotInput,\n output: NeutrinoRunBrowserBotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC1C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qaAAqa,CAAC,CAAC,SAAS;CACnd,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACzJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACzL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC7G,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,0CAAwD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0 +1,29 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/sms-verify.ts
|
|
4
|
+
const NeutrinoSmsVerifyInput = zod.z.object({
|
|
5
|
+
ip: zod.z.string().describe("The user's IP address, used for enhanced verification checks.").optional(),
|
|
6
|
+
number: zod.z.string().describe("The phone number to send the verification code to, in international format (E.164)."),
|
|
7
|
+
"brand-name": zod.z.string().describe("Your brand name to display in the SMS (up to 30 characters).").optional(),
|
|
8
|
+
"code-length": zod.z.number().int().default(5).describe("The number of digits in the security code (4–12). Default is 5.").optional(),
|
|
9
|
+
"country-code": zod.z.string().describe("Country dialing code if number is in local format, e.g. '44' for the U.K.'").optional(),
|
|
10
|
+
"code-validity": zod.z.number().int().default(60).describe("How long the code is valid for in minutes (1–1440). Default is 60.").optional(),
|
|
11
|
+
"language-code": zod.z.string().default("en").describe("ISO 639 language code for the SMS message. Default is 'en'.").optional(),
|
|
12
|
+
"security-code": zod.z.string().describe("Pass in your own numeric security code. Must only contain digits and match the length given by code-length.").optional()
|
|
13
|
+
}).describe("Request model for the SMS_VERIFY action.");
|
|
14
|
+
const NeutrinoSmsVerifyOutput = zod.z.object({
|
|
15
|
+
sent: zod.z.boolean().describe("True if the SMS has been sent successfully."),
|
|
16
|
+
"number-valid": zod.z.boolean().describe("True if this is a valid phone number."),
|
|
17
|
+
"security-code": zod.z.string().describe("The security code generated and sent in the SMS. Save this code to perform your own verification or use with the Verify Security Code API.")
|
|
18
|
+
}).describe("Response model for the SMS_VERIFY action.");
|
|
19
|
+
const neutrinoSmsVerify = require_action.action("NEUTRINO_SMS_VERIFY", {
|
|
20
|
+
slug: "neutrino-sms-verify",
|
|
21
|
+
name: "SMS Verify",
|
|
22
|
+
description: "Tool to send a unique security code via SMS. Use when verifying a user's phone number after collection.",
|
|
23
|
+
input: NeutrinoSmsVerifyInput,
|
|
24
|
+
output: NeutrinoSmsVerifyOutput
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.neutrinoSmsVerify = neutrinoSmsVerify;
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=sms-verify.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-verify.cjs","names":["z","action"],"sources":["../../src/actions/sms-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoSmsVerifyInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"The user's IP address, used for enhanced verification checks.\").optional(),\n number: z.string().describe(\"The phone number to send the verification code to, in international format (E.164).\"),\n \"brand-name\": z.string().describe(\"Your brand name to display in the SMS (up to 30 characters).\").optional(),\n \"code-length\": z.number().int().default(5).describe(\"The number of digits in the security code (4–12). Default is 5.\").optional(),\n \"country-code\": z.string().describe(\"Country dialing code if number is in local format, e.g. '44' for the U.K.'\").optional(),\n \"code-validity\": z.number().int().default(60).describe(\"How long the code is valid for in minutes (1–1440). Default is 60.\").optional(),\n \"language-code\": z.string().default(\"en\").describe(\"ISO 639 language code for the SMS message. Default is 'en'.\").optional(),\n \"security-code\": z.string().describe(\"Pass in your own numeric security code. Must only contain digits and match the length given by code-length.\").optional(),\n}).describe(\"Request model for the SMS_VERIFY action.\");\nexport const NeutrinoSmsVerifyOutput: z.ZodTypeAny = z.object({\n sent: z.boolean().describe(\"True if the SMS has been sent successfully.\"),\n \"number-valid\": z.boolean().describe(\"True if this is a valid phone number.\"),\n \"security-code\": z.string().describe(\"The security code generated and sent in the SMS. Save this code to perform your own verification or use with the Verify Security Code API.\"),\n}).describe(\"Response model for the SMS_VERIFY action.\");\n\nexport const neutrinoSmsVerify = action(\"NEUTRINO_SMS_VERIFY\", {\n slug: \"neutrino-sms-verify\",\n name: \"SMS Verify\",\n description: \"Tool to send a unique security code via SMS. Use when verifying a user's phone number after collection.\",\n input: NeutrinoSmsVerifyInput,\n output: NeutrinoSmsVerifyOutput,\n});\n"],"mappings":";;;AAIA,M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|
2
|
+
|
|
3
|
+
//#region src/actions/sms-verify.d.ts
|
|
4
|
+
declare const NeutrinoSmsVerifyInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoSmsVerifyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoSmsVerify: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoSmsVerify };
|
|
9
|
+
//# sourceMappingURL=sms-verify.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-verify.d.cts","names":[],"sources":["../../src/actions/sms-verify.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UASgB;AAAA,cAC1C,uBAAA,EAAyB,CAAA,CAAE,UAIgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/sms-verify.d.ts
|
|
4
|
+
declare const NeutrinoSmsVerifyInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoSmsVerifyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoSmsVerify: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoSmsVerify };
|
|
9
|
+
//# sourceMappingURL=sms-verify.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-verify.d.mts","names":[],"sources":["../../src/actions/sms-verify.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UASgB;AAAA,cAC1C,uBAAA,EAAyB,CAAA,CAAE,UAIgB;AAAA,cAE3C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neutrinoSmsVerify = action("NEUTRINO_SMS_VERIFY", {
|
|
4
|
+
slug: "neutrino-sms-verify",
|
|
5
|
+
name: "SMS Verify",
|
|
6
|
+
description: "Tool to send a unique security code via SMS. Use when verifying a user's phone number after collection.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
ip: z.string().describe("The user's IP address, used for enhanced verification checks.").optional(),
|
|
9
|
+
number: z.string().describe("The phone number to send the verification code to, in international format (E.164)."),
|
|
10
|
+
"brand-name": z.string().describe("Your brand name to display in the SMS (up to 30 characters).").optional(),
|
|
11
|
+
"code-length": z.number().int().default(5).describe("The number of digits in the security code (4–12). Default is 5.").optional(),
|
|
12
|
+
"country-code": z.string().describe("Country dialing code if number is in local format, e.g. '44' for the U.K.'").optional(),
|
|
13
|
+
"code-validity": z.number().int().default(60).describe("How long the code is valid for in minutes (1–1440). Default is 60.").optional(),
|
|
14
|
+
"language-code": z.string().default("en").describe("ISO 639 language code for the SMS message. Default is 'en'.").optional(),
|
|
15
|
+
"security-code": z.string().describe("Pass in your own numeric security code. Must only contain digits and match the length given by code-length.").optional()
|
|
16
|
+
}).describe("Request model for the SMS_VERIFY action."),
|
|
17
|
+
output: z.object({
|
|
18
|
+
sent: z.boolean().describe("True if the SMS has been sent successfully."),
|
|
19
|
+
"number-valid": z.boolean().describe("True if this is a valid phone number."),
|
|
20
|
+
"security-code": z.string().describe("The security code generated and sent in the SMS. Save this code to perform your own verification or use with the Verify Security Code API.")
|
|
21
|
+
}).describe("Response model for the SMS_VERIFY action.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { neutrinoSmsVerify };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=sms-verify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sms-verify.mjs","names":[],"sources":["../../src/actions/sms-verify.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoSmsVerifyInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"The user's IP address, used for enhanced verification checks.\").optional(),\n number: z.string().describe(\"The phone number to send the verification code to, in international format (E.164).\"),\n \"brand-name\": z.string().describe(\"Your brand name to display in the SMS (up to 30 characters).\").optional(),\n \"code-length\": z.number().int().default(5).describe(\"The number of digits in the security code (4–12). Default is 5.\").optional(),\n \"country-code\": z.string().describe(\"Country dialing code if number is in local format, e.g. '44' for the U.K.'\").optional(),\n \"code-validity\": z.number().int().default(60).describe(\"How long the code is valid for in minutes (1–1440). Default is 60.\").optional(),\n \"language-code\": z.string().default(\"en\").describe(\"ISO 639 language code for the SMS message. Default is 'en'.\").optional(),\n \"security-code\": z.string().describe(\"Pass in your own numeric security code. Must only contain digits and match the length given by code-length.\").optional(),\n}).describe(\"Request model for the SMS_VERIFY action.\");\nexport const NeutrinoSmsVerifyOutput: z.ZodTypeAny = z.object({\n sent: z.boolean().describe(\"True if the SMS has been sent successfully.\"),\n \"number-valid\": z.boolean().describe(\"True if this is a valid phone number.\"),\n \"security-code\": z.string().describe(\"The security code generated and sent in the SMS. Save this code to perform your own verification or use with the Verify Security Code API.\"),\n}).describe(\"Response model for the SMS_VERIFY action.\");\n\nexport const neutrinoSmsVerify = action(\"NEUTRINO_SMS_VERIFY\", {\n slug: \"neutrino-sms-verify\",\n name: \"SMS Verify\",\n description: \"Tool to send a unique security code via SMS. Use when verifying a user's phone number after collection.\",\n input: NeutrinoSmsVerifyInput,\n output: NeutrinoSmsVerifyOutput,\n});\n"],"mappings":";;AAoBA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF;EACjH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAChI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACtI,iBAAiB,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,0CAWH;CACP,QAXmD,EAAE,OAAO;EAC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;EACxE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I;CACnL,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/ua-lookup.ts
|
|
4
|
+
const NeutrinoUaLookupInput = zod.z.object({
|
|
5
|
+
ua: zod.z.string().describe("The User-Agent string to parse and analyze. This can be a traditional UA string from HTTP headers or a browser's navigator.userAgent value. Maximum length: 2048 characters."),
|
|
6
|
+
"client-hints": zod.z.string().describe("Optional User-Agent Client Hints data for modern browsers (Chromium 89+). Provide as comma-separated header names or JSON object with hint values. Use this when the UA string is frozen to get detailed device information.").optional()
|
|
7
|
+
}).describe("Request model for the UA_LOOKUP action.");
|
|
8
|
+
const NeutrinoUaLookupOutput = zod.z.object({
|
|
9
|
+
os: zod.z.string().describe("Operating system name and version.").nullable().optional(),
|
|
10
|
+
ua: zod.z.string().describe("Original User-Agent string.").nullable().optional(),
|
|
11
|
+
name: zod.z.string().describe("Browser/client name.").nullable().optional(),
|
|
12
|
+
type: zod.z.string().describe("Device type, e.g., 'desktop', 'phone', 'tablet', 'wearable'.").nullable().optional(),
|
|
13
|
+
version: zod.z.string().describe("Full version string.").nullable().optional(),
|
|
14
|
+
"is-mobile": zod.z.boolean().describe("True if a mobile device."),
|
|
15
|
+
"os-family": zod.z.string().describe("Operating system family name.").nullable().optional(),
|
|
16
|
+
"device-ppi": zod.z.number().int().describe("Device pixels per inch.").nullable().optional(),
|
|
17
|
+
"is-current": zod.z.boolean().describe("True if current/latest version.").nullable().optional(),
|
|
18
|
+
"is-webview": zod.z.boolean().describe("True if embedded webview.").nullable().optional(),
|
|
19
|
+
"os-version": zod.z.string().describe("OS version.").nullable().optional(),
|
|
20
|
+
"device-brand": zod.z.string().describe("Brand of the device.").nullable().optional(),
|
|
21
|
+
"device-model": zod.z.string().describe("Device model name/number.").nullable().optional(),
|
|
22
|
+
"device-price": zod.z.number().int().describe("Device price in USD.").nullable().optional(),
|
|
23
|
+
"is-ua-frozen": zod.z.boolean().describe("True if User-Agent string is frozen (Chromium 89+).").nullable().optional(),
|
|
24
|
+
"version-major": zod.z.string().describe("Major version number.").nullable().optional(),
|
|
25
|
+
"browser-engine": zod.z.string().describe("Browser engine (e.g., Blink, Gecko, WebKit).").nullable().optional(),
|
|
26
|
+
"device-release": zod.z.string().describe("Device release date.").nullable().optional(),
|
|
27
|
+
"browser-release": zod.z.string().describe("Browser release year.").nullable().optional(),
|
|
28
|
+
"device-width-mm": zod.z.number().int().describe("Device width in millimeters.").nullable().optional(),
|
|
29
|
+
"device-width-px": zod.z.number().int().describe("Device width in pixels.").nullable().optional(),
|
|
30
|
+
"device-height-mm": zod.z.number().int().describe("Device height in millimeters.").nullable().optional(),
|
|
31
|
+
"device-height-px": zod.z.number().int().describe("Device height in pixels.").nullable().optional(),
|
|
32
|
+
"os-version-major": zod.z.string().describe("OS major version.").nullable().optional(),
|
|
33
|
+
"device-model-code": zod.z.string().describe("Device model code.").nullable().optional(),
|
|
34
|
+
"device-resolution": zod.z.string().describe("Device screen resolution.").nullable().optional(),
|
|
35
|
+
"device-pixel-ratio": zod.z.number().describe("Device pixel ratio.").nullable().optional()
|
|
36
|
+
}).describe("Response model for the UA_LOOKUP action.");
|
|
37
|
+
const neutrinoUaLookup = require_action.action("NEUTRINO_UA_LOOKUP", {
|
|
38
|
+
slug: "neutrino-ua-lookup",
|
|
39
|
+
name: "UA Lookup",
|
|
40
|
+
description: "Parse and analyze User-Agent strings to extract detailed browser, device, and operating system information. Returns device type (desktop/phone/tablet/robot), browser name and version, OS details, device specifications (brand, model, screen resolution, price), and indicators for mobile devices, webviews, and frozen User-Agents. Supports both traditional UA strings and modern User-Agent Client Hints.",
|
|
41
|
+
input: NeutrinoUaLookupInput,
|
|
42
|
+
output: NeutrinoUaLookupOutput
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
exports.neutrinoUaLookup = neutrinoUaLookup;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=ua-lookup.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua-lookup.cjs","names":["z","action"],"sources":["../../src/actions/ua-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoUaLookupInput: z.ZodTypeAny = z.object({\n ua: z.string().describe(\"The User-Agent string to parse and analyze. This can be a traditional UA string from HTTP headers or a browser's navigator.userAgent value. Maximum length: 2048 characters.\"),\n \"client-hints\": z.string().describe(\"Optional User-Agent Client Hints data for modern browsers (Chromium 89+). Provide as comma-separated header names or JSON object with hint values. Use this when the UA string is frozen to get detailed device information.\").optional(),\n}).describe(\"Request model for the UA_LOOKUP action.\");\nexport const NeutrinoUaLookupOutput: z.ZodTypeAny = z.object({\n os: z.string().describe(\"Operating system name and version.\").nullable().optional(),\n ua: z.string().describe(\"Original User-Agent string.\").nullable().optional(),\n name: z.string().describe(\"Browser/client name.\").nullable().optional(),\n type: z.string().describe(\"Device type, e.g., 'desktop', 'phone', 'tablet', 'wearable'.\").nullable().optional(),\n version: z.string().describe(\"Full version string.\").nullable().optional(),\n \"is-mobile\": z.boolean().describe(\"True if a mobile device.\"),\n \"os-family\": z.string().describe(\"Operating system family name.\").nullable().optional(),\n \"device-ppi\": z.number().int().describe(\"Device pixels per inch.\").nullable().optional(),\n \"is-current\": z.boolean().describe(\"True if current/latest version.\").nullable().optional(),\n \"is-webview\": z.boolean().describe(\"True if embedded webview.\").nullable().optional(),\n \"os-version\": z.string().describe(\"OS version.\").nullable().optional(),\n \"device-brand\": z.string().describe(\"Brand of the device.\").nullable().optional(),\n \"device-model\": z.string().describe(\"Device model name/number.\").nullable().optional(),\n \"device-price\": z.number().int().describe(\"Device price in USD.\").nullable().optional(),\n \"is-ua-frozen\": z.boolean().describe(\"True if User-Agent string is frozen (Chromium 89+).\").nullable().optional(),\n \"version-major\": z.string().describe(\"Major version number.\").nullable().optional(),\n \"browser-engine\": z.string().describe(\"Browser engine (e.g., Blink, Gecko, WebKit).\").nullable().optional(),\n \"device-release\": z.string().describe(\"Device release date.\").nullable().optional(),\n \"browser-release\": z.string().describe(\"Browser release year.\").nullable().optional(),\n \"device-width-mm\": z.number().int().describe(\"Device width in millimeters.\").nullable().optional(),\n \"device-width-px\": z.number().int().describe(\"Device width in pixels.\").nullable().optional(),\n \"device-height-mm\": z.number().int().describe(\"Device height in millimeters.\").nullable().optional(),\n \"device-height-px\": z.number().int().describe(\"Device height in pixels.\").nullable().optional(),\n \"os-version-major\": z.string().describe(\"OS major version.\").nullable().optional(),\n \"device-model-code\": z.string().describe(\"Device model code.\").nullable().optional(),\n \"device-resolution\": z.string().describe(\"Device screen resolution.\").nullable().optional(),\n \"device-pixel-ratio\": z.number().describe(\"Device pixel ratio.\").nullable().optional(),\n}).describe(\"Response model for the UA_LOOKUP action.\");\n\nexport const neutrinoUaLookup = action(\"NEUTRINO_UA_LOOKUP\", {\n slug: \"neutrino-ua-lookup\",\n name: \"UA Lookup\",\n description: \"Parse and analyze User-Agent strings to extract detailed browser, device, and operating system information. Returns device type (desktop/phone/tablet/robot), browser name and version, OS details, device specifications (brand, model, screen resolution, price), and indicators for mobile devices, webviews, and frozen User-Agents. Supports both traditional UA strings and modern User-Agent Client Hints.\",\n input: NeutrinoUaLookupInput,\n output: NeutrinoUaLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;CACtM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS;AAC/Q,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBA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|
+
|
|
3
|
+
//#region src/actions/ua-lookup.d.ts
|
|
4
|
+
declare const NeutrinoUaLookupInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoUaLookupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoUaLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoUaLookup };
|
|
9
|
+
//# sourceMappingURL=ua-lookup.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua-lookup.d.cts","names":[],"sources":["../../src/actions/ua-lookup.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGgB;AAAA,cACzC,sBAAA,EAAwB,CAAA,CAAE,UA4BgB;AAAA,cAE1C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/ua-lookup.d.ts
|
|
4
|
+
declare const NeutrinoUaLookupInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoUaLookupOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoUaLookup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoUaLookup };
|
|
9
|
+
//# sourceMappingURL=ua-lookup.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua-lookup.d.mts","names":[],"sources":["../../src/actions/ua-lookup.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGgB;AAAA,cACzC,sBAAA,EAAwB,CAAA,CAAE,UA4BgB;AAAA,cAE1C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const neutrinoUaLookup = action("NEUTRINO_UA_LOOKUP", {
|
|
4
|
+
slug: "neutrino-ua-lookup",
|
|
5
|
+
name: "UA Lookup",
|
|
6
|
+
description: "Parse and analyze User-Agent strings to extract detailed browser, device, and operating system information. Returns device type (desktop/phone/tablet/robot), browser name and version, OS details, device specifications (brand, model, screen resolution, price), and indicators for mobile devices, webviews, and frozen User-Agents. Supports both traditional UA strings and modern User-Agent Client Hints.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
ua: z.string().describe("The User-Agent string to parse and analyze. This can be a traditional UA string from HTTP headers or a browser's navigator.userAgent value. Maximum length: 2048 characters."),
|
|
9
|
+
"client-hints": z.string().describe("Optional User-Agent Client Hints data for modern browsers (Chromium 89+). Provide as comma-separated header names or JSON object with hint values. Use this when the UA string is frozen to get detailed device information.").optional()
|
|
10
|
+
}).describe("Request model for the UA_LOOKUP action."),
|
|
11
|
+
output: z.object({
|
|
12
|
+
os: z.string().describe("Operating system name and version.").nullable().optional(),
|
|
13
|
+
ua: z.string().describe("Original User-Agent string.").nullable().optional(),
|
|
14
|
+
name: z.string().describe("Browser/client name.").nullable().optional(),
|
|
15
|
+
type: z.string().describe("Device type, e.g., 'desktop', 'phone', 'tablet', 'wearable'.").nullable().optional(),
|
|
16
|
+
version: z.string().describe("Full version string.").nullable().optional(),
|
|
17
|
+
"is-mobile": z.boolean().describe("True if a mobile device."),
|
|
18
|
+
"os-family": z.string().describe("Operating system family name.").nullable().optional(),
|
|
19
|
+
"device-ppi": z.number().int().describe("Device pixels per inch.").nullable().optional(),
|
|
20
|
+
"is-current": z.boolean().describe("True if current/latest version.").nullable().optional(),
|
|
21
|
+
"is-webview": z.boolean().describe("True if embedded webview.").nullable().optional(),
|
|
22
|
+
"os-version": z.string().describe("OS version.").nullable().optional(),
|
|
23
|
+
"device-brand": z.string().describe("Brand of the device.").nullable().optional(),
|
|
24
|
+
"device-model": z.string().describe("Device model name/number.").nullable().optional(),
|
|
25
|
+
"device-price": z.number().int().describe("Device price in USD.").nullable().optional(),
|
|
26
|
+
"is-ua-frozen": z.boolean().describe("True if User-Agent string is frozen (Chromium 89+).").nullable().optional(),
|
|
27
|
+
"version-major": z.string().describe("Major version number.").nullable().optional(),
|
|
28
|
+
"browser-engine": z.string().describe("Browser engine (e.g., Blink, Gecko, WebKit).").nullable().optional(),
|
|
29
|
+
"device-release": z.string().describe("Device release date.").nullable().optional(),
|
|
30
|
+
"browser-release": z.string().describe("Browser release year.").nullable().optional(),
|
|
31
|
+
"device-width-mm": z.number().int().describe("Device width in millimeters.").nullable().optional(),
|
|
32
|
+
"device-width-px": z.number().int().describe("Device width in pixels.").nullable().optional(),
|
|
33
|
+
"device-height-mm": z.number().int().describe("Device height in millimeters.").nullable().optional(),
|
|
34
|
+
"device-height-px": z.number().int().describe("Device height in pixels.").nullable().optional(),
|
|
35
|
+
"os-version-major": z.string().describe("OS major version.").nullable().optional(),
|
|
36
|
+
"device-model-code": z.string().describe("Device model code.").nullable().optional(),
|
|
37
|
+
"device-resolution": z.string().describe("Device screen resolution.").nullable().optional(),
|
|
38
|
+
"device-pixel-ratio": z.number().describe("Device pixel ratio.").nullable().optional()
|
|
39
|
+
}).describe("Response model for the UA_LOOKUP action.")
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { neutrinoUaLookup };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=ua-lookup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ua-lookup.mjs","names":[],"sources":["../../src/actions/ua-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoUaLookupInput: z.ZodTypeAny = z.object({\n ua: z.string().describe(\"The User-Agent string to parse and analyze. This can be a traditional UA string from HTTP headers or a browser's navigator.userAgent value. Maximum length: 2048 characters.\"),\n \"client-hints\": z.string().describe(\"Optional User-Agent Client Hints data for modern browsers (Chromium 89+). Provide as comma-separated header names or JSON object with hint values. Use this when the UA string is frozen to get detailed device information.\").optional(),\n}).describe(\"Request model for the UA_LOOKUP action.\");\nexport const NeutrinoUaLookupOutput: z.ZodTypeAny = z.object({\n os: z.string().describe(\"Operating system name and version.\").nullable().optional(),\n ua: z.string().describe(\"Original User-Agent string.\").nullable().optional(),\n name: z.string().describe(\"Browser/client name.\").nullable().optional(),\n type: z.string().describe(\"Device type, e.g., 'desktop', 'phone', 'tablet', 'wearable'.\").nullable().optional(),\n version: z.string().describe(\"Full version string.\").nullable().optional(),\n \"is-mobile\": z.boolean().describe(\"True if a mobile device.\"),\n \"os-family\": z.string().describe(\"Operating system family name.\").nullable().optional(),\n \"device-ppi\": z.number().int().describe(\"Device pixels per inch.\").nullable().optional(),\n \"is-current\": z.boolean().describe(\"True if current/latest version.\").nullable().optional(),\n \"is-webview\": z.boolean().describe(\"True if embedded webview.\").nullable().optional(),\n \"os-version\": z.string().describe(\"OS version.\").nullable().optional(),\n \"device-brand\": z.string().describe(\"Brand of the device.\").nullable().optional(),\n \"device-model\": z.string().describe(\"Device model name/number.\").nullable().optional(),\n \"device-price\": z.number().int().describe(\"Device price in USD.\").nullable().optional(),\n \"is-ua-frozen\": z.boolean().describe(\"True if User-Agent string is frozen (Chromium 89+).\").nullable().optional(),\n \"version-major\": z.string().describe(\"Major version number.\").nullable().optional(),\n \"browser-engine\": z.string().describe(\"Browser engine (e.g., Blink, Gecko, WebKit).\").nullable().optional(),\n \"device-release\": z.string().describe(\"Device release date.\").nullable().optional(),\n \"browser-release\": z.string().describe(\"Browser release year.\").nullable().optional(),\n \"device-width-mm\": z.number().int().describe(\"Device width in millimeters.\").nullable().optional(),\n \"device-width-px\": z.number().int().describe(\"Device width in pixels.\").nullable().optional(),\n \"device-height-mm\": z.number().int().describe(\"Device height in millimeters.\").nullable().optional(),\n \"device-height-px\": z.number().int().describe(\"Device height in pixels.\").nullable().optional(),\n \"os-version-major\": z.string().describe(\"OS major version.\").nullable().optional(),\n \"device-model-code\": z.string().describe(\"Device model code.\").nullable().optional(),\n \"device-resolution\": z.string().describe(\"Device screen resolution.\").nullable().optional(),\n \"device-pixel-ratio\": z.number().describe(\"Device pixel ratio.\").nullable().optional(),\n}).describe(\"Response model for the UA_LOOKUP action.\");\n\nexport const neutrinoUaLookup = action(\"NEUTRINO_UA_LOOKUP\", {\n slug: \"neutrino-ua-lookup\",\n name: \"UA Lookup\",\n description: \"Parse and analyze User-Agent strings to extract detailed browser, device, and operating system information. Returns device type (desktop/phone/tablet/robot), browser name and version, OS details, device specifications (brand, model, screen resolution, price), and indicators for mobile devices, webviews, and frozen User-Agents. Supports both traditional UA strings and modern User-Agent Client Hints.\",\n input: NeutrinoUaLookupInput,\n output: NeutrinoUaLookupOutput,\n});\n"],"mappings":";;AAsCA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;EACtM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS;CAC/Q,CAAC,CAAC,CAAC,SAAS,yCAmCH;CACP,QAnCkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,MAAM,EA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B,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/url-info.ts
|
|
4
|
+
const NeutrinoUrlInfoInput = zod.z.object({
|
|
5
|
+
url: zod.z.string().describe("The URL to analyze"),
|
|
6
|
+
"fetch-content": zod.z.boolean().default(false).describe("If true, fetch and return the full content of the URL").optional()
|
|
7
|
+
}).describe("Request model for URL info action.");
|
|
8
|
+
const NeutrinoUrlInfoOutput = zod.z.object({
|
|
9
|
+
url: zod.z.string().describe("The fully qualified URL (may differ if redirected)"),
|
|
10
|
+
real: zod.z.boolean().describe("True if the URL is actively serving content"),
|
|
11
|
+
query: zod.z.object({}).describe("Key-value map of URL query parameters"),
|
|
12
|
+
title: zod.z.string().describe("The document's title/heading text").nullable().optional(),
|
|
13
|
+
valid: zod.z.boolean().describe("True if the URL is properly formatted"),
|
|
14
|
+
content: zod.z.string().describe("Response body content (populated with fetch-content option)"),
|
|
15
|
+
"http-ok": zod.z.boolean().describe("True if HTTP 200 status was received"),
|
|
16
|
+
"is-error": zod.z.boolean().describe("True if errors occurred during URL loading (network, TLS, timeout)"),
|
|
17
|
+
"url-path": zod.z.string().describe("The URL's path component"),
|
|
18
|
+
"url-port": zod.z.number().int().describe("Port number for connection"),
|
|
19
|
+
"load-time": zod.z.number().describe("Duration in seconds to retrieve content"),
|
|
20
|
+
"server-ip": zod.z.string().describe("Hosting server's IP address").nullable().optional(),
|
|
21
|
+
"is-timeout": zod.z.boolean().describe("True if loading exceeded timeout threshold"),
|
|
22
|
+
"http-status": zod.z.number().int().describe("HTTP response code (0 indicates network issue)"),
|
|
23
|
+
"server-city": zod.z.string().describe("City name from IP location data").nullable().optional(),
|
|
24
|
+
"server-name": zod.z.string().describe("Server software identification").nullable().optional(),
|
|
25
|
+
"content-size": zod.z.number().int().describe("Response size in bytes"),
|
|
26
|
+
"content-type": zod.z.string().describe("MIME type served by the URL").nullable().optional(),
|
|
27
|
+
"url-protocol": zod.z.string().describe("Protocol type (http or https)"),
|
|
28
|
+
"http-redirect": zod.z.boolean().describe("True if URL returned HTTP redirect"),
|
|
29
|
+
"language-code": zod.z.string().describe("ISO 2-letter language code from HTML or HTTP headers").nullable().optional(),
|
|
30
|
+
"server-region": zod.z.string().describe("Region/state name from IP location data").nullable().optional(),
|
|
31
|
+
"server-country": zod.z.string().describe("Full country name from IP geolocation").nullable().optional(),
|
|
32
|
+
"server-hostname": zod.z.string().describe("Server's hostname from PTR record").nullable().optional(),
|
|
33
|
+
"content-encoding": zod.z.string().describe("Compression/encoding format used").nullable().optional(),
|
|
34
|
+
"http-status-message": zod.z.string().describe("Text description of HTTP status code"),
|
|
35
|
+
"server-country-code": zod.z.string().describe("ISO 2-letter country code from IP location").nullable().optional()
|
|
36
|
+
}).describe("Response model for URL info action.");
|
|
37
|
+
const neutrinoUrlInfo = require_action.action("NEUTRINO_URL_INFO", {
|
|
38
|
+
slug: "neutrino-url-info",
|
|
39
|
+
name: "URL Info",
|
|
40
|
+
description: "Tool to parse, analyze, and retrieve content from the supplied URL. Use when you need detailed URL metadata or to fetch page content.",
|
|
41
|
+
input: NeutrinoUrlInfoInput,
|
|
42
|
+
output: NeutrinoUrlInfoOutput
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
exports.neutrinoUrlInfo = neutrinoUrlInfo;
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=url-info.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-info.cjs","names":["z","action"],"sources":["../../src/actions/url-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NeutrinoUrlInfoInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The URL to analyze\"),\n \"fetch-content\": z.boolean().default(false).describe(\"If true, fetch and return the full content of the URL\").optional(),\n}).describe(\"Request model for URL info action.\");\nexport const NeutrinoUrlInfoOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The fully qualified URL (may differ if redirected)\"),\n real: z.boolean().describe(\"True if the URL is actively serving content\"),\n query: z.object({}).describe(\"Key-value map of URL query parameters\"),\n title: z.string().describe(\"The document's title/heading text\").nullable().optional(),\n valid: z.boolean().describe(\"True if the URL is properly formatted\"),\n content: z.string().describe(\"Response body content (populated with fetch-content option)\"),\n \"http-ok\": z.boolean().describe(\"True if HTTP 200 status was received\"),\n \"is-error\": z.boolean().describe(\"True if errors occurred during URL loading (network, TLS, timeout)\"),\n \"url-path\": z.string().describe(\"The URL's path component\"),\n \"url-port\": z.number().int().describe(\"Port number for connection\"),\n \"load-time\": z.number().describe(\"Duration in seconds to retrieve content\"),\n \"server-ip\": z.string().describe(\"Hosting server's IP address\").nullable().optional(),\n \"is-timeout\": z.boolean().describe(\"True if loading exceeded timeout threshold\"),\n \"http-status\": z.number().int().describe(\"HTTP response code (0 indicates network issue)\"),\n \"server-city\": z.string().describe(\"City name from IP location data\").nullable().optional(),\n \"server-name\": z.string().describe(\"Server software identification\").nullable().optional(),\n \"content-size\": z.number().int().describe(\"Response size in bytes\"),\n \"content-type\": z.string().describe(\"MIME type served by the URL\").nullable().optional(),\n \"url-protocol\": z.string().describe(\"Protocol type (http or https)\"),\n \"http-redirect\": z.boolean().describe(\"True if URL returned HTTP redirect\"),\n \"language-code\": z.string().describe(\"ISO 2-letter language code from HTML or HTTP headers\").nullable().optional(),\n \"server-region\": z.string().describe(\"Region/state name from IP location data\").nullable().optional(),\n \"server-country\": z.string().describe(\"Full country name from IP geolocation\").nullable().optional(),\n \"server-hostname\": z.string().describe(\"Server's hostname from PTR record\").nullable().optional(),\n \"content-encoding\": z.string().describe(\"Compression/encoding format used\").nullable().optional(),\n \"http-status-message\": z.string().describe(\"Text description of HTTP status code\"),\n \"server-country-code\": z.string().describe(\"ISO 2-letter country code from IP location\").nullable().optional(),\n}).describe(\"Response model for URL info action.\");\n\nexport const neutrinoUrlInfo = action(\"NEUTRINO_URL_INFO\", {\n slug: \"neutrino-url-info\",\n name: \"URL Info\",\n description: \"Tool to parse, analyze, and retrieve content from the supplied URL. Use when you need detailed URL metadata or to fetch page content.\",\n input: NeutrinoUrlInfoInput,\n output: NeutrinoUrlInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,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AC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/url-info.d.ts
|
|
4
|
+
declare const NeutrinoUrlInfoInput: z.ZodTypeAny;
|
|
5
|
+
declare const NeutrinoUrlInfoOutput: z.ZodTypeAny;
|
|
6
|
+
declare const neutrinoUrlInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { neutrinoUrlInfo };
|
|
9
|
+
//# sourceMappingURL=url-info.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"url-info.d.cts","names":[],"sources":["../../src/actions/url-info.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGY;AAAA,cACpC,qBAAA,EAAuB,CAAA,CAAE,UA4BY;AAAA,cAErC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|