@keystrokehq/prerender 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.
Files changed (114) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/change-recache-speed.cjs +29 -0
  7. package/dist/actions/change-recache-speed.cjs.map +1 -0
  8. package/dist/actions/change-recache-speed.d.cts +9 -0
  9. package/dist/actions/change-recache-speed.d.cts.map +1 -0
  10. package/dist/actions/change-recache-speed.d.mts +9 -0
  11. package/dist/actions/change-recache-speed.d.mts.map +1 -0
  12. package/dist/actions/change-recache-speed.mjs +28 -0
  13. package/dist/actions/change-recache-speed.mjs.map +1 -0
  14. package/dist/actions/check-health.cjs +21 -0
  15. package/dist/actions/check-health.cjs.map +1 -0
  16. package/dist/actions/check-health.d.cts +9 -0
  17. package/dist/actions/check-health.d.cts.map +1 -0
  18. package/dist/actions/check-health.d.mts +9 -0
  19. package/dist/actions/check-health.d.mts.map +1 -0
  20. package/dist/actions/check-health.mjs +18 -0
  21. package/dist/actions/check-health.mjs.map +1 -0
  22. package/dist/actions/clear-cache.cjs +16 -0
  23. package/dist/actions/clear-cache.cjs.map +1 -0
  24. package/dist/actions/clear-cache.d.cts +9 -0
  25. package/dist/actions/clear-cache.d.cts.map +1 -0
  26. package/dist/actions/clear-cache.d.mts +9 -0
  27. package/dist/actions/clear-cache.d.mts.map +1 -0
  28. package/dist/actions/clear-cache.mjs +13 -0
  29. package/dist/actions/clear-cache.mjs.map +1 -0
  30. package/dist/actions/create-seo-audit-report.cjs +21 -0
  31. package/dist/actions/create-seo-audit-report.cjs.map +1 -0
  32. package/dist/actions/create-seo-audit-report.d.cts +9 -0
  33. package/dist/actions/create-seo-audit-report.d.cts.map +1 -0
  34. package/dist/actions/create-seo-audit-report.d.mts +9 -0
  35. package/dist/actions/create-seo-audit-report.d.mts.map +1 -0
  36. package/dist/actions/create-seo-audit-report.mjs +18 -0
  37. package/dist/actions/create-seo-audit-report.mjs.map +1 -0
  38. package/dist/actions/get-cache-clear-status.cjs +16 -0
  39. package/dist/actions/get-cache-clear-status.cjs.map +1 -0
  40. package/dist/actions/get-cache-clear-status.d.cts +9 -0
  41. package/dist/actions/get-cache-clear-status.d.cts.map +1 -0
  42. package/dist/actions/get-cache-clear-status.d.mts +9 -0
  43. package/dist/actions/get-cache-clear-status.d.mts.map +1 -0
  44. package/dist/actions/get-cache-clear-status.mjs +13 -0
  45. package/dist/actions/get-cache-clear-status.mjs.map +1 -0
  46. package/dist/actions/get-prerendered-page.cjs +16 -0
  47. package/dist/actions/get-prerendered-page.cjs.map +1 -0
  48. package/dist/actions/get-prerendered-page.d.cts +9 -0
  49. package/dist/actions/get-prerendered-page.d.cts.map +1 -0
  50. package/dist/actions/get-prerendered-page.d.mts +9 -0
  51. package/dist/actions/get-prerendered-page.d.mts.map +1 -0
  52. package/dist/actions/get-prerendered-page.mjs +13 -0
  53. package/dist/actions/get-prerendered-page.mjs.map +1 -0
  54. package/dist/actions/index.cjs +21 -0
  55. package/dist/actions/index.d.cts +11 -0
  56. package/dist/actions/index.d.mts +11 -0
  57. package/dist/actions/index.mjs +11 -0
  58. package/dist/actions/list-healthz.cjs +16 -0
  59. package/dist/actions/list-healthz.cjs.map +1 -0
  60. package/dist/actions/list-healthz.d.cts +9 -0
  61. package/dist/actions/list-healthz.d.cts.map +1 -0
  62. package/dist/actions/list-healthz.d.mts +9 -0
  63. package/dist/actions/list-healthz.d.mts.map +1 -0
  64. package/dist/actions/list-healthz.mjs +13 -0
  65. package/dist/actions/list-healthz.mjs.map +1 -0
  66. package/dist/actions/list-v3.cjs +16 -0
  67. package/dist/actions/list-v3.cjs.map +1 -0
  68. package/dist/actions/list-v3.d.cts +9 -0
  69. package/dist/actions/list-v3.d.cts.map +1 -0
  70. package/dist/actions/list-v3.d.mts +9 -0
  71. package/dist/actions/list-v3.d.mts.map +1 -0
  72. package/dist/actions/list-v3.mjs +13 -0
  73. package/dist/actions/list-v3.mjs.map +1 -0
  74. package/dist/actions/recache-url.cjs +23 -0
  75. package/dist/actions/recache-url.cjs.map +1 -0
  76. package/dist/actions/recache-url.d.cts +9 -0
  77. package/dist/actions/recache-url.d.cts.map +1 -0
  78. package/dist/actions/recache-url.d.mts +9 -0
  79. package/dist/actions/recache-url.d.mts.map +1 -0
  80. package/dist/actions/recache-url.mjs +20 -0
  81. package/dist/actions/recache-url.mjs.map +1 -0
  82. package/dist/actions/search-cached-urls.cjs +29 -0
  83. package/dist/actions/search-cached-urls.cjs.map +1 -0
  84. package/dist/actions/search-cached-urls.d.cts +9 -0
  85. package/dist/actions/search-cached-urls.d.cts.map +1 -0
  86. package/dist/actions/search-cached-urls.d.mts +9 -0
  87. package/dist/actions/search-cached-urls.d.mts.map +1 -0
  88. package/dist/actions/search-cached-urls.mjs +28 -0
  89. package/dist/actions/search-cached-urls.mjs.map +1 -0
  90. package/dist/app.cjs +9 -0
  91. package/dist/app.cjs.map +1 -0
  92. package/dist/app.d.cts +5 -0
  93. package/dist/app.d.cts.map +1 -0
  94. package/dist/app.d.mts +5 -0
  95. package/dist/app.d.mts.map +1 -0
  96. package/dist/app.mjs +10 -0
  97. package/dist/app.mjs.map +1 -0
  98. package/dist/catalog.cjs +15 -0
  99. package/dist/catalog.cjs.map +1 -0
  100. package/dist/catalog.d.cts +14 -0
  101. package/dist/catalog.d.cts.map +1 -0
  102. package/dist/catalog.d.mts +14 -0
  103. package/dist/catalog.d.mts.map +1 -0
  104. package/dist/catalog.mjs +15 -0
  105. package/dist/catalog.mjs.map +1 -0
  106. package/dist/execute.cjs +18 -0
  107. package/dist/execute.cjs.map +1 -0
  108. package/dist/execute.mjs +18 -0
  109. package/dist/execute.mjs.map +1 -0
  110. package/dist/index.cjs +26 -0
  111. package/dist/index.d.cts +13 -0
  112. package/dist/index.d.mts +13 -0
  113. package/dist/index.mjs +14 -0
  114. package/package.json +49 -0
