MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _session_start

Function _session_start

tests/test_hook_compact.py:75–83  ·  view source on GitHub ↗
(source, tmp_path, *, sid=SID)

Source from the content-addressed store, hash-verified

73
74
75def _session_start(source, tmp_path, *, sid=SID):
76 return _guard("compact", {
77 "session_id": sid,
78 "transcript_path": f"/home/u/.claude/projects/p/{sid}.jsonl",
79 "cwd": str(tmp_path),
80 "hook_event_name": "SessionStart",
81 "source": source,
82 "model": "claude-opus-4-1",
83 }, tmp_path)
84
85
86def _kind(out):

Calls 1

_guardFunction · 0.85

Tested by

no test coverage detected