mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
c06bed9f77
* refactor: extract platform inventory runtime * fix: preserve scoped Apple inventory tooling * fix: preserve Apple tool cancellation * refactor: tighten platform inventory boundaries
11 lines
299 B
TypeScript
11 lines
299 B
TypeScript
import { WEB_DESKTOP_DEVICE } from '@agent-device/contracts/device';
|
|
import type { DeviceInventorySource } from '@agent-device/contracts/platform';
|
|
|
|
export function createWebInventory(): DeviceInventorySource {
|
|
return {
|
|
discover: async () => {
|
|
return [WEB_DESKTOP_DEVICE];
|
|
},
|
|
};
|
|
}
|