bleam 0.0.11 → 0.0.12
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/dist/ai.cjs +2314 -2173
- package/dist/ai.d.cts +227 -322
- package/dist/ai.d.ts +227 -322
- package/dist/ai.js +2309 -2159
- package/dist/cli.d.cts +1 -1
- package/dist/cli.d.ts +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{files-Ds1wT8C2.js → files-BXVkPrPN.js} +6 -1
- package/dist/{files-Bo7h9fik.cjs → files-DxaQ-Nv0.cjs} +11 -0
- package/dist/files.cjs +1 -1
- package/dist/files.d.cts +1 -1
- package/dist/files.d.ts +1 -1
- package/dist/files.js +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/schema-B5BfdswF.js +226 -0
- package/dist/schema-BnVZOXfu.cjs +286 -0
- package/dist/schema-D5eImHxu.d.cts +125 -0
- package/dist/schema-SSjokbtw.d.ts +125 -0
- package/dist/schema.cjs +10 -2
- package/dist/schema.d.cts +2 -2
- package/dist/schema.d.ts +2 -2
- package/dist/schema.js +2 -2
- package/dist/state-Dh3HLixb.js +874 -0
- package/dist/state-LssDgpff.cjs +973 -0
- package/dist/state.cjs +16 -12
- package/dist/state.d.cts +144 -140
- package/dist/state.d.ts +145 -140
- package/dist/state.js +3 -3
- package/dist/{ui-CHc4xEs_.d.ts → ui-D7bRLYee.d.ts} +7 -7
- package/dist/ui.d.ts +1 -1
- package/dist/window.d.ts +1 -1
- package/package.json +3 -1
- package/templates/foundation-models/app/index.tsx +77 -15
- package/templates/image-generation/app/index.tsx +2 -2
- package/templates/native/ios/Bleam.xcodeproj/project.pbxproj +46 -46
- package/templates/native/ios/Podfile.lock +173 -173
- package/templates/native/modules/bleam-runtime/ios/AIModule.swift +35 -357
- package/templates/text-generation/app/index.tsx +81 -50
- package/templates/updates/README.md +1 -1
- package/dist/schema-Bo5Jvqus.js +0 -90
- package/dist/schema-CYh6n8GS.d.ts +0 -58
- package/dist/schema-oeOrd3i1.d.cts +0 -58
- package/dist/schema-rQ13mrpD.cjs +0 -102
- package/dist/state-Bx0VlTlO.cjs +0 -852
- package/dist/state-CAwe-Vw1.js +0 -767
- /package/dist/{config-Cms0rvqg.d.ts → config-COcRnn5a.d.cts} +0 -0
- /package/dist/{config-CufOVJV3.d.cts → config-Chi-flpJ.d.ts} +0 -0
- /package/dist/{files-4ZEoAWiv.d.ts → files-DwA7pzr3.d.cts} +0 -0
- /package/dist/{files-Dt5mbzLq.d.cts → files-VrkQlKIT.d.ts} +0 -0
|
@@ -57,10 +57,6 @@
|
|
|
57
57
|
B957694592E7EBD326D03A2F /* FlowMatchEulerScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1000102F00000000000010 /* FlowMatchEulerScheduler.swift */; };
|
|
58
58
|
BB2F792D24A3F905000567C9 /* Expo.plist in Resources */ = {isa = PBXBuildFile; fileRef = BB2F792C24A3F905000567C9 /* Expo.plist */; };
|
|
59
59
|
C0E15CD5E6F368701D5653B0 /* Flux2SingleBlock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1000212F00000000000021 /* Flux2SingleBlock.swift */; };
|
|
60
|
-
CA976FF294D23C5C0D1BCB6A /* MemoryManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1000242F00000000000024 /* MemoryManager.swift */; };
|
|
61
|
-
D63D5719C5F6BEF2642A0627 /* GenerationWorkerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C1C083A847A6F08154A7655 /* GenerationWorkerProtocol.swift */; };
|
|
62
|
-
F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F11748412D0307B40044C1D9 /* AppDelegate.swift */; };
|
|
63
|
-
F3E19B0AABF791129F5C2531 /* Flux2KVCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1000122F00000000000012 /* Flux2KVCache.swift */; };
|
|
64
60
|
C30000000000000000000001 /* ModelCapabilities.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20000000000000000000001 /* ModelCapabilities.swift */; };
|
|
65
61
|
C30000000000000000000002 /* GenerationTypes.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20000000000000000000002 /* GenerationTypes.swift */; };
|
|
66
62
|
C30000000000000000000003 /* TokenSampler.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20000000000000000000003 /* TokenSampler.swift */; };
|
|
@@ -82,6 +78,10 @@
|
|
|
82
78
|
C30000000000000000000013 /* BonsaiTextModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20000000000000000000013 /* BonsaiTextModel.swift */; };
|
|
83
79
|
C30000000000000000000014 /* BonsaiTextGenerator.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20000000000000000000014 /* BonsaiTextGenerator.swift */; };
|
|
84
80
|
C30000000000000000000015 /* BonsaiTextGenerationRunner.swift in Sources */ = {isa = PBXBuildFile; fileRef = C20000000000000000000015 /* BonsaiTextGenerationRunner.swift */; };
|
|
81
|
+
CA976FF294D23C5C0D1BCB6A /* MemoryManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1000242F00000000000024 /* MemoryManager.swift */; };
|
|
82
|
+
D63D5719C5F6BEF2642A0627 /* GenerationWorkerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7C1C083A847A6F08154A7655 /* GenerationWorkerProtocol.swift */; };
|
|
83
|
+
F11748422D0307B40044C1D9 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F11748412D0307B40044C1D9 /* AppDelegate.swift */; };
|
|
84
|
+
F3E19B0AABF791129F5C2531 /* Flux2KVCache.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1000122F00000000000012 /* Flux2KVCache.swift */; };
|
|
85
85
|
/* End PBXBuildFile section */
|
|
86
86
|
|
|
87
87
|
/* Begin PBXContainerItemProxy section */
|
|
@@ -177,12 +177,6 @@
|
|
|
177
177
|
B102179524A8B237805F5FD2 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Cocoa.framework; sourceTree = DEVELOPER_DIR; };
|
|
178
178
|
BB2F792C24A3F905000567C9 /* Expo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Expo.plist; sourceTree = "<group>"; };
|
|
179
179
|
C0C08FBC319FFA07AF3EB93F /* Cmlx.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cmlx.framework; path = "Vendor/MLXSwift/0.31.6-macos/Cmlx.framework"; sourceTree = "<group>"; };
|
|
180
|
-
CA962C2DD7808CB057168B5C /* GenerationServiceProtocol.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GenerationServiceProtocol.swift; path = GenerationServiceProtocol.swift; sourceTree = "<group>"; };
|
|
181
|
-
E72903DB5F3C7D30AA5ED70B /* main.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = main.swift; path = main.swift; sourceTree = "<group>"; };
|
|
182
|
-
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
183
|
-
F11748412D0307B40044C1D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = bleam/AppDelegate.swift; sourceTree = "<group>"; };
|
|
184
|
-
F11748442D0722820044C1D9 /* Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Bridging-Header.h"; path = "bleam/Bridging-Header.h"; sourceTree = "<group>"; };
|
|
185
|
-
FB433ED9D990D1F5BEAC2C93 /* GenerationService.xpc */ = {isa = PBXFileReference; explicitFileType = "wrapper.xpc-service"; includeInIndex = 0; name = GenerationService.xpc; path = GenerationService.xpc; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
186
180
|
C20000000000000000000001 /* ModelCapabilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ModelCapabilities.swift; sourceTree = "<group>"; };
|
|
187
181
|
C20000000000000000000002 /* GenerationTypes.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GenerationTypes.swift; sourceTree = "<group>"; };
|
|
188
182
|
C20000000000000000000003 /* TokenSampler.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TokenSampler.swift; sourceTree = "<group>"; };
|
|
@@ -204,6 +198,12 @@
|
|
|
204
198
|
C20000000000000000000013 /* BonsaiTextModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BonsaiTextModel.swift; sourceTree = "<group>"; };
|
|
205
199
|
C20000000000000000000014 /* BonsaiTextGenerator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BonsaiTextGenerator.swift; sourceTree = "<group>"; };
|
|
206
200
|
C20000000000000000000015 /* BonsaiTextGenerationRunner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BonsaiTextGenerationRunner.swift; sourceTree = "<group>"; };
|
|
201
|
+
CA962C2DD7808CB057168B5C /* GenerationServiceProtocol.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GenerationServiceProtocol.swift; path = GenerationServiceProtocol.swift; sourceTree = "<group>"; };
|
|
202
|
+
E72903DB5F3C7D30AA5ED70B /* main.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = main.swift; path = main.swift; sourceTree = "<group>"; };
|
|
203
|
+
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
204
|
+
F11748412D0307B40044C1D9 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = AppDelegate.swift; path = bleam/AppDelegate.swift; sourceTree = "<group>"; };
|
|
205
|
+
F11748442D0722820044C1D9 /* Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "Bridging-Header.h"; path = "bleam/Bridging-Header.h"; sourceTree = "<group>"; };
|
|
206
|
+
FB433ED9D990D1F5BEAC2C93 /* GenerationService.xpc */ = {isa = PBXFileReference; explicitFileType = "wrapper.xpc-service"; includeInIndex = 0; name = GenerationService.xpc; path = GenerationService.xpc; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
207
207
|
/* End PBXFileReference section */
|
|
208
208
|
|
|
209
209
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -357,6 +357,40 @@
|
|
|
357
357
|
path = GenerationService;
|
|
358
358
|
sourceTree = "<group>";
|
|
359
359
|
};
|
|
360
|
+
B895E2E16B0B07754F5B5D83 /* Shared */ = {
|
|
361
|
+
isa = PBXGroup;
|
|
362
|
+
children = (
|
|
363
|
+
D1A2D6EC5CB7BB01DBBDF46B /* Generation */,
|
|
364
|
+
);
|
|
365
|
+
name = Shared;
|
|
366
|
+
path = Shared;
|
|
367
|
+
sourceTree = "<group>";
|
|
368
|
+
};
|
|
369
|
+
BB2F792B24A3F905000567C9 /* Supporting */ = {
|
|
370
|
+
isa = PBXGroup;
|
|
371
|
+
children = (
|
|
372
|
+
BB2F792C24A3F905000567C9 /* Expo.plist */,
|
|
373
|
+
);
|
|
374
|
+
name = Supporting;
|
|
375
|
+
path = bleam/Supporting;
|
|
376
|
+
sourceTree = "<group>";
|
|
377
|
+
};
|
|
378
|
+
BFD354351023DC714C9A186B /* bleam */ = {
|
|
379
|
+
isa = PBXGroup;
|
|
380
|
+
children = (
|
|
381
|
+
40779663875581067F7CF4CE /* ExpoModulesProvider.swift */,
|
|
382
|
+
);
|
|
383
|
+
name = bleam;
|
|
384
|
+
sourceTree = "<group>";
|
|
385
|
+
};
|
|
386
|
+
C304F306F23C790312DB9DC3 /* ExpoModulesProviders */ = {
|
|
387
|
+
isa = PBXGroup;
|
|
388
|
+
children = (
|
|
389
|
+
BFD354351023DC714C9A186B /* bleam */,
|
|
390
|
+
);
|
|
391
|
+
name = ExpoModulesProviders;
|
|
392
|
+
sourceTree = "<group>";
|
|
393
|
+
};
|
|
360
394
|
C40000000000000000000001 /* TextGeneration */ = {
|
|
361
395
|
isa = PBXGroup;
|
|
362
396
|
children = (
|
|
@@ -425,40 +459,6 @@
|
|
|
425
459
|
path = Bonsai;
|
|
426
460
|
sourceTree = "<group>";
|
|
427
461
|
};
|
|
428
|
-
B895E2E16B0B07754F5B5D83 /* Shared */ = {
|
|
429
|
-
isa = PBXGroup;
|
|
430
|
-
children = (
|
|
431
|
-
D1A2D6EC5CB7BB01DBBDF46B /* Generation */,
|
|
432
|
-
);
|
|
433
|
-
name = Shared;
|
|
434
|
-
path = Shared;
|
|
435
|
-
sourceTree = "<group>";
|
|
436
|
-
};
|
|
437
|
-
BB2F792B24A3F905000567C9 /* Supporting */ = {
|
|
438
|
-
isa = PBXGroup;
|
|
439
|
-
children = (
|
|
440
|
-
BB2F792C24A3F905000567C9 /* Expo.plist */,
|
|
441
|
-
);
|
|
442
|
-
name = Supporting;
|
|
443
|
-
path = bleam/Supporting;
|
|
444
|
-
sourceTree = "<group>";
|
|
445
|
-
};
|
|
446
|
-
BFD354351023DC714C9A186B /* bleam */ = {
|
|
447
|
-
isa = PBXGroup;
|
|
448
|
-
children = (
|
|
449
|
-
40779663875581067F7CF4CE /* ExpoModulesProvider.swift */,
|
|
450
|
-
);
|
|
451
|
-
name = bleam;
|
|
452
|
-
sourceTree = "<group>";
|
|
453
|
-
};
|
|
454
|
-
C304F306F23C790312DB9DC3 /* ExpoModulesProviders */ = {
|
|
455
|
-
isa = PBXGroup;
|
|
456
|
-
children = (
|
|
457
|
-
BFD354351023DC714C9A186B /* bleam */,
|
|
458
|
-
);
|
|
459
|
-
name = ExpoModulesProviders;
|
|
460
|
-
sourceTree = "<group>";
|
|
461
|
-
};
|
|
462
462
|
D1A2D6EC5CB7BB01DBBDF46B /* Generation */ = {
|
|
463
463
|
isa = PBXGroup;
|
|
464
464
|
children = (
|
|
@@ -966,7 +966,7 @@
|
|
|
966
966
|
"-DRCT_REMOVE_LEGACY_ARCH=1",
|
|
967
967
|
);
|
|
968
968
|
PODFILE_DIR = "$(SRCROOT)";
|
|
969
|
-
REACT_NATIVE_PATH = "${PODS_ROOT}
|
|
969
|
+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
970
970
|
SDKROOT = iphoneos;
|
|
971
971
|
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
|
|
972
972
|
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
|
|
@@ -1030,7 +1030,7 @@
|
|
|
1030
1030
|
"-DRCT_REMOVE_LEGACY_ARCH=1",
|
|
1031
1031
|
);
|
|
1032
1032
|
PODFILE_DIR = "$(SRCROOT)";
|
|
1033
|
-
REACT_NATIVE_PATH = "${PODS_ROOT}
|
|
1033
|
+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
1034
1034
|
SDKROOT = iphoneos;
|
|
1035
1035
|
SWIFT_ENABLE_EXPLICIT_MODULES = NO;
|
|
1036
1036
|
USE_HERMES = true;
|