rlm-rb 0.1.0 → 0.2.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.
data/lib/rlm/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RLM
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/rlm.rb CHANGED
@@ -2,14 +2,23 @@
2
2
 
3
3
  require_relative "rlm/version"
4
4
  require_relative "rlm/errors"
5
+ require_relative "rlm/code_extractor"
6
+ require_relative "rlm/signature"
7
+ require_relative "rlm/prompt_builder"
8
+ require_relative "rlm/runtime/bridge"
9
+ require_relative "rlm/lm/mock"
10
+ require_relative "rlm/lm/ruby_llm"
5
11
  require_relative "rlm/limits"
6
12
  require_relative "rlm/file"
7
13
  require_relative "rlm/context"
8
14
  require_relative "rlm/trace"
9
15
  require_relative "rlm/result"
16
+ require_relative "rlm/signature/dspy"
10
17
  require_relative "rlm/sandbox"
11
18
  require_relative "rlm/sandbox/execution_result"
12
19
  require_relative "rlm/sandbox/mock"
20
+ require_relative "rlm/sandbox/unsafe_in_process"
21
+ require_relative "rlm/runtime"
13
22
  require_relative "rlm/tool"
14
23
  require_relative "rlm/config"
15
24
  require_relative "rlm/predict"
metadata CHANGED
@@ -1,14 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rlm-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Paluy
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-05-15 00:00:00.000000000 Z
11
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bigdecimal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: dspy
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
12
41
  - !ruby/object:Gem::Dependency
13
42
  name: logger
14
43
  requirement: !ruby/object:Gem::Requirement
@@ -23,34 +52,59 @@ dependencies:
23
52
  - - "~>"
24
53
  - !ruby/object:Gem::Version
25
54
  version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: ruby_llm
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.15'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.15'
26
69
  description: |-
27
- RLM.rb is a Ruby/Rails-native runtime for Recursive Language Models. It runs bounded, typed, auditable AI jobs
28
- over large files, records, and application context. RLM.rb uses RubyLLM for provider access and dspy.rb for
29
- typed signatures, and adds the missing recursive execution runtime: sandbox, REPL loop, file/context mounting,
30
- recursive sub-LM calls, typed final output, budget controls, and durable trajectories.
70
+ RLM.rb is a Ruby runtime spine for Recursive Language Models. It runs bounded, typed, auditable AI jobs
71
+ over files, records, and application context. RLM.rb includes RubyLLM provider access, a dspy.rb signature adapter,
72
+ the recursive prompt loop, file/context mounting, recursive sub-LM calls, typed final output, budget controls,
73
+ trace events, and a best-effort trace_store hook.
31
74
  email:
32
75
  - dpaluy@users.noreply.github.com
33
76
  executables: []
34
77
  extensions: []
35
78
  extra_rdoc_files:
79
+ - README.md
36
80
  - CHANGELOG.md
37
81
  - LICENSE.txt
38
- - README.md
39
82
  files:
40
83
  - CHANGELOG.md
41
84
  - LICENSE.txt
42
85
  - README.md
86
+ - examples/plain_ruby_invoice_extraction.rb
43
87
  - lib/rlm.rb
88
+ - lib/rlm/code_extractor.rb
44
89
  - lib/rlm/config.rb
45
90
  - lib/rlm/context.rb
46
91
  - lib/rlm/errors.rb
47
92
  - lib/rlm/file.rb
48
93
  - lib/rlm/limits.rb
94
+ - lib/rlm/lm/mock.rb
95
+ - lib/rlm/lm/ruby_llm.rb
49
96
  - lib/rlm/predict.rb
97
+ - lib/rlm/prompt_builder.rb
50
98
  - lib/rlm/result.rb
99
+ - lib/rlm/runtime.rb
100
+ - lib/rlm/runtime/bridge.rb
101
+ - lib/rlm/runtime/signature_registry.rb
51
102
  - lib/rlm/sandbox.rb
52
103
  - lib/rlm/sandbox/execution_result.rb
53
104
  - lib/rlm/sandbox/mock.rb
105
+ - lib/rlm/sandbox/unsafe_in_process.rb
106
+ - lib/rlm/signature.rb
107
+ - lib/rlm/signature/dspy.rb
54
108
  - lib/rlm/tool.rb
55
109
  - lib/rlm/trace.rb
56
110
  - lib/rlm/version.rb
@@ -62,6 +116,7 @@ metadata:
62
116
  source_code_uri: https://github.com/dpaluy/rlm-rb
63
117
  changelog_uri: https://github.com/dpaluy/rlm-rb/blob/main/CHANGELOG.md
64
118
  bug_tracker_uri: https://github.com/dpaluy/rlm-rb/issues
119
+ post_install_message:
65
120
  rdoc_options: []
66
121
  require_paths:
67
122
  - lib
@@ -69,15 +124,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
124
  requirements:
70
125
  - - ">="
71
126
  - !ruby/object:Gem::Version
72
- version: 3.2.0
127
+ version: 3.3.0
73
128
  required_rubygems_version: !ruby/object:Gem::Requirement
74
129
  requirements:
75
130
  - - ">="
76
131
  - !ruby/object:Gem::Version
77
132
  version: '0'
78
133
  requirements: []
79
- rubygems_version: 4.0.6
134
+ rubygems_version: 3.5.22
135
+ signing_key:
80
136
  specification_version: 4
81
- summary: Ruby/Rails-native runtime for typed, sandboxed, auditable AI jobs over large
137
+ summary: Ruby runtime spine for typed, sandbox-oriented, auditable AI jobs over large
82
138
  application context.
83
139
  test_files: []