dirge-agent 0.14.2

Minimalistic coding agent written in Rust, optimized for memory footprint and performance
1
2
3
4
5
6
7
8
9
10
11
# Slash command for the `turn_timer` plugin. Loaded last (per
# alphabetical order) so the var refs resolve cleanly.

(defn timer-stats-handler [_args]
  (if (= turn-count 0)
    "no turns recorded yet"
    (string "turns: " turn-count
            " | total elapsed: " total-elapsed-ms "s"
            " | avg: " (/ total-elapsed-ms turn-count) "s")))

(harness/register-command "timer-stats" "timer-stats-handler")