refactor cli config and move most of it to own_assist_common so that it can be reused in other clients.
This commit is contained in:
+16
-16
@@ -61,6 +61,7 @@
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/hsivonen/encoding_rs ">encoding_rs 0.8.35</a></li>
|
||||
<li><a href=" https://github.com/ruuda/hound ">hound 3.5.1</a></li>
|
||||
<li><a href=" https://github.com/4t145/sse-stream/ ">sse-stream 0.2.5</a></li>
|
||||
<li><a href=" https://github.com/nvzqz/static-assertions-rs ">static_assertions 1.1.0</a></li>
|
||||
<li><a href=" https://github.com/hsivonen/utf8_iter ">utf8_iter 1.0.4</a></li>
|
||||
<li><a href=" https://github.com/RustCrypto/utils ">zeroize 1.9.0</a></li>
|
||||
@@ -494,7 +495,7 @@
|
||||
<h3 id="Apache-2.0">Apache License 2.0</h3>
|
||||
<h4>Used by:</h4>
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/google/zerocopy ">zerocopy 0.8.54</a></li>
|
||||
<li><a href=" https://github.com/google/zerocopy ">zerocopy 0.8.55</a></li>
|
||||
</ul>
|
||||
<pre class="license-text"> Apache License
|
||||
Version 2.0, January 2004
|
||||
@@ -2825,7 +2826,7 @@ limitations under the License.
|
||||
<h3 id="Apache-2.0">Apache License 2.0</h3>
|
||||
<h4>Used by:</h4>
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/rustls/pki-types ">rustls-pki-types 1.15.0</a></li>
|
||||
<li><a href=" https://github.com/rustls/pki-types ">rustls-pki-types 1.15.1</a></li>
|
||||
</ul>
|
||||
<pre class="license-text"> Apache License
|
||||
Version 2.0, January 2004
|
||||
@@ -3039,7 +3040,7 @@ limitations under the License.
|
||||
<li><a href=" https://github.com/marshallpierce/rust-base64 ">base64 0.22.1</a></li>
|
||||
<li><a href=" https://github.com/bitflags/bitflags ">bitflags 2.13.1</a></li>
|
||||
<li><a href=" https://github.com/fitzgen/bumpalo ">bumpalo 3.20.3</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/cc-rs ">cc 1.3.0</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/cc-rs ">cc 1.4.0</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/cfg-if ">cfg-if 1.0.4</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/cmake-rs ">cmake 0.1.58</a></li>
|
||||
<li><a href=" https://github.com/servo/core-foundation-rs ">core-foundation-sys 0.8.7</a></li>
|
||||
@@ -3049,7 +3050,7 @@ limitations under the License.
|
||||
<li><a href=" https://github.com/yaahc/displaydoc ">displaydoc 0.2.6</a></li>
|
||||
<li><a href=" https://github.com/indexmap-rs/equivalent ">equivalent 1.0.2</a></li>
|
||||
<li><a href=" https://github.com/lambda-fairy/rust-errno ">errno 0.3.14</a></li>
|
||||
<li><a href=" https://github.com/smol-rs/fastrand ">fastrand 2.4.1</a></li>
|
||||
<li><a href=" https://github.com/smol-rs/fastrand ">fastrand 2.5.0</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/cc-rs ">find-msvc-tools 0.1.9</a></li>
|
||||
<li><a href=" https://github.com/servo/rust-fnv ">fnv 1.0.7</a></li>
|
||||
<li><a href=" https://github.com/servo/rust-url ">form_urlencoded 1.2.2</a></li>
|
||||
@@ -4361,7 +4362,7 @@ limitations under the License.
|
||||
<li><a href=" https://github.com/jni-rs/jni-rs ">jni-macros 0.22.4</a></li>
|
||||
<li><a href=" https://github.com/jni-rs/jni-sys ">jni-sys-macros 0.4.1</a></li>
|
||||
<li><a href=" https://github.com/jni-rs/jni-rs ">jni 0.22.4</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/libc ">libc 0.2.186</a></li>
|
||||
<li><a href=" https://github.com/rust-lang/libc ">libc 0.2.189</a></li>
|
||||
<li><a href=" https://github.com/JohnTitor/mach2 ">mach2 0.6.0</a></li>
|
||||
<li><a href=" https://github.com/rust-windowing/android-ndk-rs ">ndk-context 0.1.1</a></li>
|
||||
<li><a href=" https://github.com/rust-mobile/ndk ">ndk-sys 0.6.0+11769913</a></li>
|
||||
@@ -4395,14 +4396,13 @@ limitations under the License.
|
||||
<li><a href=" https://github.com/serde-rs/serde ">serde_core 1.0.229</a></li>
|
||||
<li><a href=" https://github.com/serde-rs/serde ">serde_derive 1.0.229</a></li>
|
||||
<li><a href=" https://github.com/serde-rs/serde ">serde_derive_internals 0.29.1</a></li>
|
||||
<li><a href=" https://github.com/serde-rs/json ">serde_json 1.0.150</a></li>
|
||||
<li><a href=" https://github.com/serde-rs/json ">serde_json 1.0.151</a></li>
|
||||
<li><a href=" https://github.com/dtolnay/path-to-error ">serde_path_to_error 0.1.20</a></li>
|
||||
<li><a href=" https://github.com/nox/serde_urlencoded ">serde_urlencoded 0.7.1</a></li>
|
||||
<li><a href=" https://github.com/comex/rust-shlex ">shlex 2.0.1</a></li>
|
||||
<li><a href=" https://github.com/rusticstuff/simdutf8 ">simdutf8 0.1.5</a></li>
|
||||
<li><a href=" https://github.com/4t145/sse-stream/ ">sse-stream 0.2.4</a></li>
|
||||
<li><a href=" https://github.com/dtolnay/syn ">syn 2.0.119</a></li>
|
||||
<li><a href=" https://github.com/dtolnay/syn ">syn 3.0.0</a></li>
|
||||
<li><a href=" https://github.com/dtolnay/syn ">syn 3.0.3</a></li>
|
||||
<li><a href=" https://github.com/Actyx/sync_wrapper ">sync_wrapper 1.0.2</a></li>
|
||||
<li><a href=" https://github.com/dtolnay/thiserror ">thiserror-impl 1.0.69</a></li>
|
||||
<li><a href=" https://github.com/dtolnay/thiserror ">thiserror-impl 2.0.19</a></li>
|
||||
@@ -4898,7 +4898,7 @@ insights.
|
||||
<h3 id="GPL-3.0">GNU General Public License v3.0 only</h3>
|
||||
<h4>Used by:</h4>
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://crates.io/crates/own_mcp ">own_mcp 0.1.0</a></li>
|
||||
<li><a href=" https://crates.io/crates/own_mcp ">own_mcp 0.1.1</a></li>
|
||||
</ul>
|
||||
<pre class="license-text">GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
@@ -5263,7 +5263,7 @@ THE SOFTWARE.
|
||||
<h3 id="MIT">MIT License</h3>
|
||||
<h4>Used by:</h4>
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/hyperium/hyper ">hyper 1.10.1</a></li>
|
||||
<li><a href=" https://github.com/hyperium/hyper ">hyper 1.11.0</a></li>
|
||||
</ul>
|
||||
<pre class="license-text">Copyright (c) 2014-2026 Sean McArthur
|
||||
|
||||
@@ -5807,8 +5807,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRES
|
||||
<h3 id="MIT">MIT License</h3>
|
||||
<h4>Used by:</h4>
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/pepperoni21/ollama-rs ">ollama-rs-macros 0.3.5</a></li>
|
||||
<li><a href=" https://github.com/pepperoni21/ollama-rs ">ollama-rs 0.3.5</a></li>
|
||||
<li><a href=" https://github.com/pepperoni21/ollama-rs ">ollama-rs-macros 0.3.6</a></li>
|
||||
<li><a href=" https://github.com/pepperoni21/ollama-rs ">ollama-rs 0.3.6</a></li>
|
||||
</ul>
|
||||
<pre class="license-text">MIT License
|
||||
|
||||
@@ -5867,9 +5867,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
<h3 id="MIT">MIT License</h3>
|
||||
<h4>Used by:</h4>
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/tokio-rs/tokio ">tokio-stream 0.1.18</a></li>
|
||||
<li><a href=" https://github.com/tokio-rs/tokio ">tokio-util 0.7.18</a></li>
|
||||
<li><a href=" https://github.com/tokio-rs/tokio ">tokio 1.53.0</a></li>
|
||||
<li><a href=" https://github.com/tokio-rs/tokio ">tokio-stream 0.1.19</a></li>
|
||||
<li><a href=" https://github.com/tokio-rs/tokio ">tokio-util 0.7.19</a></li>
|
||||
<li><a href=" https://github.com/tokio-rs/tokio ">tokio 1.53.1</a></li>
|
||||
</ul>
|
||||
<pre class="license-text">MIT License
|
||||
|
||||
@@ -5957,7 +5957,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
<ul class="license-used-by">
|
||||
<li><a href=" https://github.com/BurntSushi/aho-corasick ">aho-corasick 1.1.4</a></li>
|
||||
<li><a href=" https://github.com/BurntSushi/jiff ">jiff-core 0.1.0</a></li>
|
||||
<li><a href=" https://github.com/BurntSushi/jiff ">jiff 0.2.33</a></li>
|
||||
<li><a href=" https://github.com/BurntSushi/jiff ">jiff 0.2.35</a></li>
|
||||
<li><a href=" https://github.com/BurntSushi/memchr ">memchr 2.8.3</a></li>
|
||||
<li><a href=" https://github.com/BurntSushi/walkdir ">walkdir 2.5.0</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -9,7 +9,6 @@ use rmcp::ServiceError;
|
||||
use rmcp::model::{CallToolRequestParams, CallToolResult};
|
||||
use serde::Deserialize;
|
||||
use std::collections::HashMap;
|
||||
use std::fmt::Formatter;
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Debug, Copy, Clone, Default, Deserialize, PartialEq)]
|
||||
|
||||
Reference in New Issue
Block a user