Skip to content

Commit 06c12d0

Browse files
committed
fix(ci): support Windows and valid daemon docs
Signed-off-by: Will Killian <wkillian@nvidia.com>
1 parent d45115c commit 06c12d0

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

crates/cli/src/daemon/common/state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,10 +520,10 @@ fn validate_private_file(file: &std::fs::File, path: &Path) -> Result<(), CliErr
520520
Ok(())
521521
}
522522

523-
fn sync_parent_directory(path: &Path) -> Result<(), CliError> {
523+
fn sync_parent_directory(_path: &Path) -> Result<(), CliError> {
524524
#[cfg(unix)]
525525
{
526-
let parent = path
526+
let parent = _path
527527
.parent()
528528
.ok_or_else(|| CliError::Config("worker generation state path has no parent".into()))?;
529529
std::fs::File::open(parent)?.sync_all()?;

docs/nemo-relay-cli/daemon.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: 'Deploy the brokered NeMo Relay daemon, MCP lifecycle client, manag
44
position: 7
55
---
66

7-
{/_ SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
8-
SPDX-License-Identifier: Apache-2.0 _/}
7+
{/* SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
8+
SPDX-License-Identifier: Apache-2.0 */}
99

1010
Use the managed daemon when an administrator must give multiple users the same
1111
coding-agent configuration while preserving per-user NeMo Relay runtime state.
@@ -447,9 +447,9 @@ explicit `-e` extension, but does not also load user, project, or discovered
447447
extensions that could alter provider registration, tool arguments, or shell
448448
policy after Relay has authorized an operation.
449449

450-
The extension starts the fixed dispatcher as `daemon mcp --daemon-address
451-
452-
<URL>`, waits for MCP initialization before registering managed providers, and
450+
The extension starts the fixed dispatcher as
451+
`daemon mcp --daemon-address <URL>`, waits for MCP initialization before
452+
registering managed providers, and
453453
keeps one process-wide broker reference across Pi reload, new, resume, and fork
454454
transitions. It sends Pi's session, agent, turn, compaction, tool, and custom
455455
shell events to `/hooks/pi`; policy responses are converted back into Pi's

0 commit comments

Comments
 (0)