@keystrokehq/reddit 0.1.0 → 0.1.2

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 (172) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/create-reddit-post.cjs +1 -1
  5. package/dist/actions/create-reddit-post.cjs.map +1 -1
  6. package/dist/actions/create-reddit-post.d.cts +29 -3
  7. package/dist/actions/create-reddit-post.d.cts.map +1 -1
  8. package/dist/actions/create-reddit-post.d.mts +29 -3
  9. package/dist/actions/create-reddit-post.d.mts.map +1 -1
  10. package/dist/actions/create-reddit-post.mjs +1 -1
  11. package/dist/actions/create-reddit-post.mjs.map +1 -1
  12. package/dist/actions/delete-reddit-comment.cjs.map +1 -1
  13. package/dist/actions/delete-reddit-comment.d.cts +7 -3
  14. package/dist/actions/delete-reddit-comment.d.cts.map +1 -1
  15. package/dist/actions/delete-reddit-comment.d.mts +7 -3
  16. package/dist/actions/delete-reddit-comment.d.mts.map +1 -1
  17. package/dist/actions/delete-reddit-comment.mjs.map +1 -1
  18. package/dist/actions/delete-reddit-post.cjs.map +1 -1
  19. package/dist/actions/delete-reddit-post.d.cts +7 -3
  20. package/dist/actions/delete-reddit-post.d.cts.map +1 -1
  21. package/dist/actions/delete-reddit-post.d.mts +7 -3
  22. package/dist/actions/delete-reddit-post.d.mts.map +1 -1
  23. package/dist/actions/delete-reddit-post.mjs.map +1 -1
  24. package/dist/actions/edit-reddit-comment-or-post.cjs.map +1 -1
  25. package/dist/actions/edit-reddit-comment-or-post.d.cts +64 -3
  26. package/dist/actions/edit-reddit-comment-or-post.d.cts.map +1 -1
  27. package/dist/actions/edit-reddit-comment-or-post.d.mts +64 -3
  28. package/dist/actions/edit-reddit-comment-or-post.d.mts.map +1 -1
  29. package/dist/actions/edit-reddit-comment-or-post.mjs.map +1 -1
  30. package/dist/actions/get-controversial-posts.cjs +2 -2
  31. package/dist/actions/get-controversial-posts.cjs.map +1 -1
  32. package/dist/actions/get-controversial-posts.d.cts +79 -3
  33. package/dist/actions/get-controversial-posts.d.cts.map +1 -1
  34. package/dist/actions/get-controversial-posts.d.mts +79 -3
  35. package/dist/actions/get-controversial-posts.d.mts.map +1 -1
  36. package/dist/actions/get-controversial-posts.mjs +2 -2
  37. package/dist/actions/get-controversial-posts.mjs.map +1 -1
  38. package/dist/actions/get-me-prefs.cjs.map +1 -1
  39. package/dist/actions/get-me-prefs.d.cts +69 -3
  40. package/dist/actions/get-me-prefs.d.cts.map +1 -1
  41. package/dist/actions/get-me-prefs.d.mts +69 -3
  42. package/dist/actions/get-me-prefs.d.mts.map +1 -1
  43. package/dist/actions/get-me-prefs.mjs.map +1 -1
  44. package/dist/actions/get-r-top.cjs +2 -2
  45. package/dist/actions/get-r-top.cjs.map +1 -1
  46. package/dist/actions/get-r-top.d.cts +57 -3
  47. package/dist/actions/get-r-top.d.cts.map +1 -1
  48. package/dist/actions/get-r-top.d.mts +57 -3
  49. package/dist/actions/get-r-top.d.mts.map +1 -1
  50. package/dist/actions/get-r-top.mjs +2 -2
  51. package/dist/actions/get-r-top.mjs.map +1 -1
  52. package/dist/actions/get-random.cjs +14 -14
  53. package/dist/actions/get-random.cjs.map +1 -1
  54. package/dist/actions/get-random.d.cts +41 -3
  55. package/dist/actions/get-random.d.cts.map +1 -1
  56. package/dist/actions/get-random.d.mts +41 -3
  57. package/dist/actions/get-random.d.mts.map +1 -1
  58. package/dist/actions/get-random.mjs +14 -14
  59. package/dist/actions/get-random.mjs.map +1 -1
  60. package/dist/actions/get-reddit-user-about.cjs +8 -8
  61. package/dist/actions/get-reddit-user-about.cjs.map +1 -1
  62. package/dist/actions/get-reddit-user-about.d.cts +75 -3
  63. package/dist/actions/get-reddit-user-about.d.cts.map +1 -1
  64. package/dist/actions/get-reddit-user-about.d.mts +75 -3
  65. package/dist/actions/get-reddit-user-about.d.mts.map +1 -1
  66. package/dist/actions/get-reddit-user-about.mjs +8 -8
  67. package/dist/actions/get-reddit-user-about.mjs.map +1 -1
  68. package/dist/actions/get-scopes.cjs.map +1 -1
  69. package/dist/actions/get-scopes.d.cts +5 -3
  70. package/dist/actions/get-scopes.d.cts.map +1 -1
  71. package/dist/actions/get-scopes.d.mts +5 -3
  72. package/dist/actions/get-scopes.d.mts.map +1 -1
  73. package/dist/actions/get-scopes.mjs.map +1 -1
  74. package/dist/actions/get-subreddit-rules.cjs +5 -5
  75. package/dist/actions/get-subreddit-rules.cjs.map +1 -1
  76. package/dist/actions/get-subreddit-rules.d.cts +21 -3
  77. package/dist/actions/get-subreddit-rules.d.cts.map +1 -1
  78. package/dist/actions/get-subreddit-rules.d.mts +21 -3
  79. package/dist/actions/get-subreddit-rules.d.mts.map +1 -1
  80. package/dist/actions/get-subreddit-rules.mjs +5 -5
  81. package/dist/actions/get-subreddit-rules.mjs.map +1 -1
  82. package/dist/actions/get-subreddits-search.cjs +2 -2
  83. package/dist/actions/get-subreddits-search.cjs.map +1 -1
  84. package/dist/actions/get-subreddits-search.d.cts +67 -3
  85. package/dist/actions/get-subreddits-search.d.cts.map +1 -1
  86. package/dist/actions/get-subreddits-search.d.mts +67 -3
  87. package/dist/actions/get-subreddits-search.d.mts.map +1 -1
  88. package/dist/actions/get-subreddits-search.mjs +2 -2
  89. package/dist/actions/get-subreddits-search.mjs.map +1 -1
  90. package/dist/actions/get-user-flair.cjs +1 -1
  91. package/dist/actions/get-user-flair.cjs.map +1 -1
  92. package/dist/actions/get-user-flair.d.cts +21 -3
  93. package/dist/actions/get-user-flair.d.cts.map +1 -1
  94. package/dist/actions/get-user-flair.d.mts +21 -3
  95. package/dist/actions/get-user-flair.d.mts.map +1 -1
  96. package/dist/actions/get-user-flair.mjs +1 -1
  97. package/dist/actions/get-user-flair.mjs.map +1 -1
  98. package/dist/actions/get-username-available.cjs +2 -2
  99. package/dist/actions/get-username-available.cjs.map +1 -1
  100. package/dist/actions/get-username-available.d.cts +10 -3
  101. package/dist/actions/get-username-available.d.cts.map +1 -1
  102. package/dist/actions/get-username-available.d.mts +10 -3
  103. package/dist/actions/get-username-available.d.mts.map +1 -1
  104. package/dist/actions/get-username-available.mjs +2 -2
  105. package/dist/actions/get-username-available.mjs.map +1 -1
  106. package/dist/actions/get.cjs +14 -14
  107. package/dist/actions/get.cjs.map +1 -1
  108. package/dist/actions/get.d.cts +53 -3
  109. package/dist/actions/get.d.cts.map +1 -1
  110. package/dist/actions/get.d.mts +53 -3
  111. package/dist/actions/get.d.mts.map +1 -1
  112. package/dist/actions/get.mjs +14 -14
  113. package/dist/actions/get.mjs.map +1 -1
  114. package/dist/actions/list-subreddit-post-flairs.cjs +4 -4
  115. package/dist/actions/list-subreddit-post-flairs.cjs.map +1 -1
  116. package/dist/actions/list-subreddit-post-flairs.d.cts +27 -3
  117. package/dist/actions/list-subreddit-post-flairs.d.cts.map +1 -1
  118. package/dist/actions/list-subreddit-post-flairs.d.mts +27 -3
  119. package/dist/actions/list-subreddit-post-flairs.d.mts.map +1 -1
  120. package/dist/actions/list-subreddit-post-flairs.mjs +4 -4
  121. package/dist/actions/list-subreddit-post-flairs.mjs.map +1 -1
  122. package/dist/actions/post-reddit-comment.cjs +21 -21
  123. package/dist/actions/post-reddit-comment.cjs.map +1 -1
  124. package/dist/actions/post-reddit-comment.d.cts +54 -3
  125. package/dist/actions/post-reddit-comment.d.cts.map +1 -1
  126. package/dist/actions/post-reddit-comment.d.mts +54 -3
  127. package/dist/actions/post-reddit-comment.d.mts.map +1 -1
  128. package/dist/actions/post-reddit-comment.mjs +21 -21
  129. package/dist/actions/post-reddit-comment.mjs.map +1 -1
  130. package/dist/actions/retrieve-post-comments.cjs +5 -5
  131. package/dist/actions/retrieve-post-comments.cjs.map +1 -1
  132. package/dist/actions/retrieve-post-comments.d.cts +72 -3
  133. package/dist/actions/retrieve-post-comments.d.cts.map +1 -1
  134. package/dist/actions/retrieve-post-comments.d.mts +72 -3
  135. package/dist/actions/retrieve-post-comments.d.mts.map +1 -1
  136. package/dist/actions/retrieve-post-comments.mjs +5 -5
  137. package/dist/actions/retrieve-post-comments.mjs.map +1 -1
  138. package/dist/actions/retrieve-reddit-post.cjs +17 -17
  139. package/dist/actions/retrieve-reddit-post.cjs.map +1 -1
  140. package/dist/actions/retrieve-reddit-post.d.cts +47 -3
  141. package/dist/actions/retrieve-reddit-post.d.cts.map +1 -1
  142. package/dist/actions/retrieve-reddit-post.d.mts +47 -3
  143. package/dist/actions/retrieve-reddit-post.d.mts.map +1 -1
  144. package/dist/actions/retrieve-reddit-post.mjs +17 -17
  145. package/dist/actions/retrieve-reddit-post.mjs.map +1 -1
  146. package/dist/actions/retrieve-specific-comment.cjs +5 -5
  147. package/dist/actions/retrieve-specific-comment.cjs.map +1 -1
  148. package/dist/actions/retrieve-specific-comment.d.cts +47 -3
  149. package/dist/actions/retrieve-specific-comment.d.cts.map +1 -1
  150. package/dist/actions/retrieve-specific-comment.d.mts +47 -3
  151. package/dist/actions/retrieve-specific-comment.d.mts.map +1 -1
  152. package/dist/actions/retrieve-specific-comment.mjs +5 -5
  153. package/dist/actions/retrieve-specific-comment.mjs.map +1 -1
  154. package/dist/actions/search-across-subreddits.cjs +14 -14
  155. package/dist/actions/search-across-subreddits.cjs.map +1 -1
  156. package/dist/actions/search-across-subreddits.d.cts +43 -3
  157. package/dist/actions/search-across-subreddits.d.cts.map +1 -1
  158. package/dist/actions/search-across-subreddits.d.mts +43 -3
  159. package/dist/actions/search-across-subreddits.d.mts.map +1 -1
  160. package/dist/actions/search-across-subreddits.mjs +14 -14
  161. package/dist/actions/search-across-subreddits.mjs.map +1 -1
  162. package/dist/actions/toggle-inbox-replies.cjs.map +1 -1
  163. package/dist/actions/toggle-inbox-replies.d.cts +9 -3
  164. package/dist/actions/toggle-inbox-replies.d.cts.map +1 -1
  165. package/dist/actions/toggle-inbox-replies.d.mts +9 -3
  166. package/dist/actions/toggle-inbox-replies.d.mts.map +1 -1
  167. package/dist/actions/toggle-inbox-replies.mjs.map +1 -1
  168. package/dist/execute.cjs +1 -1
  169. package/dist/execute.cjs.map +1 -1
  170. package/dist/execute.mjs +1 -1
  171. package/dist/execute.mjs.map +1 -1
  172. package/package.json +2 -2
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/toggle-inbox-replies.d.ts
4
- declare const RedditToggleInboxRepliesInput: z.ZodTypeAny;
5
- declare const RedditToggleInboxRepliesOutput: z.ZodTypeAny;
6
- declare const redditToggleInboxReplies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditToggleInboxRepliesInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ state: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ declare const RedditToggleInboxRepliesOutput: z.ZodObject<{}, z.core.$strip>;
9
+ declare const redditToggleInboxReplies: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ id: string;
11
+ state: boolean;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { redditToggleInboxReplies };
9
15
  //# sourceMappingURL=toggle-inbox-replies.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-inbox-replies.d.cts","names":[],"sources":["../../src/actions/toggle-inbox-replies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAA4S;AAAA,cAE9U,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"toggle-inbox-replies.d.cts","names":[],"sources":["../../src/actions/toggle-inbox-replies.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/toggle-inbox-replies.d.ts
