peachsim 0.1.2210 → 0.1.2213
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.
- package/cli/command-registry.ts +1 -0
- package/cli/commands/inspect/settling.ts +1 -1
- package/cli/commands/map.ts +576 -0
- package/cli/commands/runtime.ts +1 -1
- package/cli/main.ts +6 -0
- package/cli/outbound-endpoints.ts +11 -0
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +16 -7
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +6 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +14 -5
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +999 -811
- package/dist-lib/host/fetch-proxy-handler.cjs +8 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1953 -752
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1793 -593
- package/dist-lib/native-app-identity-project.cjs +6 -3
- package/dist-lib/native-app-identity-project.mjs +6 -3
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +25 -24
- package/dist-lib/public-origins-lib.json +73 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +2 -2
- package/dist-lib/sdk.mjs +2 -2
- package/dist-lib/skills.cjs +1535 -1289
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +7 -4
- package/dist-lib/vite.cjs +1517 -303
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes +35 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSAttributeDescription.h +30 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSEntityDescription.h +14 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSExpressionDescription.h +10 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchIndexDescription.h +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchIndexElementDescription.h +18 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +11 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +19 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSMergePolicy.h +17 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStore.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h +6 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPropertyDescription.h +13 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSRelationshipDescription.h +21 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h +1 -10
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +11 -0
- package/skills/contrast/SKILL.md +1 -0
- package/src/home-paths.ts +1 -1
- package/src/host/bridge-host.ts +101 -97
- package/src/metro-plugin.ts +4 -1
- package/src/react-native-coverage/native-source-ranges-file.ts +1 -1
- package/src/runtime-assets.ts +0 -1
- package/src/runtime-delivery.ts +1 -1
- package/src/runtime-packs.ts +212 -0
- package/src/swift-shipped-binaries.ts +1 -1
- package/src/swift-standin-config.ts +4 -2
- package/src/vite-plugin-one.ts +4 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2213 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -55,7 +55,7 @@ export declare const ANDROID_FONT_FAMILY = "Roboto";
|
|
|
55
55
|
export declare const ANDROID_EMOJI_FONT_FAMILY = "Noto Color Emoji";
|
|
56
56
|
export declare const ANDROID_EMOJI_FLAGS_FONT_FAMILY = "Noto Color Emoji Flags";
|
|
57
57
|
export declare const ANDROID_EMOJI_FONT_FAMILIES: readonly ["Noto Color Emoji", "Noto Color Emoji Flags"];
|
|
58
|
-
export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'noto-color-emoji-flags.ttf'];
|
|
58
|
+
export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'emoji/noto-color-emoji-flags.ttf'];
|
|
59
59
|
export declare const EMOJI_FONT_FAMILY = "SootSimEmojiMetrics";
|
|
60
60
|
export declare function noteLanguageSubsetFamily(family: string): void;
|
|
61
61
|
export declare function normalizeFontWeight(fontWeight: unknown): number;
|
|
@@ -70,6 +70,7 @@ export type PaintChange = typeof PAINT_NONE | typeof PAINT_OWN | typeof PAINT_TR
|
|
|
70
70
|
export declare function markWireNodeChanged(node?: SootSimNode | SootSimTextNode | null, paintChange?: PaintChange, shapeChanged?: boolean): void;
|
|
71
71
|
export declare function setStyleChangeListener(listener: (node: SootSimNode) => void): void;
|
|
72
72
|
export declare function hasUnownedLiveAnimatedStyle(node: SootSimNode): boolean;
|
|
73
|
+
export declare function readLiveGeometryOnce<T>(read: () => T): T;
|
|
73
74
|
export declare function refreshLiveAnimatedSceneGeometry(node: SootSimNode): void;
|
|
74
75
|
export declare function propsPaintChange(previous: Record<string, unknown>, next: Record<string, unknown>): PaintChange;
|
|
75
76
|
export declare function batchStyleWrites<T>(node: object, write: () => T): T;
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"1c15d055a3e1e68a17d3f735cd1c592fdc418c85e781e44abf4f4aa0b1215b52","file":"node/cli-1c15d055a3e1e68a17d3f735cd1c592fdc418c85e781e44abf4f4aa0b1215b52.cjs"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
Name: CoreData
|
|
3
|
+
Enumerators:
|
|
4
|
+
- Name: NSBinaryDataAttributeType
|
|
5
|
+
SwiftName: binaryDataAttributeType
|
|
6
|
+
- Name: NSBooleanAttributeType
|
|
7
|
+
SwiftName: booleanAttributeType
|
|
8
|
+
- Name: NSDateAttributeType
|
|
9
|
+
SwiftName: dateAttributeType
|
|
10
|
+
- Name: NSDecimalAttributeType
|
|
11
|
+
SwiftName: decimalAttributeType
|
|
12
|
+
- Name: NSDoubleAttributeType
|
|
13
|
+
SwiftName: doubleAttributeType
|
|
14
|
+
- Name: NSFloatAttributeType
|
|
15
|
+
SwiftName: floatAttributeType
|
|
16
|
+
- Name: NSInteger16AttributeType
|
|
17
|
+
SwiftName: integer16AttributeType
|
|
18
|
+
- Name: NSInteger32AttributeType
|
|
19
|
+
SwiftName: integer32AttributeType
|
|
20
|
+
- Name: NSInteger64AttributeType
|
|
21
|
+
SwiftName: integer64AttributeType
|
|
22
|
+
- Name: NSObjectIDAttributeType
|
|
23
|
+
SwiftName: objectIDAttributeType
|
|
24
|
+
- Name: NSStringAttributeType
|
|
25
|
+
SwiftName: stringAttributeType
|
|
26
|
+
- Name: NSTransformableAttributeType
|
|
27
|
+
SwiftName: transformableAttributeType
|
|
28
|
+
- Name: NSUndefinedAttributeType
|
|
29
|
+
SwiftName: undefinedAttributeType
|
|
30
|
+
- Name: NSUUIDAttributeType
|
|
31
|
+
SwiftName: UUIDAttributeType
|
|
32
|
+
- Name: NSURIAttributeType
|
|
33
|
+
SwiftName: URIAttributeType
|
|
34
|
+
- Name: NSCompositeAttributeType
|
|
35
|
+
SwiftName: compositeAttributeType
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
#import <CoreData/NSManagedObjectModel.h>
|
|
3
3
|
#import <CoreData/NSPersistentStoreCoordinator.h>
|
|
4
|
+
#import <CoreData/NSPersistentStore.h>
|
|
4
5
|
#import <CoreData/NSManagedObjectContext.h>
|
|
5
6
|
#import <CoreData/NSEntityDescription.h>
|
|
7
|
+
#import <CoreData/NSPropertyDescription.h>
|
|
8
|
+
#import <CoreData/NSAttributeDescription.h>
|
|
9
|
+
#import <CoreData/NSRelationshipDescription.h>
|
|
10
|
+
#import <CoreData/NSExpressionDescription.h>
|
|
11
|
+
#import <CoreData/NSFetchIndexDescription.h>
|
|
12
|
+
#import <CoreData/NSFetchIndexElementDescription.h>
|
|
13
|
+
#import <CoreData/NSMergePolicy.h>
|
|
6
14
|
#import <CoreData/NSFetchRequest.h>
|
|
7
15
|
#import <CoreData/NSFetchedResultsController.h>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSPropertyDescription.h>
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
typedef NS_ENUM(NSUInteger, NSAttributeType) {
|
|
6
|
+
NSUndefinedAttributeType = 0,
|
|
7
|
+
NSInteger16AttributeType = 100,
|
|
8
|
+
NSInteger32AttributeType = 200,
|
|
9
|
+
NSInteger64AttributeType = 300,
|
|
10
|
+
NSDecimalAttributeType = 400,
|
|
11
|
+
NSDoubleAttributeType = 500,
|
|
12
|
+
NSFloatAttributeType = 600,
|
|
13
|
+
NSStringAttributeType = 700,
|
|
14
|
+
NSBooleanAttributeType = 800,
|
|
15
|
+
NSDateAttributeType = 900,
|
|
16
|
+
NSBinaryDataAttributeType = 1000,
|
|
17
|
+
NSUUIDAttributeType __attribute__((availability(ios,introduced=11.0))) = 1100,
|
|
18
|
+
NSURIAttributeType __attribute__((availability(ios,introduced=11.0))) = 1200,
|
|
19
|
+
NSTransformableAttributeType __attribute__((availability(ios,introduced=3.0))) = 1800,
|
|
20
|
+
NSObjectIDAttributeType __attribute__((availability(ios,introduced=3.0))) = 2000,
|
|
21
|
+
NSCompositeAttributeType __attribute__((availability(ios,introduced=17.0))) = 2100
|
|
22
|
+
};
|
|
23
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
24
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSAttributeDescription : NSPropertyDescription
|
|
25
|
+
@property () NSAttributeType attributeType;
|
|
26
|
+
@property (nullable, copy) NSString *attributeValueClassName;
|
|
27
|
+
@property (nullable, retain) id defaultValue;
|
|
28
|
+
@property (nullable, copy) NSString *valueTransformerName __attribute__((availability(ios,introduced=3.0)));
|
|
29
|
+
@end
|
|
30
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -2,9 +2,23 @@
|
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
3
|
@class NSManagedObject;
|
|
4
4
|
@class NSManagedObjectContext;
|
|
5
|
+
@class NSPropertyDescription;
|
|
6
|
+
@class NSAttributeDescription;
|
|
7
|
+
@class NSRelationshipDescription;
|
|
8
|
+
@class NSFetchIndexDescription;
|
|
5
9
|
NS_ASSUME_NONNULL_BEGIN
|
|
6
10
|
__attribute__((availability(ios,introduced=3.0)))
|
|
7
11
|
PEACH_SWIFT_CLASS(CoreData) @interface NSEntityDescription : NSObject <NSCoding, NSCopying, NSFastEnumeration>
|
|
12
|
+
+ (nullable NSEntityDescription *)entityForName:(NSString *)entityName inManagedObjectContext:(NSManagedObjectContext *)context;
|
|
8
13
|
+ (__kindof NSManagedObject *)insertNewObjectForEntityForName:(NSString *)entityName inManagedObjectContext:(NSManagedObjectContext *)context;
|
|
14
|
+
@property (null_resettable, copy) NSString *managedObjectClassName;
|
|
15
|
+
@property (nullable, copy) NSString *name;
|
|
16
|
+
@property (getter=isAbstract) BOOL abstract;
|
|
17
|
+
@property (readonly, copy) NSDictionary<NSString *, __kindof NSPropertyDescription *> *propertiesByName;
|
|
18
|
+
@property (strong) NSArray<__kindof NSPropertyDescription *> *properties;
|
|
19
|
+
@property (nullable, nonatomic, strong) NSDictionary *userInfo;
|
|
20
|
+
@property (readonly, copy) NSDictionary<NSString *, NSAttributeDescription *> *attributesByName;
|
|
21
|
+
@property (readonly, copy) NSDictionary<NSString *, NSRelationshipDescription *> *relationshipsByName;
|
|
22
|
+
@property (copy) NSArray <NSFetchIndexDescription *>*indexes __attribute__((availability(ios,introduced=11.0)));
|
|
9
23
|
@end
|
|
10
24
|
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSExpressionDescription.h
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSAttributeDescription.h>
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
6
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSExpressionDescription : NSPropertyDescription
|
|
7
|
+
@property (nullable, strong) NSExpression *expression;
|
|
8
|
+
@property () NSAttributeType expressionResultType;
|
|
9
|
+
@end
|
|
10
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchIndexDescription.h
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSFetchIndexElementDescription.h>
|
|
4
|
+
@class NSEntityDescription;
|
|
5
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
6
|
+
__attribute__((availability(ios,introduced=11.0)))
|
|
7
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSFetchIndexDescription : NSObject <NSCoding,NSCopying>
|
|
8
|
+
- (instancetype)initWithName:(NSString*)name elements:(nullable NSArray <NSFetchIndexElementDescription *>*)elements;
|
|
9
|
+
@property (copy) NSString *name;
|
|
10
|
+
@property (copy) NSArray <NSFetchIndexElementDescription *>*elements;
|
|
11
|
+
@property (readonly, nonatomic, nullable, assign) NSEntityDescription *entity;
|
|
12
|
+
@end
|
|
13
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
@class NSPropertyDescription;
|
|
4
|
+
@class NSFetchIndexDescription;
|
|
5
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
6
|
+
typedef NS_ENUM(NSUInteger, NSFetchIndexElementType) {
|
|
7
|
+
NSFetchIndexElementTypeBinary,
|
|
8
|
+
NSFetchIndexElementTypeRTree,
|
|
9
|
+
} __attribute__((availability(ios,introduced=11.0)));
|
|
10
|
+
__attribute__((availability(ios,introduced=11.0)))
|
|
11
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSFetchIndexElementDescription : NSObject <NSCoding,NSCopying>
|
|
12
|
+
- (instancetype)initWithProperty:(NSPropertyDescription*)property collationType:(NSFetchIndexElementType)collationType;
|
|
13
|
+
@property (readonly, nullable, retain) NSPropertyDescription *property;
|
|
14
|
+
@property (readonly, nullable, retain) NSString *propertyName;
|
|
15
|
+
@property NSFetchIndexElementType collationType;
|
|
16
|
+
@property (getter=isAscending) BOOL ascending;
|
|
17
|
+
@end
|
|
18
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
3
|
#import <CoreData/NSManagedObjectID.h>
|
|
4
|
+
@class NSEntityDescription;
|
|
5
|
+
@class NSManagedObjectContext;
|
|
4
6
|
NS_ASSUME_NONNULL_BEGIN
|
|
5
7
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_NONISOLATED NS_SWIFT_NONSENDABLE __attribute__((objc_requires_property_definitions))
|
|
6
8
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObject : NSObject
|
|
9
|
+
@property (nullable, nonatomic, readonly, assign) NSManagedObjectContext *managedObjectContext;
|
|
10
|
+
@property (nonatomic, readonly, strong) NSEntityDescription *entity;
|
|
7
11
|
@property (nonatomic, readonly, strong) NSManagedObjectID *objectID;
|
|
8
12
|
@property (nonatomic, getter=isFault, readonly) BOOL fault;
|
|
13
|
+
- (void)willAccessValueForKey:(nullable NSString *)key;
|
|
14
|
+
- (void)didAccessValueForKey:(nullable NSString *)key;
|
|
15
|
+
- (void)awakeFromFetch;
|
|
16
|
+
- (void)awakeFromInsert;
|
|
17
|
+
- (void)didTurnIntoFault;
|
|
18
|
+
- (nullable id)primitiveValueForKey:(NSString *)key;
|
|
19
|
+
- (void)setPrimitiveValue:(nullable id)value forKey:(NSString *)key;
|
|
9
20
|
@end
|
|
10
21
|
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h
CHANGED
|
@@ -4,6 +4,12 @@
|
|
|
4
4
|
@class NSFetchRequest;
|
|
5
5
|
@class NSPersistentStoreCoordinator;
|
|
6
6
|
NS_ASSUME_NONNULL_BEGIN
|
|
7
|
+
extern NSString * const NSManagedObjectContextWillSaveNotification __attribute__((availability(ios,introduced=3.0)));
|
|
8
|
+
extern NSString * const NSManagedObjectContextDidSaveNotification __attribute__((availability(ios,introduced=3.0)));
|
|
9
|
+
extern NSString * const NSManagedObjectContextObjectsDidChangeNotification __attribute__((availability(ios,introduced=3.0)));
|
|
10
|
+
extern NSString * const NSInsertedObjectsKey __attribute__((availability(ios,introduced=3.0)));
|
|
11
|
+
extern NSString * const NSUpdatedObjectsKey __attribute__((availability(ios,introduced=3.0)));
|
|
12
|
+
extern NSString * const NSDeletedObjectsKey __attribute__((availability(ios,introduced=3.0)));
|
|
7
13
|
typedef NS_ENUM(NSUInteger, NSManagedObjectContextConcurrencyType) {
|
|
8
14
|
NSConfinementConcurrencyType __attribute__((availability(ios,introduced=3.0,deprecated=9.0))) = 0x00,
|
|
9
15
|
NSPrivateQueueConcurrencyType = 0x01,
|
|
@@ -12,13 +18,26 @@ typedef NS_ENUM(NSUInteger, NSManagedObjectContextConcurrencyType) {
|
|
|
12
18
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_NONISOLATED NS_SWIFT_SENDABLE
|
|
13
19
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObjectContext : NSObject <NSCoding, NSLocking>
|
|
14
20
|
- (instancetype)initWithConcurrencyType:(NSManagedObjectContextConcurrencyType)ct NS_DESIGNATED_INITIALIZER __attribute__((availability(ios,introduced=5.0)));
|
|
21
|
+
- (void)performBlock:(void (^NS_SWIFT_SENDABLE)(void))block __attribute__((availability(ios,introduced=5.0)));
|
|
15
22
|
- (void)performBlockAndWait:(void (NS_NOESCAPE NS_SWIFT_SENDABLE^)(void))block __attribute__((availability(ios,introduced=5.0)));
|
|
16
23
|
@property (nullable, strong) NSPersistentStoreCoordinator *persistentStoreCoordinator;
|
|
24
|
+
@property (nullable, strong) NSManagedObjectContext *parentContext __attribute__((availability(ios,introduced=5.0)));
|
|
25
|
+
@property (nullable, nonatomic, strong) NSUndoManager *undoManager;
|
|
17
26
|
@property (nonatomic, readonly) BOOL hasChanges;
|
|
27
|
+
@property (nonatomic, readonly, strong) NSMutableDictionary *userInfo __attribute__((availability(ios,introduced=5.0)));
|
|
28
|
+
@property (readonly) NSManagedObjectContextConcurrencyType concurrencyType __attribute__((availability(ios,introduced=5.0)));
|
|
29
|
+
- (__kindof NSManagedObject *)objectWithID:(NSManagedObjectID *)objectID;
|
|
18
30
|
- (nullable NSArray *)executeFetchRequest:(NSFetchRequest *)request error:(NSError **)error NS_REFINED_FOR_SWIFT;
|
|
19
31
|
- (NSUInteger)countForFetchRequest:(NSFetchRequest *)request error:(NSError **)error __attribute__((availability(ios,introduced=3.0))) __attribute__((swift_error(nonnull_error)));
|
|
20
32
|
- (void)deleteObject:(NSManagedObject *)object;
|
|
33
|
+
- (void)refreshObject:(NSManagedObject *)object mergeChanges:(BOOL)flag;
|
|
34
|
+
@property (nonatomic, readonly, strong) NSSet<__kindof NSManagedObject *> *insertedObjects;
|
|
35
|
+
@property (nonatomic, readonly, strong) NSSet<__kindof NSManagedObject *> *updatedObjects;
|
|
36
|
+
@property (nonatomic, readonly, strong) NSSet<__kindof NSManagedObject *> *deletedObjects;
|
|
21
37
|
- (BOOL)save:(NSError **)error;
|
|
38
|
+
@property (strong) id mergePolicy;
|
|
39
|
+
- (BOOL)obtainPermanentIDsForObjects:(NSArray<NSManagedObject *> *)objects error:(NSError **)error __attribute__((availability(ios,introduced=3.0)));
|
|
40
|
+
- (void)mergeChangesFromContextDidSaveNotification:(NSNotification *)notification __attribute__((availability(ios,introduced=3.0)));
|
|
22
41
|
- (nullable __kindof NSManagedObject *)existingObjectWithID:(NSManagedObjectID *)objectID error:(NSError **)error __attribute__((availability(ios,introduced=3.0)));
|
|
23
42
|
@end
|
|
24
43
|
NS_ASSUME_NONNULL_END
|
|
@@ -3,5 +3,7 @@
|
|
|
3
3
|
NS_ASSUME_NONNULL_BEGIN
|
|
4
4
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_SENDABLE
|
|
5
5
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObjectID : NSObject <NSCopying>
|
|
6
|
+
@property (getter=isTemporaryID, readonly) BOOL temporaryID;
|
|
7
|
+
- (NSURL *)URIRepresentation;
|
|
6
8
|
@end
|
|
7
9
|
NS_ASSUME_NONNULL_END
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
#import <Foundation/Foundation.h>
|
|
3
|
+
@class NSEntityDescription;
|
|
3
4
|
NS_ASSUME_NONNULL_BEGIN
|
|
4
5
|
__attribute__((availability(ios,introduced=3.0)))
|
|
5
6
|
PEACH_SWIFT_CLASS(CoreData) @interface NSManagedObjectModel : NSObject <NSCoding, NSCopying, NSFastEnumeration>
|
|
6
7
|
- (nullable instancetype)initWithContentsOfURL:(NSURL *)url;
|
|
8
|
+
@property (strong) NSArray<NSEntityDescription *> *entities;
|
|
9
|
+
- (BOOL)isConfiguration:(nullable NSString *)configuration compatibleWithStoreMetadata:(NSDictionary<NSString *, id> *)metadata __attribute__((availability(ios,introduced=3.0)));
|
|
7
10
|
@end
|
|
8
11
|
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
4
|
+
extern id NSErrorMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
5
|
+
extern id NSMergeByPropertyStoreTrumpMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
6
|
+
extern id NSMergeByPropertyObjectTrumpMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
7
|
+
extern id NSOverwriteMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
8
|
+
extern id NSRollbackMergePolicy __attribute__((availability(ios,introduced=3.0)));
|
|
9
|
+
__attribute__((availability(ios,introduced=5.0)))
|
|
10
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSMergePolicy : NSObject
|
|
11
|
+
@property (class, readonly, strong) NSMergePolicy *errorMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
12
|
+
@property (class, readonly, strong) NSMergePolicy *rollbackMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
13
|
+
@property (class, readonly, strong) NSMergePolicy *overwriteMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
14
|
+
@property (class, readonly, strong) NSMergePolicy *mergeByPropertyObjectTrumpMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
15
|
+
@property (class, readonly, strong) NSMergePolicy *mergeByPropertyStoreTrumpMergePolicy __attribute__((availability(ios,introduced=10.0)));
|
|
16
|
+
@end
|
|
17
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
4
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
5
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSPersistentStore : NSObject
|
|
6
|
+
@property (null_resettable, nonatomic, strong) NSDictionary<NSString *, id> *metadata;
|
|
7
|
+
@end
|
|
8
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h
CHANGED
|
@@ -4,9 +4,15 @@
|
|
|
4
4
|
@class NSPersistentStore;
|
|
5
5
|
NS_ASSUME_NONNULL_BEGIN
|
|
6
6
|
extern NSString * const NSSQLiteStoreType __attribute__((availability(ios,introduced=3.0)));
|
|
7
|
+
extern NSString * const NSMigratePersistentStoresAutomaticallyOption __attribute__((availability(ios,introduced=3.0)));
|
|
8
|
+
extern NSString * const NSInferMappingModelAutomaticallyOption __attribute__((availability(ios,introduced=3.0)));
|
|
7
9
|
__attribute__((availability(ios,introduced=3.0))) NS_SWIFT_SENDABLE
|
|
8
10
|
PEACH_SWIFT_CLASS(CoreData) @interface NSPersistentStoreCoordinator : NSObject <NSLocking>
|
|
9
11
|
- (instancetype)initWithManagedObjectModel:(NSManagedObjectModel *)model NS_DESIGNATED_INITIALIZER;
|
|
12
|
+
@property (readonly, strong) NSArray<__kindof NSPersistentStore *> *persistentStores;
|
|
13
|
+
- (void)setMetadata:(nullable NSDictionary<NSString *, id> *)metadata forPersistentStore:(NSPersistentStore *)store;
|
|
10
14
|
- (nullable __kindof NSPersistentStore *)addPersistentStoreWithType:(NSString *)storeType configuration:(nullable NSString *)configuration URL:(nullable NSURL *)storeURL options:(nullable NSDictionary *)options error:(NSError **)error;
|
|
15
|
+
+ (nullable NSDictionary<NSString *, id> *)metadataForPersistentStoreOfType:(NSString*)storeType URL:(NSURL *)url options:(nullable NSDictionary *)options error:(NSError **)error __attribute__((availability(ios,introduced=7.0)));
|
|
16
|
+
+ (BOOL)setMetadata:(nullable NSDictionary<NSString *, id> *)metadata forPersistentStoreOfType:(NSString*)storeType URL:(NSURL*)url options:(nullable NSDictionary*)options error:(NSError**)error __attribute__((availability(ios,introduced=7.0)));
|
|
11
17
|
@end
|
|
12
18
|
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
@class NSEntityDescription;
|
|
4
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
5
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
6
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSPropertyDescription : NSObject <NSCoding, NSCopying>
|
|
7
|
+
@property (nonatomic, readonly, assign) NSEntityDescription *entity;
|
|
8
|
+
@property (nonatomic, copy) NSString *name;
|
|
9
|
+
@property (getter=isOptional) BOOL optional;
|
|
10
|
+
@property (getter=isTransient) BOOL transient;
|
|
11
|
+
@property (nullable, nonatomic, strong) NSDictionary *userInfo;
|
|
12
|
+
@end
|
|
13
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSRelationshipDescription.h
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#import <Foundation/Foundation.h>
|
|
3
|
+
#import <CoreData/NSPropertyDescription.h>
|
|
4
|
+
@class NSEntityDescription;
|
|
5
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
6
|
+
typedef NS_ENUM(NSUInteger, NSDeleteRule) {
|
|
7
|
+
NSNoActionDeleteRule,
|
|
8
|
+
NSNullifyDeleteRule,
|
|
9
|
+
NSCascadeDeleteRule,
|
|
10
|
+
NSDenyDeleteRule
|
|
11
|
+
} ;
|
|
12
|
+
__attribute__((availability(ios,introduced=3.0)))
|
|
13
|
+
PEACH_SWIFT_CLASS(CoreData) @interface NSRelationshipDescription : NSPropertyDescription
|
|
14
|
+
@property (nullable, nonatomic, assign) NSEntityDescription *destinationEntity;
|
|
15
|
+
@property (nullable, nonatomic, assign) NSRelationshipDescription *inverseRelationship;
|
|
16
|
+
@property () NSUInteger maxCount;
|
|
17
|
+
@property () NSUInteger minCount;
|
|
18
|
+
@property () NSDeleteRule deleteRule;
|
|
19
|
+
@property (getter=isToMany, readonly) BOOL toMany;
|
|
20
|
+
@end
|
|
21
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -36,16 +36,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
36
36
|
@class UIScreen;
|
|
37
37
|
#endif
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
UIImageOrientationUp, // default orientation
|
|
41
|
-
UIImageOrientationDown, // 180 deg rotation
|
|
42
|
-
UIImageOrientationLeft, // 90 deg CCW
|
|
43
|
-
UIImageOrientationRight, // 90 deg CW
|
|
44
|
-
UIImageOrientationUpMirrored, // as above but image mirrored along other axis. horizontal flip
|
|
45
|
-
UIImageOrientationDownMirrored, // horizontal flip
|
|
46
|
-
UIImageOrientationLeftMirrored, // vertical flip
|
|
47
|
-
UIImageOrientationRightMirrored, // vertical flip
|
|
48
|
-
} API_AVAILABLE(watchos(2.0));
|
|
39
|
+
|
|
49
40
|
|
|
50
41
|
/* UIImage will implement the resizing mode the fastest way possible while
|
|
51
42
|
retaining the desired visual appearance.
|
|
@@ -16,7 +16,7 @@ typedef NSString * UINibOptionsKey NS_TYPED_ENUM API_UNAVAILABLE(watchos);
|
|
|
16
16
|
UIKIT_EXTERN UINibOptionsKey const UINibExternalObjects API_AVAILABLE(ios(3.0)) API_UNAVAILABLE(watchos);
|
|
17
17
|
|
|
18
18
|
@interface NSBundle(UINibLoadingAdditions)
|
|
19
|
-
- (nullable NSArray *)loadNibNamed:(NSString *)name owner:(nullable id)owner options:(nullable NSDictionary<UINibOptionsKey, id> *)options API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos)
|
|
19
|
+
- (nullable NSArray *)loadNibNamed:(NSString *)name owner:(nullable id)owner options:(nullable NSDictionary<UINibOptionsKey, id> *)options API_DEPRECATED("Loading Interface Builder products will not be supported in a future version of visionOS.", visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
|
|
20
20
|
@end
|
|
21
21
|
|
|
22
22
|
@interface NSObject(UINibLoadingAdditions)
|
|
@@ -2408,6 +2408,17 @@ typedef NS_ENUM(NSUInteger, UIPasteControlDisplayMode) {
|
|
|
2408
2408
|
UIPasteControlDisplayModeLabelOnly,
|
|
2409
2409
|
UIPasteControlDisplayModeArrowAndLabel
|
|
2410
2410
|
} API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos);
|
|
2411
|
+
|
|
2412
|
+
typedef NS_ENUM(NSInteger, UIImageOrientation) {
|
|
2413
|
+
UIImageOrientationUp, // default orientation
|
|
2414
|
+
UIImageOrientationDown, // 180 deg rotation
|
|
2415
|
+
UIImageOrientationLeft, // 90 deg CCW
|
|
2416
|
+
UIImageOrientationRight, // 90 deg CW
|
|
2417
|
+
UIImageOrientationUpMirrored, // as above but image mirrored along other axis. horizontal flip
|
|
2418
|
+
UIImageOrientationDownMirrored, // horizontal flip
|
|
2419
|
+
UIImageOrientationLeftMirrored, // vertical flip
|
|
2420
|
+
UIImageOrientationRightMirrored, // vertical flip
|
|
2421
|
+
} API_AVAILABLE(watchos(2.0));
|
|
2411
2422
|
PEACH_SWIFT_CLASS(UIKitCore) @interface UIColor : NSObject <NSSecureCoding, NSCopying>
|
|
2412
2423
|
@end
|
|
2413
2424
|
|
package/skills/contrast/SKILL.md
CHANGED
|
@@ -52,6 +52,7 @@ automation, inspecting the render tree, and managing sims.
|
|
|
52
52
|
| `peach open` | run a React Native, Swift or Android app in the simulator |
|
|
53
53
|
| `peach preview` | publish an Expo export or bundle as a standalone preview |
|
|
54
54
|
| `peach package` | package one app as a standalone macOS app |
|
|
55
|
+
| `peach map` | capture screens tied to routes and publish the branch map |
|
|
55
56
|
| `peach list` | list connected sims or available launch drivers |
|
|
56
57
|
| `peach use` | select a connected sim |
|
|
57
58
|
| `peach skill` | install and inspect bundled peach agent skills |
|
package/src/home-paths.ts
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// ├── profiles/
|
|
17
17
|
// │ └── profiles.json storage profile metadata
|
|
18
18
|
// ├── cache/
|
|
19
|
-
// │ └── peach-runtime-<version>.tar.
|
|
19
|
+
// │ └── peach-runtime-<version>.tar.zst
|
|
20
20
|
// ├── daemon.json lockfile: pid, ports, active runtime, heartbeat
|
|
21
21
|
// ├── dev-bridges/ live Vite dev bridge records, keyed by bound port
|
|
22
22
|
// ├── fetch-transport/ the http/2 image transport's tls identity and port,
|