xithead 1.5.1 → 1.5.2

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 (85) hide show
  1. package/bin/xithead.js +486 -226
  2. package/index.d.ts +57 -0
  3. package/index.js +139 -0
  4. package/package.json +44 -63
  5. package/postinstall.js +43 -0
  6. package/LICENSE +0 -190
  7. package/README.md +0 -108
  8. package/app/api/config/route.ts +0 -22
  9. package/app/api/export/route.ts +0 -83
  10. package/app/api/models/route.ts +0 -12
  11. package/app/api/stats/route.ts +0 -46
  12. package/app/dashboard/page.tsx +0 -445
  13. package/app/globals.css +0 -35
  14. package/app/installation/page.tsx +0 -293
  15. package/app/layout.tsx +0 -35
  16. package/app/master-design-system.css +0 -2076
  17. package/app/master-design-system.source.css +0 -8
  18. package/app/page.tsx +0 -187
  19. package/app/rechtliches/agb/page.tsx +0 -165
  20. package/app/rechtliches/datenschutz/page.tsx +0 -128
  21. package/app/rechtliches/impressum/page.tsx +0 -122
  22. package/app/rechtliches/widerruf/page.tsx +0 -185
  23. package/components/layout/AppShell.tsx +0 -25
  24. package/components/layout/Footer.tsx +0 -120
  25. package/components/layout/Header.tsx +0 -145
  26. package/components/marketing/LegalHighlights.tsx +0 -45
  27. package/components/marketing/LegalPageShell.tsx +0 -49
  28. package/components/marketing/LegalPanel.tsx +0 -41
  29. package/components/marketing/index.ts +0 -3
  30. package/design-system/README.md +0 -80
  31. package/design-system/base.css +0 -127
  32. package/design-system/components.css +0 -1943
  33. package/design-system/fonts.css +0 -17
  34. package/design-system/tailwind-preset.js +0 -95
  35. package/design-system/tokens.css +0 -48
  36. package/design-system/utilities.css +0 -53
  37. package/lib/config/index.ts +0 -12
  38. package/lib/hooks/index.ts +0 -4
  39. package/lib/hooks/use-mounted.ts +0 -13
  40. package/lib/hooks/use-session.ts +0 -34
  41. package/lib/hooks/use-settings.ts +0 -49
  42. package/lib/utils/index.ts +0 -1
  43. package/lib/utils/settings.ts +0 -162
  44. package/lib/utils/utils.ts +0 -6
  45. package/middleware.ts +0 -26
  46. package/next-env.d.ts +0 -7
  47. package/next.config.ts +0 -12
  48. package/postcss.config.mjs +0 -7
  49. package/public/apple-touch-icon.png +0 -0
  50. package/public/logo-transparent.png +0 -0
  51. package/public/xithead.ps1 +0 -937
  52. package/scripts/README.md +0 -77
  53. package/scripts/audit_wheel_glibc_symbols.py +0 -217
  54. package/scripts/build-master-design-system.cjs +0 -33
  55. package/scripts/build_rust_extension.sh +0 -58
  56. package/scripts/changelog-gen.py +0 -203
  57. package/scripts/eval_output_shaper.py +0 -235
  58. package/scripts/export_kompress_v2_onnx.py +0 -267
  59. package/scripts/fixtures/anthropic_replay_body.json +0 -133
  60. package/scripts/fixtures/codex_response_create_frame.json +0 -52
  61. package/scripts/install-git-hooks.sh +0 -104
  62. package/scripts/install.ps1 +0 -1809
  63. package/scripts/install.sh +0 -1673
  64. package/scripts/pr-governance.py +0 -297
  65. package/scripts/record_fixtures.py +0 -59
  66. package/scripts/refresh_model_limits.sh +0 -48
  67. package/scripts/replay_codex_ws_load.py +0 -445
  68. package/scripts/repro_codex_replay.py +0 -699
  69. package/scripts/smoke_issue_327.py +0 -233
  70. package/scripts/sync-plugin-versions.py +0 -116
  71. package/scripts/tests/test_changelog_gen.py +0 -302
  72. package/scripts/tests/test_pr_governance.py +0 -163
  73. package/scripts/tests/test_pr_health_labels.py +0 -94
  74. package/scripts/tests/test_pr_health_workflow.py +0 -14
  75. package/scripts/tests/test_sync_plugin_versions.py +0 -131
  76. package/scripts/tests/test_version_sync.py +0 -291
  77. package/scripts/validate-workflows.sh +0 -39
  78. package/scripts/verify-versions.py +0 -106
  79. package/scripts/version-sync.py +0 -207
  80. package/tailwind.config.js +0 -31
  81. package/tailwind.master.config.cjs +0 -47
  82. package/tsconfig.json +0 -84
  83. package/types/api.ts +0 -12
  84. package/types/config.ts +0 -9
  85. package/types/index.ts +0 -2
