Build Information
Successful build of asc-mcp, reference develop (6ea1c4), with Swift 6.2 for macOS (SPM) on 3 Apr 2026 12:16:22 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
183 | } catch {
184 | return CallTool.Result(
185 | content: [.text("Error: Failed to delete bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
186 | isError: true
187 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:245:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
243 | }
244 |
245 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
246 |
247 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:249:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
247 | } catch {
248 | return CallTool.Result(
249 | content: [.text("Error: Failed to list devices: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
250 | isError: true
251 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:266:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
264 | let platform = platformValue.stringValue else {
265 | return CallTool.Result(
266 | content: [.text("Error: Required parameters: name, udid, platform")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
267 | isError: true
268 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:295:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
293 | ] as [String: Any]
294 |
295 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
296 |
297 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:299:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
297 | } catch {
298 | return CallTool.Result(
299 | content: [.text("Error: Failed to register device: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
300 | isError: true
301 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:312:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
310 | let deviceId = deviceIdValue.stringValue else {
311 | return CallTool.Result(
312 | content: [.text("Error: Required parameter 'device_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
313 | isError: true
314 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:341:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
339 | ] as [String: Any]
340 |
341 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
342 |
343 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:345:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
343 | } catch {
344 | return CallTool.Result(
345 | content: [.text("Error: Failed to update device: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
346 | isError: true
347 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:400:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
398 | }
399 |
400 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
401 |
402 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:404:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
402 | } catch {
403 | return CallTool.Result(
404 | content: [.text("Error: Failed to list certificates: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
405 | isError: true
406 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:464:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
462 | }
463 |
464 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
465 |
466 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:468:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
466 | } catch {
467 | return CallTool.Result(
468 | content: [.text("Error: Failed to list profiles: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
469 | isError: true
470 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:483:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
481 | let certificateId = idValue.stringValue else {
482 | return CallTool.Result(
483 | content: [.text("Error: Required parameter 'certificate_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
484 | isError: true
485 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:501:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
499 | ] as [String: Any]
500 |
501 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
502 |
503 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:505:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
503 | } catch {
504 | return CallTool.Result(
505 | content: [.text("Error: Failed to get certificate: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
506 | isError: true
507 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:518:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
516 | let certificateId = idValue.stringValue else {
517 | return CallTool.Result(
518 | content: [.text("Error: Required parameter 'certificate_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
519 | isError: true
520 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:531:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
529 | ] as [String: Any]
530 |
531 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
532 |
533 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:535:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
533 | } catch {
534 | return CallTool.Result(
535 | content: [.text("Error: Failed to revoke certificate: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
536 | isError: true
537 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:550:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
548 | let profileId = idValue.stringValue else {
549 | return CallTool.Result(
550 | content: [.text("Error: Required parameter 'profile_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
551 | isError: true
552 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:568:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
566 | ] as [String: Any]
567 |
568 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
569 |
570 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:572:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
570 | } catch {
571 | return CallTool.Result(
572 | content: [.text("Error: Failed to get profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
573 | isError: true
574 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:585:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
583 | let profileId = idValue.stringValue else {
584 | return CallTool.Result(
585 | content: [.text("Error: Required parameter 'profile_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
586 | isError: true
587 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:598:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
596 | ] as [String: Any]
597 |
598 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
599 |
600 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:602:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
600 | } catch {
601 | return CallTool.Result(
602 | content: [.text("Error: Failed to delete profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
603 | isError: true
604 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:621:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
619 | let certIdsArray = certIdsValue.arrayValue else {
620 | return CallTool.Result(
621 | content: [.text("Error: Required parameters: name, profile_type, bundle_id_resource_id, certificate_ids")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
622 | isError: true
623 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:673:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
671 | ] as [String: Any]
672 |
673 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
674 |
675 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:677:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
675 | } catch {
676 | return CallTool.Result(
677 | content: [.text("Error: Failed to create profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
678 | isError: true
679 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:692:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
690 | let bundleIdResourceId = idValue.stringValue else {
691 | return CallTool.Result(
692 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
693 | isError: true
694 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:725:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
723 | }
724 |
725 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
726 |
727 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:729:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
727 | } catch {
728 | return CallTool.Result(
729 | content: [.text("Error: Failed to list capabilities: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
730 | isError: true
731 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:744:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
742 | let capabilityType = capTypeValue.stringValue else {
743 | return CallTool.Result(
744 | content: [.text("Error: Required parameters: bundle_id_resource_id, capability_type")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
745 | isError: true
746 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:786:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
784 | ] as [String: Any]
785 |
786 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
787 |
788 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:790:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
788 | } catch {
789 | return CallTool.Result(
790 | content: [.text("Error: Failed to enable capability: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
791 | isError: true
792 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:803:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
801 | let capabilityId = idValue.stringValue else {
802 | return CallTool.Result(
803 | content: [.text("Error: Required parameter 'capability_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
804 | isError: true
805 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:816:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
814 | ] as [String: Any]
815 |
816 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
817 |
818 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:820:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
818 | } catch {
819 | return CallTool.Result(
820 | content: [.text("Error: Failed to disable capability: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
821 | isError: true
822 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:14:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
12 | let filePath = arguments["file_path"]?.stringValue else {
13 | return CallTool.Result(
14 | content: [.text("Error: Required parameters: review_detail_id, file_path")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
15 | isError: true
16 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:47:32: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
45 | guard let uploadOperations = reserveResponse.data.attributes?.uploadOperations, !uploadOperations.isEmpty else {
46 | return CallTool.Result(
47 | content: [.text("Error: No upload operations returned from reservation")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
48 | isError: true
49 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:75:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
73 | ] as [String: Any]
74 |
75 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
76 |
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:79:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
77 | } catch {
78 | return CallTool.Result(
79 | content: [.text("Error: Failed to upload review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
80 | isError: true
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:91:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
89 | let attachmentId = arguments["attachment_id"]?.stringValue else {
90 | return CallTool.Result(
91 | content: [.text("Error: Required parameter 'attachment_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
92 | isError: true
93 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:105:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
103 | ] as [String: Any]
104 |
105 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
106 |
107 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:109:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
107 | } catch {
108 | return CallTool.Result(
109 | content: [.text("Error: Failed to get review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
110 | isError: true
111 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:121:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
119 | let attachmentId = arguments["attachment_id"]?.stringValue else {
120 | return CallTool.Result(
121 | content: [.text("Error: Required parameter 'attachment_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
122 | isError: true
123 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:134:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
132 | ] as [String: Any]
133 |
134 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
135 |
136 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:138:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
136 | } catch {
137 | return CallTool.Result(
138 | content: [.text("Error: Failed to delete review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
139 | isError: true
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:150:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
148 | let reviewDetailId = arguments["review_detail_id"]?.stringValue else {
149 | return CallTool.Result(
150 | content: [.text("Error: Required parameter 'review_detail_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
151 | isError: true
152 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:188:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
186 | }
187 |
188 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
189 |
190 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:192:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
190 | } catch {
191 | return CallTool.Result(
192 | content: [.text("Error: Failed to list review attachments: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
193 | isError: true
194 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:204:25: warning: expression implicitly coerced from 'Any?' to 'Any'
202 | "id": attachment.id,
203 | "type": attachment.type,
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:205:25: warning: expression implicitly coerced from 'Any?' to 'Any'
203 | "type": attachment.type,
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
207 | ]
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:206:35: warning: expression implicitly coerced from 'Any?' to 'Any'
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
207 | ]
208 |
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:20:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
18 | let appId = appIdValue.stringValue else {
19 | return CallTool.Result(
20 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
21 | isError: true
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:69:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
67 | }
68 |
69 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
70 |
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:73:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | } catch {
72 | return CallTool.Result(
73 | content: [.text("Error: Failed to list reviews: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | isError: true
75 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:86:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | let reviewId = reviewIdValue.stringValue else {
85 | return CallTool.Result(
86 | content: [.text("Error: Required parameter 'review_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | isError: true
88 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:106:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
104 | ]
105 |
106 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
107 |
108 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:110:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
108 | } catch {
109 | return CallTool.Result(
110 | content: [.text("Error: Failed to get review: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
111 | isError: true
112 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:123:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 | let versionId = versionIdValue.stringValue else {
122 | return CallTool.Result(
123 | content: [.text("Error: Required parameter 'version_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
124 | isError: true
125 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:172:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
170 | }
171 |
172 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
173 |
174 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:176:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
174 | } catch {
175 | return CallTool.Result(
176 | content: [.text("Error: Failed to list reviews for version: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
177 | isError: true
178 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:189:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
187 | let appId = appIdValue.stringValue else {
188 | return CallTool.Result(
189 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
190 | isError: true
191 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:238:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
236 | }
237 |
238 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
239 |
240 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:242:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
240 | } catch {
241 | return CallTool.Result(
242 | content: [.text("Error: Failed to get review stats: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
243 | isError: true
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:257:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
255 | let responseBody = responseBodyValue.stringValue else {
256 | return CallTool.Result(
257 | content: [.text("Error: Required parameters 'review_id' and 'response_body' are missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
258 | isError: true
259 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:264:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
262 | if responseBody.count > 5000 {
263 | return CallTool.Result(
264 | content: [.text("Error: Response body exceeds 5000 characters limit")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
265 | isError: true
266 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:295:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
293 | ]
294 |
295 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
296 |
297 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:299:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
297 | } catch {
298 | return CallTool.Result(
299 | content: [.text("Error: Failed to create response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
300 | isError: true
301 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:312:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
310 | let responseId = responseIdValue.stringValue else {
311 | return CallTool.Result(
312 | content: [.text("Error: Required parameter 'response_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
313 | isError: true
314 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:325:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
323 | ]
324 |
325 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
326 |
327 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:329:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
327 | } catch {
328 | return CallTool.Result(
329 | content: [.text("Error: Failed to delete response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
330 | isError: true
331 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:342:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
340 | let reviewId = reviewIdValue.stringValue else {
341 | return CallTool.Result(
342 | content: [.text("Error: Required parameter 'review_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
343 | isError: true
344 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:365:51: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
363 | "message": "No developer response found for this review"
364 | ]
365 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:374:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
372 | ]
373 |
374 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
375 |
376 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:378:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
376 | } catch {
377 | return CallTool.Result(
378 | content: [.text("Error: Failed to get response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
379 | isError: true
380 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:391:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
389 | let appId = appIdValue.stringValue else {
390 | return CallTool.Result(
391 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
392 | isError: true
393 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:424:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
422 | }
423 |
424 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
425 |
426 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:428:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
426 | } catch {
427 | return CallTool.Result(
428 | content: [.text("Error: Failed to get review summarizations: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
429 | isError: true
430 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[475/479] Compiling asc_mcp ReviewsWorker+ToolDefinitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:13:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
11 | let subscriptionId = arguments["subscription_id"]?.stringValue else {
12 | return CallTool.Result(
13 | content: [.text("Error: Required parameter 'subscription_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
14 | isError: true
15 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:51:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
49 | }
50 |
51 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
52 |
53 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:55:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
53 | } catch {
54 | return CallTool.Result(
55 | content: [.text("Error: Failed to list promotional offers: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
56 | isError: true
57 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:67:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
65 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
66 | return CallTool.Result(
67 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
68 | isError: true
69 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:86:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | ] as [String: Any]
85 |
86 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 |
88 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:90:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
88 | } catch {
89 | return CallTool.Result(
90 | content: [.text("Error: Failed to get promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
91 | isError: true
92 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:107:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
105 | let numberOfPeriods = arguments["number_of_periods"]?.intValue else {
106 | return CallTool.Result(
107 | content: [.text("Error: Required parameters: subscription_id, name, offer_code, duration, offer_mode, number_of_periods")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
108 | isError: true
109 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:150:44: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
148 | guard ids.count == territoryIds.count else {
149 | return CallTool.Result(
150 | content: [.text("Error: price_point_ids and territory_ids must have the same count (got \(ids.count) vs \(territoryIds.count))")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
151 | isError: true
152 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:212:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
210 | ] as [String: Any]
211 |
212 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
213 |
214 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:216:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
214 | } catch {
215 | return CallTool.Result(
216 | content: [.text("Error: Failed to create promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
217 | isError: true
218 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:228:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
226 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
227 | return CallTool.Result(
228 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
229 | isError: true
230 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:247:40: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
245 | guard ids.count == territoryIds.count else {
246 | return CallTool.Result(
247 | content: [.text("Error: price_point_ids and territory_ids must have the same count (got \(ids.count) vs \(territoryIds.count))")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
248 | isError: true
249 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:323:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
321 | ] as [String: Any]
322 |
323 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
324 |
325 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:327:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
325 | } catch {
326 | return CallTool.Result(
327 | content: [.text("Error: Failed to update promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
328 | isError: true
329 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:339:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
337 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
338 | return CallTool.Result(
339 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
340 | isError: true
341 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:352:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
350 | ] as [String: Any]
351 |
352 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
353 |
354 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:356:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
354 | } catch {
355 | return CallTool.Result(
356 | content: [.text("Error: Failed to delete promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
357 | isError: true
358 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:368:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
366 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
367 | return CallTool.Result(
368 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
369 | isError: true
370 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:406:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
404 | }
405 |
406 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
407 |
408 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:410:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
408 | } catch {
409 | return CallTool.Result(
410 | content: [.text("Error: Failed to list promotional offer prices: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
411 | isError: true
412 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:66:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | }
65 |
66 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
67 |
68 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:70:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
68 | } catch {
69 | return CallTool.Result(
70 | content: [.text("Error: Failed to list bundle IDs: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | isError: true
72 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:83:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
81 | let resourceId = idValue.stringValue else {
82 | return CallTool.Result(
83 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | isError: true
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:101:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
99 | ] as [String: Any]
100 |
101 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
102 |
103 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:105:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
103 | } catch {
104 | return CallTool.Result(
105 | content: [.text("Error: Failed to get bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
106 | isError: true
107 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:122:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
120 | let platform = platformValue.stringValue else {
121 | return CallTool.Result(
122 | content: [.text("Error: Required parameters: name, identifier, platform")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
123 | isError: true
124 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:151:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
149 | ] as [String: Any]
150 |
151 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
152 |
153 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:155:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
153 | } catch {
154 | return CallTool.Result(
155 | content: [.text("Error: Failed to create bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
156 | isError: true
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:168:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
166 | let resourceId = idValue.stringValue else {
167 | return CallTool.Result(
168 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
169 | isError: true
170 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:181:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
179 | ] as [String: Any]
180 |
181 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
182 |
183 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:185:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
183 | } catch {
184 | return CallTool.Result(
185 | content: [.text("Error: Failed to delete bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
186 | isError: true
187 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:245:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
243 | }
244 |
245 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
246 |
247 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:249:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
247 | } catch {
248 | return CallTool.Result(
249 | content: [.text("Error: Failed to list devices: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
250 | isError: true
251 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:266:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
264 | let platform = platformValue.stringValue else {
265 | return CallTool.Result(
266 | content: [.text("Error: Required parameters: name, udid, platform")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
267 | isError: true
268 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:295:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
293 | ] as [String: Any]
294 |
295 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
296 |
297 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:299:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
297 | } catch {
298 | return CallTool.Result(
299 | content: [.text("Error: Failed to register device: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
300 | isError: true
301 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:312:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
310 | let deviceId = deviceIdValue.stringValue else {
311 | return CallTool.Result(
312 | content: [.text("Error: Required parameter 'device_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
313 | isError: true
314 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:341:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
339 | ] as [String: Any]
340 |
341 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
342 |
343 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:345:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
343 | } catch {
344 | return CallTool.Result(
345 | content: [.text("Error: Failed to update device: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
346 | isError: true
347 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:400:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
398 | }
399 |
400 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
401 |
402 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:404:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
402 | } catch {
403 | return CallTool.Result(
404 | content: [.text("Error: Failed to list certificates: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
405 | isError: true
406 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:464:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
462 | }
463 |
464 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
465 |
466 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:468:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
466 | } catch {
467 | return CallTool.Result(
468 | content: [.text("Error: Failed to list profiles: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
469 | isError: true
470 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:483:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
481 | let certificateId = idValue.stringValue else {
482 | return CallTool.Result(
483 | content: [.text("Error: Required parameter 'certificate_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
484 | isError: true
485 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:501:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
499 | ] as [String: Any]
500 |
501 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
502 |
503 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:505:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
503 | } catch {
504 | return CallTool.Result(
505 | content: [.text("Error: Failed to get certificate: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
506 | isError: true
507 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:518:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
516 | let certificateId = idValue.stringValue else {
517 | return CallTool.Result(
518 | content: [.text("Error: Required parameter 'certificate_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
519 | isError: true
520 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:531:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
529 | ] as [String: Any]
530 |
531 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
532 |
533 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:535:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
533 | } catch {
534 | return CallTool.Result(
535 | content: [.text("Error: Failed to revoke certificate: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
536 | isError: true
537 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:550:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
548 | let profileId = idValue.stringValue else {
549 | return CallTool.Result(
550 | content: [.text("Error: Required parameter 'profile_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
551 | isError: true
552 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:568:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
566 | ] as [String: Any]
567 |
568 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
569 |
570 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:572:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
570 | } catch {
571 | return CallTool.Result(
572 | content: [.text("Error: Failed to get profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
573 | isError: true
574 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:585:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
583 | let profileId = idValue.stringValue else {
584 | return CallTool.Result(
585 | content: [.text("Error: Required parameter 'profile_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
586 | isError: true
587 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:598:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
596 | ] as [String: Any]
597 |
598 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
599 |
600 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:602:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
600 | } catch {
601 | return CallTool.Result(
602 | content: [.text("Error: Failed to delete profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
603 | isError: true
604 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:621:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
619 | let certIdsArray = certIdsValue.arrayValue else {
620 | return CallTool.Result(
621 | content: [.text("Error: Required parameters: name, profile_type, bundle_id_resource_id, certificate_ids")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
622 | isError: true
623 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:673:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
671 | ] as [String: Any]
672 |
673 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
674 |
675 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:677:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
675 | } catch {
676 | return CallTool.Result(
677 | content: [.text("Error: Failed to create profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
678 | isError: true
679 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:692:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
690 | let bundleIdResourceId = idValue.stringValue else {
691 | return CallTool.Result(
692 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
693 | isError: true
694 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:725:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
723 | }
724 |
725 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
726 |
727 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:729:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
727 | } catch {
728 | return CallTool.Result(
729 | content: [.text("Error: Failed to list capabilities: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
730 | isError: true
731 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:744:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
742 | let capabilityType = capTypeValue.stringValue else {
743 | return CallTool.Result(
744 | content: [.text("Error: Required parameters: bundle_id_resource_id, capability_type")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
745 | isError: true
746 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:786:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
784 | ] as [String: Any]
785 |
786 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
787 |
788 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:790:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
788 | } catch {
789 | return CallTool.Result(
790 | content: [.text("Error: Failed to enable capability: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
791 | isError: true
792 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:803:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
801 | let capabilityId = idValue.stringValue else {
802 | return CallTool.Result(
803 | content: [.text("Error: Required parameter 'capability_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
804 | isError: true
805 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:816:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
814 | ] as [String: Any]
815 |
816 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
817 |
818 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:820:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
818 | } catch {
819 | return CallTool.Result(
820 | content: [.text("Error: Failed to disable capability: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
821 | isError: true
822 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:14:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
12 | let filePath = arguments["file_path"]?.stringValue else {
13 | return CallTool.Result(
14 | content: [.text("Error: Required parameters: review_detail_id, file_path")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
15 | isError: true
16 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:47:32: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
45 | guard let uploadOperations = reserveResponse.data.attributes?.uploadOperations, !uploadOperations.isEmpty else {
46 | return CallTool.Result(
47 | content: [.text("Error: No upload operations returned from reservation")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
48 | isError: true
49 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:75:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
73 | ] as [String: Any]
74 |
75 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
76 |
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:79:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
77 | } catch {
78 | return CallTool.Result(
79 | content: [.text("Error: Failed to upload review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
80 | isError: true
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:91:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
89 | let attachmentId = arguments["attachment_id"]?.stringValue else {
90 | return CallTool.Result(
91 | content: [.text("Error: Required parameter 'attachment_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
92 | isError: true
93 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:105:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
103 | ] as [String: Any]
104 |
105 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
106 |
107 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:109:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
107 | } catch {
108 | return CallTool.Result(
109 | content: [.text("Error: Failed to get review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
110 | isError: true
111 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:121:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
119 | let attachmentId = arguments["attachment_id"]?.stringValue else {
120 | return CallTool.Result(
121 | content: [.text("Error: Required parameter 'attachment_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
122 | isError: true
123 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:134:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
132 | ] as [String: Any]
133 |
134 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
135 |
136 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:138:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
136 | } catch {
137 | return CallTool.Result(
138 | content: [.text("Error: Failed to delete review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
139 | isError: true
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:150:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
148 | let reviewDetailId = arguments["review_detail_id"]?.stringValue else {
149 | return CallTool.Result(
150 | content: [.text("Error: Required parameter 'review_detail_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
151 | isError: true
152 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:188:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
186 | }
187 |
188 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
189 |
190 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:192:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
190 | } catch {
191 | return CallTool.Result(
192 | content: [.text("Error: Failed to list review attachments: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
193 | isError: true
194 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:204:25: warning: expression implicitly coerced from 'Any?' to 'Any'
202 | "id": attachment.id,
203 | "type": attachment.type,
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:205:25: warning: expression implicitly coerced from 'Any?' to 'Any'
203 | "type": attachment.type,
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
207 | ]
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:206:35: warning: expression implicitly coerced from 'Any?' to 'Any'
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
207 | ]
208 |
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:20:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
18 | let appId = appIdValue.stringValue else {
19 | return CallTool.Result(
20 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
21 | isError: true
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:69:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
67 | }
68 |
69 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
70 |
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:73:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | } catch {
72 | return CallTool.Result(
73 | content: [.text("Error: Failed to list reviews: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | isError: true
75 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:86:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | let reviewId = reviewIdValue.stringValue else {
85 | return CallTool.Result(
86 | content: [.text("Error: Required parameter 'review_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | isError: true
88 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:106:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
104 | ]
105 |
106 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
107 |
108 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:110:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
108 | } catch {
109 | return CallTool.Result(
110 | content: [.text("Error: Failed to get review: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
111 | isError: true
112 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:123:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 | let versionId = versionIdValue.stringValue else {
122 | return CallTool.Result(
123 | content: [.text("Error: Required parameter 'version_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
124 | isError: true
125 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:172:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
170 | }
171 |
172 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
173 |
174 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:176:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
174 | } catch {
175 | return CallTool.Result(
176 | content: [.text("Error: Failed to list reviews for version: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
177 | isError: true
178 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:189:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
187 | let appId = appIdValue.stringValue else {
188 | return CallTool.Result(
189 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
190 | isError: true
191 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:238:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
236 | }
237 |
238 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
239 |
240 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:242:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
240 | } catch {
241 | return CallTool.Result(
242 | content: [.text("Error: Failed to get review stats: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
243 | isError: true
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:257:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
255 | let responseBody = responseBodyValue.stringValue else {
256 | return CallTool.Result(
257 | content: [.text("Error: Required parameters 'review_id' and 'response_body' are missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
258 | isError: true
259 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:264:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
262 | if responseBody.count > 5000 {
263 | return CallTool.Result(
264 | content: [.text("Error: Response body exceeds 5000 characters limit")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
265 | isError: true
266 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:295:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
293 | ]
294 |
295 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
296 |
297 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:299:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
297 | } catch {
298 | return CallTool.Result(
299 | content: [.text("Error: Failed to create response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
300 | isError: true
301 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:312:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
310 | let responseId = responseIdValue.stringValue else {
311 | return CallTool.Result(
312 | content: [.text("Error: Required parameter 'response_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
313 | isError: true
314 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:325:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
323 | ]
324 |
325 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
326 |
327 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:329:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
327 | } catch {
328 | return CallTool.Result(
329 | content: [.text("Error: Failed to delete response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
330 | isError: true
331 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:342:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
340 | let reviewId = reviewIdValue.stringValue else {
341 | return CallTool.Result(
342 | content: [.text("Error: Required parameter 'review_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
343 | isError: true
344 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:365:51: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
363 | "message": "No developer response found for this review"
364 | ]
365 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:374:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
372 | ]
373 |
374 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
375 |
376 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:378:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
376 | } catch {
377 | return CallTool.Result(
378 | content: [.text("Error: Failed to get response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
379 | isError: true
380 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:391:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
389 | let appId = appIdValue.stringValue else {
390 | return CallTool.Result(
391 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
392 | isError: true
393 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:424:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
422 | }
423 |
424 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
425 |
426 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:428:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
426 | } catch {
427 | return CallTool.Result(
428 | content: [.text("Error: Failed to get review summarizations: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
429 | isError: true
430 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[476/479] Compiling asc_mcp ReviewsWorker.swift
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:13:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
11 | let subscriptionId = arguments["subscription_id"]?.stringValue else {
12 | return CallTool.Result(
13 | content: [.text("Error: Required parameter 'subscription_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
14 | isError: true
15 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:51:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
49 | }
50 |
51 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
52 |
53 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:55:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
53 | } catch {
54 | return CallTool.Result(
55 | content: [.text("Error: Failed to list promotional offers: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
56 | isError: true
57 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:67:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
65 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
66 | return CallTool.Result(
67 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
68 | isError: true
69 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:86:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | ] as [String: Any]
85 |
86 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 |
88 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:90:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
88 | } catch {
89 | return CallTool.Result(
90 | content: [.text("Error: Failed to get promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
91 | isError: true
92 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:107:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
105 | let numberOfPeriods = arguments["number_of_periods"]?.intValue else {
106 | return CallTool.Result(
107 | content: [.text("Error: Required parameters: subscription_id, name, offer_code, duration, offer_mode, number_of_periods")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
108 | isError: true
109 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:150:44: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
148 | guard ids.count == territoryIds.count else {
149 | return CallTool.Result(
150 | content: [.text("Error: price_point_ids and territory_ids must have the same count (got \(ids.count) vs \(territoryIds.count))")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
151 | isError: true
152 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:212:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
210 | ] as [String: Any]
211 |
212 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
213 |
214 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:216:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
214 | } catch {
215 | return CallTool.Result(
216 | content: [.text("Error: Failed to create promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
217 | isError: true
218 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:228:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
226 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
227 | return CallTool.Result(
228 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
229 | isError: true
230 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:247:40: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
245 | guard ids.count == territoryIds.count else {
246 | return CallTool.Result(
247 | content: [.text("Error: price_point_ids and territory_ids must have the same count (got \(ids.count) vs \(territoryIds.count))")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
248 | isError: true
249 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:323:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
321 | ] as [String: Any]
322 |
323 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
324 |
325 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:327:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
325 | } catch {
326 | return CallTool.Result(
327 | content: [.text("Error: Failed to update promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
328 | isError: true
329 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:339:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
337 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
338 | return CallTool.Result(
339 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
340 | isError: true
341 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:352:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
350 | ] as [String: Any]
351 |
352 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
353 |
354 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:356:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
354 | } catch {
355 | return CallTool.Result(
356 | content: [.text("Error: Failed to delete promotional offer: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
357 | isError: true
358 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:368:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
366 | let promotionalOfferId = arguments["promotional_offer_id"]?.stringValue else {
367 | return CallTool.Result(
368 | content: [.text("Error: Required parameter 'promotional_offer_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
369 | isError: true
370 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:406:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
404 | }
405 |
406 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
407 |
408 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift:410:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
408 | } catch {
409 | return CallTool.Result(
410 | content: [.text("Error: Failed to list promotional offer prices: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
411 | isError: true
412 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:66:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
64 | }
65 |
66 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
67 |
68 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:70:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
68 | } catch {
69 | return CallTool.Result(
70 | content: [.text("Error: Failed to list bundle IDs: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | isError: true
72 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:83:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
81 | let resourceId = idValue.stringValue else {
82 | return CallTool.Result(
83 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | isError: true
85 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:101:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
99 | ] as [String: Any]
100 |
101 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
102 |
103 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:105:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
103 | } catch {
104 | return CallTool.Result(
105 | content: [.text("Error: Failed to get bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
106 | isError: true
107 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:122:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
120 | let platform = platformValue.stringValue else {
121 | return CallTool.Result(
122 | content: [.text("Error: Required parameters: name, identifier, platform")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
123 | isError: true
124 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:151:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
149 | ] as [String: Any]
150 |
151 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
152 |
153 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:155:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
153 | } catch {
154 | return CallTool.Result(
155 | content: [.text("Error: Failed to create bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
156 | isError: true
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:168:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
166 | let resourceId = idValue.stringValue else {
167 | return CallTool.Result(
168 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
169 | isError: true
170 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:181:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
179 | ] as [String: Any]
180 |
181 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
182 |
183 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:185:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
183 | } catch {
184 | return CallTool.Result(
185 | content: [.text("Error: Failed to delete bundle ID: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
186 | isError: true
187 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:245:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
243 | }
244 |
245 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
246 |
247 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:249:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
247 | } catch {
248 | return CallTool.Result(
249 | content: [.text("Error: Failed to list devices: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
250 | isError: true
251 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:266:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
264 | let platform = platformValue.stringValue else {
265 | return CallTool.Result(
266 | content: [.text("Error: Required parameters: name, udid, platform")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
267 | isError: true
268 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:295:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
293 | ] as [String: Any]
294 |
295 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
296 |
297 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:299:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
297 | } catch {
298 | return CallTool.Result(
299 | content: [.text("Error: Failed to register device: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
300 | isError: true
301 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:312:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
310 | let deviceId = deviceIdValue.stringValue else {
311 | return CallTool.Result(
312 | content: [.text("Error: Required parameter 'device_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
313 | isError: true
314 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:341:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
339 | ] as [String: Any]
340 |
341 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
342 |
343 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:345:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
343 | } catch {
344 | return CallTool.Result(
345 | content: [.text("Error: Failed to update device: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
346 | isError: true
347 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:400:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
398 | }
399 |
400 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
401 |
402 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:404:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
402 | } catch {
403 | return CallTool.Result(
404 | content: [.text("Error: Failed to list certificates: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
405 | isError: true
406 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:464:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
462 | }
463 |
464 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
465 |
466 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:468:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
466 | } catch {
467 | return CallTool.Result(
468 | content: [.text("Error: Failed to list profiles: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
469 | isError: true
470 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:483:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
481 | let certificateId = idValue.stringValue else {
482 | return CallTool.Result(
483 | content: [.text("Error: Required parameter 'certificate_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
484 | isError: true
485 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:501:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
499 | ] as [String: Any]
500 |
501 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
502 |
503 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:505:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
503 | } catch {
504 | return CallTool.Result(
505 | content: [.text("Error: Failed to get certificate: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
506 | isError: true
507 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:518:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
516 | let certificateId = idValue.stringValue else {
517 | return CallTool.Result(
518 | content: [.text("Error: Required parameter 'certificate_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
519 | isError: true
520 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:531:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
529 | ] as [String: Any]
530 |
531 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
532 |
533 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:535:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
533 | } catch {
534 | return CallTool.Result(
535 | content: [.text("Error: Failed to revoke certificate: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
536 | isError: true
537 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:550:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
548 | let profileId = idValue.stringValue else {
549 | return CallTool.Result(
550 | content: [.text("Error: Required parameter 'profile_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
551 | isError: true
552 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:568:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
566 | ] as [String: Any]
567 |
568 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
569 |
570 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:572:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
570 | } catch {
571 | return CallTool.Result(
572 | content: [.text("Error: Failed to get profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
573 | isError: true
574 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:585:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
583 | let profileId = idValue.stringValue else {
584 | return CallTool.Result(
585 | content: [.text("Error: Required parameter 'profile_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
586 | isError: true
587 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:598:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
596 | ] as [String: Any]
597 |
598 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
599 |
600 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:602:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
600 | } catch {
601 | return CallTool.Result(
602 | content: [.text("Error: Failed to delete profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
603 | isError: true
604 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:621:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
619 | let certIdsArray = certIdsValue.arrayValue else {
620 | return CallTool.Result(
621 | content: [.text("Error: Required parameters: name, profile_type, bundle_id_resource_id, certificate_ids")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
622 | isError: true
623 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:673:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
671 | ] as [String: Any]
672 |
673 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
674 |
675 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:677:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
675 | } catch {
676 | return CallTool.Result(
677 | content: [.text("Error: Failed to create profile: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
678 | isError: true
679 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:692:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
690 | let bundleIdResourceId = idValue.stringValue else {
691 | return CallTool.Result(
692 | content: [.text("Error: Required parameter 'bundle_id_resource_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
693 | isError: true
694 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:725:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
723 | }
724 |
725 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
726 |
727 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:729:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
727 | } catch {
728 | return CallTool.Result(
729 | content: [.text("Error: Failed to list capabilities: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
730 | isError: true
731 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:744:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
742 | let capabilityType = capTypeValue.stringValue else {
743 | return CallTool.Result(
744 | content: [.text("Error: Required parameters: bundle_id_resource_id, capability_type")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
745 | isError: true
746 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:786:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
784 | ] as [String: Any]
785 |
786 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
787 |
788 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:790:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
788 | } catch {
789 | return CallTool.Result(
790 | content: [.text("Error: Failed to enable capability: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
791 | isError: true
792 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:803:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
801 | let capabilityId = idValue.stringValue else {
802 | return CallTool.Result(
803 | content: [.text("Error: Required parameter 'capability_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
804 | isError: true
805 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:816:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
814 | ] as [String: Any]
815 |
816 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
817 |
818 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift:820:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
818 | } catch {
819 | return CallTool.Result(
820 | content: [.text("Error: Failed to disable capability: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
821 | isError: true
822 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:14:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
12 | let filePath = arguments["file_path"]?.stringValue else {
13 | return CallTool.Result(
14 | content: [.text("Error: Required parameters: review_detail_id, file_path")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
15 | isError: true
16 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:47:32: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
45 | guard let uploadOperations = reserveResponse.data.attributes?.uploadOperations, !uploadOperations.isEmpty else {
46 | return CallTool.Result(
47 | content: [.text("Error: No upload operations returned from reservation")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
48 | isError: true
49 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:75:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
73 | ] as [String: Any]
74 |
75 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
76 |
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:79:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
77 | } catch {
78 | return CallTool.Result(
79 | content: [.text("Error: Failed to upload review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
80 | isError: true
81 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:91:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
89 | let attachmentId = arguments["attachment_id"]?.stringValue else {
90 | return CallTool.Result(
91 | content: [.text("Error: Required parameter 'attachment_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
92 | isError: true
93 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:105:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
103 | ] as [String: Any]
104 |
105 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
106 |
107 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:109:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
107 | } catch {
108 | return CallTool.Result(
109 | content: [.text("Error: Failed to get review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
110 | isError: true
111 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:121:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
119 | let attachmentId = arguments["attachment_id"]?.stringValue else {
120 | return CallTool.Result(
121 | content: [.text("Error: Required parameter 'attachment_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
122 | isError: true
123 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:134:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
132 | ] as [String: Any]
133 |
134 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
135 |
136 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:138:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
136 | } catch {
137 | return CallTool.Result(
138 | content: [.text("Error: Failed to delete review attachment: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
139 | isError: true
140 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:150:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
148 | let reviewDetailId = arguments["review_detail_id"]?.stringValue else {
149 | return CallTool.Result(
150 | content: [.text("Error: Required parameter 'review_detail_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
151 | isError: true
152 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:188:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
186 | }
187 |
188 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
189 |
190 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:192:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
190 | } catch {
191 | return CallTool.Result(
192 | content: [.text("Error: Failed to list review attachments: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
193 | isError: true
194 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:204:25: warning: expression implicitly coerced from 'Any?' to 'Any'
202 | "id": attachment.id,
203 | "type": attachment.type,
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:205:25: warning: expression implicitly coerced from 'Any?' to 'Any'
203 | "type": attachment.type,
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
207 | ]
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift:206:35: warning: expression implicitly coerced from 'Any?' to 'Any'
204 | "fileName": attachment.attributes?.fileName.jsonSafe,
205 | "fileSize": attachment.attributes?.fileSize.jsonSafe,
206 | "sourceFileChecksum": attachment.attributes?.sourceFileChecksum.jsonSafe
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Any?' to 'Any'
207 | ]
208 |
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:20:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
18 | let appId = appIdValue.stringValue else {
19 | return CallTool.Result(
20 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
21 | isError: true
22 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:69:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
67 | }
68 |
69 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
70 |
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:73:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
71 | } catch {
72 | return CallTool.Result(
73 | content: [.text("Error: Failed to list reviews: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
74 | isError: true
75 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:86:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
84 | let reviewId = reviewIdValue.stringValue else {
85 | return CallTool.Result(
86 | content: [.text("Error: Required parameter 'review_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
87 | isError: true
88 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:106:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
104 | ]
105 |
106 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
107 |
108 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:110:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
108 | } catch {
109 | return CallTool.Result(
110 | content: [.text("Error: Failed to get review: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
111 | isError: true
112 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:123:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
121 | let versionId = versionIdValue.stringValue else {
122 | return CallTool.Result(
123 | content: [.text("Error: Required parameter 'version_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
124 | isError: true
125 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:172:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
170 | }
171 |
172 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
173 |
174 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:176:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
174 | } catch {
175 | return CallTool.Result(
176 | content: [.text("Error: Failed to list reviews for version: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
177 | isError: true
178 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:189:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
187 | let appId = appIdValue.stringValue else {
188 | return CallTool.Result(
189 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
190 | isError: true
191 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:238:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
236 | }
237 |
238 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
239 |
240 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:242:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
240 | } catch {
241 | return CallTool.Result(
242 | content: [.text("Error: Failed to get review stats: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
243 | isError: true
244 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:257:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
255 | let responseBody = responseBodyValue.stringValue else {
256 | return CallTool.Result(
257 | content: [.text("Error: Required parameters 'review_id' and 'response_body' are missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
258 | isError: true
259 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:264:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
262 | if responseBody.count > 5000 {
263 | return CallTool.Result(
264 | content: [.text("Error: Response body exceeds 5000 characters limit")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
265 | isError: true
266 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:295:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
293 | ]
294 |
295 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
296 |
297 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:299:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
297 | } catch {
298 | return CallTool.Result(
299 | content: [.text("Error: Failed to create response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
300 | isError: true
301 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:312:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
310 | let responseId = responseIdValue.stringValue else {
311 | return CallTool.Result(
312 | content: [.text("Error: Required parameter 'response_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
313 | isError: true
314 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:325:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
323 | ]
324 |
325 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
326 |
327 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:329:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
327 | } catch {
328 | return CallTool.Result(
329 | content: [.text("Error: Failed to delete response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
330 | isError: true
331 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:342:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
340 | let reviewId = reviewIdValue.stringValue else {
341 | return CallTool.Result(
342 | content: [.text("Error: Required parameter 'review_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
343 | isError: true
344 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:365:51: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
363 | "message": "No developer response found for this review"
364 | ]
365 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:374:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
372 | ]
373 |
374 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
375 |
376 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:378:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
376 | } catch {
377 | return CallTool.Result(
378 | content: [.text("Error: Failed to get response: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
379 | isError: true
380 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:391:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
389 | let appId = appIdValue.stringValue else {
390 | return CallTool.Result(
391 | content: [.text("Error: Required parameter 'app_id' is missing")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
392 | isError: true
393 | )
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:424:47: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
422 | }
423 |
424 | return CallTool.Result(content: [.text(JSONFormatter.formatJSON(result))])
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
425 |
426 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/asc-mcp/Workers/ReviewsWorker/ReviewsWorker+Handlers.swift:428:28: warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
426 | } catch {
427 | return CallTool.Result(
428 | content: [.text("Error: Failed to get review summarizations: \(error.localizedDescription)")],
| `- warning: 'text(_:metadata:)' is deprecated: Use .text(text:annotations:_meta:) instead. [#DeprecatedDeclaration]
429 | isError: true
430 | )
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[476/479] Write Objects.LinkFileList
[477/479] Linking asc-mcp
[478/479] Applying asc-mcp
Build complete! (29.41s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-sdk",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/modelcontextprotocol/swift-sdk.git"
}
],
"manifest_display_name" : "asc-mcp",
"name" : "asc-mcp",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "asc-mcp",
"targets" : [
"asc-mcp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "asc_mcp",
"module_type" : "SwiftTarget",
"name" : "asc-mcp",
"path" : "Sources/asc-mcp",
"product_dependencies" : [
"MCP"
],
"product_memberships" : [
"asc-mcp"
],
"sources" : [
"Core/ASCError.swift",
"Core/Application.swift",
"EntryPoint.swift",
"Helpers/GzipHelper.swift",
"Helpers/JSONFormatter.swift",
"Helpers/PaginationHelper.swift",
"Helpers/ReportSummary.swift",
"Helpers/SafeJSONHelpers.swift",
"Helpers/StderrWriter.swift",
"Helpers/TSVParser.swift",
"Models/Analytics/AnalyticsModels.swift",
"Models/AppEvents/AppEventModels.swift",
"Models/AppInfo/AppInfoModels.swift",
"Models/AppLifecycle/AppLifecycleModels.swift",
"Models/AppLifecycle/ReviewAttachmentModels.swift",
"Models/AppStoreConnect/AppModel.swift",
"Models/AppStoreConnect/AppStoreVersionLocalizationModel.swift",
"Models/AppStoreConnect/AppStoreVersionModel.swift",
"Models/BetaApp/BetaAppModels.swift",
"Models/BetaApp/BetaLicenseAgreementModels.swift",
"Models/Builds/BuildBetaDetailModels.swift",
"Models/Builds/BuildModels.swift",
"Models/Builds/BuildProcessingModels.swift",
"Models/Builds/PreReleaseVersionModels.swift",
"Models/Company.swift",
"Models/InAppPurchases/InAppPurchaseModels.swift",
"Models/Marketing/CustomProductPageModels.swift",
"Models/Marketing/ProductPageOptimizationModels.swift",
"Models/Marketing/PromotedPurchaseImageModels.swift",
"Models/Marketing/PromotedPurchaseModels.swift",
"Models/Marketing/ScreenshotModels.swift",
"Models/Metrics/MetricsModels.swift",
"Models/Pricing/AppAvailabilityModels.swift",
"Models/Pricing/PricingModels.swift",
"Models/Provisioning/ProvisioningModels.swift",
"Models/Shared/UploadModels.swift",
"Models/Subscriptions/IntroductoryOfferModels.swift",
"Models/Subscriptions/OfferCodeModels.swift",
"Models/Subscriptions/PromotionalOfferModels.swift",
"Models/Subscriptions/SandboxTesterModels.swift",
"Models/Subscriptions/SubscriptionGroupLocalizationModels.swift",
"Models/Subscriptions/SubscriptionImageModels.swift",
"Models/Subscriptions/SubscriptionModels.swift",
"Models/Subscriptions/WinBackOfferModels.swift",
"Models/Users/UserModels.swift",
"Services/CompaniesManager.swift",
"Services/HTTPClient.swift",
"Services/JWTService.swift",
"Services/UploadService.swift",
"Tests/TestCompanySwitching.swift",
"Tests/TestMetadata.swift",
"Workers/AnalyticsWorker/AnalyticsWorker+Handlers.swift",
"Workers/AnalyticsWorker/AnalyticsWorker+ToolDefinitions.swift",
"Workers/AnalyticsWorker/AnalyticsWorker.swift",
"Workers/AppEventsWorker/AppEventsWorker+Handlers.swift",
"Workers/AppEventsWorker/AppEventsWorker+ToolDefinitions.swift",
"Workers/AppEventsWorker/AppEventsWorker.swift",
"Workers/AppInfoWorker/AppInfoWorker+Handlers.swift",
"Workers/AppInfoWorker/AppInfoWorker+ToolDefinitions.swift",
"Workers/AppInfoWorker/AppInfoWorker.swift",
"Workers/AppLifecycleWorker/AppLifecycleWorker+Handlers.swift",
"Workers/AppLifecycleWorker/AppLifecycleWorker+ToolDefinitions.swift",
"Workers/AppLifecycleWorker/AppLifecycleWorker.swift",
"Workers/AppsWorker/AppsWorker+Handlers.swift",
"Workers/AppsWorker/AppsWorker+ToolDefinitions.swift",
"Workers/AppsWorker/AppsWorker.swift",
"Workers/AuthWorker/AuthWorker+Handlers.swift",
"Workers/AuthWorker/AuthWorker+ToolDefinitions.swift",
"Workers/AuthWorker/AuthWorker.swift",
"Workers/BetaAppWorker/BetaAppWorker+Handlers.swift",
"Workers/BetaAppWorker/BetaAppWorker+ToolDefinitions.swift",
"Workers/BetaAppWorker/BetaAppWorker.swift",
"Workers/BetaGroupsWorker/BetaGroupsWorker+Handlers.swift",
"Workers/BetaGroupsWorker/BetaGroupsWorker+ToolDefinitions.swift",
"Workers/BetaGroupsWorker/BetaGroupsWorker.swift",
"Workers/BetaLicenseAgreementsWorker/BetaLicenseAgreementsWorker+Handlers.swift",
"Workers/BetaLicenseAgreementsWorker/BetaLicenseAgreementsWorker+ToolDefinitions.swift",
"Workers/BetaLicenseAgreementsWorker/BetaLicenseAgreementsWorker.swift",
"Workers/BetaTestersWorker/BetaTestersWorker+Handlers.swift",
"Workers/BetaTestersWorker/BetaTestersWorker+ToolDefinitions.swift",
"Workers/BetaTestersWorker/BetaTestersWorker.swift",
"Workers/BuildBetaDetailsWorker/BuildBetaDetailsWorker+Handlers.swift",
"Workers/BuildBetaDetailsWorker/BuildBetaDetailsWorker+Parsers.swift",
"Workers/BuildBetaDetailsWorker/BuildBetaDetailsWorker+ToolDefinitions.swift",
"Workers/BuildBetaDetailsWorker/BuildBetaDetailsWorker.swift",
"Workers/BuildProcessingWorker/BuildProcessingWorker+Handlers.swift",
"Workers/BuildProcessingWorker/BuildProcessingWorker+Helpers.swift",
"Workers/BuildProcessingWorker/BuildProcessingWorker+ToolDefinitions.swift",
"Workers/BuildProcessingWorker/BuildProcessingWorker.swift",
"Workers/BuildsWorker/BuildsWorker+Handlers.swift",
"Workers/BuildsWorker/BuildsWorker+Parsers.swift",
"Workers/BuildsWorker/BuildsWorker+ToolDefinitions.swift",
"Workers/BuildsWorker/BuildsWorker.swift",
"Workers/CompaniesWorker/CompaniesWorker+Handlers.swift",
"Workers/CompaniesWorker/CompaniesWorker+ToolDefinitions.swift",
"Workers/CompaniesWorker/CompaniesWorker.swift",
"Workers/CustomProductPagesWorker/CustomProductPagesWorker+Handlers.swift",
"Workers/CustomProductPagesWorker/CustomProductPagesWorker+ToolDefinitions.swift",
"Workers/CustomProductPagesWorker/CustomProductPagesWorker.swift",
"Workers/InAppPurchasesWorker/InAppPurchasesWorker+Handlers.swift",
"Workers/InAppPurchasesWorker/InAppPurchasesWorker+ToolDefinitions.swift",
"Workers/InAppPurchasesWorker/InAppPurchasesWorker.swift",
"Workers/IntroductoryOffersWorker/IntroductoryOffersWorker+Handlers.swift",
"Workers/IntroductoryOffersWorker/IntroductoryOffersWorker+ToolDefinitions.swift",
"Workers/IntroductoryOffersWorker/IntroductoryOffersWorker.swift",
"Workers/MainWorker/WorkerManager.swift",
"Workers/MetricsWorker/MetricsWorker+Handlers.swift",
"Workers/MetricsWorker/MetricsWorker+ToolDefinitions.swift",
"Workers/MetricsWorker/MetricsWorker.swift",
"Workers/OfferCodesWorker/OfferCodesWorker+Handlers.swift",
"Workers/OfferCodesWorker/OfferCodesWorker+ToolDefinitions.swift",
"Workers/OfferCodesWorker/OfferCodesWorker.swift",
"Workers/PreReleaseVersionsWorker/PreReleaseVersionsWorker+Handlers.swift",
"Workers/PreReleaseVersionsWorker/PreReleaseVersionsWorker+ToolDefinitions.swift",
"Workers/PreReleaseVersionsWorker/PreReleaseVersionsWorker.swift",
"Workers/PricingWorker/PricingWorker+Handlers.swift",
"Workers/PricingWorker/PricingWorker+ToolDefinitions.swift",
"Workers/PricingWorker/PricingWorker.swift",
"Workers/ProductPageOptimizationWorker/ProductPageOptimizationWorker+Handlers.swift",
"Workers/ProductPageOptimizationWorker/ProductPageOptimizationWorker+ToolDefinitions.swift",
"Workers/ProductPageOptimizationWorker/ProductPageOptimizationWorker.swift",
"Workers/PromotedPurchasesWorker/PromotedPurchasesWorker+Handlers.swift",
"Workers/PromotedPurchasesWorker/PromotedPurchasesWorker+ToolDefinitions.swift",
"Workers/PromotedPurchasesWorker/PromotedPurchasesWorker.swift",
"Workers/PromotionalOffersWorker/PromotionalOffersWorker+Handlers.swift",
"Workers/PromotionalOffersWorker/PromotionalOffersWorker+ToolDefinitions.swift",
"Workers/PromotionalOffersWorker/PromotionalOffersWorker.swift",
"Workers/ProvisioningWorker/ProvisioningWorker+Handlers.swift",
"Workers/ProvisioningWorker/ProvisioningWorker+ToolDefinitions.swift",
"Workers/ProvisioningWorker/ProvisioningWorker.swift",
"Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+Handlers.swift",
"Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker+ToolDefinitions.swift",
"Workers/ReviewAttachmentsWorker/ReviewAttachmentsWorker.swift",
"Workers/ReviewsWorker/ReviewsWorker+Handlers.swift",
"Workers/ReviewsWorker/ReviewsWorker+Parsers.swift",
"Workers/ReviewsWorker/ReviewsWorker+ToolDefinitions.swift",
"Workers/ReviewsWorker/ReviewsWorker.swift",
"Workers/SandboxTestersWorker/SandboxTestersWorker+Handlers.swift",
"Workers/SandboxTestersWorker/SandboxTestersWorker+ToolDefinitions.swift",
"Workers/SandboxTestersWorker/SandboxTestersWorker.swift",
"Workers/ScreenshotsWorker/ScreenshotsWorker+Handlers.swift",
"Workers/ScreenshotsWorker/ScreenshotsWorker+ToolDefinitions.swift",
"Workers/ScreenshotsWorker/ScreenshotsWorker.swift",
"Workers/SubscriptionsWorker/SubscriptionsWorker+Handlers.swift",
"Workers/SubscriptionsWorker/SubscriptionsWorker+ToolDefinitions.swift",
"Workers/SubscriptionsWorker/SubscriptionsWorker.swift",
"Workers/UsersWorker/UsersWorker+Handlers.swift",
"Workers/UsersWorker/UsersWorker+ToolDefinitions.swift",
"Workers/UsersWorker/UsersWorker.swift",
"Workers/WinBackOffersWorker/WinBackOffersWorker+Handlers.swift",
"Workers/WinBackOffersWorker/WinBackOffersWorker+ToolDefinitions.swift",
"Workers/WinBackOffersWorker/WinBackOffersWorker.swift"
],
"type" : "executable"
},
{
"c99name" : "ASCMCPTests",
"module_type" : "SwiftTarget",
"name" : "ASCMCPTests",
"path" : "Tests/ASCMCPTests",
"product_dependencies" : [
"MCP"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/ASCMCPTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Core/ASCErrorTests.swift",
"Core/CompanyErrorTests.swift",
"HelperTests/GzipHelperTests.swift",
"HelperTests/JSONFormatterTests.swift",
"HelperTests/PaginationHelperTests.swift",
"HelperTests/ReportSummaryTests.swift",
"HelperTests/SafeJSONHelpersTests.swift",
"HelperTests/TSVParserTests.swift",
"Helpers/TestHelpers.swift",
"Models/AgeRatingValueTests.swift",
"Models/AnalyticsModelTests.swift",
"Models/AppEventModelTests.swift",
"Models/AppInfoModelTests.swift",
"Models/AppLifecycleModelTests.swift",
"Models/AppModelTests.swift",
"Models/AppStoreVersionModelTests.swift",
"Models/BuildBetaDetailModelTests.swift",
"Models/BuildModelTests.swift",
"Models/BuildProcessingModelTests.swift",
"Models/CompaniesConfigModelTests.swift",
"Models/CompanyModelTests.swift",
"Models/InAppPurchaseModelTests.swift",
"Models/IncludedResourceTests.swift",
"Models/JSONValueTests.swift",
"Models/LocalizationModelTests.swift",
"Models/PricingModelTests.swift",
"Models/ProvisioningModelTests.swift",
"Models/UserModelTests.swift",
"Services/JWTServiceTests.swift",
"Workers/ParameterValidationTests.swift",
"Workers/WorkerRoutingTests.swift",
"Workers/WorkerToolDefinitionsTests.swift"
],
"target_dependencies" : [
"asc-mcp"
],
"type" : "test"
}
],
"tools_version" : "6.1"
}
Done.