@doist/automations-mcp 1.9.0 → 1.10.1

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.
@@ -7056,93 +7056,78 @@ var PROVIDER_TYPES = ["direct", "pubsub", "app-level"];
7056
7056
  // ../../packages/core/dist/esm/models.js
7057
7057
  var MODEL_CATALOG = {
7058
7058
  "gemini-2.5-flash-lite": {
7059
- provider: "gemini",
7059
+ vendor: "google",
7060
7060
  family: "2.5",
7061
- providerModelId: "gemini-2.5-flash-lite",
7062
7061
  manifestSelectable: true
7063
7062
  },
7064
7063
  "gemini-2.5-flash": {
7065
- provider: "gemini",
7064
+ vendor: "google",
7066
7065
  family: "2.5",
7067
- providerModelId: "gemini-2.5-flash",
7068
7066
  manifestSelectable: true
7069
7067
  },
7070
7068
  "gemini-3.1-pro": {
7071
- provider: "gemini",
7069
+ vendor: "google",
7072
7070
  family: "3",
7073
- providerModelId: "gemini-3.1-pro-preview",
7074
7071
  manifestSelectable: true
7075
7072
  },
7076
7073
  "gemini-3.8-flash": {
7077
- provider: "gemini",
7074
+ vendor: "google",
7078
7075
  family: "3",
7079
- providerModelId: "gemini-3.8-flash",
7080
7076
  manifestSelectable: true
7081
7077
  },
7082
7078
  "claude-opus-4-6": {
7083
- provider: "anthropic",
7079
+ vendor: "anthropic",
7084
7080
  family: "4.6",
7085
- providerModelId: "claude-opus-4-6",
7086
7081
  manifestSelectable: true
7087
7082
  },
7088
7083
  "claude-sonnet-5": {
7089
- provider: "anthropic",
7084
+ vendor: "anthropic",
7090
7085
  family: "5",
7091
- providerModelId: "claude-sonnet-5",
7092
7086
  manifestSelectable: true
7093
7087
  },
7094
7088
  "claude-sonnet-5-5": {
7095
- provider: "anthropic",
7089
+ vendor: "anthropic",
7096
7090
  family: "5",
7097
- providerModelId: "claude-sonnet-5-5",
7098
7091
  manifestSelectable: false
7099
7092
  },
7100
7093
  "claude-haiku-5-5": {
7101
- provider: "anthropic",
7094
+ vendor: "anthropic",
7102
7095
  family: "5",
7103
- providerModelId: "claude-haiku-5-5",
7104
7096
  manifestSelectable: false
7105
7097
  },
7106
7098
  "claude-sonnet-4-6": {
7107
- provider: "anthropic",
7099
+ vendor: "anthropic",
7108
7100
  family: "4.6",
7109
- providerModelId: "claude-sonnet-4-6",
7110
7101
  manifestSelectable: true
7111
7102
  },
7112
7103
  "claude-haiku-4-5": {
7113
- provider: "anthropic",
7104
+ vendor: "anthropic",
7114
7105
  family: "4.5",
7115
- providerModelId: "claude-haiku-4-5",
7116
7106
  manifestSelectable: true
7117
7107
  },
7118
7108
  "deepseek-v4-flash": {
7119
- provider: "openrouter",
7109
+ vendor: "deepseek",
7120
7110
  family: "deepseek",
7121
- providerModelId: "deepseek/deepseek-v4-flash-0731",
7122
7111
  manifestSelectable: true
7123
7112
  },
7124
7113
  "deepseek-v4-pro": {
7125
- provider: "openrouter",
7114
+ vendor: "deepseek",
7126
7115
  family: "deepseek",
7127
- providerModelId: "deepseek/deepseek-v4-pro",
7128
7116
  manifestSelectable: true
7129
7117
  },
7130
7118
  "mimo-v2.5": {
7131
- provider: "openrouter",
7119
+ vendor: "mimo",
7132
7120
  family: "mimo",
7133
- providerModelId: "xiaomi/mimo-v2.5",
7134
7121
  manifestSelectable: true
7135
7122
  },
7136
7123
  "mimo-v2.5-pro": {
7137
- provider: "openrouter",
7124
+ vendor: "mimo",
7138
7125
  family: "mimo",
7139
- providerModelId: "xiaomi/mimo-v2.5-pro",
7140
7126
  manifestSelectable: true
7141
7127
  },
7142
7128
  "glm-5.2": {
7143
- provider: "openrouter",
7129
+ vendor: "glm",
7144
7130
  family: "glm",
7145
- providerModelId: "z-ai/glm-5.2",
7146
7131
  manifestSelectable: true
7147
7132
  }
7148
7133
  };
