@bolloon/bolloon-agent 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17132" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3
+ <device id="retina4_7" orientation="portrait" appearance="light"/>
4
+ <dependencies>
5
+ <deployment identifier="iOS"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17105"/>
7
+ <capability name="System colors in document resources" minToolsVersion="11.0"/>
8
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--View Controller-->
12
+ <scene sceneID="EHf-IW-A2E">
13
+ <objects>
14
+ <viewController id="01J-lp-oVM" sceneMemberID="viewController">
15
+ <imageView key="view" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Splash" id="snD-IY-ifK">
16
+ <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
17
+ <autoresizingMask key="autoresizingMask"/>
18
+ <color key="backgroundColor" systemColor="systemBackgroundColor"/>
19
+ </imageView>
20
+ </viewController>
21
+ <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
22
+ </objects>
23
+ <point key="canvasLocation" x="53" y="375"/>
24
+ </scene>
25
+ </scenes>
26
+ <resources>
27
+ <image name="Splash" width="1366" height="1366"/>
28
+ <systemColor name="systemBackgroundColor">
29
+ <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
30
+ </systemColor>
31
+ </resources>
32
+ </document>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14111" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
3
+ <device id="retina4_7" orientation="portrait">
4
+ <adaptation id="fullscreen"/>
5
+ </device>
6
+ <dependencies>
7
+ <deployment identifier="iOS"/>
8
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <!--Bridge View Controller-->
12
+ <scene sceneID="tne-QT-ifu">
13
+ <objects>
14
+ <viewController id="BYZ-38-t0r" customClass="CAPBridgeViewController" customModule="Capacitor" sceneMemberID="viewController"/>
15
+ <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
16
+ </objects>
17
+ </scene>
18
+ </scenes>
19
+ </document>
@@ -0,0 +1,88 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CAPACITOR_DEBUG</key>
6
+ <string>$(CAPACITOR_DEBUG)</string>
7
+ <key>CFBundleDevelopmentRegion</key>
8
+ <string>en</string>
9
+ <key>CFBundleDisplayName</key>
10
+ <string>Bolloon Agent</string>
11
+ <key>CFBundleExecutable</key>
12
+ <string>$(EXECUTABLE_NAME)</string>
13
+ <key>CFBundleIdentifier</key>
14
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
15
+ <key>CFBundleInfoDictionaryVersion</key>
16
+ <string>6.0</string>
17
+ <key>CFBundleName</key>
18
+ <string>$(PRODUCT_NAME)</string>
19
+ <key>CFBundlePackageType</key>
20
+ <string>APPL</string>
21
+ <key>CFBundleShortVersionString</key>
22
+ <string>$(MARKETING_VERSION)</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>$(CURRENT_PROJECT_VERSION)</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UILaunchStoryboardName</key>
28
+ <string>LaunchScreen</string>
29
+ <key>UIMainStoryboardFile</key>
30
+ <string>Main</string>
31
+ <key>UIRequiredDeviceCapabilities</key>
32
+ <array>
33
+ <string>armv7</string>
34
+ </array>
35
+ <key>UISupportedInterfaceOrientations</key>
36
+ <array>
37
+ <string>UIInterfaceOrientationPortrait</string>
38
+ <string>UIInterfaceOrientationLandscapeLeft</string>
39
+ <string>UIInterfaceOrientationLandscapeRight</string>
40
+ </array>
41
+ <key>UISupportedInterfaceOrientations~ipad</key>
42
+ <array>
43
+ <string>UIInterfaceOrientationPortrait</string>
44
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
45
+ <string>UIInterfaceOrientationLandscapeLeft</string>
46
+ <string>UIInterfaceOrientationLandscapeRight</string>
47
+ </array>
48
+ <key>UIViewControllerBasedStatusBarAppearance</key>
49
+ <true/>
50
+ <key>NSAppTransportSecurity</key>
51
+ <dict>
52
+ <key>NSAllowsLocalNetworking</key>
53
+ <true/>
54
+ <key>NSAllowsArbitraryLoadsInWebContent</key>
55
+ <true/>
56
+ <key>NSExceptionDomains</key>
57
+ <dict>
58
+ <key>localhost</key>
59
+ <dict>
60
+ <key>NSExceptionAllowsInsecureHTTPLoads</key>
61
+ <true/>
62
+ <key>NSIncludesSubdomains</key>
63
+ <true/>
64
+ </dict>
65
+ </dict>
66
+ </dict>
67
+ <key>UIBackgroundModes</key>
68
+ <array>
69
+ <string>audio</string>
70
+ <string>fetch</string>
71
+ <string>processing</string>
72
+ </array>
73
+ <key>NSCameraUsageDescription</key>
74
+ <string>Bolloon Agent 需要使用相机拍照上传到频道 (可选, 仅在你主动拍照时触发).</string>
75
+ <key>NSPhotoLibraryUsageDescription</key>
76
+ <string>Bolloon Agent 需要访问相册选择图片上传 (可选).</string>
77
+ <key>NSMicrophoneUsageDescription</key>
78
+ <string>Bolloon Agent 需要使用麦克风录音 (可选, 仅在你主动录制语音消息时触发).</string>
79
+ <key>NSDocumentsFolderUsageDescription</key>
80
+ <string>Bolloon Agent 需要保存文档到本地 (用户配置的数据目录).</string>
81
+ <key>NSLocalNetworkUsageDescription</key>
82
+ <string>Bolloon Agent 通过本地网络与同网段的其他 Bolloon Agent 通信 (P2P 节点发现).</string>
83
+ <key>NSBonjourServices</key>
84
+ <array>
85
+ <string>_bolloon._tcp</string>
86
+ </array>
87
+ </dict>
88
+ </plist>
@@ -0,0 +1,376 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 60;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 2FAD9763203C412B000D30F8 /* config.xml in Resources */ = {isa = PBXBuildFile; fileRef = 2FAD9762203C412B000D30F8 /* config.xml */; };
11
+ 4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */ = {isa = PBXBuildFile; productRef = 4D22ABE82AF431CB00220026 /* CapApp-SPM */; };
12
+ 50379B232058CBB4000EE86E /* capacitor.config.json in Resources */ = {isa = PBXBuildFile; fileRef = 50379B222058CBB4000EE86E /* capacitor.config.json */; };
13
+ 504EC3081FED79650016851F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 504EC3071FED79650016851F /* AppDelegate.swift */; };
14
+ 504EC30D1FED79650016851F /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30B1FED79650016851F /* Main.storyboard */; };
15
+ 504EC30F1FED79650016851F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 504EC30E1FED79650016851F /* Assets.xcassets */; };
16
+ 504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 504EC3101FED79650016851F /* LaunchScreen.storyboard */; };
17
+ 50B271D11FEDC1A000F3C39B /* public in Resources */ = {isa = PBXBuildFile; fileRef = 50B271D01FEDC1A000F3C39B /* public */; };
18
+ /* End PBXBuildFile section */
19
+
20
+ /* Begin PBXFileReference section */
21
+ 2FAD9762203C412B000D30F8 /* config.xml */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = config.xml; sourceTree = "<group>"; };
22
+ 50379B222058CBB4000EE86E /* capacitor.config.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = capacitor.config.json; sourceTree = "<group>"; };
23
+ 504EC3041FED79650016851F /* App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = App.app; sourceTree = BUILT_PRODUCTS_DIR; };
24
+ 504EC3071FED79650016851F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
25
+ 504EC30C1FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
26
+ 504EC30E1FED79650016851F /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
27
+ 504EC3111FED79650016851F /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
28
+ 504EC3131FED79650016851F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
29
+ 50B271D01FEDC1A000F3C39B /* public */ = {isa = PBXFileReference; lastKnownFileType = folder; path = public; sourceTree = "<group>"; };
30
+ 958DCC722DB07C7200EA8C5F /* debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = debug.xcconfig; path = ../debug.xcconfig; sourceTree = SOURCE_ROOT; };
31
+ /* End PBXFileReference section */
32
+
33
+ /* Begin PBXFrameworksBuildPhase section */
34
+ 504EC3011FED79650016851F /* Frameworks */ = {
35
+ isa = PBXFrameworksBuildPhase;
36
+ buildActionMask = 2147483647;
37
+ files = (
38
+ 4D22ABE92AF431CB00220026 /* CapApp-SPM in Frameworks */,
39
+ );
40
+ runOnlyForDeploymentPostprocessing = 0;
41
+ };
42
+ /* End PBXFrameworksBuildPhase section */
43
+
44
+ /* Begin PBXGroup section */
45
+ 504EC2FB1FED79650016851F = {
46
+ isa = PBXGroup;
47
+ children = (
48
+ 958DCC722DB07C7200EA8C5F /* debug.xcconfig */,
49
+ 504EC3061FED79650016851F /* App */,
50
+ 504EC3051FED79650016851F /* Products */,
51
+ );
52
+ sourceTree = "<group>";
53
+ };
54
+ 504EC3051FED79650016851F /* Products */ = {
55
+ isa = PBXGroup;
56
+ children = (
57
+ 504EC3041FED79650016851F /* App.app */,
58
+ );
59
+ name = Products;
60
+ sourceTree = "<group>";
61
+ };
62
+ 504EC3061FED79650016851F /* App */ = {
63
+ isa = PBXGroup;
64
+ children = (
65
+ 50379B222058CBB4000EE86E /* capacitor.config.json */,
66
+ 504EC3071FED79650016851F /* AppDelegate.swift */,
67
+ 504EC30B1FED79650016851F /* Main.storyboard */,
68
+ 504EC30E1FED79650016851F /* Assets.xcassets */,
69
+ 504EC3101FED79650016851F /* LaunchScreen.storyboard */,
70
+ 504EC3131FED79650016851F /* Info.plist */,
71
+ 2FAD9762203C412B000D30F8 /* config.xml */,
72
+ 50B271D01FEDC1A000F3C39B /* public */,
73
+ );
74
+ path = App;
75
+ sourceTree = "<group>";
76
+ };
77
+ /* End PBXGroup section */
78
+
79
+ /* Begin PBXNativeTarget section */
80
+ 504EC3031FED79650016851F /* App */ = {
81
+ isa = PBXNativeTarget;
82
+ buildConfigurationList = 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */;
83
+ buildPhases = (
84
+ 504EC3001FED79650016851F /* Sources */,
85
+ 504EC3011FED79650016851F /* Frameworks */,
86
+ 504EC3021FED79650016851F /* Resources */,
87
+ );
88
+ buildRules = (
89
+ );
90
+ dependencies = (
91
+ );
92
+ name = App;
93
+ packageProductDependencies = (
94
+ 4D22ABE82AF431CB00220026 /* CapApp-SPM */,
95
+ );
96
+ productName = App;
97
+ productReference = 504EC3041FED79650016851F /* App.app */;
98
+ productType = "com.apple.product-type.application";
99
+ };
100
+ /* End PBXNativeTarget section */
101
+
102
+ /* Begin PBXProject section */
103
+ 504EC2FC1FED79650016851F /* Project object */ = {
104
+ isa = PBXProject;
105
+ attributes = {
106
+ LastSwiftUpdateCheck = 0920;
107
+ LastUpgradeCheck = 0920;
108
+ TargetAttributes = {
109
+ 504EC3031FED79650016851F = {
110
+ CreatedOnToolsVersion = 9.2;
111
+ LastSwiftMigration = 1100;
112
+ ProvisioningStyle = Automatic;
113
+ };
114
+ };
115
+ };
116
+ buildConfigurationList = 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */;
117
+ compatibilityVersion = "Xcode 8.0";
118
+ developmentRegion = en;
119
+ hasScannedForEncodings = 0;
120
+ knownRegions = (
121
+ en,
122
+ Base,
123
+ );
124
+ mainGroup = 504EC2FB1FED79650016851F;
125
+ packageReferences = (
126
+ D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */,
127
+ );
128
+ productRefGroup = 504EC3051FED79650016851F /* Products */;
129
+ projectDirPath = "";
130
+ projectRoot = "";
131
+ targets = (
132
+ 504EC3031FED79650016851F /* App */,
133
+ );
134
+ };
135
+ /* End PBXProject section */
136
+
137
+ /* Begin PBXResourcesBuildPhase section */
138
+ 504EC3021FED79650016851F /* Resources */ = {
139
+ isa = PBXResourcesBuildPhase;
140
+ buildActionMask = 2147483647;
141
+ files = (
142
+ 504EC3121FED79650016851F /* LaunchScreen.storyboard in Resources */,
143
+ 50B271D11FEDC1A000F3C39B /* public in Resources */,
144
+ 504EC30F1FED79650016851F /* Assets.xcassets in Resources */,
145
+ 50379B232058CBB4000EE86E /* capacitor.config.json in Resources */,
146
+ 504EC30D1FED79650016851F /* Main.storyboard in Resources */,
147
+ 2FAD9763203C412B000D30F8 /* config.xml in Resources */,
148
+ );
149
+ runOnlyForDeploymentPostprocessing = 0;
150
+ };
151
+ /* End PBXResourcesBuildPhase section */
152
+
153
+ /* Begin PBXSourcesBuildPhase section */
154
+ 504EC3001FED79650016851F /* Sources */ = {
155
+ isa = PBXSourcesBuildPhase;
156
+ buildActionMask = 2147483647;
157
+ files = (
158
+ 504EC3081FED79650016851F /* AppDelegate.swift in Sources */,
159
+ );
160
+ runOnlyForDeploymentPostprocessing = 0;
161
+ };
162
+ /* End PBXSourcesBuildPhase section */
163
+
164
+ /* Begin PBXVariantGroup section */
165
+ 504EC30B1FED79650016851F /* Main.storyboard */ = {
166
+ isa = PBXVariantGroup;
167
+ children = (
168
+ 504EC30C1FED79650016851F /* Base */,
169
+ );
170
+ name = Main.storyboard;
171
+ sourceTree = "<group>";
172
+ };
173
+ 504EC3101FED79650016851F /* LaunchScreen.storyboard */ = {
174
+ isa = PBXVariantGroup;
175
+ children = (
176
+ 504EC3111FED79650016851F /* Base */,
177
+ );
178
+ name = LaunchScreen.storyboard;
179
+ sourceTree = "<group>";
180
+ };
181
+ /* End PBXVariantGroup section */
182
+
183
+ /* Begin XCBuildConfiguration section */
184
+ 504EC3141FED79650016851F /* Debug */ = {
185
+ isa = XCBuildConfiguration;
186
+ baseConfigurationReference = 958DCC722DB07C7200EA8C5F /* debug.xcconfig */;
187
+ buildSettings = {
188
+ ALWAYS_SEARCH_USER_PATHS = NO;
189
+ CLANG_ANALYZER_NONNULL = YES;
190
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
191
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
192
+ CLANG_CXX_LIBRARY = "libc++";
193
+ CLANG_ENABLE_MODULES = YES;
194
+ CLANG_ENABLE_OBJC_ARC = YES;
195
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
196
+ CLANG_WARN_BOOL_CONVERSION = YES;
197
+ CLANG_WARN_COMMA = YES;
198
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
199
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
200
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
201
+ CLANG_WARN_EMPTY_BODY = YES;
202
+ CLANG_WARN_ENUM_CONVERSION = YES;
203
+ CLANG_WARN_INFINITE_RECURSION = YES;
204
+ CLANG_WARN_INT_CONVERSION = YES;
205
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
206
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
207
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
208
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
209
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
210
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
211
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
212
+ CLANG_WARN_UNREACHABLE_CODE = YES;
213
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
214
+ CODE_SIGN_IDENTITY = "iPhone Developer";
215
+ COPY_PHASE_STRIP = NO;
216
+ DEBUG_INFORMATION_FORMAT = dwarf;
217
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
218
+ ENABLE_TESTABILITY = YES;
219
+ GCC_C_LANGUAGE_STANDARD = gnu11;
220
+ GCC_DYNAMIC_NO_PIC = NO;
221
+ GCC_NO_COMMON_BLOCKS = YES;
222
+ GCC_OPTIMIZATION_LEVEL = 0;
223
+ GCC_PREPROCESSOR_DEFINITIONS = (
224
+ "DEBUG=1",
225
+ "$(inherited)",
226
+ );
227
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
228
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
229
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
230
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
231
+ GCC_WARN_UNUSED_FUNCTION = YES;
232
+ GCC_WARN_UNUSED_VARIABLE = YES;
233
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
234
+ MTL_ENABLE_DEBUG_INFO = YES;
235
+ ONLY_ACTIVE_ARCH = YES;
236
+ SDKROOT = iphoneos;
237
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
238
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
239
+ };
240
+ name = Debug;
241
+ };
242
+ 504EC3151FED79650016851F /* Release */ = {
243
+ isa = XCBuildConfiguration;
244
+ buildSettings = {
245
+ ALWAYS_SEARCH_USER_PATHS = NO;
246
+ CLANG_ANALYZER_NONNULL = YES;
247
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
248
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
249
+ CLANG_CXX_LIBRARY = "libc++";
250
+ CLANG_ENABLE_MODULES = YES;
251
+ CLANG_ENABLE_OBJC_ARC = YES;
252
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
253
+ CLANG_WARN_BOOL_CONVERSION = YES;
254
+ CLANG_WARN_COMMA = YES;
255
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
256
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
257
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
258
+ CLANG_WARN_EMPTY_BODY = YES;
259
+ CLANG_WARN_ENUM_CONVERSION = YES;
260
+ CLANG_WARN_INFINITE_RECURSION = YES;
261
+ CLANG_WARN_INT_CONVERSION = YES;
262
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
263
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
264
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
265
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
266
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
267
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
268
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
269
+ CLANG_WARN_UNREACHABLE_CODE = YES;
270
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
271
+ CODE_SIGN_IDENTITY = "iPhone Developer";
272
+ COPY_PHASE_STRIP = NO;
273
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
274
+ ENABLE_NS_ASSERTIONS = NO;
275
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
276
+ GCC_C_LANGUAGE_STANDARD = gnu11;
277
+ GCC_NO_COMMON_BLOCKS = YES;
278
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
279
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
280
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
281
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
282
+ GCC_WARN_UNUSED_FUNCTION = YES;
283
+ GCC_WARN_UNUSED_VARIABLE = YES;
284
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
285
+ MTL_ENABLE_DEBUG_INFO = NO;
286
+ SDKROOT = iphoneos;
287
+ SWIFT_COMPILATION_MODE = wholemodule;
288
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
289
+ VALIDATE_PRODUCT = YES;
290
+ };
291
+ name = Release;
292
+ };
293
+ 504EC3171FED79650016851F /* Debug */ = {
294
+ isa = XCBuildConfiguration;
295
+ baseConfigurationReference = 958DCC722DB07C7200EA8C5F /* debug.xcconfig */;
296
+ buildSettings = {
297
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
298
+ CODE_SIGN_STYLE = Automatic;
299
+ CURRENT_PROJECT_VERSION = 1;
300
+ INFOPLIST_FILE = App/Info.plist;
301
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
302
+ LD_RUNPATH_SEARCH_PATHS = (
303
+ "$(inherited)",
304
+ "@executable_path/Frameworks",
305
+ );
306
+ MARKETING_VERSION = 1.0;
307
+ OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
308
+ PRODUCT_BUNDLE_IDENTIFIER = com.bolloon.agent;
309
+ PRODUCT_NAME = "$(TARGET_NAME)";
310
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
311
+ SWIFT_VERSION = 5.0;
312
+ TARGETED_DEVICE_FAMILY = "1,2";
313
+ };
314
+ name = Debug;
315
+ };
316
+ 504EC3181FED79650016851F /* Release */ = {
317
+ isa = XCBuildConfiguration;
318
+ buildSettings = {
319
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
320
+ CODE_SIGN_STYLE = Automatic;
321
+ CURRENT_PROJECT_VERSION = 1;
322
+ INFOPLIST_FILE = App/Info.plist;
323
+ IPHONEOS_DEPLOYMENT_TARGET = 15.0;
324
+ LD_RUNPATH_SEARCH_PATHS = (
325
+ "$(inherited)",
326
+ "@executable_path/Frameworks",
327
+ );
328
+ MARKETING_VERSION = 1.0;
329
+ PRODUCT_BUNDLE_IDENTIFIER = com.bolloon.agent;
330
+ PRODUCT_NAME = "$(TARGET_NAME)";
331
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
332
+ SWIFT_VERSION = 5.0;
333
+ TARGETED_DEVICE_FAMILY = "1,2";
334
+ };
335
+ name = Release;
336
+ };
337
+ /* End XCBuildConfiguration section */
338
+
339
+ /* Begin XCConfigurationList section */
340
+ 504EC2FF1FED79650016851F /* Build configuration list for PBXProject "App" */ = {
341
+ isa = XCConfigurationList;
342
+ buildConfigurations = (
343
+ 504EC3141FED79650016851F /* Debug */,
344
+ 504EC3151FED79650016851F /* Release */,
345
+ );
346
+ defaultConfigurationIsVisible = 0;
347
+ defaultConfigurationName = Release;
348
+ };
349
+ 504EC3161FED79650016851F /* Build configuration list for PBXNativeTarget "App" */ = {
350
+ isa = XCConfigurationList;
351
+ buildConfigurations = (
352
+ 504EC3171FED79650016851F /* Debug */,
353
+ 504EC3181FED79650016851F /* Release */,
354
+ );
355
+ defaultConfigurationIsVisible = 0;
356
+ defaultConfigurationName = Release;
357
+ };
358
+ /* End XCConfigurationList section */
359
+
360
+ /* Begin XCLocalSwiftPackageReference section */
361
+ D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */ = {
362
+ isa = XCLocalSwiftPackageReference;
363
+ relativePath = "CapApp-SPM";
364
+ };
365
+ /* End XCLocalSwiftPackageReference section */
366
+
367
+ /* Begin XCSwiftPackageProductDependency section */
368
+ 4D22ABE82AF431CB00220026 /* CapApp-SPM */ = {
369
+ isa = XCSwiftPackageProductDependency;
370
+ package = D4C12C0A2AAA248700AAC8A2 /* XCLocalSwiftPackageReference "CapApp-SPM" */;
371
+ productName = "CapApp-SPM";
372
+ };
373
+ /* End XCSwiftPackageProductDependency section */
374
+ };
375
+ rootObject = 504EC2FC1FED79650016851F /* Project object */;
376
+ }
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>IDEDidComputeMac32BitWarning</key>
6
+ <true/>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,25 @@
1
+ // swift-tools-version: 5.9
2
+ import PackageDescription
3
+
4
+ // DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands
5
+ let package = Package(
6
+ name: "CapApp-SPM",
7
+ platforms: [.iOS(.v15)],
8
+ products: [
9
+ .library(
10
+ name: "CapApp-SPM",
11
+ targets: ["CapApp-SPM"])
12
+ ],
13
+ dependencies: [
14
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.4.1")
15
+ ],
16
+ targets: [
17
+ .target(
18
+ name: "CapApp-SPM",
19
+ dependencies: [
20
+ .product(name: "Capacitor", package: "capacitor-swift-pm"),
21
+ .product(name: "Cordova", package: "capacitor-swift-pm")
22
+ ]
23
+ )
24
+ ]
25
+ )
@@ -0,0 +1,5 @@
1
+ # CapApp-SPM
2
+
3
+ This package is used to host SPM dependencies for your Capacitor project
4
+
5
+ Do not modify the contents of it or there may be unintended consequences.
@@ -0,0 +1 @@
1
+ public let isCapacitorApp = true
@@ -0,0 +1 @@
1
+ CAPACITOR_DEBUG = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolloon/bolloon-agent",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "description": "P2P AI Document Agent - 全局安装后执行 `bolloon` 启动产品",
6
6
  "main": "dist/cli.js",
