-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtm.gemspec
More file actions
66 lines (58 loc) · 2.42 KB
/
htm.gemspec
File metadata and controls
66 lines (58 loc) · 2.42 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
60
61
62
63
64
65
66
# frozen_string_literal: true
require_relative "lib/htm/version"
Gem::Specification.new do |spec|
spec.name = "htm"
spec.version = HTM::VERSION
spec.authors = ["Dewayne VanHoozer"]
spec.email = ["dvanhoozer@gmail.com"]
spec.summary = "Hierarchical Temporal Memory for LLM robots"
spec.description = <<~DESC
HTM (Hierarchical Temporal Memory) provides intelligent memory/context management for
LLM-based applications. It implements a two-tier memory system with
durable long-term storage (PostgreSQL) and token-limited working
memory, enabling applications to recall context from past conversations using RAG
(Retrieval-Augmented Generation) techniques.
DESC
spec.homepage = "https://github.com/madbomber/htm"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0.0"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
# Specify which files should be added to the gem when it is released.
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?(*%w[test/ spec/ features/ .git .github appveyor Gemfile])
end
end
spec.bindir = "bin"
spec.executables = ["htm_mcp"]
spec.require_paths = ["lib"]
# Runtime dependencies
spec.add_dependency "pg", ">= 1.5.0"
spec.add_dependency "sequel", ">= 5.0"
spec.add_dependency "sequel_pg"
spec.add_dependency "tiktoken_ruby"
spec.add_dependency "ruby_llm"
spec.add_dependency "lru_redux"
spec.add_dependency "ruby-progressbar"
spec.add_dependency "chronic"
spec.add_dependency "fast-mcp"
spec.add_dependency "baran"
spec.add_dependency "myway_config", ">= 0.1.2"
spec.add_dependency "simple_flow"
spec.add_dependency "async", "~> 2.0"
spec.add_dependency "activesupport" # For inflections (singularize/pluralize)
# Optional runtime dependencies for different job backends
# - ActiveJob (bundled with Rails)
# - Sidekiq (add to Gemfile if using :sidekiq backend)
# Development dependencies
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"
spec.add_development_dependency "minitest-reporters"
spec.add_development_dependency "debug_me"
spec.add_development_dependency "ruby_llm-mcp"
spec.add_development_dependency "yard"
spec.add_development_dependency "yard-markdown"
end