@keystrokehq/skyfire 0.1.0 → 0.1.3

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 (137) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/charge-token.cjs +3 -3
  4. package/dist/actions/charge-token.cjs.map +1 -1
  5. package/dist/actions/charge-token.d.cts +12 -3
  6. package/dist/actions/charge-token.d.cts.map +1 -1
  7. package/dist/actions/charge-token.d.mts +12 -3
  8. package/dist/actions/charge-token.d.mts.map +1 -1
  9. package/dist/actions/charge-token.mjs +3 -3
  10. package/dist/actions/charge-token.mjs.map +1 -1
  11. package/dist/actions/create-kya-pay-token.cjs +2 -2
  12. package/dist/actions/create-kya-pay-token.cjs.map +1 -1
  13. package/dist/actions/create-kya-pay-token.d.cts +19 -3
  14. package/dist/actions/create-kya-pay-token.d.cts.map +1 -1
  15. package/dist/actions/create-kya-pay-token.d.mts +19 -3
  16. package/dist/actions/create-kya-pay-token.d.mts.map +1 -1
  17. package/dist/actions/create-kya-pay-token.mjs +2 -2
  18. package/dist/actions/create-kya-pay-token.mjs.map +1 -1
  19. package/dist/actions/create-kya-token.cjs +2 -2
  20. package/dist/actions/create-kya-token.cjs.map +1 -1
  21. package/dist/actions/create-kya-token.d.cts +17 -3
  22. package/dist/actions/create-kya-token.d.cts.map +1 -1
  23. package/dist/actions/create-kya-token.d.mts +17 -3
  24. package/dist/actions/create-kya-token.d.mts.map +1 -1
  25. package/dist/actions/create-kya-token.mjs +2 -2
  26. package/dist/actions/create-kya-token.mjs.map +1 -1
  27. package/dist/actions/create-pay-token.cjs +2 -2
  28. package/dist/actions/create-pay-token.cjs.map +1 -1
  29. package/dist/actions/create-pay-token.d.cts +17 -3
  30. package/dist/actions/create-pay-token.d.cts.map +1 -1
  31. package/dist/actions/create-pay-token.d.mts +17 -3
  32. package/dist/actions/create-pay-token.d.mts.map +1 -1
  33. package/dist/actions/create-pay-token.mjs +2 -2
  34. package/dist/actions/create-pay-token.mjs.map +1 -1
  35. package/dist/actions/get-all-service-tags.cjs +1 -1
  36. package/dist/actions/get-all-service-tags.cjs.map +1 -1
  37. package/dist/actions/get-all-service-tags.d.cts +5 -3
  38. package/dist/actions/get-all-service-tags.d.cts.map +1 -1
  39. package/dist/actions/get-all-service-tags.d.mts +5 -3
  40. package/dist/actions/get-all-service-tags.d.mts.map +1 -1
  41. package/dist/actions/get-all-service-tags.mjs +1 -1
  42. package/dist/actions/get-all-service-tags.mjs.map +1 -1
  43. package/dist/actions/get-buyer-wallet-balance.cjs +5 -5
  44. package/dist/actions/get-buyer-wallet-balance.cjs.map +1 -1
  45. package/dist/actions/get-buyer-wallet-balance.d.cts +8 -3
  46. package/dist/actions/get-buyer-wallet-balance.d.cts.map +1 -1
  47. package/dist/actions/get-buyer-wallet-balance.d.mts +8 -3
  48. package/dist/actions/get-buyer-wallet-balance.d.mts.map +1 -1
  49. package/dist/actions/get-buyer-wallet-balance.mjs +5 -5
  50. package/dist/actions/get-buyer-wallet-balance.mjs.map +1 -1
  51. package/dist/actions/get-directory-service-by-id.cjs +13 -13
  52. package/dist/actions/get-directory-service-by-id.cjs.map +1 -1
  53. package/dist/actions/get-directory-service-by-id.d.cts +28 -3
  54. package/dist/actions/get-directory-service-by-id.d.cts.map +1 -1
  55. package/dist/actions/get-directory-service-by-id.d.mts +28 -3
  56. package/dist/actions/get-directory-service-by-id.d.mts.map +1 -1
  57. package/dist/actions/get-directory-service-by-id.mjs +13 -13
  58. package/dist/actions/get-directory-service-by-id.mjs.map +1 -1
  59. package/dist/actions/get-service.cjs +7 -7
  60. package/dist/actions/get-service.cjs.map +1 -1
  61. package/dist/actions/get-service.d.cts +25 -3
  62. package/dist/actions/get-service.d.cts.map +1 -1
  63. package/dist/actions/get-service.d.mts +25 -3
  64. package/dist/actions/get-service.d.mts.map +1 -1
  65. package/dist/actions/get-service.mjs +7 -7
  66. package/dist/actions/get-service.mjs.map +1 -1
  67. package/dist/actions/get-services-by-agent.cjs +15 -15
  68. package/dist/actions/get-services-by-agent.cjs.map +1 -1
  69. package/dist/actions/get-services-by-agent.d.cts +42 -3
  70. package/dist/actions/get-services-by-agent.d.cts.map +1 -1
  71. package/dist/actions/get-services-by-agent.d.mts +42 -3
  72. package/dist/actions/get-services-by-agent.d.mts.map +1 -1
  73. package/dist/actions/get-services-by-agent.mjs +15 -15
  74. package/dist/actions/get-services-by-agent.mjs.map +1 -1
  75. package/dist/actions/get-services-by-tags.cjs +15 -15
  76. package/dist/actions/get-services-by-tags.cjs.map +1 -1
  77. package/dist/actions/get-services-by-tags.d.cts +41 -3
  78. package/dist/actions/get-services-by-tags.d.cts.map +1 -1
  79. package/dist/actions/get-services-by-tags.d.mts +41 -3
  80. package/dist/actions/get-services-by-tags.d.mts.map +1 -1
  81. package/dist/actions/get-services-by-tags.mjs +15 -15
  82. package/dist/actions/get-services-by-tags.mjs.map +1 -1
  83. package/dist/actions/get-token-charges.cjs +9 -9
  84. package/dist/actions/get-token-charges.cjs.map +1 -1
  85. package/dist/actions/get-token-charges.d.cts +21 -3
  86. package/dist/actions/get-token-charges.d.cts.map +1 -1
  87. package/dist/actions/get-token-charges.d.mts +21 -3
  88. package/dist/actions/get-token-charges.d.mts.map +1 -1
  89. package/dist/actions/get-token-charges.mjs +9 -9
  90. package/dist/actions/get-token-charges.mjs.map +1 -1
  91. package/dist/actions/introspect-token.cjs +2 -2
  92. package/dist/actions/introspect-token.cjs.map +1 -1
  93. package/dist/actions/introspect-token.d.cts +10 -3
  94. package/dist/actions/introspect-token.d.cts.map +1 -1
  95. package/dist/actions/introspect-token.d.mts +10 -3
  96. package/dist/actions/introspect-token.d.mts.map +1 -1
  97. package/dist/actions/introspect-token.mjs +2 -2
  98. package/dist/actions/introspect-token.mjs.map +1 -1
  99. package/dist/actions/list-agent-seller-services.cjs +15 -15
  100. package/dist/actions/list-agent-seller-services.cjs.map +1 -1
  101. package/dist/actions/list-agent-seller-services.d.cts +32 -3
  102. package/dist/actions/list-agent-seller-services.d.cts.map +1 -1
  103. package/dist/actions/list-agent-seller-services.d.mts +32 -3
  104. package/dist/actions/list-agent-seller-services.d.mts.map +1 -1
  105. package/dist/actions/list-agent-seller-services.mjs +15 -15
  106. package/dist/actions/list-agent-seller-services.mjs.map +1 -1
  107. package/dist/actions/list-buyer-tokens.cjs +16 -16
  108. package/dist/actions/list-buyer-tokens.cjs.map +1 -1
  109. package/dist/actions/list-buyer-tokens.d.cts +49 -3
  110. package/dist/actions/list-buyer-tokens.d.cts.map +1 -1
  111. package/dist/actions/list-buyer-tokens.d.mts +49 -3
  112. package/dist/actions/list-buyer-tokens.d.mts.map +1 -1
  113. package/dist/actions/list-buyer-tokens.mjs +16 -16
  114. package/dist/actions/list-buyer-tokens.mjs.map +1 -1
  115. package/dist/actions/list-directory-services.cjs +15 -15
  116. package/dist/actions/list-directory-services.cjs.map +1 -1
  117. package/dist/actions/list-directory-services.d.cts +50 -3
  118. package/dist/actions/list-directory-services.d.cts.map +1 -1
  119. package/dist/actions/list-directory-services.d.mts +50 -3
  120. package/dist/actions/list-directory-services.d.mts.map +1 -1
  121. package/dist/actions/list-directory-services.mjs +15 -15
  122. package/dist/actions/list-directory-services.mjs.map +1 -1
  123. package/dist/actions/set-agent-source-ips.cjs +1 -1
  124. package/dist/actions/set-agent-source-ips.cjs.map +1 -1
  125. package/dist/actions/set-agent-source-ips.d.cts +9 -3
  126. package/dist/actions/set-agent-source-ips.d.cts.map +1 -1
  127. package/dist/actions/set-agent-source-ips.d.mts +9 -3
  128. package/dist/actions/set-agent-source-ips.d.mts.map +1 -1
  129. package/dist/actions/set-agent-source-ips.mjs +1 -1
  130. package/dist/actions/set-agent-source-ips.mjs.map +1 -1
  131. package/dist/catalog.cjs +7 -1
  132. package/dist/catalog.cjs.map +1 -1
  133. package/dist/catalog.d.cts +8 -0
  134. package/dist/catalog.d.mts +8 -0
  135. package/dist/catalog.mjs +7 -1
  136. package/dist/catalog.mjs.map +1 -1
  137. package/package.json +2 -2
