@runtypelabs/cli 2.15.0 → 2.15.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.
Files changed (2) hide show
  1. package/dist/index.js +104 -7
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -26255,7 +26255,8 @@ var BuiltInToolCategory = {
26255
26255
  DATA_MANAGEMENT: "data_management",
26256
26256
  COMMERCE: "commerce",
26257
26257
  BROWSER: "browser",
26258
- SANDBOX: "sandbox"
26258
+ SANDBOX: "sandbox",
26259
+ MESSAGING: "messaging"
26259
26260
  };
26260
26261
  var BuiltInToolIdPrefix = {
26261
26262
  BUILTIN: "builtin",
@@ -26651,7 +26652,15 @@ var CORE_BUILTIN_TOOLS_REGISTRY = [
26651
26652
  modelCompatibility: [
26652
26653
  {
26653
26654
  provider: BuiltInToolProvider.ANTHROPIC,
26654
- models: ["claude-opus-4", "claude-sonnet-4", "claude-opus-4-5", "claude-sonnet-4-5", "claude-opus-4-6", "claude-sonnet-4-6", "claude-haiku-4-5"]
26655
+ models: [
26656
+ "claude-opus-4",
26657
+ "claude-sonnet-4",
26658
+ "claude-opus-4-5",
26659
+ "claude-sonnet-4-5",
26660
+ "claude-opus-4-6",
26661
+ "claude-sonnet-4-6",
26662
+ "claude-haiku-4-5"
26663
+ ]
26655
26664
  }
26656
26665
  ],
26657
26666
  documentationUrl: "https://sdk.vercel.ai/providers/ai-sdk-providers/anthropic#web-search",
@@ -26742,7 +26751,10 @@ var CORE_BUILTIN_TOOLS_REGISTRY = [
26742
26751
  type: "string",
26743
26752
  enum: ["web", "x", "news", "rss"]
26744
26753
  },
26745
- country: { type: "string", description: "ISO 3166-1 alpha-2 country code (web/news)." },
26754
+ country: {
26755
+ type: "string",
26756
+ description: "ISO 3166-1 alpha-2 country code (web/news)."
26757
+ },
26746
26758
  allowedWebsites: {
26747
26759
  type: "array",
26748
26760
  description: "Up to 5 domains to restrict search to (web only).",
@@ -28231,7 +28243,10 @@ var CORE_BUILTIN_TOOLS_REGISTRY = [
28231
28243
  city: { type: "string", description: "City" },
28232
28244
  province_code: { type: "string", description: "State/province code" },
28233
28245
  postal_code: { type: "string", description: "Postal/ZIP code" },
28234
- country_code: { type: "string", description: "ISO 3166-1 alpha-2 country code" }
28246
+ country_code: {
28247
+ type: "string",
28248
+ description: "ISO 3166-1 alpha-2 country code"
28249
+ }
28235
28250
  }
28236
28251
  },
28237
28252
  phone_number: { type: "string", description: "Recipient phone number" }
@@ -28349,7 +28364,10 @@ var CORE_BUILTIN_TOOLS_REGISTRY = [
28349
28364
  city: { type: "string", description: "City" },
28350
28365
  province_code: { type: "string", description: "State/province code" },
28351
28366
  postal_code: { type: "string", description: "Postal/ZIP code" },
28352
- country_code: { type: "string", description: "ISO 3166-1 alpha-2 country code" }
28367
+ country_code: {
28368
+ type: "string",
28369
+ description: "ISO 3166-1 alpha-2 country code"
28370
+ }
28353
28371
  }
28354
28372
  },
28355
28373
  phone_number: { type: "string", description: "Recipient phone number" }
@@ -28556,7 +28574,10 @@ var CORE_BUILTIN_TOOLS_REGISTRY = [
28556
28574
  intent: { type: "string", description: "Buyer intent description" }
28557
28575
  }
28558
28576
  },
28559
- bearerToken: { type: "string", description: "Bearer token for authenticated session (optional)" }
28577
+ bearerToken: {
28578
+ type: "string",
28579
+ description: "Bearer token for authenticated session (optional)"
28580
+ }
28560
28581
  },
28561
28582
  required: ["domain", "items"]
28562
28583
  },
