lingling 2.1.20.post34__tar.gz → 2.1.20.post35__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 (26) hide show
  1. {lingling-2.1.20.post34/lingling.egg-info → lingling-2.1.20.post35}/PKG-INFO +26 -2
  2. lingling-2.1.20.post34/PKG-INFO → lingling-2.1.20.post35/README.md +288 -289
  3. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/__init__.py +1 -1
  4. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/update.py +19 -2
  5. lingling-2.1.20.post34/README.md → lingling-2.1.20.post35/lingling.egg-info/PKG-INFO +313 -264
  6. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/pyproject.toml +1 -1
  7. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/LICENSE +0 -0
  8. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/__main__.py +0 -0
  9. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/bench.py +0 -0
  10. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/bounds.py +0 -0
  11. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/cli.py +0 -0
  12. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/demo.py +0 -0
  13. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/exits.py +0 -0
  14. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/health.py +0 -0
  15. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/lanes.py +0 -0
  16. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/mitm.py +0 -0
  17. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/netutil.py +0 -0
  18. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/proof.py +0 -0
  19. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/relay.py +0 -0
  20. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling/winjob.py +0 -0
  21. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling.egg-info/SOURCES.txt +0 -0
  22. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling.egg-info/dependency_links.txt +0 -0
  23. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling.egg-info/entry_points.txt +0 -0
  24. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling.egg-info/requires.txt +0 -0
  25. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/lingling.egg-info/top_level.txt +0 -0
  26. {lingling-2.1.20.post34 → lingling-2.1.20.post35}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lingling
3
- Version: 2.1.20.post34
3
+ Version: 2.1.20.post35
4
4
  Summary: Official OpenCode, but your requests ride rotating Tor exit lanes.
5
5
  Author: huranth
6
6
  License-Expression: LicenseRef-Lingling
@@ -247,6 +247,7 @@ move. If a country does run out, that lane falls back to letting Tor choose.
247
247
  | `--no-tor` | skip the lanes, run opencode on your own IP like a civilian |
248
248
  | `--no-proof` | no proof window (coward's mode) |
249
249
  | `--demo [question]` | fire one real request through a lane, show receipts (`LINGLING_DEMO_MODEL` picks the model) |
250
+ | `update [--check] [--now]` | ask what the newest lingling is, and install it between sessions |
250
251
  | `uninstall [--yes]` | wipe the lanes, Tor bundle, geoip and logs (keeps `countries.txt`) |
251
252
 
252
253
  Everything else is handed to opencode byte-for-byte. We don't touch it,
@@ -263,6 +264,26 @@ people put through that address show up in no ledger we keep. Each cycle the
263
264
  sweep takes up to `LINGLING_SWEEP_MOVES` lanes (default 3), every
264
265
  `LINGLING_SWEEP_S` seconds (default 20), longest-riding first.
265
266
 
267
+ ### Staying current
268
+
269
+ A copy of lingling has the code it was installed with, and nothing outside can
270
+ change that. So the launch asks one small manifest what the newest version is:
271
+ a background request, three seconds at most, silent unless there is something
272
+ to say. When there is, it says so once the lanes are hot -- `lingling
273
+ 2.1.20.post35 is out (you are on 2.1.20.post34)` -- and offers to install it
274
+ when this session ends (Enter or `y` takes it, `n` leaves it for later).
275
+ Windows will not let pip replace the console launcher while it is running, so
276
+ the install waits for this process to exit and lands in the gap between two
277
+ launches.
278
+
279
+ How long an answer is trusted depends on what it said: "you are current" for
280
+ fifteen minutes, "an update is out" for six hours. A release published a
281
+ minute after a launch is therefore picked up by the next launch, not by the one
282
+ after lunch. `lingling update --check` asks right now and changes nothing;
283
+ `lingling update` asks and schedules the install. `LINGLING_UPDATE=off` (or
284
+ `LINGLING_NO_UPDATE_CHECK=1`) stops the check entirely; `LINGLING_UPDATE=notify`
285
+ keeps the notice and drops the question.
286
+
266
287
  ### Under the hood
267
288
 
268
289
  ```
@@ -286,4 +307,7 @@ Runtime state (tor, lanes, proof log, local CA) lives in the per-user data
286
307
  directory — never in the package, never in your project folder.
287
308
 
288
309
  Requirements: Python 3.11+, Windows/macOS/Linux, and `opencode` on your PATH.
289
- Runs entirely on your machine. Nothing calls home. The kitchen is local.
310
+ Runs entirely on your machine. The one outbound call that is not your own
311
+ traffic is the update check above -- a GET for a small manifest (PyPI's index
312
+ if that fails), carrying nothing but the version you are on. Nothing else
313
+ calls home, and nothing is collected. The kitchen is local.