@@ -10,29 +10,29 @@ const SkyfireListDirectoryServicesInput = z.object({
10
10
  minPrice: z.string().describe("Only show services costing at least this much per call. Useful to find premium services").optional()
11
11
  }).describe("Find seller services your agent can call. Use to discover `sellerServiceId`.");
12
12
  const SkyfireListDirectoryServices_ServiceSellerSchema = z.object({
13
- id: z.string().describe("Seller agent ID"),
14
- name: z.string().describe("Seller name"),
13
+ id: z.string().describe("Seller agent ID").nullable(),
14
+ name: z.string().describe("Seller name").nullable(),
15
15
  identityLevel: z.string().describe("Seller's identity level").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const SkyfireListDirectoryServices_ServiceTermsOfServiceSchema = z.object({
18
18
  url: z.string().nullable().optional(),
19
19
  required: z.boolean().nullable().optional()
20
- });
20
+ }).passthrough();
21
21
  const SkyfireListDirectoryServices_ServiceIdentityRequirementSchema = z.object({
22
22
  business: z.array(z.string()).nullable().optional(),
23
23
  individual: z.array(z.string()).nullable().optional(),
24
24
  identityLevels: z.array(z.string()).nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const SkyfireListDirectoryServices_ServiceSummarySchema = z.object({
27
- id: z.string().describe("Seller service ID (use this in CreatePayToken)"),
28
- name: z.string().describe("Human-readable service name"),
27
+ id: z.string().describe("Seller service ID (use this in CreatePayToken)").nullable(),
28
+ name: z.string().describe("Human-readable service name").nullable(),
29
29
  tags: z.array(z.string()).describe("Service tags for filtering").nullable().optional(),
30
- type: z.string().describe("API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT"),
31
- price: z.string().describe("Price per use in USD"),
30
+ type: z.string().describe("API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT").nullable(),
31
+ price: z.string().describe("Price per use in USD").nullable(),
32
32
  seller: SkyfireListDirectoryServices_ServiceSellerSchema.nullable(),
33
- createdAt: z.string(),
34
- updatedAt: z.string(),
35
- priceModel: z.string().describe("Usually PAY_PER_USE or CUSTOM"),
33
+ createdAt: z.string().nullable(),
34
+ updatedAt: z.string().nullable(),
35
+ priceModel: z.string().describe("Usually PAY_PER_USE or CUSTOM").nullable(),
36
36
  websiteUrl: z.string().describe("Website URL if type is WEB_PAGE").nullable().optional(),
37
37
  description: z.string().describe("What this service does").nullable().optional(),
38
38
  mcpServerUrl: z.string().describe("MCP server URL if type is MCP_SERVER_*").nullable().optional(),
@@ -40,16 +40,16 @@ const SkyfireListDirectoryServices_ServiceSummarySchema = z.object({
40
40
  openApiSpecUrl: z.string().describe("OpenAPI spec URL if available").nullable().optional(),
41
41
  termsOfService: SkyfireListDirectoryServices_ServiceTermsOfServiceSchema.nullable().optional(),
42
42
  maxTokenTTLSeconds: z.number().int().describe("Maximum token time-to-live in seconds").nullable().optional(),
43
- minimumTokenAmount: z.string().describe("Minimum token amount"),
43
+ minimumTokenAmount: z.string().describe("Minimum token amount").nullable(),
44
44
  fetchAgentProfileUrl: z.string().describe("Agent profile URL if type is FETCH_AGENT").nullable().optional(),
45
45
  buyerIdentityRequirement: SkyfireListDirectoryServices_ServiceIdentityRequirementSchema.nullable()
46
- });
46
+ }).passthrough();
47
47
  const skyfireListDirectoryServices = action("SKYFIRE_LIST_DIRECTORY_SERVICES", {
48
48
  slug: "skyfire-list-directory-services",
49
49
  name: "List Skyfire Directory Services",
50
50
  description: "Browse Skyfire's service directory to obtain `sellerServiceId` for token creation. Chain this with CreatePayToken or CreateKyaPayToken.",
51
51
  input: SkyfireListDirectoryServicesInput,
52
- output: z.object({ data: z.array(SkyfireListDirectoryServices_ServiceSummarySchema).describe("List of available seller services") })
52
+ output: z.object({ data: z.array(SkyfireListDirectoryServices_ServiceSummarySchema).describe("List of available seller services") }).passthrough()
53
53
  });
54
54
  //#endregion
55
55
  export { skyfireListDirectoryServices };
@@ -1 +1 @@
1
- {"version":3,"file":"list-directory-services.mjs","names":[],"sources":["../../src/actions/list-directory-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireListDirectoryServicesInput: z.ZodTypeAny = z.object({\n tags: z.string().describe(\"Filter by service tags like 'ai,llm' or 'productivity'. Comma-separated, no spaces\").optional(),\n limit: z.number().int().default(20).describe(\"How many services to fetch per page. Start with 20, increase if you need to browse more\").optional(),\n query: z.string().describe(\"Search for services by name or description. Try 'chat', 'image', 'analysis' etc\").optional(),\n cursor: z.string().describe(\"Got more results? Pass the next_cursor from previous response to get the next page\").optional(),\n category: z.string().describe(\"Browse by category like 'AI', 'Data', 'Communication'. Check directory for available categories\").optional(),\n minPrice: z.string().describe(\"Only show services costing at least this much per call. Useful to find premium services\").optional(),\n}).describe(\"Find seller services your agent can call. Use to discover `sellerServiceId`.\");\nconst SkyfireListDirectoryServices_ServiceSellerSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Seller agent ID\"),\n name: z.string().describe(\"Seller name\"),\n identityLevel: z.string().describe(\"Seller's identity level\").nullable().optional(),\n});\nconst SkyfireListDirectoryServices_ServiceTermsOfServiceSchema: z.ZodTypeAny = z.object({\n url: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n});\nconst SkyfireListDirectoryServices_ServiceIdentityRequirementSchema: z.ZodTypeAny = z.object({\n business: z.array(z.string()).nullable().optional(),\n individual: z.array(z.string()).nullable().optional(),\n identityLevels: z.array(z.string()).nullable().optional(),\n});\nconst SkyfireListDirectoryServices_ServiceSummarySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Seller service ID (use this in CreatePayToken)\"),\n name: z.string().describe(\"Human-readable service name\"),\n tags: z.array(z.string()).describe(\"Service tags for filtering\").nullable().optional(),\n type: z.string().describe(\"API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT\"),\n price: z.string().describe(\"Price per use in USD\"),\n seller: SkyfireListDirectoryServices_ServiceSellerSchema.nullable(),\n createdAt: z.string(),\n updatedAt: z.string(),\n priceModel: z.string().describe(\"Usually PAY_PER_USE or CUSTOM\"),\n websiteUrl: z.string().describe(\"Website URL if type is WEB_PAGE\").nullable().optional(),\n description: z.string().describe(\"What this service does\").nullable().optional(),\n mcpServerUrl: z.string().describe(\"MCP server URL if type is MCP_SERVER_*\").nullable().optional(),\n acceptedTokens: z.array(z.string()).describe(\"Token types accepted: 'kya', 'pay', or 'kya+pay'\").nullable().optional(),\n openApiSpecUrl: z.string().describe(\"OpenAPI spec URL if available\").nullable().optional(),\n termsOfService: SkyfireListDirectoryServices_ServiceTermsOfServiceSchema.nullable().optional(),\n maxTokenTTLSeconds: z.number().int().describe(\"Maximum token time-to-live in seconds\").nullable().optional(),\n minimumTokenAmount: z.string().describe(\"Minimum token amount\"),\n fetchAgentProfileUrl: z.string().describe(\"Agent profile URL if type is FETCH_AGENT\").nullable().optional(),\n buyerIdentityRequirement: SkyfireListDirectoryServices_ServiceIdentityRequirementSchema.nullable(),\n});\nexport const SkyfireListDirectoryServicesOutput: z.ZodTypeAny = z.object({\n data: z.array(SkyfireListDirectoryServices_ServiceSummarySchema).describe(\"List of available seller services\"),\n});\n\nexport const skyfireListDirectoryServices = action(\"SKYFIRE_LIST_DIRECTORY_SERVICES\", {\n slug: \"skyfire-list-directory-services\",\n name: \"List Skyfire Directory Services\",\n description: \"Browse Skyfire's service directory to obtain `sellerServiceId` for token creation. Chain this with CreatePayToken or CreateKyaPayToken.\",\n input: SkyfireListDirectoryServicesInput,\n output: SkyfireListDirectoryServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,OA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pB,WAAW,EAAE,OAAO;CACpB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,yDAAyD,SAAS,CAAC,CAAC,SAAS;CAC7F,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAC9D,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0B,8DAA8D,SAAS;AACnG,CAAC;AAKD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,mCAAmC,EAC/G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-directory-services.mjs","names":[],"sources":["../../src/actions/list-directory-services.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireListDirectoryServicesInput = z.object({\n tags: z.string().describe(\"Filter by service tags like 'ai,llm' or 'productivity'. Comma-separated, no spaces\").optional(),\n limit: z.number().int().default(20).describe(\"How many services to fetch per page. Start with 20, increase if you need to browse more\").optional(),\n query: z.string().describe(\"Search for services by name or description. Try 'chat', 'image', 'analysis' etc\").optional(),\n cursor: z.string().describe(\"Got more results? Pass the next_cursor from previous response to get the next page\").optional(),\n category: z.string().describe(\"Browse by category like 'AI', 'Data', 'Communication'. Check directory for available categories\").optional(),\n minPrice: z.string().describe(\"Only show services costing at least this much per call. Useful to find premium services\").optional(),\n}).describe(\"Find seller services your agent can call. Use to discover `sellerServiceId`.\");\nconst SkyfireListDirectoryServices_ServiceSellerSchema = z.object({\n id: z.string().describe(\"Seller agent ID\").nullable(),\n name: z.string().describe(\"Seller name\").nullable(),\n identityLevel: z.string().describe(\"Seller's identity level\").nullable().optional(),\n}).passthrough();\nconst SkyfireListDirectoryServices_ServiceTermsOfServiceSchema = z.object({\n url: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n}).passthrough();\nconst SkyfireListDirectoryServices_ServiceIdentityRequirementSchema = z.object({\n business: z.array(z.string()).nullable().optional(),\n individual: z.array(z.string()).nullable().optional(),\n identityLevels: z.array(z.string()).nullable().optional(),\n}).passthrough();\nconst SkyfireListDirectoryServices_ServiceSummarySchema = z.object({\n id: z.string().describe(\"Seller service ID (use this in CreatePayToken)\").nullable(),\n name: z.string().describe(\"Human-readable service name\").nullable(),\n tags: z.array(z.string()).describe(\"Service tags for filtering\").nullable().optional(),\n type: z.string().describe(\"API | WEB_PAGE | MCP_SERVER_REMOTE | FETCH_AGENT\").nullable(),\n price: z.string().describe(\"Price per use in USD\").nullable(),\n seller: SkyfireListDirectoryServices_ServiceSellerSchema.nullable(),\n createdAt: z.string().nullable(),\n updatedAt: z.string().nullable(),\n priceModel: z.string().describe(\"Usually PAY_PER_USE or CUSTOM\").nullable(),\n websiteUrl: z.string().describe(\"Website URL if type is WEB_PAGE\").nullable().optional(),\n description: z.string().describe(\"What this service does\").nullable().optional(),\n mcpServerUrl: z.string().describe(\"MCP server URL if type is MCP_SERVER_*\").nullable().optional(),\n acceptedTokens: z.array(z.string()).describe(\"Token types accepted: 'kya', 'pay', or 'kya+pay'\").nullable().optional(),\n openApiSpecUrl: z.string().describe(\"OpenAPI spec URL if available\").nullable().optional(),\n termsOfService: SkyfireListDirectoryServices_ServiceTermsOfServiceSchema.nullable().optional(),\n maxTokenTTLSeconds: z.number().int().describe(\"Maximum token time-to-live in seconds\").nullable().optional(),\n minimumTokenAmount: z.string().describe(\"Minimum token amount\").nullable(),\n fetchAgentProfileUrl: z.string().describe(\"Agent profile URL if type is FETCH_AGENT\").nullable().optional(),\n buyerIdentityRequirement: SkyfireListDirectoryServices_ServiceIdentityRequirementSchema.nullable(),\n}).passthrough();\nexport const SkyfireListDirectoryServicesOutput = z.object({\n data: z.array(SkyfireListDirectoryServices_ServiceSummarySchema).describe(\"List of available seller services\"),\n}).passthrough();\n\nexport const skyfireListDirectoryServices = action(\"SKYFIRE_LIST_DIRECTORY_SERVICES\", {\n slug: \"skyfire-list-directory-services\",\n name: \"List Skyfire Directory Services\",\n description: \"Browse Skyfire's service directory to obtain `sellerServiceId` for token creation. Chain this with CreatePayToken or CreateKyaPayToken.\",\n input: SkyfireListDirectoryServicesInput,\n output: SkyfireListDirectoryServicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACzH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjJ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACvH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC3H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAA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AAC,SAAS,mCAAmC,EAC/G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/set-agent-source-ips.ts
4
4
  const SkyfireSetAgentSourceIpsInput = zod.z.object({ source_ips: zod.z.array(zod.z.string()).describe("List of IP addresses to register as agent sources (e.g., ['192.168.1.1', '10.0.0.1']). These will be included in tokens created for the agent.") }).describe("Register IP addresses as the sources of the Agent's requests.\n\nThese IPs will be included in the aid.source_ips claim in the kya and\nkya+pay tokens created for the Agent. Use this to whitelist the IP addresses\nfrom which your agent will make API calls to seller services.");
5
- const SkyfireSetAgentSourceIpsOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Always true if the request succeeded (204 response)").nullable().optional() }).describe("Response from setting agent source IPs.\n\nThe API returns 204 No Content on success, so this response model\ncaptures the success status.");
5
+ const SkyfireSetAgentSourceIpsOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Always true if the request succeeded (204 response)").nullable().optional() }).passthrough().describe("Response from setting agent source IPs.\n\nThe API returns 204 No Content on success, so this response model\ncaptures the success status.");
6
6
  const skyfireSetAgentSourceIps = require_action.action("SKYFIRE_SET_AGENT_SOURCE_IPS", {
7
7
  slug: "skyfire-set-agent-source-ips",
8
8
  name: "Set Agent Source IP Addresses",
@@ -1 +1 @@
1
- {"version":3,"file":"set-agent-source-ips.cjs","names":["z","action"],"sources":["../../src/actions/set-agent-source-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireSetAgentSourceIpsInput: z.ZodTypeAny = z.object({\n source_ips: z.array(z.string()).describe(\"List of IP addresses to register as agent sources (e.g., ['192.168.1.1', '10.0.0.1']). These will be included in tokens created for the agent.\"),\n}).describe(\"Register IP addresses as the sources of the Agent's requests.\\n\\nThese IPs will be included in the aid.source_ips claim in the kya and\\nkya+pay tokens created for the Agent. Use this to whitelist the IP addresses\\nfrom which your agent will make API calls to seller services.\");\nexport const SkyfireSetAgentSourceIpsOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Always true if the request succeeded (204 response)\").nullable().optional(),\n}).describe(\"Response from setting agent source IPs.\\n\\nThe API returns 204 No Content on success, so this response model\\ncaptures the success status.\");\n\nexport const skyfireSetAgentSourceIps = action(\"SKYFIRE_SET_AGENT_SOURCE_IPS\", {\n slug: \"skyfire-set-agent-source-ips\",\n name: \"Set Agent Source IP Addresses\",\n description: \"Register IP addresses as sources for Agent requests (PUT /api/v1/agents/source-ips). Use before creating tokens to whitelist agent IPs.\",\n input: SkyfireSetAgentSourceIpsInput,\n output: SkyfireSetAgentSourceIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,EAC3L,CAAC,CAAC,CAAC,SAAS,qRAAqR;AACjS,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,4IAA4I;AAExJ,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-agent-source-ips.cjs","names":["z","action"],"sources":["../../src/actions/set-agent-source-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireSetAgentSourceIpsInput = z.object({\n source_ips: z.array(z.string()).describe(\"List of IP addresses to register as agent sources (e.g., ['192.168.1.1', '10.0.0.1']). These will be included in tokens created for the agent.\"),\n}).describe(\"Register IP addresses as the sources of the Agent's requests.\\n\\nThese IPs will be included in the aid.source_ips claim in the kya and\\nkya+pay tokens created for the Agent. Use this to whitelist the IP addresses\\nfrom which your agent will make API calls to seller services.\");\nexport const SkyfireSetAgentSourceIpsOutput = z.object({\n success: z.boolean().default(true).describe(\"Always true if the request succeeded (204 response)\").nullable().optional(),\n}).passthrough().describe(\"Response from setting agent source IPs.\\n\\nThe API returns 204 No Content on success, so this response model\\ncaptures the success status.\");\n\nexport const skyfireSetAgentSourceIps = action(\"SKYFIRE_SET_AGENT_SOURCE_IPS\", {\n slug: \"skyfire-set-agent-source-ips\",\n name: \"Set Agent Source IP Addresses\",\n description: \"Register IP addresses as sources for Agent requests (PUT /api/v1/agents/source-ips). Use before creating tokens to whitelist agent IPs.\",\n input: SkyfireSetAgentSourceIpsInput,\n output: SkyfireSetAgentSourceIpsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,EAC3L,CAAC,CAAC,CAAC,SAAS,qRAAqR;AACjS,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4IAA4I;AAEtK,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/set-agent-source-ips.d.ts
4
- declare const SkyfireSetAgentSourceIpsInput: z.ZodTypeAny;
5
- declare const SkyfireSetAgentSourceIpsOutput: z.ZodTypeAny;
6
- declare const skyfireSetAgentSourceIps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SkyfireSetAgentSourceIpsInput: z.ZodObject<{
5
+ source_ips: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SkyfireSetAgentSourceIpsOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, z.core.$loose>;
10
+ declare const skyfireSetAgentSourceIps: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ source_ips: string[];
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { skyfireSetAgentSourceIps };
9
15
  //# sourceMappingURL=set-agent-source-ips.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-agent-source-ips.d.cts","names":[],"sources":["../../src/actions/set-agent-source-ips.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEoP;AAAA,cACrR,8BAAA,EAAgC,CAAA,CAAE,UAE0G;AAAA,cAE5I,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"set-agent-source-ips.d.cts","names":[],"sources":["../../src/actions/set-agent-source-ips.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/set-agent-source-ips.d.ts
4
- declare const SkyfireSetAgentSourceIpsInput: z.ZodTypeAny;
5
- declare const SkyfireSetAgentSourceIpsOutput: z.ZodTypeAny;
6
- declare const skyfireSetAgentSourceIps: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SkyfireSetAgentSourceIpsInput: z.ZodObject<{
5
+ source_ips: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SkyfireSetAgentSourceIpsOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, z.core.$loose>;
10
+ declare const skyfireSetAgentSourceIps: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ source_ips: string[];
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { skyfireSetAgentSourceIps };
9
15
  //# sourceMappingURL=set-agent-source-ips.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-agent-source-ips.d.mts","names":[],"sources":["../../src/actions/set-agent-source-ips.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEoP;AAAA,cACrR,8BAAA,EAAgC,CAAA,CAAE,UAE0G;AAAA,cAE5I,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"set-agent-source-ips.d.mts","names":[],"sources":["../../src/actions/set-agent-source-ips.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAG7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -5,7 +5,7 @@ const skyfireSetAgentSourceIps = action("SKYFIRE_SET_AGENT_SOURCE_IPS", {
5
5
  name: "Set Agent Source IP Addresses",
6
6
  description: "Register IP addresses as sources for Agent requests (PUT /api/v1/agents/source-ips). Use before creating tokens to whitelist agent IPs.",
7
7
  input: z.object({ source_ips: z.array(z.string()).describe("List of IP addresses to register as agent sources (e.g., ['192.168.1.1', '10.0.0.1']). These will be included in tokens created for the agent.") }).describe("Register IP addresses as the sources of the Agent's requests.\n\nThese IPs will be included in the aid.source_ips claim in the kya and\nkya+pay tokens created for the Agent. Use this to whitelist the IP addresses\nfrom which your agent will make API calls to seller services."),
8
- output: z.object({ success: z.boolean().default(true).describe("Always true if the request succeeded (204 response)").nullable().optional() }).describe("Response from setting agent source IPs.\n\nThe API returns 204 No Content on success, so this response model\ncaptures the success status.")
8
+ output: z.object({ success: z.boolean().default(true).describe("Always true if the request succeeded (204 response)").nullable().optional() }).passthrough().describe("Response from setting agent source IPs.\n\nThe API returns 204 No Content on success, so this response model\ncaptures the success status.")
9
9
  });
10
10
  //#endregion
11
11
  export { skyfireSetAgentSourceIps };
@@ -1 +1 @@
1
- {"version":3,"file":"set-agent-source-ips.mjs","names":[],"sources":["../../src/actions/set-agent-source-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireSetAgentSourceIpsInput: z.ZodTypeAny = z.object({\n source_ips: z.array(z.string()).describe(\"List of IP addresses to register as agent sources (e.g., ['192.168.1.1', '10.0.0.1']). These will be included in tokens created for the agent.\"),\n}).describe(\"Register IP addresses as the sources of the Agent's requests.\\n\\nThese IPs will be included in the aid.source_ips claim in the kya and\\nkya+pay tokens created for the Agent. Use this to whitelist the IP addresses\\nfrom which your agent will make API calls to seller services.\");\nexport const SkyfireSetAgentSourceIpsOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Always true if the request succeeded (204 response)\").nullable().optional(),\n}).describe(\"Response from setting agent source IPs.\\n\\nThe API returns 204 No Content on success, so this response model\\ncaptures the success status.\");\n\nexport const skyfireSetAgentSourceIps = action(\"SKYFIRE_SET_AGENT_SOURCE_IPS\", {\n slug: \"skyfire-set-agent-source-ips\",\n name: \"Set Agent Source IP Addresses\",\n description: \"Register IP addresses as sources for Agent requests (PUT /api/v1/agents/source-ips). Use before creating tokens to whitelist agent IPs.\",\n input: SkyfireSetAgentSourceIpsInput,\n output: SkyfireSetAgentSourceIpsOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXyD,EAAE,OAAO,EAClE,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,EAC3L,CAAC,CAAC,CAAC,SAAS,qRASH;CACP,QAT0D,EAAE,OAAO,EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,4IAOF;AACV,CAAC"}
1
+ {"version":3,"file":"set-agent-source-ips.mjs","names":[],"sources":["../../src/actions/set-agent-source-ips.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SkyfireSetAgentSourceIpsInput = z.object({\n source_ips: z.array(z.string()).describe(\"List of IP addresses to register as agent sources (e.g., ['192.168.1.1', '10.0.0.1']). These will be included in tokens created for the agent.\"),\n}).describe(\"Register IP addresses as the sources of the Agent's requests.\\n\\nThese IPs will be included in the aid.source_ips claim in the kya and\\nkya+pay tokens created for the Agent. Use this to whitelist the IP addresses\\nfrom which your agent will make API calls to seller services.\");\nexport const SkyfireSetAgentSourceIpsOutput = z.object({\n success: z.boolean().default(true).describe(\"Always true if the request succeeded (204 response)\").nullable().optional(),\n}).passthrough().describe(\"Response from setting agent source IPs.\\n\\nThe API returns 204 No Content on success, so this response model\\ncaptures the success status.\");\n\nexport const skyfireSetAgentSourceIps = action(\"SKYFIRE_SET_AGENT_SOURCE_IPS\", {\n slug: \"skyfire-set-agent-source-ips\",\n name: \"Set Agent Source IP Addresses\",\n description: \"Register IP addresses as sources for Agent requests (PUT /api/v1/agents/source-ips). Use before creating tokens to whitelist agent IPs.\",\n input: SkyfireSetAgentSourceIpsInput,\n output: SkyfireSetAgentSourceIpsOutput,\n});\n"],"mappings":";;AAWA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX2C,EAAE,OAAO,EACpD,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gJAAgJ,EAC3L,CAAC,CAAC,CAAC,SAAS,qRASH;CACP,QAT4C,EAAE,OAAO,EACrD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4IAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const skyfireCatalog = {
7
7
  "category": "AI Agents",
8
8
  "logo": "https://logos.composio.dev/api/skyfire",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Skyfire API Key",
13
+ "secret": true,
14
+ "description": "Your Skyfire API key for authenticating requests to the Skyfire platform."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.skyfireCatalog = skyfireCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const skyfireCatalog = {\n \"slug\": \"skyfire\",\n \"name\": \"Skyfire\",\n \"description\": \"Skyfire enables AI agents to autonomously transact and pay for services, creating a seamless payment infrastructure for AI applications.\",\n \"category\": \"AI Agents\",\n \"logo\": \"https://logos.composio.dev/api/skyfire\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const skyfireCatalog = {\n \"slug\": \"skyfire\",\n \"name\": \"Skyfire\",\n \"description\": \"Skyfire enables AI agents to autonomously transact and pay for services, creating a seamless payment infrastructure for AI applications.\",\n \"category\": \"AI Agents\",\n \"logo\": \"https://logos.composio.dev/api/skyfire\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Skyfire API Key\",\n \"secret\": true,\n \"description\": \"Your Skyfire API key for authenticating requests to the Skyfire platform.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const skyfireCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/skyfire";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Skyfire API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Skyfire API key for authenticating requests to the Skyfire platform.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { skyfireCatalog };
@@ -8,6 +8,14 @@ declare const skyfireCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/skyfire";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Skyfire API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your Skyfire API key for authenticating requests to the Skyfire platform.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { skyfireCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const skyfireCatalog = {
7
7
  "category": "AI Agents",
8
8
  "logo": "https://logos.composio.dev/api/skyfire",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Skyfire API Key",
13
+ "secret": true,
14
+ "description": "Your Skyfire API key for authenticating requests to the Skyfire platform."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { skyfireCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const skyfireCatalog = {\n \"slug\": \"skyfire\",\n \"name\": \"Skyfire\",\n \"description\": \"Skyfire enables AI agents to autonomously transact and pay for services, creating a seamless payment infrastructure for AI applications.\",\n \"category\": \"AI Agents\",\n \"logo\": \"https://logos.composio.dev/api/skyfire\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const skyfireCatalog = {\n \"slug\": \"skyfire\",\n \"name\": \"Skyfire\",\n \"description\": \"Skyfire enables AI agents to autonomously transact and pay for services, creating a seamless payment infrastructure for AI applications.\",\n \"category\": \"AI Agents\",\n \"logo\": \"https://logos.composio.dev/api/skyfire\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Skyfire API Key\",\n \"secret\": true,\n \"description\": \"Your Skyfire API key for authenticating requests to the Skyfire platform.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,iBAAiB;CAC5B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/skyfire",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {