@keystrokehq/skyfire 0.1.2 → 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.
- package/dist/actions/charge-token.cjs +1 -1
- package/dist/actions/charge-token.cjs.map +1 -1
- package/dist/actions/charge-token.d.cts +1 -1
- package/dist/actions/charge-token.d.mts +1 -1
- package/dist/actions/charge-token.mjs +1 -1
- package/dist/actions/charge-token.mjs.map +1 -1
- package/dist/actions/create-kya-pay-token.cjs +1 -1
- package/dist/actions/create-kya-pay-token.cjs.map +1 -1
- package/dist/actions/create-kya-pay-token.d.cts +1 -1
- package/dist/actions/create-kya-pay-token.d.mts +1 -1
- package/dist/actions/create-kya-pay-token.mjs +1 -1
- package/dist/actions/create-kya-pay-token.mjs.map +1 -1
- package/dist/actions/create-kya-token.cjs +1 -1
- package/dist/actions/create-kya-token.cjs.map +1 -1
- package/dist/actions/create-kya-token.d.cts +1 -1
- package/dist/actions/create-kya-token.d.mts +1 -1
- package/dist/actions/create-kya-token.mjs +1 -1
- package/dist/actions/create-kya-token.mjs.map +1 -1
- package/dist/actions/create-pay-token.cjs +1 -1
- package/dist/actions/create-pay-token.cjs.map +1 -1
- package/dist/actions/create-pay-token.d.cts +1 -1
- package/dist/actions/create-pay-token.d.mts +1 -1
- package/dist/actions/create-pay-token.mjs +1 -1
- package/dist/actions/create-pay-token.mjs.map +1 -1
- package/dist/actions/get-all-service-tags.cjs +1 -1
- package/dist/actions/get-all-service-tags.cjs.map +1 -1
- package/dist/actions/get-all-service-tags.d.cts +1 -1
- package/dist/actions/get-all-service-tags.d.mts +1 -1
- package/dist/actions/get-all-service-tags.mjs +1 -1
- package/dist/actions/get-all-service-tags.mjs.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.cjs +1 -1
- package/dist/actions/get-buyer-wallet-balance.cjs.map +1 -1
- package/dist/actions/get-buyer-wallet-balance.d.cts +1 -1
- package/dist/actions/get-buyer-wallet-balance.d.mts +1 -1
- package/dist/actions/get-buyer-wallet-balance.mjs +1 -1
- package/dist/actions/get-buyer-wallet-balance.mjs.map +1 -1
- package/dist/actions/get-directory-service-by-id.cjs +3 -3
- package/dist/actions/get-directory-service-by-id.cjs.map +1 -1
- package/dist/actions/get-directory-service-by-id.d.cts +3 -3
- package/dist/actions/get-directory-service-by-id.d.mts +3 -3
- package/dist/actions/get-directory-service-by-id.mjs +3 -3
- package/dist/actions/get-directory-service-by-id.mjs.map +1 -1
- package/dist/actions/get-service.cjs +2 -2
- package/dist/actions/get-service.cjs.map +1 -1
- package/dist/actions/get-service.d.cts +2 -2
- package/dist/actions/get-service.d.mts +2 -2
- package/dist/actions/get-service.mjs +2 -2
- package/dist/actions/get-service.mjs.map +1 -1
- package/dist/actions/get-services-by-agent.cjs +5 -5
- package/dist/actions/get-services-by-agent.cjs.map +1 -1
- package/dist/actions/get-services-by-agent.d.cts +5 -5
- package/dist/actions/get-services-by-agent.d.mts +5 -5
- package/dist/actions/get-services-by-agent.mjs +5 -5
- package/dist/actions/get-services-by-agent.mjs.map +1 -1
- package/dist/actions/get-services-by-tags.cjs +5 -5
- package/dist/actions/get-services-by-tags.cjs.map +1 -1
- package/dist/actions/get-services-by-tags.d.cts +5 -5
- package/dist/actions/get-services-by-tags.d.mts +5 -5
- package/dist/actions/get-services-by-tags.mjs +5 -5
- package/dist/actions/get-services-by-tags.mjs.map +1 -1
- package/dist/actions/get-token-charges.cjs +2 -2
- package/dist/actions/get-token-charges.cjs.map +1 -1
- package/dist/actions/get-token-charges.d.cts +2 -2
- package/dist/actions/get-token-charges.d.mts +2 -2
- package/dist/actions/get-token-charges.mjs +2 -2
- package/dist/actions/get-token-charges.mjs.map +1 -1
- package/dist/actions/introspect-token.cjs +1 -1
- package/dist/actions/introspect-token.cjs.map +1 -1
- package/dist/actions/introspect-token.d.cts +1 -1
- package/dist/actions/introspect-token.d.mts +1 -1
- package/dist/actions/introspect-token.mjs +1 -1
- package/dist/actions/introspect-token.mjs.map +1 -1
- package/dist/actions/list-agent-seller-services.cjs +5 -5
- package/dist/actions/list-agent-seller-services.cjs.map +1 -1
- package/dist/actions/list-agent-seller-services.d.cts +5 -5
- package/dist/actions/list-agent-seller-services.d.mts +5 -5
- package/dist/actions/list-agent-seller-services.mjs +5 -5
- package/dist/actions/list-agent-seller-services.mjs.map +1 -1
- package/dist/actions/list-buyer-tokens.cjs +3 -3
- package/dist/actions/list-buyer-tokens.cjs.map +1 -1
- package/dist/actions/list-buyer-tokens.d.cts +3 -3
- package/dist/actions/list-buyer-tokens.d.mts +3 -3
- package/dist/actions/list-buyer-tokens.mjs +3 -3
- package/dist/actions/list-buyer-tokens.mjs.map +1 -1
- package/dist/actions/list-directory-services.cjs +5 -5
- package/dist/actions/list-directory-services.cjs.map +1 -1
- package/dist/actions/list-directory-services.d.cts +5 -5
- package/dist/actions/list-directory-services.d.mts +5 -5
- package/dist/actions/list-directory-services.mjs +5 -5
- package/dist/actions/list-directory-services.mjs.map +1 -1
- package/dist/actions/set-agent-source-ips.cjs +1 -1
- package/dist/actions/set-agent-source-ips.cjs.map +1 -1
- package/dist/actions/set-agent-source-ips.d.cts +1 -1
- package/dist/actions/set-agent-source-ips.d.mts +1 -1
- package/dist/actions/set-agent-source-ips.mjs +1 -1
- package/dist/actions/set-agent-source-ips.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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.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});\nconst SkyfireListDirectoryServices_ServiceTermsOfServiceSchema = z.object({\n url: z.string().nullable().optional(),\n required: z.boolean().nullable().optional(),\n});\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});\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});\nexport const SkyfireListDirectoryServicesOutput = 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,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,CAAC,CAAC,SAAS;CAC1I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,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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C,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACzE,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0B,8DAA8D,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,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.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}).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,SAAS,4IAA4I;
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const SkyfireSetAgentSourceIpsInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const SkyfireSetAgentSourceIpsOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const skyfireSetAgentSourceIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
source_ips: string[];
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const SkyfireSetAgentSourceIpsInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const SkyfireSetAgentSourceIpsOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const skyfireSetAgentSourceIps: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
source_ips: string[];
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -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.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}).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,SAAS,
|
|
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"}
|