Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CybertronNew to Visual Studio Code? Get it now.
Cybertron

Cybertron

yangsuiyun

|
1 install
| (0) | Free
浏览并连接可用的Devspace
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cybertron VSCode Extension

Features

  • Node Browser: View available Teleport nodes in VSCode explorer
  • One-Click Connect: Connect to nodes via integrated terminal
  • Node Information: Display basic node metadata and labels
  • Auto-refresh: Automatically refresh node list at configurable intervals
  • Smart Login: Auto-detect cluster and prompt for login when needed

Prerequisites

  • Authentication: Plugin will prompt you to login when needed

Installation

  1. Copy the plugin directory to your VSCode extensions folder
  2. Install dependencies: npm install
  3. Compile TypeScript: npm run compile
  4. Reload VSCode window

Usage

  1. Open VSCode and look for the "Teleport Nodes" view in the Explorer panel

  2. Plugin connects to Production Environment (teleport.cybertron.modelbest.co)

  3. If not logged in, plugin will prompt you to login automatically

  4. Click the refresh button (🔄) to reload available nodes

  5. Right-click on any node to:

    • Connect: Open via Remote-SSH (new window)

Configuration

The extension supports the following settings:

  • teleport.refreshInterval: Node list refresh interval (seconds, default: 30)
  • teleport.ui.showTreeView: Show/hide the tree view (default: true)

Environment:

  • Production: teleport.cybertron.modelbest.co

Commands

  • teleport.refreshNodes: Refresh the node list
  • teleport.connectToNode: Connect to selected node

Limitations

This is a minimal implementation focused on core functionality (Cybertron):

  • Requires tsh CLI tool installation (user provides)
  • Smart login prompts - no complex authentication management
  • Basic node information display only
  • Remote-SSH integration to open new window
  • Fixed production cluster connection

Testing the Plugin

Prerequisites Check

Run the test script to verify your environment:

./test-plugin.sh

This will check:

  • ✅ tsh CLI tool installation
  • ✅ Teleport login status
  • ✅ Node listing functionality
  • ✅ VSCode availability

Manual Testing Steps

  1. Prepare Environment

    # Install dependencies and compile
    npm install
    npm run compile
    
    # The plugin will handle login prompts automatically
    # Production cluster: teleport.cybertron.modelbest.co
    
  2. Launch Development Environment

    # Open plugin directory in VSCode
    code .
    
    # Press F5 to launch Extension Development Host
    # This opens a new VSCode window with the plugin loaded
    
  3. Test Plugin Features

    • Look for "Teleport Nodes" view in Explorer panel
    • Click refresh button (🔄) to load nodes
    • Expand cluster to see nodes
    • Right-click on nodes to see context menu:
      • Connect: Opens SSH terminal session
      • Show Info: Displays node metadata
  4. Verify Connection

    • Click "Connect" on any node
    • A new terminal should open with SSH session
    • Terminal name should be "SSH - {node-name}"

Troubleshooting

Plugin not showing up?

  • Check VSCode Output panel → "Teleport" for error messages
  • Verify compilation succeeded: npm run compile
  • Try reloading the Extension Development Host window

No nodes appearing?

  • Verify login: tsh status
  • Test node listing: tsh ls
  • Check plugin logs in Output panel

Connection fails?

  • Ensure node is accessible: tsh ssh node-name
  • Check terminal output for error messages

Development

# Install dependencies
npm install

# Compile TypeScript
npm run compile

# Watch for changes (auto-recompile)
npm run watch

# Run tests
npm test

License

MIT © Cybertron Team.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft