@warmdrift/kgauto-compiler 2.0.0-alpha.7 → 2.0.0-alpha.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +176 -46
  2. package/dist/brain-proxy.d.mts +113 -0
  3. package/dist/brain-proxy.d.ts +113 -0
  4. package/dist/brain-proxy.js +193 -0
  5. package/dist/brain-proxy.mjs +6 -0
  6. package/dist/chunk-4UO4CCSP.mjs +1620 -0
  7. package/dist/chunk-65ZMX5OT.mjs +169 -0
  8. package/dist/{chunk-5TI6PNSK.mjs → chunk-BVEXV5KC.mjs} +11 -0
  9. package/dist/chunk-FR4DNGLW.mjs +203 -0
  10. package/dist/chunk-NBO4R5PC.mjs +313 -0
  11. package/dist/chunk-P3TOAEG4.mjs +56 -0
  12. package/dist/chunk-RO22VFIF.mjs +29 -0
  13. package/dist/chunk-SBFSYCQG.mjs +719 -0
  14. package/dist/dialect.d.mts +41 -3
  15. package/dist/dialect.d.ts +41 -3
  16. package/dist/dialect.js +14 -2
  17. package/dist/dialect.mjs +5 -3
  18. package/dist/glassbox/index.d.mts +59 -0
  19. package/dist/glassbox/index.d.ts +59 -0
  20. package/dist/glassbox/index.js +312 -0
  21. package/dist/glassbox/index.mjs +12 -0
  22. package/dist/glassbox-routes/format.d.mts +24 -0
  23. package/dist/glassbox-routes/format.d.ts +24 -0
  24. package/dist/glassbox-routes/format.js +86 -0
  25. package/dist/glassbox-routes/format.mjs +18 -0
  26. package/dist/glassbox-routes/index.d.mts +191 -0
  27. package/dist/glassbox-routes/index.d.ts +191 -0
  28. package/dist/glassbox-routes/index.js +2888 -0
  29. package/dist/glassbox-routes/index.mjs +667 -0
  30. package/dist/glassbox-routes/react/index.d.mts +74 -0
  31. package/dist/glassbox-routes/react/index.d.ts +74 -0
  32. package/dist/glassbox-routes/react/index.js +819 -0
  33. package/dist/glassbox-routes/react/index.mjs +754 -0
  34. package/dist/index.d.mts +2739 -17
  35. package/dist/index.d.ts +2739 -17
  36. package/dist/index.js +8989 -1659
  37. package/dist/index.mjs +5078 -367
  38. package/dist/ir-Bqn1RVdV.d.mts +1583 -0
  39. package/dist/ir-Bvlkw5ja.d.ts +1583 -0
  40. package/dist/key-health.d.mts +131 -0
  41. package/dist/key-health.d.ts +131 -0
  42. package/dist/key-health.js +228 -0
  43. package/dist/key-health.mjs +6 -0
  44. package/dist/profiles.d.mts +292 -2
  45. package/dist/profiles.d.ts +292 -2
  46. package/dist/profiles.js +1231 -16
  47. package/dist/profiles.mjs +9 -1
  48. package/dist/types-Bon96eyc.d.ts +131 -0
  49. package/dist/types-CwGhacGT.d.mts +149 -0
  50. package/dist/types-DIxRZ3Dj.d.ts +149 -0
  51. package/dist/types-DsEq35WY.d.mts +131 -0
  52. package/package.json +54 -8
  53. package/dist/chunk-MBEI5UOM.mjs +0 -409
  54. package/dist/profiles-B3eNQ2py.d.ts +0 -619
  55. package/dist/profiles-Py8c7zjJ.d.mts +0 -619
