Repository navigation
Pi 1.4.0 compatibility
- Pin all three Pi SDK development and peer dependencies to 1.4.0.
- Update the lockfile and English/Chinese compatibility and installation documentation.
- Keep the existing writing checks, tutoring, translation, and flashcard behavior; no runtime API changes were required.
Requirements and installation
- Pi 1.4.0.
- Node.js 22.19.0 or later.
pi install git:github.com/SunsetWan/pi-language-tutor@v0.1.1The Git tag pins this installation. Existing settings and flashcards keep using the same files. This fork supports only Pi 1.4.0 for this release.
If npm reports that the glimpseui install script was blocked, the native flashcard window needs its build step. On macOS, run this from the installed extension directory (Xcode Command Line Tools required):
npm --prefix node_modules/glimpseui run build:macosThe standard installation and loader were verified in an isolated agent directory. This host blocks npm lifecycle scripts, so native window acceptance used an explicitly built Glimpse binary.
Verification
- Typecheck, 149 tests across 5 files, formatting, and package checks pass.
- Lint reports 0 errors and one pre-existing
no-array-sortwarning. - Offline extension loading and cache-cleared loading register all three commands, the translation shortcut, and the card renderer without errors or warnings.
- Interactive acceptance with an offline faux provider covers settings, writing checks, tutoring, manual and automatic translation, context replay, and reload.
- Native flashcard acceptance covers captured vocabulary, Again repeating a card, and Good persisting the next review date.
- PR, main, and tag CI pass, including release-tag/manifest consistency checks.
- A fresh Git installation of
v0.1.1resolves to81e4e976b2180752124ffafbe79155f584b34720and loads all three commands with no errors or warnings.
Scripted offline responses validate integration and UI behavior, not live model quality or provider cache billing.
What's Changed
- chore(lang): target Pi 1.4.0 by @SunsetWan in #4
- chore(pkg): bump version to 0.1.1 by @SunsetWan in #5
Full Changelog: v0.1.0...v0.1.1