@keystrokehq/openrouter 0.1.4 → 0.1.5

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 (39) hide show
  1. package/dist/actions/create-chat-completion.d.cts +13 -1
  2. package/dist/actions/create-chat-completion.d.mts +13 -1
  3. package/dist/actions/create-coinbase-charge.d.cts +13 -1
  4. package/dist/actions/create-coinbase-charge.d.mts +13 -1
  5. package/dist/actions/create-message.d.cts +13 -1
  6. package/dist/actions/create-message.d.mts +13 -1
  7. package/dist/actions/get-credits.d.cts +13 -1
  8. package/dist/actions/get-credits.d.cts.map +1 -1
  9. package/dist/actions/get-credits.d.mts +13 -1
  10. package/dist/actions/get-credits.d.mts.map +1 -1
  11. package/dist/actions/get-current-key.d.cts +13 -1
  12. package/dist/actions/get-current-key.d.mts +13 -1
  13. package/dist/actions/get-generation.d.cts +13 -1
  14. package/dist/actions/get-generation.d.mts +13 -1
  15. package/dist/actions/get-models-count.d.cts +13 -1
  16. package/dist/actions/get-models-count.d.mts +13 -1
  17. package/dist/actions/list-available-models.d.cts +13 -1
  18. package/dist/actions/list-available-models.d.mts +13 -1
  19. package/dist/actions/list-embedding-models.d.cts +13 -1
  20. package/dist/actions/list-embedding-models.d.mts +13 -1
  21. package/dist/actions/list-model-endpoints.d.cts +13 -1
  22. package/dist/actions/list-model-endpoints.d.mts +13 -1
  23. package/dist/actions/list-providers.d.cts +13 -1
  24. package/dist/actions/list-providers.d.cts.map +1 -1
  25. package/dist/actions/list-providers.d.mts +13 -1
  26. package/dist/actions/list-providers.d.mts.map +1 -1
  27. package/dist/actions/list-user-models.d.cts +13 -1
  28. package/dist/actions/list-user-models.d.mts +13 -1
  29. package/dist/actions/list-zdr-endpoints.d.cts +13 -1
  30. package/dist/actions/list-zdr-endpoints.d.mts +13 -1
  31. package/dist/app.cjs +5 -2
  32. package/dist/app.cjs.map +1 -1
  33. package/dist/app.d.cts +9 -1
  34. package/dist/app.d.cts.map +1 -1
  35. package/dist/app.d.mts +9 -1
  36. package/dist/app.d.mts.map +1 -1
  37. package/dist/app.mjs +3 -1
  38. package/dist/app.mjs.map +1 -1
  39. package/package.json +1 -1
@@ -92,7 +92,19 @@ declare const openrouterCreateChatCompletion: import("@keystrokehq/action").Work
92
92
  function_call?: Record<string, unknown> | "none" | "auto" | undefined;
93
93
  presence_penalty?: number | undefined;
94
94
  frequency_penalty?: number | undefined;
95
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
95
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
96
+ connectionId: z.ZodString;
97
+ entityId: z.ZodString;
98
+ instanceId: z.ZodString;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ generic_api_key: z.ZodString;
101
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
102
+ connectionId: z.ZodString;
103
+ entityId: z.ZodString;
104
+ instanceId: z.ZodString;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ generic_api_key: z.ZodString;
107
+ }, z.core.$strip>>]>;
96
108
  //#endregion
97
109
  export { openrouterCreateChatCompletion };
98
110
  //# sourceMappingURL=create-chat-completion.d.cts.map
@@ -92,7 +92,19 @@ declare const openrouterCreateChatCompletion: import("@keystrokehq/action").Work
92
92
  function_call?: Record<string, unknown> | "none" | "auto" | undefined;
93
93
  presence_penalty?: number | undefined;
94
94
  frequency_penalty?: number | undefined;
95
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
95
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
96
+ connectionId: z.ZodString;
97
+ entityId: z.ZodString;
98
+ instanceId: z.ZodString;
99
+ }, z.core.$strip>, z.ZodObject<{
100
+ generic_api_key: z.ZodString;
101
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
102
+ connectionId: z.ZodString;
103
+ entityId: z.ZodString;
104
+ instanceId: z.ZodString;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ generic_api_key: z.ZodString;
107
+ }, z.core.$strip>>]>;
96
108
  //#endregion
97
109
  export { openrouterCreateChatCompletion };
98
110
  //# sourceMappingURL=create-chat-completion.d.mts.map
@@ -24,7 +24,19 @@ declare const openrouterCreateCoinbaseCharge: import("@keystrokehq/action").Work
24
24
  chain_id: 1 | 137 | 8453;
25
25
  X_Title?: string | undefined;
26
26
  HTTP_Referer?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { openrouterCreateCoinbaseCharge };
