@keystrokehq/openweather_api 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-weather-station.cjs +1 -0
  4. package/dist/actions/delete-weather-station.cjs.map +1 -1
  5. package/dist/actions/delete-weather-station.d.cts +3 -3
  6. package/dist/actions/delete-weather-station.d.cts.map +1 -1
  7. package/dist/actions/delete-weather-station.d.mts +3 -3
  8. package/dist/actions/delete-weather-station.d.mts.map +1 -1
  9. package/dist/actions/delete-weather-station.mjs +1 -0
  10. package/dist/actions/delete-weather-station.mjs.map +1 -1
  11. package/dist/actions/get-air-pollution-current.cjs +1 -0
  12. package/dist/actions/get-air-pollution-current.cjs.map +1 -1
  13. package/dist/actions/get-air-pollution-current.d.cts +3 -4
  14. package/dist/actions/get-air-pollution-current.d.cts.map +1 -1
  15. package/dist/actions/get-air-pollution-current.d.mts +3 -4
  16. package/dist/actions/get-air-pollution-current.d.mts.map +1 -1
  17. package/dist/actions/get-air-pollution-current.mjs +1 -0
  18. package/dist/actions/get-air-pollution-current.mjs.map +1 -1
  19. package/dist/actions/get-air-pollution-forecast.cjs +1 -0
  20. package/dist/actions/get-air-pollution-forecast.cjs.map +1 -1
  21. package/dist/actions/get-air-pollution-forecast.d.cts +3 -4
  22. package/dist/actions/get-air-pollution-forecast.d.cts.map +1 -1
  23. package/dist/actions/get-air-pollution-forecast.d.mts +3 -4
  24. package/dist/actions/get-air-pollution-forecast.d.mts.map +1 -1
  25. package/dist/actions/get-air-pollution-forecast.mjs +1 -0
  26. package/dist/actions/get-air-pollution-forecast.mjs.map +1 -1
  27. package/dist/actions/get-air-pollution-history.cjs +1 -0
  28. package/dist/actions/get-air-pollution-history.cjs.map +1 -1
  29. package/dist/actions/get-air-pollution-history.d.cts +3 -6
  30. package/dist/actions/get-air-pollution-history.d.cts.map +1 -1
  31. package/dist/actions/get-air-pollution-history.d.mts +3 -6
  32. package/dist/actions/get-air-pollution-history.d.mts.map +1 -1
  33. package/dist/actions/get-air-pollution-history.mjs +1 -0
  34. package/dist/actions/get-air-pollution-history.mjs.map +1 -1
  35. package/dist/actions/get-circle-city-weather.cjs +1 -0
  36. package/dist/actions/get-circle-city-weather.cjs.map +1 -1
  37. package/dist/actions/get-circle-city-weather.d.cts +3 -8
  38. package/dist/actions/get-circle-city-weather.d.cts.map +1 -1
  39. package/dist/actions/get-circle-city-weather.d.mts +3 -8
  40. package/dist/actions/get-circle-city-weather.d.mts.map +1 -1
  41. package/dist/actions/get-circle-city-weather.mjs +1 -0
  42. package/dist/actions/get-circle-city-weather.mjs.map +1 -1
  43. package/dist/actions/get-current-weather.cjs +1 -0
  44. package/dist/actions/get-current-weather.cjs.map +1 -1
  45. package/dist/actions/get-current-weather.d.cts +3 -9
  46. package/dist/actions/get-current-weather.d.cts.map +1 -1
  47. package/dist/actions/get-current-weather.d.mts +3 -9
  48. package/dist/actions/get-current-weather.d.mts.map +1 -1
  49. package/dist/actions/get-current-weather.mjs +1 -0
  50. package/dist/actions/get-current-weather.mjs.map +1 -1
  51. package/dist/actions/get-geocoding-by-zip.cjs +1 -0
  52. package/dist/actions/get-geocoding-by-zip.cjs.map +1 -1
  53. package/dist/actions/get-geocoding-by-zip.d.cts +3 -3
  54. package/dist/actions/get-geocoding-by-zip.d.cts.map +1 -1
  55. package/dist/actions/get-geocoding-by-zip.d.mts +3 -3
  56. package/dist/actions/get-geocoding-by-zip.d.mts.map +1 -1
  57. package/dist/actions/get-geocoding-by-zip.mjs +1 -0
  58. package/dist/actions/get-geocoding-by-zip.mjs.map +1 -1
  59. package/dist/actions/get-geocoding-direct.cjs +1 -0
  60. package/dist/actions/get-geocoding-direct.cjs.map +1 -1
  61. package/dist/actions/get-geocoding-direct.d.cts +3 -4
  62. package/dist/actions/get-geocoding-direct.d.cts.map +1 -1
  63. package/dist/actions/get-geocoding-direct.d.mts +3 -4
  64. package/dist/actions/get-geocoding-direct.d.mts.map +1 -1
  65. package/dist/actions/get-geocoding-direct.mjs +1 -0
  66. package/dist/actions/get-geocoding-direct.mjs.map +1 -1
  67. package/dist/actions/get-geocoding-reverse.cjs +1 -0
  68. package/dist/actions/get-geocoding-reverse.cjs.map +1 -1
  69. package/dist/actions/get-geocoding-reverse.d.cts +3 -5
  70. package/dist/actions/get-geocoding-reverse.d.cts.map +1 -1
  71. package/dist/actions/get-geocoding-reverse.d.mts +3 -5
  72. package/dist/actions/get-geocoding-reverse.d.mts.map +1 -1
  73. package/dist/actions/get-geocoding-reverse.mjs +1 -0
  74. package/dist/actions/get-geocoding-reverse.mjs.map +1 -1
  75. package/dist/actions/get-station-measurements.cjs +1 -0
  76. package/dist/actions/get-station-measurements.cjs.map +1 -1
  77. package/dist/actions/get-station-measurements.d.cts +4 -8
  78. package/dist/actions/get-station-measurements.d.cts.map +1 -1
  79. package/dist/actions/get-station-measurements.d.mts +4 -8
  80. package/dist/actions/get-station-measurements.d.mts.map +1 -1
  81. package/dist/actions/get-station-measurements.mjs +1 -0
  82. package/dist/actions/get-station-measurements.mjs.map +1 -1
  83. package/dist/actions/get-uv-index-forecast.cjs +1 -0
  84. package/dist/actions/get-uv-index-forecast.cjs.map +1 -1
  85. package/dist/actions/get-uv-index-forecast.d.cts +3 -5
  86. package/dist/actions/get-uv-index-forecast.d.cts.map +1 -1
  87. package/dist/actions/get-uv-index-forecast.d.mts +3 -5
  88. package/dist/actions/get-uv-index-forecast.d.mts.map +1 -1
  89. package/dist/actions/get-uv-index-forecast.mjs +1 -0
  90. package/dist/actions/get-uv-index-forecast.mjs.map +1 -1
  91. package/dist/actions/get-uv-index-history.cjs +1 -0
  92. package/dist/actions/get-uv-index-history.cjs.map +1 -1
  93. package/dist/actions/get-uv-index-history.d.cts +3 -6
  94. package/dist/actions/get-uv-index-history.d.cts.map +1 -1
  95. package/dist/actions/get-uv-index-history.d.mts +3 -6
  96. package/dist/actions/get-uv-index-history.d.mts.map +1 -1
  97. package/dist/actions/get-uv-index-history.mjs +1 -0
  98. package/dist/actions/get-uv-index-history.mjs.map +1 -1
  99. package/dist/actions/get-uv-index.cjs +1 -0
  100. package/dist/actions/get-uv-index.cjs.map +1 -1
  101. package/dist/actions/get-uv-index.d.cts +3 -4
  102. package/dist/actions/get-uv-index.d.cts.map +1 -1
  103. package/dist/actions/get-uv-index.d.mts +3 -4
  104. package/dist/actions/get-uv-index.d.mts.map +1 -1
  105. package/dist/actions/get-uv-index.mjs +1 -0
  106. package/dist/actions/get-uv-index.mjs.map +1 -1
  107. package/dist/actions/get-weather-map-tile.cjs +1 -0
  108. package/dist/actions/get-weather-map-tile.cjs.map +1 -1
  109. package/dist/actions/get-weather-map-tile.d.cts +4 -14
  110. package/dist/actions/get-weather-map-tile.d.cts.map +1 -1
  111. package/dist/actions/get-weather-map-tile.d.mts +4 -14
  112. package/dist/actions/get-weather-map-tile.d.mts.map +1 -1
  113. package/dist/actions/get-weather-map-tile.mjs +1 -0
  114. package/dist/actions/get-weather-map-tile.mjs.map +1 -1
  115. package/dist/actions/get-weather-station.cjs +1 -0
  116. package/dist/actions/get-weather-station.cjs.map +1 -1
  117. package/dist/actions/get-weather-station.d.cts +3 -3
  118. package/dist/actions/get-weather-station.d.cts.map +1 -1
  119. package/dist/actions/get-weather-station.d.mts +3 -3
  120. package/dist/actions/get-weather-station.d.mts.map +1 -1
  121. package/dist/actions/get-weather-station.mjs +1 -0
  122. package/dist/actions/get-weather-station.mjs.map +1 -1
  123. package/dist/actions/get-weather-stations.cjs +1 -0
  124. package/dist/actions/get-weather-stations.cjs.map +1 -1
  125. package/dist/actions/get-weather-stations.d.cts +3 -1
  126. package/dist/actions/get-weather-stations.d.cts.map +1 -1
  127. package/dist/actions/get-weather-stations.d.mts +3 -1
  128. package/dist/actions/get-weather-stations.d.mts.map +1 -1
  129. package/dist/actions/get-weather-stations.mjs +1 -0
  130. package/dist/actions/get-weather-stations.mjs.map +1 -1
  131. package/dist/actions/get-weather-triggers.cjs +1 -0
  132. package/dist/actions/get-weather-triggers.cjs.map +1 -1
  133. package/dist/actions/get-weather-triggers.d.cts +3 -12
  134. package/dist/actions/get-weather-triggers.d.cts.map +1 -1
  135. package/dist/actions/get-weather-triggers.d.mts +3 -12
  136. package/dist/actions/get-weather-triggers.d.mts.map +1 -1
  137. package/dist/actions/get-weather-triggers.mjs +1 -0
  138. package/dist/actions/get-weather-triggers.mjs.map +1 -1
  139. package/dist/actions/get5-day-forecast.cjs +1 -0
  140. package/dist/actions/get5-day-forecast.cjs.map +1 -1
  141. package/dist/actions/get5-day-forecast.d.cts +3 -10
  142. package/dist/actions/get5-day-forecast.d.cts.map +1 -1
  143. package/dist/actions/get5-day-forecast.d.mts +3 -10
  144. package/dist/actions/get5-day-forecast.d.mts.map +1 -1
  145. package/dist/actions/get5-day-forecast.mjs +1 -0
  146. package/dist/actions/get5-day-forecast.mjs.map +1 -1
  147. package/dist/actions/post-add-weather-station.cjs +1 -0
  148. package/dist/actions/post-add-weather-station.cjs.map +1 -1
  149. package/dist/actions/post-add-weather-station.d.cts +3 -7
  150. package/dist/actions/post-add-weather-station.d.cts.map +1 -1
  151. package/dist/actions/post-add-weather-station.d.mts +3 -7
  152. package/dist/actions/post-add-weather-station.d.mts.map +1 -1
  153. package/dist/actions/post-add-weather-station.mjs +1 -0
  154. package/dist/actions/post-add-weather-station.mjs.map +1 -1
  155. package/dist/actions/post-submit-station-measurements.cjs +1 -0
  156. package/dist/actions/post-submit-station-measurements.cjs.map +1 -1
  157. package/dist/actions/post-submit-station-measurements.d.cts +3 -14
  158. package/dist/actions/post-submit-station-measurements.d.cts.map +1 -1
  159. package/dist/actions/post-submit-station-measurements.d.mts +3 -14
  160. package/dist/actions/post-submit-station-measurements.d.mts.map +1 -1
  161. package/dist/actions/post-submit-station-measurements.mjs +1 -0
  162. package/dist/actions/post-submit-station-measurements.mjs.map +1 -1
  163. package/dist/actions/update-weather-station.cjs +1 -0
  164. package/dist/actions/update-weather-station.cjs.map +1 -1
  165. package/dist/actions/update-weather-station.d.cts +3 -8
  166. package/dist/actions/update-weather-station.d.cts.map +1 -1
  167. package/dist/actions/update-weather-station.d.mts +3 -8
  168. package/dist/actions/update-weather-station.d.mts.map +1 -1
  169. package/dist/actions/update-weather-station.mjs +1 -0
  170. package/dist/actions/update-weather-station.mjs.map +1 -1
  171. package/dist/app.cjs +5 -2
  172. package/dist/app.cjs.map +1 -1
  173. package/dist/app.d.cts +7 -1
  174. package/dist/app.d.cts.map +1 -1
  175. package/dist/app.d.mts +7 -1
  176. package/dist/app.d.mts.map +1 -1
  177. package/dist/app.mjs +3 -2
  178. package/dist/app.mjs.map +1 -1
  179. package/dist/index.d.cts +1 -1
  180. package/dist/index.d.mts +1 -1
  181. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,gCAAoC,wBAAA"}
