zelune 1.6.3 → 1.6.4

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 (39) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/bin/cli.mjs +13 -53
  3. package/dist/assets/CheckoutScreen-6IdrpKgm.js +229 -0
  4. package/dist/assets/HomeScreen-Dxe9L4I2.js +316 -0
  5. package/dist/assets/LoginScreen-Dp1awI4F.js +189 -0
  6. package/dist/assets/ProductDetailScreen-Wa5_nlRP.js +196 -0
  7. package/dist/assets/ProfileScreen-riAU6vVh.js +185 -0
  8. package/dist/assets/index-hEzd4JVy.js +44697 -0
  9. package/{index.html → dist/index.html} +3 -1
  10. package/mcp/server.mjs +1324 -29
  11. package/package.json +10 -13
  12. package/plugin.json +1 -1
  13. package/socket.yml +11 -0
  14. package/mcp/server.ts +0 -446
  15. package/plugins/viteReactNativeFallbackPlugin.ts +0 -522
  16. package/plugins/viteRnSourceInject.ts +0 -105
  17. package/plugins/viteVirtualScreensPlugin.ts +0 -216
  18. package/src/canvas/CanvasApp.tsx +0 -1655
  19. package/src/canvas/FlowArrowsLayer.tsx +0 -239
  20. package/src/canvas/InspectorPanel.tsx +0 -1494
  21. package/src/canvas/ScreenArtboard.tsx +0 -1491
  22. package/src/canvas/types.ts +0 -23
  23. package/src/main.tsx +0 -80
  24. package/src/runtime/MockNavigationContext.tsx +0 -1869
  25. package/src/runtime/ScreenErrorBoundary.tsx +0 -86
  26. package/src/runtime/nativewindShim.ts +0 -997
  27. package/src/runtime/reactNativeShim.ts +0 -1674
  28. package/src/screens/CheckoutScreen.tsx +0 -229
  29. package/src/screens/HomeScreen.tsx +0 -288
  30. package/src/screens/LoginScreen.tsx +0 -176
  31. package/src/screens/ProductDetailScreen.tsx +0 -207
  32. package/src/screens/ProfileScreen.tsx +0 -172
  33. package/src/screens/index.ts +0 -1
  34. package/src/server/apiMiddleware.ts +0 -378
  35. package/src/server/astEngine.ts +0 -2624
  36. package/src/vite-env.d.ts +0 -7
  37. package/tsconfig.json +0 -23
  38. package/vite.config.ts +0 -339
  39. /package/{src/styles.css → dist/assets/index-C7nrS82N.css} +0 -0
