opencode-agent-tmux 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -25,6 +25,7 @@ The plugin repo is: https://github.com/AnganSamadder/opencode-agent-tmux.git
25
25
  - **Configurable Layout**: Support multiple tmux layouts (main-vertical, tiled, etc.)
26
26
  - **Multi-Port Support**: Automatically finds available ports when running multiple instances
27
27
  - **Agent-Agnostic**: Works with oh-my-opencode, omoc-slim, or vanilla OpenCode
28
+ - **Cross-Platform**: Full support for **macOS**, **Linux**, and **Windows** (via PowerShell or WSL)
28
29
 
29
30
  ## 📋 Requirements
30
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-agent-tmux",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "OpenCode plugin that provides tmux integration for viewing agent execution in real-time",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,8 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const fs = require('fs');
4
- const path = require('path');
5
- const os = require('os');
3
+ import fs from 'fs';
4
+ import path from 'path';
5
+ import os from 'os';
6
+ import { fileURLToPath } from 'url';
7
+
8
+ const __filename = fileURLToPath(import.meta.url);
9
+ const __dirname = path.dirname(__filename);
6
10
 
7
11
  const HOME = os.homedir();
8
12