@flanksource/clicky-ui 0.3.78 → 0.3.80
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.
- package/dist/ai.cjs +2 -2
- package/dist/ai.js +2 -2
- package/dist/comments/CommentThreadList.cjs +13 -14
- package/dist/comments/CommentThreadList.cjs.map +1 -1
- package/dist/comments/CommentThreadList.d.ts.map +1 -1
- package/dist/comments/CommentThreadList.js +13 -14
- package/dist/comments/CommentThreadList.js.map +1 -1
- package/dist/components/Combobox.cjs +9 -3
- package/dist/components/Combobox.cjs.map +1 -1
- package/dist/components/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox.js +9 -3
- package/dist/components/Combobox.js.map +1 -1
- package/dist/components/ComboboxMenu.cjs +1 -1
- package/dist/components/ComboboxMenu.cjs.map +1 -1
- package/dist/components/ComboboxMenu.js +1 -1
- package/dist/components/ComboboxMenu.js.map +1 -1
- package/dist/components/EndpointSelector.cjs +7 -1
- package/dist/components/EndpointSelector.cjs.map +1 -1
- package/dist/components/EndpointSelector.d.ts.map +1 -1
- package/dist/components/EndpointSelector.js +7 -1
- package/dist/components/EndpointSelector.js.map +1 -1
- package/dist/components/FilterBar.cjs +36 -12
- package/dist/components/FilterBar.cjs.map +1 -1
- package/dist/components/FilterBar.d.ts +14 -2
- package/dist/components/FilterBar.d.ts.map +1 -1
- package/dist/components/FilterBar.js +36 -12
- package/dist/components/FilterBar.js.map +1 -1
- package/dist/components/FormLookupProvider.cjs +12 -4
- package/dist/components/FormLookupProvider.cjs.map +1 -1
- package/dist/components/FormLookupProvider.d.ts.map +1 -1
- package/dist/components/FormLookupProvider.js +13 -5
- package/dist/components/FormLookupProvider.js.map +1 -1
- package/dist/components/JSONPathPlayground.cjs +124 -233
- package/dist/components/JSONPathPlayground.cjs.map +1 -1
- package/dist/components/JSONPathPlayground.d.ts +15 -13
- package/dist/components/JSONPathPlayground.d.ts.map +1 -1
- package/dist/components/JSONPathPlayground.js +125 -234
- package/dist/components/JSONPathPlayground.js.map +1 -1
- package/dist/components/JsonSchemaForm.cjs +6 -0
- package/dist/components/JsonSchemaForm.cjs.map +1 -1
- package/dist/components/JsonSchemaForm.js +6 -0
- package/dist/components/JsonSchemaForm.js.map +1 -1
- package/dist/components/SegmentedControl.cjs +1 -1
- package/dist/components/SegmentedControl.cjs.map +1 -1
- package/dist/components/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControl.js.map +1 -1
- package/dist/components/TimeRange.cjs +133 -60
- package/dist/components/TimeRange.cjs.map +1 -1
- package/dist/components/TimeRange.d.ts +8 -1
- package/dist/components/TimeRange.d.ts.map +1 -1
- package/dist/components/TimeRange.js +133 -60
- package/dist/components/TimeRange.js.map +1 -1
- package/dist/components/json-schema-form-accordion-array.cjs +8 -6
- package/dist/components/json-schema-form-accordion-array.cjs.map +1 -1
- package/dist/components/json-schema-form-accordion-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-accordion-array.js +9 -7
- package/dist/components/json-schema-form-accordion-array.js.map +1 -1
- package/dist/components/json-schema-form-array-rows.cjs +45 -0
- package/dist/components/json-schema-form-array-rows.cjs.map +1 -0
- package/dist/components/json-schema-form-array-rows.d.ts +10 -0
- package/dist/components/json-schema-form-array-rows.d.ts.map +1 -0
- package/dist/components/json-schema-form-array-rows.js +45 -0
- package/dist/components/json-schema-form-array-rows.js.map +1 -0
- package/dist/components/json-schema-form-item-summary.cjs +3 -5
- package/dist/components/json-schema-form-item-summary.cjs.map +1 -1
- package/dist/components/json-schema-form-item-summary.d.ts +1 -1
- package/dist/components/json-schema-form-item-summary.d.ts.map +1 -1
- package/dist/components/json-schema-form-item-summary.js +3 -5
- package/dist/components/json-schema-form-item-summary.js.map +1 -1
- package/dist/components/json-schema-form-render.cjs +11 -2
- package/dist/components/json-schema-form-render.cjs.map +1 -1
- package/dist/components/json-schema-form-render.d.ts.map +1 -1
- package/dist/components/json-schema-form-render.js +12 -3
- package/dist/components/json-schema-form-render.js.map +1 -1
- package/dist/components/json-schema-form-resolve.cjs +10 -0
- package/dist/components/json-schema-form-resolve.cjs.map +1 -1
- package/dist/components/json-schema-form-resolve.d.ts +1 -0
- package/dist/components/json-schema-form-resolve.d.ts.map +1 -1
- package/dist/components/json-schema-form-resolve.js +10 -1
- package/dist/components/json-schema-form-resolve.js.map +1 -1
- package/dist/components/json-schema-form-runtime-types.d.ts +4 -0
- package/dist/components/json-schema-form-runtime-types.d.ts.map +1 -1
- package/dist/components/json-schema-form-table-array.cjs +25 -16
- package/dist/components/json-schema-form-table-array.cjs.map +1 -1
- package/dist/components/json-schema-form-table-array.d.ts +1 -1
- package/dist/components/json-schema-form-table-array.d.ts.map +1 -1
- package/dist/components/json-schema-form-table-array.js +26 -17
- package/dist/components/json-schema-form-table-array.js.map +1 -1
- package/dist/components/json-schema-form-types.d.ts +0 -2
- package/dist/components/json-schema-form-types.d.ts.map +1 -1
- package/dist/components/jsonPathPlaygroundEvaluator.cjs +53 -0
- package/dist/components/jsonPathPlaygroundEvaluator.cjs.map +1 -0
- package/dist/components/jsonPathPlaygroundEvaluator.d.ts +23 -0
- package/dist/components/jsonPathPlaygroundEvaluator.d.ts.map +1 -0
- package/dist/components/jsonPathPlaygroundEvaluator.js +53 -0
- package/dist/components/jsonPathPlaygroundEvaluator.js.map +1 -0
- package/dist/components/jsonPathTree.cjs +1 -0
- package/dist/components/jsonPathTree.cjs.map +1 -1
- package/dist/components/jsonPathTree.d.ts +6 -0
- package/dist/components/jsonPathTree.d.ts.map +1 -1
- package/dist/components/jsonPathTree.js +1 -0
- package/dist/components/jsonPathTree.js.map +1 -1
- package/dist/data/Clicky.cjs +37 -18
- package/dist/data/Clicky.cjs.map +1 -1
- package/dist/data/Clicky.d.ts +5 -0
- package/dist/data/Clicky.d.ts.map +1 -1
- package/dist/data/Clicky.js +37 -18
- package/dist/data/Clicky.js.map +1 -1
- package/dist/data/DataTable.cjs +49 -12
- package/dist/data/DataTable.cjs.map +1 -1
- package/dist/data/DataTable.d.ts +17 -2
- package/dist/data/DataTable.d.ts.map +1 -1
- package/dist/data/DataTable.js +49 -12
- package/dist/data/DataTable.js.map +1 -1
- package/dist/data/TaskPoolUsage.cjs +2 -1
- package/dist/data/TaskPoolUsage.cjs.map +1 -1
- package/dist/data/TaskPoolUsage.d.ts.map +1 -1
- package/dist/data/TaskPoolUsage.js +2 -1
- package/dist/data/TaskPoolUsage.js.map +1 -1
- package/dist/data/TimeseriesPanel.axes.cjs +18 -3
- package/dist/data/TimeseriesPanel.axes.cjs.map +1 -1
- package/dist/data/TimeseriesPanel.axes.d.ts +10 -1
- package/dist/data/TimeseriesPanel.axes.d.ts.map +1 -1
- package/dist/data/TimeseriesPanel.axes.js +17 -4
- package/dist/data/TimeseriesPanel.axes.js.map +1 -1
- package/dist/data/TimeseriesPanel.cjs +57 -23
- package/dist/data/TimeseriesPanel.cjs.map +1 -1
- package/dist/data/TimeseriesPanel.d.ts.map +1 -1
- package/dist/data/TimeseriesPanel.js +59 -25
- package/dist/data/TimeseriesPanel.js.map +1 -1
- package/dist/data/TimeseriesPanel.model.cjs +10 -7
- package/dist/data/TimeseriesPanel.model.cjs.map +1 -1
- package/dist/data/TimeseriesPanel.model.d.ts +7 -4
- package/dist/data/TimeseriesPanel.model.d.ts.map +1 -1
- package/dist/data/TimeseriesPanel.model.js +11 -8
- package/dist/data/TimeseriesPanel.model.js.map +1 -1
- package/dist/data/TimeseriesPanel.readout.cjs +11 -0
- package/dist/data/TimeseriesPanel.readout.cjs.map +1 -0
- package/dist/data/TimeseriesPanel.readout.d.ts +4 -0
- package/dist/data/TimeseriesPanel.readout.d.ts.map +1 -0
- package/dist/data/TimeseriesPanel.readout.js +10 -0
- package/dist/data/TimeseriesPanel.readout.js.map +1 -0
- package/dist/data/TimeseriesPanel.segments.cjs +67 -0
- package/dist/data/TimeseriesPanel.segments.cjs.map +1 -0
- package/dist/data/TimeseriesPanel.segments.d.ts +27 -0
- package/dist/data/TimeseriesPanel.segments.d.ts.map +1 -0
- package/dist/data/TimeseriesPanel.segments.js +67 -0
- package/dist/data/TimeseriesPanel.segments.js.map +1 -0
- package/dist/data/TreeDataTable.cjs +12 -3
- package/dist/data/TreeDataTable.cjs.map +1 -1
- package/dist/data/TreeDataTable.d.ts +15 -3
- package/dist/data/TreeDataTable.d.ts.map +1 -1
- package/dist/data/TreeDataTable.js +12 -3
- package/dist/data/TreeDataTable.js.map +1 -1
- package/dist/data/TreeNode.cjs +18 -3
- package/dist/data/TreeNode.cjs.map +1 -1
- package/dist/data/TreeNode.d.ts +7 -1
- package/dist/data/TreeNode.d.ts.map +1 -1
- package/dist/data/TreeNode.js +18 -3
- package/dist/data/TreeNode.js.map +1 -1
- package/dist/data/ai/SessionChatComposer.cjs +2 -0
- package/dist/data/ai/SessionChatComposer.cjs.map +1 -1
- package/dist/data/ai/SessionChatComposer.d.ts.map +1 -1
- package/dist/data/ai/SessionChatComposer.js +2 -0
- package/dist/data/ai/SessionChatComposer.js.map +1 -1
- package/dist/data/ai/SessionInspector.panels.cjs +47 -1
- package/dist/data/ai/SessionInspector.panels.cjs.map +1 -1
- package/dist/data/ai/SessionInspector.panels.d.ts.map +1 -1
- package/dist/data/ai/SessionInspector.panels.js +48 -2
- package/dist/data/ai/SessionInspector.panels.js.map +1 -1
- package/dist/data/ai/SessionViewer.unified.d.ts +48 -0
- package/dist/data/ai/SessionViewer.unified.d.ts.map +1 -1
- package/dist/data/ai/index.d.ts +2 -2
- package/dist/data/ai/index.d.ts.map +1 -1
- package/dist/data/ai/runtime-profiles/PresetWorkspace.cjs +97 -100
- package/dist/data/ai/runtime-profiles/PresetWorkspace.cjs.map +1 -1
- package/dist/data/ai/runtime-profiles/PresetWorkspace.d.ts.map +1 -1
- package/dist/data/ai/runtime-profiles/PresetWorkspace.js +97 -100
- package/dist/data/ai/runtime-profiles/PresetWorkspace.js.map +1 -1
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.cjs +40 -38
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.cjs.map +1 -1
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.d.ts.map +1 -1
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.js +41 -39
- package/dist/data/ai/runtime-profiles/ProfileWorkspace.js.map +1 -1
- package/dist/data/ai/runtime-profiles/ResolutionPreview.cjs +53 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.cjs.map +1 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.d.ts +7 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.d.ts.map +1 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.js +53 -0
- package/dist/data/ai/runtime-profiles/ResolutionPreview.js.map +1 -0
- package/dist/data/ai/runtime-profiles/index.d.ts +1 -1
- package/dist/data/ai/runtime-profiles/index.d.ts.map +1 -1
- package/dist/data/ai/sessionSubmitVariant.cjs +30 -0
- package/dist/data/ai/sessionSubmitVariant.cjs.map +1 -0
- package/dist/data/ai/sessionSubmitVariant.d.ts +7 -0
- package/dist/data/ai/sessionSubmitVariant.d.ts.map +1 -0
- package/dist/data/ai/sessionSubmitVariant.js +30 -0
- package/dist/data/ai/sessionSubmitVariant.js.map +1 -0
- package/dist/data/cells/Timestamp.cjs +15 -4
- package/dist/data/cells/Timestamp.cjs.map +1 -1
- package/dist/data/cells/Timestamp.d.ts.map +1 -1
- package/dist/data/cells/Timestamp.js +15 -4
- package/dist/data/cells/Timestamp.js.map +1 -1
- package/dist/data/cells/timestamp-format.cjs +28 -8
- package/dist/data/cells/timestamp-format.cjs.map +1 -1
- package/dist/data/cells/timestamp-format.d.ts +3 -1
- package/dist/data/cells/timestamp-format.d.ts.map +1 -1
- package/dist/data/cells/timestamp-format.js +28 -8
- package/dist/data/cells/timestamp-format.js.map +1 -1
- package/dist/data/charts/TrendChart.cjs +65 -31
- package/dist/data/charts/TrendChart.cjs.map +1 -1
- package/dist/data/charts/TrendChart.d.ts +12 -3
- package/dist/data/charts/TrendChart.d.ts.map +1 -1
- package/dist/data/charts/TrendChart.js +67 -33
- package/dist/data/charts/TrendChart.js.map +1 -1
- package/dist/data/charts/index.d.ts +1 -1
- package/dist/data/charts/index.d.ts.map +1 -1
- package/dist/data/chat/PromptInput.cjs +11 -2
- package/dist/data/chat/PromptInput.cjs.map +1 -1
- package/dist/data/chat/PromptInput.d.ts +15 -1
- package/dist/data/chat/PromptInput.d.ts.map +1 -1
- package/dist/data/chat/PromptInput.js +11 -2
- package/dist/data/chat/PromptInput.js.map +1 -1
- package/dist/data/chat/index.d.ts +1 -1
- package/dist/data/chat/index.d.ts.map +1 -1
- package/dist/data/data-table-filter-values.cjs.map +1 -1
- package/dist/data/data-table-filter-values.d.ts +1 -1
- package/dist/data/data-table-filter-values.d.ts.map +1 -1
- package/dist/data/data-table-filter-values.js.map +1 -1
- package/dist/data/data-table-server-filters.cjs +2 -6
- package/dist/data/data-table-server-filters.cjs.map +1 -1
- package/dist/data/data-table-server-filters.d.ts +1 -1
- package/dist/data/data-table-server-filters.d.ts.map +1 -1
- package/dist/data/data-table-server-filters.js +1 -5
- package/dist/data/data-table-server-filters.js.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.cjs +2 -1
- package/dist/data/diagnostics/ErrorDetails.cjs.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.d.ts +2 -1
- package/dist/data/diagnostics/ErrorDetails.d.ts.map +1 -1
- package/dist/data/diagnostics/ErrorDetails.js +2 -1
- package/dist/data/diagnostics/ErrorDetails.js.map +1 -1
- package/dist/data/gauge-stats.cjs +7 -3
- package/dist/data/gauge-stats.cjs.map +1 -1
- package/dist/data/gauge-stats.d.ts.map +1 -1
- package/dist/data/gauge-stats.js +7 -3
- package/dist/data/gauge-stats.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.cjs +41 -17
- package/dist/data/query-browser/QueryBrowser.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.d.ts +1 -1
- package/dist/data/query-browser/QueryBrowser.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.fieldNames.cjs +23 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.cjs.map +1 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.d.ts +11 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.d.ts.map +1 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.js +23 -0
- package/dist/data/query-browser/QueryBrowser.fieldNames.js.map +1 -0
- package/dist/data/query-browser/QueryBrowser.js +41 -17
- package/dist/data/query-browser/QueryBrowser.js.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.cjs.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.d.ts +18 -0
- package/dist/data/query-browser/QueryBrowser.types.d.ts.map +1 -1
- package/dist/data/query-browser/QueryBrowser.types.js.map +1 -1
- package/dist/data/runtime/RuntimeBarLayout.cjs +3 -2
- package/dist/data/runtime/RuntimeBarLayout.cjs.map +1 -1
- package/dist/data/runtime/RuntimeBarLayout.d.ts.map +1 -1
- package/dist/data/runtime/RuntimeBarLayout.js +3 -2
- package/dist/data/runtime/RuntimeBarLayout.js.map +1 -1
- package/dist/data/test-runner/TestRunner.cjs +3 -1
- package/dist/data/test-runner/TestRunner.cjs.map +1 -1
- package/dist/data/test-runner/TestRunner.d.ts +8 -1
- package/dist/data/test-runner/TestRunner.d.ts.map +1 -1
- package/dist/data/test-runner/TestRunner.js +3 -1
- package/dist/data/test-runner/TestRunner.js.map +1 -1
- package/dist/data/test-runner/TestTree.cjs +1 -0
- package/dist/data/test-runner/TestTree.cjs.map +1 -1
- package/dist/data/test-runner/TestTree.d.ts.map +1 -1
- package/dist/data/test-runner/TestTree.js +1 -0
- package/dist/data/test-runner/TestTree.js.map +1 -1
- package/dist/data/test-runner/context.cjs.map +1 -1
- package/dist/data/test-runner/context.d.ts +2 -0
- package/dist/data/test-runner/context.d.ts.map +1 -1
- package/dist/data/test-runner/context.js.map +1 -1
- package/dist/data/timeseries-query.cjs +2 -2
- package/dist/data/timeseries-query.cjs.map +1 -1
- package/dist/data/timeseries-query.d.ts +1 -1
- package/dist/data/timeseries-query.d.ts.map +1 -1
- package/dist/data/timeseries-query.js +2 -2
- package/dist/data/timeseries-query.js.map +1 -1
- package/dist/data/traces/otel/OtelTraceBrowser.cjs +18 -9
- package/dist/data/traces/otel/OtelTraceBrowser.cjs.map +1 -1
- package/dist/data/traces/otel/OtelTraceBrowser.d.ts.map +1 -1
- package/dist/data/traces/otel/OtelTraceBrowser.js +19 -10
- package/dist/data/traces/otel/OtelTraceBrowser.js.map +1 -1
- package/dist/data/traces/otel/OtelTraceTable.cjs +10 -8
- package/dist/data/traces/otel/OtelTraceTable.cjs.map +1 -1
- package/dist/data/traces/otel/OtelTraceTable.d.ts.map +1 -1
- package/dist/data/traces/otel/OtelTraceTable.js +10 -8
- package/dist/data/traces/otel/OtelTraceTable.js.map +1 -1
- package/dist/data/traces/otel/QueryBar.cjs +6 -5
- package/dist/data/traces/otel/QueryBar.cjs.map +1 -1
- package/dist/data/traces/otel/QueryBar.d.ts.map +1 -1
- package/dist/data/traces/otel/QueryBar.js +6 -5
- package/dist/data/traces/otel/QueryBar.js.map +1 -1
- package/dist/data/traces/otel/browser-state.cjs +17 -4
- package/dist/data/traces/otel/browser-state.cjs.map +1 -1
- package/dist/data/traces/otel/browser-state.d.ts +2 -1
- package/dist/data/traces/otel/browser-state.d.ts.map +1 -1
- package/dist/data/traces/otel/browser-state.js +17 -4
- package/dist/data/traces/otel/browser-state.js.map +1 -1
- package/dist/data/version-info.cjs +3 -3
- package/dist/data/version-info.js +3 -3
- package/dist/data.cjs +1 -0
- package/dist/data.d.ts +1 -1
- package/dist/data.d.ts.map +1 -1
- package/dist/data.js +2 -2
- package/dist/expressions/playground/EmbeddedPlayground.cjs +40 -0
- package/dist/expressions/playground/EmbeddedPlayground.cjs.map +1 -0
- package/dist/expressions/playground/EmbeddedPlayground.d.ts +30 -0
- package/dist/expressions/playground/EmbeddedPlayground.d.ts.map +1 -0
- package/dist/expressions/playground/EmbeddedPlayground.js +40 -0
- package/dist/expressions/playground/EmbeddedPlayground.js.map +1 -0
- package/dist/expressions/playground/ExpressionPlayground.cjs +6 -6
- package/dist/expressions/playground/ExpressionPlayground.cjs.map +1 -1
- package/dist/expressions/playground/ExpressionPlayground.d.ts +10 -3
- package/dist/expressions/playground/ExpressionPlayground.d.ts.map +1 -1
- package/dist/expressions/playground/ExpressionPlayground.js +6 -6
- package/dist/expressions/playground/ExpressionPlayground.js.map +1 -1
- package/dist/expressions/playground/LazyEmbeddedPlayground.cjs +22 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.cjs.map +1 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.d.ts +4 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.d.ts.map +1 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.js +22 -0
- package/dist/expressions/playground/LazyEmbeddedPlayground.js.map +1 -0
- package/dist/expressions/playground/api.cjs.map +1 -1
- package/dist/expressions/playground/api.d.ts +10 -0
- package/dist/expressions/playground/api.d.ts.map +1 -1
- package/dist/expressions/playground/api.js.map +1 -1
- package/dist/expressions/playground/hostEvaluation.cjs +67 -0
- package/dist/expressions/playground/hostEvaluation.cjs.map +1 -0
- package/dist/expressions/playground/hostEvaluation.d.ts +39 -0
- package/dist/expressions/playground/hostEvaluation.d.ts.map +1 -0
- package/dist/expressions/playground/hostEvaluation.js +63 -0
- package/dist/expressions/playground/hostEvaluation.js.map +1 -0
- package/dist/expressions/playground/panels/GraphPanel.cjs +8 -3
- package/dist/expressions/playground/panels/GraphPanel.cjs.map +1 -1
- package/dist/expressions/playground/panels/GraphPanel.d.ts +2 -1
- package/dist/expressions/playground/panels/GraphPanel.d.ts.map +1 -1
- package/dist/expressions/playground/panels/GraphPanel.js +8 -3
- package/dist/expressions/playground/panels/GraphPanel.js.map +1 -1
- package/dist/expressions/playground/panels/graphNodes.cjs +6 -2
- package/dist/expressions/playground/panels/graphNodes.cjs.map +1 -1
- package/dist/expressions/playground/panels/graphNodes.d.ts +6 -2
- package/dist/expressions/playground/panels/graphNodes.d.ts.map +1 -1
- package/dist/expressions/playground/panels/graphNodes.js +6 -2
- package/dist/expressions/playground/panels/graphNodes.js.map +1 -1
- package/dist/expressions/playground.d.ts +1 -1
- package/dist/expressions/playground.d.ts.map +1 -1
- package/dist/hooks/use-element-height.cjs +26 -0
- package/dist/hooks/use-element-height.cjs.map +1 -0
- package/dist/hooks/use-element-height.d.ts +10 -0
- package/dist/hooks/use-element-height.d.ts.map +1 -0
- package/dist/hooks/use-element-height.js +26 -0
- package/dist/hooks/use-element-height.js.map +1 -0
- package/dist/index.cjs +6 -5
- package/dist/index.js +7 -7
- package/dist/jvm/classes/PatchedClassList.cjs +11 -2
- package/dist/jvm/classes/PatchedClassList.cjs.map +1 -1
- package/dist/jvm/classes/PatchedClassList.d.ts.map +1 -1
- package/dist/jvm/classes/PatchedClassList.js +11 -2
- package/dist/jvm/classes/PatchedClassList.js.map +1 -1
- package/dist/jvm/fixtures/fake-client.d.ts.map +1 -1
- package/dist/jvm/model/patches.cjs +4 -2
- package/dist/jvm/model/patches.cjs.map +1 -1
- package/dist/jvm/model/patches.d.ts +3 -1
- package/dist/jvm/model/patches.d.ts.map +1 -1
- package/dist/jvm/model/patches.js +4 -2
- package/dist/jvm/model/patches.js.map +1 -1
- package/dist/jvm/protocol/client.d.ts +7 -2
- package/dist/jvm/protocol/client.d.ts.map +1 -1
- package/dist/jvm/protocol/operation-client.cjs +30 -11
- package/dist/jvm/protocol/operation-client.cjs.map +1 -1
- package/dist/jvm/protocol/operation-client.d.ts.map +1 -1
- package/dist/jvm/protocol/operation-client.js +30 -11
- package/dist/jvm/protocol/operation-client.js.map +1 -1
- package/dist/jvm/protocol/query-keys.cjs +1 -1
- package/dist/jvm/protocol/query-keys.cjs.map +1 -1
- package/dist/jvm/protocol/query-keys.d.ts +1 -1
- package/dist/jvm/protocol/query-keys.d.ts.map +1 -1
- package/dist/jvm/protocol/query-keys.js +1 -1
- package/dist/jvm/protocol/query-keys.js.map +1 -1
- package/dist/jvm/protocol/status.cjs +38 -0
- package/dist/jvm/protocol/status.cjs.map +1 -0
- package/dist/jvm/protocol/status.d.ts +13 -0
- package/dist/jvm/protocol/status.d.ts.map +1 -0
- package/dist/jvm/protocol/status.js +38 -0
- package/dist/jvm/protocol/status.js.map +1 -0
- package/dist/jvm/protocol/types.d.ts +16 -4
- package/dist/jvm/protocol/types.d.ts.map +1 -1
- package/dist/jvm/runtime/GcSummary.cjs +7 -1
- package/dist/jvm/runtime/GcSummary.cjs.map +1 -1
- package/dist/jvm/runtime/GcSummary.d.ts.map +1 -1
- package/dist/jvm/runtime/GcSummary.js +7 -1
- package/dist/jvm/runtime/GcSummary.js.map +1 -1
- package/dist/jvm/surfaces/ClassesSurface.cjs +11 -10
- package/dist/jvm/surfaces/ClassesSurface.cjs.map +1 -1
- package/dist/jvm/surfaces/ClassesSurface.d.ts.map +1 -1
- package/dist/jvm/surfaces/ClassesSurface.js +12 -11
- package/dist/jvm/surfaces/ClassesSurface.js.map +1 -1
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.cjs +11 -3
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.cjs.map +1 -1
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.d.ts +2 -0
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.d.ts.map +1 -1
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.js +11 -3
- package/dist/jvm/surfaces/JvmDiagnosticsWorkspace.js.map +1 -1
- package/dist/jvm/surfaces/PatchesSurface.cjs +3 -8
- package/dist/jvm/surfaces/PatchesSurface.cjs.map +1 -1
- package/dist/jvm/surfaces/PatchesSurface.d.ts +2 -1
- package/dist/jvm/surfaces/PatchesSurface.d.ts.map +1 -1
- package/dist/jvm/surfaces/PatchesSurface.js +4 -9
- package/dist/jvm/surfaces/PatchesSurface.js.map +1 -1
- package/dist/jvm/surfaces/ThreadsSurface.cjs +7 -4
- package/dist/jvm/surfaces/ThreadsSurface.cjs.map +1 -1
- package/dist/jvm/surfaces/ThreadsSurface.d.ts +4 -1
- package/dist/jvm/surfaces/ThreadsSurface.d.ts.map +1 -1
- package/dist/jvm/surfaces/ThreadsSurface.js +7 -4
- package/dist/jvm/surfaces/ThreadsSurface.js.map +1 -1
- package/dist/jvm/surfaces/jvm-context.cjs +23 -4
- package/dist/jvm/surfaces/jvm-context.cjs.map +1 -1
- package/dist/jvm/surfaces/jvm-context.d.ts +7 -0
- package/dist/jvm/surfaces/jvm-context.d.ts.map +1 -1
- package/dist/jvm/surfaces/jvm-context.js +23 -5
- package/dist/jvm/surfaces/jvm-context.js.map +1 -1
- package/dist/jvm/surfaces/use-patch-actions.cjs +2 -2
- package/dist/jvm/surfaces/use-patch-actions.cjs.map +1 -1
- package/dist/jvm/surfaces/use-patch-actions.js +2 -2
- package/dist/jvm/surfaces/use-patch-actions.js.map +1 -1
- package/dist/jvm/threads/FoldedStackTrace.cjs +3 -2
- package/dist/jvm/threads/FoldedStackTrace.cjs.map +1 -1
- package/dist/jvm/threads/FoldedStackTrace.d.ts +4 -1
- package/dist/jvm/threads/FoldedStackTrace.d.ts.map +1 -1
- package/dist/jvm/threads/FoldedStackTrace.js +3 -2
- package/dist/jvm/threads/FoldedStackTrace.js.map +1 -1
- package/dist/jvm/threads/ThreadDetail.cjs +6 -2
- package/dist/jvm/threads/ThreadDetail.cjs.map +1 -1
- package/dist/jvm/threads/ThreadDetail.d.ts +4 -1
- package/dist/jvm/threads/ThreadDetail.d.ts.map +1 -1
- package/dist/jvm/threads/ThreadDetail.js +6 -2
- package/dist/jvm/threads/ThreadDetail.js.map +1 -1
- package/dist/jvm.cjs +3 -0
- package/dist/jvm.d.ts +2 -1
- package/dist/jvm.d.ts.map +1 -1
- package/dist/jvm.js +3 -2
- package/dist/layout/AppShell.cjs.map +1 -1
- package/dist/layout/AppShell.d.ts +16 -0
- package/dist/layout/AppShell.d.ts.map +1 -1
- package/dist/layout/AppShell.js.map +1 -1
- package/dist/layout/AppShell.nav.cjs +21 -2
- package/dist/layout/AppShell.nav.cjs.map +1 -1
- package/dist/layout/AppShell.nav.js +21 -2
- package/dist/layout/AppShell.nav.js.map +1 -1
- package/dist/layout/Workspace.cjs +66 -21
- package/dist/layout/Workspace.cjs.map +1 -1
- package/dist/layout/Workspace.d.ts +6 -1
- package/dist/layout/Workspace.d.ts.map +1 -1
- package/dist/layout/Workspace.js +66 -21
- package/dist/layout/Workspace.js.map +1 -1
- package/dist/layout/Workspace.model.cjs +20 -0
- package/dist/layout/Workspace.model.cjs.map +1 -1
- package/dist/layout/Workspace.model.d.ts +17 -0
- package/dist/layout/Workspace.model.d.ts.map +1 -1
- package/dist/layout/Workspace.model.js +20 -1
- package/dist/layout/Workspace.model.js.map +1 -1
- package/dist/layout/Workspace.regions.cjs +10 -6
- package/dist/layout/Workspace.regions.cjs.map +1 -1
- package/dist/layout/Workspace.regions.d.ts +4 -1
- package/dist/layout/Workspace.regions.d.ts.map +1 -1
- package/dist/layout/Workspace.regions.js +10 -6
- package/dist/layout/Workspace.regions.js.map +1 -1
- package/dist/lib/duration.cjs +20 -0
- package/dist/lib/duration.cjs.map +1 -1
- package/dist/lib/duration.d.ts +8 -0
- package/dist/lib/duration.d.ts.map +1 -1
- package/dist/lib/duration.js +19 -1
- package/dist/lib/duration.js.map +1 -1
- package/dist/monaco/MonacoEditor.cjs +34 -30
- package/dist/monaco/MonacoEditor.cjs.map +1 -1
- package/dist/monaco/MonacoEditor.d.ts.map +1 -1
- package/dist/monaco/MonacoEditor.js +34 -30
- package/dist/monaco/MonacoEditor.js.map +1 -1
- package/dist/overlay/ConfirmDialog.cjs +5 -2
- package/dist/overlay/ConfirmDialog.cjs.map +1 -1
- package/dist/overlay/ConfirmDialog.d.ts +14 -2
- package/dist/overlay/ConfirmDialog.d.ts.map +1 -1
- package/dist/overlay/ConfirmDialog.js +5 -2
- package/dist/overlay/ConfirmDialog.js.map +1 -1
- package/dist/profiles/cel/celEditor.cjs +94 -285
- package/dist/profiles/cel/celEditor.cjs.map +1 -1
- package/dist/profiles/cel/celEditor.d.ts +10 -15
- package/dist/profiles/cel/celEditor.d.ts.map +1 -1
- package/dist/profiles/cel/celEditor.js +97 -287
- package/dist/profiles/cel/celEditor.js.map +1 -1
- package/dist/profiles/cel/celExpression.cjs +1 -61
- package/dist/profiles/cel/celExpression.cjs.map +1 -1
- package/dist/profiles/cel/celExpression.d.ts +2 -38
- package/dist/profiles/cel/celExpression.d.ts.map +1 -1
- package/dist/profiles/cel/celExpression.js +2 -58
- package/dist/profiles/cel/celExpression.js.map +1 -1
- package/dist/profiles/cel/celPlayground.cjs +122 -0
- package/dist/profiles/cel/celPlayground.cjs.map +1 -0
- package/dist/profiles/cel/celPlayground.d.ts +43 -0
- package/dist/profiles/cel/celPlayground.d.ts.map +1 -0
- package/dist/profiles/cel/celPlayground.js +118 -0
- package/dist/profiles/cel/celPlayground.js.map +1 -0
- package/dist/profiles/connections/connectionBrowserModel.cjs +2 -2
- package/dist/profiles/connections/connectionBrowserModel.cjs.map +1 -1
- package/dist/profiles/connections/connectionBrowserModel.d.ts +5 -1
- package/dist/profiles/connections/connectionBrowserModel.d.ts.map +1 -1
- package/dist/profiles/connections/connectionBrowserModel.js +2 -2
- package/dist/profiles/connections/connectionBrowserModel.js.map +1 -1
- package/dist/profiles/connections/connectionQueryWorkspace.cjs +2 -1
- package/dist/profiles/connections/connectionQueryWorkspace.cjs.map +1 -1
- package/dist/profiles/connections/connectionQueryWorkspace.d.ts +3 -1
- package/dist/profiles/connections/connectionQueryWorkspace.d.ts.map +1 -1
- package/dist/profiles/connections/connectionQueryWorkspace.js +2 -1
- package/dist/profiles/connections/connectionQueryWorkspace.js.map +1 -1
- package/dist/profiles/editor/UnwrapPreviewList.cjs +90 -0
- package/dist/profiles/editor/UnwrapPreviewList.cjs.map +1 -0
- package/dist/profiles/editor/UnwrapPreviewList.d.ts +7 -0
- package/dist/profiles/editor/UnwrapPreviewList.d.ts.map +1 -0
- package/dist/profiles/editor/UnwrapPreviewList.js +90 -0
- package/dist/profiles/editor/UnwrapPreviewList.js.map +1 -0
- package/dist/profiles/editor/profileCanonicalQuery.cjs +6 -58
- package/dist/profiles/editor/profileCanonicalQuery.cjs.map +1 -1
- package/dist/profiles/editor/profileCanonicalQuery.d.ts +1 -1
- package/dist/profiles/editor/profileCanonicalQuery.d.ts.map +1 -1
- package/dist/profiles/editor/profileCanonicalQuery.js +4 -56
- package/dist/profiles/editor/profileCanonicalQuery.js.map +1 -1
- package/dist/profiles/editor/profileCanonicalTranslate.cjs +48 -0
- package/dist/profiles/editor/profileCanonicalTranslate.cjs.map +1 -0
- package/dist/profiles/editor/profileCanonicalTranslate.d.ts +24 -0
- package/dist/profiles/editor/profileCanonicalTranslate.d.ts.map +1 -0
- package/dist/profiles/editor/profileCanonicalTranslate.js +47 -0
- package/dist/profiles/editor/profileCanonicalTranslate.js.map +1 -0
- package/dist/profiles/editor/profileEditor.cjs +106 -37
- package/dist/profiles/editor/profileEditor.cjs.map +1 -1
- package/dist/profiles/editor/profileEditor.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditor.js +107 -38
- package/dist/profiles/editor/profileEditor.js.map +1 -1
- package/dist/profiles/editor/profileEditorModel.cjs +65 -19
- package/dist/profiles/editor/profileEditorModel.cjs.map +1 -1
- package/dist/profiles/editor/profileEditorModel.d.ts +24 -8
- package/dist/profiles/editor/profileEditorModel.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditorModel.js +64 -18
- package/dist/profiles/editor/profileEditorModel.js.map +1 -1
- package/dist/profiles/editor/profileEditorPreview.cjs +129 -29
- package/dist/profiles/editor/profileEditorPreview.cjs.map +1 -1
- package/dist/profiles/editor/profileEditorPreview.d.ts +18 -5
- package/dist/profiles/editor/profileEditorPreview.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditorPreview.js +129 -29
- package/dist/profiles/editor/profileEditorPreview.js.map +1 -1
- package/dist/profiles/editor/profileEditorSections.cjs +137 -88
- package/dist/profiles/editor/profileEditorSections.cjs.map +1 -1
- package/dist/profiles/editor/profileEditorSections.d.ts +18 -2
- package/dist/profiles/editor/profileEditorSections.d.ts.map +1 -1
- package/dist/profiles/editor/profileEditorSections.js +138 -90
- package/dist/profiles/editor/profileEditorSections.js.map +1 -1
- package/dist/profiles/editor/profileMappingPreview.cjs +22 -6
- package/dist/profiles/editor/profileMappingPreview.cjs.map +1 -1
- package/dist/profiles/editor/profileMappingPreview.d.ts +17 -1
- package/dist/profiles/editor/profileMappingPreview.d.ts.map +1 -1
- package/dist/profiles/editor/profileMappingPreview.js +23 -7
- package/dist/profiles/editor/profileMappingPreview.js.map +1 -1
- package/dist/profiles/editor/profileSaveAsDialog.cjs +21 -13
- package/dist/profiles/editor/profileSaveAsDialog.cjs.map +1 -1
- package/dist/profiles/editor/profileSaveAsDialog.d.ts.map +1 -1
- package/dist/profiles/editor/profileSaveAsDialog.js +21 -13
- package/dist/profiles/editor/profileSaveAsDialog.js.map +1 -1
- package/dist/profiles/editor/profileSourceExtensions.cjs +71 -0
- package/dist/profiles/editor/profileSourceExtensions.cjs.map +1 -0
- package/dist/profiles/editor/profileSourceExtensions.d.ts +26 -0
- package/dist/profiles/editor/profileSourceExtensions.d.ts.map +1 -0
- package/dist/profiles/editor/profileSourceExtensions.js +70 -0
- package/dist/profiles/editor/profileSourceExtensions.js.map +1 -0
- package/dist/profiles/editor/samplePaths.cjs +54 -0
- package/dist/profiles/editor/samplePaths.cjs.map +1 -0
- package/dist/profiles/editor/samplePaths.d.ts +27 -0
- package/dist/profiles/editor/samplePaths.d.ts.map +1 -0
- package/dist/profiles/editor/samplePaths.js +53 -0
- package/dist/profiles/editor/samplePaths.js.map +1 -0
- package/dist/profiles/editor/testSchema.d.ts.map +1 -1
- package/dist/profiles/editor/useUnwrapPreviews.cjs +60 -0
- package/dist/profiles/editor/useUnwrapPreviews.cjs.map +1 -0
- package/dist/profiles/editor/useUnwrapPreviews.d.ts +38 -0
- package/dist/profiles/editor/useUnwrapPreviews.d.ts.map +1 -0
- package/dist/profiles/editor/useUnwrapPreviews.js +60 -0
- package/dist/profiles/editor/useUnwrapPreviews.js.map +1 -0
- package/dist/profiles/elasticsearch/esQueryBuilder.cjs +10 -1
- package/dist/profiles/elasticsearch/esQueryBuilder.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilder.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilder.js +11 -2
- package/dist/profiles/elasticsearch/esQueryBuilder.js.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.cjs +38 -0
- package/dist/profiles/elasticsearch/esQueryBuilderForm.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.d.ts +17 -0
- package/dist/profiles/elasticsearch/esQueryBuilderForm.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.js +37 -1
- package/dist/profiles/elasticsearch/esQueryBuilderForm.js.map +1 -1
- package/dist/profiles/elasticsearch/esQueryConditionRow.cjs +4 -3
- package/dist/profiles/elasticsearch/esQueryConditionRow.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryConditionRow.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryConditionRow.js +4 -3
- package/dist/profiles/elasticsearch/esQueryConditionRow.js.map +1 -1
- package/dist/profiles/elasticsearch/esQueryOperators.cjs.map +1 -1
- package/dist/profiles/elasticsearch/esQueryOperators.d.ts +8 -0
- package/dist/profiles/elasticsearch/esQueryOperators.d.ts.map +1 -1
- package/dist/profiles/elasticsearch/esQueryOperators.js.map +1 -1
- package/dist/profiles/fields/profileFieldControls.cjs +3 -2
- package/dist/profiles/fields/profileFieldControls.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldControls.d.ts +3 -1
- package/dist/profiles/fields/profileFieldControls.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldControls.js +3 -2
- package/dist/profiles/fields/profileFieldControls.js.map +1 -1
- package/dist/profiles/fields/profileFieldEditor.cjs +98 -185
- package/dist/profiles/fields/profileFieldEditor.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldEditor.d.ts +11 -3
- package/dist/profiles/fields/profileFieldEditor.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldEditor.js +99 -186
- package/dist/profiles/fields/profileFieldEditor.js.map +1 -1
- package/dist/profiles/fields/profileFieldFilterEditor.cjs +115 -81
- package/dist/profiles/fields/profileFieldFilterEditor.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldFilterEditor.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldFilterEditor.js +116 -82
- package/dist/profiles/fields/profileFieldFilterEditor.js.map +1 -1
- package/dist/profiles/fields/profileFieldIcons.cjs +2 -0
- package/dist/profiles/fields/profileFieldIcons.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldIcons.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldIcons.js +2 -0
- package/dist/profiles/fields/profileFieldIcons.js.map +1 -1
- package/dist/profiles/fields/profileFieldList.cjs +23 -1
- package/dist/profiles/fields/profileFieldList.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldList.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldList.js +23 -1
- package/dist/profiles/fields/profileFieldList.js.map +1 -1
- package/dist/profiles/fields/profileFieldPreview.cjs +111 -0
- package/dist/profiles/fields/profileFieldPreview.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldPreview.d.ts +25 -0
- package/dist/profiles/fields/profileFieldPreview.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldPreview.js +110 -0
- package/dist/profiles/fields/profileFieldPreview.js.map +1 -0
- package/dist/profiles/fields/profileFieldSample.cjs +182 -0
- package/dist/profiles/fields/profileFieldSample.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldSample.d.ts +35 -0
- package/dist/profiles/fields/profileFieldSample.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldSample.js +180 -0
- package/dist/profiles/fields/profileFieldSample.js.map +1 -0
- package/dist/profiles/fields/profileFieldTypeField.cjs +104 -0
- package/dist/profiles/fields/profileFieldTypeField.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldTypeField.d.ts +17 -0
- package/dist/profiles/fields/profileFieldTypeField.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldTypeField.js +104 -0
- package/dist/profiles/fields/profileFieldTypeField.js.map +1 -0
- package/dist/profiles/fields/profileFieldTypes.cjs +1 -0
- package/dist/profiles/fields/profileFieldTypes.cjs.map +1 -1
- package/dist/profiles/fields/profileFieldTypes.d.ts +1 -1
- package/dist/profiles/fields/profileFieldTypes.d.ts.map +1 -1
- package/dist/profiles/fields/profileFieldTypes.js +1 -0
- package/dist/profiles/fields/profileFieldTypes.js.map +1 -1
- package/dist/profiles/fields/profileFieldValueEditor.cjs +298 -0
- package/dist/profiles/fields/profileFieldValueEditor.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldValueEditor.d.ts +18 -0
- package/dist/profiles/fields/profileFieldValueEditor.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldValueEditor.js +298 -0
- package/dist/profiles/fields/profileFieldValueEditor.js.map +1 -0
- package/dist/profiles/fields/profileFieldValueMode.cjs +61 -0
- package/dist/profiles/fields/profileFieldValueMode.cjs.map +1 -0
- package/dist/profiles/fields/profileFieldValueMode.d.ts +34 -0
- package/dist/profiles/fields/profileFieldValueMode.d.ts.map +1 -0
- package/dist/profiles/fields/profileFieldValueMode.js +59 -0
- package/dist/profiles/fields/profileFieldValueMode.js.map +1 -0
- package/dist/profiles/processor/processorConfig.cjs +79 -79
- package/dist/profiles/processor/processorConfig.cjs.map +1 -1
- package/dist/profiles/processor/processorConfig.d.ts +30 -3
- package/dist/profiles/processor/processorConfig.d.ts.map +1 -1
- package/dist/profiles/processor/processorConfig.js +78 -78
- package/dist/profiles/processor/processorConfig.js.map +1 -1
- package/dist/profiles/processor/processorPipeline.cjs +8 -6
- package/dist/profiles/processor/processorPipeline.cjs.map +1 -1
- package/dist/profiles/processor/processorPipeline.d.ts +3 -3
- package/dist/profiles/processor/processorPipeline.d.ts.map +1 -1
- package/dist/profiles/processor/processorPipeline.js +9 -7
- package/dist/profiles/processor/processorPipeline.js.map +1 -1
- package/dist/profiles/processor/processorPipelineEditor.cjs +38 -94
- package/dist/profiles/processor/processorPipelineEditor.cjs.map +1 -1
- package/dist/profiles/processor/processorPipelineEditor.d.ts +3 -3
- package/dist/profiles/processor/processorPipelineEditor.d.ts.map +1 -1
- package/dist/profiles/processor/processorPipelineEditor.js +39 -95
- package/dist/profiles/processor/processorPipelineEditor.js.map +1 -1
- package/dist/profiles/processor/processorPipelineExtension.cjs +3 -2
- package/dist/profiles/processor/processorPipelineExtension.cjs.map +1 -1
- package/dist/profiles/processor/processorPipelineExtension.d.ts.map +1 -1
- package/dist/profiles/processor/processorPipelineExtension.js +3 -2
- package/dist/profiles/processor/processorPipelineExtension.js.map +1 -1
- package/dist/profiles/query/profileSampleFilterLookup.cjs.map +1 -1
- package/dist/profiles/query/profileSampleFilterLookup.d.ts +6 -3
- package/dist/profiles/query/profileSampleFilterLookup.d.ts.map +1 -1
- package/dist/profiles/query/profileSampleFilterLookup.js.map +1 -1
- package/dist/profiles/wizard/profileWizardModel.cjs +10 -1
- package/dist/profiles/wizard/profileWizardModel.cjs.map +1 -1
- package/dist/profiles/wizard/profileWizardModel.d.ts +6 -0
- package/dist/profiles/wizard/profileWizardModel.d.ts.map +1 -1
- package/dist/profiles/wizard/profileWizardModel.js +10 -1
- package/dist/profiles/wizard/profileWizardModel.js.map +1 -1
- package/dist/profiles/wizard/profileWizardQueryStep.cjs +10 -22
- package/dist/profiles/wizard/profileWizardQueryStep.cjs.map +1 -1
- package/dist/profiles/wizard/profileWizardQueryStep.d.ts +8 -1
- package/dist/profiles/wizard/profileWizardQueryStep.d.ts.map +1 -1
- package/dist/profiles/wizard/profileWizardQueryStep.js +11 -23
- package/dist/profiles/wizard/profileWizardQueryStep.js.map +1 -1
- package/dist/profiles/wizard/useProfileInspection.cjs +39 -0
- package/dist/profiles/wizard/useProfileInspection.cjs.map +1 -0
- package/dist/profiles/wizard/useProfileInspection.d.ts +21 -0
- package/dist/profiles/wizard/useProfileInspection.d.ts.map +1 -0
- package/dist/profiles/wizard/useProfileInspection.js +39 -0
- package/dist/profiles/wizard/useProfileInspection.js.map +1 -0
- package/dist/profiles.cjs +9 -11
- package/dist/profiles.js +8 -8
- package/dist/rpc/EntityExplorerApp.cjs +7 -3
- package/dist/rpc/EntityExplorerApp.cjs.map +1 -1
- package/dist/rpc/EntityExplorerApp.d.ts +16 -1
- package/dist/rpc/EntityExplorerApp.d.ts.map +1 -1
- package/dist/rpc/EntityExplorerApp.js +7 -3
- package/dist/rpc/EntityExplorerApp.js.map +1 -1
- package/dist/rpc/InlineError.cjs +30 -10
- package/dist/rpc/InlineError.cjs.map +1 -1
- package/dist/rpc/InlineError.d.ts +10 -1
- package/dist/rpc/InlineError.d.ts.map +1 -1
- package/dist/rpc/InlineError.js +30 -10
- package/dist/rpc/InlineError.js.map +1 -1
- package/dist/rpc/SchemaActionForm.cjs +9 -6
- package/dist/rpc/SchemaActionForm.cjs.map +1 -1
- package/dist/rpc/SchemaActionForm.d.ts.map +1 -1
- package/dist/rpc/SchemaActionForm.js +9 -6
- package/dist/rpc/SchemaActionForm.js.map +1 -1
- package/dist/rpc/SessionHeader.cjs +3 -3
- package/dist/rpc/SessionHeader.cjs.map +1 -1
- package/dist/rpc/SessionHeader.d.ts.map +1 -1
- package/dist/rpc/SessionHeader.js +3 -3
- package/dist/rpc/SessionHeader.js.map +1 -1
- package/dist/rpc/formMetadata.cjs +2 -6
- package/dist/rpc/formMetadata.cjs.map +1 -1
- package/dist/rpc/formMetadata.d.ts.map +1 -1
- package/dist/rpc/formMetadata.js +1 -5
- package/dist/rpc/formMetadata.js.map +1 -1
- package/dist/rpc/surfaceNav.cjs +5 -0
- package/dist/rpc/surfaceNav.cjs.map +1 -1
- package/dist/rpc/surfaceNav.d.ts.map +1 -1
- package/dist/rpc/surfaceNav.js +5 -0
- package/dist/rpc/surfaceNav.js.map +1 -1
- package/dist/runtime/barrels.json +4982 -4979
- package/dist/runtime/importmap.json +2168 -2146
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/data/ai/runtime-profiles/ResolutionInspector.cjs +0 -91
- package/dist/data/ai/runtime-profiles/ResolutionInspector.cjs.map +0 -1
- package/dist/data/ai/runtime-profiles/ResolutionInspector.d.ts +0 -7
- package/dist/data/ai/runtime-profiles/ResolutionInspector.d.ts.map +0 -1
- package/dist/data/ai/runtime-profiles/ResolutionInspector.js +0 -91
- package/dist/data/ai/runtime-profiles/ResolutionInspector.js.map +0 -1
- package/dist/profiles/cel/celEditorResults.cjs +0 -158
- package/dist/profiles/cel/celEditorResults.cjs.map +0 -1
- package/dist/profiles/cel/celEditorResults.d.ts +0 -37
- package/dist/profiles/cel/celEditorResults.d.ts.map +0 -1
- package/dist/profiles/cel/celEditorResults.js +0 -156
- package/dist/profiles/cel/celEditorResults.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jvm-context.js","names":[],"sources":["../../../src/jvm/surfaces/jvm-context.ts"],"sourcesContent":["import { createContext, useContext } from \"react\";\nimport { useQuery } from \"@tanstack/react-query\";\nimport type { JvmDiagnosticsClient } from \"../protocol/client\";\nimport type { jvmKeys } from \"../protocol/query-keys\";\n\nexport type JvmContextValue = {\n client: JvmDiagnosticsClient;\n /** Opaque identity of the JVM (agent id, deployment, …); namespaces the query cache. */\n scope: string;\n keys: ReturnType<typeof jvmKeys>;\n};\n\nexport const JvmContext = createContext<JvmContextValue | null>(null);\n\nexport function useJvm(): JvmContextValue {\n const value = useContext(JvmContext);\n if (!value) throw new Error(\"useJvm must be used inside a <JvmProvider>\");\n return value;\n}\n\n/** The
|
|
1
|
+
{"version":3,"file":"jvm-context.js","names":[],"sources":["../../../src/jvm/surfaces/jvm-context.ts"],"sourcesContent":["import { createContext, useContext } from \"react\";\nimport { useQuery } from \"@tanstack/react-query\";\nimport type { JvmDiagnosticsClient } from \"../protocol/client\";\nimport type { jvmKeys } from \"../protocol/query-keys\";\nimport { patchesFromStatus } from \"../protocol/status\";\n\nexport type JvmContextValue = {\n client: JvmDiagnosticsClient;\n /** Opaque identity of the JVM (agent id, deployment, …); namespaces the query cache. */\n scope: string;\n keys: ReturnType<typeof jvmKeys>;\n};\n\nexport const JvmContext = createContext<JvmContextValue | null>(null);\n\nexport function useJvm(): JvmContextValue {\n const value = useContext(JvmContext);\n if (!value) throw new Error(\"useJvm must be used inside a <JvmProvider>\");\n return value;\n}\n\nconst STATUS_POLL_MS = 10_000;\n\n/** The one definition of the status query, so every observer of `keys.status` fetches and polls identically. */\nfunction useStatusQueryOptions() {\n const { client, keys } = useJvm();\n return { queryKey: keys.status, queryFn: ({ signal }: { signal: AbortSignal }) => client.status({ signal }), refetchInterval: STATUS_POLL_MS };\n}\n\n/** The agent's runtime capabilities, refreshed every 10s. */\nexport function useJvmStatus() {\n return useQuery(useStatusQueryOptions());\n}\n\n/**\n * The patch register, read from the same query as `useJvmStatus` (one `jvm.status` call per poll,\n * shared by every surface) and selected out of it; the rows are validated here, so a malformed one\n * fails the register and not the status. Invalidate `keys.status` to refresh it after a patch or\n * restore; an uninstrumented JVM reads as an empty register without being asked again.\n */\nexport function useJvmPatches() {\n return useQuery({ ...useStatusQueryOptions(), select: patchesFromStatus });\n}\n"],"mappings":";;;;AAaA,IAAa,aAAa,cAAsC,IAAI;AAEpE,SAAgB,SAA0B;CACxC,MAAM,QAAQ,WAAW,UAAU;CACnC,IAAI,CAAC,OAAO,MAAM,IAAI,MAAM,4CAA4C;CACxE,OAAO;AACT;AAEA,IAAM,iBAAiB;;AAGvB,SAAS,wBAAwB;CAC/B,MAAM,EAAE,QAAQ,SAAS,OAAO;CAChC,OAAO;EAAE,UAAU,KAAK;EAAQ,UAAU,EAAE,aAAsC,OAAO,OAAO,EAAE,OAAO,CAAC;EAAG,iBAAiB;CAAe;AAC/I;;AAGA,SAAgB,eAAe;CAC7B,OAAO,SAAS,sBAAsB,CAAC;AACzC;;;;;;;AAQA,SAAgB,gBAAgB;CAC9B,OAAO,SAAS;EAAE,GAAG,sBAAsB;EAAG,QAAQ;CAAkB,CAAC;AAC3E"}
|
|
@@ -20,7 +20,7 @@ function usePatchActions() {
|
|
|
20
20
|
const [busyKey, setBusyKey] = (0, react.useState)();
|
|
21
21
|
const [restoringAll, setRestoringAll] = (0, react.useState)();
|
|
22
22
|
const [failures, setFailures] = (0, react.useState)([]);
|
|
23
|
-
const refresh = (0, react.useCallback)(() => Promise.all([queryClient.invalidateQueries({ queryKey: keys.
|
|
23
|
+
const refresh = (0, react.useCallback)(() => Promise.all([queryClient.invalidateQueries({ queryKey: keys.status }), queryClient.invalidateQueries({ queryKey: keys.classSources })]), [queryClient, keys]);
|
|
24
24
|
const restoreOne = (0, react.useCallback)((patch) => client.restoreClass({
|
|
25
25
|
class: patch.class,
|
|
26
26
|
loader: patch.loader
|
|
@@ -72,7 +72,7 @@ function usePatchActions() {
|
|
|
72
72
|
setFailures([failureOf(patch, error)]);
|
|
73
73
|
} finally {
|
|
74
74
|
setBusyKey(void 0);
|
|
75
|
-
await queryClient.invalidateQueries({ queryKey: keys.
|
|
75
|
+
await queryClient.invalidateQueries({ queryKey: keys.status });
|
|
76
76
|
}
|
|
77
77
|
}, [
|
|
78
78
|
client,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-patch-actions.cjs","names":["patchKey","useJvm","useQueryClient","useState","useCallback"],"sources":["../../../src/jvm/surfaces/use-patch-actions.ts"],"sourcesContent":["import { useCallback, useState } from \"react\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport { patchKey, type PatchFailure } from \"../model/patches\";\nimport type { JvmPatch } from \"../protocol/types\";\nimport { useJvm } from \"./jvm-context\";\n\n/** Seconds a lease is renewed for. */\nexport const RENEW_LEASE_SECONDS = 120;\n\nfunction failureOf(patch: JvmPatch, error: unknown): PatchFailure {\n return { key: patchKey(patch), className: patch.class, message: error instanceof Error ? error.message : String(error) };\n}\n\n/**\n * Restore, restore-all and lease renewal against the patch register. A restore\n * puts original bytecode back, so decompiled sources cached while the class ran\n * modified bytes are invalidated along with the register.\n */\nexport function usePatchActions() {\n const { client, keys } = useJvm();\n const queryClient = useQueryClient();\n const [busyKey, setBusyKey] = useState<string>();\n const [restoringAll, setRestoringAll] = useState<string>();\n const [failures, setFailures] = useState<PatchFailure[]>([]);\n\n const refresh = useCallback(\n () => Promise.all([queryClient.invalidateQueries({ queryKey: keys.
|
|
1
|
+
{"version":3,"file":"use-patch-actions.cjs","names":["patchKey","useJvm","useQueryClient","useState","useCallback"],"sources":["../../../src/jvm/surfaces/use-patch-actions.ts"],"sourcesContent":["import { useCallback, useState } from \"react\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport { patchKey, type PatchFailure } from \"../model/patches\";\nimport type { JvmPatch } from \"../protocol/types\";\nimport { useJvm } from \"./jvm-context\";\n\n/** Seconds a lease is renewed for. */\nexport const RENEW_LEASE_SECONDS = 120;\n\nfunction failureOf(patch: JvmPatch, error: unknown): PatchFailure {\n return { key: patchKey(patch), className: patch.class, message: error instanceof Error ? error.message : String(error) };\n}\n\n/**\n * Restore, restore-all and lease renewal against the patch register. A restore\n * puts original bytecode back, so decompiled sources cached while the class ran\n * modified bytes are invalidated along with the register.\n */\nexport function usePatchActions() {\n const { client, keys } = useJvm();\n const queryClient = useQueryClient();\n const [busyKey, setBusyKey] = useState<string>();\n const [restoringAll, setRestoringAll] = useState<string>();\n const [failures, setFailures] = useState<PatchFailure[]>([]);\n\n const refresh = useCallback(\n () => Promise.all([queryClient.invalidateQueries({ queryKey: keys.status }), queryClient.invalidateQueries({ queryKey: keys.classSources })]),\n [queryClient, keys],\n );\n\n const restoreOne = useCallback((patch: JvmPatch) => client.restoreClass({ class: patch.class, loader: patch.loader }), [client]);\n\n const restore = useCallback(\n async (patch: JvmPatch) => {\n setBusyKey(patchKey(patch));\n setFailures([]);\n try {\n await restoreOne(patch);\n } catch (error) {\n setFailures([failureOf(patch, error)]);\n } finally {\n setBusyKey(undefined);\n await refresh();\n }\n },\n [restoreOne, refresh],\n );\n\n /**\n * One class at a time: a half-applied concurrent batch gives no report of which\n * half applied. A failure does not stop the rest — each class is independent.\n */\n const restoreAll = useCallback(\n async (patches: JvmPatch[]) => {\n const failed: PatchFailure[] = [];\n setFailures([]);\n try {\n for (const patch of patches) {\n setRestoringAll(patch.class);\n try {\n await restoreOne(patch);\n } catch (error) {\n failed.push(failureOf(patch, error));\n }\n }\n } finally {\n setRestoringAll(undefined);\n setFailures(failed);\n await refresh();\n }\n },\n [restoreOne, refresh],\n );\n\n const renew = useCallback(\n async (patch: JvmPatch) => {\n setBusyKey(patchKey(patch));\n setFailures([]);\n try {\n await client.renewClassLease({ class: patch.class, loader: patch.loader, seconds: RENEW_LEASE_SECONDS });\n } catch (error) {\n setFailures([failureOf(patch, error)]);\n } finally {\n setBusyKey(undefined);\n await queryClient.invalidateQueries({ queryKey: keys.status });\n }\n },\n [client, queryClient, keys],\n );\n\n return { busyKey, restoringAll, failures, restore, restoreAll, renew };\n}\n"],"mappings":";;;;AASA,SAAS,UAAU,OAAiB,OAA8B;CAChE,OAAO;EAAE,KAAKA,gBAAAA,SAAS,KAAK;EAAG,WAAW,MAAM;EAAO,SAAS,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CAAE;AACzH;;;;;;AAOA,SAAgB,kBAAkB;CAChC,MAAM,EAAE,QAAQ,SAASC,oBAAAA,OAAO;CAChC,MAAM,eAAA,GAAcC,sBAAAA,eAAAA,CAAe;CACnC,MAAM,CAAC,SAAS,eAAA,GAAcC,MAAAA,SAAAA,CAAiB;CAC/C,MAAM,CAAC,cAAc,oBAAA,GAAmBA,MAAAA,SAAAA,CAAiB;CACzD,MAAM,CAAC,UAAU,gBAAA,GAAeA,MAAAA,SAAAA,CAAyB,CAAC,CAAC;CAE3D,MAAM,WAAA,GAAUC,MAAAA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QAAQ,MAAM;KAAQ,SAAA;IAA6B,CAAC;GACzG,SAAS,OAAO;IACd,YAAY,CAAC,UAAU,OAAO,KAAK,CAAC,CAAC;GACvC,UAAU;IACR,WAAW,KAAA,CAAS;IACpB,MAAM,YAAY,kBAAkB,EAAE,UAAU,KAAK,OAAO,CAAC;GAC/D;EACF,GACA;GAAC;GAAQ;GAAa;EAAI,CAGmC;CAAM;AACvE"}
|
|
@@ -20,7 +20,7 @@ function usePatchActions() {
|
|
|
20
20
|
const [busyKey, setBusyKey] = useState();
|
|
21
21
|
const [restoringAll, setRestoringAll] = useState();
|
|
22
22
|
const [failures, setFailures] = useState([]);
|
|
23
|
-
const refresh = useCallback(() => Promise.all([queryClient.invalidateQueries({ queryKey: keys.
|
|
23
|
+
const refresh = useCallback(() => Promise.all([queryClient.invalidateQueries({ queryKey: keys.status }), queryClient.invalidateQueries({ queryKey: keys.classSources })]), [queryClient, keys]);
|
|
24
24
|
const restoreOne = useCallback((patch) => client.restoreClass({
|
|
25
25
|
class: patch.class,
|
|
26
26
|
loader: patch.loader
|
|
@@ -72,7 +72,7 @@ function usePatchActions() {
|
|
|
72
72
|
setFailures([failureOf(patch, error)]);
|
|
73
73
|
} finally {
|
|
74
74
|
setBusyKey(void 0);
|
|
75
|
-
await queryClient.invalidateQueries({ queryKey: keys.
|
|
75
|
+
await queryClient.invalidateQueries({ queryKey: keys.status });
|
|
76
76
|
}
|
|
77
77
|
}, [
|
|
78
78
|
client,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-patch-actions.js","names":[],"sources":["../../../src/jvm/surfaces/use-patch-actions.ts"],"sourcesContent":["import { useCallback, useState } from \"react\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport { patchKey, type PatchFailure } from \"../model/patches\";\nimport type { JvmPatch } from \"../protocol/types\";\nimport { useJvm } from \"./jvm-context\";\n\n/** Seconds a lease is renewed for. */\nexport const RENEW_LEASE_SECONDS = 120;\n\nfunction failureOf(patch: JvmPatch, error: unknown): PatchFailure {\n return { key: patchKey(patch), className: patch.class, message: error instanceof Error ? error.message : String(error) };\n}\n\n/**\n * Restore, restore-all and lease renewal against the patch register. A restore\n * puts original bytecode back, so decompiled sources cached while the class ran\n * modified bytes are invalidated along with the register.\n */\nexport function usePatchActions() {\n const { client, keys } = useJvm();\n const queryClient = useQueryClient();\n const [busyKey, setBusyKey] = useState<string>();\n const [restoringAll, setRestoringAll] = useState<string>();\n const [failures, setFailures] = useState<PatchFailure[]>([]);\n\n const refresh = useCallback(\n () => Promise.all([queryClient.invalidateQueries({ queryKey: keys.
|
|
1
|
+
{"version":3,"file":"use-patch-actions.js","names":[],"sources":["../../../src/jvm/surfaces/use-patch-actions.ts"],"sourcesContent":["import { useCallback, useState } from \"react\";\nimport { useQueryClient } from \"@tanstack/react-query\";\nimport { patchKey, type PatchFailure } from \"../model/patches\";\nimport type { JvmPatch } from \"../protocol/types\";\nimport { useJvm } from \"./jvm-context\";\n\n/** Seconds a lease is renewed for. */\nexport const RENEW_LEASE_SECONDS = 120;\n\nfunction failureOf(patch: JvmPatch, error: unknown): PatchFailure {\n return { key: patchKey(patch), className: patch.class, message: error instanceof Error ? error.message : String(error) };\n}\n\n/**\n * Restore, restore-all and lease renewal against the patch register. A restore\n * puts original bytecode back, so decompiled sources cached while the class ran\n * modified bytes are invalidated along with the register.\n */\nexport function usePatchActions() {\n const { client, keys } = useJvm();\n const queryClient = useQueryClient();\n const [busyKey, setBusyKey] = useState<string>();\n const [restoringAll, setRestoringAll] = useState<string>();\n const [failures, setFailures] = useState<PatchFailure[]>([]);\n\n const refresh = useCallback(\n () => Promise.all([queryClient.invalidateQueries({ queryKey: keys.status }), queryClient.invalidateQueries({ queryKey: keys.classSources })]),\n [queryClient, keys],\n );\n\n const restoreOne = useCallback((patch: JvmPatch) => client.restoreClass({ class: patch.class, loader: patch.loader }), [client]);\n\n const restore = useCallback(\n async (patch: JvmPatch) => {\n setBusyKey(patchKey(patch));\n setFailures([]);\n try {\n await restoreOne(patch);\n } catch (error) {\n setFailures([failureOf(patch, error)]);\n } finally {\n setBusyKey(undefined);\n await refresh();\n }\n },\n [restoreOne, refresh],\n );\n\n /**\n * One class at a time: a half-applied concurrent batch gives no report of which\n * half applied. A failure does not stop the rest — each class is independent.\n */\n const restoreAll = useCallback(\n async (patches: JvmPatch[]) => {\n const failed: PatchFailure[] = [];\n setFailures([]);\n try {\n for (const patch of patches) {\n setRestoringAll(patch.class);\n try {\n await restoreOne(patch);\n } catch (error) {\n failed.push(failureOf(patch, error));\n }\n }\n } finally {\n setRestoringAll(undefined);\n setFailures(failed);\n await refresh();\n }\n },\n [restoreOne, refresh],\n );\n\n const renew = useCallback(\n async (patch: JvmPatch) => {\n setBusyKey(patchKey(patch));\n setFailures([]);\n try {\n await client.renewClassLease({ class: patch.class, loader: patch.loader, seconds: RENEW_LEASE_SECONDS });\n } catch (error) {\n setFailures([failureOf(patch, error)]);\n } finally {\n setBusyKey(undefined);\n await queryClient.invalidateQueries({ queryKey: keys.status });\n }\n },\n [client, queryClient, keys],\n );\n\n return { busyKey, restoringAll, failures, restore, restoreAll, renew };\n}\n"],"mappings":";;;;AASA,SAAS,UAAU,OAAiB,OAA8B;CAChE,OAAO;EAAE,KAAK,SAAS,KAAK;EAAG,WAAW,MAAM;EAAO,SAAS,iBAAiB,QAAQ,MAAM,UAAU,OAAO,KAAK;CAAE;AACzH;;;;;;AAOA,SAAgB,kBAAkB;CAChC,MAAM,EAAE,QAAQ,SAAS,OAAO;CAChC,MAAM,cAAc,eAAe;CACnC,MAAM,CAAC,SAAS,cAAc,SAAiB;CAC/C,MAAM,CAAC,cAAc,mBAAmB,SAAiB;CACzD,MAAM,CAAC,UAAU,eAAe,SAAyB,CAAC,CAAC;CAE3D,MAAM,UAAU,kBACR,QAAQ,IAAI,CAAC,YAAY,kBAAkB,EAAE,UAAU,KAAK,OAAO,CAAC,GAAG,YAAY,kBAAkB,EAAE,UAAU,KAAK,aAAa,CAAC,CAAC,CAAC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AAM;AACvE"}
|
|
@@ -11,7 +11,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
|
|
|
11
11
|
* copy with a note saying what was folded; the full stack is one click away and
|
|
12
12
|
* is what "Download stack" saves.
|
|
13
13
|
*/
|
|
14
|
-
function FoldedStackTrace({ stack }) {
|
|
14
|
+
function FoldedStackTrace({ stack, frameActions }) {
|
|
15
15
|
const [showAll, setShowAll] = (0, react.useState)(false);
|
|
16
16
|
const folded = (0, react.useMemo)(() => require_stack_fold.foldRepeatedFrames(stack.text), [stack.text]);
|
|
17
17
|
const totalFrames = (0, react.useMemo)(() => require_stack_fold.countStackFrames(stack.text), [stack.text]);
|
|
@@ -34,7 +34,8 @@ function FoldedStackTrace({ stack }) {
|
|
|
34
34
|
})
|
|
35
35
|
}) : null, first ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_JvmStackTrace.JvmStackTrace, {
|
|
36
36
|
frames: first.frames,
|
|
37
|
-
className: "space-y-0.5"
|
|
37
|
+
className: "space-y-0.5",
|
|
38
|
+
...frameActions ? { frameActions } : {}
|
|
38
39
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("pre", {
|
|
39
40
|
className: "overflow-auto whitespace-pre-wrap font-mono text-[11px] leading-4",
|
|
40
41
|
children: shown
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FoldedStackTrace.cjs","names":["useState","useMemo","foldRepeatedFrames","countStackFrames","parseJvmThreadDump","Callout","Button","JvmStackTrace"],"sources":["../../../src/jvm/threads/FoldedStackTrace.tsx"],"sourcesContent":["import { useMemo, useState } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Callout } from \"../../data/Callout\";\nimport { parseJvmThreadDump } from \"../../data/diagnostics/jvm-stacktrace\";\nimport { JvmStackTrace } from \"../../data/diagnostics/JvmStackTrace\";\nimport { countStackFrames, foldRepeatedFrames } from \"../model/stack-fold\";\nimport type { JvmThreadStack } from \"../protocol/types\";\n\nexport type FoldedStackTraceProps = {\n stack: JvmThreadStack;\n};\n\n/**\n * A thread's stack as frames. A recursion thousands of frames deep reads as one\n * copy with a note saying what was folded; the full stack is one click away and\n * is what \"Download stack\" saves.\n */\nexport function FoldedStackTrace({ stack }: FoldedStackTraceProps) {\n const [showAll, setShowAll] = useState(false);\n const folded = useMemo(() => foldRepeatedFrames(stack.text), [stack.text]);\n const totalFrames = useMemo(() => countStackFrames(stack.text), [stack.text]);\n const shown = showAll ? stack.text : folded.text;\n const parsed = useMemo(() => parseJvmThreadDump(shown), [shown]);\n const first = parsed[0];\n\n return (\n <div className=\"flex flex-col gap-2\">\n {folded.folds.length > 0 ? (\n <Callout variant=\"note\" className=\"my-0\">\n <span className=\"flex flex-wrap items-center gap-x-2 gap-y-1\">\n <span>\n {folded.folds.map((fold) => `A ${fold.unitFrames}-frame block repeats ${fold.repeats}× on this stack`).join(\"; \")}\n {showAll ? \".\" : `. It is shown once, with ${folded.foldedFrames.toLocaleString()} repeated frames folded.`}\n </span>\n <Button type=\"button\" size=\"xs\" variant=\"outline\" onClick={() => setShowAll(!showAll)}>\n {showAll ? \"Fold repeats\" : `Show all ${totalFrames.toLocaleString()} frames`}\n </Button>\n </span>\n </Callout>\n ) : null}\n {first ? (\n <JvmStackTrace frames={first.frames} className=\"space-y-0.5\" />\n ) : (\n <pre className=\"overflow-auto whitespace-pre-wrap font-mono text-[11px] leading-4\">{shown}</pre>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FoldedStackTrace.cjs","names":["useState","useMemo","foldRepeatedFrames","countStackFrames","parseJvmThreadDump","Callout","Button","JvmStackTrace"],"sources":["../../../src/jvm/threads/FoldedStackTrace.tsx"],"sourcesContent":["import { useMemo, useState } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Callout } from \"../../data/Callout\";\nimport { parseJvmThreadDump } from \"../../data/diagnostics/jvm-stacktrace\";\nimport { JvmStackTrace } from \"../../data/diagnostics/JvmStackTrace\";\nimport type { StackFrameActions } from \"../../data/diagnostics/StackFrameRow\";\nimport { countStackFrames, foldRepeatedFrames } from \"../model/stack-fold\";\nimport type { JvmThreadStack } from \"../protocol/types\";\n\nexport type FoldedStackTraceProps = {\n stack: JvmThreadStack;\n /** Trailing per-frame action, e.g. a link to the frame's class source. Called for every row, including lock annotations. */\n frameActions?: StackFrameActions;\n};\n\n/**\n * A thread's stack as frames. A recursion thousands of frames deep reads as one\n * copy with a note saying what was folded; the full stack is one click away and\n * is what \"Download stack\" saves.\n */\nexport function FoldedStackTrace({ stack, frameActions }: FoldedStackTraceProps) {\n const [showAll, setShowAll] = useState(false);\n const folded = useMemo(() => foldRepeatedFrames(stack.text), [stack.text]);\n const totalFrames = useMemo(() => countStackFrames(stack.text), [stack.text]);\n const shown = showAll ? stack.text : folded.text;\n const parsed = useMemo(() => parseJvmThreadDump(shown), [shown]);\n const first = parsed[0];\n\n return (\n <div className=\"flex flex-col gap-2\">\n {folded.folds.length > 0 ? (\n <Callout variant=\"note\" className=\"my-0\">\n <span className=\"flex flex-wrap items-center gap-x-2 gap-y-1\">\n <span>\n {folded.folds.map((fold) => `A ${fold.unitFrames}-frame block repeats ${fold.repeats}× on this stack`).join(\"; \")}\n {showAll ? \".\" : `. It is shown once, with ${folded.foldedFrames.toLocaleString()} repeated frames folded.`}\n </span>\n <Button type=\"button\" size=\"xs\" variant=\"outline\" onClick={() => setShowAll(!showAll)}>\n {showAll ? \"Fold repeats\" : `Show all ${totalFrames.toLocaleString()} frames`}\n </Button>\n </span>\n </Callout>\n ) : null}\n {first ? (\n <JvmStackTrace frames={first.frames} className=\"space-y-0.5\" {...(frameActions ? { frameActions } : {})} />\n ) : (\n <pre className=\"overflow-auto whitespace-pre-wrap font-mono text-[11px] leading-4\">{shown}</pre>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAoBA,SAAgB,iBAAiB,EAAE,OAAO,gBAAuC;CAC/E,MAAM,CAAC,SAAS,eAAA,GAAcA,MAAAA,SAA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,IAAA,CAAC,OAAD;GAAK,WAAU;GAAqE,UAAA;EAAW,CAAA,CAE9F;;AAET"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { StackFrameActions } from '../../data/diagnostics/StackFrameRow.js';
|
|
1
2
|
import { JvmThreadStack } from '../protocol/types.js';
|
|
2
3
|
export type FoldedStackTraceProps = {
|
|
3
4
|
stack: JvmThreadStack;
|
|
5
|
+
/** Trailing per-frame action, e.g. a link to the frame's class source. Called for every row, including lock annotations. */
|
|
6
|
+
frameActions?: StackFrameActions;
|
|
4
7
|
};
|
|
5
8
|
/**
|
|
6
9
|
* A thread's stack as frames. A recursion thousands of frames deep reads as one
|
|
7
10
|
* copy with a note saying what was folded; the full stack is one click away and
|
|
8
11
|
* is what "Download stack" saves.
|
|
9
12
|
*/
|
|
10
|
-
export declare function FoldedStackTrace({ stack }: FoldedStackTraceProps): import("react").JSX.Element;
|
|
13
|
+
export declare function FoldedStackTrace({ stack, frameActions }: FoldedStackTraceProps): import("react").JSX.Element;
|
|
11
14
|
//# sourceMappingURL=FoldedStackTrace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FoldedStackTrace.d.ts","sourceRoot":"","sources":["../../../src/jvm/threads/FoldedStackTrace.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FoldedStackTrace.d.ts","sourceRoot":"","sources":["../../../src/jvm/threads/FoldedStackTrace.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,EAAE,cAAc,CAAC;IACtB,4HAA4H;IAC5H,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,qBAAqB,+BA8B9E"}
|
|
@@ -11,7 +11,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
11
11
|
* copy with a note saying what was folded; the full stack is one click away and
|
|
12
12
|
* is what "Download stack" saves.
|
|
13
13
|
*/
|
|
14
|
-
function FoldedStackTrace({ stack }) {
|
|
14
|
+
function FoldedStackTrace({ stack, frameActions }) {
|
|
15
15
|
const [showAll, setShowAll] = useState(false);
|
|
16
16
|
const folded = useMemo(() => foldRepeatedFrames(stack.text), [stack.text]);
|
|
17
17
|
const totalFrames = useMemo(() => countStackFrames(stack.text), [stack.text]);
|
|
@@ -34,7 +34,8 @@ function FoldedStackTrace({ stack }) {
|
|
|
34
34
|
})
|
|
35
35
|
}) : null, first ? /* @__PURE__ */ jsx(JvmStackTrace, {
|
|
36
36
|
frames: first.frames,
|
|
37
|
-
className: "space-y-0.5"
|
|
37
|
+
className: "space-y-0.5",
|
|
38
|
+
...frameActions ? { frameActions } : {}
|
|
38
39
|
}) : /* @__PURE__ */ jsx("pre", {
|
|
39
40
|
className: "overflow-auto whitespace-pre-wrap font-mono text-[11px] leading-4",
|
|
40
41
|
children: shown
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FoldedStackTrace.js","names":[],"sources":["../../../src/jvm/threads/FoldedStackTrace.tsx"],"sourcesContent":["import { useMemo, useState } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Callout } from \"../../data/Callout\";\nimport { parseJvmThreadDump } from \"../../data/diagnostics/jvm-stacktrace\";\nimport { JvmStackTrace } from \"../../data/diagnostics/JvmStackTrace\";\nimport { countStackFrames, foldRepeatedFrames } from \"../model/stack-fold\";\nimport type { JvmThreadStack } from \"../protocol/types\";\n\nexport type FoldedStackTraceProps = {\n stack: JvmThreadStack;\n};\n\n/**\n * A thread's stack as frames. A recursion thousands of frames deep reads as one\n * copy with a note saying what was folded; the full stack is one click away and\n * is what \"Download stack\" saves.\n */\nexport function FoldedStackTrace({ stack }: FoldedStackTraceProps) {\n const [showAll, setShowAll] = useState(false);\n const folded = useMemo(() => foldRepeatedFrames(stack.text), [stack.text]);\n const totalFrames = useMemo(() => countStackFrames(stack.text), [stack.text]);\n const shown = showAll ? stack.text : folded.text;\n const parsed = useMemo(() => parseJvmThreadDump(shown), [shown]);\n const first = parsed[0];\n\n return (\n <div className=\"flex flex-col gap-2\">\n {folded.folds.length > 0 ? (\n <Callout variant=\"note\" className=\"my-0\">\n <span className=\"flex flex-wrap items-center gap-x-2 gap-y-1\">\n <span>\n {folded.folds.map((fold) => `A ${fold.unitFrames}-frame block repeats ${fold.repeats}× on this stack`).join(\"; \")}\n {showAll ? \".\" : `. It is shown once, with ${folded.foldedFrames.toLocaleString()} repeated frames folded.`}\n </span>\n <Button type=\"button\" size=\"xs\" variant=\"outline\" onClick={() => setShowAll(!showAll)}>\n {showAll ? \"Fold repeats\" : `Show all ${totalFrames.toLocaleString()} frames`}\n </Button>\n </span>\n </Callout>\n ) : null}\n {first ? (\n <JvmStackTrace frames={first.frames} className=\"space-y-0.5\" />\n ) : (\n <pre className=\"overflow-auto whitespace-pre-wrap font-mono text-[11px] leading-4\">{shown}</pre>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"FoldedStackTrace.js","names":[],"sources":["../../../src/jvm/threads/FoldedStackTrace.tsx"],"sourcesContent":["import { useMemo, useState } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Callout } from \"../../data/Callout\";\nimport { parseJvmThreadDump } from \"../../data/diagnostics/jvm-stacktrace\";\nimport { JvmStackTrace } from \"../../data/diagnostics/JvmStackTrace\";\nimport type { StackFrameActions } from \"../../data/diagnostics/StackFrameRow\";\nimport { countStackFrames, foldRepeatedFrames } from \"../model/stack-fold\";\nimport type { JvmThreadStack } from \"../protocol/types\";\n\nexport type FoldedStackTraceProps = {\n stack: JvmThreadStack;\n /** Trailing per-frame action, e.g. a link to the frame's class source. Called for every row, including lock annotations. */\n frameActions?: StackFrameActions;\n};\n\n/**\n * A thread's stack as frames. A recursion thousands of frames deep reads as one\n * copy with a note saying what was folded; the full stack is one click away and\n * is what \"Download stack\" saves.\n */\nexport function FoldedStackTrace({ stack, frameActions }: FoldedStackTraceProps) {\n const [showAll, setShowAll] = useState(false);\n const folded = useMemo(() => foldRepeatedFrames(stack.text), [stack.text]);\n const totalFrames = useMemo(() => countStackFrames(stack.text), [stack.text]);\n const shown = showAll ? stack.text : folded.text;\n const parsed = useMemo(() => parseJvmThreadDump(shown), [shown]);\n const first = parsed[0];\n\n return (\n <div className=\"flex flex-col gap-2\">\n {folded.folds.length > 0 ? (\n <Callout variant=\"note\" className=\"my-0\">\n <span className=\"flex flex-wrap items-center gap-x-2 gap-y-1\">\n <span>\n {folded.folds.map((fold) => `A ${fold.unitFrames}-frame block repeats ${fold.repeats}× on this stack`).join(\"; \")}\n {showAll ? \".\" : `. It is shown once, with ${folded.foldedFrames.toLocaleString()} repeated frames folded.`}\n </span>\n <Button type=\"button\" size=\"xs\" variant=\"outline\" onClick={() => setShowAll(!showAll)}>\n {showAll ? \"Fold repeats\" : `Show all ${totalFrames.toLocaleString()} frames`}\n </Button>\n </span>\n </Callout>\n ) : null}\n {first ? (\n <JvmStackTrace frames={first.frames} className=\"space-y-0.5\" {...(frameActions ? { frameActions } : {})} />\n ) : (\n <pre className=\"overflow-auto whitespace-pre-wrap font-mono text-[11px] leading-4\">{shown}</pre>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAoBA,SAAgB,iBAAiB,EAAE,OAAO,gBAAuC;CAC/E,MAAM,CAAC,SAAS,cAAc,SAAS,KAAK;CAC5C,MAAM,SAAS,cAAc,mBAAmB,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC;CACzE,MAAM,cAAc,cAAc,iBAAiB,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC;CAC5E,MAAM,QAAQ,UAAU,MAAM,OAAO,OAAO;CAE5C,MAAM,QADS,cAAc,mBAAmB,KAAK,GAAG,CAAC,KAAK,CAChD,CAAA,CAAO;CAErB,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACG,OAAO,MAAM,SAAS,IACrB,oBAAC,SAAD;GAAS,SAAQ;GAAO,WAAU;GAChC,UAAA,qBAAC,QAAD;IAAM,WAAU;IAAhB,UAAA,CACE,qBAAC,QAAD,EAAA,UAAA,CACG,OAAO,MAAM,KAAK,SAAS,KAAK,KAAK,WAAW,uBAAuB,KAAK,QAAQ,gBAAgB,CAAC,CAAC,KAAK,IAAI,GAC/G,UAAU,MAAM,4BAA4B,OAAO,aAAa,eAAe,EAAE,yBAC9E,EAAA,CAAA,GACN,oBAAC,QAAD;KAAQ,MAAK;KAAS,MAAK;KAAK,SAAQ;KAAU,eAAe,WAAW,CAAC,OAAO;KACjF,UAAA,UAAU,iBAAiB,YAAY,YAAY,eAAe,EAAE;IAC/D,CAAA,CACJ;;EACC,CAAA,IACP,MACH,QACC,oBAAC,eAAD;GAAe,QAAQ,MAAM;GAAQ,WAAU;GAAc,GAAK,eAAe,EAAE,aAAa,IAAI,CAAC;EAAK,CAAA,IAE1G,oBAAC,OAAD;GAAK,WAAU;GAAqE,UAAA;EAAW,CAAA,CAE9F;;AAET"}
|
|
@@ -9,7 +9,8 @@ const require_ThreadFacts = require("./ThreadFacts.cjs");
|
|
|
9
9
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
// src/jvm/threads/ThreadDetail.tsx
|
|
11
11
|
/** One thread's header (state, CPU, contention, lock owner) and its stack. */
|
|
12
|
-
function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, stackError, refreshing, onRefresh, onSelectThread, onDownloadStack, onDownloadDump, dumpPending = false, dumpError, extra, renderStack }) {
|
|
12
|
+
function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, stackError, refreshing, onRefresh, onSelectThread, onDownloadStack, onDownloadDump, dumpPending = false, dumpError, extra, renderStack, frameActions }) {
|
|
13
|
+
if (renderStack && frameActions) throw new Error("ThreadDetail takes renderStack or frameActions, not both: renderStack replaces the stack that frameActions decorates");
|
|
13
14
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
14
15
|
className: "flex min-h-0 flex-col gap-3 p-3 text-xs",
|
|
15
16
|
children: [
|
|
@@ -79,7 +80,10 @@ function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, sta
|
|
|
79
80
|
stackError ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_InlineError.InlineError, {
|
|
80
81
|
title: `Stack for thread ${threadId} unavailable`,
|
|
81
82
|
error: stackError
|
|
82
|
-
}) : stack ? renderStack ? renderStack(stack) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_FoldedStackTrace.FoldedStackTrace, {
|
|
83
|
+
}) : stack ? renderStack ? renderStack(stack) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_FoldedStackTrace.FoldedStackTrace, {
|
|
84
|
+
stack,
|
|
85
|
+
...frameActions ? { frameActions } : {}
|
|
86
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_loading.Loading, {})
|
|
83
87
|
]
|
|
84
88
|
});
|
|
85
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadDetail.cjs","names":["threadStateDot","threadStateBadge","Button","UiRefresh","UiDownload","ThreadFacts","InlineError","FoldedStackTrace","Loading"],"sources":["../../../src/jvm/threads/ThreadDetail.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Loading } from \"../../components/loading\";\nimport { threadStateBadge, threadStateDot } from \"../../data/diagnostics/state-styles\";\nimport { UiDownload, UiRefresh } from \"../../icons\";\nimport { InlineError } from \"../../rpc/InlineError\";\nimport type { JvmThread, JvmThreadStack } from \"../protocol/types\";\nimport { FoldedStackTrace } from \"./FoldedStackTrace\";\nimport { ThreadFacts } from \"./ThreadFacts\";\n\nexport type ThreadDetailProps = {\n threadId: number;\n /** The thread's latest data: the stack's own, else the snapshot row. Absent while loading a thread already gone. */\n thread: JvmThread | undefined;\n /** The thread is in the latest snapshot; false once it has ended. */\n inSnapshot: boolean;\n cpuTimeEnabled: boolean;\n stack: JvmThreadStack | undefined;\n stackError: unknown;\n refreshing: boolean;\n onRefresh: () => void;\n onSelectThread: (id: number) => void;\n /** Shows \"Download stack\". */\n onDownloadStack?: () => void;\n /** Shows \"Download full dump\". */\n onDownloadDump?: () => void;\n dumpPending?: boolean;\n dumpError?: unknown;\n /** Host content between the facts and the stack, e.g. an analysis of this thread. */\n extra?: ReactNode;\n /** Replaces the default folded stack trace. */\n renderStack?: (stack: JvmThreadStack) => ReactNode;\n};\n\n/** One thread's header (state, CPU, contention, lock owner) and its stack. */\nexport function ThreadDetail({\n threadId,\n thread,\n inSnapshot,\n cpuTimeEnabled,\n stack,\n stackError,\n refreshing,\n onRefresh,\n onSelectThread,\n onDownloadStack,\n onDownloadDump,\n dumpPending = false,\n dumpError,\n extra,\n renderStack,\n}: ThreadDetailProps) {\n return (\n <div className=\"flex min-h-0 flex-col gap-3 p-3 text-xs\">\n <div className=\"flex flex-wrap items-center gap-2\">\n {thread ? <span className={`h-2 w-2 shrink-0 rounded-full ${threadStateDot(thread.state)}`} /> : null}\n <h3 className=\"text-sm font-semibold\">{thread?.name ?? `Thread ${threadId}`}</h3>\n <span className=\"font-mono text-muted-foreground\">#{threadId}</span>\n {thread ? <span className={`rounded px-1.5 py-0.5 font-mono text-[11px] ${threadStateBadge(thread.state)}`}>{thread.state}</span> : null}\n <div className=\"ml-auto flex flex-wrap items-center gap-1\">\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={refreshing} onClick={onRefresh}>\n <UiRefresh /> Refresh\n </Button>\n {onDownloadStack ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" disabled={!stack} title=\"Download this thread's stack as a text file\" onClick={onDownloadStack}>\n <UiDownload /> Download stack\n </Button>\n ) : null}\n {onDownloadDump ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={dumpPending} title=\"Download every thread's stack (jstack format)\" onClick={onDownloadDump}>\n <UiDownload /> Download full dump\n </Button>\n ) : null}\n </div>\n </div>\n {thread ? <ThreadFacts thread={thread} cpuTimeEnabled={cpuTimeEnabled} onSelectThread={onSelectThread} /> : null}\n {!inSnapshot && stack ? <p className=\"text-muted-foreground\">This thread is not in the latest snapshot; it may have ended.</p> : null}\n {extra}\n {dumpError ? <InlineError title=\"Thread dump unavailable\" error={dumpError} /> : null}\n {stackError ? (\n <InlineError title={`Stack for thread ${threadId} unavailable`} error={stackError} />\n ) : stack ? (\n renderStack ? (\n renderStack(stack)\n ) : (\n <FoldedStackTrace stack={stack} />\n )\n ) : (\n <Loading />\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ThreadDetail.cjs","names":["threadStateDot","threadStateBadge","Button","UiRefresh","UiDownload","ThreadFacts","InlineError","FoldedStackTrace","Loading"],"sources":["../../../src/jvm/threads/ThreadDetail.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Loading } from \"../../components/loading\";\nimport type { StackFrameActions } from \"../../data/diagnostics/StackFrameRow\";\nimport { threadStateBadge, threadStateDot } from \"../../data/diagnostics/state-styles\";\nimport { UiDownload, UiRefresh } from \"../../icons\";\nimport { InlineError } from \"../../rpc/InlineError\";\nimport type { JvmThread, JvmThreadStack } from \"../protocol/types\";\nimport { FoldedStackTrace } from \"./FoldedStackTrace\";\nimport { ThreadFacts } from \"./ThreadFacts\";\n\nexport type ThreadDetailProps = {\n threadId: number;\n /** The thread's latest data: the stack's own, else the snapshot row. Absent while loading a thread already gone. */\n thread: JvmThread | undefined;\n /** The thread is in the latest snapshot; false once it has ended. */\n inSnapshot: boolean;\n cpuTimeEnabled: boolean;\n stack: JvmThreadStack | undefined;\n stackError: unknown;\n refreshing: boolean;\n onRefresh: () => void;\n onSelectThread: (id: number) => void;\n /** Shows \"Download stack\". */\n onDownloadStack?: () => void;\n /** Shows \"Download full dump\". */\n onDownloadDump?: () => void;\n dumpPending?: boolean;\n dumpError?: unknown;\n /** Host content between the facts and the stack, e.g. an analysis of this thread. */\n extra?: ReactNode;\n /** Replaces the default folded stack trace. */\n renderStack?: (stack: JvmThreadStack) => ReactNode;\n /** Trailing action on each row of the default folded stack trace. Throws when given together with `renderStack`, which replaces that trace. */\n frameActions?: StackFrameActions;\n};\n\n/** One thread's header (state, CPU, contention, lock owner) and its stack. */\nexport function ThreadDetail({\n threadId,\n thread,\n inSnapshot,\n cpuTimeEnabled,\n stack,\n stackError,\n refreshing,\n onRefresh,\n onSelectThread,\n onDownloadStack,\n onDownloadDump,\n dumpPending = false,\n dumpError,\n extra,\n renderStack,\n frameActions,\n}: ThreadDetailProps) {\n if (renderStack && frameActions) {\n throw new Error(\"ThreadDetail takes renderStack or frameActions, not both: renderStack replaces the stack that frameActions decorates\");\n }\n return (\n <div className=\"flex min-h-0 flex-col gap-3 p-3 text-xs\">\n <div className=\"flex flex-wrap items-center gap-2\">\n {thread ? <span className={`h-2 w-2 shrink-0 rounded-full ${threadStateDot(thread.state)}`} /> : null}\n <h3 className=\"text-sm font-semibold\">{thread?.name ?? `Thread ${threadId}`}</h3>\n <span className=\"font-mono text-muted-foreground\">#{threadId}</span>\n {thread ? <span className={`rounded px-1.5 py-0.5 font-mono text-[11px] ${threadStateBadge(thread.state)}`}>{thread.state}</span> : null}\n <div className=\"ml-auto flex flex-wrap items-center gap-1\">\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={refreshing} onClick={onRefresh}>\n <UiRefresh /> Refresh\n </Button>\n {onDownloadStack ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" disabled={!stack} title=\"Download this thread's stack as a text file\" onClick={onDownloadStack}>\n <UiDownload /> Download stack\n </Button>\n ) : null}\n {onDownloadDump ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={dumpPending} title=\"Download every thread's stack (jstack format)\" onClick={onDownloadDump}>\n <UiDownload /> Download full dump\n </Button>\n ) : null}\n </div>\n </div>\n {thread ? <ThreadFacts thread={thread} cpuTimeEnabled={cpuTimeEnabled} onSelectThread={onSelectThread} /> : null}\n {!inSnapshot && stack ? <p className=\"text-muted-foreground\">This thread is not in the latest snapshot; it may have ended.</p> : null}\n {extra}\n {dumpError ? <InlineError title=\"Thread dump unavailable\" error={dumpError} /> : null}\n {stackError ? (\n <InlineError title={`Stack for thread ${threadId} unavailable`} error={stackError} />\n ) : stack ? (\n renderStack ? (\n renderStack(stack)\n ) : (\n <FoldedStackTrace stack={stack} {...(frameActions ? { frameActions } : {})} />\n )\n ) : (\n <Loading />\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AAsCA,SAAgB,aAAa,EAC3B,UACA,QACA,YACA,gBACA,OACA,YACA,YACA,WACA,gBACA,iBACA,gBACA,cAAc,OACd,WACA,OACA,aACA,gBACoB;CACpB,IAAI,eAAe,cACjB,MAAM,IAAI,MAAM,sHAAsH;CAExI,OACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACE,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACG,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD,EAAM,WAAW,iCAAiCA,qBAAAA,eAAe,OAAO,KAAK,IAAM,CAAA,IAAI;KACjG,iBAAA,GAAA,kBAAA,IAAA,CAAC,MAAD;MAAI,WAAU;MAAyB,UAAA,QAAQ,QAAQ,UAAU;KAAe,CAAA;KAChF,iBAAA,GAAA,kBAAA,KAAA,CAAC,QAAD;MAAM,WAAU;MAAhB,UAAA,CAAkD,KAAE,QAAe;;KAClE,SAAS,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;MAAM,WAAW,+CAA+CC,qBAAAA,iBAAiB,OAAO,KAAK;MAAM,UAAA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AAY,KAAK,IAEjB,iBAAA,GAAA,kBAAA,IAAA,CAACC,yBAAAA,kBAAD;IAAyB;IAAO,GAAK,eAAe,EAAE,aAAa,IAAI,CAAC;GAAK,CAAA,IAG/E,iBAAA,GAAA,kBAAA,IAAA,CAACC,gBAAAA,SAAD,CAAU,CAAA;EAET;;AAET"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { StackFrameActions } from '../../data/diagnostics/StackFrameRow.js';
|
|
2
3
|
import { JvmThread, JvmThreadStack } from '../protocol/types.js';
|
|
3
4
|
export type ThreadDetailProps = {
|
|
4
5
|
threadId: number;
|
|
@@ -22,7 +23,9 @@ export type ThreadDetailProps = {
|
|
|
22
23
|
extra?: ReactNode;
|
|
23
24
|
/** Replaces the default folded stack trace. */
|
|
24
25
|
renderStack?: (stack: JvmThreadStack) => ReactNode;
|
|
26
|
+
/** Trailing action on each row of the default folded stack trace. Throws when given together with `renderStack`, which replaces that trace. */
|
|
27
|
+
frameActions?: StackFrameActions;
|
|
25
28
|
};
|
|
26
29
|
/** One thread's header (state, CPU, contention, lock owner) and its stack. */
|
|
27
|
-
export declare function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, stackError, refreshing, onRefresh, onSelectThread, onDownloadStack, onDownloadDump, dumpPending, dumpError, extra, renderStack, }: ThreadDetailProps): import("react").JSX.Element;
|
|
30
|
+
export declare function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, stackError, refreshing, onRefresh, onSelectThread, onDownloadStack, onDownloadDump, dumpPending, dumpError, extra, renderStack, frameActions, }: ThreadDetailProps): import("react").JSX.Element;
|
|
28
31
|
//# sourceMappingURL=ThreadDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadDetail.d.ts","sourceRoot":"","sources":["../../../src/jvm/threads/ThreadDetail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EA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EACd,eAAe,EACf,cAAc,EACd,WAAmB,EACnB,SAAS,EACT,KAAK,EACL,WAAW,EACX,YAAY,GACb,EAAE,iBAAiB,+BA4CnB"}
|
|
@@ -9,7 +9,8 @@ import { ThreadFacts } from "./ThreadFacts.js";
|
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
// src/jvm/threads/ThreadDetail.tsx
|
|
11
11
|
/** One thread's header (state, CPU, contention, lock owner) and its stack. */
|
|
12
|
-
function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, stackError, refreshing, onRefresh, onSelectThread, onDownloadStack, onDownloadDump, dumpPending = false, dumpError, extra, renderStack }) {
|
|
12
|
+
function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, stackError, refreshing, onRefresh, onSelectThread, onDownloadStack, onDownloadDump, dumpPending = false, dumpError, extra, renderStack, frameActions }) {
|
|
13
|
+
if (renderStack && frameActions) throw new Error("ThreadDetail takes renderStack or frameActions, not both: renderStack replaces the stack that frameActions decorates");
|
|
13
14
|
return /* @__PURE__ */ jsxs("div", {
|
|
14
15
|
className: "flex min-h-0 flex-col gap-3 p-3 text-xs",
|
|
15
16
|
children: [
|
|
@@ -79,7 +80,10 @@ function ThreadDetail({ threadId, thread, inSnapshot, cpuTimeEnabled, stack, sta
|
|
|
79
80
|
stackError ? /* @__PURE__ */ jsx(InlineError, {
|
|
80
81
|
title: `Stack for thread ${threadId} unavailable`,
|
|
81
82
|
error: stackError
|
|
82
|
-
}) : stack ? renderStack ? renderStack(stack) : /* @__PURE__ */ jsx(FoldedStackTrace, {
|
|
83
|
+
}) : stack ? renderStack ? renderStack(stack) : /* @__PURE__ */ jsx(FoldedStackTrace, {
|
|
84
|
+
stack,
|
|
85
|
+
...frameActions ? { frameActions } : {}
|
|
86
|
+
}) : /* @__PURE__ */ jsx(Loading, {})
|
|
83
87
|
]
|
|
84
88
|
});
|
|
85
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadDetail.js","names":[],"sources":["../../../src/jvm/threads/ThreadDetail.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Loading } from \"../../components/loading\";\nimport { threadStateBadge, threadStateDot } from \"../../data/diagnostics/state-styles\";\nimport { UiDownload, UiRefresh } from \"../../icons\";\nimport { InlineError } from \"../../rpc/InlineError\";\nimport type { JvmThread, JvmThreadStack } from \"../protocol/types\";\nimport { FoldedStackTrace } from \"./FoldedStackTrace\";\nimport { ThreadFacts } from \"./ThreadFacts\";\n\nexport type ThreadDetailProps = {\n threadId: number;\n /** The thread's latest data: the stack's own, else the snapshot row. Absent while loading a thread already gone. */\n thread: JvmThread | undefined;\n /** The thread is in the latest snapshot; false once it has ended. */\n inSnapshot: boolean;\n cpuTimeEnabled: boolean;\n stack: JvmThreadStack | undefined;\n stackError: unknown;\n refreshing: boolean;\n onRefresh: () => void;\n onSelectThread: (id: number) => void;\n /** Shows \"Download stack\". */\n onDownloadStack?: () => void;\n /** Shows \"Download full dump\". */\n onDownloadDump?: () => void;\n dumpPending?: boolean;\n dumpError?: unknown;\n /** Host content between the facts and the stack, e.g. an analysis of this thread. */\n extra?: ReactNode;\n /** Replaces the default folded stack trace. */\n renderStack?: (stack: JvmThreadStack) => ReactNode;\n};\n\n/** One thread's header (state, CPU, contention, lock owner) and its stack. */\nexport function ThreadDetail({\n threadId,\n thread,\n inSnapshot,\n cpuTimeEnabled,\n stack,\n stackError,\n refreshing,\n onRefresh,\n onSelectThread,\n onDownloadStack,\n onDownloadDump,\n dumpPending = false,\n dumpError,\n extra,\n renderStack,\n}: ThreadDetailProps) {\n return (\n <div className=\"flex min-h-0 flex-col gap-3 p-3 text-xs\">\n <div className=\"flex flex-wrap items-center gap-2\">\n {thread ? <span className={`h-2 w-2 shrink-0 rounded-full ${threadStateDot(thread.state)}`} /> : null}\n <h3 className=\"text-sm font-semibold\">{thread?.name ?? `Thread ${threadId}`}</h3>\n <span className=\"font-mono text-muted-foreground\">#{threadId}</span>\n {thread ? <span className={`rounded px-1.5 py-0.5 font-mono text-[11px] ${threadStateBadge(thread.state)}`}>{thread.state}</span> : null}\n <div className=\"ml-auto flex flex-wrap items-center gap-1\">\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={refreshing} onClick={onRefresh}>\n <UiRefresh /> Refresh\n </Button>\n {onDownloadStack ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" disabled={!stack} title=\"Download this thread's stack as a text file\" onClick={onDownloadStack}>\n <UiDownload /> Download stack\n </Button>\n ) : null}\n {onDownloadDump ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={dumpPending} title=\"Download every thread's stack (jstack format)\" onClick={onDownloadDump}>\n <UiDownload /> Download full dump\n </Button>\n ) : null}\n </div>\n </div>\n {thread ? <ThreadFacts thread={thread} cpuTimeEnabled={cpuTimeEnabled} onSelectThread={onSelectThread} /> : null}\n {!inSnapshot && stack ? <p className=\"text-muted-foreground\">This thread is not in the latest snapshot; it may have ended.</p> : null}\n {extra}\n {dumpError ? <InlineError title=\"Thread dump unavailable\" error={dumpError} /> : null}\n {stackError ? (\n <InlineError title={`Stack for thread ${threadId} unavailable`} error={stackError} />\n ) : stack ? (\n renderStack ? (\n renderStack(stack)\n ) : (\n <FoldedStackTrace stack={stack} />\n )\n ) : (\n <Loading />\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ThreadDetail.js","names":[],"sources":["../../../src/jvm/threads/ThreadDetail.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { Button } from \"../../components/button\";\nimport { Loading } from \"../../components/loading\";\nimport type { StackFrameActions } from \"../../data/diagnostics/StackFrameRow\";\nimport { threadStateBadge, threadStateDot } from \"../../data/diagnostics/state-styles\";\nimport { UiDownload, UiRefresh } from \"../../icons\";\nimport { InlineError } from \"../../rpc/InlineError\";\nimport type { JvmThread, JvmThreadStack } from \"../protocol/types\";\nimport { FoldedStackTrace } from \"./FoldedStackTrace\";\nimport { ThreadFacts } from \"./ThreadFacts\";\n\nexport type ThreadDetailProps = {\n threadId: number;\n /** The thread's latest data: the stack's own, else the snapshot row. Absent while loading a thread already gone. */\n thread: JvmThread | undefined;\n /** The thread is in the latest snapshot; false once it has ended. */\n inSnapshot: boolean;\n cpuTimeEnabled: boolean;\n stack: JvmThreadStack | undefined;\n stackError: unknown;\n refreshing: boolean;\n onRefresh: () => void;\n onSelectThread: (id: number) => void;\n /** Shows \"Download stack\". */\n onDownloadStack?: () => void;\n /** Shows \"Download full dump\". */\n onDownloadDump?: () => void;\n dumpPending?: boolean;\n dumpError?: unknown;\n /** Host content between the facts and the stack, e.g. an analysis of this thread. */\n extra?: ReactNode;\n /** Replaces the default folded stack trace. */\n renderStack?: (stack: JvmThreadStack) => ReactNode;\n /** Trailing action on each row of the default folded stack trace. Throws when given together with `renderStack`, which replaces that trace. */\n frameActions?: StackFrameActions;\n};\n\n/** One thread's header (state, CPU, contention, lock owner) and its stack. */\nexport function ThreadDetail({\n threadId,\n thread,\n inSnapshot,\n cpuTimeEnabled,\n stack,\n stackError,\n refreshing,\n onRefresh,\n onSelectThread,\n onDownloadStack,\n onDownloadDump,\n dumpPending = false,\n dumpError,\n extra,\n renderStack,\n frameActions,\n}: ThreadDetailProps) {\n if (renderStack && frameActions) {\n throw new Error(\"ThreadDetail takes renderStack or frameActions, not both: renderStack replaces the stack that frameActions decorates\");\n }\n return (\n <div className=\"flex min-h-0 flex-col gap-3 p-3 text-xs\">\n <div className=\"flex flex-wrap items-center gap-2\">\n {thread ? <span className={`h-2 w-2 shrink-0 rounded-full ${threadStateDot(thread.state)}`} /> : null}\n <h3 className=\"text-sm font-semibold\">{thread?.name ?? `Thread ${threadId}`}</h3>\n <span className=\"font-mono text-muted-foreground\">#{threadId}</span>\n {thread ? <span className={`rounded px-1.5 py-0.5 font-mono text-[11px] ${threadStateBadge(thread.state)}`}>{thread.state}</span> : null}\n <div className=\"ml-auto flex flex-wrap items-center gap-1\">\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={refreshing} onClick={onRefresh}>\n <UiRefresh /> Refresh\n </Button>\n {onDownloadStack ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" disabled={!stack} title=\"Download this thread's stack as a text file\" onClick={onDownloadStack}>\n <UiDownload /> Download stack\n </Button>\n ) : null}\n {onDownloadDump ? (\n <Button type=\"button\" size=\"xs\" variant=\"outline\" loading={dumpPending} title=\"Download every thread's stack (jstack format)\" onClick={onDownloadDump}>\n <UiDownload /> Download full dump\n </Button>\n ) : null}\n </div>\n </div>\n {thread ? <ThreadFacts thread={thread} cpuTimeEnabled={cpuTimeEnabled} onSelectThread={onSelectThread} /> : null}\n {!inSnapshot && stack ? <p className=\"text-muted-foreground\">This thread is not in the latest snapshot; it may have ended.</p> : null}\n {extra}\n {dumpError ? <InlineError title=\"Thread dump unavailable\" error={dumpError} /> : null}\n {stackError ? (\n <InlineError title={`Stack for thread ${threadId} unavailable`} error={stackError} />\n ) : stack ? (\n renderStack ? (\n renderStack(stack)\n ) : (\n <FoldedStackTrace stack={stack} {...(frameActions ? { frameActions } : {})} />\n )\n ) : (\n <Loading />\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;AAsCA,SAAgB,aAAa,EAC3B,UACA,QACA,YACA,gBACA,OACA,YACA,YACA,WACA,gBACA,iBACA,gBACA,cAAc,OACd,WACA,OACA,aACA,gBACoB;CACpB,IAAI,eAAe,cACjB,MAAM,IAAI,MAAM,sHAAsH;CAExI,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACE,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACG,SAAS,oBAAC,QAAD,EAAM,WAAW,iCAAiC,eAAe,OAAO,KAAK,IAAM,CAAA,IAAI;KACjG,oBAAC,MAAD;MAAI,WAAU;MAAyB,UAAA,QAAQ,QAAQ,UAAU;KAAe,CAAA;KAChF,qBAAC,QAAD;MAAM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"Module" });
|
|
2
2
|
const require_operation_client = require("./jvm/protocol/operation-client.cjs");
|
|
3
3
|
const require_query_keys = require("./jvm/protocol/query-keys.cjs");
|
|
4
|
+
const require_status = require("./jvm/protocol/status.cjs");
|
|
4
5
|
const require_mbean_tree = require("./jvm/model/mbean-tree.cjs");
|
|
5
6
|
const require_mbean_arguments = require("./jvm/model/mbean-arguments.cjs");
|
|
6
7
|
const require_mbean_properties = require("./jvm/model/mbean-properties.cjs");
|
|
@@ -186,6 +187,7 @@ exports.parseThreadId = require_threads.parseThreadId;
|
|
|
186
187
|
exports.parseThreadSort = require_threads.parseThreadSort;
|
|
187
188
|
exports.patchKey = require_patches.patchKey;
|
|
188
189
|
exports.patchRowState = require_patches.patchRowState;
|
|
190
|
+
exports.patchesFromStatus = require_status.patchesFromStatus;
|
|
189
191
|
exports.poolLimit = require_memory.poolLimit;
|
|
190
192
|
exports.poolTone = require_memory.poolTone;
|
|
191
193
|
exports.pushExpressionHistory = require_expressions.pushExpressionHistory;
|
|
@@ -201,6 +203,7 @@ exports.unquoteObjectNameValue = require_mbean_tree.unquoteObjectNameValue;
|
|
|
201
203
|
exports.updateClassesState = require_classes_state.updateClassesState;
|
|
202
204
|
exports.useExpressionHistory = require_use_expression_history.useExpressionHistory;
|
|
203
205
|
exports.useJvm = require_jvm_context.useJvm;
|
|
206
|
+
exports.useJvmPatches = require_jvm_context.useJvmPatches;
|
|
204
207
|
exports.useJvmStatus = require_jvm_context.useJvmStatus;
|
|
205
208
|
exports.visibleThreads = require_threads.visibleThreads;
|
|
206
209
|
exports.withViewParam = require_threads.withViewParam;
|
package/dist/jvm.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type * from './jvm/protocol/types.js';
|
|
|
15
15
|
export type { JvmDiagnosticsClient, JvmRequestOptions } from './jvm/protocol/client.js';
|
|
16
16
|
export { jvmOperationClient, type JvmOperationCall, type JvmOperationCallOptions, } from './jvm/protocol/operation-client.js';
|
|
17
17
|
export { jvmKeys } from './jvm/protocol/query-keys.js';
|
|
18
|
+
export { patchesFromStatus } from './jvm/protocol/status.js';
|
|
18
19
|
export { buildMBeanBrowserTree, parseObjectName, unquoteObjectNameValue, UNTYPED_MBEAN, type MBeanDomain, type MBeanLeaf, type MBeanTypeGroup, type ObjectNameProperty, } from './jvm/model/mbean-tree.js';
|
|
19
20
|
export { isBooleanMBeanType, isScalarMBeanType, parseMBeanArgument } from './jvm/model/mbean-arguments.js';
|
|
20
21
|
export { mbeanAttributeProperty } from './jvm/model/mbean-properties.js';
|
|
@@ -83,6 +84,6 @@ export { ClassesSurface, type ClassesSurfaceProps } from './jvm/surfaces/Classes
|
|
|
83
84
|
export { JvmDiagnosticsWorkspace, type JvmDiagnosticsSection, type JvmDiagnosticsWorkspaceProps } from './jvm/surfaces/JvmDiagnosticsWorkspace.js';
|
|
84
85
|
export { JvmStatusBar, type JvmStatusBarProps } from './jvm/surfaces/JvmStatusBar.js';
|
|
85
86
|
export { JvmProvider, type JvmProviderProps } from './jvm/surfaces/JvmProvider.js';
|
|
86
|
-
export { useJvm, useJvmStatus, type JvmContextValue } from './jvm/surfaces/jvm-context.js';
|
|
87
|
+
export { useJvm, useJvmPatches, useJvmStatus, type JvmContextValue } from './jvm/surfaces/jvm-context.js';
|
|
87
88
|
export { MBeansSurface, type MBeansSurfaceProps, type MBeansSurfaceState } from './jvm/surfaces/MBeansSurface.js';
|
|
88
89
|
//# sourceMappingURL=jvm.d.ts.map
|
package/dist/jvm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jvm.d.ts","sourceRoot":"","sources":["../src/jvm.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,mBAAmB,sBAAsB,CAAC;AAC1C,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AACrF,OAAO,EACL,kBAAkB,EAClB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,GAC7B,MAAM,iCAAiC,CAA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AAE,KAAK,qBAAqB,EAAE,KAAK,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAChJ,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC"}
|
package/dist/jvm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jvmOperationClient } from "./jvm/protocol/operation-client.js";
|
|
2
2
|
import { jvmKeys } from "./jvm/protocol/query-keys.js";
|
|
3
|
+
import { patchesFromStatus } from "./jvm/protocol/status.js";
|
|
3
4
|
import { UNTYPED_MBEAN, buildMBeanBrowserTree, parseObjectName, unquoteObjectNameValue } from "./jvm/model/mbean-tree.js";
|
|
4
5
|
import { isBooleanMBeanType, isScalarMBeanType, parseMBeanArgument } from "./jvm/model/mbean-arguments.js";
|
|
5
6
|
import { mbeanAttributeProperty } from "./jvm/model/mbean-properties.js";
|
|
@@ -68,6 +69,6 @@ import { ClassesSurface } from "./jvm/surfaces/ClassesSurface.js";
|
|
|
68
69
|
import { JvmDiagnosticsWorkspace } from "./jvm/surfaces/JvmDiagnosticsWorkspace.js";
|
|
69
70
|
import { JvmStatusBar } from "./jvm/surfaces/JvmStatusBar.js";
|
|
70
71
|
import { JvmProvider } from "./jvm/surfaces/JvmProvider.js";
|
|
71
|
-
import { useJvm, useJvmStatus } from "./jvm/surfaces/jvm-context.js";
|
|
72
|
+
import { useJvm, useJvmPatches, useJvmStatus } from "./jvm/surfaces/jvm-context.js";
|
|
72
73
|
import { MBeansSurface } from "./jvm/surfaces/MBeansSurface.js";
|
|
73
|
-
export { BUILT_IN_EXPRESSION_PRESETS, ClassBrowser, ClassDownloads, ClassesSurface, CompileDiagnosticsList, DEFAULT_LEASE_SECONDS, DeadlockCallout, DecompiledSourceReader, DecompiledSourceView, EXPRESSION_HISTORY_LIMIT, EvaluationResult, ExpressionConsole, ExpressionSurface, FoldedStackTrace, GcSummary, JUL_LEVELS, JvmDiagnosticsWorkspace, JvmProvider, JvmStatusBar, LEASE_OPTIONS, LockOwnerButton, LoggerLevelDialog, LoggersTable, LoggingSurface, MBeanAttributeEditDialog, MBeanAttributeLabel, MBeanAttributes, MBeanBrowser, MBeanDetailView, MBeanInvokeDialog, MBeanOperations, MBeansSurface, MemoryPools, MethodPicker, MutationGate, PatchActions, PatchRegister, PatchRegisterTable, PatchedClassList, PatchesSurface, PoolMetricsTable, ProcessTiles, ROOT_LOGGER_LABEL, RegisterSummary, RuntimeDashboard, RuntimeInfo, RuntimeSurface, THREAD_SORTS, ThreadDetail, ThreadFacts, ThreadGroupRow, ThreadRow, ThreadTree, ThreadsSurface, ThreadsToolbar, UNTYPED_MBEAN, VIRTUAL_LOADER_REASON, bareMethodName, base64ToBlob, baseThreadName, buildClassTree, buildMBeanBrowserTree, buildThreadTree, canRestorePatch, capturedAtMs, classArtifactFilename, classFocus, classNodeKey, classSimpleName, countStackFrames, countThreadStates, diagnosticMarkers, dominantState, downloadText, effectiveLevels, evaluationGraph, evaluationRawText, expressionHistoryStorageKey, filterLoggerRows, findClassNode, findMBeanNode, foldRepeatedFrames, formatContention, formatLeaseRemaining, formatThreadCpu, gutterLabel, hasLineMap, includePlatformFromState, isBooleanMBeanType, isDiagnosticsAgentThread, isScalarMBeanType, isVirtualLoader, jvmKeys, jvmOperationClient, leaseLabel, leaseRemainingMs, lineForRow, loggerDisplayName, loggerRows, mappedRow, mbeanAttributeIcon, mbeanAttributeProperty, mbeanBrowserNodes, mergeMBeanReadings, methodKey, methodSignature, mutationAllowed, ognlExpressionForNode, parseMBeanArgument, parseObjectName, parseStateSet, parseThreadId, parseThreadSort, patchKey, patchRowState, poolLimit, poolTone, pushExpressionHistory, rowForLine, saveBlob, selectMethod, serializeStateSet, sortThreads, sumPools, summarisePatches, threadStackFileName, unquoteObjectNameValue, updateClassesState, useExpressionHistory, useJvm, useJvmStatus, visibleThreads, withViewParam };
|
|
74
|
+
export { BUILT_IN_EXPRESSION_PRESETS, ClassBrowser, ClassDownloads, ClassesSurface, CompileDiagnosticsList, DEFAULT_LEASE_SECONDS, DeadlockCallout, DecompiledSourceReader, DecompiledSourceView, EXPRESSION_HISTORY_LIMIT, EvaluationResult, ExpressionConsole, ExpressionSurface, FoldedStackTrace, GcSummary, JUL_LEVELS, JvmDiagnosticsWorkspace, JvmProvider, JvmStatusBar, LEASE_OPTIONS, LockOwnerButton, LoggerLevelDialog, LoggersTable, LoggingSurface, MBeanAttributeEditDialog, MBeanAttributeLabel, MBeanAttributes, MBeanBrowser, MBeanDetailView, MBeanInvokeDialog, MBeanOperations, MBeansSurface, MemoryPools, MethodPicker, MutationGate, PatchActions, PatchRegister, PatchRegisterTable, PatchedClassList, PatchesSurface, PoolMetricsTable, ProcessTiles, ROOT_LOGGER_LABEL, RegisterSummary, RuntimeDashboard, RuntimeInfo, RuntimeSurface, THREAD_SORTS, ThreadDetail, ThreadFacts, ThreadGroupRow, ThreadRow, ThreadTree, ThreadsSurface, ThreadsToolbar, UNTYPED_MBEAN, VIRTUAL_LOADER_REASON, bareMethodName, base64ToBlob, baseThreadName, buildClassTree, buildMBeanBrowserTree, buildThreadTree, canRestorePatch, capturedAtMs, classArtifactFilename, classFocus, classNodeKey, classSimpleName, countStackFrames, countThreadStates, diagnosticMarkers, dominantState, downloadText, effectiveLevels, evaluationGraph, evaluationRawText, expressionHistoryStorageKey, filterLoggerRows, findClassNode, findMBeanNode, foldRepeatedFrames, formatContention, formatLeaseRemaining, formatThreadCpu, gutterLabel, hasLineMap, includePlatformFromState, isBooleanMBeanType, isDiagnosticsAgentThread, isScalarMBeanType, isVirtualLoader, jvmKeys, jvmOperationClient, leaseLabel, leaseRemainingMs, lineForRow, loggerDisplayName, loggerRows, mappedRow, mbeanAttributeIcon, mbeanAttributeProperty, mbeanBrowserNodes, mergeMBeanReadings, methodKey, methodSignature, mutationAllowed, ognlExpressionForNode, parseMBeanArgument, parseObjectName, parseStateSet, parseThreadId, parseThreadSort, patchKey, patchRowState, patchesFromStatus, poolLimit, poolTone, pushExpressionHistory, rowForLine, saveBlob, selectMethod, serializeStateSet, sortThreads, sumPools, summarisePatches, threadStackFileName, unquoteObjectNameValue, updateClassesState, useExpressionHistory, useJvm, useJvmPatches, useJvmStatus, visibleThreads, withViewParam };
|