composable_agents 3.0.0 → 3.1.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13903597d02eeacf544613b91cf9c60de076d39ecd2f3cd22b549e8a992646aa
|
|
4
|
+
data.tar.gz: 33bfbf930e6a4e43d87efadecbc1efc8a4ccf8ba29f804757b53c281d1db702f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9102890f35cef152fa02cd9ec0a2ce960b27112c4e3134865accee7c7e8b1eb8e53914ca8030543b4c35a72dfe0d7a5c07c6172d61152c90cead8bdc4183b030
|
|
7
|
+
data.tar.gz: 5e0c71dd4d3aefd7b02a1e4183151d85e7b6ea5f8eb498589e2d5dde099ff4706d10d186dfa214c665bbffb30b74eaed9c8f4b2fe0ab4e81e6f5e238ed979ff5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [v3.1.0](https://github.com/Muriel-Salvan/composable_agents/compare/v3.0.0...v3.1.0) (2026-11-01 13:55:18)
|
|
2
|
+
|
|
3
|
+
## Global changes
|
|
4
|
+
### Patches
|
|
5
|
+
|
|
6
|
+
* [feat(cline): introduce ClineError and extract MissingSkillError](https://github.com/Muriel-Salvan/composable_agents/commit/ba02df7d666c96c7cfc23a1b5a7eb92274a9e496)
|
|
7
|
+
|
|
8
|
+
## Changes for cline
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* [feat(cline): introduce ClineError and extract MissingSkillError](https://github.com/Muriel-Salvan/composable_agents/commit/ba02df7d666c96c7cfc23a1b5a7eb92274a9e496)
|
|
12
|
+
|
|
1
13
|
# [v3.0.0](https://github.com/Muriel-Salvan/composable_agents/compare/v2.2.0...v3.0.0) (2026-11-01 12:34:56)
|
|
2
14
|
|
|
3
15
|
## Global changes
|
data/README.md
CHANGED
|
@@ -48,6 +48,7 @@ Whether you're building a code review assistant, a document summarizer, or a mul
|
|
|
48
48
|
- [`ComposableAgents::AiAgents::Agent < PromptDrivenAgent`](#composableagentsaiagentsagent--promptdrivenagent)
|
|
49
49
|
- [`ComposableAgents::Cline::Agent < PromptDrivenAgent`](#composableagentsclineagent--promptdrivenagent)
|
|
50
50
|
- [`ComposableAgents::Cline::MissingSkillError < RuntimeError`](#composableagentsclinemissingskillerror--runtimeerror)
|
|
51
|
+
- [`ComposableAgents::Cline::ClineError < RuntimeError`](#composableagentsclineerror--runtimeerror)
|
|
51
52
|
- [Mixins](#mixins)
|
|
52
53
|
- [`ComposableAgents::Logger < ::Logger`](#composableagentslogger--logger)
|
|
53
54
|
- [`ComposableAgents::Mixins::Resumable`](#composableagentsmixinsresumable)
|
|
@@ -363,6 +364,11 @@ The project is a Ruby library (not a CLI) — users install the gem and use its
|
|
|
363
364
|
- **Description:** Raised by `Cline::Agent` when a referenced skill is not found in the global or project Cline configuration.
|
|
364
365
|
- **Full documentation:** [cline/agent.rb on GitHub](https://github.com/Muriel-Salvan/composable_agents/blob/main/lib/composable_agents/cline/agent.rb)
|
|
365
366
|
|
|
367
|
+
#### `ComposableAgents::Cline::ClineError < RuntimeError`
|
|
368
|
+
|
|
369
|
+
- **Description:** Raised by `Cline::Agent` when a Cline CLI run fails.
|
|
370
|
+
- **Full documentation:** [cline/cline_error.rb on GitHub](https://github.com/Muriel-Salvan/composable_agents/blob/main/lib/composable_agents/cline/cline_error.rb)
|
|
371
|
+
|
|
366
372
|
---
|
|
367
373
|
|
|
368
374
|
### Mixins
|
|
@@ -3,10 +3,6 @@ require 'cline'
|
|
|
3
3
|
module ComposableAgents
|
|
4
4
|
# All agents from this module work with the awesome cline-rb Rubygem
|
|
5
5
|
module Cline
|
|
6
|
-
# Missin skill error
|
|
7
|
-
class MissingSkillError < RuntimeError
|
|
8
|
-
end
|
|
9
|
-
|
|
10
6
|
# Agent implementation that uses an ai-agent's AgentRunner.
|
|
11
7
|
# This agent publishes the following run information:
|
|
12
8
|
# - usage [Hash] Cumulative usage of the API requests (cost and tokens) made during the run.
|
|
@@ -168,7 +164,7 @@ module ComposableAgents
|
|
|
168
164
|
end,
|
|
169
165
|
**@cli_options
|
|
170
166
|
)
|
|
171
|
-
raise "Error: #{extract_error_message(result[:error])}".strip if result[:error]
|
|
167
|
+
raise ClineError, "Error: #{extract_error_message(result[:error])}".strip if result[:error]
|
|
172
168
|
|
|
173
169
|
# Keep the context in case we need to resume it
|
|
174
170
|
if cline_cli.session&.messages
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: composable_agents
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Muriel Salvan
|
|
@@ -82,6 +82,8 @@ files:
|
|
|
82
82
|
- lib/composable_agents/ai_agents/tools/get_artifact_tool.rb
|
|
83
83
|
- lib/composable_agents/artifacts_errors_max_retries_exceeded_error.rb
|
|
84
84
|
- lib/composable_agents/cline/agent.rb
|
|
85
|
+
- lib/composable_agents/cline/cline_error.rb
|
|
86
|
+
- lib/composable_agents/cline/missing_skill_error.rb
|
|
85
87
|
- lib/composable_agents/instructions.rb
|
|
86
88
|
- lib/composable_agents/logger.rb
|
|
87
89
|
- lib/composable_agents/logger/tagged.rb
|