fix(machine): live USB ISO with native modules and debug mode

Enable debugMode by default (simulated bill buttons) until real
hardware validator is connected. Fix live.nix to include native
node_modules (better-sqlite3, bindings) from pnpm virtual store,
add LD_LIBRARY_PATH for NixOS, bake aiolabs.dev endpoints into
env template, and enable Electron renderer logging in journalctl.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-02-22 15:14:35 -05:00
commit 658c3c2b4d
3 changed files with 26 additions and 19 deletions

View file

@ -132,7 +132,8 @@ export const useAtmStore = defineStore('atm', () => {
// State
const actor = ref<ActorRefFrom<ATMMachine> | null>(null)
const snapshot = ref<SnapshotFrom<ATMMachine> | null>(null)
const debugMode = ref(import.meta.env.DEV)
// Always on until real hardware bill validator is connected
const debugMode = ref(true)
const useLiveServices = ref(false)
const connectionStatus = ref<'disconnected' | 'connecting' | 'connected' | 'error'>(
'disconnected'

View file

@ -10,7 +10,6 @@ import { Skeleton } from '@/components/ui/skeleton'
import { Input } from '@/components/ui/input'
import { ScrollArea } from '@/components/ui/scroll-area'
import QRCode from '@/components/QRCode.vue'
import BitcoinIcon from '@/components/BitcoinIcon.vue'
const router = useRouter()
const atmStore = useAtmStore()