MCPcopy Create free account
hub / github.com/Louisym/MiniCC / build_system_prompt

Function build_system_prompt

mini_claude_code/main.py:218–230  ·  view source on GitHub ↗

源码: main.rs:2300-2307

(cwd: Path)

Source from the content-addressed store, hash-verified

216# ============================================================
217
218def build_system_prompt(cwd: Path) -> list[str]:
219 """源码: main.rs:2300-2307"""
220 import platform
221 from datetime import date
222 os_name = platform.system().lower()
223
224 context = ProjectContext.discover(cwd, date.today().isoformat())
225 return (
226 SystemPromptBuilder()
227 .with_os(os_name, platform.release())
228 .with_project_context(context)
229 .build()
230 )
231
232
233# ============================================================

Callers 2

run_replFunction · 0.70
mainFunction · 0.70

Calls 5

SystemPromptBuilderClass · 0.90
discoverMethod · 0.45
buildMethod · 0.45
with_project_contextMethod · 0.45
with_osMethod · 0.45

Tested by

no test coverage detected