Commit 7fb0c46
committed
fix: move @framers/sql-storage-adapter from peer to dependencies
It was a peer marked optional, but core/storage/SqlStorageAdapter.ts
imports it eagerly at module load. Consumers got 'Cannot find package
@framers/sql-storage-adapter' on bare `import { agent } from '@framers/agentos'`
unless they manually installed it.
Either the runtime should lazy-load it (so the peer-optional contract
holds) or it belongs in dependencies. Making it a hard dep is the simpler
fix — sql storage is on the default code path through ConversationManager
and most consumers want it.1 parent 5c1e68e commit 7fb0c46
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
| 678 | + | |
678 | 679 | | |
679 | 680 | | |
680 | 681 | | |
| |||
696 | 697 | | |
697 | 698 | | |
698 | 699 | | |
699 | | - | |
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| |||
707 | 707 | | |
708 | 708 | | |
709 | 709 | | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | 710 | | |
714 | 711 | | |
715 | 712 | | |
| |||
0 commit comments