letify 3.0.4__tar.gz → 3.0.5__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 (326) hide show
  1. {letify-3.0.4 → letify-3.0.5}/.github/workflows/publish-crates.yml +12 -22
  2. {letify-3.0.4 → letify-3.0.5}/PKG-INFO +1 -1
  3. {letify-3.0.4 → letify-3.0.5}/PROJECT.md +1 -1
  4. {letify-3.0.4 → letify-3.0.5}/docs/SPEC.md +4 -1
  5. {letify-3.0.4 → letify-3.0.5}/docs/guide/08-releasing.md +2 -2
  6. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/08-/353/246/264/353/246/254/354/212/244.md +2 -2
  7. {letify-3.0.4 → letify-3.0.5}/letify/__init__.py +1 -1
  8. {letify-3.0.4 → letify-3.0.5}/letify-core/Cargo.lock +5 -2
  9. {letify-3.0.4 → letify-3.0.5}/letify-core/Cargo.toml +2 -2
  10. {letify-3.0.4 → letify-3.0.5}/letify-core/letify/Cargo.toml +7 -0
  11. letify-3.0.5/letify-core/letify/README.md +19 -0
  12. {letify-3.0.4 → letify-3.0.5}/letify-core/letify/src/lib.rs +5 -1
  13. letify-3.0.5/letify-core/letify/tests/link.rs +21 -0
  14. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/Cargo.toml +5 -1
  15. letify-3.0.5/letify-core/letify-link/README.md +22 -0
  16. letify-3.0.5/letify-ext/LICENSE +201 -0
  17. {letify-3.0.4 → letify-3.0.5}/letify-ext/package-lock.json +2 -2
  18. {letify-3.0.4 → letify-3.0.5}/letify-ext/package.json +1 -1
  19. {letify-3.0.4 → letify-3.0.5}/pyproject.toml +1 -1
  20. letify-3.0.5/scripts/publish-crates.sh +46 -0
  21. {letify-3.0.4 → letify-3.0.5}/scripts/version.py +6 -1
  22. {letify-3.0.4 → letify-3.0.5}/tests/test_version.py +22 -1
  23. letify-3.0.4/letify-core/letify/README.md +0 -21
  24. {letify-3.0.4 → letify-3.0.5}/.github/workflows/ci.yml +0 -0
  25. {letify-3.0.4 → letify-3.0.5}/.github/workflows/docs.yml +0 -0
  26. {letify-3.0.4 → letify-3.0.5}/.github/workflows/letify-link.yml +0 -0
  27. {letify-3.0.4 → letify-3.0.5}/.github/workflows/publish.yml +0 -0
  28. {letify-3.0.4 → letify-3.0.5}/.github/workflows/reserve-crates.yml +0 -0
  29. {letify-3.0.4 → letify-3.0.5}/.gitignore +0 -0
  30. {letify-3.0.4 → letify-3.0.5}/.researchtree +0 -0
  31. {letify-3.0.4 → letify-3.0.5}/CLAUDE.md +0 -0
  32. {letify-3.0.4 → letify-3.0.5}/LICENSE +0 -0
  33. {letify-3.0.4 → letify-3.0.5}/README.md +0 -0
  34. {letify-3.0.4 → letify-3.0.5}/docs/COMPONENT.md +0 -0
  35. {letify-3.0.4 → letify-3.0.5}/docs/INTENT.md +0 -0
  36. {letify-3.0.4 → letify-3.0.5}/docs/NETWORK.md +0 -0
  37. {letify-3.0.4 → letify-3.0.5}/docs/ROADMAP-3.0.md +0 -0
  38. {letify-3.0.4 → letify-3.0.5}/docs/guide/01-getting-started.md +0 -0
  39. {letify-3.0.4 → letify-3.0.5}/docs/guide/02-providers.md +0 -0
  40. {letify-3.0.4 → letify-3.0.5}/docs/guide/03-execution-modes.md +0 -0
  41. {letify-3.0.4 → letify-3.0.5}/docs/guide/04-environments-and-data.md +0 -0
  42. {letify-3.0.4 → letify-3.0.5}/docs/guide/05-concurrency.md +0 -0
  43. {letify-3.0.4 → letify-3.0.5}/docs/guide/06-cost.md +0 -0
  44. {letify-3.0.4 → letify-3.0.5}/docs/guide/07-troubleshooting.md +0 -0
  45. {letify-3.0.4 → letify-3.0.5}/docs/guide/09-agent.md +0 -0
  46. {letify-3.0.4 → letify-3.0.5}/docs/guide/README.md +0 -0
  47. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/01-/354/213/234/354/236/221/355/225/230/352/270/260.md" +0 -0
  48. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/02-/355/224/204/353/241/234/353/260/224/354/235/264/353/215/224.md" +0 -0
  49. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/03-/354/213/244/355/226/211-/353/260/251/354/213/235.md" +0 -0
  50. {letify-3.0.4 → letify-3.0.5}/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
  51. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/05-/353/217/231/354/213/234-/354/213/244/355/226/211.md" +0 -0
  52. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/06-/353/271/204/354/232/251.md" +0 -0
  53. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/07-/353/254/270/354/240/234-/355/225/264/352/262/260.md" +0 -0
  54. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/09-/354/227/220/354/235/264/354/240/204/355/212/270.md" +0 -0
  55. {letify-3.0.4 → letify-3.0.5}/docs/guide/ko/README.md +0 -0
  56. {letify-3.0.4 → letify-3.0.5}/docs/locales/README_ko.md +0 -0
  57. {letify-3.0.4 → letify-3.0.5}/docs/mkdocs.yml +0 -0
  58. {letify-3.0.4 → letify-3.0.5}/examples/README.md +0 -0
  59. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/.letify.example +0 -0
  60. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/00_smoke.py +0 -0
  61. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/01_sweep.py +0 -0
  62. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/02_resume.py +0 -0
  63. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/03_watch.py +0 -0
  64. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/README.md +0 -0
  65. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/README_ko.md +0 -0
  66. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/common.py +0 -0
  67. {letify-3.0.4 → letify-3.0.5}/examples/nvfp4-lora/recipe.py +0 -0
  68. {letify-3.0.4 → letify-3.0.5}/letify/cli.py +0 -0
  69. {letify-3.0.4 → letify-3.0.5}/letify/config/__init__.py +0 -0
  70. {letify-3.0.4 → letify-3.0.5}/letify/config/inventory.py +0 -0
  71. {letify-3.0.4 → letify-3.0.5}/letify/config/login.py +0 -0
  72. {letify-3.0.4 → letify-3.0.5}/letify/config/schema.py +0 -0
  73. {letify-3.0.4 → letify-3.0.5}/letify/config/secrets.py +0 -0
  74. {letify-3.0.4 → letify-3.0.5}/letify/config/writer.py +0 -0
  75. {letify-3.0.4 → letify-3.0.5}/letify/declare/__init__.py +0 -0
  76. {letify-3.0.4 → letify-3.0.5}/letify/declare/cache.py +0 -0
  77. {letify-3.0.4 → letify-3.0.5}/letify/declare/env.py +0 -0
  78. {letify-3.0.4 → letify-3.0.5}/letify/declare/exit.py +0 -0
  79. {letify-3.0.4 → letify-3.0.5}/letify/declare/function.py +0 -0
  80. {letify-3.0.4 → letify-3.0.5}/letify/declare/instance.py +0 -0
  81. {letify-3.0.4 → letify-3.0.5}/letify/declare/reduce.py +0 -0
  82. {letify-3.0.4 → letify-3.0.5}/letify/declare/replicas.py +0 -0
  83. {letify-3.0.4 → letify-3.0.5}/letify/errors.py +0 -0
  84. {letify-3.0.4 → letify-3.0.5}/letify/install.py +0 -0
  85. {letify-3.0.4 → letify-3.0.5}/letify/launcher.py +0 -0
  86. {letify-3.0.4 → letify-3.0.5}/letify/paths.py +0 -0
  87. {letify-3.0.4 → letify-3.0.5}/letify/protocol/__init__.py +0 -0
  88. {letify-3.0.4 → letify-3.0.5}/letify/protocol/codec.py +0 -0
  89. {letify-3.0.4 → letify-3.0.5}/letify/protocol/driver.py +0 -0
  90. {letify-3.0.4 → letify-3.0.5}/letify/protocol/handle.py +0 -0
  91. {letify-3.0.4 → letify-3.0.5}/letify/protocol/wire.py +0 -0
  92. {letify-3.0.4 → letify-3.0.5}/letify/protocol/worker.py +0 -0
  93. {letify-3.0.4 → letify-3.0.5}/letify/providers/__init__.py +0 -0
  94. {letify-3.0.4 → letify-3.0.5}/letify/providers/base.py +0 -0
  95. {letify-3.0.4 → letify-3.0.5}/letify/providers/colab.py +0 -0
  96. {letify-3.0.4 → letify-3.0.5}/letify/providers/colab_files.py +0 -0
  97. {letify-3.0.4 → letify-3.0.5}/letify/providers/colab_keepalive.py +0 -0
  98. {letify-3.0.4 → letify-3.0.5}/letify/providers/elice.py +0 -0
  99. {letify-3.0.4 → letify-3.0.5}/letify/providers/kaggle.py +0 -0
  100. {letify-3.0.4 → letify-3.0.5}/letify/providers/kaggle_adapter.py +0 -0
  101. {letify-3.0.4 → letify-3.0.5}/letify/providers/local.py +0 -0
  102. {letify-3.0.4 → letify-3.0.5}/letify/providers/modal.py +0 -0
  103. {letify-3.0.4 → letify-3.0.5}/letify/providers/modal_adapter.py +0 -0
  104. {letify-3.0.4 → letify-3.0.5}/letify/providers/naming.py +0 -0
  105. {letify-3.0.4 → letify-3.0.5}/letify/providers/shell.py +0 -0
  106. {letify-3.0.4 → letify-3.0.5}/letify/providers/tunnel.py +0 -0
  107. {letify-3.0.4 → letify-3.0.5}/letify/providers/usage.py +0 -0
  108. {letify-3.0.4 → letify-3.0.5}/letify/remoting/__init__.py +0 -0
  109. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/__init__.py +0 -0
  110. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/client.py +0 -0
  111. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/cuda.py +0 -0
  112. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/executor.py +0 -0
  113. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/frames.py +0 -0
  114. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/guard.py +0 -0
  115. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/tensor.py +0 -0
  116. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/trace.py +0 -0
  117. {letify-3.0.4 → letify-3.0.5}/letify/remoting/device/value.py +0 -0
  118. {letify-3.0.4 → letify-3.0.5}/letify/render.py +0 -0
  119. {letify-3.0.4 → letify-3.0.5}/letify/runtime/__init__.py +0 -0
  120. {letify-3.0.4 → letify-3.0.5}/letify/runtime/bootstrap.py +0 -0
  121. {letify-3.0.4 → letify-3.0.5}/letify/runtime/broker.py +0 -0
  122. {letify-3.0.4 → letify-3.0.5}/letify/runtime/channel.py +0 -0
  123. {letify-3.0.4 → letify-3.0.5}/letify/runtime/control.py +0 -0
  124. {letify-3.0.4 → letify-3.0.5}/letify/runtime/lease.py +0 -0
  125. {letify-3.0.4 → letify-3.0.5}/letify/runtime/pool.py +0 -0
  126. {letify-3.0.4 → letify-3.0.5}/letify/runtime/reattach.py +0 -0
  127. {letify-3.0.4 → letify-3.0.5}/letify/runtime/session.py +0 -0
  128. {letify-3.0.4 → letify-3.0.5}/letify/runtime/takeover.py +0 -0
  129. {letify-3.0.4 → letify-3.0.5}/letify/runtime/telemetry.py +0 -0
  130. {letify-3.0.4 → letify-3.0.5}/letify/runtime/workers.py +0 -0
  131. {letify-3.0.4 → letify-3.0.5}/letify/store/__init__.py +0 -0
  132. {letify-3.0.4 → letify-3.0.5}/letify/store/backends/__init__.py +0 -0
  133. {letify-3.0.4 → letify-3.0.5}/letify/store/backends/drive.py +0 -0
  134. {letify-3.0.4 → letify-3.0.5}/letify/store/backends/filesystem.py +0 -0
  135. {letify-3.0.4 → letify-3.0.5}/letify/store/backends/google_auth.py +0 -0
  136. {letify-3.0.4 → letify-3.0.5}/letify/store/backends/layout.py +0 -0
  137. {letify-3.0.4 → letify-3.0.5}/letify/store/backends/objects.py +0 -0
  138. {letify-3.0.4 → letify-3.0.5}/letify/store/cas.py +0 -0
  139. {letify-3.0.4 → letify-3.0.5}/letify/store/handoff.py +0 -0
  140. {letify-3.0.4 → letify-3.0.5}/letify/store/pathdata.py +0 -0
  141. {letify-3.0.4 → letify-3.0.5}/letify/store/sendorder.py +0 -0
  142. {letify-3.0.4 → letify-3.0.5}/letify/store/volume.py +0 -0
  143. {letify-3.0.4 → letify-3.0.5}/letify/stubs.py +0 -0
  144. {letify-3.0.4 → letify-3.0.5}/letify/tools.py +0 -0
  145. {letify-3.0.4 → letify-3.0.5}/letify/transport/__init__.py +0 -0
  146. {letify-3.0.4 → letify-3.0.5}/letify/transport/announce.py +0 -0
  147. {letify-3.0.4 → letify-3.0.5}/letify/transport/link.py +0 -0
  148. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkagent.py +0 -0
  149. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkchannel.py +0 -0
  150. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkd.py +0 -0
  151. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkmailbox.py +0 -0
  152. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkpump.py +0 -0
  153. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkshim.py +0 -0
  154. {letify-3.0.4 → letify-3.0.5}/letify/transport/linksignal.py +0 -0
  155. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkupload.py +0 -0
  156. {letify-3.0.4 → letify-3.0.5}/letify/transport/linkwebsocket.py +0 -0
  157. {letify-3.0.4 → letify-3.0.5}/letify/transport/nat.py +0 -0
  158. {letify-3.0.4 → letify-3.0.5}/letify/transport/pipeline.py +0 -0
  159. {letify-3.0.4 → letify-3.0.5}/letify/transport/portmap.py +0 -0
  160. {letify-3.0.4 → letify-3.0.5}/letify/transport/probe.py +0 -0
  161. {letify-3.0.4 → letify-3.0.5}/letify/transport/rendezvous.py +0 -0
  162. {letify-3.0.4 → letify-3.0.5}/letify/transport/sshopts.py +0 -0
  163. {letify-3.0.4 → letify-3.0.5}/letify/transport/strategies.py +0 -0
  164. {letify-3.0.4 → letify-3.0.5}/letify/useragent.py +0 -0
  165. {letify-3.0.4 → letify-3.0.5}/letify-core/.gitignore +0 -0
  166. {letify-3.0.4 → letify-3.0.5}/letify-core/build.py +0 -0
  167. {letify-3.0.4/letify-ext → letify-3.0.5/letify-core/letify}/LICENSE +0 -0
  168. {letify-3.0.4/letify-core/letify → letify-3.0.5/letify-core/letify-link}/LICENSE +0 -0
  169. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/examples/bench.rs +0 -0
  170. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/examples/udp_rate.rs +0 -0
  171. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/acceptor.rs +0 -0
  172. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/bin/letify-link.rs +0 -0
  173. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/config.rs +0 -0
  174. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/error.rs +0 -0
  175. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/frame.rs +0 -0
  176. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/handshake.rs +0 -0
  177. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/hysteresis.rs +0 -0
  178. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/identity.rs +0 -0
  179. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/keys.rs +0 -0
  180. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/lib.rs +0 -0
  181. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/observe.rs +0 -0
  182. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/paths.rs +0 -0
  183. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/plan.rs +0 -0
  184. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/policing.rs +0 -0
  185. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/punch.rs +0 -0
  186. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/record.rs +0 -0
  187. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/relay.rs +0 -0
  188. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/rendezvous.rs +0 -0
  189. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/replay.rs +0 -0
  190. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/session.rs +0 -0
  191. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/sidecar.rs +0 -0
  192. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/stream.rs +0 -0
  193. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/stun.rs +0 -0
  194. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/tcp.rs +0 -0
  195. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/trace.rs +0 -0
  196. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/src/udp.rs +0 -0
  197. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/acceptor.rs +0 -0
  198. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/api.rs +0 -0
  199. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/common/mod.rs +0 -0
  200. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/diag_sim.rs +0 -0
  201. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/fairness.rs +0 -0
  202. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/gauge.rs +0 -0
  203. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/handshake.rs +0 -0
  204. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/hysteresis.rs +0 -0
  205. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/keepalive.rs +0 -0
  206. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/mobile.rs +0 -0
  207. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/nat.rs +0 -0
  208. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/paths.rs +0 -0
  209. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/qad.rs +0 -0
  210. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/rekey.rs +0 -0
  211. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/relay.rs +0 -0
  212. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/relay_pairing.rs +0 -0
  213. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/rendezvous.rs +0 -0
  214. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/reorder.rs +0 -0
  215. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/replay.rs +0 -0
  216. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/resume.rs +0 -0
  217. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/revoke.rs +0 -0
  218. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/session.rs +0 -0
  219. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/sidecar.rs +0 -0
  220. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/startup.rs +0 -0
  221. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/subflows.rs +0 -0
  222. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/trace.rs +0 -0
  223. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/udp.rs +0 -0
  224. {letify-3.0.4 → letify-3.0.5}/letify-core/letify-link/tests/udp_bench.rs +0 -0
  225. {letify-3.0.4 → letify-3.0.5}/letify-core/rust-toolchain.toml +0 -0
  226. {letify-3.0.4 → letify-3.0.5}/letify-ext/.vscodeignore +0 -0
  227. {letify-3.0.4 → letify-3.0.5}/letify-ext/README.md +0 -0
  228. {letify-3.0.4 → letify-3.0.5}/letify-ext/media/icon.svg +0 -0
  229. {letify-3.0.4 → letify-3.0.5}/letify-ext/src/cli.ts +0 -0
  230. {letify-3.0.4 → letify-3.0.5}/letify-ext/src/extension.ts +0 -0
  231. {letify-3.0.4 → letify-3.0.5}/letify-ext/src/history.ts +0 -0
  232. {letify-3.0.4 → letify-3.0.5}/letify-ext/src/model.ts +0 -0
  233. {letify-3.0.4 → letify-3.0.5}/letify-ext/src/poll.ts +0 -0
  234. {letify-3.0.4 → letify-3.0.5}/letify-ext/src/render.ts +0 -0
  235. {letify-3.0.4 → letify-3.0.5}/letify-ext/test/cli.test.ts +0 -0
  236. {letify-3.0.4 → letify-3.0.5}/letify-ext/test/manifest.test.ts +0 -0
  237. {letify-3.0.4 → letify-3.0.5}/letify-ext/test/model.test.ts +0 -0
  238. {letify-3.0.4 → letify-3.0.5}/letify-ext/test/regressions.test.ts +0 -0
  239. {letify-3.0.4 → letify-3.0.5}/letify-ext/tsconfig.json +0 -0
  240. {letify-3.0.4 → letify-3.0.5}/letify-signal/README.md +0 -0
  241. {letify-3.0.4 → letify-3.0.5}/letify-signal/cloudflare.config.ts +0 -0
  242. {letify-3.0.4 → letify-3.0.5}/letify-signal/package-lock.json +0 -0
  243. {letify-3.0.4 → letify-3.0.5}/letify-signal/package.json +0 -0
  244. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/auth.ts +0 -0
  245. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/ed25519.ts +0 -0
  246. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/handler.ts +0 -0
  247. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/index.ts +0 -0
  248. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/limiter.ts +0 -0
  249. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/mailbox.ts +0 -0
  250. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/objects.ts +0 -0
  251. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/protocol.ts +0 -0
  252. {letify-3.0.4 → letify-3.0.5}/letify-signal/src/storage.ts +0 -0
  253. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/auth.test.ts +0 -0
  254. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/ed25519.test.ts +0 -0
  255. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/helpers.ts +0 -0
  256. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/interop.test.ts +0 -0
  257. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/limiter.test.ts +0 -0
  258. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/mailbox.test.ts +0 -0
  259. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/objects.test.ts +0 -0
  260. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/setup.ts +0 -0
  261. {letify-3.0.4 → letify-3.0.5}/letify-signal/test/worker.test.ts +0 -0
  262. {letify-3.0.4 → letify-3.0.5}/letify-signal/tsconfig.json +0 -0
  263. {letify-3.0.4 → letify-3.0.5}/letify-signal/vitest.config.ts +0 -0
  264. {letify-3.0.4 → letify-3.0.5}/letify_providers.py +0 -0
  265. {letify-3.0.4 → letify-3.0.5}/scripts/sync-main.sh +0 -0
  266. {letify-3.0.4 → letify-3.0.5}/tests/conftest.py +0 -0
  267. {letify-3.0.4 → letify-3.0.5}/tests/fake_kaggle_adapter.py +0 -0
  268. {letify-3.0.4 → letify-3.0.5}/tests/fake_modal_adapter.py +0 -0
  269. {letify-3.0.4 → letify-3.0.5}/tests/test_cli.py +0 -0
  270. {letify-3.0.4 → letify-3.0.5}/tests/test_cli_output.py +0 -0
  271. {letify-3.0.4 → letify-3.0.5}/tests/test_colab_keepalive.py +0 -0
  272. {letify-3.0.4 → letify-3.0.5}/tests/test_config.py +0 -0
  273. {letify-3.0.4 → letify-3.0.5}/tests/test_core.py +0 -0
  274. {letify-3.0.4 → letify-3.0.5}/tests/test_data.py +0 -0
  275. {letify-3.0.4 → letify-3.0.5}/tests/test_data_in_place.py +0 -0
  276. {letify-3.0.4 → letify-3.0.5}/tests/test_data_streaming.py +0 -0
  277. {letify-3.0.4 → letify-3.0.5}/tests/test_declare.py +0 -0
  278. {letify-3.0.4 → letify-3.0.5}/tests/test_device.py +0 -0
  279. {letify-3.0.4 → letify-3.0.5}/tests/test_device_compile.py +0 -0
  280. {letify-3.0.4 → letify-3.0.5}/tests/test_distributed.py +0 -0
  281. {letify-3.0.4 → letify-3.0.5}/tests/test_drive_handoff.py +0 -0
  282. {letify-3.0.4 → letify-3.0.5}/tests/test_drive_store.py +0 -0
  283. {letify-3.0.4 → letify-3.0.5}/tests/test_editor_sessions.py +0 -0
  284. {letify-3.0.4 → letify-3.0.5}/tests/test_elice.py +0 -0
  285. {letify-3.0.4 → letify-3.0.5}/tests/test_frames.py +0 -0
  286. {letify-3.0.4 → letify-3.0.5}/tests/test_install.py +0 -0
  287. {letify-3.0.4 → letify-3.0.5}/tests/test_kaggle.py +0 -0
  288. {letify-3.0.4 → letify-3.0.5}/tests/test_kaggle_cookie.py +0 -0
  289. {letify-3.0.4 → letify-3.0.5}/tests/test_kaggle_link.py +0 -0
  290. {letify-3.0.4 → letify-3.0.5}/tests/test_link_agent.py +0 -0
  291. {letify-3.0.4 → letify-3.0.5}/tests/test_link_channel.py +0 -0
  292. {letify-3.0.4 → letify-3.0.5}/tests/test_link_command_channel.py +0 -0
  293. {letify-3.0.4 → letify-3.0.5}/tests/test_link_exec.py +0 -0
  294. {letify-3.0.4 → letify-3.0.5}/tests/test_link_log.py +0 -0
  295. {letify-3.0.4 → letify-3.0.5}/tests/test_link_mailbox_close.py +0 -0
  296. {letify-3.0.4 → letify-3.0.5}/tests/test_link_opt_in.py +0 -0
  297. {letify-3.0.4 → letify-3.0.5}/tests/test_link_signal.py +0 -0
  298. {letify-3.0.4 → letify-3.0.5}/tests/test_link_ssh_stream.py +0 -0
  299. {letify-3.0.4 → letify-3.0.5}/tests/test_link_upload.py +0 -0
  300. {letify-3.0.4 → letify-3.0.5}/tests/test_linkd.py +0 -0
  301. {letify-3.0.4 → letify-3.0.5}/tests/test_network_guard.py +0 -0
  302. {letify-3.0.4 → letify-3.0.5}/tests/test_notebook.py +0 -0
  303. {letify-3.0.4 → letify-3.0.5}/tests/test_parallel_placement.py +0 -0
  304. {letify-3.0.4 → letify-3.0.5}/tests/test_paths.py +0 -0
  305. {letify-3.0.4 → letify-3.0.5}/tests/test_portmap.py +0 -0
  306. {letify-3.0.4 → letify-3.0.5}/tests/test_protocol.py +0 -0
  307. {letify-3.0.4 → letify-3.0.5}/tests/test_providers.py +0 -0
  308. {letify-3.0.4 → letify-3.0.5}/tests/test_punch_sockets.py +0 -0
  309. {letify-3.0.4 → letify-3.0.5}/tests/test_quic_removed.py +0 -0
  310. {letify-3.0.4 → letify-3.0.5}/tests/test_remoting.py +0 -0
  311. {letify-3.0.4 → letify-3.0.5}/tests/test_render.py +0 -0
  312. {letify-3.0.4 → letify-3.0.5}/tests/test_run_control.py +0 -0
  313. {letify-3.0.4 → letify-3.0.5}/tests/test_run_reattach.py +0 -0
  314. {letify-3.0.4 → letify-3.0.5}/tests/test_run_takeover.py +0 -0
  315. {letify-3.0.4 → letify-3.0.5}/tests/test_runtime.py +0 -0
  316. {letify-3.0.4 → letify-3.0.5}/tests/test_shell_workers.py +0 -0
  317. {letify-3.0.4 → letify-3.0.5}/tests/test_ship.py +0 -0
  318. {letify-3.0.4 → letify-3.0.5}/tests/test_store.py +0 -0
  319. {letify-3.0.4 → letify-3.0.5}/tests/test_strategies.py +0 -0
  320. {letify-3.0.4 → letify-3.0.5}/tests/test_stubs.py +0 -0
  321. {letify-3.0.4 → letify-3.0.5}/tests/test_suite_guards.py +0 -0
  322. {letify-3.0.4 → letify-3.0.5}/tests/test_tailcat_removed.py +0 -0
  323. {letify-3.0.4 → letify-3.0.5}/tests/test_transport.py +0 -0
  324. {letify-3.0.4 → letify-3.0.5}/tests/test_tunnel_agent_login.py +0 -0
  325. {letify-3.0.4 → letify-3.0.5}/tests/test_tunnel_setup.py +0 -0
  326. {letify-3.0.4 → letify-3.0.5}/tests/test_user_agent.py +0 -0
@@ -1,14 +1,18 @@
1
- # Publish the crate letify to crates.io when a version tag is pushed.
1
+ # Publish the crates letify-link and letify to crates.io when a version tag is pushed.
2
2
  #
3
3
  # This runs beside publish.yml on the same tag v<version>. Order inside this file:
4
4
  # 1. verify: the tag agrees with every version file, the tagged commit is on develop, the
5
- # workspace builds and its tests pass, and `cargo publish --dry-run` packages and builds
6
- # the crate alone.
5
+ # workspace builds and its tests pass, and scripts/publish-crates.sh --dry-run packages
6
+ # and builds both crates.
7
7
  # 2. publish-crate: the upload, only after verify succeeds.
8
8
  # The upload is last because crates.io never replaces a version. A published number can be
9
9
  # yanked but is taken forever, so every check that can fail runs before it.
10
10
  #
11
- # GitHub Release creation stays in publish.yml. Other crates in letify-core set publish = false.
11
+ # scripts/publish-crates.sh publishes letify-link and then letify in one `cargo publish`, which
12
+ # needs cargo 1.90 or later (the `stable` toolchain). It skips a crate whose version is already
13
+ # on crates.io, so a rerun after a failed upload publishes only what is missing.
14
+ #
15
+ # GitHub Release creation stays in publish.yml.
12
16
  #
