Commit 68db926
committed
feat: Lima Docker-in-VM backend, remote attach over tailnet, task reporting
Lima backend overhaul:
- Boot Docker-ready VM (template:docker), pull OCI image, run workspace container
- Stream output during VM creation instead of silent blocking
- Prompt to install Lima when limactl is missing (brew on macOS, GitHub release on Linux)
- Mount ~/.config/gh into VM for GHCR auth, docker login with gh token
- Fix exec to route through docker exec inside VM with binary existence guard
- Add -it flags for interactive TTY allocation (cw exec -it -- bash)
Remote attach over tailnet:
- Serve /ws (frame protocol) alongside /peer (RPC) on tailnet listener
- Runtime credential auth for /ws on tailnet connections
- cw attach node:session dials remote node over tailnet and attaches via /ws
- Extract AttachConn/ResolveSessionArgConn for transport-agnostic attach
- wrapLocalRuntimeRunCommand passes -it for PTY propagation through cw run
Task reporting, relay improvements, and MCP tool additions.1 parent edf1aa7 commit 68db926
60 files changed
Lines changed: 6091 additions & 313 deletions
File tree
- cmd/cw
- docs/plans
- internal
- client
- mcp
- node
- peer
- protocol
- relayapi
- relay
- session
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
374 | 414 | | |
375 | 415 | | |
376 | 416 | | |
| |||
856 | 896 | | |
857 | 897 | | |
858 | 898 | | |
859 | | - | |
| 899 | + | |
860 | 900 | | |
861 | 901 | | |
862 | 902 | | |
| |||
871 | 911 | | |
872 | 912 | | |
873 | 913 | | |
| 914 | + | |
874 | 915 | | |
875 | 916 | | |
876 | 917 | | |
| |||
908 | 949 | | |
909 | 950 | | |
910 | 951 | | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
911 | 979 | | |
912 | 980 | | |
913 | 981 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
74 | 87 | | |
75 | 88 | | |
76 | 89 | | |
77 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
78 | 97 | | |
79 | | - | |
| 98 | + | |
80 | 99 | | |
81 | | - | |
82 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
83 | 105 | | |
84 | 106 | | |
85 | 107 | | |
| |||
116 | 138 | | |
117 | 139 | | |
118 | 140 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
122 | 146 | | |
123 | 147 | | |
124 | 148 | | |
| |||
150 | 174 | | |
151 | 175 | | |
152 | 176 | | |
153 | | - | |
| 177 | + | |
154 | 178 | | |
155 | 179 | | |
156 | 180 | | |
| |||
183 | 207 | | |
184 | 208 | | |
185 | 209 | | |
| 210 | + | |
| 211 | + | |
186 | 212 | | |
187 | 213 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments