1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
//! # synwire
//!
//! Convenience re-exports and reference implementations for Synwire.
//!
//! This crate provides ready-to-use implementations for common patterns:
//! chat history management, embedding cache, few-shot prompts,
//! text splitters, and additional output parsers.
pub use synwire_core as core;
/// Agent core re-exports — types needed to build and run agents.
/// Embedding cache backed by moka.
/// Chat message history traits and implementations.
/// Few-shot prompt templates and example selectors.
/// Text splitter implementations for chunking documents.
/// Additional output parser implementations.
/// Sandbox integration for agent tool calling.
///
/// Provides `SandboxedAgent::with_sandbox()` to wire up process tracking
/// and the `ProcessPlugin` automatically when a `SandboxConfig` is set.
///
/// Requires the `sandbox` feature: `synwire = { features = ["sandbox"] }`.
/// Language Server Protocol integration.
///
/// Provides [`LspPlugin`](synwire_lsp::plugin::LspPlugin) for adding LSP
/// tools (go-to-definition, hover, diagnostics, etc.) to agents, plus a
/// [`LanguageServerRegistry`](synwire_lsp::registry::LanguageServerRegistry)
/// with built-in entries for popular language servers.
///
/// Requires the `lsp` feature: `synwire = { features = ["lsp"] }`.
pub use synwire_lsp as lsp;
/// Debug Adapter Protocol integration.
///
/// Provides [`DapPlugin`](synwire_dap::plugin::DapPlugin) for adding debug
/// tools (breakpoints, stepping, variable inspection) to agents, plus a
/// [`DebugAdapterRegistry`](synwire_dap::registry::DebugAdapterRegistry)
/// with built-in entries for popular debug adapters.
///
/// Requires the `dap` feature: `synwire = { features = ["dap"] }`.
pub use synwire_dap as dap;