MCPcopy Create free account
hub / github.com/cortexkit/magic-context / printNextSteps

Function printNextSteps

packages/cli/src/commands/setup.ts:65–85  ·  view source on GitHub ↗
(adapter: HarnessAdapter)

Source from the content-addressed store, hash-verified

63}
64
65function 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}

Callers 1

runSetupFunction · 0.85

Calls 1

noteFunction · 0.90

Tested by

no test coverage detected