agentic-ui-libs 1.0.0-beta.9 → 1.1.0-beta.-1.0

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 (147) hide show
  1. package/dist/assets/agentic-ui-libs.css +12431 -0
  2. package/dist/features/debug-logs/components/DebugCard.d.ts.map +1 -1
  3. package/dist/features/debug-logs/index.d.ts +2 -1
  4. package/dist/features/debug-logs/index.d.ts.map +1 -1
  5. package/dist/features/md-editor/MDEditor.d.ts.map +1 -1
  6. package/dist/features/md-editor/components/AIRefinePanel.d.ts.map +1 -1
  7. package/dist/features/md-editor/components/SlashMenu.d.ts.map +1 -1
  8. package/dist/features/md-editor/utils/markdown.d.ts.map +1 -1
  9. package/dist/features/tracing/components/GenerationsList.d.ts +13 -0
  10. package/dist/features/tracing/components/GenerationsList.d.ts.map +1 -0
  11. package/dist/features/tracing/components/SessionsList.d.ts +12 -0
  12. package/dist/features/tracing/components/SessionsList.d.ts.map +1 -0
  13. package/dist/features/tracing/components/TracesList.d.ts +12 -0
  14. package/dist/features/tracing/components/TracesList.d.ts.map +1 -0
  15. package/dist/features/tracing/components/detail/DetailPage.d.ts +15 -0
  16. package/dist/features/tracing/components/detail/DetailPage.d.ts.map +1 -0
  17. package/dist/features/tracing/components/detail/NodeDetailPanel.d.ts +13 -0
  18. package/dist/features/tracing/components/detail/NodeDetailPanel.d.ts.map +1 -0
  19. package/dist/features/tracing/components/detail/ObservationNode.d.ts +9 -0
  20. package/dist/features/tracing/components/detail/ObservationNode.d.ts.map +1 -0
  21. package/dist/features/tracing/components/detail/TraceTree.d.ts +9 -0
  22. package/dist/features/tracing/components/detail/TraceTree.d.ts.map +1 -0
  23. package/dist/features/tracing/components/detail/config/index.d.ts +5 -0
  24. package/dist/features/tracing/components/detail/config/index.d.ts.map +1 -0
  25. package/dist/features/tracing/components/detail/config/observationFilterConfig.d.ts +41 -0
  26. package/dist/features/tracing/components/detail/config/observationFilterConfig.d.ts.map +1 -0
  27. package/dist/features/tracing/components/detail/index.d.ts +14 -0
  28. package/dist/features/tracing/components/detail/index.d.ts.map +1 -0
  29. package/dist/features/tracing/components/detail/services/DetailPageService.d.ts +119 -0
  30. package/dist/features/tracing/components/detail/services/DetailPageService.d.ts.map +1 -0
  31. package/dist/features/tracing/components/detail/services/index.d.ts +5 -0
  32. package/dist/features/tracing/components/detail/services/index.d.ts.map +1 -0
  33. package/dist/features/tracing/components/detail/types.d.ts +216 -0
  34. package/dist/features/tracing/components/detail/types.d.ts.map +1 -0
  35. package/dist/features/tracing/components/shared/ColumnCustomization.d.ts +14 -0
  36. package/dist/features/tracing/components/shared/ColumnCustomization.d.ts.map +1 -0
  37. package/dist/features/tracing/components/shared/EmptyState.d.ts +15 -0
  38. package/dist/features/tracing/components/shared/EmptyState.d.ts.map +1 -0
  39. package/dist/features/tracing/components/shared/FilterPanel.d.ts +13 -0
  40. package/dist/features/tracing/components/shared/FilterPanel.d.ts.map +1 -0
  41. package/dist/features/tracing/components/shared/LoadingSpinner.d.ts +11 -0
  42. package/dist/features/tracing/components/shared/LoadingSpinner.d.ts.map +1 -0
  43. package/dist/features/tracing/components/shared/TokenBreakdownTooltip.d.ts +18 -0
  44. package/dist/features/tracing/components/shared/TokenBreakdownTooltip.d.ts.map +1 -0
  45. package/dist/features/tracing/components/shared/TracingListHeader.d.ts +32 -0
  46. package/dist/features/tracing/components/shared/TracingListHeader.d.ts.map +1 -0
  47. package/dist/features/tracing/components/shared/TracingTable.d.ts +9 -0
  48. package/dist/features/tracing/components/shared/TracingTable.d.ts.map +1 -0
  49. package/dist/features/tracing/components/shared/index.d.ts +14 -0
  50. package/dist/features/tracing/components/shared/index.d.ts.map +1 -0
  51. package/dist/features/tracing/components/shared/skeletons/NodeDetailSkeleton.d.ts +12 -0
  52. package/dist/features/tracing/components/shared/skeletons/NodeDetailSkeleton.d.ts.map +1 -0
  53. package/dist/features/tracing/components/shared/skeletons/TableSkeleton.d.ts +13 -0
  54. package/dist/features/tracing/components/shared/skeletons/TableSkeleton.d.ts.map +1 -0
  55. package/dist/features/tracing/components/shared/skeletons/TreeSkeleton.d.ts +24 -0
  56. package/dist/features/tracing/components/shared/skeletons/TreeSkeleton.d.ts.map +1 -0
  57. package/dist/features/tracing/components/shared/skeletons/index.d.ts +8 -0
  58. package/dist/features/tracing/components/shared/skeletons/index.d.ts.map +1 -0
  59. package/dist/features/tracing/contexts/EnvironmentContext.d.ts +50 -0
  60. package/dist/features/tracing/contexts/EnvironmentContext.d.ts.map +1 -0
  61. package/dist/features/tracing/contexts/index.d.ts +6 -0
  62. package/dist/features/tracing/contexts/index.d.ts.map +1 -0
  63. package/dist/features/tracing/index.d.ts +22 -0
  64. package/dist/features/tracing/index.d.ts.map +1 -0
  65. package/dist/features/tracing/mocks/index.d.ts +6 -0
  66. package/dist/features/tracing/mocks/index.d.ts.map +1 -0
  67. package/dist/features/tracing/mocks/mockData.d.ts +12 -0
  68. package/dist/features/tracing/mocks/mockData.d.ts.map +1 -0
  69. package/dist/features/tracing/services/ObservationTreeBuilder.d.ts +51 -0
  70. package/dist/features/tracing/services/ObservationTreeBuilder.d.ts.map +1 -0
  71. package/dist/features/tracing/services/TraceTreeService.d.ts +105 -0
  72. package/dist/features/tracing/services/TraceTreeService.d.ts.map +1 -0
  73. package/dist/features/tracing/services/TracingApiService.d.ts +139 -0
  74. package/dist/features/tracing/services/TracingApiService.d.ts.map +1 -0
  75. package/dist/features/tracing/services/TracingUtils.d.ts +164 -0
  76. package/dist/features/tracing/services/TracingUtils.d.ts.map +1 -0
  77. package/dist/features/tracing/services/index.d.ts +10 -0
  78. package/dist/features/tracing/services/index.d.ts.map +1 -0
  79. package/dist/features/tracing/types.d.ts +545 -0
  80. package/dist/features/tracing/types.d.ts.map +1 -0
  81. package/dist/features/tracing/utils/index.d.ts +7 -0
  82. package/dist/features/tracing/utils/index.d.ts.map +1 -0
  83. package/dist/features/tracing/utils/observationIconUtils.d.ts +19 -0
  84. package/dist/features/tracing/utils/observationIconUtils.d.ts.map +1 -0
  85. package/dist/features/tracing/utils/staticApidata.d.ts +1 -0
  86. package/dist/features/tracing/utils/staticApidata.d.ts.map +1 -0
  87. package/dist/index.angular.d.ts +32 -0
  88. package/dist/index.angular.d.ts.map +1 -0
  89. package/dist/index.d.ts +1 -1
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +79899 -7309
  92. package/dist/shared/ui/CodeEditor.d.ts +15 -0
  93. package/dist/shared/ui/CodeEditor.d.ts.map +1 -1
  94. package/dist/shared/ui/DataViewer.d.ts +30 -0
  95. package/dist/shared/ui/DataViewer.d.ts.map +1 -0
  96. package/dist/shared/ui/IconPreview.d.ts.map +1 -1
  97. package/dist/shared/ui/Modal.d.ts +16 -0
  98. package/dist/shared/ui/Modal.d.ts.map +1 -0
  99. package/dist/shared/ui/Select.d.ts +2 -0
  100. package/dist/shared/ui/Select.d.ts.map +1 -1
  101. package/dist/shared/ui/daterangepicker.d.ts +4 -2
  102. package/dist/shared/ui/daterangepicker.d.ts.map +1 -1
  103. package/dist/shared/ui/index.d.ts +4 -0
  104. package/dist/shared/ui/index.d.ts.map +1 -1
  105. package/dist/ui-libs.umd.js +80065 -7475
  106. package/package.json +33 -21
  107. package/dist/assets/style.css +0 -4170
  108. package/dist/features/debug-logs/components/DataViewer.d.ts +0 -18
  109. package/dist/features/debug-logs/components/DataViewer.d.ts.map +0 -1
  110. package/dist/features/prompt-editor/PromptEditor.d.ts +0 -14
  111. package/dist/features/prompt-editor/PromptEditor.d.ts.map +0 -1
  112. package/dist/features/prompt-editor/RefinePanel.d.ts +0 -41
  113. package/dist/features/prompt-editor/RefinePanel.d.ts.map +0 -1
  114. package/dist/features/prompt-editor/components/AddToolbar.d.ts +0 -8
  115. package/dist/features/prompt-editor/components/AddToolbar.d.ts.map +0 -1
  116. package/dist/features/prompt-editor/components/ChatMessage.d.ts +0 -13
  117. package/dist/features/prompt-editor/components/ChatMessage.d.ts.map +0 -1
  118. package/dist/features/prompt-editor/components/CodeEditor.d.ts +0 -8
  119. package/dist/features/prompt-editor/components/CodeEditor.d.ts.map +0 -1
  120. package/dist/features/prompt-editor/components/ContentBlock.d.ts +0 -23
  121. package/dist/features/prompt-editor/components/ContentBlock.d.ts.map +0 -1
  122. package/dist/features/prompt-editor/components/EditableContent.d.ts +0 -16
  123. package/dist/features/prompt-editor/components/EditableContent.d.ts.map +0 -1
  124. package/dist/features/prompt-editor/components/FormattingToolbar.d.ts +0 -10
  125. package/dist/features/prompt-editor/components/FormattingToolbar.d.ts.map +0 -1
  126. package/dist/features/prompt-editor/components/Header.d.ts +0 -2
  127. package/dist/features/prompt-editor/components/Header.d.ts.map +0 -1
  128. package/dist/features/prompt-editor/components/InsertMenu.d.ts +0 -14
  129. package/dist/features/prompt-editor/components/InsertMenu.d.ts.map +0 -1
  130. package/dist/features/prompt-editor/components/RefineDropdown.d.ts +0 -14
  131. package/dist/features/prompt-editor/components/RefineDropdown.d.ts.map +0 -1
  132. package/dist/features/prompt-editor/components/Section.d.ts +0 -27
  133. package/dist/features/prompt-editor/components/Section.d.ts.map +0 -1
  134. package/dist/features/prompt-editor/components/SectionHeader.d.ts +0 -15
  135. package/dist/features/prompt-editor/components/SectionHeader.d.ts.map +0 -1
  136. package/dist/features/prompt-editor/components/icons.d.ts +0 -16
  137. package/dist/features/prompt-editor/components/icons.d.ts.map +0 -1
  138. package/dist/features/prompt-editor/data/insertableItems.d.ts +0 -17
  139. package/dist/features/prompt-editor/data/insertableItems.d.ts.map +0 -1
  140. package/dist/features/prompt-editor/index.d.ts +0 -19
  141. package/dist/features/prompt-editor/index.d.ts.map +0 -1
  142. package/dist/features/prompt-editor/services/EditorUtils.d.ts +0 -48
  143. package/dist/features/prompt-editor/services/EditorUtils.d.ts.map +0 -1
  144. package/dist/features/prompt-editor/services/PromptApiService.d.ts +0 -22
  145. package/dist/features/prompt-editor/services/PromptApiService.d.ts.map +0 -1
  146. package/dist/features/prompt-editor/types.d.ts +0 -102
  147. package/dist/features/prompt-editor/types.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DebugCard.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/components/DebugCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAmB,MAAM,UAAU,CAAC;AAgBhE,UAAU,cAAc;IACtB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,UAAkB,EAClB,WAAW,EACX,eAAe,EACf,cAAqB,EACrB,SAAS,EACT,SAAS,EACT,SAAa,EACd,EAAE,cAAc,2CA4hChB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"DebugCard.d.ts","sourceRoot":"","sources":["../../../../src/features/debug-logs/components/DebugCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAmB,MAAM,UAAU,CAAC;AAehE,UAAU,cAAc;IACtB,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAID,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,QAAQ,EACR,UAAkB,EAClB,WAAW,EACX,eAAe,EACf,cAAqB,EACrB,SAAS,EACT,SAAS,EACT,SAAa,EACd,EAAE,cAAc,2CA4hChB;AAED,eAAe,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export { DebugPanel } from './DebugPanel';
2
2
  export { TreeBuilder } from './services/TreeBuilder';
3
- export { DataViewer } from './components/DataViewer';
3
+ export { DataViewer } from '../../shared/ui/DataViewer';
4
+ export type { DataViewerProps, ViewMode } from '../../shared/ui/DataViewer';
4
5
  export { ApiService } from './services/ApiService';
5
6
  export type { ExecutionEvent, TreeNode, DebugPanelProps, DebugPanelRef, DebugPanelConfig, ApiConfig, ObservationByIdParams, ObservationData, TraceByIdParams, TraceObservation } from './types';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/debug-logs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,YAAY,EACV,cAAc,EACd,QAAQ,EACR,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,gBAAgB,EACjB,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/debug-logs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,YAAY,EACV,cAAc,EACd,QAAQ,EACR,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,gBAAgB,EACjB,MAAM,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MDEditor.d.ts","sourceRoot":"","sources":["../../../src/features/md-editor/MDEditor.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EASZ,MAAM,SAAS,CAAC;AAiBjB,OAAO,wBAAwB,CAAC;AA4BhC,eAAO,MAAM,QAAQ,uGA0rCpB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"MDEditor.d.ts","sourceRoot":"","sources":["../../../src/features/md-editor/MDEditor.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EASZ,MAAM,SAAS,CAAC;AAiBjB,OAAO,wBAAwB,CAAC;AA4BhC,eAAO,MAAM,QAAQ,uGA4rCpB,CAAC;AAIF,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AIRefinePanel.d.ts","sourceRoot":"","sources":["../../../../src/features/md-editor/components/AIRefinePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAoBjF,OAAO,KAAK,EACV,kBAAkB,EAOnB,MAAM,UAAU,CAAC;AAmClB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8tCtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"AIRefinePanel.d.ts","sourceRoot":"","sources":["../../../../src/features/md-editor/components/AIRefinePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAoBjF,OAAO,KAAK,EACV,kBAAkB,EAOnB,MAAM,UAAU,CAAC;AAmClB,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwuCtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SlashMenu.d.ts","sourceRoot":"","sources":["../../../../src/features/md-editor/components/SlashMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AACzG,OAAO,KAAK,EAKV,cAAc,EACf,MAAM,UAAU,CAAC;AAwJlB,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC;CAC9C;AAED,UAAU,sBAAuB,SAAQ,cAAc;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,SAAS,6FAkmBrB,CAAC"}
1
+ {"version":3,"file":"SlashMenu.d.ts","sourceRoot":"","sources":["../../../../src/features/md-editor/components/SlashMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AACzG,OAAO,KAAK,EAKV,cAAc,EACf,MAAM,UAAU,CAAC;AAwJlB,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC;CAC9C;AAED,UAAU,sBAAuB,SAAQ,cAAc;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,SAAS,6FAypBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/features/md-editor/utils/markdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,UAAU,CAAC;AAEpE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAa9D;AAiJD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CA2QlE;AAmJD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,WAAW,CAOrE;AA+FD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CAKtE"}
1
+ {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/features/md-editor/utils/markdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,UAAU,CAAC;AAEpE;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,MAAM,CAsC9D;AAiJD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CA2QlE;AAmJD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,cAAc,GAAG,WAAW,CAOrE;AA+FD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,cAAc,CAKtE"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * GenerationsList Component
3
+ * Grid view of all LLM generations (observations with type=GENERATION) with filters, search, and pagination
4
+ * Clicking a generation opens the trace detail view with that observation pre-selected
5
+ */
6
+ import { GenerationsListProps } from '../types';
7
+ import '../../../styles/globals.css';
8
+ /**
9
+ * GenerationsList Component
10
+ * Wraps the content with EnvironmentProvider for environment name resolution
11
+ */
12
+ export declare function GenerationsList(props: GenerationsListProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=GenerationsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GenerationsList.d.ts","sourceRoot":"","sources":["../../../../src/features/tracing/components/GenerationsList.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,oBAAoB,EAA6F,MAAM,UAAU,CAAC;AAQ3I,OAAO,6BAA6B,CAAC;AA0+BrC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,2CAM1D"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * SessionsList Component
3
+ * Grid view of all sessions with filters, search, and pagination
4
+ */
5
+ import { SessionsListProps } from '../types';
6
+ import '../../../styles/globals.css';
7
+ /**
8
+ * SessionsList Component
9
+ * Wraps the content with EnvironmentProvider for environment name resolution
10
+ */
11
+ export declare function SessionsList(props: SessionsListProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=SessionsList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SessionsList.d.ts","sourceRoot":"","sources":["../../../../src/features/tracing/components/SessionsList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,iBAAiB,EAAuE,MAAM,UAAU,CAAC;AASlH,OAAO,6BAA6B,CAAC;AAyqBrC;;;GAGG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAMpD"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * TracesList Component
3
+ * Grid view of all traces with filters, search, and pagination
4
+ */
5
+ import { TracesListProps } from '../types';
6
+ import '../../../styles/globals.css';
7
+ /**
8
+ * TracesList Component
9
+ * Wraps the content with EnvironmentProvider for environment name resolution
10
+ */
11
+ export declare function TracesList(props: TracesListProps): import("react/jsx-runtime").JSX.Element;
12
+ //# sourceMappingURL=TracesList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TracesList.d.ts","sourceRoot":"","sources":["../../../../src/features/tracing/components/TracesList.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,eAAe,EAAwF,MAAM,UAAU,CAAC;AAQjI,OAAO,6BAA6B,CAAC;AAo7BrC;;;GAGG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,2CAMhD"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * DetailPage Component
3
+ * Unified container for both Session and Trace detail views
4
+ * Session mode: Shows list of TraceTree components (collapsed by default)
5
+ * Trace mode: Shows single TraceTree component (expanded by default)
6
+ *
7
+ * Lazy Loading Strategy:
8
+ * - Initial load uses light traces.byId call (no observations) for fast rendering
9
+ * - Observations are loaded on-demand when user expands a trace
10
+ * - For trace mode, observations are auto-loaded since trace is expanded by default
11
+ * - For session mode with many traces, API calls are batched to avoid overwhelming server
12
+ */
13
+ import { DetailPageProps } from './types';
14
+ export declare function DetailPage({ mode: initialMode, sessionId: initialSessionId, traceId: initialTraceId, timestamp, apiConfig, onClose, className, selectedObservationId, batchSize, initialTraceCount, initialSessionData, }: DetailPageProps): import("react/jsx-runtime").JSX.Element;
15
+ //# sourceMappingURL=DetailPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailPage.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/detail/DetailPage.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,OAAO,EACL,eAAe,EAMhB,MAAM,SAAS,CAAC;AA+BjB,wBAAgB,UAAU,CAAC,EACzB,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,gBAAgB,EAC3B,OAAO,EAAE,cAAc,EACvB,SAAS,EACT,SAAS,EACT,OAAO,EACP,SAAc,EACd,qBAAqB,EACrB,SAA8B,EAC9B,iBAAiB,EACjB,kBAAkB,GACnB,EAAE,eAAe,2CAwpBjB"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * NodeDetailPanel Component
3
+ * Generic panel for displaying details of a selected observation or trace
4
+ * Matches Figma design with conditional layouts:
5
+ * - Generation (GENERATION type): 4-col Summary with Cost/Tokens/Latency/Created, Input, Action sections
6
+ * - Tool/SPAN/other: 2-col Summary with only Latency/Created, no Input/Action sections
7
+ *
8
+ * Fetches full observation details via API when node is selected to get enriched data
9
+ * (usageDetails, latency, etc.) while showing parent data immediately
10
+ */
11
+ import { NodeDetailPanelProps } from './types';
12
+ export declare function NodeDetailPanel({ node, nodeType: _nodeType, apiConfig }: NodeDetailPanelProps): import("react/jsx-runtime").JSX.Element;
13
+ //# sourceMappingURL=NodeDetailPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeDetailPanel.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/detail/NodeDetailPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,EAAE,oBAAoB,EAA8B,MAAM,SAAS,CAAC;AA4X3E,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CAya7F"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * ObservationNode Component
3
+ * Individual tree node for displaying an observation with icon, name, metrics
4
+ * Handles expand/collapse for child nodes
5
+ * Styled to match Figma design
6
+ */
7
+ import { ObservationNodeProps } from './types';
8
+ export declare function ObservationNode({ node, selectedNodeId, expandedNodeIds, onSelect, onToggle, }: ObservationNodeProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=ObservationNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ObservationNode.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/detail/ObservationNode.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAsC/C,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,cAAc,EACd,eAAe,EACf,QAAQ,EACR,QAAQ,GACT,EAAE,oBAAoB,2CAyLtB"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * TraceTree Component
3
+ * Displays a single trace with USER MESSAGE, observation tree, and APP RESPONSE
4
+ * Handles expand/collapse state for the entire trace and individual observations
5
+ * Styled to match Figma design
6
+ */
7
+ import { TraceTreeProps } from './types';
8
+ export declare function TraceTree({ trace, observations, isExpanded: defaultExpanded, selectedNodeId, onNodeSelect, onExpandToggle, showTraceId, isLoading, defaultExpandedNodeIds, }: TraceTreeProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=TraceTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TraceTree.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/detail/TraceTree.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,cAAc,EAAmB,MAAM,SAAS,CAAC;AA4C1D,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,YAAY,EACZ,UAAU,EAAE,eAAe,EAC3B,cAAc,EACd,YAAY,EACZ,cAAc,EACd,WAAkB,EAClB,SAAiB,EACjB,sBAAsB,GACvB,EAAE,cAAc,2CAoPhB"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Detail Page Configuration - Barrel Export
3
+ */
4
+ export { observationFilterConfig, LLM_MODELS, type ObservationLevelType } from './observationFilterConfig';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tracing/components/detail/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Configuration for trace observations filtering
3
+ * Based on koretracing's appConfig.ts
4
+ *
5
+ * Observations matching these criteria will be filtered out in DEFAULT mode
6
+ * and only shown in DEBUG mode
7
+ */
8
+ /**
9
+ * Observation level type for filtering
10
+ */
11
+ export type ObservationLevelType = 'DEBUG' | 'DEFAULT' | 'WARNING' | 'ERROR';
12
+ /**
13
+ * Filter configuration for hiding internal LangGraph/LangChain spans
14
+ */
15
+ export declare const observationFilterConfig: {
16
+ /**
17
+ * Internal LangGraph/LangChain keys to hide
18
+ * These are framework-level spans that add noise to the trace view
19
+ */
20
+ LANGGRAPH_INTERNAL_KEYS: Record<string, number>;
21
+ /**
22
+ * Observations with names containing this key are hidden
23
+ * This filters out router/channel write operations
24
+ */
25
+ ROUTER_KEY: string;
26
+ /**
27
+ * Metadata fields that trigger debug mode (hidden by default)
28
+ * Observations containing any of these metadata fields will be hidden
29
+ */
30
+ DEBUG_MODE_METADATA_FIELDS: string[];
31
+ /**
32
+ * Metadata field values that trigger debug mode
33
+ * Observations where metadata field matches any of these values will be hidden
34
+ */
35
+ DEBUG_MODE_METADATA_VALUES: Record<string, string[]>;
36
+ };
37
+ /**
38
+ * LLM model names for identification
39
+ */
40
+ export declare const LLM_MODELS: string[];
41
+ //# sourceMappingURL=observationFilterConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"observationFilterConfig.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tracing/components/detail/config/observationFilterConfig.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,uBAAuB;IAClC;;;OAGG;6BAmBE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAE3B;;;OAGG;;IAGH;;;OAGG;gCAC+B,MAAM,EAAE;IAE1C;;;OAGG;gCAYE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,UAKtB,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Detail Components - Barrel Export
3
+ * Unified components for Session and Trace detail views
4
+ */
5
+ export { DetailPage } from './DetailPage';
6
+ export { TraceTree } from './TraceTree';
7
+ export { ObservationNode } from './ObservationNode';
8
+ export { NodeDetailPanel } from './NodeDetailPanel';
9
+ export { TraceTreeService } from '../../services/TraceTreeService';
10
+ export { DetailPageService, createDetailPageService, DEFAULT_BATCH_SIZE, } from './services/DetailPageService';
11
+ export { observationFilterConfig, LLM_MODELS } from './config/observationFilterConfig';
12
+ export type { NodeType, ObservationType, ObservationData, TraceData, SessionData, SessionDetailData, TraceDetailData, ObservationTreeNode, DetailPageMode, DetailPageProps, InitialSessionData, DetailHeaderProps, TraceTreeProps, ObservationNodeProps, UserMessageSectionProps, AppResponseSectionProps, TraceIdFooterProps, NodeDetailPanelProps, SummaryMetrics, ObservationIconType, ObservationIconProps, ObservationLevelType, } from './types';
13
+ export { getMockSession, getMockTrace, getMockObservations } from '../../mocks/mockData';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/detail/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,uBAAuB,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAGvF,YAAY,EACV,QAAQ,EACR,eAAe,EACf,eAAe,EACf,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,119 @@
1
+ /**
2
+ * DetailPageService
3
+ * Handles API calls and data transformation for the DetailPage component.
4
+ * Provides unified interface for both session and trace detail modes.
5
+ *
6
+ * Lazy Loading Strategy:
7
+ * - Uses light traces.byId for collapsed view (input/output only, no observations)
8
+ * - Fetches observations via traces.byIdWithObservationsAndScores only when user expands a trace
9
+ * - Batches parallel requests to avoid overwhelming the server
10
+ */
11
+ import type { TracingApiConfig } from '../../../types';
12
+ import type { ObservationData, TraceData, SessionDetailData, TraceDetailData } from '../types';
13
+ import { type ObservationLevelType } from '../config/observationFilterConfig';
14
+ /** Default batch size for parallel API requests */
15
+ export declare const DEFAULT_BATCH_SIZE = 5;
16
+ /**
17
+ * Service for fetching and transforming detail page data
18
+ */
19
+ export declare class DetailPageService {
20
+ private apiService;
21
+ private projectId;
22
+ private batchSize;
23
+ constructor(apiConfig: TracingApiConfig, batchSize?: number);
24
+ /**
25
+ * Fetch session detail with traces (basic info only, no observations)
26
+ * For session mode - uses light traces.byId calls with batching
27
+ * Observations are loaded separately per trace when user expands
28
+ */
29
+ fetchSessionDetail(sessionId: string): Promise<SessionDetailData>;
30
+ /**
31
+ * Fetch single trace detail WITHOUT observations (light call)
32
+ * For trace mode initial load - shows collapsed view with input/output
33
+ * Observations are loaded separately when user expands
34
+ */
35
+ fetchTraceDetailLight(traceId: string, timestamp?: string): Promise<TraceDetailData>;
36
+ /**
37
+ * Fetch single trace detail with observations and scores (heavy call)
38
+ * For expanded view - complete data including observation tree
39
+ * @deprecated Use fetchTraceDetailLight + fetchTraceObservations for lazy loading
40
+ */
41
+ fetchTraceDetail(traceId: string, timestamp?: string): Promise<TraceDetailData>;
42
+ /**
43
+ * Fetch observations for a specific trace
44
+ * Used to load observations on demand when user expands a trace
45
+ */
46
+ fetchTraceObservations(traceId: string, timestamp?: string): Promise<ObservationData[]>;
47
+ /**
48
+ * Fetch single observation by ID
49
+ * Used to get full observation details when a node is selected in the detail panel
50
+ * Returns enriched data with usageDetails, latency, etc.
51
+ */
52
+ fetchObservationById(observationId: string, traceId: string, startTime?: string): Promise<ObservationData | null>;
53
+ /**
54
+ * Session metadata callback type
55
+ */
56
+ static readonly SessionMetaCallback = "onSessionMeta";
57
+ /**
58
+ * Fetch session detail progressively - optimized for fast first paint
59
+ *
60
+ * Loading priority:
61
+ * 1. Session metadata (immediate) - provides trace count for skeleton rendering
62
+ * 2. First trace WITH observations (immediate) - unblocks UI with actual data
63
+ * 3. Remaining traces WITHOUT observations (background) - lazy loaded as collapsed
64
+ *
65
+ * @param sessionId - Session ID to fetch
66
+ * @param onSessionMeta - Callback when session metadata is available (for skeleton count)
67
+ * @param onFirstTrace - Callback when first trace with observations is ready (unblocks UI)
68
+ * @param onRemainingTrace - Callback for each additional trace as it loads (updates skeleton)
69
+ */
70
+ fetchSessionDetailProgressive(sessionId: string, onSessionMeta: (meta: {
71
+ id: string;
72
+ traceCount: number;
73
+ traceIds: string[];
74
+ }) => void, onFirstTrace: (trace: TraceDetailData, observations: ObservationData[]) => void, onRemainingTrace: (trace: TraceDetailData, index: number) => void): Promise<SessionDetailData>;
75
+ /**
76
+ * Filter observations based on minObservationLevel
77
+ * Hides internal LangGraph spans and adjusts parent IDs
78
+ *
79
+ * @param observations - Array of observations to filter
80
+ * @param minLevel - Minimum observation level ('DEFAULT' hides internal spans)
81
+ * @returns Filtered observations with adjusted parent IDs
82
+ */
83
+ filterObservations(observations: ObservationData[], minLevel?: ObservationLevelType): ObservationData[];
84
+ /**
85
+ * Transform API trace response to TraceDetailData
86
+ */
87
+ private transformToTraceDetailData;
88
+ /**
89
+ * Transform API observation to ObservationData
90
+ * Preserves all fields from API response including usageDetails, totalUsage, etc.
91
+ * Uses TraceTreeService.normalizeObservationData for consistent JSON parsing
92
+ */
93
+ private transformObservation;
94
+ /**
95
+ * Transform TraceDetailData to UI TraceData format
96
+ */
97
+ transformToTraceData(trace: TraceDetailData): TraceData;
98
+ /**
99
+ * Update API configuration
100
+ */
101
+ updateConfig(apiConfig: TracingApiConfig): void;
102
+ /**
103
+ * Get project ID
104
+ */
105
+ getProjectId(): string;
106
+ /**
107
+ * Get current batch size
108
+ */
109
+ getBatchSize(): number;
110
+ /**
111
+ * Set batch size for parallel API requests
112
+ */
113
+ setBatchSize(size: number): void;
114
+ }
115
+ /**
116
+ * Create a DetailPageService instance
117
+ */
118
+ export declare function createDetailPageService(apiConfig: TracingApiConfig): DetailPageService;
119
+ //# sourceMappingURL=DetailPageService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailPageService.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tracing/components/detail/services/DetailPageService.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAe,MAAM,gBAAgB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAE3C,mDAAmD;AACnD,eAAO,MAAM,kBAAkB,IAAI,CAAC;AAEpC;;GAEG;AACH,qBA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AAkB,CAChB,YAAY,EAAE,eAAe,EAAE,EAC/B,QAAQ,GAAE,oBAAgC,GACzC,eAAe,EAAE;IAwFpB;;OAEG;IACH,OAAO,CAAC,0BAA0B;IA2BlC;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAoC5B;;OAEG;IACH,oBAAoB,CAAC,KAAK,EAAE,eAAe,GAAG,SAAS;IAqBvD;;OAEG;IACH,YAAY,CAAC,SAAS,EAAE,gBAAgB,GAAG,IAAI;IAK/C;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAGjC;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,gBAAgB,GAAG,iBAAiB,CAEtF"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Detail Page Services - Barrel Export
3
+ */
4
+ export { DetailPageService, createDetailPageService, DEFAULT_BATCH_SIZE, } from './DetailPageService';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/tracing/components/detail/services/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EACL,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,216 @@
1
+ /**
2
+ * Type definitions for the unified Detail components
3
+ * Used by DetailPage, TraceTree, ObservationNode, and NodeDetailPanel
4
+ */
5
+ import type { TracingApiConfig, Score } from '../../types';
6
+ export type { ObservationLevelType } from './config/observationFilterConfig';
7
+ export type NodeType = 'trace' | 'generation' | 'span' | 'tool' | 'event';
8
+ export type ObservationType = 'GENERATION' | 'SPAN' | 'EVENT';
9
+ export interface UsageDetails {
10
+ input?: number;
11
+ output?: number;
12
+ total?: number;
13
+ }
14
+ export interface ObservationData {
15
+ id: string;
16
+ traceId: string;
17
+ name: string;
18
+ type: ObservationType;
19
+ startTime: string;
20
+ endTime?: string;
21
+ parentObservationId?: string | null;
22
+ model?: string;
23
+ input?: unknown;
24
+ output?: unknown;
25
+ metadata?: Record<string, unknown> | string;
26
+ promptTokens?: number;
27
+ completionTokens?: number;
28
+ totalTokens?: number;
29
+ totalCost?: string;
30
+ level?: 'DEBUG' | 'DEFAULT' | 'WARNING' | 'ERROR';
31
+ statusMessage?: string;
32
+ usageDetails?: UsageDetails;
33
+ totalUsage?: number;
34
+ inputUsage?: number;
35
+ outputUsage?: number;
36
+ latency?: number;
37
+ timeToFirstToken?: number;
38
+ }
39
+ export interface TraceData {
40
+ id: string;
41
+ name: string;
42
+ sessionId?: string;
43
+ timestamp: string;
44
+ input?: unknown;
45
+ output?: unknown;
46
+ latency?: number;
47
+ totalTokens?: number;
48
+ totalCost?: string;
49
+ observations?: ObservationData[];
50
+ }
51
+ export interface SessionData {
52
+ id: string;
53
+ createdAt: string;
54
+ traces: TraceData[];
55
+ totalCost?: string;
56
+ totalTokens?: number;
57
+ }
58
+ /**
59
+ * Full session detail data returned from API
60
+ * Includes traces with basic info (observations loaded separately)
61
+ */
62
+ export interface SessionDetailData {
63
+ id: string;
64
+ projectId: string;
65
+ createdAt: string;
66
+ updatedAt?: string;
67
+ environment?: string;
68
+ appvId?: string | null;
69
+ envId?: string | null;
70
+ bookmarked: boolean;
71
+ public: boolean;
72
+ traces: TraceDetailData[];
73
+ scores?: Score[];
74
+ totalCost?: number;
75
+ users?: string[];
76
+ }
77
+ /**
78
+ * Full trace detail data returned from API
79
+ * Includes observations and scores
80
+ */
81
+ export interface TraceDetailData {
82
+ id: string;
83
+ name: string;
84
+ projectId: string;
85
+ sessionId?: string;
86
+ timestamp: string;
87
+ createdAt?: string;
88
+ updatedAt?: string;
89
+ userId?: string;
90
+ input?: string | null;
91
+ output?: string | null;
92
+ metadata?: string | null;
93
+ tags?: string[];
94
+ bookmarked?: boolean;
95
+ public?: boolean;
96
+ latency?: number;
97
+ totalCost?: string | number;
98
+ totalTokens?: number;
99
+ environment?: string;
100
+ observations: ObservationData[];
101
+ scores: Score[];
102
+ }
103
+ export interface ObservationTreeNode {
104
+ observation: ObservationData;
105
+ children: ObservationTreeNode[];
106
+ level: number;
107
+ }
108
+ export type DetailPageMode = 'session' | 'trace';
109
+ /**
110
+ * Initial session data that can be passed from listing page
111
+ * Used to show header immediately without waiting for API
112
+ */
113
+ export interface InitialSessionData {
114
+ id: string;
115
+ countTraces: number;
116
+ totalCost?: string;
117
+ totalTokens?: number;
118
+ sessionDuration?: number;
119
+ createdAt?: string;
120
+ }
121
+ export interface DetailPageProps {
122
+ mode: DetailPageMode;
123
+ sessionId?: string;
124
+ traceId?: string;
125
+ timestamp?: string;
126
+ apiConfig: TracingApiConfig;
127
+ onClose?: () => void;
128
+ className?: string;
129
+ /** Optional: Pre-select an observation by ID (used when opening from generations list) */
130
+ selectedObservationId?: string;
131
+ /**
132
+ * Batch size for parallel API requests when fetching multiple traces
133
+ * Used in session mode to batch traces.byId calls
134
+ * @default 5
135
+ */
136
+ batchSize?: number;
137
+ /**
138
+ * Optional: Initial trace count from listing page
139
+ * Used to show correct number of skeletons before API returns
140
+ * Prevents jarring skeleton count change
141
+ * @deprecated Use initialSessionData instead
142
+ */
143
+ initialTraceCount?: number;
144
+ /**
145
+ * Optional: Initial session data from listing page
146
+ * Used to show header immediately without waiting for API
147
+ * Contains: id, countTraces, totalCost, totalTokens, sessionDuration
148
+ */
149
+ initialSessionData?: InitialSessionData;
150
+ }
151
+ export interface DetailHeaderProps {
152
+ mode: DetailPageMode;
153
+ id: string;
154
+ metrics: {
155
+ tracesCount?: number;
156
+ sessionCost?: string;
157
+ latency?: number;
158
+ traceCost?: string;
159
+ };
160
+ onBack?: () => void;
161
+ onCopy?: () => void;
162
+ }
163
+ export interface TraceTreeProps {
164
+ trace: TraceData;
165
+ observations: ObservationData[];
166
+ isExpanded: boolean;
167
+ selectedNodeId: string | null;
168
+ onNodeSelect: (node: ObservationData) => void;
169
+ onExpandToggle: () => void;
170
+ showTraceId?: boolean;
171
+ /** Loading state for when observations are being fetched */
172
+ isLoading?: boolean;
173
+ /** Set of observation IDs to auto-expand on initial render */
174
+ defaultExpandedNodeIds?: Set<string>;
175
+ }
176
+ export interface ObservationNodeProps {
177
+ node: ObservationTreeNode;
178
+ selectedNodeId: string | null;
179
+ expandedNodeIds: Set<string>;
180
+ onSelect: (observation: ObservationData) => void;
181
+ onToggle: (observationId: string) => void;
182
+ }
183
+ export interface UserMessageSectionProps {
184
+ message: string;
185
+ isExpanded: boolean;
186
+ onToggle: () => void;
187
+ }
188
+ export interface AppResponseSectionProps {
189
+ response: string;
190
+ duration: number;
191
+ }
192
+ export interface TraceIdFooterProps {
193
+ traceId: string;
194
+ onCopy: () => void;
195
+ onOpenExternal?: () => void;
196
+ }
197
+ export interface NodeDetailPanelProps {
198
+ node: ObservationData | TraceData | null;
199
+ nodeType: NodeType | null;
200
+ /** Optional: API config for fetching full observation details */
201
+ apiConfig?: TracingApiConfig;
202
+ }
203
+ export interface SummaryMetrics {
204
+ totalCost: string;
205
+ totalTokens: number;
206
+ latency: number;
207
+ createdAt: string;
208
+ inputTokens?: number;
209
+ outputTokens?: number;
210
+ }
211
+ export type ObservationIconType = 'supervisor' | 'agent' | 'model' | 'tool' | 'query' | 'default';
212
+ export interface ObservationIconProps {
213
+ type: ObservationIconType;
214
+ className?: string;
215
+ }
216
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/detail/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAG3D,YAAY,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAM7E,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OA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EAAE,eAAe,KAAK,IAAI,CAAC;IACjD,QAAQ,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,IAAI,CAAC;CAC3C;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,eAAe,GAAG,SAAS,GAAG,IAAI,CAAC;IACzC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,iEAAiE;IACjE,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAMD,MAAM,MAAM,mBAAmB,GAC3B,YAAY,GACZ,OAAO,GACP,OAAO,GACP,MAAM,GACN,OAAO,GACP,SAAS,CAAC;AAEd,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * ColumnCustomization Component
3
+ * Slideout modal for customizing visible columns - matches Figma design exactly
4
+ */
5
+ import { ColumnDef } from '../../types';
6
+ interface ColumnCustomizationProps<T = unknown> {
7
+ columns: ColumnDef<T>[];
8
+ onColumnsChange: (columns: ColumnDef<T>[]) => void;
9
+ onClose: () => void;
10
+ className?: string;
11
+ }
12
+ export declare function ColumnCustomization<T = unknown>(props: ColumnCustomizationProps<T>): import("react/jsx-runtime").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=ColumnCustomization.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ColumnCustomization.d.ts","sourceRoot":"","sources":["../../../../../src/features/tracing/components/shared/ColumnCustomization.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,UAAU,wBAAwB,CAAC,CAAC,GAAG,OAAO;IAC5C,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACxB,eAAe,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC;IACnD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC,CAAC,2CAyLlF"}