@kikimoradev/kcloud 1.8.0 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +8 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1466,10 +1466,17 @@ const costQuerySchema = z.object({
1466
1466
  from: z.iso.date(),
1467
1467
  to: z.iso.date()
1468
1468
  });
1469
+ const agentCostSchema = z.object({
1470
+ agentId: idSchema,
1471
+ name: z.string().nullable(),
1472
+ costUsd: z.number().min(0),
1473
+ runs: z.int().nonnegative()
1474
+ }).meta({ id: "AgentCost" });
1469
1475
  const projectCostSchema = z.object({
1470
1476
  projectId: idSchema,
1471
1477
  costUsd: z.number().min(0),
1472
- runs: z.int().nonnegative()
1478
+ runs: z.int().nonnegative(),
1479
+ agents: z.array(agentCostSchema)
1473
1480
  }).meta({ id: "ProjectCost" });
1474
1481
  costSeriesSchema.extend({ projects: z.array(projectCostSchema) }).meta({ id: "OrganizationCosts" });
1475
1482
  pageSchema(z.object({
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "publishConfig": {
16
16
  "access": "public"
17
17
  },
18
- "version": "1.8.0",
18
+ "version": "1.9.0",
19
19
  "dependencies": {
20
20
  "@clack/prompts": "1.8.1",
21
21
  "@modelcontextprotocol/server": "2.3.0",