@atproto/api 0.6.18 → 0.6.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8905,6 +8905,7 @@ __export(src_exports2, {
8905
8905
  AppBskyFeedLike: () => like_exports,
8906
8906
  AppBskyFeedPost: () => post_exports,
8907
8907
  AppBskyFeedRepost: () => repost_exports,
8908
+ AppBskyFeedSearchPosts: () => searchPosts_exports,
8908
8909
  AppBskyFeedThreadgate: () => threadgate_exports,
8909
8910
  AppBskyGraphBlock: () => block_exports,
8910
8911
  AppBskyGraphDefs: () => defs_exports7,
@@ -8930,10 +8931,12 @@ __export(src_exports2, {
8930
8931
  AppBskyNotificationRegisterPush: () => registerPush_exports,
8931
8932
  AppBskyNotificationUpdateSeen: () => updateSeen_exports,
8932
8933
  AppBskyRichtextFacet: () => facet_exports,
8933
- AppBskyUnspeccedApplyLabels: () => applyLabels_exports,
8934
+ AppBskyUnspeccedDefs: () => defs_exports8,
8934
8935
  AppBskyUnspeccedGetPopular: () => getPopular_exports,
8935
8936
  AppBskyUnspeccedGetPopularFeedGenerators: () => getPopularFeedGenerators_exports,
8936
8937
  AppBskyUnspeccedGetTimelineSkeleton: () => getTimelineSkeleton_exports,
8938
+ AppBskyUnspeccedSearchActorsSkeleton: () => searchActorsSkeleton_exports,
8939
+ AppBskyUnspeccedSearchPostsSkeleton: () => searchPostsSkeleton_exports,
8937
8940
  AppNS: () => AppNS,
8938
8941
  AtUri: () => AtUri,
8939
8942
  AtpAgent: () => AtpAgent,
@@ -16703,6 +16706,10 @@ var schemaDict = {
16703
16706
  type: "params",
16704
16707
  properties: {
16705
16708
  term: {
16709
+ type: "string",
16710
+ description: "DEPRECATED: use 'q' instead"
16711
+ },
16712
+ q: {
16706
16713
  type: "string"
16707
16714
  },
16708
16715
  invitedBy: {
@@ -19555,18 +19562,23 @@ var schemaDict = {
19555
19562
  defs: {
19556
19563
  main: {
19557
19564
  type: "query",
19558
- description: "Find actors matching search criteria.",
19565
+ description: "Find actors (profiles) matching search criteria.",
19559
19566
  parameters: {
19560
19567
  type: "params",
19561
19568
  properties: {
19562
19569
  term: {
19563
- type: "string"
19570
+ type: "string",
19571
+ description: "DEPRECATED: use 'q' instead"
19572
+ },
19573
+ q: {
19574
+ type: "string",
19575
+ description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
19564
19576
  },
19565
19577
  limit: {
19566
19578
  type: "integer",
19567
19579
  minimum: 1,
19568
19580
  maximum: 100,
19569
- default: 50
19581
+ default: 25
19570
19582
  },
19571
19583
  cursor: {
19572
19584
  type: "string"
@@ -19606,13 +19618,18 @@ var schemaDict = {
19606
19618
  type: "params",
19607
19619
  properties: {
19608
19620
  term: {
19609
- type: "string"
19621
+ type: "string",
19622
+ description: "DEPRECATED: use 'q' instead"
19623
+ },
19624
+ q: {
19625
+ type: "string",
19626
+ description: "search query prefix; not a full query string"
19610
19627
  },
19611
19628
  limit: {
19612
19629
  type: "integer",
19613
19630
  minimum: 1,
19614
19631
  maximum: 100,
19615
- default: 50
19632
+ default: 10
19616
19633
  }
19617
19634
  }
19618
19635
  },
@@ -21262,6 +21279,64 @@ var schemaDict = {
21262
21279
  }
21263
21280
  }
21264
21281
  },
21282
+ AppBskyFeedSearchPosts: {
21283
+ lexicon: 1,
21284
+ id: "app.bsky.feed.searchPosts",
21285
+ defs: {
21286
+ main: {
21287
+ type: "query",
21288
+ description: "Find posts matching search criteria",
21289
+ parameters: {
21290
+ type: "params",
21291
+ required: ["q"],
21292
+ properties: {
21293
+ q: {
21294
+ type: "string",
21295
+ description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
21296
+ },
21297
+ limit: {
21298
+ type: "integer",
21299
+ minimum: 1,
21300
+ maximum: 100,
21301
+ default: 25
21302
+ },
21303
+ cursor: {
21304
+ type: "string",
21305
+ description: "optional pagination mechanism; may not necessarily allow scrolling through entire result set"
21306
+ }
21307
+ }
21308
+ },
21309
+ output: {
21310
+ encoding: "application/json",
21311
+ schema: {
21312
+ type: "object",
21313
+ required: ["posts"],
21314
+ properties: {
21315
+ cursor: {
21316
+ type: "string"
21317
+ },
21318
+ hitsTotal: {
21319
+ type: "integer",
21320
+ description: "count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits"
21321
+ },
21322
+ posts: {
21323
+ type: "array",
21324
+ items: {
21325
+ type: "ref",
21326
+ ref: "lex:app.bsky.feed.defs#postView"
21327
+ }
21328
+ }
21329
+ }
21330
+ }
21331
+ },
21332
+ errors: [
21333
+ {
21334
+ name: "BadQueryString"
21335
+ }
21336
+ ]
21337
+ }
21338
+ }
21339
+ },
21265
21340
  AppBskyFeedThreadgate: {
21266
21341
  lexicon: 1,
21267
21342
  id: "app.bsky.feed.threadgate",
@@ -22373,27 +22448,27 @@ var schemaDict = {
22373
22448
  }
22374
22449
  }
22375
22450
  },
22376
- AppBskyUnspeccedApplyLabels: {
22451
+ AppBskyUnspeccedDefs: {
22377
22452
  lexicon: 1,
22378
- id: "app.bsky.unspecced.applyLabels",
22453
+ id: "app.bsky.unspecced.defs",
22379
22454
  defs: {
22380
- main: {
22381
- type: "procedure",
22382
- description: "Allow a labeler to apply labels directly.",
22383
- input: {
22384
- encoding: "application/json",
22385
- schema: {
22386
- type: "object",
22387
- required: ["labels"],
22388
- properties: {
22389
- labels: {
22390
- type: "array",
22391
- items: {
22392
- type: "ref",
22393
- ref: "lex:com.atproto.label.defs#label"
22394
- }
22395
- }
22396
- }
22455
+ skeletonSearchPost: {
22456
+ type: "object",
22457
+ required: ["uri"],
22458
+ properties: {
22459
+ uri: {
22460
+ type: "string",
22461
+ format: "at-uri"
22462
+ }
22463
+ }
22464
+ },
22465
+ skeletonSearchActor: {
22466
+ type: "object",
22467
+ required: ["did"],
22468
+ properties: {
22469
+ did: {
22470
+ type: "string",
22471
+ format: "did"
22397
22472
  }
22398
22473
  }
22399
22474
  }
@@ -22539,6 +22614,126 @@ var schemaDict = {
22539
22614
  ]
22540
22615
  }
22541
22616
  }
22617
+ },
22618
+ AppBskyUnspeccedSearchActorsSkeleton: {
22619
+ lexicon: 1,
22620
+ id: "app.bsky.unspecced.searchActorsSkeleton",
22621
+ defs: {
22622
+ main: {
22623
+ type: "query",
22624
+ description: "Backend Actors (profile) search, returning only skeleton",
22625
+ parameters: {
22626
+ type: "params",
22627
+ required: ["q"],
22628
+ properties: {
22629
+ q: {
22630
+ type: "string",
22631
+ description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax"
22632
+ },
22633
+ typeahead: {
22634
+ type: "boolean",
22635
+ description: "if true, acts as fast/simple 'typeahead' query"
22636
+ },
22637
+ limit: {
22638
+ type: "integer",
22639
+ minimum: 1,
22640
+ maximum: 100,
22641
+ default: 25
22642
+ },
22643
+ cursor: {
22644
+ type: "string",
22645
+ description: "optional pagination mechanism; may not necessarily allow scrolling through entire result set"
22646
+ }
22647
+ }
22648
+ },
22649
+ output: {
22650
+ encoding: "application/json",
22651
+ schema: {
22652
+ type: "object",
22653
+ required: ["actors"],
22654
+ properties: {
22655
+ cursor: {
22656
+ type: "string"
22657
+ },
22658
+ hitsTotal: {
22659
+ type: "integer",
22660
+ description: "count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits"
22661
+ },
22662
+ actors: {
22663
+ type: "array",
22664
+ items: {
22665
+ type: "ref",
22666
+ ref: "lex:app.bsky.unspecced.defs#skeletonSearchActor"
22667
+ }
22668
+ }
22669
+ }
22670
+ }
22671
+ },
22672
+ errors: [
22673
+ {
22674
+ name: "BadQueryString"
22675
+ }
22676
+ ]
22677
+ }
22678
+ }
22679
+ },
22680
+ AppBskyUnspeccedSearchPostsSkeleton: {
22681
+ lexicon: 1,
22682
+ id: "app.bsky.unspecced.searchPostsSkeleton",
22683
+ defs: {
22684
+ main: {
22685
+ type: "query",
22686
+ description: "Backend Posts search, returning only skeleton",
22687
+ parameters: {
22688
+ type: "params",
22689
+ required: ["q"],
22690
+ properties: {
22691
+ q: {
22692
+ type: "string",
22693
+ description: "search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended"
22694
+ },
22695
+ limit: {
22696
+ type: "integer",
22697
+ minimum: 1,
22698
+ maximum: 100,
22699
+ default: 25
22700
+ },
22701
+ cursor: {
22702
+ type: "string",
22703
+ description: "optional pagination mechanism; may not necessarily allow scrolling through entire result set"
22704
+ }
22705
+ }
22706
+ },
22707
+ output: {
22708
+ encoding: "application/json",
22709
+ schema: {
22710
+ type: "object",
22711
+ required: ["posts"],
22712
+ properties: {
22713
+ cursor: {
22714
+ type: "string"
22715
+ },
22716
+ hitsTotal: {
22717
+ type: "integer",
22718
+ description: "count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits"
22719
+ },
22720
+ posts: {
22721
+ type: "array",
22722
+ items: {
22723
+ type: "ref",
22724
+ ref: "lex:app.bsky.unspecced.defs#skeletonSearchPost"
22725
+ }
22726
+ }
22727
+ }
22728
+ }
22729
+ },
22730
+ errors: [
22731
+ {
22732
+ name: "BadQueryString"
22733
+ }
22734
+ ]
22735
+ }
22736
+ }
22542
22737
  }
22543
22738
  };
22544
22739
  var schemas = Object.values(schemaDict);
@@ -23772,12 +23967,31 @@ function toKnownErr78(e) {
23772
23967
  return e;
23773
23968
  }
23774
23969
 
23970
+ // src/client/types/app/bsky/feed/searchPosts.ts
23971
+ var searchPosts_exports = {};
23972
+ __export(searchPosts_exports, {
23973
+ BadQueryStringError: () => BadQueryStringError,
23974
+ toKnownErr: () => toKnownErr79
23975
+ });
23976
+ var BadQueryStringError = class extends XRPCError {
23977
+ constructor(src2) {
23978
+ super(src2.status, src2.error, src2.message, src2.headers);
23979
+ }
23980
+ };
23981
+ function toKnownErr79(e) {
23982
+ if (e instanceof XRPCError) {
23983
+ if (e.error === "BadQueryString")
23984
+ return new BadQueryStringError(e);
23985
+ }
23986
+ return e;
23987
+ }
23988
+
23775
23989
  // src/client/types/app/bsky/graph/getBlocks.ts
23776
23990
  var getBlocks_exports2 = {};
23777
23991
  __export(getBlocks_exports2, {
23778
- toKnownErr: () => toKnownErr79
23992
+ toKnownErr: () => toKnownErr80
23779
23993
  });
23780
- function toKnownErr79(e) {
23994
+ function toKnownErr80(e) {
23781
23995
  if (e instanceof XRPCError) {
23782
23996
  }
23783
23997
  return e;
@@ -23786,9 +24000,9 @@ function toKnownErr79(e) {
23786
24000
  // src/client/types/app/bsky/graph/getFollowers.ts
23787
24001
  var getFollowers_exports = {};
23788
24002
  __export(getFollowers_exports, {
23789
- toKnownErr: () => toKnownErr80
24003
+ toKnownErr: () => toKnownErr81
23790
24004
  });
23791
- function toKnownErr80(e) {
24005
+ function toKnownErr81(e) {
23792
24006
  if (e instanceof XRPCError) {
23793
24007
  }
23794
24008
  return e;
@@ -23797,9 +24011,9 @@ function toKnownErr80(e) {
23797
24011
  // src/client/types/app/bsky/graph/getFollows.ts
23798
24012
  var getFollows_exports = {};
23799
24013
  __export(getFollows_exports, {
23800
- toKnownErr: () => toKnownErr81
24014
+ toKnownErr: () => toKnownErr82
23801
24015
  });
23802
- function toKnownErr81(e) {
24016
+ function toKnownErr82(e) {
23803
24017
  if (e instanceof XRPCError) {
23804
24018
  }
23805
24019
  return e;
@@ -23808,9 +24022,9 @@ function toKnownErr81(e) {
23808
24022
  // src/client/types/app/bsky/graph/getList.ts
23809
24023
  var getList_exports = {};
23810
24024
  __export(getList_exports, {
23811
- toKnownErr: () => toKnownErr82
24025
+ toKnownErr: () => toKnownErr83
23812
24026
  });
23813
- function toKnownErr82(e) {
24027
+ function toKnownErr83(e) {
23814
24028
  if (e instanceof XRPCError) {
23815
24029
  }
23816
24030
  return e;
@@ -23819,9 +24033,9 @@ function toKnownErr82(e) {
23819
24033
  // src/client/types/app/bsky/graph/getListBlocks.ts
23820
24034
  var getListBlocks_exports = {};
23821
24035
  __export(getListBlocks_exports, {
23822
- toKnownErr: () => toKnownErr83
24036
+ toKnownErr: () => toKnownErr84
23823
24037
  });
23824
- function toKnownErr83(e) {
24038
+ function toKnownErr84(e) {
23825
24039
  if (e instanceof XRPCError) {
23826
24040
  }
23827
24041
  return e;
@@ -23830,9 +24044,9 @@ function toKnownErr83(e) {
23830
24044
  // src/client/types/app/bsky/graph/getListMutes.ts
23831
24045
  var getListMutes_exports = {};
23832
24046
  __export(getListMutes_exports, {
23833
- toKnownErr: () => toKnownErr84
24047
+ toKnownErr: () => toKnownErr85
23834
24048
  });
23835
- function toKnownErr84(e) {
24049
+ function toKnownErr85(e) {
23836
24050
  if (e instanceof XRPCError) {
23837
24051
  }
23838
24052
  return e;
@@ -23841,9 +24055,9 @@ function toKnownErr84(e) {
23841
24055
  // src/client/types/app/bsky/graph/getLists.ts
23842
24056
  var getLists_exports = {};
23843
24057
  __export(getLists_exports, {
23844
- toKnownErr: () => toKnownErr85
24058
+ toKnownErr: () => toKnownErr86
23845
24059
  });
23846
- function toKnownErr85(e) {
24060
+ function toKnownErr86(e) {
23847
24061
  if (e instanceof XRPCError) {
23848
24062
  }
23849
24063
  return e;
@@ -23852,9 +24066,9 @@ function toKnownErr85(e) {
23852
24066
  // src/client/types/app/bsky/graph/getMutes.ts
23853
24067
  var getMutes_exports = {};
23854
24068
  __export(getMutes_exports, {
23855
- toKnownErr: () => toKnownErr86
24069
+ toKnownErr: () => toKnownErr87
23856
24070
  });
23857
- function toKnownErr86(e) {
24071
+ function toKnownErr87(e) {
23858
24072
  if (e instanceof XRPCError) {
23859
24073
  }
23860
24074
  return e;
@@ -23863,9 +24077,9 @@ function toKnownErr86(e) {
23863
24077
  // src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
23864
24078
  var getSuggestedFollowsByActor_exports = {};
23865
24079
  __export(getSuggestedFollowsByActor_exports, {
23866
- toKnownErr: () => toKnownErr87
24080
+ toKnownErr: () => toKnownErr88
23867
24081
  });
23868
- function toKnownErr87(e) {
24082
+ function toKnownErr88(e) {
23869
24083
  if (e instanceof XRPCError) {
23870
24084
  }
23871
24085
  return e;
@@ -23874,9 +24088,9 @@ function toKnownErr87(e) {
23874
24088
  // src/client/types/app/bsky/graph/muteActor.ts
23875
24089
  var muteActor_exports = {};
23876
24090
  __export(muteActor_exports, {
23877
- toKnownErr: () => toKnownErr88
24091
+ toKnownErr: () => toKnownErr89
23878
24092
  });
23879
- function toKnownErr88(e) {
24093
+ function toKnownErr89(e) {
23880
24094
  if (e instanceof XRPCError) {
23881
24095
  }
23882
24096
  return e;
@@ -23885,9 +24099,9 @@ function toKnownErr88(e) {
23885
24099
  // src/client/types/app/bsky/graph/muteActorList.ts
23886
24100
  var muteActorList_exports = {};
23887
24101
  __export(muteActorList_exports, {
23888
- toKnownErr: () => toKnownErr89
24102
+ toKnownErr: () => toKnownErr90
23889
24103
  });
23890
- function toKnownErr89(e) {
24104
+ function toKnownErr90(e) {
23891
24105
  if (e instanceof XRPCError) {
23892
24106
  }
23893
24107
  return e;
@@ -23896,9 +24110,9 @@ function toKnownErr89(e) {
23896
24110
  // src/client/types/app/bsky/graph/unmuteActor.ts
23897
24111
  var unmuteActor_exports = {};
23898
24112
  __export(unmuteActor_exports, {
23899
- toKnownErr: () => toKnownErr90
24113
+ toKnownErr: () => toKnownErr91
23900
24114
  });
23901
- function toKnownErr90(e) {
24115
+ function toKnownErr91(e) {
23902
24116
  if (e instanceof XRPCError) {
23903
24117
  }
23904
24118
  return e;
@@ -23907,9 +24121,9 @@ function toKnownErr90(e) {
23907
24121
  // src/client/types/app/bsky/graph/unmuteActorList.ts
23908
24122
  var unmuteActorList_exports = {};
23909
24123
  __export(unmuteActorList_exports, {
23910
- toKnownErr: () => toKnownErr91
24124
+ toKnownErr: () => toKnownErr92
23911
24125
  });
23912
- function toKnownErr91(e) {
24126
+ function toKnownErr92(e) {
23913
24127
  if (e instanceof XRPCError) {
23914
24128
  }
23915
24129
  return e;
@@ -23918,9 +24132,9 @@ function toKnownErr91(e) {
23918
24132
  // src/client/types/app/bsky/notification/getUnreadCount.ts
23919
24133
  var getUnreadCount_exports = {};
23920
24134
  __export(getUnreadCount_exports, {
23921
- toKnownErr: () => toKnownErr92
24135
+ toKnownErr: () => toKnownErr93
23922
24136
  });
23923
- function toKnownErr92(e) {
24137
+ function toKnownErr93(e) {
23924
24138
  if (e instanceof XRPCError) {
23925
24139
  }
23926
24140
  return e;
@@ -23930,10 +24144,10 @@ function toKnownErr92(e) {
23930
24144
  var listNotifications_exports = {};
23931
24145
  __export(listNotifications_exports, {
23932
24146
  isNotification: () => isNotification,
23933
- toKnownErr: () => toKnownErr93,
24147
+ toKnownErr: () => toKnownErr94,
23934
24148
  validateNotification: () => validateNotification
23935
24149
  });
23936
- function toKnownErr93(e) {
24150
+ function toKnownErr94(e) {
23937
24151
  if (e instanceof XRPCError) {
23938
24152
  }
23939
24153
  return e;
@@ -23948,9 +24162,9 @@ function validateNotification(v) {
23948
24162
  // src/client/types/app/bsky/notification/registerPush.ts
23949
24163
  var registerPush_exports = {};
23950
24164
  __export(registerPush_exports, {
23951
- toKnownErr: () => toKnownErr94
24165
+ toKnownErr: () => toKnownErr95
23952
24166
  });
23953
- function toKnownErr94(e) {
24167
+ function toKnownErr95(e) {
23954
24168
  if (e instanceof XRPCError) {
23955
24169
  }
23956
24170
  return e;
@@ -23959,17 +24173,6 @@ function toKnownErr94(e) {
23959
24173
  // src/client/types/app/bsky/notification/updateSeen.ts
23960
24174
  var updateSeen_exports = {};
23961
24175
  __export(updateSeen_exports, {
23962
- toKnownErr: () => toKnownErr95
23963
- });
23964
- function toKnownErr95(e) {
23965
- if (e instanceof XRPCError) {
23966
- }
23967
- return e;
23968
- }
23969
-
23970
- // src/client/types/app/bsky/unspecced/applyLabels.ts
23971
- var applyLabels_exports = {};
23972
- __export(applyLabels_exports, {
23973
24176
  toKnownErr: () => toKnownErr96
23974
24177
  });
23975
24178
  function toKnownErr96(e) {
@@ -24019,6 +24222,44 @@ function toKnownErr99(e) {
24019
24222
  return e;
24020
24223
  }
24021
24224
 
24225
+ // src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts
24226
+ var searchActorsSkeleton_exports = {};
24227
+ __export(searchActorsSkeleton_exports, {
24228
+ BadQueryStringError: () => BadQueryStringError2,
24229
+ toKnownErr: () => toKnownErr100
24230
+ });
24231
+ var BadQueryStringError2 = class extends XRPCError {
24232
+ constructor(src2) {
24233
+ super(src2.status, src2.error, src2.message, src2.headers);
24234
+ }
24235
+ };
24236
+ function toKnownErr100(e) {
24237
+ if (e instanceof XRPCError) {
24238
+ if (e.error === "BadQueryString")
24239
+ return new BadQueryStringError2(e);
24240
+ }
24241
+ return e;
24242
+ }
24243
+
24244
+ // src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts
24245
+ var searchPostsSkeleton_exports = {};
24246
+ __export(searchPostsSkeleton_exports, {
24247
+ BadQueryStringError: () => BadQueryStringError3,
24248
+ toKnownErr: () => toKnownErr101
24249
+ });
24250
+ var BadQueryStringError3 = class extends XRPCError {
24251
+ constructor(src2) {
24252
+ super(src2.status, src2.error, src2.message, src2.headers);
24253
+ }
24254
+ };
24255
+ function toKnownErr101(e) {
24256
+ if (e instanceof XRPCError) {
24257
+ if (e.error === "BadQueryString")
24258
+ return new BadQueryStringError3(e);
24259
+ }
24260
+ return e;
24261
+ }
24262
+
24022
24263
  // src/client/types/com/atproto/admin/defs.ts
24023
24264
  var defs_exports = {};
24024
24265
  __export(defs_exports, {
@@ -24965,6 +25206,27 @@ function validateByteSlice(v) {
24965
25206
  return lexicons.validate("app.bsky.richtext.facet#byteSlice", v);
24966
25207
  }
24967
25208
 
25209
+ // src/client/types/app/bsky/unspecced/defs.ts
25210
+ var defs_exports8 = {};
25211
+ __export(defs_exports8, {
25212
+ isSkeletonSearchActor: () => isSkeletonSearchActor,
25213
+ isSkeletonSearchPost: () => isSkeletonSearchPost,
25214
+ validateSkeletonSearchActor: () => validateSkeletonSearchActor,
25215
+ validateSkeletonSearchPost: () => validateSkeletonSearchPost
25216
+ });
25217
+ function isSkeletonSearchPost(v) {
25218
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.unspecced.defs#skeletonSearchPost";
25219
+ }
25220
+ function validateSkeletonSearchPost(v) {
25221
+ return lexicons.validate("app.bsky.unspecced.defs#skeletonSearchPost", v);
25222
+ }
25223
+ function isSkeletonSearchActor(v) {
25224
+ return isObj2(v) && hasProp2(v, "$type") && v.$type === "app.bsky.unspecced.defs#skeletonSearchActor";
25225
+ }
25226
+ function validateSkeletonSearchActor(v) {
25227
+ return lexicons.validate("app.bsky.unspecced.defs#skeletonSearchActor", v);
25228
+ }
25229
+
24968
25230
  // src/client/index.ts
24969
25231
  var COM_ATPROTO_ADMIN = {
24970
25232
  DefsTakedown: "com.atproto.admin.defs#takedown",
@@ -25512,6 +25774,11 @@ var FeedNS = class {
25512
25774
  throw toKnownErr78(e);
25513
25775
  });
25514
25776
  }
25777
+ searchPosts(params2, opts) {
25778
+ return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
25779
+ throw toKnownErr79(e);
25780
+ });
25781
+ }
25515
25782
  };
25516
25783
  var GeneratorRecord = class {
25517
25784
  constructor(service) {
@@ -25659,67 +25926,67 @@ var GraphNS = class {
25659
25926
  }
25660
25927
  getBlocks(params2, opts) {
25661
25928
  return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
25662
- throw toKnownErr79(e);
25929
+ throw toKnownErr80(e);
25663
25930
  });
25664
25931
  }
25665
25932
  getFollowers(params2, opts) {
25666
25933
  return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
25667
- throw toKnownErr80(e);
25934
+ throw toKnownErr81(e);
25668
25935
  });
25669
25936
  }
25670
25937
  getFollows(params2, opts) {
25671
25938
  return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
25672
- throw toKnownErr81(e);
25939
+ throw toKnownErr82(e);
25673
25940
  });
25674
25941
  }
25675
25942
  getList(params2, opts) {
25676
25943
  return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
25677
- throw toKnownErr82(e);
25944
+ throw toKnownErr83(e);
25678
25945
  });
25679
25946
  }
25680
25947
  getListBlocks(params2, opts) {
25681
25948
  return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
25682
- throw toKnownErr83(e);
25949
+ throw toKnownErr84(e);
25683
25950
  });
25684
25951
  }
25685
25952
  getListMutes(params2, opts) {
25686
25953
  return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
25687
- throw toKnownErr84(e);
25954
+ throw toKnownErr85(e);
25688
25955
  });
25689
25956
  }
25690
25957
  getLists(params2, opts) {
25691
25958
  return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
25692
- throw toKnownErr85(e);
25959
+ throw toKnownErr86(e);
25693
25960
  });
25694
25961
  }
25695
25962
  getMutes(params2, opts) {
25696
25963
  return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
25697
- throw toKnownErr86(e);
25964
+ throw toKnownErr87(e);
25698
25965
  });
25699
25966
  }
25700
25967
  getSuggestedFollowsByActor(params2, opts) {
25701
25968
  return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
25702
- throw toKnownErr87(e);
25969
+ throw toKnownErr88(e);
25703
25970
  });
25704
25971
  }
25705
25972
  muteActor(data, opts) {
25706
25973
  return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
25707
- throw toKnownErr88(e);
25974
+ throw toKnownErr89(e);
25708
25975
  });
25709
25976
  }
25710
25977
  muteActorList(data, opts) {
25711
25978
  return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
25712
- throw toKnownErr89(e);
25979
+ throw toKnownErr90(e);
25713
25980
  });
25714
25981
  }
25715
25982
  unmuteActor(data, opts) {
25716
25983
  return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
25717
- throw toKnownErr90(e);
25984
+ throw toKnownErr91(e);
25718
25985
  });
25719
25986
  }
25720
25987
  unmuteActorList(data, opts) {
25721
25988
  return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
25722
- throw toKnownErr91(e);
25989
+ throw toKnownErr92(e);
25723
25990
  });
25724
25991
  }
25725
25992
  };
@@ -25864,22 +26131,22 @@ var NotificationNS = class {
25864
26131
  }
25865
26132
  getUnreadCount(params2, opts) {
25866
26133
  return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
25867
- throw toKnownErr92(e);
26134
+ throw toKnownErr93(e);
25868
26135
  });
25869
26136
  }
25870
26137
  listNotifications(params2, opts) {
25871
26138
  return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
25872
- throw toKnownErr93(e);
26139
+ throw toKnownErr94(e);
25873
26140
  });
25874
26141
  }
25875
26142
  registerPush(data, opts) {
25876
26143
  return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
25877
- throw toKnownErr94(e);
26144
+ throw toKnownErr95(e);
25878
26145
  });
25879
26146
  }
25880
26147
  updateSeen(data, opts) {
25881
26148
  return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
25882
- throw toKnownErr95(e);
26149
+ throw toKnownErr96(e);
25883
26150
  });
25884
26151
  }
25885
26152
  };
@@ -25892,11 +26159,6 @@ var UnspeccedNS = class {
25892
26159
  constructor(service) {
25893
26160
  this._service = service;
25894
26161
  }
25895
- applyLabels(data, opts) {
25896
- return this._service.xrpc.call("app.bsky.unspecced.applyLabels", opts?.qp, data, opts).catch((e) => {
25897
- throw toKnownErr96(e);
25898
- });
25899
- }
25900
26162
  getPopular(params2, opts) {
25901
26163
  return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
25902
26164
  throw toKnownErr97(e);
@@ -25912,6 +26174,16 @@ var UnspeccedNS = class {
25912
26174
  throw toKnownErr99(e);
25913
26175
  });
25914
26176
  }
26177
+ searchActorsSkeleton(params2, opts) {
26178
+ return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
26179
+ throw toKnownErr100(e);
26180
+ });
26181
+ }
26182
+ searchPostsSkeleton(params2, opts) {
26183
+ return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
26184
+ throw toKnownErr101(e);
26185
+ });
26186
+ }
25915
26187
  };
25916
26188
 
25917
26189
  // src/agent.ts
@@ -27714,7 +27986,7 @@ function detectFacets(text) {
27714
27986
  features: [
27715
27987
  {
27716
27988
  $type: "app.bsky.richtext.facet#tag",
27717
- tag
27989
+ tag: tag.replace(/^#/, "")
27718
27990
  }
27719
27991
  ]
27720
27992
  });