Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bedriyan/medkit-app
/ functions
Functions
381 in github.com/bedriyan/medkit-app
⨍
Functions
381
◇
Types & classes
97
↳
Endpoints
12
Function
getActive
()
src/components/three/interactions.ts:45
Function
getAll
()
src/components/three/interactions.ts:36
Method
getCurrentEmotion
()
src/voice/conversation.ts:217
Function
getJson
(path: string)
src/agents/managedAgent.ts:76
Method
getMouthAmplitude
Live mouth amplitude from the AnalyserNode tapped onto the remote * audio track. 0..1, usable directly as a mouth-open factor.
src/voice/conversation.ts:199
Function
get_session
Fetch a session's status + usage. Used by debug tooling; the frontend hook doesn't need this path day-to-day.
backend/server.py:862
Function
gradePrescription
( diagnosisId: string, prescribedIds: string[], )
src/data/medications.ts:1708
Function
handleInteract
(kind: 'desk' | 'bed' | 'triage', bedIndex?: number)
src/components/EncounterScreen.tsx:291
Function
handleTalk
(bedIndex: number | null)
src/components/EncounterScreen.tsx:301
Function
health
Frontend polls this before showing the attending dock so a missing API key or unbootstrapped agent surfaces a clearer error than a blank SSE f
backend/server.py:120
Function
isCategoryAllowedForSpecialty
( category: MedicationCategory, specialty: ClinicId, )
src/data/medications.ts:1634
Function
listImagingVariants
(testId: string)
src/data/radiologyImages.ts:1639
Function
list_events
Paginated history — used by the browser on reconnect to backfill events emitted while the SSE stream was down.
backend/server.py:905
Function
medicationCategories
()
src/data/medications.ts:1665
Function
medicationClasses
()
src/data/medications.ts:1533
Function
middleware
(request: Request)
middleware.ts:15
Function
onAbort
()
src/agents/managedAgent.ts:166
Function
onChange
()
src/components/EncounterScreen.tsx:203
Function
onDown
(e: KeyboardEvent)
src/components/EncounterScreen.tsx:60
Function
onDown
(e: KeyboardEvent)
src/components/three/Player.tsx:75
Function
onGesture
()
src/components/BackgroundMusic.tsx:49
Function
onKey
(e: KeyboardEvent)
src/components/ExamineOverlay.tsx:29
Function
onKey
(e: KeyboardEvent)
src/components/EncounterScreen.tsx:230
Function
onKey
(e: KeyboardEvent)
src/components/SplashScreen.tsx:8
Function
onSubmitAll
()
src/components/ExamineOverlay.tsx:1133
Function
onUp
(e: KeyboardEvent)
src/components/EncounterScreen.tsx:66
Function
onUp
(e: KeyboardEvent)
src/components/three/Player.tsx:98
Function
onWheel
(e: WheelEvent)
src/components/EncounterScreen.tsx:51
Function
patient_stream
(req: PatientStreamRequest)
backend/server.py:1337
Function
pickAvatar
( age: number, gender: 'M' | 'F', seed?: string, )
src/data/avatarModels.ts:229
Function
preloadStylizedCharacter
()
src/components/three/StylizedCharacter.tsx:670
Function
readMuted
()
src/components/BackgroundMusic.tsx:7
Function
refresh_agent
Push the current in-file system prompt + custom tools up to the existing Agent object, creating a new version. Existing sessions keep their pi
backend/server.py:786
Function
register
(i: Interactable)
src/components/three/interactions.ts:26
Function
require_shared_secret
(request: Request, call_next)
backend/server.py:90
Method
reset
()
src/voice/conversation.ts:537
Function
restoreLog
()
scripts/test/loop-commands.test.ts:37
Function
sendInterrupt
(sessionId: string)
src/agents/managedAgent.ts:122
Method
sendTextMessage
Text-chat turn — used by PatientChatPanel. Routes through the legacy * /agent/patient/stream so it doesn't fight the live voice session.
src/voice/conversation.ts:500
Function
send_events
(session_id: str, request: Request)
backend/server.py:879
Function
setActive
(id: string | null)
src/components/three/interactions.ts:39
Method
setUp
(self)
backend/tests/test_vault.py:47
Method
setUp
(self)
backend/tests/test_triage.py:160
Function
shuffle
()
src/components/CaseLibraryScreen.tsx:191
Method
startListening
Back-compat no-op. Real-time means mic is always live.
src/voice/conversation.ts:384
Method
stopListeningAndRespond
Back-compat no-op. The agent decides turn boundaries via VAD.
src/voice/conversation.ts:392
Function
stream_events
SSE passthrough. Each Managed-Agents event becomes one SSE ``event:``/``data:`` pair so EventSource in the browser can dispatch by type.
backend/server.py:926
Function
stream_worker
()
backend/smoke_test.py:169
Function
subscribe
(fn: () => void)
src/components/three/interactions.ts:48
Method
test_bare_fence_is_stripped
(self)
backend/tests/test_triage.py:119
Method
test_empty_patient_id_returns_400
(self)
backend/tests/test_vault.py:133
Method
test_empty_response_raises_502
(self)
backend/tests/test_triage.py:141
Method
test_endpoint_returns_response_from_mocked_client
(self)
backend/tests/test_triage.py:163
Method
test_invalid_esi_level_raises_502
(self)
backend/tests/test_triage.py:132
Method
test_json_fence_is_stripped
(self)
backend/tests/test_triage.py:113
Method
test_known_patient_returns_record
(self)
backend/tests/test_vault.py:51
Method
test_log_line_never_contains_vault_token
(self)
backend/tests/test_vault.py:99
Method
test_lookup_tool_registered_in_MEDKIT_CUSTOM_TOOLS
(self)
backend/tests/test_vault.py:158
Method
test_malformed_json_raises_502
(self)
backend/tests/test_triage.py:125
Method
test_missing_patient_id_returns_422
(self)
backend/tests/test_vault.py:129
Method
test_missing_red_flags_defaults_to_empty_list
(self)
backend/tests/test_triage.py:147
Method
test_response_body_never_contains_vault_token
(self)
backend/tests/test_vault.py:75
Method
test_response_headers_never_contain_vault_token
(self)
backend/tests/test_vault.py:87
Method
test_second_known_patient
(self)
backend/tests/test_vault.py:67
Method
test_system_prompt_contains_esi_rules
(self)
backend/tests/test_triage.py:78
Method
test_unknown_patient_returns_404
(self)
backend/tests/test_vault.py:122
Method
test_user_message_summarizes_the_patient
(self)
backend/tests/test_triage.py:89
Method
test_uses_opus_4_7
(self)
backend/tests/test_triage.py:72
Method
test_vault_never_references_token_in_tool_description
(self)
backend/tests/test_vault.py:162
Method
test_vault_not_configured_returns_503
(self)
backend/tests/test_vault.py:140
Method
test_well_formed_response_parses
(self)
backend/tests/test_triage.py:104
Function
toggle
()
src/components/BackgroundMusic.tsx:82
Function
totalGuidelinesAvailable
()
src/agents/debriefRequest.ts:239
Function
treatmentById
(id: string)
src/data/treatments.ts:25
Function
triage_classify
Opus 4.7 one-shot ESI classification for ER arrivals. Separate from the Managed Agent event stream — this is a stateless direct inference endp
backend/server.py:1303
Function
unregister
(id: string)
src/components/three/interactions.ts:29
Function
vault_ehr_lookup
Look up a patient's EHR record through the credential vault. The browser calls this in response to an ``agent.custom_tool_use`` for ``lookup_
backend/server.py:1092
Function
verifyDataIntegrity
()
scripts/verify/data-integrity.ts:35
Function
verifyThreeScene
()
scripts/verify/three-scene.ts:17
Function
verifyTriagePriority
()
scripts/verify/triage-priority.ts:35
Function
voice_token
(req: VoiceTokenRequest)
backend/server.py:1419
← previous
301–381 of 381, ranked by callers