quickquestion 0.1.1 → 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 +5 -5
- 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/
|
@@ -87,14 +91,10 @@ PLATFORMS
|
|
87
91
|
|
88
92
|
DEPENDENCIES
|
89
93
|
byebug
|
90
|
-
claude-ruby
|
91
94
|
quickquestion!
|
92
95
|
rb-readline
|
93
|
-
sequel
|
94
|
-
sqlite3
|
95
96
|
standard
|
96
97
|
standard-performance
|
97
|
-
xdg
|
98
98
|
|
99
99
|
BUNDLED WITH
|
100
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
|