From c333fcec32b1f90bf0da6bb14d2609c20e38a74f Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Fri, 26 Jun 2026 22:21:55 +0900 Subject: style: switch from tabs to 2-space indentation (incl. svelte) --- src/features/computer/ui/ComputerField.svelte | 410 +++++++++++++------------ src/features/computer/ui/ComputerSelect.svelte | 60 ++-- 2 files changed, 236 insertions(+), 234 deletions(-) (limited to 'src/features/computer/ui') diff --git a/src/features/computer/ui/ComputerField.svelte b/src/features/computer/ui/ComputerField.svelte index ce19b4d..6b54c88 100644 --- a/src/features/computer/ui/ComputerField.svelte +++ b/src/features/computer/ui/ComputerField.svelte @@ -1,209 +1,211 @@
- Computer (SSH) -
- - {#if saving} - - {/if} -
- - {#if !canEdit} -

Start or open a conversation to set its computer.

- {:else if computerId !== null} - -
- {#if statusView} - - {#if statusView.busy} - - {/if} - {statusView.statusLabel} - - {:else if statusError} - Status error - {:else} - - {/if} - - - - {#if testResult} - - {testResult.ok ? "OK" : testResult.error ?? "Failed"} - - {/if} -
- {#if statusView?.error} -

{statusView.error}

- {/if} - {:else if computers.length === 0} -

- No computers discovered — add a `Host` block to your `~/.ssh/config` to use a remote computer. -

- {:else if justSaved && !error} -

Saved.

- {/if} - - {#if error} -

{error}

- {/if} - -

- Where this conversation's tools run. `null` (Local) runs on the server; an alias runs over SSH. Not seen by the agent. -

+ Computer (SSH) +
+ + {#if saving} + + {/if} +
+ + {#if !canEdit} +

Start or open a conversation to set its computer.

+ {:else if computerId !== null} + +
+ {#if statusView} + + {#if statusView.busy} + + {/if} + {statusView.statusLabel} + + {:else if statusError} + Status error + {:else} + + {/if} + + + + {#if testResult} + + {testResult.ok ? "OK" : (testResult.error ?? "Failed")} + + {/if} +
+ {#if statusView?.error} +

{statusView.error}

+ {/if} + {:else if computers.length === 0} +

+ No computers discovered — add a `Host` block to your `~/.ssh/config` to use a remote computer. +

+ {:else if justSaved && !error} +

Saved.

+ {/if} + + {#if error} +

{error}

+ {/if} + +

+ Where this conversation's tools run. `null` (Local) runs on the server; an alias runs over SSH. + Not seen by the agent. +

diff --git a/src/features/computer/ui/ComputerSelect.svelte b/src/features/computer/ui/ComputerSelect.svelte index d693140..c580b60 100644 --- a/src/features/computer/ui/ComputerSelect.svelte +++ b/src/features/computer/ui/ComputerSelect.svelte @@ -1,39 +1,39 @@ -- cgit v1.2.3