fix(agent-packages): show local inventory before refresh

This commit is contained in:
mesalogo
2026-10-14 00:53:23 +08:00
parent 3ba1ef305d
commit a63060e097
10 changed files with 85 additions and 20 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ describe('sandboxed preload', () => {
'ipcChannels.sshHostsAgentConnectionStatus'
)
expect(source).toContain(
'getAgentPackageInventory: (refresh = false)'
'getAgentPackageInventory: (refresh = false, localOnly = false)'
)
expect(source).toContain('downloadAgentPackage:')
expect(source).toContain('importAgentPackage:')