sunpeak 0.11.1 → 0.12.1

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 (100) hide show
  1. package/README.md +84 -12
  2. package/bin/commands/build.mjs +1 -11
  3. package/bin/commands/deploy.mjs +7 -1
  4. package/bin/commands/dev.mjs +3 -1
  5. package/bin/commands/new.mjs +211 -0
  6. package/bin/commands/pull.mjs +1 -1
  7. package/bin/commands/push.mjs +36 -13
  8. package/bin/lib/patterns.mjs +25 -0
  9. package/bin/sunpeak.js +13 -222
  10. package/package.json +1 -1
  11. package/template/.sunpeak/dev.tsx +4 -4
  12. package/template/README.md +21 -22
  13. package/template/dist/albums/albums.json +1 -1
  14. package/template/dist/carousel/carousel.json +1 -1
  15. package/template/dist/map/map.json +1 -1
  16. package/template/dist/review/review.json +1 -1
  17. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Button.js +7 -7
  18. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_SegmentedControl.js +1 -1
  19. package/template/node_modules/.vite/deps/@openai_apps-sdk-ui_components_Select.js +7 -7
  20. package/template/node_modules/.vite/deps/_metadata.json +30 -30
  21. package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
  22. package/template/vitest.config.ts +1 -1
  23. package/template/src/resources/albums/albums-show-simulation.json +0 -131
  24. package/template/src/resources/carousel/carousel-show-simulation.json +0 -68
  25. package/template/src/resources/map/map-show-simulation.json +0 -123
  26. package/template/src/resources/review/review-diff-simulation.json +0 -80
  27. package/template/src/resources/review/review-post-simulation.json +0 -56
  28. package/template/src/resources/review/review-purchase-simulation.json +0 -88
  29. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Avatar.js +0 -0
  30. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Avatar.js.map +0 -0
  31. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Button.js +10 -10
  32. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Button.js.map +0 -0
  33. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Checkbox.js +0 -0
  34. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Checkbox.js.map +0 -0
  35. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Icon.js +0 -0
  36. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Icon.js.map +0 -0
  37. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Input.js +1 -1
  38. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Input.js.map +0 -0
  39. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_SegmentedControl.js +4 -4
  40. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_SegmentedControl.js.map +0 -0
  41. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Select.js +9 -9
  42. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Select.js.map +0 -0
  43. package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Textarea.js +1 -1
  44. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_components_Textarea.js.map +0 -0
  45. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_theme.js +0 -0
  46. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/@openai_apps-sdk-ui_theme.js.map +0 -0
  47. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-2UDYPUBJ.js +0 -0
  48. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-2UDYPUBJ.js.map +0 -0
  49. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-6QVG4F2X.js +0 -0
  50. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-6QVG4F2X.js.map +0 -0
  51. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-BUOVMFCD.js +0 -0
  52. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-BUOVMFCD.js.map +0 -0
  53. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-CNYJBM5F.js +0 -0
  54. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-CNYJBM5F.js.map +0 -0
  55. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-EGRHWZRV.js +0 -0
  56. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-EGRHWZRV.js.map +0 -0
  57. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-ILHRZGIS.js +0 -0
  58. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-ILHRZGIS.js.map +0 -0
  59. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-JAGHY6H6.js +0 -0
  60. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-JAGHY6H6.js.map +0 -0
  61. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-JGVISENQ.js +0 -0
  62. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-JGVISENQ.js.map +0 -0
  63. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-P5LK4A7U.js +0 -0
  64. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-P5LK4A7U.js.map +0 -0
  65. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-QPJAV452.js +0 -0
  66. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-QPJAV452.js.map +0 -0
  67. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-RYYR2YMB.js +0 -0
  68. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-RYYR2YMB.js.map +0 -0
  69. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-UM3ZGDFR.js +0 -0
  70. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-UM3ZGDFR.js.map +0 -0
  71. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-XZTIOEPG.js +0 -0
  72. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/chunk-XZTIOEPG.js.map +0 -0
  73. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/clsx.js +0 -0
  74. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/clsx.js.map +0 -0
  75. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/embla-carousel-react.js +0 -0
  76. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/embla-carousel-react.js.map +0 -0
  77. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/embla-carousel-wheel-gestures.js +0 -0
  78. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/embla-carousel-wheel-gestures.js.map +0 -0
  79. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/mapbox-gl.js +0 -0
  80. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/mapbox-gl.js.map +0 -0
  81. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/package.json +0 -0
  82. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react-dom.js +0 -0
  83. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react-dom.js.map +0 -0
  84. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react-dom_client.js +0 -0
  85. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react-dom_client.js.map +0 -0
  86. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react.js +0 -0
  87. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react.js.map +0 -0
  88. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react_jsx-dev-runtime.js +0 -0
  89. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react_jsx-dev-runtime.js.map +0 -0
  90. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react_jsx-runtime.js +0 -0
  91. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/react_jsx-runtime.js.map +0 -0
  92. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/tailwind-merge.js +0 -0
  93. /package/template/node_modules/.vite-mcp/{deps_temp_c8c8077a → deps_temp_992accd8}/tailwind-merge.js.map +0 -0
  94. /package/template/{src/test → tests}/setup.ts +0 -0
  95. /package/template/{dist → tests/simulations}/albums/albums-show-simulation.json +0 -0
  96. /package/template/{dist → tests/simulations}/carousel/carousel-show-simulation.json +0 -0
  97. /package/template/{dist → tests/simulations}/map/map-show-simulation.json +0 -0
  98. /package/template/{dist → tests/simulations}/review/review-diff-simulation.json +0 -0
  99. /package/template/{dist → tests/simulations}/review/review-post-simulation.json +0 -0
  100. /package/template/{dist → tests/simulations}/review/review-purchase-simulation.json +0 -0
