chore: remove daemon crate

This commit is contained in:
Keisuke Hirata 2026-06-20 22:41:24 +09:00
parent 3bc0de1762
commit 673c739909
No known key found for this signature in database
10 changed files with 33 additions and 53 deletions

View File

@ -1,8 +1,8 @@
---
title: 'Remove obsolete daemon crate'
state: 'inprogress'
state: 'closed'
created_at: '2026-06-20T13:36:13Z'
updated_at: '2026-06-20T13:36:51Z'
updated_at: '2026-06-20T13:41:19Z'
assignee: null
queued_by: 'yoi ticket'
queued_at: '2026-06-20T13:36:51Z'

View File

@ -0,0 +1 @@
Removed obsolete placeholder crates/daemon workspace member. Updated Cargo workspace/default-members, Cargo.lock, TUI completion fixtures, and package.nix cargoHash. Validation passed: cargo fmt --check; cargo test -p tui; cargo check --workspace; git diff --check; yoi ticket doctor; nix build .#yoi --no-link.

View File

@ -39,4 +39,31 @@ Ticket を `yoi ticket` が queued にしました。
State changed to `inprogress`.
---
<!-- event: state_changed author: "yoi ticket" at: 2026-06-20T13:41:19Z from: inprogress to: done reason: cli_state field: state -->
## State changed
State changed to `done`.
---
<!-- event: state_changed author: hare at: 2026-06-20T13:41:19Z from: done to: closed reason: closed field: state -->
## State changed
Ticket を closed にしました。
---
<!-- event: close author: hare at: 2026-06-20T13:41:19Z status: closed -->
## 完了
Removed obsolete placeholder crates/daemon workspace member. Updated Cargo workspace/default-members, Cargo.lock, TUI completion fixtures, and package.nix cargoHash. Validation passed: cargo fmt --check; cargo test -p tui; cargo check --workspace; git diff --check; yoi ticket doctor; nix build .#yoi --no-link.
---

10
Cargo.lock generated
View File

@ -790,15 +790,6 @@ dependencies = [
"phf 0.11.3",
]
[[package]]
name = "daemon"
version = "0.1.0"
dependencies = [
"manifest",
"protocol",
"tokio",
]
[[package]]
name = "darling"
version = "0.23.0"
@ -4297,7 +4288,6 @@ dependencies = [
"bytes",
"libc",
"mio",
"parking_lot",
"pin-project-lite",
"signal-hook-registry",
"socket2",

View File

@ -2,7 +2,6 @@
resolver = "2"
members = [
"crates/client",
"crates/daemon",
"crates/llm-worker",
"crates/llm-worker-macros",
"crates/session-store",
@ -29,7 +28,6 @@ members = [
]
default-members = [
"crates/client",
"crates/daemon",
"crates/llm-worker",
"crates/llm-worker-macros",
"crates/session-store",

View File

@ -1,10 +0,0 @@
[package]
name = "daemon"
version = "0.1.0"
edition.workspace = true
license.workspace = true
[dependencies]
manifest = { workspace = true }
protocol = { workspace = true }
tokio = { workspace = true, features = ["full"] }

View File

@ -1,25 +0,0 @@
# daemon
## Role
`daemon` is reserved for future long-lived Pod lifecycle management.
## Boundaries
Owns:
- daemon-specific lifecycle coordination when that design is implemented
Does not own today:
- current Pod socket serving (`pod`)
- normal CLI/TUI startup (`yoi`, `tui`)
- live registry mechanics already handled elsewhere (`pod-registry`)
## Design notes
This crate exists as a placeholder. Do not route current runtime authority through it until there is a concrete daemon design and work item.
## See also
- [`../../docs/design/pod-session-state.md`](../../docs/design/pod-session-state.md)

View File

@ -1 +0,0 @@

View File

@ -2725,7 +2725,7 @@ mod completion_flow_tests {
let _ = app.refresh_completion();
app.completion.as_mut().unwrap().entries = vec![
CompletionEntry {
value: "crates/daemon".into(),
value: "crates/client".into(),
is_dir: true,
},
CompletionEntry {
@ -2810,7 +2810,7 @@ mod completion_flow_tests {
}
let _ = app.refresh_completion();
app.completion.as_mut().unwrap().entries = vec![CompletionEntry {
value: "crates/daemon".into(),
value: "crates/client".into(),
is_dir: true,
}];
assert!(!app.chipify_completion_if_exact_match());

View File

@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
filter = sourceFilter;
};
cargoHash = "sha256-rvsjn4BBxd9vt4nytPgUh4l/OQCRpqHbUR4jHoH589U=";
cargoHash = "sha256-GUqhvq+JhJokk1R4VVeVz5cZe/6oSrVMyKjcltZEWqE=";
depsExtraArgs = {
# Older fetchCargoVendor utilities used crates.io's API download endpoint,