30
42
  //# sourceMappingURL=create-coinbase-charge.d.cts.map
@@ -24,7 +24,19 @@ declare const openrouterCreateCoinbaseCharge: import("@keystrokehq/action").Work
24
24
  chain_id: 1 | 137 | 8453;
25
25
  X_Title?: string | undefined;
26
26
  HTTP_Referer?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ generic_api_key: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { openrouterCreateCoinbaseCharge };
30
42
  //# sourceMappingURL=create-coinbase-charge.d.mts.map
@@ -148,7 +148,19 @@ declare const openrouterCreateMessage: import("@keystrokehq/action").WorkflowAct
148
148
  effort?: "low" | "medium" | "high" | "max" | undefined;
149
149
  } | undefined;
150
150
  stop_sequences?: string[] | undefined;
151
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
151
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
152
+ connectionId: z.ZodString;
153
+ entityId: z.ZodString;
154
+ instanceId: z.ZodString;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ generic_api_key: z.ZodString;
157
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
158
+ connectionId: z.ZodString;
159
+ entityId: z.ZodString;
160
+ instanceId: z.ZodString;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ generic_api_key: z.ZodString;
163
+ }, z.core.$strip>>]>;
152
164
  //#endregion
153
165
  export { openrouterCreateMessage };
154
166
  //# sourceMappingURL=create-message.d.cts.map
@@ -148,7 +148,19 @@ declare const openrouterCreateMessage: import("@keystrokehq/action").WorkflowAct
148
148
  effort?: "low" | "medium" | "high" | "max" | undefined;
149
149
  } | undefined;
150
150
  stop_sequences?: string[] | undefined;
151
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
151
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
152
+ connectionId: z.ZodString;
153
+ entityId: z.ZodString;
154
+ instanceId: z.ZodString;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ generic_api_key: z.ZodString;
157
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
158
+ connectionId: z.ZodString;
159
+ entityId: z.ZodString;
160
+ instanceId: z.ZodString;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ generic_api_key: z.ZodString;
163
+ }, z.core.$strip>>]>;
152
164
  //#endregion
153
165
  export { openrouterCreateMessage };
154
166
  //# sourceMappingURL=create-message.d.mts.map
@@ -8,7 +8,19 @@ declare const OpenrouterGetCreditsOutput: z.ZodObject<{
8
8
  total_credits: z.ZodNullable<z.ZodNumber>;
9
9
  }, z.core.$loose>>;
10
10
  }, z.core.$loose>;
11
- declare const openrouterGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const openrouterGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ generic_api_key: z.ZodString;
17
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ generic_api_key: z.ZodString;
23
+ }, z.core.$strip>>]>;
12
24
  //#endregion
13
25
  export { openrouterGetCredits };
14
26
  //# sourceMappingURL=get-credits.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-credits.d.cts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-credits.d.cts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -8,7 +8,19 @@ declare const OpenrouterGetCreditsOutput: z.ZodObject<{
8
8
  total_credits: z.ZodNullable<z.ZodNumber>;
9
9
  }, z.core.$loose>>;
10
10
  }, z.core.$loose>;
11
- declare const openrouterGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const openrouterGetCredits: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ generic_api_key: z.ZodString;
17
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ generic_api_key: z.ZodString;
23
+ }, z.core.$strip>>]>;
12
24
  //#endregion
13
25
  export { openrouterGetCredits };
14
26
  //# sourceMappingURL=get-credits.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-credits.d.mts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-credits.d.mts","names":[],"sources":["../../src/actions/get-credits.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -34,7 +34,19 @@ declare const OpenrouterGetCurrentKeyOutput: z.ZodObject<{
34
34
  declare const openrouterGetCurrentKey: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  x_title?: string | undefined;
36
36
  http_referer?: string | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>;
38
50
  //#endregion
39
51
  export { openrouterGetCurrentKey };
40
52
  //# sourceMappingURL=get-current-key.d.cts.map
@@ -34,7 +34,19 @@ declare const OpenrouterGetCurrentKeyOutput: z.ZodObject<{
34
34
  declare const openrouterGetCurrentKey: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  x_title?: string | undefined;
36
36
  http_referer?: string | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ generic_api_key: z.ZodString;
43
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ generic_api_key: z.ZodString;
49
+ }, z.core.$strip>>]>;
38
50
  //#endregion
39
51
  export { openrouterGetCurrentKey };
40
52
  //# sourceMappingURL=get-current-key.d.mts.map
@@ -37,7 +37,19 @@ declare const OpenrouterGetGenerationOutput: z.ZodObject<{
37
37
  }, z.core.$loose>;
38
38
  declare const openrouterGetGeneration: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  id: string;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ generic_api_key: z.ZodString;