1
+ {"version":3,"file":"get-station-measurements.d.mts","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;cAiBzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-station-measurements.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-station-measurements.mjs","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetStationMeasurementsInput = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).passthrough().describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).passthrough().describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAM,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,cAAc,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-station-measurements.mjs","names":[],"sources":["../../src/actions/get-station-measurements.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetStationMeasurementsInput = z.object({\n to: z.number().int().describe(\"End of time interval (Unix timestamp in seconds)\"),\n from: z.number().int().describe(\"Start of time interval (Unix timestamp in seconds)\"),\n type: z.enum([\"m\", \"h\", \"d\"]).describe(\"Aggregation type: m (minute), h (hour), or d (day)\"),\n limit: z.number().int().describe(\"Maximum number of measurement records to return\"),\n station_id: z.string().describe(\"Internal station ID from OpenWeather\"),\n}).describe(\"Request parameters to retrieve aggregated measurements from a weather station.\");\nconst OpenweatherApiGetStationMeasurements_MeasurementSchema = z.object({\n dt: z.number().int().describe(\"Measurement timestamp (Unix)\").nullable().optional(),\n temp: z.record(z.string(), z.unknown()).describe(\"Temperature measurements with min/max/avg\").nullable().optional(),\n type: z.string().describe(\"Aggregation type (m, h, or d)\").nullable().optional(),\n wind: z.record(z.string(), z.unknown()).describe(\"Wind measurements including speed and direction\").nullable().optional(),\n humidity: z.record(z.string(), z.unknown()).describe(\"Humidity measurements with min/max/avg\").nullable().optional(),\n pressure: z.record(z.string(), z.unknown()).describe(\"Pressure measurements with min/max/avg\").nullable().optional(),\n station_id: z.string().describe(\"Station identifier\").nullable().optional(),\n precipitation: z.record(z.string(), z.unknown()).describe(\"Precipitation data including rain and snow\").nullable().optional(),\n}).passthrough().describe(\"Aggregated measurement record.\");\nexport const OpenweatherApiGetStationMeasurementsOutput = z.object({\n measurements: z.array(OpenweatherApiGetStationMeasurements_MeasurementSchema).describe(\"List of aggregated measurement records\").nullable().optional(),\n}).passthrough().describe(\"Response containing aggregated measurements from a weather station.\");\n\nexport const openweatherApiGetStationMeasurements: AppAction<\n typeof OpenweatherApiGetStationMeasurementsInput,\n typeof OpenweatherApiGetStationMeasurementsOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_STATION_MEASUREMENTS\", {\n slug: \"openweather_api-get-station-measurements\",\n name: \"Get Station Measurements\",\n description: \"Tool to retrieve aggregated measurements from a weather station with minute, hour, or day granularity. Use when you need historical weather data from a specific registered station.\",\n input: OpenweatherApiGetStationMeasurementsInput,\n output: OpenweatherApiGetStationMeasurementsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACpF,MAAM,EAAE,KAAK;EAAC;EAAK;EAAK;CAAG,CAAC,CAAC,CAAC,SAAS,oDAAoD;CAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwD,EAAE,OAAO,EACjE,cAAc,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-uv-index-forecast.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexForecastInput = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-uv-index-forecast.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetUvIndexForecastInput = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast: AppAction<\n typeof OpenweatherApiGetUvIndexForecastInput,\n typeof OpenweatherApiGetUvIndexForecastOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-uv-index-forecast.d.ts
@@ -7,11 +9,7 @@ declare const OpenweatherApiGetUvIndexForecastInput: z.ZodObject<{
7
9
  lon: z.ZodNumber;
8
10
  }, z.core.$strip>;
9
11
  declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodUnknown;
10
- declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- lat: number;
12
- lon: number;
13
- cnt?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openweatherApiGetUvIndexForecast: AppAction<typeof OpenweatherApiGetUvIndexForecastInput, typeof OpenweatherApiGetUvIndexForecastOutput, typeof openweatherApi.credential>;
15
13
  //#endregion
16
14
  export { openweatherApiGetUvIndexForecast };
17
15
  //# sourceMappingURL=get-uv-index-forecast.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-uv-index-forecast.d.cts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-uv-index-forecast.d.ts
@@ -7,11 +9,7 @@ declare const OpenweatherApiGetUvIndexForecastInput: z.ZodObject<{
7
9
  lon: z.ZodNumber;
8
10
  }, z.core.$strip>;
9
11
  declare const OpenweatherApiGetUvIndexForecastOutput: z.ZodUnknown;
10
- declare const openweatherApiGetUvIndexForecast: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- lat: number;
12
- lon: number;
13
- cnt?: number | undefined;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openweatherApiGetUvIndexForecast: AppAction<typeof OpenweatherApiGetUvIndexForecastInput, typeof OpenweatherApiGetUvIndexForecastOutput, typeof openweatherApi.credential>;
15
13
  //#endregion
16
14
  export { openweatherApiGetUvIndexForecast };
17
15
  //# sourceMappingURL=get-uv-index-forecast.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-uv-index-forecast.d.mts","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,UAAc;AAAA,cAEpD,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetUvIndexForecast = action("OPENWEATHER_API_GET_UV_INDEX_FORECAST", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-forecast.mjs","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexForecastInput = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAOS;CACP,QAPoD,EAAE,QAO9C;AACV,CAAC"}
1
+ {"version":3,"file":"get-uv-index-forecast.mjs","names":[],"sources":["../../src/actions/get-uv-index-forecast.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetUvIndexForecastInput = z.object({\n cnt: z.number().int().describe(\"Number of days to return (1-8); defaults to 8 if not specified\").optional(),\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexForecastOutput = z.unknown();\n\nexport const openweatherApiGetUvIndexForecast: AppAction<\n typeof OpenweatherApiGetUvIndexForecastInput,\n typeof OpenweatherApiGetUvIndexForecastOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_UV_INDEX_FORECAST\", {\n slug: \"openweather_api-get-uv-index-forecast\",\n name: \"Get UV Index Forecast\",\n description: \"Tool to retrieve UV index forecast for a specific location. Use when you need upcoming UV index values after confirming latitude and longitude. Returns up to 8 days of data. Data may be sparse or absent for ocean and remote locations; an empty response means no data available, not safe UV conditions.\",\n input: OpenweatherApiGetUvIndexForecastInput,\n output: OpenweatherApiGetUvIndexForecastOutput,\n});\n"],"mappings":";;;AAaA,MAAa,mCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmD,EAAE,OAAO;EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EAC1G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAWS;CACP,QAXoD,EAAE,QAW9C;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-uv-index-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-history.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\").nullable(),\n value: z.number().describe(\"UV index value on the given date\").nullable(),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetUvIndexHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).passthrough().describe(\"Response model for UV index history: list of records including lat, lon, date_iso, date, and value.\");\n\nexport const openweatherApiGetUvIndexHistory = action(\"OPENWEATHER_API_GET_UV_INDEX_HISTORY\", {\n slug: \"openweather_api-get-uv-index-history\",\n name: \"Get UV Index History\",\n description: \"Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.\",\n input: OpenweatherApiGetUvIndexHistoryInput,\n output: OpenweatherApiGetUvIndexHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAAqG;AAE/H,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-uv-index-history.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetUvIndexHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\").nullable(),\n value: z.number().describe(\"UV index value on the given date\").nullable(),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetUvIndexHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).passthrough().describe(\"Response model for UV index history: list of records including lat, lon, date_iso, date, and value.\");\n\nexport const openweatherApiGetUvIndexHistory: AppAction<\n typeof OpenweatherApiGetUvIndexHistoryInput,\n typeof OpenweatherApiGetUvIndexHistoryOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_UV_INDEX_HISTORY\", {\n slug: \"openweather_api-get-uv-index-history\",\n name: \"Get UV Index History\",\n description: \"Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.\",\n input: OpenweatherApiGetUvIndexHistoryInput,\n output: OpenweatherApiGetUvIndexHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAAqG;AAE/H,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-uv-index-history.d.ts
@@ -16,12 +18,7 @@ declare const OpenweatherApiGetUvIndexHistoryOutput: z.ZodObject<{
16
18
  date_iso: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const openweatherApiGetUvIndexHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- end: number;
21
- lat: number;
22
- lon: number;
23
- start: number;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const openweatherApiGetUvIndexHistory: AppAction<typeof OpenweatherApiGetUvIndexHistoryInput, typeof OpenweatherApiGetUvIndexHistoryOutput, typeof openweatherApi.credential>;
25
22
  //#endregion
26
23
  export { openweatherApiGetUvIndexHistory };
27
24
  //# sourceMappingURL=get-uv-index-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-history.d.cts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-uv-index-history.d.cts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-uv-index-history.d.ts
@@ -16,12 +18,7 @@ declare const OpenweatherApiGetUvIndexHistoryOutput: z.ZodObject<{
16
18
  date_iso: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>>;
18
20
  }, z.core.$loose>;
19
- declare const openweatherApiGetUvIndexHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- end: number;
21
- lat: number;
22
- lon: number;
23
- start: number;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const openweatherApiGetUvIndexHistory: AppAction<typeof OpenweatherApiGetUvIndexHistoryInput, typeof OpenweatherApiGetUvIndexHistoryOutput, typeof openweatherApi.credential>;
25
22
  //#endregion
26
23
  export { openweatherApiGetUvIndexHistory };
27
24
  //# sourceMappingURL=get-uv-index-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-history.d.mts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-uv-index-history.d.mts","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-uv-index-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index-history.mjs","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\").nullable(),\n value: z.number().describe(\"UV index value on the given date\").nullable(),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetUvIndexHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).passthrough().describe(\"Response model for UV index history: list of records including lat, lon, date_iso, date, and value.\");\n\nexport const openweatherApiGetUvIndexHistory = action(\"OPENWEATHER_API_GET_UV_INDEX_HISTORY\", {\n slug: \"openweather_api-get-uv-index-history\",\n name: \"Get UV Index History\",\n description: \"Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.\",\n input: OpenweatherApiGetUvIndexHistoryInput,\n output: OpenweatherApiGetUvIndexHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-uv-index-history.mjs","names":[],"sources":["../../src/actions/get-uv-index-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetUvIndexHistoryInput = z.object({\n end: z.number().int().describe(\"End UNIX timestamp (UTC seconds); must be >= start\"),\n lat: z.number().describe(\"Latitude of the location (range: -90 to 90)\"),\n lon: z.number().describe(\"Longitude of the location (range: -180 to 180)\"),\n start: z.number().int().describe(\"Start UNIX timestamp (UTC seconds); must be <= end\"),\n});\nconst OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date and time in UNIX timestamp (UTC)\").nullable(),\n value: z.number().describe(\"UV index value on the given date\").nullable(),\n date_iso: z.string().describe(\"Date and time in ISO 8601 format\").nullable(),\n}).passthrough();\nexport const OpenweatherApiGetUvIndexHistoryOutput = z.object({\n list: z.array(OpenweatherApiGetUvIndexHistory_UVIndexRecordSchema).describe(\"List of UV index historical data records\"),\n}).passthrough().describe(\"Response model for UV index history: list of records including lat, lon, date_iso, date, and value.\");\n\nexport const openweatherApiGetUvIndexHistory: AppAction<\n typeof OpenweatherApiGetUvIndexHistoryInput,\n typeof OpenweatherApiGetUvIndexHistoryOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_UV_INDEX_HISTORY\", {\n slug: \"openweather_api-get-uv-index-history\",\n name: \"Get UV Index History\",\n description: \"Tool to retrieve historical UV index data for a specified location and time range. Use when you need to analyze past UV exposure trends after confirming coordinates and time period.\",\n input: OpenweatherApiGetUvIndexHistoryInput,\n output: OpenweatherApiGetUvIndexHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;AACvF,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,0CAA0C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qGAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-uv-index.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexOutput = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date in Unix UTC seconds\").nullable(),\n value: z.number().describe(\"UV index value\").nullable(),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGetUvIndex = action(\"OPENWEATHER_API_GET_UV_INDEX\", {\n slug: \"openweather_api-get-uv-index\",\n name: \"Get Current UV Index\",\n description: \"Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.\",\n input: OpenweatherApiGetUvIndexInput,\n output: OpenweatherApiGetUvIndexOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-uv-index.cjs","names":["z","action"],"sources":["../../src/actions/get-uv-index.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetUvIndexInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexOutput = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date in Unix UTC seconds\").nullable(),\n value: z.number().describe(\"UV index value\").nullable(),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGetUvIndex: AppAction<\n typeof OpenweatherApiGetUvIndexInput,\n typeof OpenweatherApiGetUvIndexOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_UV_INDEX\", {\n slug: \"openweather_api-get-uv-index\",\n name: \"Get Current UV Index\",\n description: \"Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.\",\n input: OpenweatherApiGetUvIndexInput,\n output: OpenweatherApiGetUvIndexOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AAC5E,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-uv-index.d.ts
@@ -12,10 +14,7 @@ declare const OpenweatherApiGetUvIndexOutput: z.ZodObject<{
12
14
  value: z.ZodNullable<z.ZodNumber>;
13
15
  date_iso: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
15
- declare const openweatherApiGetUvIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- lat: number;
17
- lon: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const openweatherApiGetUvIndex: AppAction<typeof OpenweatherApiGetUvIndexInput, typeof OpenweatherApiGetUvIndexOutput, typeof openweatherApi.credential>;
19
18
  //#endregion
20
19
  export { openweatherApiGetUvIndex };
21
20
  //# sourceMappingURL=get-uv-index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index.d.cts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-uv-index.d.cts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-uv-index.d.ts
@@ -12,10 +14,7 @@ declare const OpenweatherApiGetUvIndexOutput: z.ZodObject<{
12
14
  value: z.ZodNullable<z.ZodNumber>;
13
15
  date_iso: z.ZodNullable<z.ZodString>;
14
16
  }, z.core.$loose>;
15
- declare const openweatherApiGetUvIndex: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- lat: number;
17
- lon: number;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const openweatherApiGetUvIndex: AppAction<typeof OpenweatherApiGetUvIndexInput, typeof OpenweatherApiGetUvIndexOutput, typeof openweatherApi.credential>;
19
18
  //#endregion
20
19
  export { openweatherApiGetUvIndex };
21
20
  //# sourceMappingURL=get-uv-index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index.d.mts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"get-uv-index.d.mts","names":[],"sources":["../../src/actions/get-uv-index.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAQ9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetUvIndex = action("OPENWEATHER_API_GET_UV_INDEX", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-uv-index.mjs","names":[],"sources":["../../src/actions/get-uv-index.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetUvIndexInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexOutput = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date in Unix UTC seconds\").nullable(),\n value: z.number().describe(\"UV index value\").nullable(),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGetUvIndex = action(\"OPENWEATHER_API_GET_UV_INDEX\", {\n slug: \"openweather_api-get-uv-index\",\n name: \"Get Current UV Index\",\n description: \"Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.\",\n input: OpenweatherApiGetUvIndexInput,\n output: OpenweatherApiGetUvIndexOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAaS;CACP,QAb4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-uv-index.mjs","names":[],"sources":["../../src/actions/get-uv-index.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetUvIndexInput = z.object({\n lat: z.number().describe(\"Latitude of the location, between -90 and 90\"),\n lon: z.number().describe(\"Longitude of the location, between -180 and 180\"),\n});\nexport const OpenweatherApiGetUvIndexOutput = z.object({\n lat: z.number().describe(\"Latitude of the location\").nullable(),\n lon: z.number().describe(\"Longitude of the location\").nullable(),\n date: z.number().int().describe(\"Date in Unix UTC seconds\").nullable(),\n value: z.number().describe(\"UV index value\").nullable(),\n date_iso: z.string().describe(\"UTC time in ISO 8601 format\").nullable(),\n}).passthrough();\n\nexport const openweatherApiGetUvIndex: AppAction<\n typeof OpenweatherApiGetUvIndexInput,\n typeof OpenweatherApiGetUvIndexOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_UV_INDEX\", {\n slug: \"openweather_api-get-uv-index\",\n name: \"Get Current UV Index\",\n description: \"Tool to retrieve current UV index for a location. Use when you need up-to-the-minute UV index by latitude and longitude.\",\n input: OpenweatherApiGetUvIndexInput,\n output: OpenweatherApiGetUvIndexOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,CAiBS;CACP,QAjB4C,EAAE,OAAO;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-weather-map-tile.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-map-tile.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherMapTileInput = z.object({\n x: z.number().int().describe(\"Tile X coordinate (non-negative integer).\"),\n y: z.number().int().describe(\"Tile Y coordinate (non-negative integer).\"),\n z: z.number().int().describe(\"Zoom level of the tile (non-negative integer).\"),\n fill: z.string().describe(\"Color for empty-data fill areas (hex or named).\").optional(),\n color: z.string().describe(\"Color schema of the tiles, e.g., 'original', 'black'.\").optional(),\n layer: z.enum([\"clouds\", \"clouds_new\", \"precipitation\", \"precipitation_new\", \"pressure\", \"pressure_new\", \"wind\", \"wind_new\", \"temp\", \"temp_new\"]).describe(\"Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.\"),\n scale: z.union([z.literal(1), z.literal(2)]).describe(\"Tile scale factor: 1 or 2 for retina.\").optional(),\n format: z.string().describe(\"Image format; only 'png' is supported.\").optional(),\n opacity: z.number().describe(\"Tile opacity value between 0.0 and 1.0.\").optional(),\n palette: z.string().describe(\"Custom palette definition (comma-separated or JSON).\").optional(),\n fill_bound: z.boolean().describe(\"Fill tiles outside data coverage if true.\").optional(),\n}).describe(\"Request parameters for fetching advanced Weather Maps 2.0 tile.\");\nexport const OpenweatherApiGetWeatherMapTileOutput = z.object({\n tile: z.string().describe(\"Binary PNG image data of the map tile.\").nullable(),\n}).passthrough().describe(\"Raw PNG image data for the requested Weather Maps 2.0 tile.\");\n\nexport const openweatherApiGetWeatherMapTile = action(\"OPENWEATHER_API_GET_WEATHER_MAP_TILE\", {\n slug: \"openweather_api-get-weather-map-tile\",\n name: \"Get Weather Map Tile (2.0)\",\n description: \"Tool to fetch Weather Maps 2.0 tile images. Use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.\",\n input: OpenweatherApiGetWeatherMapTileInput,\n output: OpenweatherApiGetWeatherMapTileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAiB;EAAqB;EAAY;EAAgB;EAAQ;EAAY;EAAQ;CAAU,CAAC,CAAC,CAAC,SAAS,4IAA4I;CACvS,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-map-tile.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetWeatherMapTileInput = z.object({\n x: z.number().int().describe(\"Tile X coordinate (non-negative integer).\"),\n y: z.number().int().describe(\"Tile Y coordinate (non-negative integer).\"),\n z: z.number().int().describe(\"Zoom level of the tile (non-negative integer).\"),\n fill: z.string().describe(\"Color for empty-data fill areas (hex or named).\").optional(),\n color: z.string().describe(\"Color schema of the tiles, e.g., 'original', 'black'.\").optional(),\n layer: z.enum([\"clouds\", \"clouds_new\", \"precipitation\", \"precipitation_new\", \"pressure\", \"pressure_new\", \"wind\", \"wind_new\", \"temp\", \"temp_new\"]).describe(\"Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.\"),\n scale: z.union([z.literal(1), z.literal(2)]).describe(\"Tile scale factor: 1 or 2 for retina.\").optional(),\n format: z.string().describe(\"Image format; only 'png' is supported.\").optional(),\n opacity: z.number().describe(\"Tile opacity value between 0.0 and 1.0.\").optional(),\n palette: z.string().describe(\"Custom palette definition (comma-separated or JSON).\").optional(),\n fill_bound: z.boolean().describe(\"Fill tiles outside data coverage if true.\").optional(),\n}).describe(\"Request parameters for fetching advanced Weather Maps 2.0 tile.\");\nexport const OpenweatherApiGetWeatherMapTileOutput = z.object({\n tile: z.string().describe(\"Binary PNG image data of the map tile.\").nullable(),\n}).passthrough().describe(\"Raw PNG image data for the requested Weather Maps 2.0 tile.\");\n\nexport const openweatherApiGetWeatherMapTile: AppAction<\n typeof OpenweatherApiGetWeatherMapTileInput,\n typeof OpenweatherApiGetWeatherMapTileOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_WEATHER_MAP_TILE\", {\n slug: \"openweather_api-get-weather-map-tile\",\n name: \"Get Weather Map Tile (2.0)\",\n description: \"Tool to fetch Weather Maps 2.0 tile images. Use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.\",\n input: OpenweatherApiGetWeatherMapTileInput,\n output: OpenweatherApiGetWeatherMapTileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACxE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAc;EAAiB;EAAqB;EAAY;EAAgB;EAAQ;EAAY;EAAQ;CAAU,CAAC,CAAC,CAAC,SAAS,4IAA4I;CACvS,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-weather-map-tile.d.ts
@@ -12,8 +14,8 @@ declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
12
14
  pressure: "pressure";
13
15
  wind: "wind";
14
16
  clouds: "clouds";
15
- clouds_new: "clouds_new";
16
17
  precipitation: "precipitation";
18
+ clouds_new: "clouds_new";
17
19
  precipitation_new: "precipitation_new";
18
20
  pressure_new: "pressure_new";
19
21
  wind_new: "wind_new";
@@ -28,19 +30,7 @@ declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
28
30
  declare const OpenweatherApiGetWeatherMapTileOutput: z.ZodObject<{
29
31
  tile: z.ZodNullable<z.ZodString>;
30
32
  }, z.core.$loose>;
31
- declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- x: number;
33
- y: number;
34
- z: number;
35
- layer: "temp" | "pressure" | "wind" | "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure_new" | "wind_new" | "temp_new";
36
- fill?: string | undefined;
37
- color?: string | undefined;
38
- scale?: 1 | 2 | undefined;
39
- format?: string | undefined;
40
- opacity?: number | undefined;
41
- palette?: string | undefined;
42
- fill_bound?: boolean | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const openweatherApiGetWeatherMapTile: AppAction<typeof OpenweatherApiGetWeatherMapTileInput, typeof OpenweatherApiGetWeatherMapTileOutput, typeof openweatherApi.credential>;
44
34
  //#endregion
45
35
  export { openweatherApiGetWeatherMapTile };
46
36
  //# sourceMappingURL=get-weather-map-tile.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-map-tile.d.cts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-weather-map-tile.d.cts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-weather-map-tile.d.ts
@@ -12,8 +14,8 @@ declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
12
14
  pressure: "pressure";
13
15
  wind: "wind";
14
16
  clouds: "clouds";
15
- clouds_new: "clouds_new";
16
17
  precipitation: "precipitation";
18
+ clouds_new: "clouds_new";
17
19
  precipitation_new: "precipitation_new";
18
20
  pressure_new: "pressure_new";
19
21
  wind_new: "wind_new";
@@ -28,19 +30,7 @@ declare const OpenweatherApiGetWeatherMapTileInput: z.ZodObject<{
28
30
  declare const OpenweatherApiGetWeatherMapTileOutput: z.ZodObject<{
29
31
  tile: z.ZodNullable<z.ZodString>;
30
32
  }, z.core.$loose>;
31
- declare const openweatherApiGetWeatherMapTile: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- x: number;
33
- y: number;
34
- z: number;
35
- layer: "temp" | "pressure" | "wind" | "clouds" | "clouds_new" | "precipitation" | "precipitation_new" | "pressure_new" | "wind_new" | "temp_new";
36
- fill?: string | undefined;
37
- color?: string | undefined;
38
- scale?: 1 | 2 | undefined;
39
- format?: string | undefined;
40
- opacity?: number | undefined;
41
- palette?: string | undefined;
42
- fill_bound?: boolean | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const openweatherApiGetWeatherMapTile: AppAction<typeof OpenweatherApiGetWeatherMapTileInput, typeof OpenweatherApiGetWeatherMapTileOutput, typeof openweatherApi.credential>;
44
34
  //#endregion
45
35
  export { openweatherApiGetWeatherMapTile };
46
36
  //# sourceMappingURL=get-weather-map-tile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-map-tile.d.mts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-weather-map-tile.d.mts","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAapC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetWeatherMapTile = action("OPENWEATHER_API_GET_WEATHER_MAP_TILE", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-map-tile.mjs","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherMapTileInput = z.object({\n x: z.number().int().describe(\"Tile X coordinate (non-negative integer).\"),\n y: z.number().int().describe(\"Tile Y coordinate (non-negative integer).\"),\n z: z.number().int().describe(\"Zoom level of the tile (non-negative integer).\"),\n fill: z.string().describe(\"Color for empty-data fill areas (hex or named).\").optional(),\n color: z.string().describe(\"Color schema of the tiles, e.g., 'original', 'black'.\").optional(),\n layer: z.enum([\"clouds\", \"clouds_new\", \"precipitation\", \"precipitation_new\", \"pressure\", \"pressure_new\", \"wind\", \"wind_new\", \"temp\", \"temp_new\"]).describe(\"Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.\"),\n scale: z.union([z.literal(1), z.literal(2)]).describe(\"Tile scale factor: 1 or 2 for retina.\").optional(),\n format: z.string().describe(\"Image format; only 'png' is supported.\").optional(),\n opacity: z.number().describe(\"Tile opacity value between 0.0 and 1.0.\").optional(),\n palette: z.string().describe(\"Custom palette definition (comma-separated or JSON).\").optional(),\n fill_bound: z.boolean().describe(\"Fill tiles outside data coverage if true.\").optional(),\n}).describe(\"Request parameters for fetching advanced Weather Maps 2.0 tile.\");\nexport const OpenweatherApiGetWeatherMapTileOutput = z.object({\n tile: z.string().describe(\"Binary PNG image data of the map tile.\").nullable(),\n}).passthrough().describe(\"Raw PNG image data for the requested Weather Maps 2.0 tile.\");\n\nexport const openweatherApiGetWeatherMapTile = action(\"OPENWEATHER_API_GET_WEATHER_MAP_TILE\", {\n slug: \"openweather_api-get-weather-map-tile\",\n name: \"Get Weather Map Tile (2.0)\",\n description: \"Tool to fetch Weather Maps 2.0 tile images. Use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.\",\n input: OpenweatherApiGetWeatherMapTileInput,\n output: OpenweatherApiGetWeatherMapTileOutput,\n});\n"],"mappings":";;AAqBA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBkD,EAAE,OAAO;EAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACxE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACxE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,KAAK;GAAC;GAAU;GAAc;GAAiB;GAAqB;GAAY;GAAgB;GAAQ;GAAY;GAAQ;EAAU,CAAC,CAAC,CAAC,SAAS,4IAA4I;EACvS,OAAO,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,iEASH;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-map-tile.mjs","names":[],"sources":["../../src/actions/get-weather-map-tile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetWeatherMapTileInput = z.object({\n x: z.number().int().describe(\"Tile X coordinate (non-negative integer).\"),\n y: z.number().int().describe(\"Tile Y coordinate (non-negative integer).\"),\n z: z.number().int().describe(\"Zoom level of the tile (non-negative integer).\"),\n fill: z.string().describe(\"Color for empty-data fill areas (hex or named).\").optional(),\n color: z.string().describe(\"Color schema of the tiles, e.g., 'original', 'black'.\").optional(),\n layer: z.enum([\"clouds\", \"clouds_new\", \"precipitation\", \"precipitation_new\", \"pressure\", \"pressure_new\", \"wind\", \"wind_new\", \"temp\", \"temp_new\"]).describe(\"Weather layer name. Options: clouds, clouds_new, precipitation, precipitation_new, pressure, pressure_new, wind, wind_new, temp, temp_new.\"),\n scale: z.union([z.literal(1), z.literal(2)]).describe(\"Tile scale factor: 1 or 2 for retina.\").optional(),\n format: z.string().describe(\"Image format; only 'png' is supported.\").optional(),\n opacity: z.number().describe(\"Tile opacity value between 0.0 and 1.0.\").optional(),\n palette: z.string().describe(\"Custom palette definition (comma-separated or JSON).\").optional(),\n fill_bound: z.boolean().describe(\"Fill tiles outside data coverage if true.\").optional(),\n}).describe(\"Request parameters for fetching advanced Weather Maps 2.0 tile.\");\nexport const OpenweatherApiGetWeatherMapTileOutput = z.object({\n tile: z.string().describe(\"Binary PNG image data of the map tile.\").nullable(),\n}).passthrough().describe(\"Raw PNG image data for the requested Weather Maps 2.0 tile.\");\n\nexport const openweatherApiGetWeatherMapTile: AppAction<\n typeof OpenweatherApiGetWeatherMapTileInput,\n typeof OpenweatherApiGetWeatherMapTileOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_WEATHER_MAP_TILE\", {\n slug: \"openweather_api-get-weather-map-tile\",\n name: \"Get Weather Map Tile (2.0)\",\n description: \"Tool to fetch Weather Maps 2.0 tile images. Use when you need dynamic weather layers at specific zoom and coordinates with advanced styling options.\",\n input: OpenweatherApiGetWeatherMapTileInput,\n output: OpenweatherApiGetWeatherMapTileOutput,\n});\n"],"mappings":";;;AAuBA,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBkD,EAAE,OAAO;EAC3D,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACxE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;EACxE,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC7F,OAAO,EAAE,KAAK;GAAC;GAAU;GAAc;GAAiB;GAAqB;GAAY;GAAgB;GAAQ;GAAY;GAAQ;EAAU,CAAC,CAAC,CAAC,SAAS,4IAA4I;EACvS,OAAO,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,iEAaH;CACP,QAbmD,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-weather-station.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-station.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation: AppAction<\n typeof OpenweatherApiGetWeatherStationInput,\n typeof OpenweatherApiGetWeatherStationOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-weather-station.d.ts
@@ -15,9 +17,7 @@ declare const OpenweatherApiGetWeatherStationOutput: z.ZodObject<{
15
17
  updated_at: z.ZodNullable<z.ZodString>;
16
18
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const openweatherApiGetWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- station_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const openweatherApiGetWeatherStation: AppAction<typeof OpenweatherApiGetWeatherStationInput, typeof OpenweatherApiGetWeatherStationOutput, typeof openweatherApi.credential>;
21
21
  //#endregion
22
22
  export { openweatherApiGetWeatherStation };
23
23
  //# sourceMappingURL=get-weather-station.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-station.d.cts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-weather-station.d.cts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-weather-station.d.ts
@@ -15,9 +17,7 @@ declare const OpenweatherApiGetWeatherStationOutput: z.ZodObject<{
15
17
  updated_at: z.ZodNullable<z.ZodString>;
16
18
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const openweatherApiGetWeatherStation: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- station_id: string;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const openweatherApiGetWeatherStation: AppAction<typeof OpenweatherApiGetWeatherStationInput, typeof OpenweatherApiGetWeatherStationOutput, typeof openweatherApi.credential>;
21
21
  //#endregion
22
22
  export { openweatherApiGetWeatherStation };
23
23
  //# sourceMappingURL=get-weather-station.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-station.d.mts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-weather-station.d.mts","names":[],"sources":["../../src/actions/get-weather-station.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,cAAA,CAAe,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const openweatherApiGetWeatherStation = action("OPENWEATHER_API_GET_WEATHER_STATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-station.mjs","names":[],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAiBH;CACP,QAjBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-station.mjs","names":[],"sources":["../../src/actions/get-weather-station.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetWeatherStationInput = z.object({\n station_id: z.string().describe(\"Internal station ID to retrieve information for.\"),\n}).describe(\"Request schema for getting a specific weather station by ID.\");\nexport const OpenweatherApiGetWeatherStationOutput = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough().describe(\"Response schema containing weather station information.\");\n\nexport const openweatherApiGetWeatherStation: AppAction<\n typeof OpenweatherApiGetWeatherStationInput,\n typeof OpenweatherApiGetWeatherStationOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_WEATHER_STATION\", {\n slug: \"openweather_api-get-weather-station\",\n name: \"Get Weather Station\",\n description: \"Tool to get information about a specific weather station by its ID. Use when you need details about a particular station.\",\n input: OpenweatherApiGetWeatherStationInput,\n output: OpenweatherApiGetWeatherStationOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EACpF,CAAC,CAAC,CAAC,SAAS,8DAqBH;CACP,QArBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-weather-stations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-weather-stations.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OpenweatherApiGetWeatherStationsInput = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough();\nexport const OpenweatherApiGetWeatherStationsOutput = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).passthrough().describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-weather-stations.cjs","names":["z","action"],"sources":["../../src/actions/get-weather-stations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { openweatherApi } from \"../app\";\n\nexport const OpenweatherApiGetWeatherStationsInput = z.object({}).describe(\"Request schema for GET_WEATHER_STATIONS. No parameters are required.\");\nconst OpenweatherApiGetWeatherStations_StationSchema = z.object({\n id: z.string().describe(\"Station identifier.\").nullable(),\n name: z.string().describe(\"Station name.\").nullable(),\n rank: z.number().int().describe(\"Station rank.\").nullable().optional(),\n altitude: z.number().describe(\"Station altitude above sea level.\").nullable().optional(),\n latitude: z.number().describe(\"Location latitude.\").nullable(),\n longitude: z.number().describe(\"Location longitude.\").nullable(),\n created_at: z.string().describe(\"ISO8601 datetime of creation.\").nullable(),\n updated_at: z.string().describe(\"ISO8601 datetime of the last update.\").nullable(),\n external_id: z.string().describe(\"User-supplied external reference ID.\").nullable().optional(),\n}).passthrough();\nexport const OpenweatherApiGetWeatherStationsOutput = z.object({\n stations: z.array(OpenweatherApiGetWeatherStations_StationSchema).describe(\"Array of weather station objects.\"),\n}).passthrough().describe(\"List of weather stations added to the account.\");\n\nexport const openweatherApiGetWeatherStations: AppAction<\n typeof OpenweatherApiGetWeatherStationsInput,\n typeof OpenweatherApiGetWeatherStationsOutput,\n typeof openweatherApi.credential\n> = action(\"OPENWEATHER_API_GET_WEATHER_STATIONS\", {\n slug: \"openweather_api-get-weather-stations\",\n name: \"Get Weather Stations\",\n description: \"Tool to list all weather stations added to your account. Use after setting up your OpenWeather API key.\",\n input: OpenweatherApiGetWeatherStationsInput,\n output: OpenweatherApiGetWeatherStationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE;AACjJ,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC/D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,EAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { openweatherApi } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-weather-stations.d.ts
@@ -15,7 +17,7 @@ declare const OpenweatherApiGetWeatherStationsOutput: z.ZodObject<{
15
17
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const openweatherApiGetWeatherStations: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const openweatherApiGetWeatherStations: AppAction<typeof OpenweatherApiGetWeatherStationsInput, typeof OpenweatherApiGetWeatherStationsOutput, typeof openweatherApi.credential>;
19
21
  //#endregion
20
22
  export { openweatherApiGetWeatherStations };
21
23
  //# sourceMappingURL=get-weather-stations.d.cts.map