Add all features + L&L Customizations - installer script for L&L-compatible installs + AutoPreset/FoodFinder/LoopInsights#2
Open
taylorpatterson-T1D wants to merge 8 commits intomainfrom
Open
Conversation
Chore: update dev version to 3.11.0
Point Loop submodule at TaylorJPatterson/Loop feat/AllFeatures branch which merges all three feature branches onto dev. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
a9fb0ab to
8a71d01
Compare
8a71d01 to
ef10ba1
Compare
Provides an alternative install method where users run a script on a standard Loop clone after applying any L&L customizations. The script uses anchor-based text insertion and 3-way merges to adapt to whatever patches are already present, making all L&L customizations compatible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ef10ba1 to
2b26878
Compare
- Fetch dev from feature remote as diff base (available even when user clones main) - Make Localizable.xcstrings checkout conditional (main uses .strings, dev uses .xcstrings) - L&L patches target main, so Option B must use main not dev Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5c5b17b to
f4adda4
Compare
Anchor on "Diabetes Treatment" instead of the ForEach line so our features (FoodFinder, LoopInsights, AutoPresets) appear right after Therapy Settings. If L&L Profiles is installed, it ends up below our features instead of above. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f4adda4 to
bbe20aa
Compare
Replace str | None union syntax (requires Python 3.10+) with Optional[str] from typing so the script works on Python 3.6+. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Install FoodFinder + LoopInsights + AutoPresets
Adds AI-powered food analysis, therapy settings insights, and automatic preset management to Loop. Use this approach even if you only want to test a single feature - Feature toggles exist for each of them.
For full detail about these features you can refer to these PRs:
AutoPresets - LoopKit/Loop#2402
FoodFinder - LoopKit/Loop#2404
LoopInsights - LoopKit/Loop#2405
Option A: xCode quick Install (most users) - "Just the basic stuff, please"
If you don't need Loop & Learn customizations (Profiles, Basal Lock, etc.), use this. One command:
Then open
LoopWorkspace/LoopWorkspace.xcworkspacein Xcode → select your signing team → Cmd+R. That's it.Option B: xCode install with L&L Customizations - "I want it all!"
If you want Loop & Learn patches (Profiles, Basal Lock, Negative Insulin, etc.) alongside our features, use this path instead.
B1. Build Loop with THIS Build Select Script
Copy and paste into Terminal:
Choose Build Loop and select the MAIN branch. Full instructions: LoopDocs — Build with Mac
DO NOT BUILD IN XCODE YET
B2. Stay in the script and add your desired L&L customizations
Pick whatever L&L patches you want: Loop and Learn — Custom Code
B3. Install my features (AutoPresets + FoodFinder + LoopInsights)
Copy and paste into Terminal:
B4. Build in Xcode
Open
LoopWorkspace.xcworkspace→ select your signing team → Cmd+R.To uninstall (Option B only)
For Option A, just delete the folder. For Option C, just delete your fork.
L&L Compatibility (Option B)
Any combination of L&L patches works. Apply them first, then run our installer — it adapts automatically.
The installer fetches its own dev reference for diffing, so it works regardless of which branch you cloned. L&L patches target main, and the installer's 3-way merge adapts to whatever state the files are in.
Tested with all 4 overlapping L&L patches applied simultaneously:
Option C: Browser Build (no Mac required)
Build directly from GitHub using GitHub Actions — no Xcode or Mac needed.
C1. Fork this repository
Go to github.com/TaylorJPatterson/LoopWorkspace and click Fork.
C2. Switch to the
feat/AllFeaturesbranchIn your fork, use the branch dropdown to switch to
feat/AllFeatures.C3. Set up your secrets
Follow the standard LoopDocs — Browser Build instructions to configure your GitHub secrets (GH_PAT, TEAMID, FASTLANE_KEY_ID, FASTLANE_ISSUER_ID, FASTLANE_KEY, MATCH_PASSWORD).
C4. Run the build
Go to Actions → 4. Build Loop → Run workflow → select the
feat/AllFeaturesbranch → click Run workflow.Your build will be uploaded to TestFlight automatically. Updates from this repo sync to your fork automatically on a weekly schedule.
After installing (any option)
All features are off by default. Turn them on in Loop Settings:
Enter your AI API key (OpenAI, Anthropic, or Google) in FoodFinder Settings. LoopInsights shares the same key.