feat: introduce Rig agent runtime migration

This commit is contained in:
2026-08-04 02:15:18 -05:00
parent d9cf0d8ae3
commit 4c7270db8d
39 changed files with 2551 additions and 211 deletions
Generated
+129 -2
View File
@@ -1025,6 +1025,12 @@ version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
[[package]]
name = "as-any"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0f477b951e452a0b6b4a10b53ccd569042d1d01729b519e02074a9c0958a063"
[[package]]
name = "as-raw-xcb-connection"
version = "1.0.1"
@@ -1327,7 +1333,7 @@ dependencies = [
"rustls-pki-types",
"tokio",
"tokio-rustls",
"tungstenite",
"tungstenite 0.24.0",
]
[[package]]
@@ -3373,6 +3379,15 @@ dependencies = [
"unicode-segmentation",
]
[[package]]
name = "convert_case"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "affbf0190ed2caf063e3def54ff444b449371d55c58e513a95ab98eca50adb49"
dependencies = [
"unicode-segmentation",
]
[[package]]
name = "core-foundation"
version = "0.9.4"
@@ -5653,6 +5668,8 @@ dependencies = [
"futures-util",
"fuzzy_match",
"galaxy_acp",
"galaxy_agent_core",
"galaxy_agent_rig",
"galaxy_cli",
"galaxy_completer",
"galaxy_core",
@@ -5863,6 +5880,32 @@ dependencies = [
"thiserror 2.0.19",
]
[[package]]
name = "galaxy_agent_core"
version = "0.1.0"
dependencies = [
"async-channel",
"async-trait",
"futures",
"serde",
"serde_json",
]
[[package]]
name = "galaxy_agent_rig"
version = "0.1.0"
dependencies = [
"async-stream",
"async-trait",
"bytes",
"futures",
"galaxy_agent_core",
"rig-core",
"serde_json",
"tokio",
"uuid",
]
[[package]]
name = "galaxy_cli"
version = "0.0.0"
@@ -7161,7 +7204,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 1.0.69",
"tungstenite",
"tungstenite 0.24.0",
"ws_stream_wasm",
]
@@ -12735,6 +12778,55 @@ dependencies = [
"bytemuck",
]
[[package]]
name = "rig-core"
version = "0.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d8731dd5532b3a12ce1613af73073fb2051ef750f50c504778c21d55ae933cac"
dependencies = [
"as-any",
"async-stream",
"base64 0.22.1",
"bytes",
"eventsource-stream",
"fastrand 2.5.0",
"futures",
"futures-timer",
"glob",
"http 1.5.0",
"indexmap 2.14.0",
"mime",
"mime_guess",
"ordered-float 5.3.0",
"pin-project-lite",
"reqwest 0.13.4",
"rig-derive",
"schemars 1.2.2",
"serde",
"serde_json",
"thiserror 2.0.19",
"tokio",
"tokio-tungstenite",
"tracing",
"tracing-futures",
"url",
]
[[package]]
name = "rig-derive"
version = "0.40.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3e98dde7a4e59e083e7396126ee4c83498c5bff605d126654e67815fa230a78"
dependencies = [
"convert_case 0.11.0",
"indoc",
"proc-macro-crate 3.5.0",
"proc-macro2",
"quote",
"serde_json",
"syn 2.0.119",
]
[[package]]
name = "ring"
version = "0.17.14"
@@ -15220,6 +15312,22 @@ dependencies = [
"tokio",
]
[[package]]
name = "tokio-tungstenite"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857"
dependencies = [
"futures-util",
"log",
"rustls",
"rustls-pki-types",
"tokio",
"tokio-rustls",
"tungstenite 0.28.0",
"webpki-roots 0.26.11",
]
[[package]]
name = "tokio-util"
version = "0.7.19"
@@ -15583,6 +15691,25 @@ dependencies = [
"utf-8",
]
[[package]]
name = "tungstenite"
version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8628dcc84e5a09eb3d8423d6cb682965dea9133204e8fb3efee74c2a0c259442"
dependencies = [
"bytes",
"data-encoding",
"http 1.5.0",
"httparse",
"log",
"rand 0.9.5",
"rustls",
"rustls-pki-types",
"sha1",
"thiserror 2.0.19",
"utf-8",
]
[[package]]
name = "twox-hash"
version = "2.1.3"