### Install .deb Package Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-04-20-linux-appimage-auto-update.md Installs the specified .deb package using dpkg and then launches the sokuji application. This is the initial step for users migrating from a .deb installation. ```bash sudo dpkg -i sokuji_0.20.0-rc1_amd64.deb sokuji ``` -------------------------------- ### Start Development Server Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-03-27-voxtral-asr-prototype.md This command starts the development server. Verify that the server starts without errors and the app loads correctly. Test the keyboard shortcut (Ctrl+Shift+V) to ensure the Voxtral prototype overlay appears. ```bash npm run dev ``` -------------------------------- ### Check Installer Logs Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/build/macos-installer-guide.md Views recent system logs for the installer process to troubleshoot installation problems. ```bash # Check installation logs sudo log show --predicate 'process == "installer"' --last 10m ``` -------------------------------- ### Start Development Server Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-03-13-unify-main-panels.md Starts the Electron development server for the Sokuji React application. ```bash cd /home/jiangzhuo/Desktop/kizunaai/sokuji-react && npm run electron:dev ``` -------------------------------- ### Build and Start Dev Server Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-05-21-supertonic-3-integration.md Builds the application and starts the development server. This is the initial step for manual QA. ```bash npm run build && npm run dev ``` -------------------------------- ### Install Dependencies and Run Application Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/INDEX.md Commands to install project dependencies, run the application in development mode, and build it for production. ```bash npm ci npm run electron:dev npm run electron:build ``` -------------------------------- ### Start Development Server Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-04-18-compact-conversation-mode.md Run this command to start the development server for manual verification. Use the web version for faster UI-only testing. ```bash npm run electron:dev ``` ```bash npm run dev ``` -------------------------------- ### Install and Test Linux Deb Package Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-04-20-linux-appimage-auto-update.md Install the generated deb package using dpkg and then launch the 'sokuji' application to ensure it installs and runs without errors. This step is recommended only on Debian-based systems. ```bash sudo dpkg -i out/make-linux/sokuji_*_amd64.deb && sokuji ``` -------------------------------- ### Install Sokuji using Homebrew Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/tutorials/macos-install.html Use Homebrew to install Sokuji. Ensure Homebrew is installed on your system before running this command. ```bash brew install "kizuna-ai-lab/sokuji/sokuji" ``` -------------------------------- ### Install and Build Sokuji Extension Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/extension/README.md Commands to install dependencies, build the extension for production, or build with watch mode for development. ```bash # Install dependencies npm install # Build for production npm run build # Build for development with watch mode npm run dev ``` -------------------------------- ### Install Required Libraries Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/tutorials/linux-install.html Install necessary libraries for Sokuji on Debian/Ubuntu-based systems. ```bash sudo apt-get update sudo apt-get install libgtk-3-0 libnotify4 libnss3 libxss1 \ libxtst6 xdg-utils libatspi2.0-0 libdrm2 libgbm1 ``` -------------------------------- ### Acquisition Lifecycle - Extension Session Start Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/specs/2026-05-24-on-off-pipeline-gate.md Steps for acquiring system audio on Extension when a session starts and the mode includes 'participant'. ```javascript Extension: tab capture acquired by existing tabAudioRecorder.begin() flow. ``` -------------------------------- ### Custom Installation Location Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/build/macos-installer-guide.md Installs the Sokuji package to a specified custom disk volume. ```bash # Custom installation location installer -pkg Sokuji.pkg -target /Volumes/CustomDisk ``` -------------------------------- ### Acquisition Lifecycle - Electron Session Start Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/specs/2026-05-24-on-off-pipeline-gate.md Steps for acquiring system audio on Electron when a session starts and the mode includes 'participant'. ```javascript Electron: permissionGranted = await audioService.requestLoopbackAudioStream() if (!permissionGranted) → surface error in LogsPanel; skip participant await audioService.connectSystemAudioSource('desktop-audio-loopback') ``` -------------------------------- ### Manual Smoke Test - New Install Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/specs/2026-05-28-replay-audio-storage-toggle-design.md Verifies the initial state and behavior after a new installation with the replay toggle off. ```bash 1. New install → toggle off; no ▶ buttons; real-time audio plays; karaoke highlight animates during streaming. ``` -------------------------------- ### Start Electron in Development Mode Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-04-22-bing-translator-integration.md Run this command to start the Electron application in development mode, which is the first step in the manual testing process. ```bash npm run electron:dev ``` -------------------------------- ### PostHog Installation and Initialization Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/extension/extension-popup-analytics.md Imports and initializes the PostHog library using a locally installed package. Configuration is managed via environment variables, with a fallback to a default host. Includes a helper function to check if analytics are enabled. ```javascript // Import PostHog from installed package import PostHog from 'posthog-js-lite'; // Analytics configuration - set via environment or leave empty to disable const ANALYTICS_CONFIG = { POSTHOG_KEY: process.env.POSTHOG_KEY || '', POSTHOG_HOST: process.env.POSTHOG_HOST || 'https://us.i.posthog.com' }; // Helper to check if analytics is enabled function isAnalyticsEnabled() { return Boolean(ANALYTICS_CONFIG.POSTHOG_KEY); } ``` -------------------------------- ### Build Sokuji Application and Installer Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/build/macos-installer-guide.md Commands to build the virtual audio driver, the PKG installer, and leverage npm scripts for the Electron app packaging. These scripts automate the build and packaging process. ```bash # Build the virtual audio driver ./build-sokuji-driver.sh # Build PKG installer ./build-pkg.sh # Or use npm scripts for Electron app npm run make:pkg ``` -------------------------------- ### Update Basic-Mode Start Button Tooltip Source: https://github.com/kizuna-ai-lab/sokuji/blob/main/docs/superpowers/plans/2026-05-22-symmetric-channel-architecture.md Extends the existing tooltip for the basic-mode Start button to include the case where no audio channels are configured. This is used when the 'canStartSession' gate is false and 'anyChannelWillStart' is also false. ```tsx