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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"semantic-release": "25.0.7",
"tsx": "^4.23.1",
"typescript": "^6.0.3",
"typescript-eslint": "8.64.0"
"typescript-eslint": "8.69.0"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.30.0",
Expand Down
167 changes: 100 additions & 67 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/bridges/user/web/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class HandleRef {
export async function runWeb(userName: string, port = 0): Promise<void> {
const handle = await createWebServer(port);
// Keep handle alive for cleanup — variable is intentionally unused
void new HandleRef(handle);
new HandleRef(handle);

handle.server.on("listening", () => {
const addr = handle.server.address();
Expand Down
4 changes: 1 addition & 3 deletions src/core/discovery-mdns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ export class MdnsDiscoveryBackend implements DiscoveryBackend {
return id;
}

stopAdvertising(id: string): Promise<void> {
void id;

stopAdvertising(): Promise<void> {
if (this.beaconTimer !== undefined) {
clearInterval(this.beaconTimer);
this.beaconTimer = undefined;
Expand Down
7 changes: 2 additions & 5 deletions src/core/discovery-tailscale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ export class TailscaleDiscoveryBackend implements DiscoveryBackend {
}

/** No-op — nothing to stop. */
stopAdvertising(id: string): Promise<void> {
void id;
stopAdvertising(): Promise<void> {
return Promise.resolve();
}

Expand All @@ -79,9 +78,7 @@ export class TailscaleDiscoveryBackend implements DiscoveryBackend {
* Discover meshes on the tailnet by probing peers.
* Returns peers that respond to a TCP connection on port 19876.
*/
async discover(timeout?: number): Promise<DiscoveredMesh[]> {
void timeout;

async discover(): Promise<DiscoveredMesh[]> {
const peers = await this.getPeers();
if (peers.length === 0) return [];

Expand Down
Loading