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 +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +1 -1
- data/lib/claude_swarm/cli.rb +1 -1
- data/lib/claude_swarm/configuration.rb +3 -2
- data/lib/claude_swarm/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: 84e312dafa827cdd4e47476f06dde741574b6d3592a41f0f4461758e04c7a2ed
|
4
|
+
data.tar.gz: dc2d25cbd5524074543902ce715dbd239a0701e450444f1012fc2c0fe96a37c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 912831b498945b3aad80bfd8fac504e661150bce3f82aa0b69c0e74034f7d4b40faaf0f75bafabe44152fa030ec2ca85d0f7ed56e112a29c6b26f5927875c4c0
|
7
|
+
data.tar.gz: 7cc1775698b209bfde6564324ca8fddd85a0a7bfcb869faea7d0f8572b8c2d2e64ff55f9b393d12a7d1beca96a0f615e304de0ab53da2d99f67ce6d72fa77b13
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
## [
|
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
|
-
[](https://badge.fury.io/rb/claude_swarm)
|
4
4
|
[](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.
|
data/lib/claude_swarm/cli.rb
CHANGED
@@ -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 =
|
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(@
|
172
|
+
Pathname.new(path).expand_path(@base_dir).to_s
|
172
173
|
end
|
173
174
|
end
|
174
175
|
end
|
data/lib/claude_swarm/version.rb
CHANGED