context.dev 2.0.0 → 2.1.0

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +1 -1
  4. data/lib/context_dev/models/brand_retrieve_params.rb +46 -3
  5. data/lib/context_dev/models/monitor_create_params.rb +30 -27
  6. data/lib/context_dev/models/monitor_create_response.rb +152 -28
  7. data/lib/context_dev/models/monitor_list_params.rb +4 -4
  8. data/lib/context_dev/models/monitor_list_response.rb +152 -28
  9. data/lib/context_dev/models/monitor_retrieve_change_response.rb +1 -8
  10. data/lib/context_dev/models/monitor_retrieve_response.rb +152 -28
  11. data/lib/context_dev/models/monitor_update_params.rb +30 -27
  12. data/lib/context_dev/models/monitor_update_response.rb +152 -28
  13. data/lib/context_dev/resources/brand.rb +4 -2
  14. data/lib/context_dev/resources/monitors.rb +1 -1
  15. data/lib/context_dev/version.rb +1 -1
  16. data/rbi/context_dev/models/brand_retrieve_params.rbi +67 -0
  17. data/rbi/context_dev/models/monitor_create_params.rbi +32 -31
  18. data/rbi/context_dev/models/monitor_create_response.rbi +231 -31
  19. data/rbi/context_dev/models/monitor_list_params.rbi +9 -6
  20. data/rbi/context_dev/models/monitor_list_response.rbi +235 -31
  21. data/rbi/context_dev/models/monitor_retrieve_change_response.rbi +0 -9
  22. data/rbi/context_dev/models/monitor_retrieve_response.rbi +231 -31
  23. data/rbi/context_dev/models/monitor_update_params.rbi +32 -31
  24. data/rbi/context_dev/models/monitor_update_response.rbi +231 -31
  25. data/rbi/context_dev/resources/brand.rbi +4 -1
  26. data/rbi/context_dev/resources/monitors.rbi +2 -2
  27. data/sig/context_dev/models/brand_retrieve_params.rbs +26 -0
  28. data/sig/context_dev/models/monitor_create_params.rbs +7 -17
  29. data/sig/context_dev/models/monitor_create_response.rbs +81 -17
  30. data/sig/context_dev/models/monitor_list_params.rbs +2 -2
  31. data/sig/context_dev/models/monitor_list_response.rbs +81 -17
  32. data/sig/context_dev/models/monitor_retrieve_change_response.rbs +0 -7
  33. data/sig/context_dev/models/monitor_retrieve_response.rbs +81 -17
  34. data/sig/context_dev/models/monitor_update_params.rbs +7 -17
  35. data/sig/context_dev/models/monitor_update_response.rbs +81 -17
  36. metadata +2 -2
@@ -186,9 +186,6 @@ module ContextDev
186
186
  )
187
187
  end
188
188
 
189
- sig { returns(String) }
190
- attr_accessor :query
191
-
192
189
  sig { returns(Symbol) }
193
190
  attr_accessor :type
194
191
 
@@ -198,21 +195,19 @@ module ContextDev
198
195
  sig { params(confidence_threshold: Float).void }
199
196
  attr_writer :confidence_threshold
200
197
 
201
- # Detect meaning-level changes that match a natural language query.
198
+ # Detect meaning-level changes to the extracted data, ignoring cosmetic or
199
+ # paraphrase-only differences. What is watched is determined by the extract
200
+ # target's `schema` and `instructions`.
202
201
  sig do
203
- params(
204
- query: String,
205
- confidence_threshold: Float,
206
- type: Symbol
207
- ).returns(T.attached_class)
202
+ params(confidence_threshold: Float, type: Symbol).returns(
203
+ T.attached_class
204
+ )
208
205
  end
209
- def self.new(query:, confidence_threshold: nil, type: :semantic)
206
+ def self.new(confidence_threshold: nil, type: :semantic)
210
207
  end
211
208
 
212
209
  sig do
213
- override.returns(
214
- { query: String, type: Symbol, confidence_threshold: Float }
215
- )
210
+ override.returns({ type: Symbol, confidence_threshold: Float })
216
211
  end
217
212
  def to_hash
218
213
  end
@@ -446,8 +441,9 @@ module ContextDev
446
441
 
447
442
  # Watch a sitemap for URL additions and removals. Crawled URLs are normalized
