opencode-landstrip 0.3.4 → 0.3.5
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.
- package/index.ts +1 -3
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -5,8 +5,6 @@ import type { Hooks, Plugin, PluginInput, PluginOptions } from '@opencode-ai/plu
|
|
|
5
5
|
|
|
6
6
|
import { binaryPath } from '@jarkkojs/landstrip';
|
|
7
7
|
|
|
8
|
-
export { tui } from './tui.js';
|
|
9
|
-
|
|
10
8
|
import { spawnSync } from 'node:child_process';
|
|
11
9
|
import {
|
|
12
10
|
existsSync,
|
|
@@ -478,7 +476,7 @@ function writePolicyFile(
|
|
|
478
476
|
baseDirectory: string,
|
|
479
477
|
proxyPort: number,
|
|
480
478
|
): { dir: string; path: string } {
|
|
481
|
-
const dir = mkdtempSync(join(tmpdir(), 'opencode-landstrip-'));
|
|
479
|
+
const dir = mkdtempSync(join(tmpdir(), 'opencode-landstrip-XXXXXX'));
|
|
482
480
|
const path = join(dir, 'policy.json');
|
|
483
481
|
writeFileSync(
|
|
484
482
|
path,
|