quickquestion 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Gemfile +0 -6
- data/Gemfile.lock +32 -36
- data/README.md +3 -2
- data/lib/quickquestion.rb +1 -1
- data/quickquestion.gemspec +6 -0
- metadata +59 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b0a3f3270dc3ed758069dc445fe58f9611dd2347bbbd5a73a26450eddaf197
|
4
|
+
data.tar.gz: f5ba522fc7aed7ee27f467c5ef6846a546634edf68a1b387eaed4a274938aa9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6f10ef3bfe22b884489369c61b5cedc1bb1c96dc53677f49d76bec0a4da818693018ee3f118d35152f005d2dccfb0497a289ce2480c9530831fd3d874f25a5
|
7
|
+
data.tar.gz: a40032c5bd3f9c3e9930e788037ea57f5b46ab7714e8252948e20d569ee963afba693ad0c624901c4afcf471be5da40912372504ee3bf0ae2f1a8012d0cc2394
|
data/CHANGELOG.md
ADDED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
quickquestion (0.1.
|
4
|
+
quickquestion (0.1.1)
|
5
|
+
claude-ruby (~> 0.4.1)
|
6
|
+
sequel (~> 5)
|
7
|
+
sqlite3 (~> 2.2)
|
8
|
+
xdg (~> 8.10)
|
5
9
|
|
6
10
|
GEM
|
7
11
|
remote: https://rubygems.org/
|
@@ -9,73 +13,69 @@ GEM
|
|
9
13
|
ast (2.4.2)
|
10
14
|
bigdecimal (3.1.8)
|
11
15
|
byebug (11.1.3)
|
12
|
-
claude-ruby (0.4.
|
16
|
+
claude-ruby (0.4.1)
|
13
17
|
httparty
|
14
18
|
csv (3.3.0)
|
15
19
|
httparty (0.22.0)
|
16
20
|
csv
|
17
21
|
mini_mime (>= 1.0.0)
|
18
22
|
multi_xml (>= 0.5.2)
|
19
|
-
json (2.
|
23
|
+
json (2.8.2)
|
20
24
|
language_server-protocol (3.17.0.3)
|
21
25
|
lint_roller (1.1.0)
|
22
26
|
mini_mime (1.1.5)
|
23
27
|
multi_xml (0.7.1)
|
24
28
|
bigdecimal (~> 3.1)
|
25
|
-
parallel (1.26.
|
26
|
-
parser (3.3.
|
29
|
+
parallel (1.26.3)
|
30
|
+
parser (3.3.6.0)
|
27
31
|
ast (~> 2.4.1)
|
28
32
|
racc
|
29
33
|
racc (1.8.1)
|
30
34
|
rainbow (3.1.1)
|
31
35
|
rb-readline (0.5.5)
|
32
36
|
regexp_parser (2.9.2)
|
33
|
-
|
34
|
-
strscan
|
35
|
-
rubocop (1.64.1)
|
37
|
+
rubocop (1.68.0)
|
36
38
|
json (~> 2.3)
|
37
39
|
language_server-protocol (>= 3.17.0)
|
38
40
|
parallel (~> 1.10)
|
39
41
|
parser (>= 3.3.0.2)
|
40
42
|
rainbow (>= 2.2.2, < 4.0)
|
41
|
-
regexp_parser (>=
|
42
|
-
|
43
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
43
|
+
regexp_parser (>= 2.4, < 3.0)
|
44
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
44
45
|
ruby-progressbar (~> 1.7)
|
45
46
|
unicode-display_width (>= 2.4.0, < 3.0)
|
46
|
-
rubocop-ast (1.
|
47
|
+
rubocop-ast (1.36.1)
|
47
48
|
parser (>= 3.3.1.0)
|
48
|
-
rubocop-performance (1.
|
49
|
+
rubocop-performance (1.22.1)
|
49
50
|
rubocop (>= 1.48.1, < 2.0)
|
50
51
|
rubocop-ast (>= 1.31.1, < 2.0)
|
51
52
|
ruby-progressbar (1.13.0)
|
52
|
-
sequel (5.
|
53
|
+
sequel (5.86.0)
|
53
54
|
bigdecimal
|
54
|
-
sqlite3 (2.0
|
55
|
-
sqlite3 (2.0
|
56
|
-
sqlite3 (2.0
|
57
|
-
sqlite3 (2.0
|
58
|
-
sqlite3 (2.0
|
59
|
-
sqlite3 (2.0
|
60
|
-
sqlite3 (2.0
|
61
|
-
sqlite3 (2.0
|
62
|
-
sqlite3 (2.0
|
63
|
-
sqlite3 (2.0
|
64
|
-
standard (1.
|
55
|
+
sqlite3 (2.2.0-aarch64-linux-gnu)
|
56
|
+
sqlite3 (2.2.0-aarch64-linux-musl)
|
57
|
+
sqlite3 (2.2.0-arm-linux-gnu)
|
58
|
+
sqlite3 (2.2.0-arm-linux-musl)
|
59
|
+
sqlite3 (2.2.0-arm64-darwin)
|
60
|
+
sqlite3 (2.2.0-x86-linux-gnu)
|
61
|
+
sqlite3 (2.2.0-x86-linux-musl)
|
62
|
+
sqlite3 (2.2.0-x86_64-darwin)
|
63
|
+
sqlite3 (2.2.0-x86_64-linux-gnu)
|
64
|
+
sqlite3 (2.2.0-x86_64-linux-musl)
|
65
|
+
standard (1.42.0)
|
65
66
|
language_server-protocol (~> 3.17.0.2)
|
66
67
|
lint_roller (~> 1.0)
|
67
|
-
rubocop (~> 1.
|
68
|
+
rubocop (~> 1.68.0)
|
68
69
|
standard-custom (~> 1.0.0)
|
69
|
-
standard-performance (~> 1.
|
70
|
+
standard-performance (~> 1.5)
|
70
71
|
standard-custom (1.0.2)
|
71
72
|
lint_roller (~> 1.0)
|
72
73
|
rubocop (~> 1.50)
|
73
|
-
standard-performance (1.
|
74
|
+
standard-performance (1.5.0)
|
74
75
|
lint_roller (~> 1.1)
|
75
|
-
rubocop-performance (~> 1.
|
76
|
-
|
77
|
-
|
78
|
-
xdg (8.5.0)
|
76
|
+
rubocop-performance (~> 1.22.0)
|
77
|
+
unicode-display_width (2.6.0)
|
78
|
+
xdg (8.10.0)
|
79
79
|
|
80
80
|
PLATFORMS
|
81
81
|
aarch64-linux-gnu
|
@@ -91,14 +91,10 @@ PLATFORMS
|
|
91
91
|
|
92
92
|
DEPENDENCIES
|
93
93
|
byebug
|
94
|
-
claude-ruby
|
95
94
|
quickquestion!
|
96
95
|
rb-readline
|
97
|
-
sequel
|
98
|
-
sqlite3
|
99
96
|
standard
|
100
97
|
standard-performance
|
101
|
-
xdg
|
102
98
|
|
103
99
|
BUNDLED WITH
|
104
100
|
2.5.9
|
data/README.md
CHANGED
@@ -18,11 +18,11 @@ Set `ANTHROPIC_API_KEY` env var to your [API key](https://console.anthropic.com/
|
|
18
18
|
There are currently no options.
|
19
19
|
|
20
20
|
Your questions and answers are logged to `~/.config/qq/log.sqlite`
|
21
|
-
(or set [
|
21
|
+
(or set [XDG_CONFIG_HOME](https://specifications.freedesktop.org/basedir-spec/latest/#variables)).
|
22
22
|
|
23
23
|
## Possible TODOs
|
24
24
|
|
25
|
-
* Handle ctrl-c without traceback
|
25
|
+
* Handle ctrl-c without traceback.
|
26
26
|
* Prompt customization.
|
27
27
|
* Use `qc` to have a quick conversation (or `quick continue`), which picks up from the last `qq` if it happened in the last 15m.
|
28
28
|
(This uses the logs in `~/.config/qq/log.sqlite`.)
|
@@ -52,3 +52,4 @@ Your questions and answers are logged to `~/.config/qq/log.sqlite`
|
|
52
52
|
# to make the .gem
|
53
53
|
gem build
|
54
54
|
|
55
|
+
gem push quickquestion-0.0.0.gem
|
data/lib/quickquestion.rb
CHANGED
data/quickquestion.gemspec
CHANGED
@@ -22,4 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.bindir = "bin"
|
23
23
|
spec.executables = ["qq"]
|
24
24
|
spec.require_paths = ["lib"]
|
25
|
+
|
26
|
+
# runtime dependencies
|
27
|
+
spec.add_dependency "claude-ruby", "~> 0.4.1"
|
28
|
+
spec.add_dependency "sequel", "~> 5"
|
29
|
+
spec.add_dependency "sqlite3", "~> 2.2"
|
30
|
+
spec.add_dependency "xdg", "~> 8.10"
|
25
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickquestion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bhat Harkins
|
@@ -9,7 +9,63 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2024-11-15 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: claude-ruby
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.4.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.4.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sequel
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: xdg
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '8.10'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '8.10'
|
13
69
|
description: A command-line tool to quickly ask questions to LLMs
|
14
70
|
email:
|
15
71
|
- peter@push.cx
|
@@ -21,6 +77,7 @@ files:
|
|
21
77
|
- ".git-blame-ignore-revs"
|
22
78
|
- ".gitignore"
|
23
79
|
- ".ruby-version"
|
80
|
+
- CHANGELOG.md
|
24
81
|
- Gemfile
|
25
82
|
- Gemfile.lock
|
26
83
|
- README.md
|