Skip to main content

Crate oino_tools

Crate oino_tools 

Source
Expand description

Re-exports§

pub use bash::BashDetachRegistry;
pub use bash::BashOutcome;
pub use bash::DetachedProcess;
pub use bash::ShellRunOptions;
pub use bash::ShellTool;
pub use bash::run_shell_command;
pub use config::ImageOptions;
pub use config::ModelImageInfo;
pub use config::NoContext;
pub use config::SessionEnv;
pub use config::ShellOptions;
pub use config::ToolConfig;
pub use config::ToolContext;
pub use edit::EditTool;
pub use env::ExecutionEnv;
pub use env::FsError;
pub use env::LocalEnv;
pub use env::SpawnedProcess;
pub use find::FindTool;
pub use grep::GrepTool;
pub use info::BuiltinToolInfo;
pub use info::BuiltinToolName;
pub use info::DEFAULT_ACTIVE_TOOLS;
pub use info::READ_ONLY_TOOLS;
pub use info::builtin_tool_info;
pub use ls::LsTool;
pub use mutation_queue::FileMutationQueue;
pub use read::ReadTool;
pub use registry::builtin_tool_infos;
pub use registry::builtin_tools;
pub use registry::coding_tools;
pub use registry::create_tool;
pub use registry::read_only_tools;
pub use registry::tool_by_name;
pub use write::WriteTool;

Modules§

bash
Shell tools and reusable shell execution (tools/bash.ts, tools/powershell.ts, tools/output-accumulator.ts, core/bash-executor.ts, utils/shell.ts).
config
Tool configuration and the per-call context core supplies (the ToolsOptions + ExtensionContext fields the built-ins read).
edit
edit.
env
Execution environment: the file system and process boundary every tool goes through.
find
find.
grep
grep.
image
Image handling for read (image-process, image-resize-core, image-convert.ts, mime.ts, exif-orientation.ts).
info
Static metadata of the built-in tools (names, descriptions, schemas, prompt text).
ls
ls.
mutation_queue
Per-file serialisation of mutations.
path_utils
Path resolution of tool arguments.
read
read.
registry
Construction of the built-in tools (tools/index.ts: createTool, createAllTools, createCodingTools, createReadOnlyTools).
truncate
Output truncation shared by the tools.
write
write.

Constants§

OPERATION_ABORTED
The abort error text.