Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions src/app/(home)/_components/network-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,40 +76,6 @@ export function NetworkSection() {
</li>
))}
</ol>

<p className="mt-10">
<a href="#get-started" className="km-text-link">
Install commands in Get started
</a>
</p>

<div className="km-text-sm mt-8 max-w-3xl leading-6 text-fd-muted-foreground">
<p>
v2.11.0 prebuilt and npm binaries include{" "}
<code translate="no" className="km-text-xs font-mono leading-4">
kimetsu network
</code>
.{" "}
<code translate="no" className="km-text-xs font-mono leading-4">
cargo install kimetsu-cli
</code>{" "}
still needs{" "}
<code translate="no" className="km-text-xs font-mono leading-4">
--features network
</code>
. Relay is off, and router port mapping stays off unless you pass{" "}
<code translate="no" className="km-text-xs font-mono leading-4">
--map-ports
</code>
. This is not Kimetsu Remote, and Claude Desktop has no installer. The
Pi package can request a pack; it does not start share.
</p>
<p className="mt-3">
<Link href="/docs/network/security" className="km-text-link">
What is signed, scrubbed, and when Kimetsu listens →
</Link>
</p>
</div>
</section>
);
}
10 changes: 5 additions & 5 deletions tests/homepage-network.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ test("documents the network result tables and links them from the index", () =>
assert.match(results, /RTX 5060 Ti 16 GB/);
});

test("does not repeat install commands and links them to get started", () => {
test("does not repeat install commands in the network section", () => {
for (const command of [
"kimetsu plugin install grok-bot",
"kimetsu plugin install codex",
Expand All @@ -124,10 +124,10 @@ test("does not repeat install commands and links them to get started", () => {
]) {
assert.equal(section.includes(command), false, command);
}
assert.match(
section,
/<a href="#get-started" className="km-text-link">\s*Install commands in Get started\s*<\/a>/,
);
assert.equal(section.includes('href="#get-started"'), false);
assert.equal(section.includes("Install commands in Get started"), false);
assert.equal(section.includes("v2.11.0"), false);
assert.equal(section.includes("/docs/network/security"), false);
assert.equal(section.includes("km-button-primary"), false);
for (const command of [
"kimetsu network invite --name laptop",
Expand Down
Loading