paris-immersion 0.1.31 → 0.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,10 +16,13 @@ const execFileP = promisify(execFile);
|
|
|
16
16
|
* orca terminal create ... → aba nova com o claude + prompt, em foco
|
|
17
17
|
*/
|
|
18
18
|
function findOrcaBin() {
|
|
19
|
+
// Caminhos fixos primeiro (instalador põe em ~/.local/bin), depois o PATH do
|
|
20
|
+
// processo — o daemon (launchd/systemd) herda um PATH rico do install.
|
|
19
21
|
const candidates = [
|
|
20
22
|
path.join(homedir(), '.local', 'bin', 'orca'),
|
|
21
23
|
'/usr/local/bin/orca',
|
|
22
24
|
'/opt/homebrew/bin/orca',
|
|
25
|
+
...(process.env.PATH ?? '').split(path.delimiter).filter(Boolean).map((d) => path.join(d, 'orca')),
|
|
23
26
|
];
|
|
24
27
|
for (const c of candidates) {
|
|
25
28
|
if (existsSync(c))
|
package/package.json
CHANGED