claude_agent 0.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 +7 -0
- data/.claude/commands/spec/complete.md +105 -0
- data/.claude/commands/spec/update.md +95 -0
- data/.claude/rules/conventions.md +622 -0
- data/.claude/rules/git.md +86 -0
- data/.claude/rules/pull-requests.md +31 -0
- data/.claude/rules/releases.md +177 -0
- data/.claude/rules/testing.md +267 -0
- data/.claude/settings.json +49 -0
- data/CHANGELOG.md +13 -0
- data/CLAUDE.md +94 -0
- data/LICENSE.txt +21 -0
- data/README.md +679 -0
- data/Rakefile +63 -0
- data/SPEC.md +558 -0
- data/lib/claude_agent/abort_controller.rb +113 -0
- data/lib/claude_agent/client.rb +298 -0
- data/lib/claude_agent/content_blocks.rb +163 -0
- data/lib/claude_agent/control_protocol.rb +717 -0
- data/lib/claude_agent/errors.rb +103 -0
- data/lib/claude_agent/hooks.rb +228 -0
- data/lib/claude_agent/mcp/server.rb +166 -0
- data/lib/claude_agent/mcp/tool.rb +137 -0
- data/lib/claude_agent/message_parser.rb +262 -0
- data/lib/claude_agent/messages.rb +421 -0
- data/lib/claude_agent/options.rb +264 -0
- data/lib/claude_agent/permissions.rb +164 -0
- data/lib/claude_agent/query.rb +90 -0
- data/lib/claude_agent/sandbox_settings.rb +139 -0
- data/lib/claude_agent/spawn.rb +235 -0
- data/lib/claude_agent/transport/base.rb +61 -0
- data/lib/claude_agent/transport/subprocess.rb +432 -0
- data/lib/claude_agent/types.rb +193 -0
- data/lib/claude_agent/version.rb +5 -0
- data/lib/claude_agent.rb +28 -0
- data/sig/claude_agent.rbs +912 -0
- data/sig/manifest.yaml +5 -0
- metadata +97 -0
data/sig/manifest.yaml
ADDED
metadata
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: claude_agent
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Thomas Carr
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activesupport
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '7.0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '7.0'
|
|
26
|
+
description: |
|
|
27
|
+
ClaudeAgent is a Ruby SDK for building autonomous AI agents that interact with
|
|
28
|
+
Claude Code CLI. It provides both simple one-shot queries and interactive
|
|
29
|
+
bidirectional sessions with support for tool use, hooks, permissions, and
|
|
30
|
+
in-process MCP servers.
|
|
31
|
+
email:
|
|
32
|
+
- 9591402+htcarr3@users.noreply.github.com
|
|
33
|
+
executables: []
|
|
34
|
+
extensions: []
|
|
35
|
+
extra_rdoc_files: []
|
|
36
|
+
files:
|
|
37
|
+
- ".claude/commands/spec/complete.md"
|
|
38
|
+
- ".claude/commands/spec/update.md"
|
|
39
|
+
- ".claude/rules/conventions.md"
|
|
40
|
+
- ".claude/rules/git.md"
|
|
41
|
+
- ".claude/rules/pull-requests.md"
|
|
42
|
+
- ".claude/rules/releases.md"
|
|
43
|
+
- ".claude/rules/testing.md"
|
|
44
|
+
- ".claude/settings.json"
|
|
45
|
+
- CHANGELOG.md
|
|
46
|
+
- CLAUDE.md
|
|
47
|
+
- LICENSE.txt
|
|
48
|
+
- README.md
|
|
49
|
+
- Rakefile
|
|
50
|
+
- SPEC.md
|
|
51
|
+
- lib/claude_agent.rb
|
|
52
|
+
- lib/claude_agent/abort_controller.rb
|
|
53
|
+
- lib/claude_agent/client.rb
|
|
54
|
+
- lib/claude_agent/content_blocks.rb
|
|
55
|
+
- lib/claude_agent/control_protocol.rb
|
|
56
|
+
- lib/claude_agent/errors.rb
|
|
57
|
+
- lib/claude_agent/hooks.rb
|
|
58
|
+
- lib/claude_agent/mcp/server.rb
|
|
59
|
+
- lib/claude_agent/mcp/tool.rb
|
|
60
|
+
- lib/claude_agent/message_parser.rb
|
|
61
|
+
- lib/claude_agent/messages.rb
|
|
62
|
+
- lib/claude_agent/options.rb
|
|
63
|
+
- lib/claude_agent/permissions.rb
|
|
64
|
+
- lib/claude_agent/query.rb
|
|
65
|
+
- lib/claude_agent/sandbox_settings.rb
|
|
66
|
+
- lib/claude_agent/spawn.rb
|
|
67
|
+
- lib/claude_agent/transport/base.rb
|
|
68
|
+
- lib/claude_agent/transport/subprocess.rb
|
|
69
|
+
- lib/claude_agent/types.rb
|
|
70
|
+
- lib/claude_agent/version.rb
|
|
71
|
+
- sig/claude_agent.rbs
|
|
72
|
+
- sig/manifest.yaml
|
|
73
|
+
homepage: https://github.com/protocollar/claude_agent-ruby
|
|
74
|
+
licenses:
|
|
75
|
+
- MIT
|
|
76
|
+
metadata:
|
|
77
|
+
source_code_uri: https://github.com/protocollar/claude_agent-ruby
|
|
78
|
+
changelog_uri: https://github.com/protocollar/claude_agent-ruby/blob/main/CHANGELOG.md
|
|
79
|
+
rubygems_mfa_required: 'true'
|
|
80
|
+
rdoc_options: []
|
|
81
|
+
require_paths:
|
|
82
|
+
- lib
|
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: 3.2.0
|
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
|
+
requirements:
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: '0'
|
|
93
|
+
requirements: []
|
|
94
|
+
rubygems_version: 4.0.3
|
|
95
|
+
specification_version: 4
|
|
96
|
+
summary: Ruby SDK for building AI agents with Claude Code
|
|
97
|
+
test_files: []
|