Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions frontend/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"mdast-util-gfm-autolink-literal": "2.0.0"
},
"dependencies": {
"@opensecret/react": "1.4.0",
"@opensecret/react": "1.4.3",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-dialog": "^1.1.1",
Expand All @@ -42,6 +42,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"recordrtc": "^5.6.2",
"rehype-highlight": "^7.0.0",
"rehype-katex": "^7.0.1",
"rehype-sanitize": "^6.0.0",
Expand All @@ -63,6 +64,7 @@
"@types/node": "^22.3.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/recordrtc": "^5.6.14",
"@types/uuid": "^10.0.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.20",
Expand Down
19 changes: 19 additions & 0 deletions frontend/src-tauri/Entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- Required for microphone access -->
<key>com.apple.security.device.audio-input</key>
<true/>
Comment thread
AnthonyRonning marked this conversation as resolved.

<!-- Network permissions -->
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
Comment thread
AnthonyRonning marked this conversation as resolved.

<!-- File access permissions -->
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
</dict>
</plist>
10 changes: 10 additions & 0 deletions frontend/src-tauri/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSMicrophoneUsageDescription</key>
<string>Maple needs access to your microphone to record voice messages for your AI conversations.</string>
<key>NSCameraUsageDescription</key>
<string>Maple needs access to your camera to take photos for your AI conversations.</string>
</dict>
</plist>
Comment thread
AnthonyRonning marked this conversation as resolved.
Comment thread
AnthonyRonning marked this conversation as resolved.
6 changes: 6 additions & 0 deletions frontend/src-tauri/gen/apple/maple_iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,11 @@
<string>Maple needs access to your photo library to upload images to your AI conversations.</string>
<key>NSCameraUsageDescription</key>
<string>Maple needs access to your camera to take photos for your AI conversations.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Maple needs access to your microphone to record voice messages for your AI conversations.</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
</dict>
</plist>
4 changes: 2 additions & 2 deletions frontend/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
],
"security": {
"csp": "default-src 'self'; connect-src 'self' https://opensecret.cloud https://*.opensecret.cloud https://trymaple.ai https://*.trymaple.ai https://secretgpt.ai https://*.secretgpt.ai https://*.maple-ca8.pages.dev https://raw.githubusercontent.com localhost:*; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:"
"csp": "default-src 'self'; connect-src 'self' https://opensecret.cloud https://*.opensecret.cloud https://trymaple.ai https://*.trymaple.ai https://secretgpt.ai https://*.secretgpt.ai https://*.maple-ca8.pages.dev https://raw.githubusercontent.com localhost:*; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; font-src 'self' data:; worker-src 'self' blob:; media-src 'self' blob: mediastream:"
}
},
"bundle": {
Expand All @@ -62,7 +62,7 @@
"minimumSystemVersion": "10.13",
"exceptionDomain": "opensecret.cloud",
"signingIdentity": null,
"entitlements": null
"entitlements": "./Entitlements.plist"
},
"iOS": {
"developmentTeam": "X773Y823TN"
Expand Down
Loading
Loading