MCPcopy Index your code
hub / github.com/cft0808/edict / state_from_session

Function state_from_session

scripts/sync_from_openclaw_runtime.py:34–41  ·  view source on GitHub ↗
(age_ms, aborted)

Source from the content-addressed store, hash-verified

32
33
34def state_from_session(age_ms, aborted):
35 if aborted:
36 return 'Blocked'
37 if age_ms <= 2 * 60 * 1000:
38 return 'Doing'
39 if age_ms <= 60 * 60 * 1000:
40 return 'Review'
41 return 'Next'
42
43
44def detect_official(agent_id):

Callers 1

build_taskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected