@cyanheads/astronomy-mcp-server 0.2.4 → 0.2.6
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/AGENTS.md +1 -1
- package/CLAUDE.md +1 -1
- package/README.md +13 -11
- package/changelog/0.2.x/0.2.5.md +19 -0
- package/changelog/0.2.x/0.2.6.md +13 -0
- package/dist/config/server-config.js +3 -3
- package/dist/config/server-config.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js +67 -10
- package/dist/mcp-server/tools/definitions/get-ephemeris.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts +29 -5
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js +83 -13
- package/dist/mcp-server/tools/definitions/get-satellite-passes.tool.js.map +1 -1
- package/dist/services/horizons/horizons-service.d.ts.map +1 -1
- package/dist/services/horizons/horizons-service.js +7 -0
- package/dist/services/horizons/horizons-service.js.map +1 -1
- package/dist/services/horizons/types.d.ts +6 -1
- package/dist/services/horizons/types.d.ts.map +1 -1
- package/dist/services/satellite/satellite-service.d.ts +87 -33
- package/dist/services/satellite/satellite-service.d.ts.map +1 -1
- package/dist/services/satellite/satellite-service.js +266 -103
- package/dist/services/satellite/satellite-service.js.map +1 -1
- package/dist/services/satellite/types.d.ts +60 -7
- package/dist/services/satellite/types.d.ts.map +1 -1
- package/dist/services/satellite/types.js +36 -2
- package/dist/services/satellite/types.js.map +1 -1
- package/package.json +1 -1
- package/server.json +5 -5
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview astronomy_get_satellite_passes — gated extension. Visible passes of a
|
|
3
|
-
* satellite (by NORAD
|
|
4
|
-
*
|
|
3
|
+
* satellite (by NORAD catalog number, or by a name resolved against the catalog) over
|
|
4
|
+
* an observer, via a CelesTrak GP element set propagated with SGP4 offline. Registered
|
|
5
|
+
* only when ASTRONOMY_ENABLE_SATELLITES is set.
|
|
5
6
|
* @module mcp-server/tools/definitions/get-satellite-passes.tool
|
|
6
7
|
*/
|
|
7
8
|
import { tool, z } from '@cyanheads/mcp-ts-core';
|
|
@@ -15,7 +16,11 @@ export const SatellitePassesOutput = z.object({
|
|
|
15
16
|
satellite_name: z
|
|
16
17
|
.string()
|
|
17
18
|
.optional()
|
|
18
|
-
.describe(
|
|
19
|
+
.describe("Satellite name as CelesTrak catalogs it (the element set's OBJECT_NAME)."),
|
|
20
|
+
resolved_from_name: z
|
|
21
|
+
.string()
|
|
22
|
+
.optional()
|
|
23
|
+
.describe('The name query that resolved this object. Present only when the request supplied `name` rather than `norad_id`.'),
|
|
19
24
|
passes: z
|
|
20
25
|
.array(z
|
|
21
26
|
.object({
|
|
@@ -54,14 +59,20 @@ export const SatellitePassesOutput = z.object({
|
|
|
54
59
|
});
|
|
55
60
|
export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
56
61
|
title: 'astronomy-mcp-server: get satellite passes',
|
|
57
|
-
description: "Predict visible passes of a satellite (e.g. the ISS, NORAD 25544) over an observer in the next `days`. Fetches the current
|
|
62
|
+
description: "Predict visible passes of a satellite (e.g. the ISS, NORAD 25544) over an observer in the next `days`. Identify the satellite by exactly one of `norad_id` or `name` — supplying both, or neither, is rejected. `name` is matched as a case-insensitive substring of CelesTrak's catalog names, so it resolves only when it picks out a single object: a broader query comes back with the matching objects and their catalog numbers to choose from, and the result echoes the query that resolved it as `resolved_from_name`. Fetches the object's current GP element set from CelesTrak, propagates it with SGP4 in-process, and returns each pass's rise, peak, and set times with azimuths and the peak elevation. Only passes that are naked-eye-plausible are returned — the satellite must be sunlit at peak while the observer's sky is dark. Every returned pass rises within the requested window: a pass already underway at `start` is omitted rather than reported with `start` as its rise, so back up `start` to see it. A `start` further than about a month from the element set's epoch is rejected as out of range on that distance alone, and an element set that will not propagate to a window inside that horizon is rejected as a reentry — so an empty `passes` means only that nothing was visible. CelesTrak publishes only current element sets, so in practice `start` must be within about a month of today. NORAD catalog numbers and catalog names are found at celestrak.org or heavens-above.com. This is a gated, network-backed extension (CelesTrak is keyless but rate-limited; element sets are cached briefly). Default elevation 0 m; pass an IANA timezone for observer-local pass times.",
|
|
58
63
|
annotations: { readOnlyHint: true, openWorldHint: true, idempotentHint: true },
|
|
59
|
-
input: z
|
|
64
|
+
input: z
|
|
65
|
+
.object({
|
|
60
66
|
norad_id: z
|
|
61
67
|
.number()
|
|
62
68
|
.int()
|
|
63
69
|
.positive()
|
|
64
|
-
.
|
|
70
|
+
.optional()
|
|
71
|
+
.describe('NORAD catalog number of the satellite, e.g. 25544 for the ISS. Found at celestrak.org or heavens-above.com. Mutually exclusive with `name` — supply exactly one.'),
|
|
72
|
+
name: z
|
|
73
|
+
.string()
|
|
74
|
+
.optional()
|
|
75
|
+
.describe('Satellite name to resolve against CelesTrak, e.g. "ISS (ZARYA)". Matched as a case-insensitive substring of the catalog name, so give the fullest name you have — a short one matches many objects and is rejected as ambiguous. Mutually exclusive with `norad_id` — supply exactly one.'),
|
|
65
76
|
latitude: z
|
|
66
77
|
.number()
|
|
67
78
|
.min(-90)
|
|
@@ -86,11 +97,24 @@ export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
|
86
97
|
start: z
|
|
87
98
|
.string()
|
|
88
99
|
.optional()
|
|
89
|
-
.describe(
|
|
100
|
+
.describe("Search start as an ISO 8601 UTC string, within about a month of the current element set's epoch — for a tracked object that epoch is hours old, so in practice within about a month of today. A start further out is rejected rather than answered from elements that no longer describe the orbit. Defaults to now."),
|
|
90
101
|
timezone: z
|
|
91
102
|
.string()
|
|
92
103
|
.optional()
|
|
93
104
|
.describe('IANA timezone for localized pass times, e.g. "America/Los_Angeles". When omitted, output is UTC-only.'),
|
|
105
|
+
})
|
|
106
|
+
/**
|
|
107
|
+
* `norad_id` and `name` are two ways of naming one object, so neither can be marked
|
|
108
|
+
* required on its own. `oneOf` carries the exclusivity into the emitted JSON Schema,
|
|
109
|
+
* where a validating client can act on it — with `type` on each branch, since Gemini
|
|
110
|
+
* rejects an untyped one. The handler enforces the same rule with a typed failure, so
|
|
111
|
+
* a client that does not validate still gets a hint rather than a schema error.
|
|
112
|
+
*/
|
|
113
|
+
.meta({
|
|
114
|
+
oneOf: [
|
|
115
|
+
{ type: 'object', required: ['norad_id'], not: { required: ['name'] } },
|
|
116
|
+
{ type: 'object', required: ['name'], not: { required: ['norad_id'] } },
|
|
117
|
+
],
|
|
94
118
|
}),
|
|
95
119
|
output: SatellitePassesOutput,
|
|
96
120
|
enrichment: {
|
|
@@ -108,7 +132,7 @@ export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
|
108
132
|
{
|
|
109
133
|
reason: 'time_out_of_range',
|
|
110
134
|
code: JsonRpcErrorCode.InvalidParams,
|
|
111
|
-
when: 'The start instant is outside the SGP4 high-accuracy span (≈1900–2100), or
|
|
135
|
+
when: 'The start instant is outside the SGP4 high-accuracy span (≈1900–2100), or more than about a month from the epoch of the current element set — checked on the epoch distance itself, since SGP4 keeps returning positions well past the point where the mean elements describe the orbit.',
|
|
112
136
|
recovery: 'Request a start within about a month of today — element sets only describe the orbit for weeks around their epoch.',
|
|
113
137
|
},
|
|
114
138
|
{
|
|
@@ -118,12 +142,33 @@ export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
|
118
142
|
// Verbatim the hint EphemerisService.resolveTimezone() throws with.
|
|
119
143
|
recovery: 'Pass a valid IANA timezone like America/Los_Angeles or UTC.',
|
|
120
144
|
},
|
|
145
|
+
{
|
|
146
|
+
reason: 'invalid_target',
|
|
147
|
+
code: JsonRpcErrorCode.InvalidParams,
|
|
148
|
+
when: 'Neither `norad_id` nor `name` was supplied, or both were.',
|
|
149
|
+
// Verbatim the hint the handler throws with, so the contract documents the same
|
|
150
|
+
// next move the client is handed on the wire.
|
|
151
|
+
recovery: 'Supply exactly one of norad_id or name — norad_id when the catalog number is known, name otherwise.',
|
|
152
|
+
},
|
|
121
153
|
{
|
|
122
154
|
reason: 'tle_not_found',
|
|
123
155
|
code: JsonRpcErrorCode.NotFound,
|
|
124
156
|
when: 'CelesTrak has no current element set for the NORAD ID.',
|
|
157
|
+
// Verbatim the hint SatelliteService throws with, as are the four below.
|
|
125
158
|
recovery: 'Verify the catalog number at celestrak.org; the object may have decayed or never been catalogued.',
|
|
126
159
|
},
|
|
160
|
+
{
|
|
161
|
+
reason: 'satellite_name_not_found',
|
|
162
|
+
code: JsonRpcErrorCode.NotFound,
|
|
163
|
+
when: 'No current CelesTrak object has a name containing the `name` value.',
|
|
164
|
+
recovery: 'Check the spelling, try a shorter distinctive substring, or look the object up at celestrak.org.',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
reason: 'ambiguous_satellite_name',
|
|
168
|
+
code: JsonRpcErrorCode.InvalidParams,
|
|
169
|
+
when: 'The `name` value matches more than one current object and none of them carries it as their whole name. The error names the match count and lists the matching objects with their catalog numbers, capped when there are more than the list holds. A capped list carries a hint leading with narrowing instead of with the list, since the wanted object need not be among the ones shown.',
|
|
170
|
+
recovery: 'Re-call with norad_id set to one of the listed candidates, or supply a longer, more specific name.',
|
|
171
|
+
},
|
|
127
172
|
{
|
|
128
173
|
reason: 'object_decayed',
|
|
129
174
|
code: JsonRpcErrorCode.NotFound,
|
|
@@ -133,14 +178,29 @@ export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
|
133
178
|
{
|
|
134
179
|
reason: 'celestrak_unavailable',
|
|
135
180
|
code: JsonRpcErrorCode.ServiceUnavailable,
|
|
136
|
-
when: 'The
|
|
181
|
+
when: 'The element-set fetch failed after retries, or returned a body that is not JSON at all.',
|
|
137
182
|
retryable: true,
|
|
138
183
|
recovery: 'CelesTrak is degraded or timed out; retry in a few minutes.',
|
|
139
184
|
},
|
|
185
|
+
{
|
|
186
|
+
reason: 'malformed_element_set',
|
|
187
|
+
code: JsonRpcErrorCode.SerializationError,
|
|
188
|
+
when: 'CelesTrak answered with parsable JSON whose GP record does not carry the fields an OMM element set requires — a permanent property of that record, not the transient outage celestrak_unavailable covers. The same request returns the same record, so retrying it can only fail again.',
|
|
189
|
+
recovery: 'Retrying returns the same record — request a different object, and report the element set to celestrak.org.',
|
|
190
|
+
},
|
|
140
191
|
],
|
|
141
192
|
async handler(input, ctx) {
|
|
142
193
|
const satSvc = getSatelliteService();
|
|
143
194
|
const ephSvc = getEphemerisService();
|
|
195
|
+
const noradId = input.norad_id;
|
|
196
|
+
/**
|
|
197
|
+
* Form-based clients send an omitted string as `''`, so a blank `name` is the absence
|
|
198
|
+
* of one rather than a query for every object in the catalog.
|
|
199
|
+
*/
|
|
200
|
+
const nameQuery = input.name?.trim() || undefined;
|
|
201
|
+
if ((noradId === undefined) === (nameQuery === undefined)) {
|
|
202
|
+
throw ctx.fail('invalid_target', 'Identify the satellite with exactly one of `norad_id` or `name`.', ctx.recoveryFor('invalid_target'));
|
|
203
|
+
}
|
|
144
204
|
const timezone = ephSvc.resolveTimezone(input.timezone ?? getServerConfig().defaultTimezone);
|
|
145
205
|
/**
|
|
146
206
|
* resolveTime() validates the instant (invalid_time / time_out_of_range) and returns
|
|
@@ -153,17 +213,25 @@ export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
|
153
213
|
longitude: input.longitude,
|
|
154
214
|
elevation: input.elevation,
|
|
155
215
|
};
|
|
156
|
-
|
|
216
|
+
/**
|
|
217
|
+
* The guard above is what pairs the two selectors, and TypeScript cannot follow that
|
|
218
|
+
* across two independent optionals — hence the assertion on the arm it rules out.
|
|
219
|
+
*/
|
|
220
|
+
const elements = noradId === undefined
|
|
221
|
+
? await satSvc.resolveByName(nameQuery, ctx)
|
|
222
|
+
: await satSvc.fetchElementSet(noradId, ctx);
|
|
157
223
|
const formatLocal = timezone ? (d) => ephSvc.formatLocal(d, timezone) : undefined;
|
|
158
|
-
const result = satSvc.predictPasses(
|
|
224
|
+
const result = satSvc.predictPasses(elements, observer, input.days, start, formatLocal);
|
|
159
225
|
ctx.log.info('Predicted satellite passes', {
|
|
160
|
-
noradId:
|
|
226
|
+
noradId: result.noradId,
|
|
227
|
+
resolvedFromName: nameQuery,
|
|
161
228
|
passes: result.passes.length,
|
|
162
229
|
});
|
|
163
230
|
ctx.enrich.total(result.passes.length);
|
|
164
231
|
const out = {
|
|
165
232
|
norad_id: result.noradId,
|
|
166
|
-
|
|
233
|
+
satellite_name: result.satelliteName,
|
|
234
|
+
...(nameQuery ? { resolved_from_name: nameQuery } : {}),
|
|
167
235
|
passes: result.passes.map((p) => ({
|
|
168
236
|
rise_utc: p.riseUtc,
|
|
169
237
|
peak_utc: p.peakUtc,
|
|
@@ -185,6 +253,8 @@ export const getSatellitePassesTool = tool('astronomy_get_satellite_passes', {
|
|
|
185
253
|
const lines = [];
|
|
186
254
|
const nameLabel = r.satellite_name ? `${r.satellite_name} ` : '';
|
|
187
255
|
lines.push(`## ${nameLabel}(NORAD ${r.norad_id}) — ${r.passes.length} visible passes`);
|
|
256
|
+
if (r.resolved_from_name)
|
|
257
|
+
lines.push(`Resolved from the name query "${r.resolved_from_name}".`);
|
|
188
258
|
if (r.passes.length === 0)
|
|
189
259
|
lines.push('No visible passes in the requested window (sunlit satellite over a dark sky).');
|
|
190
260
|
for (const p of r.passes) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-satellite-passes.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-satellite-passes.tool.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"get-satellite-passes.tool.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/definitions/get-satellite-passes.tool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BA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,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,CAAC,mBAAmB,EAAE,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,CAAC,CAAC,CAAC,gBAAgB,EAAE,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,MAAM,EAAE,CACtc,CAAC;QACJ,CAAC;QACD,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"horizons-service.d.ts","sourceRoot":"","sources":["../../../src/services/horizons/horizons-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,YAAY,CAAC;AAKlE,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAF5B,YACmB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EAChC;IAEJ;;;OAGG;IACG,SAAS,CACb,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,OAAO,EACZ,QAAQ,CAAC,EAAE,aAAa,GACvB,OAAO,CAAC,eAAe,CAAC,CAsC1B;IAED,sEAAsE;IACtE,OAAO,CAAC,QAAQ;
|
|
1
|
+
{"version":3,"file":"horizons-service.d.ts","sourceRoot":"","sources":["../../../src/services/horizons/horizons-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAkB,eAAe,EAAE,MAAM,YAAY,CAAC;AAKlE,qBAAa,eAAe;IAExB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAF5B,YACmB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EAChC;IAEJ;;;OAGG;IACG,SAAS,CACb,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,OAAO,EACZ,QAAQ,CAAC,EAAE,aAAa,GACvB,OAAO,CAAC,eAAe,CAAC,CAsC1B;IAED,sEAAsE;IACtE,OAAO,CAAC,QAAQ;IAyChB,4DAA4D;IAC5D,OAAO,CAAC,KAAK;IAuDb;;;;;;;;;OASG;IACH,OAAO,CAAC,QAAQ;IAoDhB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;CA+B1B;AAMD,gFAAgF;AAChF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,IAAI,CAE5E;AAED,8DAA8D;AAC9D,wBAAgB,kBAAkB,IAAI,eAAe,CAKpD"}
|
|
@@ -75,6 +75,13 @@ export class HorizonsService {
|
|
|
75
75
|
params.set('COORD_TYPE', 'GEODETIC');
|
|
76
76
|
// SITE_COORD is E-longitude, latitude, height(km): "lon,lat,km".
|
|
77
77
|
params.set('SITE_COORD', `'${observer.longitude},${observer.latitude},${(observer.elevation / 1000).toFixed(6)}'`);
|
|
78
|
+
// APPARENT toggles refraction correction and defaults to AIRLESS, so without it
|
|
79
|
+
// the elevation column is geometric while altitude_degrees is advertised as
|
|
80
|
+
// refraction-corrected — a gap that widens toward the horizon, where a caller
|
|
81
|
+
// reads rise and set off that column. Horizons applies the toggle to Earth
|
|
82
|
+
// topocentric requests only, which is this branch, and the core sky-position
|
|
83
|
+
// tools already report refracted altitude.
|
|
84
|
+
params.set('APPARENT', 'REFRACTED');
|
|
78
85
|
}
|
|
79
86
|
return `${this.baseUrl}?${params.toString()}`;
|
|
80
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"horizons-service.js","sourceRoot":"","sources":["../../../src/services/horizons/horizons-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAI3E,sFAAsF;AACtF,MAAM,QAAQ,GAAG,GAAG,CAAC;AAErB,MAAM,OAAO,eAAe;IAEP,OAAO;IACP,SAAS;IAF5B,YACmB,OAAe,EACf,SAAiB;uBADjB,OAAO;yBACP,SAAS;IACzB,CAAC;IAEJ;;;OAGG;IACH,KAAK,CAAC,SAAS,CACb,WAAmB,EACnB,KAAa,EACb,IAAY,EACZ,IAAY,EACZ,GAAY,EACZ,QAAwB;QAExB,MAAM,GAAG,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;QAEpE,IAAI,IAAY,CAAC;QACjB,IAAI,CAAC;YACH,IAAI,GAAG,MAAM,SAAS,CACpB,KAAK,IAAI,EAAE;gBACT,MAAM,QAAQ,GAAG,MAAM,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,GAAG,EAAE;oBAChE,MAAM,EAAE,GAAG,CAAC,MAAM;iBACnB,CAAC,CAAC;gBACH,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;YACzB,CAAC,EACD;gBACE,SAAS,EAAE,2BAA2B;gBACtC,OAAO,EAAE,G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ped: number;
|
|
30
30
|
points: EphemerisPoint[];
|
|
31
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* True when Horizons returned more rows than the inline cap. The remaining rows are
|
|
33
|
+
* retrieved by re-calling from the instant one step past the last row returned, never
|
|
34
|
+
* by widening `step` — a wider step answers a different question, dropping samples the
|
|
35
|
+
* original range asked for instead of retrieving them.
|
|
36
|
+
*/
|
|
32
37
|
truncated: boolean;
|
|
33
38
|
}
|
|
34
39
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/horizons/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/horizons/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB;;;;;OAKG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,58 +1,112 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview SatelliteService — gated extension that predicts visible satellite
|
|
3
|
-
* passes. Fetches the current
|
|
4
|
-
* process per CelesTrak's refetch guidance), propagates with SGP4
|
|
5
|
-
* (offline), and returns above-horizon passes.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
3
|
+
* passes. Fetches the current GP element set from CelesTrak as OMM JSON (keyless,
|
|
4
|
+
* cached briefly in process per CelesTrak's refetch guidance), propagates it with SGP4
|
|
5
|
+
* via satellite.js (offline), and returns above-horizon passes. One request builder
|
|
6
|
+
* serves both lookups: by catalog number (`CATNR=`) and by name (`NAME=`, a
|
|
7
|
+
* case-insensitive substring match whose single-match response already carries the
|
|
8
|
+
* element set, so resolving a name costs no extra round trip). A pass is "visible"
|
|
9
|
+
* only when the satellite is sunlit at peak AND the observer's sky is dark — the
|
|
10
|
+
* ground-darkness gate reuses the core sun-altitude logic. A pass already underway
|
|
11
|
+
* when the window opens is omitted rather than reported with the query boundary as its
|
|
12
|
+
* rise. A start beyond the element set's epoch horizon is rejected on that distance
|
|
13
|
+
* alone, and inside the horizon an element set that will not propagate at all is
|
|
14
|
+
* rejected as a decayed object — neither reaches the caller as a 200-shaped answer,
|
|
15
|
+
* which would read as "nothing visible tonight" or as a pass list built from mean
|
|
16
|
+
* elements that stopped describing the orbit. Network-touching code carries its own
|
|
17
|
+
* timeout + retry boundary and degrades loudly; it never substitutes core output. A
|
|
18
|
+
* response that parses but is not an OMM element set is reported apart from an outage
|
|
19
|
+
* — its shape is a property of the record, so retrying it can only fail again.
|
|
13
20
|
* @module services/satellite/satellite-service
|
|
14
21
|
*/
|
|
15
22
|
import type { Context } from '@cyanheads/mcp-ts-core';
|
|
16
23
|
import type { ObserverInput } from '../ephemeris/types.js';
|
|
17
|
-
import type
|
|
24
|
+
import { type ElementSet, type SatellitePassResult } from './types.js';
|
|
18
25
|
export declare class SatelliteService {
|
|
19
26
|
private readonly baseUrl;
|
|
20
27
|
private readonly timeoutMs;
|
|
21
28
|
private readonly cacheTtlMs;
|
|
22
29
|
private readonly cache;
|
|
23
30
|
constructor(baseUrl: string, timeoutMs: number, cacheTtlMs: number);
|
|
24
|
-
/** Fetch
|
|
25
|
-
|
|
31
|
+
/** Fetch the current element set for a NORAD ID, using the in-process TTL cache. */
|
|
32
|
+
fetchElementSet(noradId: number, ctx: Context): Promise<ElementSet>;
|
|
26
33
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
34
|
+
* Resolve a satellite name to the one current element set it names. CelesTrak matches
|
|
35
|
+
* `NAME=` as a case-insensitive substring, so a query resolves only when it picks out a
|
|
36
|
+
* single object — either because it matched one, or because exactly one match carries
|
|
37
|
+
* that name outright, which is a request for that object however many longer names
|
|
38
|
+
* contain it. Anything else comes back as candidates to choose from.
|
|
32
39
|
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
private
|
|
40
|
+
resolveByName(name: string, ctx: Context): Promise<ElementSet>;
|
|
41
|
+
/** The one record whose `OBJECT_NAME` is the query itself, when exactly one is. */
|
|
42
|
+
private exactlyNamed;
|
|
43
|
+
/** The cached element set for a query, while its TTL holds. */
|
|
44
|
+
private fromCache;
|
|
45
|
+
private cacheElementSet;
|
|
46
|
+
/**
|
|
47
|
+
* Run one GP query and return the records it matched. `FORMAT=JSON` rather than
|
|
48
|
+
* `FORMAT=TLE`: the legacy format cannot encode a catalog number above 99999, and
|
|
49
|
+
* CelesTrak refuses to serve such an object as TLE at all, so JSON is the only format
|
|
50
|
+
* covering the whole catalog. `params` is the query fragment selecting the objects
|
|
51
|
+
* (`CATNR=` or `NAME=`); `miss` names an empty result in the caller's own terms, since
|
|
52
|
+
* "no object with that catalog number" and "no object with that name" are different
|
|
53
|
+
* answers with different next moves.
|
|
54
|
+
*/
|
|
55
|
+
private fetchGpRecords;
|
|
56
|
+
/**
|
|
57
|
+
* Parse a CelesTrak GP response into OMM records. The miss sentinel has to be tested
|
|
58
|
+
* before `JSON.parse`: CelesTrak returns that text under a 200 in some cases, and
|
|
59
|
+
* parsing it would throw a `SyntaxError` where the caller is owed a typed miss.
|
|
60
|
+
*/
|
|
61
|
+
private parseGpRecords;
|
|
62
|
+
private unparsable;
|
|
63
|
+
/**
|
|
64
|
+
* Name the record that failed OMM validation, and the fields that failed it. Each
|
|
65
|
+
* issue path is `[record index, field name]`, and those names are the OMM message's
|
|
66
|
+
* own, so listing them says which part of the record is wrong without putting the
|
|
67
|
+
* validator's vocabulary — issue codes, expected/received types — on the wire. A body
|
|
68
|
+
* whose whole shape is wrong (an object where an array belongs) names no field, and
|
|
69
|
+
* the message stands on the subject alone.
|
|
70
|
+
*/
|
|
71
|
+
private malformedElementSet;
|
|
72
|
+
private catalogMiss;
|
|
73
|
+
private nameMiss;
|
|
74
|
+
/**
|
|
75
|
+
* Hand back the objects a name query matched so the caller can name one outright. The
|
|
76
|
+
* total is stated whether or not the list is complete, because a slice presented as the
|
|
77
|
+
* whole set would read as a catalog holding twenty Starlinks. Ordered by catalog
|
|
78
|
+
* number — the order CelesTrak already answers in — so the same query always offers the
|
|
79
|
+
* same candidates. Whether the list is complete also selects the hint: a complete list
|
|
80
|
+
* is something to pick from, a slice is something to narrow past.
|
|
81
|
+
*/
|
|
82
|
+
private ambiguousName;
|
|
36
83
|
/**
|
|
37
84
|
* Predict visible passes over the next `days` from `start`. Steps the orbit with
|
|
38
85
|
* SGP4, brackets above-horizon intervals, and keeps passes whose peak is sunlit
|
|
39
86
|
* and over a dark-enough ground.
|
|
40
87
|
*
|
|
41
|
-
* Throws when
|
|
42
|
-
* `object_decayed`
|
|
43
|
-
*
|
|
44
|
-
* `passes: []`, which reads identically to "nothing visible tonight"
|
|
88
|
+
* Throws `time_out_of_range` when `start` lies beyond the element set's epoch horizon,
|
|
89
|
+
* and `object_decayed` when a window inside that horizon will not propagate at all.
|
|
90
|
+
* Without those checks either condition reaches the caller as a 200-shaped result —
|
|
91
|
+
* `passes: []`, which reads identically to "nothing visible tonight", or a pass list
|
|
92
|
+
* built from elements that stopped describing the orbit weeks earlier.
|
|
93
|
+
*/
|
|
94
|
+
predictPasses(elements: ElementSet, observer: ObserverInput, days: number, start: Date, formatLocal?: (d: Date) => string): SatellitePassResult;
|
|
95
|
+
/** How far an instant sits from the element set's epoch, in days, on either side. */
|
|
96
|
+
private epochDistanceDays;
|
|
97
|
+
/**
|
|
98
|
+
* Blame the request when it reaches past the element set's validity horizon. Calling a
|
|
99
|
+
* satellite that is still in orbit decayed would be a false statement with an
|
|
100
|
+
* unfollowable recovery, so the message names the distance instead — the one fact that
|
|
101
|
+
* says how far the start has to move.
|
|
45
102
|
*/
|
|
46
|
-
|
|
103
|
+
private startBeyondEpoch;
|
|
47
104
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* within the horizon the element set is current, so the object is what changed; beyond
|
|
52
|
-
* it the request is, and calling a satellite that is still in orbit decayed would be a
|
|
53
|
-
* false statement with an unfollowable recovery.
|
|
105
|
+
* Blame the object when a window inside the epoch horizon still will not propagate. The
|
|
106
|
+
* element set is current there, so mean elements that cannot describe an orbit are the
|
|
107
|
+
* signature of a reentry rather than of a request that overreached.
|
|
54
108
|
*/
|
|
55
|
-
private
|
|
109
|
+
private objectDecayed;
|
|
56
110
|
/** Compute look angles (az/el) of the satellite from the observer at one instant. */
|
|
57
111
|
private lookAngles;
|
|
58
112
|
/** True when the satellite is in sunlight (not in Earth's umbra) at the given time. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"satellite-service.d.ts","sourceRoot":"","sources":["../../../src/services/satellite/satellite-service.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"satellite-service.d.ts","sourceRoot":"","sources":["../../../src/services/satellite/satellite-service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAsBtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,KAAK,UAAU,EAKf,KAAK,mBAAmB,EACzB,MAAM,YAAY,CAAC;AA6EpB,qBAAa,gBAAgB;IAIzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,UAAU;IAL7B,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuC;IAE7D,YACmB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EACjC;IAEJ,oFAAoF;IAC9E,eAAe,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,CASxE;IAED;;;;;;OAMG;IACG,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,CAYnE;IAED,mFAAmF;IACnF,OAAO,CAAC,YAAY;IAMpB,+DAA+D;IAC/D,OAAO,CAAC,SAAS;IAKjB,OAAO,CAAC,eAAe;IAUvB;;;;;;;;OAQG;YACW,cAAc;IAmD5B;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAuBtB,OAAO,CAAC,UAAU;IAOlB;;;;;;;OAOG;IACH,OAAO,CAAC,mBAAmB;IAiB3B,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,QAAQ;IAOhB;;;;;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