52
+ }, z.core.$strip>>]>;
41
53
  //#endregion
42
54
  export { openrouterGetGeneration };
43
55
  //# sourceMappingURL=get-generation.d.cts.map
@@ -37,7 +37,19 @@ declare const OpenrouterGetGenerationOutput: z.ZodObject<{
37
37
  }, z.core.$loose>;
38
38
  declare const openrouterGetGeneration: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  id: string;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ generic_api_key: z.ZodString;
52
+ }, z.core.$strip>>]>;
41
53
  //#endregion
42
54
  export { openrouterGetGeneration };
43
55
  //# sourceMappingURL=get-generation.d.mts.map
@@ -13,7 +13,19 @@ declare const OpenrouterGetModelsCountOutput: z.ZodObject<{
13
13
  declare const openrouterGetModelsCount: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  x_title?: string | undefined;
15
15
  http_referer?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { openrouterGetModelsCount };
19
31
  //# sourceMappingURL=get-models-count.d.cts.map
@@ -13,7 +13,19 @@ declare const OpenrouterGetModelsCountOutput: z.ZodObject<{
13
13
  declare const openrouterGetModelsCount: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  x_title?: string | undefined;
15
15
  http_referer?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ generic_api_key: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { openrouterGetModelsCount };
19
31
  //# sourceMappingURL=get-models-count.d.mts.map
@@ -68,7 +68,19 @@ declare const openrouterListAvailableModels: import("@keystrokehq/action").Workf
68
68
  use_rss?: boolean | undefined;
69
69
  category?: "programming" | "roleplay" | "marketing" | "marketing/seo" | "technology" | "science" | "translation" | "legal" | "finance" | "health" | "trivia" | "academia" | undefined;
70
70
  use_rss_chat_links?: boolean | undefined;
71
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
71
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
72
+ connectionId: z.ZodString;
73
+ entityId: z.ZodString;
74
+ instanceId: z.ZodString;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ generic_api_key: z.ZodString;
77
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
78
+ connectionId: z.ZodString;
79
+ entityId: z.ZodString;
80
+ instanceId: z.ZodString;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ generic_api_key: z.ZodString;
83
+ }, z.core.$strip>>]>;
72
84
  //#endregion
73
85
  export { openrouterListAvailableModels };
74
86
  //# sourceMappingURL=list-available-models.d.cts.map
@@ -68,7 +68,19 @@ declare const openrouterListAvailableModels: import("@keystrokehq/action").Workf
68
68
  use_rss?: boolean | undefined;
69
69
  category?: "programming" | "roleplay" | "marketing" | "marketing/seo" | "technology" | "science" | "translation" | "legal" | "finance" | "health" | "trivia" | "academia" | undefined;
70
70
  use_rss_chat_links?: boolean | undefined;
71
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
71
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
72
+ connectionId: z.ZodString;
73
+ entityId: z.ZodString;
74
+ instanceId: z.ZodString;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ generic_api_key: z.ZodString;
77
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
78
+ connectionId: z.ZodString;
79
+ entityId: z.ZodString;
80
+ instanceId: z.ZodString;
81
+ }, z.core.$strip>, z.ZodObject<{
82
+ generic_api_key: z.ZodString;
83
+ }, z.core.$strip>>]>;
72
84
  //#endregion
73
85
  export { openrouterListAvailableModels };
74
86
  //# sourceMappingURL=list-available-models.d.mts.map
@@ -41,7 +41,19 @@ declare const OpenrouterListEmbeddingModelsOutput: z.ZodObject<{
41
41
  declare const openrouterListEmbeddingModels: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  "X-Title"?: string | undefined;
43
43
  "HTTP-Referer"?: string | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ generic_api_key: z.ZodString;
50
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ generic_api_key: z.ZodString;
56
+ }, z.core.$strip>>]>;
45
57
  //#endregion
46
58
  export { openrouterListEmbeddingModels };
47
59
  //# sourceMappingURL=list-embedding-models.d.cts.map
@@ -41,7 +41,19 @@ declare const OpenrouterListEmbeddingModelsOutput: z.ZodObject<{
41
41
  declare const openrouterListEmbeddingModels: import("@keystrokehq/action").WorkflowActionDefinition<{
42
42
  "X-Title"?: string | undefined;
43
43
  "HTTP-Referer"?: string | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ generic_api_key: z.ZodString;
50
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
51
+ connectionId: z.ZodString;
52
+ entityId: z.ZodString;
53
+ instanceId: z.ZodString;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ generic_api_key: z.ZodString;
56
+ }, z.core.$strip>>]>;
45
57
  //#endregion
46
58
  export { openrouterListEmbeddingModels };
47
59
  //# sourceMappingURL=list-embedding-models.d.mts.map