@@ -0,0 +1,74 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { a as TraceDetail } from '../../types-CwGhacGT.mjs';
3
+ import '../../ir-Bqn1RVdV.mjs';
4
+ import '../../dialect.mjs';
5
+
6
+ /**
7
+ * GlassboxTheme — visual tokens consumed by <GlassboxTraceCard>.
8
+ *
9
+ * Pass via `theme` prop to override the neutral default with your dashboard's
10
+ * design system. All 14 tokens are required; spread the default and override
11
+ * what you need:
12
+ *
13
+ * import { DEFAULT_GLASSBOX_THEME } from '@warmdrift/kgauto-compiler/glassbox-routes/react';
14
+ * const myTheme = { ...DEFAULT_GLASSBOX_THEME, colors: { ...DEFAULT_GLASSBOX_THEME.colors, warn: '#C75B7A' } };
15
+ *
16
+ * The default is a deliberately neutral cool slate palette + system fonts —
17
+ * NOT tt-intelligence's warm brand. Consumers should override with their own
18
+ * brand tokens; the substrate stays brand-agnostic.
19
+ */
20
+ interface GlassboxThemeColors {
21
+ /** Page/section background (behind cards). */
22
+ surface: string;
23
+ /** Card / row border. */
24
+ border: string;
25
+ /** Softer border for inner dividers. */
26
+ borderSoft: string;
27
+ /** Card background. */
28
+ cardBg: string;
29
+ /** Primary text. */
30
+ text: string;
31
+ /** Secondary text (labels, metadata). */
32
+ textMuted: string;
33
+ /** Tertiary text (annotations). */
34
+ textFaint: string;
35
+ /** Healthy / success state marker. */
36
+ ok: string;
37
+ /** Warning / borderline / coaching state marker. Reserved for state, not decoration. */
38
+ warn: string;
39
+ /** Failure / error state marker. */
40
+ fail: string;
41
+ /** Informational state marker (advisory link, counterfactual). */
42
+ info: string;
43
+ }
44
+ interface GlassboxThemeFonts {
45
+ /** UI sans-serif stack. */
46
+ sans: string;
47
+ /** Display / heading stack. */
48
+ serif: string;
49
+ /** Monospace stack for IDs, traceIds, raw payloads. */
50
+ mono: string;
51
+ }
52
+ interface GlassboxTheme {
53
+ colors: GlassboxThemeColors;
54
+ fonts: GlassboxThemeFonts;
55
+ }
56
+ declare const DEFAULT_GLASSBOX_THEME: GlassboxTheme;
57
+
58
+ interface GlassboxTraceCardProps {
59
+ detail: TraceDetail;
60
+ /**
61
+ * Optional theme override. Defaults to a neutral cool slate palette + system
62
+ * fonts (NOT tt-intelligence's warm brand). Consumer dashboards should pass
63
+ * their own design tokens.
64
+ */
65
+ theme?: GlassboxTheme;
66
+ }
67
+ /**
68
+ * Render one TraceDetail as a stacked-card view. Server component (no
69
+ * client JS). Cards with empty data hide automatically per the alpha.28
70
+ * design contract.
71
+ */
72
+ declare function GlassboxTraceCard({ detail, theme, }: GlassboxTraceCardProps): react_jsx_runtime.JSX.Element;
73
+
74
+ export { DEFAULT_GLASSBOX_THEME, type GlassboxTheme, type GlassboxThemeColors, type GlassboxThemeFonts, GlassboxTraceCard, type GlassboxTraceCardProps };
@@ -0,0 +1,74 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { a as TraceDetail } from '../../types-DIxRZ3Dj.js';
3
+ import '../../ir-Bvlkw5ja.js';
4
+ import '../../dialect.js';
5
+
6
+ /**
7
+ * GlassboxTheme — visual tokens consumed by <GlassboxTraceCard>.
8
+ *
9
+ * Pass via `theme` prop to override the neutral default with your dashboard's
10
+ * design system. All 14 tokens are required; spread the default and override
11
+ * what you need:
12
+ *
13
+ * import { DEFAULT_GLASSBOX_THEME } from '@warmdrift/kgauto-compiler/glassbox-routes/react';
14
+ * const myTheme = { ...DEFAULT_GLASSBOX_THEME, colors: { ...DEFAULT_GLASSBOX_THEME.colors, warn: '#C75B7A' } };
15
+ *
16
+ * The default is a deliberately neutral cool slate palette + system fonts —
17
+ * NOT tt-intelligence's warm brand. Consumers should override with their own
18
+ * brand tokens; the substrate stays brand-agnostic.
19
+ */
20
+ interface GlassboxThemeColors {
21
+ /** Page/section background (behind cards). */
22
+ surface: string;
23
+ /** Card / row border. */
24
+ border: string;
25
+ /** Softer border for inner dividers. */
26
+ borderSoft: string;
27
+ /** Card background. */
28
+ cardBg: string;
29
+ /** Primary text. */
30
+ text: string;
31
+ /** Secondary text (labels, metadata). */
32
+ textMuted: string;
33
+ /** Tertiary text (annotations). */
34
+ textFaint: string;
35
+ /** Healthy / success state marker. */
36
+ ok: string;
37
+ /** Warning / borderline / coaching state marker. Reserved for state, not decoration. */
38
+ warn: string;
39
+ /** Failure / error state marker. */
40
+ fail: string;
41
+ /** Informational state marker (advisory link, counterfactual). */
42
+ info: string;
43
+ }
44
+ interface GlassboxThemeFonts {
45
+ /** UI sans-serif stack. */
46
+ sans: string;
47
+ /** Display / heading stack. */
48
+ serif: string;
49
+ /** Monospace stack for IDs, traceIds, raw payloads. */
50
+ mono: string;
51
+ }
52
+ interface GlassboxTheme {
53
+ colors: GlassboxThemeColors;
54
+ fonts: GlassboxThemeFonts;
55
+ }
56
+ declare const DEFAULT_GLASSBOX_THEME: GlassboxTheme;
57
+
58
+ interface GlassboxTraceCardProps {
59
+ detail: TraceDetail;
60
+ /**
61
+ * Optional theme override. Defaults to a neutral cool slate palette + system
62
+ * fonts (NOT tt-intelligence's warm brand). Consumer dashboards should pass
63
+ * their own design tokens.
64
+ */
65
+ theme?: GlassboxTheme;
66
+ }
67
+ /**
68
+ * Render one TraceDetail as a stacked-card view. Server component (no
69
+ * client JS). Cards with empty data hide automatically per the alpha.28
70
+ * design contract.
71
+ */
72
+ declare function GlassboxTraceCard({ detail, theme, }: GlassboxTraceCardProps): react_jsx_runtime.JSX.Element;
73
+
74
+ export { DEFAULT_GLASSBOX_THEME, type GlassboxTheme, type GlassboxThemeColors, type GlassboxThemeFonts, GlassboxTraceCard, type GlassboxTraceCardProps };