13
17
  # One-time setup: add the crates.io API token as the secret CARGO_REGISTRY_TOKEN in the GitHub
14
18
  # environment crates-io. See docs/guide/08-releasing.md.
@@ -56,9 +60,8 @@ jobs:
56
60
  - name: Test the workspace
57
61
  working-directory: letify-core
58
62
  run: cargo test --workspace --locked
59
- - name: Package and build the crate without uploading
60
- working-directory: letify-core
61
- run: cargo publish -p letify --dry-run --locked
63
+ - name: Package and build both crates without uploading
64
+ run: scripts/publish-crates.sh --dry-run
62
65
 
63
66
  publish-crate:
64
67
  needs: verify
@@ -70,20 +73,7 @@ jobs:
70
73
  run: |
71
74
  rustup toolchain install stable --profile minimal
72
75
  rustup default stable
73
- - name: Publish letify to crates.io
74
- working-directory: letify-core
76
+ - name: Publish letify-link, then letify, to crates.io
75
77
  env:
76
78
  CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
77
- run: |
78
- version="${GITHUB_REF_NAME#v}"
79
- status=$(curl -s -o /dev/null -w '%{http_code}' -A "letify-release (https://github.com/DarkPyonix/letify)" "https://crates.io/api/v1/crates/letify/${version}")
80
- if [ "$status" = "200" ]; then
81
- echo "letify ${version} is already on crates.io, nothing to publish."
82
- exit 0
83
- fi
84
- if [ -z "$CARGO_REGISTRY_TOKEN" ]; then
85
- echo "CARGO_REGISTRY_TOKEN is empty."
86
- echo "Add a crates.io API token as the secret CARGO_REGISTRY_TOKEN in the crates-io environment."
87
- exit 1
88
- fi
89
- cargo publish -p letify --locked
79
+ run: scripts/publish-crates.sh
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: letify
3
- Version: 3.0.4
3
+ Version: 3.0.5
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
@@ -320,7 +320,7 @@ That is the only install. `letify` installs cloudpickle and blake3 and nothing e
320
320
 
