ruby_llm-infinite_context 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 +51 -0
- data/LICENSE.txt +21 -0
- data/README.md +198 -0
- data/THIRD_PARTY_NOTICES.md +52 -0
- data/lib/generators/ruby_llm/infinite_context/install/install_generator.rb +34 -0
- data/lib/generators/ruby_llm/infinite_context/install/templates/migration.rb.tt +7 -0
- data/lib/ruby_llm/infinite_context/batch_import.rb +163 -0
- data/lib/ruby_llm/infinite_context/cache_mark.rb +76 -0
- data/lib/ruby_llm/infinite_context/chat_options.rb +61 -0
- data/lib/ruby_llm/infinite_context/compactor.rb +114 -0
- data/lib/ruby_llm/infinite_context/engine.rb +12 -0
- data/lib/ruby_llm/infinite_context/fold.rb +83 -0
- data/lib/ruby_llm/infinite_context/manager.rb +93 -0
- data/lib/ruby_llm/infinite_context/model.rb +66 -0
- data/lib/ruby_llm/infinite_context/models.rb +183 -0
- data/lib/ruby_llm/infinite_context/prompts.rb +103 -0
- data/lib/ruby_llm/infinite_context/pump.rb +149 -0
- data/lib/ruby_llm/infinite_context/pump_job.rb +18 -0
- data/lib/ruby_llm/infinite_context/schema.rb +81 -0
- data/lib/ruby_llm/infinite_context/tokens.rb +38 -0
- data/lib/ruby_llm/infinite_context/tools.rb +70 -0
- data/lib/ruby_llm/infinite_context/tree_math.rb +39 -0
- data/lib/ruby_llm/infinite_context/version.rb +7 -0
- data/lib/ruby_llm/infinite_context/zoom.rb +135 -0
- data/lib/ruby_llm/infinite_context.rb +57 -0
- metadata +111 -0
metadata
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: ruby_llm-infinite_context
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Christian Genco
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-11-11 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: activerecord
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '7.1'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '9'
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '7.1'
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '9'
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: ruby_llm
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '2.0'
|
|
40
|
+
type: :runtime
|
|
41
|
+
prerelease: false
|
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - "~>"
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '2.0'
|
|
47
|
+
description: A RubyLLM 2.x plugin. Every message is logged, a cheap model compresses
|
|
48
|
+
the log into a binary tree of one-line summaries, and the chat sees a saved view
|
|
49
|
+
of the tree that fits a budget the caller picks. The agent gets tools to zoom into
|
|
50
|
+
any line, down to the original message. Based on Victor Taelin's OptChat/UniiChat
|
|
51
|
+
design and on pi-optchat.
|
|
52
|
+
email:
|
|
53
|
+
- christian@gxb.vc
|
|
54
|
+
executables: []
|
|
55
|
+
extensions: []
|
|
56
|
+
extra_rdoc_files: []
|
|
57
|
+
files:
|
|
58
|
+
- CHANGELOG.md
|
|
59
|
+
- LICENSE.txt
|
|
60
|
+
- README.md
|
|
61
|
+
- THIRD_PARTY_NOTICES.md
|
|
62
|
+
- lib/generators/ruby_llm/infinite_context/install/install_generator.rb
|
|
63
|
+
- lib/generators/ruby_llm/infinite_context/install/templates/migration.rb.tt
|
|
64
|
+
- lib/ruby_llm/infinite_context.rb
|
|
65
|
+
- lib/ruby_llm/infinite_context/batch_import.rb
|
|
66
|
+
- lib/ruby_llm/infinite_context/cache_mark.rb
|
|
67
|
+
- lib/ruby_llm/infinite_context/chat_options.rb
|
|
68
|
+
- lib/ruby_llm/infinite_context/compactor.rb
|
|
69
|
+
- lib/ruby_llm/infinite_context/engine.rb
|
|
70
|
+
- lib/ruby_llm/infinite_context/fold.rb
|
|
71
|
+
- lib/ruby_llm/infinite_context/manager.rb
|
|
72
|
+
- lib/ruby_llm/infinite_context/model.rb
|
|
73
|
+
- lib/ruby_llm/infinite_context/models.rb
|
|
74
|
+
- lib/ruby_llm/infinite_context/prompts.rb
|
|
75
|
+
- lib/ruby_llm/infinite_context/pump.rb
|
|
76
|
+
- lib/ruby_llm/infinite_context/pump_job.rb
|
|
77
|
+
- lib/ruby_llm/infinite_context/schema.rb
|
|
78
|
+
- lib/ruby_llm/infinite_context/tokens.rb
|
|
79
|
+
- lib/ruby_llm/infinite_context/tools.rb
|
|
80
|
+
- lib/ruby_llm/infinite_context/tree_math.rb
|
|
81
|
+
- lib/ruby_llm/infinite_context/version.rb
|
|
82
|
+
- lib/ruby_llm/infinite_context/zoom.rb
|
|
83
|
+
homepage: https://github.com/gxbvc/ruby_llm-infinite_context
|
|
84
|
+
licenses:
|
|
85
|
+
- MIT
|
|
86
|
+
metadata:
|
|
87
|
+
source_code_uri: https://github.com/gxbvc/ruby_llm-infinite_context
|
|
88
|
+
changelog_uri: https://github.com/gxbvc/ruby_llm-infinite_context/blob/main/CHANGELOG.md
|
|
89
|
+
bug_tracker_uri: https://github.com/gxbvc/ruby_llm-infinite_context/issues
|
|
90
|
+
rubygems_mfa_required: 'true'
|
|
91
|
+
post_install_message:
|
|
92
|
+
rdoc_options: []
|
|
93
|
+
require_paths:
|
|
94
|
+
- lib
|
|
95
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
|
+
requirements:
|
|
97
|
+
- - ">="
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: 3.2.0
|
|
100
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
|
+
requirements:
|
|
102
|
+
- - ">="
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: '0'
|
|
105
|
+
requirements: []
|
|
106
|
+
rubygems_version: 3.5.22
|
|
107
|
+
signing_key:
|
|
108
|
+
specification_version: 4
|
|
109
|
+
summary: 'Endless memory for RubyLLM 2.x chats: a summary tree, saved views that fit
|
|
110
|
+
any budget, and zoom tools.'
|
|
111
|
+
test_files: []
|