Commit Graph

342 Commits

Author SHA1 Message Date
Il Harper
cb8d727e7a
test(api): add tests for br p a elements 2024-04-06 03:42:26 +08:00
Il Harper
cc1db1613a
test: refactor tests 2024-04-06 03:36:06 +08:00
Il Harper
98169d33d0
test: fix tests 2024-04-06 03:19:15 +08:00
Il Harper
312b01acff
fix(api): report sent message 2024-04-06 02:35:58 +08:00
Maiko Sinkyaet Tan
373ebf191f
feat(api): add <p> and <a> and <br> elements (#5)
* feat: add `<p>` and `<a>` elements

* fix: typo

* Update messager.ts

* fix: remove condition

* fix: should build text before push

* feat: add <br> element

* feat: implement normalise and isEndline function

* fix: type errors

* fix: <a> insert space

* fix: type

* fix: format
2024-04-06 02:20:28 +08:00
Il Harper
a7db769a82
chore(shell): update config type docs 2024-04-06 02:09:29 +08:00
Il Harper
db639d2314
fix(event): unset id when id's string "0" 2024-04-02 00:48:44 +08:00
Il Harper
5558837db5
chore: bump versions 2024-03-31 17:15:00 +08:00
Il Harper
d1df72b3b4
chore: update genlog script 2024-03-31 17:09:19 +08:00
Il Harper
ac6206bf1c
docs: update docs 2024-03-31 17:08:22 +08:00
Il Harper
5c3da1d168
docs: add blog crychiccat 2024-03-31 17:04:56 +08:00
Il Harper
cd499dc268
docs: add blog 020 2024-03-31 14:28:07 +08:00
Il Harper
ad73ccd93a
feat(api): update messager 2024-03-30 23:03:36 +08:00
Il Harper
a9781d2098
fix(event): face element do not set no-unsafe-super attr 2024-03-29 17:48:24 +08:00
Il Harper
579622df1a
fix: fix chrononeko/bugtracker#56 2024-03-29 17:46:27 +08:00
Il Harper
caac694222
feat(shell): add poke/markdown api defs 2024-03-29 17:24:59 +08:00
Il Harper
a721bae33a
test: fix tests 2024-03-20 00:57:20 +08:00
Il Harper
2abd3fc727
docs: update openapi 2024-03-19 23:48:50 +08:00
Il Harper
94cbc0dfac
feat(api): implement guild.member.mute 2024-03-19 23:44:00 +08:00
Il Harper
a8bfeadc0c
chore: lint 2024-03-18 21:03:00 +08:00
MicroBlock
67b0e4bb0d
docs: fix style 2024-03-17 14:48:16 +08:00
MicroBlock
a974e24588
docs: fix style 2024-03-17 14:08:07 +08:00
MicroBlock
7b151e7c69
Update README.md 2024-03-17 14:07:41 +08:00
Il Harper
abc1545377
chore: bump versions 2024-03-17 03:04:29 +08:00
Il Harper
b4e9817b5d
fix(api): fix msgBoxActiv svc 2024-03-17 02:58:45 +08:00
Il Harper
a55fb930ab
fix: fix message receive for 22xxx 2024-03-17 02:49:08 +08:00
Il Harper
c1086a704f
feat(shell): add receive_msgbox config 2024-03-17 02:48:40 +08:00
Il Harper
07170f2b80
fix: fix msgbox message receive for 22xxx 2024-03-17 02:40:36 +08:00
Il Harper
1ad562e136
feat: update uix add 2024-03-16 23:48:05 +08:00
Il Harper
0c8919a0db
chore: lint 2024-03-16 21:59:39 +08:00
MicroBlock
ef29c47202
docs: update related projects image 2024-03-15 21:26:20 +08:00
MicroBlock
1eeb3d57c7
docs: update related projects links 2024-03-15 21:23:31 +08:00
Il Harper
8586ebcd54
test: fix tests 2024-03-13 22:57:27 +08:00
Il Harper
2fa2342465
test(api): init tests 2024-03-13 22:50:07 +08:00
Il Harper
a43066f17b
test: fix esm packages 2024-03-13 22:22:27 +08:00
Il Harper
495ede6b53
test(events): init tests 2024-03-13 22:22:27 +08:00
我怎么就不是一只猫呢?
105ee6f0f9 Update index.mdx
change satori-sdk-go's repo url
2024-03-12 21:19:30 +08:00
Yurn
89600bb732 Update index.mdx 2024-03-12 14:51:32 +08:00
Il Harper
322dfc1f36
docs: update README 2024-03-11 14:01:08 +08:00
XZhouQD
ea8278f971 docs: fix README navigator 2024-03-11 01:03:43 +08:00
Il Harper
af067939c3
docs: update README 2024-03-10 23:21:25 +08:00
Il Harper
48de6943de
docs: fix docs 2024-03-10 21:12:39 +08:00
Il Harper
9cc8900e25
docs: upgrade docs to v0.2 2024-03-10 21:04:15 +08:00
Il Harper
5107fd5803
docs: refactor docs 2024-03-10 20:10:43 +08:00
Il Harper
94460dc596
chore: bump versions 2024-03-10 14:21:35 +08:00
Il Harper
a40429de0a
docs: update CHANGELOG 2024-03-10 14:21:14 +08:00
Il Harper
1311e1b5d1
feat(api): guild.get get name 2024-03-10 14:20:41 +08:00
Il Harper
2800c7c8e4
fix(api): fix guild.get 2024-03-10 14:18:59 +08:00
Il Harper
4a098692c5
fix(iife): fix engine load 2024-03-10 14:05:36 +08:00
Il Harper
4e8f62b739
chore: bump versions 2024-03-10 02:40:24 +08:00
Il Harper
aa06467f84
refactor(shell): update init log 2024-03-10 02:38:06 +08:00
Il Harper
a0513be6c5
chore(llqqnt): update description 2024-03-10 01:52:43 +08:00
Il Harper
b483aaf9c0
refactor(iife): update bundle code 2024-03-10 01:39:50 +08:00
Il Harper
d9c736f07d
refactor(llqqnt): do not bundle engine 2024-03-10 01:36:37 +08:00
Il Harper
d4a91b3d9a
refactor(shell): api: do not use sym 2024-03-10 01:25:21 +08:00
Il Harper
461c8b5e25
chore: lint 2024-03-10 01:14:56 +08:00
Il Harper
b11abb564a
refactor: use esbuild-register 2024-03-09 20:41:26 +08:00
Il Harper
9c6cea294c
chore: update projects 2024-03-09 20:30:45 +08:00
impart我的impart呢
e121d6ed42
feat: add zero width log tag for log lines 2024-03-09 16:03:02 +08:00
impart我的impart呢
21ac6e4eea
refactor: remove unused import 2024-03-09 11:32:36 +08:00
impart我的impart呢
41b75a9f83
style: reformat code 2024-03-09 11:31:27 +08:00
impart我的impart呢
2ad0f83101
refactor: startup text 2024-03-09 11:31:02 +08:00
impart我的impart呢
214be2950a
refactor: make chronocat() synchronized 2024-03-09 11:29:48 +08:00
impart我的impart呢
2bf8ad5ff6
docs: remove redundant log background 2024-03-09 11:09:01 +08:00
impart我的impart呢
d90a186257
fix: impl detection 2024-03-09 11:05:33 +08:00
impart我的impart呢
3f6414d624
chore: add prettier .vscode config 2024-03-09 11:02:33 +08:00
impart我的impart呢
e70715269c
refactor: startup 2024-03-09 02:53:56 +08:00
impart我的impart呢
0b1d2172d1
refactor: improve startup text 2024-03-09 02:51:48 +08:00
impart我的impart呢
67968c685c
chore: do not rebuild if code is not changed 2024-03-09 02:33:18 +08:00
impart我的impart呢
41b0eba4ce
refactor: changed mount point of outer context 2024-03-09 02:13:29 +08:00
impart我的impart呢
9d86112584
refactor: separate satori methods and internal methods 2024-03-09 01:49:57 +08:00
impart我的impart呢
49d12becef
feat: properly deal with duplicated api registration 2024-03-09 01:46:40 +08:00
impart我的impart呢
25a78dbc7d
revert: enable incremental for packages for attempt to improve compile speed 2024-03-09 01:42:30 +08:00
impart我的impart呢
78c239bd2b
chore: enable incremental for packages for attempt to improve compile speed 2024-03-09 01:35:36 +08:00
impart我的impart呢
e86767c34c
docs: add code jump tips 2024-03-09 01:08:43 +08:00
impart我的impart呢
f721816d9e
refactor: cool startup text! 2024-03-09 01:06:22 +08:00
impart我的impart呢
fab7c2c6f9
docs: improve config parse error message 2024-03-09 00:38:57 +08:00
impart我的impart呢
a06cda8154
feat: add tips for engine loading 2024-03-09 00:36:14 +08:00
impart我的impart呢
32b88cff62
refactor: wrap ansi-styles
damn disaster
2024-03-09 00:29:57 +08:00
impart我的impart
6f5fb99afe
ci: upload iife and iife ti artifact 2024-03-08 23:52:23 +08:00
impart我的impart
15cddefa00
refactor: replace ts-node with esbuild-register 2024-03-08 23:45:57 +08:00
impart我的impart
1cae1a0720
feat: implement iife 2024-03-08 23:43:24 +08:00
impart我的impart
7ea06d1ef8
refactor: engine loading method 2024-03-08 23:30:41 +08:00
Il Harper
c612db09fd
docs: fix docs 2024-03-08 20:41:31 +08:00
Il Harper
09b7d625df
fix(event): ensure member resource in guild-member-added 2024-03-08 20:12:44 +08:00
Il Harper
741782347b
chore: bump versions 2024-03-08 19:44:17 +08:00
Il Harper
4af8985686
fix(shell): satori: server: fix routes 2024-03-08 19:43:47 +08:00
Il Harper
f4d5939565
feat(api): implement unsafe.friend.remove 2024-03-08 19:30:09 +08:00
Il Harper
81a6ed1449
feat(api): implement friend.approve 2024-03-08 19:27:14 +08:00
Il Harper
122ee09de9
feat(api): implement friend.list 2024-03-08 19:23:25 +08:00
Il Harper
163fcda9d2
feat(api): implement user.get 2024-03-08 19:17:55 +08:00
Il Harper
df371ce674
feat(api): implement message.list 2024-03-08 17:02:51 +08:00
Il Harper
bf14ad477f
feat(api): implement message.delete 2024-03-08 16:53:50 +08:00
Il Harper
6f71181ee2
feat(api): implement message.get 2024-03-08 16:38:08 +08:00
Il Harper
cff63fd29f
feat(api): implement guild.member.kick 2024-03-08 16:19:53 +08:00
Il Harper
d0df894c10
feat(api): implement guild.member.list 2024-03-08 16:10:31 +08:00
Il Harper
45d644947e
feat(api): implement guild.member.get 2024-03-08 16:04:44 +08:00
Il Harper
c6374f574d
feat(api): implement guild.remove 2024-03-08 15:59:37 +08:00
Il Harper
618d0972d0
fix(shell): fix types 2024-03-08 15:57:30 +08:00
Il Harper
b794c95be0
refactor(shell): allow void in return type 2024-03-08 15:53:36 +08:00
Il Harper
b71a61a430
feat(api): implement guild.approve 2024-03-08 15:51:57 +08:00
Il Harper
991f654b49
feat(api): implement guild.list 2024-03-08 15:41:59 +08:00
Il Harper
6e499f499f
feat(api): implement guild.get 2024-03-08 15:36:37 +08:00
Il Harper
8e38e33069
feat(api): implement user.channel.create 2024-03-08 15:16:36 +08:00
Il Harper
1d5ed2d05e
feat(api): implement channel.get 2024-03-08 15:07:27 +08:00
Il Harper
1205dc7d18
feat(shell): always load bundled engine 2024-03-08 13:55:20 +08:00
Il Harper
32e8060fac
feat(api): implement channel.list 2024-03-08 12:55:54 +08:00
Il Harper
6efc21489d
feat(api): implement unsafe.channel.mute 2024-03-08 12:40:20 +08:00
Il Harper
10b7362656
feat(api): implement unsafe.channel.member.mute 2024-03-08 12:37:00 +08:00
Il Harper
ae9b642ed5
fix(shell): satori: server: use dummy as base url 2024-03-08 12:12:04 +08:00
Il Harper
81ca85e1ff
refactor(llqqnt): merge llqqnt packages 2024-03-08 12:10:25 +08:00
Il Harper
70f49f0e6c
docs: update 2024-03-08 12:06:28 +08:00
Il Harper
89a88da198
fix(api): fix types 2024-03-08 03:26:39 +08:00
Il Harper
eea0d144a3
chore: bump versions 2024-03-08 03:19:29 +08:00
Il Harper
90941772fb
fix(shell): logger: fix newline 2024-03-08 03:18:26 +08:00
Il Harper
0b9e6970a1
feat(api): implement login.get 2024-03-08 03:16:14 +08:00
Il Harper
3c7c3e1c1b
feat(shell): enhance api error log 2024-03-08 03:07:58 +08:00
Il Harper
5dd68dca49
fix(shell): fix engine load 2024-03-08 03:00:15 +08:00
Il Harper
32f24c5ce2
feat(api): implement chronocat.internal.qface.get/list 2024-03-08 02:02:01 +08:00
Il Harper
2f41a2c89b
refactor(shell): satori: use standard error codes 2024-03-08 01:56:35 +08:00
Il Harper
6c5404e508
feat: bundle engines 2024-03-07 19:23:11 +08:00
Il Harper
3611c745ec
refactor: extract ipcman handler 2024-03-06 23:39:29 +08:00
Il Harper
1d30a45d1f
fix: fix at element 2024-03-06 23:16:44 +08:00
Il Harper
cdce410c8b
docs: fix config schema 2024-03-06 13:19:38 +08:00
Il Harper
fb7f948ff4
chore: update genlog script 2024-03-06 13:10:53 +08:00
Il Harper
73d9fbd7dc
feat: implement uix add 2024-03-06 13:03:02 +08:00
Il Harper
f9205d279e
fix(api): fix message.create 2024-03-06 13:00:00 +08:00
Il Harper
bd71c521d5
refactor(api): update message.create 2024-03-06 12:46:49 +08:00
Il Harper
ded417ad5d
chore: update lockfile 2024-03-06 12:41:55 +08:00
Il Harper
1ec90d1dfd
feat(shell): filter out invalid engine 2024-03-06 12:36:41 +08:00
Il Harper
0277077fbf
docs: add docs project 2024-03-06 12:32:45 +08:00
Il Harper
9914baa8db
refactor(api): update message.create 2024-03-06 12:22:20 +08:00
Il Harper
6b3ea9e209
fix(shell): fix api 2024-03-06 12:20:47 +08:00
Il Harper
fed0b39b27
feat(api): register api 2024-03-06 12:15:45 +08:00
Il Harper
81211eaea6
refactor(event): use injected ctx 2024-03-06 12:06:23 +08:00
Il Harper
fe8a6274d0
feat(event): implement chronocat.internal.red.message.parse 2024-03-06 12:03:11 +08:00
Il Harper
142d60fadd
fix(api): fix types 2024-03-06 12:02:47 +08:00
Il Harper
dff71c7ec5
refactor(red): update types 2024-03-06 12:00:00 +08:00
Il Harper
5669c402b9
feat(api): implement message.create 2024-03-06 11:59:49 +08:00
Il Harper
cceea79bd8
feat(shell): add api chronocat.internal.red.message.parse 2024-03-06 11:30:29 +08:00
Il Harper
e474f77790
fix(shell): fix api svc types 2024-03-06 11:17:49 +08:00
Il Harper
5957ecacad
refactor(shell): api message.create require config 2024-03-06 11:13:47 +08:00
Il Harper
b660c4cb38
feat(shell): log error if calling not registered api 2024-03-06 11:04:28 +08:00
Il Harper
79934d435b
feat(shell): satori: message.create support forward 2024-03-06 10:41:52 +08:00
Il Harper
cd8b996673
feat(shell): satori: update types 2024-03-06 10:41:15 +08:00
Il Harper
e2c201c8c4
feat(shell): inject h & styles 2024-03-06 10:40:54 +08:00
Il Harper
c983cb77ba
feat(shell): satori: implement message.create 2024-03-05 23:53:00 +08:00
Il Harper
e59f2668f5
docs: add logo assets 2024-03-05 23:32:15 +08:00
Il Harper
62030ddf7f
fix(api): fix invoke 2024-03-05 23:31:05 +08:00
Il Harper
b3589da439
feat(api): implement chronocat.internal.assets.get 2024-03-05 23:27:33 +08:00