321
321
  ## Rust crate
322
322
 
323
- The Rust crate `letify` is published on crates.io at the same version as the Python package. It will re-export the components meant for use outside letify, first the connection library `letify-link`.
323
+ The Rust crate `letify` is published on crates.io at the same version as the Python package. It depends on the connection library `letify-link`, which is published at the same version, and re-exports it as `letify::link`.
324
324
 
325
325
  ## How this project is built
326
326
 
@@ -3348,6 +3348,7 @@ Linux wheels are built inside the `manylinux_2_28` containers, so the binaries n
3348
3348
  |---|---|
3349
3349
  | `letify/__init__.py` | `__version__` |
3350
3350
  | `letify-core/Cargo.toml` | `[workspace.package].version`, and the `letify` and `letify-link` entries in `Cargo.lock` |
3351
+ | `letify-core/letify/Cargo.toml` | the pin `version = "=<version>"` of the dependency `letify-link` |
3351
3352
  | `letify-ext/package.json` | `version`, and `version` and `packages[""].version` in `package-lock.json`, when `letify-ext/` exists |
3352
3353
  | Git tag | `v<version>` |
3353
3354
 
@@ -3355,7 +3356,9 @@ Linux wheels are built inside the `manylinux_2_28` containers, so the binaries n
3355
3356
 
