Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CHfaithwy/Lumo
/ functions
Functions
597 in github.com/CHfaithwy/Lumo
⨍
Functions
597
◇
Types & classes
24
↓ 1 callers
Method
_record_tool_progress
(self, task_state, progress_state, name, args, metadata)
lumo/agent_loop.py:268
↓ 1 callers
Function
_recovery_variant_summary
(rows)
lumo/evaluation/metrics.py:1560
↓ 1 callers
Method
_render_compression_prompt
(self, template, history_text)
lumo/context_manager.py:392
↓ 1 callers
Method
_render_stale_read_history_item
(self, item)
lumo/context_manager.py:502
↓ 1 callers
Method
_request_rewrite_prompt
(self, user_message)
lumo/runtime.py:1234
↓ 1 callers
Method
_request_rewrite_template
(self)
lumo/runtime.py:1231
↓ 1 callers
Method
_run
(self, user_message)
lumo/agent_loop.py:339
↓ 1 callers
Function
_run_grep_fallback
(context, args)
lumo/tools.py:787
↓ 1 callers
Function
_run_id
(value)
lumo/run_store.py:12
↓ 1 callers
Function
_run_memory_task_variant
(task, variant)
lumo/evaluation/metrics.py:387
↓ 1 callers
Function
_run_memory_variant
(mode)
lumo/evaluation/metrics.py:290
↓ 1 callers
Function
_run_real_repeated_call_scenario
(provider)
lumo/evaluation/metrics.py:1037
↓ 1 callers
Function
_run_recovery_task_variant
(task, variant)
lumo/evaluation/metrics.py:1525
↓ 1 callers
Function
_run_rg_command
(context, args)
lumo/tools.py:636
↓ 1 callers
Function
_run_shell_bg_timeout
(args)
lumo/tools.py:363
↓ 1 callers
Function
_scripted_outputs_for_task
(task)
lumo/evaluation/evaluator.py:176
↓ 1 callers
Function
_set_irrelevant_memory
(agent)
lumo/evaluation/metrics.py:273
↓ 1 callers
Function
_setup_real_security_workspace
(workspace_root, scenario_id)
lumo/evaluation/metrics.py:1013
↓ 1 callers
Method
_should_keep_full_assistant_terminal_message
(text)
lumo/runtime.py:1105
↓ 1 callers
Method
_stale_read_indexes
(self, history)
lumo/runtime.py:721
↓ 1 callers
Function
_strip_ansi
(text)
lumo/cli.py:89
↓ 1 callers
Function
_strip_quotes
(value)
lumo/config.py:11
↓ 1 callers
Function
_summarize_read_window
(relative_path, offset, selected_lines, has_more, next_offset)
lumo/tools.py:878
↓ 1 callers
Function
_synthetic_untracked_patch
(repo_root, relative_path)
lumo/git_tools.py:270
↓ 1 callers
Method
_tail_clip_units
(text, limit)
lumo/runtime.py:297
↓ 1 callers
Function
_task_list_limit
(args)
lumo/tools.py:388
↓ 1 callers
Function
_task_list_status
(args)
lumo/tools.py:397
↓ 1 callers
Function
_task_output_limit
(args)
lumo/tools.py:372
↓ 1 callers
Function
_task_output_stream
(args)
lumo/tools.py:381
↓ 1 callers
Function
_terminal_center
(text, width)
lumo/cli.py:136
↓ 1 callers
Method
_text_hash
(text)
lumo/runtime.py:319
↓ 1 callers
Method
_timed_out
(self, record)
lumo/background_tasks.py:250
↓ 1 callers
Method
_todo_lookup
(todos)
lumo/agent_loop.py:67
↓ 1 callers
Method
_todos_complete
(todos)
lumo/agent_loop.py:75
↓ 1 callers
Method
_tool_chain_cursor
(name, args, metadata)
lumo/agent_loop.py:243
↓ 1 callers
Method
_tool_chain_key
(name, args, metadata)
lumo/agent_loop.py:212
↓ 1 callers
Function
_tracked_diff
(repo_root, pathspec, mode)
lumo/git_tools.py:231
↓ 1 callers
Function
_truncate_lumo_instructions
Limit lumo.md by English words/CJK chars, with a hard char cap.
lumo/prompt_prefix.py:51
↓ 1 callers
Function
_truncate_read_history
(agent)
lumo/evaluation/metrics.py:833
↓ 1 callers
Function
_untracked_paths
(repo_root, pathspec)
lumo/git_tools.py:265
↓ 1 callers
Method
_workspace_snapshot_hash
(self)
lumo/runtime.py:313
↓ 1 callers
Method
_write_artifact
(self, artifact)
lumo/evaluation/evaluator.py:604
↓ 1 callers
Method
_write_index
(self, topics)
lumo/features/memory.py:181
↓ 1 callers
Method
_write_topic
(self, topic, notes)
lumo/features/memory.py:191
↓ 1 callers
Function
aggregate_benchmark_artifact
(path)
lumo/evaluation/metrics.py:43
↓ 1 callers
Function
aggregate_run_artifacts
(runs_root)
lumo/evaluation/metrics.py:88
↓ 1 callers
Function
append_note
(state, text, tags=(), source="", created_at=None, workspace_root=None, kind="episodic")
lumo/features/memory.py:466
↓ 1 callers
Method
append_trace
(self, task_state, event)
lumo/run_store.py:67
↓ 1 callers
Method
approve
(self, name, args)
lumo/runtime.py:1947
↓ 1 callers
Method
auto_continue_read_file_args
(self, args)
lumo/runtime.py:824
↓ 1 callers
Method
background_task_stderr_path
(self, run_id, task_id)
lumo/run_store.py:50
↓ 1 callers
Method
background_task_stdout_path
(self, run_id, task_id)
lumo/run_store.py:47
↓ 1 callers
Function
bottom_divider
()
lumo/cli.py:279
↓ 1 callers
Function
build_agent
根据 CLI 参数装配出一个可运行的 Pico 实例。 为什么存在: 命令行参数只是字符串和开关,runtime 需要的是已经装配好的对象图: model client、workspace snapshot、session store、secret 配置等。 这个函
lumo/cli.py:333
↓ 1 callers
Function
build_arg_parser
()
lumo/cli.py:398
↓ 1 callers
Function
build_prompt_prefix
(workspace, tools, built_at=None)
lumo/prompt_prefix.py:101
↓ 1 callers
Function
build_stress_agent_metrics
()
lumo/evaluation/metrics.py:197
↓ 1 callers
Method
build_tools
(self)
lumo/runtime.py:531
↓ 1 callers
Function
build_welcome
(agent, model, host)
lumo/cli.py:264
↓ 1 callers
Function
checkpoint_key_files_from_history
(agent, limit=8)
lumo/checkpoint.py:145
↓ 1 callers
Method
clear_transient_todo_state
(self)
lumo/runtime.py:1119
↓ 1 callers
Function
configured_secret_env_items
(env=None, secret_env_names=None)
lumo/security.py:23
↓ 1 callers
Method
create
(cls, task_id, user_request, run_id="")
lumo/task_state.py:58
↓ 1 callers
Function
default_memory_state
()
lumo/features/memory.py:63
↓ 1 callers
Method
durable_memory_text
(self)
lumo/runtime.py:237
↓ 1 callers
Method
execute
(self, name, args, execution_context=None)
lumo/tool_executor.py:336
↓ 1 callers
Method
extract_durable_promotions
(self, user_message, final_answer)
lumo/runtime.py:1541
↓ 1 callers
Method
extract_raw
(text, tag)
lumo/runtime.py:2162
↓ 1 callers
Function
find_project_env
(start)
lumo/config.py:33
↓ 1 callers
Method
finish_success
(self, final_answer)
lumo/task_state.py:150
↓ 1 callers
Function
format_task_list_text
(listing)
lumo/background_tasks.py:414
↓ 1 callers
Function
format_task_output_text
(output_data)
lumo/background_tasks.py:370
↓ 1 callers
Function
format_task_start_text
(record)
lumo/background_tasks.py:354
↓ 1 callers
Function
format_task_stop_text
(record, stopped)
lumo/background_tasks.py:401
↓ 1 callers
Method
from_session
(cls, model_client, workspace, session_store, session_id, **kwargs)
lumo/runtime.py:165
↓ 1 callers
Function
infer_next_step
(task_state)
lumo/checkpoint.py:135
↓ 1 callers
Function
invalidate_file_summary
(state, path, workspace_root=None)
lumo/features/memory.py:504
↓ 1 callers
Function
invalidate_stale_file_summaries
(state, workspace_root=None)
lumo/features/memory.py:513
↓ 1 callers
Method
invalidate_stale_memory
(self)
lumo/runtime.py:202
↓ 1 callers
Method
latest
(self)
lumo/session_store.py:23
↓ 1 callers
Method
latest_git_diff_path
(self, run_id)
lumo/run_store.py:41
↓ 1 callers
Function
legal_tool_names
()
lumo/tools.py:199
↓ 1 callers
Method
list_tasks
(self, run_id, offset=0, limit=TASK_LIST_DEFAULT_LIMIT, status="all")
lumo/background_tasks.py:180
↓ 1 callers
Method
load
(self, session_id)
lumo/session_store.py:20
↓ 1 callers
Method
load
(self)
lumo/evaluation/evaluator.py:436
↓ 1 callers
Function
load_benchmark
(path=DEFAULT_BENCHMARK_PATH, repo_root=None)
lumo/evaluation/evaluator.py:269
↓ 1 callers
Function
looks_sensitive_env_name
(name)
lumo/security.py:13
↓ 1 callers
Function
main
(argv=None)
lumo/cli.py:432
↓ 1 callers
Function
match
(pattern_index, path_index)
lumo/tools.py:268
↓ 1 callers
Method
new_background_task_id
()
lumo/runtime.py:1623
↓ 1 callers
Method
new_task_id
()
lumo/runtime.py:1619
↓ 1 callers
Method
parse
把模型原始输出解析成 runtime 可执行的动作或最终答案。 为什么存在: 模型输出首先是自然语言文本,而 runtime 需要的是结构化决策: “这是工具调用”还是“这是最终答案”。如果没有这层解析,后面的工具校验、 审批和执行链
lumo/runtime.py:2012
↓ 1 callers
Method
parse_attrs
(text)
lumo/runtime.py:2142
↓ 1 callers
Method
parse_request_plan
(raw_text, original_text)
lumo/runtime.py:1266
↓ 1 callers
Method
parse_todo_update
(raw)
lumo/runtime.py:1961
↓ 1 callers
Method
parse_xml_tool
(raw)
lumo/runtime.py:2119
↓ 1 callers
Function
project_tree
(root, max_entries=MAX_PROJECT_TREE_ENTRIES)
lumo/workspace.py:58
↓ 1 callers
Method
promote
(self, promotions)
lumo/features/memory.py:208
↓ 1 callers
Method
prompt_path
(self, run_id, index)
lumo/run_store.py:35
↓ 1 callers
Method
prompt_visible_history
(self)
lumo/runtime.py:752
← previous
next →
301–400 of 597, ranked by callers