letify 3.0.2__tar.gz → 3.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. {letify-3.0.2 → letify-3.0.3}/PKG-INFO +2 -2
  2. {letify-3.0.2 → letify-3.0.3}/README.md +1 -1
  3. {letify-3.0.2 → letify-3.0.3}/docs/SPEC.md +2 -2
  4. {letify-3.0.2 → letify-3.0.3}/docs/guide/02-providers.md +1 -1
  5. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/02-/355/224/204/353/241/234/353/260/224/354/235/264/353/215/224.md +1 -1
  6. {letify-3.0.2 → letify-3.0.3}/docs/locales/README_ko.md +1 -1
  7. {letify-3.0.2 → letify-3.0.3}/letify/__init__.py +1 -1
  8. {letify-3.0.2 → letify-3.0.3}/letify/providers/base.py +29 -7
  9. {letify-3.0.2 → letify-3.0.3}/letify-core/Cargo.lock +2 -2
  10. {letify-3.0.2 → letify-3.0.3}/letify-core/Cargo.toml +1 -1
  11. {letify-3.0.2 → letify-3.0.3}/letify-ext/package-lock.json +2 -2
  12. {letify-3.0.2 → letify-3.0.3}/letify-ext/package.json +1 -1
  13. {letify-3.0.2 → letify-3.0.3}/pyproject.toml +1 -1
  14. {letify-3.0.2 → letify-3.0.3}/tests/test_tailcat_removed.py +31 -5
  15. {letify-3.0.2 → letify-3.0.3}/.github/workflows/ci.yml +0 -0
  16. {letify-3.0.2 → letify-3.0.3}/.github/workflows/docs.yml +0 -0
  17. {letify-3.0.2 → letify-3.0.3}/.github/workflows/letify-link.yml +0 -0
  18. {letify-3.0.2 → letify-3.0.3}/.github/workflows/publish-crates.yml +0 -0
  19. {letify-3.0.2 → letify-3.0.3}/.github/workflows/publish.yml +0 -0
  20. {letify-3.0.2 → letify-3.0.3}/.github/workflows/reserve-crates.yml +0 -0
  21. {letify-3.0.2 → letify-3.0.3}/.gitignore +0 -0
  22. {letify-3.0.2 → letify-3.0.3}/.researchtree +0 -0
  23. {letify-3.0.2 → letify-3.0.3}/CLAUDE.md +0 -0
  24. {letify-3.0.2 → letify-3.0.3}/LICENSE +0 -0
  25. {letify-3.0.2 → letify-3.0.3}/PROJECT.md +0 -0
  26. {letify-3.0.2 → letify-3.0.3}/docs/COMPONENT.md +0 -0
  27. {letify-3.0.2 → letify-3.0.3}/docs/INTENT.md +0 -0
  28. {letify-3.0.2 → letify-3.0.3}/docs/NETWORK.md +0 -0
  29. {letify-3.0.2 → letify-3.0.3}/docs/ROADMAP-3.0.md +0 -0
  30. {letify-3.0.2 → letify-3.0.3}/docs/guide/01-getting-started.md +0 -0
  31. {letify-3.0.2 → letify-3.0.3}/docs/guide/03-execution-modes.md +0 -0
  32. {letify-3.0.2 → letify-3.0.3}/docs/guide/04-environments-and-data.md +0 -0
  33. {letify-3.0.2 → letify-3.0.3}/docs/guide/05-concurrency.md +0 -0
  34. {letify-3.0.2 → letify-3.0.3}/docs/guide/06-cost.md +0 -0
  35. {letify-3.0.2 → letify-3.0.3}/docs/guide/07-troubleshooting.md +0 -0
  36. {letify-3.0.2 → letify-3.0.3}/docs/guide/08-releasing.md +0 -0
  37. {letify-3.0.2 → letify-3.0.3}/docs/guide/09-agent.md +0 -0
  38. {letify-3.0.2 → letify-3.0.3}/docs/guide/README.md +0 -0
  39. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/01-/354/213/234/354/236/221/355/225/230/352/270/260.md" +0 -0
  40. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/03-/354/213/244/355/226/211-/353/260/251/354/213/235.md" +0 -0
  41. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/04-/355/231/230/352/262/275/352/263/274-/353/215/260/354/235/264/355/204/260.md" +0 -0
  42. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/05-/353/217/231/354/213/234-/354/213/244/355/226/211.md" +0 -0
  43. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/06-/353/271/204/354/232/251.md" +0 -0
  44. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/07-/353/254/270/354/240/234-/355/225/264/352/262/260.md" +0 -0
  45. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/08-/353/246/264/353/246/254/354/212/244.md" +0 -0
  46. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/09-/354/227/220/354/235/264/354/240/204/355/212/270.md" +0 -0
  47. {letify-3.0.2 → letify-3.0.3}/docs/guide/ko/README.md +0 -0
  48. {letify-3.0.2 → letify-3.0.3}/docs/mkdocs.yml +0 -0
  49. {letify-3.0.2 → letify-3.0.3}/examples/README.md +0 -0
  50. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/.letify.example +0 -0
  51. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/00_smoke.py +0 -0
  52. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/01_sweep.py +0 -0
  53. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/02_resume.py +0 -0
  54. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/03_watch.py +0 -0
  55. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/README.md +0 -0
  56. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/README_ko.md +0 -0
  57. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/common.py +0 -0
  58. {letify-3.0.2 → letify-3.0.3}/examples/nvfp4-lora/recipe.py +0 -0
  59. {letify-3.0.2 → letify-3.0.3}/letify/cli.py +0 -0
  60. {letify-3.0.2 → letify-3.0.3}/letify/config/__init__.py +0 -0
  61. {letify-3.0.2 → letify-3.0.3}/letify/config/inventory.py +0 -0
  62. {letify-3.0.2 → letify-3.0.3}/letify/config/login.py +0 -0
  63. {letify-3.0.2 → letify-3.0.3}/letify/config/schema.py +0 -0
  64. {letify-3.0.2 → letify-3.0.3}/letify/config/secrets.py +0 -0
  65. {letify-3.0.2 → letify-3.0.3}/letify/config/writer.py +0 -0
  66. {letify-3.0.2 → letify-3.0.3}/letify/declare/__init__.py +0 -0
  67. {letify-3.0.2 → letify-3.0.3}/letify/declare/cache.py +0 -0
  68. {letify-3.0.2 → letify-3.0.3}/letify/declare/env.py +0 -0
  69. {letify-3.0.2 → letify-3.0.3}/letify/declare/exit.py +0 -0
  70. {letify-3.0.2 → letify-3.0.3}/letify/declare/function.py +0 -0
  71. {letify-3.0.2 → letify-3.0.3}/letify/declare/instance.py +0 -0
  72. {letify-3.0.2 → letify-3.0.3}/letify/declare/reduce.py +0 -0
  73. {letify-3.0.2 → letify-3.0.3}/letify/declare/replicas.py +0 -0
  74. {letify-3.0.2 → letify-3.0.3}/letify/errors.py +0 -0
  75. {letify-3.0.2 → letify-3.0.3}/letify/install.py +0 -0
  76. {letify-3.0.2 → letify-3.0.3}/letify/launcher.py +0 -0
  77. {letify-3.0.2 → letify-3.0.3}/letify/paths.py +0 -0
  78. {letify-3.0.2 → letify-3.0.3}/letify/protocol/__init__.py +0 -0
  79. {letify-3.0.2 → letify-3.0.3}/letify/protocol/codec.py +0 -0
  80. {letify-3.0.2 → letify-3.0.3}/letify/protocol/driver.py +0 -0
  81. {letify-3.0.2 → letify-3.0.3}/letify/protocol/handle.py +0 -0
  82. {letify-3.0.2 → letify-3.0.3}/letify/protocol/wire.py +0 -0
  83. {letify-3.0.2 → letify-3.0.3}/letify/protocol/worker.py +0 -0
  84. {letify-3.0.2 → letify-3.0.3}/letify/providers/__init__.py +0 -0
  85. {letify-3.0.2 → letify-3.0.3}/letify/providers/colab.py +0 -0
  86. {letify-3.0.2 → letify-3.0.3}/letify/providers/colab_files.py +0 -0
  87. {letify-3.0.2 → letify-3.0.3}/letify/providers/colab_keepalive.py +0 -0
  88. {letify-3.0.2 → letify-3.0.3}/letify/providers/elice.py +0 -0
  89. {letify-3.0.2 → letify-3.0.3}/letify/providers/kaggle.py +0 -0
  90. {letify-3.0.2 → letify-3.0.3}/letify/providers/kaggle_adapter.py +0 -0
  91. {letify-3.0.2 → letify-3.0.3}/letify/providers/local.py +0 -0
  92. {letify-3.0.2 → letify-3.0.3}/letify/providers/modal.py +0 -0
  93. {letify-3.0.2 → letify-3.0.3}/letify/providers/modal_adapter.py +0 -0
  94. {letify-3.0.2 → letify-3.0.3}/letify/providers/naming.py +0 -0
  95. {letify-3.0.2 → letify-3.0.3}/letify/providers/shell.py +0 -0
  96. {letify-3.0.2 → letify-3.0.3}/letify/providers/tunnel.py +0 -0
  97. {letify-3.0.2 → letify-3.0.3}/letify/providers/usage.py +0 -0
  98. {letify-3.0.2 → letify-3.0.3}/letify/remoting/__init__.py +0 -0
  99. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/__init__.py +0 -0
  100. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/client.py +0 -0
  101. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/cuda.py +0 -0
  102. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/executor.py +0 -0
  103. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/frames.py +0 -0
  104. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/guard.py +0 -0
  105. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/tensor.py +0 -0
  106. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/trace.py +0 -0
  107. {letify-3.0.2 → letify-3.0.3}/letify/remoting/device/value.py +0 -0
  108. {letify-3.0.2 → letify-3.0.3}/letify/render.py +0 -0
  109. {letify-3.0.2 → letify-3.0.3}/letify/runtime/__init__.py +0 -0
  110. {letify-3.0.2 → letify-3.0.3}/letify/runtime/bootstrap.py +0 -0
  111. {letify-3.0.2 → letify-3.0.3}/letify/runtime/broker.py +0 -0
  112. {letify-3.0.2 → letify-3.0.3}/letify/runtime/channel.py +0 -0
  113. {letify-3.0.2 → letify-3.0.3}/letify/runtime/control.py +0 -0
  114. {letify-3.0.2 → letify-3.0.3}/letify/runtime/lease.py +0 -0
  115. {letify-3.0.2 → letify-3.0.3}/letify/runtime/pool.py +0 -0
  116. {letify-3.0.2 → letify-3.0.3}/letify/runtime/reattach.py +0 -0
  117. {letify-3.0.2 → letify-3.0.3}/letify/runtime/session.py +0 -0
  118. {letify-3.0.2 → letify-3.0.3}/letify/runtime/takeover.py +0 -0
  119. {letify-3.0.2 → letify-3.0.3}/letify/runtime/telemetry.py +0 -0
  120. {letify-3.0.2 → letify-3.0.3}/letify/runtime/workers.py +0 -0
  121. {letify-3.0.2 → letify-3.0.3}/letify/store/__init__.py +0 -0
  122. {letify-3.0.2 → letify-3.0.3}/letify/store/backends/__init__.py +0 -0
  123. {letify-3.0.2 → letify-3.0.3}/letify/store/backends/drive.py +0 -0
  124. {letify-3.0.2 → letify-3.0.3}/letify/store/backends/filesystem.py +0 -0
  125. {letify-3.0.2 → letify-3.0.3}/letify/store/backends/google_auth.py +0 -0
  126. {letify-3.0.2 → letify-3.0.3}/letify/store/backends/layout.py +0 -0
  127. {letify-3.0.2 → letify-3.0.3}/letify/store/backends/objects.py +0 -0
  128. {letify-3.0.2 → letify-3.0.3}/letify/store/cas.py +0 -0
  129. {letify-3.0.2 → letify-3.0.3}/letify/store/handoff.py +0 -0
  130. {letify-3.0.2 → letify-3.0.3}/letify/store/pathdata.py +0 -0
  131. {letify-3.0.2 → letify-3.0.3}/letify/store/sendorder.py +0 -0
  132. {letify-3.0.2 → letify-3.0.3}/letify/store/volume.py +0 -0
  133. {letify-3.0.2 → letify-3.0.3}/letify/stubs.py +0 -0
  134. {letify-3.0.2 → letify-3.0.3}/letify/tools.py +0 -0
  135. {letify-3.0.2 → letify-3.0.3}/letify/transport/__init__.py +0 -0
  136. {letify-3.0.2 → letify-3.0.3}/letify/transport/announce.py +0 -0
  137. {letify-3.0.2 → letify-3.0.3}/letify/transport/link.py +0 -0
  138. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkagent.py +0 -0
  139. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkchannel.py +0 -0
  140. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkd.py +0 -0
  141. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkmailbox.py +0 -0
  142. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkpump.py +0 -0
  143. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkshim.py +0 -0
  144. {letify-3.0.2 → letify-3.0.3}/letify/transport/linksignal.py +0 -0
  145. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkupload.py +0 -0
  146. {letify-3.0.2 → letify-3.0.3}/letify/transport/linkwebsocket.py +0 -0
  147. {letify-3.0.2 → letify-3.0.3}/letify/transport/nat.py +0 -0
  148. {letify-3.0.2 → letify-3.0.3}/letify/transport/pipeline.py +0 -0
  149. {letify-3.0.2 → letify-3.0.3}/letify/transport/portmap.py +0 -0
  150. {letify-3.0.2 → letify-3.0.3}/letify/transport/probe.py +0 -0
  151. {letify-3.0.2 → letify-3.0.3}/letify/transport/rendezvous.py +0 -0
  152. {letify-3.0.2 → letify-3.0.3}/letify/transport/sshopts.py +0 -0
  153. {letify-3.0.2 → letify-3.0.3}/letify/transport/strategies.py +0 -0
  154. {letify-3.0.2 → letify-3.0.3}/letify/useragent.py +0 -0
  155. {letify-3.0.2 → letify-3.0.3}/letify-core/.gitignore +0 -0
  156. {letify-3.0.2 → letify-3.0.3}/letify-core/build.py +0 -0
  157. {letify-3.0.2 → letify-3.0.3}/letify-core/letify/Cargo.toml +0 -0
  158. {letify-3.0.2 → letify-3.0.3}/letify-core/letify/LICENSE +0 -0
  159. {letify-3.0.2 → letify-3.0.3}/letify-core/letify/README.md +0 -0
  160. {letify-3.0.2 → letify-3.0.3}/letify-core/letify/src/lib.rs +0 -0
  161. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/Cargo.toml +0 -0
  162. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/examples/bench.rs +0 -0
  163. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/acceptor.rs +0 -0
  164. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/bin/letify-link.rs +0 -0
  165. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/config.rs +0 -0
  166. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/error.rs +0 -0
  167. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/frame.rs +0 -0
  168. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/handshake.rs +0 -0
  169. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/hysteresis.rs +0 -0
  170. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/identity.rs +0 -0
  171. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/keys.rs +0 -0
  172. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/lib.rs +0 -0
  173. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/observe.rs +0 -0
  174. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/paths.rs +0 -0
  175. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/plan.rs +0 -0
  176. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/policing.rs +0 -0
  177. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/punch.rs +0 -0
  178. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/record.rs +0 -0
  179. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/relay.rs +0 -0
  180. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/rendezvous.rs +0 -0
  181. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/replay.rs +0 -0
  182. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/session.rs +0 -0
  183. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/sidecar.rs +0 -0
  184. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/stream.rs +0 -0
  185. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/stun.rs +0 -0
  186. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/tcp.rs +0 -0
  187. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/trace.rs +0 -0
  188. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/src/udp.rs +0 -0
  189. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/acceptor.rs +0 -0
  190. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/api.rs +0 -0
  191. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/common/mod.rs +0 -0
  192. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/diag_sim.rs +0 -0
  193. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/fairness.rs +0 -0
  194. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/gauge.rs +0 -0
  195. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/handshake.rs +0 -0
  196. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/hysteresis.rs +0 -0
  197. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/keepalive.rs +0 -0
  198. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/mobile.rs +0 -0
  199. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/nat.rs +0 -0
  200. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/paths.rs +0 -0
  201. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/qad.rs +0 -0
  202. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/rekey.rs +0 -0
  203. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/relay.rs +0 -0
  204. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/relay_pairing.rs +0 -0
  205. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/rendezvous.rs +0 -0
  206. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/reorder.rs +0 -0
  207. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/replay.rs +0 -0
  208. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/resume.rs +0 -0
  209. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/revoke.rs +0 -0
  210. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/session.rs +0 -0
  211. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/sidecar.rs +0 -0
  212. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/startup.rs +0 -0
  213. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/subflows.rs +0 -0
  214. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/trace.rs +0 -0
  215. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/udp.rs +0 -0
  216. {letify-3.0.2 → letify-3.0.3}/letify-core/letify-link/tests/udp_bench.rs +0 -0
  217. {letify-3.0.2 → letify-3.0.3}/letify-core/rust-toolchain.toml +0 -0
  218. {letify-3.0.2 → letify-3.0.3}/letify-ext/.vscodeignore +0 -0
  219. {letify-3.0.2 → letify-3.0.3}/letify-ext/LICENSE +0 -0
  220. {letify-3.0.2 → letify-3.0.3}/letify-ext/README.md +0 -0
  221. {letify-3.0.2 → letify-3.0.3}/letify-ext/media/icon.svg +0 -0
  222. {letify-3.0.2 → letify-3.0.3}/letify-ext/src/cli.ts +0 -0
  223. {letify-3.0.2 → letify-3.0.3}/letify-ext/src/extension.ts +0 -0
  224. {letify-3.0.2 → letify-3.0.3}/letify-ext/src/history.ts +0 -0
  225. {letify-3.0.2 → letify-3.0.3}/letify-ext/src/model.ts +0 -0
  226. {letify-3.0.2 → letify-3.0.3}/letify-ext/src/poll.ts +0 -0
  227. {letify-3.0.2 → letify-3.0.3}/letify-ext/src/render.ts +0 -0
  228. {letify-3.0.2 → letify-3.0.3}/letify-ext/test/cli.test.ts +0 -0
  229. {letify-3.0.2 → letify-3.0.3}/letify-ext/test/manifest.test.ts +0 -0
  230. {letify-3.0.2 → letify-3.0.3}/letify-ext/test/model.test.ts +0 -0
  231. {letify-3.0.2 → letify-3.0.3}/letify-ext/test/regressions.test.ts +0 -0
  232. {letify-3.0.2 → letify-3.0.3}/letify-ext/tsconfig.json +0 -0
  233. {letify-3.0.2 → letify-3.0.3}/letify-signal/README.md +0 -0
  234. {letify-3.0.2 → letify-3.0.3}/letify-signal/cloudflare.config.ts +0 -0
  235. {letify-3.0.2 → letify-3.0.3}/letify-signal/package-lock.json +0 -0
  236. {letify-3.0.2 → letify-3.0.3}/letify-signal/package.json +0 -0
  237. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/auth.ts +0 -0
  238. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/ed25519.ts +0 -0
  239. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/handler.ts +0 -0
  240. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/index.ts +0 -0
  241. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/limiter.ts +0 -0
  242. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/mailbox.ts +0 -0
  243. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/objects.ts +0 -0
  244. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/protocol.ts +0 -0
  245. {letify-3.0.2 → letify-3.0.3}/letify-signal/src/storage.ts +0 -0
  246. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/auth.test.ts +0 -0
  247. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/ed25519.test.ts +0 -0
  248. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/helpers.ts +0 -0
  249. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/interop.test.ts +0 -0
  250. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/limiter.test.ts +0 -0
  251. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/mailbox.test.ts +0 -0
  252. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/objects.test.ts +0 -0
  253. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/setup.ts +0 -0
  254. {letify-3.0.2 → letify-3.0.3}/letify-signal/test/worker.test.ts +0 -0
  255. {letify-3.0.2 → letify-3.0.3}/letify-signal/tsconfig.json +0 -0
  256. {letify-3.0.2 → letify-3.0.3}/letify-signal/vitest.config.ts +0 -0
  257. {letify-3.0.2 → letify-3.0.3}/letify_providers.py +0 -0
  258. {letify-3.0.2 → letify-3.0.3}/scripts/sync-main.sh +0 -0
  259. {letify-3.0.2 → letify-3.0.3}/scripts/version.py +0 -0
  260. {letify-3.0.2 → letify-3.0.3}/tests/conftest.py +0 -0
  261. {letify-3.0.2 → letify-3.0.3}/tests/fake_kaggle_adapter.py +0 -0
  262. {letify-3.0.2 → letify-3.0.3}/tests/fake_modal_adapter.py +0 -0
  263. {letify-3.0.2 → letify-3.0.3}/tests/test_cli.py +0 -0
  264. {letify-3.0.2 → letify-3.0.3}/tests/test_cli_output.py +0 -0
  265. {letify-3.0.2 → letify-3.0.3}/tests/test_colab_keepalive.py +0 -0
  266. {letify-3.0.2 → letify-3.0.3}/tests/test_config.py +0 -0
  267. {letify-3.0.2 → letify-3.0.3}/tests/test_core.py +0 -0
  268. {letify-3.0.2 → letify-3.0.3}/tests/test_data.py +0 -0
  269. {letify-3.0.2 → letify-3.0.3}/tests/test_data_in_place.py +0 -0
  270. {letify-3.0.2 → letify-3.0.3}/tests/test_data_streaming.py +0 -0
  271. {letify-3.0.2 → letify-3.0.3}/tests/test_declare.py +0 -0
  272. {letify-3.0.2 → letify-3.0.3}/tests/test_device.py +0 -0
  273. {letify-3.0.2 → letify-3.0.3}/tests/test_device_compile.py +0 -0
  274. {letify-3.0.2 → letify-3.0.3}/tests/test_distributed.py +0 -0
  275. {letify-3.0.2 → letify-3.0.3}/tests/test_drive_handoff.py +0 -0
  276. {letify-3.0.2 → letify-3.0.3}/tests/test_drive_store.py +0 -0
  277. {letify-3.0.2 → letify-3.0.3}/tests/test_editor_sessions.py +0 -0
  278. {letify-3.0.2 → letify-3.0.3}/tests/test_elice.py +0 -0
  279. {letify-3.0.2 → letify-3.0.3}/tests/test_frames.py +0 -0
  280. {letify-3.0.2 → letify-3.0.3}/tests/test_install.py +0 -0
  281. {letify-3.0.2 → letify-3.0.3}/tests/test_kaggle.py +0 -0
  282. {letify-3.0.2 → letify-3.0.3}/tests/test_kaggle_cookie.py +0 -0
  283. {letify-3.0.2 → letify-3.0.3}/tests/test_kaggle_link.py +0 -0
  284. {letify-3.0.2 → letify-3.0.3}/tests/test_link_agent.py +0 -0
  285. {letify-3.0.2 → letify-3.0.3}/tests/test_link_channel.py +0 -0
  286. {letify-3.0.2 → letify-3.0.3}/tests/test_link_command_channel.py +0 -0
  287. {letify-3.0.2 → letify-3.0.3}/tests/test_link_exec.py +0 -0
  288. {letify-3.0.2 → letify-3.0.3}/tests/test_link_log.py +0 -0
  289. {letify-3.0.2 → letify-3.0.3}/tests/test_link_mailbox_close.py +0 -0
  290. {letify-3.0.2 → letify-3.0.3}/tests/test_link_opt_in.py +0 -0
  291. {letify-3.0.2 → letify-3.0.3}/tests/test_link_signal.py +0 -0
  292. {letify-3.0.2 → letify-3.0.3}/tests/test_link_ssh_stream.py +0 -0
  293. {letify-3.0.2 → letify-3.0.3}/tests/test_link_upload.py +0 -0
  294. {letify-3.0.2 → letify-3.0.3}/tests/test_linkd.py +0 -0
  295. {letify-3.0.2 → letify-3.0.3}/tests/test_network_guard.py +0 -0
  296. {letify-3.0.2 → letify-3.0.3}/tests/test_notebook.py +0 -0
  297. {letify-3.0.2 → letify-3.0.3}/tests/test_parallel_placement.py +0 -0
  298. {letify-3.0.2 → letify-3.0.3}/tests/test_paths.py +0 -0
  299. {letify-3.0.2 → letify-3.0.3}/tests/test_portmap.py +0 -0
  300. {letify-3.0.2 → letify-3.0.3}/tests/test_protocol.py +0 -0
  301. {letify-3.0.2 → letify-3.0.3}/tests/test_providers.py +0 -0
  302. {letify-3.0.2 → letify-3.0.3}/tests/test_punch_sockets.py +0 -0
  303. {letify-3.0.2 → letify-3.0.3}/tests/test_quic_removed.py +0 -0
  304. {letify-3.0.2 → letify-3.0.3}/tests/test_remoting.py +0 -0
  305. {letify-3.0.2 → letify-3.0.3}/tests/test_render.py +0 -0
  306. {letify-3.0.2 → letify-3.0.3}/tests/test_run_control.py +0 -0
  307. {letify-3.0.2 → letify-3.0.3}/tests/test_run_reattach.py +0 -0
  308. {letify-3.0.2 → letify-3.0.3}/tests/test_run_takeover.py +0 -0
  309. {letify-3.0.2 → letify-3.0.3}/tests/test_runtime.py +0 -0
  310. {letify-3.0.2 → letify-3.0.3}/tests/test_shell_workers.py +0 -0
  311. {letify-3.0.2 → letify-3.0.3}/tests/test_ship.py +0 -0
  312. {letify-3.0.2 → letify-3.0.3}/tests/test_store.py +0 -0
  313. {letify-3.0.2 → letify-3.0.3}/tests/test_strategies.py +0 -0
  314. {letify-3.0.2 → letify-3.0.3}/tests/test_stubs.py +0 -0
  315. {letify-3.0.2 → letify-3.0.3}/tests/test_suite_guards.py +0 -0
  316. {letify-3.0.2 → letify-3.0.3}/tests/test_transport.py +0 -0
  317. {letify-3.0.2 → letify-3.0.3}/tests/test_tunnel_agent_login.py +0 -0
  318. {letify-3.0.2 → letify-3.0.3}/tests/test_tunnel_setup.py +0 -0
  319. {letify-3.0.2 → letify-3.0.3}/tests/test_user_agent.py +0 -0
  320. {letify-3.0.2 → letify-3.0.3}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: letify