@@ -1,207 +0,0 @@
1
- import React, { useState } from 'react';
2
- import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
3
- import { useNavigation } from '../runtime/MockNavigationContext';
4
- export default function ProductDetailScreen() {
5
- const navigation = useNavigation();
6
- const [selectedFinish, setSelectedFinish] = useState<'Obsidian' | 'Silver'>('Obsidian');
7
- return <View style={styles.container}>
8
- <View style={styles.headerRow}>
9
- <TouchableOpacity activeOpacity={0.78} style={styles.backButton} onPress={() => navigation.navigate('Home')}>
10
- <Text style={styles.backButtonText}>← Catalog</Text>
11
- </TouchableOpacity>
12
- <Text style={styles.headerBadge}>MODEL CH-01 // PRO</Text>
13
- </View>
14
-
15
- <View style={styles.showcaseCard}>
16
- <Text style={styles.showcaseSpecCode}>45MM BERYLLIUM TRANSDUCER</Text>
17
- <Text style={styles.showcaseMonogram}>CH // 01</Text>
18
- <Text style={styles.showcaseTag}>48-HOUR BATTERY · DUAL USB-C LOSS-ZERO DAC</Text>
19
- </View>
20
-
21
- <View style={styles.detailsSection}>
22
- <View style={styles.titlePriceRow}>
23
- <Text style={styles.productTitle}>Chronos Studio Pro</Text>
24
- <Text style={styles.productPrice}>$349</Text>
25
- </View>
26
- <Text style={styles.productDescription}>
27
- Custom 45mm beryllium drivers paired with dual-chip room calibration and ultra-soft memory foam ear cushions.
28
- </Text>
29
-
30
- <View style={styles.specGrid}>
31
- <View style={styles.specBox}>
32
- <Text style={styles.specValue}>-46 dB</Text>
33
- <Text style={styles.specLabel}>HYBRID ANC</Text>
34
- </View>
35
- <View style={styles.specBox}>
36
- <Text style={styles.specValue}>24-bit</Text>
37
- <Text style={styles.specLabel}>96KHZ PCM</Text>
38
- </View>
39
- <View style={styles.specBox}>
40
- <Text style={styles.specValue}>265 g</Text>
41
- <Text style={styles.specLabel}>MACHINED TI</Text>
42
- </View>
43
- </View>
44
-
45
- <View style={styles.finishRow}>
46
- {(['Obsidian', 'Silver'] as const).map(finish => <TouchableOpacity key={finish} activeOpacity={0.78} style={selectedFinish === finish ? styles.finishPillActive : styles.finishPill} onPress={() => setSelectedFinish(finish)}>
47
- <Text style={styles.finishPillText}>{finish} Anodized</Text>
48
- </TouchableOpacity>)}
49
- </View>
50
- </View>
51
-
52
- <TouchableOpacity activeOpacity={0.78} style={styles.buyButton} onPress={() => navigation.navigate('Checkout')}>
53
- <Text style={styles.buyButtonText}>Reserve Unit &amp; Express Checkout</Text>
54
- </TouchableOpacity>
55
- </View>;
56
- }
57
- const styles = StyleSheet.create({
58
- container: {
59
- flex: 1,
60
- backgroundColor: '#0A0B0E',
61
- padding: 20,
62
- justifyContent: 'space-between'
63
- },
64
- headerRow: {
65
- flexDirection: 'row',
66
- justifyContent: 'space-between',
67
- alignItems: 'center',
68
- marginTop: 6
69
- },
70
- backButton: {
71
- backgroundColor: '#13161E',
72
- paddingHorizontal: 14,
73
- paddingVertical: 9,
74
- borderRadius: 8,
75
- borderWidth: 1,
76
- borderColor: '#222836'
77
- },
78
- backButtonText: {
79
- color: '#E2E8F0',
80
- fontSize: 12,
81
- fontWeight: '600'
82
- },
83
- headerBadge: {
84
- color: '#38BDF8',
85
- fontSize: 10,
86
- fontWeight: '700',
87
- letterSpacing: 1
88
- },
89
- showcaseCard: {
90
- backgroundColor: '#11141C',
91
- borderRadius: 16,
92
- paddingVertical: 26,
93
- paddingHorizontal: 18,
94
- alignItems: 'center',
95
- gap: 10,
96
- borderWidth: 1,
97
- borderColor: '#1E2433'
98
- },
99
- showcaseSpecCode: {
100
- color: '#64748B',
101
- fontSize: 10,
102
- fontWeight: '700',
103
- letterSpacing: 1.2
104
- },
105
- showcaseMonogram: {
106
- color: '#F8FAFC',
107
- fontSize: 34,
108
- fontWeight: '800',
109
- letterSpacing: 2
110
- },
111
- showcaseTag: {
112
- color: '#38BDF8',
113
- fontSize: 10,
114
- fontWeight: '600',
115
- letterSpacing: 0.8
116
- },
117
- detailsSection: {
118
- gap: 12
119
- },
120
- titlePriceRow: {
121
- flexDirection: 'row',
122
- justifyContent: 'space-between',
123
- alignItems: 'baseline'
124
- },
125
- productTitle: {
126
- color: '#F8FAFC',
127
- fontSize: 24,
128
- fontWeight: '700',
129
- letterSpacing: -0.4
130
- },
131
- productPrice: {
132
- color: '#10B981',
133
- fontSize: 20,
134
- fontWeight: '700'
135
- },
136
- productDescription: {
137
- color: '#94A3B8',
138
- fontSize: 13,
139
- lineHeight: 19
140
- },
141
- specGrid: {
142
- flexDirection: 'row',
143
- gap: 8,
144
- marginTop: 2
145
- },
146
- specBox: {
147
- flex: 1,
148
- backgroundColor: '#11141C',
149
- borderRadius: 10,
150
- paddingVertical: 12,
151
- paddingHorizontal: 8,
152
- alignItems: 'center',
153
- borderWidth: 1,
154
- borderColor: '#1E2433'
155
- },
156
- specValue: {
157
- color: '#F8FAFC',
158
- fontSize: 15,
159
- fontWeight: '700'
160
- },
161
- specLabel: {
162
- color: '#64748B',
163
- fontSize: 9,
164
- fontWeight: '700',
165
- letterSpacing: 0.8,
166
- marginTop: 3
167
- },
168
- finishRow: {
169
- flexDirection: 'row',
170
- gap: 10,
171
- marginTop: 2
172
- },
173
- finishPillActive: {
174
- flex: 1,
175
- backgroundColor: '#161A26',
176
- borderRadius: 10,
177
- paddingVertical: 11,
178
- alignItems: 'center',
179
- borderWidth: 1,
180
- borderColor: '#38BDF8'
181
- },
182
- finishPill: {
183
- flex: 1,
184
- backgroundColor: '#11141C',
185
- borderRadius: 10,
186
- paddingVertical: 11,
187
- alignItems: 'center',
188
- borderWidth: 1,
189
- borderColor: '#1E2433'
190
- },
191
- finishPillText: {
192
- color: '#E2E8F0',
193
- fontSize: 12,
194
- fontWeight: '600'
195
- },
196
- buyButton: {
197
- backgroundColor: '#10B981',
198
- borderRadius: 10,
199
- paddingVertical: 15,
200
- alignItems: 'center'
201
- },
202
- buyButtonText: {
203
- color: '#052E16',
204
- fontSize: 14,
205
- fontWeight: '700'
206
- }
207
- });
@@ -1,172 +0,0 @@
1
- import React from 'react';
2
- import {
3
- View,
4
- Text,
5
- TouchableOpacity,
6
- StyleSheet,
7
- } from 'react-native';
8
- import { useNavigation } from '../runtime/MockNavigationContext';
9
-
10
- export default function ProfileScreen() {
11
- const navigation = useNavigation();
12
-
13
- return (
14
- <View style={styles.container}>
15
- <View style={styles.profileHeader}>
16
- <View style={styles.avatarLarge}>
17
- <Text style={styles.avatarInitials}>AX</Text>
18
- </View>
19
- <Text style={styles.memberName}>Alex Mercer</Text>
20
- <Text style={styles.memberTier}>LEAD ACOUSTIC ENGINEER · TIER 01</Text>
21
- </View>
22
-
23
- <View style={styles.statsRow}>
24
- <View style={styles.statCard}>
25
- <Text style={styles.statNumber}>14</Text>
26
- <Text style={styles.statCaption}>UNITS</Text>
27
- </View>
28
- <View style={styles.statCard}>
29
- <Text style={styles.statNumber}>4,820</Text>
30
- <Text style={styles.statCaption}>CREDITS</Text>
31
- </View>
32
- <View style={styles.statCard}>
33
- <Text style={styles.statNumber}>LAB</Text>
34
- <Text style={styles.statCaption}>ACCESS</Text>
35
- </View>
36
- </View>
37
-
38
- <View style={styles.menuList}>
39
- <TouchableOpacity
40
- activeOpacity={0.78}
41
- style={styles.menuItem}
42
- onPress={() => navigation.navigate('Home')}
43
- >
44
- <Text style={styles.menuItemTitle}>Reference Hardware Catalog</Text>
45
- <Text style={styles.menuItemArrow}>→</Text>
46
- </TouchableOpacity>
47
-
48
- <TouchableOpacity
49
- activeOpacity={0.78}
50
- style={styles.menuItem}
51
- onPress={() => navigation.navigate('Checkout')}
52
- >
53
- <Text style={styles.menuItemTitle}>Active Allocation &amp; Settlement</Text>
54
- <Text style={styles.menuItemArrow}>→</Text>
55
- </TouchableOpacity>
56
- </View>
57
-
58
- <TouchableOpacity
59
- activeOpacity={0.78}
60
- style={styles.signOutButton}
61
- onPress={() => navigation.navigate('Login')}
62
- >
63
- <Text style={styles.signOutText}>Terminate Studio Session</Text>
64
- </TouchableOpacity>
65
- </View>
66
- );
67
- }
68
-
69
- const styles = StyleSheet.create({
70
- container: {
71
- flex: 1,
72
- backgroundColor: '#0A0B0E',
73
- padding: 20,
74
- justifyContent: 'space-between',
75
- },
76
- profileHeader: {
77
- alignItems: 'center',
78
- marginTop: 14,
79
- gap: 6,
80
- },
81
- avatarLarge: {
82
- width: 68,
83
- height: 68,
84
- borderRadius: 16,
85
- backgroundColor: '#13161E',
86
- borderWidth: 1,
87
- borderColor: '#262D3D',
88
- alignItems: 'center',
89
- justifyContent: 'center',
90
- marginBottom: 6,
91
- },
92
- avatarInitials: {
93
- color: '#38BDF8',
94
- fontSize: 22,
95
- fontWeight: '700',
96
- letterSpacing: 1,
97
- },
98
- memberName: {
99
- color: '#F8FAFC',
100
- fontSize: 22,
101
- fontWeight: '700',
102
- letterSpacing: -0.3,
103
- },
104
- memberTier: {
105
- color: '#64748B',
106
- fontSize: 10,
107
- fontWeight: '700',
108
- letterSpacing: 1,
109
- },
110
- statsRow: {
111
- flexDirection: 'row',
112
- gap: 8,
113
- },
114
- statCard: {
115
- flex: 1,
116
- backgroundColor: '#11141C',
117
- borderRadius: 12,
118
- paddingVertical: 14,
119
- alignItems: 'center',
120
- borderWidth: 1,
121
- borderColor: '#1E2433',
122
- },
123
- statNumber: {
124
- color: '#F8FAFC',
125
- fontSize: 17,
126
- fontWeight: '700',
127
- },
128
- statCaption: {
129
- color: '#64748B',
130
- fontSize: 9,
131
- fontWeight: '700',
132
- letterSpacing: 0.8,
133
- marginTop: 3,
134
- },
135
- menuList: {
136
- gap: 10,
137
- },
138
- menuItem: {
139
- backgroundColor: '#11141C',
140
- borderRadius: 12,
141
- paddingHorizontal: 16,
142
- paddingVertical: 15,
143
- flexDirection: 'row',
144
- justifyContent: 'space-between',
145
- alignItems: 'center',
146
- borderWidth: 1,
147
- borderColor: '#1E2433',
148
- },
149
- menuItemTitle: {
150
- color: '#E2E8F0',
151
- fontSize: 13,
152
- fontWeight: '600',
153
- },
154
- menuItemArrow: {
155
- color: '#38BDF8',
156
- fontSize: 15,
157
- fontWeight: '700',
158
- },
159
- signOutButton: {
160
- backgroundColor: '#16131A',
161
- borderRadius: 10,
162
- paddingVertical: 14,
163
- alignItems: 'center',
164
- borderWidth: 1,
165
- borderColor: '#3B1D2A',
166
- },
167
- signOutText: {
168
- color: '#FB7185',
169
- fontSize: 13,
170
- fontWeight: '600',
171
- },
172
- });
@@ -1 +0,0 @@
1
- export { SCREEN_COMPONENTS, SCREEN_ORDER } from 'virtual:zelune-screens';