# Files changed · PR \#10011 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/10011/diffs)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

[refactor\(tailscale\): keep package internals private](https://git.cafe/pingdotgg/t3code/pull/10011.md)

Version: 2

Head commit: ec9cd419b49ea02f83bfc3c9414356aa1e9d5197

Base commit: ba873b8181c3741603a365e75785457064a52ffd

Comparison base: da1bebbb11701b58ebdde5ee019f3aeef3d42b27

Showing up to 20 entries from this revision. If the pull request changes, reopen the first page before continuing.

## packages/tailscale/src/tailscale.ts

Status: modified; +4; −5

```diff
@@ -9,8 +9,8 @@
 
 export const DEFAULT_TAILSCALE_SERVE_PORT = 443;
 export const TAILSCALE_STATUS_TIMEOUT = Duration.millis(1_500);
+const TAILSCALE_SERVE_TIMEOUT = Duration.seconds(10);
+const TAILSCALE_PROBE_TIMEOUT = Duration.millis(2_500);
-export const TAILSCALE_SERVE_TIMEOUT = Duration.seconds(10);
-export const TAILSCALE_PROBE_TIMEOUT = Duration.millis(2_500);
 
 // tailscale is a real executable everywhere (`tailscale.exe` on Windows), so
 // it is always spawned directly rather than through cmd.exe shell mode.
@@ -47,7 +47,7 @@
 ];
 
 /** Classifies stderr into a safe label, dropping the text itself. */
+const stderrDiagnosticOf = (stderr: string): TailscaleStderrDiagnostic | undefined => {
-export const stderrDiagnosticOf = (stderr: string): TailscaleStderrDiagnostic | undefined => {
   if (stderr.trim().length === 0) {
     return undefined;
   }
@@ -66,7 +66,7 @@
   }
 }
 
-export class TailscaleCommandOutputError extends Schema.TaggedErrorClass<TailscaleCommandOutputError>()(
+class TailscaleCommandOutputError extends Schema.TaggedErrorClass<TailscaleCommandOutputError>()(
   "TailscaleCommandOutputError",
   {
     ...TailscaleCommandContext,
@@ -137,7 +137,6 @@
   Self: Schema.optional(TailscaleStatusSelf),
 });
 
-export type TailscaleStatusSelf = typeof TailscaleStatusSelf.Type;
 export type TailscaleStatusJson = typeof TailscaleStatusJson.Type;
 
 export interface TailscaleStatus {
```
