feat: 发送支持群聊@成员

生命周期整理
清理残留整理
完善skill
This commit is contained in:
Wxw-Gu committed 2026-11-12 11:18:32 +08:00
1 parent 804466aad8
commit 5d4ba73771
28 files changed
+1214 -103

No files matched your search

+13
View File
@@ -492,6 +492,19 @@ describe('production runtime packaging', () => {
expect(stub.calls).toContainEqual(['--verify', '--strict', '--arch', 'x86_64', helperPath])
})
it('always re-signs the Native Host before packaging', () => {
const runtimeDirectory = join(root, 'runtime-sign-resources', 'runtime', 'darwin-arm64')
mkdirSync(runtimeDirectory, { recursive: true })
const hostPath = join(runtimeDirectory, 'tm-wechat-host')
writeFileSync(hostPath, 'fixture')
const stub = createCodesignStub()
expect(signMacosHelpers(join(root, 'runtime-sign-resources'), stub.run)).toEqual([hostPath])
expect(stub.calls[0]).toEqual(['--force', '--sign', '-', hostPath])
expect(stub.calls).toContainEqual(['--verify', '--strict', '--arch', 'arm64', hostPath])
expect(stub.calls).toContainEqual(['--verify', '--strict', '--arch', 'x86_64', hostPath])
})
it('fails packaging when a helper signature cannot be repaired', () => {
const resources = join(root, 'helper-broken-resources', 'resources')
mkdirSync(resources, { recursive: true })