4
- declare const RedditToggleInboxRepliesInput: z.ZodTypeAny;
5
- declare const RedditToggleInboxRepliesOutput: z.ZodTypeAny;
6
- declare const redditToggleInboxReplies: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RedditToggleInboxRepliesInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ state: z.ZodBoolean;
7
+ }, z.core.$strip>;
8
+ declare const RedditToggleInboxRepliesOutput: z.ZodObject<{}, z.core.$strip>;
9
+ declare const redditToggleInboxReplies: import("@keystrokehq/action").WorkflowActionDefinition<{
10
+ id: string;
11
+ state: boolean;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { redditToggleInboxReplies };
9
15
  //# sourceMappingURL=toggle-inbox-replies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-inbox-replies.d.mts","names":[],"sources":["../../src/actions/toggle-inbox-replies.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAG5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAA4S;AAAA,cAE9U,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"toggle-inbox-replies.d.mts","names":[],"sources":["../../src/actions/toggle-inbox-replies.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAI7B,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAE9B,wBAAA,gCAAwB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-inbox-replies.mjs","names":[],"sources":["../../src/actions/toggle-inbox-replies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditToggleInboxRepliesInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The fullname of a thing created by the user. Must be prefixed with the thing type (e.g., 't3_' for a submission/post, 't1_' for a comment). Example: 't3_abc123' for a post.\"),\n state: z.boolean().describe(\"Boolean value to enable or disable inbox replies. Set to true to enable receiving inbox notifications when users reply to this thing, or false to disable inbox notifications.\"),\n});\nexport const RedditToggleInboxRepliesOutput: z.ZodTypeAny = z.object({}).describe(\"Response from Reddit's /api/sendreplies endpoint.\\n\\nThe Reddit API /api/sendreplies endpoint typically returns an empty JSON object\\nor minimal response upon successful execution. Success is indicated by HTTP status\\ncode (200 or 204) and the absence of errors.\");\n\nexport const redditToggleInboxReplies = action(\"REDDIT_TOGGLE_INBOX_REPLIES\", {\n slug: \"reddit-toggle-inbox-replies\",\n name: \"Enable or disable inbox replies\",\n description: \"Enable or disable inbox replies for a submission or comment. Use when you want to control whether you receive inbox notifications for replies to your own posts or comments.\",\n input: RedditToggleInboxRepliesInput,\n output: RedditToggleInboxRepliesOutput,\n});\n"],"mappings":";;AAUA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVyD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;EACtM,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gLAAgL;CAC9M,CAOS;CACP,QAP0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wQAOxE;AACV,CAAC"}
1
+ {"version":3,"file":"toggle-inbox-replies.mjs","names":[],"sources":["../../src/actions/toggle-inbox-replies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RedditToggleInboxRepliesInput = z.object({\n id: z.string().describe(\"The fullname of a thing created by the user. Must be prefixed with the thing type (e.g., 't3_' for a submission/post, 't1_' for a comment). Example: 't3_abc123' for a post.\"),\n state: z.boolean().describe(\"Boolean value to enable or disable inbox replies. Set to true to enable receiving inbox notifications when users reply to this thing, or false to disable inbox notifications.\"),\n});\nexport const RedditToggleInboxRepliesOutput = z.object({}).describe(\"Response from Reddit's /api/sendreplies endpoint.\\n\\nThe Reddit API /api/sendreplies endpoint typically returns an empty JSON object\\nor minimal response upon successful execution. Success is indicated by HTTP status\\ncode (200 or 204) and the absence of errors.\");\n\nexport const redditToggleInboxReplies = action(\"REDDIT_TOGGLE_INBOX_REPLIES\", {\n slug: \"reddit-toggle-inbox-replies\",\n name: \"Enable or disable inbox replies\",\n description: \"Enable or disable inbox replies for a submission or comment. Use when you want to control whether you receive inbox notifications for replies to your own posts or comments.\",\n input: RedditToggleInboxRepliesInput,\n output: RedditToggleInboxRepliesOutput,\n});\n"],"mappings":";;AAUA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8KAA8K;EACtM,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,gLAAgL;CAC9M,CAOS;CACP,QAP4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wQAO1D;AACV,CAAC"}
package/dist/execute.cjs CHANGED
@@ -2,7 +2,7 @@ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
2
  //#region src/execute.ts
3
3
  const APP_SLUG = "reddit";
4
4
  /** Pinned app version — updated on regeneration. */
5
- const APP_VERSION = "20260615_00";
5
+ const APP_VERSION = "20260623_00";
6
6
  async function executeRedditTool(tool, args) {
7
7
  const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
8
  app: APP_SLUG,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"reddit\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRedditTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"reddit\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260623_00\";\n\nexport async function executeRedditTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/execute.mjs CHANGED
@@ -2,7 +2,7 @@ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
2
  //#region src/execute.ts
3
3
  const APP_SLUG = "reddit";
4
4
  /** Pinned app version — updated on regeneration. */
5
- const APP_VERSION = "20260615_00";
5
+ const APP_VERSION = "20260623_00";
6
6
  async function executeRedditTool(tool, args) {
7
7
  const { result } = await createKeystrokeClient().tools.execute({
8
8
  app: APP_SLUG,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"reddit\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeRedditTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"reddit\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260623_00\";\n\nexport async function executeRedditTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/reddit",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {