Skip to content

feat(cli): add restart command to apply config changes#101

Merged
rgao-coreweave merged 1 commit into
mainfrom
feat/daemon-restart-and-status-agent-name
Jun 17, 2026
Merged

feat(cli): add restart command to apply config changes#101
rgao-coreweave merged 1 commit into
mainfrom
feat/daemon-restart-and-status-agent-name

Conversation

@rgao-coreweave

@rgao-coreweave rgao-coreweave commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

What

The daemon reads config once at startup and holds it for its lifetime (it also persists across sessions), so a change does not reach a daemon that is already running. There was no way to apply a config change short of killing the process.

Changes

  • weave-claude-code restart: stop the live daemon, start a fresh one that re-reads settings. Won't spawn an unconfigured daemon; confirms it comes up.
  • docs: fix the weave-config "no restart required" note to point at restart.

Tests

npm run check: 55 pass, clean build. Adds tests/restart.test.ts. Verified live via the compiled build.

Stack

Base of a 3-PR stack: this -> surface agent_name in status (#103) -> drift warning (#102). Review in order.

🤖 Generated with Claude Code

@w-b-hivemind

w-b-hivemind Bot commented Jun 16, 2026

Copy link
Copy Markdown

HiveMind Sessions

2 sessions · 1h 3m · $32

Session Agent Duration Tokens Cost Lines
Session With No Substantial Activity
beb05836-e839-4800-b1a2-d5c10145e044
claude 4s 9.0K $0.07 +0 -0
Add Restart Command and Config Drift Warning
eae4aa16-dfc4-447c-afb1-f04dde1f22ff
claude 1h 3m 285.9K $32 +946 -111
Total 1h 3m 294.9K $32 +946 -111

View all sessions in HiveMind →

Run claude --resume beb05836-e839-4800-b1a2-d5c10145e044 to pickup where you left off.

@rgao-coreweave rgao-coreweave force-pushed the feat/daemon-restart-and-status-agent-name branch 6 times, most recently from f0e180b to e7c4a3f Compare June 16, 2026 23:38
@rgao-coreweave rgao-coreweave force-pushed the feat/daemon-restart-and-status-agent-name branch 3 times, most recently from 4b0569c to f9fed60 Compare June 17, 2026 00:18
@rgao-coreweave rgao-coreweave changed the title feat(cli): add restart command and surface agent_name in status feat(cli): add restart command to apply config changes Jun 17, 2026
@rgao-coreweave rgao-coreweave marked this pull request as ready for review June 17, 2026 16:50
@rgao-coreweave rgao-coreweave requested a review from a team as a code owner June 17, 2026 16:50
- restart: stop the daemon, start one that re-reads settings
- docs: fix weave-config 'no restart required' note

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rgao-coreweave rgao-coreweave force-pushed the feat/daemon-restart-and-status-agent-name branch from f9fed60 to d488120 Compare June 17, 2026 16:54

@drtangible drtangible left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rgao-coreweave rgao-coreweave merged commit 04ef583 into main Jun 17, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants