Skip to content

Commit 5f2d14c

Browse files
committed
wip
1 parent f73d317 commit 5f2d14c

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

lib/ruby_llm/docker/create_container.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ class CreateContainer < RubyLLM::Tool
6767
param :name, desc: 'Container name (optional)', required: false
6868
param :cmd, desc: 'Command to run (optional)', required: false
6969
param :env,
70-
desc: 'Environment variables as comma-separated KEY=VALUE pairs (optional, e.g., "VAR1=value1,VAR2=value2")', required: false
70+
desc: 'Environment variables as comma-separated KEY=VALUE pairs ' \
71+
'(optional, e.g., "VAR1=value1,VAR2=value2")',
72+
required: false
7173
param :exposed_ports, desc: 'Exposed ports as JSON object (optional)', required: false
7274
param :host_config, desc: 'Host configuration including port bindings, volumes, etc. as JSON object (optional)',
7375
required: false

lib/ruby_llm/docker/exec_container.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ class ExecContainer < RubyLLM::Tool
6868
param :user, type: :string, desc: 'User to run the command as (optional, e.g., "1000" or "username")',
6969
required: false
7070
param :env, type: :string,
71-
desc: 'Environment variables as comma-separated KEY=VALUE pairs (optional, e.g., "VAR1=value1,VAR2=value2")', required: false
71+
desc: 'Environment variables as comma-separated KEY=VALUE pairs ' \
72+
'(optional, e.g., "VAR1=value1,VAR2=value2")',
73+
required: false
7274
param :stdin, type: :string, desc: 'Input to send to the command via stdin (optional)', required: false
7375
param :timeout, type: :integer, desc: 'Timeout in seconds (optional, default: 60)', required: false
7476

lib/ruby_llm/docker/run_container.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ class RunContainer < RubyLLM::Tool
6666
param :name, desc: 'Container name (optional)', required: false
6767
param :cmd, desc: 'Command to run (optional)', required: false
6868
param :env,
69-
desc: 'Environment variables as comma-separated KEY=VALUE pairs (optional, e.g., "VAR1=value1,VAR2=value2")', required: false
69+
desc: 'Environment variables as comma-separated KEY=VALUE pairs ' \
70+
'(optional, e.g., "VAR1=value1,VAR2=value2")',
71+
required: false
7072
param :exposed_ports, desc: 'Exposed ports as JSON object (optional)', required: false
7173
param :host_config, desc: 'Host configuration including port bindings, volumes, etc.',
7274
required: false

ruby_llm-docker.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Gem::Specification.new do |spec|
1111
spec.summary = 'Docker management tools for RubyLLM - comprehensive container, image, network, and volume operations'
1212
spec.description = 'A comprehensive Ruby gem that provides Docker management capabilities through RubyLLM tools. ' \
1313
'Enables AI assistants to interact with Docker containers, images, networks, and volumes using ' \
14-
'natural language. Ported from DockerMCP to work directly with RubyLLM without requiring an external MCP server.'
14+
'natural language. Ported from DockerMCP to work directly with RubyLLM without requiring an ' \
15+
'external MCP server.'
1516
spec.homepage = 'https://github.com/afstanton/ruby_llm-docker'
1617
spec.license = 'MIT'
1718
spec.required_ruby_version = '>= 3.2.0'

0 commit comments

Comments
 (0)