hypernix 0.72.2.post3__tar.gz → 0.72.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (486) hide show
  1. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/ci.yml +181 -0
  2. hypernix-0.72.3/.github/workflows/codacy.yml +61 -0
  3. hypernix-0.72.3/.github/workflows/codeql.yml +107 -0
  4. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/public-release.yml +205 -4
  5. {hypernix-0.72.2.post3 → hypernix-0.72.3}/MANIFEST.in +6 -0
  6. {hypernix-0.72.2.post3 → hypernix-0.72.3}/PKG-INFO +53 -42
  7. {hypernix-0.72.2.post3 → hypernix-0.72.3}/README.md +51 -40
  8. hypernix-0.72.3/bin/_hypernix_python.sh +38 -0
  9. hypernix-0.72.3/bin/hyped+ +4 -0
  10. hypernix-0.72.3/bin/hyped-pro +7 -0
  11. hypernix-0.72.3/bin/hyped-pro-gui +7 -0
  12. hypernix-0.72.3/bin/hypernix-t1 +500 -0
  13. hypernix-0.72.3/install-t1.sh +1375 -0
  14. {hypernix-0.72.2.post3 → hypernix-0.72.3}/pyproject.toml +17 -2
  15. hypernix-0.72.3/scripts/ci/fake_model_server.py +132 -0
  16. hypernix-0.72.3/scripts/ci/integration_probe.py +218 -0
  17. hypernix-0.72.3/scripts/ci/wait_for_http.py +107 -0
  18. {hypernix-0.72.2.post3 → hypernix-0.72.3}/setup.cfg +1 -1
  19. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/__init__.py +6 -1
  20. hypernix-0.72.3/src/hypernix/audio/__init__.py +20 -0
  21. hypernix-0.72.3/src/hypernix/audio/audiofile.py +254 -0
  22. hypernix-0.72.3/src/hypernix/audio/features.py +184 -0
  23. hypernix-0.72.3/src/hypernix/audio/wakeup.py +854 -0
  24. hypernix-0.72.3/src/hypernix/audio/wakeup_cli.py +285 -0
  25. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/bridge/lmstudio.py +18 -0
  26. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/pans.py +4 -1
  27. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/sink.py +2 -1
  28. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/__init__.py +3 -1
  29. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/discovery.py +67 -2
  30. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/assistant.py +4 -1
  31. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/cli.py +97 -12
  32. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/hyped.py +156 -8
  33. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/wiki_cli.py +1 -0
  34. hypernix-0.72.3/src/hypernix/models/ggufrun.py +222 -0
  35. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/livestream.py +3 -1
  36. hypernix-0.72.3/src/hypernix/quant/dflash2.py +681 -0
  37. hypernix-0.72.3/src/hypernix/quant/dflash2_cli.py +157 -0
  38. hypernix-0.72.3/src/hypernix/quant/gguf.py +542 -0
  39. hypernix-0.72.3/src/hypernix/quant/hyprslug.py +556 -0
  40. hypernix-0.72.3/src/hypernix/quant/hyprslug_cli.py +123 -0
  41. hypernix-0.72.3/src/hypernix/quant/imatrix.py +525 -0
  42. hypernix-0.72.3/src/hypernix/quant/imatrix_cli.py +144 -0
  43. hypernix-0.72.3/src/hypernix/quant/llamaquants.py +984 -0
  44. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/quantize.py +38 -0
  45. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/steamroller.py +95 -19
  46. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/steamroller_cli.py +20 -1
  47. hypernix-0.72.3/src/hypernix/quant/subbit.py +266 -0
  48. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/security/gkey_cli.py +125 -15
  49. hypernix-0.72.3/src/hypernix/security/keyconfig.py +264 -0
  50. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/security/keymaster.py +245 -0
  51. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/security/t2keys.py +154 -6
  52. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/__init__.py +3 -1
  53. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/pathfix.py +20 -5
  54. hypernix-0.72.3/src/hypernix/system/vram.py +870 -0
  55. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/app.py +53 -1
  56. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/auth.py +58 -2
  57. hypernix-0.72.3/src/hypernix/t1api/billingkeys.py +346 -0
  58. hypernix-0.72.3/src/hypernix/t1api/bootstrap.py +197 -0
  59. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/config.py +38 -0
  60. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/deps.py +190 -4
  61. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/errors.py +2 -0
  62. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/__init__.py +8 -0
  63. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/auth.py +69 -1
  64. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/authundo.py +25 -0
  65. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/hyperlink.py +32 -5
  66. hypernix-0.72.3/src/hypernix/t1api/routers/inference.py +546 -0
  67. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/schemas.py +108 -0
  68. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/version.py +16 -3
  69. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1sdk/__init__.py +9 -4
  70. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/train.py +98 -2
  71. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/__init__.py +7 -1
  72. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/discovery.py +8 -2
  73. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix.egg-info/SOURCES.txt +55 -0
  74. hypernix-0.72.3/tests/shell_support.py +141 -0
  75. hypernix-0.72.3/tests/test_billing_keys.py +322 -0
  76. hypernix-0.72.3/tests/test_bootstrap_key.py +238 -0
  77. hypernix-0.72.3/tests/test_ci_integration_jobs.py +338 -0
  78. hypernix-0.72.3/tests/test_dflash2.py +533 -0
  79. hypernix-0.72.3/tests/test_gguf_inference.py +158 -0
  80. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_gkey_key_versions.py +60 -0
  81. hypernix-0.72.3/tests/test_hyperlink_reachability.py +274 -0
  82. hypernix-0.72.3/tests/test_hypernix_t1_service.py +409 -0
  83. hypernix-0.72.3/tests/test_hyprslug_recipes.py +386 -0
  84. hypernix-0.72.3/tests/test_imatrix.py +429 -0
  85. hypernix-0.72.3/tests/test_inference_endpoints.py +510 -0
  86. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_install_script.py +153 -10
  87. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_lint_regressions.py +43 -0
  88. hypernix-0.72.3/tests/test_llama_quants.py +290 -0
  89. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_pathfix.py +38 -13
  90. hypernix-0.72.3/tests/test_sspkid_and_key_config.py +373 -0
  91. hypernix-0.72.3/tests/test_subbit_quantization.py +556 -0
  92. hypernix-0.72.3/tests/test_t1_v1_0_26_8_1_1.py +397 -0
  93. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1_v1_0_26_core.py +44 -21
  94. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1_v1_0_26_http.py +2 -2
  95. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_example_scripts.py +35 -9
  96. hypernix-0.72.3/tests/test_t2s_errors.py +325 -0
  97. hypernix-0.72.3/tests/test_tool_consent_gate.py +218 -0
  98. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0712_hyped_countertop.py +31 -4
  99. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0721_api_waiter.py +14 -3
  100. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0721_t2_keys.py +6 -6
  101. hypernix-0.72.3/tests/test_vram_optimizations.py +604 -0
  102. hypernix-0.72.3/tests/test_wakeup.py +562 -0
  103. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/CLI.md +91 -4
  104. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Changelog.md +555 -0
  105. hypernix-0.72.3/wiki/Dflash2.md +119 -0
  106. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Home.md +35 -3
  107. hypernix-0.72.3/wiki/HyprSlug.md +184 -0
  108. hypernix-0.72.3/wiki/Imatrix.md +102 -0
  109. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Release-Timeline.md +47 -0
  110. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Roadmap.md +55 -21
  111. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/T1-API.md +178 -9
  112. hypernix-0.72.3/wiki/VRAM.md +236 -0
  113. hypernix-0.72.3/wiki/WakeUp.md +150 -0
  114. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/build.yml +0 -0
  115. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/deploy-docs.yml +0 -0
  116. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/ios.yml +0 -0
  117. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/release.yml +0 -0
  118. {hypernix-0.72.2.post3 → hypernix-0.72.3}/.github/workflows/update-json-stats.yml +0 -0
  119. {hypernix-0.72.2.post3 → hypernix-0.72.3}/LICENSE +0 -0
  120. {hypernix-0.72.2.post3 → hypernix-0.72.3}/assets/logo/Gemini_Generated_Image_nxfdm1nxfdm1nxfd-removebg-preview.png +0 -0
  121. {hypernix-0.72.2.post3 → hypernix-0.72.3}/assets/logo/Gemini_Generated_Image_nxfdm1nxfdm1nxfd.png +0 -0
  122. {hypernix-0.72.2.post3 → hypernix-0.72.3}/assets/logo.png +0 -0
  123. {hypernix-0.72.2.post3 → hypernix-0.72.3}/assets/logo1.png +0 -0
  124. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/curriculum_eval_v0_70_4.py +0 -0
  125. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/custom_arch.py +0 -0
  126. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/hypernix_run.json +0 -0
  127. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/quickstart.py +0 -0
  128. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/resilient_finetune_v0_70_4.py +0 -0
  129. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/run_hypernix.py +0 -0
  130. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/.env.example +0 -0
  131. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/API-EXAMPLES.md +0 -0
  132. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/Dockerfile +0 -0
  133. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/README.md +0 -0
  134. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/config/.gitkeep +0 -0
  135. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/docker-compose.yml +0 -0
  136. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/hypernix-t1api.service +0 -0
  137. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/nginx.conf +0 -0
  138. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/openapi.json +0 -0
  139. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/run_local.sh +0 -0
  140. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/t1api/run_tailscale.sh +0 -0
  141. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/train hypernix 1 5 gtx1080.py +0 -0
  142. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/train_hypernix_0_1_5_evaluator.py +0 -0
  143. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/train_hypernix_1_5_gtx1080.py +0 -0
  144. {hypernix-0.72.2.post3 → hypernix-0.72.3}/examples/upload_to_hub.py +0 -0
  145. {hypernix-0.72.2.post3 → hypernix-0.72.3}/pytest.ini +0 -0
  146. {hypernix-0.72.2.post3 → hypernix-0.72.3}/ruff.toml +0 -0
  147. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/README.md +0 -0
  148. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/apply_hypernix_fixes.py +0 -0
  149. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/autofix +0 -0
  150. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/autofix-B +0 -0
  151. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/autofix-E +0 -0
  152. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/autofix-F +0 -0
  153. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/autofix_scope.py +0 -0
  154. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/benchmark_v5.py +0 -0
  155. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/benchmark_v5s.py +0 -0
  156. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/benchmark_v6.py +0 -0
  157. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/install_deps.sh +0 -0
  158. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/install_macos_legacy.sh +0 -0
  159. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/measure_optimizer_memory.py +0 -0
  160. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/quantize_i7_7660u.sh +0 -0
  161. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/t1api_examples.py +0 -0
  162. {hypernix-0.72.2.post3 → hypernix-0.72.3}/scripts/update_json_stats.py +0 -0
  163. {hypernix-0.72.2.post3 → hypernix-0.72.3}/setup.py +0 -0
  164. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/__main__.py +0 -0
  165. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/bridge/__init__.py +0 -0
  166. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/chat/__init__.py +0 -0
  167. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/chat/cookbook.py +0 -0
  168. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/chat/countertop.py +0 -0
  169. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/chat/flour.py +0 -0
  170. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/chat/injection.py +0 -0
  171. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/chat/menu.py +0 -0
  172. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/__init__.py +0 -0
  173. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/blender.py +0 -0
  174. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/cardboard_box.py +0 -0
  175. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/cutting_board.py +0 -0
  176. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/food_processor.py +0 -0
  177. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/lunchbox.py +0 -0
  178. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/mediocre_fridge.py +0 -0
  179. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/pepper_shaker.py +0 -0
  180. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/qa.py +0 -0
  181. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/salt_shaker.py +0 -0
  182. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/scavenger.py +0 -0
  183. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/strainer.py +0 -0
  184. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/toaster.py +0 -0
  185. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/data/tupperware.py +0 -0
  186. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/__init__.py +0 -0
  187. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/espresso_maker.py +0 -0
  188. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/industrial_range.py +0 -0
  189. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/new_fridge.py +0 -0
  190. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/new_range.py +0 -0
  191. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/old_range.py +0 -0
  192. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/evaluation/vera.py +0 -0
  193. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyped_pro.js +0 -0
  194. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/files.py +0 -0
  195. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/hfdownload.py +0 -0
  196. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/hfmerge.py +0 -0
  197. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/pairing.py +0 -0
  198. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/hyperlink/sessions.py +0 -0
  199. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/__init__.py +0 -0
  200. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/hyped_pro.py +0 -0
  201. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/hyped_pro_bridge.py +0 -0
  202. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/hyped_pro_core.py +0 -0
  203. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/hyped_pro_gui.py +0 -0
  204. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/hyped_pro_tools.py +0 -0
  205. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/__init__.py +0 -0
  206. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/agent.py +0 -0
  207. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/cli.py +0 -0
  208. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/hpo.py +0 -0
  209. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/providers.py +0 -0
  210. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/swarm.py +0 -0
  211. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/tools.py +0 -0
  212. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/noodle/validate.py +0 -0
  213. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/version_launcher.py +0 -0
  214. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/interfaces/websearch.py +0 -0
  215. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/__init__.py +0 -0
  216. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/arch.py +0 -0
  217. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/download.py +0 -0
  218. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/generate.py +0 -0
  219. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/microwave.py +0 -0
  220. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/multilama.py +0 -0
  221. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/nano_nano.py +0 -0
  222. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/neo_oven.py +0 -0
  223. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/old_oven.py +0 -0
  224. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/stml.py +0 -0
  225. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/whisk.py +0 -0
  226. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/models/workshop.py +0 -0
  227. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/__init__.py +0 -0
  228. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/cctvtop.py +0 -0
  229. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/hyper_log.py +0 -0
  230. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/map.py +0 -0
  231. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/plasma.py +0 -0
  232. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/table.py +0 -0
  233. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/thermometer.py +0 -0
  234. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/tv.py +0 -0
  235. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/tvtop.py +0 -0
  236. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/monitoring/tvtop_plus_plus.py +0 -0
  237. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/__init__.py +0 -0
  238. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/optimizer_framework.py +0 -0
  239. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker.py +0 -0
  240. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker_v3.py +0 -0
  241. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker_v4.py +0 -0
  242. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker_v5.py +0 -0
  243. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker_v5s.py +0 -0
  244. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker_v6.py +0 -0
  245. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/pressure_cooker_v6v.py +0 -0
  246. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/optimizers/sixbit.py +0 -0
  247. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/package-lock.json +0 -0
  248. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/package.json +0 -0
  249. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/py.typed +0 -0
  250. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/__init__.py +0 -0
  251. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/convert.py +0 -0
  252. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/fetcher.py +0 -0
  253. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/formats.py +0 -0
  254. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/quant/upload.py +0 -0
  255. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/__init__.py +0 -0
  256. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/app.py +0 -0
  257. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/cli.py +0 -0
  258. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/params.py +0 -0
  259. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/templates.py +0 -0
  260. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/theme.py +0 -0
  261. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/scriptgen/widgets.py +0 -0
  262. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/security/__init__.py +0 -0
  263. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/security/gatekeeper.py +0 -0
  264. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/security/keyversions.py +0 -0
  265. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/compactor.py +0 -0
  266. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/config.py +0 -0
  267. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/deps.py +0 -0
  268. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/dishwasher.py +0 -0
  269. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/doctor.py +0 -0
  270. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/ethanol.py +0 -0
  271. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/freezer.py +0 -0
  272. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/net.py +0 -0
  273. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/old_fridge.py +0 -0
  274. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/outage.py +0 -0
  275. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/pascal.py +0 -0
  276. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/protect.py +0 -0
  277. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/release.py +0 -0
  278. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/torch_compat.py +0 -0
  279. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/ups.py +0 -0
  280. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/system/utils.py +0 -0
  281. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/__init__.py +0 -0
  282. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/audit.py +0 -0
  283. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/authhistory.py +0 -0
  284. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/backup.py +0 -0
  285. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/billing.py +0 -0
  286. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/cost.py +0 -0
  287. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/data/model_registry.example.json +0 -0
  288. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/data/routing_policies.example.json +0 -0
  289. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/db.py +0 -0
  290. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/deploy.py +0 -0
  291. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/events.py +0 -0
  292. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/jobs.py +0 -0
  293. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/keys.py +0 -0
  294. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/modules.py +0 -0
  295. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/mtls.py +0 -0
  296. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/netpolicy.py +0 -0
  297. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/ratelimit.py +0 -0
  298. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/registry.py +0 -0
  299. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/audit.py +0 -0
  300. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/backup.py +0 -0
  301. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/billing.py +0 -0
  302. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/bridge.py +0 -0
  303. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/config.py +0 -0
  304. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/events.py +0 -0
  305. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/health.py +0 -0
  306. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/jobs.py +0 -0
  307. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/keys.py +0 -0
  308. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/models.py +0 -0
  309. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/modules.py +0 -0
  310. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/security.py +0 -0
  311. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/servers.py +0 -0
  312. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routers/usage.py +0 -0
  313. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/routing.py +0 -0
  314. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/security.py +0 -0
  315. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/servers.py +0 -0
  316. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/storage.py +0 -0
  317. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/transport.py +0 -0
  318. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1api/usage.py +0 -0
  319. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1sdk/client.py +0 -0
  320. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1sdk/errors.py +0 -0
  321. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1sdk/models.py +0 -0
  322. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/t1sdk/transport.py +0 -0
  323. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/timing/__init__.py +0 -0
  324. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/timing/bell.py +0 -0
  325. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/timing/coffee_maker.py +0 -0
  326. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/timing/smoke_alarm.py +0 -0
  327. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/timing/spinner.py +0 -0
  328. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/timing/timer.py +0 -0
  329. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/__init__.py +0 -0
  330. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/abbicus.py +0 -0
  331. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/apron.py +0 -0
  332. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/brewer.py +0 -0
  333. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/cake_pan.py +0 -0
  334. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/camouflage.py +0 -0
  335. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/compute_framework.py +0 -0
  336. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/deep_fryer.py +0 -0
  337. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/fizzle.py +0 -0
  338. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/instant_pot.py +0 -0
  339. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/lazy_suzan.py +0 -0
  340. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/mtp.py +0 -0
  341. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/recipe_book.py +0 -0
  342. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/training/smoker.py +0 -0
  343. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/tsconfig.json +0 -0
  344. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/cli.py +0 -0
  345. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/client.py +0 -0
  346. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/diagnose.py +0 -0
  347. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/local_config.py +0 -0
  348. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/smoke.py +0 -0
  349. {hypernix-0.72.2.post3 → hypernix-0.72.3}/src/hypernix/waiter/tui.py +0 -0
  350. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_alarms_and_presets.py +0 -0
  351. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_arch_mapping.py +0 -0
  352. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_assistant.py +0 -0
  353. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_autofix_scripts.py +0 -0
  354. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_cli_integration.py +0 -0
  355. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_coverage_beef.py +0 -0
  356. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_deps_and_windows.py +0 -0
  357. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_ethanol.py +0 -0
  358. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_fetcher.py +0 -0
  359. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_freezer.py +0 -0
  360. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_fridges.py +0 -0
  361. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_hyped_pro_bridge_cancel.py +0 -0
  362. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_hyped_pro_t1api.py +0 -0
  363. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_install_pin.py +0 -0
  364. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_kitchen_v044.py +0 -0
  365. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_kitchen_v045.py +0 -0
  366. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_lazy_suzan.py +0 -0
  367. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_lunchbox.py +0 -0
  368. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_map.py +0 -0
  369. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_module_layout.py +0 -0
  370. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_neo_oven.py +0 -0
  371. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_neo_oven_generation.py +0 -0
  372. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_new_archs_v035.py +0 -0
  373. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_nix_fallback.py +0 -0
  374. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_old_oven.py +0 -0
  375. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_pressure_cooker_v048.py +0 -0
  376. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_pressure_cooker_v3.py +0 -0
  377. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_pressure_cooker_v6.py +0 -0
  378. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_quantize_v0703.py +0 -0
  379. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_ranges.py +0 -0
  380. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_shakers_and_torchcompat.py +0 -0
  381. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_snapshot_roundtrip.py +0 -0
  382. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_auth.py +0 -0
  383. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_beta3_core.py +0 -0
  384. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_beta3_http.py +0 -0
  385. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_beta3_security.py +0 -0
  386. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_beta4_usage_report.py +0 -0
  387. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_billing.py +0 -0
  388. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_core.py +0 -0
  389. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_events.py +0 -0
  390. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_http.py +0 -0
  391. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_http_beta2.py +0 -0
  392. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_jobs.py +0 -0
  393. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_modules.py +0 -0
  394. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_routing.py +0 -0
  395. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_security.py +0 -0
  396. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_t1api_servers.py +0 -0
  397. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_tupperware.py +0 -0
  398. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_tvtop_plus_plus_comprehensive.py +0 -0
  399. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_ups.py +0 -0
  400. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v031_chat_and_archs.py +0 -0
  401. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v047_deep_fryer_cake_pan_presets.py +0 -0
  402. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v050.py +0 -0
  403. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v051.py +0 -0
  404. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v051_1.py +0 -0
  405. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v051_3.py +0 -0
  406. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v051_4.py +0 -0
  407. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v052_5.py +0 -0
  408. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v052_6.py +0 -0
  409. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v060.py +0 -0
  410. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v061_1.py +0 -0
  411. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v061_2.py +0 -0
  412. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v061_b1.py +0 -0
  413. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0703_additional.py +0 -0
  414. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0704_features.py +0 -0
  415. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0704_tvtop_plus_plus.py +0 -0
  416. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0704b11_features.py +0 -0
  417. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0704b12_cctvtop.py +0 -0
  418. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0705_all.py +0 -0
  419. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0710_gatekeeper_keymaster.py +0 -0
  420. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0711_border_fix.py +0 -0
  421. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_config_provider_keys.py +0 -0
  422. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_cpu_presets.py +0 -0
  423. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_hyped_pro_bridge.py +0 -0
  424. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_hyped_pro_core.py +0 -0
  425. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_hyped_pro_launcher.py +0 -0
  426. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_hyped_pro_tools.py +0 -0
  427. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0714_multilama.py +0 -0
  428. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_v0721_modules.py +0 -0
  429. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_vera.py +0 -0
  430. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_version_launcher.py +0 -0
  431. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_waiter.py +0 -0
  432. {hypernix-0.72.2.post3 → hypernix-0.72.3}/tests/test_waiter_diagnose.py +0 -0
  433. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Abbicus.md +0 -0
  434. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Alarms.md +0 -0
  435. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Apron.md +0 -0
  436. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Architectures.md +0 -0
  437. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Bell.md +0 -0
  438. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Blender.md +0 -0
  439. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/CakePan.md +0 -0
  440. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Camouflage.md +0 -0
  441. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/CoffeeMaker.md +0 -0
  442. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Convert.md +0 -0
  443. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Cookbook.md +0 -0
  444. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Countertop.md +0 -0
  445. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/CuttingBoard.md +0 -0
  446. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Dashboards.md +0 -0
  447. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/DeepFryer.md +0 -0
  448. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Download.md +0 -0
  449. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/EspressoMaker.md +0 -0
  450. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Flour.md +0 -0
  451. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/FoodProcessor.md +0 -0
  452. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Frameworks.md +0 -0
  453. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Freezer.md +0 -0
  454. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Fridges.md +0 -0
  455. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/HuggingFace-Models.md +0 -0
  456. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/HyperLog.md +0 -0
  457. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Kitchen.md +0 -0
  458. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Lunchbox.md +0 -0
  459. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/MTP.md +0 -0
  460. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Menu.md +0 -0
  461. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Microwave.md +0 -0
  462. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Optimizers.md +0 -0
  463. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Ovens.md +0 -0
  464. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Pans.md +0 -0
  465. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Pascal.md +0 -0
  466. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/PipelineMechanics.md +0 -0
  467. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Pressure-Cooker-V3.md +0 -0
  468. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Pressure-Cooker-V4.md +0 -0
  469. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Pressure-Cooker-V5.md +0 -0
  470. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Pressure-Cooker-V6.md +0 -0
  471. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Quantization.md +0 -0
  472. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Ranges.md +0 -0
  473. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/RecipeBook.md +0 -0
  474. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/STML.md +0 -0
  475. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Scavenger.md +0 -0
  476. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Shakers.md +0 -0
  477. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Smoker.md +0 -0
  478. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/T1-API-Security-Checklist.md +0 -0
  479. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Toaster.md +0 -0
  480. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Training.md +0 -0
  481. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Tupperware.md +0 -0
  482. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Vera.md +0 -0
  483. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Waiter-TUI.md +0 -0
  484. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Whisk.md +0 -0
  485. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/Workshop.md +0 -0
  486. {hypernix-0.72.2.post3 → hypernix-0.72.3}/wiki/macOS-legacy.md +0 -0
