acp_ruby 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/CHANGELOG.md +19 -0
- data/LICENSE.txt +21 -0
- data/README.md +125 -0
- data/lib/acp_ruby.rb +3 -0
- data/lib/agent_client_protocol/agent/connection.rb +125 -0
- data/lib/agent_client_protocol/agent/router.rb +62 -0
- data/lib/agent_client_protocol/agent.rb +49 -0
- data/lib/agent_client_protocol/client/connection.rb +112 -0
- data/lib/agent_client_protocol/client/router.rb +85 -0
- data/lib/agent_client_protocol/client.rb +53 -0
- data/lib/agent_client_protocol/connection.rb +144 -0
- data/lib/agent_client_protocol/contrib/permission_broker.rb +57 -0
- data/lib/agent_client_protocol/contrib/session_accumulator.rb +160 -0
- data/lib/agent_client_protocol/contrib/tool_call_tracker.rb +115 -0
- data/lib/agent_client_protocol/error.rb +41 -0
- data/lib/agent_client_protocol/helpers.rb +176 -0
- data/lib/agent_client_protocol/meta.rb +30 -0
- data/lib/agent_client_protocol/router.rb +108 -0
- data/lib/agent_client_protocol/schema/base_model.rb +158 -0
- data/lib/agent_client_protocol/schema/generated.rb +508 -0
- data/lib/agent_client_protocol/schema/types.rb +200 -0
- data/lib/agent_client_protocol/stdio.rb +129 -0
- data/lib/agent_client_protocol/transport.rb +70 -0
- data/lib/agent_client_protocol/version.rb +5 -0
- data/lib/agent_client_protocol.rb +54 -0
- data/schema/VERSION +1 -0
- data/schema/meta.json +24 -0
- data/schema/schema.json +3430 -0
- metadata +103 -0
metadata
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: acp_ruby
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- David Paluy
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: async
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '2.0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '2.0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: async-io
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '1.0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.0'
|
|
40
|
+
description: Full-parity Ruby SDK implementing the Agent Client Protocol — a JSON-RPC
|
|
41
|
+
2.0 based open protocol for communication between code editors and AI coding agents
|
|
42
|
+
over stdio.
|
|
43
|
+
email:
|
|
44
|
+
- david@dpaluy.com
|
|
45
|
+
executables: []
|
|
46
|
+
extensions: []
|
|
47
|
+
extra_rdoc_files:
|
|
48
|
+
- CHANGELOG.md
|
|
49
|
+
- LICENSE.txt
|
|
50
|
+
- README.md
|
|
51
|
+
files:
|
|
52
|
+
- CHANGELOG.md
|
|
53
|
+
- LICENSE.txt
|
|
54
|
+
- README.md
|
|
55
|
+
- lib/acp_ruby.rb
|
|
56
|
+
- lib/agent_client_protocol.rb
|
|
57
|
+
- lib/agent_client_protocol/agent.rb
|
|
58
|
+
- lib/agent_client_protocol/agent/connection.rb
|
|
59
|
+
- lib/agent_client_protocol/agent/router.rb
|
|
60
|
+
- lib/agent_client_protocol/client.rb
|
|
61
|
+
- lib/agent_client_protocol/client/connection.rb
|
|
62
|
+
- lib/agent_client_protocol/client/router.rb
|
|
63
|
+
- lib/agent_client_protocol/connection.rb
|
|
64
|
+
- lib/agent_client_protocol/contrib/permission_broker.rb
|
|
65
|
+
- lib/agent_client_protocol/contrib/session_accumulator.rb
|
|
66
|
+
- lib/agent_client_protocol/contrib/tool_call_tracker.rb
|
|
67
|
+
- lib/agent_client_protocol/error.rb
|
|
68
|
+
- lib/agent_client_protocol/helpers.rb
|
|
69
|
+
- lib/agent_client_protocol/meta.rb
|
|
70
|
+
- lib/agent_client_protocol/router.rb
|
|
71
|
+
- lib/agent_client_protocol/schema/base_model.rb
|
|
72
|
+
- lib/agent_client_protocol/schema/generated.rb
|
|
73
|
+
- lib/agent_client_protocol/schema/types.rb
|
|
74
|
+
- lib/agent_client_protocol/stdio.rb
|
|
75
|
+
- lib/agent_client_protocol/transport.rb
|
|
76
|
+
- lib/agent_client_protocol/version.rb
|
|
77
|
+
- schema/VERSION
|
|
78
|
+
- schema/meta.json
|
|
79
|
+
- schema/schema.json
|
|
80
|
+
homepage: https://github.com/dpaluy/agent-client-protocol
|
|
81
|
+
licenses:
|
|
82
|
+
- MIT
|
|
83
|
+
metadata:
|
|
84
|
+
source_code_uri: https://github.com/dpaluy/agent-client-protocol
|
|
85
|
+
changelog_uri: https://github.com/dpaluy/agent-client-protocol/blob/main/CHANGELOG.md
|
|
86
|
+
rdoc_options: []
|
|
87
|
+
require_paths:
|
|
88
|
+
- lib
|
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
91
|
+
- - ">="
|
|
92
|
+
- !ruby/object:Gem::Version
|
|
93
|
+
version: '3.2'
|
|
94
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
- - ">="
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: '0'
|
|
99
|
+
requirements: []
|
|
100
|
+
rubygems_version: 4.0.3
|
|
101
|
+
specification_version: 4
|
|
102
|
+
summary: Ruby SDK for the Agent Client Protocol (ACP)
|
|
103
|
+
test_files: []
|