@getpapillon/papillonkit
v1.1.0
Published
Siri, Spotlight and Apple Intelligence for Papillon on iOS
Readme
PapillonKit
Native iOS layer for Papillon.
- Siri & Spotlight: next course, next homework, indexed courses and homework.
- Widgets: native SwiftUI “Emploi du temps” and “Tâches”.
- Apple Intelligence: on-device
generateText()andgenerateObject().
Works from iOS 17: widgets from iOS 17, Siri and Spotlight from iOS 27, Apple Intelligence from iOS 26 on an iPhone 15 Pro or later. PapillonKit.features says what the device supports; the rest does nothing.
Install
bun add @getpapillon/papillonkitplugins: ["@getpapillon/papillonkit"]Tests
bun run testRuns the JS API and config plugin tests, typechecks the iOS code for iOS 17, 26 and 27, then runs the Swift tests on the Mac (Xcode 27 required). The Foundation Models tests only run when Apple Intelligence is on.
