You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a72ac3e
Browse filesBrowse the repository at this point in the historyBrowse files
"""Watch a sitemap for URL additions and removals.
109
109
110
-
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. A new URL set must be observed on two consecutive runs before a change is reported, suppressing one-run crawl flaps.
110
+
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. On a detected difference the sitemap is re-fetched within the same run and only URLs both observations agree on are reported, suppressing transient crawl flaps.
111
111
"""
112
112
113
113
type: Required[Literal["sitemap"]]
@@ -126,14 +126,15 @@ class TargetMonitorsSitemapTarget(TypedDict, total=False):
"""Watch the monitor-relevant pages of a site for meaningful changes.
130
130
131
-
instructions: Required[str]
132
-
"""Natural-language instructions describing what to extract and watch.
131
+
A crawl guided by `schema`/`instructions` selects up to `max_pages` relevant pages to track; each run re-checks exactly those pages, and confirmed content changes are judged against the monitor's instructions. The tracked page set is refreshed by a periodic re-discovery crawl.
132
+
"""
133
133
134
-
This single prompt scopes both the extraction and what changes get reported:
135
-
only data captured by the schema and these instructions is compared between
136
-
runs.
134
+
instructions: Required[str]
135
+
"""
136
+
Natural-language instructions guiding which pages and facts to track and which
137
+
changes to report.
137
138
"""
138
139
139
140
type: Required[Literal["extract"]]
@@ -147,12 +148,14 @@ class TargetMonitorsExtractTarget(TypedDict, total=False):
147
148
"""Optional maximum link depth from the starting URL (0 = only the starting page)."""
148
149
149
150
max_pages: int
150
-
"""Maximum number of pages to analyze during extraction."""
151
+
"""Maximum number of pages to track."""
151
152
152
153
schema: Dict[str, object]
153
-
"""JSON Schema describing the structured data to extract and watch for changes.
154
+
"""JSON Schema describing the data you care about.
154
155
155
-
If omitted, a default summary + key-points schema is used.
156
+
It guides which pages are selected for tracking and gives the change judge
157
+
context on what matters. If omitted, a default summary + key-points schema is
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_create_response.py
+18-13Lines changed: 18 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ class TargetMonitorsPageTarget(BaseModel):
86
86
classTargetMonitorsSitemapTarget(BaseModel):
87
87
"""Watch a sitemap for URL additions and removals.
88
88
89
-
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. A new URL set must be observed on two consecutive runs before a change is reported, suppressing one-run crawl flaps.
89
+
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. On a detected difference the sitemap is re-fetched within the same run and only URLs both observations agree on are reported, suppressing transient crawl flaps.
90
90
"""
91
91
92
92
type: Literal["sitemap"]
@@ -105,14 +105,15 @@ class TargetMonitorsSitemapTarget(BaseModel):
105
105
106
106
107
107
classTargetMonitorsExtractTarget(BaseModel):
108
-
"""Watch a site's extracted structured data."""
108
+
"""Watch the monitor-relevant pages of a site for meaningful changes.
109
109
110
-
instructions: str
111
-
"""Natural-language instructions describing what to extract and watch.
110
+
A crawl guided by `schema`/`instructions` selects up to `max_pages` relevant pages to track; each run re-checks exactly those pages, and confirmed content changes are judged against the monitor's instructions. The tracked page set is refreshed by a periodic re-discovery crawl.
111
+
"""
112
112
113
-
This single prompt scopes both the extraction and what changes get reported:
114
-
only data captured by the schema and these instructions is compared between
115
-
runs.
113
+
instructions: str
114
+
"""
115
+
Natural-language instructions guiding which pages and facts to track and which
116
+
changes to report.
116
117
"""
117
118
118
119
type: Literal["extract"]
@@ -126,12 +127,14 @@ class TargetMonitorsExtractTarget(BaseModel):
126
127
"""Optional maximum link depth from the starting URL (0 = only the starting page)."""
127
128
128
129
max_pages: Optional[int] =None
129
-
"""Maximum number of pages to analyze during extraction."""
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_list_response.py
+18-13Lines changed: 18 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ class DataTargetMonitorsPageTarget(BaseModel):
87
87
classDataTargetMonitorsSitemapTarget(BaseModel):
88
88
"""Watch a sitemap for URL additions and removals.
89
89
90
-
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. A new URL set must be observed on two consecutive runs before a change is reported, suppressing one-run crawl flaps.
90
+
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. On a detected difference the sitemap is re-fetched within the same run and only URLs both observations agree on are reported, suppressing transient crawl flaps.
91
91
"""
92
92
93
93
type: Literal["sitemap"]
@@ -106,14 +106,15 @@ class DataTargetMonitorsSitemapTarget(BaseModel):
106
106
107
107
108
108
classDataTargetMonitorsExtractTarget(BaseModel):
109
-
"""Watch a site's extracted structured data."""
109
+
"""Watch the monitor-relevant pages of a site for meaningful changes.
110
110
111
-
instructions: str
112
-
"""Natural-language instructions describing what to extract and watch.
111
+
A crawl guided by `schema`/`instructions` selects up to `max_pages` relevant pages to track; each run re-checks exactly those pages, and confirmed content changes are judged against the monitor's instructions. The tracked page set is refreshed by a periodic re-discovery crawl.
112
+
"""
113
113
114
-
This single prompt scopes both the extraction and what changes get reported:
115
-
only data captured by the schema and these instructions is compared between
116
-
runs.
114
+
instructions: str
115
+
"""
116
+
Natural-language instructions guiding which pages and facts to track and which
117
+
changes to report.
117
118
"""
118
119
119
120
type: Literal["extract"]
@@ -127,12 +128,14 @@ class DataTargetMonitorsExtractTarget(BaseModel):
127
128
"""Optional maximum link depth from the starting URL (0 = only the starting page)."""
128
129
129
130
max_pages: Optional[int] =None
130
-
"""Maximum number of pages to analyze during extraction."""
Copy file name to clipboardExpand all lines: src/context/dev/types/monitor_retrieve_response.py
+18-13Lines changed: 18 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ class TargetMonitorsPageTarget(BaseModel):
86
86
classTargetMonitorsSitemapTarget(BaseModel):
87
87
"""Watch a sitemap for URL additions and removals.
88
88
89
-
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. A new URL set must be observed on two consecutive runs before a change is reported, suppressing one-run crawl flaps.
89
+
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. On a detected difference the sitemap is re-fetched within the same run and only URLs both observations agree on are reported, suppressing transient crawl flaps.
90
90
"""
91
91
92
92
type: Literal["sitemap"]
@@ -105,14 +105,15 @@ class TargetMonitorsSitemapTarget(BaseModel):
105
105
106
106
107
107
classTargetMonitorsExtractTarget(BaseModel):
108
-
"""Watch a site's extracted structured data."""
108
+
"""Watch the monitor-relevant pages of a site for meaningful changes.
109
109
110
-
instructions: str
111
-
"""Natural-language instructions describing what to extract and watch.
110
+
A crawl guided by `schema`/`instructions` selects up to `max_pages` relevant pages to track; each run re-checks exactly those pages, and confirmed content changes are judged against the monitor's instructions. The tracked page set is refreshed by a periodic re-discovery crawl.
111
+
"""
112
112
113
-
This single prompt scopes both the extraction and what changes get reported:
114
-
only data captured by the schema and these instructions is compared between
115
-
runs.
113
+
instructions: str
114
+
"""
115
+
Natural-language instructions guiding which pages and facts to track and which
116
+
changes to report.
116
117
"""
117
118
118
119
type: Literal["extract"]
@@ -126,12 +127,14 @@ class TargetMonitorsExtractTarget(BaseModel):
126
127
"""Optional maximum link depth from the starting URL (0 = only the starting page)."""
127
128
128
129
max_pages: Optional[int] =None
129
-
"""Maximum number of pages to analyze during extraction."""
"""Watch a sitemap for URL additions and removals.
105
105
106
-
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. A new URL set must be observed on two consecutive runs before a change is reported, suppressing one-run crawl flaps.
106
+
Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. On a detected difference the sitemap is re-fetched within the same run and only URLs both observations agree on are reported, suppressing transient crawl flaps.
107
107
"""
108
108
109
109
type: Required[Literal["sitemap"]]
@@ -122,14 +122,15 @@ class TargetMonitorsSitemapTarget(TypedDict, total=False):
"""Watch the monitor-relevant pages of a site for meaningful changes.
126
126
127
-
instructions: Required[str]
128
-
"""Natural-language instructions describing what to extract and watch.
127
+
A crawl guided by `schema`/`instructions` selects up to `max_pages` relevant pages to track; each run re-checks exactly those pages, and confirmed content changes are judged against the monitor's instructions. The tracked page set is refreshed by a periodic re-discovery crawl.
128
+
"""
129
129
130
-
This single prompt scopes both the extraction and what changes get reported:
131
-
only data captured by the schema and these instructions is compared between
132
-
runs.
130
+
instructions: Required[str]
131
+
"""
132
+
Natural-language instructions guiding which pages and facts to track and which
133
+
changes to report.
133
134
"""
134
135
135
136
type: Required[Literal["extract"]]
@@ -143,12 +144,14 @@ class TargetMonitorsExtractTarget(TypedDict, total=False):
143
144
"""Optional maximum link depth from the starting URL (0 = only the starting page)."""
144
145
145
146
max_pages: int
146
-
"""Maximum number of pages to analyze during extraction."""
147
+
"""Maximum number of pages to track."""
147
148
148
149
schema: Dict[str, object]
149
-
"""JSON Schema describing the structured data to extract and watch for changes.
150
+
"""JSON Schema describing the data you care about.
150
151
151
-
If omitted, a default summary + key-points schema is used.
152
+
It guides which pages are selected for tracking and gives the change judge
153
+
context on what matters. If omitted, a default summary + key-points schema is
0 commit comments