@@ -126,6 +126,187 @@ jobs:
126
126
  python setup.py --name
127
127
  python setup.py --version
128
128
 
129
+ # ---------------------------------------------------------------------
130
+ # Live integration: a real server, a real key, a fake model.
131
+ # ---------------------------------------------------------------------
132
+ #
133
+ # Two jobs run after the tests pass, each minting its own T2 key and
134
+ # tearing it down afterwards. One drives the API; the other drives the
135
+ # iPhone app.
136
+ #
137
+ # A note on the shape, because it is not the obvious one. Hosted runners
138
+ # cannot reach each other over the network, so "job A hosts the server,
139
+ # job B connects to it" is not expressible here — there is no route
140
+ # between two runners. Each job therefore brings up the server it needs
141
+ # on its own runner. The split that matters is preserved: one job proves
142
+ # the API works against a client that authenticates from outside the
143
+ # process, the other proves the app works against a real server, and the
144
+ # release waits on both.
145
+ #
146
+ # The model is a stub speaking the OpenAI shape rather than a mock
147
+ # patched into the bridge, so the bridge, the routing engine and the
148
+ # serialisation are all the real ones. A mock would prove the mock works.
149
+
150
+ integration-api:
151
+ name: integration — live API + fake model
152
+ needs: test
153
+ runs-on: ubuntu-latest
154
+ timeout-minutes: 15
155
+ env:
156
+ # Both halves must agree on where the keys live. The server reads
157
+ # T1_KEYMASTER_DIR and so does gkey; leaving either to infer it from
158
+ # $HOME is how a key gets minted into a store the server is not
159
+ # reading, which looks exactly like a rejected key.
160
+ T1_KEYMASTER_DIR: ${{ github.workspace }}/.ci-keys
161
+ T1_DB_PATH: ${{ github.workspace }}/.ci-t1.sqlite3
162
+ T1_HYPERLINK_ENABLED: "1"
163
+ T1_LMSTUDIO_ENABLED: "1"
164
+ T1_LMSTUDIO_URL: http://127.0.0.1:1234
165
+ T1_ENVIRONMENT: development
166
+ steps:
167
+ - uses: actions/checkout@v4
168
+ - uses: actions/setup-python@v5
169
+ with:
170
+ python-version: "3.12"
171
+ cache: pip
172
+
173
+ - name: Install with the server extra
174
+ run: |
175
+ python -m pip install --upgrade pip
176
+ pip install -e '.[t1api]'
177
+
178
+ - name: Start the fake model
179
+ run: |
180
+ nohup python scripts/ci/fake_model_server.py --port 1234 \
181
+ > fake-model.log 2>&1 &
182
+ python scripts/ci/wait_for_http.py http://127.0.0.1:1234/v1/models \
183
+ --timeout 60 --name "the fake model" --log fake-model.log
184
+
185
+ - name: Start the T1 API
186
+ run: |
187
+ export T1_TOKEN_SECRET="$(python -c 'import secrets;print(secrets.token_hex(32))')"
188
+ echo "T1_TOKEN_SECRET=$T1_TOKEN_SECRET" >> "$GITHUB_ENV"
189
+ nohup python -m uvicorn hypernix.t1api.app:create_app --factory \
190
+ --host 127.0.0.1 --port 8000 > t1api.log 2>&1 &
191
+ python scripts/ci/wait_for_http.py http://127.0.0.1:8000/health \
192
+ --timeout 90 --name "the T1 API" --log t1api.log
193
+
194
+ - name: Mint a key, authorise it, and chat through the fake model
195
+ run: python scripts/ci/integration_probe.py --url http://127.0.0.1:8000
196
+
197
+ - name: Shut it down and prove no keys are left behind
198
+ if: always()
199
+ run: |
200
+ pkill -f 'uvicorn hypernix.t1api' || true
201
+ pkill -f fake_model_server || true
202
+ remaining="$(ls -1 "$T1_KEYMASTER_DIR"/*.json 2>/dev/null | wc -l | tr -d ' ')"
203
+ echo "keys still in the store: $remaining"
204
+ # The bootstrap key is expected — it is loopback-only and expires
205
+ # in three days. Anything the probe minted must be gone.
206
+ if [ "$remaining" -gt 1 ]; then
207
+ echo "::error::the probe left ${remaining} keys behind"
208
+ ls -la "$T1_KEYMASTER_DIR" || true
209
+ exit 1
210
+ fi
211
+ rm -rf "$T1_KEYMASTER_DIR" "$T1_DB_PATH"
212
+
213
+ - name: Server logs (on failure)
214
+ if: failure()
215
+ run: |
216
+ echo '--- t1api ---'; tail -n 100 t1api.log || true
217
+ echo '--- fake model ---'; tail -n 40 fake-model.log || true
218
+
219
+ integration-ios:
220
+ name: integration — iPhone simulator + live API
221
+ needs: test
222
+ runs-on: macos-latest
223
+ timeout-minutes: 40
224
+ env:
225
+ T1_KEYMASTER_DIR: ${{ github.workspace }}/.ci-keys
226
+ T1_DB_PATH: ${{ github.workspace }}/.ci-t1.sqlite3
227
+ T1_HYPERLINK_ENABLED: "1"
228
+ T1_LMSTUDIO_ENABLED: "1"
229
+ T1_LMSTUDIO_URL: http://127.0.0.1:1234
230
+ T1_ENVIRONMENT: development
231
+ steps:
232
+ - uses: actions/checkout@v4
233
+ - uses: actions/setup-python@v5
234
+ with:
235
+ python-version: "3.12"
236
+
237
+ - name: Install with the server extra
238
+ run: |
239
+ python -m pip install --upgrade pip
240
+ pip install -e '.[t1api]'
241
+
242
+ - name: Start the fake model and the T1 API
243
+ run: |
244
+ nohup python scripts/ci/fake_model_server.py --port 1234 > fake-model.log 2>&1 &
245
+ export T1_TOKEN_SECRET="$(python -c 'import secrets;print(secrets.token_hex(32))')"
246
+ echo "T1_TOKEN_SECRET=$T1_TOKEN_SECRET" >> "$GITHUB_ENV"
247
+ nohup python -m uvicorn hypernix.t1api.app:create_app --factory \
248
+ --host 127.0.0.1 --port 8000 > t1api.log 2>&1 &
249
+ # Both, not just the API. This job used to wait only for port
250
+ # 8000, and a macOS runner is slow enough starting a Python
251
+ # process that the probe reached the bridge before the fake
252
+ # model was listening — which fails as MODEL_UNAVAILABLE and
253
+ # reads as a broken bridge rather than a race.
254
+ python scripts/ci/wait_for_http.py http://127.0.0.1:1234/v1/models \
255
+ --timeout 90 --name "the fake model" --log fake-model.log
256
+ python scripts/ci/wait_for_http.py http://127.0.0.1:8000/health \
257
+ --timeout 90 --name "the T1 API" --log t1api.log
258
+
259
+ - name: Mint this job's own key and check the API from outside
260
+ run: python scripts/ci/integration_probe.py --url http://127.0.0.1:8000
261
+
262
+ - name: Generate the Xcode project
263
+ run: |
264
+ brew install xcodegen
265
+ cd ios && xcodegen generate
266
+
267
+ - name: Boot an iPhone simulator
268
+ id: sim
269
+ run: |
270
+ device="$(python3 ios/scripts/pick_simulator.py)"
271
+ echo "device=$device" >> "$GITHUB_OUTPUT"
272
+ echo "picked: $device"
273
+ xcrun simctl boot "$device" || true
274
+ xcrun simctl bootstatus "$device" -b || true
275
+
276
+ - name: Build and test the app on the simulator
277
+ run: |
278
+ cd ios
279
+ xcodebuild test \
280
+ -project HyperLink.xcodeproj \
281
+ -scheme HyperLink \
282
+ -destination "id=${{ steps.sim.outputs.device }}" \
283
+ CODE_SIGNING_ALLOWED=NO \
284
+ | xcpretty || xcodebuild test \
285
+ -project HyperLink.xcodeproj \
286
+ -scheme HyperLink \
287
+ -destination "id=${{ steps.sim.outputs.device }}" \
288
+ CODE_SIGNING_ALLOWED=NO
289
+
290
+ - name: Shut it all down and delete the keys
291
+ if: always()
292
+ run: |
293
+ xcrun simctl shutdown all || true
294
+ pkill -f 'uvicorn hypernix.t1api' || true
295
+ pkill -f fake_model_server || true
296
+ remaining="$(ls -1 "$T1_KEYMASTER_DIR"/*.json 2>/dev/null | wc -l | tr -d ' ')"
297
+ echo "keys still in the store: $remaining"
298
+ if [ "$remaining" -gt 1 ]; then
299
+ echo "::error::the probe left ${remaining} keys behind"
300
+ exit 1
301
+ fi
302
+ rm -rf "$T1_KEYMASTER_DIR" "$T1_DB_PATH"
303
+
304
+ - name: Logs (on failure)
305
+ if: failure()
306
+ run: |
307
+ echo '--- t1api ---'; tail -n 100 t1api.log || true
308
+ echo '--- fake model ---'; tail -n 40 fake-model.log || true
309
+
129
310
  build-check:
130
311
  name: build sdist + wheel (smoke)
131
312
  needs: triage
@@ -0,0 +1,61 @@
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ # This workflow checks out code, performs a Codacy security scan
7
+ # and integrates the results with the
8
+ # GitHub Advanced Security code scanning feature. For more information on
9
+ # the Codacy security scan action usage and parameters, see
10
+ # https://github.com/codacy/codacy-analysis-cli-action.
11
+ # For more information on Codacy Analysis CLI in general, see
12
+ # https://github.com/codacy/codacy-analysis-cli.
13
+
14
+ name: Codacy Security Scan
15
+
16
+ on:
17
+ push:
18
+ branches: [ "main" ]
19
+ pull_request:
20
+ # The branches below must be a subset of the branches above
21
+ branches: [ "main" ]
22
+ schedule:
23
+ - cron: '37 19 * * 0'
24
+
25
+ permissions:
26
+ contents: read
27
+
28
+ jobs:
29
+ codacy-security-scan:
30
+ permissions:
31
+ contents: read # for actions/checkout to fetch code
32
+ security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
33
+ actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
34
+ name: Codacy Security Scan
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ # Checkout the repository to the GitHub Actions runner
38
+ - name: Checkout code
39
+ uses: actions/checkout@v4
40
+
41
+ # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
42
+ - name: Run Codacy Analysis CLI
43
+ uses: codacy/codacy-analysis-cli-action@d840f886c4bd4edc059706d09c6a1586111c540b
44
+ with:
45
+ # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
46
+ # You can also omit the token and run the tools that support default configurations
47
+ project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
48
+ verbose: true
49
+ output: results.sarif
50
+ format: sarif
51
+ # Adjust severity of non-security issues
52
+ gh-code-scanning-compat: true
53
+ # Force 0 exit code to allow SARIF file generation
54
+ # This will handover control about PR rejection to the GitHub side
55
+ max-allowed-issues: 2147483647
56
+
57
+ # Upload the SARIF file generated in the previous step
58
+ - name: Upload SARIF results file
59
+ uses: github/codeql-action/upload-sarif@v3
60
+ with:
61
+ sarif_file: results.sarif
@@ -0,0 +1,107 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL Advanced"
13
+
14
+ on:
15
+ push:
16
+ branches: [ "main" ]
17
+ pull_request:
18
+ branches: [ "main" ]
19
+ schedule:
20
+ - cron: '21 17 * * 0'
21
+
22
+ jobs:
23
+ analyze:
24
+ name: Analyze (${{ matrix.language }})
25
+ # Runner size impacts CodeQL analysis time. To learn more, please see:
26
+ # - https://gh.io/recommended-hardware-resources-for-running-codeql
27
+ # - https://gh.io/supported-runners-and-hardware-resources
28
+ # - https://gh.io/using-larger-runners (GitHub.com only)
29
+ # Consider using larger runners or machines with greater resources for possible analysis time improvements.
30
+ runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31
+ permissions:
32
+ # required for all workflows
33
+ security-events: write
34
+
35
+ # required to fetch internal or private CodeQL packs
36
+ packages: read
37
+
38
+ # only required for workflows in private repositories
39
+ actions: read
40
+ contents: read
41
+
42
+ strategy:
43
+ fail-fast: false
44
+ matrix:
45
+ include:
46
+ - language: actions
47
+ build-mode: none
48
+ - language: c-cpp
49
+ build-mode: none
50
+ - language: javascript-typescript
51
+ build-mode: none
52
+ - language: python
53
+ build-mode: none
54
+ - language: swift
55
+ build-mode: autobuild
56
+ # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
57
+ # Use `c-cpp` to analyze code written in C, C++ or both
58
+ # Use 'java-kotlin' to analyze code written in Java, Kotlin or both
59
+ # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
60
+ # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
61
+ # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
62
+ # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
63
+ # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
64
+ steps:
65
+ - name: Checkout repository
66
+ uses: actions/checkout@v7
67
+
68
+ # Add any setup steps before running the `github/codeql-action/init` action.
69
+ # This includes steps like installing compilers or runtimes (`actions/setup-node`
70
+ # or others). This is typically only required for manual builds.
71
+ # - name: Setup runtime (example)
72
+ # uses: actions/setup-example@v1
73
+
74
+ # Initializes the CodeQL tools for scanning.
75
+ - name: Initialize CodeQL
76
+ uses: github/codeql-action/init@v4
77
+ with:
78
+ languages: ${{ matrix.language }}
79
+ build-mode: ${{ matrix.build-mode }}
80
+ # If you wish to specify custom queries, you can do so here or in a config file.
81
+ # By default, queries listed here will override any specified in a config file.
82
+ # Prefix the list here with "+" to use these queries and those in the config file.
83
+
84
+ # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
85
+ # queries: security-extended,security-and-quality
86
+
87
+ # If the analyze step fails for one of the languages you are analyzing with
88
+ # "We were unable to automatically build your code", modify the matrix above
89
+ # to set the build mode to "manual" for that language. Then modify this step
90
+ # to build your code.
91
+ # ℹ️ Command-line programs to run using the OS shell.
92
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
93
+ - name: Run manual build steps
94
+ if: matrix.build-mode == 'manual'
95
+ shell: bash
96
+ run: |
97
+ echo 'If you are using a "manual" build mode for one or more of the' \
98
+ 'languages you are analyzing, replace this with the commands to build' \
99
+ 'your code, for example:'
100
+ echo ' make bootstrap'
101
+ echo ' make release'
102
+ exit 1
103
+
104
+ - name: Perform CodeQL Analysis
105
+ uses: github/codeql-action/analyze@v4
106
+ with:
107
+ category: "/language:${{matrix.language}}"
@@ -44,6 +44,10 @@ on:
44
44
  description: "Tag + GitHub Release but skip PyPI / TestPyPI publishing."
