@nbardy/oompa 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@
40
40
  ;; Enum Validators
41
41
  ;; =============================================================================
42
42
 
43
- (def agent-types #{:codex :claude})
43
+ (def agent-types #{:codex :claude :opencode})
44
44
  (def agent-roles #{:proposer :reviewer :cto})
45
45
  (def task-statuses #{:pending :in-progress :review :approved :merged :failed :blocked})
46
46
  (def worktree-statuses #{:available :busy :dirty :stale})
@@ -123,7 +123,7 @@
123
123
  ;; =============================================================================
124
124
 
125
125
  ;; TaskId <- non-blank-string?
126
- ;; AgentType <- agent-type? (:codex, :claude)
126
+ ;; AgentType <- agent-type? (:codex, :claude, :opencode)
127
127
  ;; AgentRole <- agent-role? (:proposer, :reviewer, :cto)
128
128
  ;; TaskStatus <- task-status?
129
129
  ;; WorktreeStatus <- worktree-status?
@@ -135,7 +135,7 @@
135
135
  ;;
136
136
  ;; Task <- {:id string, :summary string, :targets [string], ...}
137
137
  ;; Worktree <- {:id string, :path string, :branch string, :status keyword}
138
- ;; AgentConfig <- {:type :codex|:claude, :model string, :sandbox keyword}
138
+ ;; AgentConfig <- {:type :codex|:claude|:opencode, :model string, :sandbox keyword}
139
139
  ;; ReviewFeedback <- {:verdict :approved|:needs-changes|:rejected, :comments [string]}
140
140
  ;; MergeResult <- {:status :merged|:conflict|:failed, :source-branch string, ...}
141
- ;; OrchestratorConfig <- {:worker-count int, :harness :codex|:claude, :model string, :dry-run bool}
141
+ ;; OrchestratorConfig <- {:worker-count int, :harness :codex|:claude|:opencode, :model string, :dry-run bool}
@@ -111,6 +111,7 @@
111
111
  [task]
112
112
  (move-task! task CURRENT_DIR COMPLETE_DIR))
113
113
 
114
+
114
115
  (defn unclaim-task!
115
116
  "Return a task to pending (mv current → pending). Returns task or nil."
116
117
  [task]