aidp 0.9.5 → 0.9.6
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.
- checksums.yaml +4 -4
- data/lib/aidp/harness/ui/enhanced_tui.rb +28 -0
- data/lib/aidp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f524705593a3496a0959020afc83df09af23091ac3fe057e1e63e995598cd3ca
|
4
|
+
data.tar.gz: cf5e3b842c2a0e2976b1e5d49698ec1394d588122c8e20fabcc6225c069231bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 656cbf7e645cf77062014d1c83b62555e57cdd9e4c7752ceb93d8b79baad1e2e91038a7d810735aff49ae097e5c22e06a6897c9fc58de7fba8e98fddc9706e98
|
7
|
+
data.tar.gz: 47a07ad75ce545dba7ba73746f8444f30e4a8c0da1cee1e92d6d3b7a020c8e30010dfb266a84f0cf0f5d4aad6f8c7085283cbd7b6bff9f1c641d205270d1d4f1
|
@@ -226,6 +226,34 @@ module Aidp
|
|
226
226
|
end
|
227
227
|
end
|
228
228
|
|
229
|
+
# Job management methods - interface for EnhancedRunner
|
230
|
+
def add_job(job_id, job_data)
|
231
|
+
@jobs[job_id] = {
|
232
|
+
id: job_id,
|
233
|
+
name: job_data[:name] || job_id,
|
234
|
+
status: job_data[:status] || :pending,
|
235
|
+
progress: job_data[:progress] || 0,
|
236
|
+
provider: job_data[:provider],
|
237
|
+
message: job_data[:message],
|
238
|
+
created_at: Time.now
|
239
|
+
}
|
240
|
+
end
|
241
|
+
|
242
|
+
def update_job(job_id, updates)
|
243
|
+
return unless @jobs[job_id]
|
244
|
+
|
245
|
+
@jobs[job_id].merge!(updates)
|
246
|
+
@jobs[job_id][:updated_at] = Time.now
|
247
|
+
end
|
248
|
+
|
249
|
+
def remove_job(job_id)
|
250
|
+
@jobs.delete(job_id)
|
251
|
+
end
|
252
|
+
|
253
|
+
def show_input_area(message)
|
254
|
+
@prompt.say("📝 #{message}", color: :cyan)
|
255
|
+
end
|
256
|
+
|
229
257
|
private
|
230
258
|
|
231
259
|
def extract_questions_for_step(step_name)
|
data/lib/aidp/version.rb
CHANGED