YueGuobin fd7594f62e
docker: give the docker_exec console a tall default PTY geometry
The docker_exec console resized its exec PTY to 80x24 until a client
sent NAWS. CLIs that page on the PTY window size instead of the
terminal length (the IOS-XR pager) therefore parked long output at
--More-- for clients that never negotiate NAWS — netmiko, bare telnet —
making copilot device commands time out on XRd.

Default the exec to 511x10000 instead (511 matches netmiko's own
'terminal width 511' convention): no paging and no hard wrapping for
non-NAWS clients, while real NAWS clients keep resizing to their actual
geometry as before.

Also updates the project memory record with the confirmed root cause
and the fix.
2026-08-21 21:41:46 +08:00

2.7 KiB

GNS3 Server Project Memory

Note

: This directory stores important project-related memories and case studies, managed with the code repository.

How to record: Use the /memory skill to record important information to the project memory directory.

Quick Reference

  • Memory directory: .claude/memory/
  • Skill file: .claude/skills/memory/SKILL.md
  • Main index: MEMORY.md (this file)

Topics

Web Wireshark Integration

  • JWT Token Flow - JWT token transmission path in Web Wireshark
    • Key point: UDPLink only passes through jwt_token, ultimately used by curl command inside Web Wireshark container to authenticate with GNS3 capture stream API
  • Xpra HTML5 Client - Xpra HTML5 client menu control parameters for customizing the web interface

RBAC & User Isolation

Appliance Management

  • GNS3 Appliance Loading - How GNS3 loads appliance files from builtin and custom directories with priority rules

uBridge Permission

Docker Container Stop Delay

Device Console / Copilot Known Bugs

  • XRd Console --More-- Pager Bug - FIXED: root cause was our own 80x24 initial PTY geometry for the docker_exec console (the XR pager reads PTY rows, not terminal length); initial geometry is now 511x10000. Copilot reconnect-before-retry + session_log still open; --More-- auto-answer kept as fallback design

MCP Service

  • MCP Service Design - MCP (Model Context Protocol) service architecture using FastMCP with SSE transport, JWT auth, 29 tools across 5 domains
  • MCP Tool Description Location - Where to define MCP tool descriptions: in @mcp.tool() functions in __init__.py, not in *_TOOLS arrays

Python Code Verification

  • Import Validation - Use actual module imports (python -c "from ... import ...") instead of py_compile to catch missing imports