feat(agent): deprecate and completely remove cline agent support
- Delete adapters/cline.py and unregister from registry.py - Remove cline branches from lib.sh and all 8 skill scripts (create, resume, stop, status, reconcile, update_yaml_resumed, resolve_session_id, orc_onboard) - Narrow own-key mapping dictionaries across lib_py core modules to 4 supported agents - Delete cline-exclusive tests and retarget shared fixtures to grok/hermes/claude - Update skills documentation and installation guides (439 passed, 0 failures) - Archive cline deprecation consensus and review reports
This commit is contained in:
@@ -23,7 +23,17 @@ def run_lock_cmd(action, marker_path, env=None):
|
||||
def acquire_bg(marker_path, sleep_secs=10):
|
||||
cmd = f"source '{LOCK_SCRIPT}' && mam_acquire_loop_lock '{marker_path}' && sleep {sleep_secs}"
|
||||
proc = subprocess.Popen(["bash", "-c", cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
||||
time.sleep(0.3)
|
||||
for _ in range(40):
|
||||
time.sleep(0.05)
|
||||
if marker_path.is_file():
|
||||
try:
|
||||
content = marker_path.read_text()
|
||||
if f"pid={proc.pid}" in content:
|
||||
break
|
||||
except Exception:
|
||||
pass
|
||||
if proc.poll() is not None:
|
||||
break
|
||||
return proc
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user