@@ -0,0 +1,21 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_change_recache_speed = require("./change-recache-speed.cjs");
3
+ const require_check_health = require("./check-health.cjs");
4
+ const require_clear_cache = require("./clear-cache.cjs");
5
+ const require_create_seo_audit_report = require("./create-seo-audit-report.cjs");
6
+ const require_get_cache_clear_status = require("./get-cache-clear-status.cjs");
7
+ const require_get_prerendered_page = require("./get-prerendered-page.cjs");
8
+ const require_list_healthz = require("./list-healthz.cjs");
9
+ const require_list_v3 = require("./list-v3.cjs");
10
+ const require_recache_url = require("./recache-url.cjs");
11
+ const require_search_cached_urls = require("./search-cached-urls.cjs");
12
+ exports.prerenderChangeRecacheSpeed = require_change_recache_speed.prerenderChangeRecacheSpeed;
13
+ exports.prerenderCheckHealth = require_check_health.prerenderCheckHealth;
14
+ exports.prerenderClearCache = require_clear_cache.prerenderClearCache;
15
+ exports.prerenderCreateSeoAuditReport = require_create_seo_audit_report.prerenderCreateSeoAuditReport;
16
+ exports.prerenderGetCacheClearStatus = require_get_cache_clear_status.prerenderGetCacheClearStatus;
17
+ exports.prerenderGetPrerenderedPage = require_get_prerendered_page.prerenderGetPrerenderedPage;
18
+ exports.prerenderListHealthz = require_list_healthz.prerenderListHealthz;
19
+ exports.prerenderListV3 = require_list_v3.prerenderListV3;
20
+ exports.prerenderRecacheUrl = require_recache_url.prerenderRecacheUrl;
21
+ exports.prerenderSearchCachedUrls = require_search_cached_urls.prerenderSearchCachedUrls;
@@ -0,0 +1,11 @@
1
+ import { prerenderChangeRecacheSpeed } from "./change-recache-speed.cjs";
2
+ import { prerenderCheckHealth } from "./check-health.cjs";
3
+ import { prerenderClearCache } from "./clear-cache.cjs";
4
+ import { prerenderCreateSeoAuditReport } from "./create-seo-audit-report.cjs";
5
+ import { prerenderGetCacheClearStatus } from "./get-cache-clear-status.cjs";
6
+ import { prerenderGetPrerenderedPage } from "./get-prerendered-page.cjs";
7
+ import { prerenderListHealthz } from "./list-healthz.cjs";
8
+ import { prerenderListV3 } from "./list-v3.cjs";
9
+ import { prerenderRecacheUrl } from "./recache-url.cjs";
10
+ import { prerenderSearchCachedUrls } from "./search-cached-urls.cjs";
11
+ export { prerenderChangeRecacheSpeed, prerenderCheckHealth, prerenderClearCache, prerenderCreateSeoAuditReport, prerenderGetCacheClearStatus, prerenderGetPrerenderedPage, prerenderListHealthz, prerenderListV3, prerenderRecacheUrl, prerenderSearchCachedUrls };
@@ -0,0 +1,11 @@
1
+ import { prerenderChangeRecacheSpeed } from "./change-recache-speed.mjs";
2
+ import { prerenderCheckHealth } from "./check-health.mjs";
3
+ import { prerenderClearCache } from "./clear-cache.mjs";
4
+ import { prerenderCreateSeoAuditReport } from "./create-seo-audit-report.mjs";
5
+ import { prerenderGetCacheClearStatus } from "./get-cache-clear-status.mjs";
6
+ import { prerenderGetPrerenderedPage } from "./get-prerendered-page.mjs";
7
+ import { prerenderListHealthz } from "./list-healthz.mjs";
8
+ import { prerenderListV3 } from "./list-v3.mjs";
9
+ import { prerenderRecacheUrl } from "./recache-url.mjs";
10
+ import { prerenderSearchCachedUrls } from "./search-cached-urls.mjs";
11
+ export { prerenderChangeRecacheSpeed, prerenderCheckHealth, prerenderClearCache, prerenderCreateSeoAuditReport, prerenderGetCacheClearStatus, prerenderGetPrerenderedPage, prerenderListHealthz, prerenderListV3, prerenderRecacheUrl, prerenderSearchCachedUrls };
@@ -0,0 +1,11 @@
1
+ import { prerenderChangeRecacheSpeed } from "./change-recache-speed.mjs";
2
+ import { prerenderCheckHealth } from "./check-health.mjs";
3
+ import { prerenderClearCache } from "./clear-cache.mjs";
4
+ import { prerenderCreateSeoAuditReport } from "./create-seo-audit-report.mjs";
5
+ import { prerenderGetCacheClearStatus } from "./get-cache-clear-status.mjs";
6
+ import { prerenderGetPrerenderedPage } from "./get-prerendered-page.mjs";
7
+ import { prerenderListHealthz } from "./list-healthz.mjs";
8
+ import { prerenderListV3 } from "./list-v3.mjs";
9
+ import { prerenderRecacheUrl } from "./recache-url.mjs";
10
+ import { prerenderSearchCachedUrls } from "./search-cached-urls.mjs";
11
+ export { prerenderChangeRecacheSpeed, prerenderCheckHealth, prerenderClearCache, prerenderCreateSeoAuditReport, prerenderGetCacheClearStatus, prerenderGetPrerenderedPage, prerenderListHealthz, prerenderListV3, prerenderRecacheUrl, prerenderSearchCachedUrls };
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-healthz.ts
4
+ const PrerenderListHealthzInput = zod.z.object({}).describe("Request model for health check endpoint.");
5
+ const PrerenderListHealthzOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the Prerender API is available and healthy.") }).describe("Response model containing health check status.");
6
+ const prerenderListHealthz = require_action.action("PRERENDER_LIST_HEALTHZ", {
7
+ slug: "prerender-list-healthz",
8
+ name: "List Healthz",
9
+ description: "Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.",
10
+ input: PrerenderListHealthzInput,
11
+ output: PrerenderListHealthzOutput
12
+ });
13
+ //#endregion
14
+ exports.prerenderListHealthz = prerenderListHealthz;
15
+
16
+ //# sourceMappingURL=list-healthz.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-healthz.cjs","names":["z","action"],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput: z.ZodTypeAny = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\"),\n}).describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACvH,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/list-healthz.d.ts
4
+ declare const PrerenderListHealthzInput: z.ZodTypeAny;
5
+ declare const PrerenderListHealthzOutput: z.ZodTypeAny;
6
+ declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderListHealthz };
9
+ //# sourceMappingURL=list-healthz.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-healthz.d.cts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAA8E;AAAA,cAC3G,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-healthz.d.ts
4
+ declare const PrerenderListHealthzInput: z.ZodTypeAny;
5
+ declare const PrerenderListHealthzOutput: z.ZodTypeAny;
6
+ declare const prerenderListHealthz: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderListHealthz };
9
+ //# sourceMappingURL=list-healthz.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-healthz.d.mts","names":[],"sources":["../../src/actions/list-healthz.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAA8E;AAAA,cAC3G,0BAAA,EAA4B,CAAA,CAAE,UAEkB;AAAA,cAEhD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const prerenderListHealthz = action("PRERENDER_LIST_HEALTHZ", {
4
+ slug: "prerender-list-healthz",
5
+ name: "List Healthz",
6
+ description: "Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.",
7
+ input: z.object({}).describe("Request model for health check endpoint."),
8
+ output: z.object({ success: z.boolean().describe("Indicates whether the Prerender API is available and healthy.") }).describe("Response model containing health check status.")
9
+ });
10
+ //#endregion
11
+ export { prerenderListHealthz };
12
+
13
+ //# sourceMappingURL=list-healthz.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-healthz.mjs","names":[],"sources":["../../src/actions/list-healthz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListHealthzInput: z.ZodTypeAny = z.object({}).describe(\"Request model for health check endpoint.\");\nexport const PrerenderListHealthzOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the Prerender API is available and healthy.\"),\n}).describe(\"Response model containing health check status.\");\n\nexport const prerenderListHealthz = action(\"PRERENDER_LIST_HEALTHZ\", {\n slug: \"prerender-list-healthz\",\n name: \"List Healthz\",\n description: \"Tool to check Prerender API health and availability. Use when you need to verify the API is operational before making requests.\",\n input: PrerenderListHealthzInput,\n output: PrerenderListHealthzOutput,\n});\n"],"mappings":";;AASA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CASpE;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,EAC/F,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-v3.ts
4
+ const PrerenderListV3Input = zod.z.object({}).describe("Request model for GET /v3 endpoint - no parameters required.");
5
+ const PrerenderListV3Output = zod.z.object({ message: zod.z.string().describe("Greeting message returned by the API endpoint.") }).describe("Response model containing the greeting message from the API.");
6
+ const prerenderListV3 = require_action.action("PRERENDER_LIST_V3", {
7
+ slug: "prerender-list-v3",
8
+ name: "List V3",
9
+ description: "Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.",
10
+ input: PrerenderListV3Input,
11
+ output: PrerenderListV3Output
12
+ });
13
+ //#endregion
14
+ exports.prerenderListV3 = prerenderListV3;
15
+
16
+ //# sourceMappingURL=list-v3.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-v3.cjs","names":["z","action"],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\"),\n}).describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACtI,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,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/list-v3.d.ts
4
+ declare const PrerenderListV3Input: z.ZodTypeAny;
5
+ declare const PrerenderListV3Output: z.ZodTypeAny;
6
+ declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderListV3 };
9
+ //# sourceMappingURL=list-v3.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-v3.d.cts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAAkG;AAAA,cAC1H,qBAAA,EAAuB,CAAA,CAAE,UAEqC;AAAA,cAE9D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-v3.d.ts
4
+ declare const PrerenderListV3Input: z.ZodTypeAny;
5
+ declare const PrerenderListV3Output: z.ZodTypeAny;
6
+ declare const prerenderListV3: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderListV3 };
9
+ //# sourceMappingURL=list-v3.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-v3.d.mts","names":[],"sources":["../../src/actions/list-v3.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAAkG;AAAA,cAC1H,qBAAA,EAAuB,CAAA,CAAE,UAEqC;AAAA,cAE9D,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const prerenderListV3 = action("PRERENDER_LIST_V3", {
4
+ slug: "prerender-list-v3",
5
+ name: "List V3",
6
+ description: "Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.",
7
+ input: z.object({}).describe("Request model for GET /v3 endpoint - no parameters required."),
8
+ output: z.object({ message: z.string().describe("Greeting message returned by the API endpoint.") }).describe("Response model containing the greeting message from the API.")
9
+ });
10
+ //#endregion
11
+ export { prerenderListV3 };
12
+
13
+ //# sourceMappingURL=list-v3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-v3.mjs","names":[],"sources":["../../src/actions/list-v3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderListV3Input: z.ZodTypeAny = z.object({}).describe(\"Request model for GET /v3 endpoint - no parameters required.\");\nexport const PrerenderListV3Output: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Greeting message returned by the API endpoint.\"),\n}).describe(\"Response model containing the greeting message from the API.\");\n\nexport const prerenderListV3 = action(\"PRERENDER_LIST_V3\", {\n slug: \"prerender-list-v3\",\n name: \"List V3\",\n description: \"Tool to get a greeting message from the Prerender API. Use when you need to verify basic API connectivity or retrieve the hello message.\",\n input: PrerenderListV3Input,\n output: PrerenderListV3Output,\n});\n"],"mappings":";;AASA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAS/D;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/recache-url.ts
4
+ const PrerenderRecacheUrlInput = zod.z.object({
5
+ url: zod.z.string().describe("Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.").optional(),
6
+ urls: zod.z.array(zod.z.string()).describe("Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.").optional(),
7
+ adaptive_type: zod.z.enum(["desktop", "mobile"]).describe("Rendering device type for caching.").optional()
8
+ }).describe("Request model for caching or recaching URLs.");
9
+ const PrerenderRecacheUrlOutput = zod.z.object({
10
+ message: zod.z.string().describe("Response message from the API. Typically indicates that the recache operation has been queued successfully."),
11
+ status_code: zod.z.number().int().describe("HTTP status code from the recache request. 200 indicates success.")
12
+ }).describe("Response model for recache operation.");
13
+ const prerenderRecacheUrl = require_action.action("PRERENDER_RECACHE_URL", {
14
+ slug: "prerender-recache-url",
15
+ name: "Recache URL",
16
+ description: "Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).",
17
+ input: PrerenderRecacheUrlInput,
18
+ output: PrerenderRecacheUrlOutput
19
+ });
20
+ //#endregion
21
+ exports.prerenderRecacheUrl = prerenderRecacheUrl;
22
+
23
+ //# sourceMappingURL=recache-url.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recache-url.cjs","names":["z","action"],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\"),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\"),\n}).describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CAC/N,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;CACvR,eAAeA,IAAAA,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;AAC5G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/recache-url.d.ts
4
+ declare const PrerenderRecacheUrlInput: z.ZodTypeAny;
5
+ declare const PrerenderRecacheUrlOutput: z.ZodTypeAny;
6
+ declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderRecacheUrl };
9
+ //# sourceMappingURL=recache-url.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recache-url.d.cts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIkB;AAAA,cAC9C,yBAAA,EAA2B,CAAA,CAAE,UAGU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/recache-url.d.ts
4
+ declare const PrerenderRecacheUrlInput: z.ZodTypeAny;
5
+ declare const PrerenderRecacheUrlOutput: z.ZodTypeAny;
6
+ declare const prerenderRecacheUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderRecacheUrl };
9
+ //# sourceMappingURL=recache-url.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recache-url.d.mts","names":[],"sources":["../../src/actions/recache-url.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIkB;AAAA,cAC9C,yBAAA,EAA2B,CAAA,CAAE,UAGU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const prerenderRecacheUrl = action("PRERENDER_RECACHE_URL", {
4
+ slug: "prerender-recache-url",
5
+ name: "Recache URL",
6
+ description: "Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).",
7
+ input: z.object({
8
+ url: z.string().describe("Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.").optional(),
9
+ urls: z.array(z.string()).describe("Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.").optional(),
10
+ adaptive_type: z.enum(["desktop", "mobile"]).describe("Rendering device type for caching.").optional()
11
+ }).describe("Request model for caching or recaching URLs."),
12
+ output: z.object({
13
+ message: z.string().describe("Response message from the API. Typically indicates that the recache operation has been queued successfully."),
14
+ status_code: z.number().int().describe("HTTP status code from the recache request. 200 indicates success.")
15
+ }).describe("Response model for recache operation.")
16
+ });
17
+ //#endregion
18
+ export { prerenderRecacheUrl };
19
+
20
+ //# sourceMappingURL=recache-url.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recache-url.mjs","names":[],"sources":["../../src/actions/recache-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderRecacheUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Single URL to cache or recache. Include scheme (http/https). Use this parameter for a single URL, or use 'urls' for multiple URLs. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n urls: z.array(z.string()).describe(\"Array of URLs to cache or recache. Maximum 1000 URLs per request. Include scheme (http/https) for each URL. Use this parameter for multiple URLs, or use 'url' for a single URL. Either 'url' or 'urls' must be provided, but not both.\").optional(),\n adaptive_type: z.enum([\"desktop\", \"mobile\"]).describe(\"Rendering device type for caching.\").optional(),\n}).describe(\"Request model for caching or recaching URLs.\");\nexport const PrerenderRecacheUrlOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Response message from the API. Typically indicates that the recache operation has been queued successfully.\"),\n status_code: z.number().int().describe(\"HTTP status code from the recache request. 200 indicates success.\"),\n}).describe(\"Response model for recache operation.\");\n\nexport const prerenderRecacheUrl = action(\"PRERENDER_RECACHE_URL\", {\n slug: \"prerender-recache-url\",\n name: \"Recache URL\",\n description: \"Tool to cache or recache URLs in Prerender. Use when you need to refresh cached pages or cache new URLs. Supports single URL or batch operations (up to 1000 URLs).\",\n input: PrerenderRecacheUrlInput,\n output: PrerenderRecacheUrlOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdoD,EAAE,OAAO;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;EAC/N,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yOAAyO,CAAC,CAAC,SAAS;EACvR,eAAe,EAAE,KAAK,CAAC,WAAW,QAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE;CAC5G,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/search-cached-urls.ts
4
+ const PrerenderSearchCachedUrlsInput = zod.z.object({
5
+ query: zod.z.string().describe("Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.").optional(),
6
+ start: zod.z.number().int().describe("Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.").optional(),
7
+ exact_match: zod.z.string().describe("Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.").optional(),
8
+ adaptive_type: zod.z.enum(["mobile", "desktop"]).describe("Type of adaptive rendering for cached pages.").optional()
9
+ }).describe("Request model for searching cached URLs in your Prerender account.");
10
+ const PrerenderSearchCachedUrls_CachedUrlSchema = zod.z.object({
11
+ url: zod.z.string().describe("The cached URL").nullable().optional(),
12
+ domain: zod.z.string().describe("Domain of the cached URL").nullable().optional(),
13
+ cache_state: zod.z.string().describe("Current state of the cache for this URL").nullable().optional(),
14
+ last_refresh: zod.z.string().describe("Timestamp of when the cache was last refreshed").nullable().optional(),
15
+ adaptive_type: zod.z.string().describe("Adaptive type: 'mobile' or 'desktop'").nullable().optional(),
16
+ requested_recache_at: zod.z.string().describe("Timestamp of when a recache was last requested").nullable().optional()
17
+ }).describe("Details about a cached URL.");
18
+ const PrerenderSearchCachedUrlsOutput = zod.z.object({ cached_urls: zod.z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe("List of cached URLs matching the search criteria. Returns up to 200 URLs per page.").nullable().optional() }).describe("Response model containing list of cached URLs.");
19
+ const prerenderSearchCachedUrls = require_action.action("PRERENDER_SEARCH_CACHED_URLS", {
20
+ slug: "prerender-search-cached-urls",
21
+ name: "Search Cached URLs",
22
+ description: "Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.",
23
+ input: PrerenderSearchCachedUrlsInput,
24
+ output: PrerenderSearchCachedUrlsOutput
25
+ });
26
+ //#endregion
27
+ exports.prerenderSearchCachedUrls = prerenderSearchCachedUrls;
28
+
29
+ //# sourceMappingURL=search-cached-urls.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-cached-urls.cjs","names":["z","action"],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAeA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/search-cached-urls.d.ts
4
+ declare const PrerenderSearchCachedUrlsInput: z.ZodTypeAny;
5
+ declare const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny;
6
+ declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderSearchCachedUrls };
9
+ //# sourceMappingURL=search-cached-urls.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-cached-urls.d.cts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKkC;AAAA,cASpE,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/search-cached-urls.d.ts
4
+ declare const PrerenderSearchCachedUrlsInput: z.ZodTypeAny;
5
+ declare const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny;
6
+ declare const prerenderSearchCachedUrls: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { prerenderSearchCachedUrls };
9
+ //# sourceMappingURL=search-cached-urls.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-cached-urls.d.mts","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAKkC;AAAA,cASpE,+BAAA,EAAiC,CAAA,CAAE,UAEa;AAAA,cAEhD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/search-cached-urls.ts
4
+ const PrerenderSearchCachedUrlsInput = z.object({
5
+ query: z.string().describe("Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.").optional(),
6
+ start: z.number().int().describe("Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.").optional(),
7
+ exact_match: z.string().describe("Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.").optional(),
8
+ adaptive_type: z.enum(["mobile", "desktop"]).describe("Type of adaptive rendering for cached pages.").optional()
9
+ }).describe("Request model for searching cached URLs in your Prerender account.");
10
+ const PrerenderSearchCachedUrls_CachedUrlSchema = z.object({
11
+ url: z.string().describe("The cached URL").nullable().optional(),
12
+ domain: z.string().describe("Domain of the cached URL").nullable().optional(),
13
+ cache_state: z.string().describe("Current state of the cache for this URL").nullable().optional(),
14
+ last_refresh: z.string().describe("Timestamp of when the cache was last refreshed").nullable().optional(),
15
+ adaptive_type: z.string().describe("Adaptive type: 'mobile' or 'desktop'").nullable().optional(),
16
+ requested_recache_at: z.string().describe("Timestamp of when a recache was last requested").nullable().optional()
17
+ }).describe("Details about a cached URL.");
18
+ const prerenderSearchCachedUrls = action("PRERENDER_SEARCH_CACHED_URLS", {
19
+ slug: "prerender-search-cached-urls",
20
+ name: "Search Cached URLs",
21
+ description: "Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.",
22
+ input: PrerenderSearchCachedUrlsInput,
23
+ output: z.object({ cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe("List of cached URLs matching the search criteria. Returns up to 200 URLs per page.").nullable().optional() }).describe("Response model containing list of cached URLs.")
24
+ });
25
+ //#endregion
26
+ export { prerenderSearchCachedUrls };
27
+
28
+ //# sourceMappingURL=search-cached-urls.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-cached-urls.mjs","names":[],"sources":["../../src/actions/search-cached-urls.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PrerenderSearchCachedUrlsInput: z.ZodTypeAny = z.object({\n query: z.string().describe(\"Performs a 'contains' query on URLs. Searches for URLs containing this string. If both query and exact_match are provided, only exact_match is used.\").optional(),\n start: z.number().int().describe(\"Pagination offset. Search returns 200 URLs per page. Use 0 for first page, 200 for second page, 400 for third page, etc.\").optional(),\n exact_match: z.string().describe(\"Returns results where the URL is fully identical to this value. Takes precedence over query parameter if both are provided.\").optional(),\n adaptive_type: z.enum([\"mobile\", \"desktop\"]).describe(\"Type of adaptive rendering for cached pages.\").optional(),\n}).describe(\"Request model for searching cached URLs in your Prerender account.\");\nconst PrerenderSearchCachedUrls_CachedUrlSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"The cached URL\").nullable().optional(),\n domain: z.string().describe(\"Domain of the cached URL\").nullable().optional(),\n cache_state: z.string().describe(\"Current state of the cache for this URL\").nullable().optional(),\n last_refresh: z.string().describe(\"Timestamp of when the cache was last refreshed\").nullable().optional(),\n adaptive_type: z.string().describe(\"Adaptive type: 'mobile' or 'desktop'\").nullable().optional(),\n requested_recache_at: z.string().describe(\"Timestamp of when a recache was last requested\").nullable().optional(),\n}).describe(\"Details about a cached URL.\");\nexport const PrerenderSearchCachedUrlsOutput: z.ZodTypeAny = z.object({\n cached_urls: z.array(PrerenderSearchCachedUrls_CachedUrlSchema).describe(\"List of cached URLs matching the search criteria. Returns up to 200 URLs per page.\").nullable().optional(),\n}).describe(\"Response model containing list of cached URLs.\");\n\nexport const prerenderSearchCachedUrls = action(\"PRERENDER_SEARCH_CACHED_URLS\", {\n slug: \"prerender-search-cached-urls\",\n name: \"Search Cached URLs\",\n description: \"Tool to search for cached URLs in your Prerender account and view their cache status. Supports pagination (200 URLs per page) and filtering by desktop/mobile adaptive type. Use when you need to find specific cached pages or check cache status across your account.\",\n input: PrerenderSearchCachedUrlsInput,\n output: PrerenderSearchCachedUrlsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACzK,eAAe,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAKzC,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrL,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const prerender = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "prerender",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.prerender = prerender;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const prerender = defineApp({\n slug: \"prerender\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const prerender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { prerender };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const prerender: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { prerender };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const prerender = defineApp({
4
+ slug: "prerender",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { prerender };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const prerender = defineApp({\n slug: \"prerender\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const prerenderCatalog = {
4
+ "slug": "prerender",
5
+ "name": "Prerender",
6
+ "description": "Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/prerender",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.prerenderCatalog = prerenderCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prerenderCatalog = {\n \"slug\": \"prerender\",\n \"name\": \"Prerender\",\n \"description\": \"Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/prerender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const prerenderCatalog: {
4
+ readonly slug: "prerender";
5
+ readonly name: "Prerender";
6
+ readonly description: "Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/prerender";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { prerenderCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const prerenderCatalog: {
4
+ readonly slug: "prerender";
5
+ readonly name: "Prerender";
6
+ readonly description: "Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/prerender";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { prerenderCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const prerenderCatalog = {
4
+ "slug": "prerender",
5
+ "name": "Prerender",
6
+ "description": "Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/prerender",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { prerenderCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const prerenderCatalog = {\n \"slug\": \"prerender\",\n \"name\": \"Prerender\",\n \"description\": \"Prerender.io is a service that pre-renders JavaScript-heavy websites to improve SEO by serving static HTML versions to search engine crawlers.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/prerender\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "prerender";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executePrerenderTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executePrerenderTool = executePrerenderTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"prerender\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePrerenderTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "prerender";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executePrerenderTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executePrerenderTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"prerender\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePrerenderTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}