disinto/lib
openhands cbd8c81da8 refactor: extract lib/agent-session.sh — reusable tmux + Claude agent runtime (#158)
Move generic agent infrastructure from dev/dev-agent.sh into lib/agent-session.sh:
- log, status, notify, notify_ctx, read_phase, wait_for_claude_ready,
  inject_into_session, kill_tmux_session extracted verbatim
- create_agent_session(session_name, workdir) — new: tmux session creation
- inject_formula(session_name, formula_text, context) — new: prompt injection
- monitor_phase_loop(phase_file, idle_timeout, callback_fn) — new: phase loop
  with session health check, crash recovery, and idle timeout detection

dev-agent.sh: sources the library, implements _on_phase_change() callback,
calls monitor_phase_loop(); idle-timeout and crash-recovery-failed cleanup
handled via _MONITOR_LOOP_EXIT signal variable. Behavior unchanged.
2026-03-18 14:36:36 +00:00
..
agent-session.sh refactor: extract lib/agent-session.sh — reusable tmux + Claude agent runtime (#158) 2026-03-18 14:36:36 +00:00
ci-debug.sh refactor: make all scripts multi-project via env vars 2026-03-14 13:49:09 +01:00
ci-helpers.sh fix: ci_passed() still lives in dev/dev-poll.sh, not lib/ (#70) 2026-03-18 02:05:54 +00:00
env.sh fix: CODEBERG_WEB not exported from lib/env.sh — other agents may hit the same gap (#129) 2026-03-18 09:40:20 +00:00
load-project.sh feat: per-project Matrix room — load MATRIX_ROOM_ID from project TOML 2026-03-17 08:56:00 +00:00
matrix_listener.service refactor: rebrand dark-factory → disinto (Closes #15) 2026-03-15 17:57:12 +01:00
matrix_listener.sh fix: shellcheck TODO has no enforcement — || true may never be removed (#71) 2026-03-18 01:53:02 +00:00
parse-deps.sh refactor: rewrite parse-deps.py as pure bash, remove only Python from repo 2026-03-16 21:22:53 +01:00