Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

curated2: !28

Duarte Santosa65287de0f25
diff --cc mcp/src/tools.js
index 07db2f530,d615b8569..3d20b40fc
--- a/mcp/src/tools.js
+++ b/mcp/src/tools.js
@@@ -95,7 -82,8 +95,8 @@@ export const listRoutines =
emoji: r.emoji || null,
exercise_count: (r.ex || []).length,
superset_groups: [...new Set((r.ex || []).map(e => e.sg).filter(Boolean))].length || 0,
- policy: policyFor(null, r, 'reps')
- policy: r.policy || 'off',
++ policy: policyFor(null, r, 'reps'),
+ exclude_from_progression: r.excludeFromProgression === true
}))
}
}
@@@ -115,11 -103,12 +116,12 @@@ export const getRoutine =
id: r.id,
name: r.name,
emoji: r.emoji || null,
- policy: r.policy || 'off',
- policy_name: policyName(r.policy || 'off'),
+ policy: policyFor(null, r, 'reps'),
+ policy_name: policyName(policyFor(null, r, 'reps')),
+ exclude_from_progression: r.excludeFromProgression === true,
unit: S.unit || 'kg',
exercises: (r.ex || []).map((cfg, i) => {
- const ex = exOr(cfg.id)
+ const ex = exerciseOf(cfg.id, S)
const mode = modeOf(cfg)
return {
position: i + 1,