Files
callstack__agent-device/packages/platform-web/src/inventory.ts
Michał Pierzchała c06bed9f77 refactor: extract platform device inventory runtime (#1699)
* refactor: extract platform inventory runtime

* fix: preserve scoped Apple inventory tooling

* fix: preserve Apple tool cancellation

* refactor: tighten platform inventory boundaries
2026-08-10 12:51:59 +02:00

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];
},
};
}