-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathproject.yml
More file actions
311 lines (311 loc) · 13.8 KB
/
Copy pathproject.yml
File metadata and controls
311 lines (311 loc) · 13.8 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
name: Nativ
options:
bundleIdPrefix: dev.local
deploymentTarget:
macOS: "14.0"
createIntermediateGroups: true
settings:
base:
SWIFT_VERSION: "6.3"
DEAD_CODE_STRIPPING: YES
MACOSX_DEPLOYMENT_TARGET: "26.0"
ARCHS: arm64
ENABLE_HARDENED_RUNTIME: YES
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
exactVersion: 2.9.4
MarkdownUI:
url: https://github.com/gonzalezreal/swift-markdown-ui
exactVersion: 2.4.1
Highlightr:
url: https://github.com/raspu/Highlightr
exactVersion: 2.3.0
SwaTex:
url: https://github.com/PhraseHQ/SwaTex.git
exactVersion: 0.5.0
mcp-swift-sdk:
url: https://github.com/modelcontextprotocol/swift-sdk
exactVersion: 0.12.1
ZIPFoundation:
url: https://github.com/weichsel/ZIPFoundation.git
exactVersion: 0.9.20
schemes:
Nativ:
build:
targets:
Nativ: all
run:
config: Debug
profile:
config: Release
analyze:
config: Debug
archive:
config: Release
test:
config: Debug
targets:
- NativTests
targets:
NativExtensionSDK:
type: framework
platform: macOS
configFiles:
Debug: Configuration/Signing.xcconfig
Release: Configuration/Signing.xcconfig
sources:
- path: Sources/NativExtensionSDK
settings:
base:
ARCHS: arm64
MACOSX_DEPLOYMENT_TARGET: "26.0"
CODE_SIGN_IDENTITY: ""
PRODUCT_BUNDLE_IDENTIFIER: $(NATIV_EXTENSION_SDK_BUNDLE_IDENTIFIER)
GENERATE_INFOPLIST_FILE: YES
SKIP_INSTALL: YES
NativServerKit:
type: framework
platform: macOS
configFiles:
Debug: Configuration/Signing.xcconfig
Release: Configuration/Signing.xcconfig
sources:
- path: Sources/NativServerKit
dependencies:
- package: mcp-swift-sdk
product: MCP
postBuildScripts:
- name: Build mlx-vlm-server resource
basedOnDependencyAnalysis: false
script: |
set -euo pipefail
if [[ "${NATIV_SKIP_PYTHON_RESOURCE_BUILD:-NO}" == "YES" ]]; then
resource_root="${TARGET_BUILD_DIR}/${WRAPPER_NAME}/Resources/mlx-vlm-server"
if [[ ! -x "${resource_root}/bin/mlx-vlm-server" ]]; then
echo "error: NATIV_SKIP_PYTHON_RESOURCE_BUILD requires an existing complete server resource at ${resource_root}" >&2
exit 1
fi
exit 0
fi
python3 "$SRCROOT/PythonDistribution/Scripts/build_xcode_framework_resource.py"
settings:
base:
ARCHS: arm64
CODE_SIGN_IDENTITY: ""
ENABLE_USER_SCRIPT_SANDBOXING: NO
PRODUCT_BUNDLE_IDENTIFIER: $(NATIV_SERVER_KIT_BUNDLE_IDENTIFIER)
GENERATE_INFOPLIST_FILE: YES
SKIP_INSTALL: YES
Nativ:
type: application
platform: macOS
configFiles:
Debug: Configuration/Signing.xcconfig
Release: Configuration/Signing.xcconfig
sources:
- path: Sources/Nativ
excludes:
- ModelProviderIcons
- path: Sources/Nativ/ModelProviderIcons
type: folder
buildPhase: resources
- path: Extensions/VoiceDictation/Manifest.json
buildPhase: resources
- path: ThirdParty/ripgrep/Tools
type: folder
buildPhase: resources
dependencies:
- target: NativServerKit
- target: NativExtensionSDK
- target: VoiceDictationExtensionRuntime
embed: true
- package: Sparkle
product: Sparkle
- package: MarkdownUI
product: MarkdownUI
- package: Highlightr
product: Highlightr
- package: SwaTex
product: SwaTexRender
- package: ZIPFoundation
product: ZIPFoundation
postBuildScripts:
- name: Install GitHub OAuth MCP server
basedOnDependencyAnalysis: false
script: |
set -euo pipefail
"$SRCROOT/scripts/install_github_mcp_server.sh" \
"$TARGET_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH/MCPServers"
settings:
base:
ARCHS: arm64
ASSETCATALOG_COMPILER_APPICON_NAME: ""
MACOSX_DEPLOYMENT_TARGET: "26.0"
ENABLE_HARDENED_RUNTIME: YES
PRODUCT_BUNDLE_IDENTIFIER: $(NATIV_BUNDLE_IDENTIFIER)
CODE_SIGN_ENTITLEMENTS: Configuration/Nativ.entitlements
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: Configuration/Nativ-Info.plist
INFOPLIST_KEY_CFBundleDisplayName: Nativ
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.utilities
EX_ENABLE_EXTENSION_POINT_GENERATION: YES
MARKETING_VERSION: 0.3.6
CURRENT_PROJECT_VERSION: 11
VoiceDictationExtensionRuntime:
type: extensionkit-extension
platform: macOS
configFiles:
Debug: Configuration/Signing.xcconfig
Release: Configuration/Signing.xcconfig
sources:
- path: Extensions/VoiceDictation/Runtime
- path: Extensions/VoiceDictation/Manifest.json
buildPhase: resources
dependencies:
- target: NativExtensionSDK
settings:
base:
ARCHS: arm64
MACOSX_DEPLOYMENT_TARGET: "26.0"
ENABLE_HARDENED_RUNTIME: YES
PRODUCT_BUNDLE_IDENTIFIER: $(NATIV_VOICE_EXTENSION_BUNDLE_IDENTIFIER)
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: Configuration/AudioExtension-Info.plist
MARKETING_VERSION: 0.3.6
CURRENT_PROJECT_VERSION: 11
SKIP_INSTALL: YES
LD_RUNPATH_SEARCH_PATHS: "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"
NativTests:
type: bundle.unit-test
platform: macOS
sources:
- path: Tests/NativTests
- path: Sources/Nativ/NativSettings.swift
- path: Sources/Nativ/Features/Extensions/NativSkill.swift
- path: Sources/Nativ/Features/Extensions/NativKit.swift
- path: Sources/Nativ/Features/Extensions/NativKitLibrary.swift
- path: Sources/Nativ/Features/Extensions/NativKitRuntimeResolver.swift
- path: Sources/Nativ/Features/Extensions/CustomTool.swift
- path: Sources/Nativ/Features/Routines/Routine.swift
- path: Sources/Nativ/Features/Routines/ScheduledTaskChatLinker.swift
- path: Sources/Nativ/Features/Routines/ScheduledTaskNotification.swift
- path: Sources/Nativ/Utilities/NativNotificationService.swift
- path: Sources/Nativ/Features/VoiceCapture/AudioInputDevicePreferences.swift
- path: Sources/Nativ/Features/VoiceCapture/RealtimeAudioMeter.swift
- path: Sources/Nativ/Features/VoiceCapture/AudioInputLevelMonitor.swift
- path: Sources/Nativ/Features/Models/HuggingFaceCache.swift
- path: Sources/Nativ/Features/Models/ExternalModelCacheReference.swift
- path: Sources/Nativ/Features/Models/HubModelSizeResolver.swift
- path: Sources/Nativ/Features/Models/LocalModelDiscovery.swift
- path: Sources/Nativ/Features/Models/LocalModelProvider.swift
- path: Sources/Nativ/Features/Models/MLXImageModelResolver.swift
- path: Sources/Nativ/Features/Models/ModelPrimaryTaskResolver.swift
- path: Sources/Nativ/Features/Shared/NativBulkSelection.swift
- path: Sources/Nativ/Features/Developer/LogTextStorageMutation.swift
- path: Sources/Nativ/Features/Integrations/CodexCLIProfile.swift
- path: Sources/Nativ/Features/Integrations/IntegrationServices.swift
- path: Sources/Nativ/Features/Integrations/IntegrationTypes.swift
- path: Sources/Nativ/Features/VoiceCapture/VoiceAudioRecorder.swift
- path: Sources/Nativ/Features/VoiceCapture/FnControlShortcutMonitor.swift
- path: Sources/Nativ/Features/VoiceCapture/VoiceShortcut.swift
- path: Sources/Nativ/Features/VoiceCapture/VoiceAnimationPreferences.swift
- path: Sources/Nativ/Features/VoiceCapture/AudioAnalyticsStore.swift
- path: Sources/Nativ/Utilities/NativSystemPermissionController.swift
- path: Sources/Nativ/Features/Extensions/NativExtensionStateStore.swift
- path: Sources/Nativ/Features/MCP/MCPServerCatalog.swift
- path: Sources/Nativ/Features/MCP/GitHubOAuth.swift
- path: Sources/Nativ/Resources/MCPCatalog.json
buildPhase: resources
- path: Sources/Nativ/Utilities/ShellEnvironment.swift
- path: Sources/Nativ/Features/Chat/ChatToolRegistry.swift
- path: Sources/Nativ/Features/Chat/ChatProjectStore.swift
- path: Sources/Nativ/Features/Chat/ChatViewModel.swift
- path: Sources/Nativ/Features/Chat/ChatStreamEventRelay.swift
- path: Sources/Nativ/Features/Chat/ChatFontScale.swift
- path: Sources/Nativ/Features/Chat/Rendering
- path: Sources/Nativ/Features/Chat/ChatTranscriptPresentation.swift
- path: Sources/Nativ/Features/Chat/ChatConversationBranch.swift
- path: Sources/Nativ/Features/Chat/ChatPromptRevision.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatImageTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatImageModelSelection.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatSystemStatsTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatListModelsTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatServerStatsTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatSwitchModelTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatWebSearchTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatWebReadTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatReadFileTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatSearchFilesTool.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatFileWriteTools.swift
- path: Sources/Nativ/Features/Chat/Tools/ChatTerminalTool.swift
- path: Sources/Nativ/Features/Files/FileReadAccessPolicy.swift
- path: Sources/Nativ/Features/Files/SafeLocalFileReader.swift
- path: Sources/Nativ/Features/Files/FileSearchEngine.swift
- path: Sources/Nativ/Features/Files/FileWriteAccessPolicy.swift
- path: Sources/Nativ/Features/Files/SafeLocalFileWriter.swift
- path: Sources/Nativ/Features/Files/FileMutationState.swift
- path: Sources/Nativ/Features/Files/FileEditEngine.swift
- path: Sources/Nativ/Features/Files/FileSyntaxValidator.swift
- path: Sources/Nativ/Features/Browsing/WebBrowsingError.swift
- path: Sources/Nativ/Features/Browsing/WebBrowsingProviderClient.swift
- path: Sources/Nativ/Features/Browsing/WebBrowsingRuntime.swift
- path: Sources/Nativ/Features/Browsing/WebBrowsingTransport.swift
- path: Sources/Nativ/Features/Browsing/Providers/BraveBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/ExaBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/FirecrawlBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/NimbleBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/PerplexityBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/TavilyBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/ParallelBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/Providers/SearXNGBrowsingProvider.swift
- path: Sources/Nativ/Features/Browsing/WebReadContentSelector.swift
- path: Sources/Nativ/Features/Browsing/WebReadService.swift
- path: Sources/Nativ/Features/Browsing/WebSearchProvider.swift
- path: Sources/Nativ/Features/Browsing/WebSearchService.swift
- path: Sources/Nativ/Features/Browsing/WebSearchSettingsView.swift
- path: Sources/Nativ/Features/Artifacts/Artifact.swift
- path: Sources/Nativ/Features/Documents
- path: Sources/Nativ/Features/Chat/ChatSessionStore.swift
- path: Sources/Nativ/Features/Chat/ChatArchive.swift
- path: Sources/Nativ/Features/Chat/ChatAttachmentKind.swift
- path: Sources/Nativ/Features/Chat/ChatAttachmentValidator.swift
- path: Sources/Nativ/Features/Chat/ChatDocumentExtractionCache.swift
- path: Sources/Nativ/Features/Chat/ChatDocumentContextBuilder.swift
- path: Sources/Nativ/Features/ImageGeneration/ImageGenerationViewModel.swift
- path: Sources/Nativ/Features/ControlPanel/ControlPanelDependencies.swift
- path: Sources/Nativ/Features/ControlPanel/ControlPanelNavigation.swift
- path: Sources/Nativ/Features/Windowing/WindowIntent.swift
- path: Sources/Nativ/Features/Artifacts/ArtifactStore.swift
- path: Sources/Nativ/Features/Dashboard/DashboardViewModel.swift
- path: Sources/Nativ/Features/SystemMonitor/SystemMonitorStore.swift
- path: Sources/Nativ/Features/SystemMonitor/SystemSensorSampler.swift
- path: Sources/Nativ/Features/Dashboard/NativAnalyticsStore.swift
- path: Sources/Nativ/NativModel.swift
- path: Sources/Nativ/Utilities/ServerPortProbe.swift
- path: Sources/Nativ/Utilities/Formatting.swift
- path: Sources/Nativ/Features/Shared/NativComponents.swift
- path: Sources/Nativ/Features/Shared/PersistedDataChangeHub.swift
- path: Sources/Nativ/Features/Shared/InferenceActivityCoordinator.swift
- path: Sources/Nativ/Features/Models/HuggingFaceHub.swift
- path: Sources/Nativ/Features/Models/HuggingFaceModelReadme.swift
- path: Sources/Nativ/Features/Chat/ChatScreenCapture.swift
- path: Sources/Nativ/Features/MCP/MCPHostManager.swift
- path: Sources/Nativ/Utilities/LaunchAtLoginController.swift
- path: Sources/Nativ/Features/Routines/Routine.swift
- path: Sources/Nativ/Features/Routines/RoutineStore.swift
dependencies:
- target: NativServerKit
- target: NativExtensionSDK
- package: ZIPFoundation
product: ZIPFoundation
- package: MarkdownUI
product: MarkdownUI
- package: Highlightr
product: Highlightr
- package: SwaTex
product: SwaTexRender
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: dev.local.NativTests
GENERATE_INFOPLIST_FILE: YES