@@ -41,8 +41,8 @@ func (s *InstallService) Install(ctx context.Context, req PackageRequest) error
4141 lucyReq := lucytypes.PackageRequest {
4242 FullPackageRef : lucytypes.FullPackageRef {
4343 PackageRef : lucytypes.PackageRef {
44- Platform : lucytypes .PlatformId (req .Platform ),
45- Name : lucytypes .BarePackageName (req .Name ),
44+ Eco : lucytypes .Ecosystem (req .Platform ),
45+ Name : lucytypes .BarePackageName (req .Name ),
4646 },
4747 Scope : lucytypes .ParseSource (req .Scope ),
4848 Version : lucytypes .BareVersion (req .Version ),
@@ -68,8 +68,8 @@ func (s *InstallService) InstallMany(ctx context.Context, requests []PackageRequ
6868 lucyReqs [i ] = lucytypes.PackageRequest {
6969 FullPackageRef : lucytypes.FullPackageRef {
7070 PackageRef : lucytypes.PackageRef {
71- Platform : lucytypes .PlatformId (req .Platform ),
72- Name : lucytypes .BarePackageName (req .Name ),
71+ Eco : lucytypes .Ecosystem (req .Platform ),
72+ Name : lucytypes .BarePackageName (req .Name ),
7373 },
7474 Scope : lucytypes .ParseSource (req .Scope ),
7575 Version : lucytypes .BareVersion (req .Version ),
@@ -170,7 +170,7 @@ func NewProbeService(workDir string) *ProbeService {
170170
171171// ServerInfo returns the current server environment information.
172172func (s * ProbeService ) ServerInfo () (map [string ]interface {}, error ) {
173- info := lucyworkspace .ServerInfoAt (s .workDir )
173+ info := lucyworkspace .NewAt (s .workDir )
174174 ws := lucyworkspace.Workspace {
175175 Runtime : info .Runtime ,
176176 Topology : info .Topology ,
@@ -187,7 +187,7 @@ func (s *ProbeService) ServerInfo() (map[string]interface{}, error) {
187187
188188// Invalidate marks the cached server info as stale.
189189func (s * ProbeService ) Invalidate () {
190- lucyworkspace .InvalidateServerInfo ()
190+ lucyworkspace .Invalidate ()
191191}
192192
193193// LockIntegrityResult reports whether all locked packages are present and intact.
0 commit comments