mirror of
https://github.com/przeprogramowani/10x-cli.git
synced 2026-09-19 03:30:01 +08:00
fc20d322fb
Pass the resolved tool profile id through fetchLesson's options bag so the API can substitute universalContent for non-Claude learners. Mirrors the existing fetchArtifact precedent in the same file. - src/lib/api-content.ts: add optional tool? to fetchLesson options; emit ?tool= when present - src/commands/get.ts: pass profile.toolId at both fetchLesson call sites (install flow + print/filter flow) - tests/helpers/api-content-mock.ts: widen fetchLessonImpl signature - tests/get-command.test.ts: add three propagation tests Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>