448
443
  # (lowercased host, no trailing slash/fragment) and scoped to the monitored site
449
- # and its subdomains before comparison. A new URL set must be observed on two
450
- # consecutive runs before a change is reported, suppressing one-run crawl flaps.
444
+ # and its subdomains before comparison. On a detected difference the sitemap is
445
+ # re-fetched within the same run and only URLs both observations agree on are
446
+ # reported, suppressing transient crawl flaps.
451
447
  sig do
452
448
  params(
453
449
  url: String,
@@ -494,6 +490,11 @@ module ContextDev
494
490
  )
495
491
  end
496
492
 
493
+ # Natural-language instructions guiding which pages and facts to track and which
494
+ # changes to report.
495
+ sig { returns(String) }
496
+ attr_accessor :instructions
497
+
497
498
  sig { returns(Symbol) }
498
499
  attr_accessor :type
499
500
 
@@ -507,13 +508,6 @@ module ContextDev
507
508
  sig { params(follow_subdomains: T::Boolean).void }
508
509
  attr_writer :follow_subdomains
509
510
 
510
- # Optional natural-language instructions guiding what to extract.
511
- sig { returns(T.nilable(String)) }
512
- attr_reader :instructions
513
-
514
- sig { params(instructions: String).void }
515
- attr_writer :instructions
516
-
517
511
  # Optional maximum link depth from the starting URL (0 = only the starting page).
518
512
  sig { returns(T.nilable(Integer)) }
519
513
  attr_reader :max_depth
@@ -521,14 +515,15 @@ module ContextDev
521
515
  sig { params(max_depth: Integer).void }
522
516
  attr_writer :max_depth
523
517
 
524
- # Maximum number of pages to analyze during extraction.
518
+ # Maximum number of pages to track.
525
519
  sig { returns(T.nilable(Integer)) }
526
520
  attr_reader :max_pages
527
521
 
528
522
  sig { params(max_pages: Integer).void }
529
523
  attr_writer :max_pages
530
524
 
531
- # JSON Schema describing the structured data to extract and watch for changes. If
525
+ # JSON Schema describing the data you care about. It guides which pages are
526
+ # selected for tracking and gives the change judge context on what matters. If
532
527
  # omitted, a default summary + key-points schema is used.
533
528
  sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
534
529
  attr_reader :schema
@@ -536,12 +531,16 @@ module ContextDev
536
531
  sig { params(schema: T::Hash[Symbol, T.anything]).void }
537
532
  attr_writer :schema
538
533
 
539
- # Watch a site's extracted structured data.
534
+ # Watch the monitor-relevant pages of a site for meaningful changes. A crawl
535
+ # guided by `schema`/`instructions` selects up to `max_pages` relevant pages to
536
+ # track; each run re-checks exactly those pages, and confirmed content changes are
537
+ # judged against the monitor's instructions. The tracked page set is refreshed by
538
+ # a periodic re-discovery crawl.
540
539
  sig do
541
540
  params(
541
+ instructions: String,
542
542
  url: String,
543
543
  follow_subdomains: T::Boolean,
544
- instructions: String,
545
544
  max_depth: Integer,
546
545
  max_pages: Integer,
547
546
  schema: T::Hash[Symbol, T.anything],
@@ -549,16 +548,18 @@ module ContextDev
549
548
  ).returns(T.attached_class)
550
549
  end
