@agentapps/app.twilio 2.0.1 → 2.0.2

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/agentapp.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agentapps.dev/schemas/app-manifest.json",
3
3
  "id": "app.twilio",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "name": "Twilio",
6
6
  "description": "Twilio communications — send SMS, make calls, manage phone numbers, and check message status.",
7
7
  "tagline": "Send SMS, make calls, and manage communications with Twilio",
package/dist/app.js CHANGED
@@ -23003,7 +23003,13 @@ function registerGetAccountTool(app) {
23003
23003
  type: "object",
23004
23004
  properties: {}
23005
23005
  },
23006
- annotations: { readOnlyHint: true },
23006
+ annotations: {
23007
+ readOnlyHint: true,
23008
+ destructiveHint: false,
23009
+ idempotentHint: true,
23010
+ openWorldHint: true,
23011
+ sensitive: false
23012
+ },
23007
23013
  handler: async (_args, ctx) => {
23008
23014
  return await twilioRequest("GET", "", null, ctx);
23009
23015
  }
@@ -23024,7 +23030,13 @@ function registerGetCallTool(app) {
23024
23030
  },
23025
23031
  required: ["callSid"]
23026
23032
  },
23027
- annotations: { readOnlyHint: true },
23033
+ annotations: {
23034
+ readOnlyHint: true,
23035
+ destructiveHint: false,
23036
+ idempotentHint: true,
23037
+ openWorldHint: true,
23038
+ sensitive: false
23039
+ },
23028
23040
  handler: async (args, ctx) => {
23029
23041
  const callSid = args.callSid;
23030
23042
  return await twilioRequest("GET", `/Calls/${callSid}`, null, ctx);
@@ -23046,7 +23058,13 @@ function registerGetMessageTool(app) {
23046
23058
  },
23047
23059
  required: ["messageSid"]
23048
23060
  },
23049
- annotations: { readOnlyHint: true },
23061
+ annotations: {
23062
+ readOnlyHint: true,
23063
+ destructiveHint: false,
23064
+ idempotentHint: true,
23065
+ openWorldHint: true,
23066
+ sensitive: false
23067
+ },
23050
23068
  handler: async (args, ctx) => {
23051
23069
  const messageSid = args.messageSid;
23052
23070
  return await twilioRequest("GET", `/Messages/${messageSid}`, null, ctx);
@@ -23068,7 +23086,13 @@ function registerGetRecordingTool(app) {
23068
23086
  },
23069
23087
  required: ["recordingSid"]
23070
23088
  },
23071
- annotations: { readOnlyHint: true },
23089
+ annotations: {
23090
+ readOnlyHint: true,
23091
+ destructiveHint: false,
23092
+ idempotentHint: true,
23093
+ openWorldHint: true,
23094
+ sensitive: false
23095
+ },
23072
23096
  handler: async (args, ctx) => {
23073
23097
  const recordingSid = args.recordingSid;
23074
23098
  return await twilioRequest("GET", `/Recordings/${recordingSid}`, null, ctx);
@@ -23118,7 +23142,13 @@ function registerListAvailableNumbersTool(app) {
23118
23142
  },
23119
23143
  required: ["countryCode"]
23120
23144
  },
23121
- annotations: { readOnlyHint: true },
23145
+ annotations: {
23146
+ readOnlyHint: true,
23147
+ destructiveHint: false,
23148
+ idempotentHint: true,
23149
+ openWorldHint: true,
23150
+ sensitive: false
23151
+ },
23122
23152
  handler: async (args, ctx) => {
23123
23153
  const countryCode = args.countryCode;
23124
23154
  const params = {
@@ -23179,7 +23209,13 @@ function registerListCallsTool(app) {
23179
23209
  }
23180
23210
  }
23181
23211
  },
23182
- annotations: { readOnlyHint: true },
23212
+ annotations: {
23213
+ readOnlyHint: true,
23214
+ destructiveHint: false,
23215
+ idempotentHint: true,
23216
+ openWorldHint: true,
23217
+ sensitive: false
23218
+ },
23183
23219
  handler: async (args, ctx) => {
23184
23220
  const params = {
23185
23221
  PageSize: args.pageSize || 20
@@ -23225,7 +23261,13 @@ function registerListMessagesTool(app) {
23225
23261
  }
23226
23262
  }
23227
23263
  },