@@ -1,80 +0,0 @@
1
- # Design-System — Xtream-ITSolutions
2
-
3
- Verbindliche Quelle für Farben, Typografie und Oberflächen-Bausteine aller
4
- Repositories der Unternehmensgruppe. Dieses Verzeichnis ist die **einzige**
5
- Stelle, an der diese Werte gepflegt werden; `app/globals.css` im Master bindet
6
- es nur noch per `@import` ein.
7
-
8
- ## Dateien
9
-
10
- | Datei | Inhalt |
11
- |---|---|
12
- | `tokens.css` | Farb-Tokens als CSS-Variablen (`:root` und `.dark`) |
13
- | `base.css` | Body-Verlauf, Typografie-Defaults, Fokusring, Scrollbars |
14
- | `components.css` | `glass-*`, `layout-*`, `dashboard-*`, `customer-*`, `admin-*` |
15
- | `utilities.css` | Text-Overflow-Helfer (opt-in) |
16
- | `fonts.css` | Manrope + Space Grotesk für Repos ohne `next/font` |
17
- | `tailwind-preset.js` | Token-Brücken, `brand`-Skala, `slate`-Override, Animationen |
18
-
19
- ## Markenfarbe
20
-
21
- ` #007FFF` = `hsl(210 100% 50%)`
22
-
23
- Alle Flächen liegen auf demselben Farbton 262, sind aber stark entsättigt
24
- (18–30 %). Nur `--primary` und `--ring` tragen die volle Sättigung — sonst
25
- färbt der Hintergrund die gesamte Oberfläche ein und konkurriert mit der Marke.
26
-
27
- ## Einbindung
28
-
29
- ### Next.js (wie im Master)
30
-
31
- ```css
32
- /* app/globals.css */
33
- @import "../design-system/tokens.css";
34
- @import "../design-system/base.css";
35
- @import "../design-system/components.css";
36
- @import "../design-system/utilities.css";
37
-
38
- @tailwind base;
39
- @tailwind components;
40
- @tailwind utilities;
41
- ```
42
-
43
- `postcss-import` muss **vor** `tailwindcss` laufen, sonst finden die `@layer`-
44
- Blöcke in den importierten Dateien keine zugehörige `@tailwind`-Direktive:
45
-
46
- ```js
47
- // postcss.config.mjs
48
- const config = { plugins: { "postcss-import": {}, tailwindcss: {} } }
49
- export default config
50
- ```
51
-
52
- Schriften kommen im Master über `next/font/google` und setzen dabei
53
- `--font-display` und `--font-body`. Andere Repos binden stattdessen
54
- `fonts.css` ein.
55
-
56
- ### Tailwind-Konfiguration
57
-
58
- ```js
59
- module.exports = {
60
- presets: [require("./design-system/tailwind-preset.js")],
61
- content: ["./src/**/*.{js,ts,jsx,tsx}"],
62
- }
63
- ```
64
-
65
- ## Die eine Falle
66
-
67
- Tailwinds `slate` ist blaustichig (Farbton ~215–222). Die Oberfläche nutzt es
68
- an über 5000 Stellen als Flächen- und Textfarbe. Das Preset stellt die Skala
69
- deshalb auf auf neutrale Schwarz-/Weißwerte um — gleiche Klassennamen, keine farbigen Grundflächen.
70
-
71
- **Ohne diesen Override wird jedes Repo wieder blau**, egal wie korrekt die
72
- Akzentfarben gesetzt sind. Das war die Ursache dafür, dass der Master nach dem
73
- ersten Rebrand weiterhin marineblau wirkte.
74
-
75
- ## Änderungen
76
-
77
- Werte werden ausschließlich hier geändert, nie in einem Zielrepo. Nach jeder
78
- Änderung im Master `npm run build` laufen lassen und das erzeugte CSS gegen den
79
- vorherigen Stand vergleichen, bevor die Dateien an die anderen Repositories
80
- verteilt werden.
@@ -1,127 +0,0 @@
1
- /* Grundlagen: Body-Verlauf, Typografie-Defaults, Fokus, Scrollbars. */
2
- @layer base {
3
-
4
- * {
5
- @apply border-border;
6
- }
7
-
8
- html,
9
- body {
10
- width: 100%;
11
- overflow-x: hidden;
12
- }
13
-
14
- html {
15
- min-width: 320px;
16
- scroll-padding-top: calc(env(safe-area-inset-top) + 5rem);
17
- }
18
-
19
- body {
20
- @apply text-foreground antialiased;
21
- background: #000000;
22
- font-family:
23
- var(--font-body),
24
- "Segoe UI",
25
- "Apple Color Emoji",
26
- "Segoe UI Emoji",
27
- "Noto Color Emoji",
28
- sans-serif;
29
- font-feature-settings: "rlig" 1, "calt" 1;
30
- text-rendering: optimizeLegibility;
31
- -webkit-font-smoothing: antialiased;
32
- -moz-osx-font-smoothing: grayscale;
33
- }
34
-
35
- body::before {
36
- content: "";
37
- position: fixed;
38
- inset: 0;
39
- z-index: 0;
40
- pointer-events: none;
41
- background-image: none;
42
- background-size: 72px 72px;
43
- -webkit-mask-image: radial-gradient(circle at 50% 10%, black 20%, transparent 82%);
44
- mask-image: radial-gradient(circle at 50% 10%, black 20%, transparent 82%);
45
- opacity: 0.75;
46
- }
47
-
48
- h1,
49
- h2,
50
- h3,
51
- h4,
52
- h5,
53
- h6 {
54
- font-family: var(--font-display), var(--font-body), sans-serif;
55
- letter-spacing: -0.025em;
56
- font-weight: 900;
57
- }
58
-
59
- h1 {
60
- @apply text-5xl sm:text-6xl lg:text-7xl leading-[1.1] tracking-[-0.03em];
61
- }
62
-
63
- h2 {
64
- @apply text-4xl sm:text-5xl leading-[1.15];
65
- }
66
-
67
- h3 {
68
- @apply text-xl sm:text-2xl leading-[1.2];
69
- }
70
-
71
- p {
72
- @apply text-white leading-7;
73
- font-size: 0.95rem;
74
- }
75
-
76
- button,
77
- a,
78
- input,
79
- select,
80
- textarea,
81
- [role="button"] {
82
- touch-action: manipulation;
83
- }
84
-
85
- /* Native Dropdowns müssen im Dark-Theme lesbar bleiben. Ohne diese Regel
86
- übernimmt der Browser für option-Elemente häufig einen weißen Hintergrund. */
87
- select {
88
- color-scheme: dark;
89
- }
90
-
91
- select option,
92
- select optgroup {
93
- background-color: #000000;
94
- color: #f8fafc;
95
- }
96
-
97
- *:focus-visible {
98
- outline: 2px solid hsl(var(--primary));
99
- outline-offset: 2px;
100
- }
101
-
102
- ::-webkit-scrollbar {
103
- width: 10px;
104
- height: 10px;
105
- }
106
-
107
- ::-webkit-scrollbar-track {
108
- background: hsl(var(--background));
109
- border-left: 1px solid hsl(var(--border));
110
- }
111
-
112
- ::-webkit-scrollbar-thumb {
113
- background: linear-gradient(180deg, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.5));
114
- border-radius: 5px;
115
- border: 2px solid hsl(var(--background));
116
- transition: all 0.3s ease;
117
- }
118
-
119
- ::-webkit-scrollbar-thumb:hover {
120
- background: linear-gradient(180deg, hsl(var(--primary) / 0.4), hsl(var(--primary) / 0.8));
121
- }
122
-
123
- * {
124
- scrollbar-width: thin;
125
- scrollbar-color: hsl(var(--primary) / 0.5) hsl(var(--background));
126
- }
127
- }