@@ -7151,8 +7136,8 @@ var SUPPORTED_SEARCH_MODELS = SUPPORTED_LLM_MODELS.filter(supportsWebSearch);
7151
7136
  var MANIFEST_LLM_MODELS = SUPPORTED_LLM_MODELS.filter((modelId) => MODEL_CATALOG[modelId].manifestSelectable);
7152
7137
  var MANIFEST_SEARCH_MODELS = MANIFEST_LLM_MODELS.filter((modelId) => supportsWebSearch(modelId));
7153
7138
  function supportsWebSearch(modelId) {
7154
- const { provider } = MODEL_CATALOG[modelId];
7155
- return provider === "gemini" || provider === "anthropic";
7139
+ const { vendor } = MODEL_CATALOG[modelId];
7140
+ return vendor === "google" || vendor === "anthropic";
7156
7141
  }
7157
7142
 
7158
7143
  // ../../packages/core/dist/esm/schemas/admin.schema.js
@@ -12612,13 +12597,31 @@ var UsageBillingAccountNotFoundResponseSchema = z56.object({
12612
12597
  http_code: z56.literal(404),
12613
12598
  error_extra: z56.record(z56.string(), z56.unknown())
12614
12599
  });
12600
+ var USAGE_BILLING_TOP_UP_REFUSAL_TAGS = {
12601
+ topUpUnavailable: "USAGE_BILLING_TOP_UP_UNAVAILABLE",
12602
+ planRequired: "USAGE_BILLING_PLAN_REQUIRED",
12603
+ currencyMismatch: "USAGE_BILLING_CURRENCY_MISMATCH",
12604
+ topUpBelowMinimum: "USAGE_BILLING_TOP_UP_BELOW_MINIMUM"
12605
+ };
12606
+ var UsageBillingTopUpRefusalTagSchema = z56.enum(USAGE_BILLING_TOP_UP_REFUSAL_TAGS);
12615
12607
  var UsageBillingTopUpUnavailableResponseSchema = z56.object({
12616
- error_tag: z56.literal("USAGE_BILLING_TOP_UP_UNAVAILABLE"),
12608
+ error_tag: z56.literal(USAGE_BILLING_TOP_UP_REFUSAL_TAGS.topUpUnavailable),
12617
12609
  error_code: z56.literal(605),
12618
12610
  error: z56.string(),
12619
12611
  http_code: z56.literal(400),
12620
12612
  error_extra: z56.record(z56.string(), z56.unknown())
12621
12613
  });
12614
+ var UsageBillingTopUpPlanRequiredResponseSchema = z56.object({
12615
+ error_tag: z56.literal(USAGE_BILLING_TOP_UP_REFUSAL_TAGS.planRequired),
12616
+ error_code: z56.literal(615),
12617
+ error: z56.string(),
12618
+ http_code: z56.literal(400),
12619
+ error_extra: z56.record(z56.string(), z56.unknown())
12620
+ });
12621
+ var UsageBillingTopUpRefusalSchema = z56.object({
12622
+ error_tag: z56.string().min(1),
12623
+ error_extra: z56.object({ event_id: z56.string().optional() }).optional()
12624
+ });
12622
12625
  var UsageBillingClient = class extends BaseClient {
12623
12626
  async readState(options) {
12624
12627
  const data = await this.request({
@@ -13989,7 +13992,7 @@ import { McpServer } from "@modelcontextprotocol/server";
13989
13992
  // package.json
13990
13993
  var package_default = {
13991
13994
  name: "@doist/automations-mcp",
13992
- version: "1.9.0",
13995
+ version: "1.10.1",
13993
13996
  description: "MCP server and importable AI tools for Todoist Automations",
13994
13997
  type: "module",
13995
13998
  main: "./dist/index.js",
@@ -16600,4 +16603,4 @@ export {
16600
16603
  DEFAULT_BASE_URL,
16601
16604
  getMcpServer
16602
16605
  };
16603
- //# sourceMappingURL=chunk-HTBWVWMF.js.map
16606
+ //# sourceMappingURL=chunk-U7WP4F24.js.map