tavotto 0.8.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 (316) hide show
  1. tavotto-0.8.0/.gitignore +71 -0
  2. tavotto-0.8.0/LICENSE +661 -0
  3. tavotto-0.8.0/PKG-INFO +359 -0
  4. tavotto-0.8.0/README.md +326 -0
  5. tavotto-0.8.0/pyproject.toml +85 -0
  6. tavotto-0.8.0/pytest.ini +6 -0
  7. tavotto-0.8.0/src/tavotto/__init__.py +8 -0
  8. tavotto-0.8.0/src/tavotto/__main__.py +9 -0
  9. tavotto-0.8.0/src/tavotto/app.py +3030 -0
  10. tavotto-0.8.0/src/tavotto/cli_entry.py +33 -0
  11. tavotto-0.8.0/src/tavotto/desktop.py +345 -0
  12. tavotto-0.8.0/src/tavotto/engine/__init__.py +4 -0
  13. tavotto-0.8.0/src/tavotto/engine/ai_bridge.py +780 -0
  14. tavotto-0.8.0/src/tavotto/engine/ai_history.py +156 -0
  15. tavotto-0.8.0/src/tavotto/engine/ai_providers.py +249 -0
  16. tavotto-0.8.0/src/tavotto/engine/bootstrap.py +246 -0
  17. tavotto-0.8.0/src/tavotto/engine/brand.py +24 -0
  18. tavotto-0.8.0/src/tavotto/engine/cli.py +170 -0
  19. tavotto-0.8.0/src/tavotto/engine/config.py +288 -0
  20. tavotto-0.8.0/src/tavotto/engine/diagnostics.py +206 -0
  21. tavotto-0.8.0/src/tavotto/engine/discover.py +825 -0
  22. tavotto-0.8.0/src/tavotto/engine/handoff.py +470 -0
  23. tavotto-0.8.0/src/tavotto/engine/locate.py +462 -0
  24. tavotto-0.8.0/src/tavotto/engine/manifest.py +1081 -0
  25. tavotto-0.8.0/src/tavotto/engine/overrides.py +2357 -0
  26. tavotto-0.8.0/src/tavotto/engine/patchspec.py +163 -0
  27. tavotto-0.8.0/src/tavotto/engine/pathgeom.py +375 -0
  28. tavotto-0.8.0/src/tavotto/engine/pool.py +1463 -0
  29. tavotto-0.8.0/src/tavotto/engine/preflight.py +603 -0
  30. tavotto-0.8.0/src/tavotto/engine/probe.py +106 -0
  31. tavotto-0.8.0/src/tavotto/engine/profiles.py +178 -0
  32. tavotto-0.8.0/src/tavotto/engine/registry.py +191 -0
  33. tavotto-0.8.0/src/tavotto/engine/runtime.py +514 -0
  34. tavotto-0.8.0/src/tavotto/engine/updater.py +228 -0
  35. tavotto-0.8.0/src/tavotto/engine/worker.py +671 -0
  36. tavotto-0.8.0/src/tavotto/engine/workerd_client.py +398 -0
  37. tavotto-0.8.0/src/tavotto/pdfbackend/__init__.py +43 -0
  38. tavotto-0.8.0/src/tavotto/pdfbackend/pymupdf_backend.py +574 -0
  39. tavotto-0.8.0/src/tavotto/profiles/publication.json +189 -0
  40. tavotto-0.8.0/src/tavotto/richtext.py +103 -0
  41. tavotto-0.8.0/src/tavotto/web/assets/core-Cb7zNXui.js +1 -0
  42. tavotto-0.8.0/src/tavotto/web/assets/dist-js-BsNZfC3f.js +1 -0
  43. tavotto-0.8.0/src/tavotto/web/assets/dist-js-DYF-JYs1.js +1 -0
  44. tavotto-0.8.0/src/tavotto/web/assets/dist-js-SK22j9uE.js +1 -0
  45. tavotto-0.8.0/src/tavotto/web/assets/event-BUd3TQ2S.js +1 -0
  46. tavotto-0.8.0/src/tavotto/web/assets/index-B7bEtc7a.js +90 -0
  47. tavotto-0.8.0/src/tavotto/web/assets/index-C9Q0qg2F.css +1 -0
  48. tavotto-0.8.0/src/tavotto/web/index.html +14 -0
  49. tavotto-0.8.0/tests/conftest.py +31 -0
  50. tavotto-0.8.0/tests/golden/patch_vectors.json +550 -0
  51. tavotto-0.8.0/tests/golden/preflight_vectors.json +6894 -0
  52. tavotto-0.8.0/tests/test_ai_capabilities.py +100 -0
  53. tavotto-0.8.0/tests/test_ai_history.py +215 -0
  54. tavotto-0.8.0/tests/test_annotate_asset.py +60 -0
  55. tavotto-0.8.0/tests/test_autosave.py +120 -0
  56. tavotto-0.8.0/tests/test_axes_ticks_scale.py +481 -0
  57. tavotto-0.8.0/tests/test_bootstrap.py +219 -0
  58. tavotto-0.8.0/tests/test_bundled_runtime.py +840 -0
  59. tavotto-0.8.0/tests/test_codex_plugin.py +853 -0
  60. tavotto-0.8.0/tests/test_colorbar_orientation.py +513 -0
  61. tavotto-0.8.0/tests/test_compose_annotations.py +202 -0
  62. tavotto-0.8.0/tests/test_compose_arrow.py +83 -0
  63. tavotto-0.8.0/tests/test_compose_text.py +277 -0
  64. tavotto-0.8.0/tests/test_desktop_i18n.py +194 -0
  65. tavotto-0.8.0/tests/test_desktop_sidecar.py +381 -0
  66. tavotto-0.8.0/tests/test_discover.py +295 -0
  67. tavotto-0.8.0/tests/test_engine_cache_prune.py +163 -0
  68. tavotto-0.8.0/tests/test_engine_variants.py +184 -0
  69. tavotto-0.8.0/tests/test_equivalence_matrix.py +851 -0
  70. tavotto-0.8.0/tests/test_error_codes.py +86 -0
  71. tavotto-0.8.0/tests/test_export_endpoint.py +151 -0
  72. tavotto-0.8.0/tests/test_governance.py +62 -0
  73. tavotto-0.8.0/tests/test_handoff.py +589 -0
  74. tavotto-0.8.0/tests/test_install_locate.py +763 -0
  75. tavotto-0.8.0/tests/test_legend_text.py +186 -0
  76. tavotto-0.8.0/tests/test_manifest_geometry.py +280 -0
  77. tavotto-0.8.0/tests/test_mcp_roundtrip.py +328 -0
  78. tavotto-0.8.0/tests/test_mcp_server.py +649 -0
  79. tavotto-0.8.0/tests/test_nsis_template.py +486 -0
  80. tavotto-0.8.0/tests/test_package.py +168 -0
  81. tavotto-0.8.0/tests/test_patchspec.py +186 -0
  82. tavotto-0.8.0/tests/test_paths_and_baked.py +251 -0
  83. tavotto-0.8.0/tests/test_plugin_update_check.py +450 -0
  84. tavotto-0.8.0/tests/test_preflight.py +279 -0
  85. tavotto-0.8.0/tests/test_projects.py +600 -0
  86. tavotto-0.8.0/tests/test_registry.py +79 -0
  87. tavotto-0.8.0/tests/test_render_cache.py +233 -0
  88. tavotto-0.8.0/tests/test_runtime_build.py +785 -0
  89. tavotto-0.8.0/tests/test_source_hygiene.py +61 -0
  90. tavotto-0.8.0/tests/test_sync_mapping.py +70 -0
  91. tavotto-0.8.0/tests/test_updater.py +180 -0
  92. tavotto-0.8.0/tests/test_updater_manifest.py +117 -0
  93. tavotto-0.8.0/tests/test_versions.py +109 -0
  94. tavotto-0.8.0/tests/test_windows_regressions.py +1064 -0
  95. tavotto-0.8.0/tests/test_worker_protocol.py +295 -0
  96. tavotto-0.8.0/tests/test_worker_roundtrip.py +1824 -0
  97. tavotto-0.8.0/tests/test_workerd_client.py +298 -0
  98. tavotto-0.8.0/tests/test_workerd_packaging.py +126 -0
  99. tavotto-0.8.0/tests/test_workerd_pool.py +395 -0
  100. tavotto-0.8.0/tests/test_write_back.py +538 -0
  101. tavotto-0.8.0/web/README.md +87 -0
  102. tavotto-0.8.0/web/package.json +66 -0
  103. tavotto-0.8.0/web/pnpm-lock.yaml +4798 -0
  104. tavotto-0.8.0/web/src/App.tsx +279 -0
  105. tavotto-0.8.0/web/src/canvas/ArrowView.tsx +112 -0
  106. tavotto-0.8.0/web/src/canvas/CanvasStage.tsx +331 -0
  107. tavotto-0.8.0/web/src/canvas/ObjectView.tsx +129 -0
  108. tavotto-0.8.0/web/src/canvas/OverlaySvg.tsx +844 -0
  109. tavotto-0.8.0/web/src/canvas/PageSheet.tsx +67 -0
  110. tavotto-0.8.0/web/src/canvas/PanelView.tsx +578 -0
  111. tavotto-0.8.0/web/src/canvas/QuickEdit.tsx +493 -0
  112. tavotto-0.8.0/web/src/canvas/Rulers.tsx +166 -0
  113. tavotto-0.8.0/web/src/canvas/ShapeView.tsx +152 -0
  114. tavotto-0.8.0/web/src/canvas/TextView.tsx +163 -0
  115. tavotto-0.8.0/web/src/canvas/axesCompanionDrag.test.tsx +373 -0
  116. tavotto-0.8.0/web/src/canvas/elementArrowEditing.test.tsx +364 -0
  117. tavotto-0.8.0/web/src/canvas/elementPathSelection.test.tsx +358 -0
  118. tavotto-0.8.0/web/src/canvas/elementPreview.ts +54 -0
  119. tavotto-0.8.0/web/src/canvas/fakeRealtimeDrag.test.tsx +468 -0
  120. tavotto-0.8.0/web/src/canvas/groupLockDrag.test.ts +170 -0
  121. tavotto-0.8.0/web/src/canvas/hitTest.test.tsx +260 -0
  122. tavotto-0.8.0/web/src/canvas/interactions.ts +1342 -0
  123. tavotto-0.8.0/web/src/canvas/lineEndpoints.test.tsx +267 -0
  124. tavotto-0.8.0/web/src/canvas/panelCrossfade.test.tsx +139 -0
  125. tavotto-0.8.0/web/src/canvas/panelVariantDisplay.test.tsx +135 -0
  126. tavotto-0.8.0/web/src/canvas/quickEditStore.ts +32 -0
  127. tavotto-0.8.0/web/src/canvas/rotatedObjects.test.tsx +402 -0
  128. tavotto-0.8.0/web/src/canvas/shapeOutline.test.tsx +197 -0
  129. tavotto-0.8.0/web/src/canvas/shiftConstraints.test.tsx +200 -0
  130. tavotto-0.8.0/web/src/canvas/wheelInput.test.tsx +141 -0
  131. tavotto-0.8.0/web/src/components/CanvasTabs.tsx +257 -0
  132. tavotto-0.8.0/web/src/components/CommandPalette.tsx +231 -0
  133. tavotto-0.8.0/web/src/components/ConfirmDialog.tsx +46 -0
  134. tavotto-0.8.0/web/src/components/EngineEnvironmentCard.tsx +231 -0
  135. tavotto-0.8.0/web/src/components/ErrorBoundary.tsx +64 -0
  136. tavotto-0.8.0/web/src/components/ExportDialog.test.tsx +243 -0
  137. tavotto-0.8.0/web/src/components/ExportDialog.tsx +790 -0
  138. tavotto-0.8.0/web/src/components/LayoutDialog.tsx +164 -0
  139. tavotto-0.8.0/web/src/components/PresetsDialog.tsx +62 -0
  140. tavotto-0.8.0/web/src/components/ProjectPicker.tsx +418 -0
  141. tavotto-0.8.0/web/src/components/ProjectSwitcher.tsx +158 -0
  142. tavotto-0.8.0/web/src/components/RegistryDialog.tsx +309 -0
  143. tavotto-0.8.0/web/src/components/RelinkDialog.tsx +106 -0
  144. tavotto-0.8.0/web/src/components/SettingsDialog.tsx +1130 -0
  145. tavotto-0.8.0/web/src/components/ShortcutHelp.tsx +106 -0
  146. tavotto-0.8.0/web/src/components/StatusBar.tsx +123 -0
  147. tavotto-0.8.0/web/src/components/StyleDialog.tsx +601 -0
  148. tavotto-0.8.0/web/src/components/TopBar.tsx +535 -0
  149. tavotto-0.8.0/web/src/components/UpdateBanner.tsx +26 -0
  150. tavotto-0.8.0/web/src/components/VersionDialog.tsx +636 -0
  151. tavotto-0.8.0/web/src/components/ai/AiPanel.tsx +981 -0
  152. tavotto-0.8.0/web/src/components/ai/DiffView.tsx +92 -0
  153. tavotto-0.8.0/web/src/components/ai/Markdown.tsx +107 -0
  154. tavotto-0.8.0/web/src/components/inspector/ArrangeSection.tsx +493 -0
  155. tavotto-0.8.0/web/src/components/inspector/CanvasPage.tsx +322 -0
  156. tavotto-0.8.0/web/src/components/inspector/ElementInspector.tsx +1364 -0
  157. tavotto-0.8.0/web/src/components/inspector/HistoryPanel.tsx +253 -0
  158. tavotto-0.8.0/web/src/components/inspector/Inspector.tsx +411 -0
  159. tavotto-0.8.0/web/src/components/inspector/MmField.tsx +43 -0
  160. tavotto-0.8.0/web/src/components/inspector/PanelSection.tsx +697 -0
  161. tavotto-0.8.0/web/src/components/inspector/StrokeSection.tsx +236 -0
  162. tavotto-0.8.0/web/src/components/inspector/SyncOverridesButton.tsx +314 -0
  163. tavotto-0.8.0/web/src/components/inspector/TextActions.tsx +112 -0
  164. tavotto-0.8.0/web/src/components/inspector/TextSection.test.tsx +226 -0
  165. tavotto-0.8.0/web/src/components/inspector/TextSection.tsx +418 -0
  166. tavotto-0.8.0/web/src/components/inspector/TextStyleBar.tsx +396 -0
  167. tavotto-0.8.0/web/src/components/inspector/TransformSection.tsx +115 -0
  168. tavotto-0.8.0/web/src/components/inspector/UpdateSourceButton.tsx +451 -0
  169. tavotto-0.8.0/web/src/components/inspector/WriteBackDialog.test.tsx +221 -0
  170. tavotto-0.8.0/web/src/components/inspector/common.ts +19 -0
  171. tavotto-0.8.0/web/src/components/inspector/elementStylePreview.test.tsx +534 -0
  172. tavotto-0.8.0/web/src/components/inspector/elementWrite.ts +145 -0
  173. tavotto-0.8.0/web/src/components/inspector/roles/registry.test.ts +173 -0
  174. tavotto-0.8.0/web/src/components/inspector/roles/registry.ts +251 -0
  175. tavotto-0.8.0/web/src/components/inspector/textStyleBar.test.tsx +332 -0
  176. tavotto-0.8.0/web/src/components/inspector/tickValuesSnapshot.test.tsx +187 -0
  177. tavotto-0.8.0/web/src/components/left/AssetBrowser.tsx +601 -0
  178. tavotto-0.8.0/web/src/components/left/CanvasList.tsx +273 -0
  179. tavotto-0.8.0/web/src/components/left/ElementTree.tsx +664 -0
  180. tavotto-0.8.0/web/src/components/left/LayerTree.tsx +425 -0
  181. tavotto-0.8.0/web/src/components/left/LeftPanel.tsx +136 -0
  182. tavotto-0.8.0/web/src/components/left/LeftRail.tsx +77 -0
  183. tavotto-0.8.0/web/src/components/ui/BrandMark.tsx +106 -0
  184. tavotto-0.8.0/web/src/components/ui/Button.tsx +136 -0
  185. tavotto-0.8.0/web/src/components/ui/Dialog.tsx +94 -0
  186. tavotto-0.8.0/web/src/components/ui/EmptyState.tsx +31 -0
  187. tavotto-0.8.0/web/src/components/ui/Field.tsx +106 -0
  188. tavotto-0.8.0/web/src/components/ui/Input.tsx +260 -0
  189. tavotto-0.8.0/web/src/components/ui/Menu.tsx +103 -0
  190. tavotto-0.8.0/web/src/components/ui/Popover.tsx +45 -0
  191. tavotto-0.8.0/web/src/components/ui/Segmented.tsx +80 -0
  192. tavotto-0.8.0/web/src/components/ui/Select.tsx +80 -0
  193. tavotto-0.8.0/web/src/components/ui/Toggle.tsx +39 -0
  194. tavotto-0.8.0/web/src/components/ui/Tooltip.tsx +44 -0
  195. tavotto-0.8.0/web/src/hooks/useBuildVersion.ts +50 -0
  196. tavotto-0.8.0/web/src/hooks/useEngineSync.test.ts +319 -0
  197. tavotto-0.8.0/web/src/hooks/useEngineSync.ts +224 -0
  198. tavotto-0.8.0/web/src/hooks/useKeyboard.test.ts +145 -0
  199. tavotto-0.8.0/web/src/hooks/useKeyboard.ts +266 -0
  200. tavotto-0.8.0/web/src/hooks/usePruneSelection.ts +22 -0
  201. tavotto-0.8.0/web/src/hooks/useServerEvents.ts +130 -0
  202. tavotto-0.8.0/web/src/hooks/useVersionCheckpoints.ts +42 -0
  203. tavotto-0.8.0/web/src/hooks/useWorkspaceLayout.ts +19 -0
  204. tavotto-0.8.0/web/src/i18n/format.ts +43 -0
  205. tavotto-0.8.0/web/src/i18n/index.ts +159 -0
  206. tavotto-0.8.0/web/src/i18n/locale.test.ts +202 -0
  207. tavotto-0.8.0/web/src/i18n/locale.ts +104 -0
  208. tavotto-0.8.0/web/src/i18n/locales/en-US/ai.json +119 -0
  209. tavotto-0.8.0/web/src/i18n/locales/en-US/common.json +51 -0
  210. tavotto-0.8.0/web/src/i18n/locales/en-US/dialogs.json +622 -0
  211. tavotto-0.8.0/web/src/i18n/locales/en-US/errors.json +117 -0
  212. tavotto-0.8.0/web/src/i18n/locales/en-US/inspector.json +957 -0
  213. tavotto-0.8.0/web/src/i18n/locales/en-US/project.json +58 -0
  214. tavotto-0.8.0/web/src/i18n/locales/en-US/shortcuts.json +42 -0
  215. tavotto-0.8.0/web/src/i18n/locales/en-US/workspace.json +443 -0
  216. tavotto-0.8.0/web/src/i18n/locales/zh-CN/ai.json +117 -0
  217. tavotto-0.8.0/web/src/i18n/locales/zh-CN/common.json +50 -0
  218. tavotto-0.8.0/web/src/i18n/locales/zh-CN/dialogs.json +609 -0
  219. tavotto-0.8.0/web/src/i18n/locales/zh-CN/errors.json +117 -0
  220. tavotto-0.8.0/web/src/i18n/locales/zh-CN/inspector.json +933 -0
  221. tavotto-0.8.0/web/src/i18n/locales/zh-CN/project.json +57 -0
  222. tavotto-0.8.0/web/src/i18n/locales/zh-CN/shortcuts.json +42 -0
  223. tavotto-0.8.0/web/src/i18n/locales/zh-CN/workspace.json +412 -0
  224. tavotto-0.8.0/web/src/i18n/message.ts +48 -0
  225. tavotto-0.8.0/web/src/i18n/overflow.test.tsx +174 -0
  226. tavotto-0.8.0/web/src/i18n/react.ts +22 -0
  227. tavotto-0.8.0/web/src/i18n/render.test.tsx +204 -0
  228. tavotto-0.8.0/web/src/i18n/resources.d.ts +2340 -0
  229. tavotto-0.8.0/web/src/i18n/resources.test.ts +231 -0
  230. tavotto-0.8.0/web/src/index.css +314 -0
  231. tavotto-0.8.0/web/src/lib/__fixtures__/matplotlibSvg.ts +520 -0
  232. tavotto-0.8.0/web/src/lib/annotations.test.ts +73 -0
  233. tavotto-0.8.0/web/src/lib/api.ts +1349 -0
  234. tavotto-0.8.0/web/src/lib/axesLayout.ts +175 -0
  235. tavotto-0.8.0/web/src/lib/backendError.test.ts +67 -0
  236. tavotto-0.8.0/web/src/lib/brand.ts +16 -0
  237. tavotto-0.8.0/web/src/lib/clipboard.test.ts +155 -0
  238. tavotto-0.8.0/web/src/lib/clipboard.ts +385 -0
  239. tavotto-0.8.0/web/src/lib/clipboardEvents.test.ts +116 -0
  240. tavotto-0.8.0/web/src/lib/clipboardFormat.test.ts +29 -0
  241. tavotto-0.8.0/web/src/lib/desktop.test.ts +100 -0
  242. tavotto-0.8.0/web/src/lib/desktop.ts +221 -0
  243. tavotto-0.8.0/web/src/lib/docPresence.test.ts +119 -0
  244. tavotto-0.8.0/web/src/lib/docPresence.ts +86 -0
  245. tavotto-0.8.0/web/src/lib/elementGeom.ts +433 -0
  246. tavotto-0.8.0/web/src/lib/engineTransport.ts +62 -0
  247. tavotto-0.8.0/web/src/lib/exportDefaults.ts +52 -0
  248. tavotto-0.8.0/web/src/lib/exportPayload.ts +88 -0
  249. tavotto-0.8.0/web/src/lib/fitGuard.test.ts +39 -0
  250. tavotto-0.8.0/web/src/lib/fitGuard.ts +27 -0
  251. tavotto-0.8.0/web/src/lib/flip.test.tsx +259 -0
  252. tavotto-0.8.0/web/src/lib/geometry.ts +320 -0
  253. tavotto-0.8.0/web/src/lib/id.ts +8 -0
  254. tavotto-0.8.0/web/src/lib/layoutGroups.ts +163 -0
  255. tavotto-0.8.0/web/src/lib/migrate.ts +102 -0
  256. tavotto-0.8.0/web/src/lib/mixedAlignWriteBack.test.ts +135 -0
  257. tavotto-0.8.0/web/src/lib/modKey.test.ts +125 -0
  258. tavotto-0.8.0/web/src/lib/motion.test.tsx +204 -0
  259. tavotto-0.8.0/web/src/lib/motion.ts +268 -0
  260. tavotto-0.8.0/web/src/lib/numberList.test.ts +33 -0
  261. tavotto-0.8.0/web/src/lib/numberList.ts +19 -0
  262. tavotto-0.8.0/web/src/lib/openRequest.test.ts +164 -0
  263. tavotto-0.8.0/web/src/lib/openRequest.ts +133 -0
  264. tavotto-0.8.0/web/src/lib/pathGeom.test.ts +284 -0
  265. tavotto-0.8.0/web/src/lib/pathGeom.ts +308 -0
  266. tavotto-0.8.0/web/src/lib/preflight.golden.test.ts +56 -0
  267. tavotto-0.8.0/web/src/lib/preflight.ts +881 -0
  268. tavotto-0.8.0/web/src/lib/presets.ts +228 -0
  269. tavotto-0.8.0/web/src/lib/previewTrace.ts +118 -0
  270. tavotto-0.8.0/web/src/lib/profile.test.ts +119 -0
  271. tavotto-0.8.0/web/src/lib/profile.ts +194 -0
  272. tavotto-0.8.0/web/src/lib/richText.test.ts +136 -0
  273. tavotto-0.8.0/web/src/lib/richText.ts +216 -0
  274. tavotto-0.8.0/web/src/lib/session.test.ts +53 -0
  275. tavotto-0.8.0/web/src/lib/session.ts +67 -0
  276. tavotto-0.8.0/web/src/lib/shapeGeometry.ts +150 -0
  277. tavotto-0.8.0/web/src/lib/stylePresets.ts +220 -0
  278. tavotto-0.8.0/web/src/lib/svgStyle.test.ts +473 -0
  279. tavotto-0.8.0/web/src/lib/svgStyle.ts +331 -0
  280. tavotto-0.8.0/web/src/lib/units.ts +38 -0
  281. tavotto-0.8.0/web/src/lib/utils.ts +36 -0
  282. tavotto-0.8.0/web/src/lib/wheel.test.ts +69 -0
  283. tavotto-0.8.0/web/src/lib/wheel.ts +57 -0
  284. tavotto-0.8.0/web/src/lib/writeBackAnnotations.ts +109 -0
  285. tavotto-0.8.0/web/src/main.tsx +48 -0
  286. tavotto-0.8.0/web/src/mcp/McpApp.tsx +423 -0
  287. tavotto-0.8.0/web/src/mcp/appsBridge.ts +236 -0
  288. tavotto-0.8.0/web/src/mcp/main.tsx +123 -0
  289. tavotto-0.8.0/web/src/mcp/session.test.ts +245 -0
  290. tavotto-0.8.0/web/src/mcp/session.ts +230 -0
  291. tavotto-0.8.0/web/src/store/actions.test.ts +108 -0
  292. tavotto-0.8.0/web/src/store/actions.ts +1435 -0
  293. tavotto-0.8.0/web/src/store/aiStore.test.ts +77 -0
  294. tavotto-0.8.0/web/src/store/aiStore.ts +302 -0
  295. tavotto-0.8.0/web/src/store/assetStore.ts +82 -0
  296. tavotto-0.8.0/web/src/store/canvasSession.ts +105 -0
  297. tavotto-0.8.0/web/src/store/documentStore.test.ts +672 -0
  298. tavotto-0.8.0/web/src/store/documentStore.ts +851 -0
  299. tavotto-0.8.0/web/src/store/envStore.test.ts +141 -0
  300. tavotto-0.8.0/web/src/store/envStore.ts +73 -0
  301. tavotto-0.8.0/web/src/store/interactionStore.ts +104 -0
  302. tavotto-0.8.0/web/src/store/projectStore.test.ts +184 -0
  303. tavotto-0.8.0/web/src/store/projectStore.ts +151 -0
  304. tavotto-0.8.0/web/src/store/renderStore.test.ts +148 -0
  305. tavotto-0.8.0/web/src/store/renderStore.ts +419 -0
  306. tavotto-0.8.0/web/src/store/selectionStore.ts +37 -0
  307. tavotto-0.8.0/web/src/store/svgPreviewStore.test.ts +361 -0
  308. tavotto-0.8.0/web/src/store/svgPreviewStore.ts +465 -0
  309. tavotto-0.8.0/web/src/store/uiStore.test.ts +63 -0
  310. tavotto-0.8.0/web/src/store/uiStore.ts +399 -0
  311. tavotto-0.8.0/web/src/store/updateStore.ts +170 -0
  312. tavotto-0.8.0/web/src/store/viewportStore.test.ts +148 -0
  313. tavotto-0.8.0/web/src/store/viewportStore.ts +253 -0
  314. tavotto-0.8.0/web/src/test/setup.ts +39 -0
  315. tavotto-0.8.0/web/src/types/document.test.ts +72 -0
  316. tavotto-0.8.0/web/src/types/document.ts +444 -0
@@ -0,0 +1,71 @@
1
+ # Python
2
+ .venv/
3
+ __pycache__/
4
+ *.pyc
5
+
6
+ # 打包产物
7
+ /dist/
8
+ /build/
9
+ *.egg-info/
10
+
11
+ # Windows 桌面版的内置渲染 runtime(scripts/build_worker_runtime.py 生成):
12
+ # 200 MiB 上下的二进制,随安装包分发但**绝不进 Git**。
13
+ # 版本锁在 packaging/runtime-lock.json 里,那个才是要提交的东西。
14
+ /runtime/
15
+
16
+ # 前端构建产物(scripts/build_frontend.py 生成,随 wheel 分发但不进仓库)
17
+ /src/tavotto/web/
18
+ web/node_modules/
19
+ web/dist/
20
+ web/test-results/
21
+ web/playwright-report/
22
+ # 从仓库根跑 `npx playwright test` 时产物落在根上,同样挡住
23
+ # (曾被 `git add -A` 顺手收进一次提交)
24
+ test-results/
25
+ playwright-report/
26
+
27
+ # 运行时数据:装成包后一律落在用户数据目录
28
+ # (macOS ~/Library/Application Support/Tavotto、Linux ~/.local/share/tavotto、
29
+ # Windows %LOCALAPPDATA%\Tavotto)。下面几个是旧版本在仓库里留下的残余。
30
+ /cache/
31
+ /exports/
32
+ /layouts/
33
+ /baked_overrides.json
34
+ *.log
35
+ .pytest_cache/
36
+
37
+ # Tauri 桌面壳(src-tauri/ 源码进仓库;构建产物与 CLI 生成的 schema 不进)
38
+ src-tauri/target/
39
+ src-tauri/gen/
40
+
41
+ # Rust supervisor tavotto-workerd(workerd/ 源码进仓库;构建产物不进)
42
+ workerd/target/
43
+
44
+ # 工具与系统
45
+ .gstack/
46
+ .DS_Store
47
+
48
+ # 开发期界面验证截图:含真实研究图,不进公开仓
49
+ /docs/verify/
50
+
51
+ # 内部执行清单 / 路线图,不进公开仓。
52
+ # 旧名一并保留:这两条挡的是工作副本里的真实文件,改名不等于用户本机的文件也改了名。
53
+ /docs/MAGPLOT_RENAME_AND_MATURITY_PLAN.md
54
+ /docs/TAVOTTO_RENAME_AND_MATURITY_PLAN.md
55
+ .impeccable/
56
+
57
+ # CodeGraph 本地索引(可再生)
58
+ .codegraph/
59
+
60
+ # 品牌源文件(设计稿,随手放在工作副本里;产物由 scripts/build_brand_assets.py 生成)
61
+ /logo.ai
62
+ /logo.pdf
63
+ /Magplot Brand System.html
64
+ /Tavotto Brand System.html
65
+
66
+ # MCP App 画布的中间产物(最终单文件在 codex-plugin/mcp/widget/canvas.html,那个进 git)
67
+ web/dist-mcp/
68
+
69
+ # 冒烟 / 手工跑示例项目时,导出与画布布局落在项目自己的 tavottofile/ 里
70
+ # (engine/config.project_export_dir)。`git add -A` 会顺手把它收进提交。
71
+ /examples/*/tavottofile/