@@ -23,6 +23,8 @@
23
23
  "electron:dev": "concurrently \"npm run dev:web\" \"npm run electron:start\"",
24
24
  "electron:build": "npm run build:electron && electron-builder",
25
25
  "electron:pack": "electron-builder --dir",
26
+ "app:bundle": "node scripts/build-app-bundle.cjs",
27
+ "app:bundle:open": "node scripts/build-app-bundle.cjs && open \"release/mac-arm64/Bolloon Agent.app\"",
26
28
  "test": "vitest run",
27
29
  "test:watch": "vitest",
28
30
  "test:pi-sdk": "tsx src/test/pi-sdk.test.ts",
@@ -34,6 +36,8 @@
34
36
  "dependencies": {
35
37
  "@bolloon/bolloon-agent": "^0.1.36",
36
38
  "@bolloon/constraint-runtime": "0.1.0",
39
+ "@capacitor/core": "^8.4.1",
40
+ "@capacitor/ios": "^8.4.1",
37
41
  "@chainsafe/libp2p-noise": "^17.0.0",
38
42
  "@chainsafe/libp2p-yamux": "^8.0.1",
39
43
  "@diap/sdk": "^0.1.10",
@@ -60,6 +64,7 @@
60
64
  "viem": "^2.52.0"
61
65
  },
62
66
  "devDependencies": {
67
+ "@capacitor/cli": "^8.4.1",
63
68
  "@playwright/test": "^1.60.0",
64
69
  "@types/express": "^5.0.6",
65
70
  "@types/node": "^25.9.1",
@@ -68,7 +73,7 @@
68
73
  "@types/react-dom": "^18.3.0",
69
74
  "concurrently": "^9.2.1",
70
75
  "electron": "^42.3.0",
71
- "electron-builder": "^26.8.1",
76
+ "electron-builder": "^26.15.5",
72
77
  "lefthook": "^2.1.9",
73
78
  "playwright": "^1.60.0",
74
79
  "tsx": "^4.0.0",