MCPcopy Create free account

hub / github.com/algal/sparky / functions

Functions744 in github.com/algal/sparky

Methodempty_stream
Empty stream for provider.
sparky_mvp/core/state_machine.py:533
Methodengine
(self)
tests/test_stt_engine.py:38
Methodengine
(self)
tests/test_stt_engine.py:80
Functionexec_message
(args)
openclaw_configs/workspace/skills/solveit-tools/bin/solveit_tools.py:70
Methodfailing_send
(text)
tests/test_spontaneous_speech.py:300
Methodfake_check_state
()
tests/test_spontaneous_gestures.py:117
Methodfast_run
()
tests/test_spontaneous_speech.py:199
Methodfeed
()
tests/test_webrtc_apm.py:207
Methodfeed
()
tests/test_webrtc_aecm.py:103
Methodfeed
Stream in PCM chunk. Returns a list of sway dicts, one per hop (HOP_MS). Args: pcm: np.ndarray, shape (N,) or (C,N)/(N,C); int or
sparky_mvp/robot/speech_tapper.py:160
Methodfeed_speaker
()
tests/test_echo_canceller.py:311
Methodfeed_speaker_wav
(self, wav_bytes: bytes)
sparky_mvp/core/webrtc_aecm.py:186
Methodfileno
(self)
main.py:96
Methodfinish_reason
Get finish reason.
sparky_mvp/core/streaming.py:85
Methodget_latest_frame
(self)
tools/node_camera_smoke_test.py:63
Methodget_latest_frame
(self)
tests/test_openclaw_node_client.py:88
Methodget_latest_frame
(self)
tests/test_face_tracking.py:166
Methodget_read_available
(self)
tests/test_echo_canceller.py:272
Methodget_read_available
(self)
tests/test_vad_capture.py:446
Methodget_status
Return a lightweight status snapshot for observability.
sparky_mvp/robot/moves.py:807
Methodis_connected
(self)
sparky_mvp/core/openclaw_gateway_client.py:196
Methodis_connected
(self)
sparky_mvp/core/openclaw_node_client.py:300
Methodis_error
Check if this is an error chunk.
sparky_mvp/core/streaming.py:197
Methodis_finish
Check if this is a finish chunk.
sparky_mvp/core/streaming.py:193
Methodis_idle
Return True when the robot has been inactive longer than the idle delay.
sparky_mvp/robot/moves.py:362
Methodis_speaking
(cls)
sparky_mvp/core/middlewares/direct_tts.py:192
Methodis_speaking
(cls)
sparky_mvp/core/middlewares/testbench_tts.py:146
Methodis_text
Check if this is a text chunk.
sparky_mvp/core/streaming.py:181
Methodis_tool_call
Check if this is a tool call chunk.
sparky_mvp/core/streaming.py:185
Methodis_tool_notification
Check if this is a tool notification chunk.
sparky_mvp/core/streaming.py:189
Methodlast_result_reason
Reason label for the most recent capture_speech() termination.
sparky_mvp/core/vad_capture.py:189
Functionlook_at_scene
Look through the robot's camera and describe the scene. Captures the current camera frame, analyzes basic properties, and returns a descripti
sparky_mvp/tools/tool_handlers.py:39
Methodmetadata
Get metadata dictionary.
sparky_mvp/core/streaming.py:90
Methodmock_audio_stream
Create mock PyAudio stream.
tests/test_vad_capture.py:85
Methodmock_audio_stream
(self)
tests/test_vad_capture.py:485
Methodn_speakers
(self)
sparky_mvp/core/speaker_id.py:102
Methodplay_with_cancellation_check
Play audio to Reachy speaker, checking for cancellation.
sparky_mvp/core/middlewares/tts.py:353
Methodprocess
()
tests/test_webrtc_apm.py:214
Methodprocess
()
tests/test_webrtc_aecm.py:110
Methodprocess
Process the stream and yield transformed chunks. Args: stream: Input stream of chunks Yields: Trans
sparky_mvp/core/streaming.py:218
Methodprocess
(self, stream: AsyncIterator[StreamChunk])
sparky_mvp/core/middlewares/direct_tts.py:109
Methodprocess
Send user message to OpenClaw Gateway and yield streaming chunks. Ignores the input stream (source middleware).
sparky_mvp/core/middlewares/openclaw_provider.py:67
Methodprocess
Process stream and yield only chunks that pass the predicate. Args: stream: Input stream of chunks Yields:
sparky_mvp/core/middlewares/filter.py:29
Methodprocess
Process stream and yield complete sentences. Args: stream: Input stream of chunks Yields: StreamChu
sparky_mvp/core/middlewares/sentence_buffer.py:25
Methodprocess
Process stream and trigger TTS for sentence chunks only. Args: stream: Input stream of chunks Yields:
sparky_mvp/core/middlewares/tts.py:87
Methodprocess
Process stream and trigger TTS for sentence chunks, with interrupt support. Args: stream: Input stream of chunks
sparky_mvp/core/middlewares/tts.py:484
Methodprocess
(self, stream: AsyncIterator[StreamChunk])
sparky_mvp/core/middlewares/testbench_tts.py:78
Methodprocess_mic
()
tests/test_echo_canceller.py:318
Methodprocess_mic_chunk
(self, mic_pcm: bytes)
sparky_mvp/core/webrtc_apm.py:177
Methodprocess_mic_chunk
(self, mic_pcm: bytes)
sparky_mvp/core/webrtc_aecm.py:201
Methodread
(self, n, exception_on_overflow=False)
tests/test_vad_capture.py:364
Methodread
(self, n, exception_on_overflow=False)
tests/test_vad_capture.py:442
Methodread
(self, n_frames: int, exception_on_overflow: bool = False)
sparky_mvp/core/resampling_stream.py:47
Functionread_dialog
(args)
openclaw_configs/workspace/skills/solveit-tools/bin/solveit_tools.py:50
Methodreader
()
tests/test_face_tracking.py:135
Functionrecord_fixed_wav
(seconds: float)
tools/baseline_listen_transcribe.py:128
Methodrecv
(self)
tests/test_openclaw_node_client.py:64
Methodrecv
(self)
tests/test_openclaw_gateway_client.py:92
Methodreset
Reset state (VAD/env/buffers/time) but keep initial phases/seed.
sparky_mvp/robot/speech_tapper.py:148
Methodrole
Get message role.
sparky_mvp/core/streaming.py:80
Functionrun_dialog
(args)
openclaw_configs/workspace/skills/solveit-tools/bin/solveit_tools.py:98
Methodsend
(self, data: str)
tests/test_openclaw_node_client.py:75
Methodsend
(self, data: str)
tests/test_openclaw_gateway_client.py:104
Methodset_moving_state
Mark the robot as actively moving for the provided duration. Legacy hook used by goto helpers to keep inactivity and breathing logic
sparky_mvp/robot/moves.py:354
Methodset_speech_offsets
Update speech-induced secondary offsets (x, y, z, roll, pitch, yaw). Offsets are interpreted as metres for translation and radians for
sparky_mvp/robot/moves.py:344
Methodstats
(self)
sparky_mvp/core/webrtc_apm.py:263
Methodstats
Return AEC processing stats.
sparky_mvp/core/echo_canceller.py:211
Methodstats
(self)
sparky_mvp/core/webrtc_aecm.py:282
Methodstop_after_delay
()
tests/test_openclaw_node_client.py:319
Methodstop_soon
()
tests/test_spontaneous_speech.py:346
Methodtest_16k_wav_passthrough
(self)
tests/test_echo_canceller.py:239
Methodtest_24k_wav_resampled
(self)
tests/test_echo_canceller.py:245
Methodtest_aborted_state_terminates
Server-sent state='aborted' should yield ERROR and stop.
tests/test_openclaw_gateway_client.py:747
Methodtest_action_list_returns_all_actions
(self)
tests/test_gentle_actions.py:146
Methodtest_action_perform_missing_action_returns_error
(self)
tests/test_gentle_actions.py:250
Methodtest_action_perform_no_mm_returns_error
(self)
tests/test_gentle_actions.py:233
Methodtest_action_perform_queues_move
(self)
tests/test_gentle_actions.py:168
Methodtest_action_perform_unknown_returns_error
(self)
tests/test_gentle_actions.py:215
Methodtest_action_perform_with_params
(self)
tests/test_gentle_actions.py:194
Methodtest_activation_resets_deadline_for_post_activation_timeout
Late activation should get its own post-activation timeout window.
tests/test_vad_capture.py:387
Methodtest_all_actions_create_move
(self)
tests/test_gentle_actions.py:115
Methodtest_all_actions_have_create
(self)
tests/test_gentle_actions.py:110
Methodtest_all_actions_have_description
(self)
tests/test_gentle_actions.py:105
Methodtest_all_handlers_are_async
Test all tool handlers are async functions.
tests/test_tool_handlers.py:102
Methodtest_all_handlers_execute_without_error
Test all handlers can be called and return strings.
tests/test_tool_handlers.py:122
Methodtest_all_handlers_have_definitions
Test all handlers have corresponding definitions.
tests/test_tool_handlers.py:80
Methodtest_all_keys_are_strings
(self)
tests/test_spontaneous_gestures.py:35
Methodtest_all_moves_start_at_neutral
At t=0, all moves should produce near-neutral poses.
tests/test_gentle_actions.py:91
Methodtest_all_prompts_have_spontaneous_tag
(self)
tests/test_spontaneous_speech.py:125
Methodtest_all_weights_are_positive
(self)
tests/test_spontaneous_gestures.py:39
Methodtest_antenna_wiggle_decays
(self)
tests/test_gentle_actions.py:84
Methodtest_assistant_stream_ignored
event:agent stream=assistant should not produce events (redundant).
tests/test_openclaw_gateway_client.py:423
Methodtest_bad_challenge_raises
(self)
tests/test_openclaw_node_client.py:131
Methodtest_bad_challenge_raises
(self)
tests/test_openclaw_gateway_client.py:147
Methodtest_build_result
(self)
tests/test_stt_engine.py:173
Methodtest_camera_snap_respects_max_width
camera.snap should respect maxWidth param.
tests/test_openclaw_node_client.py:206
Methodtest_camera_snap_respects_quality
camera.snap should respect quality param (0.0-1.0 float).
tests/test_openclaw_node_client.py:226
Methodtest_camera_snap_returns_base64
camera.snap should return ok=true with base64 JPEG payload.
tests/test_openclaw_node_client.py:175
Methodtest_cancellation_handled
CancelledError should propagate cleanly from run().
tests/test_spontaneous_speech.py:283
Methodtest_capture_returns_none_with_no_frame
(self)
tests/test_face_tracking.py:162
← previousnext →401–500 of 744, ranked by callers