chore: remove daemon crate
This commit is contained in:
parent
3bc0de1762
commit
673c739909
|
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
title: 'Remove obsolete daemon crate'
|
title: 'Remove obsolete daemon crate'
|
||||||
state: 'inprogress'
|
state: 'closed'
|
||||||
created_at: '2026-06-20T13:36:13Z'
|
created_at: '2026-06-20T13:36:13Z'
|
||||||
updated_at: '2026-06-20T13:36:51Z'
|
updated_at: '2026-06-20T13:41:19Z'
|
||||||
assignee: null
|
assignee: null
|
||||||
queued_by: 'yoi ticket'
|
queued_by: 'yoi ticket'
|
||||||
queued_at: '2026-06-20T13:36:51Z'
|
queued_at: '2026-06-20T13:36:51Z'
|
||||||
|
|
|
||||||
1
.yoi/tickets/00001KVJKY1BW/resolution.md
Normal file
1
.yoi/tickets/00001KVJKY1BW/resolution.md
Normal 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.
|
||||||
|
|
@ -39,4 +39,31 @@ Ticket を `yoi ticket` が queued にしました。
|
||||||
State changed to `inprogress`.
|
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
10
Cargo.lock
generated
|
|
@ -790,15 +790,6 @@ dependencies = [
|
||||||
"phf 0.11.3",
|
"phf 0.11.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "daemon"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"manifest",
|
|
||||||
"protocol",
|
|
||||||
"tokio",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "darling"
|
name = "darling"
|
||||||
version = "0.23.0"
|
version = "0.23.0"
|
||||||
|
|
@ -4297,7 +4288,6 @@ dependencies = [
|
||||||
"bytes",
|
"bytes",
|
||||||
"libc",
|
"libc",
|
||||||
"mio",
|
"mio",
|
||||||
"parking_lot",
|
|
||||||
"pin-project-lite",
|
"pin-project-lite",
|
||||||
"signal-hook-registry",
|
"signal-hook-registry",
|
||||||
"socket2",
|
"socket2",
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
members = [
|
members = [
|
||||||
"crates/client",
|
"crates/client",
|
||||||
"crates/daemon",
|
|
||||||
"crates/llm-worker",
|
"crates/llm-worker",
|
||||||
"crates/llm-worker-macros",
|
"crates/llm-worker-macros",
|
||||||
"crates/session-store",
|
"crates/session-store",
|
||||||
|
|
@ -29,7 +28,6 @@ members = [
|
||||||
]
|
]
|
||||||
default-members = [
|
default-members = [
|
||||||
"crates/client",
|
"crates/client",
|
||||||
"crates/daemon",
|
|
||||||
"crates/llm-worker",
|
"crates/llm-worker",
|
||||||
"crates/llm-worker-macros",
|
"crates/llm-worker-macros",
|
||||||
"crates/session-store",
|
"crates/session-store",
|
||||||
|
|
|
||||||
|
|
@ -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"] }
|
|
||||||
|
|
@ -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)
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
|
|
||||||
|
|
@ -2725,7 +2725,7 @@ mod completion_flow_tests {
|
||||||
let _ = app.refresh_completion();
|
let _ = app.refresh_completion();
|
||||||
app.completion.as_mut().unwrap().entries = vec![
|
app.completion.as_mut().unwrap().entries = vec![
|
||||||
CompletionEntry {
|
CompletionEntry {
|
||||||
value: "crates/daemon".into(),
|
value: "crates/client".into(),
|
||||||
is_dir: true,
|
is_dir: true,
|
||||||
},
|
},
|
||||||
CompletionEntry {
|
CompletionEntry {
|
||||||
|
|
@ -2810,7 +2810,7 @@ mod completion_flow_tests {
|
||||||
}
|
}
|
||||||
let _ = app.refresh_completion();
|
let _ = app.refresh_completion();
|
||||||
app.completion.as_mut().unwrap().entries = vec![CompletionEntry {
|
app.completion.as_mut().unwrap().entries = vec![CompletionEntry {
|
||||||
value: "crates/daemon".into(),
|
value: "crates/client".into(),
|
||||||
is_dir: true,
|
is_dir: true,
|
||||||
}];
|
}];
|
||||||
assert!(!app.chipify_completion_if_exact_match());
|
assert!(!app.chipify_completion_if_exact_match());
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
filter = sourceFilter;
|
filter = sourceFilter;
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-rvsjn4BBxd9vt4nytPgUh4l/OQCRpqHbUR4jHoH589U=";
|
cargoHash = "sha256-GUqhvq+JhJokk1R4VVeVz5cZe/6oSrVMyKjcltZEWqE=";
|
||||||
|
|
||||||
depsExtraArgs = {
|
depsExtraArgs = {
|
||||||
# Older fetchCargoVendor utilities used crates.io's API download endpoint,
|
# Older fetchCargoVendor utilities used crates.io's API download endpoint,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user