capacitor-apple-intelligence 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +18 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -4,12 +4,12 @@ A production-ready Capacitor v8 plugin that exposes **Apple Intelligence** with
4
4
 
5
5
  ## Features
6
6
 
7
- - 🧠 **On-device AI** - Uses Apple's Foundation Models framework for local, private inference
8
- - 📋 **Schema-constrained output** - Guarantees JSON output matching your provided schema
9
- - 🔄 **Automatic retry** - Retries generation once if validation fails
10
- - **Runtime validation** - Validates output against JSON schema before returning
11
- - 🔒 **Privacy-first** - No network calls, all processing happens on-device
12
- - 📱 **iOS only** - Designed specifically for Apple Intelligence on iOS 26+
7
+ - **On-device AI** - Uses Apple's Foundation Models framework for local, private inference
8
+ - **Schema-constrained output** - Guarantees JSON output matching your provided schema
9
+ - **Automatic retry** - Retries generation once if validation fails
10
+ - **Runtime validation** - Validates output against JSON schema before returning
11
+ - **Privacy-first** - No network calls, all processing happens on-device
12
+ - **iOS only** - Designed specifically for Apple Intelligence on iOS 26+
13
13
 
14
14
  ## Requirements
15
15
 
@@ -18,7 +18,18 @@ A production-ready Capacitor v8 plugin that exposes **Apple Intelligence** with
18
18
  - **Xcode 26+**
19
19
  - **Apple Silicon device** (iPhone 15 Pro or later, or M-series iPads)
20
20
 
21
- > ⚠️ **Note**: Apple Intelligence must be enabled on the device for this plugin to work.
21
+ **Note**: Apple Intelligence must be enabled on the device for this plugin to work.
22
+
23
+ ## Example App
24
+
25
+ A fully functional example app is included in the [`example/`](./example) directory. It demonstrates all plugin methods with a clean UI:
26
+
27
+ - JSON generation with schema validation
28
+ - Plain text generation
29
+ - Language-specific text generation
30
+ - Availability checking
31
+
32
+ See the [example README](./example/README.md) for setup instructions.
22
33
 
23
34
  ## Installation
24
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-apple-intelligence",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Capacitor v8 plugin for Apple Intelligence with schema-constrained JSON generation for structured AI responses",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -77,4 +77,4 @@
77
77
  "src": "ios"
78
78
  }
79
79
  }
80
- }
80
+ }