551
550
  def self.new(
551
+ # Natural-language instructions guiding which pages and facts to track and which
552
+ # changes to report.
553
+ instructions:,
552
554
  # Root URL to extract structured data from.
553
555
  url:,
554
556
  follow_subdomains: nil,
555
- # Optional natural-language instructions guiding what to extract.
556
- instructions: nil,
557
557
  # Optional maximum link depth from the starting URL (0 = only the starting page).
558
558
  max_depth: nil,
559
- # Maximum number of pages to analyze during extraction.
559
+ # Maximum number of pages to track.
560
560
  max_pages: nil,
561
- # JSON Schema describing the structured data to extract and watch for changes. If
561
+ # JSON Schema describing the data you care about. It guides which pages are
562
+ # selected for tracking and gives the change judge context on what matters. If
562
563
  # omitted, a default summary + key-points schema is used.
563
564
  schema: nil,
564
565
  type: :extract
@@ -568,10 +569,10 @@ module ContextDev
568
569
  sig do
569
570
  override.returns(
570
571
  {
572
+ instructions: String,
571
573
  type: Symbol,
572
574
  url: String,
573
575
  follow_subdomains: T::Boolean,
574
- instructions: String,
575
576
  max_depth: Integer,
576
577
  max_pages: Integer,
577
578
  schema: T::Hash[Symbol, T.anything]
@@ -67,6 +67,19 @@ module ContextDev
67
67
  sig { returns(Time) }
68
68
  attr_accessor :updated_at
69
69
 
70
+ # Current baseline: the last observed value the monitor compares new snapshots
71
+ # against. Its shape follows `target.type` (page/sitemap/extract). Only populated
72
+ # on GET /monitors/{monitor_id}; null until the first baseline run completes (and
73
+ # after a target or change_detection update, which resets the baseline).
74
+ sig do
75
+ returns(
76
+ T.nilable(
77
+ ContextDev::Models::MonitorCreateResponse::Baseline::Variants
78
+ )
79
+ )
80
+ end
81
+ attr_accessor :baseline
82
+
70
83
  sig { returns(T.nilable(Time)) }
71
84
  attr_accessor :last_change_at
72
85
 
@@ -137,6 +150,14 @@ module ContextDev
137
150
  ContextDev::Models::MonitorCreateResponse::Target::Extract::OrHash
138
151
  ),
139
152
  updated_at: Time,
153
+ baseline:
154
+ T.nilable(
155
+ T.any(
156
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsPageBaseline::OrHash,
157
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsSitemapBaseline::OrHash,
158
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsExtractBaseline::OrHash
159
+ )
160
+ ),
140
161
  last_change_at: T.nilable(Time),
141
162
  last_error:
142
163
  T.nilable(
@@ -173,6 +194,11 @@ module ContextDev
173
194
  # Discriminated union describing what the monitor watches.
174
195
  target:,
175
196
  updated_at:,
197
+ # Current baseline: the last observed value the monitor compares new snapshots
198
+ # against. Its shape follows `target.type` (page/sitemap/extract). Only populated
199
+ # on GET /monitors/{monitor_id}; null until the first baseline run completes (and
200
+ # after a target or change_detection update, which resets the baseline).
201
+ baseline: nil,
176
202
  last_change_at: nil,
177
203
  # Error from the most recent failed run; null when the last run succeeded.
178
204
  last_error: nil,
@@ -199,6 +225,10 @@ module ContextDev
199
225
  ContextDev::Models::MonitorCreateResponse::Status::TaggedSymbol,
200
226
  target: ContextDev::Models::MonitorCreateResponse::Target::Variants,
201
227
  updated_at: Time,
228
+ baseline:
229
+ T.nilable(
230
+ ContextDev::Models::MonitorCreateResponse::Baseline::Variants
231
+ ),
202
232
  last_change_at: T.nilable(Time),
203
233
  last_error:
204
234
  T.nilable(ContextDev::Models::MonitorCreateResponse::LastError),
@@ -257,9 +287,6 @@ module ContextDev
257
287
  )
258
288
  end
259
289
 
260
- sig { returns(String) }
261
- attr_accessor :query
262
-
263
290
  sig { returns(Symbol) }
264
291
  attr_accessor :type
265
292
 
@@ -269,21 +296,19 @@ module ContextDev
269
296
  sig { params(confidence_threshold: Float).void }
270
297
  attr_writer :confidence_threshold
271
298
 
272
- # Detect meaning-level changes that match a natural language query.
299
+ # Detect meaning-level changes to the extracted data, ignoring cosmetic or
300
+ # paraphrase-only differences. What is watched is determined by the extract
301
+ # target's `schema` and `instructions`.
273
302
  sig do
274
- params(
275
- query: String,
276
- confidence_threshold: Float,
277
- type: Symbol
278
- ).returns(T.attached_class)
303
+ params(confidence_threshold: Float, type: Symbol).returns(
304
+ T.attached_class
305
+ )
279
306
  end
280
- def self.new(query:, confidence_threshold: nil, type: :semantic)
307
+ def self.new(confidence_threshold: nil, type: :semantic)
281
308
  end
282
309
 
283
310
  sig do
284
- override.returns(
285
- { query: String, type: Symbol, confidence_threshold: Float }
286
- )
311
+ override.returns({ type: Symbol, confidence_threshold: Float })
287
312
  end
288
313
  def to_hash
289
314
  end
@@ -602,8 +627,9 @@ module ContextDev
602
627
 
603
628
  # Watch a sitemap for URL additions and removals. Crawled URLs are normalized
604
629
  # (lowercased host, no trailing slash/fragment) and scoped to the monitored site
605
- # and its subdomains before comparison. A new URL set must be observed on two
606
- # consecutive runs before a change is reported, suppressing one-run crawl flaps.
630
+ # and its subdomains before comparison. On a detected difference the sitemap is
631
+ # re-fetched within the same run and only URLs both observations agree on are
632
+ # reported, suppressing transient crawl flaps.
607
633
  sig do
608
634
  params(
609
635
  url: String,
@@ -650,6 +676,11 @@ module ContextDev
650
676
  )
651
677
  end
652
678
 
679
+ # Natural-language instructions guiding which pages and facts to track and which
680
+ # changes to report.
681
+ sig { returns(String) }
682
+ attr_accessor :instructions
683
+
653
684
  sig { returns(Symbol) }
654
685
  attr_accessor :type
655
686
 
@@ -663,13 +694,6 @@ module ContextDev
663
694
  sig { params(follow_subdomains: T::Boolean).void }
664
695
  attr_writer :follow_subdomains
665
696
 
666
- # Optional natural-language instructions guiding what to extract.
667
- sig { returns(T.nilable(String)) }
668
- attr_reader :instructions
669
-
670
- sig { params(instructions: String).void }
671
- attr_writer :instructions
672
-
673
697
  # Optional maximum link depth from the starting URL (0 = only the starting page).
674
698
  sig { returns(T.nilable(Integer)) }
675
699
  attr_reader :max_depth
@@ -677,14 +701,15 @@ module ContextDev
677
701
  sig { params(max_depth: Integer).void }
678
702
  attr_writer :max_depth
679
703
 
680
- # Maximum number of pages to analyze during extraction.
704
+ # Maximum number of pages to track.
681
705
  sig { returns(T.nilable(Integer)) }
682
706
  attr_reader :max_pages
683
707
 
684
708
  sig { params(max_pages: Integer).void }
685
709
  attr_writer :max_pages
686
710
 
687
- # JSON Schema describing the structured data to extract and watch for changes. If
711
+ # JSON Schema describing the data you care about. It guides which pages are
712
+ # selected for tracking and gives the change judge context on what matters. If
688
713
  # omitted, a default summary + key-points schema is used.
689
714
  sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
690
715
  attr_reader :schema
@@ -692,12 +717,16 @@ module ContextDev
692
717
  sig { params(schema: T::Hash[Symbol, T.anything]).void }
693
718
  attr_writer :schema
694
719
 
695
- # Watch a site's extracted structured data.
720
+ # Watch the monitor-relevant pages of a site for meaningful changes. A crawl
721
+ # guided by `schema`/`instructions` selects up to `max_pages` relevant pages to
722
+ # track; each run re-checks exactly those pages, and confirmed content changes are
723
+ # judged against the monitor's instructions. The tracked page set is refreshed by
724
+ # a periodic re-discovery crawl.
696
725
  sig do
697
726
  params(
727
+ instructions: String,
698
728
  url: String,
699
729
  follow_subdomains: T::Boolean,
700
- instructions: String,
701
730
  max_depth: Integer,
702
731
  max_pages: Integer,
703
732
  schema: T::Hash[Symbol, T.anything],
@@ -705,16 +734,18 @@ module ContextDev
705
734
  ).returns(T.attached_class)
706
735
  end
707
736
  def self.new(
737
+ # Natural-language instructions guiding which pages and facts to track and which
738
+ # changes to report.
739
+ instructions:,
708
740
  # Root URL to extract structured data from.
709
741
  url:,
710
742
  follow_subdomains: nil,
711
- # Optional natural-language instructions guiding what to extract.
712
- instructions: nil,
713
743
  # Optional maximum link depth from the starting URL (0 = only the starting page).
714
744
  max_depth: nil,
715
- # Maximum number of pages to analyze during extraction.
745
+ # Maximum number of pages to track.
716
746
  max_pages: nil,
717
- # JSON Schema describing the structured data to extract and watch for changes. If
747
+ # JSON Schema describing the data you care about. It guides which pages are
748
+ # selected for tracking and gives the change judge context on what matters. If
718
749
  # omitted, a default summary + key-points schema is used.
719
750
  schema: nil,
720
751
  type: :extract
@@ -724,10 +755,10 @@ module ContextDev
724
755
  sig do
725
756
  override.returns(
726
757
  {
758
+ instructions: String,
727
759
  type: Symbol,
728
760
  url: String,
729
761
  follow_subdomains: T::Boolean,
730
- instructions: String,
731
762
  max_depth: Integer,
732
763
  max_pages: Integer,
733
764
  schema: T::Hash[Symbol, T.anything]
@@ -749,6 +780,175 @@ module ContextDev
749
780
  end
750
781
  end
751
782
 
783
+ # Current baseline: the last observed value the monitor compares new snapshots
784
+ # against. Its shape follows `target.type` (page/sitemap/extract). Only populated
785
+ # on GET /monitors/{monitor_id}; null until the first baseline run completes (and
786
+ # after a target or change_detection update, which resets the baseline).
787
+ module Baseline
788
+ extend ContextDev::Internal::Type::Union
789
+
790
+ Variants =
791
+ T.type_alias do
792
+ T.any(
793
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsPageBaseline,
794
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsSitemapBaseline,
795
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsExtractBaseline
796
+ )
797
+ end
798
+
799
+ class MonitorsPageBaseline < ContextDev::Internal::Type::BaseModel
800
+ OrHash =
801
+ T.type_alias do
802
+ T.any(
803
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsPageBaseline,
804
+ ContextDev::Internal::AnyHash
805
+ )
806
+ end
807
+
808
+ # When this baseline was last captured or replaced.
809
+ sig { returns(Time) }
810
+ attr_accessor :captured_at
811
+
812
+ # The page's visible text as last observed.
813
+ sig { returns(String) }
814
+ attr_accessor :text
815
+
816
+ # Current baseline of a `page` monitor: the visible page text as last observed.
817
+ sig do
818
+ params(captured_at: Time, text: String).returns(T.attached_class)
819
+ end
820
+ def self.new(
821
+ # When this baseline was last captured or replaced.
822
+ captured_at:,
823
+ # The page's visible text as last observed.
824
+ text:
825
+ )
826
+ end
827
+
828
+ sig { override.returns({ captured_at: Time, text: String }) }
829
+ def to_hash
830
+ end
831
+ end
832
+
833
+ class MonitorsSitemapBaseline < ContextDev::Internal::Type::BaseModel
834
+ OrHash =
835
+ T.type_alias do
836
+ T.any(
837
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsSitemapBaseline,
838
+ ContextDev::Internal::AnyHash
839
+ )
840
+ end
841
+
842
+ # When this baseline was last captured or replaced.
843
+ sig { returns(Time) }
844
+ attr_accessor :captured_at
845
+
846
+ # Number of URLs in the baseline.
847
+ sig { returns(Integer) }
848
+ attr_accessor :url_count
849
+
850
+ # The sitemap URLs as last observed (sorted, normalized).
851
+ sig { returns(T::Array[String]) }
852
+ attr_accessor :urls
853
+
854
+ # Current baseline of a `sitemap` monitor: the normalized URL set as last
855
+ # observed.
856
+ sig do
857
+ params(
858
+ captured_at: Time,
859
+ url_count: Integer,
860
+ urls: T::Array[String]
861
+ ).returns(T.attached_class)
862
+ end
863
+ def self.new(
864
+ # When this baseline was last captured or replaced.
865
+ captured_at:,
866
+ # Number of URLs in the baseline.
867
+ url_count:,
868
+ # The sitemap URLs as last observed (sorted, normalized).
869
+ urls:
870
+ )
871
+ end
872
+
873
+ sig do
874
+ override.returns(
875
+ { captured_at: Time, url_count: Integer, urls: T::Array[String] }
876
+ )
877
+ end
878
+ def to_hash
879
+ end
880
+ end
881
+
882
+ class MonitorsExtractBaseline < ContextDev::Internal::Type::BaseModel
883
+ OrHash =
884
+ T.type_alias do
885
+ T.any(
886
+ ContextDev::Models::MonitorCreateResponse::Baseline::MonitorsExtractBaseline,
887
+ ContextDev::Internal::AnyHash
888
+ )
889
+ end
890
+
891
+ # When this baseline was last captured or replaced.
892
+ sig { returns(Time) }
893
+ attr_accessor :captured_at
894
+
895
+ # The extracted structured data, matching the monitor's extraction schema (same
896
+ # shape as the /web/extract endpoint's `data`). Refreshed when the monitor
897
+ # re-discovers its page set (at most about once a day); `null` when no extraction
898
+ # has been captured yet.
899
+ sig { returns(T.anything) }
900
+ attr_accessor :data
901
+
902
+ # The page URLs the monitor tracks and analyzes for changes.
903
+ sig { returns(T::Array[String]) }
904
+ attr_accessor :urls_analyzed
905
+
906
+ # Current baseline of an `extract` monitor: the pages it tracks and the structured
907
+ # data as last extracted.
908
+ sig do
909
+ params(
910
+ captured_at: Time,
911
+ data: T.anything,
912
+ urls_analyzed: T::Array[String]
913
+ ).returns(T.attached_class)
914
+ end
915
+ def self.new(
916
+ # When this baseline was last captured or replaced.
917
+ captured_at:,
918
+ # The extracted structured data, matching the monitor's extraction schema (same
919
+ # shape as the /web/extract endpoint's `data`). Refreshed when the monitor
920
+ # re-discovers its page set (at most about once a day); `null` when no extraction
921
+ # has been captured yet.
922
+ data:,
923
+ # The page URLs the monitor tracks and analyzes for changes.
924
+ urls_analyzed:
925
+ )
926
+ end
927
+
928
+ sig do
929
+ override.returns(
930
+ {
931
+ captured_at: Time,
932
+ data: T.anything,
933
+ urls_analyzed: T::Array[String]
934
+ }
935
+ )
936
+ end
937
+ def to_hash
938
+ end
939
+ end
940
+
941
+ sig do
942
+ override.returns(
943
+ T::Array[
944
+ ContextDev::Models::MonitorCreateResponse::Baseline::Variants
945
+ ]
946
+ )
947
+ end
948
+ def self.variants
949
+ end
950
+ end
951
+
752
952
  class LastError < ContextDev::Internal::Type::BaseModel
753
953
  OrHash =
754
954
  T.type_alias do
@@ -47,8 +47,8 @@ module ContextDev
47
47
  sig { params(q: String).void }
48
48
  attr_writer :q
49
49
 
50
- # Comma-separated fields to search with `q`. Defaults to all of them. Note `query`
51
- # only exists on semantic monitors.
50
+ # Comma-separated fields to search with `q`. Defaults to all of them. Note
51
+ # `instructions` only exists on extract monitors.
52
52
  sig do
53
53
  returns(
54
54
  T.nilable(T::Array[ContextDev::MonitorListParams::SearchBy::OrSymbol])
@@ -141,8 +141,8 @@ module ContextDev
141
141
  limit: nil,
142
142
  # Free-text search term, matched against the fields named in `search_by`.
143
143
  q: nil,
144
- # Comma-separated fields to search with `q`. Defaults to all of them. Note `query`
145
- # only exists on semantic monitors.
144
+ # Comma-separated fields to search with `q`. Defaults to all of them. Note
145
+ # `instructions` only exists on extract monitors.
146
146
  search_by: nil,
147
147
  # `prefix` for as-you-type prefix matching (default), `exact` for full-token
148
148
  # matching.
@@ -227,8 +227,11 @@ module ContextDev
227
227
  NAME =
228
228
  T.let(:name, ContextDev::MonitorListParams::SearchBy::TaggedSymbol)
229
229
  URL = T.let(:url, ContextDev::MonitorListParams::SearchBy::TaggedSymbol)
230
- QUERY =
231
- T.let(:query, ContextDev::MonitorListParams::SearchBy::TaggedSymbol)
230
+ INSTRUCTIONS =
231
+ T.let(
232
+ :instructions,
233
+ ContextDev::MonitorListParams::SearchBy::TaggedSymbol
234
+ )
232
235
  TAGS =
233
236
  T.let(:tags, ContextDev::MonitorListParams::SearchBy::TaggedSymbol)
234
237