Commit Graph

341 Commits

Author SHA1 Message Date
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
Il Harper
740a8cb7fc
fix(shell): satori: assets: log error when failed 2024-03-05 23:27:07 +08:00
Il Harper
eddfa63172
fix(api): fix ipcman 2024-03-05 23:26:48 +08:00
Il Harper
874b15c5af
feat(api): add definitions 2024-03-05 23:26:34 +08:00
Il Harper
2d85d4ee22
feat(api): add types 2024-03-05 22:36:33 +08:00
Il Harper
650e19dddb
feat(shell): update uix svc 2024-03-05 22:36:01 +08:00
Il Harper
692f034e93
feat: implement uix add 2024-03-05 22:35:22 +08:00
Il Harper
129fde4994
feat(red): update types 2024-03-05 22:33:47 +08:00
Il Harper
68c9e9deed
feat(red): update types 2024-03-05 22:28:10 +08:00
Il Harper
af389039cc
feat: implement uix add 2024-03-05 22:27:50 +08:00
Il Harper
94262588fc
feat(event): implement message-deleted event 2024-03-05 21:58:34 +08:00
Il Harper
e0b7ab6d3c
feat(api): implement event handlers 2024-03-05 21:43:16 +08:00
Il Harper
cd69bb4fb4
feat(api): implement emitter 2024-03-05 21:42:35 +08:00
Il Harper
73bdd9d780
feat(api): implement entrypoint 2024-03-05 21:36:52 +08:00
Il Harper
0baabc0877
fix(shell): api: fix types 2024-03-05 21:35:11 +08:00
Il Harper
7f0b17ae15
feat(red): update Media 2024-03-05 21:32:05 +08:00
Il Harper
15a3b600c5
feat(api): implement invoke 2024-03-05 21:31:45 +08:00
Il Harper
6b473e4874
refactor(event): update 2024-03-05 21:25:27 +08:00
Il Harper
18ffcdbad1
feat(shell): update ctx 2024-03-05 21:22:13 +08:00
Il Harper
07f282420d
refactor(event): use platform in ctx 2024-03-05 21:20:08 +08:00
Il Harper
dd93e1f125
feat(shell): satori: add routes 2024-03-05 20:34:48 +08:00
Il Harper
fdcc612b3d
fix(event): fix ipcman 2024-03-05 20:33:28 +08:00
Il Harper
fb7bc6dca3
feat(event): implement entrypoint 2024-03-05 20:07:49 +08:00
Il Harper
b4dabd0e6c
refactor: extract red package 2024-03-05 20:07:23 +08:00
Il Harper
cb2c635a85
fix(event): fix parser 2024-03-05 19:40:25 +08:00
Il Harper
55ecde903a
feat(shell): export consts 2024-03-05 19:38:17 +08:00
Il Harper
c076902f04
feat(shell): red: add ipc entity types 2024-03-05 19:36:45 +08:00
Il Harper
1beaa76587
feat(event): add dispatch messages 2024-03-05 19:33:36 +08:00
Il Harper
bb3ce5eaf8
refactor(shell): satori: dispatch message inject ctx 2024-03-05 19:31:23 +08:00
Il Harper
8478cf4437
feat(event): add parser 2024-03-05 19:28:39 +08:00
Il Harper
54bcc15da6
feat(shell): add qface api 2024-03-05 19:19:55 +08:00
Il Harper
1771d2e4df
feat(shell): red: update ipc types 2024-03-05 19:18:19 +08:00
Il Harper
f5998a4019
feat(shell): migrate to thirdqq 2024-03-05 19:12:09 +08:00
Il Harper
fd187e84b3
feat(shell): add uix svc 2024-03-05 19:04:14 +08:00
Il Harper
93aa0b9bcb
feat(shell): config: add migrate warn 2024-03-05 13:17:31 +08:00
Il Harper
dc7f619b48
fix(shell): config: fix codegen 2024-03-05 13:14:22 +08:00
Il Harper
92abde9af2
fix(shell): config: fix task race 2024-03-05 12:53:37 +08:00
Il Harper
4eeef19083
feat: add llqqnt packages 2024-03-05 12:32:12 +08:00
Il Harper
6f848f3f0a
feat(shell): log warn when no engine found 2024-03-05 12:08:37 +08:00
Il Harper
7b3cb39c73
refactor(shell): move message log to index 2024-03-05 12:05:44 +08:00
Il Harper
64528d666a
chore: add electron dts 2024-03-05 02:22:07 +08:00
Il Harper
6e95902bcc
feat(shell): red: add ipc types 2024-03-05 01:56:10 +08:00
Il Harper
c8a691b8a3
fix(shell): update types exports 2024-03-05 01:40:44 +08:00
Il Harper
22aaed1493
fix(shell): server: lift satori filter to server 2024-03-05 01:35:41 +08:00
Il Harper
9f783d10eb
feat(shell): satori: server: add index page 2024-03-05 01:31:23 +08:00
Il Harper
7093035931
fix(shell): fix api svc types 2024-03-05 01:31:08 +08:00
Il Harper
6b3fbf83e2
refactor(shell): update authData svc 2024-03-05 01:19:49 +08:00
Il Harper
12e202d03c
feat(shell): satori: add server 2024-03-05 01:19:31 +08:00
Il Harper
8fd3410a85
feat(shell): add selfProfile svc 2024-03-05 01:18:00 +08:00
Il Harper
d97f3b9bf7
feat(shell): update types 2024-03-05 01:16:23 +08:00
Il Harper
3ab0c1432f
feat(shell): red: add entity types 2024-03-05 01:09:42 +08:00
Il Harper
e23523b04e
feat(shell): update api types 2024-03-05 01:03:52 +08:00
Il Harper
a6c26d5d55
feat(shell): server: inject chronocat context 2024-03-05 01:00:47 +08:00
Il Harper
273392ff8d
feat(shell): satori: add webhook 2024-03-05 00:57:45 +08:00
Il Harper
7ace01cfc8
feat(shell): satori: routes: add noImpl 2024-03-05 00:53:38 +08:00
Il Harper
6eaa4a47a3
feat(shell): satori: routes: add assets 2024-03-05 00:51:53 +08:00
Il Harper
efd37761b6
feat(shell): satori: routes: add types 2024-03-05 00:51:37 +08:00
Il Harper
39b550a377
feat(shell): add consts utils 2024-03-05 00:36:17 +08:00
Il Harper
6d314503d1
feat(shell): add emitter svc 2024-03-05 00:28:23 +08:00
Il Harper
fc2aaaaa31
chore: update lockfile 2024-03-05 00:01:10 +08:00
Il Harper
c4cfe2bbd3
feat(shell): log version 2024-03-04 23:59:22 +08:00
Il Harper
b7d32c5e69
refactor(shell): log engine version 2024-03-04 23:58:18 +08:00
Il Harper
97aa6c01c4
chore: init engine project 2024-03-04 23:52:23 +08:00
Il Harper
087fb4ef17
feat(shell): add jsc support 2024-03-04 14:15:19 +08:00
Il Harper
6091f3e0e9
feat(shell): implement entrypoint 2024-03-04 14:14:29 +08:00
Il Harper
344f40882a
feat(shell): implement server 2024-03-04 13:23:29 +08:00
Il Harper
c7decb3eeb
feat(shell): add api svc 2024-03-04 13:00:28 +08:00
Il Harper
e0caf9452e
fix(shell): import schemas using require 2024-03-04 02:30:02 +08:00
Il Harper
ef897a148c
feat(shell): update codegen 2024-03-04 02:28:51 +08:00
Il Harper
2da8ebc371
feat(shell): add time utils 2024-03-04 02:15:47 +08:00
Il Harper
a611208abb
feat(shell): add fs utils 2024-03-04 02:15:36 +08:00
Il Harper
df6bd55302
feat(shell): add string utils 2024-03-04 02:15:28 +08:00
Il Harper
a1ad8d93ee
feat(shell): add logger svc 2024-03-04 02:15:17 +08:00
Il Harper
de715ad1b0
chore: update build scipts 2024-03-04 02:14:33 +08:00
Il Harper
226cdc2aa7
docs: setup gitignore 2024-03-04 02:13:48 +08:00
Il Harper
3dca6b6ed9
docs: add default config file 2024-03-04 02:13:09 +08:00
Il Harper
58583b1b1e
feat(shell): update codegen 2024-03-04 02:11:06 +08:00
Il Harper
012ce21243
docs: add openapi 2024-03-04 02:06:09 +08:00
Il Harper
c3871fbeb8
feat(shell): add config svc 2024-03-04 02:05:25 +08:00
Il Harper
218efb22ef
refactor(shell): move config into services 2024-03-04 02:05:08 +08:00
Il Harper
640d3261c3
feat(shell): add validate svc 2024-03-04 02:03:19 +08:00
Il Harper
bff08af186
feat(shell): add codegen 2024-03-04 01:43:15 +08:00
Il Harper
4b7264ff25
chore: update build scipts 2024-03-04 01:06:07 +08:00
Il Harper
c53fe624c9
feat(shell): add token utils 2024-03-04 00:41:54 +08:00
Il Harper
f59c581d58
feat(shell): add shims 2024-03-04 00:40:51 +08:00
Il Harper
c987c18944
chore(shell): add electron dts 2024-03-04 00:40:17 +08:00
Il Harper
bf0c5da545
feat(shell): satori: add types 2024-03-04 00:37:49 +08:00
Il Harper
d05928ddba
feat(shell): add authData svc 2024-03-04 00:31:41 +08:00
Il Harper
434d7ce7a3
feat(shell): add baseDir svc 2024-03-04 00:26:33 +08:00
Il Harper
0d068dd323
feat(shell): config: add entity types 2024-03-04 00:24:40 +08:00
Il Harper
bd659a59e6
chore: update build scipts 2024-03-04 00:22:33 +08:00
Il Harper
e272025bdf
chore: init shell 2024-03-03 23:29:54 +08:00
Il Harper
ac5b458993
docs: add README 2024-02-27 21:19:44 +08:00