@@ -29180,6 +29201,81 @@ var CORE_BUILTIN_TOOLS_REGISTRY = [
29180
29201
  executionHint: "platform",
29181
29202
  requiresApiKey: false,
29182
29203
  platformKeySupport: true
29204
+ },
29205
+ // Send email via Resend. Mirrors the send-email context step so agents can
29206
+ // dispatch transactional email without wrapping it in a flow.
29207
+ {
29208
+ id: "send_email",
29209
+ name: "Send Email",
29210
+ description: 'Send a transactional email via Resend. Leave "from" blank to use the platform-managed sender; set it to send from your own verified domain (requires a custom Resend key configured in Settings > Integrations).',
29211
+ category: BuiltInToolCategory.MESSAGING,
29212
+ providers: [BuiltInToolProvider.MULTI],
29213
+ parametersSchema: {
29214
+ type: "object",
29215
+ properties: {
29216
+ to: {
29217
+ type: "string",
29218
+ description: "Recipient email address. Multiple addresses can be provided comma-separated.",
29219
+ minLength: 1
29220
+ },
29221
+ subject: {
29222
+ type: "string",
29223
+ description: "Email subject line.",
29224
+ minLength: 1
29225
+ },
29226
+ html: {
29227
+ type: "string",
29228
+ description: "HTML body of the email. Provide either html or text (or both); at least one is required."
29229
+ },
29230
+ text: {
29231
+ type: "string",
29232
+ description: "Plain-text body of the email. Provide either html or text (or both); at least one is required."
29233
+ },
29234
+ from: {
29235
+ type: "string",
29236
+ description: "Optional sender address. Leave blank to use the platform-managed sender (e.g. agent_id@<platform-domain>). Custom values require your own Resend API key and a verified domain."
29237
+ },
29238
+ cc: {
29239
+ type: "string",
29240
+ description: "Optional CC recipients, comma-separated."
29241
+ },
29242
+ bcc: {
29243
+ type: "string",
29244
+ description: "Optional BCC recipients, comma-separated."
29245
+ },
29246
+ replyTo: {
29247
+ type: "string",
29248
+ description: "Optional Reply-To address."
29249
+ },
29250
+ attachments: {
29251
+ type: "array",
29252
+ description: "Optional file attachments. Each item must include a filename and base64-encoded content.",
29253
+ items: {
29254
+ type: "object",
29255
+ properties: {
29256
+ filename: {
29257
+ type: "string",
29258
+ description: "Attachment filename, including extension."
29259
+ },
29260
+ content: {
29261
+ type: "string",
29262
+ description: "Base64-encoded file contents."
29263
+ },
29264
+ contentType: {
29265
+ type: "string",
29266
+ description: "Optional MIME type (e.g. application/pdf)."
29267
+ }
29268
+ },
29269
+ required: ["filename", "content"]
29270
+ }
29271
+ }
29272
+ },
29273
+ required: ["to", "subject"]
29274
+ },
29275
+ documentationUrl: "https://resend.com/docs/api-reference/emails/send-email",
29276
+ requiresApiKey: false,
29277
+ executionHint: "platform",
29278
+ platformKeySupport: true
29183
29279
  }
29184
29280
  ];
29185
29281
  var BUILTIN_TOOLS_REGISTRY = [
@@ -34687,7 +34783,8 @@ var CATEGORY_DISPLAY_NAMES = {
34687
34783
  [BuiltInToolCategory.THIRD_PARTY_API]: "Third-Party API",
34688
34784
  [BuiltInToolCategory.ARTIFACT]: "Artifact",
34689
34785
  [BuiltInToolCategory.DATA_MANAGEMENT]: "Data Management",
34690
- [BuiltInToolCategory.COMMERCE]: "Commerce"
34786
+ [BuiltInToolCategory.COMMERCE]: "Commerce",
34787
+ [BuiltInToolCategory.MESSAGING]: "Messaging"
34691
34788
  };
34692
34789
  var TOOL_CATALOG_FOR_FLOW_GENERATION = (() => {
34693
34790
  const providerNativeSearchIds = /* @__PURE__ */ new Set([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.15.0",
3
+ "version": "2.15.1",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "micromatch": "^4.0.8",
22
22
  "yaml": "^2.8.3",
23
23
  "@runtypelabs/ink-components": "0.3.1",
24
- "@runtypelabs/sdk": "1.24.0",
24
+ "@runtypelabs/sdk": "1.24.1",
25
25
  "@runtypelabs/terminal-animations": "0.2.0"
26
26
  },
27
27
  "devDependencies": {