3356
3357
  Pushing a tag `v*` runs `.github/workflows/publish.yml`. It builds the sdist, the six platform wheels above and, when `letify-ext/` exists, the extension's `letify-ext-<version>.vsix` after its unit tests pass. It then creates the GitHub Release for the tag with every one of those files attached, and uploads the sdist and wheels to PyPI. The extension is not published to the VS Code Marketplace.
3357
3358
 
3358
- The same tag also runs `.github/workflows/publish-crates.yml`, which publishes the crate `letify` to crates.io at the same version. `letify` is the Rust face of the project: a library crate in `letify-core/letify` that re-exports the letify components meant for use outside letify, the first being the connection library `letify-link` once it exists. Every other crate in `letify-core/` sets `publish = false`, because each is a binary shipped inside the wheels and tied to the Python package of the same version. The workflow checks before it uploads anything: the tag agrees with every version file, the tagged commit is on `develop`, the workspace builds and its tests pass, and `cargo publish -p letify --dry-run` packages and builds the crate on its own. The upload comes last, because crates.io never replaces a version: a published number can be yanked but is taken forever. It runs in the GitHub environment `crates-io` with the repository secret `CARGO_REGISTRY_TOKEN`, a crates.io API token scoped to publishing `letify` and the future `letify-*` crates. A tag pushed before that secret exists fails at the upload and publishes nothing.
3359
+ The same tag also runs `.github/workflows/publish-crates.yml`, which publishes two crates to crates.io at the same version: `letify-link` first, then `letify`. `letify-link` is the connection library of [letify-link](#letify-link), published as it is with its binary `letify-link`. `letify` is the Rust face of the project: a library crate in `letify-core/letify` that depends on `letify-link` and re-exports it whole as `letify::link` (`pub use letify_link as link`), so the whole public API of letify-link is reachable under `letify::link` and nothing is renamed or filtered. The Cargo feature `relay` of `letify` enables `letify-link/relay`. `letify` also keeps the constant `VERSION`. `letify` depends on `letify-link` with `version = "=<version>"` and a `path`, so a published `letify` always builds against the `letify-link` of its own release, and `scripts/version.py` keeps that pin equal to the version. A crate that is not meant for use outside letify sets `publish = false`.
3360
+
3361
+ The workflow checks before it uploads anything: the tag agrees with every version file, the tagged commit is on `develop`, the workspace builds and its tests pass, and `scripts/publish-crates.sh --dry-run` packages and builds both crates. The script lists the crates whose version is not yet on crates.io, in the order `letify-link`, `letify`, and runs one `cargo publish --locked` over that list, which uploads a dependency before its dependent and waits for the index. A plain `cargo publish -p letify --dry-run` would fail while the new `letify-link` is not on crates.io, so the dry run names both crates. A crate whose version is already on crates.io is left out, so the rerun of a tag whose `letify` upload failed skips `letify-link` and publishes `letify`, and a rerun of a finished release publishes nothing. The upload comes last, because crates.io never replaces a version: a published number can be yanked but is taken forever. It runs in the GitHub environment `crates-io` with the repository secret `CARGO_REGISTRY_TOKEN`, a crates.io API token scoped to publishing `letify` and the `letify-*` crates. A tag pushed before that secret exists fails at the upload and publishes nothing.
3359
3362
 
3360
3363
  The workflow `.github/workflows/letify-link.yml` checks letify-link on every push and pull request that touches `letify-core/`. It is not a release gate: `publish.yml` and `publish-crates.yml` do not read it and keep their own checks. Its job `test` formats, lints, builds and tests the crate with the Cargo feature `relay` on Ubuntu, macOS and Windows, with `fail-fast` off so one platform's failure does not hide another's. Two further jobs run `cargo check --lib --target` for `aarch64-apple-ios` (on macOS, where Xcode supplies the C compiler that ring's build script needs) and for `aarch64-linux-android` (on Ubuntu, with the C compiler of the runner's NDK). Each mobile target is its own job, so a missing mobile tool fails that job alone.
3361
3364
 
@@ -1,6 +1,6 @@
1
1
  # Releasing
2
2
 
3
- A release is one version number pushed as the tag `v<version>`. GitHub Actions builds everything, attaches it to a GitHub Release and publishes the crate `letify` to crates.io.
3
+ A release is one version number pushed as the tag `v<version>`. GitHub Actions builds everything, attaches it to a GitHub Release and publishes the crates `letify-link` and `letify` to crates.io.
4
4
 
5
5
  ## The version rule
6
6
 
@@ -38,7 +38,7 @@ The `ci` workflow runs `check` on every push and pull request.
38
38
 
39
39
  4. It creates the GitHub Release `v1.2.0` with all of those files attached, and uploads the sdist and wheels to PyPI through trusted publishing.
40
40
 
41
- 5. The `publish-crates` workflow runs on the same tag. Its `verify` job checks the version files, that the tagged commit is on `develop`, the workspace build and tests, and `cargo publish -p letify --dry-run`. Its `publish-crate` job then uploads the crate `letify` 1.2.0 to crates.io. If that version is already there, the job says so and succeeds without uploading. crates.io never replaces a version, so a wrong upload can only be yanked.
41
+ 5. The `publish-crates` workflow runs on the same tag. Its `verify` job checks the version files, that the tagged commit is on `develop`, the workspace build and tests, and `scripts/publish-crates.sh --dry-run`. Its `publish-crate` job then runs `scripts/publish-crates.sh`, which uploads `letify-link` 1.2.0 and then `letify` 1.2.0 to crates.io. A crate whose version is already there is skipped and the script says so, so a rerun uploads only what is missing. crates.io never replaces a version, so a wrong upload can only be yanked.
42
42
 
43
43
  ## One-time setup for crates.io
44
44
 
@@ -1,6 +1,6 @@
1
1
  # 릴리스
2
2
 
3
- 릴리스는 버전 번호 하나를 `v<version>` 태그로 푸시하는 것입니다. GitHub Actions가 모든 결과물을 빌드해 GitHub Release에 첨부하고, `letify` 크레이트를 crates.io에 올립니다.
3
+ 릴리스는 버전 번호 하나를 `v<version>` 태그로 푸시하는 것입니다. GitHub Actions가 모든 결과물을 빌드해 GitHub Release에 첨부하고, `letify-link`와 `letify` 크레이트를 crates.io에 올립니다.
4
4
 
5
5
  ## 버전 규칙
6
6
 
@@ -38,7 +38,7 @@ python scripts/version.py check --tag v1.2.0
38
38
 
39
39
  4. 이 파일을 모두 첨부한 GitHub Release `v1.2.0`을 만들고, sdist와 휠은 trusted publishing으로 PyPI에 올립니다.
40
40
 
41
- 5. 같은 태그에서 `publish-crates` 워크플로가 실행됩니다. `verify` 작업은 버전 파일, 태그된 커밋이 `develop`에 있는지, 워크스페이스 빌드와 테스트, `cargo publish -p letify --dry-run`을 확인합니다. 그다음 `publish-crate` 작업이 crate `letify` 1.2.0을 crates.io에 올립니다. 그 버전이 이미 있으면 올리지 않고 그 사실을 알린 뒤 성공으로 끝납니다. crates.io는 버전을 교체하지 않으므로 잘못 올린 버전은 yank만 할 수 있습니다.
41
+ 5. 같은 태그에서 `publish-crates` 워크플로가 실행됩니다. `verify` 작업은 버전 파일, 태그된 커밋이 `develop`에 있는지, 워크스페이스 빌드와 테스트, `scripts/publish-crates.sh --dry-run`을 확인합니다. 그다음 `publish-crate` 작업이 `scripts/publish-crates.sh`를 실행해 `letify-link` 1.2.0과 `letify` 1.2.0을 이 순서로 crates.io에 올립니다. 그 버전이 이미 있는 크레이트는 건너뛰고 그 사실을 알리므로, 다시 실행하면 빠진 것만 올립니다. crates.io는 버전을 교체하지 않으므로 잘못 올린 버전은 yank만 할 수 있습니다.
42
42
 
43
43
  ## crates.io 최초 설정
44
44
 
@@ -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.4"
73
+ __version__ = "3.0.5"
74
74
 
75
75
 
76
76
  def fetch(tensor): # type: ignore[no-untyped-def]
@@ -396,11 +396,14 @@ dependencies = [
396
396
 
397
397
  [[package]]
398
398
  name = "letify"
399
- version = "3.0.4"
399
+ version = "3.0.5"
400
+ dependencies = [
401
+ "letify-link",
402
+ ]
400
403
 
401
404
  [[package]]
402
405
  name = "letify-link"
403
- version = "3.0.4"
406
+ version = "3.0.5"
404
407
  dependencies = [
405
408
  "ed25519-dalek",
406
409
  "getrandom 0.2.17",
@@ -8,9 +8,9 @@ resolver = "3"
8
8
  members = ["letify", "letify-link"]
9
9
 
10
10
  [workspace.package]
11
- version = "3.0.4"
11
+ version = "3.0.5"
12
12
  edition = "2024"
13
- license = "MIT"
13
+ license = "Apache-2.0"
14
14
  repository = "https://github.com/DarkPyonix/letify"
15
15
 
16
16
  # The letify-link tests move hundreds of MiB through ChaCha20-Poly1305. Optimised dependencies
@@ -12,3 +12,10 @@ keywords = ["infrastructure", "gpu", "remote", "nat-traversal", "declarative"]
12
12
  categories = ["development-tools", "network-programming"]
13
13
 
14
14
  [dependencies]
15
+ # The pin keeps a published letify on the letify-link of its own release. scripts/version.py
16
+ # rewrites it with the version.
17
+ letify-link = { version = "=3.0.5", path = "../letify-link" }
18
+
19
+ [features]
20
+ # Enable the relay role of letify-link.
21
+ relay = ["letify-link/relay"]
@@ -0,0 +1,19 @@
1
+ # letify
2
+
3
+ letify is a declarative infrastructure tool for running Python and PyTorch work on remote GPUs. You describe the environment and the function in Python, and letify runs it on a GPU runtime such as Colab, Kaggle, Modal or your own server.
4
+
5
+ The tool itself is the Python package `letify` on PyPI. Install it with:
6
+
7
+ ```sh
8
+ uv add letify
9
+ ```
10
+
11
+ Source, documentation and issues are at <https://github.com/DarkPyonix/letify>.
12
+
13
+ ## This crate
14
+
15
+ This crate is the Rust face of the project. It re-exports the letify components that are meant for use outside letify. The first is the connection library [`letify-link`](https://crates.io/crates/letify-link), which provides NAT traversal and multipath links, as the module `letify::link`. The Cargo feature `relay` enables the relay role of `letify-link`. The crate also exports `VERSION`. Its version follows the Python package: crate `letify` 2.8.6 is released together with PyPI `letify` 2.8.6.
16
+
17
+ ## License
18
+
19
+ Apache License 2.0, the same as the Python package letify.
@@ -1,9 +1,13 @@
1
1
  //! The Rust face of letify.
2
2
  //!
3
3
  //! This crate owns the name `letify` on crates.io and the version that is shared with the
4
- //! Python package. It does not hold the letify runtime, which is the Python package.
4
+ //! Python package. It re-exports the connection library as [`link`] and does not hold the
5
+ //! letify runtime, which is the Python package.
5
6
  #![doc = include_str!("../README.md")]
6
7
 
8
+ /// The connection library letify-link, re-exported whole and unchanged.
9
+ pub use letify_link as link;
10
+
7
11
  /// The version of this crate, which is also the version of the Python package `letify`.
8
12
  pub const VERSION: &str = env!("CARGO_PKG_VERSION");
9
13
 
@@ -0,0 +1,21 @@
1
+ //! The crate `letify` re-exports letify-link whole as `letify::link`, as docs/SPEC.md,
2
+ //! Versioning and releases, requires.
3
+
4
+ #[test]
5
+ fn letify_link_is_reachable_as_the_link_module() {
6
+ let identity = letify::link::Identity::generate();
7
+ let again: letify::link::NodeId = identity.node_id();
8
+ assert_eq!(again, identity.node_id());
9
+ }
10
+
11
+ #[test]
12
+ fn the_modules_the_sidecar_uses_are_re_exported() {
13
+ let _ = letify::link::udp::UdpConfig::default();
14
+ let _ = letify::link::Config::default();
15
+ let _ = letify::link::sidecar::load_or_create_key;
16
+ }
17
+
18
+ #[test]
19
+ fn the_version_constant_is_kept() {
20
+ assert_eq!(letify::VERSION, env!("CARGO_PKG_VERSION"));
21
+ }
@@ -5,7 +5,11 @@ version.workspace = true
5
5
  edition.workspace = true
6
6
  license.workspace = true
7
7
  repository.workspace = true
8
- publish = false
8
+ readme = "README.md"
9
+ homepage = "https://github.com/DarkPyonix/letify"
10
+ documentation = "https://docs.rs/letify-link"
11
+ keywords = ["nat-traversal", "multipath", "noise", "quic", "networking"]
12
+ categories = ["network-programming", "asynchronous"]
9
13
 
10
14
  [dependencies]
11
15
  # snow is the Noise implementation, with its pure Rust default crypto resolver.
@@ -0,0 +1,22 @@
1
+ # letify-link
2
+
3
+ letify-link is the connection layer of [letify](https://github.com/DarkPyonix/letify). It gives two nodes an encrypted, multiplexed session that survives the loss of its transport.
4
+
5
+ - **Identity.** Each node holds an ed25519 key, and its public key is its node id.
6
+ - **Session.** A Noise_IK_25519_ChaChaPoly_BLAKE2s handshake, then encrypted frames with sequence numbers, acknowledgements, flow controlled streams and resumption on a new path after every path died.
7
+ - **Paths.** One session runs over several TCP connections and UDP paths at once. NAT traversal (STUN, simultaneous open and UDP punching) builds the paths.
8
+ - **Sidecar.** The binary `letify-link` serves the session to the letify Python package over a framed protocol on its standard streams.
9
+
10
+ The crate has a Cargo feature `relay`, which adds a node that forwards session ciphertext between two authenticated nodes.
11
+
12
+ ```sh
13
+ cargo add letify-link
14
+ ```
15
+
16
+ The crate [`letify`](https://crates.io/crates/letify) re-exports this crate as `letify::link`. This crate is released together with the Python package `letify`, and each crate version equals the Python package version.
17
+
18
+ Source, specification and issues are at <https://github.com/DarkPyonix/letify>. The design is in `docs/SPEC.md`, section letify-link.
19
+
20
+ ## License
21
+
22
+ Apache License 2.0, the same as the Python package letify.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "letify-status",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "letify-status",
9
- "version": "3.0.4",
9
+ "version": "3.0.5",
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.4",
5
+ "version": "3.0.5",
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.4"
3
+ version = "3.0.5"
4
4
  description = "Declarations that become infrastructure."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env bash
2
+ # Publish the crates letify-link and letify to crates.io, in that order, at the workspace version.
3
+ #
4
+ # Owns the choice of which crates still need an upload. It does not decide whether a release is
5
+ # allowed: the gates are in .github/workflows/publish-crates.yml. See docs/SPEC.md, Versioning
6
+ # and releases.
7
+ #
8
+ # scripts/publish-crates.sh --dry-run package and build what would be published
9
+ # scripts/publish-crates.sh upload it (needs CARGO_REGISTRY_TOKEN)
10
+ #
11
+ # A crate whose version is already on crates.io is left out, so a rerun after a partial release
12
+ # publishes only what is missing and a finished release publishes nothing. One `cargo publish`
13
+ # carries the whole list, so cargo uploads letify-link before letify and waits for the index.
14
+ set -euo pipefail
15
+
16
+ dry=()
17
+ case "${1:-}" in
18
+ --dry-run) dry=(--dry-run) ;;
19
+ "") ;;
20
+ *) echo "usage: $0 [--dry-run]" >&2; exit 2 ;;
21
+ esac
22
+
23
+ cd "$(dirname "$0")/../letify-core"
24
+ version="$(cargo metadata --no-deps --format-version 1 --locked |
25
+ python3 -c 'import json,sys; print(next(p["version"] for p in json.load(sys.stdin)["packages"] if p["name"]=="letify"))')"
26
+
27
+ todo=()
28
+ for crate in letify-link letify; do
29
+ status="$(curl -s -o /dev/null -w '%{http_code}' -A 'letify-release (https://github.com/DarkPyonix/letify)' "https://crates.io/api/v1/crates/${crate}/${version}")"
30
+ case "$status" in
31
+ 200) echo "${crate} ${version} is already on crates.io, skipping it." ;;
32
+ 404) todo+=(-p "$crate") ;;
33
+ *) echo "crates.io answered ${status} for ${crate} ${version}" >&2; exit 1 ;;
34
+ esac
35
+ done
36
+
37
+ if [ "${#todo[@]}" -eq 0 ]; then
38
+ echo "Nothing to publish."
39
+ exit 0
40
+ fi
41
+ if [ "${#dry[@]}" -eq 0 ] && [ -z "${CARGO_REGISTRY_TOKEN:-}" ]; then
42
+ echo "CARGO_REGISTRY_TOKEN is empty." >&2
43
+ echo "Add a crates.io API token as the secret CARGO_REGISTRY_TOKEN in the crates-io environment." >&2
44
+ exit 1
45
+ fi
46
+ cargo publish "${todo[@]}" --locked "${dry[@]}"
@@ -2,7 +2,8 @@
2
2
 
