Skip to content

Commit 699086d

Browse files
ikun97myshell-joe
andauthored
Dev design (#350)
Co-authored-by: joe <[email protected]>
1 parent 44453fc commit 699086d

File tree

288 files changed

+9905
-22046
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

288 files changed

+9905
-22046
lines changed

assets/templates/app/eea8f7f4-dd7a-11ef-83ab-16fff0cb6cc7/latest/automata.json renamed to assets/templates/app/0514856c-f360-11ef-bdc1-16fff0cb6cc7/latest/automata.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"timer": {
1616
"start": {
1717
"year": 2025,
18-
"month": 1,
19-
"date": 28,
20-
"hour": 15,
21-
"minute": 18,
18+
"month": 2,
19+
"date": 25,
20+
"hour": 16,
21+
"minute": 41,
2222
"timezone": ""
2323
},
2424
"interval": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "X Agent - AI Child Book",
3+
"description": "This is an example to use DeepSeek and Flux to create a text-to-image app in X.",
4+
"app_type": "x_bot",
5+
"type": "app",
6+
"template_id": "6e5afc5c-edf9-11ef-9b11-16fff0cb6cc7",
7+
"version": "v0.2.22",
8+
"categories": [
9+
"Image Generation"
10+
]
11+
}

assets/templates/app/eea8f7f4-dd7a-11ef-83ab-16fff0cb6cc7/latest/reactflow.json renamed to assets/templates/app/0514856c-f360-11ef-bdc1-16fff0cb6cc7/latest/reactflow.json

+28-29
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"nodes": [
3131
{
3232
"width": 500,
33-
"height": 128,
33+
"height": 133,
3434
"id": "@@@start",
3535
"position": {
3636
"x": 18.00341796875,
@@ -55,8 +55,8 @@
5555
{
5656
"id": "intro",
5757
"position": {
58-
"x": 592.1845769352449,
59-
"y": 290.0034713745117
58+
"x": 606.0087501176223,
59+
"y": 306.1316734206187
6060
},
6161
"type": "state",
6262
"selectable": true,
@@ -69,19 +69,19 @@
6969
"display_name": "Ready"
7070
},
7171
"width": 220,
72-
"height": 98,
72+
"height": 101,
7373
"selected": false,
7474
"positionAbsolute": {
75-
"x": 592.1845769352449,
76-
"y": 290.0034713745117
75+
"x": 606.0087501176223,
76+
"y": 306.1316734206187
7777
},
7878
"dragging": false
7979
},
8080
{
8181
"id": "state1",
8282
"position": {
83-
"x": 921.6239198714798,
84-
"y": 231.4358798072197
83+
"x": 952.7283095318289,
84+
"y": 286.7325725367293
8585
},
8686
"type": "state",
8787
"selectable": true,
@@ -94,11 +94,11 @@
9494
"display_name": "Generate"
9595
},
9696
"width": 220,
97-
"height": 176,
97+
"height": 181,
9898
"selected": false,
9999
"positionAbsolute": {
100-
"x": 921.6239198714798,
101-
"y": 231.4358798072197
100+
"x": 952.7283095318289,
101+
"y": 286.7325725367293
102102
},
103103
"dragging": false
104104
}
@@ -111,11 +111,11 @@
111111
"stroke": "#d1d5db"
112112
},
113113
"markerEnd": {
114-
"color": "#5A646Es",
115-
"height": 25,
114+
"color": "var(--border-bolder)",
115+
"height": 12,
116116
"strokeWidth": 2,
117-
"type": "arrowclosed",
118-
"width": 10
117+
"type": "arrow",
118+
"width": 12
119119
},
120120
"source": "@@@start",
121121
"sourceHandle": "@@@start",
@@ -127,15 +127,15 @@
127127
{
128128
"type": "custom_edge",
129129
"style": {
130-
"stroke": "#B6BABF",
130+
"stroke": "var(--border-bolder)",
131131
"strokeWidth": 2
132132
},
133133
"markerEnd": {
134-
"color": "#5A646Es",
135-
"height": 25,
134+
"color": "var(--border-bolder)",
135+
"height": 12,
136136
"strokeWidth": 2,
137-
"type": "arrowclosed",
138-
"width": 10
137+
"type": "arrow",
138+
"width": 12
139139
},
140140
"source": "intro",
141141
"sourceHandle": "custom_intro",
@@ -153,25 +153,24 @@
153153
"timers": {
154154
"start": {
155155
"year": 2025,
156-
"month": 1,
157-
"date": 28,
158-
"hour": 15,
159-
"minute": 18,
156+
"month": 2,
157+
"date": 25,
158+
"hour": 16,
159+
"minute": 41,
160160
"timezone": ""
161161
},
162162
"interval": {
163163
"hour": 1
164164
}
165165
}
166166
},
167-
"id": "reactflow__edge-introcustom_intro-state1state1",
168-
"selected": false
167+
"id": "reactflow__edge-introcustom_intro-state1state1"
169168
}
170169
],
171170
"viewport": {
172-
"x": 171.1711713855767,
173-
"y": 101.5787703036776,
174-
"zoom": 0.5518885822338361
171+
"x": 93.45432753070895,
172+
"y": 73.29181240924851,
173+
"zoom": 0.7484941387299767
175174
}
176175
}
177176
}

