-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
709 lines (709 loc) · 20.5 KB
/
package.json
File metadata and controls
709 lines (709 loc) · 20.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "xcode",
"title": "Xcode",
"version": "3.0.0",
"description": "Search and open your recent Xcode Projects, manage your Simulators & Apps, view the latest Releases, create Swift Packages & Playgrounds and quickly clear Xcode cache files.",
"icon": "icon.png",
"author": "SvenTiigi",
"contributors": [
"qeude",
"oliep",
"kiliankoe",
"3llomi",
"ridemountainpig"
],
"categories": [
"Developer Tools",
"Applications"
],
"keywords": [
"Xcode",
"Simulator",
"Swift",
"Swift Package",
"SPM",
"Apple",
"Apple Developer"
],
"license": "MIT",
"commands": [
{
"name": "show-recent-projects-in-menu-bar.command",
"title": "Show Recent Projects in Menu Bar",
"subtitle": "Xcode",
"description": "View and open your recent Xcode Projects from the menu bar.",
"mode": "menu-bar",
"preferences": [
{
"name": "showRecentProjectsInMenuBar_projectsLimit",
"type": "dropdown",
"required": false,
"title": "Number of visible recent projects",
"description": "Select the amount of recent projects that should be shown in the menu bar.",
"default": "10",
"data": [
{
"title": "10",
"value": "10"
},
{
"title": "15",
"value": "15"
},
{
"title": "20",
"value": "20"
},
{
"title": "25",
"value": "25"
},
{
"title": "30",
"value": "30"
},
{
"title": "All",
"value": "-1"
}
]
},
{
"name": "showRecentProjectsInMenuBar_showFavorites",
"type": "checkbox",
"required": false,
"title": "Filter",
"description": "Show Favorites.",
"default": true,
"label": "Show Favorites"
},
{
"name": "showRecentProjectsInMenuBar_showXcodeProjects",
"type": "checkbox",
"required": false,
"title": "",
"description": "Show Xcode Projects.",
"default": true,
"label": "Show Xcode Projects"
},
{
"name": "showRecentProjectsInMenuBar_showXcodeWorkspaces",
"type": "checkbox",
"required": false,
"title": "",
"description": "Show Xcode Workspaces.",
"default": true,
"label": "Show Xcode Workspaces"
},
{
"name": "showRecentProjectsInMenuBar_showSwiftPackages",
"type": "checkbox",
"required": false,
"title": "",
"description": "Show Swift Packages.",
"default": true,
"label": "Show Swift Package"
},
{
"name": "showRecentProjectsInMenuBar_showSwiftPlaygrounds",
"type": "checkbox",
"required": false,
"title": "",
"description": "Show Swift Playgrounds",
"default": true,
"label": "Show Swift Playgrounds."
}
]
},
{
"name": "search-recent-projects.command",
"title": "Search Recent Projects",
"subtitle": "Xcode",
"description": "Search and open your recent Xcode Projects.",
"mode": "view",
"preferences": [
{
"name": "excludedXcodeProjectPaths",
"type": "textfield",
"required": false,
"title": "Excluded Xcode Project paths (comma separated)",
"description": "A comma separated list of directory paths that should be excluded when searching for recent Xcode Projects.",
"placeholder": "~/Backup,~/Archive/Xcode"
},
{
"name": "terminalApp",
"type": "appPicker",
"required": false,
"title": "Terminal App",
"description": "Select which Terminal App to use when opening with a terminal",
"default": "com.apple.Terminal"
}
]
},
{
"name": "show-swift-package-dependencies.command",
"title": "Show Swift Package Dependencies",
"subtitle": "Xcode",
"description": "Show Swift Package Dependencies of a Xcode Project.",
"mode": "view"
},
{
"name": "show-recent-builds-in-menu-bar.command",
"title": "Show Recent Builds in Menu Bar",
"subtitle": "Xcode",
"description": "View and open your recent builds from the menu bar.",
"mode": "menu-bar"
},
{
"name": "search-recent-builds.command",
"title": "Search Recent Builds",
"subtitle": "Xcode",
"description": "Search recent builds which are installed in a Xcode Simulator.",
"mode": "view"
},
{
"name": "list-apple-devices.command",
"title": "List Apple Devices",
"subtitle": "Xcode",
"description": "List Apple devices with their product name and device code name.",
"mode": "view"
},
{
"name": "manage-runtimes.command",
"title": "Manage Runtimes",
"subtitle": "Xcode",
"description": "Manage your Xcode Runtimes.",
"mode": "view"
},
{
"name": "manage-simulators.command",
"title": "Manage Simulators",
"subtitle": "Xcode",
"description": "Manage your Xcode Simulators.",
"mode": "view"
},
{
"name": "search-xcode-releases.command",
"title": "Search Xcode Releases",
"subtitle": "Xcode",
"description": "Search, download and view the latest Xcode Releases.",
"mode": "view"
},
{
"name": "open-developer-documentation.command",
"title": "Open Developer Documentation",
"subtitle": "Xcode",
"description": "Open Apple Developer Documentation.",
"mode": "no-view"
},
{
"name": "add-swift-package.command",
"title": "Add Swift Package",
"subtitle": "Xcode",
"description": "Add a Swift Package from an URL to a Xcode Project.",
"mode": "view"
},
{
"name": "create-swift-package.command",
"title": "Create Swift Package",
"subtitle": "Xcode",
"description": "Create a new Swift Package and open it directly in Xcode.",
"mode": "view"
},
{
"name": "create-swift-playground.command",
"title": "Create Swift Playground",
"subtitle": "Xcode",
"description": "Create a new Swift Playground and open it directly in Xcode.",
"mode": "view",
"preferences": [
{
"name": "playgroundDefaultLocation",
"type": "textfield",
"required": false,
"placeholder": "~/Desktop",
"default": "~/Desktop",
"title": "Default location",
"description": "Set the default location in which you want to save your Playgrounds."
}
]
},
{
"name": "search-code-snippets.command",
"title": "Search Code Snippets",
"subtitle": "Xcode",
"description": "Search user defined Xcode Code Snippets.",
"mode": "view"
},
{
"name": "create-code-snippet.command",
"title": "Create Code Snippet",
"subtitle": "Xcode",
"description": "Create a new user defined Xcode Code Snippet.",
"mode": "view"
},
{
"name": "open-url-in-simulator.command",
"title": "Open URL in Simulator",
"subtitle": "Xcode",
"description": "Open the given URL in Simulator.",
"mode": "no-view",
"arguments": [
{
"name": "url",
"placeholder": "maps://",
"type": "text",
"required": true
}
]
},
{
"name": "clear-derived-data.command",
"title": "Clear Derived Data",
"subtitle": "Xcode",
"description": "Removes the ~/Library/Developer/Xcode/DerivedData directory.",
"mode": "no-view"
},
{
"name": "clear-swift-package-manager-cache.command",
"title": "Clear Swift Package Manager Cache",
"subtitle": "Xcode",
"description": "Removes the ~/Library/Caches/org.swift.swiftpm directory.",
"mode": "no-view"
},
{
"name": "clear-swift-ui-previews-cache.command",
"title": "Clear SwiftUI Previews Cache",
"subtitle": "Xcode",
"description": "Removes the ~/Library/Developer/Xcode/UserData/Previews directory.",
"mode": "no-view"
},
{
"name": "delete-unsupported-simulators.command",
"title": "Delete Unsupported Simulators",
"subtitle": "Xcode",
"description": "Deletes devices that are not supported by the current Xcode SDK.",
"mode": "no-view"
},
{
"name": "delete-unsupported-runtimes.command",
"title": "Delete Unsupported Runtimes",
"subtitle": "Xcode",
"description": "Deletes runtimes that are not supported by the current Xcode SDK.",
"mode": "no-view"
}
],
"tools": [
{
"name": "xcode-projects",
"title": "Xcode Projects",
"description": "The recently opened Xcode Projects, Swift Packages, Xcode Workspaces or Swift Playgrounds."
},
{
"name": "xcode-swift-package-resolved",
"title": "Swift Package Dependencies",
"description": "The Swift Package dependencies of a Xcode Project, Xcode Workspace or Swift Package."
},
{
"name": "xcode-simulators",
"title": "Xcode Simulators",
"description": "The installed Xcode Simulators."
},
{
"name": "boot-xcode-simulator",
"title": "Boot a Xcode Simulator",
"description": "Boots the Xcode Simulator by its udid."
},
{
"name": "shutdown-xcode-simulator",
"title": "Shutdown a Xcode Simulator",
"description": "Shutdowns the Xcode Simulator by its udid."
},
{
"name": "restart-xcode-simulator",
"title": "Restart a Xcode Simulator",
"description": "Restarts the Xcode Simulator by its udid."
},
{
"name": "open-url-in-xcode-simulator",
"title": "Open a URL in a Xcode Simulator",
"description": "Opens a URL in a Xcode Simulator either a specific one identified by its udid or the currently booted one, if any."
},
{
"name": "xcode-simulator-applications",
"title": "Xcode Simulator Builds",
"description": "The builds / apps installed on a Xcode simulator."
},
{
"name": "xcode-releases",
"title": "Xcode Releases",
"description": "The releases of Xcode."
},
{
"name": "xcode-add-swift-package",
"title": "Add Swift Package",
"description": "Adds a Swift Package to an Xcode project (*.xcodeproj) or Xcode workspace (*.xcworkspace) using its HTTPS or SSH URL."
},
{
"name": "clear-derived-data",
"title": "Clear Derived Data",
"description": "Clears the derived data directory."
},
{
"name": "clear-swift-package-manager-cache",
"title": "Clear Swift Package Manager Cache",
"description": "Clears the Swift Package Manager cache directory."
},
{
"name": "clear-swift-ui-previews-cache",
"title": "Clear SwiftUI Previews Cache",
"description": "Clears the SwiftUI previews cache directory."
},
{
"name": "open-path",
"title": "Open Path",
"description": "Opens a file path which either points to a file for example a Xcode Project (*.xcodeproj), Swift Package (Package.swift), Xcode Workspace (*.xcworkspace), Swift Playground (*.playground) or a directory."
}
],
"ai": {
"evals": [
{
"input": "@xcode show my recent projects",
"mocks": {
"xcode-projects": [
{
"name": "TaskManager",
"path": "~/Developer/TaskManager/TaskManager.xcodeproj",
"type": "project",
"lastModified": "2025-06-14T14:30:00Z"
},
{
"name": "WeatherKit-Demo",
"path": "~/Developer/WeatherKit-Demo/WeatherKit-Demo.xcworkspace",
"type": "workspace",
"lastModified": "2025-06-13T16:45:00Z"
},
{
"name": "SwiftUI-Animations",
"path": "~/Developer/SwiftUI-Animations/Package.swift",
"type": "package",
"lastModified": "2025-06-12T09:15:00Z"
}
]
},
"expected": [
{
"callsTool": {
"name": "xcode-projects"
}
},
{
"includes": "TaskManager"
},
{
"includes": "WeatherKit-Demo"
}
]
},
{
"input": "@xcode what dependencies does my current project use?",
"mocks": {
"xcode-projects": [
{
"name": "TaskManager",
"path": "~/Developer/TaskManager/TaskManager.xcodeproj",
"type": "project"
}
],
"xcode-swift-package-resolved": {
"project": "TaskManager",
"packages": [
{
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "5.8.1",
"revision": "bc268c28fb170f494de9e9927c371b8342979ece"
},
{
"name": "SwiftUI-Introspect",
"url": "https://github.com/siteline/SwiftUI-Introspect.git",
"version": "1.1.3",
"revision": "f2616860a41f9d9932da412a8978fec79c06fe24"
}
]
}
},
"expected": [
{
"callsTool": {
"name": "xcode-swift-package-resolved"
}
},
{
"includes": "Alamofire"
},
{
"includes": "5.8.1"
}
]
},
{
"input": "@xcode show all available iOS simulators",
"mocks": {
"xcode-simulators": [
{
"udid": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
"name": "iPhone 15 Pro Max",
"deviceType": "com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro-Max",
"runtime": "iOS 17.2",
"state": "Booted",
"isAvailable": true
},
{
"udid": "B2C3D4E5-F678-90AB-CDEF-123456789012",
"name": "iPhone 14",
"deviceType": "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
"runtime": "iOS 17.2",
"state": "Shutdown",
"isAvailable": true
}
]
},
"expected": [
{
"callsTool": {
"name": "xcode-simulators"
}
},
{
"includes": "iPhone 15 Pro Max"
},
{
"includes": "Booted"
}
]
},
{
"input": "@xcode start the iPhone 16 simulator",
"mocks": {
"xcode-simulators": [
{
"udid": "B2C3D4E5-F678-90AB-CDEF-123456789012",
"name": "iPhone 16",
"deviceType": "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
"runtime": "iOS 18.0",
"state": "Shutdown",
"isAvailable": true
}
],
"boot-xcode-simulator": {
"success": true,
"udid": "B2C3D4E5-F678-90AB-CDEF-123456789012",
"previousState": "Shutdown",
"newState": "Booted"
}
},
"expected": [
{
"callsTool": {
"name": "xcode-simulators"
}
},
{
"callsTool": {
"name": "boot-xcode-simulator",
"arguments": {
"xcodeSimulatorUDID": "B2C3D4E5-F678-90AB-CDEF-123456789012"
}
}
},
{
"includes": "iPhone 16"
}
]
},
{
"input": "@xcode restart all simulators that are currently running",
"mocks": {
"xcode-simulators": [
{
"udid": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
"name": "iPhone 15 Pro Max",
"state": "Booted"
},
{
"udid": "B2C3D4E5-F678-90AB-CDEF-123456789012",
"name": "iPhone 14",
"state": "Shutdown"
}
],
"restart-xcode-simulator": {
"success": true,
"udid": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890"
}
},
"expected": [
{
"callsTool": {
"name": "xcode-simulators"
}
},
{
"callsTool": {
"name": "restart-xcode-simulator",
"arguments": {
"xcodeSimulatorUDID": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890"
}
}
}
]
},
{
"input": "@xcode open maps:// in my current simulator",
"mocks": {
"open-url-in-xcode-simulator": {
"success": true,
"url": "maps://",
"simulatorName": "iPhone 15 Pro Max"
}
},
"expected": [
{
"callsTool": {
"name": "open-url-in-xcode-simulator",
"arguments": {
"url": "maps://"
}
}
}
]
},
{
"input": "@xcode what apps are installed on my simulators?",
"mocks": {
"xcode-simulator-applications": [
{
"simulatorName": "iPhone 15 Pro Max",
"simulatorUdid": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
"apps": [
{
"name": "TaskManager",
"bundleId": "com.company.taskmanager",
"version": "1.2.0",
"buildNumber": "42",
"installDate": "2025-06-14T14:30:00Z"
},
{
"name": "WeatherKit Demo",
"bundleId": "com.company.weatherkit-demo",
"version": "2.1.0",
"buildNumber": "156",
"installDate": "2025-06-13T16:45:00Z"
}
]
}
]
},
"expected": [
{
"callsTool": {
"name": "xcode-simulator-applications"
}
},
{
"includes": "TaskManager"
},
{
"includes": "1.2.0"
}
]
},
{
"input": "@xcode what's the latest version of Xcode available?",
"mocks": {
"xcode-releases": [
{
"name": "Xcode 16.4",
"versionNumber": "16.4",
"buildNumber": "16F6"
}
]
},
"expected": [
{
"callsTool": {
"name": "xcode-releases"
}
},
{
"includes": "16.4"
}
]
},
{
"input": "@xcode clean up all my Xcode caches and derived data",
"mocks": {
"clear-derived-data": {
"success": true
},
"clear-swift-package-manager-cache": {
"success": true
},
"clear-swift-ui-previews-cache": {
"success": true
}
},
"expected": [
{
"callsTool": {
"name": "clear-derived-data"
}
},
{
"callsTool": {
"name": "clear-swift-package-manager-cache"
}
},
{
"callsTool": {
"name": "clear-swift-ui-previews-cache"
}
}
]
}
]
},
"dependencies": {
"@raycast/api": "^1.93.2",
"@raycast/utils": "^1.19.1",
"dedent": "^0.7.0",
"node-fetch": "^3.2.10",
"plist": "^3.0.6",
"tildify": "^3.0.0",
"untildify": "^4.0.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@types/dedent": "^0.7.0",
"@types/node-fetch": "^2.6.2",
"@types/plist": "^3.0.2",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"publish": "ray publish"
},
"platforms": [
"macOS"
]
}