23228
- annotations: { readOnlyHint: true },
23264
+ annotations: {
23265
+ readOnlyHint: true,
23266
+ destructiveHint: false,
23267
+ idempotentHint: true,
23268
+ openWorldHint: true,
23269
+ sensitive: false
23270
+ },
23229
23271
  handler: async (args, ctx) => {
23230
23272
  const params = {
23231
23273
  PageSize: args.pageSize || 20
@@ -23263,7 +23305,13 @@ function registerListPhoneNumbersTool(app) {
23263
23305
  }
23264
23306
  }
23265
23307
  },
23266
- annotations: { readOnlyHint: true },
23308
+ annotations: {
23309
+ readOnlyHint: true,
23310
+ destructiveHint: false,
23311
+ idempotentHint: true,
23312
+ openWorldHint: true,
23313
+ sensitive: false
23314
+ },
23267
23315
  handler: async (args, ctx) => {
23268
23316
  const params = {
23269
23317
  PageSize: args.pageSize || 20
@@ -23299,7 +23347,13 @@ function registerListRecordingsTool(app) {
23299
23347
  }
23300
23348
  }
23301
23349
  },
23302
- annotations: { readOnlyHint: true },
23350
+ annotations: {
23351
+ readOnlyHint: true,
23352
+ destructiveHint: false,
23353
+ idempotentHint: true,
23354
+ openWorldHint: true,
23355
+ sensitive: false
23356
+ },
23303
23357
  handler: async (args, ctx) => {
23304
23358
  const params = {
23305
23359
  PageSize: args.pageSize || 20
@@ -23340,7 +23394,13 @@ function registerLookupPhoneTool(app) {
23340
23394
  },
23341
23395
  required: ["phoneNumber"]
23342
23396
  },
23343
- annotations: { readOnlyHint: true },
23397
+ annotations: {
23398
+ readOnlyHint: true,
23399
+ destructiveHint: false,
23400
+ idempotentHint: true,
23401
+ openWorldHint: true,
23402
+ sensitive: false
23403
+ },
23344
23404
  handler: async (args, ctx) => {
23345
23405
  const phoneNumber = args.phoneNumber;
23346
23406
  const params = {};
@@ -23383,7 +23443,13 @@ function registerMakeCallTool(app) {
23383
23443
  },
23384
23444
  required: ["to", "from"]
23385
23445
  },
23386
- annotations: { readOnlyHint: false, idempotentHint: false },
23446
+ annotations: {
23447
+ readOnlyHint: false,
23448
+ destructiveHint: true,
23449
+ idempotentHint: false,
23450
+ openWorldHint: true,
23451
+ sensitive: true
23452
+ },
23387
23453
  handler: async (args, ctx) => {
23388
23454
  if (!args.url && !args.twiml) {
23389
23455
  throw new Error('Either "url" or "twiml" must be provided.');
@@ -23429,7 +23495,13 @@ function registerSendSmsTool(app) {
23429
23495
  },
23430
23496
  required: ["to", "from", "body"]
23431
23497
  },
23432
- annotations: { sensitive: true, readOnlyHint: false, idempotentHint: false },
23498
+ annotations: {
23499
+ readOnlyHint: false,
23500
+ destructiveHint: true,
23501
+ idempotentHint: false,
23502
+ openWorldHint: true,
23503
+ sensitive: true
23504
+ },
23433
23505
  handler: async (args, ctx) => {
23434
23506
  const params = {
23435
23507
  To: args.to,
@@ -23473,7 +23545,13 @@ function registerSendWhatsappTool(app) {
23473
23545
  },
23474
23546
  required: ["to", "from", "body"]
23475
23547
  },
23476
- annotations: { sensitive: true, readOnlyHint: false, idempotentHint: false },
23548
+ annotations: {
23549
+ readOnlyHint: false,
23550
+ destructiveHint: true,
23551
+ idempotentHint: false,
23552
+ openWorldHint: true,
23553
+ sensitive: true
23554
+ },
23477
23555
  handler: async (args, ctx) => {
23478
23556
  const to = args.to;
23479
23557
  const from = args.from;
@@ -23511,7 +23589,7 @@ function registerTools(app) {
23511
23589
  // apps/twilio/src/app.ts
23512
23590
  var app = createApp({
23513
23591
  id: "app.twilio",
23514
- version: "2.0.1",
23592
+ version: "2.0.2",
23515
23593
  name: "Twilio",
23516
23594
  description: "Twilio communications — send SMS, make calls, manage phone numbers, and check message status.",
23517
23595
  author: { name: "Pablo López Torres", email: "pablolopeztorres@gmail.com" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentapps/app.twilio",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Send SMS, make calls, and manage communications with Twilio",
5
5
  "license": "MIT",
6
6
  "author": "Pablo López Torres <pablolopeztorres@gmail.com>",