agentfeedback 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f6cffc4067380073c0ecae02d8e4209ec7a871c23a4c0adebdbb5ffaea60125c
4
+ data.tar.gz: 3a4500bccef46096058f1c313db4451bfdc6ad7b9ed54689c84f0ace04e51150
5
+ SHA512:
6
+ metadata.gz: 053d8ae8d8a3dfaddde3c06167c53d3038605de61ab30164897c347961db488f433aa7fe2b0dd9629071496f5e29e2108b54e3f9cf7629c67e00aecc353a1173
7
+ data.tar.gz: dfc62f48b667dc9e5eeb00c8b4487c357058d08429d07ea346367cc08a0abfb1cda093e89cfd2cb1174fe32d08ae44e59a38d2ccde7156916774c840a8c2dd3f
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AgentFeedback contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # agentfeedback
2
+
3
+ Official package of AgentFeedback (https://github.com/AgentFeedback/agentfeedback). 0.0.x is a launcher for the agentfeedback binary; the packaged binary follows in a later release.
4
+
5
+ Install the binary: https://github.com/AgentFeedback/agentfeedback/blob/main/AGENT-INSTALL.md#step-21-the-binary
data/exe/agentfeedback ADDED
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env ruby
2
+ MSG = "This package is a launcher for the AgentFeedback binary, which is not on PATH.\n" \
3
+ "Install it: https://github.com/AgentFeedback/agentfeedback/blob/main/AGENT-INSTALL.md#step-21-the-binary\n"
4
+
5
+ def af_real(p)
6
+ File.realpath(p)
7
+ rescue StandardError
8
+ nil
9
+ end
10
+
11
+ def af_find_real
12
+ selfs = [af_real(__FILE__), af_real($0)].compact
13
+ win = Gem.win_platform?
14
+ names = win ? ["agentfeedback.exe"] : ["agentfeedback"]
15
+ ENV.fetch("PATH", "").split(File::PATH_SEPARATOR).each do |d|
16
+ next if d.empty?
17
+ names.each do |n|
18
+ c = File.join(d, n)
19
+ next unless File.file?(c) && File.executable?(c)
20
+ r = af_real(c)
21
+ return c if r && !selfs.include?(r)
22
+ end
23
+ end
24
+ nil
25
+ end
26
+
27
+ if ENV["AGENTFEEDBACK_STUB"].to_s.empty?
28
+ b = af_find_real
29
+ if b
30
+ env = { "AGENTFEEDBACK_STUB" => "1" }
31
+ if Gem.win_platform?
32
+ system(env, b, *ARGV)
33
+ exit($?.exitstatus || 1)
34
+ end
35
+ exec(env, [b, b], *ARGV)
36
+ end
37
+ end
38
+ $stderr.write(MSG)
39
+ exit 1
@@ -0,0 +1,3 @@
1
+ module AgentFeedback
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,51 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: agentfeedback
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - AgentFeedback contributors
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2026-10-08 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Official package of AgentFeedback (https://github.com/AgentFeedback/agentfeedback).
14
+ 0.0.x is a launcher for the agentfeedback binary; the packaged binary follows in
15
+ a later release.
16
+ email:
17
+ executables:
18
+ - agentfeedback
19
+ extensions: []
20
+ extra_rdoc_files: []
21
+ files:
22
+ - LICENSE
23
+ - README.md
24
+ - exe/agentfeedback
25
+ - lib/agentfeedback.rb
26
+ homepage: https://github.com/AgentFeedback/agentfeedback
27
+ licenses:
28
+ - MIT
29
+ metadata:
30
+ source_code_uri: https://github.com/AgentFeedback/agentfeedback
31
+ post_install_message:
32
+ rdoc_options: []
33
+ require_paths:
34
+ - lib
35
+ required_ruby_version: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '2.7'
40
+ required_rubygems_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ requirements: []
46
+ rubygems_version: 3.5.22
47
+ signing_key:
48
+ specification_version: 4
49
+ summary: Official package of AgentFeedback. 0.0.x is a launcher for the agentfeedback
50
+ binary.
51
+ test_files: []