@ulpi/browse 0.7.1 → 0.7.2

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": "@ulpi/browse",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ulpi-io/browse"
package/skill/SKILL.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: browse
3
- version: 2.5.0
3
+ version: 2.5.1
4
4
  description: |
5
5
  Fast web browsing for AI coding agents via persistent headless Chromium daemon. Navigate to any URL,
6
6
  read page content, click elements, fill forms, run JavaScript, take screenshots,
@@ -420,6 +420,7 @@ browse video status Check if recording is active
420
420
  ```
421
421
  browse status Server health, uptime, session count
422
422
  browse instances List all running browse servers (instance, PID, port, status)
423
+ browse version Print CLI version
423
424
  browse stop Shutdown server
424
425
  browse restart Kill + restart server
425
426
  browse inspect Open DevTools (requires BROWSE_DEBUG_PORT)
package/src/snapshot.ts CHANGED
@@ -427,7 +427,10 @@ export async function handleSnapshot(
427
427
  let outputLine: string;
428
428
  if (terse) {
429
429
  outputLine = `@${ref} [${node.role}]`;
430
- if (node.name) outputLine += ` "${node.name}"`;
430
+ if (node.name) {
431
+ const name = node.name.length > 30 ? node.name.slice(0, 30) + '...' : node.name;
432
+ outputLine += ` "${name}"`;
433
+ }
431
434
  } else {
432
435
  outputLine = `${indent}@${ref} [${node.role}]`;
433
436
  if (node.name) outputLine += ` "${node.name}"`;