-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathautohand_sdk.gemspec
More file actions
59 lines (52 loc) · 2.01 KB
/
Copy pathautohand_sdk.gemspec
File metadata and controls
59 lines (52 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# frozen_string_literal: true
require_relative "lib/autohand_sdk/version"
Gem::Specification.new do |spec|
spec.name = "autohand_sdk"
spec.version = AutohandSDK::VERSION
spec.authors = ["Autohand"]
spec.email = ["support@autohand.ai"]
spec.summary = "CLI-backed Autohand Code Agent SDK for Ruby."
spec.description = [
"A Ruby SDK for controlling Autohand Code CLI agents over JSON-RPC,",
"with streaming events, permissions, sessions, skills, and Rails-friendly configuration."
].join(" ")
spec.homepage = "https://autohand.ai/sdk/"
spec.license = "Apache-2.0"
spec.required_ruby_version = ">= 3.2.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/autohandai/code-agent-sdk-ruby"
spec.metadata["changelog_uri"] = "https://github.com/autohandai/code-agent-sdk-ruby/blob/main/CHANGELOG.md"
spec.metadata["documentation_uri"] = "https://autohand.ai/docs/agent-sdk/"
spec.metadata["bug_tracker_uri"] = "https://github.com/autohandai/code-agent-sdk-ruby/issues"
spec.metadata["rubygems_mfa_required"] = "true"
tracked_files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls|
ls.read.split("\x0")
end
fallback_files = Dir.chdir(__dir__) do
Dir.glob(%w[
lib/**/*.rb
docs/**/*.md
exe/*
examples/**/*.rb
README.md
CHANGELOG.md
LICENSE.txt
])
end
spec.files = (tracked_files.empty? ? fallback_files : tracked_files).reject do |file|
file.start_with?(*%w[
.github/
test/
benchmarks/
tmp/
bin/
.bundle/
doc/
pkg/
])
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |file| File.basename(file) }
spec.require_paths = ["lib"]
spec.add_dependency "logger", ">= 1.6", "< 2.0"
end