dev3000 0.0.178 → 0.0.181

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev3000",
3
- "version": "0.0.178",
3
+ "version": "0.0.181",
4
4
  "description": "Agent-first local web debugging runtime with unified server and browser context",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,35 +44,36 @@
44
44
  "claude"
45
45
  ],
46
46
  "dependencies": {
47
- "@opentui/core": "0.1.86",
48
- "agent-browser": "0.24.0",
49
- "chalk": "^5.3.0",
50
- "commander": "14.0.3",
51
- "ink": "6.8.0",
47
+ "@opentui/core": "0.5.17",
48
+ "agent-browser": "0.38.2",
49
+ "chalk": "^6.0.1",
50
+ "commander": "15.0.0",
51
+ "ink": "8.0.0",
52
52
  "ink-select-input": "^6.2.0",
53
53
  "ink-spinner": "^5.0.0",
54
- "ora": "9.3.0",
55
- "package-manager-detector": "^1.3.0",
56
- "portless": "0.15.1",
57
- "react": "19.2.4",
58
- "ws": "^8.18.3"
54
+ "ora": "9.4.1",
55
+ "package-manager-detector": "^1.9.0",
56
+ "portless": "0.15.7",
57
+ "react": "19.3.0",
58
+ "ws": "^8.22.0"
59
59
  },
60
60
  "devDependencies": {
61
- "@biomejs/biome": "2.4.6",
62
- "@types/node": "25.3.5",
63
- "@types/react": "19.2.14",
64
- "@types/ws": "^8.5.12",
65
- "husky": "^9.0.0",
66
- "tsx": "^4.20.3",
61
+ "@biomejs/biome": "2.5.15",
62
+ "@types/node": "26.6.4",
63
+ "@types/react": "19.3.0",
64
+ "@types/ws": "^8.18.2",
67
65
  "@typescript/native": "npm:typescript@^7.0.2",
68
- "typescript": "^6.0.2",
69
- "vitest": "4.1.0"
66
+ "husky": "^9.1.7",
67
+ "react-devtools-core": "8.0.0",
68
+ "tsx": "^4.23.15",
69
+ "typescript": "^7.0.2",
70
+ "vitest": "5.0.3"
70
71
  },
71
72
  "optionalDependencies": {
72
- "@d3k/darwin-arm64": "0.0.178",
73
- "@d3k/linux-x64": "0.0.178",
74
- "@d3k/windows-x64": "0.0.178",
75
- "@opentui/core-linux-x64": "0.1.86"
73
+ "@d3k/darwin-arm64": "0.0.181",
74
+ "@d3k/linux-x64": "0.0.181",
75
+ "@d3k/windows-x64": "0.0.181",
76
+ "@opentui/core-linux-x64": "0.5.17"
76
77
  },
77
78
  "engines": {
78
79
  "node": ">=24.0.0"
@@ -83,11 +84,24 @@
83
84
  },
84
85
  "author": "Lindsey Simon <lindsey@vercel.com>",
85
86
  "license": "MIT",
86
- "packageManager": "bun@1.2.5",
87
+ "packageManager": "bun@1.4.2",
87
88
  "workspaces": [
88
89
  "www"
89
90
  ],
90
91
  "overrides": {
91
- "postcss": "8.5.15"
92
+ "@xhmikosr/decompress": "11.1.4",
93
+ "body-parser": "2.3.0",
94
+ "defu": "6.1.7",
95
+ "devalue": "5.9.4",
96
+ "linkify-it": "6.1.0",
97
+ "nanoid": "5.1.16",
98
+ "path-to-regexp": "8.4.2",
99
+ "piscina": "5.3.2",
100
+ "postcss": "8.5.29",
101
+ "qs": "6.16.0",
102
+ "rollup": "4.64.3",
103
+ "seroval": "1.6.9",
104
+ "vite": "8.3.4",
105
+ "yauzl": "3.4.0"
92
106
  }
93
107
  }
@@ -1,6 +1,6 @@
1
1
  import chalk from "chalk"
2
2
  import { createReadStream, unwatchFile, watchFile } from "fs"
3
- import { Box, render, Text, useInput, useStdout } from "ink"
3
+ import { Box, render, Text, useInput, useWindowSize } from "ink"
4
4
  import Spinner from "ink-spinner"
5
5
  import { memo, useEffect, useRef, useState } from "react"
6
6
  import type { Readable } from "stream"
@@ -178,43 +178,11 @@ const TUIApp = ({
178
178
  const [portConfirmed, setPortConfirmed] = useState<boolean>(false)
179
179
  const logIdCounter = useRef(0)
180
180
  const [clearFromLogId, setClearFromLogId] = useState<number>(0) // Track log ID to clear from
181
- const { stdout } = useStdout()
181
+ const { columns: termWidth, rows: termHeight } = useWindowSize()
182
182
  const ctrlCMessageDefault = "" // Removed - click to focus/resize works now
183
183
  const [ctrlCMessage, setCtrlCMessage] = useState(ctrlCMessageDefault)
184
184
  const maxScrollOffsetRef = useRef(0)
185
185
 
186
- const [terminalSize, setTerminalSize] = useState(() => ({
187
- width: stdout?.columns || 80,
188
- height: stdout?.rows || 24
189
- }))
190
-
191
- useEffect(() => {
192
- if (!stdout) {
193
- return
194
- }
195
-
196
- const handleResize = () => {
197
- setTerminalSize({
198
- width: stdout.columns || 80,
199
- height: stdout.rows || 24
200
- })
201
- }
202
-
203
- stdout.on("resize", handleResize)
204
-
205
- return () => {
206
- if (typeof stdout.off === "function") {
207
- stdout.off("resize", handleResize)
208
- } else {
209
- stdout.removeListener("resize", handleResize)
210
- }
211
- }
212
- }, [stdout])
213
-
214
- // Get terminal dimensions with fallbacks
215
- const termWidth = terminalSize.width
216
- const termHeight = terminalSize.height
217
-
218
186
  // Determine if we should use compact mode
219
187
  const isCompact = termWidth < 80
220
188
  const isVeryCompact = termWidth < 60 || termHeight < 15