mocode-pet-app 1.0.0 → 1.2.0
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/assets/mascot.svg +3 -3
- package/assets/pets/05-robo-owl.svg +3 -3
- package/assets/pets/06-robo-bunny.svg +8 -3
- package/assets/pets/09-robo-penguin.svg +5 -5
- package/assets/pets/10-robo-dino.svg +5 -3
- package/assets/pets/13-cactus-bot.svg +5 -5
- package/assets/tray-icon.png +0 -0
- package/dist/assets/mascot.svg +3 -3
- package/dist/assets/pets/05-robo-owl.svg +3 -3
- package/dist/assets/pets/06-robo-bunny.svg +8 -3
- package/dist/assets/pets/09-robo-penguin.svg +5 -5
- package/dist/assets/pets/10-robo-dino.svg +5 -3
- package/dist/assets/pets/13-cactus-bot.svg +5 -5
- package/dist/assets/tray-icon.png +0 -0
- package/dist/renderer/style.css +2 -2
- package/package.json +1 -1
package/assets/mascot.svg
CHANGED
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
<rect id="pet-mouth" x="112" y="147" width="32" height="6" rx="3" fill="#2afadf" fill-opacity="0.8" filter="url(#glow)"/>
|
|
47
47
|
</g>
|
|
48
48
|
|
|
49
|
-
<!-- Arms(id 供 tool_call
|
|
50
|
-
<
|
|
51
|
-
<
|
|
49
|
+
<!-- Arms(id 供 tool_call 状态的摆动动画;与 legs 同款风格的圆球——机身色填充 + 青色描边,不额外画手臂连接件) -->
|
|
50
|
+
<circle id="pet-arm-left" cx="34" cy="128" r="14" fill="url(#bodyGrad)" stroke="url(#cyanGrad)" stroke-width="2.5"/>
|
|
51
|
+
<circle id="pet-arm-right" cx="222" cy="128" r="14" fill="url(#bodyGrad)" stroke="url(#cyanGrad)" stroke-width="2.5"/>
|
|
52
52
|
|
|
53
53
|
<!-- Legs / feet -->
|
|
54
54
|
<rect x="76" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#cyanGrad)" stroke-width="2.5"/>
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<!-- Beak -->
|
|
36
36
|
<path d="M120 156 L128 172 L136 156 Z" fill="#ffb74d"/>
|
|
37
37
|
|
|
38
|
-
<!-- Folded wing arms -->
|
|
39
|
-
<
|
|
40
|
-
<
|
|
38
|
+
<!-- Folded wing arms(填充块面而非线条,末端贴身收圆) -->
|
|
39
|
+
<ellipse cx="26" cy="160" rx="14" ry="30" transform="rotate(-12 26 160)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
40
|
+
<ellipse cx="230" cy="160" rx="14" ry="30" transform="rotate(12 230 160)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
41
41
|
|
|
42
42
|
<!-- Feet / talons -->
|
|
43
43
|
<rect x="76" y="200" width="20" height="24" rx="6" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
@@ -42,11 +42,16 @@
|
|
|
42
42
|
<!-- Nose -->
|
|
43
43
|
<path d="M122 148 L128 156 L134 148 Z" fill="#ff6ec7" filter="url(#glow)"/>
|
|
44
44
|
|
|
45
|
+
<!-- Arms (gentle wave) -->
|
|
46
|
+
<ellipse cx="34" cy="150" rx="12" ry="22" transform="rotate(-18 34 130)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5">
|
|
47
|
+
<animateTransform attributeName="transform" type="rotate" values="-18 34 130;-30 34 130;-18 34 130;-6 34 130;-18 34 130" keyTimes="0;0.25;0.5;0.75;1" dur="2.6s" repeatCount="indefinite"/>
|
|
48
|
+
</ellipse>
|
|
49
|
+
<ellipse cx="222" cy="150" rx="12" ry="22" transform="rotate(18 222 130)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5">
|
|
50
|
+
<animateTransform attributeName="transform" type="rotate" values="18 222 130;30 222 130;18 222 130;6 222 130;18 222 130" keyTimes="0;0.25;0.5;0.75;1" dur="2.6s" repeatCount="indefinite"/>
|
|
51
|
+
</ellipse>
|
|
52
|
+
|
|
45
53
|
<!-- Legs / feet -->
|
|
46
54
|
<rect x="76" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
47
55
|
<rect x="160" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
48
|
-
|
|
49
|
-
<!-- Fluffy tail -->
|
|
50
|
-
<circle cx="224" cy="184" r="16" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="3"/>
|
|
51
56
|
</g>
|
|
52
57
|
</svg>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<feGaussianBlur stdDeviation="3" result="blur"/>
|
|
13
13
|
<feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
|
|
14
14
|
</filter>
|
|
15
|
-
</defs>
|
|
15
|
+
</defs>
|
|
16
16
|
<g id="pet-body-group">
|
|
17
17
|
|
|
18
18
|
<!-- Body (oval) -->
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
<!-- Beak -->
|
|
39
39
|
<path d="M116 156 L128 172 L140 156 Z" fill="#ffb74d"/>
|
|
40
40
|
|
|
41
|
-
<!-- Flipper arms -->
|
|
42
|
-
<path d="M42
|
|
43
|
-
<path d="M214
|
|
41
|
+
<!-- Flipper arms(填充块面而非线条,贴身收成圆润小翼) -->
|
|
42
|
+
<path d="M42 146 Q16 162 22 190 Q26 204 42 202 Q50 200 46 188 Q40 168 46 150 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2"/>
|
|
43
|
+
<path d="M214 146 Q240 162 234 190 Q230 204 214 202 Q206 200 210 188 Q216 168 210 150 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2"/>
|
|
44
44
|
|
|
45
45
|
<!-- Feet -->
|
|
46
46
|
<ellipse cx="104" cy="234" rx="16" ry="8" fill="#ffb74d"/>
|
|
47
47
|
<ellipse cx="152" cy="234" rx="16" ry="8" fill="#ffb74d"/>
|
|
48
|
-
</g>
|
|
48
|
+
</g>
|
|
49
49
|
</svg>
|
|
@@ -41,9 +41,11 @@
|
|
|
41
41
|
<!-- Jagged mouth -->
|
|
42
42
|
<path d="M108 148 L118 156 L128 148 L138 156 L148 148" stroke="#69f0ae" stroke-width="4" fill="none" stroke-linecap="round" filter="url(#glow)"/>
|
|
43
43
|
|
|
44
|
-
<!-- Small arms -->
|
|
45
|
-
<
|
|
46
|
-
<
|
|
44
|
+
<!-- Small arms(填充块面而非线条,末端一颗圆球小手) -->
|
|
45
|
+
<ellipse cx="31" cy="142" rx="5.5" ry="15" fill="url(#accentGrad)" transform="rotate(-34 31 142)"/>
|
|
46
|
+
<circle cx="25" cy="156" r="5" fill="url(#accentGrad)"/>
|
|
47
|
+
<ellipse cx="223" cy="142" rx="5.5" ry="15" fill="url(#accentGrad)" transform="rotate(34 223 142)"/>
|
|
48
|
+
<circle cx="231" cy="156" r="5" fill="url(#accentGrad)"/>
|
|
47
49
|
|
|
48
50
|
<!-- Legs / feet -->
|
|
49
51
|
<rect x="76" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<feGaussianBlur stdDeviation="3" result="blur"/>
|
|
13
13
|
<feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
|
|
14
14
|
</filter>
|
|
15
|
-
</defs>
|
|
15
|
+
</defs>
|
|
16
16
|
<g id="pet-body-group">
|
|
17
17
|
|
|
18
18
|
<!-- Flower -->
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
<rect x="60" y="46" width="136" height="120" rx="46" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="3"/>
|
|
26
26
|
<rect x="48" y="150" width="160" height="70" rx="40" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="3"/>
|
|
27
27
|
|
|
28
|
-
<!-- Spike arms -->
|
|
29
|
-
<path d="
|
|
30
|
-
<path d="
|
|
28
|
+
<!-- Spike arms(填充块面而非线条,细刺仍保留为短线装饰) -->
|
|
29
|
+
<path d="M62 108 Q26 112 24 142 Q22 156 38 158 Q50 158 48 144 Q44 122 62 118 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
30
|
+
<path d="M194 108 Q230 112 232 142 Q234 156 218 158 Q206 158 208 144 Q212 122 194 118 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
31
31
|
<path d="M34 118 L24 108 M34 128 L22 124 M222 118 L232 108 M222 128 L234 124"
|
|
32
32
|
stroke="url(#accentGrad)" stroke-width="3" stroke-linecap="round"/>
|
|
33
33
|
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
|
|
49
49
|
<!-- Pot base / feet -->
|
|
50
50
|
<path d="M56 220 L200 220 L184 244 L72 244 Z" fill="#8d6e63" stroke="#a1887f" stroke-width="2"/>
|
|
51
|
-
</g>
|
|
51
|
+
</g>
|
|
52
52
|
</svg>
|
package/assets/tray-icon.png
CHANGED
|
Binary file
|
package/dist/assets/mascot.svg
CHANGED
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
<rect id="pet-mouth" x="112" y="147" width="32" height="6" rx="3" fill="#2afadf" fill-opacity="0.8" filter="url(#glow)"/>
|
|
47
47
|
</g>
|
|
48
48
|
|
|
49
|
-
<!-- Arms(id 供 tool_call
|
|
50
|
-
<
|
|
51
|
-
<
|
|
49
|
+
<!-- Arms(id 供 tool_call 状态的摆动动画;与 legs 同款风格的圆球——机身色填充 + 青色描边,不额外画手臂连接件) -->
|
|
50
|
+
<circle id="pet-arm-left" cx="34" cy="128" r="14" fill="url(#bodyGrad)" stroke="url(#cyanGrad)" stroke-width="2.5"/>
|
|
51
|
+
<circle id="pet-arm-right" cx="222" cy="128" r="14" fill="url(#bodyGrad)" stroke="url(#cyanGrad)" stroke-width="2.5"/>
|
|
52
52
|
|
|
53
53
|
<!-- Legs / feet -->
|
|
54
54
|
<rect x="76" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#cyanGrad)" stroke-width="2.5"/>
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
<!-- Beak -->
|
|
36
36
|
<path d="M120 156 L128 172 L136 156 Z" fill="#ffb74d"/>
|
|
37
37
|
|
|
38
|
-
<!-- Folded wing arms -->
|
|
39
|
-
<
|
|
40
|
-
<
|
|
38
|
+
<!-- Folded wing arms(填充块面而非线条,末端贴身收圆) -->
|
|
39
|
+
<ellipse cx="26" cy="160" rx="14" ry="30" transform="rotate(-12 26 160)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
40
|
+
<ellipse cx="230" cy="160" rx="14" ry="30" transform="rotate(12 230 160)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
41
41
|
|
|
42
42
|
<!-- Feet / talons -->
|
|
43
43
|
<rect x="76" y="200" width="20" height="24" rx="6" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
@@ -42,11 +42,16 @@
|
|
|
42
42
|
<!-- Nose -->
|
|
43
43
|
<path d="M122 148 L128 156 L134 148 Z" fill="#ff6ec7" filter="url(#glow)"/>
|
|
44
44
|
|
|
45
|
+
<!-- Arms (gentle wave) -->
|
|
46
|
+
<ellipse cx="34" cy="150" rx="12" ry="22" transform="rotate(-18 34 130)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5">
|
|
47
|
+
<animateTransform attributeName="transform" type="rotate" values="-18 34 130;-30 34 130;-18 34 130;-6 34 130;-18 34 130" keyTimes="0;0.25;0.5;0.75;1" dur="2.6s" repeatCount="indefinite"/>
|
|
48
|
+
</ellipse>
|
|
49
|
+
<ellipse cx="222" cy="150" rx="12" ry="22" transform="rotate(18 222 130)" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5">
|
|
50
|
+
<animateTransform attributeName="transform" type="rotate" values="18 222 130;30 222 130;18 222 130;6 222 130;18 222 130" keyTimes="0;0.25;0.5;0.75;1" dur="2.6s" repeatCount="indefinite"/>
|
|
51
|
+
</ellipse>
|
|
52
|
+
|
|
45
53
|
<!-- Legs / feet -->
|
|
46
54
|
<rect x="76" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
47
55
|
<rect x="160" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
48
|
-
|
|
49
|
-
<!-- Fluffy tail -->
|
|
50
|
-
<circle cx="224" cy="184" r="16" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="3"/>
|
|
51
56
|
</g>
|
|
52
57
|
</svg>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<feGaussianBlur stdDeviation="3" result="blur"/>
|
|
13
13
|
<feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
|
|
14
14
|
</filter>
|
|
15
|
-
</defs>
|
|
15
|
+
</defs>
|
|
16
16
|
<g id="pet-body-group">
|
|
17
17
|
|
|
18
18
|
<!-- Body (oval) -->
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
<!-- Beak -->
|
|
39
39
|
<path d="M116 156 L128 172 L140 156 Z" fill="#ffb74d"/>
|
|
40
40
|
|
|
41
|
-
<!-- Flipper arms -->
|
|
42
|
-
<path d="M42
|
|
43
|
-
<path d="M214
|
|
41
|
+
<!-- Flipper arms(填充块面而非线条,贴身收成圆润小翼) -->
|
|
42
|
+
<path d="M42 146 Q16 162 22 190 Q26 204 42 202 Q50 200 46 188 Q40 168 46 150 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2"/>
|
|
43
|
+
<path d="M214 146 Q240 162 234 190 Q230 204 214 202 Q206 200 210 188 Q216 168 210 150 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2"/>
|
|
44
44
|
|
|
45
45
|
<!-- Feet -->
|
|
46
46
|
<ellipse cx="104" cy="234" rx="16" ry="8" fill="#ffb74d"/>
|
|
47
47
|
<ellipse cx="152" cy="234" rx="16" ry="8" fill="#ffb74d"/>
|
|
48
|
-
</g>
|
|
48
|
+
</g>
|
|
49
49
|
</svg>
|
|
@@ -41,9 +41,11 @@
|
|
|
41
41
|
<!-- Jagged mouth -->
|
|
42
42
|
<path d="M108 148 L118 156 L128 148 L138 156 L148 148" stroke="#69f0ae" stroke-width="4" fill="none" stroke-linecap="round" filter="url(#glow)"/>
|
|
43
43
|
|
|
44
|
-
<!-- Small arms -->
|
|
45
|
-
<
|
|
46
|
-
<
|
|
44
|
+
<!-- Small arms(填充块面而非线条,末端一颗圆球小手) -->
|
|
45
|
+
<ellipse cx="31" cy="142" rx="5.5" ry="15" fill="url(#accentGrad)" transform="rotate(-34 31 142)"/>
|
|
46
|
+
<circle cx="25" cy="156" r="5" fill="url(#accentGrad)"/>
|
|
47
|
+
<ellipse cx="223" cy="142" rx="5.5" ry="15" fill="url(#accentGrad)" transform="rotate(34 223 142)"/>
|
|
48
|
+
<circle cx="231" cy="156" r="5" fill="url(#accentGrad)"/>
|
|
47
49
|
|
|
48
50
|
<!-- Legs / feet -->
|
|
49
51
|
<rect x="76" y="200" width="20" height="26" rx="8" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<feGaussianBlur stdDeviation="3" result="blur"/>
|
|
13
13
|
<feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
|
|
14
14
|
</filter>
|
|
15
|
-
</defs>
|
|
15
|
+
</defs>
|
|
16
16
|
<g id="pet-body-group">
|
|
17
17
|
|
|
18
18
|
<!-- Flower -->
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
<rect x="60" y="46" width="136" height="120" rx="46" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="3"/>
|
|
26
26
|
<rect x="48" y="150" width="160" height="70" rx="40" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="3"/>
|
|
27
27
|
|
|
28
|
-
<!-- Spike arms -->
|
|
29
|
-
<path d="
|
|
30
|
-
<path d="
|
|
28
|
+
<!-- Spike arms(填充块面而非线条,细刺仍保留为短线装饰) -->
|
|
29
|
+
<path d="M62 108 Q26 112 24 142 Q22 156 38 158 Q50 158 48 144 Q44 122 62 118 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
30
|
+
<path d="M194 108 Q230 112 232 142 Q234 156 218 158 Q206 158 208 144 Q212 122 194 118 Z" fill="url(#bodyGrad)" stroke="url(#accentGrad)" stroke-width="2.5"/>
|
|
31
31
|
<path d="M34 118 L24 108 M34 128 L22 124 M222 118 L232 108 M222 128 L234 124"
|
|
32
32
|
stroke="url(#accentGrad)" stroke-width="3" stroke-linecap="round"/>
|
|
33
33
|
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
|
|
49
49
|
<!-- Pot base / feet -->
|
|
50
50
|
<path d="M56 220 L200 220 L184 244 L72 244 Z" fill="#8d6e63" stroke="#a1887f" stroke-width="2"/>
|
|
51
|
-
</g>
|
|
51
|
+
</g>
|
|
52
52
|
</svg>
|
|
Binary file
|
package/dist/renderer/style.css
CHANGED
|
@@ -105,11 +105,11 @@ html, body {
|
|
|
105
105
|
}
|
|
106
106
|
.pet-tool #pet-arm-left {
|
|
107
107
|
animation: pet-arm-swing-left 0.5s ease-in-out infinite;
|
|
108
|
-
transform-origin:
|
|
108
|
+
transform-origin: 34px 128px;
|
|
109
109
|
}
|
|
110
110
|
.pet-tool #pet-arm-right {
|
|
111
111
|
animation: pet-arm-swing-right 0.5s ease-in-out infinite 0.25s;
|
|
112
|
-
transform-origin:
|
|
112
|
+
transform-origin: 222px 128px;
|
|
113
113
|
}
|
|
114
114
|
.pet-tool #pet-antenna {
|
|
115
115
|
animation: none;
|