3
3
  Owns the version rule in docs/SPEC.md, Packaging, Versioning and releases: `pyproject.toml`
4
4
  `[project].version` is the source of truth, and `letify/__init__.py`, the letify-core workspace
5
- (`Cargo.toml` and the crate entries in `Cargo.lock`), and the VS Code extension (`package.json`
5
+ (`Cargo.toml`, the crate entries in `Cargo.lock` and the `=<version>` pin of letify-link in
6
+ `letify/Cargo.toml`), and the VS Code extension (`package.json`
6
7
  and `package-lock.json`, when `letify-ext/` exists) must equal it, as must a `v<version>` tag.
7
8
  It does not build, tag or publish anything. Standard library only.
8
9
 
@@ -27,6 +28,7 @@ PYPROJECT_RE = re.compile(r'(\[project\][^\[]*?^version = ")([^"]*)(")', re.MULT
27
28
  CARGO_RE = re.compile(
28
29
  r'(\[workspace\.package\][^\[]*?^version = ")([^"]*)(")', re.MULTILINE | re.DOTALL
29
30
  )
31
+ PIN_RE = re.compile(r'(^letify-link = \{ version = "=)([^"]*)(")', re.MULTILINE)
30
32
 
31
33
 
32
34
  def _lock_re(crate: str) -> re.Pattern[str]:
@@ -49,6 +51,8 @@ def read_versions(root: Path) -> dict[str, str]:
49
51
  found["letify-core/Cargo.lock"] = (
50
52
  locked.pop() if len(locked) == 1 else " / ".join(sorted(locked))
51
53
  )
54
+ pin = PIN_RE.search((root / "letify-core" / "letify" / "Cargo.toml").read_text())
55
+ found["letify-core/letify/Cargo.toml letify-link pin"] = pin.group(2) if pin else "<missing>"
52
56
  ext = root / "letify-ext"
53
57
  if (ext / "package.json").exists():
54
58
  found["letify-ext/package.json"] = json.loads((ext / "package.json").read_text())["version"]
@@ -92,6 +96,7 @@ def set_version(root: Path, value: str) -> None:
92
96
  _sub(root / "letify-core" / "Cargo.toml", CARGO_RE, value)
93
97
  for crate in CRATES:
94
98
  _sub(root / "letify-core" / "Cargo.lock", _lock_re(crate), value)
99
+ _sub(root / "letify-core" / "letify" / "Cargo.toml", PIN_RE, value)
95
100
  ext = root / "letify-ext"
96
101
  for name in ("package.json", "package-lock.json"):
97
102
  path = ext / name