claude_swarm 0.1.13 → 0.1.14

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: 57e09297e72fe54ef127b5f7b5789c9e9d825279404ffa96c29f2ff0e7fbc622
4
- data.tar.gz: 6e1d719d97d2f8fefa4ec8d0e9396e5fba867012b94d88d915247aea18690523
3
+ metadata.gz: 84e312dafa827cdd4e47476f06dde741574b6d3592a41f0f4461758e04c7a2ed
4
+ data.tar.gz: dc2d25cbd5524074543902ce715dbd239a0701e450444f1012fc2c0fe96a37c9
5
5
  SHA512:
6
- metadata.gz: 8ad9a411c8bc503829927ea534fed74e9f525dd62d68fc6eb9978667afdb40435b9bac0c13320c097f1f41556a8d50215c723c8066dec7366cf7d847d07a7e9e
7
- data.tar.gz: 490824249ac673b7904f05a084d2ff0190a1034529a9302f423d00e965cd7c793b519b1d8e318a36a1e58af80706cb1fda80dd507af525b45f7df26299abd3f9
6
+ metadata.gz: 912831b498945b3aad80bfd8fac504e661150bce3f82aa0b69c0e74034f7d4b40faaf0f75bafabe44152fa030ec2ca85d0f7ed56e112a29c6b26f5927875c4c0
7
+ data.tar.gz: 7cc1775698b209bfde6564324ca8fddd85a0a7bfcb869faea7d0f8572b8c2d2e64ff55f9b393d12a7d1beca96a0f615e304de0ab53da2d99f67ce6d72fa77b13
data/CHANGELOG.md CHANGED
@@ -1,4 +1,12 @@
1
- ## [Unreleased]
1
+ ## [0.1.14]
2
+
3
+ ### Changed
4
+ - **Working directory behavior**: Swarms now run from the directory where `claude-swarm` is executed, not from the directory containing the YAML configuration file
5
+ - Instance directories in the YAML are now resolved relative to the launch directory
6
+ - Session restoration properly restores to the original working directory
7
+ - Fixes issues where relative paths in YAML files would resolve differently depending on config file location
8
+
9
+ ## [0.1.13]
2
10
 
3
11
  ### Added
4
12
  - **Session restoration support (Experimental)**: Session management with the ability to resume previous Claude Swarm sessions. Note: This is an experimental feature with limitations - the main instance's conversation context is not fully restored
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Claude Swarm
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/claude_swarm.svg?cache_bust=0.1.12)](https://badge.fury.io/rb/claude_swarm)
3
+ [![Gem Version](https://badge.fury.io/rb/claude_swarm.svg?cache_bust=0.1.13)](https://badge.fury.io/rb/claude_swarm)
4
4
  [![CI](https://github.com/parruda/claude-swarm/actions/workflows/ci.yml/badge.svg)](https://github.com/parruda/claude-swarm/actions/workflows/ci.yml)
5
5
 
6
6
  Claude Swarm orchestrates multiple Claude Code instances as a collaborative AI development team. It enables running AI agents with specialized roles, tools, and directory contexts, communicating via MCP (Model Context Protocol) in a tree-like hierarchy. Define your swarm topology in simple YAML and let Claude instances delegate tasks through connected instances. Perfect for complex projects requiring specialized AI agents for frontend, backend, testing, DevOps, or research tasks.
@@ -49,7 +49,7 @@ module ClaudeSwarm
49
49
  end
50
50
 
51
51
  begin
52
- config = Configuration.new(config_path)
52
+ config = Configuration.new(config_path, base_dir: Dir.pwd)
53
53
  generator = McpGenerator.new(config, vibe: options[:vibe])
54
54
  orchestrator = Orchestrator.new(config, generator,
55
55
  vibe: options[:vibe],
@@ -9,7 +9,8 @@ module ClaudeSwarm
9
9
 
10
10
  def initialize(config_path, base_dir: nil)
11
11
  @config_path = Pathname.new(config_path).expand_path
12
- @config_dir = base_dir || @config_path.dirname
12
+ @config_dir = @config_path.dirname
13
+ @base_dir = base_dir || @config_dir
13
14
  load_and_validate
14
15
  end
15
16
 
@@ -168,7 +169,7 @@ module ClaudeSwarm
168
169
  end
169
170
 
170
171
  def expand_path(path)
171
- Pathname.new(path).expand_path(@config_dir).to_s
172
+ Pathname.new(path).expand_path(@base_dir).to_s
172
173
  end
173
174
  end
174
175
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClaudeSwarm
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: claude_swarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Arruda