45
45
  type: boolean
46
46
  default: false
47
+ skip_integration:
48
+ description: "Skip BOTH live-server integration jobs (API + iPhone simulator). They are the gate that proves a real server accepts a real key before anything publishes — only for a runner outage, never to get past a red test."
49
+ type: boolean
50
+ default: false
47
51
 
48
52
  concurrency:
49
53
  group: public-release-${{ github.ref }}
@@ -310,10 +314,199 @@ jobs:
310
314
  # ---------------------------------------------------------------------------
311
315
  # Create the GitHub Release and attach the built artifacts + SHA256SUMS.
312
316
  # ---------------------------------------------------------------------------
317
+ # ---------------------------------------------------------------------
318
+ # Live integration: a real server, a real key, a fake model.
319
+ # ---------------------------------------------------------------------
320
+ #
321
+ # Two jobs run after `cut` has built and tested the release, each minting
322
+ # its own T2 key and
323
+ # tearing it down afterwards. One drives the API; the other drives the
324
+ # iPhone app.
325
+ #
326
+ # A note on the shape, because it is not the obvious one. Hosted runners
327
+ # cannot reach each other over the network, so "job A hosts the server,
328
+ # job B connects to it" is not expressible here — there is no route
329
+ # between two runners. Each job therefore brings up the server it needs
330
+ # on its own runner. The split that matters is preserved: one job proves
331
+ # the API works against a client that authenticates from outside the
332
+ # process, the other proves the app works against a real server, and the
333
+ # release waits on both.
334
+ #
335
+ # The model is a stub speaking the OpenAI shape rather than a mock
336
+ # patched into the bridge, so the bridge, the routing engine and the
337
+ # serialisation are all the real ones. A mock would prove the mock works.
338
+
339
+ integration-api:
340
+ name: integration — live API + fake model
341
+ needs: cut
342
+ if: ${{ !inputs.skip_integration }}
343
+ runs-on: ubuntu-latest
344
+ timeout-minutes: 15
345
+ env:
346
+ # Both halves must agree on where the keys live. The server reads
347
+ # T1_KEYMASTER_DIR and so does gkey; leaving either to infer it from
348
+ # $HOME is how a key gets minted into a store the server is not
349
+ # reading, which looks exactly like a rejected key.
350
+ T1_KEYMASTER_DIR: ${{ github.workspace }}/.ci-keys
351
+ T1_DB_PATH: ${{ github.workspace }}/.ci-t1.sqlite3
352
+ T1_HYPERLINK_ENABLED: "1"
353
+ T1_LMSTUDIO_ENABLED: "1"
354
+ T1_LMSTUDIO_URL: http://127.0.0.1:1234
355
+ T1_ENVIRONMENT: development
356
+ steps:
357
+ - uses: actions/checkout@v4
358
+ - uses: actions/setup-python@v5
359
+ with:
360
+ python-version: "3.12"
361
+ cache: pip
362
+
363
+ - name: Install with the server extra
364
+ run: |
365
+ python -m pip install --upgrade pip
366
+ pip install -e '.[t1api]'
367
+
368
+ - name: Start the fake model
369
+ run: |
370
+ nohup python scripts/ci/fake_model_server.py --port 1234 \
371
+ > fake-model.log 2>&1 &
372
+ python scripts/ci/wait_for_http.py http://127.0.0.1:1234/v1/models \
373
+ --timeout 60 --name "the fake model" --log fake-model.log
374
+
375
+ - name: Start the T1 API
376
+ run: |
377
+ export T1_TOKEN_SECRET="$(python -c 'import secrets;print(secrets.token_hex(32))')"
378
+ echo "T1_TOKEN_SECRET=$T1_TOKEN_SECRET" >> "$GITHUB_ENV"
379
+ nohup python -m uvicorn hypernix.t1api.app:create_app --factory \
380
+ --host 127.0.0.1 --port 8000 > t1api.log 2>&1 &
381
+ python scripts/ci/wait_for_http.py http://127.0.0.1:8000/health \
382
+ --timeout 90 --name "the T1 API" --log t1api.log
383
+
384
+ - name: Mint a key, authorise it, and chat through the fake model
385
+ run: python scripts/ci/integration_probe.py --url http://127.0.0.1:8000
386
+
387
+ - name: Shut it down and prove no keys are left behind
388
+ if: always()
389
+ run: |
390
+ pkill -f 'uvicorn hypernix.t1api' || true
391
+ pkill -f fake_model_server || true
392
+ remaining="$(ls -1 "$T1_KEYMASTER_DIR"/*.json 2>/dev/null | wc -l | tr -d ' ')"
393
+ echo "keys still in the store: $remaining"
394
+ # The bootstrap key is expected — it is loopback-only and expires
395
+ # in three days. Anything the probe minted must be gone.
396
+ if [ "$remaining" -gt 1 ]; then
397
+ echo "::error::the probe left ${remaining} keys behind"
398
+ ls -la "$T1_KEYMASTER_DIR" || true
399
+ exit 1
400
+ fi
401
+ rm -rf "$T1_KEYMASTER_DIR" "$T1_DB_PATH"
402
+
403
+ - name: Server logs (on failure)
404
+ if: failure()
405
+ run: |
406
+ echo '--- t1api ---'; tail -n 100 t1api.log || true
407
+ echo '--- fake model ---'; tail -n 40 fake-model.log || true
408
+
409
+ integration-ios:
410
+ name: integration — iPhone simulator + live API
411
+ needs: cut
412
+ if: ${{ !inputs.skip_integration }}
413
+ runs-on: macos-latest
414
+ timeout-minutes: 40
415
+ env:
416
+ T1_KEYMASTER_DIR: ${{ github.workspace }}/.ci-keys
417
+ T1_DB_PATH: ${{ github.workspace }}/.ci-t1.sqlite3
418
+ T1_HYPERLINK_ENABLED: "1"
419
+ T1_LMSTUDIO_ENABLED: "1"
420
+ T1_LMSTUDIO_URL: http://127.0.0.1:1234
421
+ T1_ENVIRONMENT: development
422
+ steps:
423
+ - uses: actions/checkout@v4
424
+ - uses: actions/setup-python@v5
425
+ with:
426
+ python-version: "3.12"
427
+
428
+ - name: Install with the server extra
429
+ run: |
430
+ python -m pip install --upgrade pip
431
+ pip install -e '.[t1api]'
432
+
433
+ - name: Start the fake model and the T1 API
434
+ run: |
435
+ nohup python scripts/ci/fake_model_server.py --port 1234 > fake-model.log 2>&1 &
436
+ export T1_TOKEN_SECRET="$(python -c 'import secrets;print(secrets.token_hex(32))')"
437
+ echo "T1_TOKEN_SECRET=$T1_TOKEN_SECRET" >> "$GITHUB_ENV"
438
+ nohup python -m uvicorn hypernix.t1api.app:create_app --factory \
439
+ --host 127.0.0.1 --port 8000 > t1api.log 2>&1 &
440
+ # Both, not just the API. This job used to wait only for port
441
+ # 8000, and a macOS runner is slow enough starting a Python
442
+ # process that the probe reached the bridge before the fake
443
+ # model was listening — which fails as MODEL_UNAVAILABLE and
444
+ # reads as a broken bridge rather than a race.
445
+ python scripts/ci/wait_for_http.py http://127.0.0.1:1234/v1/models \
446
+ --timeout 90 --name "the fake model" --log fake-model.log
447
+ python scripts/ci/wait_for_http.py http://127.0.0.1:8000/health \
448
+ --timeout 90 --name "the T1 API" --log t1api.log
449
+
450
+ - name: Mint this job's own key and check the API from outside
451
+ run: python scripts/ci/integration_probe.py --url http://127.0.0.1:8000
452
+
453
+ - name: Generate the Xcode project
454
+ run: |
455
+ brew install xcodegen
456
+ cd ios && xcodegen generate
457
+
458
+ - name: Boot an iPhone simulator
459
+ id: sim
460
+ run: |
461
+ device="$(python3 ios/scripts/pick_simulator.py)"
462
+ echo "device=$device" >> "$GITHUB_OUTPUT"
463
+ echo "picked: $device"
464
+ xcrun simctl boot "$device" || true
465
+ xcrun simctl bootstatus "$device" -b || true
466
+
467
+ - name: Build and test the app on the simulator
468
+ run: |
469
+ cd ios
470
+ xcodebuild test \
471
+ -project HyperLink.xcodeproj \
472
+ -scheme HyperLink \
473
+ -destination "id=${{ steps.sim.outputs.device }}" \
474
+ CODE_SIGNING_ALLOWED=NO \
475
+ | xcpretty || xcodebuild test \
476
+ -project HyperLink.xcodeproj \
477
+ -scheme HyperLink \
478
+ -destination "id=${{ steps.sim.outputs.device }}" \
479
+ CODE_SIGNING_ALLOWED=NO
480
+
481
+ - name: Shut it all down and delete the keys
482
+ if: always()
483
+ run: |
484
+ xcrun simctl shutdown all || true
485
+ pkill -f 'uvicorn hypernix.t1api' || true
486
+ pkill -f fake_model_server || true
487
+ remaining="$(ls -1 "$T1_KEYMASTER_DIR"/*.json 2>/dev/null | wc -l | tr -d ' ')"
488
+ echo "keys still in the store: $remaining"
489
+ if [ "$remaining" -gt 1 ]; then
490
+ echo "::error::the probe left ${remaining} keys behind"
491
+ exit 1
492
+ fi
493
+ rm -rf "$T1_KEYMASTER_DIR" "$T1_DB_PATH"
494
+
495
+ - name: Logs (on failure)
496
+ if: failure()
497
+ run: |
498
+ echo '--- t1api ---'; tail -n 100 t1api.log || true
499
+ echo '--- fake model ---'; tail -n 40 fake-model.log || true
500
+
313
501
  github-release:
314
502
  name: GitHub Release
315
- needs: cut
316
- if: ${{ !inputs.dry_run }}
503
+ needs: [cut, integration-api, integration-ios]
504
+ if: >-
505
+ always() &&
506
+ needs.cut.result == 'success' &&
507
+ contains(fromJSON('["success","skipped"]'), needs.integration-api.result) &&
508
+ contains(fromJSON('["success","skipped"]'), needs.integration-ios.result) &&
509
+ !inputs.dry_run
317
510
  runs-on: ubuntu-latest
318
511
  permissions:
319
512
  contents: write
@@ -349,8 +542,12 @@ jobs:
349
542
  # ---------------------------------------------------------------------------
350
543
  pypi-publish:
351
544
  name: publish to PyPI
352
- needs: cut
545
+ needs: [cut, integration-api, integration-ios]
353
546
  if: >-
547
+ always() &&
548
+ needs.cut.result == 'success' &&
549
+ contains(fromJSON('["success","skipped"]'), needs.integration-api.result) &&
550
+ contains(fromJSON('["success","skipped"]'), needs.integration-ios.result) &&
354
551
  !inputs.dry_run &&
355
552
  !inputs.skip_pypi &&
356
553
  needs.cut.outputs.prerelease == 'false'
@@ -384,8 +581,12 @@ jobs:
384
581
  # ---------------------------------------------------------------------------
