raimei 0.1.1

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.
Files changed (6) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +9 -0
  4. data/exe/raimei +13 -0
  5. data/lib/raimei.rb +4 -0
  6. metadata +86 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 64bcf270b56a36c37bf0f0ade1e570b4f150def5b09a017500e4fc757ce56931
4
+ data.tar.gz: 53c09a807d8e43ceec1bdf6e3e1c834ee2fabbeaff535c106a37454fd58346c3
5
+ SHA512:
6
+ metadata.gz: 6238288cd31c52618da6d9aae14588f5638cb38bec70f832bb884783902be1c27b77984c63dd83bfaea91caae8ab562040f39de1aee194fc0fcda9b3d944e895
7
+ data.tar.gz: 87c3864ed884cae6a0bd24ff68eb924eedeeecaaf5040c27ec75c8055f9ce6ec56712ceb79e80d7b617b05dcc59887cf0bbfb57549b8a7ca930bf73ff9abcebf
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Hal Fulton
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # raimei (umbrella)
2
+ Installs `raimei-nim` and `raimei-bench` and exposes the `raimei` CLI.
3
+
4
+ ## Quickstart
5
+
6
+ ```bash
7
+ gem install raimei
8
+ raimei chat --url http://localhost:11434/v1/chat/completions --model llama3 "Hello in one sentence."
9
+ ```
data/exe/raimei ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ cmd = ARGV.shift
4
+ case cmd
5
+ when "chat" then exec "raimei-chat", *ARGV
6
+ when "bench" then exec "raimei-bench", *ARGV
7
+ else
8
+ warn "Usage: raimei <chat|bench> [args...]"
9
+ warn "Examples:"
10
+ warn " raimei chat --url http://localhost:11434/v1/chat/completions --model llama3 \"Hello\""
11
+ warn " raimei bench run scenarios/llama3.yml"
12
+ exit 2
13
+ end
data/lib/raimei.rb ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ module Raimei
3
+ VERSION = "0.1.1"
4
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: raimei
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Hal
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: raimei-nim
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: 0.1.3
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.2'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 0.1.3
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '0.2'
32
+ - !ruby/object:Gem::Dependency
33
+ name: raimei-bench
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: 0.1.2
39
+ - - "<"
40
+ - !ruby/object:Gem::Version
41
+ version: '0.2'
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: 0.1.2
49
+ - - "<"
50
+ - !ruby/object:Gem::Version
51
+ version: '0.2'
52
+ description: Installs raimei-nim (client) and raimei-bench (bench runner) and exposes
53
+ a top-level CLI.
54
+ email:
55
+ - hal@example.com
56
+ executables:
57
+ - raimei
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - LICENSE.txt
62
+ - README.md
63
+ - exe/raimei
64
+ - lib/raimei.rb
65
+ homepage: https://github.com/raimei-ruby/raimei
66
+ licenses:
67
+ - MIT
68
+ metadata: {}
69
+ rdoc_options: []
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '3.0'
77
+ required_rubygems_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubygems_version: 3.7.1
84
+ specification_version: 4
85
+ summary: Umbrella meta-gem for Raimei Ruby + AI tools
86
+ test_files: []