From 132f639417eb4c712f2338dc4f7c1a86aa83f5cf Mon Sep 17 00:00:00 2001 From: Jake Goldsborough Date: Sun, 1 Feb 2026 08:45:46 -0800 Subject: [PATCH] fix: Fix incorrect import path for JoinHandle by importing from std::thread instead of non-existent crate::player::thread Closes #38 --- lok.toml | 21 +++++++++++++++++++++ src/player/mod.rs | 4 +--- 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 lok.toml diff --git a/lok.toml b/lok.toml new file mode 100644 index 0000000..66059e6 --- /dev/null +++ b/lok.toml @@ -0,0 +1,21 @@ +[defaults] +parallel = true +timeout = 300 +command_wrapper = "nix-shell --run '{cmd}'" + +[backends.claude] +enabled = true +command = "claude" +args = [] + +[backends.codex] +enabled = true +command = "codex" +args = ["exec", "--json", "-s", "read-only"] + +[backends.gemini] +enabled = true +command = "npx" +args = ["@google/gemini-cli"] +skip_lines = 1 +timeout = 600 diff --git a/src/player/mod.rs b/src/player/mod.rs index 86b72ce..0ed4292 100644 --- a/src/player/mod.rs +++ b/src/player/mod.rs @@ -1,11 +1,9 @@ -use crate::player::thread::JoinHandle; - use std::{ fs::File, path::{Path, PathBuf}, sync::atomic::{AtomicBool, Ordering}, sync::{Arc, Mutex}, - thread, + thread::{self, JoinHandle}, time::Duration, };