385
582
  testpypi-publish:
386
583
  name: publish to TestPyPI
387
- needs: cut
584
+ needs: [cut, integration-api, integration-ios]
388
585
  if: >-
586
+ always() &&
587
+ needs.cut.result == 'success' &&
588
+ contains(fromJSON('["success","skipped"]'), needs.integration-api.result) &&
589
+ contains(fromJSON('["success","skipped"]'), needs.integration-ios.result) &&
389
590
  !inputs.dry_run &&
390
591
  !inputs.skip_pypi &&
391
592
  needs.cut.outputs.prerelease == 'true'
@@ -19,6 +19,12 @@ recursive-include examples *
19
19
  # The whole scripts/ tree: tests/test_autofix_scripts.py runs the
20
20
  # autofix scripts, and the sdist ships tests/.
21
21
  recursive-include scripts *
22
+ # The installer and the service manager. tests/test_install_script.py and
23
+ # tests/test_hypernix_t1_service.py run them, and the sdist ships tests/ —
24
+ # so leaving these out makes the sdist's own test suite fail on files that
25
+ # are simply not there.
26
+ include install-t1.sh
27
+ recursive-include bin *
22
28
  recursive-include .github/workflows *.yml
23
29
  recursive-include wiki *.md
24
30
  recursive-include assets *.png *.svg *.jpg