@@ -7,128 +7,134 @@
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": "416bfe9c",
10
+ "fileHash": "f00482ce",
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": "12c24b96",
16
+ "fileHash": "1569e6b6",
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": "7b5060e6",
22
+ "fileHash": "0115028c",
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": "85915065",
28
+ "fileHash": "feb11853",
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": "9e2bc881",
34
+ "fileHash": "7bda9dc6",
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": "e81630c1",
40
+ "fileHash": "ed76f323",
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.8__@types+react@19._10810175a7ab45acace17e46639bb69b/node_modules/@openai/apps-sdk-ui/dist/es/components/Checkbox/index.js",
45
45
  "file": "@openai_apps-sdk-ui_components_Checkbox.js",
46
- "fileHash": "417ae842",
46
+ "fileHash": "ab0a037f",
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": "7838ceab",
52
+ "fileHash": "b6eb2e05",
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.8__@types+react@19._10810175a7ab45acace17e46639bb69b/node_modules/@openai/apps-sdk-ui/dist/es/components/Input/index.js",
57
57
  "file": "@openai_apps-sdk-ui_components_Input.js",
58
- "fileHash": "5505fcba",
58
+ "fileHash": "5d518848",
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.8__@types+react@19._10810175a7ab45acace17e46639bb69b/node_modules/@openai/apps-sdk-ui/dist/es/components/SegmentedControl/index.js",
63
63
  "file": "@openai_apps-sdk-ui_components_SegmentedControl.js",
64
- "fileHash": "ebdf4e6d",
64
+ "fileHash": "2ee50bba",
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.8__@types+react@19._10810175a7ab45acace17e46639bb69b/node_modules/@openai/apps-sdk-ui/dist/es/components/Select/index.js",
69
69
  "file": "@openai_apps-sdk-ui_components_Select.js",
70
- "fileHash": "74a9ac3b",
70
+ "fileHash": "22a1dcf3",
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.8__@types+react@19._10810175a7ab45acace17e46639bb69b/node_modules/@openai/apps-sdk-ui/dist/es/components/Textarea/index.js",
75
75
  "file": "@openai_apps-sdk-ui_components_Textarea.js",
76
- "fileHash": "de06e9c1",
76
+ "fileHash": "aa2d33e1",
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.8__@types+react@19._10810175a7ab45acace17e46639bb69b/node_modules/@openai/apps-sdk-ui/dist/es/lib/theme.js",
81
81
  "file": "@openai_apps-sdk-ui_theme.js",
82
- "fileHash": "fcfba56d",
82
+ "fileHash": "5781d4bb",
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": "1cf6a50a",
88
+ "fileHash": "c87a7748",
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": "93fbfb3b",
94
+ "fileHash": "54c2792d",
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": "195bec07",
100
+ "fileHash": "fa9d042d",
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": "17a20191",
106
+ "fileHash": "e9ae0a8d",
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": "b58b4826",
112
+ "fileHash": "517db7cd",
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": "2f27906e",
118
+ "fileHash": "9c4aa4b1",
119
119
  "needsInterop": false
