@avallon-labs/mcp 55.0.0-staging.1273 → 55.2.0-staging.1277

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/index.js CHANGED
@@ -46,5 +46,5 @@ function setupFetch() {
46
46
 
47
47
  // src/index.ts
48
48
  setupFetch();
49
- await import("./server-4E66VLN2.js");
49
+ await import("./server-WZSHJS7V.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -9439,7 +9439,7 @@ var GetCallAnalyticsResponse = zod.object({
9439
9439
  var getAnalyticsTimeSeriesQueryGranularityDefault = `day`;
9440
9440
  var getAnalyticsTimeSeriesQueryTimezoneDefault = `UTC`;
9441
9441
  var GetAnalyticsTimeSeriesQueryParams = zod.object({
9442
- "metric": zod.enum(["worker_runs", "documents", "pages", "finished_worker_runs", "avg_worker_run_duration_ms", "avg_worker_run_artifacts"]),
9442
+ "metric": zod.enum(["worker_runs", "documents", "pages", "finished_worker_runs", "avg_worker_run_duration_ms", "avg_worker_run_artifacts", "worker_run_cost_usd", "avg_worker_run_cost_usd"]),
9443
9443
  "from": zod.string(),
9444
9444
  "to": zod.string(),
9445
9445
  "granularity": zod.enum(["day", "week", "month"]).default(getAnalyticsTimeSeriesQueryGranularityDefault),
@@ -9450,7 +9450,7 @@ var GetAnalyticsTimeSeriesQueryParams = zod.object({
9450
9450
  });
9451
9451
  var GetAnalyticsTimeSeriesResponse = zod.object({
9452
9452
  "data": zod.array(zod.object({
9453
- "metric": zod.enum(["worker_runs", "documents", "pages", "finished_worker_runs", "avg_worker_run_duration_ms", "avg_worker_run_artifacts"]),
9453
+ "metric": zod.enum(["worker_runs", "documents", "pages", "finished_worker_runs", "avg_worker_run_duration_ms", "avg_worker_run_artifacts", "worker_run_cost_usd", "avg_worker_run_cost_usd"]),
9454
9454
  "granularity": zod.enum(["day", "week", "month"]),
9455
9455
  "group_by": zod.union([zod.enum(["worker_id", "outcome"]), zod.null()]),
9456
9456
  "total": zod.number().describe("The metric over the whole window: for `avg_*` metrics the average across all runs in the window (not the mean of `points`), otherwise the sum of `points`. 0 when there is no data; an empty `points` array distinguishes this from a real zero average."),
@@ -11313,6 +11313,7 @@ var listCasesQuerySortOrderDefault = `desc`;
11313
11313
  var ListCasesQueryParams = zod.object({
11314
11314
  "environment": zod.enum(["live", "test"]).optional().describe("Filter by environment. Omit to list cases in both."),
11315
11315
  "id": zod.string().min(1).optional().describe("Filter by exact case id. Values are normalized server-side (trimmed and lowercased) to match how case ids are stored."),
11316
+ "type_slug": zod.string().min(1).optional().describe("Filter by case type slug."),
11316
11317
  "subject": zod.string().min(1).optional().describe("Filter by case subject. Case-insensitive substring match against the case subject."),
11317
11318
  "reporter": zod.string().min(1).optional().describe("Filter by reporter. Case-insensitive substring match against the case reporter."),
11318
11319
  "created_by": zod.string().optional().describe('Filter by the actor that created the case: "worker:<workerId>" or "user:<profileId>".'),
@@ -11845,7 +11846,7 @@ var GetProfileResponse = zod.object({
11845
11846
  "last_name": zod.union([zod.string(), zod.null()]),
11846
11847
  "email": zod.string(),
11847
11848
  "role": zod.enum(["admin", "avallon_admin", "member"]),
11848
- "permissions": zod.array(zod.enum(["voice-agents:write", "voice-agents:promote", "tools:write", "tools:execute", "tools:promote", "extractors:write", "inboxes:write", "inboxes:send", "artifacts:write", "api-keys:write", "teams:write", "cases:write", "cases:delete", "case-types:write", "information-requests:write", "information-requests:resolve", "information-requests:delete", "feedback:write", "outbound-jobs:write", "outbound-jobs:schedule", "calls:monitor", "workers:read", "workers:create", "workers:write", "workers:execute", "workers:write-mcp", "workers:run", "workers:promote", "chat-agents:write", "notifications:write", "prompts:read", "prompts:write", "secrets:read", "secrets:write", "schedules:read", "schedules:write", "tenants:write"])),
11849
+ "permissions": zod.array(zod.enum(["voice-agents:write", "voice-agents:promote", "tools:write", "tools:execute", "tools:promote", "extractors:write", "inboxes:write", "inboxes:send", "artifacts:write", "api-keys:write", "teams:write", "cases:write", "cases:delete", "case-types:write", "information-requests:write", "information-requests:resolve", "information-requests:delete", "feedback:write", "outbound-jobs:write", "outbound-jobs:schedule", "calls:monitor", "workers:read", "workers:create", "workers:write", "workers:execute", "workers:write-mcp", "workers:run", "workers:promote", "chat-agents:write", "notifications:write", "prompts:read", "prompts:write", "secrets:read", "secrets:write", "schedules:read", "schedules:write", "tenants:write", "analytics:view-cost"])),
11849
11850
  "tenants": zod.object({
11850
11851
  "active": zod.object({
11851
11852
  "id": zod.string(),
@@ -14494,7 +14495,7 @@ var createMcpServer = (options) => {
14494
14495
  "getAnalyticsTimeSeries",
14495
14496
  {
14496
14497
  title: "Get analytics time series",
14497
- description: "Retrieve a tenant-scoped time series for a single metric.\n\nPick a `metric`, a date range, a bucket `granularity` (day/week/month), and optionally a `group_by` dimension and filters. The series is sparse (only buckets with data) over the half-open window `[from, to)`.\n\n- `worker_runs`, `documents`, `pages`: processing volume, bucketed by creation time. `worker_runs` can be grouped by `worker_id` and filtered by `worker_id` and `environment`. Documents are shared across environments and cannot be filtered by them.\n- `finished_worker_runs`, `avg_worker_run_duration_ms`, `avg_worker_run_artifacts`: worker runs that ended as completed, failed or canceled, windowed and bucketed by completion time. Runs created by worker evals and benchmarks are excluded. These can be filtered by `worker_id` and `environment`.\n - `finished_worker_runs`: number of finished runs. Can be grouped by `outcome` (`goal_reached`, `goal_not_reached`, `failed`, `canceled`); a completed run without a reported outcome counts as `goal_reached`.\n - `avg_worker_run_duration_ms`: average time from start to completion, in milliseconds. Runs that never started are excluded.\n - `avg_worker_run_artifacts`: average number of input artifacts resolved from the run's scope. Runs without a recorded artifact resolution are excluded.\n\n`data` is an array of per-metric results; today it always contains exactly one entry (the requested metric).",
14498
+ description: "Retrieve a tenant-scoped time series for a single metric.\n\nPick a `metric`, a date range, a bucket `granularity` (day/week/month), and optionally a `group_by` dimension and filters. The series is sparse (only buckets with data) over the half-open window `[from, to)`.\n\n- `worker_runs`, `documents`, `pages`: processing volume, bucketed by creation time. `worker_runs` can be grouped by `worker_id` and filtered by `worker_id` and `environment`. Documents are shared across environments and cannot be filtered by them.\n- `finished_worker_runs`, `avg_worker_run_duration_ms`, `avg_worker_run_artifacts`, `worker_run_cost_usd`, `avg_worker_run_cost_usd`: worker runs that ended as completed, failed or canceled, windowed and bucketed by completion time. Runs created by worker evals and benchmarks are excluded. These can be filtered by `worker_id` and `environment`.\n - `finished_worker_runs`: number of finished runs. Can be grouped by `outcome` (`goal_reached`, `goal_not_reached`, `failed`, `canceled`); a completed run without a reported outcome counts as `goal_reached`.\n - `avg_worker_run_duration_ms`: average time from start to completion, in milliseconds. Runs that never started are excluded.\n - `avg_worker_run_artifacts`: average number of input artifacts resolved from the run's scope. Runs without a recorded artifact resolution are excluded.\n - `worker_run_cost_usd`, `avg_worker_run_cost_usd`: total and average estimated LLM cost of the runs, in USD. Canceled runs, runs that never reported the cost of their extraction, and runs that used a model without published pricing are excluded. Requires the `analytics:view-cost` permission.\n\n`data` is an array of per-metric results; today it always contains exactly one entry (the requested metric).",
14498
14499
  inputSchema: {
14499
14500
  queryParams: GetAnalyticsTimeSeriesQueryParams
14500
14501
  },
@@ -16824,4 +16825,4 @@ var transport = new StdioServerTransport();
16824
16825
  server.connect(transport).then(() => {
16825
16826
  console.error("MCP server running on stdio");
16826
16827
  }).catch(console.error);
16827
- //# sourceMappingURL=server-4E66VLN2.js.map
16828
+ //# sourceMappingURL=server-WZSHJS7V.js.map