Skip to content
This repository was archived by the owner on Jul 23, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
679 commits
Select commit Hold shift + click to select a range
ecb7b97
[Milky] Add configuration comments and schema
NoirHare Jun 4, 2025
3740979
[Milky] Update the configuration schema
NoirHare Jun 4, 2025
06c28e4
[Milky] Change the default log level to Information
NoirHare Jun 4, 2025
8141f15
[Milky] Update configuration comments
NoirHare Jun 4, 2025
9e2d2b1
[Milky] Update configuration comments
NoirHare Jun 4, 2025
4e13a0f
[Milky] Update README
NoirHare Jun 4, 2025
b28bdad
[Milky] update comments
NoirHare Jun 4, 2025
066abf6
[Milky] Implemented get_impl_info
NoirHare Jun 5, 2025
d649bea
[Milky] Add ignore bot message configuration
NoirHare Jun 5, 2025
26fa5ee
[Core] Implemented GetGroupMessage
Linwenxuan04 Jun 11, 2025
0a9f5ea
[Core] Fixed Definition of SsoGetGroupMsg
Linwenxuan04 Jun 11, 2025
3c5ff5a
[Core] Remove Socket Highway
Linwenxuan04 Jun 11, 2025
4543401
[Milky] Adapt removal of UseHttpHighway API
Linwenxuan04 Jun 11, 2025
1abecd0
[Milky] Refactor` Convert` and implement reply of `send_group_message`
NoirHare Jun 11, 2025
eeffb1b
[Milky] Implemented `message_scene` for `group`'s `get_message` and `…
NoirHare Jun 12, 2025
4d8823a
[Milky] Remove `client_seq`
NoirHare Jun 12, 2025
a1666ab
[Milky] Fix `message_receive` is missing some fields
NoirHare Jun 12, 2025
eca8b9c
[Milky] Fix friend messages use an incorrect sequence
NoirHare Jun 13, 2025
d9b4535
[Milky] Reorganize files
NoirHare Jun 13, 2025
6e034ba
[Milky] Supported Message Cache
NoirHare Jun 13, 2025
a66830f
[Milky] Some support private chat reply
NoirHare Jun 13, 2025
894d013
[Milky] Fix default values ​​for prompts in config
NoirHare Jun 13, 2025
f082d87
[Milky] Fix private message cache invalidation
NoirHare Jun 13, 2025
d5a2adb
[Milky] Follow milky to add `qid` to `GroupMember`
NoirHare Jun 13, 2025
46aaf4a
[Milky] Follow milky to add `qid` to `GroupMember`
NoirHare Jun 13, 2025
26286c8
[Milky] Follow Milky to roll back GroupMember changes
NoirHare Jun 13, 2025
dc98ff3
[Milky] Update Default Configuration
NoirHare Jun 13, 2025
5542147
[Milky] Update Default Configuration
NoirHare Jun 13, 2025
f01ce58
[Milky] Implemented Send ForwardSegment
NoirHare Jun 14, 2025
80805e8
[Milky] Fix MD5 calculation error when sending pictures over the network
NoirHare Jun 14, 2025
1c42a61
[Milky] update readme
NoirHare Jun 14, 2025
ad891ac
[Milky] update readme
NoirHare Jun 14, 2025
9c4add9
[Milky] Rollback the last commit
NoirHare Jun 14, 2025
9f7a5f1
[Proto] Fixed ARM64 Compatibility for Proto
Linwenxuan04 Jun 17, 2025
af834dd
[Core] Fallback to Software for AES on ARM Platform
Linwenxuan04 Jun 17, 2025
a93ad0a
[Milky] Corrected some type declarations and Json annotations
NoirHare Jun 17, 2025
dd24f7b
[Milky] Re-Add macOS target
Wesley-Young Jun 17, 2025
f266282
[Core] Fixed Uploading Span of UploadBuffer
Linwenxuan04 Jun 17, 2025
3f068cf
[Core] Fixed Filename for Uploading the file
Linwenxuan04 Jun 17, 2025
62f165d
[Core] Fixed Url for HighwayUrls
Linwenxuan04 Jun 17, 2025
77afc64
[Core] Implemented trpc.msg.register_proxy.RegisterProxy.SsoGetRoamMsg
Linwenxuan04 Jun 17, 2025
99083bb
[Core] Fixed Compat Image Logic
Linwenxuan04 Jun 17, 2025
b3307df
[Milky] fix appsettings.jsonc schema
NoirHare Jun 20, 2025
5092503
[Core] Fix Highway up block AppId
Wesley-Young Jun 21, 2025
7305d03
[Core] Use ReadOnlyMemoryContent for Highway to avoid copying
Linwenxuan04 Jun 22, 2025
ec7acfe
[Solution] Migrate to .slnx
Linwenxuan04 Jun 22, 2025
1b67727
[Core] Fixed offset handling for Highway
Linwenxuan04 Jun 22, 2025
7e59440
[Core] Share logic between ResolveGroup and ResolveMember
Wesley-Young Jun 23, 2025
5fbd7d8
[Core] Expose fileId for GroupFSUpload
Linwenxuan04 Jun 28, 2025
a4c4b87
[Core] Implemented GetC2CMessage
Linwenxuan04 Jun 28, 2025
83981a1
[CI] Temporarily disable AOT in Milky build
Wesley-Young Jun 28, 2025
714c539
[Core] Change to PeerUid for GetC2CMessage
Linwenxuan04 Jun 28, 2025
9aed2f5
[Core] Return seq for SendFriendFile
Linwenxuan04 Jun 28, 2025
921216c
[CI] Publish Trimmed Binary for Milky
Wesley-Young Jun 28, 2025
979f2b3
[Core] Fixed Two's complement form for Oidb_0x6D9/Oidb_0x6d6
Linwenxuan04 Jun 28, 2025
4cec2ee
[Milky] Supported `upload_group_file`
NoirHare Jun 28, 2025
4bbc157
[Milky] Supported reply outgoing segment
NoirHare Jun 28, 2025
ef771be
[Milky] Supported get_message api
NoirHare Jun 28, 2025
3241ab9
[Milky] Partial support for `get_history_messages` api
NoirHare Jun 28, 2025
fd3fbb5
[Milky] Partial support for `upload_private_file` api
NoirHare Jun 28, 2025
3c2462c
[Core] Reworked EventInvoker
Linwenxuan04 Jun 28, 2025
ac9630d
[Core] Refactored WtExchangeLogic to decrease Cognitive Complexity
Linwenxuan04 Jun 28, 2025
e3a46d4
[Core] Add null fallback for all string entity fields
Wesley-Young Jun 28, 2025
e89207d
[Milky] Add check to source generator to prevent type error
Wesley-Young Jun 28, 2025
e6b46b1
[Milky] Accept out-of-order metadata for unpredictable API callers
Wesley-Young Jun 28, 2025
beb691b
[Milky] Make the checked class name const
Wesley-Young Jun 28, 2025
6680d81
[Milky] Better generators
NoirHare Jun 28, 2025
d16f851
[Milky] Add `IEmptyParameterApiHandler<TResult>` interface and `IEmpt…
NoirHare Jun 29, 2025
7d55bbb
[Milky] Added parsing for `IEmptyParameterApiHandler<TResult>` and `I…
NoirHare Jun 29, 2025
3349f9b
[Milky] Modify the diagnostic ID
NoirHare Jun 29, 2025
dd32d90
[Milky] Fix response not closed (#11)
XeronOwO Jun 29, 2025
cb373fc
[Milky] fix empty AccessToken cannot be recognized
NoirHare Jun 29, 2025
270869e
[Core] Do not dispose User stream
Linwenxuan04 Jun 29, 2025
538a193
[Milky] Use KeyValuePair instead of cache node
NoirHare Jun 29, 2025
9b02826
[Milky] Partially implement the hidden _send_packet interface
NoirHare Jun 29, 2025
b05263e
[Milky] Implemented `_send_packet` api
NoirHare Jun 30, 2025
eca0563
[Milky] Fix some exception
NoirHare Jun 30, 2025
de42894
[Core] Supported Custom time for BotMessage.Create
Linwenxuan04 Jul 1, 2025
b5109c4
[Core] Implemented Legacy Ptt Parsing
Linwenxuan04 Jul 1, 2025
38ccea0
[Core] Changed the way of Disposing Streams
Linwenxuan04 Jul 1, 2025
36e0aac
[Core] Added AndroidWatch AppInfo
Linwenxuan04 Jul 1, 2025
3964f6e
[Core] Make AndroidWatch a member of AndroidProtocol
Linwenxuan04 Jul 1, 2025
367c405
[Core] Change Login Logic for Watch
Linwenxuan04 Jul 1, 2025
30c9019
[Milky] Supported android watch signer
NoirHare Jul 2, 2025
f4a64c4
[Milky] Fix some streams are not closed, causing memory leaks
NoirHare Jul 2, 2025
c94af09
[Milky] Implemented `set_group_name` (#12)
XeronOwO Jul 2, 2025
5e4faaa
[Core & Milky] Implemented `set_group_member_special_title` (#13)
XeronOwO Jul 2, 2025
b61a7db
[Core & Milky] Implement `set_group_member_card`
Szzrain Jul 3, 2025
4819f36
[Core & Milky] Implement `set_group_member_card` (#14)
Wesley-Young Jul 3, 2025
27a0110
[Core & Milky] Implement `quit_group` (#16)
Szzrain Jul 5, 2025
2513976
[Milky] Add watch display for GetImplInfoHandler
NoirHare Jul 6, 2025
0339b4c
[Milky] Change some namespace
NoirHare Jul 6, 2025
8eb5173
[Milky] Add successful login log
NoirHare Jul 6, 2025
ed20c92
[Milky] Add event log
NoirHare Jul 6, 2025
3688df3
[NativeAPI]Fix Missing ReverseEvent Count (#20)
KusaGumina Jul 16, 2025
a67aa07
[Milky] Fix MentionAll display (#19)
ProgramRipper Jul 24, 2025
2d8f1a5
[Core & Milky] Implement `group_nudge` Event (#18)
Szzrain Jul 24, 2025
1761e09
[NativeAPI] 修复 BotKeystore 传递错误 (#25)
kamenomi-dev Jul 27, 2025
41d4622
[Milky] Add ShutUpEndTime to GroupMember entity
NoirHare Jul 29, 2025
36a7537
[NativeAPI] 修复 ReplyEntity 构造错误 (#26)
kamenomi-dev Jul 30, 2025
642a6d6
[NativeAPI] 修复 SendGroupMessage 返回错误 (#29)
kamenomi-dev Aug 2, 2025
ca44a2f
[Milky] remove direction from get_history_messages
NoirHare Aug 4, 2025
70a15bf
[NativeAPI] 补充了 BotMessageStruct 的 Group 成员空白 (#31)
kamenomi-dev Aug 5, 2025
d6a06a2
[Core & Milky] Implement `group_member_decrease` Event (#23)
Szzrain Aug 7, 2025
160a82d
[Core] Implemented FetchGroupNotifications and its required APIs (#33)
A-n-o-n-0 Aug 14, 2025
87e1f45
[Core] Bump version: 2.0.3-beta
NoirHare Aug 14, 2025
a382f9a
[Core] Implemented group join event and group invite event (#34)
A-n-o-n-0 Aug 14, 2025
de92028
[Core] Bump version: 2.0.4-bate
NoirHare Aug 14, 2025
c00cd29
[Milky] change nullity of various fields
NoirHare Aug 14, 2025
64cc028
[Core] Implemented SetGroupNotification api (#35)
A-n-o-n-0 Aug 15, 2025
ca94dc6
[Milky] add next_message_seq to get_history_messages output(SaltifyDe…
NoirHare Aug 15, 2025
df32c4c
[Milky] make next_.*_seq optional in case of encountering the end (Sa…
NoirHare Aug 15, 2025
50eb7b0
[Core] Implemented VideoEntity's VideoSize, VideoLength
NoirHare Aug 15, 2025
217b800
[Milky] append more meta info to incoming media segments (SaltifyDev/…
NoirHare Aug 15, 2025
938946e
[Core & NativeAPI] 同步 Core 更改到 NativeAPI,并纠正了 Core 的笔误。 (#38)
kamenomi-dev Aug 17, 2025
ab88b90
[Core & Milky] Implement `friend_request` event (#39)
Szzrain Aug 18, 2025
6f729b5
[Core] Implemented filtered group notification related API (#36)
A-n-o-n-0 Aug 18, 2025
5e6300d
[Core & Milky] Implement `group_invitation` event (#40)
Szzrain Aug 18, 2025
d79d867
[Core] Fix Sequence exceeds int in certain cases And ReSharper Shut Up
NoirHare Aug 20, 2025
4d784f6
[Core] Fix Sequence exceeds int in certain cases And ReSharper Shut Up
NoirHare Aug 20, 2025
0418b8b
[Core] Revert refactor to WtExchangeLogic
Linwenxuan04 Aug 20, 2025
cb1d0ca
[Core] [Milky] Refactored SignProvider to access the BotContext (#46)
Linwenxuan04 Aug 21, 2025
097b0c0
[Core] Implemented group reaction related api (#45)
A-n-o-n-0 Aug 21, 2025
7708358
[NativeAPI] 同步 Core 功能添加 (#47)
kamenomi-dev Aug 21, 2025
d1284e5
[Core] Merge group invite self to group notification
NoirHare Aug 21, 2025
777ca70
[Core] Improve group nudge event
NoirHare Aug 21, 2025
76d94ee
[Core & Milky] Improve BotStranger and implement get_user_profile
NoirHare Aug 21, 2025
5b5c54b
[Milky] Adapting to the new BotSignProvider
NoirHare Aug 21, 2025
62dbc9d
[Milky] Implemented get_group_notification/send_group_message_reactio…
NoirHare Aug 22, 2025
6a8228a
[All] update .editorconfig
NoirHare Aug 22, 2025
d334a3f
[NativeAPI] remove BotGroupInviteSelfEventStruct
NoirHare Aug 22, 2025
bb60e13
[NativeAPI] try to fix
NoirHare Aug 22, 2025
38fa15b
[Milky] standardize naming of fields with name in name (SaltifyDev/mi…
NoirHare Aug 22, 2025
8f39879
[NativeAPI] 修复了群聊通知事件中的类型错误 (#49)
kamenomi-dev Aug 23, 2025
47473b9
[NativeAPI] 捕捉来自 MessageBuilder 中 Send 方法的特定情况下(被禁言)的错误抛出 (#51)
kamenomi-dev Aug 25, 2025
9e98020
[Core] Bump Version
NoirHare Aug 25, 2025
642f909
[Core] Reduce the level of some logs
NoirHare Aug 26, 2025
8f3b216
[Core] Bump version from 2.0.5-beta to 2.0.6-beta
NoirHare Aug 26, 2025
8433921
[Runner] Restore before lwx finds out
NoirHare Aug 26, 2025
8bbb83e
[Core] Add specific exception for Stranger not found (#52)
A-n-o-n-0 Aug 26, 2025
d9b0d07
[Core] Bump version from 2.0.6-beta to 2.0.7-beta
NoirHare Aug 26, 2025
d8eb56d
[Core] Reduce the level of some logs
NoirHare Aug 26, 2025
3705689
[Core] Bump version to 2.0.8-beta
NoirHare Aug 26, 2025
2d9b8a5
[Milky] provide concise display tip text for recall & nudge
NoirHare Aug 29, 2025
c9b6019
[NativeAPI] MessageBuilder 增加了一部分消息实体 (#53)
kamenomi-dev Aug 30, 2025
718efc4
[NativeAPI] 同步 Core 更改 (#54)
kamenomi-dev Aug 31, 2025
964e6ee
Update appsettings_schema.json
NoirHare Sep 5, 2025
bbd096c
Update appsettings.jsonc
NoirHare Sep 5, 2025
62e1eb6
[Core] Reduce the Cognitive Complexity of WtExchangeLogic
Linwenxuan04 Sep 8, 2025
7617d90
[Proto] Fix ProtoWriter buffer growth for large byte arrays
Linwenxuan04 Sep 11, 2025
0206ad9
[Proto] Enhance Proto serialization to handle nullable types and impr…
Linwenxuan04 Sep 11, 2025
4b53bd1
[Proto] Refactor ZigZag encoding and decoding methods for improved cl…
Linwenxuan04 Sep 11, 2025
47e36db
[Core] Add FlashTransfer Logic, Fix Aot and mac sending image issue (…
Lilyltt Sep 11, 2025
c5ec317
[Milky] Re-introduce AOT publishing (#60)
Wesley-Young Sep 11, 2025
2bf28db
[Milky] Suppress the IL3050 Risk
Linwenxuan04 Sep 13, 2025
bfca6e8
[Proto] Serialize the fields as uint to avoid signed extend
Linwenxuan04 Sep 13, 2025
a3fa02a
[Milky] Refactor AddApiHandlers method to improve internal structure …
Linwenxuan04 Sep 15, 2025
428c0ea
[Proto] Implement SIMD-optimized encoding for two 32-bit varint value…
Linwenxuan04 Sep 15, 2025
abafba5
[Core & Milky] Implement GroupFileEntity and `file` Segment (#65)
Wesley-Young Sep 20, 2025
f444380
[Core & NativeAPI] 跟进 Core 更改并更改 Core 的 GroupFileEntity 类型的Md5成员 (#66)
kamenomi-dev Sep 20, 2025
c0b8dd3
[Core] Resolve `null` in event parsing (#67)
Wesley-Young Sep 24, 2025
aff8f9e
Bump Lagrange.Core version from 2.0.8-beta to 2.0.9-beta
NoirHare Sep 24, 2025
038b9a8
[Core] Add FlashTransfer.UploadFile appId parameter, fix friend image…
ProgramRipper Sep 26, 2025
e7a0f02
[Proto.CodeGen] Added enum type checking and underlying type conversi…
dogdie233 Sep 27, 2025
6ed6f24
[Core] Fixed Tlv400 not written
Linwenxuan04 Sep 28, 2025
54922a5
[Proto] Cache more value in ProtoHelper.cs
Linwenxuan04 Sep 28, 2025
33cddd9
[Milky] Fix JSON property names to use snake_case (#73)
Wesley-Young Oct 13, 2025
5751e06
[Core & Milky] Implement `group_member_increase` event (#71)
kengwang Oct 15, 2025
b075d26
[Chore] Make the error of var slient
Linwenxuan04 Oct 16, 2025
50a5444
[Core] Split PushLogic's message processing methods (#74)
kengwang Oct 17, 2025
c233fc3
[Milky] Allow signer to attach api tokens
NoirHare Oct 22, 2025
fb80362
[Milky] add upload symblos file
NoirHare Oct 26, 2025
292e12f
[NativeAPI] 实现自定义签名地址及自定义 AppInfo (#77)
kamenomi-dev Oct 27, 2025
1557d5d
[Core & Milky] Implement Core's GetNTV2RichMediaUrl and Milky's get_r…
NoirHare Oct 28, 2025
7bd7a54
[Core & Milky] Implement Core's BotGroupRecallEvent and Milky's parti…
NoirHare Oct 29, 2025
e5354ca
[Milky] Update README.md
NoirHare Oct 29, 2025
e32e879
[Milky] Update README.md
NoirHare Oct 29, 2025
f1c0c46
[Core & Milky] Implement Core's BotFirendRecallEvent and Milky's mess…
NoirHare Oct 29, 2025
5c36641
[Milky] Update README.md
NoirHare Oct 29, 2025
f1a9bd6
[Milky] Fix WebSocket failed to close properly
NoirHare Oct 29, 2025
9debac2
[Core & Milky] Implement Core's RecallGroupMessage and Milky's recall…
NoirHare Oct 29, 2025
9ff325d
[Milky] Simplify log writing
NoirHare Oct 29, 2025
571441e
[Core & Milky] Implement Core's RecallC2CMessage and Milky's recall_p…
NoirHare Oct 29, 2025
d63648e
[NativeAPI] Synchronize Core's new features. (#78)
kamenomi-dev Nov 2, 2025
87283e5
[Core] Fix the situation where some LightApps were judged as group in…
NoirHare Nov 3, 2025
29a4a42
[Core] Fix the group invitation cannot be parsed normally
NoirHare Nov 3, 2025
1971f4e
[Core] Exposed SendPacket ability to public scope
Linwenxuan04 Nov 10, 2025
27000ac
[Core] Fix the EcdhProvider would not provide 32 bytes sharekey
Linwenxuan04 Nov 11, 2025
c3e297a
[Proto] Prevent emit when no type declarations are present
Linwenxuan04 Nov 11, 2025
676bb8a
[All] Upgrade to .NET 10 (#82)
Wesley-Young Nov 13, 2025
481ab62
[Core] Implement Forward Message Segment Send (#81)
kengwang Nov 13, 2025
05fee2a
[Core] Fix upload_private_file (#83)
kengwang Nov 17, 2025
4376c21
[Proto] Fix InvalidBufferSize for String Writing
Linwenxuan04 Nov 21, 2025
112b2e7
[Proto] Emit Deserialize handler for maximize the performance
Linwenxuan04 Nov 30, 2025
9902beb
[Milky] Fixed the packaging path error in CI
Decrabbityyy Dec 12, 2025
34904a8
[Core] FIx the adler32 in the ZCompression.cs
Linwenxuan04 Dec 28, 2025
acae098
[Core] Use JacobianModder for the Modding operation to replace the mo…
Linwenxuan04 Dec 28, 2025
0de1200
[Core] Refactored ZCompression to optimize GC
Linwenxuan04 Dec 30, 2025
b048c63
[NativeAPI] 小更改,修正 GetMemberList 构造返回结构体的地址偏移量 (#91)
kamenomi-dev Jan 9, 2026
0c8d2dd
[All] Update gitignore
NoirHare Jan 9, 2026
16046ad
[Milky] Passthrough IsAdd from API parameter for group reaction handl…
Deliay Jan 9, 2026
6da692f
fix(Lagrange.Milky/Utility/Signer.cs): Use ProxyUrl for WebProxy. (#93)
VergeDX Jan 16, 2026
760c105
[Milky] Dockerize (#90)
ProgramRipper Feb 8, 2026
39b2796
[Milky] fix GroupNudgeData miss display_action getter (#95)
MaxCrazy1101 Feb 16, 2026
5639e47
[Milky] update README.md
NoirHare Mar 13, 2026
b5d913a
[Proto] Bump version to 1.0.9 for Lagrange.Proto and 1.0.4 for Lagran…
Linwenxuan04 Mar 19, 2026
f91104c
[Core] Modify AppInfo
NoirHare Mar 19, 2026
50f13c7
[Milky] Note the lowercase Hex
NoirHare Mar 19, 2026
09cbfd4
[Core] Bump version to 2.0.10-beta
NoirHare Mar 19, 2026
cf1fc51
[Proto] Make Lookup class fully rva-static (#100)
Executor-Cheng Mar 20, 2026
2b19ac4
feat: Set bot avatar (#99)
dogdie233 Mar 20, 2026
b63b7f7
[Milky] Update Signer URL in appsettings.jsonc
NoirHare Mar 20, 2026
bb99423
[Milky] Fixing incorrect Signer request fields
NoirHare Mar 20, 2026
31a8525
[Milky] Fixed the issue of signature verification failure during login.
NoirHare Mar 20, 2026
6b346ee
[Core] Implement Fetch Group Extra
NoirHare Mar 20, 2026
9c410e2
[Milky] The `start_message_seq` parameter of the group implementing t…
NoirHare Mar 20, 2026
bba6031
[Milky] Sync to Milky 1.1
NoirHare Mar 20, 2026
e0509ef
[Milky] Correct the version in README.md
NoirHare Mar 20, 2026
131c51a
[Core] refactor parse MentionEntity (#101)
Redmomn Mar 20, 2026
ac2ab88
[Core] Refactor GroupMemberIncreaseEvent
NoirHare Mar 20, 2026
6f91b13
[Core] Bump version to 2.0.11-beta
NoirHare Mar 20, 2026
305565d
[Core] Decoding failed to fix
NoirHare Mar 20, 2026
15dc1ed
[Core] Bump version to 2.0.12-beta
NoirHare Mar 20, 2026
553074a
[Core] Fix again! Bump version to 2.0.13-beta
NoirHare Mar 20, 2026
0cd1f9e
[Milky] Fix message cache logic (#102)
Rosemoe Mar 20, 2026
800eccd
[Milky] Fix Milky Dockerfile (#96)
ProgramRipper Mar 20, 2026
5ed4f59
[Proto] Add ARMv8a SIMD Support for ProtoReader and ProtoWriter
Linwenxuan04 Mar 23, 2026
af2d57c
[Core] Implement SIMD for AesGcm in ARMv8
Linwenxuan04 Mar 23, 2026
451d109
[NAPI] fix nullable (#103)
Lilyltt Mar 24, 2026
ffb42b0
[Core] fix MentionEntity parse (#105)
Szzrain Mar 31, 2026
b3d62e4
[Core] fix group image send (#106)
Redmomn Apr 6, 2026
70ff6ff
[Core] Allow SignProvider to throw exceptions (#107)
NoirHare Apr 9, 2026
60ac559
[Milky] force UTC+0 offset when converting DateTime to unix timestamp
NoirHare Apr 10, 2026
9f85515
[Core] Fix BotGroupNudgeEvent parsing exception in specific scenarios
NoirHare Apr 10, 2026
543efbb
[Milky] Fix DateTime to timestamp conversion exception in specific sc…
NoirHare Apr 10, 2026
dfd112c
[Milky] Add missing Segment types
NoirHare Apr 10, 2026
70e4c62
[Core/Milky] Use UTC time for EventBase and remove LocalTimeToUnixTim…
NoirHare Apr 11, 2026
56ef85c
[Core] Bump version
NoirHare Apr 17, 2026
e3c3077
[Milky] Fix MilkyVersion constant from "1.1" to "1.2"
NoirHare May 2, 2026
38b1b47
[Milky] Add missing reaction_type parameter to send_group_message_rea…
NoirHare May 2, 2026
da4f418
[Milky] Add missing v1.2 fields to Group entity (created_time, descri…
NoirHare May 2, 2026
9b8fbbc
[Milky] Fix EventService.StopAsync missing unregister for BotOfflineE…
NoirHare May 2, 2026
f6ebfb9
[Milky] Add missing v1.2 name field to mention incoming segment
NoirHare May 2, 2026
27e466b
[Milky] Add missing v1.1 title, preview, summary fields to forward in…
NoirHare May 2, 2026
920ee2d
[Milky] Fix ImageOutgoingSegmentData.sub_type not required and summar…
NoirHare May 2, 2026
b991014
[Milky] Fix EventService.StopAsync missing UnregisterEvent for BotGro…
NoirHare May 2, 2026
e5e7dfe
[Milky] Support Bearer token authentication for WebSocket
NoirHare May 15, 2026
70fc06d
[Milky] Fix access token validation logic
NoirHare May 15, 2026
42efc43
[Milky] compare bearer token spans safely (#110)
ArgonarioD May 17, 2026
2a01974
feat: 新增文件闪传
kengwang Jun 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*

!.git/
!Lagrange.Codec/
!Lagrange.Core/
!Lagrange.Milky/
!Lagrange.Milky.Implementation.Api.Generator/
!Lagrange.Proto/
!Lagrange.Proto.Generator/

*/bin/
*/obj/
380 changes: 380 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions .github/workflows/milky-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Build Lagrange.Milky

on:
push:
branches: [ main ]
paths:
- .github/workflows/milky-build.yaml
- Lagrange.Codec/**
- Lagrange.Core/**
- Lagrange.Milky/**
- Lagrange.Milky.Implementation.Api.Generator/**
- Lagrange.Proto/**
- Lagrange.Proto.Generator/**
pull_request:
branches: [ main ]
paths:
- .github/workflows/milky-build.yaml
- Lagrange.Codec/**
- Lagrange.Core/**
- Lagrange.Milky/**
- Lagrange.Milky.Implementation.Api.Generator/**
- Lagrange.Proto/**
- Lagrange.Proto.Generator/**
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
rid: win-x64
binary-extension: '.exe'
- os: macos-latest
rid: osx-arm64
binary-extension: ''
- os: ubuntu-latest
rid: linux-x64
binary-extension: ''

env:
RUNTIME_IDENTIFIER: ${{ matrix.rid }}

steps:
- name: Install Linux Dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y clang zlib1g-dev

- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10'

- name: Checkout code
uses: actions/checkout@v4

- name: Publish
run: dotnet publish Lagrange.Milky -c Release -r ${{ matrix.rid }}

- if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: Lagrange.Milky-${{ matrix.rid }}
path: Lagrange.Milky/bin/Release/net10.0/${{ matrix.rid }}/publish/Lagrange.Milky${{ matrix.binary-extension }}
- if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: Lagrange.Milky-${{ matrix.rid }}-symbol-files
path: |
Lagrange.Milky/bin/Release/net10.0/${{ matrix.rid }}/publish/*
!Lagrange.Milky/bin/Release/net10.0/${{ matrix.rid }}/publish/Lagrange.Milky${{ matrix.binary-extension }}
132 changes: 132 additions & 0 deletions .github/workflows/milky-docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
name: Build Lagrange.Milky image

on:
push:
branches: [ main ]
paths:
- .github/workflows/milky-docker.yaml
- Lagrange.Codec/**
- Lagrange.Core/**
- Lagrange.Milky/**
- Lagrange.Milky.Implementation.Api.Generator/**
- Lagrange.Proto/**
- Lagrange.Proto.Generator/**
pull_request:
branches: [ main ]
paths:
- .github/workflows/milky-docker.yaml
- Lagrange.Codec/**
- Lagrange.Core/**
- Lagrange.Milky/**
- Lagrange.Milky.Implementation.Api.Generator/**
- Lagrange.Proto/**
- Lagrange.Proto.Generator/**
workflow_dispatch:

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- platform: linux/amd64
runner: ubuntu-24.04
- platform: linux/arm64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v6

- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
echo "REGISTRY_IMAGE=ghcr.io/${GITHUB_REPOSITORY_OWNER@L}/lagrange.milky" >> $GITHUB_ENV

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
context: .
file: Lagrange.Milky/Resources/Dockerfile
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ env.REGISTRY_IMAGE }}
outputs: type=image,push-by-digest=true,name-canonical=true,push=true

- name: Export digest
run: |
mkdir -p ${{ runner.temp }}/digests
digest="${{ steps.build.outputs.digest }}"
touch "${{ runner.temp }}/digests/${digest#sha256:}"

- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
if-no-files-found: error
retention-days: 1

merge:
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Prepare
run: |
echo "REGISTRY_IMAGE=ghcr.io/${GITHUB_REPOSITORY_OWNER@L}/lagrange.milky" >> $GITHUB_ENV

- name: Download digests
uses: actions/download-artifact@v4
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}

- name: Create manifest list and push
working-directory: ${{ runner.temp }}/digests
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)

- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
73 changes: 73 additions & 0 deletions .github/workflows/native-api-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Build Lagrange.Core.NativeAPI

on:
push:
branches: [ main ]
paths:
- Lagrange.Codec/**
- Lagrange.Core/**
- Lagrange.Proto/**
- Lagrange.Proto.Generator/**
- Lagrange.Core.NativeAPI/**
pull_request:
branches: [ main ]
paths:
- Lagrange.Codec/**
- Lagrange.Core/**
- Lagrange.Proto/**
- Lagrange.Proto.Generator/**
- Lagrange.Core.NativeAPI/**
workflow_dispatch:

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
rid: win-x64
binary-extension: '.dll'
- os: windows-latest
rid: win-arm64
binary-extension: '.dll'
- os: macos-latest
rid: osx-x64
binary-extension: '.dylib'
- os: macos-latest
rid: osx-arm64
binary-extension: '.dylib'
- os: ubuntu-latest
rid: linux-x64
binary-extension: '.so'
- os: ubuntu-22.04-arm
rid: linux-arm64
binary-extension: '.so'

env:
RUNTIME_IDENTIFIER: ${{ matrix.rid }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10'

- name: Install Linux Dependencies
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04-arm'
run: |
sudo apt-get update
sudo apt-get install -y clang zlib1g-dev

- name: Publish with Native AOT
run: dotnet publish Lagrange.Core.NativeAPI -c Release -r ${{ matrix.rid }}

- name: Upload artifacts
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: Lagrange.Core.NativeAPI-${{ matrix.rid }}
path: Lagrange.Core.NativeAPI/bin/Release/net9.0/${{ matrix.rid }}/publish/Lagrange.Core.NativeAPI${{ matrix.binary-extension }}
57 changes: 57 additions & 0 deletions .github/workflows/nuget-push-lagrange-core.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Nuget push Lagrange.Core

on:
push:
branches:
- main
paths:
- "Lagrange.Core/Lagrange.Core.csproj"
workflow_dispatch:

jobs:
nuget-push:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

# Check Version
- shell: pwsh
run: |
$lversion = ([xml](Get-Content .\Lagrange.Core\Lagrange.Core.csproj)).Project.PropertyGroup.Version
echo "Local version: $lversion"

try {
$response = Invoke-WebRequest -Uri "https://api.nuget.org/v3-flatcontainer/lagrange.core/index.json"
} catch {
if ($_.Exception.Response.StatusCode.value__ -eq 404) {
echo "No remote version"
echo "continued=true" >> $env:GITHUB_ENV
exit 0
} else {
throw
}
}

$rversions = ($response.Content | ConvertFrom-Json).versions
echo "Remote version: $rversions"
if ($lversion -in $rversions) {
echo "Version($lversion) already exists"
echo "continued=false" >> $env:GITHUB_ENV
exit 0
}

echo "Version($lversion) does not exist"
echo "continued=true" >> $env:GITHUB_ENV
exit 0

- if: env.continued == 'true'
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10'

- if: env.continued == 'true'
run: dotnet pack -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg Lagrange.Core

- if: env.continued == 'true'
run: dotnet nuget push ./Lagrange.Core/bin/Release/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }}
Loading