Skip to content
Merged

0.9.3 #130

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
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.9.3] - 2026-07-11

### Changed

- 🎨 **Your appearance choice follows you.** Sign-in and setup now use the same look you picked for Computer.

### Fixed

- 🤖 **Pi only appears when it is really there.** A different program with a similar name will no longer show up as Pi.

## [0.9.2] - 2026-07-11

### Added
Expand Down
5 changes: 4 additions & 1 deletion cptr/frontend/src/lib/components/AuthScreen.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
}
</script>

<div class="flex items-center justify-center h-dvh bg-white dark:bg-black p-6">
<div
class="app-theme flex items-center justify-center h-dvh bg-white dark:bg-black p-6"
style="background: var(--app-bg); color: var(--app-fg);"
>
<div class="w-full max-w-md">
<h1 class="text-lg font-semibold tracking-tight text-gray-900 dark:text-white mb-3">
Computer
Expand Down
5 changes: 4 additions & 1 deletion cptr/frontend/src/lib/components/SetupWizard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@
let searchShortcut = $derived(formatChord($keybindings.quickOpen));
</script>

<div class="flex items-center justify-center h-dvh bg-white dark:bg-black p-6">
<div
class="app-theme flex items-center justify-center h-dvh bg-white dark:bg-black p-6"
style="background: var(--app-bg); color: var(--app-fg);"
>
<div class="w-full max-w-md">
<!-- Progress dots -->
<div class="flex gap-1.5 mb-6">
Expand Down
12 changes: 10 additions & 2 deletions cptr/utils/agents/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,14 @@ async def detect_profile(profile: dict[str, Any]) -> AgentDetection:

if profile.get("agent") == "pi":
models = await _probe_pi_models(command, profile)
if models is None:
return AgentDetection(
"error",
command,
version,
"Pi RPC is unavailable; the resolved command may not be Pi.",
[],
)
if not models:
return AgentDetection(
"auth_unknown",
Expand Down Expand Up @@ -277,7 +285,7 @@ async def _probe_pi_models(command: str, profile: dict[str, Any]) -> list[str] |
provider, model = item.get("provider"), item.get("id")
if isinstance(provider, str) and provider and isinstance(model, str) and model:
models.append(f"{provider}/{model}")
return models or None
return models
except Exception:
return None
finally:
Expand Down Expand Up @@ -527,7 +535,7 @@ async def get_agent_status(app_state=None, refresh: bool = False) -> dict[str, A
candidates = profiles if not implicit_defaults else default_agent_profiles()
for profile in candidates:
detected = await detect_profile(profile)
if implicit_defaults and detected.status == "not_found":
if implicit_defaults and detected.status in {"not_found", "error"}:
continue
mode = profile.get("mode", "auto")
models = detected.models or profile.get("models") or []
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cptr"
version = "0.9.2"
version = "0.9.3"
description = "Your computer, from anywhere. Code, manage, and control your machine from the web."
license = {file = "LICENSE"}
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

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

Loading