aidp 0.39.4 → 0.39.5

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: 2273bf6348dba0ce645aea184d73d46aaabd45a18e4fd5c65be22923d1606072
4
- data.tar.gz: 7fbbba56702bd463f5ebbab091ddbfc4a86356398146b846da3ce8f075a46af7
3
+ metadata.gz: f767d63a1b99780dea93363789887567438011070d46e9727fd7d3558550a15e
4
+ data.tar.gz: bd798644b221602d87fc5467034c7f9f4f9065171a4ff57d774a9724921dc421
5
5
  SHA512:
6
- metadata.gz: 27285e87a7ca6ff48261e30c195ce760a4711659fae8f7c09c96063746fd890eac11fbb5b6d9702ba1be4821c80f05219552515e165b46d37928759599c00be4
7
- data.tar.gz: 12d320bd070deb8799af473de1baa96773300f7af8c20cde043985fd5b09ae46b3e7b61eeaa06df2d51d935584300d94746cf059172d523b031b7c5ddff0abe8
6
+ metadata.gz: 44a22817f9c83b68944a108e9b7c209c715d29ea870f13ac418ffc65ff2da540c32e3bb504b67315e21a506adf135fef6e581b01a3a8e6667e6f946f4dedc811
7
+ data.tar.gz: b5002ce0e576f0b1289542eb10c17932eff12acdda18912fb0ae90822ebe98ebf0e88fdaa585408e6e750190e6bd3d3d190eaa39de033aad6c4f09e615749bbe
@@ -5,7 +5,7 @@ module Aidp
5
5
  # Manages queued instructions and plan modifications during work loop execution
6
6
  # Instructions are merged into PROMPT.md at the next iteration
7
7
  class InstructionQueue
8
- Instruction = Struct.new(:content, :type, :priority, :timestamp, keyword_init: true)
8
+ Instruction = Struct.new(:content, :type, :priority, :timestamp)
9
9
 
10
10
  INSTRUCTION_TYPES = {
11
11
  user_input: "USER_INPUT", # Direct user instructions
@@ -21,8 +21,7 @@ module Aidp
21
21
  :completed_at,
22
22
  :abandoned_at,
23
23
  :abandoned_reason,
24
- :tags,
25
- keyword_init: true
24
+ :tags
26
25
  ) do
27
26
  def to_h
28
27
  super.compact
@@ -7,7 +7,7 @@ require_relative "../logger"
7
7
  module Aidp
8
8
  module Execute
9
9
  class WorkLoopUnitScheduler
10
- Unit = Struct.new(:type, :name, :definition, keyword_init: true) do
10
+ Unit = Struct.new(:type, :name, :definition) do
11
11
  def agentic?
12
12
  type == :agentic
13
13
  end
@@ -19,7 +19,7 @@ module Aidp
19
19
  # results.each { |r| puts "#{r[:file]}: #{r[:errors].join(", ")}" }
20
20
  class Validator
21
21
  # Validation result structure
22
- ValidationResult = Struct.new(:tool_id, :file_path, :valid, :errors, :warnings, keyword_init: true)
22
+ ValidationResult = Struct.new(:tool_id, :file_path, :valid, :errors, :warnings)
23
23
 
24
24
  # Initialize validator with tool metadata collection
25
25
  #
@@ -261,7 +261,7 @@ module Aidp
261
261
  # Detect primary language from file extensions
262
262
  def detect_language(files)
263
263
  extensions = files.map { |f| File.extname(f) }.compact
264
- ext_counts = extensions.each_with_object(Hash.new(0)) { |ext, counts| counts[ext] += 1 }
264
+ ext_counts = extensions.tally
265
265
 
266
266
  language_map = {
267
267
  ".rb" => "Ruby",
@@ -28,7 +28,7 @@ module Aidp
28
28
 
29
29
  # Enhanced result with framework information
30
30
  Result = Struct.new(:test_commands, :lint_commands, :formatter_commands,
31
- :frameworks, keyword_init: true) do
31
+ :frameworks) do
32
32
  # Get test commands with their detected framework
33
33
  def test_command_frameworks
34
34
  @test_command_frameworks ||= {}
@@ -41,7 +41,7 @@ module Aidp
41
41
  end
42
42
 
43
43
  # Information about a detected command
44
- CommandInfo = Struct.new(:command, :framework, :flags, keyword_init: true)
44
+ CommandInfo = Struct.new(:command, :framework, :flags)
45
45
 
46
46
  def self.detect(root = Dir.pwd)
47
47
  new(root).detect
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.39.4"
4
+ VERSION = "0.39.5"
5
5
  end
@@ -20,8 +20,7 @@ module Aidp
20
20
  :started_at,
21
21
  :completed_at,
22
22
  :duration,
23
- :error,
24
- keyword_init: true
23
+ :error
25
24
  )
26
25
 
27
26
  # @param project_dir [String] root directory of the project
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.39.4
4
+ version: 0.39.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan