Second deep audit→build→verify pass; all products typecheck clean. - gitgram-web (100): fix feed pagination, reel drafts, 6 gaps - gitgram-backend (99): add admin/moderator role checks to moderation routes; wire backend-e2e CI (Postgres+Redis services); 5 gaps - gitgram-mobile (97): fix broken create-reel flow; 11 gaps - aitm-core (98): dedupe vendored CLI command registrations; real vector search with local fallback; 7 gaps - aitm-api (99): replace hash-based embeddings with real OpenAI/Voyage embeddings (+ checkpoints test_status migration 0008); 8 gaps - aitm-mcp (99): add X-API-Key to workspace tool proxy calls; 8 gaps - aitm-website (94): fix annual billing checkout; 5 gaps Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 lines
495 B
TypeScript
15 lines
495 B
TypeScript
import { NextRequest, NextResponse } from 'next/server'
|
|
import { errorResponse, proxyAitmGet } from '../../_lib'
|
|
|
|
/** GET — conversation context for a checkpoint. */
|
|
export async function GET(
|
|
_req: NextRequest,
|
|
{ params }: { params: { checkpointId: string } },
|
|
): Promise<NextResponse> {
|
|
const checkpointId = params.checkpointId
|
|
if (!checkpointId) {
|
|
return errorResponse('checkpointId is required', 400)
|
|
}
|
|
return proxyAitmGet(`/context/${encodeURIComponent(checkpointId)}`)
|
|
}
|