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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12e70b298f80b189c33c7db0a67027086a8441a4fdd5c0ae45045b491c5ca825
4
- data.tar.gz: 1f6445fd7ed137c78e4c6000aac0418d15d00856beea9db9afd4d843aad11b4a
3
+ metadata.gz: f524705593a3496a0959020afc83df09af23091ac3fe057e1e63e995598cd3ca
4
+ data.tar.gz: cf5e3b842c2a0e2976b1e5d49698ec1394d588122c8e20fabcc6225c069231bc
5
5
  SHA512:
6
- metadata.gz: 5fab5f97f7874314f0991cd75260175b7aab803d199bb25ab1223fae0d280a7b6a97a11ff160d90b5bc263fc312bc64bb3c95c32e34e31d960c8ab7a403a8778
7
- data.tar.gz: 9bf30d28286d09e7d25bb23bd3109e422e91518f7e46113949ed27a87cc722046dc8cfd881f00279c6f849173a6a9f4c503d07b519d7cd7ca53d7cd53a71cf67
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aidp
4
- VERSION = "0.9.5"
4
+ VERSION = "0.9.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aidp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan