| 63 | } |
| 64 | |
| 65 | function printNextSteps(adapter: HarnessAdapter): void { |
| 66 | if (adapter.kind === "opencode") { |
| 67 | note( |
| 68 | [ |
| 69 | "Restart OpenCode (or reload your session) so the plugin loads.", |
| 70 | "Verify with: npx @cortexkit/magic-context@latest doctor", |
| 71 | ].join("\n"), |
| 72 | "Next steps", |
| 73 | ); |
| 74 | return; |
| 75 | } |
| 76 | if (adapter.kind === "pi") { |
| 77 | note( |
| 78 | [ |
| 79 | "Restart your Pi session so the extension registers.", |
| 80 | "Verify with: npx @cortexkit/magic-context@latest doctor --harness pi", |
| 81 | ].join("\n"), |
| 82 | "Next steps", |
| 83 | ); |
| 84 | } |
| 85 | } |