refactor: rename pod crate to worker
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//! Read-only analytics for Yoi session JSONL logs.
|
||||
//!
|
||||
//! This crate intentionally parses the persisted JSON shape tolerantly with
|
||||
//! `serde_json::Value` rather than depending on Pod runtime or TUI crates. The
|
||||
//! `serde_json::Value` rather than depending on Worker runtime or TUI crates. The
|
||||
//! report contains counts, paths, sizes, line/turn indexes, and bounded
|
||||
//! diagnostics; raw user messages, tool arguments, and tool output snippets are
|
||||
//! not emitted.
|
||||
@@ -1596,8 +1596,8 @@ fn tool_kind(name: &str) -> &'static str {
|
||||
"Read" | "Write" | "Edit" | "Glob" | "Grep" => "filesystem",
|
||||
"Bash" => "shell",
|
||||
"WebFetch" | "WebSearch" => "web",
|
||||
"SpawnPod" | "SendToPod" | "ReadPodOutput" | "ListPods" | "StopPod" | "RestorePod"
|
||||
| "SendToPeerPod" => "pod",
|
||||
"SpawnWorker" | "SendToWorker" | "ReadWorkerOutput" | "ListWorkers" | "StopWorker"
|
||||
| "RestoreWorker" | "SendToPeerPod" => "worker",
|
||||
name if name.starts_with("Memory") || name.starts_with("Knowledge") => "memory",
|
||||
name if name.starts_with("Ticket") => "ticket",
|
||||
name if name.starts_with("Task") => "task",
|
||||
|
||||
Reference in New Issue
Block a user