letify 2.10.11__tar.gz → 2.11.0__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.
- letify-2.11.0/.github/workflows/letify-link.yml +85 -0
- {letify-2.10.11 → letify-2.11.0}/.gitignore +5 -0
- {letify-2.10.11 → letify-2.11.0}/PKG-INFO +3 -1
- {letify-2.10.11 → letify-2.11.0}/README.md +2 -0
- {letify-2.10.11 → letify-2.11.0}/docs/COMPONENT.md +6 -0
- {letify-2.10.11 → letify-2.11.0}/docs/INTENT.md +8 -3
- letify-2.11.0/docs/ROADMAP-3.0.md +24 -0
- {letify-2.10.11 → letify-2.11.0}/docs/SPEC.md +425 -4
- letify-2.11.0/docs/guide/09-agent.md +175 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/README.md +1 -0
- letify-2.11.0/docs/guide/ko/09-/354/227/220/354/235/264/354/240/204/355/212/270.md +175 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/README.md +1 -0
- {letify-2.10.11 → letify-2.11.0}/docs/locales/README_ko.md +2 -0
- {letify-2.10.11 → letify-2.11.0}/letify/__init__.py +1 -1
- {letify-2.10.11 → letify-2.11.0}/letify/cli.py +105 -1
- {letify-2.10.11 → letify-2.11.0}/letify/config/login.py +49 -10
- {letify-2.10.11 → letify-2.11.0}/letify/install.py +11 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/colab.py +57 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/kaggle.py +81 -9
- {letify-2.10.11 → letify-2.11.0}/letify/providers/shell.py +170 -25
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/session.py +3 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/takeover.py +1 -1
- letify-2.11.0/letify/transport/linkagent.py +626 -0
- letify-2.11.0/letify/transport/linkchannel.py +1205 -0
- letify-2.11.0/letify/transport/linkd.py +592 -0
- letify-2.11.0/letify/transport/linkmailbox.py +166 -0
- letify-2.11.0/letify/transport/linkpump.py +132 -0
- letify-2.11.0/letify/transport/linkshim.py +507 -0
- letify-2.11.0/letify/transport/linksignal.py +904 -0
- letify-2.11.0/letify/transport/linkupload.py +173 -0
- letify-2.11.0/letify/transport/linkwebsocket.py +322 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/Cargo.lock +528 -12
- {letify-2.10.11 → letify-2.11.0}/letify-core/Cargo.toml +7 -2
- {letify-2.10.11 → letify-2.11.0}/letify-core/build.py +21 -3
- letify-2.11.0/letify-core/letify-link/Cargo.toml +36 -0
- letify-2.11.0/letify-core/letify-link/examples/bench.rs +82 -0
- letify-2.11.0/letify-core/letify-link/src/acceptor.rs +243 -0
- letify-2.11.0/letify-core/letify-link/src/bin/letify-link.rs +130 -0
- letify-2.11.0/letify-core/letify-link/src/config.rs +127 -0
- letify-2.11.0/letify-core/letify-link/src/error.rs +88 -0
- letify-2.11.0/letify-core/letify-link/src/frame.rs +242 -0
- letify-2.11.0/letify-core/letify-link/src/handshake.rs +320 -0
- letify-2.11.0/letify-core/letify-link/src/hysteresis.rs +253 -0
- letify-2.11.0/letify-core/letify-link/src/identity.rs +336 -0
- letify-2.11.0/letify-core/letify-link/src/keys.rs +482 -0
- letify-2.11.0/letify-core/letify-link/src/lib.rs +156 -0
- letify-2.11.0/letify-core/letify-link/src/observe.rs +615 -0
- letify-2.11.0/letify-core/letify-link/src/paths.rs +1049 -0
- letify-2.11.0/letify-core/letify-link/src/plan.rs +198 -0
- letify-2.11.0/letify-core/letify-link/src/policing.rs +229 -0
- letify-2.11.0/letify-core/letify-link/src/punch.rs +556 -0
- letify-2.11.0/letify-core/letify-link/src/record.rs +834 -0
- letify-2.11.0/letify-core/letify-link/src/relay.rs +751 -0
- letify-2.11.0/letify-core/letify-link/src/rendezvous.rs +560 -0
- letify-2.11.0/letify-core/letify-link/src/replay.rs +115 -0
- letify-2.11.0/letify-core/letify-link/src/session.rs +2857 -0
- letify-2.11.0/letify-core/letify-link/src/sidecar.rs +1810 -0
- letify-2.11.0/letify-core/letify-link/src/stream.rs +161 -0
- letify-2.11.0/letify-core/letify-link/src/stun.rs +552 -0
- letify-2.11.0/letify-core/letify-link/src/tcp.rs +31 -0
- letify-2.11.0/letify-core/letify-link/src/trace.rs +258 -0
- letify-2.11.0/letify-core/letify-link/src/udp.rs +387 -0
- letify-2.11.0/letify-core/letify-link/tests/acceptor.rs +297 -0
- letify-2.11.0/letify-core/letify-link/tests/api.rs +20 -0
- letify-2.11.0/letify-core/letify-link/tests/common/mod.rs +930 -0
- letify-2.11.0/letify-core/letify-link/tests/diag_sim.rs +90 -0
- letify-2.11.0/letify-core/letify-link/tests/fairness.rs +198 -0
- letify-2.11.0/letify-core/letify-link/tests/gauge.rs +153 -0
- letify-2.11.0/letify-core/letify-link/tests/handshake.rs +307 -0
- letify-2.11.0/letify-core/letify-link/tests/hysteresis.rs +223 -0
- letify-2.11.0/letify-core/letify-link/tests/keepalive.rs +148 -0
- letify-2.11.0/letify-core/letify-link/tests/mobile.rs +414 -0
- letify-2.11.0/letify-core/letify-link/tests/nat.rs +319 -0
- letify-2.11.0/letify-core/letify-link/tests/paths.rs +726 -0
- letify-2.11.0/letify-core/letify-link/tests/qad.rs +214 -0
- letify-2.11.0/letify-core/letify-link/tests/rekey.rs +296 -0
- letify-2.11.0/letify-core/letify-link/tests/relay.rs +759 -0
- letify-2.11.0/letify-core/letify-link/tests/relay_pairing.rs +170 -0
- letify-2.11.0/letify-core/letify-link/tests/rendezvous.rs +97 -0
- letify-2.11.0/letify-core/letify-link/tests/reorder.rs +46 -0
- letify-2.11.0/letify-core/letify-link/tests/replay.rs +149 -0
- letify-2.11.0/letify-core/letify-link/tests/resume.rs +164 -0
- letify-2.11.0/letify-core/letify-link/tests/revoke.rs +325 -0
- letify-2.11.0/letify-core/letify-link/tests/session.rs +346 -0
- letify-2.11.0/letify-core/letify-link/tests/sidecar.rs +1270 -0
- letify-2.11.0/letify-core/letify-link/tests/startup.rs +162 -0
- letify-2.11.0/letify-core/letify-link/tests/subflows.rs +151 -0
- letify-2.11.0/letify-core/letify-link/tests/trace.rs +138 -0
- letify-2.11.0/letify-core/letify-link/tests/udp.rs +456 -0
- letify-2.11.0/letify-core/letify-link/tests/udp_bench.rs +327 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/letify-quic/src/main.rs +25 -22
- {letify-2.10.11 → letify-2.11.0}/letify-ext/package-lock.json +2 -2
- {letify-2.10.11 → letify-2.11.0}/letify-ext/package.json +1 -1
- letify-2.11.0/letify-signal/README.md +49 -0
- letify-2.11.0/letify-signal/cloudflare.config.ts +32 -0
- letify-2.11.0/letify-signal/package-lock.json +3130 -0
- letify-2.11.0/letify-signal/package.json +22 -0
- letify-2.11.0/letify-signal/src/auth.ts +52 -0
- letify-2.11.0/letify-signal/src/ed25519.ts +170 -0
- letify-2.11.0/letify-signal/src/handler.ts +143 -0
- letify-2.11.0/letify-signal/src/index.ts +30 -0
- letify-2.11.0/letify-signal/src/limiter.ts +79 -0
- letify-2.11.0/letify-signal/src/mailbox.ts +78 -0
- letify-2.11.0/letify-signal/src/objects.ts +118 -0
- letify-2.11.0/letify-signal/src/protocol.ts +92 -0
- letify-2.11.0/letify-signal/src/storage.ts +8 -0
- letify-2.11.0/letify-signal/test/auth.test.ts +114 -0
- letify-2.11.0/letify-signal/test/ed25519.test.ts +122 -0
- letify-2.11.0/letify-signal/test/helpers.ts +82 -0
- letify-2.11.0/letify-signal/test/interop.test.ts +43 -0
- letify-2.11.0/letify-signal/test/limiter.test.ts +55 -0
- letify-2.11.0/letify-signal/test/mailbox.test.ts +70 -0
- letify-2.11.0/letify-signal/test/objects.test.ts +36 -0
- letify-2.11.0/letify-signal/test/setup.ts +6 -0
- letify-2.11.0/letify-signal/test/worker.test.ts +200 -0
- letify-2.11.0/letify-signal/tsconfig.json +14 -0
- letify-2.11.0/letify-signal/vitest.config.ts +7 -0
- {letify-2.10.11 → letify-2.11.0}/pyproject.toml +1 -1
- {letify-2.10.11 → letify-2.11.0}/scripts/version.py +1 -1
- {letify-2.10.11 → letify-2.11.0}/tests/conftest.py +531 -18
- {letify-2.10.11 → letify-2.11.0}/tests/test_cli.py +1 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_data.py +1 -1
- {letify-2.10.11 → letify-2.11.0}/tests/test_frames.py +51 -6
- letify-2.11.0/tests/test_link_agent.py +559 -0
- letify-2.11.0/tests/test_link_channel.py +924 -0
- letify-2.11.0/tests/test_link_command_channel.py +293 -0
- letify-2.11.0/tests/test_link_exec.py +127 -0
- letify-2.11.0/tests/test_link_opt_in.py +76 -0
- letify-2.11.0/tests/test_link_signal.py +821 -0
- letify-2.11.0/tests/test_link_upload.py +175 -0
- letify-2.11.0/tests/test_linkd.py +278 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_punch_sockets.py +17 -9
- {letify-2.10.11 → letify-2.11.0}/tests/test_run_takeover.py +78 -3
- {letify-2.10.11 → letify-2.11.0}/tests/test_transport.py +12 -12
- {letify-2.10.11 → letify-2.11.0}/tests/test_tunnel_setup.py +1 -1
- {letify-2.10.11 → letify-2.11.0}/tests/test_version.py +2 -2
- {letify-2.10.11 → letify-2.11.0}/.github/workflows/ci.yml +0 -0
- {letify-2.10.11 → letify-2.11.0}/.github/workflows/docs.yml +0 -0
- {letify-2.10.11 → letify-2.11.0}/.github/workflows/publish-crates.yml +0 -0
- {letify-2.10.11 → letify-2.11.0}/.github/workflows/publish.yml +0 -0
- {letify-2.10.11 → letify-2.11.0}/.github/workflows/reserve-crates.yml +0 -0
- {letify-2.10.11 → letify-2.11.0}/.researchtree +0 -0
- {letify-2.10.11 → letify-2.11.0}/CLAUDE.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/LICENSE +0 -0
- {letify-2.10.11 → letify-2.11.0}/PROJECT.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/NETWORK.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/01-getting-started.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/02-providers.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/03-execution-modes.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/04-environments-and-data.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/05-concurrency.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/06-cost.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/07-troubleshooting.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/08-releasing.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/01-/354/213/234/354/236/221/355/225/230/352/270/260.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/02-/355/224/204/353/241/234/353/260/224/354/235/264/353/215/224.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/03-/354/213/244/355/226/211-/353/260/251/354/213/235.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/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
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/05-/353/217/231/354/213/234-/354/213/244/355/226/211.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/06-/353/271/204/354/232/251.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/07-/353/254/270/354/240/234-/355/225/264/352/262/260.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/guide/ko/08-/353/246/264/353/246/254/354/212/244.md" +0 -0
- {letify-2.10.11 → letify-2.11.0}/docs/mkdocs.yml +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/README.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/.letify.example +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/00_smoke.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/01_sweep.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/02_resume.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/03_watch.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/README.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/README_ko.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/common.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/examples/nvfp4-lora/recipe.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/config/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/config/inventory.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/config/schema.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/config/secrets.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/config/writer.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/cache.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/env.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/exit.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/function.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/instance.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/reduce.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/declare/replicas.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/errors.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/launcher.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/paths.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/protocol/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/protocol/codec.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/protocol/driver.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/protocol/handle.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/protocol/wire.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/protocol/worker.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/base.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/colab_files.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/colab_keepalive.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/elice.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/kaggle_adapter.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/local.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/modal.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/modal_adapter.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/naming.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/tunnel.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/providers/usage.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/client.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/cuda.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/executor.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/frames.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/guard.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/tensor.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/trace.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/remoting/device/value.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/render.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/bootstrap.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/broker.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/channel.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/control.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/lease.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/pool.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/reattach.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/telemetry.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/runtime/workers.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/backends/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/backends/drive.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/backends/filesystem.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/backends/google_auth.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/backends/layout.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/backends/objects.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/cas.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/handoff.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/pathdata.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/sendorder.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/store/volume.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/stubs.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/tools.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/__init__.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/agent.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/announce.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/link.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/nat.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/pipeline.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/portmap.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/probe.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/quic.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/rendezvous.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/setup.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/sshopts.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify/transport/strategies.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/.gitignore +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/letify/Cargo.toml +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/letify/LICENSE +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/letify/README.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/letify/src/lib.rs +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/letify-quic/Cargo.toml +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-core/rust-toolchain.toml +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/.vscodeignore +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/LICENSE +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/README.md +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/media/icon.svg +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/src/cli.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/src/extension.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/src/history.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/src/model.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/src/poll.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/src/render.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/test/cli.test.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/test/manifest.test.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/test/model.test.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/test/regressions.test.ts +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify-ext/tsconfig.json +0 -0
- {letify-2.10.11 → letify-2.11.0}/letify_providers.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/scripts/sync-main.sh +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/fake_kaggle_adapter.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/fake_modal_adapter.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_cli_output.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_colab_keepalive.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_config.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_core.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_data_in_place.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_data_streaming.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_declare.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_device.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_device_compile.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_distributed.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_drive_handoff.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_drive_store.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_editor_sessions.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_elice.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_install.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_kaggle.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_kaggle_cookie.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_kaggle_link.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_link_log.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_notebook.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_parallel_placement.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_paths.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_portmap.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_protocol.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_providers.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_quic.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_remoting.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_render.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_run_control.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_run_reattach.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_runtime.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_shell_workers.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_ship.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_store.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_strategies.py +0 -0
- {letify-2.10.11 → letify-2.11.0}/tests/test_stubs.py +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Check the letify-link crate on every platform it must run on. This workflow is not part of
|
|
2
|
+
# a release: the release gates are in publish-crates.yml and publish.yml, and neither reads
|
|
3
|
+
# this file. `test` builds and tests the crate on Linux, macOS and Windows. The two mobile
|
|
4
|
+
# jobs only check that the crate compiles for iOS and Android, each in its own job, so a
|
|
5
|
+
# missing mobile tool fails its own job and nothing else.
|
|
6
|
+
name: letify-link
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
paths:
|
|
11
|
+
- "letify-core/**"
|
|
12
|
+
- ".github/workflows/letify-link.yml"
|
|
13
|
+
pull_request:
|
|
14
|
+
paths:
|
|
15
|
+
- "letify-core/**"
|
|
16
|
+
- ".github/workflows/letify-link.yml"
|
|
17
|
+
|
|
18
|
+
permissions:
|
|
19
|
+
contents: read
|
|
20
|
+
|
|
21
|
+
env:
|
|
22
|
+
CARGO_TERM_COLOR: always
|
|
23
|
+
|
|
24
|
+
defaults:
|
|
25
|
+
run:
|
|
26
|
+
working-directory: letify-core
|
|
27
|
+
|
|
28
|
+
jobs:
|
|
29
|
+
test:
|
|
30
|
+
name: test (${{ matrix.os }})
|
|
31
|
+
runs-on: ${{ matrix.os }}
|
|
32
|
+
timeout-minutes: 25
|
|
33
|
+
strategy:
|
|
34
|
+
fail-fast: false
|
|
35
|
+
matrix:
|
|
36
|
+
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
37
|
+
steps:
|
|
38
|
+
- uses: actions/checkout@v4
|
|
39
|
+
- name: Install Rust
|
|
40
|
+
run: |
|
|
41
|
+
rustup toolchain install stable --profile minimal --component clippy,rustfmt
|
|
42
|
+
rustup default stable
|
|
43
|
+
- name: Format
|
|
44
|
+
if: matrix.os == 'ubuntu-latest'
|
|
45
|
+
run: cargo fmt --all --check
|
|
46
|
+
- name: Clippy
|
|
47
|
+
if: matrix.os == 'ubuntu-latest'
|
|
48
|
+
run: cargo clippy -p letify-link --all-targets --all-features --locked -- -D warnings
|
|
49
|
+
- name: Build
|
|
50
|
+
run: cargo build -p letify-link --all-features --locked
|
|
51
|
+
- name: Test with the relay role
|
|
52
|
+
run: cargo test -p letify-link --features relay --locked
|
|
53
|
+
|
|
54
|
+
mobile-ios:
|
|
55
|
+
name: check (aarch64-apple-ios)
|
|
56
|
+
runs-on: macos-latest
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@v4
|
|
59
|
+
- name: Install Rust and the iOS target
|
|
60
|
+
run: |
|
|
61
|
+
rustup toolchain install stable --profile minimal
|
|
62
|
+
rustup default stable
|
|
63
|
+
rustup target add aarch64-apple-ios
|
|
64
|
+
- name: Check the library
|
|
65
|
+
# Xcode on the runner supplies the C compiler that ring's build script needs.
|
|
66
|
+
run: cargo check -p letify-link --lib --features relay --target aarch64-apple-ios --locked
|
|
67
|
+
|
|
68
|
+
mobile-android:
|
|
69
|
+
name: check (aarch64-linux-android)
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
steps:
|
|
72
|
+
- uses: actions/checkout@v4
|
|
73
|
+
- name: Install Rust and the Android target
|
|
74
|
+
run: |
|
|
75
|
+
rustup toolchain install stable --profile minimal
|
|
76
|
+
rustup default stable
|
|
77
|
+
rustup target add aarch64-linux-android
|
|
78
|
+
- name: Check the library
|
|
79
|
+
# cargo check needs no linker, only the C compiler of the NDK for ring's build script.
|
|
80
|
+
# The runner image ships the NDK and names it in ANDROID_NDK_LATEST_HOME.
|
|
81
|
+
run: |
|
|
82
|
+
bin="$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin"
|
|
83
|
+
export CC_aarch64_linux_android="$bin/aarch64-linux-android24-clang"
|
|
84
|
+
export AR_aarch64_linux_android="$bin/llvm-ar"
|
|
85
|
+
cargo check -p letify-link --lib --features relay --target aarch64-linux-android --locked
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: letify
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.11.0
|
|
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
|
|
@@ -204,6 +204,8 @@ persistent = true
|
|
|
204
204
|
|
|
205
205
|
The connection pipeline defaults to `10 MiB/s` in each direction and `300 ms` RTT. Colab's measured sustained best is `8.8 MiB/s` up and `10.7 MiB/s` down, so it fails the default floor. The account example explicitly permits a slow link with `min_mib_per_s = 0.05`. Set `min_mib_per_s` and `max_rtt_ms` for your measurements. When all measured links fail the floor, the connection is refused even if an unprobed fallback connected.
|
|
206
206
|
|
|
207
|
+
letify-link is an opt-in connection layer in 2.11 and stays opt-in through 2.x. Without it, an account connects as it did in 2.10. To carry one account's worker channel over letify-link, add `link = "letify-link"` to that account. The account then needs the `letify-link` binary from the platform wheel on both ends. See [docs/guide/09-agent.md](docs/guide/09-agent.md) for a machine with no address.
|
|
208
|
+
|
|
207
209
|
The project's `.letify/config.toml` gets only the alias, which is what makes the account usable in this project:
|
|
208
210
|
|
|
209
211
|
```toml
|
|
@@ -179,6 +179,8 @@ persistent = true
|
|
|
179
179
|
|
|
180
180
|
The connection pipeline defaults to `10 MiB/s` in each direction and `300 ms` RTT. Colab's measured sustained best is `8.8 MiB/s` up and `10.7 MiB/s` down, so it fails the default floor. The account example explicitly permits a slow link with `min_mib_per_s = 0.05`. Set `min_mib_per_s` and `max_rtt_ms` for your measurements. When all measured links fail the floor, the connection is refused even if an unprobed fallback connected.
|
|
181
181
|
|
|
182
|
+
letify-link is an opt-in connection layer in 2.11 and stays opt-in through 2.x. Without it, an account connects as it did in 2.10. To carry one account's worker channel over letify-link, add `link = "letify-link"` to that account. The account then needs the `letify-link` binary from the platform wheel on both ends. See [docs/guide/09-agent.md](docs/guide/09-agent.md) for a machine with no address.
|
|
183
|
+
|
|
182
184
|
The project's `.letify/config.toml` gets only the alias, which is what makes the account usable in this project:
|
|
183
185
|
|
|
184
186
|
```toml
|
|
@@ -24,6 +24,12 @@ Read this table first. Most confusion about letify is one of these words meaning
|
|
|
24
24
|
| **persistence** | Whether a provider's storage outlives a session: `persistent` or `ephemeral`. |
|
|
25
25
|
| **RemoteTensor** | Under `host="local"`, the local stand-in for a tensor on the runtime's GPU: a meta tensor for shape and dtype plus a handle. Reports its device as `cuda:0`. |
|
|
26
26
|
| **device worker** | The process on the runtime that runs PyTorch operators on real tensors keyed by handle, one per session. |
|
|
27
|
+
| **link session** | The encrypted, multiplexed connection between two nodes, owned by letify-link. Not a runtime session. |
|
|
28
|
+
| **subflow** | A path the link session uses at this moment. A session may have several TCP subflows. |
|
|
29
|
+
| **path** | One transport route between two nodes: a TCP connection or a UDP address pair. |
|
|
30
|
+
| **path manager** | The part of letify-link that probes paths, moves the session to a faster one and reconnects when one dies. |
|
|
31
|
+
| **Rendezvous trait** | The interface letify-link calls to carry small messages between two nodes before a path exists. letify implements it with provider bootstraps. |
|
|
32
|
+
| **sidecar** | The `letify-link` executable the Python package starts and talks to over local sockets. |
|
|
27
33
|
| **letify-core** | The Rust workspace in `letify-core/`: the `letify` crate and the `letify-quic` binary. The CUDA driver stand-in it once held is removed. |
|
|
28
34
|
|
|
29
35
|
## The shape of the thing
|
|
@@ -70,7 +70,8 @@ than whether it exists. The experiment that tests it reports the boundary as a m
|
|
|
70
70
|
A reduction routed through the client cannot work on a link whose inbound is the weak
|
|
71
71
|
direction, because every round moves `N` times the parameters into it. Two runtimes
|
|
72
72
|
punch to each other with the client as the signalling broker only, so the parameters
|
|
73
|
-
cross cloud to cloud and the client carries the mappings and nothing else.
|
|
73
|
+
cross cloud to cloud and the client carries the mappings and nothing else. A reduction goes
|
|
74
|
+
through a third host only through a relay the user registered. Measured
|
|
74
75
|
inbound on the network this was designed on is capped near 0.25 MiB/s, against 21 MiB/s
|
|
75
76
|
outbound to a near runtime, which is why this is a claim rather than an optimization.
|
|
76
77
|
|
|
@@ -91,11 +92,15 @@ the placement is unusable there rather than slow.
|
|
|
91
92
|
|
|
92
93
|
Two paths remain, and which one letify takes is an open decision rather than something to assume.
|
|
93
94
|
Either both runtimes dial outward to a third host that is not the client, which is a relay and has to
|
|
94
|
-
be
|
|
95
|
+
be held to the constraint that a slow link is a failure, or they exchange parameters through
|
|
95
96
|
object storage in one of their clouds, which letify already reaches with the `bucket` account option
|
|
96
97
|
and the GCS backend. The second needs no inbound anywhere, which is the property the measurements
|
|
97
98
|
above say is missing.
|
|
98
99
|
|
|
100
|
+
### N11. A session that survives path changes makes a dropped path cost the call nothing
|
|
101
|
+
|
|
102
|
+
A call that is running when its path dies, or when a faster path replaces it, finishes with the same result and no more than the reconnect time added to its wall time. The session retransmits unacknowledged frames after the change and the streams above see a pause, not an error. Where TCP passes and UDP does not, or the reverse, one session design carries both, and the measured link floor decides what is accepted, as [letify-link](SPEC.md#letify-link) specifies. An experiment refutes it by killing the path mid-call and comparing the result and the wall time with an undisturbed run.
|
|
103
|
+
|
|
99
104
|
## How an experiment reports efficiency
|
|
100
105
|
|
|
101
106
|
This standard sits here rather than in `docs/SPEC.md` because it governs how a claim is tested, not what the system does. The spec records the design; this records what a report has to show before a claim above may be called supported. Every experiment pull request follows it.
|
|
@@ -114,7 +119,7 @@ A report that omits one of the four is incomplete, and its claim stays open.
|
|
|
114
119
|
- **The local process stays alive for the duration of a run.** letify does not offer detached execution. A detached run whose remote side is evicted loses its results, so the local process stays the owner and the durable artifacts are checkpoints in the store.
|
|
115
120
|
- **Nothing is torn down by hand.** No release call and no shutdown call on the public surface. A call ends its own session, an idle one is reaped, and the lease covers a crash.
|
|
116
121
|
- **No credential in a tracked file.** Accounts live in `~/.letify/config.toml`, and credentials live in the environment or in `~/.letify/accounts`.
|
|
117
|
-
- **A slow link is a failure, not a fallback.** letify connects over a link fast enough for the work, or it refuses to connect and says why. A relayed or otherwise degraded path that merely completes is worse than no connection: it bills GPU hours while the transfer dominates the run, and the user cannot see that from the result.
|
|
122
|
+
- **A slow link is a failure, not a fallback.** letify connects over a link fast enough for the work, or it refuses to connect and says why. A relayed or otherwise degraded path that merely completes is worse than no connection: it bills GPU hours while the transfer dominates the run, and the user cannot see that from the result. letify does not relay on its own and does not run a relay. A relay the user registers is the user's choice and is held to the same link floor. A measured link below the floor the account declares fails the connection.
|
|
118
123
|
- **Colab accelerators require a paid entitlement.** The remote control features letify uses are permitted on paid plans while the compute unit balance is positive.
|
|
119
124
|
|
|
120
125
|
## Non-goals
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Roadmap to 3.0
|
|
2
|
+
|
|
3
|
+
> letify ships letify-link in steps as 2.x releases and becomes 3.0 when letify-link is the default and Tailcat is gone.
|
|
4
|
+
|
|
5
|
+
This file is planning. The design is in [SPEC.md, letify-link](SPEC.md#letify-link). All crates and the Python package keep one version.
|
|
6
|
+
|
|
7
|
+
## Plan
|
|
8
|
+
|
|
9
|
+
| Release | Content |
|
|
10
|
+
|---|---|
|
|
11
|
+
| 2.11 | letify-link ships as an opt-in feature. The switch is the account option `link = "letify-link"`. With it off, the connection path is that of 2.10.x |
|
|
12
|
+
| 2.12 | The signalling Worker is deployed, the NAT-to-NAT connect is measured live, and the tunnel moves onto letify-link |
|
|
13
|
+
| 3.0 | letify-link is the default connection layer and Tailcat is removed, with `letify setup tailcat` and the Tunnel account's `tailcat` fields |
|
|
14
|
+
|
|
15
|
+
## Milestones
|
|
16
|
+
|
|
17
|
+
| Milestone | Content | State |
|
|
18
|
+
|---|---|---|
|
|
19
|
+
| M1 | Multi-socket TCP punch with spare sockets | Done in 2.10.0 |
|
|
20
|
+
| M2 | Session layer and path manager, with the hysteresis of the path manager and the head-of-line blocking measurement of many streams over TCP subflows against QUIC streams | Built on `feat/letify-link-spec`: the encrypted multiplexed session, TCP and UDP subflows and the path manager are in the `letify-link` crate. The head-of-line measurement is open |
|
|
21
|
+
| M3 | NAT type detection, port spraying, policing detection, Tailcat replacement | Built on the branch: NAT classification, the punch, the signalling client and the Cloudflare Worker in `letify-signal/`, and the agent with pairing. Measured only against fakes. The live NAT-to-NAT connect is open and is the work of 2.12. Tailcat is untouched |
|
|
22
|
+
| M4 | The `letify-link` crate and sidecar wired into letify | Built on the branch as opt-in: the sidecar, the shell, Colab and Kaggle bootstrap, transfer streams, takeover and helper commands over the session. Ships in 2.11 behind `link = "letify-link"`. Default and Tailcat removal are 3.0 |
|
|
23
|
+
|
|
24
|
+
Each milestone is judged by its own experiment pull request. A spec change that the verdict rejects does not reach `develop`.
|