3
- Version: 3.0.2
3
+ Version: 3.0.3
4
4
  Summary: Declarations that become infrastructure.
5
5
  Project-URL: Homepage, https://github.com/DarkPyonix/letify
6
6
  Project-URL: Documentation, https://github.com/DarkPyonix/letify/tree/main/docs
@@ -328,7 +328,7 @@ A Kaggle declaration must say `host=letify.remote`. That kernel channel is the o
328
328
  2. TCP hole punching, for two machines that are both behind NAT
329
329
  3. The provider's own path, such as `colab exec` and the Colab file API
330
330
 
331
- A lower number wins unless it is far slower than the fastest one that connected. The winner is remembered per account and per network, so the next connection starts with it. A machine behind NAT needs letify installed and `letify agent serve` run on it once, so letify can reach it, with no SSH server. Tailcat is removed, and an account that names `tailcat` is refused with the steps to move it to `letify agent serve`. When a machine's SSH server is published to the outside under another port, such as Docker's `-p 30501:8022`, `letify login tunnel <alias> --address <host> --public-port 30501` records it: SSH straight to the address then dials port 30501, while hole punching keeps using 8022. Colab and Elice never need an agent: their provider layer creates and opens the machine through the provider's own API. Modal is reached through its own API and is not part of this.
331
+ A lower number wins unless it is far slower than the fastest one that connected. The winner is remembered per account and per network, so the next connection starts with it. A machine behind NAT needs letify installed and `letify agent serve` run on it once, so letify can reach it, with no SSH server. Tailcat is removed, and a tunnel account that names `tailcat` is refused with the steps to move it to `letify agent serve`, any other kind that names it is told to delete the field, and `tailcat_binary` is ignored with a one-line notice. When a machine's SSH server is published to the outside under another port, such as Docker's `-p 30501:8022`, `letify login tunnel <alias> --address <host> --public-port 30501` records it: SSH straight to the address then dials port 30501, while hole punching keeps using 8022. Colab and Elice never need an agent: their provider layer creates and opens the machine through the provider's own API. Modal is reached through its own API and is not part of this.
332
332
 
