Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
test(speech): keep the smart-whisper loader fixture out of an ignored dist/ dir
Enes Kirca687553e88ab0
diff --git a/src/core/speech/__fixtures__/smart-whisper-0.8.1/dist-index.js b/src/core/speech/__fixtures__/smart-whisper-0.8.1/dist-index.jsnew file mode 100644index 000000000..35d54e11c--- /dev/null+++ b/src/core/speech/__fixtures__/smart-whisper-0.8.1/dist-index.js@@ -0,0 +1,5 @@+// The loader lines of smart-whisper 0.8.1's dist/index.js, verbatim, for patch-smart-whisper tests.+var import_node_path = { default: require("path") };+var module2 = require(import_node_path.default.join(__dirname, "../build/Release/smart-whisper"));+var binding = module2;+module.exports = { binding };diff --git a/src/core/speech/smart-whisper-patch.test.ts b/src/core/speech/smart-whisper-patch.test.tsindex bfd65a95f..478142637 100644--- a/src/core/speech/smart-whisper-patch.test.ts+++ b/src/core/speech/smart-whisper-patch.test.ts@@ -14,14 +14,15 @@ import { testTmpDir } from '../test-tmp'*/const PKG = path.resolve(__dirname, '../../../node_modules/smart-whisper')const installed = fs.existsSync(path.join(PKG, 'binding.gyp'))-/** Pristine smart-whisper 0.8.1 binding.gyp + the loader lines of its dist/index.js. */+/** Pristine smart-whisper 0.8.1 binding.gyp + the loader lines of its dist/index.js (dist-index.js). */const FIXTURE = path.resolve(__dirname, '__fixtures__/smart-whisper-0.8.1')function copyPackage(): string {const dir = testTmpDir('sw-patch-')fs.mkdirSync(path.join(dir, 'dist'), { recursive: true })fs.copyFileSync(path.join(FIXTURE, 'binding.gyp'), path.join(dir, 'binding.gyp'))- fs.copyFileSync(path.join(FIXTURE, 'dist', 'index.js'), path.join(dir, 'dist', 'index.js'))+ // Stored flat: the repo's .gitignore drops every dist/ directory.+ fs.copyFileSync(path.join(FIXTURE, 'dist-index.js'), path.join(dir, 'dist', 'index.js'))return dir}