Skip to content

Commit 0e4acdf

Browse files
committed
docs: add @latest tag to all bunx commands
1 parent bd00eda commit 0e4acdf

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

CONFIGURATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The setup wizard adds this automatically.
1919
If something isn't working, run the doctor to auto-detect and fix common issues:
2020

2121
```bash
22-
bunx @cortexkit/opencode-magic-context doctor
22+
bunx @cortexkit/opencode-magic-context@latest doctor
2323
```
2424

2525
Doctor checks: OpenCode installation, plugin registration, `magic-context.jsonc` existence, conflicts (compaction, DCP, OMO hooks), and TUI sidebar configuration. It auto-fixes what it can.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ irm https://raw.githubusercontent.com/cortexkit/opencode-magic-context/master/sc
7070

7171
**Or run directly (any OS):**
7272
```bash
73-
bunx @cortexkit/opencode-magic-context setup
73+
bunx @cortexkit/opencode-magic-context@latest setup
7474
```
7575

7676
The wizard will:
@@ -136,15 +136,15 @@ The setup wizard handles this automatically if it detects an oh-my-openagent or
136136
Already installed but something isn't working? Run the doctor to check and auto-fix configuration issues:
137137

138138
```bash
139-
bunx @cortexkit/opencode-magic-context doctor
139+
bunx @cortexkit/opencode-magic-context@latest doctor
140140
```
141141

142142
Doctor checks for conflicts (compaction, DCP, OMO hooks), ensures the TUI sidebar is configured, verifies the plugin is registered, and checks the npm cache — fixing what it can automatically.
143143

144144
Use `--force` to force-clear the plugin cache even when versions match (fixes broken transitive dependencies):
145145

146146
```bash
147-
bunx @cortexkit/opencode-magic-context doctor --force
147+
bunx @cortexkit/opencode-magic-context@latest doctor --force
148148
```
149149

150150
---
@@ -306,7 +306,7 @@ The TUI plugin is configured automatically by the setup wizard and the `doctor`
306306

307307
### Startup conflict detection
308308

309-
On startup, Magic Context checks for common configuration problems — OpenCode's built-in compaction being enabled, DCP plugin being active alongside Magic Context, or conflicting oh-my-openagent hooks. When conflicts are detected, it warns the active session with a fix suggestion pointing to `bunx @cortexkit/opencode-magic-context doctor`.
309+
On startup, Magic Context checks for common configuration problems — OpenCode's built-in compaction being enabled, DCP plugin being active alongside Magic Context, or conflicting oh-my-openagent hooks. When conflicts are detected, it warns the active session with a fix suggestion pointing to `bunx @cortexkit/opencode-magic-context@latest doctor`.
310310

311311
---
312312

packages/plugin/src/cli/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ if (command === "setup") {
2020
console.log(" doctor --force Force clear plugin cache (fixes broken dependencies)");
2121
console.log("");
2222
console.log(" Usage:");
23-
console.log(" bunx @cortexkit/opencode-magic-context setup");
24-
console.log(" bunx @cortexkit/opencode-magic-context doctor");
23+
console.log(" bunx @cortexkit/opencode-magic-context@latest setup");
24+
console.log(" bunx @cortexkit/opencode-magic-context@latest doctor");
2525
console.log("");
2626
process.exit(command ? 1 : 0);
2727
}

packages/plugin/src/shared/conflict-detector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export function formatConflictShort(result: ConflictResult): string {
288288
"",
289289
...result.reasons.map((r) => `• ${r}`),
290290
"",
291-
"Fix: run `bunx @cortexkit/opencode-magic-context doctor`",
291+
"Fix: run `bunx @cortexkit/opencode-magic-context@latest doctor`",
292292
];
293293
return lines.join("\n");
294294
}

packages/plugin/src/tui/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function showConflictDialog(api: TuiPluginApi, directory: string, reasons: strin
103103
}, 50)
104104
}}
105105
onCancel={() => {
106-
api.ui.toast({ message: "Magic Context remains disabled. Run: bunx @cortexkit/opencode-magic-context doctor", variant: "warning", duration: 5000 })
106+
api.ui.toast({ message: "Magic Context remains disabled. Run: bunx @cortexkit/opencode-magic-context@latest doctor", variant: "warning", duration: 5000 })
107107
}}
108108
/>
109109
))
@@ -152,7 +152,7 @@ function showTuiSetupDialog(api: TuiPluginApi) {
152152
}, 50)
153153
}}
154154
onCancel={() => {
155-
api.ui.toast({ message: "You can add the sidebar later via: bunx @cortexkit/opencode-magic-context doctor", variant: "info", duration: 5000 })
155+
api.ui.toast({ message: "You can add the sidebar later via: bunx @cortexkit/opencode-magic-context@latest doctor", variant: "info", duration: 5000 })
156156
}}
157157
/>
158158
))

0 commit comments

Comments
 (0)