assets/templates/app/c43bc802-e8a1-11ef-b193-16fff0cb6cc7/latest/automata.json renamed to assets/templates/app/09004ba2-f360-11ef-bdc1-16fff0cb6cc7/latest/automata.json

+28-35
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@
3232
"inputs": {},
3333
"outputs": {},
3434
"transitions": {
35-
"CHAT": [
36-
{
37-
"target": "state5"
38-
}
39-
]
35+
"CHAT": {
36+
"target": "state5",
37+
"target_inputs": {}
38+
}
4039
}
4140
},
4241
"state4": {
@@ -54,11 +53,10 @@
5453
}
5554
},
5655
"transitions": {
57-
"ALWAYS": [
58-
{
59-
"target": "intro"
60-
}
61-
]
56+
"ALWAYS": {
57+
"target": "intro",
58+
"target_inputs": {}
59+
}
6260
}
6361
},
6462
"state5": {
@@ -147,11 +145,10 @@
147145
}
148146
},
149147
"transitions": {
150-
"ALWAYS": [
151-
{
152-
"target": "state7"
153-
}
154-
]
148+
"ALWAYS": {
149+
"target": "state7",
150+
"target_inputs": {}
151+
}
155152
}
156153
},
157154
"state6": {
@@ -231,11 +228,10 @@
231228
}
232229
},
233230
"transitions": {
234-
"ALWAYS": [
235-
{
236-
"target": "state7"
237-
}
238-
]
231+
"ALWAYS": {
232+
"target": "state7",
233+
"target_inputs": {}
234+
}
239235
}
240236
},
241237
"state7": {
@@ -277,21 +273,18 @@
277273
}
278274
},
279275
"transitions": {
280-
"1ae54bff-ccdc-4559-812b-1a6ab422b2bc": [
281-
{
282-
"target": "state6"
283-
}
284-
],
285-
"a7243e60-ea85-4e55-b7b8-ad174ed7fac0": [
286-
{
287-
"target": "state4"
288-
}
289-
],
290-
"CHAT": [
291-
{
292-
"target": "state5"
293-
}
294-
]
276+
"a7243e60-ea85-4e55-b7b8-ad174ed7fac0": {
277+
"target": "state4",
278+
"target_inputs": {}
279+
},
280+
"CHAT": {
281+
"target": "state5",
282+
"target_inputs": {}
283+
},
284+
"1ae54bff-ccdc-4559-812b-1a6ab422b2bc": {
285+
"target": "state6",
286+
"target_inputs": {}
287+
}
295288
}
296289
}
297290
},
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "MyShell Agent - AI Child Book",
3+
"description": "This is an example to use DeepSeek and Flux to create a text-to-image app in MyShell.",
4+
"type": "app",
5+
"template_id": "71fdb908-edf9-11ef-9b11-16fff0cb6cc7",
6+
"version": "v0.2.22",
7+
"categories": [
8+
"Image Generation"
9+
]
10+
}

0 commit comments

Comments
 (0)