pi-pet-emote 0.0.0-stage → 0.1.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/LICENSE +23 -0
- package/README.md +51 -2
- package/config.json +32 -0
- package/docs/avatar.png +0 -0
- package/emotes/ascii/ascii.yaml +38 -0
- package/emotes/ascii-bear/ascii.yaml +36 -0
- package/emotes/ascii-bot/ascii.yaml +107 -0
- package/emotes/pet/ask/ask_1.png +0 -0
- package/emotes/pet/ask/ask_2.png +0 -0
- package/emotes/pet/build/build_1.png +0 -0
- package/emotes/pet/build/build_2.png +0 -0
- package/emotes/pet/build/build_3.png +0 -0
- package/emotes/pet/bye/bye_1.png +0 -0
- package/emotes/pet/bye/bye_2.png +0 -0
- package/emotes/pet/bye/in_1.png +0 -0
- package/emotes/pet/bye/in_2.png +0 -0
- package/emotes/pet/compact/compact_1.png +0 -0
- package/emotes/pet/compact/compact_2.png +0 -0
- package/emotes/pet/compact/compact_3.png +0 -0
- package/emotes/pet/delegate/delegate_1.png +0 -0
- package/emotes/pet/delegate/delegate_2.png +0 -0
- package/emotes/pet/delegate/delegate_3.png +0 -0
- package/emotes/pet/emotes.json +60 -0
- package/emotes/pet/explore/explore_1.png +0 -0
- package/emotes/pet/explore/explore_2.png +0 -0
- package/emotes/pet/explore/explore_3.png +0 -0
- package/emotes/pet/failure/failure_1.png +0 -0
- package/emotes/pet/failure/failure_2.png +0 -0
- package/emotes/pet/failure/failure_3.png +0 -0
- package/emotes/pet/grandma/in_1.png +0 -0
- package/emotes/pet/grandma/in_2.png +0 -0
- package/emotes/pet/grandma/in_3.png +0 -0
- package/emotes/pet/grandma/knit_1.png +0 -0
- package/emotes/pet/grandma/knit_2.png +0 -0
- package/emotes/pet/hi/in_1.png +0 -0
- package/emotes/pet/hi/in_2.png +0 -0
- package/emotes/pet/hi/in_3.png +0 -0
- package/emotes/pet/hi/in_4.png +0 -0
- package/emotes/pet/hi/in_5.png +0 -0
- package/emotes/pet/hi/in_6.png +0 -0
- package/emotes/pet/hi/landed_1.png +0 -0
- package/emotes/pet/hi/landed_2.png +0 -0
- package/emotes/pet/idle/idle.png +0 -0
- package/emotes/pet/idle/idle_blink.png +0 -0
- package/emotes/pet/jira/jira_1.png +0 -0
- package/emotes/pet/jira/jira_2.png +0 -0
- package/emotes/pet/jira/jira_3.png +0 -0
- package/emotes/pet/jobs/jobs_1.png +0 -0
- package/emotes/pet/jobs/jobs_2.png +0 -0
- package/emotes/pet/jobs/jobs_3.png +0 -0
- package/emotes/pet/judge/judge_1.png +0 -0
- package/emotes/pet/judge/judge_2.png +0 -0
- package/emotes/pet/read/read_1.png +0 -0
- package/emotes/pet/read/read_2.png +0 -0
- package/emotes/pet/read/read_3.png +0 -0
- package/emotes/pet/remember/remember_1.png +0 -0
- package/emotes/pet/remember/remember_2.png +0 -0
- package/emotes/pet/review/review_1.png +0 -0
- package/emotes/pet/review/review_2.png +0 -0
- package/emotes/pet/review/review_3.png +0 -0
- package/emotes/pet/review/review_4.png +0 -0
- package/emotes/pet/success/success_1.png +0 -0
- package/emotes/pet/success/success_2.png +0 -0
- package/emotes/pet/super-yolo/super-yolo.png +0 -0
- package/emotes/pet/super-yolo/super-yolo_blink.png +0 -0
- package/emotes/pet/talk/talk_close.png +0 -0
- package/emotes/pet/talk/talk_mid.png +0 -0
- package/emotes/pet/talk/talk_small.png +0 -0
- package/emotes/pet/talk/talk_wide.png +0 -0
- package/emotes/pet/think/think_1.png +0 -0
- package/emotes/pet/think/think_2.png +0 -0
- package/emotes/pet/tool/tool_1.png +0 -0
- package/emotes/pet/tool/tool_2.png +0 -0
- package/emotes/pet/tool/tool_3.png +0 -0
- package/emotes/pet/verify/fail.png +0 -0
- package/emotes/pet/verify/verify_1.png +0 -0
- package/emotes/pet/verify/verify_2.png +0 -0
- package/emotes/pet/verify/verify_3.png +0 -0
- package/emotes/pet/write/write_1.png +0 -0
- package/emotes/pet/write/write_2.png +0 -0
- package/emotes/pet/write/write_3.png +0 -0
- package/emotes/pet/write/write_4.png +0 -0
- package/emotes/pet/yolo/yolo.png +0 -0
- package/emotes/pet/yolo/yolo_blink.png +0 -0
- package/package.json +65 -4
- package/src/accent.ts +109 -0
- package/src/animator.ts +499 -0
- package/src/config.ts +142 -0
- package/src/emotes.ts +110 -0
- package/src/frame_image.ts +114 -0
- package/src/gutter.ts +195 -0
- package/src/index.ts +565 -0
- package/src/log.ts +16 -0
- package/src/png.ts +143 -0
- package/src/render_ascii.ts +380 -0
- package/src/render_image.ts +162 -0
- package/src/render_iterm.ts +38 -0
- package/src/render_kitty.ts +70 -0
- package/src/render_kitty_unicode.ts +295 -0
- package/src/render_tmux_iterm.ts +27 -0
- package/src/render_tmux_kitty.ts +24 -0
- package/src/renderer.ts +60 -0
- package/src/terminal.ts +183 -0
- package/src/tmux.ts +93 -0
- package/src/types.ts +77 -0
- package/src/widget.ts +124 -0
- package/src/yolo.ts +35 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Eiji Onchi
|
|
4
|
+
Copyright (c) 2026 efolchmontiel
|
|
5
|
+
Copyright (c) 2026 offluisangel
|
|
6
|
+
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,52 @@
|
|
|
1
|
-
#
|
|
1
|
+
# pi-pet-emote
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A reactive pixel-art pet beside your [Pi](https://pi.dev) prompt. 24 reactions follow local session events—thinking, tools, questions, and results—with no model calls.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
Requires Node.js **22.19+** and an interactive Pi session. Image support depends on your terminal; ASCII is the fallback.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
From npm:
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
pi install npm:pi-pet-emote
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Or from GitHub:
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
pi install git:github.com/offluisangel/pi-pet-emote
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Run `/reload` in Pi, then `/emote demo` to meet the pet. Choose one installation source, not both.
|
|
24
|
+
|
|
25
|
+
## Uninstall
|
|
26
|
+
|
|
27
|
+
For an npm installation:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
pi remove npm:pi-pet-emote
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
For a GitHub installation:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
pi remove git:github.com/offluisangel/pi-pet-emote
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Run `/reload` in Pi to unload the extension.
|
|
40
|
+
|
|
41
|
+
## Commands
|
|
42
|
+
|
|
43
|
+
| Command | Action |
|
|
44
|
+
| --- | --- |
|
|
45
|
+
| `/emote` | List available reactions. |
|
|
46
|
+
| `/emote <state>` | Preview a reaction. |
|
|
47
|
+
| `/emote demo` | Play the reaction sequence. |
|
|
48
|
+
| `/emote idle` | Stop the preview and return to idle. |
|
|
49
|
+
|
|
50
|
+
## License
|
|
51
|
+
|
|
52
|
+
[MIT](LICENSE). Original code by Eiji Onchi and efolchmontiel; contributions by offluisangel.
|
package/config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"enabled": true,
|
|
3
|
+
"debug": false,
|
|
4
|
+
"size": 10,
|
|
5
|
+
"placement": "beside-editor",
|
|
6
|
+
"frame": true,
|
|
7
|
+
"frameRows": 4,
|
|
8
|
+
"minEditorWidth": 40,
|
|
9
|
+
"readingSpeed": 4,
|
|
10
|
+
"holdDuration": {
|
|
11
|
+
"hi": 2400,
|
|
12
|
+
"success": 1600,
|
|
13
|
+
"failure": 2400,
|
|
14
|
+
"bye": 6000
|
|
15
|
+
},
|
|
16
|
+
"blinkInterval": [3000, 6000],
|
|
17
|
+
"talkTickMs": 120,
|
|
18
|
+
"cycleMs": 500,
|
|
19
|
+
"grandmaAfterMs": 30000,
|
|
20
|
+
"accent": "auto",
|
|
21
|
+
"emotes": [
|
|
22
|
+
{ "model": "*", "emote-set": "pet" }
|
|
23
|
+
],
|
|
24
|
+
"terminals": [
|
|
25
|
+
{ "match": "zellij", "render": "ascii" },
|
|
26
|
+
{ "match": "tmux", "render": "auto" },
|
|
27
|
+
{ "match": "screen", "render": "ascii" },
|
|
28
|
+
{ "match": "wezterm", "render": "iterm2" },
|
|
29
|
+
{ "match": "ghostty", "render": "kitty" },
|
|
30
|
+
{ "match": "warpterminal", "render": "kitty" }
|
|
31
|
+
]
|
|
32
|
+
}
|
package/docs/avatar.png
ADDED
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# ASCII fallback emotes for terminals without image support.
|
|
2
|
+
# Each state has named frames matching the image-based counterparts.
|
|
3
|
+
# Frames are plain text — rendered directly in the widget.
|
|
4
|
+
|
|
5
|
+
hi:
|
|
6
|
+
default: "(^ ◡ ^)/"
|
|
7
|
+
|
|
8
|
+
idle:
|
|
9
|
+
default: "(• ◡ •)"
|
|
10
|
+
blink: "(- ◡ -)"
|
|
11
|
+
|
|
12
|
+
think:
|
|
13
|
+
default: "(•_ • )?"
|
|
14
|
+
hard: "(-᷅_ -᷄\") "
|
|
15
|
+
|
|
16
|
+
talk:
|
|
17
|
+
close: "(• _ •)"
|
|
18
|
+
open_small: "(• . •)"
|
|
19
|
+
open_medium: "(• o •)"
|
|
20
|
+
open_wide: "(• O •)"
|
|
21
|
+
|
|
22
|
+
read:
|
|
23
|
+
- "( ╭ರᴥ•́)⠉"
|
|
24
|
+
- "( ╭ರᴥ•)⠒"
|
|
25
|
+
- "( ╭ರᴥ•)⠤"
|
|
26
|
+
|
|
27
|
+
write:
|
|
28
|
+
- "( 。 。).φ"
|
|
29
|
+
- "( 。 。)φ."
|
|
30
|
+
|
|
31
|
+
tool:
|
|
32
|
+
- "( • ω•)/"
|
|
33
|
+
- "( • ω•)\\"
|
|
34
|
+
|
|
35
|
+
failure: "( ° Д°)#"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
compact: "(-᷅_ -᷄;)"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Bear emote set — ʕ•̫͡•ʔ style kaomoji
|
|
2
|
+
# Author: https://github.com/LCorleone
|
|
3
|
+
|
|
4
|
+
hi: "ʕᵔ̫͡ᵔʔ/"
|
|
5
|
+
|
|
6
|
+
idle:
|
|
7
|
+
default: "ʕ•̫͡•ʔ"
|
|
8
|
+
blink: "ʕ-̫͡-ʔ"
|
|
9
|
+
|
|
10
|
+
think:
|
|
11
|
+
default: "ʕʹ̫͡ʹʔ"
|
|
12
|
+
hard: "ʕ•̫̀͡•́ʔ"
|
|
13
|
+
|
|
14
|
+
talk:
|
|
15
|
+
close: "ʕ•_•ʔ"
|
|
16
|
+
open_small: "ʕ•ᴗ•ʔ"
|
|
17
|
+
open_medium: "ʕ•o•ʔ"
|
|
18
|
+
open_wide: "ʕ•O•ʔ"
|
|
19
|
+
|
|
20
|
+
read:
|
|
21
|
+
- "ʕ•̀_•́ʔ"
|
|
22
|
+
- "ʕ•ᴥ•ʔ"
|
|
23
|
+
|
|
24
|
+
write:
|
|
25
|
+
- "ʕ•̫͡•ʔ✏"
|
|
26
|
+
- "ʕᵕ̫͡ᵕʔφ"
|
|
27
|
+
|
|
28
|
+
tool:
|
|
29
|
+
- "ʕ•ω•ʔ"
|
|
30
|
+
- "ʕᵔ̫͡ᵔʔ🔧"
|
|
31
|
+
|
|
32
|
+
success: "ʕᵕ͓͡ᵕʔ★"
|
|
33
|
+
|
|
34
|
+
failure: "ʕಥ̫͡ಥʔ"
|
|
35
|
+
|
|
36
|
+
compact: "ʕᵒ̫͡ᵒʔ..."
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# ASCII Bot emote set — 8x4 multi-line ASCII art with ANSI color.
|
|
2
|
+
# Uses \x1b[32m (green) for the robot body and \x1b[33m (yellow) for eyes.
|
|
3
|
+
|
|
4
|
+
hi:
|
|
5
|
+
default:
|
|
6
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
7
|
+
- "\x1b[32m|\x1b[0m \x1b[33m^o^\x1b[0m \x1b[32m|\x1b[0m"
|
|
8
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
9
|
+
- "\x1b[32m===++===\x1b[0m"
|
|
10
|
+
|
|
11
|
+
idle:
|
|
12
|
+
default:
|
|
13
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
14
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•_•\x1b[0m \x1b[32m|\x1b[0m"
|
|
15
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
16
|
+
- "\x1b[32m===++===\x1b[0m"
|
|
17
|
+
blink:
|
|
18
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
19
|
+
- "\x1b[32m|\x1b[0m \x1b[33m-_-\x1b[0m \x1b[32m|\x1b[0m"
|
|
20
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
21
|
+
- "\x1b[32m ==++== \x1b[0m"
|
|
22
|
+
|
|
23
|
+
think:
|
|
24
|
+
default:
|
|
25
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
26
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•_•\x1b[0m?\x1b[32m|\x1b[0m"
|
|
27
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
28
|
+
- "\x1b[32m===??===\x1b[0m"
|
|
29
|
+
hard:
|
|
30
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
31
|
+
- "\x1b[32m|\x1b[0m \x1b[33m-᷅_-᷄\x1b[0m \x1b[32m|\x1b[0m"
|
|
32
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
33
|
+
- "\x1b[32m===++===\x1b[0m"
|
|
34
|
+
|
|
35
|
+
talk:
|
|
36
|
+
close:
|
|
37
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
38
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•_•\x1b[0m \x1b[32m|\x1b[0m"
|
|
39
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
40
|
+
- "\x1b[32m =++= \x1b[0m"
|
|
41
|
+
open_small:
|
|
42
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
43
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•.•\x1b[0m \x1b[32m|\x1b[0m"
|
|
44
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
45
|
+
- "\x1b[32m =++= \x1b[0m"
|
|
46
|
+
open_medium:
|
|
47
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
48
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•o•\x1b[0m \x1b[32m|\x1b[0m"
|
|
49
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
50
|
+
- "\x1b[32m ==++== \x1b[0m"
|
|
51
|
+
open_wide:
|
|
52
|
+
- "\x1b[32m.------.\x1b[0m"
|
|
53
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•O•\x1b[0m \x1b[32m|\x1b[0m"
|
|
54
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
55
|
+
- "\x1b[32m===++===\x1b[0m"
|
|
56
|
+
|
|
57
|
+
read:
|
|
58
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
59
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•_•\x1b[0m \x1b[32m|\x1b[0m"
|
|
60
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
61
|
+
- "\x1b[32m===..===\x1b[0m"
|
|
62
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
63
|
+
- "\x1b[32m|\x1b[0m \x1b[33m=_=\x1b[0m \x1b[32m|\x1b[0m"
|
|
64
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
65
|
+
- "\x1b[32m ==..== \x1b[0m"
|
|
66
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
67
|
+
- "\x1b[32m|\x1b[0m \x1b[33m•_•\x1b[0m \x1b[32m|\x1b[0m"
|
|
68
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
69
|
+
- "\x1b[32m =..= \x1b[0m"
|
|
70
|
+
|
|
71
|
+
write:
|
|
72
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
73
|
+
- "\x1b[32m|\x1b[0m \x1b[33m-᷅_-᷄\x1b[0m \x1b[32m|\x1b[0m"
|
|
74
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
75
|
+
- "\x1b[32m===**===\x1b[0m"
|
|
76
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
77
|
+
- "\x1b[32m|\x1b[0m \x1b[33m-᷅_-᷄\x1b[0m \x1b[32m|\x1b[0m"
|
|
78
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
79
|
+
- "\x1b[32m ==**== \x1b[0m"
|
|
80
|
+
|
|
81
|
+
tool:
|
|
82
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
83
|
+
- "\x1b[32m|\x1b[0m \x1b[33m=_=\x1b[0m \x1b[32m|\x1b[0m"
|
|
84
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
85
|
+
- "\x1b[32m===++===\x1b[0m"
|
|
86
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
87
|
+
- "\x1b[32m|\x1b[0m \x1b[33m=_=\x1b[0m \x1b[32m|\x1b[0m"
|
|
88
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
89
|
+
- "\x1b[32m===++===\x1b[0m"
|
|
90
|
+
|
|
91
|
+
success:
|
|
92
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
93
|
+
- "\x1b[32m|\x1b[0m \x1b[33m^o^\x1b[0m \x1b[32m|\x1b[0m"
|
|
94
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
95
|
+
- "\x1b[32m ==++== \x1b[0m"
|
|
96
|
+
|
|
97
|
+
failure:
|
|
98
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
99
|
+
- "\x1b[32m|\x1b[0m \x1b[33m>_<\x1b[0m \x1b[32m|\x1b[0m"
|
|
100
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
101
|
+
- "\x1b[32m===!!===\x1b[0m"
|
|
102
|
+
|
|
103
|
+
compact:
|
|
104
|
+
- - "\x1b[32m.------.\x1b[0m"
|
|
105
|
+
- "\x1b[32m|\x1b[0m \x1b[33m-᷅_-᷄\x1b[0m;\x1b[32m|\x1b[0m"
|
|
106
|
+
- "\x1b[32m'--++--'\x1b[0m"
|
|
107
|
+
- "\x1b[32m =@@= \x1b[0m"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"idle": {
|
|
3
|
+
"default": "idle.png",
|
|
4
|
+
"blink": "idle_blink.png"
|
|
5
|
+
},
|
|
6
|
+
"talk": {
|
|
7
|
+
"weights": {
|
|
8
|
+
"talk_close.png": 1,
|
|
9
|
+
"talk_small.png": 3,
|
|
10
|
+
"talk_mid.png": 3,
|
|
11
|
+
"talk_wide.png": 1
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"cycle": {
|
|
15
|
+
"hi": "loop",
|
|
16
|
+
"think": "loop",
|
|
17
|
+
"tool": "loop",
|
|
18
|
+
"write": "loop",
|
|
19
|
+
"ask": "loop",
|
|
20
|
+
"success": "loop",
|
|
21
|
+
"failure": "loop",
|
|
22
|
+
"read": "pingpong",
|
|
23
|
+
"compact": "pingpong",
|
|
24
|
+
"delegate": "loop",
|
|
25
|
+
"jobs": "loop",
|
|
26
|
+
"remember": "loop",
|
|
27
|
+
"yolo": "loop",
|
|
28
|
+
"super-yolo": "loop",
|
|
29
|
+
"explore": "loop",
|
|
30
|
+
"build": "loop",
|
|
31
|
+
"verify": "loop",
|
|
32
|
+
"judge": "loop",
|
|
33
|
+
"review": "loop",
|
|
34
|
+
"jira": "loop"
|
|
35
|
+
},
|
|
36
|
+
"frameMs": {
|
|
37
|
+
"hi": 280,
|
|
38
|
+
"think": 420,
|
|
39
|
+
"tool": 260,
|
|
40
|
+
"write": 240,
|
|
41
|
+
"read": 450,
|
|
42
|
+
"ask": 800,
|
|
43
|
+
"success": 420,
|
|
44
|
+
"failure": 380,
|
|
45
|
+
"compact": 380,
|
|
46
|
+
"grandma": 520,
|
|
47
|
+
"bye": 650,
|
|
48
|
+
"delegate": 320,
|
|
49
|
+
"jobs": 900,
|
|
50
|
+
"remember": 800,
|
|
51
|
+
"yolo": 1100,
|
|
52
|
+
"super-yolo": 1100,
|
|
53
|
+
"explore": 420,
|
|
54
|
+
"build": 280,
|
|
55
|
+
"verify": 360,
|
|
56
|
+
"judge": 450,
|
|
57
|
+
"review": 1200,
|
|
58
|
+
"jira": 380
|
|
59
|
+
}
|
|
60
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-pet-emote",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A single reactive pixel-art pet for Pi, driven by local session events with no model calls.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/offluisangel/pi-pet-emote.git"
|
|
9
|
+
},
|
|
10
|
+
"homepage": "https://github.com/offluisangel/pi-pet-emote#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/offluisangel/pi-pet-emote/issues"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "offluisangel",
|
|
17
|
+
"email": "offluisangel@gmail.com"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"test": "node --test \"tests/*.test.ts\"",
|
|
21
|
+
"sprites": "python3 -B scripts/sprites/build.py",
|
|
22
|
+
"scenes": "node scripts/sprites/scenes.ts",
|
|
23
|
+
"pack:check": "node scripts/check-package.mjs",
|
|
24
|
+
"check:generated": "node scripts/check-generated.mjs"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"pi-package",
|
|
28
|
+
"pi",
|
|
29
|
+
"pi-extension",
|
|
30
|
+
"pi-coding-agent",
|
|
31
|
+
"gentle-shell",
|
|
32
|
+
"pixel-art",
|
|
33
|
+
"emote",
|
|
34
|
+
"avatar",
|
|
35
|
+
"tui"
|
|
36
|
+
],
|
|
37
|
+
"files": [
|
|
38
|
+
"src",
|
|
39
|
+
"emotes",
|
|
40
|
+
"docs/avatar.png",
|
|
41
|
+
"config.json",
|
|
42
|
+
"README.md",
|
|
43
|
+
"LICENSE"
|
|
44
|
+
],
|
|
45
|
+
"pi": {
|
|
46
|
+
"image": "./docs/avatar.png",
|
|
47
|
+
"extensions": ["./src/index.ts"]
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@earendil-works/pi-tui": "1.5.2"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
54
|
+
"@earendil-works/pi-tui": "*"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"@earendil-works/pi-coding-agent": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"@earendil-works/pi-tui": {
|
|
61
|
+
"optional": true
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=22.19.0"
|
|
66
|
+
}
|
|
67
|
+
}
|