120
120
  }
121
121
  },
122
122
  "chunks": {
123
+ "chunk-P5LK4A7U": {
124
+ "file": "chunk-P5LK4A7U.js"
125
+ },
123
126
  "chunk-6QVG4F2X": {
124
127
  "file": "chunk-6QVG4F2X.js"
125
128
  },
126
- "chunk-UM3ZGDFR": {
127
- "file": "chunk-UM3ZGDFR.js"
129
+ "chunk-EGRHWZRV": {
130
+ "file": "chunk-EGRHWZRV.js"
128
131
  },
129
132
  "chunk-JAGHY6H6": {
130
133
  "file": "chunk-JAGHY6H6.js"
131
134
  },
135
+ "chunk-QPJAV452": {
136
+ "file": "chunk-QPJAV452.js"
137
+ },
132
138
  "chunk-RYYR2YMB": {
133
139
  "file": "chunk-RYYR2YMB.js"
134
140
  },
@@ -138,18 +144,12 @@
138
144
  "chunk-XZTIOEPG": {
139
145
  "file": "chunk-XZTIOEPG.js"
140
146
  },
141
- "chunk-P5LK4A7U": {
142
- "file": "chunk-P5LK4A7U.js"
143
- },
144
- "chunk-EGRHWZRV": {
145
- "file": "chunk-EGRHWZRV.js"
146
- },
147
- "chunk-QPJAV452": {
148
- "file": "chunk-QPJAV452.js"
149
- },
150
147
  "chunk-CNYJBM5F": {
151
148
  "file": "chunk-CNYJBM5F.js"
152
149
  },
150
+ "chunk-UM3ZGDFR": {
151
+ "file": "chunk-UM3ZGDFR.js"
152
+ },
153
153
  "chunk-JGVISENQ": {
154
154
  "file": "chunk-JGVISENQ.js"
155
155
  },
@@ -1 +1 @@
1
- {"version":"4.0.16","results":[[":src/resources/albums/components/albums.test.tsx",{"duration":368.913192,"failed":false}],[":src/resources/review/review-resource.test.tsx",{"duration":548.241282,"failed":false}],[":src/resources/carousel/carousel-resource.test.tsx",{"duration":270.03080899999986,"failed":false}],[":src/resources/map/components/map-view.test.tsx",{"duration":95.30531999999994,"failed":false}],[":src/resources/map/components/place-inspector.test.tsx",{"duration":461.01467,"failed":false}],[":src/resources/albums/components/fullscreen-viewer.test.tsx",{"duration":265.73868300000004,"failed":false}],[":src/resources/map/components/place-list.test.tsx",{"duration":141.19271300000037,"failed":false}],[":src/resources/map/components/place-card.test.tsx",{"duration":368.02030500000023,"failed":false}],[":src/resources/map/components/place-carousel.test.tsx",{"duration":447.1268270000003,"failed":false}],[":src/resources/albums/components/album-carousel.test.tsx",{"duration":76.99177499999996,"failed":false}],[":src/resources/carousel/components/carousel.test.tsx",{"duration":82.18443700000012,"failed":false}],[":src/resources/map/map-resource.test.tsx",{"duration":307.5362889999999,"failed":false}],[":src/resources/albums/albums-resource.test.tsx",{"duration":275.64505599999984,"failed":false}],[":src/resources/albums/components/film-strip.test.tsx",{"duration":442.6262569999999,"failed":false}],[":src/resources/albums/components/album-card.test.tsx",{"duration":334.53105099999993,"failed":false}],[":src/resources/carousel/components/card.test.tsx",{"duration":78.75377200000003,"failed":false}]]}
1
+ {"version":"4.0.16","results":[[":src/resources/review/review-resource.test.tsx",{"duration":549.1222579999999,"failed":false}],[":src/resources/albums/components/albums.test.tsx",{"duration":350.93041600000015,"failed":false}],[":src/resources/carousel/carousel-resource.test.tsx",{"duration":251.43985999999995,"failed":false}],[":src/resources/map/components/map-view.test.tsx",{"duration":87.90785099999994,"failed":false}],[":src/resources/map/components/place-inspector.test.tsx",{"duration":476.03139400000055,"failed":false}],[":src/resources/albums/components/fullscreen-viewer.test.tsx",{"duration":285.097933,"failed":false}],[":src/resources/map/components/place-list.test.tsx",{"duration":136.47718200000008,"failed":false}],[":src/resources/map/components/place-card.test.tsx",{"duration":380.20156,"failed":false}],[":src/resources/map/components/place-carousel.test.tsx",{"duration":452.68627800000013,"failed":false}],[":src/resources/albums/components/album-carousel.test.tsx",{"duration":101.4541720000002,"failed":false}],[":src/resources/carousel/components/carousel.test.tsx",{"duration":77.42705000000001,"failed":false}],[":src/resources/map/map-resource.test.tsx",{"duration":281.73994100000004,"failed":false}],[":src/resources/albums/albums-resource.test.tsx",{"duration":265.21104400000013,"failed":false}],[":src/resources/albums/components/film-strip.test.tsx",{"duration":430.75007900000014,"failed":false}],[":src/resources/albums/components/album-card.test.tsx",{"duration":305.5718360000001,"failed":false}],[":src/resources/carousel/components/card.test.tsx",{"duration":76.69553300000007,"failed":false}]]}
@@ -9,7 +9,7 @@ export default defineConfig({
9
9
  test: {
10
10
  globals: true,
11
11
  environment: 'jsdom',
12
- setupFiles: './src/test/setup.ts',
12
+ setupFiles: './tests/setup.ts',
13
13
  exclude: ['**/node_modules/**', '**/tests/e2e/**'],
14
14
  },
15
15
  resolve: {
@@ -1,131 +0,0 @@
1
- {
2
- "userMessage": "Pizza time",
3
- "tool": {
4
- "name": "show-albums",
5
- "description": "Show photo albums",
6
- "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false },
7
- "title": "Show Albums",
8
- "annotations": { "readOnlyHint": true },
9
- "_meta": {
10
- "openai/toolInvocation/invoking": "Loading albums",
11
- "openai/toolInvocation/invoked": "Album loaded",
12
- "openai/widgetAccessible": true,
13
- "openai/resultCanProduceWidget": true
14
- }
15
- },
16
- "callToolResult": {
17
- "structuredContent": {
18
- "albums": [
19
- {
20
- "id": "summer-escape",
21
- "title": "Summer Slice",
22
- "cover": "https://persistent.oaistatic.com/pizzaz/pizzaz-1.png",
23
- "photos": [
24
- {
25
- "id": "s1",
26
- "title": "Waves",
27
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-2.png"
28
- },
29
- {
30
- "id": "s2",
31
- "title": "Palm trees",
32
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-3.png"
33
- },
34
- {
35
- "id": "s3",
36
- "title": "Sunset",
37
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-6.png"
38
- }
39
- ]
40
- },
41
- {
42
- "id": "city-lights",
43
- "title": "Pepperoni Nights",
44
- "cover": "https://persistent.oaistatic.com/pizzaz/pizzaz-4.png",
45
- "photos": [
46
- {
47
- "id": "c1",
48
- "title": "Downtown",
49
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-5.png"
50
- },
51
- {
52
- "id": "c2",
53
- "title": "Neon",
54
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-1.png"
55
- },
56
- {
57
- "id": "c3",
58
- "title": "Streets",
59
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-2.png"
60
- }
61
- ]
62
- },
63
- {
64
- "id": "into-the-woods",
65
- "title": "Truffle Forest",
66
- "cover": "https://persistent.oaistatic.com/pizzaz/pizzaz-3.png",
67
- "photos": [
68
- {
69
- "id": "n1",
70
- "title": "Forest path",
71
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-6.png"
72
- },
73
- {
74
- "id": "n2",
75
- "title": "Misty",
76
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-4.png"
77
- },
78
- {
79
- "id": "n3",
80
- "title": "Waterfall",
81
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-5.png"
82
- }
83
- ]
84
- },
85
- {
86
- "id": "pizza-tour",
87
- "title": "Pizza tour",
88
- "cover": "https://persistent.oaistatic.com/pizzaz/pizzaz-1.png",
89
- "photos": [
90
- {
91
- "id": "tonys-pizza-napoletana",
92
- "title": "Tony's Pizza Napoletana",
93
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-2.png"
94
- },
95
- {
96
- "id": "golden-boy-pizza",
97
- "title": "Golden Boy Pizza",
98
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-3.png"
99
- },
100
- {
101
- "id": "pizzeria-delfina-mission",
102
- "title": "Pizzeria Delfina (Mission)",
103
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-6.png"
104
- },
105
- {
106
- "id": "ragazza",
107
- "title": "Ragazza",
108
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-4.png"
109
- },
110
- {
111
- "id": "del-popolo",
112
- "title": "Del Popolo",
113
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-5.png"
114
- },
115
- {
116
- "id": "square-pie-guys",
117
- "title": "Square Pie Guys",
118
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-1.png"
119
- },
120
- {
121
- "id": "zero-zero",
122
- "title": "Zero Zero",
123
- "url": "https://persistent.oaistatic.com/pizzaz/pizzaz-2.png"
124
- }
125
- ]
126
- }
127
- ]
128
- },
129
- "_meta": {}
130
- }
131
- }
@@ -1,68 +0,0 @@
1
- {
2
- "userMessage": "Show me popular places to visit in Austin Texas",
3
- "tool": {
4
- "name": "show-carousel",
5
- "description": "Show popular places to visit",
6
- "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false },
7
- "title": "Show Carousel",
8
- "annotations": { "readOnlyHint": true },
9
- "_meta": {
10
- "openai/toolInvocation/invoking": "Loading carousel",
11
- "openai/toolInvocation/invoked": "Carousel loaded",
12
- "openai/widgetAccessible": true,
13
- "openai/resultCanProduceWidget": true
14
- }
15
- },
16
- "callToolResult": {
17
- "structuredContent": {
18
- "places": [
19
- {
20
- "id": "1",
21
- "name": "Lady Bird Lake",
22
- "rating": 4.5,
23
- "category": "Waterfront",
24
- "location": "Austin",
25
- "image": "https://images.unsplash.com/photo-1520950237264-dfe336995c34?w=400&h=400&fit=crop",
26
- "description": "Scenic lake perfect for kayaking, paddleboarding, and trails."
27
- },
28
- {
29
- "id": "2",
30
- "name": "Texas State Capitol",
31
- "rating": 4.8,
32
- "category": "Historic Site",
33
- "location": "Austin",
34
- "image": "https://images.unsplash.com/photo-1664231978322-4d0b45c7027b?w=400&h=400&fit=crop",
35
- "description": "Stunning capitol building with free tours and beautiful grounds."
36
- },
37
- {
38
- "id": "3",
39
- "name": "The Paramount Theatre",
40
- "rating": 4.7,
41
- "category": "Architecture",
42
- "location": "Austin",
43
- "image": "https://images.unsplash.com/photo-1583097090970-4d3b940ea1a0?w=400&h=400&fit=crop",
44
- "description": "Century-old performance and movie theatre in the heart of downtown Austin."
45
- },
46
- {
47
- "id": "4",
48
- "name": "Zilker Park",
49
- "rating": 4.7,
50
- "category": "Park",
51
- "location": "Austin",
52
- "image": "https://images.unsplash.com/photo-1563828568124-f800803ba13c?w=400&h=400&fit=crop",
53
- "description": "Popular park with trails, sports fields, and Barton Springs Pool."
54
- },
55
- {
56
- "id": "5",
57
- "name": "South Congress Avenue",
58
- "rating": 4.6,
59
- "category": "Landmark",
60
- "location": "Austin",
61
- "image": "https://images.unsplash.com/photo-1588993608283-7f0eda4438be?w=400&h=400&fit=crop",
62
- "description": "Vibrant street with unique shops, restaurants, and live music."
63
- }
64
- ]
65
- },
66
- "_meta": {}
67
- }
68
- }
@@ -1,123 +0,0 @@
1
- {
2
- "userMessage": "Find pizza near me",
3
- "tool": {
4
- "name": "show-map",
5
- "description": "Show the map",
6
- "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false },
7
- "title": "Show Map",
8
- "annotations": { "readOnlyHint": true },
9
- "_meta": {
10
- "openai/toolInvocation/invoking": "Finding pizza places",
11
- "openai/toolInvocation/invoked": "Found pizza places",
12
- "openai/widgetAccessible": true,
13
- "openai/resultCanProduceWidget": true
14
- }
15
- },
16
- "callToolResult": {
17
- "structuredContent": {
18
- "places": [
19
- {
20
- "id": "nova-slice-lab",
21
- "name": "Nova Slice Lab",
22
- "coords": [-122.4098, 37.8001],
23
- "description": "Award-winning Neapolitan pies in North Beach.",
24
- "city": "North Beach",
25
- "rating": 4.8,
26
- "price": "$$$",
27
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-1.png"
28
- },
29
- {
30
- "id": "midnight-marinara",
31
- "name": "Midnight Marinara",
32
- "coords": [-122.4093, 37.799],
33
- "description": "Focaccia-style squares, late-night favorite.",
34
- "city": "North Beach",
35
- "rating": 4.6,
36
- "price": "$",
37
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-2.png"
38
- },
39
- {
40
- "id": "cinder-oven-co",
41
- "name": "Cinder Oven Co.",
42
- "coords": [-122.4255, 37.7613],
43
- "description": "Thin-crust classics on 18th Street.",
44
- "city": "Mission",
45
- "rating": 4.5,
46
- "price": "$$",
47
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-3.png"
48
- },
49
- {
50
- "id": "neon-crust-works",
51
- "name": "Neon Crust Works",
52
- "coords": [-122.4388, 37.7775],
53
- "description": "Deep-dish and cornmeal crust favorites.",
54
- "city": "Alamo Square",
55
- "rating": 4.5,
56
- "price": "$$",
57
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-6.png"
58
- },
59
- {
60
- "id": "luna-pie-collective",
61
- "name": "Luna Pie Collective",
62
- "coords": [-122.4077, 37.799],
63
- "description": "Wood-fired pies and burrata in North Beach.",
64
- "city": "North Beach",
65
- "rating": 4.6,
66
- "price": "$$",
67
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-4.png"
68
- },
69
- {
70
- "id": "bricklight-deep-dish",
71
- "name": "Bricklight Deep Dish",
72
- "coords": [-122.4097, 37.7992],
73
- "description": "Chicago-style pies from Tony Gemignani.",
74
- "city": "North Beach",
75
- "rating": 4.4,
76
- "price": "$$$",
77
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-5.png"
78
- },
79
- {
80
- "id": "garden-ember-pies",
81
- "name": "Garden Ember Pies",
82
- "coords": [-122.438, 37.7722],
83
- "description": "Neighborhood spot with seasonal toppings.",
84
- "city": "Lower Haight",
85
- "rating": 4.4,
86
- "price": "$$",
87
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-1.png"
88
- },
89
- {
90
- "id": "atlas-fire-pizzeria",
91
- "name": "Atlas Fire Pizzeria",
92
- "coords": [-122.4123, 37.7899],
93
- "description": "Sourdough, wood-fired pies near Nob Hill.",
94
- "city": "Nob Hill",
95
- "rating": 4.6,
96
- "price": "$$$",
97
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-2.png"
98
- },
99
- {
100
- "id": "circuit-slice-garage",
101
- "name": "Circuit Slice Garage",
102
- "coords": [-122.4135, 37.7805],
103
- "description": "Crispy-edged Detroit-style in SoMa.",
104
- "city": "SoMa",
105
- "rating": 4.5,
106
- "price": "$$",
107
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-3.png"
108
- },
109
- {
110
- "id": "velvet-mozza-lounge",
111
- "name": "Velvet Mozza Lounge",
112
- "coords": [-122.4019, 37.7818],
113
- "description": "Bianca pies and cocktails near Yerba Buena.",
114
- "city": "Yerba Buena",
115
- "rating": 4.3,
116
- "price": "$$",
117
- "thumbnail": "https://persistent.oaistatic.com/pizzaz/pizzaz-6.png"
118
- }
119
- ]
120
- },
121
- "_meta": {}
122
- }
123
- }
@@ -1,80 +0,0 @@
1
- {
2
- "userMessage": "I'd like to refactor the authentication module",
3
- "tool": {
4
- "name": "diff-review",
5
- "description": "Show a review dialog for a proposed code diff",
6
- "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false },
7
- "title": "Diff Review",
8
- "annotations": { "readOnlyHint": false },
9
- "_meta": {
10
- "openai/toolInvocation/invoking": "Preparing changes",
11
- "openai/toolInvocation/invoked": "Changes ready for review",
12
- "openai/widgetAccessible": true,
13
- "openai/resultCanProduceWidget": true
14
- }
15
- },
16
- "callToolResult": {
17
- "structuredContent": {
18
- "title": "Refactor Authentication Module",
19
- "description": "The following changes will update the authentication system to use JWT tokens instead of session-based auth.",
20
- "sections": [
21
- {
22
- "title": "File Changes",
23
- "type": "changes",
24
- "content": [
25
- {
26
- "id": "1",
27
- "type": "create",
28
- "path": "src/lib/jwt.ts",
29
- "description": "Create JWT utility functions",
30
- "details": "Token generation, verification, and refresh logic"
31
- },
32
- {
33
- "id": "2",
34
- "type": "modify",
35
- "path": "src/middleware/auth.ts",
36
- "description": "Update auth middleware to use JWT",
37
- "details": "Replace session checks with JWT verification"
38
- },
39
- {
40
- "id": "3",
41
- "type": "modify",
42
- "path": "src/routes/login.ts",
43
- "description": "Update login endpoint to return JWT tokens"
44
- },
45
- {
46
- "id": "4",
47
- "type": "delete",
48
- "path": "src/lib/session.ts",
49
- "description": "Remove deprecated session management",
50
- "details": "No longer needed after JWT migration"
51
- },
52
- {
53
- "id": "5",
54
- "type": "action",
55
- "description": "Run database migration for token storage",
56
- "details": "Creates refresh_tokens table"
57
- }
58
- ]
59
- }
60
- ],
61
- "acceptLabel": "Apply Changes",
62
- "rejectLabel": "Cancel",
63
- "acceptedMessage": "Changes applied",
64
- "rejectedMessage": "Changes cancelled",
65
- "reviewTool": {
66
- "name": "apply_changes",
67
- "arguments": {
68
- "changesetId": "cs_789",
69
- "files": [
70
- "src/lib/jwt.ts",
71
- "src/middleware/auth.ts",
72
- "src/routes/login.ts",
73
- "src/lib/session.ts"
74
- ]
75
- }
76
- }
77
- },
78
- "_meta": {}
79
- }
80
- }
@@ -1,56 +0,0 @@
1
- {
2
- "userMessage": "Post this to my social media",
3
- "tool": {
4
- "name": "review-post",
5
- "description": "Review a social media post before publishing",
6
- "inputSchema": { "type": "object", "properties": {}, "additionalProperties": false },
7
- "title": "Review Post",
8
- "annotations": { "readOnlyHint": false },
9
- "_meta": {
10
- "openai/toolInvocation/invoking": "Preparing post",
11
- "openai/toolInvocation/invoked": "Post ready for review",
12
- "openai/widgetAccessible": true,
13
- "openai/resultCanProduceWidget": true
14
- }
15
- },
16
- "callToolResult": {
17
- "structuredContent": {
18
- "title": "Review Your Post",
19
- "description": "This post will be published to your connected accounts.",
20
- "sections": [
21
- {
22
- "title": "Content",
23
- "type": "preview",
24
- "content": "Just shipped a major update to our app! 🚀\n\nNew features include:\n• Dark mode support\n• Faster load times\n• Bug fixes and improvements\n\nThanks to everyone who provided feedback. You all are amazing! 💪\n\n#ProductUpdate #TechNews #Startup"
25
- },
26
- {
27
- "title": "Post Details",
28
- "type": "details",
29
- "content": [
30
- { "label": "Platforms", "value": "X, LinkedIn" },
31
- { "label": "Schedule", "value": "Post immediately" },
32
- { "label": "Visibility", "value": "Public" }
33
- ]
34
- }
35
- ],
36
- "alerts": [
37
- {
38
- "type": "warning",
39
- "message": "This post contains hashtags that may limit reach on some platforms."
40
- }
41
- ],
42
- "acceptLabel": "Publish",
43
- "rejectLabel": "Cancel",
44
- "acceptedMessage": "Post published!",
45
- "rejectedMessage": "Post cancelled",
46
- "reviewTool": {
47
- "name": "publish_post",
48
- "arguments": {
49
- "postId": "draft_456",
50
- "platforms": ["x", "linkedin"]
51
- }
52
- }
53
- },
54
- "_meta": {}
55
- }
56
- }