From 0aac542a0bdf48270813d4e5f22bfa91b72b6192 Mon Sep 17 00:00:00 2001 From: "thomas g. lopes" Date: Wed, 11 Mar 2026 11:00:47 +0000 Subject: [PATCH] move to linux --- pi/{files => files.linux}/agent/settings.json | 2 +- pi/files/agent/extensions/peon.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename pi/{files => files.linux}/agent/settings.json (99%) diff --git a/pi/files/agent/settings.json b/pi/files.linux/agent/settings.json similarity index 99% rename from pi/files/agent/settings.json rename to pi/files.linux/agent/settings.json index 248bbe2..a8d40de 100644 --- a/pi/files/agent/settings.json +++ b/pi/files.linux/agent/settings.json @@ -7,4 +7,4 @@ "lsp": { "hookMode": "edit_write" } -} \ No newline at end of file +} diff --git a/pi/files/agent/extensions/peon.ts b/pi/files/agent/extensions/peon.ts index 99af2f1..8d87d4d 100644 --- a/pi/files/agent/extensions/peon.ts +++ b/pi/files/agent/extensions/peon.ts @@ -293,7 +293,7 @@ function resolveCategory(manifest: OpenPeonManifest, category: Category): Catego function pickSound(categoryConfig: CategoryConfig, category: Category): Sound | null { const sounds = categoryConfig.sounds; - if (sounds.length === 0) return null; + if (!sounds || sounds.length === 0) return null; const lastSound = lastSoundPerCategory.get(category); let candidates = sounds;