forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/api/podcast/index.tsClear filter

2026-09-18

🧾 feat(podcast): the studio lists the caller's own episodesAhmet Kaan Gümüş · 37d12e5
🧾 feat(podcast): the studio lists the caller's own episodes

GET /podcast/jobs reads the caller's own history newest-first; the studio had
no surface reading it, so a finished episode was reachable only by remembering
which note produced it. listPodcastJobs wraps the paged door and a new Podcast
History section under the Ses Atölyesi panel renders each row: the note title
(falling back to the source id once the note is gone), a state chip — Hazır /
Hazırlanıyor / Başarısız (with the failure's own code) / İptal edildi — the
created date and the running time when the service has declared one.

Only a done row gets a play control, and it streams through the same job-id
audio door the panel's own player uses (podcastAudioUrl(job_id)). The section
is one-directional: it never starts a generation; when the panel sees a job
reach done it bumps a refetch key and the list pulls the fresh page. An empty
history shows its own state, and a failed list call is contained in an alert
so the rest of the panel keeps working.

New keys land in both locales and the message union, so tsc proves every
locale carries them.

2026-09-17

feat: 🧠 wire the new insights and podcast backend doorsBurak Boduroğlu · ce4dc54
feat: 🧠 wire the new insights and podcast backend doors

- new src/api/insights: /insights/me, one student's insight, the detached
  per-student recompute, the manager-only run ledger and the school-wide
  refresh; both writes answer 202 with a receipt, never the computed rows
- new src/api/podcast: submit a course note for narration, poll the job,
  read a finished job's artifacts, cancel one, and the same-origin audio
  URL an <audio src> takes
- types for ZEKA's read: the nightly summary with its four module members
  left unread, the teacher-facing attention list, recommendation cards,
  the segment profile with its contrast against the student's own level,
  and one run ledger row
- neither domain is a licence module, so both are gated by AI capability
  alone: the detached writes answer 503 when no service serves them and
  queue nothing, and the podcast formats past duz_okuma need the
  service's LLM key
- contract fixtures cover both doors in a world with and without an AI
  service: the reads answer their DTO either way, the writes may refuse
  with 503 but may not 500 or mint a receipt they did not queue

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>