anveesa 0.5.3 → 0.7.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.
package/Cargo.lock CHANGED
@@ -60,9 +60,10 @@ dependencies = [
60
60
 
61
61
  [[package]]
62
62
  name = "anveesa"
63
- version = "0.5.3"
63
+ version = "0.7.0"
64
64
  dependencies = [
65
65
  "anyhow",
66
+ "axum",
66
67
  "base64",
67
68
  "clap",
68
69
  "crossterm",
@@ -73,6 +74,7 @@ dependencies = [
73
74
  "serde",
74
75
  "serde_json",
75
76
  "tokio",
77
+ "tokio-stream",
76
78
  "toml",
77
79
  ]
78
80
 
@@ -82,12 +84,78 @@ version = "1.0.102"
82
84
  source = "registry+https://github.com/rust-lang/crates.io-index"
83
85
  checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
84
86
 
87
+ [[package]]
88
+ name = "async-trait"
89
+ version = "0.1.89"
90
+ source = "registry+https://github.com/rust-lang/crates.io-index"
91
+ checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
92
+ dependencies = [
93
+ "proc-macro2",
94
+ "quote",
95
+ "syn",
96
+ ]
97
+
85
98
  [[package]]
86
99
  name = "atomic-waker"
87
100
  version = "1.1.2"
88
101
  source = "registry+https://github.com/rust-lang/crates.io-index"
89
102
  checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
90
103
 
104
+ [[package]]
105
+ name = "axum"
106
+ version = "0.7.9"
107
+ source = "registry+https://github.com/rust-lang/crates.io-index"
108
+ checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f"
109
+ dependencies = [
110
+ "async-trait",
111
+ "axum-core",
112
+ "bytes",
113
+ "futures-util",
114
+ "http",
115
+ "http-body",
116
+ "http-body-util",
117
+ "hyper",
118
+ "hyper-util",
119
+ "itoa",
120
+ "matchit",
121
+ "memchr",
122
+ "mime",
123
+ "percent-encoding",
124
+ "pin-project-lite",
125
+ "rustversion",
126
+ "serde",
127
+ "serde_json",
128
+ "serde_path_to_error",
129
+ "serde_urlencoded",
130
+ "sync_wrapper",
131
+ "tokio",
132
+ "tower",
133
+ "tower-layer",
134
+ "tower-service",
135
+ "tracing",
136
+ ]
137
+
138
+ [[package]]
139
+ name = "axum-core"
140
+ version = "0.4.5"
141
+ source = "registry+https://github.com/rust-lang/crates.io-index"
142
+ checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199"
143
+ dependencies = [
144
+ "async-trait",
145
+ "bytes",
146
+ "futures-util",
147
+ "http",
148
+ "http-body",
149
+ "http-body-util",
150
+ "mime",
151
+ "pin-project-lite",
152
+ "rustversion",
153
+ "sync_wrapper",
154
+ "tower-layer",
155
+ "tower-service",
156
+ "tracing",
157
+ ]
158
+
91
159
  [[package]]
92
160
  name = "base64"
93
161
  version = "0.22.1"
@@ -518,6 +586,12 @@ version = "1.10.1"
518
586
  source = "registry+https://github.com/rust-lang/crates.io-index"
519
587
  checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
520
588
 
589
+ [[package]]
590
+ name = "httpdate"
591
+ version = "1.0.3"
592
+ source = "registry+https://github.com/rust-lang/crates.io-index"
593
+ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
594
+
521
595
  [[package]]
522
596
  name = "hyper"
523
597
  version = "1.9.0"
@@ -531,6 +605,7 @@ dependencies = [
531
605
  "http",
532
606
  "http-body",
533
607
  "httparse",
608
+ "httpdate",
534
609
  "itoa",
535
610
  "pin-project-lite",
536
611
  "smallvec",
@@ -811,12 +886,24 @@ version = "0.1.2"
811
886
  source = "registry+https://github.com/rust-lang/crates.io-index"
812
887
  checksum = "112b39cec0b298b6c1999fee3e31427f74f676e4cb9879ed1a121b43661a4154"
813
888
 
889
+ [[package]]
890
+ name = "matchit"
891
+ version = "0.7.3"
892
+ source = "registry+https://github.com/rust-lang/crates.io-index"
893
+ checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94"
894
+
814
895
  [[package]]
815
896
  name = "memchr"
816
897
  version = "2.8.0"
817
898
  source = "registry+https://github.com/rust-lang/crates.io-index"
818
899
  checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
819
900
 
901
+ [[package]]
902
+ name = "mime"
903
+ version = "0.3.17"
904
+ source = "registry+https://github.com/rust-lang/crates.io-index"
905
+ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
906
+
820
907
  [[package]]
821
908
  name = "mio"
822
909
  version = "1.2.0"
@@ -1274,6 +1361,17 @@ dependencies = [
1274
1361
  "zmij",
1275
1362
  ]
1276
1363
 
1364
+ [[package]]
1365
+ name = "serde_path_to_error"
1366
+ version = "0.1.20"
1367
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1368
+ checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
1369
+ dependencies = [
1370
+ "itoa",
1371
+ "serde",
1372
+ "serde_core",
1373
+ ]
1374
+
1277
1375
  [[package]]
1278
1376
  name = "serde_spanned"
1279
1377
  version = "0.6.9"
@@ -1513,6 +1611,18 @@ dependencies = [
1513
1611
  "tokio",
1514
1612
  ]
1515
1613
 
1614
+ [[package]]
1615
+ name = "tokio-stream"
1616
+ version = "0.1.18"
1617
+ source = "registry+https://github.com/rust-lang/crates.io-index"
1618
+ checksum = "32da49809aab5c3bc678af03902d4ccddea2a87d028d86392a4b1560c6906c70"
1619
+ dependencies = [
1620
+ "futures-core",
1621
+ "pin-project-lite",
1622
+ "tokio",
1623
+ "tokio-util",
1624
+ ]
1625
+
1516
1626
  [[package]]
1517
1627
  name = "tokio-util"
1518
1628
  version = "0.7.18"
@@ -1580,6 +1690,7 @@ dependencies = [
1580
1690
  "tokio",
1581
1691
  "tower-layer",
1582
1692
  "tower-service",
1693
+ "tracing",
1583
1694
  ]
1584
1695
 
1585
1696
  [[package]]
@@ -1618,6 +1729,7 @@ version = "0.1.44"
1618
1729
  source = "registry+https://github.com/rust-lang/crates.io-index"
1619
1730
  checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
1620
1731
  dependencies = [
1732
+ "log",
1621
1733
  "pin-project-lite",
1622
1734
  "tracing-core",
1623
1735
  ]
package/Cargo.toml CHANGED
@@ -1,8 +1,17 @@
1
1
  [package]
2
2
  name = "anveesa"
3
- version = "0.5.3"
3
+ version = "0.7.0"
4
4
  edition = "2024"
5
5
  default-run = "anveesa"
6
+ description = "Multi-provider terminal AI assistant — TUI, web UI, and one-shot mode backed by any OpenAI-compatible API"
7
+ license = "MIT"
8
+ repository = "https://github.com/PandhuWibowo/anveesa-cli"
9
+ homepage = "https://github.com/PandhuWibowo/anveesa-cli"
10
+ documentation = "https://github.com/PandhuWibowo/anveesa-cli#readme"
11
+ keywords = ["ai", "cli", "llm", "assistant", "tui"]
12
+ categories = ["command-line-utilities", "development-tools"]
13
+ readme = "README.md"
14
+ exclude = ["npm/", ".github/", "src/web_ui.html"]
6
15
 
7
16
  [dependencies]
8
17
  base64 = "0.22"
@@ -15,5 +24,7 @@ reqwest = { version = "0.12", default-features = false, features = ["json", "rus
15
24
  rustyline = "14"
16
25
  serde = { version = "1.0", features = ["derive"] }
17
26
  serde_json = "1.0"
18
- tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "process", "time", "sync", "io-util", "signal"] }
27
+ tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "process", "time", "sync", "io-util", "signal", "net"] }
28
+ tokio-stream = { version = "0.1", features = ["sync"] }
19
29
  toml = "0.8"
30
+ axum = { version = "0.7", features = ["json"] }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Pandhu Wibowo
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 all
13
+ 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 THE
21
+ SOFTWARE.