Skip to content

Traycer 2.14.0 fails to initialize in Cursor Dev Container #29

@ismailytics

Description

@ismailytics

Environment

  • Traycer Version: 2.14.0 (linux-arm64)
  • IDE: Cursor (cursor-server build 20adc1003928b0f1b99305dbaf845656ff81f5d0)
  • Environment: Dev Container (Docker)
  • OS: Linux ARM64

Description
Traycer extension fails to recognize the open workspace when running inside a Cursor Dev Container. The extension shows the "Welcome to Traycer" screen with "Please open a folder or workspace" message, even though a workspace is already open at /workspace. The "Open Folder" button is unresponsive/not clickable.

Error Log
2026-01-07 14:50:19.338 [error] TypeError: this[_0x306bf3(...)].entries(...)[_0x306bf3(...)] is not a function
at _0x25fdc0.sendToAllWebviews (/home/node/.cursor-server/extensions/traycer.traycer-vscode-2.14.0-linux-arm64/out/extension.js:1:1075202)
at _0x25fdc0.dispatch (/home/node/.cursor-server/extensions/traycer.traycer-vscode-2.14.0-linux-arm64/out/extension.js:1:1074729)
at _0x3f97db.sendWorkspaceStatus (/home/node/.cursor-server/extensions/traycer.traycer-vscode-2.14.0-linux-arm64/out/extension.js:7:2188032)
at _0x3f97db.handle (/home/node/.cursor-server/extensions/traycer.traycer-vscode-2.14.0-linux-arm64/out/extension.js:7:2187420)
at _0x3b758b.route (/home/node/.cursor-server/extensions/traycer.traycer-vscode-2.14.0-linux-arm64/out/extension.js:1:1245713)
at _0x59aecd.handleMessage (/home/node/.cursor-server/extensions/traycer.traycer-vscode-2.14.0-linux-arm64/out/extension.js:1:1251214)

Steps to Reproduce

  1. Create a Dev Container configuration with Traycer in customizations.vscode.extensions
  2. Open the project in Cursor using "Reopen in Container"
  3. Wait for container to build and Cursor to connect
  4. Open the Traycer sidebar panel
  5. Observe: "Welcome to Traycer" screen appears instead of workspace analysis

Expected Behavior
Traycer should automatically detect the open workspace folder and initialize properly, showing the code analysis interface.

Actual Behavior
Extension shows welcome/onboarding screen
"Open Folder" button is non-functional
Error in extension logs indicates sendWorkspaceStatus fails due to a TypeError
Workarounds Attempted (none successful)
Developer: Reload Window
Disabling and re-enabling the extension
Rebuilding the container
Restarting Cursor completely

Additional Context
The issue appears to be related to how sendToAllWebviews iterates over webview instances in the remote container environment. The .entries() method call seems incompatible with the object/map type being used in cursor-server context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions