@ai-setting/roy-plugin-task-show 0.8.9 → 0.9.5

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 (47) hide show
  1. package/dist/cli-tasks-adapter.d.ts +2 -17
  2. package/dist/cli-tasks-adapter.d.ts.map +1 -1
  3. package/dist/cli-tasks-adapter.js +7 -57
  4. package/dist/cli-tasks-adapter.js.map +1 -1
  5. package/dist/index.d.ts +0 -2
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +0 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/operations-cache.d.ts +21 -0
  10. package/dist/operations-cache.d.ts.map +1 -1
  11. package/dist/operations-cache.js +45 -0
  12. package/dist/operations-cache.js.map +1 -1
  13. package/dist/plugin.d.ts +22 -74
  14. package/dist/plugin.d.ts.map +1 -1
  15. package/dist/plugin.js +174 -173
  16. package/dist/plugin.js.map +1 -1
  17. package/dist/server.d.ts +15 -31
  18. package/dist/server.d.ts.map +1 -1
  19. package/dist/server.js +42 -206
  20. package/dist/server.js.map +1 -1
  21. package/dist/task-detail-mermaid.d.ts +9 -0
  22. package/dist/task-detail-mermaid.d.ts.map +1 -1
  23. package/dist/task-detail-mermaid.js +43 -3
  24. package/dist/task-detail-mermaid.js.map +1 -1
  25. package/dist/task-session-store.d.ts +54 -94
  26. package/dist/task-session-store.d.ts.map +1 -1
  27. package/dist/task-session-store.js +137 -177
  28. package/dist/task-session-store.js.map +1 -1
  29. package/dist/tasks-tree-cache.d.ts +17 -0
  30. package/dist/tasks-tree-cache.d.ts.map +1 -1
  31. package/dist/tasks-tree-cache.js +39 -0
  32. package/dist/tasks-tree-cache.js.map +1 -1
  33. package/dist/tracing/decorator.d.ts +48 -0
  34. package/dist/tracing/decorator.d.ts.map +1 -0
  35. package/dist/tracing/decorator.js +310 -0
  36. package/dist/tracing/decorator.js.map +1 -0
  37. package/dist/types.d.ts +28 -0
  38. package/dist/types.d.ts.map +1 -1
  39. package/dist/types.js +9 -0
  40. package/dist/types.js.map +1 -1
  41. package/package.json +4 -2
  42. package/plugin.json +2 -2
  43. package/public/app.js +45 -1
  44. package/public/index.html +3 -0
  45. package/public/session-forest.js +97 -0
  46. package/public/style.css +0 -45
  47. package/public/task-operations.js +7 -0
package/public/style.css CHANGED
@@ -1027,48 +1027,3 @@ details summary {
1027
1027
  border: 1px solid rgba(148, 163, 184, 0.4);
1028
1028
  }
1029
1029
 
1030
-
1031
-
1032
- /* ---------- v0.8.9: nested ancestor-chain tree ----------
1033
- *
1034
- * The home page renders the ancestor chain as a real nested HTML
1035
- * tree (ul > li > ul > li …). Indent each level by 24px so the
1036
- * hierarchy is communicated visually. We reset the default
1037
- * <ul>/<li> browser margins and supply our own so the visual
1038
- * rhythm is consistent across browsers.
1039
- *
1040
- * Why 24px and not 16px/20px? It lines up with our 12px base font
1041
- * (24 = 2× base) and gives a comfortable step without making the
1042
- * leaf feel cramped on 13"-class laptop screens.
1043
- */
1044
- .chain-list {
1045
- list-style: none;
1046
- margin: 0;
1047
- padding-left: 0;
1048
- }
1049
- .chain-list .chain-list {
1050
- margin-top: 4px;
1051
- margin-bottom: 4px;
1052
- padding-left: 24px;
1053
- border-left: 1px dashed rgba(148, 163, 184, 0.25);
1054
- }
1055
- .chain-node {
1056
- list-style: none;
1057
- margin: 4px 0;
1058
- padding: 2px 0;
1059
- line-height: 1.4;
1060
- }
1061
- .chain-node > .chain-link {
1062
- display: inline-block;
1063
- padding: 2px 6px;
1064
- border-radius: 4px;
1065
- transition: background 0.15s;
1066
- }
1067
- .chain-node > .chain-link:hover {
1068
- background: rgba(56, 189, 248, 0.10);
1069
- text-decoration: none;
1070
- }
1071
- .chain-node[data-depth="0"] > .chain-link {
1072
- font-weight: 600;
1073
- color: #e6eefc;
1074
- }
@@ -282,6 +282,13 @@
282
282
  window.__pipelineController = new PipelineController(root);
283
283
  }
284
284
 
285
+ // v0.9.0: expose renderPipelineHtml to the global scope so other
286
+ // modules (session-forest.js) can re-use the same timeline rendering
287
+ // for the v0.9.0 session-forest view.
288
+ if (typeof window !== "undefined") {
289
+ window.renderPipelineHtml = renderPipelineHtml;
290
+ }
291
+
285
292
  if (document.readyState === "loading") {
286
293
  document.addEventListener("DOMContentLoaded", boot);
287
294
  } else {