4thfever
21e56276cd
Merge pull request #5 from xzhseh/xzhseh/fix-fortune-master-relation
...
fix: correct master-apprentice relation direction in fortune event
2026-01-04 20:51:09 +08:00
4thfever
f0290af13a
Merge pull request #4 from xzhseh/xzhseh/fix-gender-display-chinese
...
fix: display gender in Chinese for avatar list API
2026-01-04 20:50:40 +08:00
Zihao Xu
354050e2b5
fix: correct master-apprentice relation in fortune event
...
The set_relation(from, to, rel) means "from views to as rel".
When avatar (student) takes master (teacher), avatar should view
master as MASTER, not APPRENTICE.
Before: avatar.set_relation(master, APPRENTICE) - wrong direction
After: avatar.set_relation(master, MASTER) - correct direction
2026-01-04 01:22:34 -08:00
Zihao Xu
233aea47d3
fix: display gender in Chinese for avatar list API
...
Use str(a.gender) instead of a.gender.value to return Chinese
"男"/"女" instead of English "male"/"female" in the avatar_list
endpoint, consistent with other APIs that use get_structured_info().
2026-01-04 00:59:24 -08:00
Zihao Xu
1a94117607
fix: cross-platform subprocess compatibility for npm dev server
...
On macOS/Linux, using shell=True with a list argument doesn't work as expected.
Only the first element is passed to the shell, causing npm to print help instead
of running the dev command.
Changes:
- Use shell=False + list on macOS/Linux, shell=True + string on Windows.
- Use terminate() instead of taskkill on macOS/Linux for cleanup.
2026-01-03 23:53:31 -08:00
bridge
868e355e41
refactor cast
2026-01-03 23:54:47 +08:00
bridge
11cef02d74
add cast readme
2026-01-03 23:29:25 +08:00
bridge
775d830ec3
add cast
2026-01-03 23:25:38 +08:00
bridge
6129e0f898
update choice helper
2026-01-03 22:30:33 +08:00
bridge
3a9a9fd6f0
add choice helper
2026-01-03 22:26:55 +08:00
bridge
5b5cd79cb5
add circulation manager
2026-01-03 22:15:25 +08:00
bridge
f499f63c50
update
2026-01-03 22:05:45 +08:00
bridge
6cc0c355dd
add more emojis
2026-01-03 21:48:26 +08:00
bridge
5b5ea31d87
refactor avatar effect desc
2026-01-03 21:45:19 +08:00
bridge
e2d03b587d
refactor world desc
2026-01-03 21:25:24 +08:00
bridge
f7a4fb23c8
refactor world desc
2026-01-03 20:25:25 +08:00
bridge
9cb98a61dd
fix mutual action interact with self bug
2026-01-03 20:08:53 +08:00
bridge
561f1efe21
add emoji to frontend
2026-01-01 15:08:09 +08:00
bridge
b43530ee99
refactor economy prices
2025-12-31 23:41:45 +08:00
bridge
7197dd1acb
refactor equip
2025-12-31 23:18:47 +08:00
bridge
1941218665
fix effects
2025-12-31 22:31:30 +08:00
bridge
462c28fb30
fix effects
2025-12-31 22:26:44 +08:00
bridge
6dc0447293
add misfortune
2025-12-30 23:16:10 +08:00
bridge
17ca0cbbce
add misfortune
2025-12-30 23:09:29 +08:00
bridge
f14ea0b92e
refactor llm config
2025-12-30 22:27:27 +08:00
bridge
d55ada7d66
refactor llm config
2025-12-30 22:20:30 +08:00
bridge
b8a4850e80
add llm config panel
2025-12-30 21:23:30 +08:00
bridge
5b0bba517a
add test connectivity
2025-12-30 20:45:30 +08:00
bridge
853e74630e
fix api key bug
2025-12-29 22:56:49 +08:00
bridge
ca9c0a69af
support openai format api
2025-12-29 22:18:18 +08:00
bridge
05c31491c3
refactor llm task modes
2025-12-29 22:09:25 +08:00
bridge
c2cb8098ee
update llm
2025-12-29 22:02:44 +08:00
bridge
6a4059280a
refactor death
2025-12-29 21:46:26 +08:00
bridge
6e380f1161
remove mp
2025-12-22 00:30:09 +08:00
bridge
162ea8efe2
refactor llm
2025-12-20 22:13:26 +08:00
bridge
e8489fcc25
fix bugs
2025-12-20 21:43:18 +08:00
bridge
55a3f3f8cb
fix bugs
2025-12-20 21:36:19 +08:00
bridge
3c586f936c
add event handler auto go down logic
2025-12-20 21:25:57 +08:00
bridge
57c669be47
fix bugs
2025-12-20 21:16:09 +08:00
bridge
8fb81c3473
refactor relation add and cancel
2025-12-20 20:30:30 +08:00
bridge
3d117c2fb2
fix tile region = none bug
2025-12-20 19:26:53 +08:00
bridge
c772edfff0
refactor story teller
2025-12-20 18:18:37 +08:00
bridge
9a681a51f8
refactor prompt template
2025-12-20 18:08:04 +08:00
bridge
0890fc18b2
add pytest
2025-12-18 22:08:06 +08:00
bridge
acf7d9dd35
refactor conversation
2025-12-18 21:52:00 +08:00
bridge
3ca5333246
fix save bugs
2025-12-15 00:12:21 +08:00
bridge
30a10bbb1c
add pytest
2025-12-14 15:13:48 +08:00
bridge
6b0bf25699
fix pngs
2025-12-14 14:59:25 +08:00
bridge
864b03b460
fix incorrect prob
2025-12-13 22:44:01 +08:00
bridge
32fc37125c
add cultivate desc
2025-12-13 22:21:34 +08:00