Skip to content

Commit 5d7b041

Browse files
nhortonclaude
andcommitted
refactor(sync): remove unnecessary exit/restart instructions (#145)
The sync command was displaying instructions to exit and restart Claude/Gemini sessions to use new skills. This is not actually needed, so remove the reload instructions output at the end of sync. Co-authored-by: Claude <noreply@anthropic.com>
1 parent abc8fab commit 5d7b041

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/deepwork/cli/sync.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ def sync_skills(project_path: Path) -> None:
117117
# Sync each platform
118118
generator = SkillGenerator()
119119
stats = {"platforms": 0, "skills": 0, "hooks": 0}
120-
synced_adapters: list[AgentAdapter] = []
121120

122121
for platform_name in platforms:
123122
try:
@@ -184,7 +183,6 @@ def sync_skills(project_path: Path) -> None:
184183
console.print(f" [red]✗[/red] Failed to sync skill permissions: {e}")
185184

186185
stats["platforms"] += 1
187-
synced_adapters.append(adapter)
188186

189187
# Summary
190188
console.print()
@@ -201,11 +199,3 @@ def sync_skills(project_path: Path) -> None:
201199
table.add_row("Hooks synced", str(stats["hooks"]))
202200

203201
console.print(table)
204-
console.print()
205-
206-
# Show reload instructions for each synced platform
207-
if synced_adapters and stats["skills"] > 0:
208-
console.print("[bold]To use the new skills:[/bold]")
209-
for adapter in synced_adapters:
210-
console.print(f" [cyan]{adapter.display_name}:[/cyan] {adapter.reload_instructions}")
211-
console.print()

0 commit comments

Comments
 (0)