opencode-agent-tmux 1.1.11 → 1.2.0

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.
@@ -84,18 +84,6 @@ function hasTmux() {
84
84
  return false;
85
85
  }
86
86
  }
87
- function extractLogUpdateFlag(args) {
88
- let logUpdate = false;
89
- const cleaned = [];
90
- for (const arg of args) {
91
- if (arg === "--log-update" || arg.startsWith("--log-update=")) {
92
- logUpdate = true;
93
- continue;
94
- }
95
- cleaned.push(arg);
96
- }
97
- return { args: cleaned, logUpdate };
98
- }
99
87
  async function main() {
100
88
  const opencodeBin = findOpencodeBin();
101
89
  if (!opencodeBin) {
@@ -110,13 +98,7 @@ async function main() {
110
98
  }
111
99
  const env2 = { ...process.env };
112
100
  env2.OPENCODE_PORT = port.toString();
113
- const rawArgs = argv.slice(2);
114
- const { args, logUpdate } = extractLogUpdateFlag(rawArgs);
115
- if (logUpdate) {
116
- env2.OPENCODE_AUTO_UPDATE_LOG_UPDATE = "true";
117
- env2.OPENCODE_AUTO_UPDATE_BYPASS_THROTTLE = "true";
118
- env2.OPENCODE_AUTO_UPDATE_DEBUG = "true";
119
- }
101
+ const args = argv.slice(2);
120
102
  const childArgs = ["--port", port.toString(), ...args];
121
103
  const inTmux = !!env2.TMUX;
122
104
  const tmuxAvailable = hasTmux();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-agent-tmux",
3
- "version": "1.1.11",
3
+ "version": "1.2.0",
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",