@h1r-ai/croche-react-native 0.5.1 → 0.5.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.
package/README.md CHANGED
@@ -419,7 +419,8 @@ resolves on React Native (and on native Swift and Kotlin).
419
419
 
420
420
  | Code | Meaning | What the app does |
421
421
  | --- | --- | --- |
422
- | `project_access_disabled` | `create`: the project key is unknown, or the project is paused or has app access turned off in Studio. `send`: the project was paused or app access was turned off; the Runtime learns this at a sync | Tell the user the AI is unavailable; the developer checks the project key and turns app access on in Studio |
422
+ | `project_key_unknown` | Registration: no project has the supplied public project key, including a key that was rotated | Copy the current public project key from Studio → project → Keys, or `croche projects list`; do not use an account or debug key |
423
+ | `project_access_disabled` | The known project is paused or has app access turned off, or its owning account was deleted. An existing Runtime learns access changes at a sync | Tell the user the AI is unavailable; the developer checks the project's access state in Studio |
423
424
  | `runtime_blocked` | The project owner blocked this install in Studio | Tell the user; only the developer can unblock it |
424
425
  | `account_disabled` | The developer's Croche account is disabled | Tell the user; the developer contacts Croche |
425
426
  | `allowance_exhausted` / `user_allowance_exhausted` | This user's AI allowance is spent | Offer a top-up (`userBudget.add`) or wait |
@@ -8312,5 +8312,3 @@ public object FfiConverterSequenceTypeToolImage: FfiConverterRustBuffer<List<Too
8312
8312
  }
8313
8313
  )
8314
8314
  }
8315
-
8316
-
@@ -10,18 +10,15 @@
10
10
  <key>HeadersPath</key>
11
11
  <string>Headers</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64_x86_64-simulator</string>
13
+ <string>ios-arm64</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>libcroche_ffi.a</string>
16
16
  <key>SupportedArchitectures</key>
17
17
  <array>
18
18
  <string>arm64</string>
19
- <string>x86_64</string>
20
19
  </array>
21
20
  <key>SupportedPlatform</key>
22
21
  <string>ios</string>
23
- <key>SupportedPlatformVariant</key>
24
- <string>simulator</string>
25
22
  </dict>
26
23
  <dict>
27
24
  <key>BinaryPath</key>
@@ -29,15 +26,18 @@
29
26
  <key>HeadersPath</key>
30
27
  <string>Headers</string>
31
28
  <key>LibraryIdentifier</key>
32
- <string>ios-arm64</string>
29
+ <string>ios-arm64_x86_64-simulator</string>
33
30
  <key>LibraryPath</key>
34
31
  <string>libcroche_ffi.a</string>
35
32
  <key>SupportedArchitectures</key>
36
33
  <array>
37
34
  <string>arm64</string>
35
+ <string>x86_64</string>
38
36
  </array>
39
37
  <key>SupportedPlatform</key>
40
38
  <string>ios</string>
39
+ <key>SupportedPlatformVariant</key>
40
+ <string>simulator</string>
41
41
  </dict>
42
42
  </array>
43
43
  <key>CFBundlePackageType</key>
@@ -2003,4 +2003,3 @@ uint32_t ffi_croche_ffi_uniffi_contract_version(void
2003
2003
 
2004
2004
  );
2005
2005
  #endif
2006
-
@@ -2003,4 +2003,3 @@ uint32_t ffi_croche_ffi_uniffi_contract_version(void
2003
2003
 
2004
2004
  );
2005
2005
  #endif
2006
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h1r-ai/croche-react-native",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,11 +20,11 @@
20
20
  "THIRD-PARTY-NOTICES"
21
21
  ],
22
22
  "peerDependencies": {
23
- "@h1r-ai/croche": "0.5.1",
23
+ "@h1r-ai/croche": "0.5.2",
24
24
  "react-native": ">=0.76"
25
25
  },
26
26
  "devDependencies": {
27
- "@h1r-ai/croche": "0.5.1"
27
+ "@h1r-ai/croche": "0.5.2"
28
28
  },
29
29
  "codegenConfig": {
30
30
  "name": "CrocheRuntimeSpec",