The best way to control Claude Code, Codex and more from any computer or phone
| 1 | /** |
| 2 | * Imported by the widgets page as `#lib/widgets.js` — a `package.json` |
| 3 | * subpath import (kit v3's replacement for `$lib`), resolved in the |
| 4 | * client-side load. |
| 5 | */ |
| 6 | export interface Widget { |
| 7 | readonly id: string; |
| 8 | readonly name: string; |
| 9 | } |
| 10 | |
| 11 | export const describeWidgets = (widgets: ReadonlyArray<Widget>): string => |
| 12 | `widgets-via-subpath-import:${widgets.length}`; |