Repository navigation
Commit 7f6a786
committed
Enhance WebSocket server lifecycle management with automatic shutdown and secure local binding
- [Pasted text]
├── apps
│ ├── browser
│ │ ├── package.json
│ │ ├── src
│ │ │ ├── background
│ │ │ │ ├── keep-alive.ts
│ │ │ │ ├── main.ts
│ │ │ │ ├── message-handler.ts
│ │ │ │ └── websocket.ts
│ │ │ └── manifest.json
│ │ └── webpack.config.ts
│ └── editor
│ ├── package.json
│ ├── src
│ │ ├── extension.ts
│ │ └── services
│ │ ├── websocket-manager.ts
│ │ └── websocket-server-process.ts
│ └── webpack.config.ts
└── packages
└── shared
└── src
├── constants
│ └── websocket.ts
└── types
└── websocket-message.ts1 parent 5b04bef commit 7f6a786
2 files changed
Lines changed: 30 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
55 | 75 | | |
56 | 76 | | |
57 | 77 | | |
| |||
107 | 127 | | |
108 | 128 | | |
109 | 129 | | |
| 130 | + | |
110 | 131 | | |
111 | 132 | | |
112 | 133 | | |
| |||
134 | 155 | | |
135 | 156 | | |
136 | 157 | | |
| 158 | + | |
| 159 | + | |
137 | 160 | | |
138 | 161 | | |
139 | 162 | | |
| |||
172 | 195 | | |
173 | 196 | | |
174 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
175 | 202 | | |
176 | 203 | | |
177 | 204 | | |
| |||
245 | 272 | | |
246 | 273 | | |
247 | 274 | | |
248 | | - | |
249 | | - | |
| 275 | + | |
| 276 | + | |
250 | 277 | | |
251 | 278 | | |
252 | 279 | | |
| |||
0 commit comments