| name | speak-upgrade-migration |
| description | Upgrade Speak SDK versions, migrate between language learning platforms, and handle API version changes.
Use when implementing upgrade migration features,
or troubleshooting Speak language learning integration issues.
Trigger with phrases like "speak upgrade migration", "speak upgrade migration".
|
| allowed-tools | Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep |
| version | 1.14.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","speak","api"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Speak Upgrade & Migration
Overview
Upgrade Speak SDK versions, migrate between language learning platforms, and handle API version changes.
Prerequisites
- Completed
speak-install-auth setup
- Valid API credentials configured
- Understanding of Speak API patterns
Instructions
Current State
!npm list @speak/language-sdk 2>/dev/null || echo 'Speak SDK not installed'
Step 1: Check Current Version
npm list @speak/language-sdk
npm outdated @speak/language-sdk
Step 2: Upgrade SDK
npm install @speak/language-sdk@latest
npm test
Step 3: API Version Migration
const DEPRECATED_ENDPOINTS = [
'/v1/lessons/start',
'/v1/speech/score',
];
const ENDPOINT_MIGRATION = {
'/v1/lessons/start': '/v1/conversations/start',
'/v1/speech/score': '/v1/pronunciation/assess',
};
Step 4: Platform Migration (from Duolingo/Babbel APIs)
interface MigrationMapper {
mapProficiencyLevel(source: string): 'beginner' | 'intermediate' | 'advanced';
mapLanguageCode(source: string): string;
(: ): ;
}
: = {
() {
c = (crowns);
(c < ) ;
(c < ) ;
;
},
: code,
: ({
: duo.,
: duolingoMapper.(duo.),
}),
};