333
333
  **Multiple accounts are first class.** Each configuration entry is one account, and entries of the same kind coexist. Two Colab accounts means twice the concurrent sessions.
334
334
 
@@ -303,7 +303,7 @@ A Kaggle declaration must say `host=letify.remote`. That kernel channel is the o
303
303
  2. TCP hole punching, for two machines that are both behind NAT
304
304
  3. The provider's own path, such as `colab exec` and the Colab file API
305
305
 
306
- A lower number wins unless it is far slower than the fastest one that connected. The winner is remembered per account and per network, so the next connection starts with it. A machine behind NAT needs letify installed and `letify agent serve` run on it once, so letify can reach it, with no SSH server. Tailcat is removed, and an account that names `tailcat` is refused with the steps to move it to `letify agent serve`. When a machine's SSH server is published to the outside under another port, such as Docker's `-p 30501:8022`, `letify login tunnel <alias> --address <host> --public-port 30501` records it: SSH straight to the address then dials port 30501, while hole punching keeps using 8022. Colab and Elice never need an agent: their provider layer creates and opens the machine through the provider's own API. Modal is reached through its own API and is not part of this.
306
+ A lower number wins unless it is far slower than the fastest one that connected. The winner is remembered per account and per network, so the next connection starts with it. A machine behind NAT needs letify installed and `letify agent serve` run on it once, so letify can reach it, with no SSH server. Tailcat is removed, and a tunnel account that names `tailcat` is refused with the steps to move it to `letify agent serve`, any other kind that names it is told to delete the field, and `tailcat_binary` is ignored with a one-line notice. When a machine's SSH server is published to the outside under another port, such as Docker's `-p 30501:8022`, `letify login tunnel <alias> --address <host> --public-port 30501` records it: SSH straight to the address then dials port 30501, while hole punching keeps using 8022. Colab and Elice never need an agent: their provider layer creates and opens the machine through the provider's own API. Modal is reached through its own API and is not part of this.
307
307
 
