tesserae-shell 0.1.2__tar.gz → 0.2.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.
Files changed (234) hide show
  1. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/CHANGELOG.md +25 -0
  2. tesserae_shell-0.2.0/NOTICE +140 -0
  3. tesserae_shell-0.2.0/PKG-INFO +117 -0
  4. tesserae_shell-0.2.0/README.md +91 -0
  5. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/pyproject.toml +8 -4
  6. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/__init__.py +3 -1
  7. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/app.py +190 -16
  8. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/build.py +193 -129
  9. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/controls.py +5 -0
  10. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/convert.py +9 -5
  11. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/focus.py +4 -0
  12. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/motion.py +2 -0
  13. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/rebuild.py +3 -3
  14. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/tables.py +5 -0
  15. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/cli.py +34 -1
  16. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/client.py +61 -2
  17. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/commands.py +33 -1
  18. tesserae_shell-0.2.0/src/tess_shell/config/confine.py +63 -0
  19. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/config/lock.py +18 -0
  20. tesserae_shell-0.2.0/src/tess_shell/config/permissions.py +62 -0
  21. tesserae_shell-0.2.0/src/tess_shell/config/registry.py +216 -0
  22. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/config/settings.py +12 -1
  23. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/data/tesserae-shell.service +1 -0
  24. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/exit_codes.py +1 -0
  25. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/files/header.py +20 -1
  26. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/files/loader.py +67 -14
  27. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/logging.py +9 -0
  28. tesserae_shell-0.2.0/src/tess_shell/migrate/__init__.py +1 -0
  29. tesserae_shell-0.2.0/src/tess_shell/migrate/rename.py +43 -0
  30. tesserae_shell-0.2.0/src/tess_shell/migrate/run.py +326 -0
  31. tesserae_shell-0.2.0/src/tess_shell/migrate/slots.py +240 -0
  32. tesserae_shell-0.2.0/src/tess_shell/migrate/steps.py +40 -0
  33. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/live.py +25 -5
  34. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/store.py +29 -2
  35. tesserae_shell-0.2.0/src/tess_shell/modproc/__init__.py +16 -0
  36. tesserae_shell-0.2.0/src/tess_shell/modproc/broker.py +436 -0
  37. tesserae_shell-0.2.0/src/tess_shell/modproc/child.py +614 -0
  38. tesserae_shell-0.2.0/src/tess_shell/modproc/childctx.py +784 -0
  39. tesserae_shell-0.2.0/src/tess_shell/modproc/probe.py +129 -0
  40. tesserae_shell-0.2.0/src/tess_shell/modproc/static.py +234 -0
  41. tesserae_shell-0.2.0/src/tess_shell/modproc/stub.py +200 -0
  42. tesserae_shell-0.2.0/src/tess_shell/modproc/supervisor.py +976 -0
  43. tesserae_shell-0.2.0/src/tess_shell/modproc/wire.py +248 -0
  44. tesserae_shell-0.2.0/src/tess_shell/modules/actions.py +67 -0
  45. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/modules/context.py +75 -9
  46. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/modules/host.py +348 -73
  47. tesserae_shell-0.2.0/src/tess_shell/modules/process_port.py +53 -0
  48. tesserae_shell-0.2.0/src/tess_shell/modules/running.py +156 -0
  49. tesserae_shell-0.2.0/src/tess_shell/modules/supervise.py +117 -0
  50. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/modules/ticks.py +12 -0
  51. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/notify.py +20 -2
  52. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/options.py +2 -0
  53. tesserae_shell-0.2.0/src/tess_shell/recovery.py +201 -0
  54. tesserae_shell-0.2.0/src/tess_shell/recovery_state.py +105 -0
  55. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/reloader.py +13 -3
  56. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/scanner.py +68 -18
  57. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/blocks.py +5 -0
  58. tesserae_shell-0.2.0/src/tess_shell/schema/deprecations.py +135 -0
  59. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/docs.py +20 -4
  60. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/export.py +16 -4
  61. tesserae_shell-0.2.0/src/tess_shell/schema/imports.py +52 -0
  62. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/model.py +1 -1
  63. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/shell.py +264 -60
  64. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/tree.py +27 -2
  65. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/values.py +3 -0
  66. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/api.py +11 -0
  67. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/control.py +17 -2
  68. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/windows.py +7 -1
  69. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Applications/Applications_Module.py +7 -25
  70. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Applications/Applications_Module.tdl +2 -18
  71. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Audio/Audio_Module.py +17 -12
  72. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Audio/Audio_Module.tdl +2 -18
  73. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Battery/Battery_Module.py +8 -7
  74. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Battery/Battery_Module.tdl +2 -15
  75. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Clock/Clock_Module.py +47 -6
  76. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Clock/Clock_Module.tdl +1 -1
  77. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Media/Media_Module.py +14 -10
  78. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Media/Media_Module.tdl +3 -18
  79. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Network/Network_Module.py +6 -7
  80. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Network/Network_Module.tdl +3 -17
  81. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tasks/Tasks_Module.py +9 -11
  82. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tasks/Tasks_Module.tdl +2 -19
  83. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray/Tray_Module.py +3 -2
  84. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray/Tray_Module.tdl +6 -5
  85. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray_Menu/Tray_Menu_Module.tdl +5 -4
  86. tesserae_shell-0.2.0/src/tess_shell/shipped/Volume_OSD/Volume_OSD_Module.py +132 -0
  87. tesserae_shell-0.2.0/src/tess_shell/shipped/Volume_OSD/Volume_OSD_Module.tdl +101 -0
  88. tesserae_shell-0.2.0/src/tess_shell/shipped/Volume_OSD/Volume_OSD_Style.tdl +21 -0
  89. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shortcuts.py +11 -11
  90. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/manager.py +66 -31
  91. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/popup.py +4 -0
  92. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/watch.py +21 -0
  93. tesserae_shell-0.2.0/src/tess_shell/watchdog.py +284 -0
  94. tesserae_shell-0.1.2/PKG-INFO +0 -272
  95. tesserae_shell-0.1.2/README.md +0 -247
  96. tesserae_shell-0.1.2/src/tess_shell/config/registry.py +0 -163
  97. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/.gitignore +0 -0
  98. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/LICENSE +0 -0
  99. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/__main__.py +0 -0
  100. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/appearance.py +0 -0
  101. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/__init__.py +0 -0
  102. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/defaults.py +0 -0
  103. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/images.py +0 -0
  104. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/marquee.py +0 -0
  105. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/model.py +0 -0
  106. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/shadow.py +0 -0
  107. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/binder/shapes.py +0 -0
  108. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/config/__init__.py +0 -0
  109. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/config/discovery.py +0 -0
  110. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/config/paths.py +0 -0
  111. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/config/uids.py +0 -0
  112. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/data/io.github.mindderivative.TesseraeShell.desktop +0 -0
  113. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/files/__init__.py +0 -0
  114. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/files/icons.py +0 -0
  115. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/kwin/TesseraeShell/contents/code/main.js +0 -0
  116. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/kwin/TesseraeShell/metadata.json +0 -0
  117. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/kwin/actions/activate.js +0 -0
  118. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/kwin/actions/close.js +0 -0
  119. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/kwin/actions/minimize.js +0 -0
  120. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/kwin_commands.py +0 -0
  121. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/__init__.py +0 -0
  122. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/args.py +0 -0
  123. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/expand.py +0 -0
  124. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/field.py +0 -0
  125. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/icons.py +0 -0
  126. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/look.py +0 -0
  127. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/marquee.py +0 -0
  128. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/model/uses.py +0 -0
  129. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/module.py +0 -0
  130. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/modules/__init__.py +0 -0
  131. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/py.typed +0 -0
  132. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/__init__.py +0 -0
  133. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/default_panels.py +0 -0
  134. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/default_popups.py +0 -0
  135. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/findings.py +0 -0
  136. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/graph.py +0 -0
  137. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/keys.py +0 -0
  138. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/look.py +0 -0
  139. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/ranges.py +0 -0
  140. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/schema/style.py +0 -0
  141. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/__init__.py +0 -0
  142. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/apps.py +0 -0
  143. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/audio.py +0 -0
  144. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/bus.py +0 -0
  145. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/desktop_entries.py +0 -0
  146. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/icons.py +0 -0
  147. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/kwin.py +0 -0
  148. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/kwin_package.py +0 -0
  149. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/layer.py +0 -0
  150. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/portal.py +0 -0
  151. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/pulse_native.py +0 -0
  152. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/shortcuts.py +0 -0
  153. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/services/tray.py +0 -0
  154. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/session.py +0 -0
  155. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Applications/Applications_Style.tdl +0 -0
  156. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Audio/Audio_Style.tdl +0 -0
  157. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Audio_Outputs/Audio_Outputs_Module.py +0 -0
  158. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Audio_Outputs/Audio_Outputs_Module.tdl +0 -0
  159. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Badge/Badge_Module.py +0 -0
  160. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Badge/Badge_Module.tdl +0 -0
  161. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Battery/Battery_Style.tdl +0 -0
  162. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Button/Button_Module.py +0 -0
  163. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Button/Button_Module.tdl +0 -0
  164. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Checkbox/Checkbox_Module.py +0 -0
  165. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Checkbox/Checkbox_Module.tdl +0 -0
  166. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Clock/Clock_Style.tdl +0 -0
  167. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Expander/Expander_Module.py +0 -0
  168. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Expander/Expander_Module.tdl +0 -0
  169. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Handles/NOTICE.txt +0 -0
  170. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Handles/tess_shell_bar.svg +0 -0
  171. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Handles/tess_shell_chevron.svg +0 -0
  172. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Handles/tess_shell_dots.svg +0 -0
  173. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Icon/Icon_Module.py +0 -0
  174. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Icon/Icon_Module.tdl +0 -0
  175. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Icons/MDI-LICENSE.txt +0 -0
  176. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Icons/NOTICE.txt +0 -0
  177. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Icons/mdi.json +0 -0
  178. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Image/Image_Module.py +0 -0
  179. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Image/Image_Module.tdl +0 -0
  180. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Images/error.png +0 -0
  181. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Label/Label_Module.py +0 -0
  182. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Label/Label_Module.tdl +0 -0
  183. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/List/List_Module.py +0 -0
  184. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/List/List_Module.tdl +0 -0
  185. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Marquee_Text/Marquee_Text_Module.py +0 -0
  186. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Marquee_Text/Marquee_Text_Module.tdl +0 -0
  187. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Menu/Menu_Module.py +0 -0
  188. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Menu/Menu_Module.tdl +0 -0
  189. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/MenuItem/MenuItem_Module.py +0 -0
  190. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/MenuItem/MenuItem_Module.tdl +0 -0
  191. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Network/Network_Style.tdl +0 -0
  192. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/ProgressBar/ProgressBar_Module.py +0 -0
  193. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/ProgressBar/ProgressBar_Module.tdl +0 -0
  194. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Slider/Slider_Module.py +0 -0
  195. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Slider/Slider_Module.tdl +0 -0
  196. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Stylesheets/Default_Stylesheet.tdl +0 -0
  197. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Task_Item/Task_Item_Module.py +0 -0
  198. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Task_Item/Task_Item_Module.tdl +0 -0
  199. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Task_Item/Task_Item_Style.tdl +0 -0
  200. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/TextBox/TextBox_Module.py +0 -0
  201. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/TextBox/TextBox_Module.tdl +0 -0
  202. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/TextEditor/TextEditor_Module.py +0 -0
  203. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/TextEditor/TextEditor_Module.tdl +0 -0
  204. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/TextInput/TextInput_Module.py +0 -0
  205. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/TextInput/TextInput_Module.tdl +0 -0
  206. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Themes/Default_Theme.tdl +0 -0
  207. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Toggle/Toggle_Module.py +0 -0
  208. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Toggle/Toggle_Module.tdl +0 -0
  209. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray_Item/Tray_Item_Module.py +0 -0
  210. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray_Item/Tray_Item_Module.tdl +0 -0
  211. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray_Item/Tray_Item_Style.tdl +0 -0
  212. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Tray_Menu/Tray_Menu_Module.py +0 -0
  213. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Workspaces/Workspaces_Module.py +0 -0
  214. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Workspaces/Workspaces_Module.tdl +0 -0
  215. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/shipped/Workspaces/Workspaces_Style.tdl +0 -0
  216. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/signals.py +0 -0
  217. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/__init__.py +0 -0
  218. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/bar.py +0 -0
  219. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/focus.py +0 -0
  220. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/frame.py +0 -0
  221. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/frame_shader.py +0 -0
  222. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/handle.py +0 -0
  223. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/hotplug.py +0 -0
  224. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/join.py +0 -0
  225. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/join_concave.py +0 -0
  226. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/join_param.py +0 -0
  227. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/join_shader.py +0 -0
  228. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/join_structure.py +0 -0
  229. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/mode.py +0 -0
  230. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/mode_driver.py +0 -0
  231. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/outline.py +0 -0
  232. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/panel.py +0 -0
  233. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/popup_measure.py +0 -0
  234. {tesserae_shell-0.1.2 → tesserae_shell-0.2.0}/src/tess_shell/surfaces/ring.py +0 -0
@@ -290,3 +290,28 @@
290
290
  - Correction: the M5g kit's layer-rule step (`tests/kwin/drive_m5g.py`, `6-layer-rule`) said the window rule's `layer` does not apply to a layer-shell surface in KWin 6.8.2. That was a measurement in a private `kwin_wayland --virtual` (the shell's surface was listed with an empty class and the rule changed no layer), and the maintainer has since seen the rule work on his real KWin (2026-11-16). The kit now reports what the sandbox observed and says it does not reproduce the real session; `kwin rule` stays as it is. What differs between the two is not known. He also reports that every OVERLAY-layer surface (the Popups and Panels with `Layer: OVERLAY`) sat above the Plasma panels in all his earlier testing, so `Layer: OVERLAY` is the layer-shell way to be above them and the rule is a separate matter for surfaces on the default `TOP` layer.
291
291
  - Guide tooling fix (found by CI on the 0.1.2 bump): the generated page of an example folder listed stray `.pyc` files, so its text depended on whether the examples test had run first in the same process (it makes `__pycache__`), and the page committed from a clean checkout differed from the one CI regenerated. `tests/guide_tables.py` now ignores `__pycache__`; the page no longer depends on test order.
292
292
 
293
+
294
+ ## 0.2.0 - 2026-11-20
295
+
296
+ - Moved to tesserae-el 0.2.0 (floor `>=0.2.0,<0.3`; language TEL 0.1 unchanged). TEL 0.2.0 removed its template form (`Template`, `compile_template`, `fill_template`, the `{{ }}` delimiter): the shell needed no code change, because it has split slot text itself since the TDL 0.2 move and compiles each slot with `compile_expression`. The whole suite passes against 0.2.0 (5670 passed, 1 skipped). tesserae-el 0.1.x is no longer accepted.
297
+ - tre 0.6.9 (`tesserae-engine>=0.6.9,<0.7`; TRE-REQ-020 and TRE-REQ-021). (1) `ctx.announce(text, *, politeness="polite", use=None)`, new in the module contract: a screen reader reads `text` once (`Window.announce` of the window of the use; `politeness` is `"polite"` or `"assertive"`; safe from any thread, it runs on the loop). With no `use` it is said for the module's first use on an open window, so a module on two Bars is not read twice; the same text twice running is said twice; it is said although the module's block is hidden. A text that is empty or another politeness raises `ValueError`. (2) Battery, Network, Media, Audio, Tasks and the Launcher's Applications module use it, and the live `Announcer` Box (1x1, `Live: POLITE`), the `announcement` value and the zero-width-space toggle of the Launcher are gone: what the modules say and when is unchanged. The Tasks module now also says the last window closing, which no live block could (the row is out of the accessibility tree while it is empty). The `announce` params are unchanged. A user module that used its own `Live` Box keeps working (the block key `Live` is unchanged). (3) The first-`configure` workaround of PR #35 is removed: tre now sends a `LayerWindow.set` made before the surface exists once it does. A live test reads `set_keyboard_interactivity(1)` of the Launcher in `WAYLAND_DEBUG`; the Launcher's key test was run 20 times under 48 busy loops (see the build log for the count). (4) The announcements are tested through the accessibility bus too: `tests/test_announce_atspi.py` starts a private AT-SPI bus (`tests/atspi_env.py`, adapted from tre's) and reads the `Announcement` signals of a real shell on a private sway (polite and assertive, a repeated text, a hidden module); it is skipped when `at-spi2-registryd`, `dbus-daemon` or `busctl` is missing. Not Orca: that is the maintainer's check.
298
+ - M7e third-party notices: a `NOTICE` file at the repository root, carried in the wheel (`dist-info/licenses/NOTICE`, through `license-files` in `pyproject.toml`) and in the sdist. It lists the assets inside the package (the Material Design Icons set `shipped/Icons/mdi.json`, Apache-2.0, with its licence text; the three handle icons and `shipped/Images/error.png`, made for Tesserae Shell, MIT), what `tesserae-engine` bundles (the Roboto, Noto Sans Arabic and Hack Nerd Font Mono fonts embedded in `tess_re/_core*.so` with their licences, the statically linked Rust crates by licence expression, the five shared libraries copied in by auditwheel), and every runtime dependency, direct and transitive, with its version range, the licence its release declares and its project URL; Pillow's bundled native libraries are named. `tests/test_notice.py` fails when a non-source file is added to the package, a dependency is added or its range or licence changes, or a dependency's wheel bundles a native library, without the matching line in `NOTICE`, and builds the wheel and sdist (`uv build`, from uv's cache when offline) to check that both carry it. The README states the licence of the shipped assets. No change to the shell's own MIT licence or to a dependency range.
299
+ - M7g, the real-hardware kit (`tests/kwin/prepare_m7g_hardware.py` writes `/tmp/tess-kwin-m7g`; starts nothing): three lines for what only a person can do, each as exact steps and each script writing its result to `results/` and one line to `results.txt` (no terminal output to copy). (1) Orca: the shell on the real session with fake NetworkManager and UPower on one private system bus (`tests/kwin/fake_hardware.py`) and three made-up applications, one command per event, the literal texts Orca must speak (Network disconnected / connected, Battery critical, the Launcher's selected row, No results), and a checker that reads Orca's own debug file. The Orca screen reader is not installed on the maintainer's machine, and `orca` on his PATH is another program (the AppImage orca-ide): the kit calls `/usr/bin/orca` and says so. The texts are proved in the sandbox: `tests/test_kwin_m7g_kit.py` starts the kit's own `orca-1-start-shell.sh` on a private sway and a private AT-SPI bus and compares the real `Announcement` signals with the checklist (it found that the M5b battery script set the warning level before the percentage, so the module would have said 82 percent: the kit's copy sets the percentage first). (2) Real Wi-Fi with the wired connection kept: snapshots of the wired device, address and default route before and after joining and leaving a Wi-Fi network, never taking wired down (so the Wi-Fi bars and a captive portal cannot be shown on his machine; the M5c fake shows the states). (3) Real audio: speakers and a Bluetooth headset, the icon and tooltip the Audio module must show printed from the real default output with the shell's own functions. No kit asks for a cable or power pull any more (R-33): the M5c gallery lines that asked for an Ethernet cable pull now point at the fake, and the M3c hot-plug check says a monitor is switched off and on, never unplugged.
300
+ - M7f known gaps: (1) a Bar's `Reveal_Key` is removed (a Bar is always shown, `Auto_Hide` is not built, so the key it registered, `Show_<Name>`, had nothing to reveal): a Bar that writes it is a `removed-key` error at the key with the hint to delete it, `BarDef.reveal_key` and the `Bar` entry of the export's `shortcuts.surface_keys` are gone, and `schema_version` is 1.10 (a key left the schema; the rule of 1.1 to 1.9 was additive, this one is not). (2) Clock `hour_cycle: desktop` is 12 hours when the time format of the Clock's locale counts to 12 (`T_FMT` names `%p`, `%P`, `%r`, `%I` or `%l`; en_US does, de_DE and en_GB do not) and 24 otherwise; the locale is the `locale` param, else the first of `LC_ALL`, `LC_TIME` and `LANG` that is set (the shell never calls `setlocale` for itself), and one that is unset, `C`, `POSIX` or not installed is 24 hours. The shell reads no clock-format value from the desktop. (3) The README's "Not built yet" paragraph is rewritten against the schema's not-built tables and the code. (4) The headers of `Tray_Module.tdl` and `Tray_Menu_Module.tdl` and the Tray module docstring now say what the code does: the menu opens beside the clicked icon, and the shell provides the three Popups with `Max_Height: 60%`. Importing another `_Shell.tdl` is not part of this.
301
+ - Security model for user Python (M7a of the M7 Brief; Security Model, posture A: a module is trusted code in the shell's process, and the guide and README now say so in the maintainer's words). (1) A module's Python was already imported by its file path (`compile` and `exec` into `tess_shell_user_modules.<Name>`) and nothing puts a folder on `sys.path`; a test proves a `json.py` beside a module does not shadow the standard library. (2) `insecure-permissions` (warning, once for each path): the configuration folder, the folders that hold modules, each of your module folders and each module's Python file, when group or others can write it or another user owns it; found by `scan`, so at start, at every reload and in `check`, and the shell starts anyway. `tesserae-shell check --strict` (new) turns any warning into exit code 1. (3) `path-outside-config` (error, `file:line:column`): every path a shell file writes (`Import:`, a module's `Style:`, a `Bitmap` or `SVG` `Source`, a `path` param and now its `Default` too, which is made absolute like a call's value, an icon param's file) is resolved by one helper, `config/confine.py`, and must end inside the configuration folder, a `Directories` folder or the package's `shipped` folder after `..` and symbolic links are resolved (absolute paths in `settings.tdl` are the user's own and are not checked). This is a behaviour change: a shell file that named an image or SVG elsewhere (an absolute path, `~/Pictures/...`) now needs the file inside the folder; the M4b gallery kit copies its fixture images in. (4) The module context was read: only `ctx.log` (a loguru logger, which has `add` and `remove`) and `ctx.dbus.layer` are handles to shell objects, and none gives a window, a surface, the registry, the loader or TEL; nothing changed. (5) `ModuleHost.callbacks` is the running-callback record (`modules/running.py`, `CallbackRecord.running()` gives `RunningCallback(module, entry, started)` or `None` to any thread; two stores and two clock reads for each callback): every module callback on the loop is in it (events, `Call`, ticks, `ctx.call_soon`, service hooks, the lifecycle, the window list, `on_shown`, apps `on_changed`, import and `__init__`). A callback over 4 ms is logged at debug with the module's name; a module with more than 100 of them in a minute gets one `slow-module` warning a minute naming the entry point most often over. (6) A lifecycle method that raises marks only that module failed (the log line carries its UID) and `ModuleHost` restarts it from a fresh import after 1, 2, 4, 8 and 16 seconds (at most 60, five tries) on the shared time source's second tick, which it subscribes to only while a restart waits; then it stays failed until a reload, which gives it five new tries; a restart that ran a minute before failing again starts a new run of tries. The host's clock is a constructor argument. `many-threads` (warning, once for each module until it is reloaded): more than 16 live threads whose stack runs code from the module's Python file (or its own folder), checked at the end of the first callback after each minute, with no timer. (7) The shell's own log lines were read: none carries a notification, a clipboard value or file content; `ctx.announce` no longer repeats the spoken text in its two debug lines (it can be a window title or a track name); one debug line (`focus: <block> '<label>' (ring)`) prints the focused block's accessible label, which for a Tasks entry is a window title, and stays because the live tests and a hand-check kit read it (listed in the M7a report as a decision to confirm). (8) Applications logs ids only (a test with secret arguments proves it). Tests: `tests/test_security_*.py`. `report()` now logs a warning finding at warning level (it logged every finding as an error).
302
+ - M7h volume OSD, a shipped module: `Volume_OSD { duration: 1500, show_name: true }` in a Panel that starts hidden (`Visible: false`), is click-through (`Input_Region: []`), takes no keyboard (`Keyboard: NONE`) and sits on `Layer: OVERLAY`. It follows the sound server through `ctx.audio` by itself (no Audio use needed) and, when the default output's volume or mute changes, shows an icon, the output's name, a `ProgressBar` and the percent (or `Muted`: the word, the `volume-off` icon and a dimmed bar) and hides the Panel `duration` ms after the last change; a change in that time starts the time again, and `duration` (above 0, at most 60000) replaces the Panel's own `Hide_After`. Nothing is shown at start, for the first reading of the server (or the first after it came back), for a switch of the default output (the new output's volume is the baseline) or for a microphone or output-list change. It never announces (the Audio module's `announce` does, so a change is said once); the card is a `GROUP` named `Volume, <output>, <45 %|muted>` holding a `PROGRESSBAR` named `Volume` with the icon and texts hidden from assistive technology, and no live region. New in the module contract: `ctx.surface.show(use=None, *, hide_after=None)` shows the Panel the use is on (a shown Panel's hide time starts over; `hide_after` is milliseconds for that show; False and one error logged for a use on no Panel), on `SurfacePort.show_use` and `SurfaceManager.show_use`. A `Volume_OSD` in a Bar logs once and does nothing. Guide: the Volume_OSD section of the modules page and `guide/examples/05-modules/volume-osd`. No brightness part: the shell has no brightness service.
303
+ - Crash recovery and the watchdog (M7b of the M7 Brief; Crash Recovery and Watchdog). (1) `tess_shell/watchdog.py`: a thread asks the loop once a second (`call_soon`, one callback queued at a time) to store a heartbeat; started on the loop's first turn, after the start sequence. A stall of 2 s logs one warning `loop stalled for N s` naming the module, entry point and run time from `host.callbacks.running()`, with the traceback of every thread (`faulthandler.dump_traceback`), the warning again every 5 s; at 10 s it sends `WATCHDOG=trigger` when `NOTIFY_SOCKET` and `WATCHDOG_USEC` are set, else logs `loop stalled for 10 s, no supervisor can restart it` and dumps the tracebacks every 30 s (nothing at all is sent to `NOTIFY_SOCKET` without `WATCHDOG_USEC`). `WATCHDOG=1` goes out every half `WATCHDOG_USEC`, only while the heartbeat is under 5 s old. `TESS_SHELL_TEST_WATCHDOG_SCALE` (tests only) scales every time. (2) The unit that `install-session` writes has `WatchdogSec=15` (in `[Service]`; the start-limit keys stay in `[Unit]`). (3) `tess_shell/recovery.py`: `crash.log` (`faulthandler`, all threads, plus the traceback of an unhandled exception; the previous file kept as `crash.log.1` and `.2`; a clean run leaves none), the marker `running` and `recovery.json` in the state folder; a start that finds the marker logs `previous run ended uncleanly` and counts it; `status` and `status --json` (`recovery`) show the count, the last crash and safe start, also with no shell running. (4) Safe start: the third unclean start within 10 minutes loads shipped modules only, skipping the Python of user modules with one warning that names them; `reload` or a clean stop ends it. (5) `registry.json` is written within 0.2 s of any change, off the loop thread, temporary file and rename; an unreadable or malformed one is moved aside as `registry.json.corrupt-<time>` and rebuilt from the files' UIDs (before: exit 1). (6) A lost Wayland connection (tre ends the loop, or a first frame fails because the compositor died) now stops the modules and saves the registry, then exits with code 69 (`LOST_COMPOSITOR`) so that `Restart=on-failure` restarts the shell; it was exit 2 without a stop sequence, which the unit never restarted. (7) `tests/kwin/prepare_m7b_watchdog.py`: the kit that runs it all in a private systemd user manager.
304
+ - M7f, import of another `_Shell.tdl` (the second half of the M7f gaps; Shell File > Structure and Config Discovery > Discovery, D22): a Monitor's `Children` write `Import: Parts/Dock_Shell.tdl` (a file or a list) and the surfaces of the imported file come in at that place, on that Monitor. The imported file is a `Shell { }` root that holds surface blocks and further `Import:` lines, no `Monitor`; imports nest, a path is relative to the file that writes it and goes through the M7a confinement (`path-outside-config`). New rules: `import-cycle` (for shell files too: the chain is printed), `import-not-found` (the path looked at), `import-failed` (at the `Import:` of a file with syntax, header or schema errors, which are reported at that file's own `file:line:column`), `import-twice` (a surface `Name` is unique across the shell, so a file is imported once; the vault example that imports one file under two Monitors needs a naming rule it does not give), `import-monitor`, `import-misplaced` (a shell file in a surface's `Children`, a module file in a Monitor's, `Import:` in `Shell`) and `main-shell-surfaces` (a Main_Shell with surfaces and no Monitor would show nothing); a name used in two files is the existing `name-duplicate` naming both positions. The `not-built` error for this `Import` is gone. A file of surfaces read alone (nothing imports it, or a `Shells/` scan) is checked block by block and follows no import. Hot reload: `Watcher.watch_files` also watches the directory of each imported file that no folder watch covers, on the names it imports; the reloader refreshes that after every scan, a refused one included, so a file just named and still wrong reloads when fixed. `Scan.imported` and `Scan.shell_files` carry the imported files; an imported file outside `Shells/` gets its `UID:` too. The export is `schema_version` 1.11 (an addition, as 1.1 to 1.9: a root `Imported_Shell`, head `Shell`, that allows `Bar`, `Panel`, `Popup` and `Frame`); the guide's page 4 has the section and an example (`guide/examples/04-surfaces/split`), the troubleshooting table the rules.
305
+ - Version policy and `tesserae-shell migrate` (M7d; the policy first governs 0.2.0): the guide ([The command line](https://mindderivative.github.io/tess-shell/guide/command-line/#versions-and-what-a-release-promises)) and the README state what 0.x and 1.x promise for the command line, the schema export, TDL files and the module contract. **New command `tesserae-shell migrate [--config-dir DIR] [--check] [--json] [--force]`**: reads every `.tdl` file of the configuration folders and applies ordered, idempotent text steps; step `0001` (TDL 0.1 to 0.2, `tess_shell/migrate/slots.py: rewrite_slots`, the shell's own scanner of the 0.1 slot rules until the library ships one) rewrites `{{ expression }}` to `<| expression |>` and `TDL: 0.1` to `TDL: 0.2` and changes no other byte (checked against the TDL 0.1.1 reader on 300 generated files); a slot holding `|>` outside a quote is reported and its file left whole. `--check` changes nothing and exits 1 if a file would change; the originals are copied to `<config>/.migrate-backup/<timestamp>/` before anything is written and each file is replaced through a temporary file and a rename; exit 2 when a file could not be migrated, exit 4 while a shell holds the instance lock (`--force` overrides); the verdict of `check` on the result is printed (`result` in `--json`). **Changed:** a `Shell:` pin newer than the shell is now `shell-too-old` (it was `version-pin`) with the hint "install tesserae-shell X.Y or later" and compares major.minor; a `TDL: 0.1` file that holds a `{{ }}` slot is refused with `tdl-old-version` and the hint to run `tesserae-shell migrate` (it showed a syntax error before). **Deprecation machinery** (`tess_shell/schema/deprecations.py`, empty table in 0.2.0): a deprecated key or block warns with `deprecated-key`, a command with `deprecated-command` on standard error, each naming the replacement and the release that removes it; the schema export marks it `deprecated: {since, removed_in, use}` (no schema version change while the table is empty); step `0002` renames it.
306
+ - M7a2, the module process test (`60 Quality/Module Process Test.md`; test infrastructure only, no product file changes): `tests/perf/module_process_test.py` measures the shell in posture A (every module in the shell's process, the product as it is), B (a process per module file) and C (only the user's modules in processes) on a private headless sway, private buses and the fakes (NetworkManager, UPower, MPRIS, StatusNotifier, KWin virtual desktops, PulseAudio), and writes `tests/perf/module-process-results.md` with the machine and versions, start time to `READY=1`, idle CPU, wake-ups and memory of the whole process tree, value to screen, throughput, hang, crash and reload containment, a computed verdict table of the decision rule (thresholds are named constants; the maintainer decides) and the cost in code of the move. It refuses to start when the 1-minute load average is above 0.5 (`--allow-load` overrides it and the report says so); `--smoke` cuts every duration to prove it works; `tests/test_module_process.py` (about 18 s: B1 and B2 start the default shell's modules in processes, a value reaches the surfaces, a hung and a killed module are contained and restarted, the refusal under load, the verdict table on canned numbers) is collected and `tests/test_module_process_smoke.py` (the whole smoke run, about 2 minutes) is marked `perf`. The harness runs the shell on private data only (made-up desktop entries, private `HOME` and `XDG_*`, no icon theme). The prototype of B and C lives in `tests/perf/proto/` (not in the wheel): it patches `ModuleHost._import` at run time with a stub class made from the module file's syntax tree, runs the module in a child (JSON lines over a socketpair, a shared-memory record of the running callback read by a watchdog), and keeps the module host's own code unchanged; services are B1 (each process opens its own D-Bus, PulseAudio and tray connections) or B2 (the shell keeps them and proxies calls and signals). Selected by `TESS_PROTO_POSTURE` and `TESS_PROTO_SERVICES`, read only by `tests/perf/proto/run_shell.py`; the shipped `tesserae-shell run` is unchanged. `pyproject.toml` allows long lines in those files (the report's markdown).
307
+ - The performance budgets read (M7c of the M7 Brief; Performance Budgets, D-045). `tests/perf/read_budgets.py` (`python -m tests.perf.read_budgets`; `--quick` for the smoke, `--allow-load` to start above a 1-minute load average of 0.5, which it refuses otherwise, `--only`, `--estimate`) reads every budget of the vault's ledger on a private headless sway with private buses and fakes and writes `tests/perf/budget-results.md` (machine, load, every number with its spread, PASS or FAIL against the vault's number and by how much a budget is missed; no budget value is changed); `tests/perf/budgets.md` says how each of the 26 budgets is measured and which test guards it. New headless regression tests, in the style of the idle tests: `tests/test_budget_idle.py` (wake-ups per thread group of a running shell; the 60 s variant is `perf`), `test_budget_start.py` (the steps of the start), `test_budget_reload.py` (10 surfaces; leaks, `perf`), `test_budget_watchdog.py` (the heartbeat's rate), `test_budget_dbus.py`, `test_budget_popup.py`, `test_budget_bind.py`, `test_budget_modules.py` and `test_budget_logging.py`. The numbers of the first runs were taken on a loaded machine (a smoke of the harness); the reading is the maintainer's full run on an idle one.
308
+ - M7c results and three budget values (the maintainer's decisions of 2026-11-19 on the four misses of the first real reading, `tests/perf/budget-results.md`, FULL mode, idle machine): B02 idle wake-ups is now at most 6 per second (read 5.16 with one Bar, a Clock and a Text), B12 the Launcher toggle's loop callback at most 2 ms p99 (read 1.75), B14 two `setShortcutKeys` per action as the client library sends them (read 2); B18, the bind of a typed tree of 3,101 nodes, stays 15 ms as a target (read 34.4 ms) and is open work. The harness constants, `tests/perf/budgets.md` and the report text carry the new limits.
309
+ - A reload that closes and opens surfaces no longer keeps the closed ones (SHELL-REQ-001). tre's `App` keeps every window it was given for good, and the listeners the shell had set on a closed Panel's window held its `Surface`, its `View` and so its whole tree: a reload that took nine Panels away and brought them back kept about 5 MiB of Python heap (13,000 objects, 9 `Surface`s, 142 nodes) and about 6 MiB of resident memory per cycle, found by a real `tess_re.App` in process and on a private sway. The manager now frees a surface's window listeners and nodes when tre has closed the window and the manager has let go of it (`free_window`, `SurfaceManager._ended`, either order); what stays is tre's own stub of each closed window (about 7 KiB of Python heap and 0.3 MiB resident per cycle of nine), a candidate tre request. A reload that changes only a style never leaked. New `tests/test_reload_leak.py` (12 s: 30 reloads of a Bar and nine Panels, live `Surface`, `View` and `LiveTree` and the Python heap between reload 6 and reload 30; fails without the fix; one strict `xfail` marks tre's window objects) over `tests/reload_rig.py` (the real reloader over a real, never run `tess_re.App`), and the reload case beside the Popup case of B16 in `tests/perf/budget_inproc_ui.py`.
310
+ - The lean B of the module process test (`60 Quality/Module Process Test.md`, open question 3; test infrastructure only, no product file changes): `tests/perf/module_process_test.py` takes the cells `L1` and `L2` (`--postures=A,L1,L2`), the posture `L` of `tests/perf/proto/parent.py` in which only the module files with Python of their own run in a process and the others are imported in the shell by the product's own code. "Python of its own" is read from the file's syntax tree (`has_own_code`): rule `strict` (default; a class that is only `pass`, a docstring or `...`) or `--lean-rule=validate` (also the widgets whose Python is only a `validate_use` check and literal constants). On the default shell `strict` keeps 3 of the 22 module files in the shell (Menu, Task_Item, Tray_Item) and `validate` 11, not the 13 the vault expected. The verdict table has L rows against A with the same thresholds, the decision rule names L when B fails and L passes, and a run without B says so; `--latency-reps` and `--contain-reps`, `--out` (a lean run writes a report of its own), the run time and the expected duration of the lean run (about 16 minutes) are in the report. New fast tests: `tests/test_module_process_lean.py`; the smoke test covers L1 and L2.
311
+ - M7a2 results (the maintainer's decision of 2026-11-19: posture C): `tests/perf/module-process-results.md` is the first full measurement (A, B1, B2, C1, C2; 43 min, idle machine): B fails only the memory row (+372 MB PSS against +150 MB: 22 children of about 17 to 19 MB each), C passes every row (about +17 MB per user module); value to screen p95 under 1.2 ms in every cell; a hung module process is contained (the picture keeps painting) and restarted 8 s after the hang began, a killed one in about 1.1 to 1.3 s. `module-process-results-lean-strict.md` and `module-process-results-lean-validate.md` are the lean B delta (A, L1, L2): the best variant (validate, L2) is +185 MB and still fails memory; 19 of the 22 module files have code of their own under the strict rule, 11 under the validate rule (not the 13 the note guessed). Next: build posture C.
312
+ - A closed Popup no longer keeps what the shell built for it (the Popup half of SHELL-REQ-001). tre's `App` keeps every window it was given for good, and the listeners the shell had set on a Popup's window (and the nodes' listeners under it) held its `OpenPopup`, its `LiveTree` and its content tree: with a real `App`, 100 open/close cycles kept 100 more `OpenPopup`, `LiveTree` and `PopupWindow` objects and 5.7 KiB of Python heap each, through every path (call and close, replaced by another popup, opened while closing, dismissed by the compositor, tooltips, submenus). `Popups._closed` now frees the window with `free_window` (the manager's, from the reload fix) when tre reports it closed. After 100 cycles the shell's own object counts are flat and the heap grows by about 1 KiB per popup, which is tre's `PopupWindow` (TRE-REQ-028: `App` should drop a closed window). Tests: `tests/test_popup_leak.py` (2 s, real `tess_re.App`, six paths; the tre part is a strict `xfail`); `popup_residue` of `tests/perf/budget_inproc_ui.py` (B16, `tests/test_budget_popup.py`) now runs on a real `App` and reads the heap per cycle too; `tests/test_popup.py`'s `rig` takes an `app`. Frame painter windows and Panels in `Debug.Panel_Hide: CLOSE` keep the same retention until tre drops closed windows.
313
+ - A large typed tree binds more than twice as fast: 3,101 nodes bind in about 16 ms (build, attach, dispose; 34 ms before, B18's target is 15) on a machine shared with other work. The binder keeps no `Wire` for a block that listens for nothing (no handler, state style, transition, name, control key, `Enabled: false`, `Focusable`, `Checked`, `Selected` or button role): such a block has `Entry.wire` `None` until a reload gives it one of those things; `View.update` and the tooltips only ever reach named blocks, which always have a wire. The position index that translates a tre error is made only when tre refuses the tree (planning again), a plan no longer copies the child props, a block with no state style or `Transition` skips both checks, the index passes (wires, controls, Marquees, Tab order) share one list of entries, `Entry.children` of a leaf is one shared empty tuple, and `convert.py` tests `isinstance` against tuples (`A | B` builds a union at every call). No change to what is built: `tests/test_binder_golden.py` compares the entries and tre's own properties of the standard modules and of typed trees with a record made before (`tests/fixtures/binder_golden.json`, `python -m tests.binder_golden` writes it); `tests/test_budget_bind.py` bounds the bind of the big tree at three times the target and asserts it gets no wires; `tests/test_binder_wires.py` covers what is wired and a reload that wires a plain block. `tests/perf/measure_bind.py` reports the steps; `tests/perf/bind-results.md` has the before and after.
314
+ - Posture C: a user module's Python runs in a child process (`60 Quality/Module Process Test.md`, decided 2026-11-19; `60 Quality/Security Model.md`). A user module is a `<Name>_Module.py` that does not ship with the package (`config.discovery.is_shipped`); it runs in ONE process per module file, started with `python -I -m tess_shell.modproc.child` over a socketpair (JSON lines; tuples, bytes and dicts with other than string keys are tagged; the shell never unpickles a child's data) and a shared-memory record of the running callback. Shipped modules and the default shell are untouched: no process, no thread, the same start (`tests/test_budget_start.py`). New package `tess_shell/modproc/`: `static.py` (the file's syntax tree read, never run: the stub class the host loads in place of the module, and `check`'s findings), `wire.py`, `child.py` and `childctx.py` (the process: the real `ModuleContext` with proxy ports, so every service stays in the shell, B2), `broker.py` (each call lands on the shell's real helper of the module's context; a use key that is not the module's is refused), `stub.py`, `supervisor.py` (spawn, messages, failures, watch, the start gate), `probe.py` (`check --import-modules`). The module host gets one port (`host.processes`, `modules/process_port.py`); `ActionSpec`, `action_spec` and `actions_of` moved to `modules/actions.py`; `ctx.on_tick` takes any `TickSource`. Behaviour: a callback that runs 2 s is named, 5 s gets the process killed (its threads' tracebacks go to its stderr first) and the M7a back-off restarts it; a process that ends is the error `module-process`; `slow-module` and `many-threads` are measured in the process and forwarded under the same codes; the watch is read from the shell watchdog's thread (`Watchdog.on_poll`: no thread of its own); `PR_SET_PDEATHSIG` and the pipe's end take a process down with the shell; SIGTERM, SIGINT and SIGHUP are ignored by a process (systemd's stop signals the control group, and `stop()` must run first); `NOTIFY_SOCKET` and the other service variables are not inherited; `python -I` keeps the module's folder off `sys.path`. `READY=1` and the `running` state are sent from a loop callback when every process started at the start has answered (`started`, `failed` or ended) or after 10 s (a warning names the modules still starting); with no module process the gate opens at once, in place. The surfaces never wait for a module, so a user module's first value can come after the first paint. `ctx` members that answer at once on the shell's loop (`is_popup_open`, `update_popup`, `focus`, `surface.hide`, `apps.search`, `icons.*`) are a request with a 2 s timeout (`ShellCallTimeout`, naming the module and the call); `dbus.available` is mirrored; `ctx.on_tick` is driven by the shell's one time source; `Event.stop()` has no effect (one warning per module); an `@action`'s result reaches `Call` and the command line through a future (`ControlService.on_loop` awaits it; a timeout says "the module's process did not answer"). A reload of a user module's Python spawns the new process beside the old one and stops the old one only when the new one has imported (a file that does not parse, or has no class or two, is refused at once with the old module running; a failed import is reported when it arrives and the old module runs on). `check` reads the Python of your own modules without running it (`module-import`, `module-classes`, `module-no-python`); `check --import-modules` imports each in a throwaway process (5 s each). `status` lists `module_processes` (only when there are some) and the client prints a line for them. `Debug { User_Modules_In_Process: true }` keeps user modules in the shell (a restart applies it; `schema_version` 1.12, additive). The user-facing security statement changed (guide page 2, README, `tests/test_security_docs.py`); guide pages 2, 5, 7, 9 and 10 describe the process. `tests/test_watchdog_live.py` now keeps its hanging module in the shell with that setting (the M7b watchdog watches the loop), and waits for a user module's Python to run after a reload. Tests: `tests/test_modproc_{static,wire,host,services,failures,reload,start,control,check,live,child}.py`, `tests/modproc_rig.py`.
315
+ - `ShellCallTimeout` is exported from `tess_shell` (the maintainer's decision of 2026-11-19): a module that runs in its own process (posture C) catches the timeout of a synchronous `ctx` call (`update_popup`, `is_popup_open`, `focus`, `surface.hide`, `apps.search`, `icons.*`, 2 s) by name: `from tess_shell import ShellCallTimeout`. It is still a `RuntimeError` subclass, so an `except RuntimeError` written earlier keeps working; the class lives in `services/api.py` beside the other errors a module can catch, and the module process raises that class.
316
+ - M7a2, the product cell P (cell `P` of the module process harness: posture C as built, no prototype patch): `--postures=A,P` runs A and P in the default and the plus-three-user-modules shells and the probe cells, with verdict rows for P, a 'Which C' comparison and a 'product only' command; the real run (`tests/perf/module-process-results-product.md`, 21 min on an idle machine) passes every row: default shell equal to A, with three user modules start +128 ms, wake-ups +0.32 per second, memory +51 MB, value to screen p95 0.66 ms, hang and kill contained.
317
+ - Two budgets moved by the maintainer (2026-11-20), after the idle re-read of 2026-11-19 (`tests/perf/budget-results.md`, B18 read 19.2 ms and the seconds-Clock row of B01 0.54 %): B18, the bind of a typed tree of 3,101 nodes, is now at most 20 ms (it was 15 ms; the bind was 34.4 ms before the work of #88), and B01, idle CPU, is now at most 0.6 % of one core (it was 0.5 %). The harness constants, `tests/perf/budgets.md`, the report text and the collected bind bound (three times the budget, 60 ms) carry the new values.
@@ -0,0 +1,140 @@
1
+ Tesserae Shell (tesserae-shell)
2
+ Copyright (c) Mind Derivative. Licensed under the MIT License (see LICENSE).
3
+
4
+ This file lists the third-party assets and components that the package ships or
5
+ needs at run time, with the licence of each and where it comes from. The
6
+ licence texts that the owners require to travel with their work travel with it:
7
+ inside this package for the assets in section 1, inside the wheels of the
8
+ dependencies for section 2 and 3 (each wheel's own dist-info/licenses).
9
+
10
+ tests/test_notice.py checks this file: every file of the package that is not
11
+ source code, every runtime dependency (direct and transitive) and the licence
12
+ of each must be named here, and the built wheel and sdist must contain this file.
13
+ Entries start with "* ".
14
+
15
+
16
+ 1. Assets inside this package (tess_shell/)
17
+
18
+ * shipped/Icons/mdi.json: the Material Design Icons set (icon prefix "mdi") by
19
+ Pictogrammers, https://github.com/Templarian/MaterialDesign, in Iconify's JSON
20
+ form. Licence: Apache-2.0 (the set's own "license" field says Apache-2.0).
21
+ Pictogrammers state that some of the icons are redistributed under their
22
+ respective licences and the others under Apache-2.0; the set as a whole is
23
+ distributed under the licence provided with it, and no per-icon list ships.
24
+ The Apache License 2.0 text is at https://www.apache.org/licenses/LICENSE-2.0.
25
+
26
+ * shipped/Icons/MDI-LICENSE.txt: the Pictogrammers Free License text that comes
27
+ with the icon set (icons and fonts Apache-2.0, code MIT). It must stay next to
28
+ mdi.json.
29
+
30
+ * shipped/Icons/NOTICE.txt: the attribution note for mdi.json, by this project.
31
+
32
+ * shipped/Handles/tess_shell_bar.svg
33
+ * shipped/Handles/tess_shell_chevron.svg
34
+ * shipped/Handles/tess_shell_dots.svg: the three handle icons of a peek,
35
+ artwork made by the maintainer for Tesserae Shell and flattened from his
36
+ Inkscape files. Licence: MIT, the licence of this package (LICENSE).
37
+
38
+ * shipped/Handles/NOTICE.txt: the note that says so, by this project.
39
+
40
+ * shipped/Images/error.png: the 64 x 64 image shown in place of an image that
41
+ cannot be decoded (a grey rounded square with a red cross). Made for
42
+ Tesserae Shell; no third-party source is recorded for it. Licence: MIT, the
43
+ licence of this package (LICENSE).
44
+
45
+ The package ships no font. Text is drawn with the fonts bundled in
46
+ tesserae-engine (section 2).
47
+
48
+
49
+ 2. Assets and components bundled by tesserae-engine (tess_re)
50
+
51
+ tesserae-engine 0.6.x ships one compiled extension, tess_re/_core*.so, and
52
+ five shared libraries beside it. The shell's text, layout and drawing run
53
+ through it. The licence of tesserae-engine itself is MIT. Checked against the
54
+ 0.6.9 wheel; the range in section 3 is the range this was checked for.
55
+
56
+ * Roboto-Regular and Roboto-Medium (the engine's default typeface; the shell's
57
+ `type.system.font_family` token holds "Roboto"): Google's Roboto 2.137,
58
+ embedded in _core*.so. Licence: Apache-2.0 (the fonts' own name table says
59
+ "Licensed under the Apache License, Version 2.0",
60
+ http://www.apache.org/licenses/LICENSE-2.0). Copyright 2011 Google Inc.
61
+ Source: https://fonts.google.com/specimen/Roboto
62
+
63
+ * Noto Sans Arabic Regular 2.013: embedded in _core*.so. Licence: SIL Open
64
+ Font License 1.1 (https://openfontlicense.org). Copyright 2022 The Noto
65
+ Project Authors, https://github.com/notofonts/arabic
66
+
67
+ * Hack Nerd Font Mono Regular (Nerd Fonts 3.5.1 patch of Hack): embedded in
68
+ _core*.so. Licence: MIT for the Hack project (Copyright 2018 Source Foundry
69
+ Authors, https://github.com/source-foundry/Hack), public domain for the DejaVu
70
+ work it derives from, and the Bitstream Vera License for Bitstream Vera Sans
71
+ Mono (Copyright 2003 Bitstream, Inc.). The font's name table carries these
72
+ terms. Source: https://www.nerdfonts.com/font-downloads
73
+
74
+ * Rust crates linked statically into _core*.so: 495 crates (among them vello,
75
+ parley, peniko, kurbo, accesskit, pyo3), each listed with its name, version
76
+ and SPDX licence expression in the wheel's
77
+ tesserae_engine-*.dist-info/sboms/engine-py.cyclonedx.json. The expressions
78
+ that occur are all permissive or offer a permissive choice: MIT, Apache-2.0,
79
+ Apache-2.0 WITH LLVM-exception, BSD-2-Clause, BSD-3-Clause, 0BSD, ISC, Zlib,
80
+ Unicode-3.0, BSL-1.0, Unlicense, a few "AND" combinations of those, and
81
+ "MIT OR Apache-2.0 OR LGPL-2.1-or-later" (the licensee picks MIT or Apache-2.0).
82
+
83
+ * tesserae_engine.libs/ (libbz2, libfontconfig, libfreetype, libpng15,
84
+ libuuid): shared libraries that the wheel builder (auditwheel) copied in from
85
+ CentOS 7 packages bzip2-libs 1.0.6-13, fontconfig 2.13.0-4.3, freetype
86
+ 2.8-14, libpng 1.5.13-8 and libuuid 2.23.2-65 (the wheel's
87
+ dist-info/sboms/auditwheel.cdx.json). That file records the package names and
88
+ versions, not licences, and the wheel carries no copy of these libraries'
89
+ licence texts. The upstream projects publish them under the bzip2 licence
90
+ (bzip2), the fontconfig licence (fontconfig, MIT-style), the FreeType
91
+ License or GPL-2.0 at the user's choice (FreeType), the PNG Reference Library
92
+ License version 1 (libpng 1.5) and BSD-3-Clause (libuuid, from util-linux);
93
+ the texts of the FreeType and libpng licences are also in Pillow's
94
+ dist-info/licenses/LICENSE (section 3).
95
+
96
+
97
+ 3. Runtime dependencies (pyproject.toml, `dependencies`, and what they need)
98
+
99
+ Version ranges are those of pyproject.toml. The licence is the one the
100
+ installed release declares in its metadata (License-Expression, License or the
101
+ "License ::" classifier) and the one in its dist-info/licenses file, where it
102
+ has one.
103
+
104
+ * tesserae-engine >=0.6.9,<0.7: MIT. https://github.com/mindderivative/tess-re
105
+ (bundled assets: section 2)
106
+
107
+ * tesserae-el >=0.2.0,<0.3: MIT. https://github.com/mindderivative/tess-el
108
+
109
+ * tesserae-dl >=0.2.0,<0.3: MIT. https://github.com/mindderivative/tess-dl
110
+
111
+ * tesserae-utils[image] >=0.2.1,<0.3: MIT.
112
+ https://github.com/mindderivative/tess-utils (the image extra needs pillow,
113
+ which the shell also names itself)
114
+
115
+ * loguru >=0.7.3,<0.8: MIT. https://github.com/Delgan/loguru (the wheel
116
+ declares MIT in its classifiers and carries no licence file)
117
+
118
+ * inotify-simple >=2.0.1,<3: BSD-2-Clause.
119
+ https://github.com/chrisjbillington/inotify_simple
120
+
121
+ * dbus-fast >=2.24,<4: MIT. https://github.com/bluetooth-devices/dbus-fast
122
+
123
+ * jeepney >=0.9,<0.10: MIT. https://gitlab.com/takluyver/jeepney
124
+
125
+ * pillow >=11,<14: MIT-CMU, as declared by 13.0.0, the release in uv.lock (the
126
+ licence file of the installed wheel decides for any other release in the
127
+ range). https://python-pillow.org
128
+ The wheel bundles native libraries in pillow.libs/: libXau, libavif,
129
+ libbrotlicommon, libbrotlidec, libfreetype, libharfbuzz, libjpeg, liblcms2,
130
+ liblzma, libopenjp2, libpng16, libsharpyuv, libtiff, libwebp, libwebpdemux,
131
+ libwebpmux, libxcb, libzstd (FreeType, HarfBuzz, Little CMS 2, libjpeg-turbo,
132
+ libpng, libtiff, libwebp, libavif, OpenJPEG, libxcb, libXau, brotli, xz,
133
+ zstd). Their licences are in the wheel's dist-info/licenses/LICENSE and
134
+ dist-info/sboms/pillow-*.cdx.json; the SBOM lists FreeType as FTL, HarfBuzz
135
+ and Little CMS 2 as MIT, libjpeg-turbo as IJG and BSD-3-Clause, libwebp as
136
+ BSD-3-Clause, OpenJPEG and libavif as BSD-2-Clause, libtiff as libtiff, libxcb
137
+ as X11, zlib as Zlib and FriBiDi as LGPL-2.1-or-later.
138
+
139
+ Development and documentation tools (pytest, ruff, mypy, mkdocs, ...) are not
140
+ shipped and not needed at run time.
@@ -0,0 +1,117 @@
1
+ Metadata-Version: 2.5
2
+ Name: tesserae-shell
3
+ Version: 0.2.0
4
+ Summary: Tesserae Shell: build desktop shells (bars, panels, docks, launchers, OSDs) from TDL files.
5
+ Project-URL: Repository, https://github.com/mindderivative/tess-shell
6
+ Author: Mind Derivative
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ License-File: NOTICE
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Operating System :: POSIX :: Linux
12
+ Classifier: Programming Language :: Python :: 3 :: Only
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Classifier: Typing :: Typed
15
+ Requires-Python: >=3.14
16
+ Requires-Dist: dbus-fast<4,>=2.24
17
+ Requires-Dist: inotify-simple<3,>=2.0.1
18
+ Requires-Dist: jeepney<0.10,>=0.9
19
+ Requires-Dist: loguru<0.8,>=0.7.3
20
+ Requires-Dist: pillow<14,>=11
21
+ Requires-Dist: tesserae-dl<0.3,>=0.2.0
22
+ Requires-Dist: tesserae-el<0.3,>=0.2.0
23
+ Requires-Dist: tesserae-engine<0.7,>=0.6.9
24
+ Requires-Dist: tesserae-utils[image]<0.3,>=0.2.1
25
+ Description-Content-Type: text/markdown
26
+
27
+ # tess-shell
28
+
29
+ Tesserae Shell is a tool for building desktop shells (bars, panels, docks, launchers, on-screen displays and widgets) that run alongside an installed desktop environment, with KDE Plasma on Wayland as the first target. You describe a shell in TDL files, add Python where you want logic, and the [tre](https://github.com/mindderivative/tre) rendering engine draws it.
30
+
31
+ **Documentation: https://mindderivative.github.io/tess-shell/**: installation, a tutorial, the user guide, the reference, the module API and the design record.
32
+
33
+ > Pre-alpha software. Keep a way back to your usual Plasma panel.
34
+
35
+ ## Install
36
+
37
+ You need a KDE Plasma desktop on Wayland and Python 3.14 or newer.
38
+
39
+ ```sh
40
+ uv tool install --python 3.14 tesserae-shell # or: pipx install --python python3.14 tesserae-shell
41
+ ```
42
+
43
+ ## Try it
44
+
45
+ Save this as `~/.config/tesserae-shell/Shells/Main_Shell.tdl`:
46
+
47
+ ```tdl
48
+ ---
49
+ TDL: 0.2
50
+ Name: Main_Shell
51
+ ---
52
+ Shell {
53
+ Monitor {
54
+ Name: Main
55
+ Index: default
56
+ Children {
57
+ Bar {
58
+ Name: Top_Bar
59
+ Edge: TOP
60
+ Width: EXPAND
61
+ Height: 32
62
+ Style { Background: $color.surface }
63
+ Children {
64
+ FlexBox {
65
+ Width: EXPAND
66
+ Flex: HORIZONTAL
67
+ Align_Items: CENTER
68
+ Padding: [12, 0, 12, 0]
69
+ Children {
70
+ Spacer { }
71
+ Clock { format: "%H:%M" }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ ```
80
+
81
+ ```sh
82
+ tesserae-shell check # validate every file; needs no compositor
83
+ tesserae-shell run # start the shell
84
+ ```
85
+
86
+ A bar with a clock appears along the top of every monitor, and saving the file changes it about 200 ms later. The [documentation](https://mindderivative.github.io/tess-shell/) goes on from there.
87
+
88
+ ## Commands
89
+
90
+ ```sh
91
+ tesserae-shell version # versions of the shell, tess_re, tess_el, tess_dl and Python
92
+ tesserae-shell check # validate settings.tdl and every shell file
93
+ tesserae-shell run # start the shell (needs a Wayland compositor with layer-shell)
94
+ tesserae-shell schema --json [--out FILE] # the shell's schema as JSON, for configuration tools
95
+ tesserae-shell migrate [--check] [--json] [--force] # bring your files to the current format (backup first)
96
+ tesserae-shell install-session [--print|--enable|--remove] [--force] # the desktop file and the systemd user unit
97
+ ```
98
+
99
+ The [command line page](https://mindderivative.github.io/tess-shell/guide/command-line/) lists every command, option and exit code.
100
+
101
+ ## Security
102
+
103
+ A module is Python that runs with your rights. The modules that ship with the shell run inside it; a module you write or add runs in a process of its own, so a module that hangs or crashes does not freeze your bars. That is not a sandbox: it can still read your files and start programs. Write modules yourself or read them before you add them. TDL files cannot run code. Keep your configuration folder writable by you only: the shell warns if it is not.
104
+
105
+ ## Development
106
+
107
+ ```sh
108
+ export UV_PROJECT_ENVIRONMENT=$HOME/Projects/pyDev/pyEnvs/tess-shell
109
+ uv sync
110
+ uv run pytest
111
+ ```
112
+
113
+ `docs/` is the documentation site (MkDocs); `docs/design/` is generated from the maintainer's design notes by [`tools/sync_docs.py`](tools/sync_docs.py). The [contributing page](https://mindderivative.github.io/tess-shell/contributing/) has the rest. To build the site locally: `uv sync --only-group docs && uv run --no-sync mkdocs serve`.
114
+
115
+ ## Licence and third-party notices
116
+
117
+ The shell is MIT licensed ([`LICENSE`](LICENSE)). The assets it ships follow that unless they say otherwise: the three peek handle icons (`shipped/Handles/`) and the fallback image `shipped/Images/error.png` were made for Tesserae Shell and are MIT; the icon set `shipped/Icons/mdi.json` is Material Design Icons by Pictogrammers, under Apache-2.0 (with the licence text, `MDI-LICENSE.txt`, next to it). The package ships no font; text is drawn with the fonts bundled in `tesserae-engine` (Roboto, Noto Sans Arabic and Hack Nerd Font Mono). [`NOTICE`](NOTICE) lists every shipped or required third-party asset and runtime dependency with its licence and source; it is in the wheel (`dist-info/licenses/NOTICE`) and the sdist, and `tests/test_notice.py` fails when an asset or a dependency is added without a line in it. When you add a dependency or an asset, add its line to `NOTICE` in the same change.
@@ -0,0 +1,91 @@
1
+ # tess-shell
2
+
3
+ Tesserae Shell is a tool for building desktop shells (bars, panels, docks, launchers, on-screen displays and widgets) that run alongside an installed desktop environment, with KDE Plasma on Wayland as the first target. You describe a shell in TDL files, add Python where you want logic, and the [tre](https://github.com/mindderivative/tre) rendering engine draws it.
4
+
5
+ **Documentation: https://mindderivative.github.io/tess-shell/**: installation, a tutorial, the user guide, the reference, the module API and the design record.
6
+
7
+ > Pre-alpha software. Keep a way back to your usual Plasma panel.
8
+
9
+ ## Install
10
+
11
+ You need a KDE Plasma desktop on Wayland and Python 3.14 or newer.
12
+
13
+ ```sh
14
+ uv tool install --python 3.14 tesserae-shell # or: pipx install --python python3.14 tesserae-shell
15
+ ```
16
+
17
+ ## Try it
18
+
19
+ Save this as `~/.config/tesserae-shell/Shells/Main_Shell.tdl`:
20
+
21
+ ```tdl
22
+ ---
23
+ TDL: 0.2
24
+ Name: Main_Shell
25
+ ---
26
+ Shell {
27
+ Monitor {
28
+ Name: Main
29
+ Index: default
30
+ Children {
31
+ Bar {
32
+ Name: Top_Bar
33
+ Edge: TOP
34
+ Width: EXPAND
35
+ Height: 32
36
+ Style { Background: $color.surface }
37
+ Children {
38
+ FlexBox {
39
+ Width: EXPAND
40
+ Flex: HORIZONTAL
41
+ Align_Items: CENTER
42
+ Padding: [12, 0, 12, 0]
43
+ Children {
44
+ Spacer { }
45
+ Clock { format: "%H:%M" }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ ```
54
+
55
+ ```sh
56
+ tesserae-shell check # validate every file; needs no compositor
57
+ tesserae-shell run # start the shell
58
+ ```
59
+
60
+ A bar with a clock appears along the top of every monitor, and saving the file changes it about 200 ms later. The [documentation](https://mindderivative.github.io/tess-shell/) goes on from there.
61
+
62
+ ## Commands
63
+
64
+ ```sh
65
+ tesserae-shell version # versions of the shell, tess_re, tess_el, tess_dl and Python
66
+ tesserae-shell check # validate settings.tdl and every shell file
67
+ tesserae-shell run # start the shell (needs a Wayland compositor with layer-shell)
68
+ tesserae-shell schema --json [--out FILE] # the shell's schema as JSON, for configuration tools
69
+ tesserae-shell migrate [--check] [--json] [--force] # bring your files to the current format (backup first)
70
+ tesserae-shell install-session [--print|--enable|--remove] [--force] # the desktop file and the systemd user unit
71
+ ```
72
+
73
+ The [command line page](https://mindderivative.github.io/tess-shell/guide/command-line/) lists every command, option and exit code.
74
+
75
+ ## Security
76
+
77
+ A module is Python that runs with your rights. The modules that ship with the shell run inside it; a module you write or add runs in a process of its own, so a module that hangs or crashes does not freeze your bars. That is not a sandbox: it can still read your files and start programs. Write modules yourself or read them before you add them. TDL files cannot run code. Keep your configuration folder writable by you only: the shell warns if it is not.
78
+
79
+ ## Development
80
+
81
+ ```sh
82
+ export UV_PROJECT_ENVIRONMENT=$HOME/Projects/pyDev/pyEnvs/tess-shell
83
+ uv sync
84
+ uv run pytest
85
+ ```
86
+
87
+ `docs/` is the documentation site (MkDocs); `docs/design/` is generated from the maintainer's design notes by [`tools/sync_docs.py`](tools/sync_docs.py). The [contributing page](https://mindderivative.github.io/tess-shell/contributing/) has the rest. To build the site locally: `uv sync --only-group docs && uv run --no-sync mkdocs serve`.
88
+
89
+ ## Licence and third-party notices
90
+
91
+ The shell is MIT licensed ([`LICENSE`](LICENSE)). The assets it ships follow that unless they say otherwise: the three peek handle icons (`shipped/Handles/`) and the fallback image `shipped/Images/error.png` were made for Tesserae Shell and are MIT; the icon set `shipped/Icons/mdi.json` is Material Design Icons by Pictogrammers, under Apache-2.0 (with the licence text, `MDI-LICENSE.txt`, next to it). The package ships no font; text is drawn with the fonts bundled in `tesserae-engine` (Roboto, Noto Sans Arabic and Hack Nerd Font Mono). [`NOTICE`](NOTICE) lists every shipped or required third-party asset and runtime dependency with its licence and source; it is in the wheel (`dist-info/licenses/NOTICE`) and the sdist, and `tests/test_notice.py` fails when an asset or a dependency is added without a line in it. When you add a dependency or an asset, add its line to `NOTICE` in the same change.
@@ -8,7 +8,7 @@ dynamic = ["version"]
8
8
  description = "Tesserae Shell: build desktop shells (bars, panels, docks, launchers, OSDs) from TDL files."
9
9
  readme = "README.md"
10
10
  license = "MIT"
11
- license-files = ["LICENSE"]
11
+ license-files = ["LICENSE", "NOTICE"]
12
12
  requires-python = ">=3.14"
13
13
  authors = [{ name = "Mind Derivative" }]
14
14
  classifiers = [
@@ -19,8 +19,8 @@ classifiers = [
19
19
  "Typing :: Typed",
20
20
  ]
21
21
  dependencies = [
22
- "tesserae-engine>=0.6.8,<0.7",
23
- "tesserae-el>=0.1.2,<0.2",
22
+ "tesserae-engine>=0.6.9,<0.7",
23
+ "tesserae-el>=0.2.0,<0.3",
24
24
  "tesserae-dl>=0.2.0,<0.3",
25
25
  "loguru>=0.7.3,<0.8",
26
26
  "inotify-simple>=2.0.1,<3",
@@ -47,6 +47,7 @@ docs = [
47
47
  "mkdocs>=1.6,<2",
48
48
  "mkdocs-material>=9.5",
49
49
  "mkdocs-github-admonitions-plugin>=0.1",
50
+ "mkdocs-awesome-nav>=3.3.0",
50
51
  ]
51
52
 
52
53
  [tool.hatch.version]
@@ -56,7 +57,7 @@ path = "src/tess_shell/__init__.py"
56
57
  packages = ["src/tess_shell"]
57
58
 
58
59
  [tool.hatch.build.targets.sdist]
59
- include = ["/src", "/LICENSE", "/README.md", "/CHANGELOG.md", "/pyproject.toml"]
60
+ include = ["/src", "/LICENSE", "/NOTICE", "/README.md", "/CHANGELOG.md", "/pyproject.toml"]
60
61
 
61
62
  [tool.pytest.ini_options]
62
63
  testpaths = ["tests"]
@@ -83,6 +84,9 @@ select = ["E", "F", "I", "B", "UP"]
83
84
  "tests/kwin/*" = ["E501"]
84
85
  # the Node harness and the scenarios of the KWin script are JavaScript in strings
85
86
  "tests/test_kwin_script_js.py" = ["E501"]
87
+ # the module process test: the report's markdown and its tables are long lines in strings
88
+ "tests/perf/module_process_test.py" = ["E501"]
89
+ "tests/perf/proto/*" = ["E501"]
86
90
 
87
91
  [tool.mypy]
88
92
  strict = true
@@ -1,4 +1,4 @@
1
- __version__ = "0.1.2"
1
+ __version__ = "0.2.0"
2
2
 
3
3
  from tess_shell.module import Event, Module, action # noqa: E402
4
4
  from tess_shell.services.api import ( # noqa: E402
@@ -7,6 +7,7 @@ from tess_shell.services.api import ( # noqa: E402
7
7
  ServiceState,
8
8
  ServiceTimeout,
9
9
  ServiceUnavailable,
10
+ ShellCallTimeout,
10
11
  )
11
12
 
12
13
  __all__ = [
@@ -17,6 +18,7 @@ __all__ = [
17
18
  "ServiceState",
18
19
  "ServiceTimeout",
19
20
  "ServiceUnavailable",
21
+ "ShellCallTimeout",
20
22
  "__version__",
21
23
  "action",
22
24
  ]