@keystrokehq/snowflake 0.0.22 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/action.cjs +21 -0
  2. package/dist/action.cjs.map +1 -0
  3. package/dist/action.mjs +21 -0
  4. package/dist/action.mjs.map +1 -0
  5. package/dist/actions/cancel-statement-execution.cjs +25 -0
  6. package/dist/actions/cancel-statement-execution.cjs.map +1 -0
  7. package/dist/actions/cancel-statement-execution.d.cts +9 -0
  8. package/dist/actions/cancel-statement-execution.d.cts.map +1 -0
  9. package/dist/actions/cancel-statement-execution.d.mts +9 -0
  10. package/dist/actions/cancel-statement-execution.d.mts.map +1 -0
  11. package/dist/actions/cancel-statement-execution.mjs +22 -0
  12. package/dist/actions/cancel-statement-execution.mjs.map +1 -0
  13. package/dist/actions/check-statement-status.cjs +58 -0
  14. package/dist/actions/check-statement-status.cjs.map +1 -0
  15. package/dist/actions/check-statement-status.d.cts +9 -0
  16. package/dist/actions/check-statement-status.d.cts.map +1 -0
  17. package/dist/actions/check-statement-status.d.mts +9 -0
  18. package/dist/actions/check-statement-status.d.mts.map +1 -0
  19. package/dist/actions/check-statement-status.mjs +57 -0
  20. package/dist/actions/check-statement-status.mjs.map +1 -0
  21. package/dist/actions/drop-warehouse.cjs +24 -0
  22. package/dist/actions/drop-warehouse.cjs.map +1 -0
  23. package/dist/actions/drop-warehouse.d.cts +9 -0
  24. package/dist/actions/drop-warehouse.d.cts.map +1 -0
  25. package/dist/actions/drop-warehouse.d.mts +9 -0
  26. package/dist/actions/drop-warehouse.d.mts.map +1 -0
  27. package/dist/actions/drop-warehouse.mjs +21 -0
  28. package/dist/actions/drop-warehouse.mjs.map +1 -0
  29. package/dist/actions/execute-sql.cjs +64 -0
  30. package/dist/actions/execute-sql.cjs.map +1 -0
  31. package/dist/actions/execute-sql.d.cts +9 -0
  32. package/dist/actions/execute-sql.d.cts.map +1 -0
  33. package/dist/actions/execute-sql.d.mts +9 -0
  34. package/dist/actions/execute-sql.d.mts.map +1 -0
  35. package/dist/actions/execute-sql.mjs +63 -0
  36. package/dist/actions/execute-sql.mjs.map +1 -0
  37. package/dist/actions/fetch-catalog-integration.cjs +26 -0
  38. package/dist/actions/fetch-catalog-integration.cjs.map +1 -0
  39. package/dist/actions/fetch-catalog-integration.d.cts +9 -0
  40. package/dist/actions/fetch-catalog-integration.d.cts.map +1 -0
  41. package/dist/actions/fetch-catalog-integration.d.mts +9 -0
  42. package/dist/actions/fetch-catalog-integration.d.mts.map +1 -0
  43. package/dist/actions/fetch-catalog-integration.mjs +25 -0
  44. package/dist/actions/fetch-catalog-integration.mjs.map +1 -0
  45. package/dist/actions/get-active-scheduled-maintenances.cjs +51 -0
  46. package/dist/actions/get-active-scheduled-maintenances.cjs.map +1 -0
  47. package/dist/actions/get-active-scheduled-maintenances.d.cts +9 -0
  48. package/dist/actions/get-active-scheduled-maintenances.d.cts.map +1 -0
  49. package/dist/actions/get-active-scheduled-maintenances.d.mts +9 -0
  50. package/dist/actions/get-active-scheduled-maintenances.d.mts.map +1 -0
  51. package/dist/actions/get-active-scheduled-maintenances.mjs +50 -0
  52. package/dist/actions/get-active-scheduled-maintenances.mjs.map +1 -0
  53. package/dist/actions/get-all-scheduled-maintenances.cjs +61 -0
  54. package/dist/actions/get-all-scheduled-maintenances.cjs.map +1 -0
  55. package/dist/actions/get-all-scheduled-maintenances.d.cts +9 -0
  56. package/dist/actions/get-all-scheduled-maintenances.d.cts.map +1 -0
  57. package/dist/actions/get-all-scheduled-maintenances.d.mts +9 -0
  58. package/dist/actions/get-all-scheduled-maintenances.d.mts.map +1 -0
  59. package/dist/actions/get-all-scheduled-maintenances.mjs +60 -0
  60. package/dist/actions/get-all-scheduled-maintenances.mjs.map +1 -0
  61. package/dist/actions/get-component-status.cjs +40 -0
  62. package/dist/actions/get-component-status.cjs.map +1 -0
  63. package/dist/actions/get-component-status.d.cts +9 -0
  64. package/dist/actions/get-component-status.d.cts.map +1 -0
  65. package/dist/actions/get-component-status.d.mts +9 -0
  66. package/dist/actions/get-component-status.d.mts.map +1 -0
  67. package/dist/actions/get-component-status.mjs +39 -0
  68. package/dist/actions/get-component-status.mjs.map +1 -0
  69. package/dist/actions/get-status-rollup.cjs +30 -0
  70. package/dist/actions/get-status-rollup.cjs.map +1 -0
  71. package/dist/actions/get-status-rollup.d.cts +9 -0
  72. package/dist/actions/get-status-rollup.d.cts.map +1 -0
  73. package/dist/actions/get-status-rollup.d.mts +9 -0
  74. package/dist/actions/get-status-rollup.d.mts.map +1 -0
  75. package/dist/actions/get-status-rollup.mjs +29 -0
  76. package/dist/actions/get-status-rollup.mjs.map +1 -0
  77. package/dist/actions/get-status-summary.cjs +86 -0
  78. package/dist/actions/get-status-summary.cjs.map +1 -0
  79. package/dist/actions/get-status-summary.d.cts +9 -0
  80. package/dist/actions/get-status-summary.d.cts.map +1 -0
  81. package/dist/actions/get-status-summary.d.mts +9 -0
  82. package/dist/actions/get-status-summary.d.mts.map +1 -0
  83. package/dist/actions/get-status-summary.mjs +85 -0
  84. package/dist/actions/get-status-summary.mjs.map +1 -0
  85. package/dist/actions/get-unresolved-incidents.cjs +48 -0
  86. package/dist/actions/get-unresolved-incidents.cjs.map +1 -0
  87. package/dist/actions/get-unresolved-incidents.d.cts +9 -0
  88. package/dist/actions/get-unresolved-incidents.d.cts.map +1 -0
  89. package/dist/actions/get-unresolved-incidents.d.mts +9 -0
  90. package/dist/actions/get-unresolved-incidents.d.mts.map +1 -0
  91. package/dist/actions/get-unresolved-incidents.mjs +47 -0
  92. package/dist/actions/get-unresolved-incidents.mjs.map +1 -0
  93. package/dist/actions/get-upcoming-scheduled-maintenances.cjs +50 -0
  94. package/dist/actions/get-upcoming-scheduled-maintenances.cjs.map +1 -0
  95. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts +9 -0
  96. package/dist/actions/get-upcoming-scheduled-maintenances.d.cts.map +1 -0
  97. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts +9 -0
  98. package/dist/actions/get-upcoming-scheduled-maintenances.d.mts.map +1 -0
  99. package/dist/actions/get-upcoming-scheduled-maintenances.mjs +49 -0
  100. package/dist/actions/get-upcoming-scheduled-maintenances.mjs.map +1 -0
  101. package/dist/actions/index.cjs +33 -0
  102. package/dist/actions/index.d.cts +17 -0
  103. package/dist/actions/index.d.mts +17 -0
  104. package/dist/actions/index.mjs +17 -0
  105. package/dist/actions/show-databases.cjs +34 -0
  106. package/dist/actions/show-databases.cjs.map +1 -0
  107. package/dist/actions/show-databases.d.cts +9 -0
  108. package/dist/actions/show-databases.d.cts.map +1 -0
  109. package/dist/actions/show-databases.d.mts +9 -0
  110. package/dist/actions/show-databases.d.mts.map +1 -0
  111. package/dist/actions/show-databases.mjs +31 -0
  112. package/dist/actions/show-databases.mjs.map +1 -0
  113. package/dist/actions/show-schemas.cjs +36 -0
  114. package/dist/actions/show-schemas.cjs.map +1 -0
  115. package/dist/actions/show-schemas.d.cts +9 -0
  116. package/dist/actions/show-schemas.d.cts.map +1 -0
  117. package/dist/actions/show-schemas.d.mts +9 -0
  118. package/dist/actions/show-schemas.d.mts.map +1 -0
  119. package/dist/actions/show-schemas.mjs +33 -0
  120. package/dist/actions/show-schemas.mjs.map +1 -0
  121. package/dist/actions/show-tables.cjs +37 -0
  122. package/dist/actions/show-tables.cjs.map +1 -0
  123. package/dist/actions/show-tables.d.cts +9 -0
  124. package/dist/actions/show-tables.d.cts.map +1 -0
  125. package/dist/actions/show-tables.d.mts +9 -0
  126. package/dist/actions/show-tables.d.mts.map +1 -0
  127. package/dist/actions/show-tables.mjs +34 -0
  128. package/dist/actions/show-tables.mjs.map +1 -0
  129. package/dist/actions/validate-credential.cjs +20 -0
  130. package/dist/actions/validate-credential.cjs.map +1 -0
  131. package/dist/actions/validate-credential.d.cts +9 -0
  132. package/dist/actions/validate-credential.d.cts.map +1 -0
  133. package/dist/actions/validate-credential.d.mts +9 -0
  134. package/dist/actions/validate-credential.d.mts.map +1 -0
  135. package/dist/actions/validate-credential.mjs +17 -0
  136. package/dist/actions/validate-credential.mjs.map +1 -0
  137. package/dist/app.cjs +9 -0
  138. package/dist/app.cjs.map +1 -0
  139. package/dist/app.d.cts +5 -0
  140. package/dist/app.d.cts.map +1 -0
  141. package/dist/app.d.mts +5 -0
  142. package/dist/app.d.mts.map +1 -0
  143. package/dist/app.mjs +10 -0
  144. package/dist/app.mjs.map +1 -0
  145. package/dist/catalog.cjs +15 -0
  146. package/dist/catalog.cjs.map +1 -0
  147. package/dist/catalog.d.cts +14 -0
  148. package/dist/catalog.d.cts.map +1 -0
  149. package/dist/catalog.d.mts +14 -0
  150. package/dist/catalog.d.mts.map +1 -0
  151. package/dist/catalog.mjs +15 -0
  152. package/dist/catalog.mjs.map +1 -0
  153. package/dist/execute.cjs +18 -0
  154. package/dist/execute.cjs.map +1 -0
  155. package/dist/execute.mjs +18 -0
  156. package/dist/execute.mjs.map +1 -0
  157. package/dist/index.cjs +38 -0
  158. package/dist/index.d.cts +19 -0
  159. package/dist/index.d.mts +19 -0
  160. package/dist/index.mjs +20 -0
  161. package/package.json +11 -18
  162. package/LICENSE +0 -21
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/show-tables.ts
4
+ const SnowflakeShowTablesInput = zod.z.object({
5
+ role: zod.z.string().describe("Role to use when executing the statement.").optional(),
6
+ limit: zod.z.number().int().describe("Maximum number of rows to return. Cannot exceed 10000.").optional(),
7
+ terse: zod.z.boolean().default(false).describe("If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).").optional(),
8
+ schema: zod.z.string().describe("Schema context for the query.").optional(),
9
+ history: zod.z.boolean().default(false).describe("If true, includes dropped tables that are still within Time Travel retention period.").optional(),
10
+ timeout: zod.z.number().int().describe("Timeout in seconds for statement execution.").optional(),
11
+ database: zod.z.string().describe("Database context for the query.").optional(),
12
+ in_scope: zod.z.string().describe("Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.").optional(),
13
+ from_name: zod.z.string().describe("Used with LIMIT for pagination. Returns results starting from tables whose names match this string.").optional(),
14
+ warehouse: zod.z.string().describe("Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).").optional(),
15
+ starts_with: zod.z.string().describe("Filters results by tables whose names start with this string. Case-sensitive.").optional(),
16
+ like_pattern: zod.z.string().describe("Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.").optional()
17
+ });
18
+ const SnowflakeShowTablesOutput = zod.z.object({
19
+ data: zod.z.array(zod.z.array(zod.z.union([
20
+ zod.z.string(),
21
+ zod.z.number().int(),
22
+ zod.z.number(),
23
+ zod.z.boolean()
24
+ ]).nullable())).describe("List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc."),
25
+ columns: zod.z.array(zod.z.string()).describe("Column names in the result set.").nullable().optional()
26
+ });
27
+ const snowflakeShowTables = require_action.action("SNOWFLAKE_SHOW_TABLES", {
28
+ slug: "snowflake-show-tables",
29
+ name: "Show Tables",
30
+ description: "Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.",
31
+ input: SnowflakeShowTablesInput,
32
+ output: SnowflakeShowTablesOutput
33
+ });
34
+ //#endregion
35
+ exports.snowflakeShowTables = snowflakeShowTables;
36
+
37
+ //# sourceMappingURL=show-tables.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-tables.cjs","names":["z","action"],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CAC/P,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/show-tables.d.ts
4
+ declare const SnowflakeShowTablesInput: z.ZodTypeAny;
5
+ declare const SnowflakeShowTablesOutput: z.ZodTypeAny;
6
+ declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { snowflakeShowTables };
9
+ //# sourceMappingURL=show-tables.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-tables.d.cts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAavC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/show-tables.d.ts
4
+ declare const SnowflakeShowTablesInput: z.ZodTypeAny;
5
+ declare const SnowflakeShowTablesOutput: z.ZodTypeAny;
6
+ declare const snowflakeShowTables: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { snowflakeShowTables };
9
+ //# sourceMappingURL=show-tables.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-tables.d.mts","names":[],"sources":["../../src/actions/show-tables.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAavC;AAAA,cACW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const snowflakeShowTables = action("SNOWFLAKE_SHOW_TABLES", {
4
+ slug: "snowflake-show-tables",
5
+ name: "Show Tables",
6
+ description: "Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.",
7
+ input: z.object({
8
+ role: z.string().describe("Role to use when executing the statement.").optional(),
9
+ limit: z.number().int().describe("Maximum number of rows to return. Cannot exceed 10000.").optional(),
10
+ terse: z.boolean().default(false).describe("If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).").optional(),
11
+ schema: z.string().describe("Schema context for the query.").optional(),
12
+ history: z.boolean().default(false).describe("If true, includes dropped tables that are still within Time Travel retention period.").optional(),
13
+ timeout: z.number().int().describe("Timeout in seconds for statement execution.").optional(),
14
+ database: z.string().describe("Database context for the query.").optional(),
15
+ in_scope: z.string().describe("Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.").optional(),
16
+ from_name: z.string().describe("Used with LIMIT for pagination. Returns results starting from tables whose names match this string.").optional(),
17
+ warehouse: z.string().describe("Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).").optional(),
18
+ starts_with: z.string().describe("Filters results by tables whose names start with this string. Case-sensitive.").optional(),
19
+ like_pattern: z.string().describe("Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.").optional()
20
+ }),
21
+ output: z.object({
22
+ data: z.array(z.array(z.union([
23
+ z.string(),
24
+ z.number().int(),
25
+ z.number(),
26
+ z.boolean()
27
+ ]).nullable())).describe("List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc."),
28
+ columns: z.array(z.string()).describe("Column names in the result set.").nullable().optional()
29
+ })
30
+ });
31
+ //#endregion
32
+ export { snowflakeShowTables };
33
+
34
+ //# sourceMappingURL=show-tables.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"show-tables.mjs","names":[],"sources":["../../src/actions/show-tables.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeShowTablesInput: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role to use when executing the statement.\").optional(),\n limit: z.number().int().describe(\"Maximum number of rows to return. Cannot exceed 10000.\").optional(),\n terse: z.boolean().default(false).describe(\"If true, returns only a subset of output columns (created_on, name, kind, database_name, schema_name).\").optional(),\n schema: z.string().describe(\"Schema context for the query.\").optional(),\n history: z.boolean().default(false).describe(\"If true, includes dropped tables that are still within Time Travel retention period.\").optional(),\n timeout: z.number().int().describe(\"Timeout in seconds for statement execution.\").optional(),\n database: z.string().describe(\"Database context for the query.\").optional(),\n in_scope: z.string().describe(\"Scope for the command. Options: 'ACCOUNT', 'DATABASE', 'SCHEMA', or specific database/schema names.\").optional(),\n from_name: z.string().describe(\"Used with LIMIT for pagination. Returns results starting from tables whose names match this string.\").optional(),\n warehouse: z.string().describe(\"Warehouse to use for the query (though SHOW TABLES doesn't require a running warehouse).\").optional(),\n starts_with: z.string().describe(\"Filters results by tables whose names start with this string. Case-sensitive.\").optional(),\n like_pattern: z.string().describe(\"Filters results by table name using SQL wildcard pattern (% and _). Case-insensitive.\").optional(),\n});\nexport const SnowflakeShowTablesOutput: z.ZodTypeAny = z.object({\n data: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"List of tables with their metadata. Each row contains table information like name, creation date, owner, database, schema, row count, size, etc.\"),\n columns: z.array(z.string()).describe(\"Column names in the result set.\").nullable().optional(),\n});\n\nexport const snowflakeShowTables = action(\"SNOWFLAKE_SHOW_TABLES\", {\n slug: \"snowflake-show-tables\",\n name: \"Show Tables\",\n description: \"Lists all tables for which you have access privileges. Shows table metadata including name, creation date, owner, database, schema, row count, size in bytes, clustering keys, and more. Can filter results and include dropped tables within Time Travel retention period.\",\n input: SnowflakeShowTablesInput,\n output: SnowflakeShowTablesOutput,\n});\n"],"mappings":";;AAuBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAC3H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACtI,CAUS;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EAC/P,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,CAOU;AACV,CAAC"}
@@ -0,0 +1,20 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/validate-credential.ts
4
+ const SnowflakeValidateCredentialInput = zod.z.object({}).describe("Request model for validating Snowflake credentials.");
5
+ const SnowflakeValidateCredentialOutput = zod.z.object({
6
+ message: zod.z.string().describe("Additional status message or error details").nullable().optional(),
7
+ is_valid: zod.z.boolean().describe("Indicates whether the credentials are valid and the session is active"),
8
+ session_id: zod.z.string().describe("Unique system identifier for the Snowflake session if credentials are valid").nullable().optional()
9
+ }).describe("Response model for credential validation.");
10
+ const snowflakeValidateCredential = require_action.action("SNOWFLAKE_VALIDATE_CREDENTIAL", {
11
+ slug: "snowflake-validate-credential",
12
+ name: "Validate Credential",
13
+ description: "Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.",
14
+ input: SnowflakeValidateCredentialInput,
15
+ output: SnowflakeValidateCredentialOutput
16
+ });
17
+ //#endregion
18
+ exports.snowflakeValidateCredential = snowflakeValidateCredential;
19
+
20
+ //# sourceMappingURL=validate-credential.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-credential.cjs","names":["z","action"],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput: z.ZodTypeAny = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\"),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACzI,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/validate-credential.d.ts
4
+ declare const SnowflakeValidateCredentialInput: z.ZodTypeAny;
5
+ declare const SnowflakeValidateCredentialOutput: z.ZodTypeAny;
6
+ declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { snowflakeValidateCredential };
9
+ //# sourceMappingURL=validate-credential.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-credential.d.cts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAyF;AAAA,cAC7H,iCAAA,EAAmC,CAAA,CAAE,UAIM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/validate-credential.d.ts
4
+ declare const SnowflakeValidateCredentialInput: z.ZodTypeAny;
5
+ declare const SnowflakeValidateCredentialOutput: z.ZodTypeAny;
6
+ declare const snowflakeValidateCredential: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { snowflakeValidateCredential };
9
+ //# sourceMappingURL=validate-credential.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-credential.d.mts","names":[],"sources":["../../src/actions/validate-credential.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAAyF;AAAA,cAC7H,iCAAA,EAAmC,CAAA,CAAE,UAIM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,17 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const snowflakeValidateCredential = action("SNOWFLAKE_VALIDATE_CREDENTIAL", {
4
+ slug: "snowflake-validate-credential",
5
+ name: "Validate Credential",
6
+ description: "Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.",
7
+ input: z.object({}).describe("Request model for validating Snowflake credentials."),
8
+ output: z.object({
9
+ message: z.string().describe("Additional status message or error details").nullable().optional(),
10
+ is_valid: z.boolean().describe("Indicates whether the credentials are valid and the session is active"),
11
+ session_id: z.string().describe("Unique system identifier for the Snowflake session if credentials are valid").nullable().optional()
12
+ }).describe("Response model for credential validation.")
13
+ });
14
+ //#endregion
15
+ export { snowflakeValidateCredential };
16
+
17
+ //# sourceMappingURL=validate-credential.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validate-credential.mjs","names":[],"sources":["../../src/actions/validate-credential.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SnowflakeValidateCredentialInput: z.ZodTypeAny = z.object({}).describe(\"Request model for validating Snowflake credentials.\");\nexport const SnowflakeValidateCredentialOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional status message or error details\").nullable().optional(),\n is_valid: z.boolean().describe(\"Indicates whether the credentials are valid and the session is active\"),\n session_id: z.string().describe(\"Unique system identifier for the Snowflake session if credentials are valid\").nullable().optional(),\n}).describe(\"Response model for credential validation.\");\n\nexport const snowflakeValidateCredential = action(\"SNOWFLAKE_VALIDATE_CREDENTIAL\", {\n slug: \"snowflake-validate-credential\",\n name: \"Validate Credential\",\n description: \"Validates Snowflake credentials by executing a lightweight test query. Returns session information if credentials are valid, or error details if authentication fails. Use this action when you need to verify that API credentials are properly configured and have access to the Snowflake account before executing other operations. This check does not require compute resources (warehouse) and completes quickly.\",\n input: SnowflakeValidateCredentialInput,\n output: SnowflakeValidateCredentialOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX4D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAW3E;CACP,QAX6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const snowflake = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "snowflake",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.snowflake = snowflake;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const snowflake = defineApp({\n slug: \"snowflake\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,aAAA,uCAAA,CAAA,CAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const snowflake: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { snowflake };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const snowflake: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { snowflake };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,SAAA,6BAAS,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const snowflake = defineApp({
4
+ slug: "snowflake",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { snowflake };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const snowflake = defineApp({\n slug: \"snowflake\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const snowflakeCatalog = {
4
+ "slug": "snowflake",
5
+ "name": "Snowflake",
6
+ "description": "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments",
7
+ "category": "Databases",
8
+ "logo": "https://logos.composio.dev/api/snowflake",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.snowflakeCatalog = snowflakeCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeCatalog = {\n \"slug\": \"snowflake\",\n \"name\": \"Snowflake\",\n \"description\": \"Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/snowflake\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const snowflakeCatalog: {
4
+ readonly slug: "snowflake";
5
+ readonly name: "Snowflake";
6
+ readonly description: "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments";
7
+ readonly category: "Databases";
8
+ readonly logo: "https://logos.composio.dev/api/snowflake";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { snowflakeCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const snowflakeCatalog: {
4
+ readonly slug: "snowflake";
5
+ readonly name: "Snowflake";
6
+ readonly description: "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments";
7
+ readonly category: "Databases";
8
+ readonly logo: "https://logos.composio.dev/api/snowflake";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { snowflakeCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,gBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const snowflakeCatalog = {
4
+ "slug": "snowflake",
5
+ "name": "Snowflake",
6
+ "description": "Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments",
7
+ "category": "Databases",
8
+ "logo": "https://logos.composio.dev/api/snowflake",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { snowflakeCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const snowflakeCatalog = {\n \"slug\": \"snowflake\",\n \"name\": \"Snowflake\",\n \"description\": \"Snowflake is a cloud-based data warehouse offering elastic scaling, secure data sharing, and SQL analytics across multiple cloud environments\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/snowflake\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "snowflake";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSnowflakeTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeSnowflakeTool = executeSnowflakeTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"snowflake\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSnowflakeTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "snowflake";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeSnowflakeTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeSnowflakeTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"snowflake\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeSnowflakeTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,qBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/index.cjs ADDED
@@ -0,0 +1,38 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_cancel_statement_execution = require("./actions/cancel-statement-execution.cjs");
5
+ const require_check_statement_status = require("./actions/check-statement-status.cjs");
6
+ const require_drop_warehouse = require("./actions/drop-warehouse.cjs");
7
+ const require_execute_sql = require("./actions/execute-sql.cjs");
8
+ const require_fetch_catalog_integration = require("./actions/fetch-catalog-integration.cjs");
9
+ const require_get_active_scheduled_maintenances = require("./actions/get-active-scheduled-maintenances.cjs");
10
+ const require_get_all_scheduled_maintenances = require("./actions/get-all-scheduled-maintenances.cjs");
11
+ const require_get_component_status = require("./actions/get-component-status.cjs");
12
+ const require_get_status_rollup = require("./actions/get-status-rollup.cjs");
13
+ const require_get_status_summary = require("./actions/get-status-summary.cjs");
14
+ const require_get_unresolved_incidents = require("./actions/get-unresolved-incidents.cjs");
15
+ const require_get_upcoming_scheduled_maintenances = require("./actions/get-upcoming-scheduled-maintenances.cjs");
16
+ const require_show_databases = require("./actions/show-databases.cjs");
17
+ const require_show_schemas = require("./actions/show-schemas.cjs");
18
+ const require_show_tables = require("./actions/show-tables.cjs");
19
+ const require_validate_credential = require("./actions/validate-credential.cjs");
20
+ require("./actions/index.cjs");
21
+ exports.snowflake = require_app.snowflake;
22
+ exports.snowflakeCancelStatementExecution = require_cancel_statement_execution.snowflakeCancelStatementExecution;
23
+ exports.snowflakeCatalog = require_catalog.snowflakeCatalog;
24
+ exports.snowflakeCheckStatementStatus = require_check_statement_status.snowflakeCheckStatementStatus;
25
+ exports.snowflakeDropWarehouse = require_drop_warehouse.snowflakeDropWarehouse;
26
+ exports.snowflakeExecuteSql = require_execute_sql.snowflakeExecuteSql;
27
+ exports.snowflakeFetchCatalogIntegration = require_fetch_catalog_integration.snowflakeFetchCatalogIntegration;
28
+ exports.snowflakeGetActiveScheduledMaintenances = require_get_active_scheduled_maintenances.snowflakeGetActiveScheduledMaintenances;
29
+ exports.snowflakeGetAllScheduledMaintenances = require_get_all_scheduled_maintenances.snowflakeGetAllScheduledMaintenances;
30
+ exports.snowflakeGetComponentStatus = require_get_component_status.snowflakeGetComponentStatus;
31
+ exports.snowflakeGetStatusRollup = require_get_status_rollup.snowflakeGetStatusRollup;
32
+ exports.snowflakeGetStatusSummary = require_get_status_summary.snowflakeGetStatusSummary;
33
+ exports.snowflakeGetUnresolvedIncidents = require_get_unresolved_incidents.snowflakeGetUnresolvedIncidents;
34
+ exports.snowflakeGetUpcomingScheduledMaintenances = require_get_upcoming_scheduled_maintenances.snowflakeGetUpcomingScheduledMaintenances;
35
+ exports.snowflakeShowDatabases = require_show_databases.snowflakeShowDatabases;
36
+ exports.snowflakeShowSchemas = require_show_schemas.snowflakeShowSchemas;
37
+ exports.snowflakeShowTables = require_show_tables.snowflakeShowTables;
38
+ exports.snowflakeValidateCredential = require_validate_credential.snowflakeValidateCredential;
@@ -0,0 +1,19 @@
1
+ import { snowflakeCancelStatementExecution } from "./actions/cancel-statement-execution.cjs";
2
+ import { snowflakeCheckStatementStatus } from "./actions/check-statement-status.cjs";
3
+ import { snowflakeDropWarehouse } from "./actions/drop-warehouse.cjs";
4
+ import { snowflakeExecuteSql } from "./actions/execute-sql.cjs";
5
+ import { snowflakeFetchCatalogIntegration } from "./actions/fetch-catalog-integration.cjs";
6
+ import { snowflakeGetActiveScheduledMaintenances } from "./actions/get-active-scheduled-maintenances.cjs";
7
+ import { snowflakeGetAllScheduledMaintenances } from "./actions/get-all-scheduled-maintenances.cjs";
8
+ import { snowflakeGetComponentStatus } from "./actions/get-component-status.cjs";
9
+ import { snowflakeGetStatusRollup } from "./actions/get-status-rollup.cjs";
10
+ import { snowflakeGetStatusSummary } from "./actions/get-status-summary.cjs";
11
+ import { snowflakeGetUnresolvedIncidents } from "./actions/get-unresolved-incidents.cjs";
12
+ import { snowflakeGetUpcomingScheduledMaintenances } from "./actions/get-upcoming-scheduled-maintenances.cjs";
13
+ import { snowflakeShowDatabases } from "./actions/show-databases.cjs";
14
+ import { snowflakeShowSchemas } from "./actions/show-schemas.cjs";
15
+ import { snowflakeShowTables } from "./actions/show-tables.cjs";
16
+ import { snowflakeValidateCredential } from "./actions/validate-credential.cjs";
17
+ import { snowflake } from "./app.cjs";
18
+ import { snowflakeCatalog } from "./catalog.cjs";
19
+ export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
@@ -0,0 +1,19 @@
1
+ import { snowflakeCancelStatementExecution } from "./actions/cancel-statement-execution.mjs";
2
+ import { snowflakeCheckStatementStatus } from "./actions/check-statement-status.mjs";
3
+ import { snowflakeDropWarehouse } from "./actions/drop-warehouse.mjs";
4
+ import { snowflakeExecuteSql } from "./actions/execute-sql.mjs";
5
+ import { snowflakeFetchCatalogIntegration } from "./actions/fetch-catalog-integration.mjs";
6
+ import { snowflakeGetActiveScheduledMaintenances } from "./actions/get-active-scheduled-maintenances.mjs";
7
+ import { snowflakeGetAllScheduledMaintenances } from "./actions/get-all-scheduled-maintenances.mjs";
8
+ import { snowflakeGetComponentStatus } from "./actions/get-component-status.mjs";
9
+ import { snowflakeGetStatusRollup } from "./actions/get-status-rollup.mjs";
10
+ import { snowflakeGetStatusSummary } from "./actions/get-status-summary.mjs";
11
+ import { snowflakeGetUnresolvedIncidents } from "./actions/get-unresolved-incidents.mjs";
12
+ import { snowflakeGetUpcomingScheduledMaintenances } from "./actions/get-upcoming-scheduled-maintenances.mjs";
13
+ import { snowflakeShowDatabases } from "./actions/show-databases.mjs";
14
+ import { snowflakeShowSchemas } from "./actions/show-schemas.mjs";
15
+ import { snowflakeShowTables } from "./actions/show-tables.mjs";
16
+ import { snowflakeValidateCredential } from "./actions/validate-credential.mjs";
17
+ import { snowflake } from "./app.mjs";
18
+ import { snowflakeCatalog } from "./catalog.mjs";
19
+ export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
package/dist/index.mjs ADDED
@@ -0,0 +1,20 @@
1
+ import { snowflake } from "./app.mjs";
2
+ import { snowflakeCatalog } from "./catalog.mjs";
3
+ import { snowflakeCancelStatementExecution } from "./actions/cancel-statement-execution.mjs";
4
+ import { snowflakeCheckStatementStatus } from "./actions/check-statement-status.mjs";
5
+ import { snowflakeDropWarehouse } from "./actions/drop-warehouse.mjs";
6
+ import { snowflakeExecuteSql } from "./actions/execute-sql.mjs";
7
+ import { snowflakeFetchCatalogIntegration } from "./actions/fetch-catalog-integration.mjs";
8
+ import { snowflakeGetActiveScheduledMaintenances } from "./actions/get-active-scheduled-maintenances.mjs";
9
+ import { snowflakeGetAllScheduledMaintenances } from "./actions/get-all-scheduled-maintenances.mjs";
10
+ import { snowflakeGetComponentStatus } from "./actions/get-component-status.mjs";
11
+ import { snowflakeGetStatusRollup } from "./actions/get-status-rollup.mjs";
12
+ import { snowflakeGetStatusSummary } from "./actions/get-status-summary.mjs";
13
+ import { snowflakeGetUnresolvedIncidents } from "./actions/get-unresolved-incidents.mjs";
14
+ import { snowflakeGetUpcomingScheduledMaintenances } from "./actions/get-upcoming-scheduled-maintenances.mjs";
15
+ import { snowflakeShowDatabases } from "./actions/show-databases.mjs";
16
+ import { snowflakeShowSchemas } from "./actions/show-schemas.mjs";
17
+ import { snowflakeShowTables } from "./actions/show-tables.mjs";
18
+ import { snowflakeValidateCredential } from "./actions/validate-credential.mjs";
19
+ import "./actions/index.mjs";
20
+ export { snowflake, snowflakeCancelStatementExecution, snowflakeCatalog, snowflakeCheckStatementStatus, snowflakeDropWarehouse, snowflakeExecuteSql, snowflakeFetchCatalogIntegration, snowflakeGetActiveScheduledMaintenances, snowflakeGetAllScheduledMaintenances, snowflakeGetComponentStatus, snowflakeGetStatusRollup, snowflakeGetStatusSummary, snowflakeGetUnresolvedIncidents, snowflakeGetUpcomingScheduledMaintenances, snowflakeShowDatabases, snowflakeShowSchemas, snowflakeShowTables, snowflakeValidateCredential };
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@keystrokehq/snowflake",
3
- "version": "0.0.22",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
4
8
  "repository": {
5
9
  "type": "git",
6
10
  "url": "git+https://github.com/keystrokehq/keystroke.git",
@@ -9,6 +13,7 @@
9
13
  "files": [
10
14
  "dist"
11
15
  ],
16
+ "sideEffects": false,
12
17
  "type": "module",
13
18
  "main": "./dist/index.cjs",
14
19
  "module": "./dist/index.mjs",
@@ -25,32 +30,20 @@
25
30
  "require": "./dist/actions/index.cjs"
26
31
  }
27
32
  },
28
- "publishConfig": {
29
- "access": "public",
30
- "registry": "https://registry.npmjs.org"
31
- },
32
- "dependencies": {
33
- "zod": "^4.4.3",
34
- "@keystrokehq/keystroke": "0.1.4"
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
35
36
  },
36
37
  "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
37
39
  "@types/node": "^25.9.1",
38
- "oxlint": "^1.66.0",
39
40
  "tsdown": "^0.22.0",
40
41
  "typescript": "^6.0.3",
41
- "vitest": "^4.1.7",
42
- "@keystrokehq/oxlint-config": "0.0.4",
43
- "@keystrokehq/tsconfig": "0.0.3",
44
- "@keystrokehq/tsdown-config": "0.0.3",
45
- "@keystrokehq/vitest-config": "0.0.5"
42
+ "zod": "^4.4.3"
46
43
  },
47
44
  "scripts": {
48
45
  "build": "tsdown",
49
46
  "dev": "tsdown --watch --no-clean",
50
- "lint": "oxlint .",
51
- "test": "vitest run",
52
- "test:unit": "vitest run --project unit",
53
- "test:integration": "vitest run --project integration",
54
47
  "typecheck": "tsc --noEmit"
55
48
  }
56
49
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Dallin
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.