sunpeak 0.9.1 → 0.9.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.
- package/package.json +1 -1
- package/template/.sunpeak/dev.tsx +6 -2
- package/template/dist/albums.json +1 -1
- package/template/dist/carousel.json +1 -1
- package/template/dist/map.json +1 -1
- package/template/dist/review.json +1 -1
- package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_SegmentedControl.js +4 -4
- package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Select.js +6 -6
- package/template/node_modules/.vite/deps/_metadata.json +25 -25
- package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
- package/template/.sunpeak/vite-env.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
1
2
|
/**
|
|
2
3
|
* Bootstrap file for Sunpeak dev server
|
|
3
4
|
* This file bootstraps the ChatGPT simulator for development
|
|
@@ -58,7 +59,7 @@ function getResourceComponent(name: string): React.ComponentType {
|
|
|
58
59
|
const pascalName = name.charAt(0).toUpperCase() + name.slice(1);
|
|
59
60
|
const componentName = `${pascalName}Resource`;
|
|
60
61
|
|
|
61
|
-
const component = resourceComponents[componentName];
|
|
62
|
+
const component = (resourceComponents as Record<string, React.ComponentType>)[componentName];
|
|
62
63
|
|
|
63
64
|
if (!component) {
|
|
64
65
|
throw new Error(
|
|
@@ -97,7 +98,10 @@ for (const [path, module] of Object.entries(simulationModules)) {
|
|
|
97
98
|
simulations[simulationKey] = {
|
|
98
99
|
...simulation,
|
|
99
100
|
name: simulationKey,
|
|
100
|
-
resource
|
|
101
|
+
resource: {
|
|
102
|
+
uri: `ui://${resource.name}`, // Dummy URI.
|
|
103
|
+
...resource,
|
|
104
|
+
},
|
|
101
105
|
resourceComponent: getResourceComponent(resource.name),
|
|
102
106
|
};
|
|
103
107
|
}
|
package/template/dist/map.json
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dist_exports4 as dist_exports
|
|
3
|
+
} from "./chunk-TSEQUROC.js";
|
|
4
|
+
import "./chunk-XZTIOEPG.js";
|
|
1
5
|
import {
|
|
2
6
|
useResizeObserver
|
|
3
7
|
} from "./chunk-JAGHY6H6.js";
|
|
@@ -6,10 +10,6 @@ import {
|
|
|
6
10
|
waitForAnimationFrame
|
|
7
11
|
} from "./chunk-DYQDWJMS.js";
|
|
8
12
|
import "./chunk-EGRHWZRV.js";
|
|
9
|
-
import {
|
|
10
|
-
dist_exports4 as dist_exports
|
|
11
|
-
} from "./chunk-TSEQUROC.js";
|
|
12
|
-
import "./chunk-XZTIOEPG.js";
|
|
13
13
|
import {
|
|
14
14
|
clsx_default
|
|
15
15
|
} from "./chunk-CNYJBM5F.js";
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Input
|
|
3
3
|
} from "./chunk-2DZGWGIP.js";
|
|
4
|
+
import {
|
|
5
|
+
dist_exports,
|
|
6
|
+
dist_exports3 as dist_exports2,
|
|
7
|
+
dist_exports5 as dist_exports3
|
|
8
|
+
} from "./chunk-TSEQUROC.js";
|
|
9
|
+
import "./chunk-XZTIOEPG.js";
|
|
4
10
|
import {
|
|
5
11
|
Button,
|
|
6
12
|
LoadingIndicator,
|
|
@@ -19,12 +25,6 @@ import {
|
|
|
19
25
|
waitForAnimationFrame
|
|
20
26
|
} from "./chunk-DYQDWJMS.js";
|
|
21
27
|
import "./chunk-EGRHWZRV.js";
|
|
22
|
-
import {
|
|
23
|
-
dist_exports,
|
|
24
|
-
dist_exports3 as dist_exports2,
|
|
25
|
-
dist_exports5 as dist_exports3
|
|
26
|
-
} from "./chunk-TSEQUROC.js";
|
|
27
|
-
import "./chunk-XZTIOEPG.js";
|
|
28
28
|
import {
|
|
29
29
|
clsx_default
|
|
30
30
|
} from "./chunk-CNYJBM5F.js";
|
|
@@ -7,115 +7,115 @@
|
|
|
7
7
|
"react": {
|
|
8
8
|
"src": "../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/index.js",
|
|
9
9
|
"file": "react.js",
|
|
10
|
-
"fileHash": "
|
|
10
|
+
"fileHash": "9f8922cb",
|
|
11
11
|
"needsInterop": true
|
|
12
12
|
},
|
|
13
13
|
"react-dom": {
|
|
14
14
|
"src": "../../../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/index.js",
|
|
15
15
|
"file": "react-dom.js",
|
|
16
|
-
"fileHash": "
|
|
16
|
+
"fileHash": "b39e5f22",
|
|
17
17
|
"needsInterop": true
|
|
18
18
|
},
|
|
19
19
|
"react/jsx-dev-runtime": {
|
|
20
20
|
"src": "../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-dev-runtime.js",
|
|
21
21
|
"file": "react_jsx-dev-runtime.js",
|
|
22
|
-
"fileHash": "
|
|
22
|
+
"fileHash": "98b0fafe",
|
|
23
23
|
"needsInterop": true
|
|
24
24
|
},
|
|
25
25
|
"react/jsx-runtime": {
|
|
26
26
|
"src": "../../../../node_modules/.pnpm/react@19.2.3/node_modules/react/jsx-runtime.js",
|
|
27
27
|
"file": "react_jsx-runtime.js",
|
|
28
|
-
"fileHash": "
|
|
28
|
+
"fileHash": "589dec17",
|
|
29
29
|
"needsInterop": true
|
|
30
30
|
},
|
|
31
31
|
"@openai/apps-sdk-ui/components/Avatar": {
|
|
32
32
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Avatar/index.js",
|
|
33
33
|
"file": "@openai_apps-sdk-ui_components_Avatar.js",
|
|
34
|
-
"fileHash": "
|
|
34
|
+
"fileHash": "e1ca40fe",
|
|
35
35
|
"needsInterop": false
|
|
36
36
|
},
|
|
37
37
|
"@openai/apps-sdk-ui/components/Button": {
|
|
38
38
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Button/index.js",
|
|
39
39
|
"file": "@openai_apps-sdk-ui_components_Button.js",
|
|
40
|
-
"fileHash": "
|
|
40
|
+
"fileHash": "4566ca48",
|
|
41
41
|
"needsInterop": false
|
|
42
42
|
},
|
|
43
43
|
"@openai/apps-sdk-ui/components/Checkbox": {
|
|
44
44
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Checkbox/index.js",
|
|
45
45
|
"file": "@openai_apps-sdk-ui_components_Checkbox.js",
|
|
46
|
-
"fileHash": "
|
|
46
|
+
"fileHash": "b2edde35",
|
|
47
47
|
"needsInterop": false
|
|
48
48
|
},
|
|
49
49
|
"@openai/apps-sdk-ui/components/Icon": {
|
|
50
50
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Icon/index.js",
|
|
51
51
|
"file": "@openai_apps-sdk-ui_components_Icon.js",
|
|
52
|
-
"fileHash": "
|
|
52
|
+
"fileHash": "e62f20ec",
|
|
53
53
|
"needsInterop": false
|
|
54
54
|
},
|
|
55
55
|
"@openai/apps-sdk-ui/components/Input": {
|
|
56
56
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Input/index.js",
|
|
57
57
|
"file": "@openai_apps-sdk-ui_components_Input.js",
|
|
58
|
-
"fileHash": "
|
|
58
|
+
"fileHash": "0204cb80",
|
|
59
59
|
"needsInterop": false
|
|
60
60
|
},
|
|
61
61
|
"@openai/apps-sdk-ui/components/SegmentedControl": {
|
|
62
62
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/SegmentedControl/index.js",
|
|
63
63
|
"file": "@openai_apps-sdk-ui_components_SegmentedControl.js",
|
|
64
|
-
"fileHash": "
|
|
64
|
+
"fileHash": "7bf18eee",
|
|
65
65
|
"needsInterop": false
|
|
66
66
|
},
|
|
67
67
|
"@openai/apps-sdk-ui/components/Select": {
|
|
68
68
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Select/index.js",
|
|
69
69
|
"file": "@openai_apps-sdk-ui_components_Select.js",
|
|
70
|
-
"fileHash": "
|
|
70
|
+
"fileHash": "79ea3e4b",
|
|
71
71
|
"needsInterop": false
|
|
72
72
|
},
|
|
73
73
|
"@openai/apps-sdk-ui/components/Textarea": {
|
|
74
74
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/components/Textarea/index.js",
|
|
75
75
|
"file": "@openai_apps-sdk-ui_components_Textarea.js",
|
|
76
|
-
"fileHash": "
|
|
76
|
+
"fileHash": "44843a19",
|
|
77
77
|
"needsInterop": false
|
|
78
78
|
},
|
|
79
79
|
"@openai/apps-sdk-ui/theme": {
|
|
80
80
|
"src": "../../../../node_modules/.pnpm/@openai+apps-sdk-ui@0.2.1_@types+react-dom@19.2.3_@types+react@19.2.7__@types+react@19._90324f97b7190ccfdbe40a9e8bef3385/node_modules/@openai/apps-sdk-ui/dist/es/lib/theme.js",
|
|
81
81
|
"file": "@openai_apps-sdk-ui_theme.js",
|
|
82
|
-
"fileHash": "
|
|
82
|
+
"fileHash": "e60dca1c",
|
|
83
83
|
"needsInterop": false
|
|
84
84
|
},
|
|
85
85
|
"clsx": {
|
|
86
86
|
"src": "../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs",
|
|
87
87
|
"file": "clsx.js",
|
|
88
|
-
"fileHash": "
|
|
88
|
+
"fileHash": "f15d30c1",
|
|
89
89
|
"needsInterop": false
|
|
90
90
|
},
|
|
91
91
|
"embla-carousel-react": {
|
|
92
92
|
"src": "../../../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.3/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js",
|
|
93
93
|
"file": "embla-carousel-react.js",
|
|
94
|
-
"fileHash": "
|
|
94
|
+
"fileHash": "6b3141d4",
|
|
95
95
|
"needsInterop": false
|
|
96
96
|
},
|
|
97
97
|
"embla-carousel-wheel-gestures": {
|
|
98
98
|
"src": "../../../../node_modules/.pnpm/embla-carousel-wheel-gestures@8.1.0_embla-carousel@8.6.0/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js",
|
|
99
99
|
"file": "embla-carousel-wheel-gestures.js",
|
|
100
|
-
"fileHash": "
|
|
100
|
+
"fileHash": "efa2153a",
|
|
101
101
|
"needsInterop": false
|
|
102
102
|
},
|
|
103
103
|
"mapbox-gl": {
|
|
104
104
|
"src": "../../../../node_modules/.pnpm/mapbox-gl@3.17.0/node_modules/mapbox-gl/dist/mapbox-gl.js",
|
|
105
105
|
"file": "mapbox-gl.js",
|
|
106
|
-
"fileHash": "
|
|
106
|
+
"fileHash": "2b20f694",
|
|
107
107
|
"needsInterop": true
|
|
108
108
|
},
|
|
109
109
|
"react-dom/client": {
|
|
110
110
|
"src": "../../../../node_modules/.pnpm/react-dom@19.2.3_react@19.2.3/node_modules/react-dom/client.js",
|
|
111
111
|
"file": "react-dom_client.js",
|
|
112
|
-
"fileHash": "
|
|
112
|
+
"fileHash": "5e9ee085",
|
|
113
113
|
"needsInterop": true
|
|
114
114
|
},
|
|
115
115
|
"tailwind-merge": {
|
|
116
116
|
"src": "../../../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs",
|
|
117
117
|
"file": "tailwind-merge.js",
|
|
118
|
-
"fileHash": "
|
|
118
|
+
"fileHash": "487e9f49",
|
|
119
119
|
"needsInterop": false
|
|
120
120
|
}
|
|
121
121
|
},
|
|
@@ -123,6 +123,12 @@
|
|
|
123
123
|
"chunk-2DZGWGIP": {
|
|
124
124
|
"file": "chunk-2DZGWGIP.js"
|
|
125
125
|
},
|
|
126
|
+
"chunk-TSEQUROC": {
|
|
127
|
+
"file": "chunk-TSEQUROC.js"
|
|
128
|
+
},
|
|
129
|
+
"chunk-XZTIOEPG": {
|
|
130
|
+
"file": "chunk-XZTIOEPG.js"
|
|
131
|
+
},
|
|
126
132
|
"chunk-N6DVYEXK": {
|
|
127
133
|
"file": "chunk-N6DVYEXK.js"
|
|
128
134
|
},
|
|
@@ -138,12 +144,6 @@
|
|
|
138
144
|
"chunk-EGRHWZRV": {
|
|
139
145
|
"file": "chunk-EGRHWZRV.js"
|
|
140
146
|
},
|
|
141
|
-
"chunk-TSEQUROC": {
|
|
142
|
-
"file": "chunk-TSEQUROC.js"
|
|
143
|
-
},
|
|
144
|
-
"chunk-XZTIOEPG": {
|
|
145
|
-
"file": "chunk-XZTIOEPG.js"
|
|
146
|
-
},
|
|
147
147
|
"chunk-CNYJBM5F": {
|
|
148
148
|
"file": "chunk-CNYJBM5F.js"
|
|
149
149
|
},
|
package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"4.0.16","results":[[":src/
|
|
1
|
+
{"version":"4.0.16","results":[[":src/components/album/albums.test.tsx",{"duration":337.9990579999999,"failed":false}],[":src/resources/carousel-resource.test.tsx",{"duration":249.7428500000001,"failed":false}],[":src/resources/review-resource.test.tsx",{"duration":532.4556819999998,"failed":false}],[":src/components/map/place-inspector.test.tsx",{"duration":402.02946900000006,"failed":false}],[":src/components/map/map-view.test.tsx",{"duration":91.84771499999988,"failed":false}],[":src/components/album/fullscreen-viewer.test.tsx",{"duration":254.4845110000001,"failed":false}],[":src/components/map/place-list.test.tsx",{"duration":157.57383200000004,"failed":false}],[":src/components/map/place-card.test.tsx",{"duration":353.70146399999976,"failed":false}],[":src/components/map/place-carousel.test.tsx",{"duration":461.7055280000002,"failed":false}],[":src/components/album/album-carousel.test.tsx",{"duration":96.31957500000021,"failed":false}],[":src/components/carousel/carousel.test.tsx",{"duration":88.95574399999987,"failed":false}],[":src/resources/map-resource.test.tsx",{"duration":294.10313500000007,"failed":false}],[":src/resources/albums-resource.test.tsx",{"duration":276.18517599999996,"failed":false}],[":src/components/album/film-strip.test.tsx",{"duration":478.3753600000002,"failed":false}],[":src/components/album/album-card.test.tsx",{"duration":350.313899,"failed":false}],[":src/components/carousel/card.test.tsx",{"duration":99.09871700000008,"failed":false}]]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|