MCPcopy Create free account

hub / github.com/bedriyan/medkit-app / functions

Functions381 in github.com/bedriyan/medkit-app

FunctionCollapsibleSection
({ icon, label, count, tone, extra, children, defaultOpen = false, }: { icon: string; label:
src/components/ExamineOverlay.tsx:537
FunctionCornerPlant
Tall corner plant — fiddle-leaf-ish silhouette. Adds vertical interest.
src/components/three/Polyclinic.tsx:2337
FunctionCorridorSign
({ position, rotationY = 0, title, }: { position: [number, number, number]; rotationY?: number; ti
src/components/three/Polyclinic.tsx:2419
FunctionCriterion
({ status, text, evidence, cite }: CriterionProps)
src/components/DebriefScreen.tsx:147
FunctionCriterionGroup
({ title, items, labelMap, }: { title: string; items: CriterionResult[]; labelMap: Map<string, str
src/components/DebriefScreen.tsx:823
FunctionCrosshair
()
src/components/EncounterScreen.tsx:124
FunctionCuteFace
({ size = 120, skin = '#FFD8B5', hair = '#3B2A1F', mood = 'neutral', accessory, }: CuteFaceProps)
src/components/primitives.tsx:66
FunctionDebriefScreen
()
src/components/DebriefScreen.tsx:485
FunctionDetailsDrawer
({ node, nodeMap, onClose, }: { node: NodeDef | null; nodeMap: Map<string, NodeDef>; onClose: () =
src/components/AgenticRoundsScreen.tsx:867
FunctionDiagnoseTab
({ patient, onDispatch, onGoToRx, submitted, }: { patient: NonNullable<ReturnType<typeof useGameStat
src/components/ExamineOverlay.tsx:876
FunctionDiagramCanvas
({ selectedId, onSelect, }: { selectedId: string | null; onSelect: (id: string | null) => void; })
src/components/AgenticRoundsScreen.tsx:551
FunctionDiploma
Framed diploma — canvas texture gives it the parchment/gold/seal look.
src/components/three/Polyclinic.tsx:1231
FunctionDockedVoicePanel
({ patientName, patientLabel }: Props)
src/components/DockedVoicePanel.tsx:19
FunctionDoctorChair
Executive chair for the doctor (behind the desk).
src/components/three/Polyclinic.tsx:736
FunctionDoctorDesk
Wide consultation desk — faces into the room (+z). Houses the computer * archive interactable at its center. The monitor renders an EMR card * pop
src/components/three/Polyclinic.tsx:528
FunctionDomainRing
({ label, score }: DomainRingProps)
src/components/DebriefScreen.tsx:61
FunctionDoodle
({ kind, size = 50, color, style }: DoodleProps)
src/components/primitives.tsx:164
FunctionDoodleScatter
({ items }: { items: DoodleScatterItem[] })
src/components/primitives.tsx:460
FunctionDoor
({ label, sub, color, doorColor, available, locked, tags = [], onOpen }: DoorProps)
src/components/ModeSelectScreen.tsx:15
FunctionDoorFrame
()
src/components/three/Polyclinic.tsx:2529
FunctionDoorLeaf
({ open, side }: { open: boolean; side: 'left' | 'right' })
src/components/three/Polyclinic.tsx:2441
FunctionEdgeLabel
({ edge }: { edge: EdgeDef })
src/components/AgenticRoundsScreen.tsx:661
FunctionEdgePath
({ edge }: { edge: EdgeDef })
src/components/AgenticRoundsScreen.tsx:641
FunctionEncounterScreen
()
src/components/EncounterScreen.tsx:171
FunctionEndConfirmScreen
()
src/components/EndConfirmScreen.tsx:18
FunctionEvaluationBody
({ evaluation, patient, c }: BodyProps)
src/components/DebriefScreen.tsx:621
FunctionExamBed
Classic examination couch — padded vinyl top, paper roll at the head, * chrome/steel frame with casters, step at the foot. Radiates "real * clinic
src/components/three/Polyclinic.tsx:1781
FunctionExamLight
Pendant (hanging) light — ceiling canopy, straight cord, brass/enamel * cone shade. Replaces the older articulated exam arm, which felt * out-of-l
src/components/three/Polyclinic.tsx:2009
FunctionExamineOverlay
({ onClose, onDispatch }: Props)
src/components/ExamineOverlay.tsx:22
FunctionFilingCabinet
4-drawer filing cabinet.
src/components/three/Polyclinic.tsx:1381
FunctionFirstAidCabinet
Wall-mounted first-aid cabinet with a big green cross — a piece of * real clinic signage for an otherwise bare wall. Thinner than the * MedicineCa
src/components/three/Polyclinic.tsx:1863
FunctionFloatingVoicePanel
({ bedPosition, bedRotationY = 0, headOffset, patient, }: Props)
src/components/three/FloatingVoicePanel.tsx:19
FunctionFloor
()
src/components/three/Polyclinic.tsx:142
FunctionFloorBooks
Stack of books on the floor — "the doctor who reads" vibe.
src/components/three/Polyclinic.tsx:2374
FunctionFloorStripe
({ zStart, zEnd, x, color }: { zStart: number; zEnd: number; x: number; color: string })
src/components/three/Polyclinic.tsx:260
FunctionFramedPhoto
Framed photograph — warm personal touch on the wall. Canvas texture is * a simple "scene" (horizon + sun) so it reads as a picture, not a poster.
src/components/three/Polyclinic.tsx:2279
FunctionGPRoomScreen
()
src/components/GPRoomScreen.tsx:35
FunctionGradingProgress
({ partialNarration }: { partialNarration: string })
src/components/DebriefScreen.tsx:356
FunctionGradingTab
()
src/components/AgenticRoundsScreen.tsx:519
FunctionHistoryScreen
()
src/components/HistoryScreen.tsx:79
FunctionHistoryTab
({ patient }: { patient: NonNullable<ReturnType<typeof useGameState>['polyclinic']['patient']> })
src/components/ExamineOverlay.tsx:288
FunctionHomeScreen
()
src/components/HomeScreen.tsx:148
FunctionKbd
({ children }: { children: React.ReactNode })
src/components/EncounterScreen.tsx:151
FunctionLaneLabel
({ y, label, sub }: { y: number; label: string; sub: string })
src/components/AgenticRoundsScreen.tsx:622
FunctionLegend
()
src/components/AgenticRoundsScreen.tsx:817
FunctionLegend
({ color, label }: { color: string; label: string })
src/components/HistoryScreen.tsx:70
FunctionLighting
A seated human figure — torso upright, legs forward at 90°, arms on * the thighs. Used for BOTH the patient in the patient chair and the * doctor
src/components/three/Polyclinic.tsx:328
FunctionLoader
()
src/components/EncounterScreen.tsx:101
FunctionMedicineCabinet
Glass-front medicine cabinet with labeled bottles on shelves.
src/components/three/Polyclinic.tsx:1330
FunctionModeSelectScreen
()
src/components/ModeSelectScreen.tsx:160
FunctionNode
({ node, selected, onClick, }: { node: NodeDef; selected: boolean; onClick: () => void; })
src/components/AgenticRoundsScreen.tsx:707
FunctionNodeCard
({ node, onSelect }: NodeCardProps)
src/components/AgentTopologyScreen.tsx:344
FunctionOnboardingScreen
()
src/components/OnboardingScreen.tsx:40
FunctionOutdoorBackdrop
Painted sky/skyline backdrop that sits BEYOND the left wall, visible * through the window opening cut into it. Big enough to fill the view * from
src/components/three/Polyclinic.tsx:2158
FunctionPatientChair
Padded armchair for the patient. Rotated so the sitter faces the desk. * Rounded edges everywhere — visually coherent with the stylized * characte
src/components/three/Polyclinic.tsx:280
FunctionPatientFace
({ name = 'Aisha', style = 'cute', skin = '#FFD8B5', hair = '#3B2A1F', size = 120, mood = 'neutral
src/components/primitives.tsx:21
FunctionPipelineStrip
({ steps }: { steps: PipelineStep[] })
src/components/AgenticRoundsScreen.tsx:1286
FunctionPlant
({ flip = false }: { flip?: boolean })
src/components/ModeSelectScreen.tsx:146
FunctionPlayer
({ spawn = [0, DEFAULT_HEIGHT, 8], colliders, onInteract, onTalk, height = DEFAULT_HEIGHT, locked
src/components/three/Player.tsx:38
FunctionPolyclinic
({ voiceActive = false, onCloseVoice, }: { voiceActive?: boolean; onCloseVoice?: () => void; } = {})
src/components/three/Polyclinic.tsx:2734
FunctionPortraitFace
({ size = 120, skin = '#FFD8B5', hair = '#3B2A1F' }: { size?: number; skin?: string; hair?: string })
src/components/primitives.tsx:111
FunctionPulse
({ pathId, delay, duration, color, size = 7 }: PulseParams)
src/components/AgentTopologyScreen.tsx:308
FunctionResultsTab
({ patient }: { patient: NonNullable<ReturnType<typeof useGameState>['polyclinic']['patient']> })
src/components/ExamineOverlay.tsx:631
FunctionRug
Large rug under the exam area. The layers are separated vertically by a * few millimetres each — otherwise they z-fight with the floor plane (and *
src/components/three/Polyclinic.tsx:1947
FunctionRxTab
({ patient, onDispatch, unlocked, }: { patient: NonNullable<ReturnType<typeof useGameState>['polyclini
src/components/ExamineOverlay.tsx:1067
FunctionSeatedDoctorInteractable
The seated doctor doesn't walk around, so the "interactable" idea boils * down to: E/T acts on the patient when one is seated, otherwise E opens *
src/components/three/Polyclinic.tsx:2552
FunctionSection
({ title, children }: { title: string; children: React.ReactNode })
src/components/AgenticRoundsScreen.tsx:1025
FunctionSectionLabel
({ children }: { children: React.ReactNode })
src/components/DebriefScreen.tsx:806
FunctionSideTable
Small side table next to the patient chair.
src/components/three/Polyclinic.tsx:1968
FunctionSkeleton
Anatomical teaching skeleton on a wheeled stand. Full-height human * silhouette assembled from simple primitives — reads as a classroom * skeleton
src/components/three/Polyclinic.tsx:1550
FunctionSmallStat
({ label, value }: { label: string; value: string })
src/components/AgenticRoundsScreen.tsx:1632
FunctionSpecialtyPoster
({ position, rotationY = 0, title, subtitle, }: { position: [number, number, number]; rotationY?:
src/components/three/Polyclinic.tsx:2388
FunctionSpeechBubble
({ children }: { children: ReactNode })
src/components/primitives.tsx:491
FunctionSplashScreen
()
src/components/SplashScreen.tsx:5
FunctionStat
({ big, sub, out }: StatProps)
src/components/HomeScreen.tsx:44
FunctionStatusBanner
({ title, body, bg, }: { title: string; body: string; bg: string; })
src/components/DebriefScreen.tsx:293
FunctionStylizedCharacter
({ pose, walkCycle = 0, age = 35, gender = 'M', seed, position = [0, 0, 0], rotationY = 0, doc
src/components/three/StylizedCharacter.tsx:136
FunctionTestsTab
({ patient }: { patient: NonNullable<ReturnType<typeof useGameState>['polyclinic']['patient']> })
src/components/ExamineOverlay.tsx:362
FunctionTopBar
({ here = 0, steps = ['Polyclinic'], showProfile = true, }: TopBarProps)
src/components/primitives.tsx:341
FunctionTrendChart
()
src/components/HistoryScreen.tsx:22
FunctionVital
({ icon, label, value, unit, tone, }: { icon: string; label: string; value: string; unit: st
src/components/ExamineOverlay.tsx:253
FunctionWalkingPatient
Walks the patient in from the corridor to the patient chair, then hides * itself so the seated figure takes over. On patient clear, plays walk-out.
src/components/three/Polyclinic.tsx:2604
FunctionWall
({ position, args, color = PALETTE.wall }: { position: [number, number, number]; args: [number, number, number
src/components/three/Polyclinic.tsx:197
FunctionWallClock
Wall clock — round face with hour/minute hands. Hands sweep every frame.
src/components/three/Polyclinic.tsx:1413
FunctionWallDiplomas
A wall-hung group of three framed diplomas on the back wall.
src/components/three/Polyclinic.tsx:1279
FunctionWallTrim
Wainscot (lower wall panel) + chair-rail trim + crown molding at the ceiling, * rendered as a thin veneer in front of the existing wall. Provides th
src/components/three/Polyclinic.tsx:209
FunctionWaterCooler
Water cooler in the corner.
src/components/three/Polyclinic.tsx:2048
FunctionWindow
Window on the left wall with muntins, sill, and a painted view beyond * the glass — blue sky, city skyline, a tree. The actual "sunlight" is * sti
src/components/three/Polyclinic.tsx:2190
FunctionWordmark
({ size = 36, dark = false }: WordmarkProps)
src/components/primitives.tsx:405
Method__init__
(self)
backend/smoke_test.py:93
Method__init__
(self)
backend/tests/test_vault.py:174
Function_on_farewell
(data: rtc.RpcInvocationData)
backend/voice_agent.py:132
FunctionaddTyped
(etype: string)
src/agents/managedAgent.ts:215
Functionbootstrap_agent
Idempotent: creates the medkit attending agent + environment if MEDKIT_AGENT_ID and MEDKIT_ENV_ID aren't set; otherwise returns the cached IDs
backend/server.py:715
FunctionclearAllPatientConversations
()
src/voice/conversationStore.ts:82
FunctionclearEvalHistory
()
src/data/evalHistory.ts:81
Methodconstructor
( audioCtx: AudioContext, listeners: ConversationListeners = {}, options: ConversationOptions = {}
src/voice/conversation.ts:135
Functioncreate_session
(req: CreateSessionRequest)
backend/server.py:836
Methodemit
(self, record: logging.LogRecord)
backend/tests/test_vault.py:178
Functionentrypoint
(ctx: agents.JobContext)
backend/voice_agent.py:84
← previousnext →201–300 of 381, ranked by callers