@@ -39,7 +39,19 @@ declare const OpenrouterListModelEndpointsOutput: z.ZodObject<{
39
39
  declare const openrouterListModelEndpoints: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  slug: string;
41
41
  author: string;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ generic_api_key: z.ZodString;
48
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>;
43
55
  //#endregion
44
56
  export { openrouterListModelEndpoints };
45
57
  //# sourceMappingURL=list-model-endpoints.d.cts.map
@@ -39,7 +39,19 @@ declare const OpenrouterListModelEndpointsOutput: z.ZodObject<{
39
39
  declare const openrouterListModelEndpoints: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  slug: string;
41
41
  author: string;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ generic_api_key: z.ZodString;
48
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>;
43
55
  //#endregion
44
56
  export { openrouterListModelEndpoints };
45
57
  //# sourceMappingURL=list-model-endpoints.d.mts.map
@@ -9,7 +9,19 @@ declare const OpenrouterListProvidersOutput: z.ZodObject<{
9
9
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const openrouterListProviders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openrouterListProviders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_api_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { openrouterListProviders };
15
27
  //# sourceMappingURL=list-providers.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-providers.d.cts","names":[],"sources":["../../src/actions/list-providers.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-providers.d.cts","names":[],"sources":["../../src/actions/list-providers.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -9,7 +9,19 @@ declare const OpenrouterListProvidersOutput: z.ZodObject<{
9
9
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  }, z.core.$loose>>;
11
11
  }, z.core.$loose>;
12
- declare const openrouterListProviders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const openrouterListProviders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
13
+ connectionId: z.ZodString;
14
+ entityId: z.ZodString;
15
+ instanceId: z.ZodString;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ generic_api_key: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ generic_api_key: z.ZodString;
24
+ }, z.core.$strip>>]>;
13
25
  //#endregion
14
26
  export { openrouterListProviders };
15
27
  //# sourceMappingURL=list-providers.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-providers.d.mts","names":[],"sources":["../../src/actions/list-providers.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-providers.d.mts","names":[],"sources":["../../src/actions/list-providers.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
@@ -45,7 +45,19 @@ declare const OpenrouterListUserModelsOutput: z.ZodObject<{
45
45
  declare const openrouterListUserModels: import("@keystrokehq/action").WorkflowActionDefinition<{
46
46
  x_title?: string | undefined;
47
47
  http_referer?: string | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>;
49
61
  //#endregion
50
62
  export { openrouterListUserModels };
51
63
  //# sourceMappingURL=list-user-models.d.cts.map
@@ -45,7 +45,19 @@ declare const OpenrouterListUserModelsOutput: z.ZodObject<{
45
45
  declare const openrouterListUserModels: import("@keystrokehq/action").WorkflowActionDefinition<{
46
46
  x_title?: string | undefined;
47
47
  http_referer?: string | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>;
49
61
  //#endregion
50
62
  export { openrouterListUserModels };
51
63
  //# sourceMappingURL=list-user-models.d.mts.map
@@ -43,7 +43,19 @@ declare const OpenrouterListZdrEndpointsOutput: z.ZodObject<{
43
43
  declare const openrouterListZdrEndpoints: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  x_title?: string | undefined;
45
45
  http_referer?: string | undefined;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ generic_api_key: z.ZodString;
52
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ generic_api_key: z.ZodString;
58
+ }, z.core.$strip>>]>;
47
59
  //#endregion
48
60
  export { openrouterListZdrEndpoints };
49
61
  //# sourceMappingURL=list-zdr-endpoints.d.cts.map
@@ -43,7 +43,19 @@ declare const OpenrouterListZdrEndpointsOutput: z.ZodObject<{
43
43
  declare const openrouterListZdrEndpoints: import("@keystrokehq/action").WorkflowActionDefinition<{
44
44
  x_title?: string | undefined;
45
45
  http_referer?: string | undefined;
46
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ generic_api_key: z.ZodString;
52
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
53
+ connectionId: z.ZodString;
54
+ entityId: z.ZodString;
55
+ instanceId: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ generic_api_key: z.ZodString;
58
+ }, z.core.$strip>>]>;
47
59
  //#endregion
48
60
  export { openrouterListZdrEndpoints };
49
61
  //# sourceMappingURL=list-zdr-endpoints.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const openrouter = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const openrouter = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "openrouter",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.openrouter = openrouter;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const openrouter = defineApp({\n slug: \"openrouter\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const openrouter = defineApp({\n slug: \"openrouter\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const openrouter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const openrouter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { openrouter };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const openrouter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const openrouter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"openrouter", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { openrouter };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const openrouter = defineApp({
4
5
  slug: "openrouter",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { openrouter };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const openrouter = defineApp({\n slug: \"openrouter\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const openrouter = defineApp({\n slug: \"openrouter\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/openrouter",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"