sunpeak 0.10.7 → 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.
- package/README.md +117 -20
- package/bin/commands/build.mjs +1 -11
- package/bin/commands/deploy.mjs +7 -1
- package/bin/commands/dev.mjs +175 -12
- package/bin/commands/new.mjs +211 -0
- package/bin/commands/pull.mjs +1 -1
- package/bin/commands/push.mjs +36 -13
- package/bin/lib/patterns.mjs +25 -0
- package/bin/sunpeak.js +15 -232
- package/dist/chatgpt/index.cjs +1 -1
- package/dist/chatgpt/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/mcp/entry.cjs +1 -1
- package/dist/mcp/entry.js +1 -1
- package/dist/mcp/favicon.d.ts +2 -0
- package/dist/mcp/index.cjs +3 -1
- package/dist/mcp/index.cjs.map +1 -1
- package/dist/mcp/index.d.ts +1 -0
- package/dist/mcp/index.js +3 -1
- package/dist/{server-BLKltt88.js → server-BI9Y531R.js} +31 -3
- package/dist/{server-BLKltt88.js.map → server-BI9Y531R.js.map} +1 -1
- package/dist/{server-D_oRdZjX.cjs → server-CcLDAGBE.cjs} +31 -3
- package/dist/{server-D_oRdZjX.cjs.map → server-CcLDAGBE.cjs.map} +1 -1
- package/dist/{simulator-url-B6DZi3vV.cjs → simulator-url-CYMOGoB1.cjs} +5 -5
- package/dist/{simulator-url-B6DZi3vV.cjs.map → simulator-url-CYMOGoB1.cjs.map} +1 -1
- package/dist/{simulator-url-izFV6mji.js → simulator-url-DG79-dU3.js} +4 -4
- package/dist/{simulator-url-izFV6mji.js.map → simulator-url-DG79-dU3.js.map} +1 -1
- package/package.json +1 -1
- package/template/.sunpeak/dev.tsx +4 -4
- package/template/README.md +25 -27
- package/template/_gitignore +4 -0
- package/template/dist/albums/albums.json +1 -1
- package/template/dist/carousel/carousel.json +1 -1
- package/template/dist/map/map.json +1 -1
- package/template/dist/review/review.json +1 -1
- package/template/index.html +0 -1
- package/template/node_modules/.vite/deps/_metadata.json +22 -22
- package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Avatar.js +96 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Avatar.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Button.js +625 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Button.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Checkbox.js +33 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Checkbox.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Icon.js +1498 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Icon.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Input.js +13 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Input.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_SegmentedControl.js +103 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_SegmentedControl.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Select.js +3680 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Select.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Textarea.js +95 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_components_Textarea.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_theme.js +45 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/@openai_apps-sdk-ui_theme.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-2UDYPUBJ.js +15201 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-2UDYPUBJ.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-6QVG4F2X.js +93 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-6QVG4F2X.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-BUOVMFCD.js +1004 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-BUOVMFCD.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-CNYJBM5F.js +21 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-CNYJBM5F.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-EGRHWZRV.js +1 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-EGRHWZRV.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-ILHRZGIS.js +46 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-ILHRZGIS.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-JAGHY6H6.js +231 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-JAGHY6H6.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-JGVISENQ.js +292 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-JGVISENQ.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-P5LK4A7U.js +112 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-P5LK4A7U.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-QPJAV452.js +13 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-QPJAV452.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-RYYR2YMB.js +111 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-RYYR2YMB.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-UM3ZGDFR.js +4480 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-UM3ZGDFR.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-XZTIOEPG.js +280 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/chunk-XZTIOEPG.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/clsx.js +10 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/clsx.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/embla-carousel-react.js +1712 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/embla-carousel-react.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/embla-carousel-wheel-gestures.js +589 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/embla-carousel-wheel-gestures.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/mapbox-gl.js +32835 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/mapbox-gl.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/package.json +3 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react-dom.js +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react-dom.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react-dom_client.js +20217 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react-dom_client.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react.js +6 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react_jsx-dev-runtime.js +278 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react_jsx-dev-runtime.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react_jsx-runtime.js +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/react_jsx-runtime.js.map +7 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/tailwind-merge.js +3095 -0
- package/template/node_modules/.vite-mcp/deps_temp_992accd8/tailwind-merge.js.map +7 -0
- package/template/package.json +0 -1
- package/template/vitest.config.ts +1 -1
- package/bin/commands/mcp.mjs +0 -244
- package/template/public/favicon.ico +0 -0
- package/template/src/resources/albums/albums-show-simulation.json +0 -131
- package/template/src/resources/carousel/carousel-show-simulation.json +0 -68
- package/template/src/resources/map/map-show-simulation.json +0 -123
- package/template/src/resources/review/review-diff-simulation.json +0 -80
- package/template/src/resources/review/review-post-simulation.json +0 -56
- package/template/src/resources/review/review-purchase-simulation.json +0 -88
- /package/template/{src/test → tests}/setup.ts +0 -0
- /package/template/{dist → tests/simulations}/albums/albums-show-simulation.json +0 -0
- /package/template/{dist → tests/simulations}/carousel/carousel-show-simulation.json +0 -0
- /package/template/{dist → tests/simulations}/map/map-show-simulation.json +0 -0
- /package/template/{dist → tests/simulations}/review/review-diff-simulation.json +0 -0
- /package/template/{dist → tests/simulations}/review/review-post-simulation.json +0 -0
- /package/template/{dist → tests/simulations}/review/review-purchase-simulation.json +0 -0
|
@@ -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
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"userMessage": "I want to buy these items",
|
|
3
|
-
"tool": {
|
|
4
|
-
"name": "review-purchase",
|
|
5
|
-
"description": "Review a purchase before completing the transaction",
|
|
6
|
-
"inputSchema": { "type": "object", "properties": {}, "additionalProperties": false },
|
|
7
|
-
"title": "Review Purchase",
|
|
8
|
-
"annotations": { "readOnlyHint": false },
|
|
9
|
-
"_meta": {
|
|
10
|
-
"openai/toolInvocation/invoking": "Preparing order",
|
|
11
|
-
"openai/toolInvocation/invoked": "Order ready for review",
|
|
12
|
-
"openai/widgetAccessible": true,
|
|
13
|
-
"openai/resultCanProduceWidget": true
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"callToolResult": {
|
|
17
|
-
"structuredContent": {
|
|
18
|
-
"title": "Confirm Your Order",
|
|
19
|
-
"description": "Please review your order before completing the purchase.",
|
|
20
|
-
"alerts": [
|
|
21
|
-
{
|
|
22
|
-
"type": "info",
|
|
23
|
-
"message": "Free shipping on orders over $50!"
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"sections": [
|
|
27
|
-
{
|
|
28
|
-
"title": "Items",
|
|
29
|
-
"type": "items",
|
|
30
|
-
"content": [
|
|
31
|
-
{
|
|
32
|
-
"id": "1",
|
|
33
|
-
"title": "Wireless Headphones",
|
|
34
|
-
"subtitle": "Black, Over-ear",
|
|
35
|
-
"image": "https://images.unsplash.com/photo-1505740420928-5e560c06d30e?w=100&h=100&fit=crop",
|
|
36
|
-
"value": "$79.99"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"id": "2",
|
|
40
|
-
"title": "USB-C Charging Cable",
|
|
41
|
-
"subtitle": "2m, Braided",
|
|
42
|
-
"image": "https://images.unsplash.com/photo-1588872657578-7efd1f1555ed?w=100&h=100&fit=crop",
|
|
43
|
-
"value": "$12.99",
|
|
44
|
-
"badge": "Sale"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"id": "3",
|
|
48
|
-
"title": "Phone Case",
|
|
49
|
-
"subtitle": "Clear, iPhone 15 Pro",
|
|
50
|
-
"image": "https://images.unsplash.com/photo-1601784551446-20c9e07cdbdb?w=100&h=100&fit=crop",
|
|
51
|
-
"value": "$24.99"
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"title": "Shipping",
|
|
57
|
-
"type": "details",
|
|
58
|
-
"content": [
|
|
59
|
-
{ "label": "Method", "value": "Standard (5-7 days)" },
|
|
60
|
-
{ "label": "Address", "value": "123 Main St, Austin, TX", "sublabel": "John Doe" }
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"type": "summary",
|
|
65
|
-
"content": [
|
|
66
|
-
{ "label": "Subtotal", "value": "$117.97" },
|
|
67
|
-
{ "label": "Shipping", "value": "FREE" },
|
|
68
|
-
{ "label": "Tax", "value": "$9.68" },
|
|
69
|
-
{ "label": "Total", "value": "$127.65", "emphasis": true }
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"acceptLabel": "Place Order",
|
|
74
|
-
"rejectLabel": "Cancel",
|
|
75
|
-
"acceptedMessage": "Order placed!",
|
|
76
|
-
"rejectedMessage": "Order cancelled",
|
|
77
|
-
"reviewTool": {
|
|
78
|
-
"name": "complete_purchase",
|
|
79
|
-
"arguments": {
|
|
80
|
-
"orderId": "order_123",
|
|
81
|
-
"items": ["1", "2", "3"],
|
|
82
|
-
"total": 127.65
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"_meta": {}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|