AT Protocol Terminal Interface Explorer
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix non-bsky pds

+8 -10
+8 -9
at/client.go
··· 43 43 log.WithFields(log.Fields{ 44 44 "handle": idd.Handle, 45 45 "DID": idd.DID, 46 + "PDS": idd.PDSEndpoint(), 46 47 }).Info("identifier resolved") 47 48 return idd, nil 48 49 } ··· 52 53 if err != nil { 53 54 return nil, fmt.Errorf("failed to lookup identifier: %w", err) 54 55 } 55 - log.WithFields(log.Fields{ 56 - "handle": idd.Handle, 57 - "DID": idd.DID, 58 - }).Info("identifier resolved") 59 - return c.c.WithService(idd.PDSEndpoint()), nil 56 + return atclient.NewAPIClient(idd.PDSEndpoint()), nil 60 57 } 61 58 62 59 type RepoWithIdentity struct { ··· 65 62 } 66 63 67 64 func (c *Client) GetRepo(ctx context.Context, repo string) (*RepoWithIdentity, error) { 68 - log.WithFields(log.Fields{ 69 - "repo": repo, 70 - }).Info("describe repo") 71 - 72 65 id, err := c.GetIdentity(ctx, repo) 73 66 if err != nil { 74 67 return nil, fmt.Errorf("failed to lookup identifier: %w", err) ··· 78 71 if err != nil { 79 72 return nil, fmt.Errorf("failed to get client with identifier: %w", err) 80 73 } 74 + 75 + log.WithFields(log.Fields{ 76 + "client_host": client.Host, 77 + "repo": repo, 78 + "pds": id.PDSEndpoint(), 79 + }).Info("describe repo") 81 80 82 81 // TODO: download repo as car 83 82 // https://github.com/bluesky-social/cookbook/blob/main/go-repo-export/main.go#L46
-1
ui/app.go
··· 155 155 return a, nil 156 156 } 157 157 158 - 159 158 var cmds []tea.Cmd 160 159 if a.loading { 161 160 sp, scmd := a.spinner.Update(msg)