308
308
  **Multiple accounts are first class.** Each configuration entry is one account, and entries of the same kind coexist. Two Colab accounts means twice the concurrent sessions.
309
309
 
@@ -1854,7 +1854,7 @@ Forward SSH is first because it needs no remote agent and costs one connection a
1854
1854
 
1855
1855
  A strategy whose needs are not met is skipped, not attempted. A `Shell` with no rendezvous has only rank 1. Only a provider that can run a program on the machine has a rendezvous: `Colab`, `Kaggle` and `Elice`. A plain `Shell` has none, so it has forward SSH and nothing else, and a machine behind NAT is a `Tunnel` account with an agent, which is reached through letify-link and races no strategy ([Agent and pairing](#link-agent)). The connect back and TCP punch strategies stay for the providers that have a rendezvous, until letify-link replaces them ([letify-link as the default](#link-default)). An account with no `address` has no rank 1: forward SSH is skipped with the reason `no address`, and no SSH command is built for a guessed or empty address. `letify check` on such an account runs over the strategies that remain.
1856
1856
 
1857
- A configuration or account that names `tailcat`, `tailcat_port` or `tailcat_binary` is refused when its provider is built, with `ProviderUnavailable` naming the account and the field: `<alias> names 'tailcat', but Tailcat was removed in 3.0. Run 'letify agent serve' on the machine, then 'letify login tunnel <alias> --connect letify-agent2:<token>' with the token it prints.` Nothing falls back to another path and the field is not ignored.
1857
+ An account field that named a Tailcat address to connect to, `tailcat` or `tailcat_port`, is refused when its provider is built, with `ProviderUnavailable` naming the account and the field. On a `tunnel` account the message is `<alias> names 'tailcat', but Tailcat was removed in 3.0. Run 'letify agent serve' on the machine, then 'letify login tunnel <alias> --connect letify-agent2:<token>' with the token it prints.` On any other kind it is `<alias> names 'tailcat', which is obsolete since 3.0. Delete it from <alias> in <config file>`, because those kinds reach their runtime without Tailcat and have no agent to set up. `tailcat_binary` only pointed at, or disabled, a Tailcat binary and so carries no connection intent: on any kind letify ignores it and prints one line per process per alias to stderr saying the field is obsolete since 3.0 and can be deleted from the config file. That is not a fallback, because the field selects nothing in 3.0. No other field of the removed tools is handled: letify 3.0 has no `auto_install` or QUIC account option to migrate.
1858
1858
 
1859
1859
  An account reaches SSH on two ports when the machine publishes its SSH server under another port, such as a Docker container started with `-p 30501:8022`. `port` is the SSH server's port inside the machine, and the remote half of a punch splices its connections to `127.0.0.1:<port>`. `public_port` is the port forward SSH dials at `address`. Forward SSH uses `public_port` when the account sets it, and otherwise `port`, read through `port_command` when that is set. TCP punching always uses `port`.
1860
1860
 
@@ -2279,7 +2279,7 @@ Hypothesis: one long-running process holding a list of paired node ids carries a
2279
2279
  11. **Connect.** A `tunnel` account with an `agent` field is reached through the agent, with no ssh. The account is a letify-link account without a `link` option: `link = "ssh"` on it is refused by name, because there is no ssh server to reach. It has no address, so `Tunnel.address` is `None` and no strategy is raced. `Tunnel.link()` returns the session's measurements with no ssh command, as `Colab.link()` does. `connect_link` calls `linkchannel.connect_signal`, which opens the sidecar of the account's `link.key`, builds a `SignalClient` for the account's `signal` URL and a `SignalBootstrap` for the node `agent`, and calls `connect_over` with no address, `punch=True`, the channel named `the signalling service` and no binary preparation, because the agent holds the binary of its own machine. The ping of `SignalBootstrap.start` is the bootstrap round trip, so `lead_ms` and the shim wait follow the rules of [Sidecar interface](#link-sidecar) item 8. A failure raises `ProviderUnavailable` with the reason and falls back to nothing.
2280
2280
  12. **The ssh target.** `letify agent serve --ssh-target HOST:PORT`, or `ssh_target` in `~/.letify/agent/config.toml`, sets the sshd that the ssh stream of [Sidecar interface](#link-sidecar) item 11 reaches on this machine. It defaults to `127.0.0.1:22`. The agent has no ssh server of its own, so the stream is useful only on a machine that runs one; without one the stream is closed and nothing else is affected.
2281
2281
  13. **What needed ssh.** Every step of a login that used ssh has a session equivalent on an agent account: the workspace check and the device query of `letify login tunnel` run over the `exec` stream (Tunnel login section), `letify login tunnel <alias> --detect-devices` asks an agent account again over the same stream and then follows [Recording devices at login](#login-records-devices) item 7, and `Tunnel.check`, the device listing and the worker listing already run over it. There is no key install or key confirmation, because the session authenticates with node keys. An agent account's `--detect-devices` is no longer refused for having no address.
2282
- 14. **Tailcat is refused.** A `tunnel` account that names `tailcat`, `tailcat_port` or `tailcat_binary` is refused when its provider is built, as [Connection strategies](#connection-strategies) says: the error names the account and the field, says Tailcat was removed in 3.0 and gives the migration, `letify agent serve` on the machine and then `letify login tunnel <alias> --connect letify-agent2:<token>`. The same field on any other account kind is refused the same way. Nothing prints a notice and keeps working.
2282
+ 14. **Tailcat fields.** A `tunnel` account that names `tailcat` or `tailcat_port` is refused when its provider is built, as [Connection strategies](#connection-strategies) says: the error names the account and the field, says Tailcat was removed in 3.0 and gives the migration, `letify agent serve` on the machine and then `letify login tunnel <alias> --connect letify-agent2:<token>`. The same fields on any other account kind are refused with the obsolete-since-3.0 text and no agent migration. `tailcat_binary` on any kind is ignored with a one-line notice.
2283
2283
 
2284
2284
  #### NAT traversal <!-- id: link-nat -->
2285
2285
 
@@ -191,7 +191,7 @@ signal = "https://letify.darkpyonix.dev"
191
191
 
192
192
  ### A Tailcat account
193
193
 
194
- Tailcat was removed in 3.0. An account that names `tailcat`, `tailcat_port` or `tailcat_binary` is refused, and the message names the account and the field. To migrate it, run `letify agent serve` on the machine and run `letify login tunnel home_box --connect letify-agent2:...` with the token it prints. Use `--replace` to renew an account that is already declared.
194
+ Tailcat was removed in 3.0. An account that names `tailcat` or `tailcat_port` is refused, and the message names the account and the field. On a `tunnel` account the message gives the migration, and on any other kind it says the field is obsolete since 3.0 and to delete it from the config file. `tailcat_binary` is ignored on every kind, with one line printed per alias saying it can be deleted. To migrate a tunnel account, run `letify agent serve` on the machine and run `letify login tunnel home_box --connect letify-agent2:...` with the token it prints. Use `--replace` to renew an account that is already declared.
195
195
 
196
196
  Try the simpler paths first. A direct address, then a jump host, then this. Campus machines often allow one of the first two. Details and measurements are in [docs/NETWORK.md](../NETWORK.md).
197
197
 
@@ -191,7 +191,7 @@ signal = "https://letify.darkpyonix.dev"
191
191
 
192
192
  ### Tailcat 계정
193
193
 
194
- Tailcat은 3.0에서 제거되었습니다. `tailcat`, `tailcat_port`, `tailcat_binary`를 적은 계정은 거부되고, 메시지에 계정과 필드 이름이 나옵니다. 옮기려면 머신에서 `letify agent serve`를 실행하고, 출력된 토큰으로 `letify login tunnel home_box --connect letify-agent2:...`를 실행하세요. 이미 선언된 계정을 갱신하려면 `--replace`를 붙입니다.
194
+ Tailcat은 3.0에서 제거되었습니다. `tailcat`, `tailcat_port`를 적은 계정은 거부되고, 메시지에 계정과 필드 이름이 나옵니다. `tunnel` 계정에는 옮기는 방법이 나오고, 다른 종류의 계정에는 3.0부터 쓰지 않는 필드이니 설정 파일에서 지우라는 안내가 나옵니다. `tailcat_binary`는 모든 종류에서 무시되며, 계정마다 지워도 된다는 한 줄만 출력됩니다. tunnel 계정을 옮기려면 머신에서 `letify agent serve`를 실행하고, 출력된 토큰으로 `letify login tunnel home_box --connect letify-agent2:...`를 실행하세요. 이미 선언된 계정을 갱신하려면 `--replace`를 붙입니다.
195
195
 
196
196
  더 단순한 경로를 먼저 시도하세요. 직접 주소, 그다음 점프 호스트, 그다음 터널입니다. 학교 머신은 앞의 두 개가 되는 경우가 많습니다. 상세한 측정치는 [docs/NETWORK.md](../../NETWORK.md)에 있습니다.
197
197
 
@@ -297,7 +297,7 @@ Kaggle 선언에는 `host=letify.remote`를 써야 합니다. Kaggle은 인바
297
297
  2. TCP 홀펀칭, 양쪽이 모두 NAT 뒤에 있을 때
298
298
  3. 프로바이더 자체 경로, 예를 들어 `colab exec`와 Colab 파일 API
299
299
 
300
- 번호가 낮은 방법이 이깁니다. 다만 연결된 방법 중 가장 빠른 것보다 훨씬 느리면 탈락합니다. 이긴 방법은 계정과 네트워크별로 기억해 두고, 다음 연결에서 먼저 시도합니다. NAT 뒤에 있는 머신은 letify를 설치한 뒤 그 머신에서 `letify agent serve`를 한 번 실행하면 letify가 접속할 수 있고, SSH 서버가 필요 없습니다. Tailcat은 제거되었고, `tailcat`을 적은 계정은 `letify agent serve`로 옮기는 방법과 함께 거부됩니다. 머신의 SSH 서버가 Docker의 `-p 30501:8022`처럼 다른 포트로 외부에 열려 있다면 `letify login tunnel <alias> --address <host> --public-port 30501`로 기록합니다. 그러면 주소로 바로 하는 SSH는 30501 포트로 접속하고, 홀펀칭은 계속 8022를 씁니다. Colab과 Elice는 에이전트가 아예 필요 없습니다. 프로바이더 계층이 각 서비스의 API로 머신을 만들고 엽니다. Modal은 자체 API로 연결하므로 여기에 해당하지 않습니다.
300
+ 번호가 낮은 방법이 이깁니다. 다만 연결된 방법 중 가장 빠른 것보다 훨씬 느리면 탈락합니다. 이긴 방법은 계정과 네트워크별로 기억해 두고, 다음 연결에서 먼저 시도합니다. NAT 뒤에 있는 머신은 letify를 설치한 뒤 그 머신에서 `letify agent serve`를 한 번 실행하면 letify가 접속할 수 있고, SSH 서버가 필요 없습니다. Tailcat은 제거되었고, `tailcat`을 적은 tunnel 계정은 `letify agent serve`로 옮기는 방법과 함께 거부되고, 다른 종류의 계정은 그 필드를 지우라는 안내와 함께 거부되며, `tailcat_binary`는 한 줄 안내만 출력하고 무시됩니다. 머신의 SSH 서버가 Docker의 `-p 30501:8022`처럼 다른 포트로 외부에 열려 있다면 `letify login tunnel <alias> --address <host> --public-port 30501`로 기록합니다. 그러면 주소로 바로 하는 SSH는 30501 포트로 접속하고, 홀펀칭은 계속 8022를 씁니다. Colab과 Elice는 에이전트가 아예 필요 없습니다. 프로바이더 계층이 각 서비스의 API로 머신을 만들고 엽니다. Modal은 자체 API로 연결하므로 여기에 해당하지 않습니다.
301
301
 
302
302
  **여러 계정을 정식으로 지원합니다.** 설정 항목 하나가 계정 하나이고, 같은 종류를 여러 개 둘 수 있습니다. Colab 계정이 두 개면 동시 세션도 두 배가 됩니다.
303
303
 
@@ -70,7 +70,7 @@ distributed: Final = Host.distributed
70
70
  # The enum class stays importable from letify.declare.instance for letify's own use.
71
71
  del Host
72
72
 
73
- __version__ = "3.0.2"
73
+ __version__ = "3.0.3"
74
74
 
75
75
 
76
76
  def fetch(tensor): # type: ignore[no-untyped-def]
@@ -26,6 +26,7 @@ from __future__ import annotations
26
26
 
27
27
  import abc
28
28
  import dataclasses
29
+ import sys
29
30
  import threading
30
31
  from collections.abc import Iterator, Mapping, Sequence
31
32
  from typing import TYPE_CHECKING, Any, Literal
@@ -40,6 +41,7 @@ from ..errors import (
40
41
  UnknownInstance,
41
42
  UnsupportedMode,
42
43
  )
44
+ from ..paths import config_label
43
45
  from .usage import Usage, from_command
44
46
 
45
47
  if TYPE_CHECKING:
@@ -63,9 +65,16 @@ class RuntimeState:
63
65
  detail: str = ""
64
66
 
65
67
 
66
- #: Account fields of the removed Tailcat connection. An account that names one is refused.
67
- #: Spec "Connection strategies".
68
- REMOVED_TAILCAT_FIELDS = ("tailcat", "tailcat_port", "tailcat_binary")
68
+ #: Account fields that named a Tailcat address to connect to. An account that names one is
69
+ #: refused. Spec "Connection strategies".
70
+ REMOVED_TAILCAT_FIELDS = ("tailcat", "tailcat_port")
71
+
72
+ #: The field that only pointed at, or disabled, a Tailcat binary. It selects nothing in 3.0,
73
+ #: so it is ignored with a notice. Spec "Connection strategies".
74
+ OBSOLETE_TAILCAT_FIELD = "tailcat_binary"
75
+
76
+ #: The aliases already told that ``tailcat_binary`` is obsolete, one notice per process.
77
+ _NOTIFIED: set[str] = set()
69
78
 
70
79
 
71
80
  class Provider(abc.ABC):
@@ -106,13 +115,26 @@ class Provider(abc.ABC):
106
115
  def __init__(self, config: ProviderConfig):
107
116
  for removed in REMOVED_TAILCAT_FIELDS:
108
117
  if removed in config.options:
118
+ if self.kind == "tunnel":
119
+ raise ProviderUnavailable(
120
+ self.kind,
121
+ f"{config.alias} names {removed!r}, but Tailcat was removed in 3.0. "
122
+ f"Run 'letify agent serve' on the machine, then "
123
+ f"'letify login tunnel {config.alias} --connect letify-agent2:<token>' "
124
+ f"with the token it prints",
125
+ )
109
126
  raise ProviderUnavailable(
110
127
  self.kind,
111
- f"{config.alias} names {removed!r}, but Tailcat was removed in 3.0. "
112
- f"Run 'letify agent serve' on the machine, then "
113
- f"'letify login tunnel {config.alias} --connect letify-agent2:<token>' "
114
- f"with the token it prints",
128
+ f"{config.alias} names {removed!r}, which is obsolete since 3.0. Delete "
129
+ f"it from {config.alias} in {config_label()}",
115
130
  )
131
+ if OBSOLETE_TAILCAT_FIELD in config.options and config.alias not in _NOTIFIED:
132
+ _NOTIFIED.add(config.alias)
133
+ print(
134
+ f"{config.alias}: {OBSOLETE_TAILCAT_FIELD!r} is obsolete since 3.0 and is "
135
+ f"ignored. Delete it from {config.alias} in {config_label()}",
136
+ file=sys.stderr,
137
+ )
116
138
  self.config = config
117
139
  self.alias = config.alias
118
140
  self._instances: dict[str, Instance] | None = None
@@ -396,11 +396,11 @@ dependencies = [
396
396
 
397
397
  [[package]]
398
398
  name = "letify"
399
- version = "3.0.2"
399
+ version = "3.0.3"
400
400
 
401
401
  [[package]]
402
402
  name = "letify-link"
403
- version = "3.0.2"
403
+ version = "3.0.3"
404
404
  dependencies = [
405
405
  "ed25519-dalek",
406
406
  "getrandom 0.2.17",
@@ -8,7 +8,7 @@ resolver = "3"
8
8
  members = ["letify", "letify-link"]
9
9
 
10
10
  [workspace.package]
11
- version = "3.0.2"
11
+ version = "3.0.3"
12
12
  edition = "2024"
13
13
  license = "MIT"
14
14
  repository = "https://github.com/DarkPyonix/letify"
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "letify-status",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "letify-status",
9
- "version": "3.0.2",
9
+ "version": "3.0.3",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "devDependencies": {
12
12
  "@types/node": "^18.19.0",
@@ -2,7 +2,7 @@
2
2
  "name": "letify-status",
3
3
  "displayName": "letify Status",
4
4
  "description": "letify quota and GPU activity in the status bar, read from the letify CLI.",
5
- "version": "3.0.2",
5
+ "version": "3.0.3",
6
6
  "publisher": "darkpyonix",
7
7
  "license": "SEE LICENSE IN LICENSE",
8
8
  "repository": {
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "letify"
3
- version = "3.0.2"
3
+ version = "3.0.3"
4
4
  description = "Declarations that become infrastructure."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -36,10 +36,9 @@ def old_token(**fields) -> str:
36
36
  {"tailcat": "tc1abc", "tailcat_port": 4000},
37
37
  {"tailcat": "tc1abc"},
38
38
  {"tailcat_port": 4000},
39
- {"tailcat_binary": "/usr/bin/tailcat"},
40
39
  ],
41
40
  )
42
- def test_an_account_that_names_a_tailcat_field_is_refused_by_name(
41
+ def test_an_account_that_names_a_tailcat_address_is_refused_by_name(
43
42
  isolated_home, cls, options
44
43
  ) -> None:
45
44
  field = next(iter(options))
@@ -48,9 +47,36 @@ def test_an_account_that_names_a_tailcat_field_is_refused_by_name(
48
47
  message = str(raised.value)
49
48
  assert "box" in message
50
49
  assert f"'{field}'" in message
51
- assert "Tailcat was removed in 3.0" in message
52
- assert "letify agent serve" in message
53
- assert "letify login tunnel box --connect letify-agent2:" in message
50
+ assert "obsolete since 3.0" in message or "Tailcat was removed in 3.0" in message
51
+ if cls is Tunnel:
52
+ assert "Tailcat was removed in 3.0" in message
53
+ assert "letify agent serve" in message
54
+ assert "letify login tunnel box --connect letify-agent2:" in message
55
+ else:
56
+ assert "obsolete since 3.0" in message
57
+ assert "Delete" in message
58
+ assert "letify agent serve" not in message
59
+ assert "letify login tunnel" not in message
60
+
61
+
62
+ @pytest.mark.parametrize("cls", [Shell, Tunnel, Colab, Kaggle, Elice])
63
+ def test_tailcat_binary_is_ignored_with_one_notice_per_alias(
64
+ isolated_home, cls, capsys, monkeypatch
65
+ ) -> None:
66
+ from letify.providers import base
67
+
68
+ monkeypatch.setattr(base, "_NOTIFIED", set())
69
+ options = {"tailcat_binary": "tailcat-disabled-for-this-account"}
70
+ assert provider_of(cls, "box", **options).alias == "box"
71
+ provider_of(cls, "box", **options)
72
+ err = capsys.readouterr().err
73
+ assert err.count("tailcat_binary") == 1
74
+ assert "box" in err
75
+ assert "obsolete since 3.0" in err
76
+ assert "Delete" in err
77
+ assert err.count("\n") == 1
78
+ provider_of(cls, "other", **options)
79
+ assert "other" in capsys.readouterr().err
54
80
 
55
81
 
56
82
  def test_an_account_without_a_tailcat_field_is_built(isolated_home) -> None:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes