MCPcopy Create free account

hub / github.com/antirez/ds4 / functions

Functions2,709 in github.com/antirez/ds4

↓ 1 callersFunctionagent_progress_bar
ds4_agent.c:8322
↓ 1 callersFunctionagent_prompt_queue_peek
ds4_agent.c:8498
↓ 1 callersFunctionagent_read_stdin_available
ds4_agent.c:9614
↓ 1 callersFunctionagent_search_emit_line
ds4_agent.c:6357
↓ 1 callersFunctionagent_search_file
Search one text file and emit matching lines with plain line numbers. */
ds4_agent.c:6367
↓ 1 callersFunctionagent_search_line_matches
ds4_agent.c:6347
↓ 1 callersFunctionagent_search_path
Recursively search a file or directory, avoiding .git and stopping once the * result cap is reached. */
ds4_agent.c:6414
↓ 1 callersFunctionagent_session_list_free
ds4_agent.c:4988
↓ 1 callersFunctionagent_session_list_push
ds4_agent.c:4996
↓ 1 callersFunctionagent_session_title_clip
ds4_agent.c:4484
↓ 1 callersFunctionagent_session_title_from_file
ds4_agent.c:4495
↓ 1 callersFunctionagent_session_title_from_prompt
ds4_agent.c:4458
↓ 1 callersFunctionagent_slash_command_known
ds4_agent.c:441
↓ 1 callersFunctionagent_span_has_nonspace
ds4_agent.c:5999
↓ 1 callersFunctionagent_stream_dsml_start_match
ds4_agent.c:3256
↓ 1 callersFunctionagent_stream_malformed_dsml
ds4_agent.c:3123
↓ 1 callersFunctionagent_stream_note_thinking_dsml_byte
ds4_agent.c:3318
↓ 1 callersFunctionagent_stream_preflight_closed_param
ds4_agent.c:3162
↓ 1 callersFunctionagent_stream_start_dsml
Start a DSML block from the streaming detector. The detector may accept a * known malformed opening form for robustness, but the parser is seeded wi
ds4_agent.c:3228
↓ 1 callersFunctionagent_string_head
ds4_agent.c:6508
↓ 1 callersFunctionagent_syntax_alias_match
ds4_agent.c:1990
↓ 1 callersFunctionagent_syntax_color
ds4_agent.c:2043
↓ 1 callersFunctionagent_syntax_for_path
ds4_agent.c:2015
↓ 1 callersFunctionagent_syntax_keyword_len
ds4_agent.c:2087
↓ 1 callersFunctionagent_syntax_line_comment
ds4_agent.c:2032
↓ 1 callersFunctionagent_syntax_match_keyword
ds4_agent.c:2093
↓ 1 callersFunctionagent_syntax_number_len
ds4_agent.c:2123
↓ 1 callersFunctionagent_syntax_number_start
ds4_agent.c:2115
↓ 1 callersFunctionagent_tail_append
ds4_agent.c:6880
↓ 1 callersFunctionagent_tail_capture_append
ds4_agent.c:1561
↓ 1 callersFunctionagent_tail_capture_take
ds4_agent.c:1599
↓ 1 callersFunctionagent_tail_has_seq_prefix
ds4_agent.c:8642
↓ 1 callersFunctionagent_tokens_append_range
ds4_agent.c:7294
↓ 1 callersFunctionagent_tokens_equal
ds4_agent.c:3584
↓ 1 callersFunctionagent_tool_call_add_arg
ds4_agent.c:1266
↓ 1 callersFunctionagent_tool_calls_free
ds4_agent.c:1259
↓ 1 callersFunctionagent_tool_edit
Old/new editing is intentionally conservative: exact old text must be unique. * For large replacements, old may contain one [upto] marker: the head m
ds4_agent.c:6267
↓ 1 callersFunctionagent_tool_google_search
ds4_agent.c:6558
↓ 1 callersFunctionagent_tool_job_id
ds4_agent.c:7127
↓ 1 callersFunctionagent_tool_list
ds4_agent.c:5776
↓ 1 callersFunctionagent_tool_more
ds4_agent.c:5739
↓ 1 callersFunctionagent_tool_param_kind_for
ds4_agent.c:2700
↓ 1 callersFunctionagent_tool_pid
ds4_agent.c:7131
↓ 1 callersFunctionagent_tool_read
ds4_agent.c:5728
↓ 1 callersFunctionagent_tool_search
Implement the search tool using either literal matching or POSIX regex. */
ds4_agent.c:6437
↓ 1 callersFunctionagent_tool_visit_page
ds4_agent.c:6574
↓ 1 callersFunctionagent_tool_viz_code_end
ds4_agent.c:2924
↓ 1 callersFunctionagent_tool_viz_dump_invalid_dsml
ds4_agent.c:3081
↓ 1 callersFunctionagent_tool_viz_param_begin
ds4_agent.c:2941
↓ 1 callersFunctionagent_tool_viz_param_is_code_body
ds4_agent.c:2862
↓ 1 callersFunctionagent_tool_viz_param_value_byte
Stream one DSML parameter byte into the visualizer. The visualizer must not * wait for the whole parameter: large write/edit contents should show pr
ds4_agent.c:3036
↓ 1 callersFunctionagent_tool_viz_prefix
ds4_agent.c:2768
↓ 1 callersFunctionagent_tool_viz_read_value_byte
ds4_agent.c:2813
↓ 1 callersFunctionagent_tool_viz_restore_param_color
ds4_agent.c:3027
↓ 1 callersFunctionagent_tool_viz_start
ds4_agent.c:2741
↓ 1 callersFunctionagent_tool_write
ds4_agent.c:5747
↓ 1 callersFunctionagent_worker_clear_session_identity
ds4_agent.c:3645
↓ 1 callersFunctionagent_worker_delete_session
ds4_agent.c:5229
↓ 1 callersFunctionagent_worker_list_sessions
Print resumable sessions from ~/.ds4/kvcache. sysprompt.kv is intentionally * ignored because it is an implementation cache, not a user session. */
ds4_agent.c:5011
↓ 1 callersFunctionagent_worker_maybe_append_datetime_context
ds4_agent.c:1008
↓ 1 callersFunctionagent_worker_maybe_append_system_prompt_reminder
The full tool/system reminder is separate from DSML syntax errors: it is a * pressure-controlled refresh of the same trusted prompt shape used at sta
ds4_agent.c:1032
↓ 1 callersFunctionagent_worker_should_compact
Decide when to compact before an ordinary turn or before appending a large * tool result. The fixed free-token threshold is capped proportionally fo
ds4_agent.c:7255
↓ 1 callersFunctionagent_worker_should_stop
ds4_agent.c:4275
↓ 1 callersFunctionagent_worker_strip_session
Strip the heavy backend payload from a saved session while preserving its * rendered transcript. Loading such a file later tokenizes the text and *
ds4_agent.c:5249
↓ 1 callersFunctionagent_worker_switch_session
Load a saved session KV into the live transcript and optionally replay recent * history for the human. */
ds4_agent.c:5364
↓ 1 callersFunctionagent_worker_wait_distributed_route
ds4_agent.c:4282
↓ 1 callersFunctionagent_write_file_bytes
ds4_agent.c:5818
↓ 1 callersFunctionagent_write_temp_text
ds4_agent.c:6524
↓ 1 callersFunctionagent_yes_no_auto_name
ds4_agent.c:9502
↓ 1 callersFunctionanthropic_live_continuation_prompt
Tool-result Anthropic continuation. * * /v1/messages has no server-side response object like the OpenAI Responses * API, but its tool_use_id is sti
ds4_server.c:8905
↓ 1 callersFunctionanthropic_live_has_call_id
ds4_server.c:8047
↓ 1 callersFunctionanthropic_live_matches_request
ds4_server.c:8070
↓ 1 callersFunctionanthropic_live_remember
ds4_server.c:8012
↓ 1 callersFunctionanthropic_sse_open_tool_block
ds4_server.c:7076
↓ 1 callersFunctionanthropic_sse_stop_live
ds4_server.c:7575
↓ 1 callersFunctionanthropic_sse_tool_blocks_live
ds4_server.c:7527
↓ 1 callersFunctionanthropic_sse_tool_delta_live
Anthropic's input_json_delta carries a fragment of a JSON object, encoded as * a JSON string. We stream exactly the same object that the final DSML
ds4_server.c:7126
↓ 1 callersFunctionanthropic_system_part_is_private
ds4_server.c:1931
↓ 1 callersFunctionanthropic_tool_emit_param_prefix
ds4_server.c:7191
↓ 1 callersFunctionanthropic_tool_finish_param
ds4_server.c:7293
↓ 1 callersFunctionanthropic_tool_start_invoke
ds4_server.c:7237
↓ 1 callersFunctionanthropic_tool_start_param
ds4_server.c:7266
↓ 1 callersFunctionanthropic_tool_stream_has_id
ds4_server.c:7016
↓ 1 callersFunctionanthropic_tool_stream_id
ds4_server.c:7026
↓ 1 callersFunctionanthropic_tool_stream_init
The parser below mirrors the OpenAI tool-delta parser but keeps Anthropic's * content-block lifecycle local. A callback abstraction would save lines
ds4_server.c:7211
↓ 1 callersFunctionanthropic_tool_stream_update
ds4_server.c:7311
↓ 1 callersFunctionappend_anthropic_thinking
ds4_server.c:6850
↓ 1 callersFunctionappend_anthropic_tool_use
ds4_server.c:6836
↓ 1 callersFunctionappend_dsml_arguments_from_json
ds4_server.c:2199
↓ 1 callersFunctionappend_dsml_json_literal
ds4_server.c:2175
↓ 1 callersFunctionappend_json_arg_pair
ds4_server.c:2218
↓ 1 callersFunctionappend_rendered_suffix_to_live_session
ds4_server.c:9552
↓ 1 callersFunctionappend_responses_namespace_tool_schemas
ds4_server.c:1476
↓ 1 callersFunctionappend_tool_heavy_messages
ds4_server.c:14511
↓ 1 callersFunctionappend_tool_heavy_schema
ds4_server.c:14483
↓ 1 callersFunctionappend_tools_prompt_text
ds4_server.c:2022
↓ 1 callersFunctionassignment_sentence
(name: str, word: str)
tests/generate_long_context_story_prompt.py:126
↓ 1 callersFunctionattention_prefix_comp_allowed
ds4.c:8989
↓ 1 callersFunctionbf16_to_f32_bits
gguf-tools/deepseek4-quantize.c:650
↓ 1 callersFunctionbpe_emit_piece
Apply byte-level BPE to one regex-like pre-tokenized piece and emit token ids. */
ds4.c:21978
← previousnext →1,501–1,600 of 2,709, ranked by callers